vendor: 30,834 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 ZC(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 Uf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var V1={exports:{}},Nu={};/** 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 fv;function JC(){if(fv)return Nu;fv=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 c in a)c!=="key"&&(i[c]=a[c])}else i=a;return a=i.ref,{$$typeof:e,type:r,key:o,ref:a!==void 0?a:null,props:i}}return Nu.Fragment=t,Nu.jsx=n,Nu.jsxs=n,Nu}var mv;function eO(){return mv||(mv=1,V1.exports=JC()),V1.exports}var f=eO(),Xo=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={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},nO=class{#t=tO;#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)}},Io=new nO;function rO(e){setTimeout(e,0)}var Ho=typeof window>"u"||"Deno"in globalThis;function er(){}function aO(e,t){return typeof e=="function"?e(t):e}function a2(e){return typeof e=="number"&&e>=0&&e!==1/0}function EE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Hi(e,t){return typeof e=="function"?e(t):e}function ua(e,t){return typeof e=="function"?e(t):e}function pv(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:i,queryKey:o,stale:c}=e;if(o){if(r){if(t.queryHash!==Ax(o,t.options))return!1}else if(!o0(t.queryKey,o))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||a&&a!==t.state.fetchStatus||i&&!i(t))}function gv(e,t){const{exact:n,status:r,predicate:a,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Vi(t.options.mutationKey)!==Vi(i))return!1}else if(!o0(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||a&&!a(t))}function Ax(e,t){return(t?.queryKeyHashFn||Vi)(e)}function Vi(e){return JSON.stringify(e,(t,n)=>s2(n)?Object.keys(n).sort().reduce((r,a)=>(r[a]=n[a],r),{}):n)}function o0(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>o0(e[n],t[n])):!1}var sO=Object.prototype.hasOwnProperty;function Nx(e,t){if(e===t)return e;const n=xv(e)&&xv(t);if(!n&&!(s2(e)&&s2(t)))return t;const a=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),o=i.length,c=n?new Array(o):{};let u=0;for(let h=0;h<o;h++){const g=n?h:i[h],p=e[g],b=t[g];if(p===b){c[g]=p,(n?h<a:sO.call(e,g))&&u++;continue}if(p===null||b===null||typeof p!="object"||typeof b!="object"){c[g]=b;continue}const y=Nx(p,b);c[g]=y,y===p&&u++}return a===o&&u===a?e:c}function l0(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 xv(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function s2(e){if(!bv(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!bv(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function bv(e){return Object.prototype.toString.call(e)==="[object Object]"}function iO(e){return new Promise(t=>{Io.setTimeout(t,e)})}function i2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Nx(e,t):t}function oO(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function lO(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var $r=Symbol();function wE(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===$r?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function SE(e,t){return typeof e=="function"?e(...t):!!e}var cO=class extends Xo{#t;#e;#n;constructor(){super(),this.#n=e=>{if(!Ho&&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"}},Cx=new cO;function o2(){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 uO=rO;function dO(){let e=[],t=0,n=c=>{c()},r=c=>{c()},a=uO;const i=c=>{t?e.push(c):a(()=>{n(c)})},o=()=>{const c=e;e=[],c.length&&a(()=>{r(()=>{c.forEach(u=>{n(u)})})})};return{batch:c=>{let u;t++;try{u=c()}finally{t--,t||o()}return u},batchCalls:c=>(...u)=>{i(()=>{c(...u)})},schedule:i,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c},setScheduler:c=>{a=c}}}var an=dO(),hO=class extends Xo{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(!Ho&&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}},nf=new hO;function fO(e){return Math.min(1e3*2**e,3e4)}function TE(e){return(e??"online")==="online"?nf.isOnline():!0}var l2=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function kE(e){let t=!1,n=0,r;const a=o2(),i=()=>a.status!=="pending",o=T=>{if(!i()){const A=new l2(T);b(A),e.onCancel?.(A)}},c=()=>{t=!0},u=()=>{t=!1},h=()=>Cx.isFocused()&&(e.networkMode==="always"||nf.isOnline())&&e.canRun(),g=()=>TE(e.networkMode)&&e.canRun(),p=T=>{i()||(r?.(),a.resolve(T))},b=T=>{i()||(r?.(),a.reject(T))},y=()=>new Promise(T=>{r=A=>{(i()||h())&&T(A)},e.onPause?.()}).then(()=>{r=void 0,i()||e.onContinue?.()}),w=()=>{if(i())return;let T;const A=n===0?e.initialPromise:void 0;try{T=A??e.fn()}catch(N){T=Promise.reject(N)}Promise.resolve(T).then(p).catch(N=>{if(i())return;const R=e.retry??(Ho?0:3),z=e.retryDelay??fO,W=typeof z=="function"?z(n,N):z,q=R===!0||typeof R=="number"&&n<R||typeof R=="function"&&R(n,N);if(t||!q){b(N);return}n++,e.onFail?.(n,N),iO(W).then(()=>h()?void 0:y()).then(()=>{t?b(N):w()})})};return{promise:a,status:()=>a.status,cancel:o,continue:()=>(r?.(),a),cancelRetry:c,continueRetry:u,canStart:g,start:()=>(g()?w():y().then(w),a)}}var _E=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),a2(this.gcTime)&&(this.#t=Io.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ho?1/0:300*1e3))}clearGcTimeout(){this.#t&&(Io.clearTimeout(this.#t),this.#t=void 0)}},mO=class extends _E{#t;#e;#n;#a;#r;#s;#o;constructor(e){super(),this.#o=!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=yv(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=yv(this.options);t.data!==void 0&&(this.setData(t.data,{updatedAt:t.dataUpdatedAt,manual:!0}),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=i2(this.state.data,e,this.options);return this.#i({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#i({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(er).catch(er):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>ua(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===$r||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Hi(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:!EE(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.#o?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#i({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 c=this.observers.find(u=>u.options.queryFn);c&&this.setOptions(c.options)}const n=new AbortController,r=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},a=()=>{const c=wE(this.options,t),h=(()=>{const g={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(g),g})();return this.#o=!1,this.options.persister?this.options.persister(c,h,this):c(h)},o=(()=>{const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return r(c),c})();this.options.behavior?.onFetch(o,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#i({type:"fetch",meta:o.fetchOptions?.meta}),this.#r=kE({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:c=>{c instanceof l2&&c.revert&&this.setState({...this.#e,fetchStatus:"idle"}),n.abort()},onFail:(c,u)=>{this.#i({type:"failed",failureCount:c,error:u})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const c=await this.#r.start();if(c===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(c),this.#n.config.onSuccess?.(c,this),this.#n.config.onSettled?.(c,this.state.error,this),c}catch(c){if(c instanceof l2){if(c.silent)return this.#r.promise;if(c.revert){if(this.state.data===void 0)throw c;return this.state.data}}throw this.#i({type:"error",error:c}),this.#n.config.onError?.(c,this),this.#n.config.onSettled?.(this.state.data,c,this),c}finally{this.scheduleGc()}}#i(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,...AE(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!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"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),an.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function AE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:TE(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function yv(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 O0=class extends Xo{constructor(e,t){super(),this.options=t,this.#t=e,this.#i=null,this.#o=o2(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#a=void 0;#r;#s;#o;#i;#f;#d;#h;#c;#u;#l;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),vv(this.#e,this.options)?this.#m():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c2(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c2(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 ua(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&&!l0(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const r=this.hasListeners();r&&Ev(this.#e,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#e!==n||ua(this.options.enabled,this.#e)!==ua(t.enabled,this.#e)||Hi(this.options.staleTime,this.#e)!==Hi(t.staleTime,this.#e))&&this.#g();const a=this.#x();r&&(this.#e!==n||ua(this.options.enabled,this.#e)!==ua(t.enabled,this.#e)||a!==this.#l)&&this.#b(a)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return gO(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.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(n,r))})}trackProp(e){this.#p.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.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#m(e){this.#w();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(er)),t}#g(){this.#v();const e=Hi(this.options.staleTime,this.#e);if(Ho||this.#a.isStale||!a2(e))return;const n=EE(this.#a.dataUpdatedAt,e)+1;this.#c=Io.setTimeout(()=>{this.#a.isStale||this.updateResult()},n)}#x(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#b(e){this.#E(),this.#l=e,!(Ho||ua(this.options.enabled,this.#e)===!1||!a2(this.#l)||this.#l===0)&&(this.#u=Io.setInterval(()=>{(this.options.refetchIntervalInBackground||Cx.isFocused())&&this.#m()},this.#l))}#y(){this.#g(),this.#b(this.#x())}#v(){this.#c&&(Io.clearTimeout(this.#c),this.#c=void 0)}#E(){this.#u&&(Io.clearInterval(this.#u),this.#u=void 0)}createResult(e,t){const n=this.#e,r=this.options,a=this.#a,i=this.#r,o=this.#s,u=e!==n?e.state:this.#n,{state:h}=e;let g={...h},p=!1,b;if(t._optimisticResults){const V=this.hasListeners(),Z=!V&&vv(e,t),I=V&&Ev(e,n,t,r);(Z||I)&&(g={...g,...AE(h.data,e.options)}),t._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:y,errorUpdatedAt:w,status:T}=g;b=g.data;let A=!1;if(t.placeholderData!==void 0&&b===void 0&&T==="pending"){let V;a?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(V=a.data,A=!0):V=typeof t.placeholderData=="function"?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,V!==void 0&&(T="success",b=i2(a?.data,V,t),p=!0)}if(t.select&&b!==void 0&&!A)if(a&&b===i?.data&&t.select===this.#f)b=this.#d;else try{this.#f=t.select,b=t.select(b),b=i2(a?.data,b,t),this.#d=b,this.#i=null}catch(V){this.#i=V}this.#i&&(y=this.#i,b=this.#d,w=Date.now(),T="error");const N=g.fetchStatus==="fetching",R=T==="pending",z=T==="error",W=R&&N,q=b!==void 0,M={status:T,fetchStatus:g.fetchStatus,isPending:R,isSuccess:T==="success",isError:z,isInitialLoading:W,isLoading:W,data:b,dataUpdatedAt:g.dataUpdatedAt,error:y,errorUpdatedAt:w,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>u.dataUpdateCount||g.errorUpdateCount>u.errorUpdateCount,isFetching:N,isRefetching:N&&!R,isLoadingError:z&&!q,isPaused:g.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:z&&q,isStale:Ox(e,t),refetch:this.refetch,promise:this.#o,isEnabled:ua(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const V=se=>{M.status==="error"?se.reject(M.error):M.data!==void 0&&se.resolve(M.data)},Z=()=>{const se=this.#o=M.promise=o2();V(se)},I=this.#o;switch(I.status){case"pending":e.queryHash===n.queryHash&&V(I);break;case"fulfilled":(M.status==="error"||M.data!==I.value)&&Z();break;case"rejected":(M.status!=="error"||M.error!==I.reason)&&Z();break}}return M}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.#h=this.#e),l0(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.#p.size)return!0;const i=new Set(a??this.#p);return this.options.throwOnError&&i.add("error"),Object.keys(this.#a).some(o=>{const c=o;return this.#a[c]!==e[c]&&i.has(c)})};this.#S({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()}#S(e){an.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#a)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function pO(e,t){return ua(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function vv(e,t){return pO(e,t)||e.state.data!==void 0&&c2(e,t,t.refetchOnMount)}function c2(e,t,n){if(ua(t.enabled,e)!==!1&&Hi(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Ox(e,t)}return!1}function Ev(e,t,n,r){return(e!==t||ua(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Ox(e,n)}function Ox(e,t){return ua(t.enabled,e)!==!1&&e.isStaleByTime(Hi(t.staleTime,e))}function gO(e,t){return!l0(e.getCurrentResult(),t)}function rf(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 c={pages:[],pageParams:[]},u=0;const h=async()=>{let g=!1;const p=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},b=wE(t.options,t.fetchOptions),y=async(w,T,A)=>{if(g)return Promise.reject();if(T==null&&w.pages.length)return Promise.resolve(w);const R=(()=>{const C={client:t.client,queryKey:t.queryKey,pageParam:T,direction:A?"backward":"forward",meta:t.options.meta};return p(C),C})(),z=await b(R),{maxPages:W}=t.options,q=A?lO:oO;return{pages:q(w.pages,z,W),pageParams:q(w.pageParams,T,W)}};if(a&&i.length){const w=a==="backward",T=w?NE:u2,A={pages:i,pageParams:o},N=T(r,A);c=await y(A,N,w)}else{const w=e??i.length;do{const T=u===0?o[0]??r.initialPageParam:u2(r,c);if(u>0&&T==null)break;c=await y(c,T),u++}while(u<w)}return c};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 u2(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 NE(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function xO(e,t){return t?u2(e,t)!=null:!1}function bO(e,t){return!t||!e.getPreviousPageParam?!1:NE(e,t)!=null}var CE=class extends O0{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:rf()})}getOptimisticResult(e){return e.behavior=rf(),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:c}=r,u=n.fetchMeta?.fetchMore?.direction,h=o&&u==="forward",g=a&&u==="forward",p=o&&u==="backward",b=a&&u==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:xO(t,n.data),hasPreviousPage:bO(t,n.data),isFetchNextPageError:h,isFetchingNextPage:g,isFetchPreviousPageError:p,isFetchingPreviousPage:b,isRefetchError:c&&!h&&!p,isRefetching:i&&!g&&!b}}},yO=class extends _E{#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||OE(),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=kE({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}),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{throw await this.#n.config.onError?.(i,e,this.state.context,this,n),await this.options.onError?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,i,e,this.state.context,n),i}finally{this.#r({type:"error",error: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),an.batch(()=>{this.#e.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function OE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var vO=class extends Xo{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 yO({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=fh(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=fh(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=fh(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=fh(e);return typeof t=="string"?this.#e.get(t)?.find(r=>
vendor: 2,022 bytes, line 10
10r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){an.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=>gv(t,n))}findAll(e={}){return this.getAll().filter(t=>gv(e,t))}notify(e){an.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return an.batch(()=>Promise.all(e.map(t=>t.continue().catch(er))))}};function fh(e){return e.options.scope?.id}var EO=class extends Xo{#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),l0(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Vi(n.mutationKey)!==Vi(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??OE();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){an.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};t?.type==="success"?(this.#a.onSuccess?.(t.data,n,r,a),this.#a.onSettled?.(t.data,null,
10n,r,a)):t?.type==="error"&&(this.#a.onError?.(t.error,n,r,a),this.#a.onSettled?.(void 0,t.error,n,r,a))}this.listeners.forEach(n=>{n(this.#e)})})}};function wv(e,t){const n=new Set(t);return e.filter(r=>!n.has(r))}function wO(e,t,n){const r=e.slice(0);return r[t]=n,r}var SO=class extends Xo{#t;#e;#n;#a;#r;#s;#o;#i;#f=[];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,an.batch(()=>{const n=this.#r,r=this.#c(this.#n);this.#f=r,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,c=a.some((g,p)=>g!==n[p]),u=o||c,h=u?!0:i.some((g,p)=>{const b=this.#e[p];return!b||!l0(g,b)});!u&&!h||(u&&(this.#r=a),this.#e=i,this.hasListeners()&&(u&&(wv(n,a).forEach(g=>{g.destroy()}),wv(a,n).forEach(g=>{g.subscribe(p=>{this.#u(g,p)})})),this.#l()))})}getCurrentResult(){return this.#e}getQueries(){return this.#r.map(e=>e.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(e,t){const n=this.#c(e),r=n.map(a=>a.observer.getOptimisticResult(a.defaultedQueryOptions));return[r,a=>this.#h(a??r,t),()=>this.#d(r,n)]}#d(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)})})})}#h(e,t){return t?((!this.#s||this.#e!==this.#i||t!==this.#o)&&(this.#o=t,this.#i=this.#e,this.#s=Nx(this.#s,t(e))),this.#s):e}#c(e){const t=new Map(this.#r.map(r=>[r.options.queryHash,r])),n=[];return e.forEach(r=>{const a=this.#t.defaultQueryOptions(r),i=t.get(a.queryHash);i?n.push({defaultedQueryOptions:a,observer:i}):n.push({defaultedQueryOptions:a,observer:new O0(this.#t,a)})}),n}#u(e,t){const n=this.#r.indexOf(e);n!==-1&&(this.#e=wO(this.#e,n,t),this.#l())}#l(){if(this.hasListeners()){const e=this.#s,t=this.#d(this.#e,this.#f),n=this.#h(t,this.#a?.combine);e!==n&&an.batch(()=>{this.listeners.forEach(r=>{r(this.#e)})})}}},TO=class extends Xo{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,n){const r=t.queryKey,a=t.queryHash??Ax(r,t);let i=this.get(a);return i||(i=new mO({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(){an.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=>pv(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>pv(e,n)):t}notify(e){an.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){an.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){an.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},kO=class{#t;#e;#n;#a;#r;#s;#o;#i;constructor(e={}){this.#t=e.queryCache||new TO,this.#e=e.mutationCache||new vO,this.#n=e.defaultOptions||{},this.#a=new Map,this.#r=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#o=Cx.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#i=nf.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#o?.(),this.#o=void 0,this.#i?.(),this.#i=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(Hi(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=aO(t,i);if(o!==void 0)return this.#t.build(this,r).setData(o,{...n,manual:!0})}
vendor: 11,611 bytes, lines 10-18
10setQueriesData(e,t,n){return an.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;an.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#t;return an.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=an.batch(()=>this.#t.findAll(e).map(a=>a.cancel(n)));return Promise.all(r).then(er).catch(er)}invalidateQueries(e,t={}){return an.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=an.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(er)),a.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(er)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(Hi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(er).catch(er)}fetchInfiniteQuery(e){return e.behavior=rf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(er).catch(er)}ensureInfiniteQueryData(e){return e.behavior=rf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return nf.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(Vi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{o0(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(Vi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{o0(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=Ax(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===$r&&(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()}},$1={exports:{}},rt={};/** 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 Sv;function _O(){if(Sv)return rt;Sv=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"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),b=Symbol.iterator;function y(G){return G===null||typeof G!="object"?null:(G=b&&G[b]||G["@@iterator"],typeof G=="function"?G:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,A={};function N(G,ce,P){this.props=G,this.context=ce,this.refs=A,this.updater=P||w}N.prototype.isReactComponent={},N.prototype.setState=function(G,ce){if(typeof G!="object"&&typeof G!="function"&&G!=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,G,ce,"setState")},N.prototype.forceUpdate=function(G){this.updater.enqueueForceUpdate(this,G,"forceUpdate")};function R(){}R.prototype=N.prototype;function z(G,ce,P){this.props=G,this.context=ce,this.refs=A,this.updater=P||w}var W=z.prototype=new R;W.constructor=z,T(W,N.prototype),W.isPureReactComponent=!0;var q=Array.isArray;function C(){}var M={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function Z(G,ce,P){var pe=P.ref;return{$$typeof:e,type:G,key:ce,ref:pe!==void 0?pe:null,props:P}}function I(G,ce){return Z(G.type,ce,G.props)}function se(G){return typeof G=="object"&&G!==null&&G.$$typeof===e}function ae(G){var ce={"=":"=0",":":"=2"};return"$"+G.replace(/[=:]/g,function(P){return ce[P]})}var me=/\/+/g;function oe(G,ce){return typeof G=="object"&&G!==null&&G.key!=null?ae(""+G.key):ce.toString(36)}function ee(G){switch(G.status){case"fulfilled":return G.value;case"rejected":throw G.reason;default:switch(typeof G.status=="string"?G.then(C,C):(G.status="pending",G.then(function(ce){G.status==="pending"&&(G.status="fulfilled",G.value=ce)},function(ce){G.status==="pending"&&(G.status="rejected",G.reason=ce)})),G.status){case"fulfilled":return G.value;case"rejected":throw G.reason}}throw G}function L(G,ce,P,pe,Se){var Re=typeof G;(Re==="undefined"||Re==="boolean")&&(G=null);var Pe=!1;if(G===null)Pe=!0;else switch(Re){case"bigint":case"string":case"number":Pe=!0;break;case"object":switch(G.$$typeof){case e:case t:Pe=!0;break;case g:return Pe=G._init,L(Pe(G._payload),ce,P,pe,Se)}}if(Pe)return Se=Se(G),Pe=pe===""?"."+oe(G,0):pe,q(Se)?(P="",Pe!=null&&(P=Pe.replace(me,"$&/")+"/"),L(Se,ce,P,"",function(Ot){return Ot})):Se!=null&&(se(Se)&&(Se=I(Se,P+(Se.key==null||G&&G.key===Se.key?"":(""+Se.key).replace(me,"$&/")+"/")+Pe)),ce.push(Se)),1;Pe=0;var Ge=pe===""?".":pe+":";if(q(G))for(var tt=0;tt<G.length;tt++)pe=G[tt],Re=Ge+oe(pe,tt),Pe+=L(pe,ce,P,Re,Se);else if(tt=y(G),typeof tt=="function")for(G=tt.call(G),tt=0;!(pe=G.next()).done;)pe=pe.value,Re=Ge+oe(pe,tt++),Pe+=L(pe,ce,P,Re,Se);else if(Re==="object"){if(typeof G.then=="function")return L(ee(G),ce,P,pe,Se);throw ce=String(G),Error("Objects are not valid as a React child (found: "+(ce==="[object Object]"?"object with keys {"+Object.keys(G).join(", ")+"}":ce)+"). If you meant to render a collection of children, use an array instead.")}return Pe}function J(G,ce,P){if(G==null)return G;var pe=[],Se=0;return L(G,pe,"","",function(Re){return ce.call(P,Re,Se++)}),pe}function te(G){if(G._status===-1){var ce=G._result;ce=ce(),ce.then(function(P){(G._status===0||G._status===-1)&&(G._status=1,G._result=P)},function(P){(G._status===0||G._status===-1)&&(G._status=2,G._result=P)}),G._status===-1&&(G._status=0,G._result=ce)}if(G._status===1)return G._result.default;throw G._result}var we=typeof reportError=="function"?reportError:function(G){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ce=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof G=="object"&&G!==null&&typeof G.message=="string"?String(G.message):String(G),error:G});if(!window.dispatchEvent(ce))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",G);return}console.error(G)},U={map:J,forEach:function(G,ce,P){J(G,function(){ce.apply(this,arguments)},P)},count:function(G){var ce=0;return J(G,function(){ce++}),ce},toArray:function(G){return J(G,function(ce){return ce})||[]},only:function(G){if(!se(G))throw Error("React.Children.only expected to receive a single React element child.");return G}};return rt.Activity=p,rt.Children=U,rt.Component=N,rt.Fragment=n,rt.Profiler=a,rt.PureComponent=z,rt.StrictMode=r,rt.Suspense=u,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,rt.__COMPILER_RUNTIME={__proto__:null,c:function(G){return M.H.useMemoCache(G)}},rt.cache=function(G){return function(){return G.apply(null,arguments)}},rt.cacheSignal=function(){return null},rt.cloneElement=function(G,ce,P){if(G==null)throw Error("The argument must be a React element, but you passed "+G+".");var pe=T({},G.props),Se=G.key;if(ce!=null)for(Re in ce.key!==void 0&&(Se=""+ce.key),ce)!V.call(ce,Re)||Re==="key"||Re==="__self"||Re==="__source"||Re==="ref"&&ce.ref===void 0||(pe[Re]=ce[Re]);var Re=arguments.length-2;if(Re===1)pe.children=P;else if(1<Re){for(var Pe=Array(Re),Ge=0;Ge<Re;Ge++)Pe[Ge]=arguments[Ge+2];pe.children=Pe}return Z(G.type,Se,pe)},rt.createContext=function(G){return G={$$typeof:o,_currentValue:G,_currentValue2:G,_threadCount:0,Provider:null,Consumer:null},G.Provider=G,G.Consumer={$$typeof:i,_context:G},G},rt.createElement=function(G,ce,P){var pe,Se={},Re=null;if(ce!=null)for(pe in ce.key!==void 0&&(Re=""+ce.key),ce)V.call(ce,pe)&&pe!=="key"&&pe!=="__self"&&pe!=="__source"&&(Se[pe]=ce[pe]);var Pe=arguments.length-2;if(Pe===1)Se.children=P;else if(1<Pe){for(var Ge=Array(Pe),tt=0;tt<Pe;tt++)Ge[tt]=arguments[tt+2];Se.children=Ge}if(G&&G.defaultProps)for(pe in Pe=G.defaultProps,Pe)Se[pe]===void 0&&(Se[pe]=Pe[pe]);return Z(G,Re,Se)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(G){return{$$typeof:c,render:G}},rt.isValidElement=se,rt.lazy=function(G){return{$$typeof:g,_payload:{_status:-1,_result:G},_init:te}},rt.memo=function(G,ce){return{$$typeof:h,type:G,compare:ce===void 0?null:ce}},rt.startTransition=function(G){var ce=M.T,P={};M.T=P;try{var pe=G(),Se=M.S;Se!==null&&Se(P,pe),typeof pe=="object"&&pe!==null&&typeof pe.then=="function"&&pe.then(C,we)}catch(Re){we(Re)}finally{ce!==null&&P.types!==null&&(ce.types=P.types),M.T=ce}},rt.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},rt.use=function(G){return M.H.use(G)},rt.useActionState=function(G,ce,P){return M.H.useActionState(G,ce,P)},rt.useCallback=function(G,ce){return M.H.useCallback(G,ce)},rt.useContext=function(G){return M.H.useContext(G)},rt.useDebugValue=function(){},rt.useDeferredValue=function(G,ce){return M.H.useDeferredValue(G,ce)},rt.useEffect=function(G,ce){return M.H.useEffect(G,ce)},rt.useEffectEvent=function(G){return M.H.useEffectEvent(G)},rt.useId=function(){return M.H.useId()},rt.useImperativeHandle=function(G,ce,P){return M.H.useImperativeHandle(G,ce,P)},rt.useInsertionEffect=function(G,ce){return M.H.useInsertionEffect(G,ce)},rt.useLayoutEffect=function(G,ce){return M.H.useLayoutEffect(G,ce)},rt.useMemo=function(G,ce){return M.H.useMemo(G,ce)},rt.useOptimistic=function(G,ce){return M.H.useOptimistic(G,ce)},rt.useReducer=function(G,ce,P){return M.H.useReducer(G,ce,P)},rt.useRef=function(G){return M.H.useRef(G)},rt.useState=function(G){return M.H.useState(G)},rt.useSyncExternalStore=function(G,ce,P){return M.H.useSyncExternalStore(G,ce,P)},rt.useTransition=function(){return M.H.useTransition()},rt.version="19.2.1",rt}var Tv;function qf(){return Tv||(Tv=1,$1.exports=_O()),$1.exports}var O=qf();const Le=Uf(O),RE=ZC({__proto__:null,default:Le},[O]);var DE=O.createContext(void 0),R0=e=>{const t=O.useContext(DE);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},AO=({client:e,children:t})=>(O.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),f.jsx(DE.Provider,{value:e,children:t})),ME=O.createContext(!1),IE=()=>O.useContext(ME);ME.Provider;function NO(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var CO=O.createContext(NO()),LE=()=>O.useContext(CO),PE=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOn
18Mount=!1))},jE=e=>{O.useEffect(()=>{e.clearReset()},[e])},BE=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&e.data===void 0||SE(n,[e.error,r])),Rx=(e,t)=>t.state.data===void 0,zE=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))}},FE=(e,t)=>e.isLoading&&e.isFetching&&!t,d2=(e,t)=>e?.suspense&&t.isPending,af=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function HE({queries:e,...t},n){const r=R0(n),a=IE(),i=LE(),o=O.useMemo(()=>e.map(T=>{const A=r.defaultQueryOptions(T);return A._optimisticResults=a?"isRestoring":"optimistic",A}),[e,r,a]);o.forEach(T=>{zE(T),PE(T,i)}),jE(i);const[c]=O.useState(()=>new SO(r,o,t)),[u,h,g]=c.getOptimisticResult(o,t.combine),p=!a&&t.subscribed!==!1;O.useSyncExternalStore(O.useCallback(T=>p?c.subscribe(an.batchCalls(T)):er,[c,p]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),O.useEffect(()=>{c.setQueries(o,t)},[o,t,c]);const y=u.some((T,A)=>d2(o[A],T))?u.flatMap((T,A)=>{const N=o[A];if(N){const R=new O0(r,N);if(d2(N,T))return af(N,R,i);FE(T,a)&&af(N,R,i)}return[]}):[];if(y.length>0)throw Promise.all(y);const w=u.find((T,A)=>{const N=o[A];return N&&BE({result:T,errorResetBoundary:i,throwOnError:N.throwOnError,query:r.getQueryCache().get(N.queryHash),suspense:N.suspense})});if(w?.error)throw w.error;return h(g())}function Vf(e,t,n){const r=IE(),a=LE(),i=R0(n),o=i.defaultQueryOptions(e);i.getDefaultOptions().queries?._experimental_beforeQuery?.(o),o._optimisticResults=r?"isRestoring":"optimistic",zE(o),PE(o,a),jE(a);const c=!i.getQueryCache().get(o.queryHash),[u]=O.useState(()=>new t(i,o)),h=u.getOptimisticResult(o),g=!r&&e.subscribed!==!1;if(O.useSyncExternalStore(O.useCallback(p=>{const b=g?u.subscribe(an.batchCalls(p)):er;return u.updateResult(),b},[u,g]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),O.useEffect(()=>{u.setOptions(o)},[o,u]),d2(o,h))throw af(o,u,a);if(BE({result:h,errorResetBoundary:a,throwOnError:o.throwOnError,query:i.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw h.error;return i.getDefaultOptions().queries?._experimental_afterQuery?.(o,h),o.experimental_prefetchInRender&&!Ho&&FE(h,r)&&(c?af(o,u,a):i.getQueryCache().get(o.queryHash)?.promise)?.catch(er).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?h:u.trackResult(h)}function OO(e,t){return Vf(e,O0,t)}function RO(e,t){return Vf({...e,enabled:!0,suspense:!0,throwOnError:Rx,placeholderData:void 0},O0,t)}function DO(e,t){return Vf({...e,enabled:!0,suspense:!0,throwOnError:Rx},CE,t)}function MO(e,t){return HE({...e,queries:e.queries.map(n=>({...n,suspense:!0,throwOnError:Rx,enabled:!0,placeholderData:void 0}))},t)}function IO(e,t){const n=R0(t);n.getQueryState(e.queryKey)||n.prefetchQuery(e)}function LO(e,t){const n=R0(t);n.getQueryState(e.queryKey)||n.prefetchInfiniteQuery(e)}function PO(e,t){const n=R0(t),[r]=O.useState(()=>new EO(n,e));O.useEffect(()=>{r.setOptions(e)},[r,e]);const a=O.useSyncExternalStore(O.useCallback(o=>r.subscribe(an.batchCalls(o)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),i=O.useCallback((o,c)=>{r.mutate(o,c).catch(er)},[r]);if(a.error&&SE(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:i,mutateAsync:a.mutate}}function jO(e,t){return Vf(e,CE,t)}function Uo(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}const BO=typeof Symbol=="function"&&!!Symbol.asyncIterator;function UE(e){return BO&&Uo(e)&&Symbol.asyncIterator in e}var zO=Object.create,qE=Object.defineProperty,FO=Object.getOwnPropertyDescriptor,VE=Object.getOwnPropertyNames,HO=Object.getPrototypeOf,UO=Object.prototype.hasOwnProperty,D0=(e,t)=>function(){return t||(0,e[VE(e)[0]])((t={exports:{}}).exports,t),t.exports},qO=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=VE(t),i=0,o=a.length,c;i<o;i++)c=a[i],!UO.call(e,c)&&c!==n&&qE(e,c,{get:(u=>t[u]).bind(null,c),enumerable:!(r=FO(t,c))||r.enumerable});return e},$f=(e,t,n)=>(n=e!=null?zO(HO(e)):{},qO(qE(n,"default",{value:e,enumerable:!0}),e));const $E=()=>{},kv=e=>{Object.freeze&&Object.freeze(e)};function GE(e,t,n){var r;const a=t.join(".");return(r=n[a])!==null&&r!==void 0||(n[a]=new Proxy($E,{get(i,o){if(!(typeof o!="string"||o==="then"))return GE(e,[...t,o],n)},apply(i,o,c){const u=t[t.length-1];let h={args:c,path:t};return u==="call"?h={args:c.length>=2?[c[1]]:[],path:t.slice(0,-1)}:u==="apply"&&(h={args:c.length>=2?c[1]:[],path:t.slice(0,-1)}),kv(h.args),kv(h.path),e(h)}})),n[a]}const Gf=e=>GE(e,[],Object.create(null)),Dx=e=>new Proxy($E,{get(t,n){if(n!=="then")return e(n)}});var YE=D0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a}
18,t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),VO=D0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=YE().default;function r(a,i){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var c=o.call(a,i||"default");if(n(c)!="object")return c;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}}),$O=D0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=YE().default,r=VO();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}}),QE=D0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=$O();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}}),Mx=D0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=QE();function r(i,o){var c=Object.keys(i);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(i);o&&(u=u.filter(function(h){return Object.getOwnPropertyDescriptor(i,h).enumerable})),c.push.apply(c,u)}return c}function a(i){for(var o=1;o<arguments.length;o++){var c=arguments[o]!=null?arguments[o]:{};o%2?r(Object(c),!0).forEach(function(u){n(i,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(u){Object.defineProperty(i,u,Object.getOwnPropertyDescriptor(c,u))})}return i}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});$f(Mx());$f(QE());var mh=$f(Mx());function GO(e,t){if("error"in e){const r=t.deserialize(e.error);return{ok:!1,error:(0,mh.default)((0,mh.default)({},e),{},{error:r})}}return{ok:!0,result:(0,mh.default)((0,mh.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}var G1=class extends Error{constructor(){super("Unable to transform response from server")}};function YO(e,t){let n;try{n=GO(e,t)}catch{throw new G1}if(!n.ok&&(!Uo(n.error.error)||typeof n.error.error.code!="number"))throw new G1;if(n.ok&&!Uo(n.result))throw new G1;return n}$f(Mx());function Yf(e){const t={subscribe(n){let r=null,a=!1,i=!1,o=!1;function c(){if(r===null){o=!0;return}i||(i=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=e({next(u){var h;a||(h=n.next)===null||h===void 0||h.call(n,u)},error(u){var h;a||(a=!0,(h=n.error)===null||h===void 0||h.call(n,u),c())},complete(){var u;a||(a=!0,(u=n.complete)===null||u===void 0||u.call(n),c())}}),o&&c(),{unsubscribe:c}},pipe(...n){return n.reduce(QO,t)}};return t}function QO(e,t){return t(e)}function XO(e){const t=new AbortController;return new Promise((r,a)=>{let i=!1;function o(){i||(i=!0,c.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});const c=e.subscribe({next(u){i=!0,r(u),o()},error(u){a(u)},complete(){t.abort(),o()}})})}var WO=Object.create,XE=Object.defineProperty,KO=Object.getOwnPropertyDescriptor,WE=Object.getOwnPropertyNames,ZO=Object.getPrototypeOf,JO=Object.prototype.hasOwnProperty,Zi=(e,t)=>function(){return t||(0,e[WE(e)[0]])((t={exports:{}}).exports,t),t.exports},eR=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=WE(t),i=0,o=a.length,c;i<o;i++)c=a[i],!JO.call(e,c)&&c!==n&&XE(e,c,{get:(u=>t[u]).bind(null,c),enumerable:!(r=KO(t,c))||r.enumerable});return e},Wo=(e,t,n)=>(n=e!=null?WO(ZO(e)):{},eR(t||!e||!e.__esModule?XE(n,"default",{value:e,enumerable:!0}):n,e)),tR=Zi({"../../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}
18t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),nR=Zi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var n=tR();function r(a,i){if(a==null)return{};var o,c,u=n(a,i);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);for(c=0;c<h.length;c++)o=h[c],i.includes(o)||{}.propertyIsEnumerable.call(a,o)&&(u[o]=a[o])}return u}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),KE=Zi({"../../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}}),rR=Zi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=KE().default;function r(a,i){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var c=o.call(a,i||"default");if(n(c)!="object")return c;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}}),aR=Zi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=KE().default,r=rR();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}}),sR=Zi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=aR();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}}),M0=Zi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=sR();function r(i,o){var c=Object.keys(i);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(i);o&&(u=u.filter(function(h){return Object.getOwnPropertyDescriptor(i,h).enumerable})),c.push.apply(c,u)}return c}function a(i){for(var o=1;o<arguments.length;o++){var c=arguments[o]!=null?arguments[o]:{};o%2?r(Object(c),!0).forEach(function(u){n(i,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(u){Object.defineProperty(i,u,Object.getOwnPropertyDescriptor(c,u))})}return i}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),iR=Wo(nR(),1),_v=Wo(M0(),1);
18const oR=["cursor","direction"];function Qa(e,t,n){const r=e.flatMap(a=>a.split("."));if(!t&&(!n||n==="any"))return r.length?[r]:[];if(n==="infinite"&&Uo(t)&&("direction"in t||"cursor"in t)){const{cursor:a,direction:i}=t,o=(0,iR.default)(t,oR);return[r,{input:o,type:"infinite"}]}return[r,(0,_v.default)((0,_v.default)({},typeof t<"u"&&t!==$r&&{input:t}),n&&n!=="any"&&{type:n})]}function $h(e){return Qa(e,void 0,"any")}var lR=Object.create,ZE=Object.defineProperty,cR=Object.getOwnPropertyDescriptor,JE=Object.getOwnPropertyNames,uR=Object.getPrototypeOf,dR=Object.prototype.hasOwnProperty,os=(e,t)=>function(){return t||(0,e[JE(e)[0]])((t={exports:{}}).exports,t),t.exports},hR=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=JE(t),i=0,o=a.length,c;i<o;i++)c=a[i],!dR.call(e,c)&&c!==n&&ZE(e,c,{get:(u=>t[u]).bind(null,c),enumerable:!(r=cR(t,c))||r.enumerable});return e},pn=(e,t,n)=>(n=e!=null?lR(uR(e)):{},hR(t||!e||!e.__esModule?ZE(n,"default",{value:e,enumerable:!0}):n,e)),ew=os({"../../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}}),fR=os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=ew().default;function r(a,i){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var c=o.call(a,i||"default");if(n(c)!="object")return c;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}}),mR=os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=ew().default,r=fR();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}}),Ko=os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=mR();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}}),Da=os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=Ko();function r(i,o){var c=Object.keys(i);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(i);o&&(u=u.filter(function(h){return Object.getOwnPropertyDescriptor(i,h).enumerable})),c.push.apply(c,u)}return c}function a(i){for(var o=1;o<arguments.length;o++){var c=arguments[o]!=null?arguments[o]:{};o%2?r(Object(c),!0).forEach(function(u){n(i,u,c[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(c)):r(Object(c)).forEach(function(u){Object.defineProperty(i,u,Object.getOwnPropertyDescriptor(c,u))})}return i}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});function pR(e){return t=>{let n=0,r=null;const a=[];function i(){r||(r=t.subscribe({next(c){for(const h of a){var u;(u=h.next)===null||u===void 0||u.call(h,c)}},error(c){for(const h of a){var u;(u=h.error)===null||u===void 0||u.call(h,c)}},complete(){for(const u of a){var c;(c=u.complete)===null||c===void 0||c.call(u)}}}))}function o(){if(n===0&&r){const c=r;r=null,c.unsubscribe()}}return Yf(c=>(n++,a.push(c),i(),{unsubscribe(){n--,o();const u=a.findIndex(h=>h===c);u>-1&&a.splice(u,1)}}))}}function gR(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=Yf(o=>(r(o),()=>{a(o)}));return i.next=o=>{if(t!==o){t=o;for(const c of n)c.next(o)}},i.get=()=>t,i}function xR(e){return Yf(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(u){return n(a+1,u)}})}return n().subscribe(t)})}var ph=pn(Ko(),1),Xl=pn(Da(),1);function bR(e){return e instanceof fc}function yR(e){return Uo(e)&&Uo(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function vR(e,t){return typeof e=="string"?e:Uo(e)&&typeof e.message=="string"?e.message:t}
18var fc=class Gh extends Error{constructor(t,n){var r,a;const i=n?.cause;super(t,{cause:i}),(0,ph.default)(this,"cause",void 0),(0,ph.default)(this,"shape",void 0),(0,ph.default)(this,"data",void 0),(0,ph.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,Gh.prototype)}static from(t,n={}){const r=t;return bR(r)?(n.meta&&(r.meta=(0,Xl.default)((0,Xl.default)({},r.meta),n.meta)),r):yR(r)?new Gh(r.error.message,(0,Xl.default)((0,Xl.default)({},n),{},{result:r})):new Gh(vR(r,"Unknown error"),(0,Xl.default)((0,Xl.default)({},n),{},{cause:r}))}};function ER(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 Av=e=>typeof e=="function";function wR(e){if(e)return e;if(typeof window<"u"&&Av(window.fetch))return window.fetch;if(typeof globalThis<"u"&&Av(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var Gu=pn(Da());function SR(e){return{url:e.url.toString(),fetch:e.fetch,transformer:ER(e.transformer),methodOverride:e.methodOverride}}function TR(e){const t={};for(let n=0;n<e.length;n++){const r=e[n];t[n]=r}return t}const kR={query:"GET",mutation:"POST",subscription:"PATCH"};function tw(e){return"input"in e?e.transformer.input.serialize(e.input):TR(e.inputs.map(t=>e.transformer.input.serialize(t)))}const nw=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=tw(e);i!==void 0&&e.methodOverride!=="POST"&&a.push(`input=${encodeURIComponent(JSON.stringify(i))}`)}return a.length&&(r+="?"+a.join("&")),r},_R=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=tw(e);return t!==void 0?JSON.stringify(t):void 0},AR=e=>RR((0,Gu.default)((0,Gu.default)({},e),{},{contentTypeHeader:"application/json",getUrl:nw,getBody:_R}));var NR=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const CR=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 NR};async function OR(e){var t;CR(e.signal);const n=e.getUrl(e),r=e.getBody(e),a=(t=e.methodOverride)!==null&&t!==void 0?t:kR[e.type],i=await(async()=>{const c=await e.headers();return Symbol.iterator in c?Object.fromEntries(c):c})(),o=(0,Gu.default)((0,Gu.default)((0,Gu.default)({},e.contentTypeHeader&&a!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{"trpc-accept":e.trpcAcceptHeader}:void 0),i);return wR(e.fetch)(n,{method:a,signal:e.signal,body:r,headers:o})}async function RR(e){const t={},n=await OR(e);t.response=n;const r=await n.json();return t.responseJSON=r,{json:r,meta:t}}pn(Da(),1);const Nv=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function Cv(e){let t=null,n=null;const r=()=>{clearTimeout(n),n=null,t=null};function a(c){const u=[[]];let h=0;for(;;){const b=c[h];if(!b)break;const y=u[u.length-1];if(b.aborted){var g;(g=b.reject)===null||g===void 0||g.call(b,new Error("Aborted")),h++;continue}if(e.validate(y.concat(b).map(T=>T.key))){y.push(b),h++;continue}if(y.length===0){var p;(p=b.reject)===null||p===void 0||p.call(b,new Error("Input is too big for a single dispatch")),h++;continue}u.push([])}return u}function i(){const c=a(t);r();for(const u of c){if(!u.length)continue;const h={items:u};for(const p of u)p.batch=h;e.fetch(h.items.map(p=>p.key)).then(async p=>{await Promise.all(p.map(async(y,w)=>{const T=h.items[w];try{var A;const R=await Promise.resolve(y);(A=T.resolve)===null||A===void 0||A.call(T,R)}catch(R){var N;(N=T.reject)===null||N===void 0||N.call(T,R)}T.batch=null,T.reject=null,T.resolve=null}));for(const y of h.items){var b;(b=y.reject)===null||b===void 0||b.call(y,new Error("Missing result")),y.batch=null}}).catch(p=>{for(const y of h.items){var b;(b=y.reject)===null||b===void 0||b.call(y,p),y.batch=null}})}}function o(c){var u;const h={aborted:!1,key:c,batch:null,resolve:Nv,reject:Nv},g=new Promise((p,b)=>{var y;h.reject=b,h.resolve=p,(y=t)!==null&&y!==void 0||(t=[]),t.push(h)});return(u=n)!==null&&u!==void 0||(n=setTimeout(i)),g}return{load:o}}function DR(...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 gh=pn(Da(),1);function MR(e){var t,n;const r=SR(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=>
18({validate(p){if(a===1/0&&i===1/0)return!0;if(p.length>i)return!1;const b=p.map(T=>T.path).join(","),y=p.map(T=>T.input);return nw((0,gh.default)((0,gh.default)({},r),{},{type:g,path:b,inputs:y,signal:null})).length<=a},async fetch(p){const b=p.map(R=>R.path).join(","),y=p.map(R=>R.input),w=DR(...p.map(R=>R.signal)),T=await AR((0,gh.default)((0,gh.default)({},r),{},{path:b,inputs:y,type:g,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:p}):e.headers:{}},signal:w}));return(Array.isArray(T.json)?T.json:p.map(()=>T.json)).map(R=>({meta:T.meta,json:R}))}}),c=Cv(o("query")),u=Cv(o("mutation")),h={query:c,mutation:u};return({op:g})=>Yf(p=>{/* 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 w;return y.then(T=>{w=T;const A=YO(T.json,r.transformer.output);if(!A.ok){p.error(fc.from(A.error,{meta:T.meta}));return}p.next({context:T.meta,result:A.result}),p.complete()}).catch(T=>{p.error(fc.from(T,{meta:w?.meta}))}),()=>{}})}}pn(Da(),1);const rw=(e,...t)=>typeof e=="function"?e(...t):e;pn(Ko(),1);function IR(){let e,t;return{promise:new Promise((r,a)=>{e=r,t=a}),resolve:e,reject:t}}async function LR(e){const t=await rw(e.url);if(!e.connectionParams)return t;const r=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+r}async function PR(e){const t={method:"connectionParams",data:await rw(e)};return JSON.stringify(t)}pn(Ko(),1);var Co=pn(Ko(),1);function jR(e){const{promise:t,resolve:n,reject:r}=IR();return e.addEventListener("open",()=>{e.removeEventListener("error",r),n()}),e.addEventListener("error",r),t}function BR(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 c(){clearTimeout(a),o()}e.addEventListener("open",i),e.addEventListener("message",({data:u})=>{clearTimeout(r),i(),u==="PONG"&&c()}),e.addEventListener("close",()=>{clearTimeout(r),clearTimeout(a)})}var zR=class h2{constructor(t){var n;if((0,Co.default)(this,"id",++h2.connectCount),(0,Co.default)(this,"WebSocketPonyfill",void 0),(0,Co.default)(this,"urlOptions",void 0),(0,Co.default)(this,"keepAliveOpts",void 0),(0,Co.default)(this,"wsObservable",gR(null)),(0,Co.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}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=++h2.connectCount;const n=LR(t.urlOptions).then(r=>new t.WebSocketPonyfill(r));t.openPromise=n.then(async r=>{t.ws=r,r.addEventListener("message",function({data:a}){a==="PING"&&this.send("PONG")}),t.keepAliveOpts.enabled&&BR(r,t.keepAliveOpts),r.addEventListener("close",()=>{t.ws===r&&(t.ws=null)}),await jR(r),t.urlOptions.connectionParams&&r.send(await PR(t.urlOptions.connectionParams))});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,Co.default)(zR,"connectCount",0);pn(Ko(),1);pn(Da(),1);var Y1=pn(Ko(),1),Ov=pn(Da(),1),Qf=class{constructor(e){(0,Y1.default)(this,"links",void 0),(0,Y1.default)(this,"runtime",void 0),(0,Y1.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return xR({links:this.links,op:(0,Ov.default)((0,Ov.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(pR())}async requestAsPromise(e){var t=this;try{const n=t.$request(e);return(await XO(n)).result.data}catch(n){throw fc.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 c;
18(c=n.onStopped)===null||c===void 0||c.call(n);break}case"data":case void 0:{var u;(u=n.onData)===null||u===void 0||u.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 aw=Symbol.for("trpc_untypedClient"),FR={query:"query",mutate:"mutation",subscribe:"subscription"},HR=e=>FR[e];function sw(e){const t=Gf(({path:n,args:r})=>{const a=[...n],i=HR(a.pop()),o=a.join(".");return e[i](o,...r)});return Dx(n=>n===aw?e:t[n])}function UR(e){const t=new Qf(e);return sw(t)}function Ix(e){return e[aw]}pn(Da(),1);pn(Da(),1);var qR=os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var i,o,c,u=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,c=Symbol.iterator);u--;){if(o&&(i=a[o])!=null)return i.call(a);if(c&&(i=a[c])!=null)return new r(i.call(a));o="@@asyncIterator",c="@@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 c=o.done;return Promise.resolve(o.value).then(function(u){return{value:u,done:c}})}return r=function(c){this.s=c,this.n=c.next},r.prototype={s:null,n:null,next:function(){return i(this.n.apply(this.s,arguments))},return:function(c){var u=this.s.return;return u===void 0?Promise.resolve({value:c,done:!0}):i(u.apply(this.s,arguments))},throw:function(c){var u=this.s.return;return u===void 0?Promise.reject(c):i(u.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}});pn(qR(),1);pn(Da(),1);var VR=os({"../../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(c,u){var h=Error();return h.name="SuppressedError",h.error=c,h.suppressed=u,h},a={},i=[];function o(c,u){if(u!=null){if(Object(u)!==u)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(c)var h=u[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(h===void 0&&(h=u[Symbol.dispose||Symbol.for("Symbol.dispose")],c))var g=h;if(typeof h!="function")throw new TypeError("Object is not disposable.");g&&(h=function(){try{g.call(u)}catch(b){return Promise.reject(b)}}),i.push({v:u,d:h,a:c})}else c&&i.push({d:u,a:c});return u}return{e:a,u:o.bind(null,!1),a:o.bind(null,!0),d:function(){var u,h=this.e,g=0;function p(){for(;u=i.pop();)try{if(!u.a&&g===1)return g=0,i.push(u),Promise.resolve().then(p);if(u.d){var y=u.d.call(u.v);if(u.a)return g|=2,Promise.resolve(y).then(p,b)}else g|=1}catch(w){return b(w)}if(g===1)return h!==a?Promise.reject(h):Promise.resolve();if(h!==a)throw h}function b(y){return h=h!==a?new r(y,h):y,p()}return p()}}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),iw=os({"../../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}}),$R=os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=iw();function r(a){return new n(a,0)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),GR=os({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=iw();function r(i){return function(){return new a(i.apply(this,arguments))}}function a(i){var o,c;function u(g,p){try{var b=i[g](p),y=b.value,w=y instanceof n;Promise.resolve(w?y.v:y).then(function(T){if(w){var A=g==="return"?"return":"next";if(!y.k||T.done)return u(A,T);T=i[A](T).value}h(b.done?"return":"normal",T)},function(T){u("throw",T)})}catch(T){h("throw",T)}}function h(g,p){switch(g){case"return":o.resolve({value:p,done:!0});break;case"throw":o.reject(p);break;default:o.resolve({value:p,done:!1})}(o=o.next)?u(o.key,o.arg):c=null}this._invoke=function(g,p){return new Promise(function(b,y){var w={key:g,arg:p,resolve:b,reject:y,next:null};c?c=c.next=w:(o=c=w,u(g,p))})},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}});pn(VR(),1);pn($R(),1);pn(GR(),1);pn(Da(),1);function YR(e){return Gf(({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,...c]=n,u=(r=c[0])!==null&&r!==void 0?r:{};return e[i](a,o,u)})}var Q1;const QR=["client","ssrContext","ssrState","abortOnUnmount"],XR=(Q1=O.createContext)===null||Q1===void 0?void 0:Q1.call(RE,null),WR=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 KR(e){return Gf(t=>{const n=[...t.path],r=n.pop(),a=[...t.args],i=a.shift(),o=WR(r),c=Qa(n,i,o);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(n,c,a[0]),queryOptions:()=>e.queryOptions(n,c,...a),fetch:()=>e.fetchQuery(c,...a),fetchInfinite:()=>e.fetchInfiniteQuery(c,a[0]),prefetch:()=>e.prefetchQuery(c,...a),prefetchInfinite:()=>e.prefetchInfiniteQuery(c,a[0]),ensureData:()=>e.ensureQueryData(c,...a),invalidate:()=>e.invalidateQueries(c,...a),reset:()=>e.resetQueries(c,...a),refetch:()=>e.refetchQueries(c,...a),cancel:()=>e.cancelQuery(c,...a),setData:()=>{e.setQueryData(c,a[0],a[1])},setQueriesData:()=>e.setQueriesData(c,a[0],a[1],a[2]),setInfiniteData:()=>{e.setInfiniteQueryData(c,a[0],a[1])},getData:()=>e.getQueryData(c),getInfiniteData:()=>e.getInfiniteQueryData(c),setMutationDefaults:()=>e.setMutationDefaults($h(n),i),getMutationDefaults:()=>e.getMutationDefaults($h(n)),isMutating:()=>e.isMutating({mutationKey:$h(n)})}[r]()})}function ZR(e){const t=sw(e.client),n=KR(e);return Dx(r=>{const a=r;return a==="client"?t:QR.includes(a)?e[a]:n[r]})}var JR=Wo(M0(),1);function Rv(e){const t=e instanceof Qf?e:Ix(e);return Gf(n=>{const r=n.path,a=r.join("."),[i,o]=n.args;return(0,JR.default)({queryKey:Qa(r,i,"query"),queryFn:()=>t.query(a,i,o?.trpc)},o)})}var X1=Wo(M0(),1);function lr(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,X1.default)((0,X1.default)((0,X1.default)({},(o=i)!==null&&o!==void 0?o:{}),n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})}return[a.join("."),i,t?.trpc]}var eD=Zi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var i,o,c,u=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,c=Symbol.iterator);u--;){if(o&&(i=a[o])!=null)return i.call(a);if(c&&(i=a[c])!=null)return new r(i.call(a));o="@@asyncIterator",c="@@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 c=o.done;return Promise.resolve(o.value).then(function(u){return{value:u,done:c}})}return r=function(c){this.s=c,this.n=c.next},r.prototype={s:null,n:null,next:function(){return i(this.n.apply(this.s,arguments))},return:function(c){var u=this.s.return;return u===void 0?Promise.resolve({value:c,done:!0}):i(u.apply(this.s,arguments))},throw:function(c){var u=this.s.return;return u===void 0?Promise.reject(c):i(u.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),tD=Wo(eD(),1);function f2(e){return{path:e.path.join(".")}}function Cu(e){const t=f2(e);return O.useMemo(()=>t,[t])}async function ow(e,t,n){const a=t.getQueryCache().build(t,{queryKey:n});a.setState({data:[],status:"success"});const i=[];var o=!1,c=!1,u;try{for(var h=(0,tD.default)(e),g;o=!(g=await h.next()).done;o=!1){const p=g.value;i.push(p),a.setState({data:[...i]})}}catch(p){c=!0,u=p}finally{try{o&&h.return!=null&&await h.return()}finally{if(c)throw u}}return i}var kt=Wo(M0(),1);function nD(e){const{client:t,queryClient:n}=e,r=t instanceof Qf?t:Ix(t);return{infiniteQueryOptions:(a,i,o)=>{var c,u;const h=((c=i[1])===null||c===void 0?void 0:c.input)===$r,g=async p=>{var b;const y=(0,kt.default)((0,kt.default)({},o),{},{trpc:(0,kt.default)((0,kt.default)({},o?.trpc),!(o==null||(b=o.trpc)===null||b===void 0)&&b.abortOnUnmount?{signal:p.signal}:{signal:null})});return await r.query(...lr(i,y,{direction:p.direction,pageParam:p.pageParam}))};return Object.assign((0,kt.default)((0,kt.default)({},o),{},{initialData:o?.initialData,queryKey:i,queryFn:h?$r:g,initialPageParam:(u=o?.initialCursor)!==null&&u!==void 0?u:null}),{trpc:f2({path:a})})},queryOptions:(a,i,o)=>{var c;const u=((c=i[1])===null||c===void 0?void 0:c.input)===$r,h=async g=>{var p;const b=(0,kt.default)((0,kt.default)({},o),{},{trpc:(0,kt.default)((0,kt.default)({},o?.trpc),!(o==null||(p=o.trpc)===null||p===void 0)&&p.abortOnUnmount?{signal:g.signal}:{signal:null})}),y=await r.query(...lr(i,b));return UE(y)?ow(y,n,i):y};return Object.assign((0,kt.default)((0,kt.default)({},o),{},{initialData:o?.initialData,queryKey:i,queryFn:u?$r:h}),{trpc:f2({path:a})})},fetchQuery:(a,i)=>n.fetchQuery((0,kt.default)((0,kt.default)({},i),{},{queryKey:a,queryFn:()=>r.query(...lr(a,i))})),fetchInfiniteQuery:(a,i)=>{var o;return n.fetchInfiniteQuery((0,kt.default)((0,kt.default)({},i),{},{queryKey:a,queryFn:({pageParam:c,direction:u})=>r.query(...lr(a,i,{pageParam:c,direction:u})),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(...lr(a,i))})),prefetchInfiniteQuery:(a,i)=>{var o;return n.prefetchInfiniteQuery((0,kt.default)((0,kt.default)({},i),{},{queryKey:a,queryFn:({pageParam:c,direction:u})=>r.query(...lr(a,i,{pageParam:c,direction:u})),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(...lr(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,c)=>n.setQueriesData((0,kt.default)((0,kt.default)({},i),{},{queryKey:a}),o,c),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],c=u=>r.mutation(...lr([o,{input:u}],e));return n.setMutationDefaults(a,typeof i=="function"?i({canonicalMutationFn:c}):i)},getMutationDefaults:a=>n.getMutationDefaults(a),isMutating:a=>n.isMutating((0,kt.default)((0,kt.default)({},a),{},{exact:!0}))}}var ze=Wo(M0());const Dv=(e,t)=>new Proxy(e,{get(r,a){return t(a),r[a]}});function rD(e){var t,n;const r=(t=void 0)!==null&&t!==void 0?t:q=>q.originalFn(),a=(n=void 0)!==null&&n!==void 0?n:XR,i=UR,o=q=>{var C;const{abortOnUnmount:M=!1,queryClient:V,ssrContext:Z}=q,[I,se]=O.useState((C=q.ssrState)!==null&&C!==void 0?C:!1),ae=q.client instanceof Qf?q.client:Ix(q.client),me=O.useMemo(()=>nD({client:ae,queryClient:V}),[ae,V]),oe=O.useMemo(()=>(0,ze.default)({abortOnUnmount:M,queryClient:V,client:ae,ssrContext:Z??null,ssrState:I},me),[M,ae,me,V,Z,I]);return O.useEffect(()=>{se(ee=>ee?"mounted":!1)},[]),f.jsx(a.Provider,{value:oe,children:q.children})};function c(){const q=O.useContext(a);if(!q)throw new Error("Unable to find tRPC Context. Did you forget to wrap your Ap
18p inside `withTRPC` HoC?");return q}function u(q,C){var M;const{queryClient:V,ssrState:Z}=c();return Z&&Z!=="mounted"&&((M=V.getQueryCache().find({queryKey:q}))===null||M===void 0?void 0:M.state.status)==="error"?(0,ze.default)({retryOnMount:!1},C):C}function h(q,C,M){var V,Z,I,se,ae;const me=c(),{abortOnUnmount:oe,client:ee,ssrState:L,queryClient:J,prefetchQuery:te}=me,we=Qa(q,C,"query"),U=J.getQueryDefaults(we),G=C===$r;typeof window>"u"&&L==="prepass"&&(M==null||(V=M.trpc)===null||V===void 0?void 0:V.ssr)!==!1&&((Z=M?.enabled)!==null&&Z!==void 0?Z:U?.enabled)!==!1&&!G&&!J.getQueryCache().find({queryKey:we})&&te(we,M);const ce=u(we,(0,ze.default)((0,ze.default)({},U),M)),P=(I=(se=M==null||(ae=M.trpc)===null||ae===void 0?void 0:ae.abortOnUnmount)!==null&&se!==void 0?se:void 0)!==null&&I!==void 0?I:oe,pe=OO((0,ze.default)((0,ze.default)({},ce),{},{queryKey:we,queryFn:G?C:async Se=>{const Re=(0,ze.default)((0,ze.default)({},ce),{},{trpc:(0,ze.default)((0,ze.default)({},ce?.trpc),P?{signal:Se.signal}:{signal:null})}),Pe=await ee.query(...lr(we,Re));return UE(Pe)?ow(Pe,J,we):Pe}}),J);return pe.trpc=Cu({path:q}),pe}function g(q,C,M){var V,Z,I;const se=c(),ae=Qa(q,C,"query"),me=C===$r,oe=(V=(Z=M==null||(I=M.trpc)===null||I===void 0?void 0:I.abortOnUnmount)!==null&&Z!==void 0?Z:void 0)!==null&&V!==void 0?V:se.abortOnUnmount;IO((0,ze.default)((0,ze.default)({},M),{},{queryKey:ae,queryFn:me?C:ee=>{const L={trpc:(0,ze.default)((0,ze.default)({},M?.trpc),oe?{signal:ee.signal}:{})};return se.client.query(...lr(ae,L))}}))}function p(q,C,M){var V,Z,I;const se=c(),ae=Qa(q,C,"query"),me=(V=(Z=M==null||(I=M.trpc)===null||I===void 0?void 0:I.abortOnUnmount)!==null&&Z!==void 0?Z:void 0)!==null&&V!==void 0?V:se.abortOnUnmount,oe=RO((0,ze.default)((0,ze.default)({},M),{},{queryKey:ae,queryFn:ee=>{const L=(0,ze.default)((0,ze.default)({},M),{},{trpc:(0,ze.default)((0,ze.default)({},M?.trpc),me?{signal:ee.signal}:{signal:null})});return se.client.query(...lr(ae,L))}}),se.queryClient);return oe.trpc=Cu({path:q}),[oe.data,oe]}function b(q,C){const{client:M,queryClient:V}=c(),Z=$h(q),I=V.defaultMutationOptions(V.getMutationDefaults(Z)),se=PO((0,ze.default)((0,ze.default)({},C),{},{mutationKey:Z,mutationFn:ae=>M.mutation(...lr([q,{input:ae}],C)),onSuccess(...ae){var me,oe;return r({originalFn:()=>{var L,J,te;return(L=C==null||(J=C.onSuccess)===null||J===void 0?void 0:J.call(C,...ae))!==null&&L!==void 0?L:I==null||(te=I.onSuccess)===null||te===void 0?void 0:te.call(I,...ae)},queryClient:V,meta:(me=(oe=C?.meta)!==null&&oe!==void 0?oe:I?.meta)!==null&&me!==void 0?me:{}})}}),V);return se.trpc=Cu({path:q}),se}const y={data:void 0,error:null,status:"idle"},w={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function T(q,C,M){var V;const Z=(V=M?.enabled)!==null&&V!==void 0?V:C!==$r,I=Vi(Qa(q,C,"any")),{client:se}=c(),ae=O.useRef(M);O.useEffect(()=>{ae.current=M});const[me]=O.useState(new Set([])),oe=O.useCallback(G=>{me.add(G)},[me]),ee=O.useRef(null),L=O.useCallback(G=>{const ce=te.current,P=te.current=G(ce);let pe=!1;for(const Se of me)if(ce[Se]!==P[Se]){pe=!0;break}pe&&U(Dv(P,oe))},[oe,me]),J=O.useCallback(()=>{var G;if((G=ee.current)===null||G===void 0||G.unsubscribe(),!Z){L(()=>(0,ze.default)((0,ze.default)({},y),{},{reset:J}));return}L(()=>(0,ze.default)((0,ze.default)({},w),{},{reset:J}));const ce=se.subscription(q.join("."),C??void 0,{onStarted:()=>{var P,pe;(P=(pe=ae.current).onStarted)===null||P===void 0||P.call(pe),L(Se=>(0,ze.default)((0,ze.default)({},Se),{},{status:"pending",error:null}))},onData:P=>{var pe,Se;(pe=(Se=ae.current).onData)===null||pe===void 0||pe.call(Se,P),L(Re=>(0,ze.default)((0,ze.default)({},Re),{},{status:"pending",data:P,error:null}))},onError:P=>{var pe,Se;(pe=(Se=ae.current).onError)===null||pe===void 0||pe.call(Se,P),L(Re=>(0,ze.default)((0,ze.default)({},Re),{},{status:"error",error:P}))},onConnectionStateChange:P=>{L(pe=>{switch(P.state){case"idle":return(0,ze.default)((0,ze.default)({},pe),{},{status:P.state,error:null,data:void 0});case"connecting":return(0,ze.default)((0,ze.default)({},pe),{},{error:P.error,status:P.state});
18case"pending":return pe}})},onComplete:()=>{var P,pe;(P=(pe=ae.current).onComplete)===null||P===void 0||P.call(pe),L(Se=>(0,ze.default)((0,ze.default)({},Se),{},{status:"idle",error:null,data:void 0}))}});ee.current=ce},[se,I,Z,L]);O.useEffect(()=>(J(),()=>{var G;(G=ee.current)===null||G===void 0||G.unsubscribe()}),[J]);const te=O.useRef(Z?(0,ze.default)((0,ze.default)({},w),{},{reset:J}):(0,ze.default)((0,ze.default)({},y),{},{reset:J})),[we,U]=O.useState(Dv(te.current,oe));return we}function A(q,C,M){var V,Z,I,se,ae;const{client:me,ssrState:oe,prefetchInfiniteQuery:ee,queryClient:L,abortOnUnmount:J}=c(),te=Qa(q,C,"infinite"),we=L.getQueryDefaults(te),U=C===$r;typeof window>"u"&&oe==="prepass"&&(M==null||(V=M.trpc)===null||V===void 0?void 0:V.ssr)!==!1&&((Z=M?.enabled)!==null&&Z!==void 0?Z:we?.enabled)!==!1&&!U&&!L.getQueryCache().find({queryKey:te})&&ee(te,(0,ze.default)((0,ze.default)({},we),M));const G=u(te,(0,ze.default)((0,ze.default)({},we),M)),ce=(I=M==null||(se=M.trpc)===null||se===void 0?void 0:se.abortOnUnmount)!==null&&I!==void 0?I:J,P=jO((0,ze.default)((0,ze.default)({},G),{},{initialPageParam:(ae=M.initialCursor)!==null&&ae!==void 0?ae:null,persister:M.persister,queryKey:te,queryFn:U?C:pe=>{var Se;const Re=(0,ze.default)((0,ze.default)({},G),{},{trpc:(0,ze.default)((0,ze.default)({},G?.trpc),ce?{signal:pe.signal}:{signal:null})});return me.query(...lr(te,Re,{pageParam:(Se=pe.pageParam)!==null&&Se!==void 0?Se:M.initialCursor,direction:pe.direction}))}}),L);return P.trpc=Cu({path:q}),P}function N(q,C,M){var V,Z,I;const se=c(),ae=Qa(q,C,"infinite"),me=se.queryClient.getQueryDefaults(ae),oe=C===$r,ee=u(ae,(0,ze.default)((0,ze.default)({},me),M)),L=(V=M==null||(Z=M.trpc)===null||Z===void 0?void 0:Z.abortOnUnmount)!==null&&V!==void 0?V:se.abortOnUnmount;LO((0,ze.default)((0,ze.default)({},M),{},{initialPageParam:(I=M.initialCursor)!==null&&I!==void 0?I:null,queryKey:ae,queryFn:oe?C:J=>{var te;const we=(0,ze.default)((0,ze.default)({},ee),{},{trpc:(0,ze.default)((0,ze.default)({},ee?.trpc),L?{signal:J.signal}:{})});return se.client.query(...lr(ae,we,{pageParam:(te=J.pageParam)!==null&&te!==void 0?te:M.initialCursor,direction:J.direction}))}}))}function R(q,C,M){var V,Z,I;const se=c(),ae=Qa(q,C,"infinite"),me=se.queryClient.getQueryDefaults(ae),oe=u(ae,(0,ze.default)((0,ze.default)({},me),M)),ee=(V=M==null||(Z=M.trpc)===null||Z===void 0?void 0:Z.abortOnUnmount)!==null&&V!==void 0?V:se.abortOnUnmount,L=DO((0,ze.default)((0,ze.default)({},M),{},{initialPageParam:(I=M.initialCursor)!==null&&I!==void 0?I:null,queryKey:ae,queryFn:J=>{var te;const we=(0,ze.default)((0,ze.default)({},oe),{},{trpc:(0,ze.default)((0,ze.default)({},oe?.trpc),ee?{signal:J.signal}:{})});return se.client.query(...lr(ae,we,{pageParam:(te=J.pageParam)!==null&&te!==void 0?te:M.initialCursor,direction:J.direction}))}}),se.queryClient);return L.trpc=Cu({path:q}),[L.data,L]}return{Provider:o,createClient:i,useContext:c,useUtils:c,useQuery:h,usePrefetchQuery:g,useSuspenseQuery:p,useQueries:(q,C)=>{const{ssrState:M,queryClient:V,prefetchQuery:Z,client:I}=c(),se=Rv(I),ae=q(se);if(typeof window>"u"&&M==="prepass")for(const oe of ae){var me;const ee=oe;((me=ee.trpc)===null||me===void 0?void 0:me.ssr)!==!1&&!V.getQueryCache().find({queryKey:ee.queryKey})&&Z(ee.queryKey,ee)}return HE({queries:ae.map(oe=>(0,ze.default)((0,ze.default)({},oe),{},{queryKey:oe.queryKey})),combine:C?.combine},V)},useSuspenseQueries:q=>{const{queryClient:C,client:M}=c(),V=Rv(M),Z=q(V),I=MO({queries:Z.map(se=>(0,ze.default)((0,ze.default)({},se),{},{queryFn:se.queryFn,queryKey:se.queryKey}))},C);return[I.map(se=>se.data),I]},useMutation:b,useSubscription:T,useInfiniteQuery:A,usePrefetchInfiniteQuery:N,useSuspenseInfiniteQuery:R}}function aD(e){const t=YR(e);return Dx(n=>n==="useContext"||n==="useUtils"?()=>{const r=e.useUtils();return O.useMemo(()=>ZR(r),[r])}:e.hasOwnProperty(n)?e[n]:t[n])}function sD(e){const t=rD();return aD(t)}const je=sD(),iD="Please login (10001)";var W1={exports:{}},Ou={},K1={exports:{}},Z1={};/** 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 Mv;function oD(){return Mv||(Mv=1,(function(e){function t(L,J){var te=L.length;L.push(J);e:for(;0<te;){var we=te-1>>>1,U=L[we];if(0<a(U,J))L[we]=J,L[te]=U,te=we;else break e}}function n(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var J=L[0],te=L.pop();if(te!==J){L[0]=te;e:for(var we=0,U=L.length,G=U>>>1;we<G;){var ce=2*(we+1)-1,P=L[ce],pe=ce+1,Se=L[pe];if(0>a(P,te))pe<U&&0>a(Se,P)?(L[we]=Se,L[pe]=te,we=pe):(L[we]=P,L[ce]=te,we=ce);else if(pe<U&&0>a(Se,te))L[we]=Se,L[pe]=te,we=pe;else break e}}return J}function a(L,J){var te=L.sortIndex-J.sortIndex;return te!==0?te:L.id-J.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,c=o.now();e.unstable_now=function(){return o.now()-c}}var u=[],h=[],g=1,p=null,b=3,y=!1,w=!1,T=!1,A=!1,N=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function W(L){for(var J=n(h);J!==null;){if(J.callback===null)r(h);else if(J.startTime<=L)r(h),J.sortIndex=J.expirationTime,t(u,J);else break;J=n(h)}}function q(L){if(T=!1,W(L),!w)if(n(u)!==null)w=!0,C||(C=!0,ae());else{var J=n(h);J!==null&&ee(q,J.startTime-L)}}var C=!1,M=-1,V=5,Z=-1;function I(){return A?!0:!(e.unstable_now()-Z<V)}
vendor: 10,417 bytes, lines 26-42
26function se(){if(A=!1,C){var L=e.unstable_now();Z=L;var J=!0;try{e:{w=!1,T&&(T=!1,R(M),M=-1),y=!0;var te=b;try{t:{for(W(L),p=n(u);p!==null&&!(p.expirationTime>L&&I());){var we=p.callback;if(typeof we=="function"){p.callback=null,b=p.priorityLevel;var U=we(p.expirationTime<=L);if(L=e.unstable_now(),typeof U=="function"){p.callback=U,W(L),J=!0;break t}p===n(u)&&r(u),W(L)}else r(u);p=n(u)}if(p!==null)J=!0;else{var G=n(h);G!==null&&ee(q,G.startTime-L),J=!1}}break e}finally{p=null,b=te,y=!1}J=void 0}}finally{J?ae():C=!1}}}var ae;if(typeof z=="function")ae=function(){z(se)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,oe=me.port2;me.port1.onmessage=se,ae=function(){oe.postMessage(null)}}else ae=function(){N(se,0)};function ee(L,J){M=N(function(){L(e.unstable_now())},J)}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(L){L.callback=null},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(L){switch(b){case 1:case 2:case 3:var J=3;break;default:J=b}var te=b;b=J;try{return L()}finally{b=te}},e.unstable_requestPaint=function(){A=!0},e.unstable_runWithPriority=function(L,J){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var te=b;b=L;try{return J()}finally{b=te}},e.unstable_scheduleCallback=function(L,J,te){var we=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?we+te:we):te=we,L){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=te+U,L={id:g++,callback:J,priorityLevel:L,startTime:te,expirationTime:U,sortIndex:-1},te>we?(L.sortIndex=te,t(h,L),n(u)===null&&L===n(h)&&(T?(R(M),M=-1):T=!0,ee(q,te-we))):(L.sortIndex=U,t(u,L),w||y||(w=!0,C||(C=!0,ae()))),L},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(L){var J=b;return function(){var te=b;b=J;try{return L.apply(this,arguments)}finally{b=te}}}})(Z1)),Z1}var Iv;function lD(){return Iv||(Iv=1,K1.exports=oD()),K1.exports}var J1={exports:{}},Wn={};/** 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 Lv;function cD(){if(Lv)return Wn;Lv=1;var e=qf();function t(u){var h="https://react.dev/errors/"+u;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 #"+u+"; 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(u,h,g){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:p==null?null:""+p,children:u,containerInfo:h,implementation:g}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(u,h){if(u==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Wn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Wn.createPortal=function(u,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(u,h,null,g)},Wn.flushSync=function(u){var h=o.T,g=r.p;try{if(o.T=null,r.p=2,u)return u()}finally{o.T=h,r.p=g,r.d.f()}},Wn.preconnect=function(u,h){typeof u=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(u,h))},Wn.prefetchDNS=function(u){typeof u=="string"&&r.d.D(u)},Wn.preinit=function(u,h){if(typeof u=="string"&&h&&typeof h.as=="string"){var g=h.as,p=c(g,h.crossOrigin),b=typeof h.integrity=="string"?h.integrity:void 0,y=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;g==="style"?r.d.S(u,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:b,fetchPriority:y}):g==="script"&&r.d.X(u,{crossOrigin:p,integrity:b,fetchPriority:y,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Wn.preinitModule=function(u,h){if(typeof u=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var g=c(h.as,h.crossOrigin);r.d.M(u,{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(u)},Wn.preload=function(u,h){if(typeof u=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var g=h.as,p=c(g,h.crossOrigin);r.d.L(u,g,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Wn.preloadModule=function(u,h){if(typeof u=="string")if(h){var g=c(h.as,h.crossOrigin);r.d.m(u,{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(u)},Wn.requestFormReset=function(u){r.d.r(u)},Wn.unstable_batchedUpdates=function(u,h){return u(h)},Wn.useFormState=function(u,h,g){return o.H.useFormState(u,h,g)},Wn.useFormStatus=function(){return o.H.useHostTransitionStatus()},Wn.version="19.2.1",Wn}var Pv;function lw(){if(Pv)return J1.exports;Pv=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(),J1.exports=cD(),J1.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 jv;function uD(){if(jv)return Ou;jv=1;var e=lD(),t=qf(),n=lw();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 c(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 u(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,m=l;;){var x=d.return;if(x===null)break;var v=x.alternate;if(v===null){if(m=x.return,m!==null){d=m;continue}break}if(x.child===v.child){for(v=x.child;v;){if(v===d)return u(x),s;if(v===m)return u(x),l;v=v.sibling}throw Error(r(188))}if(d.return!==m.return)d=x,m=v;else{for(var _=!1,j=x.child;j;){if(j===d){_=!0,d=x,m=v;break}if(j===m){_=!0,m=x,d=v;break}j=j.sibling}if(!_){for(j=v.child;j;){if(j===d){_=!0,d=v,m=x;break}if(j===m){_=!0,m=v,d=x;break}j=j.sibling}if(!_)throw Error(r(189))}}if(d.alternate!==m)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 p=Object.assign,b=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),z=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),I=Symbol.for("react.memo_cache_sentinel"),se=Symbol.iterator;function ae(s){return s===null||typeof s!="object"?null:(s=se&&s[se]||s["@@iterator"],typeof s=="function"?s:null)}var me=Symbol.for("react.client.reference");function oe(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===me?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case T:return"Fragment";case N:return"Profiler";case A:return"StrictMode";case q:return"Suspense";case C:return"SuspenseList";case Z:return"Activity"}if(typeof s=="object")switch(s.$$typeof){case w:return"Portal";case z:return s.displayName||"Context";case R:return(s._context.displayName||"Context")+".Consumer";case W:var l=s.render;return s=s.displayName,s||(s=l.displayName||l.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case M:return l=s.displayName||null,l!==null?l:oe(s.type)||"Memo";case V:l=s._payload,s=s._init;try{return oe(s(l))}catch{}}return null}var ee=Array.isArray,L=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},we=[],U=-1;function G(s){return{current:s}}function ce(s){0>U||(s.current=we[U],we[U]=null,U--)}function P(s,l){U++,we[U]=s.current,s.current=l}var pe=G(null),Se=G(null),Re=G(null),Pe=G(null);function Ge(s,l){switch(P(Re,l),P(Se,s),P(pe,null),l.nodeType){case 9:case 11:s=(s=l.documentElement)&&(s=s.namespaceURI)?P3(s):0;break;default:if(s=l.tagName,l=l.namespaceURI)l=P3(l),s=j3(l,s);else switch(s){case"svg":s=1;break;case"math":s=2;break;default:s=0}}ce(pe),P(pe,s)}function tt(){ce(pe),ce(Se),ce(Re)}
vendor: 7,495 bytes, lines 42-49
42function Ot(s){s.memoizedState!==null&&P(Pe,s);var l=pe.current,d=j3(l,s.type);l!==d&&(P(Se,s),P(pe,d))}function en(s){Se.current===s&&(ce(pe),ce(Se)),Pe.current===s&&(ce(Pe),Tu._currentValue=te)}var on,Dr;function jn(s){if(on===void 0)try{throw Error()}catch(d){var l=d.stack.trim().match(/\n( *(at )?)/);on=l&&l[1]||"",Dr=-1<d.stack.indexOf(` 43 at`)?" (<anonymous>)":-1<d.stack.indexOf("@")?"@unknown:0:0":""}return` 44`+on+s+Dr}var Ea=!1;function Kr(s,l){if(!s||Ea)return"";Ea=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var m={DetermineComponentFrameRoot:function(){try{if(l){var Ee=function(){throw Error()};if(Object.defineProperty(Ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ee,[])}catch(ge){var fe=ge}Reflect.construct(s,[],Ee)}else{try{Ee.call()}catch(ge){fe=ge}s.call(Ee.prototype)}}else{try{throw Error()}catch(ge){fe=ge}(Ee=s())&&typeof Ee.catch=="function"&&Ee.catch(function(){})}}catch(ge){if(ge&&fe&&typeof ge.stack=="string")return[ge.stack,fe.stack]}return[null,null]}};m.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var x=Object.getOwnPropertyDescriptor(m.DetermineComponentFrameRoot,"name");x&&x.configurable&&Object.defineProperty(m.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=m.DetermineComponentFrameRoot(),_=v[0],j=v[1];if(_&&j){var K=_.split(` 45`),he=j.split(` 46`);for(x=m=0;m<K.length&&!K[m].includes("DetermineComponentFrameRoot");)m++;for(;x<he.length&&!he[x].includes("DetermineComponentFrameRoot");)x++;if(m===K.length||x===he.length)for(m=K.length-1,x=he.length-1;1<=m&&0<=x&&K[m]!==he[x];)x--;for(;1<=m&&0<=x;m--,x--)if(K[m]!==he[x]){if(m!==1||x!==1)do if(m--,x--,0>x||K[m]!==he[x]){var be=` 47`+K[m].replace(" at new "," at ");return s.displayName&&be.includes("<anonymous>")&&(be=be.replace("<anonymous>",s.displayName)),be}while(1<=m&&0<=x);break}}}finally{Ea=!1,Error.prepareStackTrace=d}return(d=s?s.displayName||s.name:"")?jn(d):""}function fr(s,l){switch(s.tag){case 26:case 27:case 5:return jn(s.type);case 16:return jn("Lazy");case 13:return s.child!==l&&l!==null?jn("Suspense Fallback"):jn("Suspense");case 19:return jn("SuspenseList");case 0:case 15:return Kr(s.type,!1);case 11:return Kr(s.type.render,!1);case 1:return Kr(s.type,!0);case 31:return jn("Activity");default:return""}}function Zr(s){try{var l="",d=null;do l+=fr(s,d),d=s,s=s.return;while(s);return l}catch(m){return` 48Error generating stack: `+m.message+` 49`+m.stack}}var ln=Object.prototype.hasOwnProperty,ni=e.unstable_scheduleCallback,no=e.unstable_cancelCallback,Bn=e.unstable_shouldYield,Ia=e.unstable_requestPaint,zn=e.unstable_now,Bc=e.unstable_getCurrentPriorityLevel,ye=e.unstable_ImmediatePriority,De=e.unstable_UserBlockingPriority,Ze=e.unstable_NormalPriority,ot=e.unstable_LowPriority,mt=e.unstable_IdlePriority,Yn=e.log,Qn=e.unstable_setDisableYieldValue,Fn=null,cn=null;function Hn(s){if(typeof Yn=="function"&&Qn(s),cn&&typeof cn.setStrictMode=="function")try{cn.setStrictMode(Fn,s)}catch{}}var Ct=Math.clz32?Math.clz32:Pa,La=Math.log,sr=Math.LN2;function Pa(s){return s>>>=0,s===0?32:31-(La(s)/sr|0)|0}var ll=256,cl=262144,ro=4194304;function ja(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;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return s}}function nt(s,l,d){var m=s.pendingLanes;if(m===0)return 0;var x=0,v=s.suspendedLanes,_=s.pingedLanes;s=s.warmLanes;var j=m&134217727;return j!==0?(m=j&~v,m!==0?x=ja(m):(_&=j,_!==0?x=ja(_):d||(d=j&~s,d!==0&&(x=ja(d))))):(j=m&~v,j!==0?x=ja(j):_!==0?x=ja(_):d||(d=m&~s,d!==0&&(x=ja(d)))),x===0?0:l!==0&&l!==x&&(l&v)===0&&(v=x&-x,d=l&-l,v>=d||v===32&&(d&4194048)!==0)?l:x}function Gt(s,l){return(s.pendingLanes&~(s.suspendedLanes&~s.pingedLanes)&l)===0}function On(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 Xn(){var s=ro;return ro<<=1,(ro&62914560)===0&&(ro=4194304),s}function ri(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 mr(s,l,d,m,x,v){var _=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 j=s.entanglements,K=s.expirationTimes,he=s.hiddenUpdates;for(d=_&~d;0<d;){var be=31-Ct(d),Ee=1<<be;j[be]=0,K[be]=-1;var fe=he[be];if(fe!==null)for(he[be]=null,be=0;be<fe.length;be++){var ge=fe[be];ge!==null&&(ge.lane&=-536870913)}d&=~Ee}m!==0&&ao(s,m,0),v!==0&&x===0&&s.tag!==0&&(s.suspendedLanes|=v&~(_&~l))}function ao(s,l,d){s.pendingLanes|=l,s.suspendedLanes&=~l;var m=31-Ct(l);s.entangledLanes|=l,s.entanglements[m]=s.entanglements[m]|1073741824|d&261930}function pr(s,l){var d=s.entangledLanes|=l;for(s=s.entanglements;d;){var m=31-Ct(d),x=1<<m;x&l|s[m]&l&&(s[m]|=l),d&=~x}}function gr(s,l){var d=l&-l;return d=(d&42)!==0?1:ul(d),(d&(s.suspendedLanes|l))!==0?0:d}function ul(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 wa(s){return s&=-s,2<s?8<s?(s&134217727)!==0?32:268435456:8:2}function Im(){var s=J.p;return s!==0?s:(s=window.event,s===void 0?32:iv(s.type))}function w4(s,l){var d=J.p;try{return J.p=s,l()}finally{J.p=d}}var ai=Math.random().toString(36).slice(2),Un="__reactFiber$"+ai,xr="__reactProps$"+ai,dl="__reactContainer$"+ai,Lm="__reactEvents$"+ai,HA="__reactListeners$"+ai,UA="__reactHandles$"+ai,S4="__reactResources$"+ai,zc="__reactMarker$"+ai;function Pm(s){delete s[Un],delete s[xr],delete s[Lm],delete s[HA],delete s[UA]}function hl(s){var l=s[Un];if(l)return l;for(var d=s.parentNode;d;){if(l=d[dl]||d[Un]){if(d=l.alternate,l.child!==null||d!==null&&d.child!==null)for(s=V3(s);s!==null;){if(d=s[Un])return d;s=V3(s)}return l}s=d,d=s.parentNode}return null}function fl(s){if(s=s[Un]||s[dl]){var l=s.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return s}return null}function Fc(s){var l=s.tag;if(l===5||l===26||l===27||l===6)return s.stateNode;throw Error(r(33))}function ml(s){var l=s[S4];return l||(l=s[S4]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Rn(s){s[zc]=!0}var T4=new Set,k4={};function so(s,l){pl(s,l),pl(s+"Capture",l)}function pl(s,l){for(k4[s]=l,s=0;s<l.length;s++)T4.add(l[s])}var qA=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
vendor: 6,765 bytes, line 49
49037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),_4={},A4={};function VA(s){return ln.call(A4,s)?!0:ln.call(_4,s)?!1:qA.test(s)?A4[s]=!0:(_4[s]=!0,!1)}function td(s,l,d){if(VA(l))if(d===null)s.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":s.removeAttribute(l);return;case"boolean":var m=l.toLowerCase().slice(0,5);if(m!=="data-"&&m!=="aria-"){s.removeAttribute(l);return}}s.setAttribute(l,""+d)}}function nd(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 ps(s,l,d,m){if(m===null)s.removeAttribute(d);else{switch(typeof m){case"undefined":case"function":case"symbol":case"boolean":s.removeAttribute(d);return}s.setAttributeNS(l,d,""+m)}}function Jr(s){switch(typeof s){case"bigint":case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function N4(s){var l=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function $A(s,l,d){var m=Object.getOwnPropertyDescriptor(s.constructor.prototype,l);if(!s.hasOwnProperty(l)&&typeof m<"u"&&typeof m.get=="function"&&typeof m.set=="function"){var x=m.get,v=m.set;return Object.defineProperty(s,l,{configurable:!0,get:function(){return x.call(this)},set:function(_){d=""+_,v.call(this,_)}}),Object.defineProperty(s,l,{enumerable:m.enumerable}),{getValue:function(){return d},setValue:function(_){d=""+_},stopTracking:function(){s._valueTracker=null,delete s[l]}}}}function jm(s){if(!s._valueTracker){var l=N4(s)?"checked":"value";s._valueTracker=$A(s,l,""+s[l])}}function C4(s){if(!s)return!1;var l=s._valueTracker;if(!l)return!0;var d=l.getValue(),m="";return s&&(m=N4(s)?s.checked?"true":"false":s.value),s=m,s!==d?(l.setValue(s),!0):!1}function rd(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 GA=/[\n"\\]/g;function ea(s){return s.replace(GA,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Bm(s,l,d,m,x,v,_,j){s.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?s.type=_:s.removeAttribute("type"),l!=null?_==="number"?(l===0&&s.value===""||s.value!=l)&&(s.value=""+Jr(l)):s.value!==""+Jr(l)&&(s.value=""+Jr(l)):_!=="submit"&&_!=="reset"||s.removeAttribute("value"),l!=null?zm(s,_,Jr(l)):d!=null?zm(s,_,Jr(d)):m!=null&&s.removeAttribute("value"),x==null&&v!=null&&(s.defaultChecked=!!v),x!=null&&(s.checked=x&&typeof x!="function"&&typeof x!="symbol"),j!=null&&typeof j!="function"&&typeof j!="symbol"&&typeof j!="boolean"?s.name=""+Jr(j):s.removeAttribute("name")}function O4(s,l,d,m,x,v,_,j){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)){jm(s);return}d=d!=null?""+Jr(d):"",l=l!=null?""+Jr(l):d,j||l===s.value||(s.value=l),s.defaultValue=l}m=m??x,m=typeof m!="function"&&typeof m!="symbol"&&!!m,s.checked=j?s.checked:!!m,s.defaultChecked=!!m,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(s.name=_),jm(s)}function zm(s,l,d){l==="number"&&rd(s.ownerDocument)===s||s.defaultValue===""+d||(s.defaultValue=""+d)}function gl(s,l,d,m){if(s=s.options,l){l={};for(var x=0;x<d.length;x++)l["$"+d[x]]=!0;for(d=0;d<s.length;d++)x=l.hasOwnProperty("$"+s[d].value),s[d].selected!==x&&(s[d].selected=x),x&&m&&(s[d].defaultSelected=!0)}else{for(d=""+Jr(d),l=null,x=0;x<s.length;x++){if(s[x].value===d){s[x].selected=!0,m&&(s[x].defaultSelected=!0);return}l!==null||s[x].disabled||(l=s[x])}l!==null&&(l.selected=!0)}}function R4(s,l,d){if(l!=null&&(l=""+Jr(l),l!==s.value&&(s.value=l),d==null)){s.defaultValue!==l&&(s.defaultValue=l);return}s.defaultValue=d!=null?""+Jr(d):""}function D4(s,l,d,m){if(l==null){if(m!=null){if(d!=null)throw Error(r(92));if(ee(m)){if(1<m.length)throw Error(r(93));m=m[0]}d=m}d==null&&(d=""),l=d}d=Jr(l),s.defaultValue=d,m=s.textContent,m===d&&m!==""&&m!==null&&(s.value=m),jm(s)}function xl(s,l){if(l){var d=s.firstChild;if(d&&d===s.lastChild&&d.nodeType===3){d.nodeValue=l;return}}s.textContent=l}var YA=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 M4(s,l,d){var m=l.indexOf("--")===0;d==null||typeof d=="boolean"||d===""?m?s.setProperty(l,""):l==="float"?s.cssFloat="":s[l]="":m?s.setProperty(l,d):typeof d!="number"||d===0||YA.has(l)?l==="float"?s.cssFloat=d:s[l]=(""+d).trim():s[l]=d+"px"}function I4(s,l,d){if(l!=null&&typeof l!="object")throw Error(r(62));if(s=s.style,d!=null){for(var m in d)!d.hasOwnProperty(m)||l!=null&&l.hasOwnProperty(m)||(m.indexOf("--")===0?s.setProperty(m,""):m==="float"?s.cssFloat="":s[m]="");for(var x in l)m=l[x],l.hasOwnProperty(x)&&d[x]!==m&&M4(s,x,m)}else for(var v in l)l.hasOwnProperty(v)&&M4(s,v,l[v])}function Fm(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 QA=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"]]),XA=/^[\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 ad(s){return XA.test(""+s)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":s}function gs(){}var Hm=null;function Um(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var bl=null,yl=null;function L4(s){var l=fl(s);if(l&&(s=l.stateNode)){var d=s[xr]||null;e:switch(s=l.stateNode,l.type){case"input":if(Bm(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="'+ea(""+l)+'"][type="radio"]'),l=0;l<d.length;l++){var m=d[l];if(m!==s&&m.form===s.form){var x=m[xr]||null;if(!x)throw Error(r(90));Bm(m,x.value,x.defaultValue,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name)}}for(l=0;l<d.length;l++)m=d[l],m.form===s.form&&C4(m)}break e;case"textarea":R4(s,d.value,d.defaultValue);break e;case"select":l=d.value,l!=null&&gl(s,!!d.multiple,l,!1)}}}var qm=!1;function P4(s,l,d){if(qm)return s(l,d);qm=!0;try{var m=s(l);return m}finally{if(qm=!1,(bl!==null||yl!==null)&&($d(),bl&&(l=bl,s=yl,yl=bl=null,L4(l),s)))for(l=0;l<s.length;l++)L4(s[l])}}function Hc(s,l){var d=s.stateNode;if(d===null)return null;var m=d[xr]||null;if(m===null)return null;d=m[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":(m=!m.disabled)||(s=s.type,m=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!m;break e;default:s=!1}if(s)return null;if(d&&typeof d!="function")throw Error(r(231,l,typeof d));return d}var xs=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vm=!1;if(xs)try{var Uc={};Object.defineProperty(Uc,"passive",{get:function(){Vm=!0}}),window.addEventListener("test",Uc,Uc),window.removeEventListener("test",Uc,Uc)}catch{Vm=!1}var si=null,$m=null,sd=null;function j4(){if(sd)return sd;var s,l=$m,d=l.length,m,x="value"in si?si.value:si.textContent,v=x.length;for(s=0;s<d&&l[s]===x[s];s++);var _=d-s;for(m=1;m<=_&&l[d-m]===x[v-m];m++);return sd=x.slice(s,1<m?1-m:void 0)}function id(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 od(){return!0}function B4(){return!1}function br(s){function l(d,m,x,v,_){this._reactName=d,this._targetInst=x,this.type=m,this.nativeEvent=v,this.target=_,this.currentTarget=null;for(var j in s)s.hasOwnProperty(j)&&(d=s[j],this[j]=d?d(v):v[j]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?od:B4,this.isPropagationStopped=B4,this}return p(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=od)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=od)},persist:function(){},isPersistent:od}),l}var io={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ld=br(io),qc=p({},io,{view:0,detail:0}),WA=br(qc),Gm,Ym,Vc,cd=p({},qc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xm,button:0,buttons:0,relatedTarget:function(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!==Vc&&(Vc&&s.type==="mousemove"?(Gm=s.screenX-Vc.screenX,Ym=s.screenY-Vc.screenY):Ym=Gm=0,Vc=s),Gm)},movementY:function(s){return"movementY"in s?s.movementY:Ym}}),z4=br(cd),KA=p({},cd,{dataTransfer:0}),ZA=br(KA),JA=p({},qc,{relatedTarget:0}),Qm=br(JA),eN=p({},io,{animationName:0,elapsedTime:0,pseudoElement:0}),tN=br(eN),nN=p({}
vendor: 1,132 bytes, line 49
49,io,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),rN=br(nN),aN=p({},io,{data:0}),F4=br(aN),sN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},iN={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"},oN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lN(s){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(s):(s=oN[s])?!!l[s]:!1}function Xm(){return lN}var cN=p({},qc,{key:function(s){if(s.key){var l=sN[s.key]||s.key;if(l!=="Unidentified")return l}return s.type==="keypress"?(s=id(s),s===13?"Enter":String.fromCharCode(s)):s.type==="
49keydown"||s.type==="keyup"?iN[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xm,charCode:function(s){return s.type==="keypress"?id(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?id(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),uN=br(cN),dN=p({},cd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),H4=br(dN),hN=p({},qc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xm}),fN=br(hN),mN=p({},io,{propertyName:0,elapsedTime:0,pseudoElement:0}),pN=br(mN),gN=p({},cd,{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}),xN=br(gN),bN=p({},io,{newState:0,oldState:0}),yN=br(bN),vN=[9,13,27,32],Wm=xs&&"CompositionEvent"in window,$c=null;xs&&"documentMode"in document&&($c=document.documentMode);var EN=xs&&"TextEvent"in window&&!$c,U4=xs&&(!Wm||$c&&8<$c&&11>=$c),q4=" ",V4=!1;function $4(s,l){switch(s){case"keyup":return vN.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function G4(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var vl=!1;function wN(s,l){switch(s){case"compositionend":return G4(l);case"keypress":return l.which!==32?null:(V4=!0,q4);case"textInput":return s=l.data,s===q4&&V4?null:s;default:return null}}function SN(s,l){if(vl)return s==="compositionend"||!Wm&&$4(s,l)?(s=j4(),sd=$m=si=null,vl=!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 U4&&l.locale!=="ko"?null:l.data;default:return null}}var TN={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 Y4(s){var l=s&&s.nodeName&&s.nodeName.toLowerCase();return l==="input"?!!TN[s.type]:l==="textarea"}function Q4(s,l,d,m){bl?yl?yl.push(m):yl=[m]:bl=m,l=Zd(l,"onChange"),0<l.length&&(d=new ld("onChange","change",null,d,m),s.push({event:d,listeners:l}))}var Gc=null,Yc=null;function kN(s){O3(s,0)}function ud(s){var l=Fc(s);if(C4(l))return s}function X4(s,l){if(s==="change")return l}var W4=!1;if(xs){var Km;if(xs){var Zm="oninput"in document;if(!Zm){var K4=document.createElement("div");K4.setAttribute("oninput","return;"),Zm=typeof K4.oninput=="function"}Km=Zm}else Km=!1;W4=Km&&(!document.documentMode||9<document.documentMode)}function Z4(){Gc&&(Gc.detachEvent("onpropertychange",J4),Yc=Gc=null)}function J4(s){if(s.propertyName==="value"&&ud(Yc)){var l=[];Q4(l,Yc,s,Um(s)),P4(kN,l)}}function _N(s,l,d){s==="focusin"?(Z4(),Gc=l,Yc=d,Gc.attachEvent("onpropertychange",J4)):s==="focusout"&&Z4()}function AN(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return ud(Yc)}function NN(s,l){if(s==="click")return ud(l)}function CN(s,l){if(s==="input"||s==="change")return ud(l)}function ON(s,l){return s===l&&(s!==0||1/s===1/l)||s!==s&&l!==l}var Mr=typeof Object.is=="function"?Object.is:ON;function Qc(s,l){if(Mr(s,l))return!0;if(typeof s!="object"||s===null||typeof l!="object"||l===null)return!1;var d=Object.keys(s),m=Object.keys(l);if(d.length!==m.length)return!1;for(m=0;m<d.length;m++){var x=d[m];if(!ln.call(l,x)||!Mr(s[x],l[x]))return!1}return!0}function ey(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function ty(s,l){var d=ey(s);s=0;for(var m;d;){if(d.nodeType===3){if(m=s+d.textContent.length,s<=l&&m>=l)return{node:d,offset:l-s};s=m}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=ey(d)}}function ny(s,l){return s&&l?s===l?!0:s&&s.nodeType===3?!1:l&&l.nodeType===3?ny(s,l.parentNode):"contains"in s?s.contains(l):s.compareDocumentPosition?!!(s.compareDocumentPosition(l)&16):!1:!1}function ry(s){s=s!=null&&s.ownerDocument!=null&&s.ownerDocument.defaultView!=null?s.ownerDocument.defaultView:window;for(var l=rd(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=rd(s.document)}return l}function Jm(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 RN=xs&&"documentMode"in document&&11>=document.documentMode,El=null,ep=null,Xc=null,tp=!1;function ay(s,l,d){var m=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;tp||El==null||El!==rd(m)||(m=El,"selectionStart"in m&&Jm(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focu
vendor: 22,836 bytes, line 49
49sNode:m.focusNode,focusOffset:m.focusOffset}),Xc&&Qc(Xc,m)||(Xc=m,m=Zd(ep,"onSelect"),0<m.length&&(l=new ld("onSelect","select",null,l,d),s.push({event:l,listeners:m}),l.target=El)))}function oo(s,l){var d={};return d[s.toLowerCase()]=l.toLowerCase(),d["Webkit"+s]="webkit"+l,d["Moz"+s]="moz"+l,d}var wl={animationend:oo("Animation","AnimationEnd"),animationiteration:oo("Animation","AnimationIteration"),animationstart:oo("Animation","AnimationStart"),transitionrun:oo("Transition","TransitionRun"),transitionstart:oo("Transition","TransitionStart"),transitioncancel:oo("Transition","TransitionCancel"),transitionend:oo("Transition","TransitionEnd")},np={},sy={};xs&&(sy=document.createElement("div").style,"AnimationEvent"in window||(delete wl.animationend.animation,delete wl.animationiteration.animation,delete wl.animationstart.animation),"TransitionEvent"in window||delete wl.transitionend.transition);function lo(s){if(np[s])return np[s];if(!wl[s])return s;var l=wl[s],d;for(d in l)if(l.hasOwnProperty(d)&&d in sy)return np[s]=l[d];return s}var iy=lo("animationend"),oy=lo("animationiteration"),ly=lo("animationstart"),DN=lo("transitionrun"),MN=lo("transitionstart"),IN=lo("transitioncancel"),cy=lo("transitionend"),uy=new Map,rp="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(" ");rp.push("scrollEnd");function Sa(s,l){uy.set(s,l),so(l,[s])}var dd=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)},ta=[],Sl=0,ap=0;function hd(){for(var s=Sl,l=ap=Sl=0;l<s;){var d=ta[l];ta[l++]=null;var m=ta[l];ta[l++]=null;var x=ta[l];ta[l++]=null;var v=ta[l];if(ta[l++]=null,m!==null&&x!==null){var _=m.pending;_===null?x.next=x:(x.next=_.next,_.next=x),m.pending=x}v!==0&&dy(d,x,v)}}function fd(s,l,d,m){ta[Sl++]=s,ta[Sl++]=l,ta[Sl++]=d,ta[Sl++]=m,ap|=m,s.lanes|=m,s=s.alternate,s!==null&&(s.lanes|=m)}function sp(s,l,d,m){return fd(s,l,d,m),md(s)}function co(s,l){return fd(s,null,null,l),md(s)}function dy(s,l,d){s.lanes|=d;var m=s.alternate;m!==null&&(m.lanes|=d);for(var x=!1,v=s.return;v!==null;)v.childLanes|=d,m=v.alternate,m!==null&&(m.childLanes|=d),v.tag===22&&(s=v.stateNode,s===null||s._visibility&1||(x=!0)),s=v,v=v.return;return s.tag===3?(v=s.stateNode,x&&l!==null&&(x=31-Ct(d),s=v.hiddenUpdates,m=s[x],m===null?s[x]=[l]:m.push(l),l.lane=d|536870912),v):null}function md(s){if(50<xu)throw xu=0,m1=null,Error(r(185));for(var l=s.return;l!==null;)s=l,l=s.return;return s.tag===3?s.stateNode:null}var Tl={};function LN(s,l,d,m){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=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ir(s,l,d,m){return new LN(s,l,d,m)}function ip(s){return s=s.prototype,!(!s||!s.isReactComponent)}function bs(s,l){var d=s.alternate;return d===null?(d=Ir(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 hy(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 pd(s,l,d,m,x,v){var _=0;if(m=s,typeof s=="function")ip(s)&&(_=1);else if(typeof s=="string")_=FC(s,d,pe.current)?26:s==="html"||s==="head"||s==="body"?27:5;else e:switch(s){case Z:return s=Ir(31,d,l,x),s.elementType=Z,s.lanes=v,s;case T:return uo(d.children,x,v,l);case A:_=8,x|=24;break;case N:return s=Ir(12,d,l,x|2),s.elementType=N,s.lanes=v,s;case q:return s=Ir(13,d,l,x),s.elementType=q,s.lanes=v,s;case C:return s=Ir(19,d,l,x),s.elementType=C,s.lanes=v,s;default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case z:_=10;break e;case R:_=9;break e;case W:_=11;break e;case M:_=14;break e;case V:_=16,m=null;break e}_=29,d=Error(r(130,s===null?"null":typeof s,"")),m=null}return l=Ir(_,d,l,x),l.elementType=s,l.type=m,l.lanes=v,l}function uo(s,l,d,m){return s=Ir(7,s,m,l),s.lanes=d,s}function op(s,l,d){return s=Ir(6,s,null,l),s.lanes=d,s}function fy(s){var l=Ir(18,null,null,0);return l.stateNode=s,l}function lp(s,l,d){return l=Ir(4,s.children!==null?s.children:[],s.key,l),l.lanes=d,l.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},l}var my=new WeakMap;function na(s,l){if(typeof s=="object"&&s!==null){var d=my.get(s);return d!==void 0?d:(l={value:s,source:l,stack:Zr(l)},my.set(s,l),l)}return{value:s,source:l,stack:Zr(l)}}var kl=[],_l=0,gd=null,Wc=0,ra=[],aa=0,ii=null,Ba=1,za="";function ys(s,l){kl[_l++]=Wc,kl[_l++]=gd,gd=s,Wc=l}function py(s,l,d){ra[aa++]=Ba,ra[aa++]=za,ra[aa++]=ii,ii=s;var m=Ba;s=za;var x=32-Ct(m)-1;m&=~(1<<x),d+=1;var v=32-Ct(l)+x;if(30<v){var _=x-x%5;v=(m&(1<<_)-1).toString(32),m>>=_,x-=_,Ba=1<<32-Ct(l)+x|d<<x|m,za=v+s}else Ba=1<<v|d<<x|m,za=s}function cp(s){s.return!==null&&(ys(s,1),py(s,1,0))}function up(s){for(;s===gd;)gd=kl[--_l],kl[_l]=null,Wc=kl[--_l],kl[_l]=null;for(;s===ii;)ii=ra[--aa],ra[aa]=null,za=ra[--aa],ra[aa]=null,Ba=ra[--aa],ra[aa]=null}function gy(s,l){ra[aa++]=Ba,ra[aa++]=za,ra[aa++]=ii,Ba=l.id,za=l.overflow,ii=s}var qn=null,Vt=null,Et=!1,oi=null,sa=!1,dp=Error(r(519));function li(s){var l=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Kc(na(l,s)),dp}function xy(s){var l=s.stateNode,d=s.type,m=s.memoizedProps;switch(l[Un]=s,l[xr]=m,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<yu.length;d++)gt(yu[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),O4(l,m.value,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name,!0);break;case"select":gt("invalid",l);break;case"textarea":gt("invalid",l),D4(l,m.value,m.defaultValue,m.children)}d=m.children,typeof d!="string"&&typeof d!="number"&&typeof d!="bigint"||l.textContent===""+d||m.suppressHydrationWarning===!0||I3(l.textContent,d)?(m.popover!=null&&(gt("beforetoggle",l),gt("toggle",l)),m.onScroll!=null&>("scroll",l),m.onScrollEnd!=null&>("scrollend",l),m.onClick!=null&&(l.onclick=gs),l=!0):l=!1,l||li(s,!0)}function by(s){for(qn=s.return;qn;)switch(qn.tag){case 5:case 31:case 13:sa=!1;return;case 27:case 3:sa=!0;return;default:qn=qn.return}}function Al(s){if(s!==qn)return!1;if(!Et)return by(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")||C1(s.type,s.memoizedProps)),d=!d),d&&Vt&&li(s),by(s),l===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));Vt=q3(s)}else if(l===31){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));Vt=q3(s)}else l===27?(l=Vt,wi(s.type)?(s=I1,I1=null,Vt=s):Vt=l):Vt=qn?oa(s.stateNode.nextSibling):null;return!0}function ho(){Vt=qn=null,Et=!1}function hp(){var s=oi;return s!==null&&(wr===null?wr=s:wr.push.apply(wr,s),oi=null),s}function Kc(s){oi===null?oi=[s]:oi.push(s)}var fp=G(null),fo=null,vs=null;function ci(s,l,d){P(fp,l._currentValue),l._currentValue=d}function Es(s){s._currentValue=fp.current,ce(fp)}function mp(s,l,d){for(;s!==null;){var m=s.alternate;if((s.childLanes&l)!==l?(s.childLanes|=l,m!==null&&(m.childLanes|=l)):m!==null&&(m.childLanes&l)!==l&&(m.childLanes|=l),s===d)break;s=s.return}}function pp(s,l,d,m){var x=s.child;for(x!==null&&(x.return=s);x!==null;){var v=x.dependencies;if(v!==null){var _=x.child;v=v.firstContext;e:for(;v!==null;){var j=v;v=x;for(var K=0;K<l.length;K++)if(j.context===l[K]){v.lanes|=d,j=v.alternate,j!==null&&(j.lanes|=d),mp(v.return,d,s),m||(_=null);break e}v=j.next}}else if(x.tag===18){if(_=x.return,_===null)throw Error(r(341));_.lanes|=d,v=_.alternate,v!==null&&(v.lanes|=d),mp(_,d,s),_=null}else _=x.child;if(_!==null)_.return=x;else for(_=x;_!==null;){if(_===s){_=null;break}if(x=_.sibling,x!==null){x.return=_.return,_=x;break}_=_.return}x=_}}function Nl(s,l,d,m){s=null;for(var x=l,v=!1;x!==null;){if(!v){if((x.flags&524288)!==0)v=!0;else if((x.flags&262144)!==0)break}if(x.tag===10){var _=x.alternate;if(_===null)throw Error(r(387));if(_=_.memoizedProps,_!==null){var j=x.type;Mr(x.pendingProps.value,_.value)||(s!==null?s.push(j):s=[j])}}else if(x===Pe.current){if(_=x.alternate,_===null)throw Error(r(387));_.memoizedState.memoizedState!==x.memoizedState.memoizedState&&(s!==null?s.push(Tu):s=[Tu])}x=x.return}s!==null&&pp(l,s,d,m),l.flags|=262144}function xd(s){for(s=s.firstContext;s!==null;){if(!Mr(s.context._currentValue,s.memoizedValue))return!0;s=s.next}return!1}function mo(s){fo=s,vs=null,s=s.dependencies,s!==null&&(s.firstContext=null)}function Vn(s){return yy(fo,s)}function bd(s,l){return fo===null&&mo(s),yy(s,l)}function yy(s,l){var d=l._currentValue;if(l={context:l,memoizedValue:d,next:null},vs===null){if(s===null)throw Error(r(308));vs=l,s.dependencies={lanes:0,firstContext:l},s.flags|=524288}else vs=vs.next=l;return d}var PN=typeof AbortController<"u"?AbortController:function(){var s=[],l=this.signal={aborted:!1,addEventListener:function(d,m){s.push(m)}};this.abort=function(){l.aborted=!0,s.forEach(function(d){return d()})}},jN=e.unstable_scheduleCallback,BN=e.unstable_NormalPriority,gn={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function gp(){return{controller:new PN,data:new Map,refCount:0}}function Zc(s){s.refCount--,s.refCount===0&&jN(BN,function(){s.controller.abort()})}var Jc=null,xp=0,Cl=0,Ol=null;function zN(s,l){if(Jc===null){var d=Jc=[];xp=0,Cl=v1(),Ol={status:"pending",value:void 0,then:function(m){d.push(m)}}}return xp++,l.then(vy,vy),l}function vy(){if(--xp===0&&Jc!==null){Ol!==null&&(Ol.status="fulfilled");var s=Jc;Jc=null,Cl=0,Ol=null;for(var l=0;l<s.length;l++)(0,s[l])()}}function FN(s,l){var d=[],m={status:"pending",value:null,reason:null,then:function(x){d.push(x)}};return s.then(function(){m.status="fulfilled",m.value=l;for(var x=0;x<d.length;x++)(0,d[x])(l)},function(x){for(m.status="rejected",m.reason=x,x=0;x<d.length;x++)(0,d[x])(void 0)}),m}var Ey=L.S;L.S=function(s,l){a3=zn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&zN(s,l),Ey!==null&&Ey(s,l)};var po=G(null);function bp(){var s=po.current;return s!==null?s:jt.pooledCache}function yd(s,l){l===null?P(po,po.current):P(po,l.pool)}function wy(){var s=bp();return s===null?null:{parent:gn._currentValue,pool:s}}var Rl=Error(r(460)),yp=Error(r(474)),vd=Error(r(542)),Ed={then:function(){}};function Sy(s){return s=s.status,s==="fulfilled"||s==="rejected"}function Ty(s,l,d){switch(d=s[d],d===void 0?s.push(l):d!==l&&(l.then(gs,gs),l=d),l.status){case"fulfilled":return l.value;case"rejected":throw s=l.reason,_y(s),s;default:if(typeof l.status=="string")l.then(gs,gs);else{if(s=jt,s!==null&&100<s.shellSuspendCounter)throw Error(r(482));s=l,s.status="pending",s.then(function(m){if(l.status==="pending"){var x=l;x.status="fulfilled",x.value=m}},function(m){if(l.status==="pending"){var x=l;x.status="rejected",x.reason=m}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw s=l.reason,_y(s),s}throw xo=l,Rl}}function go(s){try{var l=s._init;return l(s._payload)}catch(d){throw d!==null&&typeof d=="object"&&typeof d.then=="function"?(xo=d,Rl):d}}var xo=null;function ky(){if(xo===null)throw Error(r(459));var s=xo;return xo=null,s}function _y(s){if(s===Rl||s===vd)throw Error(r(483))}var Dl=null,eu=0;function wd(s){var l=eu;return eu+=1,Dl===null&&(Dl=[]),Ty(Dl,s,l)}function tu(s,l){l=l.props.ref,s.ref=l!==void 0?l:null}function Sd(s,l){throw l.$$typeof===b?Error(r(525)):(s=Object.prototype.toString.call(l),Error(r(31,s==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":s)))}function Ay(s){function l(ie,ne){if(s){var ue=ie.deletions;ue===null?(ie.deletions=[ne],ie.flags|=16):ue.push(ne)}}function d(ie,ne){if(!s)return null;for(;ne!==null;)l(ie,ne),ne=ne.sibling;return null}function m(ie){for(var ne=new Map;ie!==null;)ie.key!==null?ne.set(ie.key,ie):ne.set(ie.index,ie),ie=ie.sibling;return ne}function x(ie,ne){return ie=bs(ie,ne),ie.index=0,ie.sibling=null,ie}function v(ie,ne,ue){return ie.index=ue,s?(ue=ie.alternate,ue!==null?(ue=ue.index,ue<ne?(ie.flags|=67108866,ne):ue):(ie.flags|=67108866,ne)):(ie.flags|=1048576,ne)}function _(ie){return s&&ie.alternate===null&&(ie.flags|=67108866),ie}function j(ie,ne,ue,ve){return ne===null||ne.tag!==6?(ne=op(ue,ie.mode,ve),ne.return=ie,ne):(ne=x(ne,ue),ne.return=ie,ne)}function K(ie,ne,ue,ve){var Xe=ue.type;return Xe===T?be(ie,ne,ue.props.children,ve,ue.key):ne!==null&&(ne.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===V&&go(Xe)===ne.type)?(ne=x(ne,ue.props),tu(ne,ue),ne.return=ie,ne):(ne=pd(ue.type,ue.key,ue.props,null,ie.mode,ve),tu(ne,ue),ne.return=ie,ne)}function he(ie,ne,ue,ve){return ne===null||ne.tag!==4||ne.stateNode.containerInfo!==ue.containerInfo||ne.stateNode.implementation!==ue.implementation?(ne=lp(ue,ie.mode,ve),ne.return=ie,ne):(ne=x(ne,ue.children||[]),ne.return=ie,ne)}function be(ie,ne,ue,ve,Xe){return ne===null||ne.tag!==7?(ne=uo(ue,ie.mode,ve,Xe),ne.return=ie,ne):(ne=x(ne,ue),ne.return=ie,ne)}function Ee(ie,ne,ue){if(typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint")return ne=op(""+ne,ie.mode,ue),ne.return=ie,ne;if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case y:return ue=pd(ne.type,ne.key,ne.props,null,ie.mode,ue),tu(ue,ne),ue.return=ie,ue;case w:return ne=lp(ne,ie.mode,ue),ne.return=ie,ne;case V:return ne=go(ne),Ee(ie,ne,ue)}if(ee(ne)||ae(ne))return ne=uo(ne,ie.mode,ue,null),ne.return=ie,ne;if(typeof ne.then=="function")return Ee(ie,wd(ne),ue);if(ne.$$typeof===z)return Ee(ie,bd(ie,ne),ue);Sd(ie,ne)}return null}function fe(ie,ne,ue,ve){var Xe=ne!==null?ne.key:null;if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return Xe!==null?null:j(ie,ne,""+ue,ve);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case y:return ue.key===Xe?K(ie,ne,ue,ve):null;case w:return ue.key===Xe?he(ie,ne,ue,ve):null;case V:return ue=go(ue),fe(ie,ne,ue,ve)}if(ee(ue)||ae(ue))return Xe!==null?null:be(ie,ne,ue,ve,null);if(typeof ue.then=="function")return fe(ie,ne,wd(ue),ve);if(ue.$$typeof===z)return fe(ie,ne,bd(ie,ue),ve);Sd(ie,ue)}return null}function ge(ie,ne,ue,ve,Xe){if(typeof ve=="string"&&ve!==""||typeof ve=="number"||typeof ve=="bigint")return ie=ie.get(ue)||null,j(ne,ie,""+ve,Xe);if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case y:return ie=ie.get(ve.key===null?ue:ve.key)||null,K(ne,ie,ve,Xe);case w:return ie=ie.get(ve.key===null?ue:ve.key)||null,he(ne,ie,ve,Xe);case V:return ve=go(ve),ge(ie,ne,ue,ve,Xe)}if(ee(ve)||ae(ve))return ie=ie.get(ue)||null,be(ne,ie,ve,Xe,null);if(typeof ve.then=="function")return ge(ie,ne,ue,wd(ve),Xe);if(ve.$$typeof===z)return ge(ie,ne,ue,bd(ne,ve),Xe);Sd(ne,ve)}return null}function Ue(ie,ne,ue,ve){for(var Xe=null,St=null,Ye=ne,lt=ne=0,yt=null;Ye!==null&<<ue.length;lt++){Ye.index>lt?(yt=Ye,Ye=null):yt=Ye.sibling;var Tt=fe(ie,Ye,ue[lt],ve);if(Tt===null){Ye===null&&(Ye=yt);break}s&&Ye&&Tt.alternate===null&&l(ie,Ye),ne=v(Tt,ne,lt),St===null?Xe=Tt:St.sibling=Tt,St=Tt,Ye=yt}if(lt===ue.length)return d(ie,Ye),Et&&ys(ie,lt),Xe;if(Ye===null){for(;lt<ue.length;lt++)Ye=Ee(ie,ue[lt],ve),Ye!==null&&(ne=v(Ye,ne,lt),St===null?Xe=Ye:St.sibling=Ye,St=Ye);return Et&&ys(ie,lt),Xe}for(Ye=m(Ye);lt<ue.length;lt++)yt=ge(Ye,ie,lt,ue[lt],ve),yt!==null&&(s&&yt.alternate!==null&&Ye.delete(yt.key===null?lt:yt.key),ne=v(yt,ne,lt),St===null?Xe=yt:St.sibling=yt,St=yt);return s&&Ye.forEach(function(Ai){return l(ie,Ai)}),Et&&ys(ie,lt),Xe}function Je(ie,ne,ue,ve){if(ue==null)throw Error(r(151));for(var Xe=null,St=null,Ye=ne,lt=ne=0,yt=null,Tt=ue.next();Ye!==null&&!Tt.done;lt++,Tt=ue.next()){Ye.index>lt?(yt=Ye,Ye=null):yt=Ye.sibling;var Ai=fe(ie,Ye,Tt.value,ve);if(Ai===null){Ye===null&&(Ye=yt);break}s&&Ye&&Ai.alternate===null&&l(ie,Ye),ne=v(Ai,ne,lt),St===null?Xe=Ai:St.sibling=Ai,St=Ai,Ye=yt}if(Tt.done)return d(ie,Ye),Et&&ys(ie,lt),Xe;if(Ye===null){for(;!Tt.done;lt++,Tt=ue.next())Tt=Ee(ie,Tt.value,ve),Tt!==null&&(ne=v(Tt,ne,lt),St===null?Xe=Tt:St.sibling=Tt,St=Tt);return Et&&ys(ie,lt),Xe}for(Ye=m(Ye);!Tt.done;lt++,Tt=ue.next())Tt=ge(Ye,ie,lt,Tt.value,ve),Tt!==null&&(s&&Tt.alternate!==null&&Ye.delete(Tt.key===null?lt:Tt.key),ne=v(Tt,ne,lt),St===null?Xe=Tt:St.sibling=Tt,St=Tt);return s&&Ye.forEach(function(KC){return l(ie,KC)}),Et&&ys(ie,lt),Xe}function Lt(ie,ne,ue,ve){if(typeof ue=="object"&&ue!==null&&ue.type===T&&ue.key===null&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case y:e:{for(var Xe=ue.key;ne!==null;){if(ne.key===Xe){if(Xe=ue.type,Xe===T){if(ne.tag===7){d(ie,ne.sibling),ve=x(ne,ue.props.children),ve.return=ie,ie=ve;break e}}else if(ne.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===V&&go(Xe)===ne.type){d(ie,ne.sibling),ve=x(ne,ue.props),tu(ve,ue),ve.return=ie,ie=ve;break e}d(ie,ne);break}else l(ie,ne);ne=ne.sibling}ue.type===T?(ve=uo(ue.props.children,ie.mode,ve,ue.key),ve.return=ie,ie=ve):(ve=pd(ue.type,ue.key,ue.props,null,ie.mode,ve),tu(ve,ue),ve.return=ie,ie=ve)}return _(ie);case w:e:{for(Xe=ue.key;ne!==null;){if(ne.key===Xe)if(ne.tag===4&&ne.stateNode.containerInfo===ue.containerInfo&&ne.stateNode.implementation===ue.implementation){d(ie,ne.sibling),ve=x(ne,ue.children||[]),ve.return=ie,ie=ve;break e}else{d(ie,ne);break}else l(ie,ne);ne=ne.sibling}ve=lp(ue,ie.mode,ve),ve.return=ie,ie=ve}return _(ie);case V:return ue=go(ue),Lt(ie,ne,ue,ve)}if(ee(ue))return Ue(ie,ne,ue,ve);if(ae(ue)){if(Xe=ae(ue),typeof Xe!="function")throw Error(r(150));return ue=Xe.call(ue),Je(ie,ne,ue,ve)}if(typeof ue.then=="function")return Lt(ie,ne,wd(ue),ve);if(ue.$$typeof===z)return Lt(ie,ne,bd(ie,ue),ve);Sd(ie,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,ne!==null&&ne.tag===6?(d(ie,ne.sibling),ve=x(ne,ue),ve.return=ie,ie=ve):(d(ie,ne),ve=op(ue,ie.mode,ve),ve.return=ie,ie=ve),_(ie)):d(ie,ne)}return function(ie,ne,ue,ve){try{eu=0;var Xe=Lt(ie,ne,ue,ve);return Dl=null,Xe}catch(Ye){if(Ye===Rl||Ye===vd)throw Ye;var St=Ir(29,Ye,null,ie.mode);return St.lanes=ve,St.return=ie,St}finally{}}}var bo=Ay(!0),Ny=Ay(!1),ui=!1;function vp(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ep(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 di(s){return{lane:s,tag:0,payload:null,callback:null,next:null}}function hi(s,l,d){var m=s.updateQueue;if(m===null)return null;if(m=m.shared,(Nt&2)!==0){var x=m.pending;return x===null?l.next=l:(l.next=x.next,x.next=l),m.pending=l,l=md(s),dy(s,null,d),l}return fd(s,m,l,d),md(s)}function nu(s,l,d){if(l=l.updateQueue,l!==null&&(l=l.shared,(d&4194048)!==0)){var m=l.lanes;m&=s.pendingLanes,d|=m,l.lanes=d,pr(s,d)}}function wp(s,l){var d=s.updateQueue,m=s.alternate;if(m!==null&&(m=m.updateQueue,d===m)){var x=null,v=null;if(d=d.firstBaseUpdate,d!==null){do{var _={lane:d.lane,tag:d.tag,payload:d.payload,callback:null,next:null};v===null?x=v=_:v=v.next=_,d=d.next}while(d!==null);v===null?x=v=l:v=v.next=l}else x=v=l;d={baseState:m.baseState,firstBaseUpdate:x,lastBaseUpdate:v,shared:m.shared,callbacks:m.callbacks},s.updateQueue=d;return}s=d.lastBaseUpdate,s===null?d.firstBaseUpdate=l:s.next=l,d.lastBaseUpdate=l}var Sp=!1;function ru(){if(Sp){var s=Ol;if(s!==null)throw s}}function au(s,l,d,m){Sp=!1;var x=s.updateQueue;ui=!1;var v=x.firstBaseUpdate,_=x.lastBaseUpdate,j=x.shared.pending;if(j!==null){x.shared.pending=null;var K=j,he=K.next;K.next=null,_===null?v=he:_.next=he,_=K;var be=s.alternate;be!==null&&(be=be.updateQueue,j=be.lastBaseUpdate,j!==_&&(j===null?be.firstBaseUpdate=he:j.next=he,be.lastBaseUpdate=K))}if(v!==null){var Ee=x.baseState;_=0,be=he=K=null,j=v;do{var fe=j.lane&-536870913,ge=fe!==j.lane;if(ge?(bt&fe)===fe:(m&fe)===fe){fe!==0&&fe===Cl&&(Sp=!0),be!==null&&(be=be.next={lane:0,tag:j.tag,payload:j.payload,callback:null,next:null});e:{var Ue=s,Je=j;fe=l;var Lt=d;switch(Je.tag){case 1:if(Ue=Je.payload,typeof Ue=="function"){Ee=Ue.call(Lt,Ee,fe);break e}Ee=Ue;break e;case 3:Ue.flags=Ue.flags&-65537|128;case 0:if(Ue=Je.payload,fe=typeof Ue=="function"?Ue.call(Lt,Ee,fe):Ue,fe==null)break e;Ee=p({},Ee,fe);break e;case 2:ui=!0}}fe=j.callback,fe!==null&&(s.flags|=64,ge&&(s.flags|=8192),ge=x.callbacks,ge===null?x.callbacks=[fe]:ge.push(fe))}else ge={lane:fe,tag:j.tag,payload:j.payload,callback:j.callback,next:null},be===null?(he=be=ge,K=Ee):be=be.next=ge,_|=fe;if(j=j.next,j===null){if(j=x.shared.pending,j===null)break;ge=j,j=ge.next,ge.next=null,x.lastBaseUpdate=ge,x.shared.pending=null}}while(!0);be===null&&(K=Ee),x.baseState=K,x.firstBaseUpdate=he,x.lastBaseUpdate=be,v===null&&(x.shared.lanes=0),xi|=_,s.lanes=_,s.memoizedState=Ee}}function Cy(s,l){if(typeof s!="function")throw Error(r(191,s));s.call(l)}function Oy(s,l){var d=s.callbacks;
vendor: 4,089 bytes, line 49
49if(d!==null)for(s.callbacks=null,s=0;s<d.length;s++)Cy(d[s],l)}var Ml=G(null),Td=G(0);function Ry(s,l){s=Os,P(Td,s),P(Ml,l),Os=s|l.baseLanes}function Tp(){P(Td,Os),P(Ml,Ml.current)}function kp(){Os=Td.current,ce(Ml),ce(Td)}var Lr=G(null),ia=null;function fi(s){var l=s.alternate;P(un,un.current&1),P(Lr,s),ia===null&&(l===null||Ml.current!==null||l.memoizedState!==null)&&(ia=s)}function _p(s){P(un,un.current),P(Lr,s),ia===null&&(ia=s)}function Dy(s){s.tag===22?(P(un,un.current),P(Lr,s),ia===null&&(ia=s)):mi()}function mi(){P(un,un.current),P(Lr,Lr.current)}function Pr(s){ce(Lr),ia===s&&(ia=null),ce(un)}var un=G(0);function kd(s){for(var l=s;l!==null;){if(l.tag===13){var d=l.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||D1(d)||M1(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 ws=0,st=null,Mt=null,xn=null,_d=!1,Il=!1,yo=!1,Ad=0,su=0,Ll=null,HN=0;function tn(){throw Error(r(321))}function Ap(s,l){if(l===null)return!1;for(var d=0;d<l.length&&d<s.length;d++)if(!Mr(s[d],l[d]))return!1;return!0}function Np(s,l,d,m,x,v){return ws=v,st=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,L.H=s===null||s.memoizedState===null?p5:qp,yo=!1,v=d(m,x),yo=!1,Il&&(v=Iy(l,d,m,x)),My(s),v}function My(s){L.H=lu;var l=Mt!==null&&Mt.next!==null;if(ws=0,xn=Mt=st=null,_d=!1,su=0,Ll=null,l)throw Error(r(300));s===null||bn||(s=s.dependencies,s!==null&&xd(s)&&(bn=!0))}function Iy(s,l,d,m){st=s;var x=0;do{if(Il&&(Ll=null),su=0,Il=!1,25<=x)throw Error(r(301));if(x+=1,xn=Mt=null,s.updateQueue!=null){var v=s.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}L.H=g5,v=l(d,m)}while(Il);return v}function UN(){var s=L.H,l=s.useState()[0];return l=typeof l.then=="function"?iu(l):l,s=s.useState()[0],(Mt!==null?Mt.memoizedState:null)!==s&&(st.flags|=1024),l}function Cp(){var s=Ad!==0;return Ad=0,s}function Op(s,l,d){l.updateQueue=s.updateQueue,l.flags&=-2053,s.lanes&=~d}function Rp(s){if(_d){for(s=s.memoizedState;s!==null;){var l=s.queue;l!==null&&(l.pending=null),s=s.next}_d=!1}ws=0,xn=Mt=st=null,Il=!1,su=Ad=0,Ll=null}function ir(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xn===null?st.memoizedState=xn=s:xn=xn.next=s,xn}function dn(){if(Mt===null){var s=st.alternate;s=s!==null?s.memoizedState:null}else s=Mt.next;var l=xn===null?st.memoizedState:xn.next;if(l!==null)xn=l,Mt=s;else{if(s===null)throw st.alternate===null?Error(r(467)):Error(r(310));Mt=s,s={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},xn===null?st.memoizedState=xn=s:xn=xn.next=s}return xn}function Nd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function iu(s){var l=su;return su+=1,Ll===null&&(Ll=[]),s=Ty(Ll,s,l),l=st,(xn===null?l.memoizedState:xn.next)===null&&(l=l.alternate,L.H=l===null||l.memoizedState===null?p5:qp),s}function Cd(s){if(s!==null&&typeof s=="object"){if(typeof s.then=="function")return iu(s);if(s.$$typeof===z)return Vn(s)}throw Error(r(438,String(s)))}function Dp(s){var l=null,d=st.updateQueue;if(d!==null&&(l=d.memoCache),l==null){var m=st.alternate;m!==null&&(m=m.updateQueue,m!==null&&(m=m.memoCache,m!=null&&(l={data:m.data.map(function(x){return x.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),d===null&&(d=Nd(),st.updateQueue=d),d.memoCache=l,d=l.data[l.index],d===void 0)for(d=l.data[l.index]=Array(s),m=0;m<s;m++)d[m]=I;return l.index++,d}function Ss(s,l){return typeof l=="function"?l(s):l}function Od(s){var l=dn();return Mp(l,Mt,s)}function Mp(s,l,d){var m=s.queue;if(m===null)throw Error(r(311));m.lastRenderedReducer=d;var x=s.baseQueue,v=m.pending;if(v!==null){if(x!==null){var _=x.next;
vendor: 11,147 bytes, line 49
49x.next=v.next,v.next=_}l.baseQueue=x=v,m.pending=null}if(v=s.baseState,x===null)s.memoizedState=v;else{l=x.next;var j=_=null,K=null,he=l,be=!1;do{var Ee=he.lane&-536870913;if(Ee!==he.lane?(bt&Ee)===Ee:(ws&Ee)===Ee){var fe=he.revertLane;if(fe===0)K!==null&&(K=K.next={lane:0,revertLane:0,gesture:null,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null}),Ee===Cl&&(be=!0);else if((ws&fe)===fe){he=he.next,fe===Cl&&(be=!0);continue}else Ee={lane:0,revertLane:he.revertLane,gesture:null,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null},K===null?(j=K=Ee,_=v):K=K.next=Ee,st.lanes|=fe,xi|=fe;Ee=he.action,yo&&d(v,Ee),v=he.hasEagerState?he.eagerState:d(v,Ee)}else fe={lane:Ee,revertLane:he.revertLane,gesture:he.gesture,action:he.action,hasEagerState:he.hasEagerState,eagerState:he.eagerState,next:null},K===null?(j=K=fe,_=v):K=K.next=fe,st.lanes|=Ee,xi|=Ee;he=he.next}while(he!==null&&he!==l);if(K===null?_=v:K.next=j,!Mr(v,s.memoizedState)&&(bn=!0,be&&(d=Ol,d!==null)))throw d;s.memoizedState=v,s.baseState=_,s.baseQueue=K,m.lastRenderedState=v}return x===null&&(m.lanes=0),[s.memoizedState,m.dispatch]}function Ip(s){var l=dn(),d=l.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=s;var m=d.dispatch,x=d.pending,v=l.memoizedState;if(x!==null){d.pending=null;var _=x=x.next;do v=s(v,_.action),_=_.next;while(_!==x);Mr(v,l.memoizedState)||(bn=!0),l.memoizedState=v,l.baseQueue===null&&(l.baseState=v),d.lastRenderedState=v}return[v,m]}function Ly(s,l,d){var m=st,x=dn(),v=Et;if(v){if(d===void 0)throw Error(r(407));d=d()}else d=l();var _=!Mr((Mt||x).memoizedState,d);if(_&&(x.memoizedState=d,bn=!0),x=x.queue,jp(By.bind(null,m,x,s),[s]),x.getSnapshot!==l||_||xn!==null&&xn.memoizedState.tag&1){if(m.flags|=2048,Pl(9,{destroy:void 0},jy.bind(null,m,x,d,l),null),jt===null)throw Error(r(349));v||(ws&127)!==0||Py(m,l,d)}return d}function Py(s,l,d){s.flags|=16384,s={getSnapshot:l,value:d},l=st.updateQueue,l===null?(l=Nd(),st.updateQueue=l,l.stores=[s]):(d=l.stores,d===null?l.stores=[s]:d.push(s))}function jy(s,l,d,m){l.value=d,l.getSnapshot=m,zy(l)&&Fy(s)}function By(s,l,d){return d(function(){zy(l)&&Fy(s)})}function zy(s){var l=s.getSnapshot;s=s.value;try{var d=l();return!Mr(s,d)}catch{return!0}}function Fy(s){var l=co(s,2);l!==null&&Sr(l,s,2)}function Lp(s){var l=ir();if(typeof s=="function"){var d=s;if(s=d(),yo){Hn(!0);try{d()}finally{Hn(!1)}}}return l.memoizedState=l.baseState=s,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ss,lastRenderedState:s},l}function Hy(s,l,d,m){return s.baseState=d,Mp(s,Mt,typeof m=="function"?m:Ss)}function qN(s,l,d,m,x){if(Md(s))throw Error(r(485));if(s=l.action,s!==null){var v={payload:x,action:s,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(_){v.listeners.push(_)}};L.T!==null?d(!0):v.isTransition=!1,m(v),d=l.pending,d===null?(v.next=l.pending=v,Uy(l,v)):(v.next=d.next,l.pending=d.next=v)}}function Uy(s,l){var d=l.action,m=l.payload,x=s.state;if(l.isTransition){var v=L.T,_={};L.T=_;try{var j=d(x,m),K=L.S;K!==null&&K(_,j),qy(s,l,j)}catch(he){Pp(s,l,he)}finally{v!==null&&_.types!==null&&(v.types=_.types),L.T=v}}else try{v=d(x,m),qy(s,l,v)}catch(he){Pp(s,l,he)}}function qy(s,l,d){d!==null&&typeof d=="object"&&typeof d.then=="function"?d.then(function(m){Vy(s,l,m)},function(m){return Pp(s,l,m)}):Vy(s,l,d)}function Vy(s,l,d){l.status="fulfilled",l.value=d,$y(l),s.state=d,l=s.pending,l!==null&&(d=l.next,d===l?s.pending=null:(d=d.next,l.next=d,Uy(s,d)))}function Pp(s,l,d){var m=s.pending;if(s.pending=null,m!==null){m=m.next;do l.status="rejected",l.reason=d,$y(l),l=l.next;while(l!==m)}s.action=null}function $y(s){s=s.listeners;for(var l=0;l<s.length;l++)(0,s[l])()}function Gy(s,l){return l}function Yy(s,l){if(Et){var d=jt.formState;if(d!==null){e:{var m=st;if(Et){if(Vt){t:{for(var x=Vt,v=sa;x.nodeType!==8;){if(!v){x=null;break t}if(x=oa(x.nextSibling),x===null){x=null;break t}}v=x.data,x=v==="F!"||v==="F"?x:null}if(x){Vt=oa(x.nextSibling),m=x.data==="F!";break e}}li(m)}m=!1}m&&(l=d[0])}}return d=ir(),d.memoizedState=d.baseState=l,m={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gy,lastRenderedState:l},d.queue=m,d=h5.bind(null,st,m),m.dispatch=d,m=Lp(!1),v=Up.bind(null,st,!1,m.queue),m=ir(),x={state:l,dispatch:null,action:s,pending:null},m.queue=x,d=qN.bind(null,st,x,v,d),x.dispatch=d,m.memoizedState=s,[l,d,!1]}function Qy(s){var l=dn();return Xy(l,Mt,s)}function Xy(s,l,d){if(l=Mp(s,l,Gy)[0],s=Od(Ss)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var m=iu(l)}catch(_){throw _===Rl?vd:_}else m=l;l=dn();var x=l.queue,v=x.dispatch;return d!==l.memoizedState&&(st.flags|=2048,Pl(9,{destroy:void 0},VN.bind(null,x,d),null)),[m,v,s]}function VN(s,l){s.action=l}function Wy(s){var l=dn(),d=Mt;if(d!==null)return Xy(l,d,s);dn(),l=l.memoizedState,d=dn();var m=d.queue.dispatch;return d.memoizedState=s,[l,m,!1]}function Pl(s,l,d,m){return s={tag:s,create:d,deps:m,inst:l,next:null},l=st.updateQueue,l===null&&(l=Nd(),st.updateQueue=l),d=l.lastEffect,d===null?l.lastEffect=s.next=s:(m=d.next,d.next=s,s.next=m,l.lastEffect=s),s}function Ky(){return dn().memoizedState}function Rd(s,l,d,m){var x=ir();st.flags|=s,x.memoizedState=Pl(1|l,{destroy:void 0},d,m===void 0?null:m)}function Dd(s,l,d,m){var x=dn();m=m===void 0?null:m;var v=x.memoizedState.inst;Mt!==null&&m!==null&&Ap(m,Mt.memoizedState.deps)?x.memoizedState=Pl(l,v,d,m):(st.flags|=s,x.memoizedState=Pl(1|l,v,d,m))}function Zy(s,l){Rd(8390656,8,s,l)}function jp(s,l){Dd(2048,8,s,l)}function $N(s){st.flags|=4;var l=st.updateQueue;if(l===null)l=Nd(),st.updateQueue=l,l.events=[s];else{var d=l.events;d===null?l.events=[s]:d.push(s)}}function Jy(s){var l=dn().memoizedState;return $N({ref:l,nextImpl:s}),function(){if((Nt&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}function e5(s,l){return Dd(4,2,s,l)}function t5(s,l){return Dd(4,4,s,l)}function n5(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 r5(s,l,d){d=d!=null?d.concat([s]):null,Dd(4,4,n5.bind(null,l,s),d)}function Bp(){}function a5(s,l){var d=dn();l=l===void 0?null:l;var m=d.memoizedState;return l!==null&&Ap(l,m[1])?m[0]:(d.memoizedState=[s,l],s)}function s5(s,l){var d=dn();l=l===void 0?null:l;var m=d.memoizedState;if(l!==null&&Ap(l,m[1]))return m[0];if(m=s(),yo){Hn(!0);try{s()}finally{Hn(!1)}}return d.memoizedState=[m,l],m}function zp(s,l,d){return d===void 0||(ws&1073741824)!==0&&(bt&261930)===0?s.memoizedState=l:(s.memoizedState=d,s=i3(),st.lanes|=s,xi|=s,d)}function i5(s,l,d,m){return Mr(d,l)?d:Ml.current!==null?(s=zp(s,d,m),Mr(s,l)||(bn=!0),s):(ws&42)===0||(ws&1073741824)!==0&&(bt&261930)===0?(bn=!0,s.memoizedState=d):(s=i3(),st.lanes|=s,xi|=s,l)}function o5(s,l,d,m,x){var v=J.p;J.p=v!==0&&8>v?v:8;var _=L.T,j={};L.T=j,Up(s,!1,l,d);try{var K=x(),he=L.S;if(he!==null&&he(j,K),K!==null&&typeof K=="object"&&typeof K.then=="function"){var be=FN(K,m);ou(s,l,be,zr(s))}else ou(s,l,m,zr(s))}catch(Ee){ou(s,l,{then:function(){},status:"rejected",reason:Ee},zr())}finally{J.p=v,_!==null&&j.types!==null&&(_.types=j.types),L.T=_}}function GN(){}function Fp(s,l,d,m){if(s.tag!==5)throw Error(r(476));var x=l5(s).queue;o5(s,x,l,te,d===null?GN:function(){return c5(s),d(m)})}function l5(s){var l=s.memoizedState;if(l!==null)return l;l={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ss,lastRenderedState:te},next:null};var d={};return l.next={memoizedState:d,baseState:d,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ss,lastRenderedState:d},next:null},s.memoizedState=l,s=s.alternate,s!==null&&(s.memoizedState=l),l}function c5(s){var l=l5(s);l.next===null&&(l=s.alternate.memoizedState),ou(s,l.next.queue,{},zr())}function Hp(){return Vn(Tu)}function u5(){return dn().memoizedState}function d5(){return dn().memoizedState}function YN(s){for(var l=s.return;l!==null;){switch(l.tag){case 24:case 3:var d=zr();s=di(d);var m=hi(l,s,d);m!==null&&(Sr(m,l,d),nu(m,l,d)),l={cache:gp()},s.payload=l;return}l=l.return}}function QN(s,l,d){var m=zr();d={lane:m,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},Md(s)?f5(l,d):(d=sp(s,l,d,m),d!==null&&(Sr(d,s,m),m5(d,l,m)))}function h5(s,l,d){var m=zr();ou(s,l,d,m)}function ou(s,l,d,m){var x={lane:m,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null};if(Md(s))f5(l,x);else{var v=s.alternate;if(s.lanes===0&&(v===null||v.lanes===0)&&(v=l.lastRenderedReducer,v!==null))try{var _=l.lastRenderedState,j=v(_,d);if(x.hasEagerState=!0,x.eagerState=j,Mr(j,_))return fd(s,l,x,0),jt===null&&hd(),!1}catch{}finally{}if(d=sp(s,l,x,m),d!==null)return Sr(d,s,m),m5(d,l,m),!0}return!1}function Up(s,l,d,m){if(m={lane:2,revertLane:v1(),gesture:null,action:m,hasEagerState:!1,eagerState:null,next:null},Md(s)){if(l)throw Error(r(479))}else l=sp(s,d,m,2),l!==null&&Sr(l,s,2)}function Md(s){var l=s.alternate;return s===st||l!==null&&l===st}function f5(s,l){Il=_d=!0;var d=s.pending;d===null?l.next=l:(l.next=d.next,d.next=l),s.pending=l}function m5(s,l,d){if((d&4194048)!==0){var m=l.lanes;m&=s.pendingLanes,d|=m,l.lanes=d,pr(s,d)}}var lu={readContext:Vn,use:Cd,useCallback:tn,useContext:tn,useEffect:tn,useImperativeHandle:tn,useLayoutEffect:tn,useInsertionEffect:tn,useMemo:tn,useReducer:tn,useRef:tn,useState:tn,useDebugValue:tn,useDeferredValue:tn,useTransition:tn,useSyncExternalStore:tn,useId:tn,useHostTransitionStatus:tn,useFormState:tn,useActionState:tn,useOptimistic:tn,useMemoCache:tn,useCacheRefresh:tn};lu.useEffectEvent=tn;var p5={readContext:Vn,use:Cd,useCallback:function(s,l){return ir().memoizedState=[s,l===void 0?null:l],s},useContext:Vn,useEffect:Zy,useImperativeHandle:function(s,l,d){d=d!=null?d.concat([s]):null,Rd(4194308,4,n5.bind(null,l,s),d)},useLayoutEffect:function(s,l){return Rd(4194308,4,s,l)},useInsertionEffect:function(s,l){Rd(4,2,s,l)},useMemo:function(s,l){var d=ir();l=l===void 0?null:l;var m=s();if(yo){Hn(!0);try{s()}finally{Hn(!1)}}return d.memoizedState=[m,l],m},useReducer:function(s,l,d){var m=ir();if(d!==void 0){var x=d(l);if(yo){Hn(!0);try{d(l)}finally{Hn(!1)}}}else x=l;return m.memoizedState=m.baseState=x,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:x},m.queue=s,s=s.dispatch=QN.bind(null,st,s),[m.memoizedState,s]},useRef:function(s){var l=ir();return s={current:s},l.memoizedState=s},useState:function(s){s=Lp(s);var l=s.queue,d=h5.bind(null,st,l);return l.dispatch=d,[s.memoizedState,d]},useDebugValue:Bp,useDeferredValue:function(s,l){var d=ir();return zp(d,s,l)},useTransition:function(){var s=Lp(!1);return s=o5.bind(null,st,s.queue,!0,!1),ir().memoizedState=s,[!1,s]},useSyncExternalStore:function(s,l,d){var m=st,x=ir();if(Et){if(d===void 0)throw Error(r(407));d=d()}else{if(d=l(),jt===null)throw Error(r(349));(bt&127)!==0||Py(m,l,d)}x.memoizedState=d;var v={value:d,getSnapshot:l};return x.queue=v,Zy(By.bind(null,m,v,s),[s]),m.flags|=2048,Pl(9,{destroy:void 0},jy.bind(null,m,v,d,l),null),d}
vendor: 16,134 bytes, line 49
49,useId:function(){var s=ir(),l=jt.identifierPrefix;if(Et){var d=za,m=Ba;d=(m&~(1<<32-Ct(m)-1)).toString(32)+d,l="_"+l+"R_"+d,d=Ad++,0<d&&(l+="H"+d.toString(32)),l+="_"}else d=HN++,l="_"+l+"r_"+d.toString(32)+"_";return s.memoizedState=l},useHostTransitionStatus:Hp,useFormState:Yy,useActionState:Yy,useOptimistic:function(s){var l=ir();l.memoizedState=l.baseState=s;var d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=d,l=Up.bind(null,st,!0,d),d.dispatch=l,[s,l]},useMemoCache:Dp,useCacheRefresh:function(){return ir().memoizedState=YN.bind(null,st)},useEffectEvent:function(s){var l=ir(),d={impl:s};return l.memoizedState=d,function(){if((Nt&2)!==0)throw Error(r(440));return d.impl.apply(void 0,arguments)}}},qp={readContext:Vn,use:Cd,useCallback:a5,useContext:Vn,useEffect:jp,useImperativeHandle:r5,useInsertionEffect:e5,useLayoutEffect:t5,useMemo:s5,useReducer:Od,useRef:Ky,useState:function(){return Od(Ss)},useDebugValue:Bp,useDeferredValue:function(s,l){var d=dn();return i5(d,Mt.memoizedState,s,l)},useTransition:function(){var s=Od(Ss)[0],l=dn().memoizedState;return[typeof s=="boolean"?s:iu(s),l]},useSyncExternalStore:Ly,useId:u5,useHostTransitionStatus:Hp,useFormState:Qy,useActionState:Qy,useOptimistic:function(s,l){var d=dn();return Hy(d,Mt,s,l)},useMemoCache:Dp,useCacheRefresh:d5};qp.useEffectEvent=Jy;var g5={readContext:Vn,use:Cd,useCallback:a5,useContext:Vn,useEffect:jp,useImperativeHandle:r5,useInsertionEffect:e5,useLayoutEffect:t5,useMemo:s5,useReducer:Ip,useRef:Ky,useState:function(){return Ip(Ss)},useDebugValue:Bp,useDeferredValue:function(s,l){var d=dn();return Mt===null?zp(d,s,l):i5(d,Mt.memoizedState,s,l)},useTransition:function(){var s=Ip(Ss)[0],l=dn().memoizedState;return[typeof s=="boolean"?s:iu(s),l]},useSyncExternalStore:Ly,useId:u5,useHostTransitionStatus:Hp,useFormState:Wy,useActionState:Wy,useOptimistic:function(s,l){var d=dn();return Mt!==null?Hy(d,Mt,s,l):(d.baseState=s,[s,d.queue.dispatch])},useMemoCache:Dp,useCacheRefresh:d5};g5.useEffectEvent=Jy;function Vp(s,l,d,m){l=s.memoizedState,d=d(m,l),d=d==null?l:p({},l,d),s.memoizedState=d,s.lanes===0&&(s.updateQueue.baseState=d)}var $p={enqueueSetState:function(s,l,d){s=s._reactInternals;var m=zr(),x=di(m);x.payload=l,d!=null&&(x.callback=d),l=hi(s,x,m),l!==null&&(Sr(l,s,m),nu(l,s,m))},enqueueReplaceState:function(s,l,d){s=s._reactInternals;var m=zr(),x=di(m);x.tag=1,x.payload=l,d!=null&&(x.callback=d),l=hi(s,x,m),l!==null&&(Sr(l,s,m),nu(l,s,m))},enqueueForceUpdate:function(s,l){s=s._reactInternals;var d=zr(),m=di(d);m.tag=2,l!=null&&(m.callback=l),l=hi(s,m,d),l!==null&&(Sr(l,s,d),nu(l,s,d))}};function x5(s,l,d,m,x,v,_){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(m,v,_):l.prototype&&l.prototype.isPureReactComponent?!Qc(d,m)||!Qc(x,v):!0}function b5(s,l,d,m){s=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(d,m),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(d,m),l.state!==s&&$p.enqueueReplaceState(l,l.state,null)}function vo(s,l){var d=l;if("ref"in l){d={};for(var m in l)m!=="ref"&&(d[m]=l[m])}if(s=s.defaultProps){d===l&&(d=p({},d));for(var x in s)d[x]===void 0&&(d[x]=s[x])}return d}function y5(s){dd(s)}function v5(s){console.error(s)}function E5(s){dd(s)}function Id(s,l){try{var d=s.onUncaughtError;d(l.value,{componentStack:l.stack})}catch(m){setTimeout(function(){throw m})}}function w5(s,l,d){try{var m=s.onCaughtError;m(d.value,{componentStack:d.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(x){setTimeout(function(){throw x})}}function Gp(s,l,d){return d=di(d),d.tag=3,d.payload={element:null},d.callback=function(){Id(s,l)},d}function S5(s){return s=di(s),s.tag=3,s}function T5(s,l,d,m){var x=d.type.getDerivedStateFromError;if(typeof x=="function"){var v=m.value;s.payload=function(){return x(v)},s.callback=function(){w5(l,d,m)}}var _=d.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(s.callback=function(){w5(l,d,m),typeof x!="function"&&(bi===null?bi=new Set([this]):bi.add(this));var j=m.stack;this.componentDidCatch(m.value,{componentStack:j!==null?j:""})})}function XN(s,l,d,m,x){if(d.flags|=32768,m!==null&&typeof m=="object"&&typeof m.then=="function"){if(l=d.alternate,l!==null&&Nl(l,d,x,!0),d=Lr.current,d!==null){switch(d.tag){case 31:case 13:return ia===null?Gd():d.alternate===null&&nn===0&&(nn=3),d.flags&=-257,d.flags|=65536,d.lanes=x,m===Ed?d.flags|=16384:(l=d.updateQueue,l===null?d.updateQueue=new Set([m]):l.add(m),x1(s,m,x)),!1;case 22:return d.flags|=65536,m===Ed?d.flags|=16384:(l=d.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([m])},d.updateQueue=l):(d=l.retryQueue,d===null?l.retryQueue=new Set([m]):d.add(m)),x1(s,m,x)),!1}throw Error(r(435,d.tag))}return x1(s,m,x),Gd(),!1}if(Et)return l=Lr.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=x,m!==dp&&(s=Error(r(422),{cause:m}),Kc(na(s,d)))):(m!==dp&&(l=Error(r(423),{cause:m}),Kc(na(l,d))),s=s.current.alternate,s.flags|=65536,x&=-x,s.lanes|=x,m=na(m,d),x=Gp(s.stateNode,m,x),wp(s,x),nn!==4&&(nn=2)),!1;var v=Error(r(520),{cause:m});if(v=na(v,d),gu===null?gu=[v]:gu.push(v),nn!==4&&(nn=2),l===null)return!0;m=na(m,d),d=l;do{switch(d.tag){case 3:return d.flags|=65536,s=x&-x,d.lanes|=s,s=Gp(d.stateNode,m,s),wp(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"&&(bi===null||!bi.has(v))))return d.flags|=65536,x&=-x,d.lanes|=x,x=S5(x),T5(x,s,d,m),wp(d,x),!1}d=d.return}while(d!==null);return!1}var Yp=Error(r(461)),bn=!1;function $n(s,l,d,m){l.child=s===null?Ny(l,null,d,m):bo(l,s.child,d,m)}function k5(s,l,d,m,x){d=d.render;var v=l.ref;if("ref"in m){var _={};for(var j in m)j!=="ref"&&(_[j]=m[j])}else _=m;return mo(l),m=Np(s,l,d,_,v,x),j=Cp(),s!==null&&!bn?(Op(s,l,x),Ts(s,l,x)):(Et&&j&&cp(l),l.flags|=1,$n(s,l,m,x),l.child)}function _5(s,l,d,m,x){if(s===null){var v=d.type;return typeof v=="function"&&!ip(v)&&v.defaultProps===void 0&&d.compare===null?(l.tag=15,l.type=v,A5(s,l,v,m,x)):(s=pd(d.type,null,m,l,l.mode,x),s.ref=l.ref,s.return=l,l.child=s)}if(v=s.child,!t1(s,x)){var _=v.memoizedProps;if(d=d.compare,d=d!==null?d:Qc,d(_,m)&&s.ref===l.ref)return Ts(s,l,x)}return l.flags|=1,s=bs(v,m),s.ref=l.ref,s.return=l,l.child=s}function A5(s,l,d,m,x){if(s!==null){var v=s.memoizedProps;if(Qc(v,m)&&s.ref===l.ref)if(bn=!1,l.pendingProps=m=v,t1(s,x))(s.flags&131072)!==0&&(bn=!0);else return l.lanes=s.lanes,Ts(s,l,x)}return Qp(s,l,d,m,x)}function N5(s,l,d,m){var x=m.children,v=s!==null?s.memoizedState:null;if(s===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),m.mode==="hidden"){if((l.flags&128)!==0){if(v=v!==null?v.baseLanes|d:d,s!==null){for(m=l.child=s.child,x=0;m!==null;)x=x|m.lanes|m.childLanes,m=m.sibling;m=x&~v}else m=0,l.child=null;return C5(s,l,v,d,m)}if((d&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},s!==null&&yd(l,v!==null?v.cachePool:null),v!==null?Ry(l,v):Tp(),Dy(l);else return m=l.lanes=536870912,C5(s,l,v!==null?v.baseLanes|d:d,d,m)}else v!==null?(yd(l,v.cachePool),Ry(l,v),mi(),l.memoizedState=null):(s!==null&&yd(l,null),Tp(),mi());return $n(s,l,x,d),l.child}function cu(s,l){return s!==null&&s.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function C5(s,l,d,m,x){var v=bp();return v=v===null?null:{parent:gn._currentValue,pool:v},l.memoizedState={baseLanes:d,cachePool:v},s!==null&&yd(l,null),Tp(),Dy(l),s!==null&&Nl(s,l,m,!0),l.childLanes=x,null}function Ld(s,l){return l=jd({mode:l.mode,children:l.children},s.mode),l.ref=s.ref,s.child=l,l.return=s,l}function O5(s,l,d){return bo(l,s.child,null,d),s=Ld(l,l.pendingProps),s.flags|=2,Pr(l),l.memoizedState=null,s}function WN(s,l,d){var m=l.pendingProps,x=(l.flags&128)!==0;if(l.flags&=-129,s===null){if(Et){if(m.mode==="hidden")return s=Ld(l,m),l.lanes=536870912,cu(null,s);if(_p(l),(s=Vt)?(s=U3(s,sa),s=s!==null&&s.data==="&"?s:null,s!==null&&(l.memoizedState={dehydrated:s,treeContext:ii!==null?{id:Ba,overflow:za}:null,retryLane:536870912,hydrationErrors:null},d=fy(s),d.return=l,l.child=d,qn=l,Vt=null)):s=null,s===null)throw li(l);return l.lanes=536870912,null}return Ld(l,m)}var v=s.memoizedState;if(v!==null){var _=v.dehydrated;if(_p(l),x)if(l.flags&256)l.flags&=-257,l=O5(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||Nl(s,l,d,!1),x=(d&s.childLanes)!==0,bn||x){if(m=jt,m!==null&&(_=gr(m,d),_!==0&&_!==v.retryLane))throw v.retryLane=_,co(s,_),Sr(m,s,_),Yp;Gd(),l=O5(s,l,d)}else s=v.treeContext,Vt=oa(_.nextSibling),qn=l,Et=!0,oi=null,sa=!1,s!==null&&gy(l,s),l=Ld(l,m),l.flags|=4096;return l}return s=bs(s.child,{mode:m.mode,children:m.children}),s.ref=l.ref,l.child=s,s.return=l,s}function Pd(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 Qp(s,l,d,m,x){return mo(l),d=Np(s,l,d,m,void 0,x),m=Cp(),s!==null&&!bn?(Op(s,l,x),Ts(s,l,x)):(Et&&m&&cp(l),l.flags|=1,$n(s,l,d,x),l.child)}function R5(s,l,d,m,x,v){return mo(l),l.updateQueue=null,d=Iy(l,m,d,x),My(s),m=Cp(),s!==null&&!bn?(Op(s,l,v),Ts(s,l,v)):(Et&&m&&cp(l),l.flags|=1,$n(s,l,d,v),l.child)}function D5(s,l,d,m,x){if(mo(l),l.stateNode===null){var v=Tl,_=d.contextType;typeof _=="object"&&_!==null&&(v=Vn(_)),v=new d(m,v),l.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=$p,l.stateNode=v,v._reactInternals=l,v=l.stateNode,v.props=m,v.state=l.memoizedState,v.refs={},vp(l),_=d.contextType,v.context=typeof _=="object"&&_!==null?Vn(_):Tl,v.state=l.memoizedState,_=d.getDerivedStateFromProps,typeof _=="function"&&(Vp(l,d,_,m),v.state=l.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(_=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),_!==v.state&&$p.enqueueReplaceState(v,v.state,null),au(l,m,v,x),ru(),v.state=l.memoizedState),typeof v.componentDidMount=="function"&&(l.flags|=4194308),m=!0}else if(s===null){v=l.stateNode;var j=l.memoizedProps,K=vo(d,j);v.props=K;var he=v.context,be=d.contextType;_=Tl,typeof be=="object"&&be!==null&&(_=Vn(be));var Ee=d.getDerivedStateFromProps;be=typeof Ee=="function"||typeof v.getSnapshotBeforeUpdate=="function",j=l.pendingProps!==j,be||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(j||he!==_)&&b5(l,v,m,_),ui=!1;var fe=l.memoizedState;v.state=fe,au(l,m,v,x),ru(),he=l.memoizedState,j||fe!==he||ui?(typeof Ee=="function"&&(Vp(l,d,Ee,m),he=l.memoizedState),(K=ui||x5(l,d,K,m,fe,he,_))?(be||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=m,l.memoizedState=he),v.props=m,v.state=he,v.context=_,m=K):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),m=!1)}else{v=l.stateNode,Ep(s,l),_=l.memoizedProps,be=vo(d,_),v.props=be,Ee=l.pendingProps,fe=v.context,he=d.contextType,K=Tl,typeof he=="object"&&he!==null&&(K=Vn(he)),j=d.getDerivedStateFromProps,(he=typeof j=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(_!==Ee||fe!==K)&&b5(l,v,m,K),ui=!1,fe=l.memoizedState,v.state=fe,au(l,m,v,x),ru();var ge=l.memoizedState;_!==Ee||fe!==ge||ui||s!==null&&s.dependencies!==null&&xd(s.dependencies)?(typeof j=="function"&&(Vp(l,d,j,m),ge=l.memoizedState),(be=ui||x5(l,d,be,m,fe,ge,K)||s!==null&&s.dependencies!==null&&xd(s.dependencies))?(he||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(m,ge,K),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(m,ge,K)),typeof v.componentDidUpdate=="function"&&(l.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof v.componentDidUpdate!="function"||_===s.memoizedProps&&fe===s.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||_===s.memoizedProps&&fe===s.memoizedState||(l.flags|=1024),l.memoizedProps=m,l.memoizedState=ge),v.props=m,v.state=ge,v.context=K,m=be):(typeof v.componentDidUpdate!="function"||_===s.memoizedProps&&fe===s.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||_===s.memoizedProps&&fe===s.memoizedState||(l.flags|=1024),m=!1)}return v=m,Pd(s,l),m=(l.flags&128)!==0,v||m?(v=l.stateNode,d=m&&typeof d.getDerivedStateFromError!="function"?null:v.render(),l.flags|=1,s!==null&&m?(l.child=bo(l,s.child,null,x),l.child=bo(l,null,d,x)):$n(s,l,d,x),l.memoizedState=v.state,s=l.child):s=Ts(s,l,x),s}function M5(s,l,d,m){return ho(),l.flags|=256,$n(s,l,d,m),l.child}var Xp={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wp(s){return{baseLanes:s,cachePool:wy()}}function Kp(s,l,d){return s=s!==null?s.childLanes&~d:0,l&&(s|=Br),s}function I5(s,l,d){var m=l.pendingProps,x=!1,v=(l.flags&128)!==0,_;if((_=v)||(_=s!==null&&s.memoizedState===null?!1:(un.current&2)!==0),_&&(x=!0,l.flags&=-129),_=(l.flags&32)!==0,l.flags&=-33,s===null){if(Et){if(x?fi(l):mi(),(s=Vt)?(s=U3(s,sa),s=s!==null&&s.data!=="&"?s:null,s!==null&&(l.memoizedState={dehydrated:s,treeContext:ii!==null?{id:Ba,overflow:za}:null,retryLane:536870912,hydrationErrors:null},d=fy(s),d.return=l,l.child=d,qn=l,Vt=null)):s=null,s===null)throw li(l);return M1(s)?l.lanes=32:l.lanes=536870912,null}var j=m.children;return m=m.fallback,x?(mi(),x=l.mode,j=jd({mode:"hidden",children:j},x),m=uo(m,x,d,null),j.return=l,m.return=l,j.sibling=m,l.child=j,m=l.child,m.memoizedState=Wp(d),m.childLanes=Kp(s,_,d),l.memoizedState=Xp,cu(null,m)):(fi(l),Zp(l,j))}var K=s.memoizedState;if(K!==null&&(j=K.dehydrated,j!==null)){if(v)l.flags&256?(fi(l),l.flags&=-257,l=Jp(s,l,d)):l.memoizedState!==null?(mi(),l.child=s.child,l.flags|=128,l=null):(mi(),j=m.fallback,x=l.mode,m=jd({mode:"visible",children:m.children},x),j=uo(j,x,d,null),j.flags|=2,m.return=l,j.return=l,m.sibling=j,l.child=m,bo(l,s.child,null,d),m=l.child,m.memoizedState=Wp(d),m.childLanes=Kp(s,_,d),l.memoizedState=Xp,l=cu(null,m));else if(fi(l),M1(j)){if(_=j.nextSibling&&j.nextSibling.dataset,_)var he=_.dgst;_=he,m=Error(r(419)),m.stack="",m.digest=_,Kc({value:m,source:null,stack:null}),l=Jp(s,l,d)}else if(bn||Nl(s,l,d,!1),_=(d&s.childLanes)!==0,bn||_){if(_=jt,_!==null&&(m=gr(_,d),m!==0&&m!==K.retryLane))throw K.retryLane=m,co(s,m),Sr(_,s,m),Yp;D1(j)||Gd(),l=Jp(s,l,d)}else D1(j)?(l.flags|=192,l.child=s.child,l=null):(s=K.treeContext,Vt=oa(j.nextSibling),qn=l,Et=!0,oi=null,sa=!1,s!==null&&gy(l,s),l=Zp(l,m.children),l.flags|=4096);return l}return x?(mi(),j=m.fallback,x=l.mode,K=s.child,he=K.sibling,m=bs(K,{mode:"hidden",children:m.children}),m.subtreeFlags=K.subtreeFlags&65011712,he!==null?j=bs(he,j):(j=uo(j,x,d,null),j.flags|=2),j.return=l,m.return=l,m.sibling=j,l.child=m,cu(null,m),m=l.child,j=s.child.memoizedState,j===null?j=Wp(d):(x=j.cachePool,x!==null?(K=gn._currentValue,x=x.parent!==K?{parent:K,pool:K}:x):x=wy(),j={baseLanes:j.baseLanes|d,cachePool:x}),m.memoizedState=j,m.childLanes=Kp(s,_,d),l.memoizedState=Xp,cu(s.child,m)):(fi(l),d=s.child,s=d.sibling,d=bs(d,{mode:"visible",children:m.children}),d.return=l,d.sibling=null,s!==null&&(_=l.deletions,_===null?(l.deletions=[s],l.flags|=16):_.push(s)),l.child=d,l.memoizedState=null,d)}function Zp(s,l){return l=jd({mode:"visible",children:l},s.mode),l.return=s,s.child=l}
vendor: 5,856 bytes, line 49
49function jd(s,l){return s=Ir(22,s,null,l),s.lanes=0,s}function Jp(s,l,d){return bo(l,s.child,null,d),s=Zp(l,l.pendingProps.children),s.flags|=2,l.memoizedState=null,s}function L5(s,l,d){s.lanes|=l;var m=s.alternate;m!==null&&(m.lanes|=l),mp(s.return,l,d)}function e1(s,l,d,m,x,v){var _=s.memoizedState;_===null?s.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:m,tail:d,tailMode:x,treeForkCount:v}:(_.isBackwards=l,_.rendering=null,_.renderingStartTime=0,_.last=m,_.tail=d,_.tailMode=x,_.treeForkCount=v)}function P5(s,l,d){var m=l.pendingProps,x=m.revealOrder,v=m.tail;m=m.children;var _=un.current,j=(_&2)!==0;if(j?(_=_&1|2,l.flags|=128):_&=1,P(un,_),$n(s,l,m,d),m=Et?Wc:0,!j&&s!==null&&(s.flags&128)!==0)e:for(s=l.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&L5(s,d,l);else if(s.tag===19)L5(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(x){case"forwards":for(d=l.child,x=null;d!==null;)s=d.alternate,s!==null&&kd(s)===null&&(x=d),d=d.sibling;d=x,d===null?(x=l.child,l.child=null):(x=d.sibling,d.sibling=null),e1(l,!1,x,d,v,m);break;case"backwards":case"unstable_legacy-backwards":for(d=null,x=l.child,l.child=null;x!==null;){if(s=x.alternate,s!==null&&kd(s)===null){l.child=x;break}s=x.sibling,x.sibling=d,d=x,x=s}e1(l,!0,d,null,v,m);break;case"together":e1(l,!1,null,null,void 0,m);break;default:l.memoizedState=null}return l.child}function Ts(s,l,d){if(s!==null&&(l.dependencies=s.dependencies),xi|=l.lanes,(d&l.childLanes)===0)if(s!==null){if(Nl(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=bs(s,s.pendingProps),l.child=d,d.return=l;s.sibling!==null;)s=s.sibling,d=d.sibling=bs(s,s.pendingProps),d.return=l;d.sibling=null}return l.child}function t1(s,l){return(s.lanes&l)!==0?!0:(s=s.dependencies,!!(s!==null&&xd(s)))}function KN(s,l,d){switch(l.tag){case 3:Ge(l,l.stateNode.containerInfo),ci(l,gn,s.memoizedState.cache),ho();break;case 27:case 5:Ot(l);break;case 4:Ge(l,l.stateNode.containerInfo);break;case 10:ci(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,_p(l),null;break;case 13:var m=l.memoizedState;if(m!==null)return m.dehydrated!==null?(fi(l),l.flags|=128,null):(d&l.child.childLanes)!==0?I5(s,l,d):(fi(l),s=Ts(s,l,d),s!==null?s.sibling:null);fi(l);break;case 19:var x=(s.flags&128)!==0;if(m=(d&l.childLanes)!==0,m||(Nl(s,l,d,!1),m=(d&l.childLanes)!==0),x){if(m)return P5(s,l,d);l.flags|=128}if(x=l.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),P(un,un.current),m)break;return null;case 22:return l.lanes=0,N5(s,l,d,l.pendingProps);case 24:ci(l,gn,s.memoizedState.cache)}return Ts(s,l,d)}function j5(s,l,d){if(s!==null)if(s.memoizedProps!==l.pendingProps)bn=!0;else{if(!t1(s,d)&&(l.flags&128)===0)return bn=!1,KN(s,l,d);bn=(s.flags&131072)!==0}else bn=!1,Et&&(l.flags&1048576)!==0&&py(l,Wc,l.index);switch(l.lanes=0,l.tag){case 16:e:{var m=l.pendingProps;if(s=go(l.elementType),l.type=s,typeof s=="function")ip(s)?(m=vo(s,m),l.tag=1,l=D5(null,l,s,m,d)):(l.tag=0,l=Qp(null,l,s,m,d));else{if(s!=null){var x=s.$$typeof;if(x===W){l.tag=11,l=k5(null,l,s,m,d);break e}else if(x===M){l.tag=14,l=_5(null,l,s,m,d);break e}}throw l=oe(s)||s,Error(r(306,l,""))}}return l;case 0:return Qp(s,l,l.type,l.pendingProps,d);case 1:return m=l.type,x=vo(m,l.pendingProps),D5(s,l,m,x,d);case 3:e:{if(Ge(l,l.stateNode.containerInfo),s===null)throw Error(r(387));m=l.pendingProps;var v=l.memoizedState;x=v.element,Ep(s,l),au(l,m,null,d);var _=l.memoizedState;if(m=_.cache,ci(l,gn,m),m!==v.cache&&pp(l,[gn],d,!0),ru(),m=_.element,v.isDehydrated)if(v={element:m,isDehydrated:!1,cache:_.cache},l.updateQueue.baseState=v,l.memoizedState=v,l.flags&256){l=M5(s,l,m,d);break e}else if(m!==x){x=na(Error(r(424)),l),Kc(x),l=M5(s,l,m,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(Vt=oa(s.firstChild),qn=l,Et=!0,oi=null,sa=!0,d=Ny(l,null,m,d),l.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling}else{if(ho(),m===x){l=Ts(s,l,d);break e}$n(s,l,m,d)}l=l.child}return l;case 26:return Pd(s,l),s===null?(d=Q3(l.type,null,l.pendingProps,null))?l.memoizedState=d:Et||(d=l.type,s=l.pendingProps,m=Jd(Re.current).createElement(d),m[Un]=l,m[xr]=s,Gn(m,d,s),Rn(m),l.stateNode=m):l.memoizedState=Q3(l.type,s.memoizedProps,l.pendingProps,s.memoizedState),null;case 27:return Ot(l),s===null&&Et&&(m=l.stateNode=$3(l.type,l.pendingProps,Re.current),qn=l,sa=!0,x=Vt,wi(l.type)?(I1=x,Vt=oa(m.firstChild)):Vt=x),$n(s,l,l.pendingProps.children,d),Pd(s,l),s===null&&(l.flags|=4194304),l.child;case 5:return s===null&&Et&&((x=m=Vt)&&(m=AC(m,l.type,l.pendingProps,sa),m!==null?(l.stateNode=m,qn=l,Vt=oa(m.firstChild),sa=!1,x=!0):x=!1),x||li(l)),Ot(l),x=l.type,v=l.pendingProps,_=s!==null?s.memoizedProps:null,m=v.children,C1(x,v)?m=null:_!==null&&C1(x,_)&&(l.flags|=32),l.memoizedState!==null&&(x=Np(s,l,UN,null,null,d),Tu._currentValue=x),Pd(s,l),$n(s,l,m,d),l.child;case 6:return s===null&&Et&&((s=d=Vt)&&(d=NC(d,l.pendingProps,sa),d!==null?(l.stateNode=d,qn=l,Vt=null,s=!0):s=!1),s||li(l)),null;case 13:return I5(s,l,d);case 4:return Ge(l,l.stateNode.containerInfo),m=l.pendingProps,s===null?l.child=bo(l,null,m,d):$n(s,l,m,d),l.child;case 11:return k5(s,l,l.type,l.pendingProps,d);case 7:return $n(s,l,l.pendingProps,d),l.child;case 8:return $n(s,l,l.pendingProps.children,d),l.child;case 12:return $n(s,l,l.pendingProps.children,d),l.child;case 10:return m=l.pendingProps,ci(l,l.type,m.value),$n(s,l,m.children,d),l.child;case 9:return x=l.type._context,m=l.pendingProps.children,mo(l),x=Vn(x),m=m(x),l.flags|=1,$n(s,l,m,d),l.child;
vendor: 8,492 bytes, line 49
49case 14:return _5(s,l,l.type,l.pendingProps,d);case 15:return A5(s,l,l.type,l.pendingProps,d);case 19:return P5(s,l,d);case 31:return WN(s,l,d);case 22:return N5(s,l,d,l.pendingProps);case 24:return mo(l),m=Vn(gn),s===null?(x=bp(),x===null&&(x=jt,v=gp(),x.pooledCache=v,v.refCount++,v!==null&&(x.pooledCacheLanes|=d),x=v),l.memoizedState={parent:m,cache:x},vp(l),ci(l,gn,x)):((s.lanes&d)!==0&&(Ep(s,l),au(l,null,null,d),ru()),x=s.memoizedState,v=l.memoizedState,x.parent!==m?(x={parent:m,cache:m},l.memoizedState=x,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=x),ci(l,gn,m)):(m=v.cache,ci(l,gn,m),m!==x.cache&&pp(l,[gn],d,!0))),$n(s,l,l.pendingProps.children,d),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function ks(s){s.flags|=4}function n1(s,l,d,m,x){if((l=(s.mode&32)!==0)&&(l=!1),l){if(s.flags|=16777216,(x&335544128)===x)if(s.stateNode.complete)s.flags|=8192;else if(u3())s.flags|=8192;else throw xo=Ed,yp}else s.flags&=-16777217}function B5(s,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)s.flags&=-16777217;else if(s.flags|=16777216,!J3(l))if(u3())s.flags|=8192;else throw xo=Ed,yp}function Bd(s,l){l!==null&&(s.flags|=4),s.flags&16384&&(l=s.tag!==22?Xn():536870912,s.lanes|=l,Fl|=l)}function uu(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 m=null;d!==null;)d.alternate!==null&&(m=d),d=d.sibling;m===null?l||s.tail===null?s.tail=null:s.tail.sibling=null:m.sibling=null}}function $t(s){var l=s.alternate!==null&&s.alternate.child===s.child,d=0,m=0;if(l)for(var x=s.child;x!==null;)d|=x.lanes|x.childLanes,m|=x.subtreeFlags&65011712,m|=x.flags&65011712,x.return=s,x=x.sibling;else for(x=s.child;x!==null;)d|=x.lanes|x.childLanes,m|=x.subtreeFlags,m|=x.flags,x.return=s,x=x.sibling;return s.subtreeFlags|=m,s.childLanes=d,l}function ZN(s,l,d){var m=l.pendingProps;switch(up(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $t(l),null;case 1:return $t(l),null;case 3:return d=l.stateNode,m=null,s!==null&&(m=s.memoizedState.cache),l.memoizedState.cache!==m&&(l.flags|=2048),Es(gn),tt(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(s===null||s.child===null)&&(Al(l)?ks(l):s===null||s.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,hp())),$t(l),null;case 26:var x=l.type,v=l.memoizedState;return s===null?(ks(l),v!==null?($t(l),B5(l,v)):($t(l),n1(l,x,null,m,d))):v?v!==s.memoizedState?(ks(l),$t(l),B5(l,v)):($t(l),l.flags&=-16777217):(s=s.memoizedProps,s!==m&&ks(l),$t(l),n1(l,x,s,m,d)),null;case 27:if(en(l),d=Re.current,x=l.type,s!==null&&l.stateNode!=null)s.memoizedProps!==m&&ks(l);else{if(!m){if(l.stateNode===null)throw Error(r(166));return $t(l),null}s=pe.current,Al(l)?xy(l):(s=$3(x,m,d),l.stateNode=s,ks(l))}return $t(l),null;case 5:if(en(l),x=l.type,s!==null&&l.stateNode!=null)s.memoizedProps!==m&&ks(l);else{if(!m){if(l.stateNode===null)throw Error(r(166));return $t(l),null}if(v=pe.current,Al(l))xy(l);else{var _=Jd(Re.current);switch(v){case 1:v=_.createElementNS("http://www.w3.org/2000/svg",x);break;case 2:v=_.createElementNS("http://www.w3.org/1998/Math/MathML",x);break;default:switch(x){case"svg":v=_.createElementNS("http://www.w3.org/2000/svg",x);break;case"math":v=_.createElementNS("http://www.w3.org/1998/Math/MathML",x);break;case"script":v=_.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof m.is=="string"?_.createElement("select",{is:m.is}):_.createElement("select"),m.multiple?v.multiple=!0:m.size&&(v.size=m.size);break;default:v=typeof m.is=="string"?_.createElement(x,{is:m.is}):_.createElement(x)}}v[Un]=l,v[xr]=m;e:for(_=l.child;_!==null;){if(_.tag===5||_.tag===6)v.appendChild(_.stateNode);else if(_.tag!==4&&_.tag!==27&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===l)break e;for(;_.sibling===null;){if(_.return===null||_.return===l)break e;_=_.return}_.sibling.return=_.return,_=_.sibling}l.stateNode=v;e:switch(Gn(v,x,m),x){case"button":case"input":case"select":case"textarea":m=!!m.autoFocus;break e;case"img":m=!0;break e;default:m=!1}m&&ks(l)}}return $t(l),n1(l,l.type,s===null?null:s.memoizedProps,l.pendingProps,d),null;case 6:if(s&&l.stateNode!=null)s.memoizedProps!==m&&ks(l);else{if(typeof m!="string"&&l.stateNode===null)throw Error(r(166));if(s=Re.current,Al(l)){if(s=l.stateNode,d=l.memoizedProps,m=null,x=qn,x!==null)switch(x.tag){case 27:case 5:m=x.memoizedProps}s[Un]=l,s=!!(s.nodeValue===d||m!==null&&m.suppressHydrationWarning===!0||I3(s.nodeValue,d)),s||li(l,!0)}else s=Jd(s).createTextNode(m),s[Un]=l,l.stateNode=s}return $t(l),null;case 31:if(d=l.memoizedState,s===null||s.memoizedState!==null){if(m=Al(l),d!==null){if(s===null){if(!m)throw Error(r(318));if(s=l.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(557));s[Un]=l}else ho(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;$t(l),s=!1}else d=hp(),s!==null&&s.memoizedState!==null&&(s.memoizedState.hydrationErrors=d),s=!0;if(!s)return l.flags&256?(Pr(l),l):(Pr(l),null);if((l.flags&128)!==0)throw Error(r(558))}return $t(l),null;case 13:if(m=l.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(x=Al(l),m!==null&&m.dehydrated!==null){if(s===null){if(!x)throw Error(r(318));if(x=l.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(r(317));x[Un]=l}else ho(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;$t(l),x=!1}else x=hp(),s!==null&&s.memoizedState!==null&&(s.memoizedState.hydrationErrors=x),x=!0;if(!x)return l.flags&256?(Pr(l),l):(Pr(l),null)}return Pr(l),(l.flags&128)!==0?(l.lanes=d,l):(d=m!==null,s=s!==null&&s.memoizedState!==null,d&&(m=l.child,x=null,m.alternate!==null&&m.alternate.memoizedState!==null&&m.alternate.memoizedState.cachePool!==null&&(x=m.alternate.memoizedState.cachePool.pool),v=null,m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(v=m.memoizedState.cachePool.pool),v!==x&&(m.flags|=2048)),d!==s&&d&&(l.child.flags|=8192),Bd(l,l.updateQueue),$t(l),null);case 4:return tt(),s===null&&T1(l.stateNode.containerInfo),$t(l),null;case 10:return Es(l.type),$t(l),null;case 19:if(ce(un),m=l.memoizedState,m===null)return $t(l),null;if(x=(l.flags&128)!==0,v=m.rendering,v===null)if(x)uu(m,!1);else{if(nn!==0||s!==null&&(s.flags&128)!==0)for(s=l.child;s!==null;){if(v=kd(s),v!==null){for(l.flags|=128,uu(m,!1),s=v.updateQueue,l.updateQueue=s,Bd(l,s),l.subtreeFlags=0,s=d,d=l.child;d!==null;)hy(d,s),d=d.sibling;return P(un,un.current&1|2),Et&&ys(l,m.treeForkCount),l.child}s=s.sibling}m.tail!==null&&zn()>qd&&(l.flags|=128,x=!0,uu(m,!1),l.lanes=4194304)}else{if(!x)if(s=kd(v),s!==null){if(l.flags|=128,x=!0,s=s.updateQueue,l.updateQueue=s,Bd(l,s),uu(m,!0),m.tail===null&&m.tailMode==="hidden"&&!v.alternate&&!Et)return $t(l),null}else 2*zn()-m.renderingStartTime>qd&&d!==536870912&&(l.flags|=128,x=!0,uu(m,!1),l.lanes=4194304);m.isBackwards?(v.sibling=l.child,l.child=v):(s=m.last,s!==null?s.sibling=v:l.child=v,m.last=v)}return m.tail!==null?(s=m.tail,m.rendering=s,m.tail=s.sibling,m.renderingStartTime=zn(),s.sibling=null,d=un.current,P(un,x?d&1|2:d&1),Et&&ys(l,m.treeForkCount),s):($t(l),null);case 22:case 23:return Pr(l),kp(),m=l.memoizedState!==null,s!==null?s.memoizedState!==null!==m&&(l.flags|=8192):m&&(l.flags|=8192),m?(d&536870912)!==0&&(l.flags&128)===0&&($t(l),l.subtreeFlags&6&&(l.flags|=8192)):$t(l),d=l.updateQueue,d!==null&&Bd(l,d.retryQueue),d=null,s!==null&&s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(d=s.memoizedState.cachePool.pool),m=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(m=l.memoizedState.cachePool.pool),m!==d&&(l.flags|=2048),s!==null&&ce(po),null;case 24:return d=null,s!==null&&(d=s.memoizedState.cache),l.memoizedState.cache!==d&&(l.flags|=2048),Es(gn),$t(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function JN(s,l){switch(up(l),l.tag){case 1:return s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 3:return Es(gn),tt(),s=l.flags,(s&65536)!==0&&(s&128)===0?(l.flags=s&-65537|128,l):null;case 26:case 27:case 5:return en(l),null;case 31:if(l.memoizedState!==null){if(Pr(l),l.alternate===null)throw Error(r(340));ho()}return s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 13:if(Pr(l),s=l.memoizedState,s!==null&&s.dehydrated!==null){if(l.alternate===null)throw Error(r(340));ho()}return s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;
vendor: 20,330 bytes, line 49
49case 19:return ce(un),null;case 4:return tt(),null;case 10:return Es(l.type),null;case 22:case 23:return Pr(l),kp(),s!==null&&ce(po),s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 24:return Es(gn),null;case 25:return null;default:return null}}function z5(s,l){switch(up(l),l.tag){case 3:Es(gn),tt();break;case 26:case 27:case 5:en(l);break;case 4:tt();break;case 31:l.memoizedState!==null&&Pr(l);break;case 13:Pr(l);break;case 19:ce(un);break;case 10:Es(l.type);break;case 22:case 23:Pr(l),kp(),s!==null&&ce(po);break;case 24:Es(gn)}}function du(s,l){try{var d=l.updateQueue,m=d!==null?d.lastEffect:null;if(m!==null){var x=m.next;d=x;do{if((d.tag&s)===s){m=void 0;var v=d.create,_=d.inst;m=v(),_.destroy=m}d=d.next}while(d!==x)}}catch(j){Dt(l,l.return,j)}}function pi(s,l,d){try{var m=l.updateQueue,x=m!==null?m.lastEffect:null;if(x!==null){var v=x.next;m=v;do{if((m.tag&s)===s){var _=m.inst,j=_.destroy;if(j!==void 0){_.destroy=void 0,x=l;var K=d,he=j;try{he()}catch(be){Dt(x,K,be)}}}m=m.next}while(m!==v)}}catch(be){Dt(l,l.return,be)}}function F5(s){var l=s.updateQueue;if(l!==null){var d=s.stateNode;try{Oy(l,d)}catch(m){Dt(s,s.return,m)}}}function H5(s,l,d){d.props=vo(s.type,s.memoizedProps),d.state=s.memoizedState;try{d.componentWillUnmount()}catch(m){Dt(s,l,m)}}function hu(s,l){try{var d=s.ref;if(d!==null){switch(s.tag){case 26:case 27:case 5:var m=s.stateNode;break;case 30:m=s.stateNode;break;default:m=s.stateNode}typeof d=="function"?s.refCleanup=d(m):d.current=m}}catch(x){Dt(s,l,x)}}function Fa(s,l){var d=s.ref,m=s.refCleanup;if(d!==null)if(typeof m=="function")try{m()}catch(x){Dt(s,l,x)}finally{s.refCleanup=null,s=s.alternate,s!=null&&(s.refCleanup=null)}else if(typeof d=="function")try{d(null)}catch(x){Dt(s,l,x)}else d.current=null}function U5(s){var l=s.type,d=s.memoizedProps,m=s.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":d.autoFocus&&m.focus();break e;case"img":d.src?m.src=d.src:d.srcSet&&(m.srcset=d.srcSet)}}catch(x){Dt(s,s.return,x)}}function r1(s,l,d){try{var m=s.stateNode;EC(m,s.type,d,l),m[xr]=l}catch(x){Dt(s,s.return,x)}}function q5(s){return s.tag===5||s.tag===3||s.tag===26||s.tag===27&&wi(s.type)||s.tag===4}function a1(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||q5(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&&wi(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 s1(s,l,d){var m=s.tag;if(m===5||m===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=gs));else if(m!==4&&(m===27&&wi(s.type)&&(d=s.stateNode,l=null),s=s.child,s!==null))for(s1(s,l,d),s=s.sibling;s!==null;)s1(s,l,d),s=s.sibling}function zd(s,l,d){var m=s.tag;if(m===5||m===6)s=s.stateNode,l?d.insertBefore(s,l):d.appendChild(s);else if(m!==4&&(m===27&&wi(s.type)&&(d=s.stateNode),s=s.child,s!==null))for(zd(s,l,d),s=s.sibling;s!==null;)zd(s,l,d),s=s.sibling}function V5(s){var l=s.stateNode,d=s.memoizedProps;try{for(var m=s.type,x=l.attributes;x.length;)l.removeAttributeNode(x[0]);Gn(l,m,d),l[Un]=s,l[xr]=d}catch(v){Dt(s,s.return,v)}}var _s=!1,yn=!1,i1=!1,$5=typeof WeakSet=="function"?WeakSet:Set,Dn=null;function eC(s,l){if(s=s.containerInfo,A1=ih,s=ry(s),Jm(s)){if("selectionStart"in s)var d={start:s.selectionStart,end:s.selectionEnd};else e:{d=(d=s.ownerDocument)&&d.defaultView||window;var m=d.getSelection&&d.getSelection();if(m&&m.rangeCount!==0){d=m.anchorNode;var x=m.anchorOffset,v=m.focusNode;m=m.focusOffset;try{d.nodeType,v.nodeType}catch{d=null;break e}var _=0,j=-1,K=-1,he=0,be=0,Ee=s,fe=null;t:for(;;){for(var ge;Ee!==d||x!==0&&Ee.nodeType!==3||(j=_+x),Ee!==v||m!==0&&Ee.nodeType!==3||(K=_+m),Ee.nodeType===3&&(_+=Ee.nodeValue.length),(ge=Ee.firstChild)!==null;)fe=Ee,Ee=ge;for(;;){if(Ee===s)break t;if(fe===d&&++he===x&&(j=_),fe===v&&++be===m&&(K=_),(ge=Ee.nextSibling)!==null)break;Ee=fe,fe=Ee.parentNode}Ee=ge}d=j===-1||K===-1?null:{start:j,end:K}}else d=null}d=d||{start:0,end:0}}else d=null;for(N1={focusedElem:s,selectionRange:d},ih=!1,Dn=l;Dn!==null;)if(l=Dn,s=l.child,(l.subtreeFlags&1028)!==0&&s!==null)s.return=l,Dn=s;else for(;Dn!==null;){switch(l=Dn,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++)x=s[d],x.ref.impl=x.nextImpl;break;case 11:case 15:break;case 1:if((s&1024)!==0&&v!==null){s=void 0,d=l,x=v.memoizedProps,v=v.memoizedState,m=d.stateNode;try{var Ue=vo(d.type,x);s=m.getSnapshotBeforeUpdate(Ue,v),m.__reactInternalSnapshotBeforeUpdate=s}catch(Je){Dt(d,d.return,Je)}}break;case 3:if((s&1024)!==0){if(s=l.stateNode.containerInfo,d=s.nodeType,d===9)R1(s);else if(d===1)switch(s.nodeName){case"HEAD":case"HTML":case"BODY":R1(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,Dn=s;break}Dn=l.return}}function G5(s,l,d){var m=d.flags;switch(d.tag){case 0:case 11:case 15:Ns(s,d),m&4&&du(5,d);break;case 1:if(Ns(s,d),m&4)if(s=d.stateNode,l===null)try{s.componentDidMount()}catch(_){Dt(d,d.return,_)}else{var x=vo(d.type,l.memoizedProps);l=l.memoizedState;try{s.componentDidUpdate(x,l,s.__reactInternalSnapshotBeforeUpdate)}catch(_){Dt(d,d.return,_)}}m&64&&F5(d),m&512&&hu(d,d.return);break;case 3:if(Ns(s,d),m&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{Oy(s,l)}catch(_){Dt(d,d.return,_)}}break;case 27:l===null&&m&4&&V5(d);case 26:case 5:Ns(s,d),l===null&&m&4&&U5(d),m&512&&hu(d,d.return);break;case 12:Ns(s,d);break;case 31:Ns(s,d),m&4&&X5(s,d);break;case 13:Ns(s,d),m&4&&W5(s,d),m&64&&(s=d.memoizedState,s!==null&&(s=s.dehydrated,s!==null&&(d=cC.bind(null,d),CC(s,d))));break;case 22:if(m=d.memoizedState!==null||_s,!m){l=l!==null&&l.memoizedState!==null||yn,x=_s;var v=yn;_s=m,(yn=l)&&!v?Cs(s,d,(d.subtreeFlags&8772)!==0):Ns(s,d),_s=x,yn=v}break;case 30:break;default:Ns(s,d)}}function Y5(s){var l=s.alternate;l!==null&&(s.alternate=null,Y5(l)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(l=s.stateNode,l!==null&&Pm(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 Yt=null,yr=!1;function As(s,l,d){for(d=d.child;d!==null;)Q5(s,l,d),d=d.sibling}function Q5(s,l,d){if(cn&&typeof cn.onCommitFiberUnmount=="function")try{cn.onCommitFiberUnmount(Fn,d)}catch{}switch(d.tag){case 26:yn||Fa(d,l),As(s,l,d),d.memoizedState?d.memoizedState.count--:d.stateNode&&(d=d.stateNode,d.parentNode.removeChild(d));break;case 27:yn||Fa(d,l);var m=Yt,x=yr;wi(d.type)&&(Yt=d.stateNode,yr=!1),As(s,l,d),Eu(d.stateNode),Yt=m,yr=x;break;case 5:yn||Fa(d,l);case 6:if(m=Yt,x=yr,Yt=null,As(s,l,d),Yt=m,yr=x,Yt!==null)if(yr)try{(Yt.nodeType===9?Yt.body:Yt.nodeName==="HTML"?Yt.ownerDocument.body:Yt).removeChild(d.stateNode)}catch(v){Dt(d,l,v)}else try{Yt.removeChild(d.stateNode)}catch(v){Dt(d,l,v)}break;case 18:Yt!==null&&(yr?(s=Yt,F3(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,d.stateNode),Ql(s)):F3(Yt,d.stateNode));break;case 4:m=Yt,x=yr,Yt=d.stateNode.containerInfo,yr=!0,As(s,l,d),Yt=m,yr=x;break;case 0:case 11:case 14:case 15:pi(2,d,l),yn||pi(4,d,l),As(s,l,d);break;case 1:yn||(Fa(d,l),m=d.stateNode,typeof m.componentWillUnmount=="function"&&H5(d,l,m)),As(s,l,d);break;case 21:As(s,l,d);break;case 22:yn=(m=yn)||d.memoizedState!==null,As(s,l,d),yn=m;break;default:As(s,l,d)}}function X5(s,l){if(l.memoizedState===null&&(s=l.alternate,s!==null&&(s=s.memoizedState,s!==null))){s=s.dehydrated;try{Ql(s)}catch(d){Dt(l,l.return,d)}}}function W5(s,l){if(l.memoizedState===null&&(s=l.alternate,s!==null&&(s=s.memoizedState,s!==null&&(s=s.dehydrated,s!==null))))try{Ql(s)}catch(d){Dt(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 $5),l;case 22:return s=s.stateNode,l=s._retryCache,l===null&&(l=s._retryCache=new $5),l;default:throw Error(r(435,s.tag))}}function Fd(s,l){var d=tC(s);l.forEach(function(m){if(!d.has(m)){d.add(m);var x=uC.bind(null,s,m);m.then(x,x)}})}function vr(s,l){var d=l.deletions;if(d!==null)for(var m=0;m<d.length;m++){var x=d[m],v=s,_=l,j=_;e:for(;j!==null;){switch(j.tag){case 27:if(wi(j.type)){Yt=j.stateNode,yr=!1;break e}break;case 5:Yt=j.stateNode,yr=!1;break e;case 3:case 4:Yt=j.stateNode.containerInfo,yr=!0;break e}j=j.return}if(Yt===null)throw Error(r(160));Q5(v,_,x),Yt=null,yr=!1,v=x.alternate,v!==null&&(v.return=null),x.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)K5(l,s),l=l.sibling}var Ta=null;function K5(s,l){var d=s.alternate,m=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:vr(l,s),Er(s),m&4&&(pi(3,s,s.return),du(3,s),pi(5,s,s.return));break;case 1:vr(l,s),Er(s),m&512&&(yn||d===null||Fa(d,d.return)),m&64&&_s&&(s=s.updateQueue,s!==null&&(m=s.callbacks,m!==null&&(d=s.shared.hiddenCallbacks,s.shared.hiddenCallbacks=d===null?m:d.concat(m))));break;case 26:var x=Ta;if(vr(l,s),Er(s),m&512&&(yn||d===null||Fa(d,d.return)),m&4){var v=d!==null?d.memoizedState:null;if(m=s.memoizedState,d===null)if(m===null)if(s.stateNode===null){e:{m=s.type,d=s.memoizedProps,x=x.ownerDocument||x;t:switch(m){case"title":v=x.getElementsByTagName("title")[0],(!v||v[zc]||v[Un]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=x.createElement(m),x.head.insertBefore(v,x.querySelector("head > title"))),Gn(v,m,d),v[Un]=s,Rn(v),m=v;break e;case"link":var _=K3("link","href",x).get(m+(d.href||""));if(_){for(var j=0;j<_.length;j++)if(v=_[j],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)){_.splice(j,1);break t}}v=x.createElement(m),Gn(v,m,d),x.head.appendChild(v);break;case"meta":if(_=K3("meta","content",x).get(m+(d.content||""))){for(j=0;j<_.length;j++)if(v=_[j],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)){_.splice(j,1);break t}}v=x.createElement(m),Gn(v,m,d),x.head.appendChild(v);break;default:throw Error(r(468,m))}v[Un]=s,Rn(v),m=v}s.stateNode=m}else Z3(x,s.type,s.stateNode);else s.stateNode=W3(x,m,s.memoizedProps);else v!==m?(v===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):v.count--,m===null?Z3(x,s.type,s.stateNode):W3(x,m,s.memoizedProps)):m===null&&s.stateNode!==null&&r1(s,s.memoizedProps,d.memoizedProps)}break;case 27:vr(l,s),Er(s),m&512&&(yn||d===null||Fa(d,d.return)),d!==null&&m&4&&r1(s,s.memoizedProps,d.memoizedProps);break;case 5:if(vr(l,s),Er(s),m&512&&(yn||d===null||Fa(d,d.return)),s.flags&32){x=s.stateNode;try{xl(x,"")}catch(Ue){Dt(s,s.return,Ue)}}m&4&&s.stateNode!=null&&(x=s.memoizedProps,r1(s,x,d!==null?d.memoizedProps:x)),m&1024&&(i1=!0);break;case 6:if(vr(l,s),Er(s),m&4){if(s.stateNode===null)throw Error(r(162));m=s.memoizedProps,d=s.stateNode;try{d.nodeValue=m}catch(Ue){Dt(s,s.return,Ue)}}break;case 3:if(nh=null,x=Ta,Ta=eh(l.containerInfo),vr(l,s),Ta=x,Er(s),m&4&&d!==null&&d.memoizedState.isDehydrated)try{Ql(l.containerInfo)}catch(Ue){Dt(s,s.return,Ue)}i1&&(i1=!1,Z5(s));break;case 4:m=Ta,Ta=eh(s.stateNode.containerInfo),vr(l,s),Er(s),Ta=m;break;case 12:vr(l,s),Er(s);break;case 31:vr(l,s),Er(s),m&4&&(m=s.updateQueue,m!==null&&(s.updateQueue=null,Fd(s,m)));break;case 13:vr(l,s),Er(s),s.child.flags&8192&&s.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(Ud=zn()),m&4&&(m=s.updateQueue,m!==null&&(s.updateQueue=null,Fd(s,m)));break;case 22:x=s.memoizedState!==null;var K=d!==null&&d.memoizedState!==null,he=_s,be=yn;if(_s=he||x,yn=be||K,vr(l,s),yn=be,_s=he,Er(s),m&8192)e:for(l=s.stateNode,l._visibility=x?l._visibility&-2:l._visibility|1,x&&(d===null||K||_s||yn||Eo(s)),d=null,l=s;;){if(l.tag===5||l.tag===26){if(d===null){K=d=l;try{if(v=K.stateNode,x)_=v.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{j=K.stateNode;var Ee=K.memoizedProps.style,fe=Ee!=null&&Ee.hasOwnProperty("display")?Ee.display:null;j.style.display=fe==null||typeof fe=="boolean"?"":(""+fe).trim()}}catch(Ue){Dt(K,K.return,Ue)}}}else if(l.tag===6){if(d===null){K=l;try{K.stateNode.nodeValue=x?"":K.memoizedProps}catch(Ue){Dt(K,K.return,Ue)}}}else if(l.tag===18){if(d===null){K=l;try{var ge=K.stateNode;x?H3(ge,!0):H3(K.stateNode,!1)}catch(Ue){Dt(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}m&4&&(m=s.updateQueue,m!==null&&(d=m.retryQueue,d!==null&&(m.retryQueue=null,Fd(s,d))));break;case 19:vr(l,s),Er(s),m&4&&(m=s.updateQueue,m!==null&&(s.updateQueue=null,Fd(s,m)));break;case 30:break;case 21:break;default:vr(l,s),Er(s)}}function Er(s){var l=s.flags;if(l&2){try{for(var d,m=s.return;m!==null;){if(q5(m)){d=m;break}m=m.return}if(d==null)throw Error(r(160));switch(d.tag){case 27:var x=d.stateNode,v=a1(s);zd(s,v,x);break;case 5:var _=d.stateNode;d.flags&32&&(xl(_,""),d.flags&=-33);var j=a1(s);zd(s,j,_);break;case 3:case 4:var K=d.stateNode.containerInfo,he=a1(s);s1(s,he,K);break;default:throw Error(r(161))}}catch(be){Dt(s,s.return,be)}s.flags&=-3}l&4096&&(s.flags&=-4097)}function Z5(s){if(s.subtreeFlags&1024)for(s=s.child;s!==null;){var l=s;Z5(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),s=s.sibling}}function Ns(s,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)G5(s,l.alternate,l),l=l.sibling}function Eo(s){for(s=s.child;s!==null;){var l=s;switch(l.tag){case 0:case 11:case 14:case 15:pi(4,l,l.return),Eo(l);break;case 1:Fa(l,l.return);var d=l.stateNode;typeof d.componentWillUnmount=="function"&&H5(l,l.return,d),Eo(l);break;case 27:Eu(l.stateNode);case 26:case 5:Fa(l,l.return),Eo(l);break;case 22:l.memoizedState===null&&Eo(l);break;case 30:Eo(l);break;default:Eo(l)}s=s.sibling}}function Cs(s,l,d){for(d=d&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var m=l.alternate,x=s,v=l,_=v.flags;switch(v.tag){case 0:case 11:case 15:Cs(x,v,d),du(4,v);break;case 1:if(Cs(x,v,d),m=v,x=m.stateNode,typeof x.componentDidMount=="function")try{x.componentDidMount()}catch(he){Dt(m,m.return,he)}if(m=v,x=m.updateQueue,x!==null){var j=m.stateNode;try{var K=x.shared.hiddenCallbacks;if(K!==null)for(x.shared.hiddenCallbacks=null,x=0;x<K.length;x++)Cy(K[x],j)}catch(he){Dt(m,m.return,he)}}d&&_&64&&F5(v),hu(v,v.return);break;case 27:V5(v);case 26:case 5:Cs(x,v,d),d&&m===null&&_&4&&U5(v),hu(v,v.return);break;case 12:Cs(x,v,d);break;case 31:Cs(x,v,d),d&&_&4&&X5(x,v);break;case 13:Cs(x,v,d),d&&_&4&&W5(x,v);break;case 22:v.memoizedState===null&&Cs(x,v,d),hu(v,v.return);break;case 30:break;default:Cs(x,v,d)}l=l.sibling}}function o1(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&&Zc(d))}function l1(s,l){s=null,l.alternate!==null&&(s=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==s&&(l.refCount++,s!=null&&Zc(s))}function ka(s,l,d,m){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)J5(s,l,d,m),l=l.sibling}function J5(s,l,d,m){var x=l.flags;switch(l.tag){case 0:case 11:case 15:ka(s,l,d,m),x&2048&&du(9,l);break;case 1:ka(s,l,d,m);break;case 3:ka(s,l,d,m),x&2048&&(s=null,l.alternate!==null&&(s=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==s&&(l.refCount++,s!=null&&Zc(s)));break;case 12:if(x&2048){ka(s,l,d,m),s=l.stateNode;try{var v=l.memoizedProps,_=v.id,j=v.onPostCommit;typeof j=="function"&&j(_,l.alternate===null?"mount":"update",s.passiveEffectDuration,-0)}catch(K){Dt(l,l.return,K)}}else ka(s,l,d,m);break;case 31:ka(s,l,d,m);break;case 13:ka(s,l,d,m);break;case 23:break;case 22:v=l.stateNode,_=l.alternate,l.memoizedState!==null?v._visibility&2?ka(s,l,d,m):fu(s,l):v._visibility&2?ka(s,l,d,m):(v._visibility|=2,jl(s,l,d,m,(l.subtreeFlags&10256)!==0||!1)),x&2048&&o1(_,l);break;case 24:ka(s,l,d,m),x&2048&&l1(l.alternate,l);break;default:ka(s,l,d,m)}}function jl(s,l,d,m,x){for(x=x&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var v=s,_=l,j=d,K=m,he=_.flags;switch(_.tag){case 0:case 11:case 15:jl(v,_,j,K,x),du(8,_);break;case 23:break;case 22:var be=_.stateNode;_.memoizedState!==null?be._visibility&2?jl(v,_,j,K,x):fu(v,_):(be._visibility|=2,jl(v,_,j,K,x)),x&&he&2048&&o1(_.alternate,_);break;case 24:jl(v,_,j,K,x),x&&he&2048&&l1(_.alternate,_);break;default:jl(v,_,j,K,x)}l=l.sibling}}function fu(s,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var d=s,m=l,x=m.flags;switch(m.tag){case 22:fu(d,m),x&2048&&o1(m.alternate,m);break;case 24:fu(d,m),x&2048&&l1(m.alternate,m);break;default:fu(d,m)}l=l.sibling}}var mu=8192;function Bl(s,l,d){if(s.subtreeFlags&mu)for(s=s.child;s!==null;)e3(s,l,d),s=s.sibling}function e3(s,l,d){switch(s.tag){case 26:Bl(s,l,d),s.flags&mu&&s.memoizedState!==null&&HC(d,Ta,s.memoizedState,s.memoizedProps);break;case 5:Bl(s,l,d);break;case 3:case 4:var m=Ta;Ta=eh(s.stateNode.containerInfo),Bl(s,l,d),Ta=m;break;case 22:s.memoizedState===null&&(m=s.alternate,m!==null&&m.memoizedState!==null?(m=mu,mu=16777216,Bl(s,l,d),mu=m):Bl(s,l,d));break;default:Bl(s,l,d)}}function t3(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 pu(s){var l=s.deletions;if((s.flags&16)!==0){if(l!==null)for(var d=0;d<l.length;d++){var m=l[d];Dn=m,r3(m,s)}t3(s)}if(s.subtreeFlags&10256)for(s=s.child;s!==null;)n3(s),s=s.sibling}function n3(s){switch(s.tag){case 0:case 11:case 15:pu(s),s.flags&2048&&pi(9,s,s.return);break;case 3:pu(s);break;case 12:pu(s);break;case 22:var l=s.stateNode;s.memoizedState!==null&&l._visibility&2&&(s.return===null||s.return.tag!==13)?(l._visibility&=-3,Hd(s)):pu(s);break;default:pu(s)}}function Hd(s){var l=s.deletions;if((s.flags&16)!==0){if(l!==null)for(var d=0;d<l.length;d++){var m=l[d];Dn=m,r3(m,s)}t3(s)}for(s=s.child;s!==null;){switch(l=s,l.tag){case 0:case 11:case 15:pi(8,l,l.return),Hd(l);break;case 22:d=l.stateNode,d._visibility&2&&(d._visibility&=-3,Hd(l));break;default:Hd(l)}s=s.sibling}}function r3(s,l){for(;Dn!==null;){var d=Dn;switch(d.tag){case 0:case 11:case 15:pi(8,d,l);break;case 23:case 22:if(d.memoizedState!==null&&d.memoizedState.cachePool!==null){var m=d.memoizedState.cachePool.pool;m!=null&&m.refCount++}break;case 24:Zc(d.memoizedState.cache)}if(m=d.child,m!==null)m.return=d,Dn=m;else e:for(d=s;Dn!==null;){m=Dn;var x=m.sibling,v=m.return;if(Y5(m),m===d){Dn=null;break e}if(x!==null){x.return=v,Dn=x;break e}Dn=v}}}var nC={getCacheForType:function(s){var l=Vn(gn),d=l.data.get(s);return d===void 0&&(d=s(),l.data.set(s,d)),d},cacheSignal:function(){return Vn(gn).controller.signal}},rC=typeof WeakMap=="function"?WeakMap:Map,Nt=0,jt=null,pt=null,bt=0,Rt=0,jr=null,gi=!1,zl=!1,c1=!1,Os=0,nn=0,xi=0,wo=0,u1=0,Br=0,Fl=0,gu=null,wr=null,d1=!1,Ud=0,a3=0,qd=1/0,Vd=null,bi=null,Tn=0,yi=null,Hl=null,Rs=0,h1=0,f1=null,s3=null,xu=0,m1=null;function zr(){return(Nt&2)!==0&&bt!==0?bt&-bt:L.T!==null?v1():Im()}function i3(){if(Br===0)if((bt&536870912)===0||Et){var s=cl;cl<<=1,(cl&3932160)===0&&(cl=262144),Br=s}else Br=536870912;return s=Lr.current,s!==null&&(s.flags|=32),Br}function Sr(s,l,d){(s===jt&&(Rt===2||Rt===9)||s.cancelPendingCommit!==null)&&(Ul(s,0),vi(s,bt,Br,!1)),Wt(s,d),((Nt&2)===0||s!==jt)&&(s===jt&&((Nt&2)===0&&(wo|=d),nn===4&&vi(s,bt,Br,!1)),Ha(s))}function o3(s,l,d){if((Nt&6)!==0)throw Error(r(327));var m=!d&&(l&127)===0&&(l&s.expiredLanes)===0||Gt(s,l),x=m?iC(s,l):g1(s,l,!0),v=m;do{if(x===0){zl&&!m&&vi(s,l,0,!1);break}
vendor: 20,508 bytes, line 49
49else{if(d=s.current.alternate,v&&!aC(d)){x=g1(s,l,!1),v=!1;continue}if(x===2){if(v=l,s.errorRecoveryDisabledLanes&v)var _=0;else _=s.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){l=_;e:{var j=s;x=gu;var K=j.current.memoizedState.isDehydrated;if(K&&(Ul(j,_).flags|=256),_=g1(j,_,!1),_!==2){if(c1&&!K){j.errorRecoveryDisabledLanes|=v,wo|=v,x=4;break e}v=wr,wr=x,v!==null&&(wr===null?wr=v:wr.push.apply(wr,v))}x=_}if(v=!1,x!==2)continue}}if(x===1){Ul(s,0),vi(s,l,0,!0);break}e:{switch(m=s,v=x,v){case 0:case 1:throw Error(r(345));case 4:if((l&4194048)!==l)break;case 6:vi(m,l,Br,!gi);break e;case 2:wr=null;break;case 3:case 5:break;default:throw Error(r(329))}if((l&62914560)===l&&(x=Ud+300-zn(),10<x)){if(vi(m,l,Br,!gi),nt(m,0,!0)!==0)break e;Rs=l,m.timeoutHandle=B3(l3.bind(null,m,d,wr,Vd,d1,l,Br,wo,Fl,gi,v,"Throttled",-0,0),x);break e}l3(m,d,wr,Vd,d1,l,Br,wo,Fl,gi,v,null,-0,0)}}break}while(!0);Ha(s)}function l3(s,l,d,m,x,v,_,j,K,he,be,Ee,fe,ge){if(s.timeoutHandle=-1,Ee=l.subtreeFlags,Ee&8192||(Ee&16785408)===16785408){Ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:gs},e3(l,v,Ee);var Ue=(v&62914560)===v?Ud-zn():(v&4194048)===v?a3-zn():0;if(Ue=UC(Ee,Ue),Ue!==null){Rs=v,s.cancelPendingCommit=Ue(g3.bind(null,s,l,v,d,m,x,_,j,K,be,Ee,null,fe,ge)),vi(s,v,_,!he);return}}g3(s,l,v,d,m,x,_,j,K)}function aC(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 m=0;m<d.length;m++){var x=d[m],v=x.getSnapshot;x=x.value;try{if(!Mr(v(),x))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 vi(s,l,d,m){l&=~u1,l&=~wo,s.suspendedLanes|=l,s.pingedLanes&=~l,m&&(s.warmLanes|=l),m=s.expirationTimes;for(var x=l;0<x;){var v=31-Ct(x),_=1<<v;m[v]=-1,x&=~_}d!==0&&ao(s,d,l)}function $d(){return(Nt&6)===0?(bu(0),!1):!0}function p1(){if(pt!==null){if(Rt===0)var s=pt.return;else s=pt,vs=fo=null,Rp(s),Dl=null,eu=0,s=pt;for(;s!==null;)z5(s.alternate,s),s=s.return;pt=null}}function Ul(s,l){var d=s.timeoutHandle;d!==-1&&(s.timeoutHandle=-1,TC(d)),d=s.cancelPendingCommit,d!==null&&(s.cancelPendingCommit=null,d()),Rs=0,p1(),jt=s,pt=d=bs(s.current,null),bt=l,Rt=0,jr=null,gi=!1,zl=Gt(s,l),c1=!1,Fl=Br=u1=wo=xi=nn=0,wr=gu=null,d1=!1,(l&8)!==0&&(l|=l&32);var m=s.entangledLanes;if(m!==0)for(s=s.entanglements,m&=l;0<m;){var x=31-Ct(m),v=1<<x;l|=s[x],m&=~v}return Os=l,hd(),d}function c3(s,l){st=null,L.H=lu,l===Rl||l===vd?(l=ky(),Rt=3):l===yp?(l=ky(),Rt=4):Rt=l===Yp?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,jr=l,pt===null&&(nn=1,Id(s,na(l,s.current)))}function u3(){var s=Lr.current;return s===null?!0:(bt&4194048)===bt?ia===null:(bt&62914560)===bt||(bt&536870912)!==0?s===ia:!1}function d3(){var s=L.H;return L.H=lu,s===null?lu:s}function h3(){var s=L.A;return L.A=nC,s}function Gd(){nn=4,gi||(bt&4194048)!==bt&&Lr.current!==null||(zl=!0),(xi&134217727)===0&&(wo&134217727)===0||jt===null||vi(jt,bt,Br,!1)}function g1(s,l,d){var m=Nt;Nt|=2;var x=d3(),v=h3();(jt!==s||bt!==l)&&(Vd=null,Ul(s,l)),l=!1;var _=nn;e:do try{if(Rt!==0&&pt!==null){var j=pt,K=jr;switch(Rt){case 8:p1(),_=6;break e;case 3:case 2:case 9:case 6:Lr.current===null&&(l=!0);var he=Rt;if(Rt=0,jr=null,ql(s,j,K,he),d&&zl){_=0;break e}break;default:he=Rt,Rt=0,jr=null,ql(s,j,K,he)}}sC(),_=nn;break}catch(be){c3(s,be)}while(!0);return l&&s.shellSuspendCounter++,vs=fo=null,Nt=m,L.H=x,L.A=v,pt===null&&(jt=null,bt=0,hd()),_}function sC(){for(;pt!==null;)f3(pt)}function iC(s,l){var d=Nt;Nt|=2;var m=d3(),x=h3();jt!==s||bt!==l?(Vd=null,qd=zn()+500,Ul(s,l)):zl=Gt(s,l);e:do try{if(Rt!==0&&pt!==null){l=pt;var v=jr;t:switch(Rt){case 1:Rt=0,jr=null,ql(s,l,v,1);break;case 2:case 9:if(Sy(v)){Rt=0,jr=null,m3(l);break}l=function(){Rt!==2&&Rt!==9||jt!==s||(Rt=7),Ha(s)},v.then(l,l);break e;case 3:Rt=7;break e;case 4:Rt=5;break e;case 7:Sy(v)?(Rt=0,jr=null,m3(l)):(Rt=0,jr=null,ql(s,l,v,7));break;case 5:var _=null;switch(pt.tag){case 26:_=pt.memoizedState;case 5:case 27:var j=pt;if(_?J3(_):j.stateNode.complete){Rt=0,jr=null;var K=j.sibling;if(K!==null)pt=K;else{var he=j.return;he!==null?(pt=he,Yd(he)):pt=null}break t}}Rt=0,jr=null,ql(s,l,v,5);break;case 6:Rt=0,jr=null,ql(s,l,v,6);break;case 8:p1(),nn=6;break e;default:throw Error(r(462))}}oC();break}catch(be){c3(s,be)}while(!0);return vs=fo=null,L.H=m,L.A=x,Nt=d,pt!==null?0:(jt=null,bt=0,hd(),nn)}function oC(){for(;pt!==null&&!Bn();)f3(pt)}function f3(s){var l=j5(s.alternate,s,Os);s.memoizedProps=s.pendingProps,l===null?Yd(s):pt=l}function m3(s){var l=s,d=l.alternate;switch(l.tag){case 15:case 0:l=R5(d,l,l.pendingProps,l.type,void 0,bt);break;case 11:l=R5(d,l,l.pendingProps,l.type.render,l.ref,bt);break;case 5:Rp(l);default:z5(d,l),l=pt=hy(l,Os),l=j5(d,l,Os)}s.memoizedProps=s.pendingProps,l===null?Yd(s):pt=l}function ql(s,l,d,m){vs=fo=null,Rp(l),Dl=null,eu=0;var x=l.return;try{if(XN(s,x,l,d,bt)){nn=1,Id(s,na(d,s.current)),pt=null;return}}catch(v){if(x!==null)throw pt=x,v;nn=1,Id(s,na(d,s.current)),pt=null;return}l.flags&32768?(Et||m===1?s=!0:zl||(bt&536870912)!==0?s=!1:(gi=s=!0,(m===2||m===9||m===3||m===6)&&(m=Lr.current,m!==null&&m.tag===13&&(m.flags|=16384))),p3(l,s)):Yd(l)}function Yd(s){var l=s;do{if((l.flags&32768)!==0){p3(l,gi);return}s=l.return;var d=ZN(l.alternate,l,Os);if(d!==null){pt=d;return}if(l=l.sibling,l!==null){pt=l;return}pt=l=s}while(l!==null);nn===0&&(nn=5)}function p3(s,l){do{var d=JN(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);nn=6,pt=null}function g3(s,l,d,m,x,v,_,j,K){s.cancelPendingCommit=null;do Qd();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|=ap,mr(s,d,v,_,j,K),s===jt&&(pt=jt=null,bt=0),Hl=l,yi=s,Rs=d,h1=v,f1=x,s3=m,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(s.callbackNode=null,s.callbackPriority=0,dC(Ze,function(){return E3(),null})):(s.callbackNode=null,s.callbackPriority=0),m=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||m){m=L.T,L.T=null,x=J.p,J.p=2,_=Nt,Nt|=4;try{eC(s,l,d)}finally{Nt=_,J.p=x,L.T=m}}Tn=1,x3(),b3(),y3()}}function x3(){if(Tn===1){Tn=0;var s=yi,l=Hl,d=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||d){d=L.T,L.T=null;var m=J.p;J.p=2;var x=Nt;Nt|=4;try{K5(l,s);var v=N1,_=ry(s.containerInfo),j=v.focusedElem,K=v.selectionRange;if(_!==j&&j&&j.ownerDocument&&ny(j.ownerDocument.documentElement,j)){if(K!==null&&Jm(j)){var he=K.start,be=K.end;if(be===void 0&&(be=he),"selectionStart"in j)j.selectionStart=he,j.selectionEnd=Math.min(be,j.value.length);else{var Ee=j.ownerDocument||document,fe=Ee&&Ee.defaultView||window;if(fe.getSelection){var ge=fe.getSelection(),Ue=j.textContent.length,Je=Math.min(K.start,Ue),Lt=K.end===void 0?Je:Math.min(K.end,Ue);!ge.extend&&Je>Lt&&(_=Lt,Lt=Je,Je=_);var ie=ty(j,Je),ne=ty(j,Lt);if(ie&&ne&&(ge.rangeCount!==1||ge.anchorNode!==ie.node||ge.anchorOffset!==ie.offset||ge.focusNode!==ne.node||ge.focusOffset!==ne.offset)){var ue=Ee.createRange();ue.setStart(ie.node,ie.offset),ge.removeAllRanges(),Je>Lt?(ge.addRange(ue),ge.extend(ne.node,ne.offset)):(ue.setEnd(ne.node,ne.offset),ge.addRange(ue))}}}}for(Ee=[],ge=j;ge=ge.parentNode;)ge.nodeType===1&&Ee.push({element:ge,left:ge.scrollLeft,top:ge.scrollTop});for(typeof j.focus=="function"&&j.focus(),j=0;j<Ee.length;j++){var ve=Ee[j];ve.element.scrollLeft=ve.left,ve.element.scrollTop=ve.top}}ih=!!A1,N1=A1=null}finally{Nt=x,J.p=m,L.T=d}}s.current=l,Tn=2}}function b3(){if(Tn===2){Tn=0;var s=yi,l=Hl,d=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||d){d=L.T,L.T=null;var m=J.p;J.p=2;var x=Nt;Nt|=4;try{G5(s,l.alternate,l)}finally{Nt=x,J.p=m,L.T=d}}Tn=3}}function y3(){if(Tn===4||Tn===3){Tn=0,Ia();var s=yi,l=Hl,d=Rs,m=s3;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Tn=5:(Tn=0,Hl=yi=null,v3(s,s.pendingLanes));var x=s.pendingLanes;if(x===0&&(bi=null),wa(d),l=l.stateNode,cn&&typeof cn.onCommitFiberRoot=="function")try{cn.onCommitFiberRoot(Fn,l,void 0,(l.current.flags&128)===128)}catch{}if(m!==null){l=L.T,x=J.p,J.p=2,L.T=null;try{for(var v=s.onRecoverableError,_=0;_<m.length;_++){var j=m[_];v(j.value,{componentStack:j.stack})}}finally{L.T=l,J.p=x}}(Rs&3)!==0&&Qd(),Ha(s),x=s.pendingLanes,(d&261930)!==0&&(x&42)!==0?s===m1?xu++:(xu=0,m1=s):xu=0,bu(0)}}function v3(s,l){(s.pooledCacheLanes&=l)===0&&(l=s.pooledCache,l!=null&&(s.pooledCache=null,Zc(l)))}function Qd(){return x3(),b3(),y3(),E3()}function E3(){if(Tn!==5)return!1;var s=yi,l=h1;h1=0;var d=wa(Rs),m=L.T,x=J.p;try{J.p=32>d?32:d,L.T=null,d=f1,f1=null;var v=yi,_=Rs;if(Tn=0,Hl=yi=null,Rs=0,(Nt&6)!==0)throw Error(r(331));var j=Nt;if(Nt|=4,n3(v.current),J5(v,v.current,_,d),Nt=j,bu(0,!1),cn&&typeof cn.onPostCommitFiberRoot=="function")try{cn.onPostCommitFiberRoot(Fn,v)}catch{}return!0}finally{J.p=x,L.T=m,v3(s,l)}}function w3(s,l,d){l=na(d,l),l=Gp(s.stateNode,l,2),s=hi(s,l,2),s!==null&&(Wt(s,2),Ha(s))}function Dt(s,l,d){if(s.tag===3)w3(s,s,d);else for(;l!==null;){if(l.tag===3){w3(l,s,d);break}else if(l.tag===1){var m=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(bi===null||!bi.has(m))){s=na(d,s),d=S5(2),m=hi(l,d,2),m!==null&&(T5(d,m,l,s),Wt(m,2),Ha(m));break}}l=l.return}}function x1(s,l,d){var m=s.pingCache;if(m===null){m=s.pingCache=new rC;var x=new Set;m.set(l,x)}else x=m.get(l),x===void 0&&(x=new Set,m.set(l,x));x.has(d)||(c1=!0,x.add(d),s=lC.bind(null,s,l,d),l.then(s,s))}function lC(s,l,d){var m=s.pingCache;m!==null&&m.delete(l),s.pingedLanes|=s.suspendedLanes&d,s.warmLanes&=~d,jt===s&&(bt&d)===d&&(nn===4||nn===3&&(bt&62914560)===bt&&300>zn()-Ud?(Nt&2)===0&&Ul(s,0):u1|=d,Fl===bt&&(Fl=0)),Ha(s)}function S3(s,l){l===0&&(l=Xn()),s=co(s,l),s!==null&&(Wt(s,l),Ha(s))}function cC(s){var l=s.memoizedState,d=0;l!==null&&(d=l.retryLane),S3(s,d)}function uC(s,l){var d=0;switch(s.tag){case 31:case 13:var m=s.stateNode,x=s.memoizedState;x!==null&&(d=x.retryLane);break;case 19:m=s.stateNode;break;case 22:m=s.stateNode._retryCache;break;default:throw Error(r(314))}m!==null&&m.delete(l),S3(s,d)}function dC(s,l){return ni(s,l)}var Xd=null,Vl=null,b1=!1,Wd=!1,y1=!1,Ei=0;function Ha(s){s!==Vl&&s.next===null&&(Vl===null?Xd=Vl=s:Vl=Vl.next=s),Wd=!0,b1||(b1=!0,fC())}function bu(s,l){if(!y1&&Wd){y1=!0;do for(var d=!1,m=Xd;m!==null;){if(s!==0){var x=m.pendingLanes;if(x===0)var v=0;else{var _=m.suspendedLanes,j=m.pingedLanes;v=(1<<31-Ct(42|s)+1)-1,v&=x&~(_&~j),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(d=!0,A3(m,v))}else v=bt,v=nt(m,m===jt?v:0,m.cancelPendingCommit!==null||m.timeoutHandle!==-1),(v&3)===0||Gt(m,v)||(d=!0,A3(m,v));m=m.next}while(d);y1=!1}}function hC(){T3()}function T3(){Wd=b1=!1;var s=0;Ei!==0&&SC()&&(s=Ei);for(var l=zn(),d=null,m=Xd;m!==null;){var x=m.next,v=k3(m,l);v===0?(m.next=null,d===null?Xd=x:d.next=x,x===null&&(Vl=d)):(d=m,(s!==0||(v&3)!==0)&&(Wd=!0)),m=x}Tn!==0&&Tn!==5||bu(s),Ei!==0&&(Ei=0)}function k3(s,l){for(var d=s.suspendedLanes,m=s.pingedLanes,x=s.expirationTimes,v=s.pendingLanes&-62914561;0<v;){var _=31-Ct(v),j=1<<_,K=x[_];K===-1?((j&d)===0||(j&m)!==0)&&(x[_]=On(j,l)):K<=l&&(s.expiredLanes|=j),v&=~j}if(l=jt,d=bt,d=nt(s,s===l?d:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),m=s.callbackNode,d===0||s===l&&(Rt===2||Rt===9)||s.cancelPendingCommit!==null)return m!==null&&m!==null&&no(m),s.callbackNode=null,s.callbackPriority=0;if((d&3)===0||Gt(s,d)){if(l=d&-d,l===s.callbackPriority)return l;switch(m!==null&&no(m),wa(d)){case 2:case 8:d=De;break;case 32:d=Ze;break;case 268435456:d=mt;break;default:d=Ze}return m=_3.bind(null,s),d=ni(d,m),s.callbackPriority=l,s.callbackNode=d,l}return m!==null&&m!==null&&no(m),s.callbackPriority=2,s.callbackNode=null,2}function _3(s,l){if(Tn!==0&&Tn!==5)return s.callbackNode=null,s.callbackPriority=0,null;var d=s.callbackNode;if(Qd()&&s.callbackNode!==d)return null;var m=bt;return m=nt(s,s===jt?m:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),m===0?null:(o3(s,m,l),k3(s,zn()),s.callbackNode!=null&&s.callbackNode===d?_3.bind(null,s):null)}function A3(s,l){if(Qd())return null;o3(s,l,!0)}function fC(){kC(function(){(Nt&6)!==0?ni(ye,hC):T3()})}function v1(){if(Ei===0){var s=Cl;s===0&&(s=ll,ll<<=1,(ll&261888)===0&&(ll=256)),Ei=s}return Ei}function N3(s){return s==null||typeof s=="symbol"||typeof s=="boolean"?null:typeof s=="function"?s:ad(""+s)}function C3(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 mC(s,l,d,m,x){if(l==="submit"&&d&&d.stateNode===x){var v=N3((x[xr]||null).action),_=m.submitter;_&&(l=(l=_[xr]||null)?N3(l.formAction):_.getAttribute("formAction"),l!==null&&(v=l,_=null));var j=new ld("action","action",null,m,x);s.push({event:j,listeners:[{instance:null,listener:function(){if(m.defaultPrevented){if(Ei!==0){var K=_?C3(x,_):new FormData(x);Fp(d,{pending:!0,data:K,method:x.method,action:v},null,K)}}else typeof v=="function"&&(j.preventDefault(),K=_?C3(x,_):new FormData(x),Fp(d,{pending:!0,data:K,method:x.method,action:v},v,K))},currentTarget:x}]})}}for(var E1=0;E1<rp.length;E1++){var w1=rp[E1],pC=w1.toLowerCase(),gC=w1[0].toUpperCase()+w1.slice(1);Sa(pC,"on"+gC)}Sa(iy,"onAnimationEnd"),Sa(oy,"onAnimationIteration"),Sa(ly,"onAnimationStart"),Sa("dblclick","onDoubleClick"),Sa("focusin","onFocus"),Sa("focusout","onBlur"),Sa(DN,"onTransitionRun"),Sa(MN,"onTransitionStart"),Sa(IN,"onTransitionCancel"),Sa(cy,"onTransitionEnd"),pl("onMouseEnter",["mouseout","mouseover"]),pl("onMouseLeave",["mouseout","mouseover"]),pl("onPointerEnter",["pointerout","pointerover"]),pl("onPointerLeave",["pointerout","pointerover"]),so("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),so("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),so("onBeforeInput",["compositionend","keypress","textInput","paste"]),so("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),so("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),so("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var yu="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(" "),xC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(yu));function O3(s,l){l=(l&4)!==0;for(var d=0;d<s.length;d++){var m=s[d],x=m.event;m=m.listeners;e:{var v=void 0;if(l)for(var _=m.length-1;0<=_;_--){var j=m[_],K=j.instance,he=j.currentTarget;if(j=j.listener,K!==v&&x.isPropagationStopped())break e;v=j,x.currentTarget=he;try{v(x)}catch(be){dd(be)}x.currentTarget=null,v=K}else for(_=0;_<m.length;_++){if(j=m[_],K=j.instance,he=j.currentTarget,j=j.listener,K!==v&&x.isPropagationStopped())break e;v=j,x.currentTarget=he;try{v(x)}catch(be){dd(be)}x.currentTarget=null,v=K}}}}function gt(s,l){var d=l[Lm];d===void 0&&(d=l[Lm]=new Set);var m=s+"__bubble";d.has(m)||(R3(l,s,2,!1),d.add(m))}function S1(s,l,d){var m=0;l&&(m|=4),R3(d,s,m,l)}var Kd="_reactListening"+Math.random().toString(36).slice(2);function T1(s){if(!s[Kd]){s[Kd]=!0,T4.forEach(function(d){d!=="selectionchange"&&(xC.has(d)||S1(d,!1,s),S1(d,!0,s))});var l=s.nodeType===9?s:s.ownerDocument;l===null||l[Kd]||(l[Kd]=!0,S1("selectionchange",!1,l))}}function R3(s,l,d,m){switch(iv(l)){case 2:var x=$C;break;case 8:x=GC;break;default:x=z1}d=x.bind(null,l,d,s),x=void 0,!Vm||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(x=!0),m?x!==void 0?s.addEventListener(l,d,{capture:!0,passive:x}):s.addEventListener(l,d,!0):x!==void 0?s.addEventListener(l,d,{passive:x}):s.addEventListener(l,d,!1)}function k1(s,l,d,m,x){var v=m;if((l&1)===0&&(l&2)===0&&m!==null)e:for(;;){if(m===null)return;var _=m.tag;if(_===3||_===4){var j=m.stateNode.containerInfo;if(j===x)break;if(_===4)for(_=m.return;_!==null;){var K=_.tag;if((K===3||K===4)&&_.stateNode.containerInfo===x)return;_=_.return}for(;j!==null;){if(_=hl(j),_===null)return;if(K=_.tag,K===5||K===6||K===26||K===27){m=v=_;continue e}j=j.parentNode}}m=m.return}P4(function(){var he=v,be=Um(d),Ee=[];e:{var fe=uy.get(s);if(fe!==void 0){var ge=ld,Ue=s;switch(s){case"keypress":if(id(d)===0)break e;case"keydown":case"keyup":ge=uN;break;case"focusin":Ue="focus",ge=Qm;break;case"focusout":Ue="blur",ge=Qm;break;case"beforeblur":case"afterblur":ge=Qm;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":ge=z4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ge=ZA;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ge=fN;break;case iy:case oy:case ly:ge=tN;break;case cy:ge=pN;break;case"scroll":case"scrollend":ge=WA;break;case"wheel":ge=xN;break;case"copy":case"cut":case"paste":ge=rN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ge=H4;break;case"toggle":case"beforetoggle":ge=yN}var Je=(l&4)!==0,Lt=!Je&&(s==="scroll"||s==="scrollend"),ie=Je?fe!==null?fe+"Capture":null:fe;Je=[];for(var ne=he,ue;ne!==null;){var ve=ne;if(ue=ve.stateNode,ve=ve.tag,ve!==5&&ve!==26&&ve!==27||ue===null||ie===null||(ve=Hc(ne,ie),ve!=null&&Je.push(vu(ne,ve,ue))),Lt)break;ne=ne.return}0<Je.length&&(fe=new ge(fe,Ue,null,d,be),Ee.push({event:fe,listeners:Je}))}}if((l&7)===0){e:{if(fe=s==="mouseover"||s==="pointerover",ge=s==="mouseout"||s==="pointerout",fe&&d!==Hm&&(Ue=d.relatedTarget||d.fromElement)&&(hl(Ue)||Ue[dl]))break e;if((ge||fe)&&(fe=be.window===be?be:(fe=be.ownerDocument)?fe.defaultView||fe.parentWindow:window,ge?(Ue=d.relatedTarget||d.toElement,ge=he,Ue=Ue?hl(Ue):null,Ue!==null&&(Lt=i(Ue),Je=Ue.tag,Ue!==Lt||Je!==5&&Je!==27&&Je!==6)&&(Ue=null)):(ge=null,Ue=he),ge!==Ue)){if(Je=z4,ve="onMouseLeave",ie="onMouseEnter",ne="mouse",(s==="pointerout"||s==="pointerover")&&(Je=H4,ve="onPointerLeave",ie="onPointerEnter",ne="pointer"),Lt=ge==null?fe:Fc(ge),ue=Ue==null?fe:Fc(Ue),fe=new Je(ve,ne+"leave",ge,d,be),fe.target=Lt,fe.relatedTarget=ue,ve=null,hl(be)===he&&(Je=new Je(ie,ne+"enter",Ue,d,be),Je.target=ue,Je.relatedTarget=Lt,ve=Je),Lt=ve,ge&&Ue)t:{for(Je=bC,ie=ge,ne=Ue,ue=0,ve=ie;ve;ve=Je(ve))ue++;ve=0;for(var Xe=ne;Xe;Xe=Je(Xe))ve++;for(;0<ue-ve;)ie=Je(ie),ue--;for(;0<ve-ue;)ne=Je(ne),ve--;for(;ue--;){if(ie===ne||ne!==null&&ie===ne.alternate){Je=ie;break t}ie=Je(ie),ne=Je(ne)}Je=null}else Je=null;ge!==null&&D3(Ee,fe,ge,Je,!1),Ue!==null&&Lt!==null&&D3(Ee,Lt,Ue,Je,!0)}}e:{if(fe=he?Fc(he):window,ge=fe.nodeName&&fe.nodeName.toLowerCase(),ge==="select"||ge==="input"&&fe.type==="file")var St=X4;else if(Y4(fe))if(W4)St=CN;else{St=AN;var Ye=_N}else ge=fe.nodeName,!ge||ge.toLowerCase()!=="input"||fe.type!=="checkbox"&&fe.type!=="radio"?he&&Fm(he.elementType)&&(St=X4):St=NN;if(St&&(St=St(s,he))){Q4(Ee,St,d,be);break e}Ye&&Ye(s,fe,he),s==="focusout"&&he&&fe.type==="number"&&he.memoizedProps.value!=null&&zm(fe,"number",fe.value)}switch(Ye=he?Fc(he):window,s){case"focusin":(Y4(Ye)||Ye.contentEditable==="true")&&(El=Ye,ep=he,Xc=null);break;case"focusout":Xc=ep=El=null;break;case"mousedown":tp=!0;break;case"contextmenu":case"mouseup":case"dragend":tp=!1,ay(Ee,d,be);break;case"selectionchange":if(RN)break;case"keydown":case"keyup":ay(Ee,d,be)}var lt;if(Wm)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 vl?$4(s,d)&&(yt="onCompositionEnd"):s==="keydown"&&d.keyCode===229&&(yt="onCompositionStart");yt&&(U4&&d.locale!=="ko"&&(vl||yt!=="onCompositionStart"?yt==="onCompositionEnd"&&vl&&(lt=j4()):(si=be,$m="value"in si?si.value:si.textContent,vl=!0)),Ye=Zd(he,yt),0<Ye.length&&(yt=new F4(yt,s,null,d,be),Ee.push({event:yt,listeners:Ye}),lt?yt.data=lt:(lt=G4(d),lt!==null&&(yt.data=lt)))),(lt=EN?wN(s,d):SN(s,d))&&(yt=Zd(he,"onBeforeInput"),0<yt.length&&(Ye=ne
vendor: 8,118 bytes, lines 49-50
49w F4("onBeforeInput","beforeinput",null,d,be),Ee.push({event:Ye,listeners:yt}),Ye.data=lt)),mC(Ee,s,he,d,be)}O3(Ee,l)})}function vu(s,l,d){return{instance:s,listener:l,currentTarget:d}}function Zd(s,l){for(var d=l+"Capture",m=[];s!==null;){var x=s,v=x.stateNode;if(x=x.tag,x!==5&&x!==26&&x!==27||v===null||(x=Hc(s,d),x!=null&&m.unshift(vu(s,x,v)),x=Hc(s,l),x!=null&&m.push(vu(s,x,v))),s.tag===3)return m;s=s.return}return[]}function bC(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5&&s.tag!==27);return s||null}function D3(s,l,d,m,x){for(var v=l._reactName,_=[];d!==null&&d!==m;){var j=d,K=j.alternate,he=j.stateNode;if(j=j.tag,K!==null&&K===m)break;j!==5&&j!==26&&j!==27||he===null||(K=he,x?(he=Hc(d,v),he!=null&&_.unshift(vu(d,he,K))):x||(he=Hc(d,v),he!=null&&_.push(vu(d,he,K)))),d=d.return}_.length!==0&&s.push({event:l,listeners:_})}var yC=/\r\n?/g,vC=/\u0000|\uFFFD/g;function M3(s){return(typeof s=="string"?s:""+s).replace(yC,` 50`).replace(vC,"")}function I3(s,l){return l=M3(l),M3(s)===l}function It(s,l,d,m,x,v){switch(d){case"children":typeof m=="string"?l==="body"||l==="textarea"&&m===""||xl(s,m):(typeof m=="number"||typeof m=="bigint")&&l!=="body"&&xl(s,""+m);break;case"className":nd(s,"class",m);break;case"tabIndex":nd(s,"tabindex",m);break;case"dir":case"role":case"viewBox":case"width":case"height":nd(s,d,m);break;case"style":I4(s,m,v);break;case"data":if(l!=="object"){nd(s,"data",m);break}case"src":case"href":if(m===""&&(l!=="a"||d!=="href")){s.removeAttribute(d);break}if(m==null||typeof m=="function"||typeof m=="symbol"||typeof m=="boolean"){s.removeAttribute(d);break}m=ad(""+m),s.setAttribute(d,m);break;case"action":case"formAction":if(typeof m=="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",x.name,x,null),It(s,l,"formEncType",x.formEncType,x,null),It(s,l,"formMethod",x.formMethod,x,null),It(s,l,"formTarget",x.formTarget,x,null)):(It(s,l,"encType",x.encType,x,null),It(s,l,"method",x.method,x,null),It(s,l,"target",x.target,x,null)));if(m==null||typeof m=="symbol"||typeof m=="boolean"){s.removeAttribute(d);break}m=ad(""+m),s.setAttribute(d,m);break;case"onClick":m!=null&&(s.onclick=gs);break;case"onScroll":m!=null&>("scroll",s);break;case"onScrollEnd":m!=null&>("scrollend",s);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(r(61));if(d=m.__html,d!=null){if(x.children!=null)throw Error(r(60));s.innerHTML=d}}break;case"multiple":s.multiple=m&&typeof m!="function"&&typeof m!="symbol";break;case"muted":s.muted=m&&typeof m!="function"&&typeof m!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(m==null||typeof m=="function"||typeof m=="boolean"||typeof m=="symbol"){s.removeAttribute("xlink:href");break}d=ad(""+m),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":m!=null&&typeof m!="function"&&typeof m!="symbol"?s.setAttribute(d,""+m):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"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":m&&typeof m!="function"&&typeof m!="symbol"?s.setAttribute(d,""):s.removeAttribute(d);break;case"capture":case"download":m===!0?s.setAttribute(d,""):m!==!1&&m!=null&&typeof m!="function"&&typeof m!="symbol"?s.setAttribute(d,m):s.removeAttribute(d);break;case"cols":case"rows":case"size":case"span":m!=null&&typeof m!="function"&&typeof m!="symbol"&&!isNaN(m)&&1<=m?s.setAttribute(d,m):s.removeAttribute(d);break;case"rowSpan":case"start":m==null||typeof m=="function"||typeof m=="symbol"||isNaN(m)?s.removeAttribute(d):s.setAttribute(d,m);break;case"popover":gt("beforetoggle",s),gt("toggle",s),td(s,"popover",m);break;case"xlinkActuate":ps(s,"http://www.w3.org/1999/xlink","xlink:actuate",m);break;case"xlinkArcrole":ps(s,"http://www.w3.org/1999/xlink","xlink:arcrole",m);break;case"xlinkRole":ps(s,"http://www.w3.org/1999/xlink","xlink:role",m);break;case"xlinkShow":ps(s,"http://www.w3.org/1999/xlink","xlink:show",m);break;case"xlinkTitle":ps(s,"http://www.w3.org/1999/xlink","xlink:title",m);break;case"xlinkType":ps(s,"http://www.w3.org/1999/xlink","xlink:type",m);break;case"xmlBase":ps(s,"http://www.w3.org/XML/1998/namespace","xml:base",m);break;case"xmlLang":ps(s,"http://www.w3.org/XML/1998/namespace","xml:lang",m);break;case"xmlSpace":ps(s,"http://www.w3.org/XML/1998/namespace","xml:space",m);break;case"is":td(s,"is",m);break;case"innerText":case"textContent":break;default:(!(2<d.length)||d[0]!=="o"&&d[0]!=="O"||d[1]!=="n"&&d[1]!=="N")&&(d=QA.get(d)||d,td(s,d,m))}}function _1(s,l,d,m,x,v){switch(d){case"style":I4(s,m,v);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(r(61));if(d=m.__html,d!=null){if(x.children!=null)throw Error(r(60));s.innerHTML=d}}break;case"children":typeof m=="string"?xl(s,m):(typeof m=="number"||typeof m=="bigint")&&xl(s,""+m);break;case"onScroll":m!=null&>("scroll",s);break;case"onScrollEnd":m!=null&>("scrollend",s);break;case"onClick":m!=null&&(s.onclick=gs);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!k4.hasOwnProperty(d))e:{if(d[0]==="o"&&d[1]==="n"&&(x=d.endsWith("Capture"),l=d.slice(2,x?d.length-7:void 0),v=s[xr]||null,v=v!=null?v[d]:null,typeof v=="function"&&s.removeEventListener(l,v,x),typeof m=="function")){typeof v!="function"&&v!==null&&(d in s?s[d]=null:s.hasAttribute(d)&&s.removeAttribute(d)),s.addEventListener(l,m,x);break e}d in s?s[d]=m:m===!0?s.setAttribute(d,""):td(s,d,m)}}}function Gn(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 m=!1,x=!1,v;for(v in d)if(d.hasOwnProperty(v)){var _=d[v];if(_!=null)switch(v){case"src":m=!0;break;case"srcSet":x=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:It(s,l,v,_,d,null)}}x&&It(s,l,"srcSet",d.srcSet,d,null),m&&It(s,l,"src",d.src,d,null);return;case"input":gt("invalid",s);var j=v=_=x=null,K=null,he=null;for(m in d)if(d.hasOwnProperty(m)){var be=d[m];if(be!=null)switch(m){case"name":x=be;break;case"type":_=be;break;case"checked":K=be;break;case"defaultChecked":he=be;break;case"value":v=be;break;case"defaultValue":j=be;break;case"children":case"dangerouslySetInnerHTML":if(be!=null)throw Error(r(137,l));break;default:It(s,l,m,be,d,null)}}O4(s,v,j,K,he,_,x,!1);return;case"select":gt("invalid",s),m=_=v=null;for(x in d)if(d.hasOwnProperty(x)&&(j=d[x],j!=null))switch(x){case"value":v=j;break;case"defaultValue":_=j;break;case"multiple":m=j;default:It(s,l,x,j,d,null)}l=v,d=_,s.multiple=!!m,l!=null?gl(s,!!m,l,!1):d!=null&&gl(s,!!m,d,!0);return;case"textarea":gt("invalid",s),v=x=m=null;for(_ in d)if(d.hasOwnProperty(_)&&(j=d[_],j!=null))switch(_){case"value":m=j;break;case"defaultValue":x=j;break;case"children":v=j;break;case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(91));break;default:It(s,l,_,j,d,null)}D4(s,m,x,v);return;case"option":for(K in d)if(d.hasOwnProperty(K)&&(m=d[K],m!=null))switch(K){case"selected":s.selected=m&&typeof m!="function"&&typeof m!="symbol";break;default:It(s,l,K,m,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(m=0;m<yu.length;m++)gt(yu[m],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(he in d)if(d.hasOwnProperty(he)&&(m=d[he],m!=null))switch(he){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:It(s,l,he,m,d,null)}return;default:if(Fm(l)){for(be in d)d.hasOwnProperty(be)&&(m=d[be],m!==void 0&&_1(s,l,be,m,d,void 0));return}}for(j in d)d.hasOwnProperty(j)&&(m=d[j],m!=null&&It(s,l,j,m,d,null))}function EC(s,l,d,m){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var x=null,v=null,_=null,j=null,K=null,he=null,be=null;for(ge in d){var Ee=d[ge];if(d.hasOwnProperty(ge)&&Ee!=null)switch(ge){case"checked":break;case"value":break;case"defaultValue":K=Ee;default:m.hasOwnProperty(ge)||It(s,l,ge,null,m,Ee)}}for(var fe in m){var ge=m[fe];if(Ee=d[fe],m.hasOwnProperty(fe)&&(ge!=null||Ee!=null))switch(fe){case"type":v=ge;break;case"name":x=ge;break;case"checked":he=ge;break;case"defaultChecked":be=ge;break;case"value":_=ge;break;case"defaultValue":j=ge;break;case"children":case"dangerouslySetInnerHTML":if(ge!=null)throw Error(r(137,l));break;default:ge!==Ee&&It(s,l,fe,ge,m,Ee)}}Bm(s,_,j,K,he,be,v,x);return;case"select":ge=_=j=fe=null;for(v in d)if(K=d[v],d.hasOwnProperty(v)&&K!=null)switch(v){case"value":break;case"multiple":ge=K;default:m.hasOwnProperty(v)||It(s,l,v,null,m,K)}for(x in m)if(v=m[x],K=d[x],m.hasOwnProperty(x)&&(v!=null||K!=null))switch(x){case"value":fe=v;break;case"defaultValue":j=v;break;case"multiple":_=v;default:v!==K&&It(s,l,x,v,m,K)}l=j,d=_,m=ge,fe!=null?gl(s,!!d,fe,!1):!!m!=!!d&&(l!=null?gl(s,!!d,l,!0):gl(s,!!d,d?[]:"",!1));return;case"textarea":ge=fe=null;for(j in d)if(x=d[j],d.hasOwnProperty(j)&&x!=null&&!m.hasOwnProperty(j))switch(j){case"value":break;case"children":break;default:It(s,l,j,null,m,x)}for(_ in m)if(x=m[_],v=d[_],m.hasOwnProperty(_)&&(x!=null||v!=null))switch(_){case"value":fe=x;break;case"defaultValue":ge=x;break;case"children":break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(91));break;default:x!==v&&It(s,l,_,x,m,v)}R4(s,fe,ge);return;case"option":for(var Ue in d)if(fe=d[Ue],d.hasOwnProperty(Ue)&&fe!=null&&!m.hasOwnProperty(Ue))switch(Ue){case"selected":s.selected=!1;break;default:It(s,l,Ue,null,m,fe)}for(K in m)if(fe=m[K],ge=d[K],m.hasOwnProperty(K)&&fe!==ge&&(fe!=null||ge!=null))switch(K){case"selected":s.selected=fe&&typeof fe!="function"&&typeof fe!="symbol";break;default:It(s,l,K,fe,m,ge)}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 Je in d)fe=d[Je],d.hasOwnProperty(Je)&&fe!=null&&!m.hasOwnProperty(Je)&&It(s,l,Je,null,m,fe);for(he in m)if(fe=m[he],ge=d[he],m.hasOwnProperty(he)&&fe!==ge&&(fe!=null||ge!=null))switch(he){case"children":case"dangerouslySetInnerHTML":if(fe!=null)throw Error(r(137,l));break;default:It(s,l,he,fe,m,ge)}return;default:if(Fm(l)){for(var Lt in d)fe=d[Lt],d.hasOwnProperty(Lt)&&fe!==void 0&&!m.hasOwnProperty(Lt)&&_1(s,l,Lt,void 0,m,fe);for(be in m)fe=m[be],ge=d[be],!m.hasOwnProperty(be)||fe===ge||fe===void 0&&ge===void 0||_1(s,l,be,fe,m,ge);return}}for(var ie in d)fe=d[ie],d.hasOwnProperty(ie)&&fe!=null&&!m.hasOwnProperty(ie)&&It(s,l,ie,null,m,fe);for(Ee in m)fe=m[Ee],ge=d[Ee],!m.hasOwnProperty(Ee)||fe===ge||fe==null&&ge==null||It(s,l,Ee,fe,m,ge)}function L3(s){switch(s){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function wC(){if(typeof performance.getEntriesByType=="function"){for(var s=0,l=0,d=performance.getEntriesByType("resource"),m=0;m<d.length;m++){var x=d[m],v=x.transferSize,_=x.initiatorType,j=x.duration;if(v&&j&&L3(_)){for(_=0,j=x.responseEnd,m+=1;m<d.length;m++){var K=d[m],he=K.startTime;if(he>j)break;var be=K.transferSize,Ee=K.initiatorType;be&&L3(Ee)&&(K=K.responseEnd,_+=be*(K<j?1:(j-he)/(K-he)))}if(--m,l+=8*(v+_)/(x.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 A1=null,N1=null;function Jd(s){return s.nodeType===9?s:s.ownerDocument}function P3(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 j3(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 C1(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 O1=null;function SC(){var s=window.event;return s&&s.type==="popstate"?s===O1?!1:(O1=s,!0):(O1=null,!1)}var B3=typeof setTimeout=="function"?setTimeout:void 0,TC=typeof clearTimeout=="function"?clearTimeout:void 0,z3=typeof Promise=="function"?Promise:void 0,kC=typeof queueMicrotask=="function"?queueMicrotask:typeof z3<"u"?function(s){return z3.resolve(null).then(s).catch(_C)}:B3;function _C(s){setTimeout(function(){throw s})}function wi(s){return s==="head"}function F3(s,l){var d=l,m=0;do{var x=d.nextSibling;if(s.removeChild(d),x&&x.nodeType===8)if(d=x.data,d==="/$"||d==="/&"){if(m===0){s.removeChild(x),Ql(l);return}m--}else if(d==="$"||d==="$?"||d==="$~"||d==="$!"||d==="&")m++;else if(d==="html")Eu(s.ownerDocument.documentElement);else if(d==="head"){d=s.ownerDocument.head,Eu(d);for(var v=d.firstChild;v;){var _=v.nextSibling,j=v.nodeName;v[zc]||j==="SCRIPT"||j==="STYLE"||j==="LINK"&&v.rel.toLowerCase()==="stylesheet"||d.removeChild(v),v=_}}else d==="body"&&Eu(s.ownerDocument.body);d=x}while(d);Ql(l)}function H3(s,l){var d=s;s=0;do{var m=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||""),m&&m.nodeType===8)if(d=m.data,d==="/$"){if(s===0)break;s--}else d!=="$"&&d!=="$?"&&d!=="$~"&&d!=="$!"||s++;d=m}while(d)}function R1(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":R1(d),Pm(d);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(d.rel.toLowerCase()==="stylesheet")continue}s.removeChild(d)}}function AC(s,l,d,m){for(;s.nodeType===1;){var x=d;if(s.nodeName.toLowerCase()!==l.toLowerCase()){if(!m&&(s.nodeName!=="INPUT"||s.type!=="hidden"))break}else if(m){if(!s[zc])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!==x.rel||s.getAttribute("href")!==(x.href==null||x.href===""?null:x.href)||s.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin)||s.getAttribute("title")!==(x.title==null?null:x.title))break;return s;case"style":if(s.hasAttribute("data-precedence"))break;return s;case"script":if(v=s.getAttribute("src"),(v!==(x.src==null?null:x.src)||s.getAttribute("type")!==(x.type==null?null:x.type)||s.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin))&&v&&s.hasAttribute("async")&&!s.hasAttribute("itemprop"))break;return s;default:return s}}else if(l==="input"&&s.type==="hidden"){var v=x.name==null?null:""+x.name;if(x.type==="hidden"&&s.getAttribute("name")===v)return s}else return s;if(s=oa(s.nextSibling),s===null)break}return null}function NC(s,l,d){if(l==="")return null;for(;s.nodeType!==3;)if((s.nodeType!==1||s.nodeName!=="INPUT"||s.type!=="hidden")&&!d||(s=oa(s.nextSibling),s===null))return null;return s}function U3(s,l){for(;s.nodeType!==8;)if((s.nodeType!==1||s.nodeName!=="INPUT"||s.type!=="hidden")&&!l||(s=oa(s.nextSibling),s===null))return null;return s}function D1(s){return s.data==="$?"||s.data==="$~"}function M1(s){return s.data==="$!"||s.data==="$?"&&s.ownerDocument.readyState!=="loading"}function CC(s,l){var d=s.ownerDocument;if(s.data==="$~")s._reactRetry=l;else if(s.data!=="$?"||d.readyState!=="loading")l();else{var m=function(){l(),d.removeEventListener("DOMContentLoaded",m)};d.addEventListener("DOMContentLoaded",m),s._reactRetry=m}}function oa(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: 12,854 bytes, line 50
50if(l==="/$"||l==="/&")return null}}return s}var I1=null;function q3(s){s=s.nextSibling;for(var l=0;s;){if(s.nodeType===8){var d=s.data;if(d==="/$"||d==="/&"){if(l===0)return oa(s.nextSibling);l--}else d!=="$"&&d!=="$!"&&d!=="$?"&&d!=="$~"&&d!=="&"||l++}s=s.nextSibling}return null}function V3(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 $3(s,l,d){switch(l=Jd(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 Eu(s){for(var l=s.attributes;l.length;)s.removeAttributeNode(l[0]);Pm(s)}var la=new Map,G3=new Set;function eh(s){return typeof s.getRootNode=="function"?s.getRootNode():s.nodeType===9?s:s.ownerDocument}var Ds=J.d;J.d={f:OC,r:RC,D:DC,C:MC,L:IC,m:LC,X:jC,S:PC,M:BC};function OC(){var s=Ds.f(),l=$d();return s||l}function RC(s){var l=fl(s);l!==null&&l.tag===5&&l.type==="form"?c5(l):Ds.r(s)}var $l=typeof document>"u"?null:document;function Y3(s,l,d){var m=$l;if(m&&typeof l=="string"&&l){var x=ea(l);x='link[rel="'+s+'"][href="'+x+'"]',typeof d=="string"&&(x+='[crossorigin="'+d+'"]'),G3.has(x)||(G3.add(x),s={rel:s,crossOrigin:d,href:l},m.querySelector(x)===null&&(l=m.createElement("link"),Gn(l,"link",s),Rn(l),m.head.appendChild(l)))}}function DC(s){Ds.D(s),Y3("dns-prefetch",s,null)}function MC(s,l){Ds.C(s,l),Y3("preconnect",s,l)}function IC(s,l,d){Ds.L(s,l,d);var m=$l;if(m&&s&&l){var x='link[rel="preload"][as="'+ea(l)+'"]';l==="image"&&d&&d.imageSrcSet?(x+='[imagesrcset="'+ea(d.imageSrcSet)+'"]',typeof d.imageSizes=="string"&&(x+='[imagesizes="'+ea(d.imageSizes)+'"]')):x+='[href="'+ea(s)+'"]';var v=x;switch(l){case"style":v=Gl(s);break;case"script":v=Yl(s)}la.has(v)||(s=p({rel:"preload",href:l==="image"&&d&&d.imageSrcSet?void 0:s,as:l},d),la.set(v,s),m.querySelector(x)!==null||l==="style"&&m.querySelector(wu(v))||l==="script"&&m.querySelector(Su(v))||(l=m.createElement("link"),Gn(l,"link",s),Rn(l),m.head.appendChild(l)))}}function LC(s,l){Ds.m(s,l);var d=$l;if(d&&s){var m=l&&typeof l.as=="string"?l.as:"script",x='link[rel="modulepreload"][as="'+ea(m)+'"][href="'+ea(s)+'"]',v=x;switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Yl(s)}if(!la.has(v)&&(s=p({rel:"modulepreload",href:s},l),la.set(v,s),d.querySelector(x)===null)){switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(d.querySelector(Su(v)))return}m=d.createElement("link"),Gn(m,"link",s),Rn(m),d.head.appendChild(m)}}}function PC(s,l,d){Ds.S(s,l,d);var m=$l;if(m&&s){var x=ml(m).hoistableStyles,v=Gl(s);l=l||"default";var _=x.get(v);if(!_){var j={loading:0,preload:null};if(_=m.querySelector(wu(v)))j.loading=5;else{s=p({rel:"stylesheet",href:s,"data-precedence":l},d),(d=la.get(v))&&L1(s,d);var K=_=m.createElement("link");Rn(K),Gn(K,"link",s),K._p=new Promise(function(he,be){K.onload=he,K.onerror=be}),K.addEventListener("load",function(){j.loading|=1}),K.addEventListener("error",function(){j.loading|=2}),j.loading|=4,th(_,l,m)}_={type:"stylesheet",instance:_,count:1,state:j},x.set(v,_)}}}function jC(s,l){Ds.X(s,l);var d=$l;if(d&&s){var m=ml(d).hoistableScripts,x=Yl(s),v=m.get(x);v||(v=d.querySelector(Su(x)),v||(s=p({src:s,async:!0},l),(l=la.get(x))&&P1(s,l),v=d.createElement("script"),Rn(v),Gn(v,"link",s),d.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},m.set(x,v))}}function BC(s,l){Ds.M(s,l);var d=$l;if(d&&s){var m=ml(d).hoistableScripts,x=Yl(s),v=m.get(x);v||(v=d.querySelector(Su(x)),v||(s=p({src:s,async:!0,type:"module"},l),(l=la.get(x))&&P1(s,l),v=d.createElement("script"),Rn(v),Gn(v,"link",s),d.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},m.set(x,v))}}function Q3(s,l,d,m){var x=(x=Re.current)?eh(x):null;if(!x)throw Error(r(446));switch(s){case"meta":case"title":return null;case"style":return typeof d.precedence=="string"&&typeof d.href=="string"?(l=Gl(d.href),d=ml(x).hoistableStyles,m=d.get(l),m||(m={type:"style",instance:null,count:0,state:null},d.set(l,m)),m):{type:"void",instance:null,count:0,state:null};case"link":if(d.rel==="stylesheet"&&typeof d.href=="string"&&typeof d.precedence=="string"){s=Gl(d.href);var v=ml(x).hoistableStyles,_=v.get(s);if(_||(x=x.ownerDocument||x,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(s,_),(v=x.querySelector(wu(s)))&&!v._p&&(_.instance=v,_.state.loading=5),la.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},la.set(s,d),v||zC(x,s,d,_.state))),l&&m===null)throw Error(r(528,""));return _}if(l&&m!==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=Yl(d),d=ml(x).hoistableScripts,m=d.get(l),m||(m={type:"script",instance:null,count:0,state:null},d.set(l,m)),m):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,s))}}function Gl(s){return'href="'+ea(s)+'"'}function wu(s){return'link[rel="stylesheet"]['+s+"]"}function X3(s){return p({},s,{"data-precedence":s.precedence,precedence:null})}function zC(s,l,d,m){s.querySelector('link[rel="preload"][as="style"]['+l+"]")?m.loading=1:(l=s.createElement("link"),m.preload=l,l.addEventListener("load",function(){return m.loading|=1}),l.addEventListener("error",function(){return m.loading|=2}),Gn(l,"link",d),Rn(l),s.head.appendChild(l))}function Yl(s){return'[src="'+ea(s)+'"]'}function Su(s){return"script[async]"+s}function W3(s,l,d){if(l.count++,l.instance===null)switch(l.type){case"style":var m=s.querySelector('style[data-href~="'+ea(d.href)+'"]');if(m)return l.instance=m,Rn(m),m;var x=p({},d,{"data-href":d.href,"data-precedence":d.precedence,href:null,precedence:null});return m=(s.ownerDocument||s).createElement("style"),Rn(m),Gn(m,"style",x),th(m,d.precedence,s),l.instance=m;case"stylesheet":x=Gl(d.href);var v=s.querySelector(wu(x));if(v)return l.state.loading|=4,l.instance=v,Rn(v),v;m=X3(d),(x=la.get(x))&&L1(m,x),v=(s.ownerDocument||s).createElement("link"),Rn(v);var _=v;return _._p=new Promise(function(j,K){_.onload=j,_.onerror=K}),Gn(v,"link",m),l.state.loading|=4,th(v,d.precedence,s),l.instance=v;case"script":return v=Yl(d.src),(x=s.querySelector(Su(v)))?(l.instance=x,Rn(x),x):(m=d,(x=la.get(v))&&(m=p({},d),P1(m,x)),s=s.ownerDocument||s,x=s.createElement("script"),Rn(x),Gn(x,"link",m),s.head.appendChild(x),l.instance=x);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(m=l.instance,l.state.loading|=4,th(m,d.precedence,s));return l.instance}function th(s,l,d){for(var m=d.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),x=m.length?m[m.length-1]:null,v=x,_=0;_<m.length;_++){var j=m[_];if(j.dataset.precedence===l)v=j;else if(v!==x)break}v?v.parentNode.insertBefore(s,v.nextSibling):(l=d.nodeType===9?d.head:d,l.insertBefore(s,l.firstChild))}function L1(s,l){s.crossOrigin==null&&(s.crossOrigin=l.crossOrigin),s.referrerPolicy==null&&(s.referrerPolicy=l.referrerPolicy),s.title==null&&(s.title=l.title)}function P1(s,l){s.crossOrigin==null&&(s.crossOrigin=l.crossOrigin),s.referrerPolicy==null&&(s.referrerPolicy=l.referrerPolicy),s.integrity==null&&(s.integrity=l.integrity)}var nh=null;function K3(s,l,d){if(nh===null){var m=new Map,x=nh=new Map;x.set(d,m)}else x=nh,m=x.get(d),m||(m=new Map,x.set(d,m));if(m.has(s))return m;for(m.set(s,null),d=d.getElementsByTagName(s),x=0;x<d.length;x++){var v=d[x];if(!(v[zc]||v[Un]||s==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var _=v.getAttribute(l)||"";_=s+_;var j=m.get(_);j?j.push(v):m.set(_,[v])}}return m}function Z3(s,l,d){s=s.ownerDocument||s,s.head.insertBefore(d,l==="title"?s.querySelector("head > title"):null)}function FC(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 J3(s){return!(s.type==="stylesheet"&&(s.state.loading&3)===0)}function HC(s,l,d,m){if(d.type==="stylesheet"&&(typeof m.media!="string"||matchMedia(m.media).matches!==!1)&&(d.state.loading&4)===0){if(d.instance===null){var x=Gl(m.href),v=l.querySelector(wu(x));if(v){l=v._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(s.count++,s=rh.bind(s),l.then(s,s)),d.state.loading|=4,d.instance=v,Rn(v);return}v=l.ownerDocument||l,m=X3(m),(x=la.get(x))&&L1(m,x),v=v.createElement("link"),Rn(v);var _=v;_._p=new Promise(function(j,K){_.onload=j,_.onerror=K}),Gn(v,"link",m),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=rh.bind(s),l.addEventListener("load",d),l.addEventListener("error",d))}}var j1=0;function UC(s,l){return s.stylesheets&&s.count===0&&sh(s,s.stylesheets),0<s.count||0<s.imgCount?function(d){var m=setTimeout(function(){if(s.stylesheets&&sh(s,s.stylesheets),s.unsuspend){var v=s.unsuspend;s.unsuspend=null,v()}},6e4+l);0<s.imgBytes&&j1===0&&(j1=62500*wC());var x=setTimeout(function(){if(s.waitingForImages=!1,s.count===0&&(s.stylesheets&&sh(s,s.stylesheets),s.unsuspend)){var v=s.unsuspend;s.unsuspend=null,v()}},(s.imgBytes>j1?50:800)+l);return s.unsuspend=d,function(){s.unsuspend=null,clearTimeout(m),clearTimeout(x)}}:null}function rh(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)sh(this,this.stylesheets);else if(this.unsuspend){var s=this.unsuspend;this.unsuspend=null,s()}}}var ah=null;function sh(s,l){s.stylesheets=null,s.unsuspend!==null&&(s.count++,ah=new Map,l.forEach(qC,s),ah=null,rh.call(s))}function qC(s,l){if(!(l.state.loading&4)){var d=ah.get(s);if(d)var m=d.get(null);else{d=new Map,ah.set(s,d);for(var x=s.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<x.length;v++){var _=x[v];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(d.set(_.dataset.precedence,_),m=_)}m&&d.set(null,m)}x=l.instance,_=x.getAttribute("data-precedence"),v=d.get(_)||m,v===m&&d.set(null,x),d.set(_,x),this.count++,m=rh.bind(this),x.addEventListener("load",m),x.addEventListener("error",m),v?v.parentNode.insertBefore(x,v.nextSibling):(s=s.nodeType===9?s.head:s,s.insertBefore(x,s.firstChild)),l.state.loading|=4}}var Tu={$$typeof:z,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function VC(s,l,d,m,x,v,_,j,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=ri(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ri(0),this.hiddenUpdates=ri(null),this.identifierPrefix=m,this.onUncaughtError=x,this.onCaughtError=v,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=K,this.incompleteTransitions=new Map}function ev(s,l,d,m,x,v,_,j,K,he,be,Ee){return s=new VC(s,l,d,_,K,he,be,Ee,j),l=1,v===!0&&(l|=24),v=Ir(3,null,null,l),s.current=v,v.stateNode=s,l=gp(),l.refCount++,s.pooledCache=l,l.refCount++,v.memoizedState={element:m,isDehydrated:d,cache:l},vp(v),s}function tv(s){return s?(s=Tl,s):Tl}function nv(s,l,d,m,x,v){x=tv(x),m.context===null?m.context=x:m.pendingContext=x,m=di(l),m.payload={element:d},v=v===void 0?null:v,v!==null&&(m.callback=v),d=hi(s,m,l),d!==null&&(Sr(d,s,l),nu(d,s,l))}function rv(s,l){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var d=s.retryLane;s.retryLane=d!==0&&d<l?d:l}}function B1(s,l){rv(s,l),(s=s.alternate)&&rv(s,l)}function av(s){if(s.tag===13||s.tag===31){var l=co(s,67108864);l!==null&&Sr(l,s,67108864),B1(s,67108864)}}function sv(s){if(s.tag===13||s.tag===31){var l=zr();l=ul(l);var d=co(s,l);d!==null&&Sr(d,s,l),B1(s,l)}}var ih=!0;function $C(s,l,d,m){var x=L.T;L.T=null;var v=J.p;try{J.p=2,z1(s,l,d,m)}finally{J.p=v,L.T=x}}function GC(s,l,d,m){var x=L.T;L.T=null;var v=J.p;try{J.p=8,z1(s,l,d,m)}finally{J.p=v,L.T=x}}
vendor: 9,972 bytes, line 50
50function z1(s,l,d,m){if(ih){var x=F1(m);if(x===null)k1(s,l,m,oh,d),ov(s,m);else if(QC(x,s,l,d,m))m.stopPropagation();else if(ov(s,m),l&4&&-1<YC.indexOf(s)){for(;x!==null;){var v=fl(x);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var _=ja(v.pendingLanes);if(_!==0){var j=v;for(j.pendingLanes|=2,j.entangledLanes|=2;_;){var K=1<<31-Ct(_);j.entanglements[1]|=K,_&=~K}Ha(v),(Nt&6)===0&&(qd=zn()+500,bu(0))}}break;case 31:case 13:j=co(v,2),j!==null&&Sr(j,v,2),$d(),B1(v,2)}if(v=F1(m),v===null&&k1(s,l,m,oh,d),v===x)break;x=v}x!==null&&m.stopPropagation()}else k1(s,l,m,null,d)}}function F1(s){return s=Um(s),H1(s)}var oh=null;function H1(s){if(oh=null,s=hl(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=c(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 oh=s,null}function iv(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(Bc()){case ye:return 2;case De:return 8;case Ze:case ot:return 32;case mt:return 268435456;default:return 32}default:return 32}}var U1=!1,Si=null,Ti=null,ki=null,ku=new Map,_u=new Map,_i=[],YC="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function ov(s,l){switch(s){case"focusin":case"focusout":Si=null;break;case"dragenter":case"dragleave":Ti=null;break;case"mouseover":case"mouseout":ki=null;break;case"pointerover":case"pointerout":ku.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":_u.delete(l.pointerId)}}function Au(s,l,d,m,x,v){return s===null||s.nativeEvent!==v?(s={blockedOn:l,domEventName:d,eventSystemFlags:m,nativeEvent:v,targetContainers:[x]},l!==null&&(l=fl(l),l!==null&&av(l)),s):(s.eventSystemFlags|=m,l=s.targetContainers,x!==null&&l.indexOf(x)===-1&&l.push(x),s)}function QC(s,l,d,m,x){switch(l){case"focusin":return Si=Au(Si,s,l,d,m,x),!0;case"dragenter":return Ti=Au(Ti,s,l,d,m,x),!0;case"mouseover":return ki=Au(ki,s,l,d,m,x),!0;case"pointerover":var v=x.pointerId;return ku.set(v,Au(ku.get(v)||null,s,l,d,m,x)),!0;case"gotpointercapture":return v=x.pointerId,_u.set(v,Au(_u.get(v)||null,s,l,d,m,x)),!0}return!1}function lv(s){var l=hl(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,w4(s.priority,function(){sv(d)});return}}else if(l===31){if(l=c(d),l!==null){s.blockedOn=l,w4(s.priority,function(){sv(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 lh(s){if(s.blockedOn!==null)return!1;for(var l=s.targetContainers;0<l.length;){var d=F1(s.nativeEvent);if(d===null){d=s.nativeEvent;var m=new d.constructor(d.type,d);Hm=m,d.target.dispatchEvent(m),Hm=null}else return l=fl(d),l!==null&&av(l),s.blockedOn=d,!1;l.shift()}return!0}function cv(s,l,d){lh(s)&&d.delete(l)}function XC(){U1=!1,Si!==null&&lh(Si)&&(Si=null),Ti!==null&&lh(Ti)&&(Ti=null),ki!==null&&lh(ki)&&(ki=null),ku.forEach(cv),_u.forEach(cv)}function ch(s,l){s.blockedOn===l&&(s.blockedOn=null,U1||(U1=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,XC)))}var uh=null;function uv(s){uh!==s&&(uh=s,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){uh===s&&(uh=null);for(var l=0;l<s.length;l+=3){var d=s[l],m=s[l+1],x=s[l+2];if(typeof m!="function"){if(H1(m||d)===null)continue;break}var v=fl(d);v!==null&&(s.splice(l,3),l-=3,Fp(v,{pending:!0,data:x,method:d.method,action:m},m,x))}}))}function Ql(s){function l(K){return ch(K,s)}Si!==null&&ch(Si,s),Ti!==null&&ch(Ti,s),ki!==null&&ch(ki,s),ku.forEach(l),_u.forEach(l);for(var d=0;d<_i.length;d++){var m=_i[d];m.blockedOn===s&&(m.blockedOn=null)}for(;0<_i.length&&(d=_i[0],d.blockedOn===null);)lv(d),d.blockedOn===null&&_i.shift();if(d=(s.ownerDocument||s).$$reactFormReplay,d!=null)for(m=0;m<d.length;m+=3){var x=d[m],v=d[m+1],_=x[xr]||null;if(typeof v=="function")_||uv(d);else if(_){var j=null;if(v&&v.hasAttribute("formAction")){if(x=v,_=v[xr]||null)j=_.formAction;else if(H1(x)!==null)continue}else j=_.action;typeof j=="function"?d[m+1]=j:(d.splice(m,3),m-=3),uv(d)}}}function dv(){function s(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(_){return x=_})},focusReset:"manual",scroll:"manual"})}function l(){x!==null&&(x(),x=null),m||setTimeout(d,20)}function d(){if(!m&&!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 m=!1,x=null;return navigation.addEventListener("navigate",s),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(d,100),function(){m=!0,navigation.removeEventListener("navigate",s),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),x!==null&&(x(),x=null)}}}function q1(s){this._internalRoot=s}dh.prototype.render=q1.prototype.render=function(s){var l=this._internalRoot;if(l===null)throw Error(r(409));var d=l.current,m=zr();nv(d,m,s,l,null,null)},dh.prototype.unmount=q1.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var l=s.containerInfo;nv(s.current,2,null,s,null,null),$d(),l[dl]=null}};function dh(s){this._internalRoot=s}dh.prototype.unstable_scheduleHydration=function(s){if(s){var l=Im();s={blockedOn:null,target:s,priority:l};for(var d=0;d<_i.length&&l!==0&&l<_i[d].priority;d++);_i.splice(d,0,s),d===0&&lv(s)}};var hv=t.version;if(hv!=="19.2.1")throw Error(r(527,hv,"19.2.1"));J.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 WC={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var hh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hh.isDisabled&&hh.supportsFiber)try{Fn=hh.inject(WC),cn=hh}catch{}}return Ou.createRoot=function(s,l){if(!a(s))throw Error(r(299));var d=!1,m="",x=y5,v=v5,_=E5;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(x=l.onUncaughtError),l.onCaughtError!==void 0&&(v=l.onCaughtError),l.onRecoverableError!==void 0&&(_=l.onRecoverableError)),l=ev(s,1,!1,null,null,d,m,null,x,v,_,dv),s[dl]=l.current,T1(s),new q1(l)},Ou.hydrateRoot=function(s,l,d){if(!a(s))throw Error(r(299));var m=!1,x="",v=y5,_=v5,j=E5,K=null;return d!=null&&(d.unstable_strictMode===!0&&(m=!0),d.identifierPrefix!==void 0&&(x=d.identifierPrefix),d.onUncaughtError!==void 0&&(v=d.onUncaughtError),d.onCaughtError!==void 0&&(_=d.onCaughtError),d.onRecoverableError!==void 0&&(j=d.onRecoverableError),d.formState!==void 0&&(K=d.formState)),l=ev(s,1,!0,l,d??null,m,x,K,v,_,j,dv),l.context=tv(null),d=l.current,m=zr(),m=ul(m),x=di(m),x.callback=null,hi(d,x,m),d=m,l.current.lanes=d,Wt(l,d),Ha(l),s[dl]=l.current,T1(s),new dh(l)},Ou.version="19.2.1",Ou}var Bv;function dD(){if(Bv)return W1.exports;Bv=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(),W1.exports=uD(),W1.exports}var hD=dD(),fD=(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})(),cw=(function(){function e(t){this.generateIdentifier=t,this.kv=new fD}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})(),mD=(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}
50t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),pD=(function(e){mD(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})(cw),gD=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(c){o={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i};function xD(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 bD(e,t){var n=xD(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 mc(e,t){Object.entries(e).forEach(function(n){var r=gD(n,2),a=r[0],i=r[1];return t(i,a)})}function Yh(e,t){return e.indexOf(t)!==-1}function zv(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var yD=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return bD(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)},uw=function(e){return typeof e>"u"},ED=function(e){return e===null},c0=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},m2=function(e){return c0(e)&&Object.keys(e).length===0},$i=function(e){return Array.isArray(e)},wD=function(e){return typeof e=="string"},SD=function(e){return typeof e=="number"&&!isNaN(e)},TD=function(e){return typeof e=="boolean"},kD=function(e){return e instanceof RegExp},u0=function(e){return e instanceof Map},d0=function(e){return e instanceof Set},dw=function(e){return vD(e)==="Symbol"},_D=function(e){return e instanceof Date&&!isNaN(e.valueOf())},AD=function(e){return e instanceof Error},Fv=function(e){return typeof e=="number"&&isNaN(e)},ND=function(e){return TD(e)||ED(e)||uw(e)||SD(e)||wD(e)||dw(e)},CD=function(e){return typeof e=="bigint"},OD=function(e){return e===1/0||e===-1/0},RD=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},DD=function(e){return e instanceof URL},hw=function(e){return e.replace(/\./g,"\\.")},eg=function(e){return e.map(String).map(hw).join(".")},Yu=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 c=n;return t.push(c),t},p2=function(){return p2=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},p2.apply(this,arguments)},g2=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(c){o={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i},x2=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 fw=[Ua(uw,"undefined",function(){return null},function(){}),Ua(CD,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),Ua(_D,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),Ua(AD,"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(kD,"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(d0,"set",function(e){return x2([],g2(e.values()))},function(e){return new Set(e)}),Ua(u0,"map",function(e){return x2([],g2(e.entries()))},function(e){return new Map(e)}),Ua(function(e){return Fv(e)||OD(e)},"number",function(e){return Fv(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),Ua(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),Ua(DD,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function Xf(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var mw=Xf(function(e,t){if(dw(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}),MD=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),pw=Xf(RD,function(e){return["typed-array",e.constructor.name]},function(e){return x2([],g2(e))},function(e,t){var n=MD[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function gw(e,t){if(e?.constructor){var n=!!t.classRegistry.getIdentifier(e.constructor);return n}return!1}var xw=Xf(gw,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 p2({},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)}),bw=Xf(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)}),ID=[xw,mw,bw,pw],Hv=function(e,t){var n=zv(ID,function(a){return a.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=zv(fw,function(a){return a.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},yw={};fw.forEach(function(e){yw[e.annotation]=e});var LD=function(e,t,n){if($i(t))switch(t[0]){case"symbol":return mw.untransform(e,t,n);case"class":return xw.untransform(e,t,n);case"custom":return bw.untransform(e,t,n);case"typed-array":return pw.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{var r=yw[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},sc=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function vw(e){if(Yh(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Yh(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Yh(e,"constructor"))throw new Error("constructor is not allowed as a property")}var PD=function(e,t){vw(t);for(var n=0;n<t.length;n++){var r=t[n];if(d0(e))e=sc(e,+r);else if(u0(e)){var a=+r,i=+t[++n]==0?"key":"value",o=sc(e,a);switch(i){case"key":e=o;break;case"value":e=e.get(o);break}}else e=e[r]}return e},b2=function(e,t,n){if(vw(t),t.length===0)return n(e);for(var r=e,a=0;a<t.length-1;a++){var i=t[a];if($i(r)){var o=+i;r=r[o]}else if(c0(r))r=r[i];else if(d0(r)){var c=+i;r=sc(r,c)}else if(u0(r)){var u=a===t.length-2;if(u)break;var c=+i,h=+t[++a]==0?"key":"value",g=sc(r,c);switch(h){case"key":r=g;break;case"value":r=r.get(g);break}}}var p=t[t.length-1];if($i(r)?r[+p]=n(r[+p]):c0(r)&&(r[p]=n(r[p])),d0(r)){var b=sc(r,+p),y=n(b);b!==y&&(r.delete(b),r.add(y))}if(u0(r)){var c=+t[t.length-2],w=sc(r,c),h=+p==0?"key":"value";switch(h){case"key":{var T=n(w);r.set(T,r.get(w)),T!==w&&r.delete(w);break}case"value":{r.set(w,n(r.get(w)));break}}}return e},Fs=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(c){o={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i},ji=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function y2(e,t,n){if(n===void 0&&(n=[]),!!e){if(!$i(e)){mc(e,function(o,c){return y2(o,t,ji(ji([],Fs(n)),Fs(Yu(c))))});return}var r=Fs(e,2),a=r[0],i=r[1];i&&mc(i,function(o,c){y2(o,t,ji(ji([],Fs(n)),Fs(Yu(c))))}),t(a,n)}}function jD(e,t,n){return y2(t,function(r,a){e=b2(e,a,function(i){return LD(i,r,n)})}),e}function BD(e,t){function n(o,c){var u=PD(e,Yu(c));o.map(Yu).forEach(function(h){e=b2(e,h,function(){return u})})}if($i(t)){var r=Fs(t,2),a=r[0],i=r[1];a.forEach(function(o){e=b2(e,Yu(o),function(){return e})}),i&&mc(i,n)}else mc(t,n);return e}var zD=function(e,t){return c0(e)||$i(e)||u0(e)||d0(e)||gw(e,t)};
50function FD(e,t,n){var r=n.get(e);r?r.push(t):n.set(e,[t])}function HD(e,t){var n={},r=void 0;return e.forEach(function(a){if(!(a.length<=1)){t||(a=a.map(function(u){return u.map(String)}).sort(function(u,h){return u.length-h.length}));var i=Fs(a),o=i[0],c=i.slice(1);o.length===0?r=c.map(eg):n[eg(o)]=c.map(eg)}}),r?m2(n)?[r]:[r,n]:m2(n)?void 0:n}var Ew=function(e,t,n,r,a,i,o){var c;a===void 0&&(a=[]),i===void 0&&(i=[]),o===void 0&&(o=new Map);var u=ND(e);if(!u){FD(e,a,t);var h=o.get(e);if(h)return r?{transformedValue:null}:h}if(!zD(e,n)){var g=Hv(e,n),p=g?{transformedValue:g.value,annotations:[g.type]}:{transformedValue:e};return u||o.set(e,p),p}if(Yh(i,e))return{transformedValue:null};var b=Hv(e,n),y=(c=b?.value)!==null&&c!==void 0?c:e,w=$i(y)?[]:{},T={};mc(y,function(N,R){var z=Ew(N,t,n,r,ji(ji([],Fs(a)),[R]),ji(ji([],Fs(i)),[e]),o);w[R]=z.transformedValue,$i(z.annotations)?T[R]=z.annotations:c0(z.annotations)&&mc(z.annotations,function(W,q){T[hw(R)+"."+q]=W})});var A=m2(T)?{transformedValue:w,annotations:b?[b.type]:void 0}:{transformedValue:w,annotations:b?[b.type,T]:T};return u||o.set(e,A),A};function ww(e){return Object.prototype.toString.call(e).slice(8,-1)}function Uv(e){return ww(e)==="Array"}function UD(e){if(ww(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function qD(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 v2(e,t={}){if(Uv(e))return e.map(a=>v2(a,t));if(!UD(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((a,i)=>{if(Uv(t.props)&&!t.props.includes(i))return a;const o=e[i],c=v2(o,t);return qD(a,i,c,e,t.nonenumerable),a},{})}var Ro=function(){return Ro=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},Ro.apply(this,arguments)},VD=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(c){o={error:c}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i},$D=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},Zs=(function(){function e(t){var n=t===void 0?{}:t,r=n.dedupe,a=r===void 0?!1:r;this.classRegistry=new pD,this.symbolRegistry=new cw(function(i){var o;return(o=i.description)!==null&&o!==void 0?o:""}),this.customTransformerRegistry=new yD,this.allowedErrorProps=[],this.dedupe=a}return e.prototype.serialize=function(t){var n=new Map,r=Ew(t,n,this,this.dedupe),a={json:r.transformedValue};r.annotations&&(a.meta=Ro(Ro({},a.meta),{values:r.annotations}));var i=HD(n,this.dedupe);return i&&(a.meta=Ro(Ro({},a.meta),{referentialEqualities:i})),a},e.prototype.deserialize=function(t){var n=t.json,r=t.meta,a=v2(n);return r?.values&&(a=jD(a,r.values,this)),r?.referentialEqualities&&(a=BD(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(Ro({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,$D([],VD(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})();Zs.serialize;Zs.deserialize;Zs.stringify;Zs.parse;Zs.registerClass;Zs.registerCustom;Zs.registerSymbol;Zs.allowErrorProps;var GD=(e,t,n,r,a,i,o,c)=>{let u=document.documentElement,h=["light","dark"];
vendor: 7,464 bytes, line 50
50function g(y){(Array.isArray(e)?e:[e]).forEach(w=>{let T=w==="class",A=T&&i?a.map(N=>i[N]||N):a;T?(u.classList.remove(...A),u.classList.add(i&&i[y]?i[y]:y)):u.setAttribute(w,y)}),p(y)}function p(y){c&&h.includes(y)&&(u.style.colorScheme=y)}function b(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)g(r);else try{let y=localStorage.getItem(t)||n,w=o&&y==="system"?b():y;g(w)}catch{}},YD=O.createContext(void 0),QD={setTheme:e=>{},themes:[]},XD=()=>{var e;return(e=O.useContext(YD))!=null?e:QD};O.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:i,value:o,themes:c,nonce:u,scriptProps:h})=>{let g=JSON.stringify([n,t,i,e,c,o,r,a]).slice(1,-1);return O.createElement("script",{...h,suppressHydrationWarning:!0,nonce:typeof window>"u"?u:"",dangerouslySetInnerHTML:{__html:`(${GD.toString()})(${g})`}})});var Lx=lw();const WD=Uf(Lx);function KD(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 ZD=e=>{switch(e){case"success":return tM;case"info":return rM;case"warning":return nM;case"error":return aM;default:return null}},JD=Array(12).fill(0),eM=({visible:e,className:t})=>Le.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},Le.createElement("div",{className:"sonner-spinner"},JD.map((n,r)=>Le.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),tM=Le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Le.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"})),nM=Le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Le.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"})),rM=Le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Le.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"})),aM=Le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Le.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"})),sM=Le.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"},Le.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Le.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),iM=()=>{const[e,t]=Le.useState(document.hidden);return Le.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let E2=1;class oM{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:E2++,o=this.toasts.find(u=>u.id===i),c=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(u=>u.id===i?(this.publish({...u,...t,id:i,title:r}),{...u,...t,id:i,dismissible:c,title:r}):u):this.addToast({title:r,...a,dismissible:c,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 c=a.then(async h=>{if(o=["resolve",h],Le.isValidElement(h))i=!1,this.create({id:r,type:"default",message:h});else if(cM(h)&&!h.ok){i=!1;const p=typeof n.error=="function"?await n.error(`HTTP error! status: ${h.status}`):n.error,b=typeof n.description=="function"?await n.description(`HTTP error! status: ${h.status}`):n.description,w=typeof p=="object"&&!Le.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:b,...w})}else if(h instanceof Error){i=!1;const p=typeof n.error=="function"?await n.error(h):n.error,b=typeof n.description=="function"?await n.description(h):n.description,w=typeof p=="object"&&!Le.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:b,...w})}else if(n.success!==void 0){i=!1;const p=typeof n.success=="function"?await n.success(h):n.success,b=typeof n.description=="function"?await n.description(h):n.description,w=typeof p=="object"&&!Le.isValidElement(p)?p:{message:p};this.create({id:r,type:"success",description:b,...w})}}).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,p=typeof n.description=="function"?await n.description(h):n.description,y=typeof g=="object"&&!Le.isValidElement(g)?g:{message:g};this.create({id:r,type:"error",description:p,...y})}}).finally(()=>{i&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),u=()=>new Promise((h,g)=>c.then(()=>o[0]==="reject"?g(o[1]):h(o[1])).catch(g));return typeof r!="string"&&typeof r!="number"?{unwrap:u}:Object.assign(r,{unwrap:u})},this.custom=(t,n)=>{const r=n?.id||E2++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ar=new oM,lM=(e,t)=>{const n=t?.id||E2++;return Ar.addToast({title:e,...t,id:n}),n},cM=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",uM=lM,dM=()=>Ar.toasts,hM=()=>Ar.getActiveToasts(),$e=Object.assign(uM,{success:Ar.success,info:Ar.info,warning:Ar.warning,error:Ar.error,custom:Ar.custom,message:Ar.message,promise:Ar.promise,dismiss:Ar.dismiss,loading:Ar.loading},{getHistory:dM,getToasts:hM});KD
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,716 bytes, line 50
50xh(e){return e.label!==void 0}const fM=3,mM="24px",pM="16px",qv=4e3,gM=356,xM=14,bM=45,yM=200;function qa(...e){return e.filter(Boolean).join(" ")}function vM(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const EM=e=>{var t,n,r,a,i,o,c,u,h;const{invert:g,toast:p,unstyled:b,interacting:y,setHeights:w,visibleToasts:T,heights:A,index:N,toasts:R,expanded:z,removeToast:W,defaultRichColors:q,closeButton:C,style:M,cancelButtonStyle:V,actionButtonStyle:Z,className:I="",descriptionClassName:se="",duration:ae,position:me,gap:oe,expandByDefault:ee,classNames:L,icons:J,closeButtonAriaLabel:te="Close toast"}=e,[we,U]=Le.useState(null),[G,ce]=Le.useState(null),[P,pe]=Le.useState(!1),[Se,Re]=Le.useState(!1),[Pe,Ge]=Le.useState(!1),[tt,Ot]=Le.useState(!1),[en,on]=Le.useState(!1),[Dr,jn]=Le.useState(0),[Ea,Kr]=Le.useState(0),fr=Le.useRef(p.duration||ae||qv),Zr=Le.useRef(null),ln=Le.useRef(null),ni=N===0,no=N+1<=T,Bn=p.type,Ia=p.dismissible!==!1,zn=p.className||"",Bc=p.descriptionClassName||"",ye=Le.useMemo(()=>A.findIndex(nt=>nt.toastId===p.id)||0,[A,p.id]),De=Le.useMemo(()=>{var nt;return(nt=p.closeButton)!=null?nt:C},[p.closeButton,C]),Ze=Le.useMemo(()=>p.duration||ae||qv,[p.duration,ae]),ot=Le.useRef(0),mt=Le.useRef(0),Yn=Le.useRef(0),Qn=Le.useRef(null),[Fn,cn]=me.split("-"),Hn=Le.useMemo(()=>A.reduce((nt,Gt,On)=>On>=ye?nt:nt+Gt.height,0),[A,ye]),Ct=iM(),La=p.invert||g,sr=Bn==="loading";mt.current=Le.useMemo(()=>ye*oe+Hn,[ye,Hn]),Le.useEffect(()=>{fr.current=Ze},[Ze]),Le.useEffect(()=>{pe(!0)},[]),Le.useEffect(()=>{const nt=ln.current;if(nt){const Gt=nt.getBoundingClientRect().height;return Kr(Gt),w(On=>[{toastId:p.id,height:Gt,position:p.position},...On]),()=>w(On=>On.filter(Xn=>
vendor: 20,053 bytes, line 50
50Xn.toastId!==p.id))}},[w,p.id]),Le.useLayoutEffect(()=>{if(!P)return;const nt=ln.current,Gt=nt.style.height;nt.style.height="auto";const On=nt.getBoundingClientRect().height;nt.style.height=Gt,Kr(On),w(Xn=>Xn.find(Wt=>Wt.toastId===p.id)?Xn.map(Wt=>Wt.toastId===p.id?{...Wt,height:On}:Wt):[{toastId:p.id,height:On,position:p.position},...Xn])},[P,p.title,p.description,w,p.id,p.jsx,p.action,p.cancel]);const Pa=Le.useCallback(()=>{Re(!0),jn(mt.current),w(nt=>nt.filter(Gt=>Gt.toastId!==p.id)),setTimeout(()=>{W(p)},yM)},[p,W,w,mt]);Le.useEffect(()=>{if(p.promise&&Bn==="loading"||p.duration===1/0||p.type==="loading")return;let nt;return z||y||Ct?(()=>{if(Yn.current<ot.current){const Xn=new Date().getTime()-ot.current;fr.current=fr.current-Xn}Yn.current=new Date().getTime()})():(()=>{fr.current!==1/0&&(ot.current=new Date().getTime(),nt=setTimeout(()=>{p.onAutoClose==null||p.onAutoClose.call(p,p),Pa()},fr.current))})(),()=>clearTimeout(nt)},[z,y,p,Bn,Ct,Pa]),Le.useEffect(()=>{p.delete&&(Pa(),p.onDismiss==null||p.onDismiss.call(p,p))},[Pa,p.delete]);function ll(){var nt;if(J?.loading){var Gt;return Le.createElement("div",{className:qa(L?.loader,p==null||(Gt=p.classNames)==null?void 0:Gt.loader,"sonner-loader"),"data-visible":Bn==="loading"},J.loading)}return Le.createElement(eM,{className:qa(L?.loader,p==null||(nt=p.classNames)==null?void 0:nt.loader),visible:Bn==="loading"})}const cl=p.icon||J?.[Bn]||ZD(Bn);var ro,ja;return Le.createElement("li",{tabIndex:0,ref:ln,className:qa(I,zn,L?.toast,p==null||(t=p.classNames)==null?void 0:t.toast,L?.default,L?.[Bn],p==null||(n=p.classNames)==null?void 0:n[Bn]),"data-sonner-toast":"","data-rich-colors":(ro=p.richColors)!=null?ro:q,"data-styled":!(p.jsx||p.unstyled||b),"data-mounted":P,"data-promise":!!p.promise,"data-swiped":en,"data-removed":Se,"data-visible":no,"data-y-position":Fn,"data-x-position":cn,"data-index":N,"data-front":ni,"data-swiping":Pe,"data-dismissible":Ia,"data-type":Bn,"data-invert":La,"data-swipe-out":tt,"data-swipe-direction":G,"data-expanded":!!(z||ee&&P),"data-testid":p.testId,style:{"--index":N,"--toasts-before":N,"--z-index":R.length-N,"--offset":`${Se?Dr:mt.current}px`,"--initial-height":ee?"auto":`${Ea}px`,...M,...p.style},onDragEnd:()=>{Ge(!1),U(null),Qn.current=null},onPointerDown:nt=>{nt.button!==2&&(sr||!Ia||(Zr.current=new Date,jn(mt.current),nt.target.setPointerCapture(nt.pointerId),nt.target.tagName!=="BUTTON"&&(Ge(!0),Qn.current={x:nt.clientX,y:nt.clientY})))},onPointerUp:()=>{var nt,Gt,On;if(tt||!Ia)return;Qn.current=null;const Xn=Number(((nt=ln.current)==null?void 0:nt.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ri=Number(((Gt=ln.current)==null?void 0:Gt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Wt=new Date().getTime()-((On=Zr.current)==null?void 0:On.getTime()),mr=we==="x"?Xn:ri,ao=Math.abs(mr)/Wt;if(Math.abs(mr)>=bM||ao>.11){jn(mt.current),p.onDismiss==null||p.onDismiss.call(p,p),ce(we==="x"?Xn>0?"right":"left":ri>0?"down":"up"),Pa(),Ot(!0);return}else{var pr,gr;(pr=ln.current)==null||pr.style.setProperty("--swipe-amount-x","0px"),(gr=ln.current)==null||gr.style.setProperty("--swipe-amount-y","0px")}on(!1),Ge(!1),U(null)},onPointerMove:nt=>{var Gt,On,Xn;if(!Qn.current||!Ia||((Gt=window.getSelection())==null?void 0:Gt.toString().length)>0)return;const Wt=nt.clientY-Qn.current.y,mr=nt.clientX-Qn.current.x;var ao;const pr=(ao=e.swipeDirections)!=null?ao:vM(me);!we&&(Math.abs(mr)>1||Math.abs(Wt)>1)&&U(Math.abs(mr)>Math.abs(Wt)?"x":"y");let gr={x:0,y:0};const ul=wa=>1/(1.5+Math.abs(wa)/20);if(we==="y"){if(pr.includes("top")||pr.includes("bottom"))if(pr.includes("top")&&Wt<0||pr.includes("bottom")&&Wt>0)gr.y=Wt;else{const wa=Wt*ul(Wt);gr.y=Math.abs(wa)<Math.abs(Wt)?wa:Wt}}else if(we==="x"&&(pr.includes("left")||pr.includes("right")))if(pr.includes("left")&&mr<0||pr.includes("right")&&mr>0)gr.x=mr;else{const wa=mr*ul(mr);gr.x=Math.abs(wa)<Math.abs(mr)?wa:mr}(Math.abs(gr.x)>0||Math.abs(gr.y)>0)&&on(!0),(On=ln.current)==null||On.style.setProperty("--swipe-amount-x",`${gr.x}px`),(Xn=ln.current)==null||Xn.style.setProperty("--swipe-amount-y",`${gr.y}px`)}},De&&!p.jsx&&Bn!=="loading"?Le.createElement("button",{"aria-label":te,"data-disabled":sr,"data-close-button":!0,onClick:sr||!Ia?()=>{}:()=>{Pa(),p.onDismiss==null||p.onDismiss.call(p,p)},className:qa(L?.closeButton,p==null||(r=p.classNames)==null?void 0:r.closeButton)},(ja=J?.close)!=null?ja:sM):null,(Bn||p.icon||p.promise)&&p.icon!==null&&(J?.[Bn]!==null||p.icon)?Le.createElement("div",{"data-icon":"",className:qa(L?.icon,p==null||(a=p.classNames)==null?void 0:a.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||ll():null,p.type!=="loading"?cl:null):null,Le.createElement("div",{"data-content":"",className:qa(L?.content,p==null||(i=p.classNames)==null?void 0:i.content)},Le.createElement("div",{"data-title":"",className:qa(L?.title,p==null||(o=p.classNames)==null?void 0:o.title)},p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title),p.description?Le.createElement("div",{"data-description":"",className:qa(se,Bc,L?.description,p==null||(c=p.classNames)==null?void 0:c.description)},typeof p.description=="function"?p.description():p.description):null),Le.isValidElement(p.cancel)?p.cancel:p.cancel&&xh(p.cancel)?Le.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||V,onClick:nt=>{xh(p.cancel)&&Ia&&(p.cancel.onClick==null||p.cancel.onClick.call(p.cancel,nt),Pa())},className:qa(L?.cancelButton,p==null||(u=p.classNames)==null?void 0:u.cancelButton)},p.cancel.label):null,Le.isValidElement(p.action)?p.action:p.action&&xh(p.action)?Le.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||Z,onClick:nt=>{xh(p.action)&&(p.action.onClick==null||p.action.onClick.call(p.action,nt),!nt.defaultPrevented&&Pa())},className:qa(L?.actionButton,p==null||(h=p.classNames)==null?void 0:h.actionButton)},p.action.label):null)};function Vv(){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 wM(e,t){const n={};return[e,t].forEach((r,a)=>{const i=a===1,o=i?"--mobile-offset":"--offset",c=i?pM:mM;function u(h){["top","right","bottom","left"].forEach(g=>{n[`${o}-${g}`]=typeof h=="number"?`${h}px`:h})}typeof r=="number"||typeof r=="string"?u(r):typeof r=="object"?["top","right","bottom","left"].forEach(h=>{r[h]===void 0?n[`${o}-${h}`]=c:n[`${o}-${h}`]=typeof r[h]=="number"?`${r[h]}px`:r[h]}):u(c)}),n}const SM=Le.forwardRef(function(t,n){const{id:r,invert:a,position:i="bottom-right",hotkey:o=["altKey","KeyT"],expand:c,closeButton:u,className:h,offset:g,mobileOffset:p,theme:b="light",richColors:y,duration:w,style:T,visibleToasts:A=fM,toastOptions:N,dir:R=Vv(),gap:z=xM,icons:W,containerAriaLabel:q="Notifications"}=t,[C,M]=Le.useState([]),V=Le.useMemo(()=>r?C.filter(P=>P.toasterId===r):C.filter(P=>!P.toasterId),[C,r]),Z=Le.useMemo(()=>Array.from(new Set([i].concat(V.filter(P=>P.position).map(P=>P.position)))),[V,i]),[I,se]=Le.useState([]),[ae,me]=Le.useState(!1),[oe,ee]=Le.useState(!1),[L,J]=Le.useState(b!=="system"?b:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),te=Le.useRef(null),we=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),U=Le.useRef(null),G=Le.useRef(!1),ce=Le.useCallback(P=>{M(pe=>{var Se;return(Se=pe.find(Re=>Re.id===P.id))!=null&&Se.delete||Ar.dismiss(P.id),pe.filter(({id:Re})=>Re!==P.id)})},[]);return Le.useEffect(()=>Ar.subscribe(P=>{if(P.dismiss){requestAnimationFrame(()=>{M(pe=>pe.map(Se=>Se.id===P.id?{...Se,delete:!0}:Se))});return}setTimeout(()=>{WD.flushSync(()=>{M(pe=>{const Se=pe.findIndex(Re=>Re.id===P.id);return Se!==-1?[...pe.slice(0,Se),{...pe[Se],...P},...pe.slice(Se+1)]:[P,...pe]})})})}),[C]),Le.useEffect(()=>{if(b!=="system"){J(b);return}if(b==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?J("dark"):J("light")),typeof window>"u")return;const P=window.matchMedia("(prefers-color-scheme: dark)");try{P.addEventListener("change",({matches:pe})=>{J(pe?"dark":"light")})}catch{P.addListener(({matches:Se})=>{try{J(Se?"dark":"light")}catch(Re){console.error(Re)}})}},[b]),Le.useEffect(()=>{C.length<=1&&me(!1)},[C]),Le.useEffect(()=>{const P=pe=>{var Se;if(o.every(Ge=>pe[Ge]||pe.code===Ge)){var Pe;me(!0),(Pe=te.current)==null||Pe.focus()}pe.code==="Escape"&&(document.activeElement===te.current||(Se=te.current)!=null&&Se.contains(document.activeElement))&&me(!1)};return document.addEventListener("keydown",P),()=>document.removeEventListener("keydown",P)},[o]),Le.useEffect(()=>{if(te.current)return()=>{U.current&&(U.current.focus({preventScroll:!0}),U.current=null,G.current=!1)}},[te.current]),Le.createElement("section",{ref:n,"aria-label":`${q} ${we}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},Z.map((P,pe)=>{var Se;const[Re,Pe]=P.split("-");return V.length?Le.createElement("ol",{key:P,dir:R==="auto"?Vv():R,tabIndex:-1,ref:te,className:h,"data-sonner-toaster":!0,"data-sonner-theme":L,"data-y-position":Re,"data-x-position":Pe,style:{"--front-toast-height":`${((Se=I[0])==null?void 0:Se.height)||0}px`,"--width":`${gM}px`,"--gap":`${z}px`,...T,...wM(g,p)},onBlur:Ge=>{G.current&&!Ge.currentTarget.contains(Ge.relatedTarget)&&(G.current=!1,U.current&&(U.current.focus({preventScroll:!0}),U.current=null))},onFocus:Ge=>{Ge.target instanceof HTMLElement&&Ge.target.dataset.dismissible==="false"||G.current||(G.current=!0,U.current=Ge.relatedTarget)},onMouseEnter:()=>me(!0),onMouseMove:()=>me(!0),onMouseLeave:()=>{oe||me(!1)},onDragEnd:()=>me(!1),onPointerDown:Ge=>{Ge.target instanceof HTMLElement&&Ge.target.dataset.dismissible==="false"||ee(!0)},onPointerUp:()=>ee(!1)},V.filter(Ge=>!Ge.position&&pe===0||Ge.position===P).map((Ge,tt)=>{var Ot,en;return Le.createElement(EM,{key:Ge.id,icons:W,index:tt,toast:Ge,defaultRichColors:y,duration:(Ot=N?.duration)!=null?Ot:w,className:N?.className,descriptionClassName:N?.descriptionClassName,invert:a,visibleToasts:A,closeButton:(en=N?.closeButton)!=null?en:u,interacting:oe,position:P,style:N?.style,unstyled:N?.unstyled,classNames:N?.classNames,cancelButtonStyle:N?.cancelButtonStyle,actionButtonStyle:N?.actionButtonStyle,closeButtonAriaLabel:N?.closeButtonAriaLabel,removeToast:ce,toasts:V.filter(on=>on.position==Ge.position),heights:I.filter(on=>on.position==Ge.position),setHeights:se,expandByDefault:c,gap:z,expanded:ae,swipeDirections:t.swipeDirections})})):null}))}),TM=({...e})=>{const{theme:t="system"}=XD();return f.jsx(SM,{"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 Bs(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}function $v(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Sw(...e){return t=>{let n=!1;const r=e.map(a=>{const i=$v(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():$v(e[a],null)}}}}function Zo(...e){return O.useCallback(Sw(...e),e)}function Tw(e,t=[]){let n=[];function r(i,o){const c=O.createContext(o),u=n.length;n=[...n,o];const h=p=>{const{scope:b,children:y,...w}=p,T=b?.[e]?.[u]||c,A=O.useMemo(()=>w,Object.values(w));return f.jsx(T.Provider,{value:A,children:y})};h.displayName=i+"Provider";function g(p,b){const y=b?.[e]?.[u]||c,w=O.useContext(y);if(w)return w;if(o!==void 0)return o;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,g]}const a=()=>{const i=n.map(o=>O.createContext(o));return function(c){const u=c?.[e]||i;return O.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return a.scopeName=e,[r,kM(a,...t)]}function kM(...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((c,{useScope:u,scopeName:h})=>{const p=u(i)[`__scope${h}`];return{...c,...p}},{});return O.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function kw(e){const t=_M(e),n=O.forwardRef((r,a)=>{const{children:i,...o}=r,c=O.Children.toArray(i),u=c.find(NM);if(u){const h=u.props.children,g=c.map(p=>p===u?O.Children.count(h)>1?O.Children.only(null):O.isValidElement(h)?h.props.children:null:p);return f.jsx(t,{...o,ref:a,children:O.isValidElement(h)?O.cloneElement(h,void 0,g):null})}return f.jsx(t,{...o,ref:a,children:i})});return n.displayName=`${e}.Slot`,n}var _w=kw("Slot");function _M(e){const t=O.forwardRef((n,r)=>{const{children:a,...i}=n;if(O.isValidElement(a)){const o=OM(a),c=CM(i,a.props);return a.type!==O.Fragment&&(c.ref=r?Sw(r,o):o),O.cloneElement(a,c)}return O.Children.count(a)>1?O.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Aw=Symbol("radix.slottable");function AM(e){const t=({children:n})=>f.jsx(f.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Aw,t}function NM(e){return O.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Aw}function CM(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]=(...c)=>{const u=i(...c);return a(...c),u}:a&&(n[r]=a):r==="style"?n[r]={...a,...i}:r==="className"&&(n[r]=[a,i].filter(Boolean).join(" "))}return{...e,...n}}function OM(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 RM=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Jo=RM.reduce((e,t)=>{const n=kw(`Primitive.${t}`),r=O.forwardRef((a,i)=>{const{asChild:o,...c}=a,u=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(u,{...c,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function DM(e,t){e&&Lx.flushSync(()=>e.dispatchEvent(t))}function Wf(e){const t=O.useRef(e);return O.useEffect(()=>{t.current=e}),O.useMemo(()=>(...n)=>t.current?.(...n),[])}function MM(e,t=globalThis?.document){const n=Wf(e);O.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 IM="DismissableLayer",w2="dismissableLayer.update",LM="dismissableLayer.pointerDownOutside",PM="dismissableLayer.focusOutside",Gv,Nw=O.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Cw=O.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:c,...u}=e,h=O.useContext(Nw),[g,p]=O.useState(null),b=g?.ownerDocument??globalThis?.document,[,y]=O.useState({}),w=Zo(t,M=>p(M)),T=Array.from(h.layers),[A]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),N=T.indexOf(A),R=g?T.indexOf(g):-1,z=h.layersWithOutsidePointerEventsDisabled.size>0,W=R>=N,q=zM(M=>{const V=M.target,Z=[...h.branches].some(I=>I.contains(V));!W||Z||(a?.(M),o?.(M),M.defaultPrevented||c?.())},b),C=FM(M=>{const V=M.target;[...h.branches].some(I=>I.contains(V))||(i?.(M),o?.(M),M.defaultPrevented||c?.())},b);return MM(M=>{R===h.layers.size-1&&(r?.(M),!M.defaultPrevented&&c&&(M.preventDefault(),c()))},b),O.useEffect(()=>{if(g)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Gv=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),Yv(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=Gv)}},[g,b,n,h]),O.useEffect(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),Yv())},[g,h]),O.useEffect(()=>{const M=()=>y({});return document.addEventListener(w2,M),()=>document.removeEventListener(w2,M)},[]),f.jsx(Jo.div,{...u,ref:w,style:{pointerEvents:z?W?"auto":"none":void 0,...e.style},onFocusCapture:Bs(e.onFocusCapture,C.onFocusCapture),onBlurCapture:Bs(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Bs(e.onPointerDownCapture,q.onPointerDownCapture)})});Cw.displayName=IM;var jM="DismissableLayerBranch",BM=O.forwardRef((e,t)=>{const n=O.useContext(Nw),r=O.useRef(null),a=Zo(t,r);return O.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),f.jsx(Jo.div,{...e,ref:a})});BM.displayName=jM;function zM(e,t=globalThis?.document){const n=Wf(e),r=O.useRef(!1),a=O.useRef(()=>{});return O.useEffect(()=>{const i=c=>{if(c.target&&!r.current){let u=function(){Ow(LM,n,h,{discrete:!0})};const h={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=u,t.addEventListener("click",a.current,{once:!0})):u()}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 FM(e,t=globalThis?.document){const n=Wf(e),r=O.useRef(!1);return O.useEffect(()=>{const a=i=>{i.target&&!r.current&&Ow(PM,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 Yv(){const e=new CustomEvent(w2);document.dispatchEvent(e)}function Ow(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?DM(a,i):a.dispatchEvent(i)}var h0=globalThis?.document?O.useLayoutEffect:()=>{};const HM=["top","right","bottom","left"],Gi=Math.min,Vr=Math.max,sf=Math.round,bh=Math.floor,rs=e=>({x:e,y:e}),UM={left:"right",right:"left",bottom:"top",top:"bottom"},qM={start:"end",end:"start"};function S2(e,t,n){return Vr(e,Gi(t,n))}function Gs(e,t){return typeof e=="function"?e(t):e}function Ys(e){return e.split("-")[0]}function wc(e){return e.split("-")[1]}function Px(e){return e==="x"?"y":"x"}function jx(e){return e==="y"?"height":"width"}const VM=new Set(["top","bottom"]);function Za(e){return VM.has(Ys(e))?"y":"x"}function Bx(e){return Px(Za(e))}function $M(e,t,n){n===void 0&&(n=!1);const r=wc(e),a=Bx(e),i=jx(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=of(o)),[o,of(o)]}function GM(e){const t=of(e);return[T2(e),t,T2(t)]}function T2(e){return e.replace(/start|end/g,t=>qM[t])}const Qv=["left","right"],Xv=["right","left"],YM=["top","bottom"],QM=["bottom","top"];function XM(e,t,n){switch(e){case"top":case"bottom":return n?t?Xv:Qv:t?Qv:Xv;case"left":case"right":return t?YM:QM;default:return[]}}function WM(e,t,n,r){const a=wc(e);let i=XM(Ys(e),n==="start",r);return a&&(i=i.map(o=>o+"-"+a),t&&(i=i.concat(i.map(T2)))),i}function of(e){return e.replace(/left|right|bottom|top/g,t=>UM[t])}function KM(e){return{top:0,right:0,bottom:0,left:0,...e}}function Rw(e){return typeof e!="number"?KM(e):{top:e,right:e,bottom:e,left:e}}function lf(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function Wv(e,t,n){let{reference:r,floating:a}=e;const i=Za(t),o=Bx(t),c=jx(o),u=Ys(t),h=i==="y",g=r.x+r.width/2-a.width/2,p=r.y+r.height/2-a.height/2,b=r[c]/2-a[c]/2;let y;switch(u){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:p};break;case"left":y={x:r.x-a.width,y:p};break;default:y={x:r.x,y:r.y}}switch(wc(t)){case"start":y[o]-=b*(n&&h?-1:1);break;case"end":y[o]+=b*(n&&h?-1:1);break}return y}const ZM=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}
vendor: 17,127 bytes, line 50
50=n,c=i.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(t));let h=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:g,y:p}=Wv(h,r,u),b=r,y={},w=0;for(let T=0;T<c.length;T++){const{name:A,fn:N}=c[T],{x:R,y:z,data:W,reset:q}=await N({x:g,y:p,initialPlacement:r,placement:b,strategy:a,middlewareData:y,rects:h,platform:o,elements:{reference:e,floating:t}});g=R??g,p=z??p,y={...y,[A]:{...y[A],...W}},q&&w<=50&&(w++,typeof q=="object"&&(q.placement&&(b=q.placement),q.rects&&(h=q.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):q.rects),{x:g,y:p}=Wv(h,b,u)),T=-1)}return{x:g,y:p,placement:b,strategy:a,middlewareData:y}};async function f0(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:i,rects:o,elements:c,strategy:u}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:p="floating",altBoundary:b=!1,padding:y=0}=Gs(t,e),w=Rw(y),A=c[b?p==="floating"?"reference":"floating":p],N=lf(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(A)))==null||n?A:A.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:h,rootBoundary:g,strategy:u})),R=p==="floating"?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,z=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),W=await(i.isElement==null?void 0:i.isElement(z))?await(i.getScale==null?void 0:i.getScale(z))||{x:1,y:1}:{x:1,y:1},q=lf(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:R,offsetParent:z,strategy:u}):R);return{top:(N.top-q.top+w.top)/W.y,bottom:(q.bottom-N.bottom+w.bottom)/W.y,left:(N.left-q.left+w.left)/W.x,right:(q.right-N.right+w.right)/W.x}}const JM=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:i,platform:o,elements:c,middlewareData:u}=t,{element:h,padding:g=0}=Gs(e,t)||{};if(h==null)return{};const p=Rw(g),b={x:n,y:r},y=Bx(a),w=jx(y),T=await o.getDimensions(h),A=y==="y",N=A?"top":"left",R=A?"bottom":"right",z=A?"clientHeight":"clientWidth",W=i.reference[w]+i.reference[y]-b[y]-i.floating[w],q=b[y]-i.reference[y],C=await(o.getOffsetParent==null?void 0:o.getOffsetParent(h));let M=C?C[z]:0;(!M||!await(o.isElement==null?void 0:o.isElement(C)))&&(M=c.floating[z]||i.floating[w]);const V=W/2-q/2,Z=M/2-T[w]/2-1,I=Gi(p[N],Z),se=Gi(p[R],Z),ae=I,me=M-T[w]-se,oe=M/2-T[w]/2+V,ee=S2(ae,oe,me),L=!u.arrow&&wc(a)!=null&&oe!==ee&&i.reference[w]/2-(oe<ae?I:se)-T[w]/2<0,J=L?oe<ae?oe-ae:oe-me:0;return{[y]:b[y]+J,data:{[y]:ee,centerOffset:oe-ee-J,...L&&{alignmentOffset:J}},reset:L}}}),eI=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:c,platform:u,elements:h}=t,{mainAxis:g=!0,crossAxis:p=!0,fallbackPlacements:b,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:T=!0,...A}=Gs(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const N=Ys(a),R=Za(c),z=Ys(c)===c,W=await(u.isRTL==null?void 0:u.isRTL(h.floating)),q=b||(z||!T?[of(c)]:GM(c)),C=w!=="none";!b&&C&&q.push(...WM(c,T,w,W));const M=[c,...q],V=await f0(t,A),Z=[];let I=((r=i.flip)==null?void 0:r.overflows)||[];if(g&&Z.push(V[N]),p){const oe=$M(a,o,W);Z.push(V[oe[0]],V[oe[1]])}if(I=[...I,{placement:a,overflows:Z}],!Z.every(oe=>oe<=0)){var se,ae;const oe=(((se=i.flip)==null?void 0:se.index)||0)+1,ee=M[oe];if(ee&&(!(p==="alignment"?R!==Za(ee):!1)||I.every(te=>Za(te.placement)===R?te.overflows[0]>0:!0)))return{data:{index:oe,overflows:I},reset:{placement:ee}};let L=(ae=I.filter(J=>J.overflows[0]<=0).sort((J,te)=>J.overflows[1]-te.overflows[1])[0])==null?void 0:ae.placement;if(!L)switch(y){case"bestFit":{var me;const J=(me=I.filter(te=>{if(C){const we=Za(te.placement);return we===R||we==="y"}return!0}).map(te=>[te.placement,te.overflows.filter(we=>we>0).reduce((we,U)=>we+U,0)]).sort((te,we)=>te[1]-we[1])[0])==null?void 0:me[0];J&&(L=J);break}case"initialPlacement":L=c;break}if(a!==L)return{reset:{placement:L}}}return{}}}};function Kv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Zv(e){return HM.some(t=>e[t]>=0)}const tI=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Gs(e,t);switch(r){case"referenceHidden":{const i=await f0(t,{...a,elementContext:"reference"}),o=Kv(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Zv(o)}}}case"escaped":{const i=await f0(t,{...a,altBoundary:!0}),o=Kv(i,n.floating);return{data:{escapedOffsets:o,escaped:Zv(o)}}}default:return{}}}}},Dw=new Set(["left","top"]);async function nI(e,t){const{placement:n,platform:r,elements:a}=e,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),o=Ys(n),c=wc(n),u=Za(n)==="y",h=Dw.has(o)?-1:1,g=i&&u?-1:1,p=Gs(t,e);let{mainAxis:b,crossAxis:y,alignmentAxis:w}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof w=="number"&&(y=c==="end"?w*-1:w),u?{x:y*g,y:b*h}:{x:b*h,y:y*g}}const rI=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:c}=t,u=await nI(t,e);return o===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:o}}}}},aI=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:c={fn:A=>{let{x:N,y:R}=A;return{x:N,y:R}}},...u}=Gs(e,t),h={x:n,y:r},g=await f0(t,u),p=Za(Ys(a)),b=Px(p);let y=h[b],w=h[p];if(i){const A=b==="y"?"top":"left",N=b==="y"?"bottom":"right",R=y+g[A],z=y-g[N];y=S2(R,y,z)}if(o){const A=p==="y"?"top":"left",N=p==="y"?"bottom":"right",R=w+g[A],z=w-g[N];w=S2(R,w,z)}const T=c.fn({...t,[b]:y,[p]:w});return{...T,data:{x:T.x-n,y:T.y-r,enabled:{[b]:i,[p]:o}}}}}},sI=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:i,middlewareData:o}=t,{offset:c=0,mainAxis:u=!0,crossAxis:h=!0}=Gs(e,t),g={x:n,y:r},p=Za(a),b=Px(p);let y=g[b],w=g[p];const T=Gs(c,t),A=typeof T=="number"?{mainAxis:T,crossAxis:0}:{mainAxis:0,crossAxis:0,...T};if(u){const z=b==="y"?"height":"width",W=i.reference[b]-i.floating[z]+A.mainAxis,q=i.reference[b]+i.reference[z]-A.mainAxis;y<W?y=W:y>q&&(y=q)}if(h){var N,R;const z=b==="y"?"width":"height",W=Dw.has(Ys(a)),q=i.reference[p]-i.floating[z]+(W&&((N=o.offset)==null?void 0:N[p])||0)+(W?0:A.crossAxis),C=i.reference[p]+i.reference[z]+(W?0:((R=o.offset)==null?void 0:R[p])||0)-(W?A.crossAxis:0);w<q?w=q:w>C&&(w=C)}return{[b]:y,[p]:w}}}},iI=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:c}=t,{apply:u=()=>{},...h}=Gs(e,t),g=await f0(t,h),p=Ys(a),b=wc(a),y=Za(a)==="y",{width:w,height:T}=i.floating;let A,N;p==="top"||p==="bottom"?(A=p,N=b===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(N=p,A=b==="end"?"top":"bottom");const R=T-g.top-g.bottom,z=w-g.left-g.right,W=Gi(T-g[A],R),q=Gi(w-g[N],z),C=!t.middlewareData.shift;let M=W,V=q;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(V=z),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(M=R),C&&!b){const I=Vr(g.left,0),se=Vr(g.right,0),ae=Vr(g.top,0),me=Vr(g.bottom,0);y?V=w-2*(I!==0||se!==0?I+se:Vr(g.left,g.right)):M=T-2*(ae!==0||me!==0?ae+me:Vr(g.top,g.bottom))}await u({...t,availableWidth:V,availableHeight:M});const Z=await o.getDimensions(c.floating);return w!==Z.width||T!==Z.height?{reset:{rects:!0}}:{}}}};function Kf(){return typeof window<"u"}function Sc(e){return Mw(e)?(e.nodeName||"").toLowerCase():"#document"}function Yr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ls(e){var t;return(t=(Mw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Mw(e){return Kf()?e instanceof Node||e instanceof Yr(e).Node:!1}function Oa(e){return Kf()?e instanceof Element||e instanceof Yr(e).Element:!1}function as(e){return Kf()?e instanceof HTMLElement||e instanceof Yr(e).HTMLElement:!1}function Jv(e){return!Kf()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Yr(e).ShadowRoot}const oI=new Set(["inline","contents"]);function I0(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=Ra(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!oI.has(a)}const lI=new Set(["table","td","th"]);function cI(e){return lI.has(Sc(e))}const uI=[":popover-open",":modal"];function Zf(e){return uI.some(t=>{try{return e.matches(t)}catch{return!1}})}const dI=["transform","translate","scale","rotate","perspective"],hI=["transform","translate","scale","rotate","perspective","filter"],fI=["paint","layout","strict","content"];function zx(e){const t=Fx(),n=Oa(e)?Ra(e):e;return dI.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)||hI.some(r=>(n.willChange||"").includes(r))||fI.some(r=>(n.contain||"").includes(r))}function mI(e){let t=Yi(e);for(;as(t)&&!pc(t);){if(zx(t))return t;if(Zf(t))return null;t=Yi(t)}return null}function Fx(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const pI=new Set(["html","body","#document"]);function pc(e){return pI.has(Sc(e))}function Ra(e){return Yr(e).getComputedStyle(e)}function Jf(e){return Oa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Yi(e){if(Sc(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Jv(e)&&e.host||ls(e);return Jv(t)?t.host:t}function Iw(e){const t=Yi(e);return pc(t)?e.ownerDocument?e.ownerDocument.body:e.body:as(t)&&I0(t)?t:Iw(t)}function m0(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=Iw(e),i=a===((r=e.ownerDocument)==null?void 0:r.body),o=Yr(a);if(i){const c=k2(o);return t.concat(o,o.visualViewport||[],I0(a)?a:[],c&&n?m0(c):[])}return t.concat(a,m0(a,[],n))}function k2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Lw(e){const t=Ra(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,c=sf(n)!==i||sf(r)!==o;return c&&(n=i,r=o),{width:n,height:r,$:c}}function Hx(e){return Oa(e)?e:e.contextElement}function lc(e){const t=Hx(e);if(!as(t))return rs(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:i}=Lw(t);let o=(i?sf(n.width):n.width)/r,c=(i?sf(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const gI=rs(0);function Pw(e){const t=Yr(e);return!Fx()||!t.visualViewport?gI:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xI(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Yr(e)?!1:t}function qo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),i=Hx(e);let o=rs(1);t&&(r?Oa(r)&&(o=lc(r)):o=lc(e));const c=xI(i,n,r)?Pw(i):rs(0);let u=(a.left+c.x)/o.x,h=(a.top+c.y)/o.y,g=a.width/o.x,p=a.height/o.y;if(i){const b=Yr(i),y=r&&Oa(r)?Yr(r):r;let w=b,T=k2(w);for(;T&&r&&y!==w;){const A=lc(T),N=T.getBoundingClientRect(),R=Ra(T),z=N.left+(T.clientLeft+parseFloat(R.paddingLeft))*A.x,W=N.top+(T.clientTop+parseFloat(R.paddingTop))*A.y;u*=A.x,h*=A.y,g*=A.x,p*=A.y,u+=z,h+=W,w=Yr(T),T=k2(w)}}return lf({width:g,height:p,x:u,y:h})}function em(e,t){const n=Jf(e).scrollLeft;return t?t.left+n:qo(ls(e)).left+n}function jw(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-em(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function bI(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const i=a==="fixed",o=ls(r),c=t?Zf(t.floating):!1;if(r===o||c&&i)return n;let u={scrollLeft:0,scrollTop:0},h=rs(1);const g=rs(0),p=as(r);if((p||!p&&!i)&&((Sc(r)!=="body"||I0(o))&&(u=Jf(r)),as(r))){const y=qo(r);h=lc(r),g.x=y.x+r.clientLeft,g.y=y.y+r.clientTop}const b=o&&!p&&!i?jw(o,u):rs(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-u.scrollLeft*h.x+g.x+b.x,y:n.y*h.y-u.scrollTop*h.y+g.y+b.y}}function yI(e){return Array.from(e.getClientRects())}function vI(e){const t=ls(e),n=Jf(e),r=e.ownerDocument.body,a=Vr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Vr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+em(e);const c=-n.scrollTop;return Ra(r).direction==="rtl"&&(o+=Vr(t.clientWidth,r.clientWidth)-a),{width:a,height:i,x:o,y:c}}const e6=25;function EI(e,t){const n=Yr(e),r=ls(e),a=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,c=0,u=0;if(a){i=a.width,o=a.height;const g=Fx();(!g||g&&t==="fixed")&&(c=a.offsetLeft,u=a.offsetTop)}const h=em(r);if(h<=0){const g=r.ownerDocument,p=g.body,b=getComputedStyle(p),y=g.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,w=Math.abs(r.clientWidth-p.clientWidth-y);w<=e6&&(i-=w)}else h<=e6&&(i+=h);return{width:i,height:o,x:c,y:u}}const wI=new Set(["absolute","fixed"]);function SI(e,t){const n=qo(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,i=as(e)?lc(e):rs(1),o=e.clientWidth*i.x,c=e.clientHeight*i.y,u=a*i.x,h=r*i.y;return{width:o,height:c,x:u,y:h}}function t6(e,t,n){let r;if(t==="viewport")r=EI(e,n);else if(t==="document")r=vI(ls(e));else if(Oa(t))r=SI(t,n);else{const a=Pw(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return lf(r)}function Bw(e,t){const n=Yi(e);return n===t||!Oa(n)||pc(n)?!1:Ra(n).position==="fixed"||Bw(n,t)}function TI(e,t){const n=t.get(e);if(n)return n;let r=m0(e,[],!1).filter(c=>Oa(c)&&Sc(c)!=="body"),a=null;const i=Ra(e).position==="fixed";let o=i?Yi(e):e;for(;Oa(o)&&!pc(o);){const c=Ra(o),u=zx(o);!u&&c.position==="fixed"&&(a=null),(i?!u&&!a:!u&&c.position==="static"&&!!a&&wI.has(a.position)||I0(o)&&!u&&Bw(e,o))?r=r.filter(g=>g!==o):a=c,o=Yi(o)}return t.set(e,r),r}function kI(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o=[...n==="clippingAncestors"?Zf(t)?[]:TI(t,this._c):[].concat(n),r],c=o[0],u=o.reduce((h,g)=>{const p=t6(t,g,a);return h.top=Vr(p.top,h.top),h.right=Gi(p.right,h.right),h.bottom=Gi(p.bottom,h.bottom),h.left=Vr(p.left,h.left),h},t6(t,c,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function _I(e){const{width:t,height:n}=Lw(e);return{width:t,height:n}}function AI(e,t,n){const r=as(t),a=ls(t),i=n==="fixed",o=qo(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const u=rs(0);function h(){u.x=em(a)}if(r||!r&&!i)if((Sc(t)!=="body"||I0(a))&&(c=Jf(t)),r){const y=qo(t,!0,i,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}else a&&h();i&&!r&&a&&h();const g=a&&!r&&!i?jw(a,c):rs(0),p=o.left+c.scrollLeft-u.x-g.x,b=o.top+c.scrollTop-u.y-g.y;return{x:p,y:b,width:o.width,height:o.height}}function tg(e){return Ra(e).position==="static"}function n6(e,t){if(!as(e)||Ra(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ls(e)===n&&(n=n.ownerDocument.body),n}function zw(e,t){const n=Yr(e);if(Zf(e))return n;if(!as(e)){let a=Yi(e);for(;a&&!pc(a);){if(Oa(a)&&!tg(a))return a;a=Yi(a)}return n}let r=n6(e,t);for(;r&&cI(r)&&tg(r);)r=n6(r,t);return r&&pc(r)&&tg(r)&&!zx(r)?n:r||mI(e)||n}const NI=async function(e){const t=this.getOffsetParent||zw,n=this.getDimensions,r=await n(e.floating);return{reference:AI(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function CI(e){return Ra(e).direction==="rtl"}const OI={convertOffsetParentRelativeRectToViewportRelativeRect:bI,getDocumentElement:ls,getClippingRect:kI,getOffsetParent:zw,getElementRects:NI,getClientRects:yI,getDimensions:_I,getScale:lc,isElement:Oa,isRTL:CI};function Fw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function RI(e,t){let n=null,r;const a=ls(e);function i(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function o(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const h=e.getBoundingClientRect(),{left:g,top:p,width:b,height:y}=h;if(c||t(),!b||!y)return;const w=bh(p),T=bh(a.clientWidth-(g+b)),A=bh(a.clientHeight-(p+y)),N=bh(g),z={rootMargin:-w+"px "+-T+"px "+-A+"px "+-N+"px",threshold:Vr(0,Gi(1,u))||1};let W=!0;function q(C){const M=C[0].intersectionRatio;if(M!==u){if(!W)return o();M?o(!1,M):r=setTimeout(()=>{o(!1,1e-7)},1e3)}M===1&&!Fw(h,e.getBoundingClientRect())&&o(),W=!1}try{n=new IntersectionObserver(q,{...z,root:a.ownerDocument})}catch{n=new IntersectionObserver(q,z)}n.observe(e)}return o(!0),i}function DI(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,h=Hx(e),g=a||i?[...h?m0(h):[],...m0(t)]:[];g.forEach(N=>{a&&N.addEventListener("scroll",n,{passive:!0}),i&&N.addEventListener("resize",n)});const p=h&&c?RI(h,n):null;let b=-1,y=null;o&&(y=new ResizeObserver(N=>{let[R]=N;R&&R.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var z;(z=y)==null||z.observe(t)})),n()}),h&&!u&&y.observe(h),y.observe(t));let w,T=u?qo(e):null;u&&A();function A(){const N=qo(e);
vendor: 4,242 bytes, line 50
50T&&!Fw(T,N)&&n(),T=N,w=requestAnimationFrame(A)}return n(),()=>{var N;g.forEach(R=>{a&&R.removeEventListener("scroll",n),i&&R.removeEventListener("resize",n)}),p?.(),(N=y)==null||N.disconnect(),y=null,u&&cancelAnimationFrame(w)}}const MI=rI,II=aI,LI=eI,PI=iI,jI=tI,r6=JM,BI=sI,zI=(e,t,n)=>{const r=new Map,a={platform:OI,...n},i={...a.platform,_c:r};return ZM(e,t,{...a,platform:i})};var FI=typeof document<"u",HI=function(){},Qh=FI?O.useLayoutEffect:HI;function cf(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(!cf(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)&&!cf(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Hw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function a6(e,t){const n=Hw(e);return Math.round(t*n)/n}function ng(e){const t=O.useRef(e);return Qh(()=>{t.current=e}),t}function UI(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:i,floating:o}={},transform:c=!0,whileElementsMounted:u,open:h}=e,[g,p]=O.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,y]=O.useState(r);cf(b,r)||y(r);const[w,T]=O.useState(null),[A,N]=O.useState(null),R=O.useCallback(te=>{te!==C.current&&(C.current=te,T(te))},[]),z=O.useCallback(te=>{te!==M.current&&(M.current=te,N(te))},[]),W=i||w,q=o||A,C=O.useRef(null),M=O.useRef(null),V=O.useRef(g),Z=u!=null,I=ng(u),se=ng(a),ae=ng(h),me=O.useCallback(()=>{if(!C.current||!M.current)return;const te={placement:t,strategy:n,middleware:b};se.current&&(te.platform=se.current),zI(C.current,M.current,te).then(we=>{const U={...we,isPositioned:ae.current!==!1};oe.current&&!cf(V.current,U)&&(V.current=U,Lx.flushSync(()=>{p(U)}))})},[b,t,n,se,ae]);Qh(()=>{h===!1&&V.current.isPositioned&&(V.current.isPositioned=!1,p(te=>({...te,isPositioned:!1})))},[h]);const oe=O.useRef(!1);Qh(()=>(oe.current=!0,()=>{oe.current=!1}),[]),Qh(()=>{if(W&&(C.current=W),q&&(M.current=q),W&&q){if(I.current)return I.current(W,q,me);me()}},[W,q,me,I,Z]);const ee=O.useMemo(()=>({reference:C,floating:M,setReference:R,setFloating:z}),[R,z]),L=O.useMemo(()=>({reference:W,floating:q}),[W,q]),J=O.useMemo(()=>{const te={position:n,left:0,top:0};if(!L.floating)return te;const we=a6(L.floating,g.x),U=a6(L.floating,g.y);return c?{...te,transform:"translate("+we+"px, "+U+"px)",...Hw(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:we,top:U}},[n,c,L.floating,g.x,g.y]);return O.useMemo(()=>({...g,update:me,refs:ee,elements:L,floatingStyles:J}),[g,me,ee,L,J])}const qI=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?r6({element:r.current,padding:a}).fn(n):{}:r?r6({element:r,padding:a}).fn(n):{}}}},VI=(e,t)=>({...MI(e),options:[e,t]}),$I=(e,t)=>({...II(e),options:[e,t]}),GI=(e,t)=>({...BI(e),options:[e,t]}),YI=(e,t)=>({...LI(e),options:[e,t]}),QI=(e,t)=>({...PI(e),options:[e,t]}),XI=(e,t)=>({...jI(e),options:[e,t]}),WI=(e,t)=>({...qI(e),options:[e,t]});var KI="Arrow",Uw=O.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...i}=e;return f.jsx(Jo.svg,{...i,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:f.jsx("polygon",{points:"0,0 30,0 15,10"})})});Uw.displayName=KI;var ZI=Uw;function JI(e){const[t,n]=O.useState(void 0);return h0(()=>{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,c;if("borderBoxSize"in i){const u=i.borderBoxSize,h=Array.isArray(u)?u[0]:u;o=h.inlineSize,c=h.blockSize}else o=e.offsetWidth,c=e.offsetHeight;n({width:o,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var qw="Popper",[Vw,$w]=Tw(qw),[hre,Gw]=Vw(qw),Yw="PopperAnchor",Qw=O.forwardRef((e,t)=>
vendor: 4,614 bytes, line 50
50{const{__scopePopper:n,virtualRef:r,...a}=e,i=Gw(Yw,n),o=O.useRef(null),c=Zo(t,o),u=O.useRef(null);return O.useEffect(()=>{const h=u.current;u.current=r?.current||o.current,h!==u.current&&i.onAnchorChange(u.current)}),r?null:f.jsx(Jo.div,{...a,ref:c})});Qw.displayName=Yw;var Ux="PopperContent",[eL,tL]=Vw(Ux),Xw=O.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:i="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:h=[],collisionPadding:g=0,sticky:p="partial",hideWhenDetached:b=!1,updatePositionStrategy:y="optimized",onPlaced:w,...T}=e,A=Gw(Ux,n),[N,R]=O.useState(null),z=Zo(t,Pe=>R(Pe)),[W,q]=O.useState(null),C=JI(W),M=C?.width??0,V=C?.height??0,Z=r+(i!=="center"?"-"+i:""),I=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},se=Array.isArray(h)?h:[h],ae=se.length>0,me={padding:I,boundary:se.filter(rL),altBoundary:ae},{refs:oe,floatingStyles:ee,placement:L,isPositioned:J,middlewareData:te}=UI({strategy:"fixed",placement:Z,whileElementsMounted:(...Pe)=>DI(...Pe,{animationFrame:y==="always"}),elements:{reference:A.anchor},middleware:[VI({mainAxis:a+V,alignmentAxis:o}),u&&$I({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?GI():void 0,...me}),u&&YI({...me}),QI({...me,apply:({elements:Pe,rects:Ge,availableWidth:tt,availableHeight:Ot})=>{const{width:en,height:on}=Ge.reference,Dr=Pe.floating.style;Dr.setProperty("--radix-popper-available-width",`${tt}px`),Dr.setProperty("--radix-popper-available-height",`${Ot}px`),Dr.setProperty("--radix-popper-anchor-width",`${en}px`),Dr.setProperty("--radix-popper-anchor-height",`${on}px`)}}),W&&WI({element:W,padding:c}),aL({arrowWidth:M,arrowHeight:V}),b&&XI({strategy:"referenceHidden",...me})]}),[we,U]=Zw(L),G=Wf(w);h0(()=>{J&&G?.()},[J,G]);const ce=te.arrow?.x,P=te.arrow?.y,pe=te.arrow?.centerOffset!==0,[Se,Re]=O.useState();return h0(()=>{N&&Re(window.getComputedStyle(N).zIndex)},[N]),f.jsx("div",{ref:oe.setFloating,"data-radix-popper-content-wrapper":"",style:{...ee,transform:J?ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Se,"--radix-popper-transform-origin":[te.transformOrigin?.x,te.transformOrigin?.y].join(" "),...te.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:f.jsx(eL,{scope:n,placedSide:we,onArrowChange:q,arrowX:ce,arrowY:P,shouldHideArrow:pe,children:f.jsx(Jo.div,{"data-side":we,"data-align":U,...T,ref:z,style:{...T.style,animation:J?void 0:"none"}})})})});Xw.displayName=Ux;var Ww="PopperArrow",nL={top:"bottom",right:"left",bottom:"top",left:"right"},Kw=O.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,i=tL(Ww,r),o=nL[i.placedSide];return f.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:f.jsx(ZI,{...a,ref:n,style:{...a.style,display:"block"}})})});Kw.displayName=Ww;function rL(e){return e!==null}var aL=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:a}=t,o=a.arrow?.centerOffset!==0,c=o?0:e.arrowWidth,u=o?0:e.arrowHeight,[h,g]=Zw(n),p={start:"0%",center:"50%",end:"100%"}[g],b=(a.arrow?.x??0)+c/2,y=(a.arrow?.y??0)+u/2;let w="",T="";return h==="bottom"?(w=o?p:`${b}px`,T=`${-u}px`):h==="top"?(w=o?p:`${b}px`,T=`${r.floating.height+u}px`):h==="right"?(w=`${-u}px`,T=o?p:`${y}px`):h==="left"&&(w=`${r.floating.width+u}px`,T=o?p:`${y}px`),{data:{x:w,y:T}}}});function Zw(e){const[t,n="center"]=e.split("-");return[t,n]}var sL=Qw,iL=Xw,oL=Kw;function lL(e,t){return O.useReducer((n,r)=>t[n][r]??n,e)}var Jw=e=>{const{present:t,children:n}=e,r=cL(t),a=typeof n=="function"?n({present:r.isPresent}):O.Children.only(n),i=Zo(r.ref,uL(a));return typeof n=="function"||r.isPresent?O.cloneElement(a,{ref:i}):null};Jw.displayName="Presence";function cL(e){const[t,n]=O.useState(),r=O.useRef(null),a=O.useRef(e),i=O.useRef("none"),o=e?"mounted":"unmounted",[c,u]=lL(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return O.useEffect(()=>{const h=yh(r.current);i.current=c==="mounted"?h:"none"},[c]),h0(()=>{const h=r.current,g=a.current;if(g!==e){const b=i.current,y=yh(h);e?u("MOUNT"):y==="none"||h?.display==="none"?u("UNMOUNT"):u(g&&b!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),h0(()=>
vendor: 4,476 bytes, line 50
50{if(t){let h;const g=t.ownerDocument.defaultView??window,p=y=>{const T=yh(r.current).includes(CSS.escape(y.animationName));if(y.target===t&&T&&(u("ANIMATION_END"),!a.current)){const A=t.style.animationFillMode;t.style.animationFillMode="forwards",h=g.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=A)})}},b=y=>{y.target===t&&(i.current=yh(r.current))};return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{g.clearTimeout(h),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:O.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function yh(e){return e?.animationName||"none"}function uL(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 dL=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"}),hL="VisuallyHidden",eS=O.forwardRef((e,t)=>f.jsx(Jo.span,{...e,ref:t,style:{...dL,...e.style}}));eS.displayName=hL;var fL=eS,[tm]=Tw("Tooltip",[$w]),qx=$w(),tS="TooltipProvider",mL=700,s6="tooltip.open",[pL,nS]=tm(tS),rS=e=>{const{__scopeTooltip:t,delayDuration:n=mL,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:i}=e,o=O.useRef(!0),c=O.useRef(!1),u=O.useRef(0);return O.useEffect(()=>{const h=u.current;return()=>window.clearTimeout(h)},[]),f.jsx(pL,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:O.useCallback(()=>{window.clearTimeout(u.current),o.current=!1},[]),onClose:O.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:O.useCallback(h=>{c.current=h},[]),disableHoverableContent:a,children:i})};rS.displayName=tS;var aS="Tooltip",[fre,nm]=tm(aS),_2="TooltipTrigger",gL=O.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=nm(_2,n),i=nS(_2,n),o=qx(n),c=O.useRef(null),u=Zo(t,c,a.onTriggerChange),h=O.useRef(!1),g=O.useRef(!1),p=O.useCallback(()=>h.current=!1,[]);return O.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),f.jsx(sL,{asChild:!0,...o,children:f.jsx(Jo.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:u,onPointerMove:Bs(e.onPointerMove,b=>{b.pointerType!=="touch"&&!g.current&&!i.isPointerInTransitRef.current&&(a.onTriggerEnter(),g.current=!0)}),onPointerLeave:Bs(e.onPointerLeave,()=>{a.onTriggerLeave(),g.current=!1}),onPointerDown:Bs(e.onPointerDown,()=>{a.open&&a.onClose(),h.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:Bs(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:Bs(e.onBlur,a.onClose),onClick:Bs(e.onClick,a.onClose)})})});gL.displayName=_2;var xL="TooltipPortal",[mre,bL]=tm(xL,{forceMount:void 0}),gc="TooltipContent",yL=O.forwardRef((e,t)=>{const n=bL(gc,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...i}=e,o=nm(gc,e.__scopeTooltip);return f.jsx(Jw,{present:r||o.open,children:o.disableHoverableContent?f.jsx(sS,{side:a,...i,ref:t}):f.jsx(vL,{side:a,...i,ref:t})})}),vL=O.forwardRef((e,t)=>{const n=nm(gc,e.__scopeTooltip),r=nS(gc,e.__scopeTooltip),a=O.useRef(null),i=Zo(t,a),[o,c]=O.useState(null),{trigger:u,onClose:h}=n,g=a.current,{onPointerInTransitChange:p}=r,b=O.useCallback(()=>{c(null),p(!1)},[p]),y=O.useCallback((w,T)=>{const A=w.currentTarget,N={x:w.clientX,y:w.clientY},R=kL(N,A.getBoundingClientRect()),z=_L(N,R),W=AL(T.getBoundingClientRect()),q=CL([...z,...W]);c(q),p(!0)},[p]);return O.useEffect(()=>()=>b(),[b]),O.useEffect(()=>{if(u&&g){const w=A=>y(A,g),T=A=>y(A,u);return u.addEventListener("pointerleave",w),g.addEventListener("pointerleave",T),()=>{u.removeEventListener("pointerleave",w),g.removeEventListener("pointerleave",T)}}},[u,g,y,b]),O.useEffect(()=>{if(o){const w=T=>{const A=T.target,N={x:T.clientX,y:T.clientY},R=u?.contains(A)||g?.contains(A),z=!NL(N,o);R?b():z&&(b(),h())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[u,g,o,h,b]),f.jsx(sS,{...e,ref:i})}),[EL,wL]=tm(aS,{isInside:!1}),SL=AM("TooltipContent"),sS=O.forwardRef((e,t)=>
vendor: 10,645 bytes, line 50
50{const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:o,...c}=e,u=nm(gc,n),h=qx(n),{onClose:g}=u;return O.useEffect(()=>(document.addEventListener(s6,g),()=>document.removeEventListener(s6,g)),[g]),O.useEffect(()=>{if(u.trigger){const p=b=>{b.target?.contains(u.trigger)&&g()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[u.trigger,g]),f.jsx(Cw,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:p=>p.preventDefault(),onDismiss:g,children:f.jsxs(iL,{"data-state":u.stateAttribute,...h,...c,ref:t,style:{...c.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:[f.jsx(SL,{children:r}),f.jsx(EL,{scope:n,isInside:!0,children:f.jsx(fL,{id:u.contentId,role:"tooltip",children:a||r})})]})})});yL.displayName=gc;var iS="TooltipArrow",TL=O.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=qx(n);return wL(iS,n).isInside?null:f.jsx(oL,{...a,...r,ref:t})});TL.displayName=iS;function kL(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 _L(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 AL(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 NL(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 c=t[i],u=t[o],h=c.x,g=c.y,p=u.x,b=u.y;g>r!=b>r&&n<(p-h)*(r-g)/(b-g)+h&&(a=!a)}return a}function CL(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),OL(t)}function OL(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 RL=rS;function oS(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=oS(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Vx(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=oS(e))&&(r&&(r+=" "),r+=t);return r}const $x="-",DL=e=>{const t=IL(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const c=o.split($x);return c[0]===""&&c.length!==1&&c.shift(),lS(c,t)||ML(o)},getConflictingClassGroupIds:(o,c)=>{const u=n[o]||[];return c&&r[o]?[...u,...r[o]]:u}}},lS=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?lS(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const i=e.join($x);return t.validators.find(({validator:o})=>o(i))?.classGroupId},i6=/^\[(.+)\]$/,ML=e=>{if(i6.test(e)){const t=i6.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},IL=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const a in n)A2(n[a],r,a,t);return r},A2=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const i=a===""?t:o6(t,a);i.classGroupId=n;return}if(typeof a=="function"){if(LL(a)){A2(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([i,o])=>{A2(o,o6(t,i),n,r)})})},o6=(e,t)=>{let n=e;return t.split($x).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},LL=e=>e.isThemeGetter,PL=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)}}},N2="!",C2=":",jL=C2.length,BL=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const i=[];let o=0,c=0,u=0,h;for(let w=0;w<a.length;w++){let T=a[w];if(o===0&&c===0){if(T===C2){i.push(a.slice(u,w)),u=w+jL;continue}if(T==="/"){h=w;continue}}T==="["?o++:T==="]"?o--:T==="("?c++:T===")"&&c--}const g=i.length===0?a:a.substring(u),p=zL(g),b=p!==g,y=h&&h>u?h-u:void 0;return{modifiers:i,hasImportantModifier:b,baseClassName:p,maybePostfixModifierPosition:y}};if(t){const a=t+C2,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},zL=e=>e.endsWith(N2)?e.substring(0,e.length-1):e.startsWith(N2)?e.substring(1):e,FL=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}},HL=e=>({cache:PL(e.cacheSize),parseClassName:BL(e),sortModifiers:FL(e),...DL(e)}),UL=/\s+/,qL=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=t,o=[],c=e.trim().split(UL);let u="";for(let h=c.length-1;h>=0;h-=1){const g=c[h],{isExternal:p,modifiers:b,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:T}=n(g);if(p){u=g+(u.length>0?" "+u:u);continue}let A=!!T,N=r(A?w.substring(0,T):w);if(!N){if(!A){u=g+(u.length>0?" "+u:u);continue}if(N=r(w),!N){u=g+(u.length>0?" "+u:u);continue}A=!1}const R=i(b).join(":"),z=y?R+N2:R,W=z+N;if(o.includes(W))continue;o.push(W);const q=a(N,A);for(let C=0;C<q.length;++C){const M=q[C];o.push(z+M)}u=g+(u.length>0?" "+u:u)}return u};function VL(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=cS(t))&&(r&&(r+=" "),r+=n);return r}const cS=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=cS(e[r]))&&(n&&(n+=" "),n+=t);return n};function $L(e,...t){let n,r,a,i=o;function o(u){const h=t.reduce((g,p)=>p(g),e());return n=HL(h),r=n.cache.get,a=n.cache.set,i=c,c(u)}function c(u){const h=r(u);if(h)return h;const g=qL(u,n);return a(u,g),g}return function(){return i(VL.apply(null,arguments))}}const kn=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},uS=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,dS=/^\((?:(\w[\w-]*):)?(.+)\)$/i,GL=/^\d+\/\d+$/,YL=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,QL=/\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$/,XL=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,WL=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,KL=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wl=e=>GL.test(e),dt=e=>!!e&&!Number.isNaN(Number(e)),Ni=e=>!!e&&Number.isInteger(Number(e)),rg=e=>e.endsWith("%")&&dt(e.slice(0,-1)),Ms=e=>YL.test(e),ZL=()=>!0,JL=e=>QL.test(e)&&!XL.test(e),hS=()=>!1,eP=e=>WL.test(e),tP=e=>KL.test(e),nP=e=>!qe(e)&&!Ve(e),rP=e=>Tc(e,pS,hS),qe=e=>uS.test(e),So=e=>Tc(e,gS,JL),ag=e=>Tc(e,lP,dt),l6=e=>Tc(e,fS,hS),aP=e=>Tc(e,mS,tP),vh=e=>Tc(e,xS,eP),Ve=e=>dS.test(e),Ru=e=>kc(e,gS),sP=e=>kc(e,cP),c6=e=>kc(e,fS),iP=e=>kc(e,pS),oP=e=>kc(e,mS),Eh=e=>kc(e,xS,!0),Tc=(e,t,n)=>{const r=uS.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},kc=(e,t,n=!1)=>{const r=dS.exec(e);return r?r[1]?t(r[1]):n:!1},fS=e=>e==="position"||e==="percentage",mS=e=>e==="image"||e==="url",pS=e=>e==="length"||e==="size"||e==="bg-size",gS=e=>e==="length",lP=e=>e==="number",cP=e=>e==="family-name",xS=e=>e==="shadow",uP=()=>{const e=kn("color"),t=kn("font"),n=kn("text"),r=kn("font-weight"),a=kn("tracking"),i=kn("leading"),o=kn("breakpoint"),c=kn("container"),u=kn("spacing"),h=kn("radius"),g=kn("shadow"),p=kn("inset-shadow"),b=kn("text-shadow"),y=kn("drop-shadow"),w=kn("blur"),T=kn("perspective"),A=kn("aspect"),N=kn("ease"),R=kn("animate"),z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],q=()=>[...W(),Ve,qe],C=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],V=()=>[Ve,qe,u],Z=()=>[Wl,"full","auto",...V()],I=()=>[Ni,"none","subgrid",Ve,qe],se=()=>["auto",{span:["full",Ni,Ve,qe]},Ni,Ve,qe],ae=()=>[Ni,"auto",Ve,qe],me=()=>["auto","min","max","fr",Ve,qe],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ee=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...V()],J=()=>[Wl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],te=()=>[e,Ve,qe],we=()=>[...W(),c6,l6,{position:[Ve,qe]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],G=()=>["auto","cover","contain",iP,rP,{size:[Ve,qe]}],ce=()=>[rg,Ru,So],P=()=>["","none","full",h,Ve,qe],pe=()=>["",dt,Ru,So],Se=()=>["solid","dashed","dotted","double"],Re=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Pe=()=>[dt,rg,c6,l6],Ge=()=>["","none",w,Ve,qe],tt=()=>["none",dt,Ve,qe],Ot=()=>["none",dt,Ve,qe],en=()=>[dt,Ve,qe],on=()=>[Wl,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ms],breakpoint:[Ms],color:[ZL],container:[Ms],"drop-shadow":[Ms],ease:["in","out","in-out"],font:[nP],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ms],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ms],shadow:[Ms],spacing:["px",dt],text:[Ms],"text-shadow":[Ms],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Wl,qe,Ve,A]}
vendor: 5,641 bytes, line 50
50],container:["container"],columns:[{columns:[dt,qe,Ve,c]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"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:q()}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Z()}],"inset-x":[{"inset-x":Z()}],"inset-y":[{"inset-y":Z()}],start:[{start:Z()}],end:[{end:Z()}],top:[{top:Z()}],right:[{right:Z()}],bottom:[{bottom:Z()}],left:[{left:Z()}],visibility:["visible","invisible","collapse"],z:[{z:[Ni,"auto",Ve,qe]}],basis:[{basis:[Wl,"full","auto",c,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,Wl,"auto","initial","none",qe]}],grow:[{grow:["",dt,Ve,qe]}],shrink:[{shrink:["",dt,Ve,qe]}],order:[{order:[Ni,"first","last","none",Ve,qe]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:se()}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:se()}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":me()}],"auto-rows":[{"auto-rows":me()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...ee(),"normal"]}],"justify-self":[{"justify-self":["auto",...ee()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...ee(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ee(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...ee(),"baseline"]}],"place-self":[{"place-self":["auto",...ee()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:J()}],w:[{w:[c,"screen",...J()]}],"min-w":[{"min-w":[c,"screen","none",...J()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[o]},...J()]}],h:[{h:["screen","lh",...J()]}],"min-h":[{"min-h":["screen","lh","none",...J()]}],"max-h":[{"max-h":["screen","lh",...J()]}],"font-size":[{text:["base",n,Ru,So]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ve,ag]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",rg,qe]}],"font-family":[{font:[sP,qe,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,Ve,qe]}],"line-clamp":[{"line-clamp":[dt,"none",Ve,ag]}],leading:[{leading:[i,...V()]}],"list-image":[{"list-image":["none",Ve,qe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ve,qe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:te()}],"text-color":[{text:te()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Se(),"wavy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",Ve,So]}],"text-decoration-color":[{decoration:te()}],"underline-offset":[{"underline-offset":[dt,"auto",Ve,qe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ve,qe]}],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",Ve,qe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:we()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:G()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ni,Ve,qe],radial:["",Ve,qe],conic:[Ni,Ve,qe]},oP,aP]}],"bg-color":[{bg:te()}],"gradient-from-pos":[{from:ce()}
50],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:te()}],"gradient-via":[{via:te()}],"gradient-to":[{to:te()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":pe()}
vendor: 6,227 bytes, line 50
50],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Se(),"hidden","none"]}],"divide-style":[{divide:[...Se(),"hidden","none"]}],"border-color":[{border:te()}],"border-color-x":[{"border-x":te()}],"border-color-y":[{"border-y":te()}],"border-color-s":[{"border-s":te()}],"border-color-e":[{"border-e":te()}],"border-color-t":[{"border-t":te()}],"border-color-r":[{"border-r":te()}],"border-color-b":[{"border-b":te()}],"border-color-l":[{"border-l":te()}],"divide-color":[{divide:te()}],"outline-style":[{outline:[...Se(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,Ve,qe]}],"outline-w":[{outline:["",dt,Ru,So]}],"outline-color":[{outline:te()}],shadow:[{shadow:["","none",g,Eh,vh]}],"shadow-color":[{shadow:te()}],"inset-shadow":[{"inset-shadow":["none",p,Eh,vh]}],"inset-shadow-color":[{"inset-shadow":te()}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:te()}],"ring-offset-w":[{"ring-offset":[dt,So]}],"ring-offset-color":[{"ring-offset":te()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":te()}],"text-shadow":[{"text-shadow":["none",b,Eh,vh]}],"text-shadow-color":[{"text-shadow":te()}],opacity:[{opacity:[dt,Ve,qe]}],"mix-blend":[{"mix-blend":[...Re(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Re()}],"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":Pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":Pe()}],"mask-image-linear-from-color":[{"mask-linear-from":te()}],"mask-image-linear-to-color":[{"mask-linear-to":te()}],"mask-image-t-from-pos":[{"mask-t-from":Pe()}],"mask-image-t-to-pos":[{"mask-t-to":Pe()}],"mask-image-t-from-color":[{"mask-t-from":te()}],"mask-image-t-to-color":[{"mask-t-to":te()}],"mask-image-r-from-pos":[{"mask-r-from":Pe()}],"mask-image-r-to-pos":[{"mask-r-to":Pe()}],"mask-image-r-from-color":[{"mask-r-from":te()}],"mask-image-r-to-color":[{"mask-r-to":te()}],"mask-image-b-from-pos":[{"mask-b-from":Pe()}],"mask-image-b-to-pos":[{"mask-b-to":Pe()}],"mask-image-b-from-color":[{"mask-b-from":te()}],"mask-image-b-to-color":[{"mask-b-to":te()}],"mask-image-l-from-pos":[{"mask-l-from":Pe()}],"mask-image-l-to-pos":[{"mask-l-to":Pe()}],"mask-image-l-from-color":[{"mask-l-from":te()}],"mask-image-l-to-color":[{"mask-l-to":te()}],"mask-image-x-from-pos":[{"mask-x-from":Pe()}],"mask-image-x-to-pos":[{"mask-x-to":Pe()}],"mask-image-x-from-color":[{"mask-x-from":te()}],"mask-image-x-to-color":[{"mask-x-to":te()}],"mask-image-y-from-pos":[{"mask-y-from":Pe()}],"mask-image-y-to-pos":[{"mask-y-to":Pe()}],"mask-image-y-from-color":[{"mask-y-from":te()}],"mask-image-y-to-color":[{"mask-y-to":te()}],"mask-image-radial":[{"mask-radial":[Ve,qe]}],"mask-image-radial-from-pos":[{"mask-radial-from":Pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":Pe()}],"mask-image-radial-from-color":[{"mask-radial-from":te()}],"mask-image-radial-to-color":[{"mask-radial-to":te()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":W()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":Pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":Pe()}],"mask-image-conic-from-color":[{"mask-conic-from":te()}],"mask-image-conic-to-color":[{"mask-conic-to":te()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:we()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:G()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ve,qe]}],filter:[{filter:["","none",Ve,qe]}],blur:[{blur:Ge()}],brightness:[{brightness:[dt,Ve,qe]}],contrast:[{contrast:[dt,Ve,qe]}],"drop-shadow":[{"drop-shadow":["","none",y,Eh,vh]}],"drop-shadow-color":[{"drop-shadow":te()}],grayscale:[{grayscale:["",dt,Ve,qe]}],"hue-rotate":[{"hue-rotate":[dt,Ve,qe]}],invert:[{invert:["",dt,Ve,qe]}],saturate:[{saturate:[dt,Ve,qe]}],sepia:[{sepia:["",dt,Ve,qe]}],"backdrop-filter":[{"backdrop-filter":["","none",Ve,qe]}],"backdrop-blur":[{"backdrop-blur":Ge()}],"backdrop-brightness":[{"backdrop-brightness":[dt,Ve,qe]}],"backdrop-contrast":[{"backdrop-contrast":[dt,Ve,qe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,Ve,qe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,Ve,qe]}],"backdrop-invert":[{"backdrop-invert":["",dt,Ve,qe]}],"backdrop-opacity":[{"backdrop-opacity":[dt,Ve,qe]}],"backdrop-saturate":[{"backdrop-saturate":[dt,Ve,qe]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,Ve,qe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ve,qe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",Ve,qe]}],ease:[{ease:["linear","initial",N,Ve,qe]}],delay:[{delay:[dt,Ve,qe]}],animate:[{animate:["none",R,Ve,qe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[T,Ve,qe]}],"perspective-origin":[{"perspective-origin":q()}],rotate:[{rotate:tt()}],"rotate-x":[{"rotate-x":tt()}],"rotate-y":[{"rotate-y":tt()}],"rotate-z":[{"rotate-z":tt()}],scale:[{scale:Ot()}],"scale-x":[{"scale-x":Ot()}],"scale-y":[{"scale-y":Ot()}],"scale-z":[{"scale-z":Ot()}],"scale-3d":["scale-3d"],skew:[{skew:en()}],"skew-x":[{"skew-x":en()}],"skew-y":[{"skew-y":en()}],transform:[{transform:[Ve,qe,"","none","gpu","cpu"]}],"transform-origin":[{origin:q()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:on()}],"translate-x":[{"translate-x":on()}],"translate-y":[{"translate-y":on()}],"translate-z":[{"translate-z":on()}],"translate-none":["translate-none"],accent:[{accent:te()}],appearance:[{appearance:["none","auto"]}
vendor: 6,781 bytes, line 50
50],"caret-color":[{caret:te()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ve,qe]}],"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":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",Ve,qe]}],fill:[{fill:["none",...te()]}],"stroke-w":[{stroke:[dt,Ru,So,ag]}],stroke:[{stroke:["none",...te()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},bS=$L(uP);function el(...e){return bS(Vx(e))}function dP({delayDuration:e=0,...t}){return f.jsx(RL,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}const u6=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,d6=Vx,yS=(e,t)=>n=>{var r;if(t?.variants==null)return d6(e,n?.class,n?.className);const{variants:a,defaultVariants:i}=t,o=Object.keys(a).map(h=>{const g=n?.[h],p=i?.[h];if(g===null)return null;const b=u6(g)||u6(p);return a[h][b]}),c=n&&Object.entries(n).reduce((h,g)=>{let[p,b]=g;return b===void 0||(h[p]=b),h},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((h,g)=>{let{class:p,className:b,...y}=g;return Object.entries(y).every(w=>{let[T,A]=w;return Array.isArray(A)?A.includes({...i,...c}[T]):{...i,...c}[T]===A})?[...h,p,b]:h},[]);return d6(e,o,u,n?.class,n?.className)},hP=yS("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 He({className:e,variant:t,size:n,asChild:r=!1,...a}){const i=r?_w:"button";return f.jsx(i,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:el(hP({variant:t,size:n,className:e})),...a}
vendor: 8,429 bytes, lines 50-169
50)}function Ui({className:e,...t}){return f.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:el("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function fP({className:e,...t}){return f.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:el("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 mP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),vS=(...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 pP={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 gP=O.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:i,iconNode:o,...c},u)=>O.createElement("svg",{ref:u,...pP,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:vS("lucide",a),...c},[...o.map(([h,g])=>O.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 Me=(e,t)=>{const n=O.forwardRef(({className:r,...a},i)=>O.createElement(gP,{ref:i,iconNode:t,className:vS(`lucide-${mP(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=Me("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 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 rm=Me("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 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 L0=Me("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 sg=Me("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/** 91 * @license lucide-react v0.453.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const bP=Me("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 O2=Me("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 yP=Me("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/** 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 vP=Me("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 uf=Me("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 tl=Me("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 EP=Me("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 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 Gx=Me("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 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 Yx=Me("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"}]]);/** 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 df=Me("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 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 wP=Me("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 SP=Me("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** 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 xa=Me("Clapperboard",[["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z",key:"1tn4o7"}],["path",{d:"m6.2 5.3 3.1 3.9",key:"iuk76l"}],["path",{d:"m12.4 3.4 3.1 4",key:"6hsd6n"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z",key:"ltgou9"}]]);/** 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 Qx=Me("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 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 TP=Me("Contrast",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 18a6 6 0 0 0 0-12v12z",key:"j4l70d"}]]);/** 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 h6=Me("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"}]]);/** 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 kP=Me("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/** 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 Bi=Me("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/** 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 Bo=Me("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"}]]);/** 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 _P=Me("Eraser",[["path",{d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21",key:"182aya"}],["path",{d:"M22 21H7",key:"t4ddhn"}],["path",{d:"m5 11 9 9",key:"1mo9qw"}]]);/** 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 ES=Me("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 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 R2=Me("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 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 Xx=Me("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** 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 ss=Me("Film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]]);/** 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 AP=Me("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);/** 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 NP=Me("Frame",[["line",{x1:"22",x2:"2",y1:"6",y2:"6",key:"15w7dq"}],["line",{x1:"22",x2:"2",y1:"18",y2:"18",key:"1ip48p"}],["line",{x1:"6",x2:"6",y1:"2",y2:"22",key:"a2lnyx"}],["line",{x1:"18",x2:"18",y1:"2",y2:"22",key:"8vb6jd"}]]);/** 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 CP=Me("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/** 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 wS=Me("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"}]]);/** 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 OP=Me("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** 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 RP=Me("History",[["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"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/** 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 SS=Me("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"}]]);/** 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 p0=Me("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** 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 DP=Me("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** 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 TS=Me("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** 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 MP=Me("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);/** 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 kS=Me("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/** 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 IP=Me("Library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}
275],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]]);/** 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 _S=Me("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"}]]);/** 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 LP=Me("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/** 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 PP=Me("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/** 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 f6=Me("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);/** 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 Jt=Me("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 301 * @license lucide-react v0.453.0 - ISC 302 * 303 * This source code is licensed under the ISC license. 304 * See the LICENSE file in the root directory of this source tree. 305 */const jP=Me("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** 306 * @license lucide-react v0.453.0 - ISC 307 * 308 * This source code is licensed under the ISC license. 309 * See the LICENSE file in the root directory of this source tree. 310 */const BP=Me("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"}]]);/** 311 * @license lucide-react v0.453.0 - ISC 312 * 313 * This source code is licensed under the ISC license. 314 * See the LICENSE file in the root directory of this source tree. 315 */const AS=Me("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"}]]);/** 316 * @license lucide-react v0.453.0 - ISC 317 * 318 * This source code is licensed under the ISC license. 319 * See the LICENSE file in the root directory of this source tree. 320 */const NS=Me("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 321 * @license lucide-react v0.453.0 - ISC 322 * 323 * This source code is licensed under the ISC license. 324 * See the LICENSE file in the root directory of this source tree. 325 */const zP=Me("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/** 326 * @license lucide-react v0.453.0 - ISC 327 * 328 * This source code is licensed under the ISC license. 329 * See the LICENSE file in the root directory of this source tree. 330 */const FP=Me("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 331 * @license lucide-react v0.453.0 - ISC 332 * 333 * This source code is licensed under the ISC license. 334 * See the LICENSE file in the root directory of this source tree. 335 */const HP=Me("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** 336 * @license lucide-react v0.453.0 - ISC 337 * 338 * This source code is licensed under the ISC license. 339 * See the LICENSE file in the root directory of this source tree. 340 */const g0=Me("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"}]]);/** 341 * @license lucide-react v0.453.0 - ISC 342 * 343 * This source code is licensed under the ISC license. 344 * See the LICENSE file in the root directory of this source tree. 345 */const Wx=Me("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/** 346 * @license lucide-react v0.453.0 - ISC 347 * 348 * This source code is licensed under the ISC license. 349 * See the LICENSE file in the root directory of this source tree. 350 */const UP=Me("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/** 351 * @license lucide-react v0.453.0 - ISC 352 * 353 * This source code is licensed under the ISC license. 354 * See the LICENSE file in the root directory of this source tree. 355 */const P0=Me("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 356 * @license lucide-react v0.453.0 - ISC 357 * 358 * This source code is licensed under the ISC license. 359 * See the LICENSE file in the root directory of this source tree. 360 */const qP=Me("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/** 361 * @license lucide-react v0.453.0 - ISC 362 * 363 * This source code is licensed under the ISC license. 364 * See the LICENSE file in the root directory of this source tree. 365 */const Qs=Me("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"}]]);/** 366 * @license lucide-react v0.453.0 - ISC 367 * 368 * This source code is licensed under the ISC license. 369 * See the LICENSE file in the root directory of this source tree. 370 */const VP=Me("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"}]]);/** 371 * @license lucide-react v0.453.0 - ISC 372 * 373 * This source code is licensed under the ISC license. 374 * See the LICENSE file in the root directory of this source tree. 375 */const $P=Me("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}
375],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/** 376 * @license lucide-react v0.453.0 - ISC 377 * 378 * This source code is licensed under the ISC license. 379 * See the LICENSE file in the root directory of this source tree. 380 */const GP=Me("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 381 * @license lucide-react v0.453.0 - ISC 382 * 383 * This source code is licensed under the ISC license. 384 * See the LICENSE file in the root directory of this source tree. 385 */const _c=Me("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"}]]);/** 386 * @license lucide-react v0.453.0 - ISC 387 * 388 * This source code is licensed under the ISC license. 389 * See the LICENSE file in the root directory of this source tree. 390 */const YP=Me("ShieldAlert",[["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",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);/** 391 * @license lucide-react v0.453.0 - ISC 392 * 393 * This source code is licensed under the ISC license. 394 * See the LICENSE file in the root directory of this source tree. 395 */const QP=Me("ShieldCheck",[["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",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 396 * @license lucide-react v0.453.0 - ISC 397 * 398 * This source code is licensed under the ISC license. 399 * See the LICENSE file in the root directory of this source tree. 400 */const XP=Me("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",key:"oel41y"}]]);/** 401 * @license lucide-react v0.453.0 - ISC 402 * 403 * This source code is licensed under the ISC license. 404 * See the LICENSE file in the root directory of this source tree. 405 */const Ut=Me("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"}]]);/** 406 * @license lucide-react v0.453.0 - ISC 407 * 408 * This source code is licensed under the ISC license. 409 * See the LICENSE file in the root directory of this source tree. 410 */const x0=Me("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"}]]);/** 411 * @license lucide-react v0.453.0 - ISC 412 * 413 * This source code is licensed under the ISC license. 414 * See the LICENSE file in the root directory of this source tree. 415 */const WP=Me("StickyNote",[["path",{d:"M16 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8Z",key:"qazsjp"}],["path",{d:"M15 3v4a2 2 0 0 0 2 2h4",key:"40519r"}]]);/** 416 * @license lucide-react v0.453.0 - ISC 417 * 418 * This source code is licensed under the ISC license. 419 * See the LICENSE file in the root directory of this source tree. 420 */const KP=Me("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/** 421 * @license lucide-react v0.453.0 - ISC 422 * 423 * This source code is licensed under the ISC license. 424 * See the LICENSE file in the root directory of this source tree. 425 */const CS=Me("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 426 * @license lucide-react v0.453.0 - ISC 427 * 428 * This source code is licensed under the ISC license. 429 * See the LICENSE file in the root directory of this source tree. 430 */const Vo=Me("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}
430],["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"}]]);/** 431 * @license lucide-react v0.453.0 - ISC 432 * 433 * This source code is licensed under the ISC license. 434 * See the LICENSE file in the root directory of this source tree. 435 */const ZP=Me("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"}]]);/** 436 * @license lucide-react v0.453.0 - ISC 437 * 438 * This source code is licensed under the ISC license. 439 * See the LICENSE file in the root directory of this source tree. 440 */const OS=Me("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** 441 * @license lucide-react v0.453.0 - ISC 442 * 443 * This source code is licensed under the ISC license. 444 * See the LICENSE file in the root directory of this source tree. 445 */const D2=Me("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** 446 * @license lucide-react v0.453.0 - ISC 447 * 448 * This source code is licensed under the ISC license. 449 * See the LICENSE file in the root directory of this source tree. 450 */const RS=Me("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"}]]);/** 451 * @license lucide-react v0.453.0 - ISC 452 * 453 * This source code is licensed under the ISC license. 454 * See the LICENSE file in the root directory of this source tree. 455 */const Kx=Me("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"}]]);/** 456 * @license lucide-react v0.453.0 - ISC 457 * 458 * This source code is licensed under the ISC license. 459 * See the LICENSE file in the root directory of this source tree. 460 */const zo=Me("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/** 461 * @license lucide-react v0.453.0 - ISC 462 * 463 * This source code is licensed under the ISC license. 464 * See the LICENSE file in the root directory of this source tree. 465 */const JP=Me("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/** 466 * @license lucide-react v0.453.0 - ISC 467 * 468 * This source code is licensed under the ISC license. 469 * See the LICENSE file in the root directory of this source tree. 470 */const Lo=Me("WandSparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);/** 471 * @license lucide-react v0.453.0 - ISC 472 * 473 * This source code is licensed under the ISC license. 474 * See the LICENSE file in the root directory of this source tree. 475 */const j0=Me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 476 * @license lucide-react v0.453.0 - ISC 477 * 478 * This source code is licensed under the ISC license. 479 * See the LICENSE file in the root directory of this source tree. 480 */const ej=Me("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.5
4805 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);/** 481 * @license lucide-react v0.453.0 - ISC 482 * 483 * This source code is licensed under the ISC license. 484 * See the LICENSE file in the root directory of this source tree. 485 */const Js=Me("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"}]]);/** 486 * @license lucide-react v0.453.0 - ISC 487 * 488 * This source code is licensed under the ISC license. 489 * See the LICENSE file in the root directory of this source tree. 490 */const tj=Me("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);function nj(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,a,i,o=[],c="",u=e.split("/");for(u[0]||u.shift();a=u.shift();)n=a[0],n==="*"?(o.push(n),c+=a[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=a.indexOf("?",1),i=a.indexOf(".",1),o.push(a.substring(1,~r?r:~i?i:a.length)),c+=~r&&!~i?"(?:/([^/]+?))?":"/([^/]+?)",~i&&(c+=(~r?"?":"")+"\\"+a.substring(i))):c+="/"+a;return{keys:o,pattern:new RegExp("^"+c+(t?"(?=$|/)":"/?$"),"i")}}var ig={exports:{}},og={};/** 491 * @license React 492 * use-sync-external-store-shim.production.js 493 * 494 * Copyright (c) Meta Platforms, Inc. and affiliates. 495 * 496 * This source code is licensed under the MIT license found in the 497 * LICENSE file in the root directory of this source tree. 498 */var m6;function rj(){if(m6)return og;m6=1;var e=qf();function t(p,b){return p===b&&(p!==0||1/p===1/b)||p!==p&&b!==b}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,a=e.useEffect,i=e.useLayoutEffect,o=e.useDebugValue;function c(p,b){var y=b(),w=r({inst:{value:y,getSnapshot:b}}),T=w[0].inst,A=w[1];return i(function(){T.value=y,T.getSnapshot=b,u(T)&&A({inst:T})},[p,y,b]),a(function(){return u(T)&&A({inst:T}),p(function(){u(T)&&A({inst:T})})},[p]),o(y),y}function u(p){var b=p.getSnapshot;p=p.value;try{var y=b();return!n(p,y)}catch{return!0}}function h(p,b){return b()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:c;return og.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:g,og}var p6;function aj(){return p6||(p6=1,ig.exports=rj()),ig.exports}var sj=aj();const ij=RE.useInsertionEffect,oj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",lj=oj?O.useLayoutEffect:O.useEffect,cj=ij||lj,DS=e=>{const t=O.useRef([e,(...n)=>t[0](...n)]).current;return cj(()=>{t[0]=e}),t[1]},uj="popstate",Zx="pushState",Jx="replaceState",dj="hashchange",g6=[uj,Zx,Jx,dj],hj=e=>{for(const t of g6)addEventListener(t,e);return()=>{for(const t of g6)removeEventListener(t,e)}},MS=(e,t)=>sj.useSyncExternalStore(hj,e,t),fj=()=>location.search,mj=({ssrSearch:e=""}={})=>MS(fj,()=>e),x6=()=>location.pathname,pj=({ssrPath:e}={})=>MS(x6,e?()=>e:x6),gj=(e,{replace:t=!1,state:n=null}={})=>history[t?Jx:Zx](n,"",e),xj=(e={})=>[pj(e),gj],b6=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[b6]>"u"){for(const e of[Zx,Jx]){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,b6,{value:!0})}const bj=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",IS=(e="")=>e==="/"?"":e,yj=(e,t)=>e[0]==="~"?e.slice(1):IS(t)+e,vj=(e="",t)=>bj(y6(IS(e)),y6(t)),y6=e=>{try{return decodeURI(e)}catch{return e}},LS={hook:xj,searchHook:mj,parser:nj,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},PS=O.createContext(LS),B0=()=>O.useContext(PS),jS={},BS=O.createContext(jS),Ej=()=>O.useContext(BS),am=e=>{const[t,n]=e.hook(e);return[vj(e.base,t),DS((r,a)=>n(yj(r,e.base),a))]},zS=()=>am(B0()),FS=(e,t,n,r)=>{const{pattern:a,keys:i}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),o=a.exec(n)||[],[c,...u]=o;return c!==void 0?[!0,(()=>{const h=i!==!1?Object.fromEntries(i.map((p,b)=>[p,u[b]])):o.groups;let g={...u};return h&&Object.assign(g,h),g})(),...r?[c]:[]]:[!1,null]},wj=({children:e,...t})=>{const n=B0(),r=t.hook?LS: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 c=O.useRef({}),u=c.current,h=u;for(let g in r){const p=g==="base"?r[g]+(t[g]||""):t[g]||r[g];u===h&&p!==h[g]&&(c.current=h={...h}),h[g]=p,(p!==r[g]||p!==a[g])&&(a=h)}return O.createElement(PS.Provider,{value:a,children:e})},v6=({children:e,component:t},n)=>t?O.createElement(t,{params:n}):typeof e=="function"?e(n):e,Sj=e=>{let t=O.useRef(jS);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},Fr=({path:e,nest:t,match:n,...r})=>{const a=B0(),[i]=am(a),[o,c,u]=n??FS(a.parser,e,i,t),h=Sj({...Ej(),...c});if(!o)return null;const g=u?O.createElement(wj,{base:u},v6(r,h)):v6(r,h);return O.createElement(BS.Provider,{value:h,children:g})},Cr=O.forwardRef((e,t)=>
498{const n=B0(),[r,a]=am(n),{to:i="",href:o=i,onClick:c,asChild:u,children:h,className:g,replace:p,state:b,...y}=e,w=DS(A=>{A.ctrlKey||A.metaKey||A.altKey||A.shiftKey||A.button!==0||(c?.(A),A.defaultPrevented||(A.preventDefault(),a(o,e)))}),T=n.hrefs(o[0]==="~"?o.slice(1):n.base+o,n);return u&&O.isValidElement(h)?O.cloneElement(h,{onClick:w,href:T}):O.createElement("a",{...y,onClick:w,href:T,className:g?.call?g(r===o):g,children:h,ref:t})}),M2=e=>Array.isArray(e)?e.flatMap(t=>M2(t&&t.type===O.Fragment?t.props.children:t)):[e],Tj=({children:e,location:t})=>{const n=B0(),[r]=am(n);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),M2(e).forEach(i=>{if(O.isValidElement(i)&&i.props.path){const o=i.props.path;window.__WOUTER_ROUTES__.includes(o)||window.__WOUTER_ROUTES__.push(o)}}));for(const a of M2(e)){let i=0;if(O.isValidElement(a)&&(i=FS(n.parser,a.props.path,t||r,a.props.nest))[0])return O.cloneElement(a,{match:i})}return null};function E6(){const[,e]=zS(),t=()=>{e("/")};return f.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:f.jsx(Ui,{"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:f.jsxs(fP,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[f.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:f.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[f.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),f.jsx(Yx,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),f.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),f.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),f.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.",f.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),f.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:f.jsxs(He,{"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:[f.jsx(SS,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class kj extends O.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?f.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:f.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[f.jsx(ZP,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),f.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),f.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:f.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),f.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:el("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[f.jsx(VP,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const _j=O.createContext(void 0);function Aj({children:e,defaultTheme:t="light",switchable:n=!1}){const[r,a]=O.useState(()=>n&&localStorage.getItem("theme")||t);O.useEffect(()=>{const o=document.documentElement;
498r==="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 f.jsx(_j.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:i,switchable:n},children:e})}const Ja=()=>{const e="https://manus.im",t="TBSWNYDtwaQ6KgWfBrkTan",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 cs(e){const{redirectOnUnauthenticated:t=!1,redirectPath:n=Ja()}={},r=je.useUtils(),a=je.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),i=je.auth.logout.useMutation({onSuccess:()=>{r.auth.me.setData(void 0,null)}}),o=O.useCallback(async()=>{try{await i.mutateAsync()}catch(u){if(u instanceof fc&&u.data?.code==="UNAUTHORIZED")return;throw u}finally{r.auth.me.setData(void 0,null),await r.auth.me.invalidate()}},[i,r]),c=O.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 O.useEffect(()=>{t&&(a.isLoading||i.isPending||c.user||typeof window>"u"||window.location.pathname!==n&&(window.location.href=n))},[t,n,i.isPending,a.isLoading,c.user]),{...c,refresh:()=>a.refetch(),logout:o}}const w6=[{label:"Features",href:"#features"},{label:"Demo",href:"#demo"},{label:"Pricing",href:"#pricing"},{label:"About",href:"#about"}],S6=[{label:"Conversation Library",href:"/conversations",icon:g0,desc:"Saved AI chat history"},{label:"Source Packs",href:"/source-packs",icon:L0,desc:"Upload & chat with scripts"},{label:"Agentic AI Tools",href:"/agent-tools",icon:Js,desc:"Script breakdown & shot lists"},{label:"Budget Estimator",href:"/budget",icon:Bi,desc:"AI production budgeting"},{label:"Mentor Directory",href:"/mentors",icon:x0,desc:"Industry mentors & programs"},{label:"Image Enhancement",href:"/image-enhancement",icon:p0,desc:"AI-powered image upscaling & grading"},{label:"Video Analysis",href:"/video-enhancement",icon:zo,desc:"Post-production analysis & planning"}];function Nj(){const{user:e,isAuthenticated:t,logout:n}=cs(),[r,a]=O.useState(!1),[i,o]=O.useState(!1),[c,u]=O.useState(!1),h=O.useRef(null);O.useEffect(()=>{function p(b){h.current&&!h.current.contains(b.target)&&u(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),O.useEffect(()=>{const p=()=>a(window.scrollY>40);return window.addEventListener("scroll",p,{passive:!0}),()=>window.removeEventListener("scroll",p)},[]);function g(p){o(!1);const b=p.replace("#",""),y=document.getElementById(b);y&&y.scrollIntoView({behavior:"smooth",block:"start"})}return f.jsx("header",{"data-loc":"client/src/components/Navbar.tsx:54",className:"fixed top-0 left-0 right-0 z-50 transition-all duration-300",style:{background:r?"rgba(13,10,30,0.85)":"transparent",backdropFilter:r?"blur(16px)":"none",WebkitBackdropFilter:r?"blur(16px)":"none",borderBottom:r?"1px solid rgba(129,134,64,0.15)":"none"},children:f.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:65",className:"container",children:[f.jsxs("nav",{"data-loc":"client/src/components/Navbar.tsx:66",className:"flex items-center justify-between h-16 lg:h-20",children:[f.jsxs("a",{"data-loc":"client/src/components/Navbar.tsx:68",href:"/",className:"flex items-center gap-2.5 group",onClick:p=>{p.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})},children:[f.jsx("span",{"data-loc":"client/src/components/Navbar.tsx:73",className:"flex h-9 w-9 items-center justify-center rounded-xl",style:{background:"linear-gradient(135deg, #818640 0%, #069494 100%)"},children:f.jsx(xa,{"data-loc":"client/src/components/Navbar.tsx:77",className:"h-4.5 w-4.5 text-white"})}),f.jsxs("span",{"data-loc":"client/src/components/Navbar.tsx:79",className:"font-display font-bold text-lg text-white tracking-tight",children:["Creator",f.jsx("span",{"data-loc":"client/src/components/Navbar.tsx:80",className:"text-gradient-brand",children:"AI"})," Hub"]})]}),f.jsxs("ul",{"data-loc":"client/src/components/Navbar.tsx:85",className:"hidden lg:flex items-center gap-1",children:[w6.map(p=>f.jsx("li",{"data-loc":"client/src/components/Navbar.tsx:87",children:f.jsx("button",{"data-loc":"client/src/components/Navbar.tsx:88",onClick:()=>g(p.href),className:"px-4 py-2 text-sm font-medium text-white/70 hover:text-white transition-colors duration-200 rounded-lg hover:bg-white/5",children:p.label})},p.href)),f.jsxs("li",{"data-loc":"client/src/components/Navbar.tsx:97",ref:h,className:"relative",children:[f.jsxs("button",{"data-loc":"client/src/components/Navbar.tsx:98",onClick:()=>u(p=>!p),className:"flex items-center gap-1 px-4 py-2 text-sm font-medium text-white/70 hover:text-white transition-colors duration-200 rounded-lg hover:bg-white/5",children:["Tools ",f.jsx(tl,{"data-loc":"client/src/components/Navbar.tsx:102",className:`h-3.5 w-3.5 transition-transform ${c?"rotate-180":""}`})]}),c&&f.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:105",className:"absolute top-full left-0 mt-2 w-64 roun
498ded-2xl overflow-hidden py-2",style:{background:"rgba(13,10,30,0.97)",border:"1px solid rgba(129,134,64,0.25)",boxShadow:"0 20px 60px rgba(0,0,0,0.5)"},children:S6.map(p=>f.jsx(Cr,{"data-loc":"client/src/components/Navbar.tsx:110",href:p.href,children:f.jsxs("span",{"data-loc":"client/src/components/Navbar.tsx:111",onClick:()=>u(!1),className:"flex items-center gap-3 px-4 py-3 hover:bg-white/5 transition-colors cursor-pointer",children:[f.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:115",className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg",style:{background:"rgba(129,134,64,0.15)"},children:f.jsx(p.icon,{"data-loc":"client/src/components/Navbar.tsx:116",className:"h-4 w-4 text-[#a8ae52]"})}),f.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:118",children:[f.jsx("p",{"data-loc":"client/src/components/Navbar.tsx:119",className:"text-sm font-medium text-white/85",children:p.label}),f.jsx("p",{"data-loc":"client/src/components/Navbar.tsx:120",className:"text-xs text-white/35",children:p.desc})]})]})},p.href))})]})]}),f.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:131",className:"hidden lg:flex items-center gap-3",children:t?f.jsxs(f.Fragment,{children:[f.jsx("span",{"data-loc":"client/src/components/Navbar.tsx:134",className:"text-sm text-white/60",children:e?.name??e?.email}),f.jsx(He,{"data-loc":"client/src/components/Navbar.tsx:137",variant:"ghost",size:"sm",onClick:n,className:"text-white/70 hover:text-white hover:bg-white/10",children:"Sign out"})]}):f.jsxs(f.Fragment,{children:[f.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:148",href:Ja(),children:f.jsx(He,{"data-loc":"client/src/components/Navbar.tsx:149",variant:"ghost",size:"sm",className:"text-white/80 hover:text-white hover:bg-white/10 font-medium",children:"Sign in"})}),f.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:157",href:Ja(),children:f.jsx(He,{"data-loc":"client/src/components/Navbar.tsx:158",size:"sm",className:"btn-primary-gradient font-semibold rounded-xl px-5",children:"Get started free"})})]})}),f.jsx("button",{"data-loc":"client/src/components/Navbar.tsx:170",className:"lg:hidden p-2 text-white/70 hover:text-white transition-colors",onClick:()=>o(p=>!p),"aria-label":"Toggle menu",children:i?f.jsx(j0,{"data-loc":"client/src/components/Navbar.tsx:175",className:"h-5 w-5"}):f.jsx(FP,{"data-loc":"client/src/components/Navbar.tsx:175",className:"h-5 w-5"})})]}),i&&f.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:181",className:"lg:hidden py-4 border-t",style:{borderColor:"rgba(129,134,64,0.2)"},children:[f.jsx("ul",{"data-loc":"client/src/components/Navbar.tsx:185",className:"flex flex-col gap-1 mb-2",children:w6.map(p=>f.jsx("li",{"data-loc":"client/src/components/Navbar.tsx:187",children:f.jsx("button",{"data-loc":"client/src/components/Navbar.tsx:188",onClick:()=>g(p.href),className:"w-full text-left px-4 py-2.5 text-sm font-medium text-white/70 hover:text-white hover:bg-white/5 rounded-lg transition-colors",children:p.label})},p.href))}),f.jsxs("div",{"data-loc":"client/src/components/Navbar.tsx:197",className:"px-3 mb-2",children:[f.jsx("p",{"data-loc":"client/src/components/Navbar.tsx:198",className:"text-[10px] text-white/30 uppercase tracking-widest px-1 mb-1",children:"Tools"}),S6.map(p=>f.jsx(Cr,{"data-loc":"client/src/components/Navbar.tsx:200",href:p.href,children:f.jsxs("span",{"data-loc":"client/src/components/Navbar.tsx:201",onClick:()=>o(!1),className:"flex items-center gap-3 px-3 py-2.5 rounded-xl hover:bg-white/5 transition-colors cursor-pointer",children:[f.jsx(p.icon,{"data-loc":"client/src/components/Navbar.tsx:202",className:"h-4 w-4 text-[#a8ae52] shrink-0"}),f.jsx("span",{"data-loc":"client/src/components/Navbar.tsx:203",className:"text-sm text-white/70",children:p.label})]})},p.href))]}),f.jsx("div",{"data-loc":"client/src/components/Navbar.tsx:208",className:"flex flex-col gap-2 px-4",children:t?f.jsx(He,{"data-loc":"client/src/components/Navbar.tsx:210",variant:"ghost",onClick:n,className:"w-full text-white/70 hover:text-white hover:bg-white/10",children:"Sign out"}):f.jsxs(f.Fragment,{children:[f.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:219",href:Ja(),className:"w-full",children:f.jsx(He,{"data-loc":"client/src/components/Navbar.tsx:220",variant:"ghost",className:"w-full text-white/80 hover:text-white hover:bg-white/10",children:"Sign in"})}),f.jsx("a",{"data-loc":"client/src/components/Navbar.tsx:224",href:Ja(),className:"w-full",children:f.jsx(He,{"data-loc":"client/src/components/Navbar.tsx:225",className:"w-full btn-primary-gradient font-semibold rounded-xl",children:"Get started free"})})]})})]})]})})}function Cj(){const e=O.useRef(null),t=O.useRef(null);return O.useEffect(()=>{const n=t.current;if(!n)return;const r=n.getContext("2d");if(!r)return;let a;const i=[];function o(){n&&(n.width=n.offsetWidth,n.height=n.offsetHeight)}function c(){if(!n)return;i.length=0;const g=Math.floor(n.width*n.height/25e3);for(let p=0;p<g;p++)i.push({x:Math.random()*n.width,y:Math.random()*n.height,vx:(Math.random()-.5)*.5,vy:(Math.random()-.5)*.5,radius:Math.random()*2+.5,opacity:Math.random()*.6+.2,color:Math.random()>
498.5?"rgba(129,134,64,":"rgba(6,148,148,",life:Math.random()*200+100})}function u(){if(!(!r||!n)){r.clearRect(0,0,n.width,n.height);for(let g=i.length-1;g>=0;g--){const p=i[g];p.x+=p.vx,p.y+=p.vy,p.life--,p.x<0&&(p.x=n.width),p.x>n.width&&(p.x=0),p.y<0&&(p.y=n.height),p.y>n.height&&(p.y=0);const b=p.life/150;r.beginPath(),r.arc(p.x,p.y,p.radius,0,Math.PI*2),r.fillStyle=p.color+p.opacity*b+")",r.fill(),r.shadowColor=p.color+p.opacity*.5+")",r.shadowBlur=8}r.shadowBlur=0,a=requestAnimationFrame(u)}}o(),c(),u();const h=new ResizeObserver(()=>{o(),c()});return h.observe(n),()=>{cancelAnimationFrame(a),h.disconnect()}},[]),f.jsxs("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:98",ref:e,className:"cyberpunk-container",children:[f.jsx("canvas",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:100",ref:t,className:"cyberpunk-canvas",style:{zIndex:0}}),f.jsxs("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:107",className:"cyberpunk-content",children:[f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:109",className:"light-beam beam-1"}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:110",className:"light-beam beam-2"}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:111",className:"light-beam beam-3"}),f.jsxs("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:114",className:"clipboard-wrapper",children:[f.jsxs("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:115",className:"clipboard",children:[f.jsxs("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:117",className:"clapperboard-top",children:[f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:118",className:"clap-stripe stripe-1"}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:119",className:"clap-stripe stripe-2"}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:120",className:"clap-stripe stripe-3"})]}),f.jsxs("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:124",className:"clapperboard-main",children:[f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:125",className:"clap-text",children:"PROD."}),f.jsxs("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:126",className:"clap-fields",children:[f.jsx("span",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:127",children:"SCENE"}),f.jsx("span",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:128",children:"TAKE"}),f.jsx("span",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:129",children:"ROLL"})]}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:131",className:"clap-text clap-director",children:"DIRECTOR"}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:132",className:"clap-text clap-camera",children:"CAMERA"})]}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:136",className:"clipboard-glow glow-primary"}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:137",className:"clipboard-glow glow-teal"})]}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:141",className:"glitch-overlay"}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:144",className:"scan-lines"})]}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:148",className:"floating-particles",children:Array.from({length:12}).map((n,r)=>f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:150",className:"particle",style:{"--delay":`${r*.15}s`,"--angle":`${r/12*360}deg`}},r))})]}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:163",className:"glow-orb orb-1"}),f.jsx("div",{"data-loc":"client/src/components/CyberpunkClipboardAnimation.tsx:164",className:"glow-orb orb-2"})]})}
498const Oj=[{value:"50+",label:"AI Models available"},{value:"100",label:"Free daily requests"},{value:"BYOK",label:"Bring your own key"}];function Rj(){const e=O.useRef(null);O.useEffect(()=>{const n=e.current;if(!n)return;const r=n.getContext("2d");if(!r)return;let a;const i=[],o=["rgba(129,134,64,","rgba(6,148,148,","rgba(167,139,250,","rgba(94,234,212,"];function c(){n&&(n.width=n.offsetWidth,n.height=n.offsetHeight)}function u(){if(!n)return;i.length=0;const p=Math.floor(n.width*n.height/18e3);for(let b=0;b<p;b++)i.push({x:Math.random()*n.width,y:Math.random()*n.height,vx:(Math.random()-.5)*.3,vy:(Math.random()-.5)*.3,radius:Math.random()*1.5+.5,opacity:Math.random()*.5+.1,color:o[Math.floor(Math.random()*o.length)]})}function h(){if(!(!r||!n)){r.clearRect(0,0,n.width,n.height);for(const p of i)p.x+=p.vx,p.y+=p.vy,p.x<0&&(p.x=n.width),p.x>n.width&&(p.x=0),p.y<0&&(p.y=n.height),p.y>n.height&&(p.y=0),r.beginPath(),r.arc(p.x,p.y,p.radius,0,Math.PI*2),r.fillStyle=p.color+p.opacity+")",r.fill();for(let p=0;p<i.length;p++)for(let b=p+1;b<i.length;b++){const y=i[p].x-i[b].x,w=i[p].y-i[b].y,T=Math.sqrt(y*y+w*w);T<120&&(r.beginPath(),r.moveTo(i[p].x,i[p].y),r.lineTo(i[b].x,i[b].y),r.strokeStyle=`rgba(129,134,64,${.06*(1-T/120)})`,r.lineWidth=.5,r.stroke())}a=requestAnimationFrame(h)}}c(),u(),h();const g=new ResizeObserver(()=>{c(),u()});return g.observe(n),()=>{cancelAnimationFrame(a),g.disconnect()}},[]);function t(){document.getElementById("demo")?.scrollIntoView({behavior:"smooth"})}return f.jsxs("section",{"data-loc":"client/src/components/sections/HeroSection.tsx:110",id:"hero",className:"relative min-h-screen flex flex-col overflow-hidden",style:{background:"linear-gradient(145deg, #1F1E1C 0%, #130d35 25%, #0f2030 60%, #151c1c 100%)"},children:[f.jsx("canvas",{"data-loc":"client/src/components/sections/HeroSection.tsx:118",ref:e,className:"absolute inset-0 w-full h-full pointer-events-none",style:{zIndex:0}}),f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:125",className:"absolute pointer-events-none",style:{top:"10%",left:"5%",width:"45vw",height:"45vw",background:"radial-gradient(ellipse, rgba(129,134,64,0.18) 0%, transparent 70%)",filter:"blur(40px)",zIndex:0}}),f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:135",className:"absolute pointer-events-none",style:{bottom:"15%",right:"5%",width:"40vw",height:"40vw",background:"radial-gradient(ellipse, rgba(6,148,148,0.15) 0%, transparent 70%)",filter:"blur(40px)",zIndex:0}}),f.jsxs("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:147",className:"relative z-10 flex flex-col flex-1 container pt-32 pb-20 lg:pt-40 lg:pb-28",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:149",className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-12 flex-1",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:152",className:"lg:max-w-[58%] flex flex-col justify-end",children:[f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:154",className:"inline-flex items-center gap-2 mb-6 self-start animate-fade-in",style:{animationDelay:"0.1s"},children:f.jsxs("span",{"data-loc":"client/src/components/sections/HeroSection.tsx:155",className:"flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide",style:{background:"rgba(129,134,64,0.15)",border:"1px solid rgba(129,134,64,0.35)",color:"#c4c96a"},children:[f.jsx(Ut,{"data-loc":"client/src/components/sections/HeroSection.tsx:163",className:"h-3 w-3"}),"Now in open beta"]})}),f.jsxs("h1",{"data-loc":"client/src/components/sections/HeroSection.tsx:169",className:"font-display font-extrabold leading-[0.95] tracking-tight text-white animate-slide-up",style:{fontSize:"clamp(3rem, 8vw, 7rem)",animationDelay:"0.2s"},children:[f.jsx("span",{"data-loc":"client/src/components/sections/HeroSection.tsx:176",className:"block",children:"AI tools"}),f.jsx("span",{"data-loc":"client/src/components/sections/HeroSection.tsx:177",className:"block text-gradient-brand",children:"built for"}),f.jsx("span",{"data-loc":"client/src/components/sections/HeroSection.tsx:178",className:"block",children:"filmmakers."})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:182",className:"flex flex-wrap gap-3 mt-10 animate-slide-up",style:{animationDelay:"0.45s"},children:[f.jsx("a",{"data-loc":"client/src/components/sections/HeroSection.tsx:183",href:Ja(),children:f.jsxs(He,{"data-loc":"client/src/components/sections/HeroSection.tsx:184",size:"lg",className:"btn-primary-gradient font-semibold rounded-xl px-7 h-12 text-base gap-2",children:["Start creating free",f.jsx(rm,{"data-loc":"client/src/components/sections/HeroSection.tsx:189",className:"h-4 w-4"})]})}),f.jsxs(He,{"data-loc":"client/src/components/sections/HeroSection.tsx:192",size:"lg",variant:"ghost",onClick:t,className:"rounded-xl px-7 h-12 text-base gap-2 text-white/80 hover:text-white hover:bg-white/10 border border-white/10",children:[f.jsx(UP,{"data-loc":"client/src/components/sections/HeroSection.tsx:198",className:"h-4 w-4 fill-current"}),"Try the demo"]})]}),f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:204",className:"flex flex-wrap gap-8 mt-12 animate-fade-in",style:{animationDelay:"0.6s"},children:Oj.map(n=>f.jsxs("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:206",children:[f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:207",className:"font-display font-bold text-2xl text-gradient-brand",children:n.value}),f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:212",className:"text-xs text-white/50 mt-0.5",children:n.label})]},n.label))})]}),f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:219",className:"hidden lg:flex lg:max-w-[36%] lg:self-start lg:pt-8 animate-fade-in justify-center",style:{animationDelay:"0.35s"},children:f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:220",className:"relative w-full h-96 flex items-center justify-center",children:f.jsx(Cj,{"data-loc":"client/src/components/sections/HeroSection.tsx:221"})})}),f.jsxs("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:226",className:"w-full lg:hidden animate-fade-in",style:{animationDelay:"0.35s"},children:[f.jsx("p",{"data-loc":"client/src/components/sections/HeroSection.tsx:227",className:"text-white/60 text-base leading-relaxed font-light",children:"Democratizing open-source AI for independent filmmakers, students, and creators through a secure, unified platform."}),f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:232",className:"flex flex-wrap gap-2 mt-6",children:[{icon:ss,label:"Script analysis"},{icon:Js,label:"50+ AI models"},{icon:Ut,label:"Storyboard gen"}].map(({icon:n,label:r})=>f.jsxs("span",{"data-loc":"client/src/components/sections/HeroSection.tsx:238",className:"flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-medium",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",color:"rgba(255,255,255,0.7)"},children:[f.jsx(n,{"data-loc":"client/src/components/sections/HeroSection.tsx:247",className:"h-3 w-3"}),r]},r))})]})]}),f.jsx("div",{"data-loc":"client/src/components/sections/HeroSection.tsx:256",className:"flex justify-center mt-16 animate-fade-in",style:{animationDelay:"0.8s"},children:f.jsxs("button",{"data-loc":"client/src/components/sections/HeroSection.tsx:257",onClick:()=>document.getElementById("features")?.scrollIntoView({behavior:"smooth"}),className:"flex flex-col items-center gap-2 text-white/30 hover:text-white/60 transition-colors",children:[f.jsx("span",{"data-loc":"client/src/components/sections/HeroSection.tsx:261",className:"text-xs tracking-widest uppercase font-medium",children:"Explore"}),f.jsx("span",{"data-loc":"client/src/components/sections/HeroSection.tsx:262",className:"w-px h-10 animate-pulse-glow",style:{background:"linear-gradient(to bottom, rgba(129,134,64,0.6), transparent)"}})]})})]})]})}const Dj=[{icon:XP,title:"Secure AI Model Access",description:"Enterprise-grade security with JWT sessions, API key rotation, IP monitoring, and usage anomaly detection â so your creative work stays protected.",color:"#818640",glow:"rgba(129,134,64,0.3)"},{icon:kS,title:"Unified Backend",description:"One platform, 50+ models. Switch between Llama, Qwen, DeepSeek, Gemma, and Mistral without changing your workflow or rebuilding your pipeline.",color:"#069494",glow:"rgba(6,148,148,0.3)"},{icon:MP,title:"Bring Your Own Key",description:"Connect your OpenAI, Gemini, or Anthropic API keys. BYOK requests don't count toward your daily limit â unlimited creative freedom.",color:"#818640",glow:"rgba(129,134,64,0.3)"},{icon:ss,title:"Filmmaker-First Workflows",description:"Script analysis, storyboard generation, shot list creation, scene planning, and subtitle generation â purpose-built for independent productions.",color:"#0891b2",glow:"rgba(8,145,178,0.3)"},{icon:Kx,title:"Team Collaboration",description:"Shared credits, team projects, asset libraries, and role-based access (Owner, Admin, Member) â built for the way film crews actually work.",color:"#818640",glow:"rgba(129,134,64,0.3)"},{icon:vP,title:"Usage Analytics",description:"Track token usage, media generation, storage, and costs per user. Full transparency so you always know where your budget is going.",color:"#069494",glow:"rgba(6,148,148,0.3)"}
498],Mj=[{icon:Xx,label:"Script Analysis",desc:"AI-powered breakdown of scenes, characters, and dialogue"},{icon:xa,label:"Storyboard Gen",desc:"Generate visual storyboards from your script in seconds"},{icon:Ut,label:"Shot List AI",desc:"Automatic shot lists with camera angles and lens suggestions"},{icon:zo,label:"Video Enhancement",desc:"Upscaling, color grading suggestions, and subtitle generation"},{icon:Js,label:"Scene Planning",desc:"AI scheduling and location scouting assistance"},{icon:jP,label:"Asset Library",desc:"Secure shared storage for your team's production assets"}];function Ij(e=.15){const t=O.useRef(null),[n,r]=O.useState(!1);return O.useEffect(()=>{const a=t.current;if(!a)return;const i=new IntersectionObserver(([o])=>{o.isIntersecting&&(r(!0),i.disconnect())},{threshold:e});return i.observe(a),()=>i.disconnect()},[e]),{ref:t,inView:n}}function Lj(){const{ref:e,inView:t}=Ij();return f.jsxs("section",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:87",id:"features",className:"relative py-28 overflow-hidden",children:[f.jsx("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:89",className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #1F1E1C 0%, #100c28 50%, #1F1E1C 100%)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:95",className:"absolute pointer-events-none",style:{top:"20%",right:"-10%",width:"50vw",height:"50vw",background:"radial-gradient(ellipse, rgba(6,148,148,0.08) 0%, transparent 70%)",filter:"blur(60px)"}}),f.jsxs("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:105",className:"container relative z-10",ref:e,children:[f.jsxs("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:107",className:"max-w-2xl mx-auto text-center mb-20",style:{opacity:t?1:0,transform:t?"translateY(0)":"translateY(24px)",transition:"opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out)"},children:[f.jsxs("span",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:115",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-4",style:{background:"rgba(6,148,148,0.12)",border:"1px solid rgba(6,148,148,0.3)",color:"#6ee7e7"},children:[f.jsx(kS,{"data-loc":"client/src/components/sections/FeaturesSection.tsx:123",className:"h-3 w-3"}),"Platform capabilities"]}),f.jsxs("h2",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:126",className:"font-display font-bold text-4xl lg:text-5xl text-white leading-tight",children:["Everything a creator needs,"," ",f.jsx("span",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:128",className:"text-gradient-brand",children:"nothing they don't."})]}),f.jsx("p",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:130",className:"mt-4 text-white/50 text-lg leading-relaxed",children:"A unified AI platform designed from the ground up for independent filmmakers â not enterprise IT teams."})]}),f.jsx("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:136",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5 mb-20",children:Dj.map((n,r)=>{const a=n.icon;return f.jsxs("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:140",className:"glass-card glass-card-hover rounded-2xl p-6",style:{opacity:t?1:0,transform:t?"translateY(0)":"translateY(32px)",transition:`opacity 0.6s var(--ease-out) ${r*.08}s, transform 0.6s var(--ease-out) ${r*.08}s`},children:[f.jsx("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:149",className:"flex h-11 w-11 items-center justify-center rounded-xl mb-4",style:{background:`${n.color}20`,border:`1px solid ${n.color}40`},children:f.jsx(a,{"data-loc":"client/src/components/sections/FeaturesSection.tsx:153",className:"h-5 w-5",style:{color:n.color}})}),f.jsx("h3",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:155",className:"font-display font-semibold text-lg text-white mb-2",children:n.title}),f.jsx("p",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:156",className:"text-sm text-white/50 leading-relaxed",children:n.description})]},n.title)})}),f.jsx("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:163",className:"rounded-3xl p-8 lg:p-12",style:{background:"rgba(255,255,255,0.025)",border:"1px solid rgba(129,134,64,0.2)",opacity:t?1:0,transform:t?"translateY(0)":"translateY(24px)",transition:"opacity 0.7s var(--ease-out) 0.4s, transform 0.7s var(--ease-out) 0.4s"},children:f.jsxs("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:173",className:"flex flex-col lg:flex-row gap-10 items-start",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:174",className:"lg:w-[38%]",children:[f.jsxs("span",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:175",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-4",style:{background:"rgba(129,134,64,0.12)",border:"1px solid rgba(129,134,64,0.3)",color:"#c4c96a"},children:[f.jsx(ss,{"data-loc":"client/src/components/sections/FeaturesSection.tsx:183",className:"h-3 w-3"}),"Filmmaker tools"]}),f.jsx("h3",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:186",className:"font-display font-bold text-3xl text-white leading-tight mb-4",children:"From pre-production to post."}),f.jsx("p",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:189",className:"text-white/50 leading-relaxed",children:"Creator AI Hub covers every phase of your production â from the first draft of your script to the final color grade. AI tools that understand the language of cinema."}),f.jsx("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:192",className:"mt-6 h-px w-full",style:{background:"linear-gradient(90deg, rgba(129,134,64,0.4), transparent)"}}),f.jsx("p",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:196",className:"mt-4 text-sm text-white/40 italic",children:'"The GitHub + Canva + AI Studio for filmmakers."'})]}),f.jsx("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:200",className:"lg:w-[62%] grid grid-cols-1 sm:grid-cols-2 gap-4",children:Mj.map((n,r)=>{const a=n.icon;return f.jsxs("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:204",className:"flex gap-3 p-4 rounded-xl",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.06)",opacity:t?1:0,transform:t?"translateY(0)":"translateY(16px)",transition:`opacity 0.5s var(--ease-out) ${.5+r*.07}s, transform 0.5s var(--ease-out) ${.5+r*.07}s`},children:[f.jsx("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:215",className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg mt-0.5",style:{background:"rgba(129,134,64,0.15)"},children:f.jsx(a,{"data-loc":"client/src/components/sections/FeaturesSection.tsx:219",className:"h-4 w-4 text-[#a8ae52]"})}),f.jsxs("div",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:221",children:[f.jsx("p",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:222",className:"text-sm font-semibold text-white",children:n.label}),f.jsx("p",{"data-loc":"client/src/components/sections/FeaturesSection.tsx:223",className:"text-xs text-white/45 mt-0.5 leading-relaxed",children:n.desc})]})]},n.label)})})]})})]})]})}const Pj="modulepreload",jj=function(e){return"/"+e},T6={}
vendor: 4,325 bytes, line 498
498,H=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let u=function(h){return Promise.all(h.map(g=>Promise.resolve(g).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),c=o?.nonce||o?.getAttribute("nonce");a=u(n.map(h=>{if(h=jj(h),h in T6)return;T6[h]=!0;const g=h.endsWith(".css"),p=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${p}`))return;const b=document.createElement("link");if(b.rel=g?"stylesheet":Pj,g||(b.as="script"),b.crossOrigin="",b.href=h,c&&b.setAttribute("nonce",c),document.head.appendChild(b),g)return new Promise((y,w)=>{b.addEventListener("load",y),b.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${h}`)))})}))}function i(o){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=o,window.dispatchEvent(c),!c.defaultPrevented)throw o}return a.then(o=>{for(const c of o||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})};function k6(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 eb(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Bj=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,zj=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Fj={};function _6(e,t){return(Fj.jsx?zj:Bj).test(e)}const Hj=/[ \t\n\f\r]/g;function sm(e){return typeof e=="object"?e.type==="text"?A6(e.value):!1:A6(e)}function A6(e){return e.replace(Hj,"")===""}let z0=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};z0.prototype.normal={};z0.prototype.property={};z0.prototype.space=void 0;function HS(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new z0(n,r,t)}function b0(e){return e.toLowerCase()}let Or=class{constructor(t,n){this.attribute=n,this.property=t}};Or.prototype.attribute="";Or.prototype.booleanish=!1;Or.prototype.boolean=!1;Or.prototype.commaOrSpaceSeparated=!1;Or.prototype.commaSeparated=!1;Or.prototype.defined=!1;Or.prototype.mustUseProperty=!1;Or.prototype.number=!1;Or.prototype.overloadedBoolean=!1;Or.prototype.property="";Or.prototype.spaceSeparated=!1;Or.prototype.space=void 0;let Uj=0;const ct=nl(),vn=nl(),I2=nl(),Ce=nl(),Ft=nl(),cc=nl(),Hr=nl();function nl(){return 2**++Uj}const L2=Object.freeze(Object.defineProperty({__proto__:null,boolean:ct,booleanish:vn,commaOrSpaceSeparated:Hr,commaSeparated:cc,number:Ce,overloadedBoolean:I2,spaceSeparated:Ft},Symbol.toStringTag,{value:"Module"})),lg=Object.keys(L2);let tb=class extends Or{constructor(t,n,r,a){let i=-1;if(super(t,n),N6(this,"space",a),typeof r=="number")for(;++i<lg.length;){const o=lg[i];N6(this,lg[i],(r&L2[o])===L2[o])}}};tb.prototype.defined=!0;function N6(e,t,n){n&&(e[t]=n)}function Ac(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new tb(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[b0(r)]=r,n[b0(i.attribute)]=r}return new z0(t,n,e.space)}const US=Ac({properties:{ariaActiveDescendant:null,ariaAtomic:vn,ariaAutoComplete:null,ariaBusy:vn,ariaChecked:vn,ariaColCount:Ce,ariaColIndex:Ce,ariaColSpan:Ce,ariaControls:Ft,ariaCurrent:null,ariaDescribedBy:Ft,ariaDetails:null,ariaDisabled:vn,ariaDropEffect:Ft,ariaErrorMessage:null,ariaExpanded:vn,ariaFlowTo:Ft,ariaGrabbed:vn,ariaHasPopup:null,ariaHidden:vn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ft,ariaLevel:Ce,ariaLive:null,ariaModal:vn,ariaMultiLine:vn,ariaMultiSelectable:vn,ariaOrientation:null,ariaOwns:Ft,ariaPlaceholder:null,ariaPosInSet:Ce,ariaPressed:vn,ariaReadOnly:vn,ariaRelevant:null,ariaRequired:vn,ariaRoleDescription:Ft,ariaRowCount:Ce,ariaRowIndex:Ce,ariaRowSpan:Ce,ariaSelected:vn,ariaSetSize:Ce,ariaSort:null,ariaValueMax:Ce,ariaValueMin:Ce,ariaValueNow:Ce,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function qS(e,t){return t in e?e[t]:t}function VS(e,t){return qS(e,t.toLowerCase())}const qj=Ac({attributes:{acceptcharset:"accept-charset",classname:"
498class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:cc,acceptCharset:Ft,accessKey:Ft,action:null,allow:null,allowFullScreen:ct,allowPaymentRequest:ct,allowUserMedia:ct,alt:null,as:null,async:ct,autoCapitalize:null,autoComplete:Ft,autoFocus:ct,autoPlay:ct,blocking:Ft,capture:null,charSet:null,checked:ct,cite:null,className:Ft,cols:Ce,colSpan:null,content:null,contentEditable:vn,controls:ct,controlsList:Ft,coords:Ce|cc,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ct,defer:ct,dir:null,dirName:null,disabled:ct,download:I2,draggable:vn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ct,formTarget:null,headers:Ft,height:Ce,hidden:I2,high:Ce,href:null,hrefLang:null,htmlFor:Ft,httpEquiv:Ft,id:null,imageSizes:null,imageSrcSet:null,inert:ct,inputMode:null,integrity:null,is:null,isMap:ct,itemId:null,itemProp:Ft,itemRef:Ft,itemScope:ct,itemType:Ft,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ct,low:Ce,manifest:null,max:null,maxLength:Ce,media:null,method:null,min:null,minLength:Ce,multiple:ct,muted:ct,name:null,nonce:null,noModule:ct,noValidate:ct,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ct,optimum:Ce,pattern:null,ping:Ft,placeholder:null,playsInline:ct,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ct,referrerPolicy:null,rel:Ft,required:ct,reversed:ct,rows:Ce,rowSpan:Ce,sandbox:Ft,scope:null,scoped:ct,seamless:ct,selected:ct,shadowRootClonable:ct,shadowRootDelegatesFocus:ct,shadowRootMode:null,shape:null,size:Ce,sizes:null,slot:null,span:Ce,spellCheck:vn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ce,step:null,style:null,tabIndex:Ce,target:null,title:null,translate:null,type:null,typeMustMatch:ct,useMap:null,value:vn,width:Ce,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ft,axis:null,background:null,bgColor:null,border:Ce,borderColor:null,bottomMargin:Ce,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ct,declare:ct,event:null,face:null,frame:null,frameBorder:null,hSpace:Ce,leftMargin:Ce,link:null,longDesc:null,lowSrc:null,marginHeight:Ce,marginWidth:Ce,noResize:ct,noHref:ct,noShade:ct,noWrap:ct,object:null,profile:null,prompt:null,rev:null,rightMargin:Ce,rules:null,scheme:null,scrolling:vn,standby:null,summary:null,text:null,topMargin:Ce,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ce,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ct,disableRemotePlayback:ct,prefix:null,property:null,results:Ce,security:null,unselectable:null},space:"html",transform:VS}),Vj=Ac({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
498dering:"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:Ce,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ce,amplitude:Ce,arabicForm:null,ascent:Ce,attributeName:null,attributeType:null,azimuth:Ce,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ce,by:null,calcMode:null,capHeight:Ce,className:Ft,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
498dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ce,diffuseConstant:Ce,direction:null,display:null,dur:null,divisor:Ce,dominantBaseline:null,download:ct,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ce,enableBackground:null,end:null,event:null,exponent:Ce,externalResourcesRequired:null,fill:null,fillOpacity:Ce,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:cc,g2:cc,glyphName:cc,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ce,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ce,horizOriginX:Ce,horizOriginY:Ce,id:null,ideographic:Ce,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ce,k:Ce,k1:Ce,k2:Ce,k3:Ce,k4:Ce,kernelMatrix:Hr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ce,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ce,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ce,overlineThickness:Ce,paintOrder:null,panose1:null,path:null,pathLength:Ce,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ft,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ce,pointsAtY:Ce,pointsAtZ:Ce,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:Ce,specularExponent:Ce,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ce,strikethroughThickness:Ce,string:null,stroke:null,strokeDashArray:Hr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ce,strokeOpacity:Ce,strokeWidth:null,style:null,surfaceScale:Ce,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Hr,tabIndex:Ce,tableValues:null,target:null,targetX:Ce,targetY:Ce,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Hr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ce,underlineThickness:Ce,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ce,values:null,vAlphabetic:Ce,vMathematical:Ce,vectorEffect:null,vHanging:Ce,vIdeographic:Ce,version:null,vertAdvY:Ce,vertOriginX:Ce,vertOriginY:Ce,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ce,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:qS}),$S=Ac({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 4,322 bytes, lines 498-499
498,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),GS=Ac({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:VS}),YS=Ac({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),$j={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"},Gj=/[A-Z]/g,C6=/-[a-z]/g,Yj=/^data[-\w.:]+$/i;function im(e,t){const n=b0(t);let r=t,a=Or;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Yj.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(C6,Xj);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!C6.test(i)){let o=i.replace(Gj,Qj);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=tb}return new a(r,t)}function Qj(e){return"-"+e.toLowerCase()}function Xj(e){return e.charAt(1).toUpperCase()}const F0=HS([US,qj,$S,GS,YS],"html"),Ji=HS([US,Vj,$S,GS,YS],"svg");function O6(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function nb(e){return e.join(" ").trim()}var Kl={},cg,R6;function Wj(){if(R6)return cg;R6=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,c=/^\s+|\s+$/g,u=` 499`,h="/",g="*",p="",b="comment",y="declaration";cg=function(T,A){if(typeof T!="string")throw new TypeError("First argument must be a string");if(!T)return[];A=A||{};var N=1,R=1;function z(me){var oe=me.match(t);oe&&(N+=oe.length);var ee=me.lastIndexOf(u);R=~ee?me.length-ee:R+me.length}function W(){var me={line:N,column:R};return function(oe){return oe.position=new q(me),V(),oe}}function q(me){this.start=me,this.end={line:N,column:R},this.source=A.source}q.prototype.content=T;function C(me){var oe=new Error(A.source+":"+N+":"+R+": "+me);if(oe.reason=me,oe.filename=A.source,oe.line=N,oe.column=R,oe.source=T,!A.silent)throw oe}function M(me){var oe=me.exec(T);if(oe){var ee=oe[0];return z(ee),T=T.slice(ee.length),oe}}function V(){M(n)}function Z(me){var oe;for(me=me||[];oe=I();)oe!==!1&&me.push(oe);return me}function I(){var me=W();if(!(h!=T.charAt(0)||g!=T.charAt(1))){for(var oe=2;p!=T.charAt(oe)&&(g!=T.charAt(oe)||h!=T.charAt(oe+1));)++oe;if(oe+=2,p===T.charAt(oe-1))return C("End of comment missing");var ee=T.slice(2,oe-2);return R+=2,z(ee),T=T.slice(oe),R+=2,me({type:b,comment:ee})}}function se(){var me=W(),oe=M(r);if(oe){if(I(),!M(a))return C("property missing ':'");var ee=M(i),L=me({type:y,property:w(oe[0].replace(e,p)),value:ee?w(ee[0].replace(e,p)):p});return M(o),L}}function ae(){var me=[];Z(me);for(var oe;oe=se();)oe!==!1&&(me.push(oe),Z(me));return me}return V(),ae()};function w(T){return T?T.replace(c,p):p}return cg}var D6;function Kj(){if(D6)return Kl;D6=1;var e=Kl&&Kl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.default=n;const t=e(Wj());function n(r,a){let i=null;if(!r||typeof r!="string")return i;const o=(0,t.default)(r),c=typeof a=="function";return o.forEach(u=>{if(u.type!=="declaration")return;const{property:h,value:g}=u;c?a(h,g,u):g&&(i=i||{},i[h]=g)}),i}return Kl}var Du={},M6;function Zj(){if(M6)return Du;M6=1,Object.defineProperty(Du,"__esModule",{value:!0}),Du.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()},c=function(h,g){return"".concat(g,"-")},u=function(h,g){return g===void 0&&(g={}),i(h)?h:(h=h.toLowerCase(),g.reactCompat?h=h.replace(a,c):h=h.replace(r,c),h.replace(t,o))};return Du.camelCase=u,Du}var Mu,I6;function Jj(){if(I6)return Mu;I6=1;var e=Mu&&Mu.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(Kj()),n=Zj();function r(a,i){var o={};return!a||typeof a!="string"||(0,t.default)(a,function(c,u){c&&u&&(o[(0,n.camel
vendor: 2,654 bytes, line 499
499Case)(c,i)]=u)}),o}return r.default=r,Mu=r,Mu}var eB=Jj();const tB=Uf(eB),om=QS("end"),us=QS("start");function QS(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 nB(e){const t=us(e),n=om(e);if(t&&n)return{start:t,end:n}}function Qu(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?L6(e.position):"start"in e||"end"in e?L6(e):"line"in e||"column"in e?P2(e):""}function P2(e){return P6(e&&e.line)+":"+P6(e&&e.column)}function L6(e){return P2(e&&e.start)+"-"+P2(e&&e.end)}function P6(e){return e&&typeof e=="number"?e:1}class rr 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 u=r.indexOf(":");u===-1?i.ruleId=r:(i.source=r.slice(0,u),i.ruleId=r.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){const u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}const c=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=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=c?c.line:void 0,this.name=Qu(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}}rr.prototype.file="";rr.prototype.name="";rr.prototype.reason="";rr.prototype.message="";rr.prototype.stack="";rr.prototype.column=void 0;rr.prototype.line=void 0;rr.prototype.ancestors=void 0;rr.prototype.cause=void 0;rr.prototype.fatal=void 0;rr.prototype.place=void 0;rr.prototype.ruleId=void 0;rr.prototype.source=void 0;const rb={}.hasOwnProperty,rB=new Map,aB=/[A-Z]/g,sB=new Set(["table","tbody","thead","tfoot","tr"]),iB=new Set(["td","th"]),XS="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function oB(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=pB(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 9,532 bytes, line 499
499if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=mB(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"?Ji:F0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=WS(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function WS(e,t,n){if(t.type==="element")return lB(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return cB(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return dB(e,t,n);if(t.type==="mdxjsEsm")return uB(e,t);if(t.type==="root")return hB(e,t,n);if(t.type==="text")return fB(e,t)}function lB(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=Ji,e.schema=a),e.ancestors.push(t);const i=ZS(e,t.tagName,!1),o=gB(e,t);let c=sb(e,t);return sB.has(t.tagName)&&(c=c.filter(function(u){return typeof u=="string"?!sm(u):!0})),KS(e,o,i,t),ab(o,c),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function cB(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)}y0(e,t.position)}function uB(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);y0(e,t.position)}function dB(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=Ji,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:ZS(e,t.name,!0),o=xB(e,t),c=sb(e,t);return KS(e,o,i,t),ab(o,c),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function hB(e,t,n){const r={};return ab(r,sb(e,t)),e.create(t,e.Fragment,r,n)}function fB(e,t){return t.value}function KS(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ab(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function mB(e,t,n){return r;function r(a,i,o,c){const h=Array.isArray(o.children)?n:t;return c?h(i,o,c):h(i,o)}}function pB(e,t){return n;function n(r,a,i,o){const c=Array.isArray(i.children),u=us(r);return t(a,i,o,c,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function gB(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&rb.call(t.properties,a)){const i=bB(e,a,t.properties[a]);if(i){const[o,c]=i;e.tableCellAlignToStyle&&o==="align"&&typeof c=="string"&&iB.has(t.tagName)?r=c:n[o]=c}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function xB(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 c=o.properties[0];c.type,Object.assign(n,e.evaluater.evaluateExpression(c.argument))}else y0(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 c=r.value.data.estree.body[0];c.type,i=e.evaluater.evaluateExpression(c.expression)}else y0(e,t.position);else i=r.value===null?!0:r.value;n[a]=i}return n}function sb(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:rB;for(;++r<t.children.length;){const i=t.children[r];let o;if(e.passKeys){const u=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(u){const h=a.get(u)||0;o=u+"-"+h,a.set(u,h+1)}}const c=WS(e,i,o);c!==void 0&&n.push(c)}return n}function bB(e,t,n){const r=im(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?eb(n):nb(n)),r.property==="style"){let a=typeof n=="object"?n:yB(e,String(n));return e.stylePropertyNameCase==="css"&&(a=vB(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?$j[r.property]||r.property:r.attribute,n]}}function yB(e,t){try{return tB(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,a=new rr("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=XS+"#cannot-parse-style-attribute",a}}function ZS(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 c=_6(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};o=o?{type:"MemberExpression",object:o,property:c,computed:!!(i&&c.type==="Literal"),optional:!1}:c}r=o}else r=_6(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return rb.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);y0(e)}function y0(e,t){const n=new rr("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=XS+"#cannot-handle-mdx-estrees-without-createevaluater",n}function vB(e){const t={};let n;for(n in e)rb.call(e,n)&&(t[EB(n)]=e[n]);return t}function EB(e){let t=e.replace(aB,wB);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function wB(e){return"-"+e.toLowerCase()}const ug={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"]},SB={};function ib(e,t){const n=SB,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return JS(e,r,a)}function JS(e,t,n){if(TB(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 j6(e.children,t,n)}return Array.isArray(e)?j6(e,t,n):""}function j6(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=JS(e[a],t,n);return r.join("")}function TB(e){return!!(e&&typeof e=="object")}const B6=document.createElement("i");function ob(e){const t="&"+e+";";B6.innerHTML=t;const n=B6.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Qr(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 da(e,t){return e.length>0?(Qr(e,e.length,0,t),e):t}const z6={}.hasOwnProperty;function e9(e){const t={};let n=-1;for(;++n<e.length;)kB(t,e[n]);return t}function kB(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 c=i[o];_B(a[o],Array.isArray(c)?c:c?[c]:[])}}}function _B(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Qr(e,0,0,r)}function t9(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 Ca(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const cr=eo(/[A-Za-z]/),nr=eo(/[\dA-Za-z]/),AB=eo(/[#-'*+\--9=?A-Z^-~]/);function hf(e){return e!==null&&(e<32||e===127)}const j2=eo(/\d/),NB=eo(/[\dA-Fa-f]/),CB=eo(/[!-/:-@[-`{-~]/);function Qe(e){return e!==null&&e<-2}function Bt(e){return e!==null&&(e<0||e===32)}function xt(e){return e===-2||e===-1||e===32}const lm=eo(new RegExp("\\p{P}|\\p{S}","u")),$o=eo(/\s/);function eo(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Nc(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let o="";if(i===37&&nr(e.charCodeAt(n+1))&&nr(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 c=e.charCodeAt(n+1);i<56320&&c>56319&&c<57344?(o=String.fromCharCode(i,c),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(u){return xt(u)?(e.enter(n),c(u)):t(u)}function c(u){return xt(u)&&i++<a?(e.consume(u),c):(e.exit(n),t(u))}}const OB={tokenize:RB};function RB(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),ft(e,t,"linePrefix")}function a(c){return e.enter("paragraph"),i(c)}function i(c){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,o(c)}function o(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return Qe(c)?(e.consume(c),e.exit("chunkText"),i):(e.consume(c),o)}}const DB={tokenize:MB},F6={tokenize:IB};function MB(e){const t=this,n=[];let r=0,a,i,o;return c;function c(z){if(r<n.length){const W=n[r];return t.containerState=W[1],e.attempt(W[0].continuation,u,h)(z)}return h(z)}function u(z){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&R();const W=t.events.length;let q=W,C;for(;q--;)if(t.events[q][0]==="exit"&&t.events[q][1].type==="chunkFlow"){C=t.events[q][1].end;break}N(r);let M=W;
vendor: 8,257 bytes, line 499
499for(;M<t.events.length;)t.events[M][1].end={...C},M++;return Qr(t.events,q+1,0,t.events.slice(W)),t.events.length=M,h(z)}return c(z)}function h(z){if(r===n.length){if(!a)return b(z);if(a.currentConstruct&&a.currentConstruct.concrete)return w(z);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(F6,g,p)(z)}function g(z){return a&&R(),N(r),b(z)}function p(z){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,w(z)}function b(z){return t.containerState={},e.attempt(F6,y,w)(z)}function y(z){return r++,n.push([t.currentConstruct,t.containerState]),b(z)}function w(z){if(z===null){a&&R(),N(0),e.consume(z);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),T(z)}function T(z){if(z===null){A(e.exit("chunkFlow"),!0),N(0),e.consume(z);return}return Qe(z)?(e.consume(z),A(e.exit("chunkFlow")),r=0,t.interrupt=void 0,c):(e.consume(z),T)}function A(z,W){const q=t.sliceStream(z);if(W&&q.push(null),z.previous=i,i&&(i.next=z),i=z,a.defineSkip(z.start),a.write(q),t.parser.lazy[z.start.line]){let C=a.events.length;for(;C--;)if(a.events[C][1].start.offset<o&&(!a.events[C][1].end||a.events[C][1].end.offset>o))return;const M=t.events.length;let V=M,Z,I;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){if(Z){I=t.events[V][1].end;break}Z=!0}for(N(r),C=M;C<t.events.length;)t.events[C][1].end={...I},C++;Qr(t.events,V+1,0,t.events.slice(M)),t.events.length=C}}function N(z){let W=n.length;for(;W-- >z;){const q=n[W];t.containerState=q[1],q[0].exit.call(t,e)}n.length=z}function R(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function IB(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 xc(e){if(e===null||Bt(e)||$o(e))return 1;if(lm(e))return 2}function cm(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 B2={name:"attention",resolveAll:LB,tokenize:PB};function LB(e,t){let n=-1,r,a,i,o,c,u,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;u=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 p={...e[r][1].end},b={...e[n][1].start};H6(p,-u),H6(b,u),o={type:u>1?"strongSequence":"emphasisSequence",start:p,end:{...e[r][1].end}},c={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:b},i={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:u>1?"strong":"emphasis",start:{...o.start},end:{...c.end}},e[r][1].end={...o.start},e[n][1].start={...c.end},h=[],e[r][1].end.offset-e[r][1].start.offset&&(h=da(h,[["enter",e[r][1],t],["exit",e[r][1],t]])),h=da(h,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),h=da(h,cm(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),h=da(h,[["exit",i,t],["enter",c,t],["exit",c,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(g=2,h=da(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):g=0,Qr(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 PB(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=xc(r);let i;return o;function o(u){return i=u,e.enter("attentionSequence"),c(u)}function c(u){if(u===i)return e.consume(u),c;const h=e.exit("attentionSequence"),g=xc(u),p=!g||g===2&&a||n.includes(u),b=!a||a===2&&g||n.includes(r);return h._open=!!(i===42?p:p&&(a||!b)),h._close=!!(i===42?b:b&&(g||!p)),t(u)}}function H6(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const jB={name:"autolink",tokenize:BB};function BB(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 cr(y)?(e.consume(y),o):y===64?n(y):h(y)}function o(y){return y===43||y===45||y===46||nr(y)?(r=1,c(y)):h(y)}function c(y){return y===58?(e.consume(y),r=0,u):(y===43||y===45||y===46||nr(y))&&r++<32?(e.consume(y),c):(r=0,h(y))}function u(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||hf(y)?n(y):(e.consume(y),u)}function h(y){return y===64?(e.consume(y),g):AB(y)?(e.consume(y),h):n(y)}function g(y){return nr(y)?p(y):n(y)}function p(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):b(y)}function b(y){if((y===45||nr(y))&&r++<63){const w=y===45?b:p;return e.consume(y),w}return n(y)}}const H0={partial:!0,tokenize:zB};function zB(e,t,n){return r;function r(i){return xt(i)?ft(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||Qe(i)?t(i):n(i)}}const n9={continuation:{tokenize:HB},exit:UB,name:"blockQuote",tokenize:FB};function FB(e,t,n){const r=this;return a;function a(o){if(o===62){const c=r.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return n(o)}function i(o){return xt(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function HB(e,t,n){const r=this;return a;function a(o){return xt(o)?ft(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(n9,t,n)(o)}}function UB(e){e.exit("blockQuote")}const r9={name:"characterEscape",tokenize:qB};function qB(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 CB(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const a9={name:"characterReference",tokenize:VB};function VB(e,t,n){const r=this;let a=0,i,o;return c;function c(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),u}function u(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),i=31,o=nr,g(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=NB,g):(e.enter("characterReferenceValue"),i=7,o=j2,g(p))}function g(p){if(p===59&&a){const b=e.exit("characterReferenceValue");return o===nr&&!ob(r.sliceSerialize(b))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(p)&&a++<i?(e.consume(p),g):n(p)}}const U6={partial:!0,tokenize:GB},q6={concrete:!0,name:"codeFenced",tokenize:$B};function $B(e,t,n){const r=this,a={partial:!0,tokenize:q};let i=0,o=0,c;return u;function u(C){return h(C)}function h(C){const M=r.events[r.events.length-1];return i=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,c=C,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),g(C)}function g(C){return C===c?(o++,e.consume(C),g):o<3?n(C):(e.exit("codeFencedFenceSequence"),xt(C)?ft(e,p,"whitespace")(C):p(C))}function p(C){return C===null||Qe(C)?(e.exit("codeFencedFence"),r.interrupt?t(C):e.check(U6,T,W)(C)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(C))}function b(C){return C===null||Qe(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(C)):xt(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ft(e,y,"whitespace")(C)):C===96&&C===c?n(C):(e.consume(C),b)}
vendor: 6,605 bytes, line 499
499function y(C){return C===null||Qe(C)?p(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),w(C))}function w(C){return C===null||Qe(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(C)):C===96&&C===c?n(C):(e.consume(C),w)}function T(C){return e.attempt(a,W,A)(C)}function A(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),N}function N(C){return i>0&&xt(C)?ft(e,R,"linePrefix",i+1)(C):R(C)}function R(C){return C===null||Qe(C)?e.check(U6,T,W)(C):(e.enter("codeFlowValue"),z(C))}function z(C){return C===null||Qe(C)?(e.exit("codeFlowValue"),R(C)):(e.consume(C),z)}function W(C){return e.exit("codeFenced"),t(C)}function q(C,M,V){let Z=0;return I;function I(ee){return C.enter("lineEnding"),C.consume(ee),C.exit("lineEnding"),se}function se(ee){return C.enter("codeFencedFence"),xt(ee)?ft(C,ae,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ee):ae(ee)}function ae(ee){return ee===c?(C.enter("codeFencedFenceSequence"),me(ee)):V(ee)}function me(ee){return ee===c?(Z++,C.consume(ee),me):Z>=o?(C.exit("codeFencedFenceSequence"),xt(ee)?ft(C,oe,"whitespace")(ee):oe(ee)):V(ee)}function oe(ee){return ee===null||Qe(ee)?(C.exit("codeFencedFence"),M(ee)):V(ee)}}}function GB(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)}}const dg={name:"codeIndented",tokenize:QB},YB={partial:!0,tokenize:XB};function QB(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?u(h):Qe(h)?e.attempt(YB,o,u)(h):(e.enter("codeFlowValue"),c(h))}function c(h){return h===null||Qe(h)?(e.exit("codeFlowValue"),o(h)):(e.consume(h),c)}function u(h){return e.exit("codeIndented"),t(h)}}function XB(e,t,n){const r=this;return a;function a(o){return r.parser.lazy[r.now().line]?n(o):Qe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):ft(e,i,"linePrefix",5)(o)}function i(o){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(o):Qe(o)?a(o):n(o)}}const WB={name:"codeText",previous:ZB,resolve:KB,tokenize:JB};function KB(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 ZB(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function JB(e,t,n){let r=0,a,i;return o;function o(p){return e.enter("codeText"),e.enter("codeTextSequence"),c(p)}function c(p){return p===96?(e.consume(p),r++,c):(e.exit("codeTextSequence"),u(p))}function u(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),u):p===96?(i=e.enter("codeTextSequence"),a=0,g(p)):Qe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||Qe(p)?(e.exit("codeTextData"),u(p)):(e.consume(p),h)}function g(p){return p===96?(e.consume(p),a++,g):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(i.type="codeTextData",h(p))}}class ez{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&&Iu(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),Iu(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Iu(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);Iu(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Iu(this.left,n.reverse())}}}function Iu(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 s9(e){const t={};let n=-1,r,a,i,o,c,u,h;const g=new ez(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"&&(u=r[1]._tokenizer.events,i=0,i<u.length&&u[i][1].type==="lineEndingBlank"&&(i+=2),i<u.length&&u[i][1].type==="content"))for(;++i<u.length&&u[i][1].type!=="content";)u[i][1].type==="chunkText"&&(u[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,tz(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},c=g.slice(a,n),c.unshift(r),g.splice(a,n-a+1,c))}}return Qr(e,0,Number.POSITIVE_INFINITY,g.slice(0)),!h}function tz(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 c=o.events,u=[],h={};let g,p,b=-1,y=n,w=0,T=0;const A=[T];for(;y;){for(;e.get(++a)[1]!==y;);i.push(a),y._tokenizer||(g=r.sliceStream(y),y.next||g.push(null),p&&o.defineSki
vendor: 18,616 bytes, line 499
499p(y.start),y._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(g),y._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),p=y,y=y.next}for(y=n;++b<c.length;)c[b][0]==="exit"&&c[b-1][0]==="enter"&&c[b][1].type===c[b-1][1].type&&c[b][1].start.line!==c[b][1].end.line&&(T=b+1,A.push(T),y._tokenizer=void 0,y.previous=void 0,y=y.next);for(o.events=[],y?(y._tokenizer=void 0,y.previous=void 0):A.pop(),b=A.length;b--;){const N=c.slice(A[b],A[b+1]),R=i.pop();u.push([R,R+N.length-1]),e.splice(R,2,N)}for(u.reverse(),b=-1;++b<u.length;)h[w+u[b][0]]=w+u[b][1],w+=u[b][1]-u[b][0]-1;return h}const nz={resolve:az,tokenize:sz},rz={partial:!0,tokenize:iz};function az(e){return s9(e),e}function sz(e,t){let n;return r;function r(c){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(c)}function a(c){return c===null?i(c):Qe(c)?e.check(rz,o,i)(c):(e.consume(c),a)}function i(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function o(c){return e.consume(c),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function iz(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||Qe(o))return n(o);const c=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function i9(e,t,n,r,a,i,o,c,u){const h=u||Number.POSITIVE_INFINITY;let g=0;return p;function p(N){return N===60?(e.enter(r),e.enter(a),e.enter(i),e.consume(N),e.exit(i),b):N===null||N===32||N===41||hf(N)?n(N):(e.enter(r),e.enter(o),e.enter(c),e.enter("chunkString",{contentType:"string"}),T(N))}function b(N){return N===62?(e.enter(i),e.consume(N),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),y(N))}function y(N){return N===62?(e.exit("chunkString"),e.exit(c),b(N)):N===null||N===60||Qe(N)?n(N):(e.consume(N),N===92?w:y)}function w(N){return N===60||N===62||N===92?(e.consume(N),y):y(N)}function T(N){return!g&&(N===null||N===41||Bt(N))?(e.exit("chunkString"),e.exit(c),e.exit(o),e.exit(r),t(N)):g<h&&N===40?(e.consume(N),g++,T):N===41?(e.consume(N),g--,T):N===null||N===32||N===40||hf(N)?n(N):(e.consume(N),N===92?A:T)}function A(N){return N===40||N===41||N===92?(e.consume(N),T):T(N)}}function o9(e,t,n,r,a,i){const o=this;let c=0,u;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 c>999||y===null||y===91||y===93&&!u||y===94&&!c&&"_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):Qe(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),g):(e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===null||y===91||y===93||Qe(y)||c++>999?(e.exit("chunkString"),g(y)):(e.consume(y),u||(u=!xt(y)),y===92?b:p)}function b(y){return y===91||y===92||y===93?(e.consume(y),c++,p):p(y)}}function l9(e,t,n,r,a,i){let o;return c;function c(b){return b===34||b===39||b===40?(e.enter(r),e.enter(a),e.consume(b),e.exit(a),o=b===40?41:b,u):n(b)}function u(b){return b===o?(e.enter(a),e.consume(b),e.exit(a),e.exit(r),t):(e.enter(i),h(b))}function h(b){return b===o?(e.exit(i),u(o)):b===null?n(b):Qe(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),ft(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),g(b))}function g(b){return b===o||b===null||Qe(b)?(e.exit("chunkString"),h(b)):(e.consume(b),b===92?p:g)}function p(b){return b===o||b===92?(e.consume(b),g):g(b)}}function Xu(e,t){let n;return r;function r(a){return Qe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):xt(a)?ft(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const oz={name:"definition",tokenize:cz},lz={partial:!0,tokenize:uz};function cz(e,t,n){const r=this;let a;return i;function i(y){return e.enter("definition"),o(y)}function o(y){return o9.call(r,e,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function c(y){return a=Ca(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),u):n(y)}function u(y){return Bt(y)?Xu(e,h)(y):h(y)}function h(y){return i9(e,g,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function g(y){return e.attempt(lz,p,p)(y)}function p(y){return xt(y)?ft(e,b,"whitespace")(y):b(y)}function b(y){return y===null||Qe(y)?(e.exit("definition"),r.parser.defined.push(a),t(y)):n(y)}}function uz(e,t,n){return r;function r(c){return Bt(c)?Xu(e,a)(c):n(c)}function a(c){return l9(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function i(c){return xt(c)?ft(e,o,"whitespace")(c):o(c)}function o(c){return c===null||Qe(c)?t(c):n(c)}}const dz={name:"hardBreakEscape",tokenize:hz};function hz(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return Qe(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const fz={name:"headingAtx",resolve:mz,tokenize:pz};function mz(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"},Qr(e,r,n-r+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function pz(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||Bt(g)?(e.exit("atxHeadingSequence"),c(g)):n(g)}function c(g){return g===35?(e.enter("atxHeadingSequence"),u(g)):g===null||Qe(g)?(e.exit("atxHeading"),t(g)):xt(g)?ft(e,c,"whitespace")(g):(e.enter("atxHeadingText"),h(g))}function u(g){return g===35?(e.consume(g),u):(e.exit("atxHeadingSequence"),c(g))}function h(g){return g===null||g===35||Bt(g)?(e.exit("atxHeadingText"),c(g)):(e.consume(g),h)}}const gz=["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"],V6=["pre","script","style","textarea"],xz={concrete:!0,name:"htmlFlow",resolveTo:vz,tokenize:Ez},bz={partial:!0,tokenize:Sz},yz={partial:!0,tokenize:wz};function vz(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 Ez(e,t,n){const r=this;let a,i,o,c,u;return h;function h(P){return g(P)}function g(P){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(P),p}function p(P){return P===33?(e.consume(P),b):P===47?(e.consume(P),i=!0,T):P===63?(e.consume(P),a=3,r.interrupt?t:U):cr(P)?(e.consume(P),o=String.fromCharCode(P),A):n(P)}function b(P){return P===45?(e.consume(P),a=2,y):P===91?(e.consume(P),a=5,c=0,w):cr(P)?(e.consume(P),a=4,r.interrupt?t:U):n(P)}function y(P){return P===45?(e.consume(P),r.interrupt?t:U):n(P)}function w(P){const pe="CDATA[";return P===pe.charCodeAt(c++)?(e.consume(P),c===pe.length?r.interrupt?t:ae:w):n(P)}function T(P){return cr(P)?(e.consume(P),o=String.fromCharCode(P),A):n(P)}function A(P){if(P===null||P===47||P===62||Bt(P)){const pe=P===47,Se=o.toLowerCase();return!pe&&!i&&V6.includes(Se)?(a=1,r.interrupt?t(P):ae(P)):gz.includes(o.toLowerCase())?(a=6,pe?(e.consume(P),N):r.interrupt?t(P):ae(P)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(P):i?R(P):z(P))}return P===45||nr(P)?(e.consume(P),o+=String.fromCharCode(P),A):n(P)}function N(P){return P===62?(e.consume(P),r.interrupt?t:ae):n(P)}function R(P){return xt(P)?(e.consume(P),R):I(P)}function z(P){return P===47?(e.consume(P),I):P===58||P===95||cr(P)?(e.consume(P),W):xt(P)?(e.consume(P),z):I(P)}function W(P){return P===45||P===46||P===58||P===95||nr(P)?(e.consume(P),W):q(P)}function q(P){return P===61?(e.consume(P),C):xt(P)?(e.consume(P),q):z(P)}function C(P){return P===null||P===60||P===61||P===62||P===96?n(P):P===34||P===39?(e.consume(P),u=P,M):xt(P)?(e.consume(P),C):V(P)}function M(P){return P===u?(e.consume(P),u=null,Z):P===null||Qe(P)?n(P):(e.consume(P),M)}function V(P){return P===null||P===34||P===39||P===47||P===60||P===61||P===62||P===96||Bt(P)?q(P):(e.consume(P),V)}function Z(P){return P===47||P===62||xt(P)?z(P):n(P)}function I(P){return P===62?(e.consume(P),se):n(P)}function se(P){return P===null||Qe(P)?ae(P):xt(P)?(e.consume(P),se):n(P)}function ae(P){return P===45&&a===2?(e.consume(P),L):P===60&&a===1?(e.consume(P),J):P===62&&a===4?(e.consume(P),G):P===63&&a===3?(e.consume(P),U):P===93&&a===5?(e.consume(P),we):Qe(P)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(bz,ce,me)(P)):P===null||Qe(P)?(e.exit("htmlFlowData"),me(P)):(e.consume(P),ae)}function me(P){return e.check(yz,oe,ce)(P)}function oe(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),ee}function ee(P){return P===null||Qe(P)?me(P):(e.enter("htmlFlowData"),ae(P))}function L(P){return P===45?(e.consume(P),U):ae(P)}function J(P){return P===47?(e.consume(P),o="",te):ae(P)}function te(P){if(P===62){const pe=o.toLowerCase();return V6.includes(pe)?(e.consume(P),G):ae(P)}return cr(P)&&o.length<8?(e.consume(P),o+=String.fromCharCode(P),te):ae(P)}function we(P){return P===93?(e.consume(P),U):ae(P)}function U(P){return P===62?(e.consume(P),G):P===45&&a===2?(e.consume(P),U):ae(P)}function G(P){return P===null||Qe(P)?(e.exit("htmlFlowData"),ce(P)):(e.consume(P),G)}function ce(P){return e.exit("htmlFlow"),t(P)}}function wz(e,t,n){const r=this;return a;function a(o){return Qe(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 Sz(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(H0,t,n)}}const Tz={name:"htmlText",tokenize:kz};function kz(e,t,n){const r=this;let a,i,o;return c;function c(U){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(U),u}function u(U){return U===33?(e.consume(U),h):U===47?(e.consume(U),q):U===63?(e.consume(U),z):cr(U)?(e.consume(U),V):n(U)}function h(U){return U===45?(e.consume(U),g):U===91?(e.consume(U),i=0,w):cr(U)?(e.consume(U),R):n(U)}function g(U){return U===45?(e.consume(U),y):n(U)}function p(U){return U===null?n(U):U===45?(e.consume(U),b):Qe(U)?(o=p,J(U)):(e.consume(U),p)}function b(U){return U===45?(e.consume(U),y):p(U)}function y(U){return U===62?L(U):U===45?b(U):p(U)}function w(U){const G="CDATA[";return U===G.charCodeAt(i++)?(e.consume(U),i===G.length?T:w):n(U)}function T(U){return U===null?n(U):U===93?(e.consume(U),A):Qe(U)?(o=T,J(U)):(e.consume(U),T)}function A(U){return U===93?(e.consume(U),N):T(U)}function N(U){return U===62?L(U):U===93?(e.consume(U),N):T(U)}function R(U){return U===null||U===62?L(U):Qe(U)?(o=R,J(U)):(e.consume(U),R)}function z(U){return U===null?n(U):U===63?(e.consume(U),W):Qe(U)?(o=z,J(U)):(e.consume(U),z)}function W(U){return U===62?L(U):z(U)}function q(U){return cr(U)?(e.consume(U),C):n(U)}function C(U){return U===45||nr(U)?(e.consume(U),C):M(U)}function M(U){return Qe(U)?(o=M,J(U)):xt(U)?(e.consume(U),M):L(U)}function V(U){return U===45||nr(U)?(e.consume(U),V):U===47||U===62||Bt(U)?Z(U):n(U)}function Z(U){return U===47?(e.consume(U),L):U===58||U===95||cr(U)?(e.consume(U),I):Qe(U)?(o=Z,J(U)):xt(U)?(e.consume(U),Z):L(U)}function I(U){return U===45||U===46||U===58||U===95||nr(U)?(e.consume(U),I):se(U)}function se(U){return U===61?(e.consume(U),ae):Qe(U)?(o=se,J(U)):xt(U)?(e.consume(U),se):Z(U)}function ae(U){return U===null||U===60||U===61||U===62||U===96?n(U):U===34||U===39?(e.consume(U),a=U,me):Qe(U)?(o=ae,J(U)):xt(U)?(e.consume(U),ae):(e.consume(U),oe)}function me(U){return U===a?(e.consume(U),a=void 0,ee):U===null?n(U):Qe(U)?(o=me,J(U)):(e.consume(U),me)}function oe(U){return U===null||U===34||U===39||U===60||U===61||U===96?n(U):U===47||U===62||Bt(U)?Z(U):(e.consume(U),oe)}function ee(U){return U===47||U===62||Bt(U)?Z(U):n(U)}function L(U){return U===62?(e.consume(U),e.exit("htmlTextData"),e.exit("htmlText"),t):n(U)}function J(U){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),te}function te(U){return xt(U)?ft(e,we,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):we(U)}function we(U){return e.enter("htmlTextData"),o(U)}}const lb={name:"labelEnd",resolveAll:Cz,resolveTo:Oz,tokenize:Rz},_z={tokenize:Dz},Az={tokenize:Mz},Nz={tokenize:Iz};function Cz(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&&Qr(e,0,e.length,n),e}function Oz(e,t){let n=e.length,r=0,a,i,o,c;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 u={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 c=[["enter",u,t],["enter",h,t]],c=da(c,e.slice(i+1,i+r+3)),c=da(c,[["enter",g,t]]),c=da(c,cm(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),c=da(c,[["exit",g,t],e[o-2],e[o-1],["exit",h,t]]),c=da(c,e.slice(o+1)),c=da(c,[["exit",u,t]]),Qr(e,i,e.length,c),e}function Rz(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 c;function c(b){return i?i._inactive?p(b):(o=r.parser.defined.includes(Ca(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),u):n(b)}function u(b){return b===40?e.attempt(_z,g,o?g:p)(b):b===91?e.attempt(Az,g,o?h:p)(b):o?g(b):p(b)}function h(b){return e.attempt(Nz,g,p)(b)}function g(b){return t(b)}function p(b){return i._balanced=!0,n(b)}}function Dz(e,t,n){return r;function r(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),a}function a(p){return Bt(p)?Xu(e,i)(p):i(p)}function i(p){return p===41?g(p):i9(e,o,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function o(p){return Bt(p)?Xu(e,u)(p):g(p)}function c(p){return n(p)}function u(p){return p===34||p===39||p===40?l9(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):g(p)}function h(p){return Bt(p)?Xu(e,g)(p):g(p)}function g(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function Mz(e,t,n){const r=this;return a;function a(c){return o9.call(r,e,i,o,"reference","referenceMarker","referenceString")(c)}function i(c){return r.parser.defined.includes(Ca(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(c):n(c)}function o(c){return n(c)}}function Iz(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 Lz={name:"labelStartImage",resolveAll:lb.resolveAll,tokenize:Pz};function Pz(e,t,n){const r=this;return a;function a(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),i}function i(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),o):n(c)}function o(c){return c===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(c):t(c)}}const jz={name:"labelStartLink",resolveAll:lb.resolveAll,tokenize:Bz};function Bz(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 hg={name:"lineEnding",tokenize:zz};function zz(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ft(e,t,"linePrefix")}}const Xh={name:"thematicBreak",tokenize:Fz};function Fz(e,t,n){let r=0,a;return i;function i(h){return e.enter("thematicBreak"),o(h)}function o(h){return a=h,c(h)}function c(h){return h===a?(e.enter("thematicBreakSequence"),u(h)):r>=3&&(h===null||Qe(h))?(e.exit("thematicBreak"),t(h)):n(h)}function u(h){return h===a?(e.consume(h),r++,u):(e.exit("thematicBreakSequence"),xt(h)?ft(e,c,"whitespace")(h):c(h))}}const kr={continuation:{tokenize:Vz},exit:Gz,name:"list",tokenize:qz},Hz={partial:!0,tokenize:Yz},Uz={partial:!0,tokenize:$z};function qz(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 c;function c(y){const w=r.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!r.containerState.marker||y===r.containerState.marker:j2(y)){if(r.containerState.type||(r.containerState.type=w,e.enter(w,{_container:!0})),w==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(Xh,n,h)(y):h(y);if(!r.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(y)}return n(y)}function u(y){return j2(y)&&++o<10?(e.consume(y),u):(!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(H0,r.interrupt?n:g,e.attempt(Hz,b,p))}
vendor: 5,359 bytes, line 499
499function g(y){return r.containerState.initialBlankLine=!0,i++,b(y)}function p(y){return xt(y)?(e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),b):n(y)}function b(y){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(y)}}function Vz(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(H0,a,i);function a(c){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ft(e,t,"listItemIndent",r.containerState.size+1)(c)}function i(c){return r.containerState.furtherBlankLines||!xt(c)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(c)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Uz,t,o)(c))}function o(c){return r.containerState._closeFlow=!0,r.interrupt=void 0,ft(e,e.attempt(kr,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function $z(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 Gz(e){e.exit(this.containerState.type)}function Yz(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!xt(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const $6={name:"setextUnderline",resolveTo:Qz,tokenize:Xz};function Qz(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 Xz(e,t,n){const r=this;let a;return i;function i(h){let g=r.events.length,p;for(;g--;)if(r.events[g][1].type!=="lineEnding"&&r.events[g][1].type!=="linePrefix"&&r.events[g][1].type!=="content"){p=r.events[g][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter("setextHeadingLine"),a=h,o(h)):n(h)}function o(h){return e.enter("setextHeadingLineSequence"),c(h)}function c(h){return h===a?(e.consume(h),c):(e.exit("setextHeadingLineSequence"),xt(h)?ft(e,u,"lineSuffix")(h):u(h))}function u(h){return h===null||Qe(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const Wz={tokenize:Kz};function Kz(e){const t=this,n=e.attempt(H0,r,e.attempt(this.parser.constructs.flowInitial,a,ft(e,e.attempt(this.parser.constructs.flow,a,e.attempt(nz,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 Zz={resolveAll:u9()},Jz=c9("string"),eF=c9("text");function c9(e){return{resolveAll:u9(e==="text"?tF:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],i=n.attempt(a,o,c);return o;function o(g){return h(g)?i(g):c(g)}function c(g){if(g===null){n.consume(g);return}return n.enter("data"),n.consume(g),u}function u(g){return h(g)?(n.exit("data"),i(g)):(n.consume(g),u)}function h(g){if(g===null)return!0;const p=a[g];let b=-1;if(p)for(;++b<p.length;){const y=p[b];if(!y.previous||y.previous.call(r,r.previous))return!0}return!1}}}function u9(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 tF(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,c=0,u;for(;i--;){const h=a[i];if(typeof h=="string"){for(o=h.length;h.charCodeAt(o-1)===32;)c++,o--;if(o)break;o=-1}else if(h===-2)u=!0,c++;else if(h!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const h={type:n===e.length||u||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?o:r.start._bufferIndex+o,_index:r.start._index+i,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},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 nF={42:kr,43:kr,45:kr,48:kr,49:kr,50:kr,51:kr,52:kr,53:kr,54:kr,55:kr,56:kr,57:kr,62:n9},rF={91:oz},aF={[-2]:dg,[-1]:dg,32:dg},sF={35:fz,42:Xh,45:[$6,Xh],60:xz,61:$6,95:Xh,96:q6,126:q6},iF={38:a9,92:r9},oF={[-5]:hg,[-4]:hg,[-3]:hg,33:Lz,38:a9,42:B2,60:[jB,Tz],91:jz,92:[dz,r9],93:lb,95:B2,96:WB},lF={null:[B2,Zz]},cF={null:[42,95]},uF={null:[]},dF=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:cF,contentInitial:rF,disable:uF,document:nF,flow:sF,flowInitial:aF,insideSpan:lF,string:iF,text:oF},Symbol.toStringTag,{value:"Module"}));function hF(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 21,226 bytes, lines 499-505
499olumn:n&&n.column||1,offset:n&&n.offset||0};const a={},i=[];let o=[],c=[];const u={attempt:M(q),check:M(C),consume:R,enter:z,exit:W,interrupt:M(C,{interrupt:!0})},h={code:null,containerState:{},defineSkip:T,events:[],now:w,parser:e,previous:null,sliceSerialize:b,sliceStream:y,write:p};let g=t.tokenize.call(h,u);return t.resolveAll&&i.push(t),h;function p(se){return o=da(o,se),A(),o[o.length-1]!==null?[]:(V(t,0),h.events=cm(i,h.events,h),h.events)}function b(se,ae){return mF(y(se),ae)}function y(se){return fF(o,se)}function w(){const{_bufferIndex:se,_index:ae,line:me,column:oe,offset:ee}=r;return{_bufferIndex:se,_index:ae,line:me,column:oe,offset:ee}}function T(se){a[se.line]=se.column,I()}function A(){let se;for(;r._index<o.length;){const ae=o[r._index];if(typeof ae=="string")for(se=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===se&&r._bufferIndex<ae.length;)N(ae.charCodeAt(r._bufferIndex));else N(ae)}}function N(se){g=g(se)}function R(se){Qe(se)?(r.line++,r.column=1,r.offset+=se===-3?2:1,I()):se!==-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=se}function z(se,ae){const me=ae||{};return me.type=se,me.start=w(),h.events.push(["enter",me,h]),c.push(me),me}function W(se){const ae=c.pop();return ae.end=w(),h.events.push(["exit",ae,h]),ae}function q(se,ae){V(se,ae.from)}function C(se,ae){ae.restore()}function M(se,ae){return me;function me(oe,ee,L){let J,te,we,U;return Array.isArray(oe)?ce(oe):"tokenize"in oe?ce([oe]):G(oe);function G(Re){return Pe;function Pe(Ge){const tt=Ge!==null&&Re[Ge],Ot=Ge!==null&&Re.null,en=[...Array.isArray(tt)?tt:tt?[tt]:[],...Array.isArray(Ot)?Ot:Ot?[Ot]:[]];return ce(en)(Ge)}}function ce(Re){return J=Re,te=0,Re.length===0?L:P(Re[te])}function P(Re){return Pe;function Pe(Ge){return U=Z(),we=Re,Re.partial||(h.currentConstruct=Re),Re.name&&h.parser.constructs.disable.null.includes(Re.name)?Se():Re.tokenize.call(ae?Object.assign(Object.create(h),ae):h,u,pe,Se)(Ge)}}function pe(Re){return se(we,U),ee}function Se(Re){return U.restore(),++te<J.length?P(J[te]):L}}}function V(se,ae){se.resolveAll&&!i.includes(se)&&i.push(se),se.resolve&&Qr(h.events,ae,h.events.length-ae,se.resolve(h.events.slice(ae),h)),se.resolveTo&&(h.events=se.resolveTo(h.events,h))}function Z(){const se=w(),ae=h.previous,me=h.currentConstruct,oe=h.events.length,ee=Array.from(c);return{from:oe,restore:L};function L(){r=se,h.previous=ae,h.currentConstruct=me,h.events.length=oe,c=ee,I()}}function I(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function fF(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 c=o[0];typeof c=="string"?o[0]=c.slice(r):o.shift()}i>0&&o.push(e[a].slice(0,i))}return o}function mF(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=` 500`;break}case-3:{o=`\r 501`;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 pF(e){const r={constructs:e9([dF,...(e||{}).extensions||[]]),content:a(OB),defined:[],document:a(DB),flow:a(Wz),lazy:{},string:a(Jz),text:a(eF)};return r;function a(i){return o;function o(c){return hF(r,i,c)}}}function gF(e){for(;!s9(e););return e}const G6=/[\0\t\n\r]/g;function xF(){let e=1,t="",n=!0,r;return a;function a(i,o,c){const u=[];let h,g,p,b,y;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),p=0,t="",n&&(i.charCodeAt(0)===65279&&p++,n=void 0);p<i.length;){if(G6.lastIndex=p,h=G6.exec(i),b=h&&h.index!==void 0?h.index:i.length,y=i.charCodeAt(b),!h){t=i.slice(p);break}if(y===10&&p===b&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),p<b&&(u.push(i.slice(p,b)),e+=b-p),y){case 0:{u.push(65533),e++;break}case 9:{for(g=Math.ceil(e/4)*4,u.push(-2);e++<g;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}p=b+1}return c&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const bF=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yF(e){return e.replace(bF,vF)}function vF(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return t9(n.slice(i?2:1),i?16:10)}return ob(n)||e}const d9={}.hasOwnProperty;function EF(e,t,n){return typeof t!="string"&&(n=t,t=void 0),wF(n)(gF(pF(n).document().write(xF()(e,t,!0))))}function wF(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ln),autolinkProtocol:Z,autolinkEmail:Z,atxHeading:i(Ea),blockQuote:i(Ot),characterEscape:Z,characterReference:Z,codeFenced:i(en),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(en,o),codeText:i(on,o),codeTextData:Z,data:Z,codeFlowValue:Z,definition:i(Dr),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(jn),hardBreakEscape:i(Kr),hardBreakTrailing:i(Kr),htmlFlow:i(fr,o),htmlFlowData:Z,htmlText:i(fr,o),htmlTextData:Z,image:i(Zr),label:o,link:i(ln),listItem:i(no),listItemValue:b,listOrdered:i(ni,p),listUnordered:i(ni),paragraph:i(Bn),reference:P,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(Ea),strong:i(Ia),thematicBreak:i(Bc)},exit:{atxHeading:u(),atxHeadingSequence:q,autolink:u(),autolinkEmail:tt,autolinkProtocol:Ge,blockQuote:u(),characterEscapeValue:I,characterReferenceMarkerHexadecimal:Se,characterReferenceMarkerNumeric:Se,characterReferenceValue:Re,characterReference:Pe,codeFenced:u(A),codeFencedFence:T,codeFencedFenceInfo:y,codeFencedFenceMeta:w,codeFlowValue:I,codeIndented:u(N),codeText:u(ee),codeTextData:I,data:I,definition:u(),definitionDestinationString:W,definitionLabelString:R,definitionTitleString:z,emphasis:u(),hardBreakEscape:u(ae),hardBreakTrailing:u(ae),htmlFlow:u(me),htmlFlowData:I,htmlText:u(oe),htmlTextData:I,image:u(J),label:we,labelText:te,lineEnding:se,link:u(L),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:pe,resourceDestinationString:U,resourceTitleString:G,resource:ce,setextHeading:u(V),setextHeadingLineSequence:M,setextHeadingText:C,strong:u(),thematicBreak:u()}};h9(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ye){let De={type:"root",children:[]};const Ze={stack:[De],tokenStack:[],config:t,enter:c,exit:h,buffer:o,resume:g,data:n},ot=[];let mt=-1;for(;++mt<ye.length;)if(ye[mt][1].type==="listOrdered"||ye[mt][1].type==="listUnordered")if(ye[mt][0]==="enter")ot.push(mt);else{const Yn=ot.pop();mt=a(ye,Yn,mt)}for(mt=-1;++mt<ye.length;){const Yn=t[ye[mt][0]];d9.call(Yn,ye[mt][1].type)&&Yn[ye[mt][1].type].call(Object.assign({sliceSerialize:ye[mt][2].sliceSerialize},Ze),ye[mt][1])}if(Ze.tokenStack.length>0){const Yn=Ze.tokenStack[Ze.tokenStack.length-1];(Yn[1]||Y6).call(Ze,void 0,Yn[0])}for(De.position={start:Ci(ye.length>0?ye[0][1].start:{line:1,column:1,offset:0}),end:Ci(ye.length>0?ye[ye.length-2][1].end:{line:1,column:1,offset:0})},mt=-1;++mt<t.transforms.length;)De=t.transforms[mt](De)||De;return De}function a(ye,De,Ze){let ot=De-1,mt=-1,Yn=!1,Qn,Fn,cn,Hn;for(;++ot<=Ze;){const Ct=ye[ot];switch(Ct[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ct[0]==="enter"?mt++:mt--,Hn=void 0;break}case"lineEndingBlank":{Ct[0]==="enter"&&(Qn&&!Hn&&!mt&&!cn&&(cn=ot),Hn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Hn=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 La=ot;for(Fn=void 0;La--;){const sr=ye[La];if(sr[1].type==="lineEnding"||sr[1].type==="lineEndingBlank"){if(sr[0]==="exit")continue;Fn&&(ye[Fn][1].type="lineEndingBlank",Yn=!0),sr[1].type="lineEnding",Fn=La}else if(!(sr[1].type==="linePrefix"||sr[1].type==="blockQuotePrefix"||sr[1].type==="blockQuotePrefixWhitespace"||sr[1].type==="blockQuoteMarker"||sr[1].type==="listItemIndent"))break}cn&&(!Fn||cn<Fn)&&(Qn._spread=!0),Qn.end=Object.assign({},Fn?ye[Fn][1].start:Ct[1].end),ye.splice(Fn||ot,0,["exit",Qn,Ct[2]]),ot++,Ze++}if(Ct[1].type==="listItemPrefix"){const La={type:"listItem",_spread:!1,start:Object.assign({},Ct[1].start),end:void 0};Qn=La,ye.splice(ot,0,["enter",La,Ct[2]]),ot++,Ze++,cn=void 0,Hn=!0}}}return ye[De][1]._spread=Yn,Ze}function i(ye,De){return Ze;function Ze(ot){c.call(this,ye(ot),ot),De&&De.call(this,ot)}}function o(){this.stack.push({type:"fragment",children:[]})}function c(ye,De,Ze){this.stack[this.stack.length-1].children.push(ye),this.stack.push(ye),this.tokenStack.push([De,Ze||void 0]),ye.position={start:Ci(De.start),end:void 0}}function u(ye){return De;function De(Ze){ye&&ye.call(this,Ze),h.call(this,Ze)}}function h(ye,De){const Ze=this.stack.pop(),ot=this.tokenStack.pop();if(ot)ot[0].type!==ye.type&&(De?De.call(this,ye,ot[0]):(ot[1]||Y6).call(this,ye,ot[0]));else throw new Error("Cannot close `"+ye.type+"` ("+Qu({start:ye.start,end:ye.end})+"): itâs not open");Ze.position.end=Ci(ye.end)}function g(){return ib(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function b(ye){if(this.data.expectingFirstListItemValue){const De=this.stack[this.stack.length-2];De.start=Number.parseInt(this.sliceSerialize(ye),10),this.data.expectingFirstListItemValue=void 0}}function y(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.lang=ye}function w(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.meta=ye}function T(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.value=ye.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function N(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.value=ye.replace(/(\r?\n|\r)$/g,"")}function R(ye){const De=this.resume(),Ze=this.stack[this.stack.length-1];Ze.label=De,Ze.identifier=Ca(this.sliceSerialize(ye)).toLowerCase()}function z(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.title=ye}function W(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.url=ye}function q(ye){const De=this.stack[this.stack.length-1];if(!De.depth){const Ze=this.sliceSerialize(ye).length;De.depth=Ze}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function M(ye){const De=this.stack[this.stack.length-1];De.depth=this.sliceSerialize(ye).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function Z(ye){const Ze=this.stack[this.stack.length-1].children;let ot=Ze[Ze.length-1];(!ot||ot.type!=="text")&&(ot=zn(),ot.position={start:Ci(ye.start),end:void 0},Ze.push(ot)),this.stack.push(ot)}function I(ye){const De=this.stack.pop();De.value+=this.sliceSerialize(ye),De.position.end=Ci(ye.end)}function se(ye){const De=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ze=De.children[De.children.length-1];Ze.position.end=Ci(ye.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(De.type)&&(Z.call(this,ye),I.call(this,ye))}function ae(){this.data.atHardBreak=!0}function me(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.value=ye}function oe(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.value=ye}function ee(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.value=ye}function L(){const ye=this.stack[this.stack.length-1];if(this.data.inReference){const De=this.data.referenceType||"shortcut";ye.type+="Reference",ye.referenceType=De,delete ye.url,delete ye.title}else delete ye.identifier,delete ye.label;this.data.referenceType=void 0}function J(){const ye=this.stack[this.stack.length-1];if(this.data.inReference){const De=this.data.referenceType||"shortcut";ye.type+="Reference",ye.referenceType=De,delete ye.url,delete ye.title}else delete ye.identifier,delete ye.label;this.data.referenceType=void 0}function te(ye){const De=this.sliceSerialize(ye),Ze=this.stack[this.stack.length-2];Ze.label=yF(De),Ze.identifier=Ca(De).toLowerCase()}function we(){const ye=this.stack[this.stack.length-1],De=this.resume(),Ze=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ze.type==="link"){const ot=ye.children;Ze.children=ot}else Ze.alt=De}function U(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.url=ye}function G(){const ye=this.resume(),De=this.stack[this.stack.length-1];De.title=ye}function ce(){this.data.inReference=void 0}function P(){this.data.referenceType="collapsed"}function pe(ye){const De=this.resume(),Ze=this.stack[this.stack.length-1];Ze.label=De,Ze.identifier=Ca(this.sliceSerialize(ye)).toLowerCase(),this.data.referenceType="full"}function Se(ye){this.data.characterReferenceType=ye.type}function Re(ye){const De=this.sliceSerialize(ye),Ze=this.data.characterReferenceType;let ot;Ze?(ot=t9(De,Ze==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ot=ob(De);const mt=this.stack[this.stack.length-1];mt.value+=ot}function Pe(ye){const De=this.stack.pop();De.position.end=Ci(ye.end)}function Ge(ye){I.call(this,ye);const De=this.stack[this.stack.length-1];De.url=this.sliceSerialize(ye)}function tt(ye){I.call(this,ye);const De=this.stack[this.stack.length-1];De.url="mailto:"+this.sliceSerialize(ye)}function Ot(){return{type:"blockquote",children:[]}}function en(){return{type:"code",lang:null,meta:null,value:""}}function on(){return{type:"inlineCode",value:""}}function Dr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function jn(){return{type:"emphasis",children:[]}}function Ea(){return{type:"heading",depth:0,children:[]}}function Kr(){return{type:"break"}}function fr(){return{type:"html",value:""}}function Zr(){return{type:"image",title:null,url:"",alt:null}}function ln(){return{type:"link",title:null,url:"",children:[]}}function ni(ye){return{type:"list",ordered:ye.type==="listOrdered",start:null,spread:ye._spread,children:[]}}function no(ye){return{type:"listItem",spread:ye._spread,checked:null,children:[]}}function Bn(){return{type:"paragraph",children:[]}}function Ia(){return{type:"strong",children:[]}}function zn(){return{type:"text",value:""}}function Bc(){return{type:"thematicBreak"}}}function Ci(e){return{line:e.line,column:e.column,offset:e.offset}}function h9(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?h9(e,r):SF(e,r)}}function SF(e,t){let n;for(n in t)if(d9.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 Y6(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Qu({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Qu({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Qu({start:t.start,end:t.end})+") is still open")}function TF(e){const t=this;t.parser=n;function n(r){return EF(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function kF(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 _F(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 502`}]}function AF(e,t){const n=t.value?t.value+` 503`:"",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 NF(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function CF(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function OF(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=Nc(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o,c=e.footnoteCounts.get(r);c===void 0?(c=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=i+1,c+=1,e.footnoteCounts.set(r,c);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const h={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,h),e.applyData(t,h)}function RF(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 DF(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function f9(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 MF(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return f9(e,t);const a={src:Nc(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 IF(e,t){const n={src:Nc(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 LF(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 PF(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return f9(e,t);const a={href:Nc(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 jF(e,t){const n={href:Nc(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 BF(e,t,n){const r=e.all(t),a=n?zF(n):m9(t),i={},o=[];if(typeof t.checked=="boolean"){const g=r[0];let p;g&&g.type==="element"&&g.tagName==="p"?p=g:(p={type:"element",tagName:"p",properties:{},children:[]},r.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let c=-1;for(;++c<r.length;){const g=r[c];(a||c!==0||g.type!=="element"||g.tagName!=="p")&&o.push({type:"text",value:` 504`}),g.type==="element"&&g.tagName==="p"&&!a?o.push(...g.children):o.push(g)}const u=r[r.length-1];u&&(a||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:` 505`});const h={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,h),e.applyData(t,h)}function zF(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=m9(n[r])}return t}function m9(e){const t=e.spread;return t??e.children.length>1}function FF(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 HF(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function UF(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function qF(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function VF(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)},c=us(t.children[1]),u=om(t.children[t.children.length-1]);c&&u&&(o.position={start:c,end:u}),a.push(o)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function $F(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,c=o?o.length:t.children.length;let u=-1;const h=[];for(;++u<c;){const p=t.children[u],b={},y=o?o[u]:void 0;y&&(b.align=y);let w={type:"element",tagName:i,properties:b,children:[]};
vendor: 4,282 bytes, line 505
505p&&(w.children=e.all(p),e.patch(p,w),w=e.applyData(p,w)),h.push(w)}const g={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,g),e.applyData(t,g)}function GF(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Q6=9,X6=32;function YF(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const i=[];for(;r;)i.push(W6(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(W6(t.slice(a),a>0,!1)),i.join("")}function W6(e,t,n){let r=0,a=e.length;if(t){let i=e.codePointAt(r);for(;i===Q6||i===X6;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(a-1);for(;i===Q6||i===X6;)a--,i=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function QF(e,t){const n={type:"text",value:YF(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function XF(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const WF={blockquote:kF,break:_F,code:AF,delete:NF,emphasis:CF,footnoteReference:OF,heading:RF,html:DF,imageReference:MF,image:IF,inlineCode:LF,linkReference:PF,link:jF,listItem:BF,list:FF,paragraph:HF,root:UF,strong:qF,table:VF,tableCell:GF,tableRow:$F,text:QF,thematicBreak:XF,toml:wh,yaml:wh,definition:wh,footnoteDefinition:wh};function wh(){}const p9=-1,um=0,Wu=1,ff=2,cb=3,ub=4,db=5,hb=6,g9=7,x9=8,K6=typeof self=="object"?self:globalThis,KF=(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 um:case p9:return n(o,a);case Wu:{const c=n([],a);for(const u of o)c.push(r(u));return c}case ff:{const c=n({},a);for(const[u,h]of o)c[r(u)]=r(h);return c}case cb:return n(new Date(o),a);case ub:{const{source:c,flags:u}=o;return n(new RegExp(c,u),a)}case db:{const c=n(new Map,a);for(const[u,h]of o)c.set(r(u),r(h));return c}case hb:{const c=n(new Set,a);for(const u of o)c.add(r(u));return c}case g9:{const{name:c,message:u}=o;return n(new K6[c](u),a)}case x9: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:c}=new Uint8Array(o);return n(new DataView(c),o)}}return n(new K6[i](o),a)};return r},Z6=e=>KF(new Map,e)(0),Zl="",{toString:ZF}={},{keys:JF}=Object,Lu=e=>{const t=typeof e;if(t!=="object"||!e)return[um,t];const n=ZF.call(e).slice(8,-1);switch(n){case"Array":return[Wu,Zl];case"Object":return[ff,Zl];case"Date":return[cb,Zl];case"RegExp":return[ub,Zl];case"Map":return[db,Zl];case"Set":return[hb,Zl];case"DataView":return[Wu,n]}return n.includes("Array")?[Wu,n]:n.includes("Error")?[g9,n]:[ff,n]},Sh=([e,t])=>e===um&&(t==="function"||t==="symbol"),eH=(e,t,n,r)=>{const a=(o,c)=>{const u=r.push(o)-1;return n.set(c,u),u},i=o=>{if(n.has(o))return n.get(o);let[c,u]=Lu(o);switch(c){case um:{let g=o;switch(u){case"bigint":c=x9,g=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);g=null;break;case"undefined":return a([p9],o)}return a([c,g],o)}case Wu:{if(u){let b=o;return u==="DataView"?b=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(b=new Uint8Array(o)),a([u,[...b]],o)}const g=[],p=a([c,g],o);for(const b of o)g.push(i(b));return p}case ff:{if(u)switch(u){case"BigInt":return a([u,o.toString()],o);case"Boolean":case"Number":case"String":return a([u,o.valueOf()],o)}if(t&&"toJSON"in o)return i(o.toJSON());const g=[],p=a([c,g],o);for(const b of JF(o))(e||!Sh(Lu(o[b])))&&g.push([i(b),i(o[b])]);return p}case cb:return a([c,o.toISOString()],o);case ub:{const{source:g,flags:p}=o;return a([c,{source:g,flags:p}],o)}case db:{const g=[],p=a([c,g],o);for(const[b,y]of o)(e||!(Sh(Lu(b))||Sh(Lu(y))))&&g.push([i(b),i(y)]);return p}case hb:{const g=[],p=a([c,g],o);for(const b of o)(e||!Sh(Lu(b)))&&g.push(i(b));return p}}const{message:h}=o;return a([c,{name:u,message:h}],o)};return i},J6=(e,{json:t,lossy:n}={})=>{const r=[];return eH(!(t||n),!!t,new Map,r)(e),r},bc=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Z6(J6(e,t)):structuredClone(e):(e,t)=>Z6(J6(e,t));function tH(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 nH(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}
vendor: 7,109 bytes, lines 505-511
505function rH(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tH,r=e.options.footnoteBackLabel||nH,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let u=-1;for(;++u<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[u]);if(!h)continue;const g=e.all(h),p=String(h.identifier).toUpperCase(),b=Nc(p.toLowerCase());let y=0;const w=[],T=e.footnoteCounts.get(p);for(;T!==void 0&&++y<=T;){w.length>0&&w.push({type:"text",value:" "});let R=typeof n=="string"?n:n(u,y);typeof R=="string"&&(R={type:"text",value:R}),w.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+b+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,y),className:["data-footnote-backref"]},children:Array.isArray(R)?R:[R]})}const A=g[g.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const R=A.children[A.children.length-1];R&&R.type==="text"?R.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...w)}else g.push(...w);const N={type:"element",tagName:"li",properties:{id:t+"fn-"+b},children:e.wrap(g,!0)};e.patch(h,N),c.push(N)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...bc(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:` 506`},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:` 507`}]}}const U0=(function(e){if(e==null)return oH;if(typeof e=="function")return dm(e);if(typeof e=="object")return Array.isArray(e)?aH(e):sH(e);if(typeof e=="string")return iH(e);throw new Error("Expected function, string, or object as test")});function aH(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=U0(e[n]);return dm(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function sH(e){const t=e;return dm(n);function n(r){const a=r;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function iH(e){return dm(t);function t(n){return n&&n.type===e}}function dm(e){return t;function t(n,r,a){return!!(lH(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function oH(){return!0}function lH(e){return e!==null&&typeof e=="object"&&"type"in e}const b9=[],Hu=!0,z2=!1,mf="skip";function fb(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const i=U0(a),o=r?-1:1;c(e,void 0,[])();function c(u,h,g){const p=u&&typeof u=="object"?u:{};if(typeof p.type=="string"){const y=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(u.type+(y?"<"+y+">":""))+")"})}return b;function b(){let y=b9,w,T,A;if((!t||i(u,h,g[g.length-1]||void 0))&&(y=cH(n(u,g)),y[0]===z2))return y;if("children"in u&&u.children){const N=u;if(N.children&&y[0]!==mf)for(T=(r?N.children.length:-1)+o,A=g.concat(N);T>-1&&T<N.children.length;){const R=N.children[T];if(w=c(R,T,A)(),w[0]===z2)return w;T=typeof w[1]=="number"?w[1]:T+o}}return y}}}function cH(e){return Array.isArray(e)?e:typeof e=="number"?[Hu,e]:e==null?b9:[e]}function Go(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),fb(e,i,c,a);function c(u,h){const g=h[h.length-1],p=g?g.children.indexOf(u):void 0;return o(u,p,g)}}const F2={}.hasOwnProperty,uH={};function dH(e,t){const n=t||uH,r=new Map,a=new Map,i=new Map,o={...WF,...n.handlers},c={all:h,applyData:fH,definitionById:r,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:o,one:u,options:n,patch:hH,wrap:pH};return Go(e,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const p=g.type==="definition"?r:a,b=String(g.identifier).toUpperCase();p.has(b)||p.set(b,g)}}),c;function u(g,p){const b=g.type,y=c.handlers[b];if(F2.call(c.handlers,b)&&y)return y(c,g,p);if(c.options.passThrough&&c.options.passThrough.includes(b)){if("children"in g){const{children:T,...A}=g,N=bc(A);return N.children=c.all(g),N}return bc(g)}return(c.options.unknownHandler||mH)(c,g,p)}function h(g){const p=[];if("children"in g){const b=g.children;let y=-1;for(;++y<b.length;){const w=c.one(b[y],g);if(w){if(y&&b[y-1].type==="break"&&(!Array.isArray(w)&&w.type==="text"&&(w.value=e8(w.value)),!Array.isArray(w)&&w.type==="element")){const T=w.children[0];T&&T.type==="text"&&(T.value=e8(T.value))}Array.isArray(w)?p.push(...w):p.push(w)}}}return p}}function hH(e,t){e.position&&(t.position=nB(e))}function fH(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,bc(i)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function mH(e,t){const n=t.data||{},r="value"in t&&!(F2.call(n,"hProperties")||F2.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 pH(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 508`});++r<e.length;)r&&n.push({type:"text",value:` 509`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 510`}),n}function e8(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function t8(e,t){const n=dH(e,t),r=n.one(e,void 0),a=rH(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&i.children.push({type:"text",value:` 511`},a),i}function gH(e,t){return e&&"run"in e?async function(n,r){const a=t8(n,{file:r,...t});await e.run(a,r)}:function(n,r){return t8(n,{file:r,...e||t})}}function n8(e){if(e)throw e}var fg,r8;function xH(){if(r8)return fg;r8=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"),p=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!g&&!p)return!1;var b;for(b in h);return typeof b>"u"||e.call(h,b)},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},c=function(h,g){if(g==="__proto__")if(e.call(h,g)){if(r)return r(h,g).value}else return;return h[g]};return fg=function u(){var h,g,p,b,y,w,T=arguments[0],A=1,N=arguments.length,R=!1;for(typeof T=="boolean"&&(R=T,T=arguments[1]||{},A=2),(T==null||typeof T!="object"&&typeof T!="function")&&(T={});A<N;++A)if(h=arguments[A],h!=null)for(g in h)p=c(T,g),b=c(h,g),T!==b&&(R&&b&&(i(b)||(y=a(b)))?(y?(y=!1,w=p&&a(p)?p:[]):w=p&&i(p)?p:{},o(T,{name:g,newValue:u(R,w,b)})):typeof b<"u"&&o(T,{name:g,newValue:b}));return T},fg}var bH=xH();const mg=Uf(bH);function H2(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);
vendor: 4,451 bytes, line 511
511return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function yH(){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);c(null,...a);function c(u,...h){const g=e[++i];let p=-1;if(u){o(u);return}for(;++p<a.length;)(h[p]===null||h[p]===void 0)&&(h[p]=a[p]);a=h,g?vH(g,c)(...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 vH(e,t){let n;return r;function r(...o){const c=e.length>o.length;let u;c&&o.push(a);try{u=e.apply(this,o)}catch(h){const g=h;if(c&&n)throw g;return a(g)}c||(u&&u.then&&typeof u.then=="function"?u.then(i,a):u instanceof Error?a(u):i(u))}function a(o,...c){n||(n=!0,t(o,...c))}function i(o){a(null,o)}}const Ya={basename:EH,dirname:wH,extname:SH,join:TH,sep:"/"};function EH(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');q0(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,c=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else o<0&&(i=!0,o=a+1),c>-1&&(e.codePointAt(a)===t.codePointAt(c--)?c<0&&(r=a):(c=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function wH(e){if(q0(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 SH(e){q0(e);let t=e.length,n=-1,r=0,a=-1,i=0,o;for(;t--;){const c=e.codePointAt(t);if(c===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),c===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 TH(...e){let t=-1,n;for(;++t<e.length;)q0(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":kH(n)}function kH(e){q0(e);const t=e.codePointAt(0)===47;let n=_H(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function _H(e,t){let n="",r=0,a=-1,i=0,o=-1,c,u;for(;++o<=e.length;){if(o<e.length)c=e.codePointAt(o);else{if(c===47)break;c=47}if(c===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(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),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 c===46&&i>-1?i++:i=-1}return n}function q0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const AH={cwd:NH};function NH(){return"/"}function U2(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function CH(e){if(typeof e=="string")e=new URL(e);else if(!U2(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 OH(e)}function OH(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 pg=["history","path","basename","stem","extname","dirname"];class y9{constructor(t){let n;t?U2(t)?n={path:t}:typeof t=="string"||RH(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":AH.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<pg.length;){const i=pg[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)pg.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?Ya.basename(this.path):void 0}
vendor: 9,199 bytes, line 511
511set basename(t){xg(t,"basename"),gg(t,"basename"),this.path=Ya.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ya.dirname(this.path):void 0}set dirname(t){a8(this.basename,"dirname"),this.path=Ya.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ya.extname(this.path):void 0}set extname(t){if(gg(t,"extname"),a8(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=Ya.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){U2(t)&&(t=CH(t)),xg(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ya.basename(this.path,this.extname):void 0}set stem(t){xg(t,"stem"),gg(t,"stem"),this.path=Ya.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 rr(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 gg(e,t){if(e&&e.includes(Ya.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ya.sep+"`")}function xg(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function a8(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function RH(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const DH=(function(e){const r=this.constructor.prototype,a=r[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,r),i}),MH={}.hasOwnProperty;class mb extends DH{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=yH()}copy(){const t=new mb;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(mg(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(vg("data",this.frozen),this.namespace[t]=n,this):MH.call(this.namespace,t)&&this.namespace[t]||void 0:t?(vg("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=Th(t),r=this.parser||this.Parser;return bg("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),bg("process",this.parser||this.Parser),yg("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(i,o){const c=Th(t),u=r.parse(c);r.run(u,c,function(g,p,b){if(g||!p||!b)return h(g);const y=p,w=r.stringify(y,b);PH(w)?b.value=w:b.result=w,h(g,b)});function h(g,p){g||!p?o(g):i?i(p):n(void 0,p)}}}processSync(t){let n=!1,r;return this.freeze(),bg("processSync",this.parser||this.Parser),yg("processSync",this.compiler||this.Compiler),this.process(t,a),i8("processSync","process",n),r;function a(i,o){n=!0,n8(i),r=o}}run(t,n,r){s8(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,c){const u=Th(n);a.run(t,u,h);function h(g,p,b){const y=p||t;g?c(g):o?o(y):r(void 0,y,b)}}}runSync(t,n){let r=!1,a;return this.run(t,n,i),i8("runSync","run",r),a;function i(o,c){n8(o),a=c,r=!0}}stringify(t,n){this.freeze();const r=Th(n),a=this.compiler||this.Compiler;return yg("stringify",a),s8(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(vg("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?c(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(h){if(typeof h=="function")u(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[g,...p]=h;u(g,p)}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");c(h.plugins),h.settings&&(a.settings=mg(!0,a.settings,h.settings))}function c(h){let g=-1;if(h!=null)if(Array.isArray(h))for(;++g<h.length;){const p=h[g];i(p)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function u(h,g){let p=-1,b=-1;for(;++p<r.length;)if(r[p][0]===h){b=p;break}if(b===-1)r.push([h,...g]);else if(g.length>0){let[y,...w]=g;const T=r[b][1];H2(T)&&H2(y)&&(y=mg(!0,T,y)),r[b]=[h,y,...w]}}}}const IH=new mb().freeze();function bg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function yg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function vg(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 s8(e){if(!H2(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function i8(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Th(e){return LH(e)?e:new y9(e)}function LH(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function PH(e){return typeof e=="string"||jH(e)}function jH(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const BH="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",o8=[],l8={allowDangerousHtml:!0},zH=/^(https?|ircs?|mailto|xmpp)$/i,FH=[{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 HH(e){const t=UH(e),n=qH(e);return VH(t.runSync(t.parse(n),n),e)}function UH(e){const t=e.rehypePlugins||o8,n=e.remarkPlugins||o8,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...l8}:l8;return IH().use(TF).use(n).use(gH,r).use(t)}function qH(e){const t=e.children||"",n=new y9;return typeof t=="string"&&(n.value=t),n}function VH(e,t){const n=t.allowedElements,r=t.allowElement,a=t.components,i=t.disallowedElements,o=t.skipHtml,c=t.unwrapDisallowed,u=t.urlTransform||$H;for(const g of FH)Object.hasOwn(t,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+BH+g.id,void 0);return Go(e,h),oB(e,{Fragment:f.Fragment,components:a,ignoreInvalidStyle:!0,jsx:f.jsx,jsxs:f.jsxs,passKeys:!0,passNode:!0});function h(g,p,b){if(g.type==="raw"&&b&&typeof p=="number")return o?b.children.splice(p,1):b.children[p]={type:"text",value:g.value},p;if(g.type==="element"){let y;for(y in ug)if(Object.hasOwn(ug,y)&&Object.hasOwn(g.properties,y)){const w=g.properties[y],T=ug[y];(T===null||T.includes(g.tagName))&&(g.properties[y]=u(String(w||""),y,g))}}if(g.type==="element"){let y=n?!n.includes(g.tagName):i?i.includes(g.tagName):!1;if(!y&&r&&typeof p=="number"&&(y=!r(g,p,b)),y&&b&&typeof p=="number")return c&&g.children?b.children.splice(p,1,...g.children):b.children.splice(p,1),p}}}function $H(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||zH.test(e.slice(0,t))?e:""}const c8=/[#.]/g;function GH(e,t){const n=e||"",r={};let a=0,i,o;for(;a<n.length;){c8.lastIndex=a;const c=c8.exec(n),u=n.slice(a,c?c.index:n.length);u&&(i?i==="#"?r.id=u:Array.isArray(r.className)?r.className.push(u):r.className=[u]:o=u,a+=u.length),c&&(i=c[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function v9(e,t,n){const r=n?WH(n):void 0;function a(i,o,...c){let u;if(i==null){u={type:"root",children:[]};const h=o;c.unshift(h)}else{u=GH(i,t);const h=u.tagName.toLowerCase(),g=r?r.get(h):void 0;if(u.tagName=g||h,YH(o))c.unshift(o);else for(const[p,b]of Object.entries(o))QH(e,u.properties,p,b)}
vendor: 12,159 bytes, lines 511-513
511for(const h of c)q2(u.children,h);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return a}function YH(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const 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 QH(e,t,n,r){const a=im(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=O6(r):a.commaSeparated?i=k6(r):a.commaOrSpaceSeparated?i=O6(k6(r).join(" ")):i=u8(a,a.property,r):Array.isArray(r)?i=[...r]:i=a.property==="style"?XH(r):String(r);if(Array.isArray(i)){const o=[];for(const c of i)o.push(u8(a,a.property,c));i=o}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function q2(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)q2(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?q2(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function u8(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||b0(n)===b0(t)))return!0}return n}function XH(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function WH(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const KH=["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"],E9=v9(F0,"div"),w9=v9(Ji,"g",KH),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 ZH(e,t){return S9(e,{})||{type:"root",children:[]}}function S9(e,t){const n=JH(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function JH(e,t){switch(e.nodeType){case 1:return rU(e,t);case 3:return tU(e);case 8:return nU(e);case 9:return d8(e,t);case 10:return eU();case 11:return d8(e,t);default:return}}function d8(e,t){return{type:"root",children:T9(e,t)}}function eU(){return{type:"doctype"}}function tU(e){return{type:"text",value:e.nodeValue||""}}function nU(e){return{type:"comment",value:e.nodeValue||""}}function rU(e,t){const n=e.namespaceURI,r=n===es.svg?w9:E9,a=n===es.html?e.tagName.toLowerCase():e.tagName,i=n===es.html&&a==="template"?e.content:e,o=e.getAttributeNames(),c={};let u=-1;for(;++u<o.length;)c[o[u]]=e.getAttribute(o[u])||"";return r(a,c,T9(i,t))}function T9(e,t){const n=e.childNodes,r=[];let a=-1;for(;++a<n.length;){const i=S9(n[a],t);i!==void 0&&r.push(i)}return r}new DOMParser;function aU(e,t){const n=sU(e);return ZH(n)}function sU(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const h8=(function(e,t,n){const r=U0(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]}),rl=(function(e){if(e==null)return lU;if(typeof e=="string")return oU(e);if(typeof e=="object")return iU(e);if(typeof e=="function")return pb(e);throw new Error("Expected function, string, or array as `test`")});function iU(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=rl(e[n]);return pb(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function oU(e){return pb(t);function t(n){return n.tagName===e}}function pb(e){return t;function t(n,r,a){return!!(cU(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function lU(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function cU(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const f8=/\n/g,m8=/[\t ]+/g,V2=rl("br"),p8=rl(xU),uU=rl("p"),g8=rl("tr"),dU=rl(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",gU,bU]),k9=rl(["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 hU(e,t){const n=t||{},r="children"in e?e.children:[],a=k9(e),i=N9(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...A9(e,{breakBefore:!0,breakAfter:!0}));let c=-1;for(;++c<r.length;)o.push(..._9(r[c],e,{whitespace:i,breakBefore:c?void 0:a,breakAfter:c<r.length-1?V2(r[c+1]):a}));const u=[];let h;for(c=-1;++c<o.length;){const g=o[c];typeof g=="number"?h!==void 0&&g>h&&(h=g):g&&(h!==void 0&&h>-1&&u.push(` 512`.repeat(h)||" "),h=-1,u.push(g))}return u.join("")}function _9(e,t,n){return e.type==="element"?fU(e,t,n):e.type==="text"?n.whitespace==="normal"?A9(e,n):mU(e):[]}function fU(e,t,n){const r=N9(e,n),a=e.children||[];let i=-1,o=[];if(dU(e))return o;let c,u;for(V2(e)||g8(e)&&h8(t,e,g8)?u=` 513`:uU(e)?(c=2,u=2):k9(e)&&(c=1,u=1);++i<a.length;)o=o.concat(_9(a[i],e,{whitespace:r,breakBefore:i?void 0:c,breakAfter:i<a.length-1?V2(a[i+1]):u}));return p8(e)&&h8(t,e,p8)&&o.push(" "),c&&o.unshift(c),u&&o.push(u),o}function A9(e,t){const n=String(e.value),r=[],a=[];let i=0;for(;i<=n.length;){f8.lastIndex=i;const u=f8.exec(n),h=u&&"index"in u?u.index:n.length;r.push(pU(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,c;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]),c=void 0):r[o]?(typeof c=="number"&&a.push(c),a.push(r[o]),c=0):(o===0||o===r.length-1)&&a.push(0);return a}function mU(e){return[String(e.value)]}function pU(e,t,n){const r=[];let a=0,i;for(;a<e.length;){m8.lastIndex=a;const o=m8.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 N9(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 gU(e){return!!(e.properties||{}).hidden}function xU(e){return e.tagName==="td"||e.tagName==="th"}function bU(e){return e.tagName==="dialog"&&!(e.properties||{}).open}class Nr{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 Nr(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class Xr{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 Xr(n,Nr.range(this,t))}}class Ne{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+t,a,i,o=n&&n.loc;if(o&&o.start<=o.end){var c=o.lexer.input;a=o.start,i=o.end,a===c.length?r+=" at end of input: ":r+=" at position "+(a+1)+": ";var u=c.slice(a,i).replace(/[^]/g,"$&̲"),h;a>15?h="â¦"+c.slice(a-15,a):h=c.slice(0,a);var g;i+15<c.length?g=c.slice(i,i+15)+"â¦":g=c.slice(i),r+=h+u+g}var p=new Error(r);return p.name="ParseError",p.__proto__=Ne.prototype,p.position=a,a!=null&&i!=null&&(p.length=i-a),p.rawMessage=t,p}}Ne.prototype.__proto__=Error.prototype;var yU=function(t,n){return t===void 0?n:t},vU=/([A-Z])/g,EU=function(t){return t.replace(vU,"-$1").toLowerCase()},wU={"&":"&",">":">","<":"<",'"':""","'":"'"},SU=/[&><"']/g;function TU(e){return String(e).replace(SU,t=>wU[t])}var C9=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},kU=function(t){var n=C9(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},_U=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},AU=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},_t={deflt:yU,escape:TU,hyphenate:EU,getBaseElem:C9,isCharacterBox:kU,protocolFromUrl:AU},Ku={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 NU(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;
vendor: 4,895 bytes, lines 513-545
513if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class gb{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 Ku)if(Ku.hasOwnProperty(n)){var r=Ku[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:NU(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 Ne("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var a=this.strict;if(typeof a=="function")try{a=a(t,n,r)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=_t.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class Oi{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[CU[this.id]]}sub(){return Xa[OU[this.id]]}fracNum(){return Xa[RU[this.id]]}fracDen(){return Xa[DU[this.id]]}cramp(){return Xa[MU[this.id]]}text(){return Xa[IU[this.id]]}isTight(){return this.size>=2}}var xb=0,pf=1,uc=2,qs=3,v0=4,pa=5,yc=6,ur=7,Xa=[new Oi(xb,0,!1),new Oi(pf,0,!0),new Oi(uc,1,!1),new Oi(qs,1,!0),new Oi(v0,2,!1),new Oi(pa,2,!0),new Oi(yc,3,!1),new Oi(ur,3,!0)],CU=[v0,pa,v0,pa,yc,ur,yc,ur],OU=[pa,pa,pa,pa,ur,ur,ur,ur],RU=[uc,qs,v0,pa,yc,ur,yc,ur],DU=[qs,qs,pa,pa,ur,ur,ur,ur],MU=[pf,pf,qs,qs,pa,pa,ur,ur],IU=[xb,pf,uc,qs,uc,qs,uc,qs],Ke={DISPLAY:Xa[xb],TEXT:Xa[uc],SCRIPT:Xa[v0],SCRIPTSCRIPT:Xa[yc]},$2=[{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 LU(e){for(var t=0;t<$2.length;t++)for(var n=$2[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 Wh=[];$2.forEach(e=>e.blocks.forEach(t=>Wh.push(...t)));function O9(e){for(var t=0;t<Wh.length;t+=2)if(e>=Wh[t]&&e<=Wh[t+1])return!0;return!1}var Jl=80,PU=function(t,n){return"M95,"+(622+t+n)+` 514c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 515c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 516c44.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 517s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 518c69,-144,104.5,-217.7,106.5,-221 519l`+t/2.075+" -"+t+` 520c5.3,-9.3,12,-14,20,-14 521H400000v`+(40+t)+`H845.2724 522s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 523c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z 524M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},jU=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119 525c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 526c340,-704.7,510.7,-1060.3,512,-1067 527l`+t/2.084+" -"+t+` 528c4.7,-7.3,11,-11,19,-11 529H40000v`+(40+t)+`H1012.3 530s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 531c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 532s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 533c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z 534M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},BU=function(t,n){return"M983 "+(10+t+n)+` 535l`+t/3.13+" -"+t+` 536c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` 537H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 538s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 539c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 540c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 541c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 542c53.7,-170.3,84.5,-266.8,92.5,-289.5z 543M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},zU=function(t,n){return"M424,"+(2398+t+n)+` 544c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 545c0,-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
546s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 547s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 548l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000 549v`+(40+t)+`H1014.6 550s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 551c-2,6,-10,9,-24,9 552c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+` 553h400000v`+(40+t)+"h-400000z"},FU=function(t,n){return"M473,"+(2713+t+n)+` 554c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` 555c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7 556s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 557c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 558c0,-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 559s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 560606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},HU=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},UU=function(t,n,r){var a=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+` 561H742v`+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 562h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 563c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 564219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},qU=function(t,n,r){n=1e3*n;var a="";switch(t){case"sqrtMain":a=PU(n,Jl);break;case"sqrtSize1":a=jU(n,Jl);break;case"sqrtSize2":a=BU(n,Jl);break;case"sqrtSize3":a=zU(n,Jl);break;case"sqrtSize4":a=FU(n,Jl);break;case"sqrtTall":a=UU(n,Jl,r)}return a},VU=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""}},x8
vendor: 15,381 bytes, lines 564-739
564={doubleleftarrow:`M262 157 565l10-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 566 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 567 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 568c2 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 569 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 570-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 571-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z 572m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l 573-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 574 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 575-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 576-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 577-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 578c-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 579-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 580 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 581-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 582c-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 583 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 584 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 585 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 586-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 587 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 588 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 589 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 590-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 591H435C64 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 592 435 0h399565z`,leftgroupunder:`M400000 262 593H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 594 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 595-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 596-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 597-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 598 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 599-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 600-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z 601m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 602 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 603 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 604-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 605 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 606-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 607v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 608-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 609-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 610 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z 611M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z 612M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 613-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 614c28.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 615 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z 616M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 617c-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 618-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 619 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 620 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 621c100.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 622 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 623 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 624-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 625-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z 626m368.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 62760.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 628-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z 629m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 630c0 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 631-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z 632m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 63385.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 634-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z 635m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 636c0 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 637-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 638 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 639 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 640-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 641-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 642 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l 643-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 644s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 645c124.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 646 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 647-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 648 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 649 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 650-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 651-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 652 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 653-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 654 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 655m0 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 656 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 657-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 658-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 659 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 660 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 661-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z 662m0-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 663 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 664-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 665 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 666M399960 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 667 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 668-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 669-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 670 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 671-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 672-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 673-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 674 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 675c-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 676 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 677 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 678-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 679 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 680-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 681 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 682 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 683-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 684-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 685 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 686c1 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 687 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 688-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 689 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 690 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 691 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 692-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 693 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 694 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 695 -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 6963.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 69710.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 698-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 699-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 700H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 701c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 702c-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 703-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 704-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 705-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, 706-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, 707-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, 708-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, 709-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 710c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 711c-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 712s-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 713121.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 714s2.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 715c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z 716M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 717-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 71813.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 719-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 720-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 721-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 722151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 723c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 724c2,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 725c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 726c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z 727M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 728c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 729-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 730c-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 731M0 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 732c1.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, 7331c0,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, 734-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z 735M93 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 736c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 737-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 738c-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 739M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 3,200 bytes, lines 739-767
739$U=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 740H403z 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 741M347 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 742c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 743c-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 744c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 745c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z 746M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15 747c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 748c-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 749MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z 750MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z 751M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z 752M347 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 753c-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, 754-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 755949.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 756c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, 757-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 758l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, 759-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, 76063,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 761c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+` 762c-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 763c-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 764c0,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 765c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 766l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, 767-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 V0{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 767
767={"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 767
767kh={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]},b8={Ã
:"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 R9(e,t){ts[e]=t}function bb(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 b8&&(r=b8[e[0]].charCodeAt(0),a=ts[t][r]),!a&&n==="text"&&O9(r)&&(a=ts[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var Eg={};function GU(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Eg[t]){var n=Eg[t]={cssEmPerMu:kh.quad[t]/18};for(var r in kh)kh.hasOwnProperty(r)&&(n[r]=kh[r][t])}return Eg[t]}var YU=[[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]],y8=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],v8=function(t,n){return n.size<2?t:YU[t-1][n.size-1]};class zs{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||zs.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=y8[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,427 bytes, line 767
767antom: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 zs(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:v8(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:y8[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=v8(zs.BASESIZE,t);return this.size===n&&this.textSize===zs.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!==zs.BASESIZE?["sizing","reset-size"+this.size,"size"+zs.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=GU(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}zs.BASESIZE=6;var G2={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},QU={ex:!0,em:!0,mu:!0},D9=function(t){return typeof t!="string"&&(t=t.unit),t in G2||t in QU||t==="ex"},Zt=function(t,n){var r;if(t.unit in G2)r=G2[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 Ne("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"},Qi=function(t){return t.filter(n=>n).join(" ")},M9=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)}},I9=function(t){var n=document.createElement(t);n.className=Qi(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},XU=/[\s"'>/=\x00-\x1f]/,L9=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+_t.escape(Qi(this.classes))+'"');var r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=_t.hyphenate(a)+":"+this.style[a]+";");r&&(n+=' style="'+_t.escape(r)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(XU.test(i))throw new Ne("Invalid attribute name '"+i+"'");n+=" "+i+'="'+_t.escape(this.attributes[i])+'"'}n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+="</"+t+">",n};class $0{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,M9.call(this,t,r,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return I9.call(this,"span")}toMarkup(){return L9.call(this,"span")}}class yb{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,M9.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 I9.call(this,"a")}toMarkup(){return L9.call(this,"a")}}class WU{constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t='<img src="'+_t.escape(this.src)+'"'+(' alt="'+_t.escape(this.alt)+'"'),n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=_t.hyphenate(r)+":"+this.style[r]+";");return n&&(t+=' style="'+_t.escape(n)+'"'),t+="'/>",t}}var KU={î:"ıÌ",ï:"ıÌ",Ã:"ıÌ",ì:"ıÌ"};class ba{constructor(t,n,r,a,i,o,c,u){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=c||[],this.style=u||{},this.maxFontSize=0;var h=LU(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïÃì]/.test(this.text)&&(this.text=KU[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=Qi(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=_t.escape(Qi(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=_t.hyphenate(a)+":"+this.style[a]+";");r&&(t=!0,n+=' style="'+_t.escape(r)+'"');var i=_t.escape(this.text);return t?(n+=">",n+=i,n+="</span>",n):i}}class Xs{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+_t.escape(this.attributes[n])+'"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class Xi{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",x8[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+_t.escape(this.alternate)+'"/>':'<path d="'+_t.escape(x8[this.pathName])+'"/>'}}class Y2{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+_t.escape(this.attributes[n])+'"');return t+="/>",t}}function E8(e){if(e instanceof ba)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function ZU(e){if(e instanceof $0)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var JU={bin:1,close:1,inner:1,open:1,punct:1,rel:1},eq={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},qt={math:{},text:{}};function S(e,t,n,r,a,i){qt[e][a]={font:t,group:n,replace:r},i&&r&&(qt[e][r]=qt[e][a])}var k="math",Te="text",D="main",Y="ams",Xt="accent-token",Fe="bin",hr="close",Cc="inner",We="mathord",Sn="op-token",Wr="open",hm="punct",Q="rel",ei="spacing",re="textord";S(k,D,Q,"â¡","\\equiv",!0);
767S(k,D,Q,"âº","\\prec",!0);S(k,D,Q,"â»","\\succ",!0);S(k,D,Q,"â¼","\\sim",!0);S(k,D,Q,"â¥","\\perp");S(k,D,Q,"⪯","\\preceq",!0);S(k,D,Q,"⪰","\\succeq",!0);S(k,D,Q,"â","\\simeq",!0);S(k,D,Q,"â£","\\mid",!0);S(k,D,Q,"âª","\\ll",!0);S(k,D,Q,"â«","\\gg",!0);S(k,D,Q,"â","\\asymp",!0);S(k,D,Q,"â¥","\\parallel");S(k,D,Q,"â","\\bowtie",!0);S(k,D,Q,"â£","\\smile",!0);S(k,D,Q,"â","\\sqsubseteq",!0);S(k,D,Q,"â","\\sqsupseteq",!0);S(k,D,Q,"â","\\doteq",!0);S(k,D,Q,"â¢","\\frown",!0);S(k,D,Q,"â","\\ni",!0);S(k,D,Q,"â","\\propto",!0);S(k,D,Q,"â¢","\\vdash",!0);S(k,D,Q,"â£","\\dashv",!0);S(k,D,Q,"â","\\owns");S(k,D,hm,".","\\ldotp");S(k,D,hm,"â
","\\cdotp");S(k,D,re,"#","\\#");S(Te,D,re,"#","\\#");S(k,D,re,"&","\\&");S(Te,D,re,"&","\\&");S(k,D,re,"âµ","\\aleph",!0);S(k,D,re,"â","\\forall",!0);S(k,D,re,"â","\\hbar",!0);S(k,D,re,"â","\\exists",!0);S(k,D,re,"â","\\nabla",!0);S(k,D,re,"â","\\flat",!0);S(k,D,re,"â","\\ell",!0);S(k,D,re,"â®","\\natural",!0);S(k,D,re,"â£","\\clubsuit",!0);S(k,D,re,"â","\\wp",!0);S(k,D,re,"â¯","\\sharp",!0);S(k,D,re,"â¢","\\diamondsuit",!0);S(k,D,re,"â","\\Re",!0);S(k,D,re,"â¡","\\heartsuit",!0);S(k,D,re,"â","\\Im",!0);S(k,D,re,"â ","\\spadesuit",!0);S(k,D,re,"§","\\S",!0);S(Te,D,re,"§","\\S");S(k,D,re,"¶","\\P",!0);S(Te,D,re,"¶","\\P");S(k,D,re,"â ","\\dag");S(Te,D,re,"â ","\\dag");S(Te,D,re,"â ","\\textdagger");S(k,D,re,"â¡","\\ddag");S(Te,D,re,"â¡","\\ddag");S(Te,D,re,"â¡","\\textdaggerdbl");S(k,D,hr,"â±","\\rmoustache",!0);S(k,D,Wr,"â°","\\lmoustache",!0);S(k,D,hr,"â¯","\\rgroup",!0);S(k,D,Wr,"â®","\\lgroup",!0);S(k,D,Fe,"â","\\mp",!0);S(k,D,Fe,"â","\\ominus",!0);S(k,D,Fe,"â","\\uplus",!0);S(k,D,Fe,"â","\\sqcap",!0);S(k,D,Fe,"â","\\ast");S(k,D,Fe,"â","\\sqcup",!0);S(k,D,Fe,"â¯","\\bigcirc",!0);S(k,D,Fe,"â","\\bullet",!0);S(k,D,Fe,"â¡","\\ddagger");S(k,D,Fe,"â","\\wr",!0);S(k,D,Fe,"⨿","\\amalg");S(k,D,Fe,"&","\\And");S(k,D,Q,"âµ","\\longleftarrow",!0);S(k,D,Q,"â","\\Leftarrow",!0);S(k,D,Q,"â¸","\\Longleftarrow",!0);S(k,D,Q,"â¶","\\longrightarrow",!0);S(k,D,Q,"â","\\Rightarrow",!0);S(k,D,Q,"â¹","\\Longrightarrow",!0);S(k,D,Q,"â","\\leftrightarrow",!0);S(k,D,Q,"â·","\\longleftrightarrow",!0);S(k,D,Q,"â","\\Leftrightarrow",!0);S(k,D,Q,"âº","\\Longleftrightarrow",!0);S(k,D,Q,"â¦","\\mapsto",!0);S(k,D,Q,"â¼","\\longmapsto",!0);S(k,D,Q,"â","\\nearrow",!0);S(k,D,Q,"â©","\\hookleftarrow",!0);S(k,D,Q,"âª","\\hookrightarrow",!0);S(k,D,Q,"â","\\searrow",!0);S(k,D,Q,"â¼","\\leftharpoonup",!0);S(k,D,Q,"â","\\rightharpoonup",!0);S(k,D,Q,"â","\\swarrow",!0);S(k,D,Q,"â½","\\leftharpoondown",!0);S(k,D,Q,"â","\\rightharpoondown",!0);S(k,D,Q,"â","\\nwarrow",!0);S(k,D,Q,"â","\\rightleftharpoons",!0);S(k,Y,Q,"â®","\\nless",!0);S(k,Y,Q,"î","\\@nleqslant");S(k,Y,Q,"î","\\@nleqq");S(k,Y,Q,"âª","\\lneq",!0);S(k,Y,Q,"â¨","\\lneqq",!0);S(k,Y,Q,"î","\\@lvertneqq");S(k,Y,Q,"â¦","\\lnsim",!0);S(k,Y,Q,"âª","\\lnapprox",!0);S(k,Y,Q,"â","\\nprec",!0);S(k,Y,Q,"â ","\\npreceq",!0);S(k,Y,Q,"â¨","\\precnsim",!0);S(k,Y,Q,"⪹","\\precnapprox",!0);S(k,Y,Q,"â","\\nsim",!0);S(k,Y,Q,"î","\\@nshortmid");S(k,Y,Q,"â¤","\\nmid",!0);S(k,Y,Q,"â¬","\\nvdash",!0);S(k,Y,Q,"â","\\nvDash",!0);S(k,Y,Q,"âª","\\ntriangleleft");S(k,Y,Q,"â¬","\\ntrianglelefteq",!0);S(k,Y,Q,"â","\\subsetneq",!0);S(k,Y,Q,"î","\\@varsubsetneq");S(k,Y,Q,"â«","\\subsetneqq",!0);S(k,Y,Q,"î","\\@varsubsetneqq");S(k,Y,Q,"â¯","\\ngtr",!0);S(k,Y,Q,"î","\\@ngeqslant");S(k,Y,Q,"î","\\@ngeqq");S(k,Y,Q,"âª","\\gneq",!0);S(k,Y,Q,"â©","\\gneqq",!0);S(k,Y,Q,"î","\\@gvertneqq");S(k,Y,Q,"â§","\\gnsim",!0);S(k,Y,Q,"âª","\\gnapprox",!0);S(k,Y,Q,"â","\\nsucc",!0);S(k,Y,Q,"â¡","\\nsucceq",!0);S(k,Y,Q,"â©","\\succnsim",!0);S(k,Y,Q,"⪺","\\succnapprox",!0);S(k,Y,Q,"â","\\ncong",!0);S(k,Y,Q,"î","\\@nshortparallel");S(k,Y,Q,"â¦","\\nparallel",!0);S(k,Y,Q,"â¯","\\nVDash",!0);S(k,Y,Q,"â«","\\ntriangleright");S(k,Y,Q,"â","\\ntrianglerighteq",!0);S(k,Y,Q,"î","\\@nsupseteqq");S(k,Y,Q,"â","\\supsetneq",!0);S(k,Y,Q,"î","\\@varsupsetneq");S(k,Y,Q,"â«","\\supsetneqq",!0);S(k,Y,Q,"î","\\@varsupsetneqq");S(k,Y,Q,"â®","\\nVdash",!0);S(k,Y,Q,"⪵","\\precneqq",!0);S(k,Y,Q,"⪶","\\succneqq",!0);
767S(k,Y,Q,"î","\\@nsubseteqq");S(k,Y,Fe,"â´","\\unlhd");S(k,Y,Fe,"âµ","\\unrhd");S(k,Y,Q,"â","\\nleftarrow",!0);S(k,Y,Q,"â","\\nrightarrow",!0);S(k,Y,Q,"â","\\nLeftarrow",!0);S(k,Y,Q,"â","\\nRightarrow",!0);S(k,Y,Q,"â®","\\nleftrightarrow",!0);S(k,Y,Q,"â","\\nLeftrightarrow",!0);S(k,Y,Q,"â³","\\vartriangle");S(k,Y,re,"â","\\hslash");S(k,Y,re,"â½","\\triangledown");S(k,Y,re,"â","\\lozenge");S(k,Y,re,"â","\\circledS");S(k,Y,re,"®","\\circledR");S(Te,Y,re,"®","\\circledR");S(k,Y,re,"â¡","\\measuredangle",!0);S(k,Y,re,"â","\\nexists");S(k,Y,re,"â§","\\mho");S(k,Y,re,"â²","\\Finv",!0);S(k,Y,re,"â
","\\Game",!0);S(k,Y,re,"âµ","\\backprime");S(k,Y,re,"â²","\\blacktriangle");S(k,Y,re,"â¼","\\blacktriangledown");S(k,Y,re,"â ","\\blacksquare");S(k,Y,re,"â§«","\\blacklozenge");S(k,Y,re,"â
","\\bigstar");S(k,Y,re,"â¢","\\sphericalangle",!0);S(k,Y,re,"â","\\complement",!0);S(k,Y,re,"ð","\\eth",!0);S(Te,D,re,"ð","ð");S(k,Y,re,"â±","\\diagup");S(k,Y,re,"â²","\\diagdown");S(k,Y,re,"â¡","\\square");S(k,Y,re,"â¡","\\Box");S(k,Y,re,"â","\\Diamond");S(k,Y,re,"Â¥","\\yen",!0);S(Te,Y,re,"Â¥","\\yen",!0);S(k,Y,re,"â","\\checkmark",!0);S(Te,Y,re,"â","\\checkmark");S(k,Y,re,"â¶","\\beth",!0);S(k,Y,re,"â¸","\\daleth",!0);S(k,Y,re,"â·","\\gimel",!0);S(k,Y,re,"Ï","\\digamma",!0);S(k,Y,re,"ϰ","\\varkappa");S(k,Y,Wr,"â","\\@ulcorner",!0);
767S(k,Y,hr,"â","\\@urcorner",!0);S(k,Y,Wr,"â","\\@llcorner",!0);S(k,Y,hr,"â","\\@lrcorner",!0);S(k,Y,Q,"â¦","\\leqq",!0);S(k,Y,Q,"⩽","\\leqslant",!0);S(k,Y,Q,"âª","\\eqslantless",!0);S(k,Y,Q,"â²","\\lesssim",!0);S(k,Y,Q,"âª
","\\lessapprox",!0);S(k,Y,Q,"â","\\approxeq",!0);S(k,Y,Fe,"â","\\lessdot");S(k,Y,Q,"â","\\lll",!0);S(k,Y,Q,"â¶","\\lessgtr",!0);S(k,Y,Q,"â","\\lesseqgtr",!0);S(k,Y,Q,"âª","\\lesseqqgtr",!0);S(k,Y,Q,"â","\\doteqdot");S(k,Y,Q,"â","\\risingdotseq",!0);S(k,Y,Q,"â","\\fallingdotseq",!0);S(k,Y,Q,"â½","\\backsim",!0);S(k,Y,Q,"â","\\backsimeq",!0);S(k,Y,Q,"â«
","\\subseteqq",!0);S(k,Y,Q,"â","\\Subset",!0);S(k,Y,Q,"â","\\sqsubset",!0);S(k,Y,Q,"â¼","\\preccurlyeq",!0);S(k,Y,Q,"â","\\curlyeqprec",!0);S(k,Y,Q,"â¾","\\precsim",!0);S(k,Y,Q,"⪷","\\precapprox",!0);S(k,Y,Q,"â²","\\vartriangleleft");S(k,Y,Q,"â´","\\trianglelefteq");S(k,Y,Q,"â¨","\\vDash",!0);S(k,Y,Q,"âª","\\Vvdash",!0);S(k,Y,Q,"â£","\\smallsmile");S(k,Y,Q,"â¢","\\smallfrown");S(k,Y,Q,"â","\\bumpeq",!0);S(k,Y,Q,"â","\\Bumpeq",!0);S(k,Y,Q,"â§","\\geqq",!0);S(k,Y,Q,"⩾","\\geqslant",!0);S(k,Y,Q,"âª","\\eqslantgtr",!0);S(k,Y,Q,"â³","\\gtrsim",!0);S(k,Y,Q,"âª","\\gtrapprox",!0);S(k,Y,Fe,"â","\\gtrdot");S(k,Y,Q,"â","\\ggg",!0);S(k,Y,Q,"â·","\\gtrless",!0);S(k,Y,Q,"â","\\gtreqless",!0);S(k,Y,Q,"âª","\\gtreqqless",!0);S(k,Y,Q,"â","\\eqcirc",!0);S(k,Y,Q,"â","\\circeq",!0);S(k,Y,Q,"â","\\triangleq",!0);S(k,Y,Q,"â¼","\\thicksim");S(k,Y,Q,"â","\\thickapprox");S(k,Y,Q,"â«","\\supseteqq",!0);S(k,Y,Q,"â","\\Supset",!0);S(k,Y,Q,"â","\\sqsupset",!0);S(k,Y,Q,"â½","\\succcurlyeq",!0);S(k,Y,Q,"â","\\curlyeqsucc",!0);S(k,Y,Q,"â¿","\\succsim",!0);S(k,Y,Q,"⪸","\\succapprox",!0);S(k,Y,Q,"â³","\\vartriangleright");S(k,Y,Q,"âµ","\\trianglerighteq");S(k,Y,Q,"â©","\\Vdash",!0);S(k,Y,Q,"â£","\\shortmid");S(k,Y,Q,"â¥","\\shortparallel");S(k,Y,Q,"â¬","\\between",!0);S(k,Y,Q,"â","\\pitchfork",!0);S(k,Y,Q,"â","\\varpropto");S(k,Y,Q,"â","\\blacktriangleleft");S(k,Y,Q,"â´","\\therefore",!0);S(k,Y,Q,"â","\\backepsilon");S(k,Y,Q,"â¶","\\blacktriangleright");S(k,Y,Q,"âµ","\\because",!0);S(k,Y,Q,"â","\\llless");S(k,Y,Q,"â","\\gggtr");S(k,Y,Fe,"â²","\\lhd");S(k,Y,Fe,"â³","\\rhd");S(k,Y,Q,"â","\\eqsim",!0);S(k,D,Q,"â","\\Join");S(k,Y,Q,"â","\\Doteq",!0);S(k,Y,Fe,"â","\\dotplus",!0);S(k,Y,Fe,"â","\\smallsetminus");S(k,Y,Fe,"â","\\Cap",!0);S(k,Y,Fe,"â","\\Cup",!0);S(k,Y,Fe,"â©","\\doublebarwedge",!0);S(k,Y,Fe,"â","\\boxminus",!0);S(k,Y,Fe,"â","\\boxplus",!0);S(k,Y,Fe,"â","\\divideontimes",!0);S(k,Y,Fe,"â","\\ltimes",!0);S(k,Y,Fe,"â","\\rtimes",!0);S(k,Y,Fe,"â","\\leftthreetimes",!0);S(k,Y,Fe,"â","\\rightthreetimes",!0);S(k,Y,Fe,"â","\\curlywedge",!0);S(k,Y,Fe,"â","\\curlyvee",!0);S(k,Y,Fe,"â","\\circleddash",!0);S(k,Y,Fe,"â","\\circledast",!0);S(k,Y,Fe,"â
","\\centerdot");S(k,Y,Fe,"âº","\\intercal",!0);S(k,Y,Fe,"â","\\doublecap");S(k,Y,Fe,"â","\\doublecup");S(k,Y,Fe,"â ","\\boxtimes",!0);S(k,Y,Q,"â¢","\\dashrightarrow",!0);S(k,Y,Q,"â ","\\dashleftarrow",!0);S(k,Y,Q,"â","\\leftleftarrows",!0);S(k,Y,Q,"â","\\leftrightarrows",!0);S(k,Y,Q,"â","\\Lleftarrow",!0);S(k,Y,Q,"â","\\twoheadleftarrow",!0);S(k,Y,Q,"â¢","\\leftarrowtail",!0);S(k,Y,Q,"â«","\\looparrowleft",!0);S(k,Y,Q,"â","\\leftrightharpoons",!0);S(k,Y,Q,"â¶","\\curvearrowleft",!0);S(k,Y,Q,"âº","\\circlearrowleft",!0);S(k,Y,Q,"â°","\\Lsh",!0);S(k,Y,Q,"â","\\upuparrows",!0);S(k,Y,Q,"â¿","\\upharpoonleft",!0);S(k,Y,Q,"â","\\downharpoonleft",!0);S(k,D,Q,"â¶","\\origof",!0);S(k,D,Q,"â·","\\imageof",!0);S(k,Y,Q,"â¸","\\multimap",!0);S(k,Y,Q,"â","\\leftrightsquigarrow",!0);S(k,Y,Q,"â","\\rightrightarrows",!0);S(k,Y,Q,"â","\\rightleftarrows",!0);S(k,Y,Q,"â ","\\twoheadrightarrow",!0);S(k,Y,Q,"â£","\\rightarrowtail",!0);S(k,Y,Q,"â¬","\\looparrowright",!0);S(k,Y,Q,"â·","\\curvearrowright",!0);S(k,Y,Q,"â»","\\circlearrowright",!0);S(k,Y,Q,"â±","\\Rsh",!0);S(k,Y,Q,"â","\\downdownarrows",!0);S(k,Y,Q,"â¾","\\upharpoonright",!0);S(k,Y,Q,"â","\\downharpoonright",!0);S(k,Y,Q,"â","\\rightsquigarrow",!0);S(k,Y,Q,"â","\\leadsto");S(k,Y,Q,"â","\\Rrightarrow",!0);S(k,Y,Q,"â¾","\\restriction");S(k,D,re,"â","`");S(k,D,re,"$","\\$");S(Te,D,re,"$","\\$");S(Te,D,re,"$","\\textdollar");S(k,D,re,"%","\\%");S(Te,D,re,"%","\\%");S(k,D,re,"_","\\_");S(Te,D,re,"_","\\_");S(Te,D,re,"_","\\textunderscore");S(k,D,re,"â ","\\angle",!0);S(k,D,re,"â","\\infty",!0);S(k,D,re,"â²","\\prime");S(k,D,re,"â³","\\triangle");S(k,D,re,"Î","\\Gamma",!0);S(k,D,re,"Î","\\Delta",!0);S(k,D,re,"Î","\\Theta",!0);S(k,D,re,"Î","\\Lambda",!0);S(k,D,re,"Î","\\Xi",!0);S(k,D,re,"Î ","\\Pi",!0);S(k,D,re,"Σ","\\Sigma",!0);S(k,D,re,"Î¥","\\Upsilon",!0);S(k,D,re,"Φ","\\Phi",!0);S(k,D,re,"Ψ","\\Psi",!0);S(k,D,re,"Ω","\\Omega",!0);S(k,D,re,"A","Î");S(k,D,re,"B","Î");S(k,D,re,"E","Î");S(k,D,re,"Z","Î");S(k,D,re,"H","Î");S(k,D,re,"I","Î");S(k,D,re,"K","Î");S(k,D,re,"M","Î");S(k,D,re,"N","Î");S(k,D,re,"O","Î");S(k,D,re,"P","Ρ");S(k,D,re,"T","Τ");S(k,D,re,"X","Χ");S(k,D,re,"¬","\\neg",!0);S(k,D,re,"¬","\\lnot");S(k,D,re,"â¤","\\top");S(k,D,re,"â¥","\\bot");S(k,D,re,"â
","\\emptyset");S(k,Y,re,"â
","\\varnothing");S(k,D,We,"α","\\alpha",!0);S(k,D,We,"β","\\beta",!0);S(k,D,We,"γ","\\gamma",!0);S(k,D,We,"δ","\\delta",!0);S(k,D,We,"ϵ","\\epsilon",!0);S(k,D,We,"ζ","\\zeta",!0);S(k,D,We,"η","\\eta",!0);S(k,D,We,"θ","\\theta",!0);S(k,D,We,"ι","\\iota",!0);S(k,D,We,"κ","\\kappa",!0);S(k,D,We,"λ","\\lambda",!0);S(k,D,We,"μ","\\mu",!0);S(k,D,We,"ν","\\nu",!0);
767S(k,D,We,"ξ","\\xi",!0);S(k,D,We,"ο","\\omicron",!0);S(k,D,We,"Ï","\\pi",!0);S(k,D,We,"Ï","\\rho",!0);S(k,D,We,"Ï","\\sigma",!0);S(k,D,We,"Ï","\\tau",!0);S(k,D,We,"Ï
","\\upsilon",!0);S(k,D,We,"Ï","\\phi",!0);S(k,D,We,"Ï","\\chi",!0);S(k,D,We,"Ï","\\psi",!0);S(k,D,We,"Ï","\\omega",!0);S(k,D,We,"ε","\\varepsilon",!0);S(k,D,We,"Ï","\\vartheta",!0);S(k,D,We,"Ï","\\varpi",!0);S(k,D,We,"ϱ","\\varrho",!0);S(k,D,We,"Ï","\\varsigma",!0);S(k,D,We,"Ï","\\varphi",!0);S(k,D,Fe,"â","*",!0);S(k,D,Fe,"+","+");S(k,D,Fe,"â","-",!0);S(k,D,Fe,"â
","\\cdot",!0);S(k,D,Fe,"â","\\circ",!0);S(k,D,Fe,"÷","\\div",!0);S(k,D,Fe,"±","\\pm",!0);S(k,D,Fe,"Ã","\\times",!0);S(k,D,Fe,"â©","\\cap",!0);S(k,D,Fe,"âª","\\cup",!0);S(k,D,Fe,"â","\\setminus",!0);S(k,D,Fe,"â§","\\land");S(k,D,Fe,"â¨","\\lor");S(k,D,Fe,"â§","\\wedge",!0);S(k,D,Fe,"â¨","\\vee",!0);S(k,D,re,"â","\\surd");S(k,D,Wr,"â¨","\\langle",!0);S(k,D,Wr,"â£","\\lvert");S(k,D,Wr,"â¥","\\lVert");S(k,D,hr,"?","?");S(k,D,hr,"!","!");S(k,D,hr,"â©","\\rangle",!0);S(k,D,hr,"â£","\\rvert");S(k,D,hr,"â¥","\\rVert");S(k,D,Q,"=","=");S(k,D,Q,":",":");S(k,D,Q,"â","\\approx",!0);S(k,D,Q,"â
","\\cong",!0);S(k,D,Q,"â¥","\\ge");S(k,D,Q,"â¥","\\geq",!0);S(k,D,Q,"â","\\gets");S(k,D,Q,">","\\gt",!0);S(k,D,Q,"â","\\in",!0);S(k,D,Q,"î ","\\@not");S(k,D,Q,"â","\\subset",!0);S(k,D,Q,"â","\\supset",!0);S(k,D,Q,"â","\\subseteq",!0);S(k,D,Q,"â","\\supseteq",!0);S(k,Y,Q,"â","\\nsubseteq",!0);S(k,Y,Q,"â","\\nsupseteq",!0);S(k,D,Q,"â¨","\\models");S(k,D,Q,"â","\\leftarrow",!0);S(k,D,Q,"â¤","\\le");S(k,D,Q,"â¤","\\leq",!0);S(k,D,Q,"<","\\lt",!0);S(k,D,Q,"â","\\rightarrow",!0);S(k,D,Q,"â","\\to");S(k,Y,Q,"â±","\\ngeq",!0);S(k,Y,Q,"â°","\\nleq",!0);S(k,D,ei," ","\\ ");S(k,D,ei," ","\\space");S(k,D,ei," ","\\nobreakspace");S(Te,D,ei," ","\\ ");S(Te,D,ei," "," ");S(Te,D,ei," ","\\space");S(Te,D,ei," ","\\nobreakspace");S(k,D,ei,null,"\\nobreak");S(k,D,ei,null,"\\allowbreak");S(k,D,hm,",",",");S(k,D,hm,";",";");S(k,Y,Fe,"â¼","\\barwedge",!0);S(k,Y,Fe,"â»","\\veebar",!0);S(k,D,Fe,"â","\\odot",!0);S(k,D,Fe,"â","\\oplus",!0);S(k,D,Fe,"â","\\otimes",!0);S(k,D,re,"â","\\partial",!0);S(k,D,Fe,"â","\\oslash",!0);S(k,Y,Fe,"â","\\circledcirc",!0);S(k,Y,Fe,"â¡","\\boxdot",!0);
vendor: 8,384 bytes, line 767
767S(k,D,Fe,"â³","\\bigtriangleup");S(k,D,Fe,"â½","\\bigtriangledown");S(k,D,Fe,"â ","\\dagger");S(k,D,Fe,"â","\\diamond");S(k,D,Fe,"â","\\star");S(k,D,Fe,"â","\\triangleleft");S(k,D,Fe,"â¹","\\triangleright");S(k,D,Wr,"{","\\{");S(Te,D,re,"{","\\{");S(Te,D,re,"{","\\textbraceleft");S(k,D,hr,"}","\\}");S(Te,D,re,"}","\\}");S(Te,D,re,"}","\\textbraceright");S(k,D,Wr,"{","\\lbrace");S(k,D,hr,"}","\\rbrace");S(k,D,Wr,"[","\\lbrack",!0);S(Te,D,re,"[","\\lbrack",!0);S(k,D,hr,"]","\\rbrack",!0);S(Te,D,re,"]","\\rbrack",!0);S(k,D,Wr,"(","\\lparen",!0);S(k,D,hr,")","\\rparen",!0);S(Te,D,re,"<","\\textless",!0);S(Te,D,re,">","\\textgreater",!0);S(k,D,Wr,"â","\\lfloor",!0);S(k,D,hr,"â","\\rfloor",!0);S(k,D,Wr,"â","\\lceil",!0);S(k,D,hr,"â","\\rceil",!0);S(k,D,re,"\\","\\backslash");S(k,D,re,"â£","|");S(k,D,re,"â£","\\vert");S(Te,D,re,"|","\\textbar",!0);S(k,D,re,"â¥","\\|");S(k,D,re,"â¥","\\Vert");S(Te,D,re,"â¥","\\textbardbl");S(Te,D,re,"~","\\textasciitilde");S(Te,D,re,"\\","\\textbackslash");S(Te,D,re,"^","\\textasciicircum");S(k,D,Q,"â","\\uparrow",!0);S(k,D,Q,"â","\\Uparrow",!0);S(k,D,Q,"â","\\downarrow",!0);S(k,D,Q,"â","\\Downarrow",!0);S(k,D,Q,"â","\\updownarrow",!0);S(k,D,Q,"â","\\Updownarrow",!0);S(k,D,Sn,"â","\\coprod");S(k,D,Sn,"â","\\bigvee");S(k,D,Sn,"â","\\bigwedge");S(k,D,Sn,"â¨","\\biguplus");S(k,D,Sn,"â","\\bigcap");S(k,D,Sn,"â","\\bigcup");S(k,D,Sn,"â«","\\int");S(k,D,Sn,"â«","\\intop");S(k,D,Sn,"â¬","\\iint");S(k,D,Sn,"â","\\iiint");S(k,D,Sn,"â","\\prod");S(k,D,Sn,"â","\\sum");S(k,D,Sn,"â¨","\\bigotimes");S(k,D,Sn,"â¨","\\bigoplus");S(k,D,Sn,"â¨","\\bigodot");S(k,D,Sn,"â®","\\oint");S(k,D,Sn,"â¯","\\oiint");S(k,D,Sn,"â°","\\oiiint");S(k,D,Sn,"â¨","\\bigsqcup");S(k,D,Sn,"â«","\\smallint");S(Te,D,Cc,"â¦","\\textellipsis");S(k,D,Cc,"â¦","\\mathellipsis");S(Te,D,Cc,"â¦","\\ldots",!0);S(k,D,Cc,"â¦","\\ldots",!0);S(k,D,Cc,"â¯","\\@cdots",!0);S(k,D,Cc,"â±","\\ddots",!0);S(k,D,re,"â®","\\varvdots");S(Te,D,re,"â®","\\varvdots");S(k,D,Xt,"Ë","\\acute");S(k,D,Xt,"Ë","\\grave");S(k,D,Xt,"¨","\\ddot");S(k,D,Xt,"~","\\tilde");S(k,D,Xt,"Ë","\\bar");S(k,D,Xt,"Ë","\\breve");S(k,D,Xt,"Ë","\\check");S(k,D,Xt,"^","\\hat");S(k,D,Xt,"â","\\vec");S(k,D,Xt,"Ë","\\dot");S(k,D,Xt,"Ë","\\mathring");S(k,D,We,"î±","\\@imath");S(k,D,We,"î·","\\@jmath");S(k,D,re,"ı","ı");S(k,D,re,"È·","È·");S(Te,D,re,"ı","\\i",!0);S(Te,D,re,"È·","\\j",!0);S(Te,D,re,"Ã","\\ss",!0);S(Te,D,re,"æ","\\ae",!0);S(Te,D,re,"Å","\\oe",!0);S(Te,D,re,"ø","\\o",!0);S(Te,D,re,"Ã","\\AE",!0);S(Te,D,re,"Å","\\OE",!0);S(Te,D,re,"Ã","\\O",!0);S(Te,D,Xt,"Ë","\\'");S(Te,D,Xt,"Ë","\\`");S(Te,D,Xt,"Ë","\\^");S(Te,D,Xt,"Ë","\\~");S(Te,D,Xt,"Ë","\\=");S(Te,D,Xt,"Ë","\\u");S(Te,D,Xt,"Ë","\\.");S(Te,D,Xt,"¸","\\c");S(Te,D,Xt,"Ë","\\r");S(Te,D,Xt,"Ë","\\v");S(Te,D,Xt,"¨",'\\"');S(Te,D,Xt,"Ë","\\H");S(Te,D,Xt,"â¯","\\textcircled");var P9={"--":!0,"---":!0,"``":!0,"''":!0};S(Te,D,re,"â","--",!0);S(Te,D,re,"â","\\textendash");S(Te,D,re,"â","---",!0);S(Te,D,re,"â","\\textemdash");S(Te,D,re,"â","`",!0);S(Te,D,re,"â","\\textquoteleft");S(Te,D,re,"â","'",!0);S(Te,D,re,"â","\\textquoteright");S(Te,D,re,"â","``",!0);S(Te,D,re,"â","\\textquotedblleft");S(Te,D,re,"â","''",!0);S(Te,D,re,"â","\\textquotedblright");S(k,D,re,"°","\\degree",!0);S(Te,D,re,"°","\\degree");S(Te,D,re,"°","\\textdegree",!0);S(k,D,re,"£","\\pounds");S(k,D,re,"£","\\mathsterling",!0);S(Te,D,re,"£","\\pounds");S(Te,D,re,"£","\\textsterling",!0);S(k,Y,re,"â ","\\maltese");S(Te,Y,re,"â ","\\maltese");var w8='0123456789/@."';for(var wg=0;wg<w8.length;wg++){var S8=w8.charAt(wg);S(k,D,re,S8,S8)}var T8='0123456789!@*()-=+";:?/.,';for(var Sg=0;Sg<T8.length;Sg++){var k8=T8.charAt(Sg);S(Te,D,re,k8,k8)}var gf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Tg=0;Tg<gf.length;Tg++){var _h=gf.charAt(Tg);S(k,D,We,_h,_h),S(Te,D,re,_h,_h)}S(k,Y,re,"C","â");S(Te,Y,re,"C","â");S(k,Y,re,"H","â");S(Te,Y,re,"H","â");S(k,Y,re,"N","â");S(Te,Y,re,"N","â");S(k,Y,re,"P","â");S(Te,Y,re,"P","â");S(k,Y,re,"Q","â");S(Te,Y,re,"Q","â");S(k,Y,re,"R","â");S(Te,Y,re,"R","â");S(k,Y,re,"Z","â¤");S(Te,Y,re,"Z","â¤");S(k,D,We,"h","â");S(Te,D,We,"h","â");var et="";for(var or=0;or<gf.length;or++){var rn=gf.charAt(or);et=String.fromCharCode(55349,56320+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),et=String.fromCharCode(55349,56372+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),et=String.fromCharCode(55349,56424+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),et=String.fromCharCode(55349,56580+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),et=String.fromCharCode(55349,56684+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),et=String.fromCharCode(55349,56736+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),et=String.fromCharCode(55349,56788+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),et=String.fromCharCode(55349,56840+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),et=String.fromCharCode(55349,56944+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),or<26&&(et=String.fromCharCode(55349,56632+or),S(k,D,We,rn,et),S(Te,D,re,rn,et),et=String.fromCharCode(55349,56476+or),S(k,D,We,rn,et),S(Te,D,re,rn,et))}et="ð";S(k,D,We,"k",et);S(Te,D,re,"k",et);for(var To=0;To<10;To++){var Ri=To.toString();et=String.fromCharCode(55349,57294+To),S(k,D,We,Ri,et),S(Te,D,re,Ri,et),et=String.fromCharCode(55349,57314+To),S(k,D,We,Ri,et),S(Te,D,re,Ri,et),et=String.fromCharCode(55349,57324+To),S(k,D,We,Ri,et),S(Te,D,re,Ri,et),et=String.fromCharCode(55349,57334+To),S(k,D,We,Ri,et),S(Te,D,re,Ri,et)}var Q2="ÃÃþ";for(var kg=0;kg<Q2.length;kg++){var Ah=Q2.charAt(kg);S(k,D,We,Ah,Ah),S(Te,D,re,Ah,Ah)}var Nh=[["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"]],_8=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],tq=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 c=Math.floor((i-119808)/26);return[Nh[c][2],Nh[c][o]]}else if(120782<=i&&i<=120831){var u=Math.floor((i-120782)/10);return[_8[u][2],_8[u][o]]}else{if(i===120485||i===120486)return[Nh[0][2],Nh[0][o]];if(120486<i&&i<120782)return["",""];throw new Ne("Unsupported character: "+t)}},fm=function(t,n,r){return qt[r][t]&&qt[r][t].replace&&(t=qt[r][t].replace),{value:t,metrics:bb(t,n,r)}},_a=function(t,n,r,a,i){var o=fm(t,n,r),c=o.metrics;t=o.value;var u;if(c){var h=c.italic;(r==="text"||a&&a.font==="mathit")&&(h=0),u=new ba(t,c.height,c.depth,h,c.skew,c.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+r+"'")),u=new ba(t,0,0,0,0,0,i);if(a){u.maxFontSize=a.sizeMultiplier,a.style.isTight()&&u.classes.push("mtight");var g=a.getColor();g&&(u.style.color=g)}return u},nq=function(t,n,r,a){return a===void 0&&(a=[]),r.font==="boldsymbol"&&fm(t,"Main-Bold",n).metrics?_a(t,"Main-Bold",n,r,a.concat(["mathbf"])):t==="\\"||qt[n][t].font==="main"?_a(t,"Main-Regular",n,r,a):_a(t,"AMS-Regular",n,r,a.concat(["amsrm"]))},rq=function(t,n,r,a,i){return i!=="textord"&&fm(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},aq=function(t,n,r){var a=t.mode,i=t.text,o=["mord"],c=a==="math"||a==="text"&&n.font,u=c?n.font:n.fontFamily,h="",g="";if(i.charCodeAt(0)===55349&&([h,g]=tq(i,a)),h.length>0)return _a(i,h,a,n,o.concat(g));if(u){var p,b;if(u==="boldsymbol"){var y=rq(i,a,n,o,r);p=y.fontName,b=[y.fontClass]}
vendor: 5,220 bytes, line 767
767else c?(p=z9[u].fontName,b=[u]):(p=Ch(u,n.fontWeight,n.fontShape),b=[u,n.fontWeight,n.fontShape]);if(fm(i,p,a).metrics)return _a(i,p,a,n,o.concat(b));if(P9.hasOwnProperty(i)&&p.slice(0,10)==="Typewriter"){for(var w=[],T=0;T<i.length;T++)w.push(_a(i[T],p,a,n,o.concat(b)));return B9(w)}}if(r==="mathord")return _a(i,"Math-Italic",a,n,o.concat(["mathnormal"]));if(r==="textord"){var A=qt[a][i]&&qt[a][i].font;if(A==="ams"){var N=Ch("amsrm",n.fontWeight,n.fontShape);return _a(i,N,a,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(A==="main"||!A){var R=Ch("textrm",n.fontWeight,n.fontShape);return _a(i,R,a,n,o.concat(n.fontWeight,n.fontShape))}else{var z=Ch(A,n.fontWeight,n.fontShape);return _a(i,z,a,n,o.concat(z,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},sq=(e,t)=>{if(Qi(e.classes)!==Qi(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var 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},iq=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof ba&&r instanceof ba&&sq(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},vb=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 $0(t,n,r,a);return vb(i),i},j9=(e,t,n,r)=>new $0(e,t,n,r),oq=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},lq=function(t,n,r,a){var i=new yb(t,n,r,a);return vb(i),i},B9=function(t){var n=new V0(t);return vb(n),n},cq=function(t,n){return t instanceof V0?_r([],[t],n):t},uq=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 c=-n[o].shift-i-n[o].elem.depth,u=c-(n[o-1].elem.height+n[o-1].elem.depth);i=i+c,r.push({type:"kern",size:u}),r.push(n[o])}return{children:r,depth:a}}var h;if(t.positionType==="top"){for(var g=t.positionData,p=0;p<t.children.length;p++){var b=t.children[p];g-=b.type==="kern"?b.size:b.elem.height+b.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}},dq=function(t,n){for(var{children:r,depth:a}=uq(t),i=0,o=0;o<r.length;o++){var c=r[o];if(c.type==="elem"){var u=c.elem;i=Math.max(i,u.maxFontSize,u.height)}}i+=2;var h=_r(["pstrut"],[]);h.style.height=Ie(i);for(var g=[],p=a,b=a,y=a,w=0;w<r.length;w++){var T=r[w];if(T.type==="kern")y+=T.size;else{var A=T.elem,N=T.wrapperClasses||[],R=T.wrapperStyle||{},z=_r(N,[h,A],void 0,R);z.style.top=Ie(-i-y-A.depth),T.marginLeft&&(z.style.marginLeft=T.marginLeft),T.marginRight&&(z.style.marginRight=T.marginRight),g.push(z),y+=A.height+A.depth}p=Math.min(p,y),b=Math.max(b,y)}var W=_r(["vlist"],g);W.style.height=Ie(b);var q;if(p<0){var C=_r([],[]),M=_r(["vlist"],[C]);M.style.height=Ie(-p);var V=_r(["vlist-s"],[new ba("â")]);q=[_r(["vlist-r"],[W,V]),_r(["vlist-r"],[M])]}else q=[_r(["vlist-r"],[W])];var Z=_r(["vlist-t"],q);return q.length===2&&Z.classes.push("vlist-t2"),Z.height=b,Z.depth=-p,Z},hq=(e,t)=>{var n=_r(["mspace"],[],t),r=Zt(e,t);return n.style.marginRight=Ie(r),n},Ch=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},z9={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"}},F9={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},fq=function(t,n){var[r,a,i]=F9[t],o=new Xi(r),c=new Xs([o],{width:Ie(a),height:Ie(i),style:"width:"+Ie(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),u=j9(["overlay"],[c],n);return u.height=i,u.style.height=Ie(i),u.style.width=Ie(a),u}
vendor: 14,790 bytes, line 767
767,de={fontMap:z9,makeSymbol:_a,mathsym:nq,makeSpan:_r,makeSvgSpan:j9,makeLineSpan:oq,makeAnchor:lq,makeFragment:B9,wrapFragment:cq,makeVList:dq,makeOrd:aq,makeGlue:hq,staticSvg:fq,svgData:F9,tryCombineChars:iq},Kt={number:3,unit:"mu"},ko={number:4,unit:"mu"},Is={number:5,unit:"mu"},mq={mord:{mop:Kt,mbin:ko,mrel:Is,minner:Kt},mop:{mord:Kt,mop:Kt,mrel:Is,minner:Kt},mbin:{mord:ko,mop:ko,mopen:ko,minner:ko},mrel:{mord:Is,mop:Is,mopen:Is,minner:Is},mopen:{},mclose:{mop:Kt,mbin:ko,mrel:Is,minner:Kt},mpunct:{mord:Kt,mop:Kt,mrel:Is,mopen:Kt,mclose:Kt,mpunct:Kt,minner:Kt},minner:{mord:Kt,mop:Kt,mbin:ko,mrel:Is,mopen:Kt,mpunct:Kt,minner:Kt}},pq={mord:{mop:Kt},mop:{mord:Kt,mop:Kt},mbin:{},mrel:{},mopen:{},mclose:{mop:Kt},mpunct:{},minner:{mop:Kt}},H9={},xf={},bf={};function Be(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,c={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},u=0;u<n.length;++u)H9[n[u]]=c;t&&(i&&(xf[t]=i),o&&(bf[t]=o))}function al(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;Be({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var yf=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},mn=function(t){return t.type==="ordgroup"?t.body:[t]},Ws=de.makeSpan,gq=["leftmost","mbin","mopen","mrel","mop","mpunct"],xq=["rightmost","mrel","mclose","mpunct"],bq={display:Ke.DISPLAY,text:Ke.TEXT,script:Ke.SCRIPT,scriptscript:Ke.SCRIPTSCRIPT},yq={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Nn=function(t,n,r,a){a===void 0&&(a=[null,null]);for(var i=[],o=0;o<t.length;o++){var c=wt(t[o],n);if(c instanceof V0){var u=c.children;i.push(...u)}else i.push(c)}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(bq[g.style]))}var p=Ws([a[0]||"leftmost"],[],n),b=Ws([a[1]||"rightmost"],[],n),y=r==="root";return A8(i,(w,T)=>{var A=T.classes[0],N=w.classes[0];A==="mbin"&&xq.includes(N)?T.classes[0]="mord":N==="mbin"&&gq.includes(A)&&(w.classes[0]="mord")},{node:p},b,y),A8(i,(w,T)=>{var A=X2(T),N=X2(w),R=A&&N?w.hasClass("mtight")?pq[A][N]:mq[A][N]:null;if(R)return de.makeGlue(R,h)},{node:p},b,y),i},A8=function e(t,n,r,a,i){a&&t.push(a);for(var o=0;o<t.length;o++){var c=t[o],u=U9(c);if(u){e(u.children,n,r,null,i);continue}var h=!c.hasClass("mspace");if(h){var g=n(c,r.node);g&&(r.insertAfter?r.insertAfter(g):(t.unshift(g),o++))}h?r.node=c:i&&c.hasClass("newline")&&(r.node=Ws(["leftmost"])),r.insertAfter=(p=>b=>{t.splice(p+1,0,b),o++})(o)}a&&t.pop()},U9=function(t){return t instanceof V0||t instanceof yb||t instanceof $0&&t.hasClass("enclosing")?t:null},vq=function e(t,n){var r=U9(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},X2=function(t,n){return t?(n&&(t=vq(t,n)),yq[t.classes[0]]||null):null},E0=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return Ws(n.concat(r))},wt=function(t,n,r){if(!t)return Ws();if(xf[t.type]){var a=xf[t.type](t,n);if(r&&n.size!==r.size){a=Ws(n.sizingClasses(r),[a],n);var i=n.sizeMultiplier/r.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new Ne("Got group of unknown type: '"+t.type+"'")};function Oh(e,t){var n=Ws(["base"],e,t),r=Ws(["strut"]);return r.style.height=Ie(n.height+n.depth),n.depth&&(r.style.verticalAlign=Ie(-n.depth)),n.children.unshift(r),n}function W2(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Nn(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var i=[],o=[],c=0;c<r.length;c++)if(o.push(r[c]),r[c].hasClass("mbin")||r[c].hasClass("mrel")||r[c].hasClass("allowbreak")){for(var u=!1;c<r.length-1&&r[c+1].hasClass("mspace")&&!r[c+1].hasClass("newline");)c++,o.push(r[c]),r[c].hasClass("nobreak")&&(u=!0);u||(i.push(Oh(o,t)),o=[])}else r[c].hasClass("newline")&&(o.pop(),o.length>0&&(i.push(Oh(o,t)),o=[]),i.push(r[c]));o.length>0&&i.push(Oh(o,t));var h;n?(h=Oh(Nn(n,t,!0)),h.classes=["tag"],i.push(h)):a&&i.push(a);var g=Ws(["katex-html"],i);if(g.setAttribute("aria-hidden","true"),h){var p=h.children[0];p.style.height=Ie(g.height+g.depth),g.depth&&(p.style.verticalAlign=Ie(-g.depth))}return g}function q9(e){return new V0(e)}class Gr{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=Qi(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+=_t.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+_t.escape(Qi(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 _t.escape(this.toText())}toText(){return this.text}}class Eq{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 Ae={MathNode:Gr,TextNode:ns,SpaceNode:Eq,newDocumentFragment:q9},ya=function(t,n,r){return qt[n][t]&&qt[n][t].replace&&t.charCodeAt(0)!==55349&&!(P9.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=qt[n][t].replace),new Ae.TextNode(t)},Eb=function(t){return t.length===1?t[0]:new Ae.MathNode("mrow",t)},wb=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;qt[a][i]&&qt[a][i].replace&&(i=qt[a][i].replace);var o=de.fontMap[r].fontName;return bb(i,o,a)?de.fontMap[r].variant:null};function _g(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 Rr=function(t,n,r){if(t.length===1){var a=zt(t[0],n);return r&&a instanceof Gr&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],o,c=0;c<t.length;c++){var u=zt(t[c],n);if(u instanceof Gr&&o instanceof Gr){if(u.type==="mtext"&&o.type==="mtext"&&u.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...u.children);continue}else if(u.type==="mn"&&o.type==="mn"){o.children.push(...u.children);continue}else if(_g(u)&&o.type==="mn"){o.children.push(...u.children);continue}else if(u.type==="mn"&&_g(o))u.children=[...o.children,...u.children],i.pop();else if((u.type==="msup"||u.type==="msub")&&u.children.length>=1&&(o.type==="mn"||_g(o))){var h=u.children[0];h instanceof Gr&&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==="̸"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var p=u.children[0];p instanceof ns&&p.text.length>0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),i.pop())}}}i.push(u),o=u}return i},Wi=function(t,n,r){return Eb(Rr(t,n,r))},zt=function(t,n){if(!t)return new Ae.MathNode("mrow");if(bf[t.type]){var r=bf[t.type](t,n);return r}else throw new Ne("Got group of unknown type: '"+t.type+"'")};function N8(e,t,n,r,a){var i=Rr(e,n),o;i.length===1&&i[0]instanceof Gr&&["mrow","mtable"].includes(i[0].type)?o=i[0]:o=new Ae.MathNode("mrow",i);var c=new Ae.MathNode("annotation",[new Ae.TextNode(t)]);c.setAttribute("encoding","application/x-tex");var u=new Ae.MathNode("semantics",[o,c]),h=new Ae.MathNode("math",[u]);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 V9=function(t){return new zs({style:t.displayMode?Ke.DISPLAY:Ke.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},$9=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},wq=function(t,n,r){var a=V9(r),i;if(r.output==="mathml")return N8(t,n,a,r.displayMode,!0);if(r.output==="html"){var o=W2(t,a);i=de.makeSpan(["katex"],[o])}else{var c=N8(t,n,a,r.displayMode,!1),u=W2(t,a);i=de.makeSpan(["katex"],[c,u])}return $9(i,r)},Sq=function(t,n,r){var a=V9(r),i=W2(t,a),o=de.makeSpan(["katex"],[i]);return $9(o,r)},Tq={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":"="},kq=function(t){var n=new Ae.MathNode("mo",[new Ae.TextNode(Tq[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},_q={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]},Aq=function(t){return t.type==="ordgroup"?t.body.length:1},Nq=function(t,n){function r(){var c=4e5,u=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(u)){var h=t,g=Aq(h.base),p,b,y;if(g>5)u==="widehat"||u==="widecheck"?(p=420,c=2364,y=.42,b=u+"4"):(p=312,c=2340,y=.34,b="tilde4");else{var w=[1,1,2,2,3,3][g];u==="widehat"||u==="widecheck"?(c=[0,1062,2364,2364,2364][w],p=[0,239,300,360,420][w],y=[0,.24,.3,.3,.36,.42][w],b=u+w):(c=[0,600,1033,2339,2340][w],p=[0,260,286,306,312][w],y=[0,.26,.286,.3,.306,.34][w],b="tilde"+w)}
vendor: 14,530 bytes, lines 767-768
767var T=new Xi(b),A=new Xs([T],{width:"100%",height:Ie(y),viewBox:"0 0 "+c+" "+p,preserveAspectRatio:"none"});return{span:de.makeSvgSpan([],[A],n),minWidth:0,height:y}}else{var N=[],R=_q[u],[z,W,q]=R,C=q/1e3,M=z.length,V,Z;if(M===1){var I=R[3];V=["hide-tail"],Z=[I]}else if(M===2)V=["halfarrow-left","halfarrow-right"],Z=["xMinYMin","xMaxYMin"];else if(M===3)V=["brace-left","brace-center","brace-right"],Z=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support 768 `+M+" children.");for(var se=0;se<M;se++){var ae=new Xi(z[se]),me=new Xs([ae],{width:"400em",height:Ie(C),viewBox:"0 0 "+c+" "+q,preserveAspectRatio:Z[se]+" slice"}),oe=de.makeSvgSpan([V[se]],[me],n);if(M===1)return{span:oe,minWidth:W,height:C};oe.style.height=Ie(C),N.push(oe)}return{span:de.makeSpan(["stretchy"],N,n),minWidth:W,height:C}}}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},Cq=function(t,n,r,a,i){var o,c=t.height+t.depth+r+a;if(/fbox|color|angl/.test(n)){if(o=de.makeSpan(["stretchy",n],[],i),n==="fbox"){var u=i.color&&i.getColor();u&&(o.style.borderColor=u)}}else{var h=[];/^[bx]cancel$/.test(n)&&h.push(new Y2({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&h.push(new Y2({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var g=new Xs(h,{width:"100%",height:Ie(c)});o=de.makeSvgSpan([],[g],i)}return o.height=c,o.style.height=Ie(c),o},Ks={encloseSpan:Cq,mathMLnode:kq,svgSpan:Nq};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 Sb(e){var t=mm(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 mm(e){return e&&(e.type==="atom"||eq.hasOwnProperty(e.type))?e:null}var Tb=(e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=ut(e.base,"accent"),n=r.base,e.base=n,a=ZU(wt(e,t)),e.base=r):(r=ut(e,"accent"),n=r.base);var i=wt(n,t.havingCrampedStyle()),o=r.isShifty&&_t.isCharacterBox(n),c=0;if(o){var u=_t.getBaseElem(n),h=wt(u,t.havingCrampedStyle());c=E8(h).skew}var g=r.label==="\\c",p=g?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),b;if(r.isStretchy)b=Ks.svgSpan(r,t),b=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:b,wrapperClasses:["svg-align"],wrapperStyle:c>0?{width:"calc(100% - "+Ie(2*c)+")",marginLeft:Ie(2*c)}:void 0}]},t);else{var y,w;r.label==="\\vec"?(y=de.staticSvg("vec",t),w=de.svgData.vec[1]):(y=de.makeOrd({mode:r.mode,text:r.label},t,"textord"),y=E8(y),y.italic=0,w=y.width,g&&(p+=y.depth)),b=de.makeSpan(["accent-body"],[y]);var T=r.label==="\\textcircled";T&&(b.classes.push("accent-full"),p=i.height);var A=c;T||(A-=w/2),b.style.left=Ie(A),r.label==="\\textcircled"&&(b.style.top=".2em"),b=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-p},{type:"elem",elem:b}]},t)}var N=de.makeSpan(["mord","accent"],[b],t);return a?(a.children[0]=N,a.height=Math.max(N.height,a.height),a.classes[0]="mord",a):N},G9=(e,t)=>{var n=e.isStretchy?Ks.mathMLnode(e.label):new Ae.MathNode("mo",[ya(e.label,e.mode)]),r=new Ae.MathNode("mover",[zt(e.base,t),n]);return r.setAttribute("accent","true"),r},Oq=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Be({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=yf(t[0]),r=!Oq.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:Tb,mathmlBuilder:G9});Be({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:Tb,mathmlBuilder:G9});Be({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=Ks.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=Ks.mathMLnode(e.label),r=new Ae.MathNode("munder",[zt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Rh=e=>{var t=new Ae.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Be({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 c=Ks.svgSpan(e,t),u=-t.fontMetrics().axisHeight+.5*c.height,h=-t.fontMetrics().axisHeight-.5*c.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(h-=a.depth);var g;if(o){var p=-t.fontMetrics().axisHeight+o.height+.5*c.height+.111;g=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:h},{type:"elem",elem:c,shift:u},{type:"elem",elem:o,shift:p}]},t)}else g=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:h},{type:"elem",elem:c,shift:u}]},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=Ks.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=Rh(zt(e.body,t));if(e.below){var i=Rh(zt(e.below,t));r=new Ae.MathNode("munderover",[n,i,a])}else r=new Ae.MathNode("mover",[n,a])}else if(e.below){var o=Rh(zt(e.below,t));r=new Ae.MathNode("munder",[n,o])}else r=Rh(),r=new Ae.MathNode("mover",[n,r]);return r}});var Rq=de.makeSpan;function Y9(e,t){var n=Nn(e.body,t,!0);return Rq([e.mclass],n,t)}function Q9(e,t){var n,r=Rr(e.body,t);return e.mclass==="minner"?n=new Ae.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new Ae.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new Ae.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}Be({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:mn(a),isCharacterBox:_t.isCharacterBox(a)}},htmlBuilder:Y9,mathmlBuilder:Q9});var pm=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"};Be({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:pm(t[0]),body:mn(t[1]),isCharacterBox:_t.isCharacterBox(t[1])}}});Be({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=pm(a):o="mrel";var c={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:mn(a)},u={type:"supsub",mode:i.mode,base:c,sup:r==="\\underset"?null:i,sub:r==="\\underset"?i:null};return{type:"mclass",mode:n.mode,mclass:o,body:[u],isCharacterBox:_t.isCharacterBox(u)}},htmlBuilder:Y9,mathmlBuilder:Q9});Be({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:pm(t[0]),body:mn(t[0])}},htmlBuilder(e,t){var n=Nn(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=Rr(e.body,t),r=new Ae.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var Dq={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},C8=()=>({type:"styling",body:[],mode:"math",style:"display"}),O8=e=>e.type==="textord"&&e.text==="@",Mq=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Iq(e,t,n){var r=Dq[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],[]),c=n.callFunction("\\\\cdright",[t[1]],[]),u={type:"ordgroup",mode:"math",body:[a,o,c]};return n.callFunction("\\\\cdparent",[u],[])}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 Lq(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Ne("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],a=[r],i=0;i<t.length;i++){for(var o=t[i],c=C8(),u=0;u<o.length;u++)if(!O8(o[u]))c.body.push(o[u]);else{r.push(c),u+=1;var h=Sb(o[u]).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 p=0;p<2;p++){for(var b=!0,y=u+1;y<o.length;y++){if(Mq(o[y],h)){b=!1,u=y;break}if(O8(o[y]))throw new Ne("Missing a "+h+" character to complete a CD arrow.",o[y]);g[p].body.push(o[y])}if(b)throw new Ne("Missing a "+h+" character to complete a CD arrow.",o[u])}else throw new Ne('Expected one of "<>AV=|." after @',o[u]);var w=Iq(h,g,e),T={type:"styling",body:[w],mode:"math",style:"display"};r.push(T),c=C8()}i%2===0?r.push(c):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var A=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:A,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}Be({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 Ae.MathNode("mrow",[zt(e.label,t)]);return n=new Ae.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Ae.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Be({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 Ae.MathNode("mrow",[zt(e.fragment,t)])}});Be({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 c=ut(a[o],"textord");i+=c.text}var u=parseInt(i),h;if(isNaN(u))throw new Ne("\\@char has non-numeric argument "+i);if(u<0||u>=1114111)throw new Ne("\\@char with invalid code point "+i);return u<=65535?h=String.fromCharCode(u):(u-=65536,h=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:n.mode,text:h}}});var X9=(e,t)=>{var n=Nn(e.body,t.withColor(e.color),!1);return de.makeFragment(n)},W9=(e,t)=>{var n=Rr(e.body,t.withColor(e.color)),r=new Ae.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Be({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:mn(a)}},htmlBuilder:X9,mathmlBuilder:W9});Be({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:X9,mathmlBuilder:W9});Be({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 LaTe
768X, \\\\ 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 Ae.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Ie(Zt(e.size,t)))),n}});var K2={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},K9=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Ne("Expected a control sequence",e);return t},Pq=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Z9=(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)};Be({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(K2[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=K2[r.text]),ut(t.parseFunction(),"internal");throw new Ne("Invalid token after macro prefix",r)}});Be({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 Ne("Expected a control sequence",r);for(var i=0,o,c=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),c[i].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Ne('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==i+1)throw new Ne('Argument number "'+r.text+'" out of order');i++,c.push([])}else{if(r.text==="EOF")throw new Ne("Expected a macro definition");c[i].push(r.text)}var{tokens:u}=t.gullet.consumeArg();return o&&u.unshift(o),(n==="\\edef"||n==="\\xdef")&&(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(a,{tokens:u,numArgs:i,delimiters:c},n===K2[n]),{type:"internal",mode:t.mode}}});Be({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=K9(t.gullet.popToken());t.gullet.consumeSpaces();var a=Pq(t);return Z9(t,r,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});Be({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=K9(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return Z9(t,r,i,n==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Uu=function(t,n,r){var a=qt.math[t]&&qt.math[t].replace,i=bb(a||t,n,r);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return i},kb=function(t,n,r,a){var i=r.havingBaseStyle(n),o=de.makeSpan(a.concat(i.sizingClasses(r)),[t],r),c=i.sizeMultiplier/r.sizeMultiplier;return o.height*=c,o.depth*=c,o.maxFontSize=i.sizeMultiplier,o},J9=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},jq=function(t,n,r,a,i,o){var c=de.makeSymbol(t,"Main-Regular",i,a),u=kb(c,n,a,o);return r&&J9(u,a,n),u},Bq=function(t,n,r,a){return de.makeSymbol(t,"Size"+n+"-Regular",r,a)},eT=function(t,n,r,a,i,o){var c=Bq(t,n,i,a),u=kb(de.makeSpan(["delimsizing","size"+n],[c],a),Ke.TEXT,a,o);return r&&J9(u,a,Ke.TEXT),u},Ag=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}},Ng=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 Xi("inner",VU(t,Math.round(1e3*n))),o=new Xs([i],{width:Ie(a),height:Ie(n),style:"width:"+Ie(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),c=de.makeSvgSpan([],[o],r);
vendor: 8,155 bytes, line 768
768return c.height=n,c.style.height=Ie(n),c.style.width=Ie(a),{type:"elem",elem:c}},Z2=.008,Dh={type:"kern",size:-1*Z2},zq=["|","\\lvert","\\rvert","\\vert"],Fq=["\\|","\\lVert","\\rVert","\\Vert"],tT=function(t,n,r,a,i,o){var c,u,h,g,p="",b=0;c=h=g=t,u=null;var y="Size1-Regular";t==="\\uparrow"?h=g="â":t==="\\Uparrow"?h=g="â":t==="\\downarrow"?c=h="â":t==="\\Downarrow"?c=h="â":t==="\\updownarrow"?(c="\\uparrow",h="â",g="\\downarrow"):t==="\\Updownarrow"?(c="\\Uparrow",h="â",g="\\Downarrow"):zq.includes(t)?(h="â£",p="vert",b=333):Fq.includes(t)?(h="â¥",p="doublevert",b=556):t==="["||t==="\\lbrack"?(c="â¡",h="â¢",g="â£",y="Size4-Regular",p="lbrack",b=667):t==="]"||t==="\\rbrack"?(c="â¤",h="â¥",g="â¦",y="Size4-Regular",p="rbrack",b=667):t==="\\lfloor"||t==="â"?(h=c="â¢",g="â£",y="Size4-Regular",p="lfloor",b=667):t==="\\lceil"||t==="â"?(c="â¡",h=g="â¢",y="Size4-Regular",p="lceil",b=667):t==="\\rfloor"||t==="â"?(h=c="â¥",g="â¦",y="Size4-Regular",p="rfloor",b=667):t==="\\rceil"||t==="â"?(c="â¤",h=g="â¥",y="Size4-Regular",p="rceil",b=667):t==="("||t==="\\lparen"?(c="â",h="â",g="â",y="Size4-Regular",p="lparen",b=875):t===")"||t==="\\rparen"?(c="â",h="â",g="â ",y="Size4-Regular",p="rparen",b=875):t==="\\{"||t==="\\lbrace"?(c="â§",u="â¨",g="â©",h="âª",y="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(c="â«",u="â¬",g="â",h="âª",y="Size4-Regular"):t==="\\lgroup"||t==="â®"?(c="â§",g="â©",h="âª",y="Size4-Regular"):t==="\\rgroup"||t==="â¯"?(c="â«",g="â",h="âª",y="Size4-Regular"):t==="\\lmoustache"||t==="â°"?(c="â§",g="â",h="âª",y="Size4-Regular"):(t==="\\rmoustache"||t==="â±")&&(c="â«",g="â©",h="âª",y="Size4-Regular");var w=Uu(c,y,i),T=w.height+w.depth,A=Uu(h,y,i),N=A.height+A.depth,R=Uu(g,y,i),z=R.height+R.depth,W=0,q=1;if(u!==null){var C=Uu(u,y,i);W=C.height+C.depth,q=2}var M=T+z+W,V=Math.max(0,Math.ceil((n-M)/(q*N))),Z=M+V*q*N,I=a.fontMetrics().axisHeight;r&&(I*=a.sizeMultiplier);var se=Z/2-I,ae=[];if(p.length>0){var me=Z-T-z,oe=Math.round(Z*1e3),ee=$U(p,Math.round(me*1e3)),L=new Xi(p,ee),J=(b/1e3).toFixed(3)+"em",te=(oe/1e3).toFixed(3)+"em",we=new Xs([L],{width:J,height:te,viewBox:"0 0 "+b+" "+oe}),U=de.makeSvgSpan([],[we],a);U.height=oe/1e3,U.style.width=J,U.style.height=te,ae.push({type:"elem",elem:U})}else{if(ae.push(Ag(g,y,i)),ae.push(Dh),u===null){var G=Z-T-z+2*Z2;ae.push(Ng(h,G,a))}else{var ce=(Z-T-z-W)/2+2*Z2;ae.push(Ng(h,ce,a)),ae.push(Dh),ae.push(Ag(u,y,i)),ae.push(Dh),ae.push(Ng(h,ce,a))}ae.push(Dh),ae.push(Ag(c,y,i))}var P=a.havingBaseStyle(Ke.TEXT),pe=de.makeVList({positionType:"bottom",positionData:se,children:ae},P);return kb(de.makeSpan(["delimsizing","mult"],[pe],P),Ke.TEXT,a,o)},Cg=80,Og=.08,Rg=function(t,n,r,a,i){var o=qU(t,a,r),c=new Xi(t,o),u=new Xs([c],{width:"400em",height:Ie(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return de.makeSvgSpan(["hide-tail"],[u],i)},Hq=function(t,n){var r=n.havingBaseSizing(),a=sT("\\surd",t*r.sizeMultiplier,aT,r),i=r.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),c,u=0,h=0,g=0,p;return a.type==="small"?(g=1e3+1e3*o+Cg,t<1?i=1:t<1.4&&(i=.7),u=(1+o+Og)/i,h=(1+o)/i,c=Rg("sqrtMain",u,g,o,n),c.style.minWidth="0.853em",p=.833/i):a.type==="large"?(g=(1e3+Cg)*Zu[a.size],h=(Zu[a.size]+o)/i,u=(Zu[a.size]+o+Og)/i,c=Rg("sqrtSize"+a.size,u,g,o,n),c.style.minWidth="1.02em",p=1/i):(u=t+o+Og,h=t+o,g=Math.floor(1e3*t+o)+Cg,c=Rg("sqrtTall",u,g,o,n),c.style.minWidth="0.742em",p=1.056),c.height=h,c.style.height=Ie(u),{span:c,advanceWidth:p,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*i}},nT=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","â","â","\\lceil","\\rceil","â","â","\\surd"],Uq=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","â®","â¯","\\lmoustache","\\rmoustache","â°","â±"],rT=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Zu=[0,1.2,1.8,2.4,3],qq=function(t,n,r,a,i){if(t==="<"||t==="\\lt"||t==="â¨"?t="\\langle":(t===">"||t==="\\gt"||t==="â©")&&(t="\\rangle"),nT.includes(t)||rT.includes(t))return eT(t,n,!1,r,a,i);if(Uq.includes(t))return tT(t,Zu[n],!1,r,a,i);throw new Ne("Illegal delimiter: '"+t+"'")},Vq=[{type:"small",style:Ke.SCRIPTSCRIPT},{type:"small",style:Ke.SCRIPT},{type:"small",style:Ke.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],$q=[{type:"small",style:Ke.SCRIPTSCRIPT},{type:"small",style:Ke.SCRIPT},{type:"small",style:Ke.TEXT},{type:"stack"}],aT=[{type:"small",style:Ke.SCRIPTSCRIPT},{type:"small",style:Ke.SCRIPT},{type:"small",style:Ke.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Gq=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.")},sT=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 c=Uu(t,Gq(r[o]),"math"),u=c.height+c.depth;if(r[o].type==="small"){var h=a.havingBaseStyle(r[o].style);u*=h.sizeMultiplier}if(u>n)return r[o]}return r[r.length-1]},iT=function(t,n,r,a,i,o){t==="<"||t==="\\lt"||t==="â¨"?t="\\langle":(t===">"||t==="\\gt"||t==="â©")&&(t="\\rangle");var c;rT.includes(t)?c=Vq:nT.includes(t)?c=aT:c=$q;var u=sT(t,n,c,a);return u.type==="small"?jq(t,u.style,r,a,i,o):u.type==="large"?eT(t,u.size,r,a,i,o):tT(t,n,r,a,i,o)},Yq=function(t,n,r,a,i,o){var c=a.fontMetrics().axisHeight*a.sizeMultiplier,u=901,h=5/a.fontMetrics().ptPerEm,g=Math.max(n-c,r+c),p=Math.max(g/500*u,2*g-h);return iT(t,p,!0,a,i,o)},Vs={sqrtImage:Hq,sizedDelim:qq,sizeToMaxHeight:Zu,customSizedDelim:iT,leftRightDelim:Yq},R8={"\\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}},Qq=["(","\\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 gm(e,t){var n=mm(e);if(n&&Qq.includes(n.text))return n;throw n?new Ne("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Ne("Invalid delimiter type '"+e.type+"'",e)}Be({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=gm(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:R8[e.funcName].size,mclass:R8[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?de.makeSpan([e.mclass]):Vs.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(ya(e.delim,e.mode));var n=new Ae.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Ie(Vs.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function D8(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Be({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");
vendor: 12,932 bytes, line 768
768if(n&&typeof n!="string")throw new Ne("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:gm(t[0],e).text,color:n}}});Be({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=gm(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)=>{D8(e);for(var n=Nn(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 c;if(e.left==="."?c=E0(t,["mopen"]):c=Vs.leftRightDelim(e.left,r,a,t,e.mode,["mopen"]),n.unshift(c),i)for(var u=1;u<n.length;u++){var h=n[u],g=h.isMiddle;g&&(n[u]=Vs.leftRightDelim(g.delim,r,a,g.options,e.mode,[]))}var p;if(e.right===".")p=E0(t,["mclose"]);else{var b=e.rightColor?t.withColor(e.rightColor):t;p=Vs.leftRightDelim(e.right,r,a,b,e.mode,["mclose"])}return n.push(p),de.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{D8(e);var n=Rr(e.body,t);if(e.left!=="."){var r=new Ae.MathNode("mo",[ya(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new Ae.MathNode("mo",[ya(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return Eb(n)}});Be({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=gm(t[0],e);if(!e.parser.leftrightDepth)throw new Ne("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=E0(t,[]);else{n=Vs.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==="|"?ya("|","text"):ya(e.delim,e.mode),r=new Ae.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var _b=(e,t)=>{var n=de.wrapFragment(wt(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,i,o=0,c=_t.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 u=Zt({number:.6,unit:"pt"},t),h=Zt({number:.35,unit:"ex"},t),g=t.havingBaseSizing();a=a/g.sizeMultiplier;var p=n.height+n.depth+u+h;n.style.paddingLeft=Ie(p/2+u);var b=Math.floor(1e3*p*a),y=HU(b),w=new Xs([new Xi("phase",y)],{width:"400em",height:Ie(b/1e3),viewBox:"0 0 400000 "+b,preserveAspectRatio:"xMinYMin slice"});i=de.makeSvgSpan(["hide-tail"],[w],t),i.style.height=Ie(p),o=n.depth+u+h}else{/cancel/.test(r)?c||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var T=0,A=0,N=0;/box/.test(r)?(N=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),T=t.fontMetrics().fboxsep+(r==="colorbox"?0:N),A=T):r==="angl"?(N=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),T=4*N,A=Math.max(0,.25-n.depth)):(T=c?.2:0,A=T),i=Ks.encloseSpan(n,r,T,A,t),/fbox|boxed|fcolorbox/.test(r)?(i.style.borderStyle="solid",i.style.borderWidth=Ie(N)):r==="angl"&&N!==.049&&(i.style.borderTopWidth=Ie(N),i.style.borderRightWidth=Ie(N)),o=n.depth+A,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var R;if(e.backgroundColor)R=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var z=/cancel|phase/.test(r)?["svg-align"]:[];R=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:o,wrapperClasses:z}]},t)}return/cancel/.test(r)&&(R.height=n.height,R.depth=n.depth),/cancel/.test(r)&&!c?de.makeSpan(["mord","cancel-lap"],[R],t):de.makeSpan(["mord"],[R],t)},Ab=(e,t)=>{var n=0,r=new Ae.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[zt(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};Be({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:_b,mathmlBuilder:Ab});Be({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,c=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:o,borderColor:i,body:c}},htmlBuilder:_b,mathmlBuilder:Ab});Be({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]}}});Be({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:_b,mathmlBuilder:Ab});Be({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 oT={};function ds(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,c={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},u=0;u<n.length;++u)oT[n[u]]=c;i&&(xf[t]=i),o&&(bf[t]=o)}var lT={};function B(e,t){lT[e]=t}function M8(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 xm=e=>{var t=e.parser.settings;if(!t.displayMode)throw new Ne("{"+e.envName+"} can be used only in display mode.")};function Nb(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function to(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:i,arraystretch:o,colSeparationType:c,autoTag:u,singleRow:h,emptySingleRow:g,maxNumCols:p,leqno:b}=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 Ne("Invalid \\arraystretch: "+y)}e.gullet.beginGroup();var w=[],T=[w],A=[],N=[],R=u!=null?[]:void 0;function z(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function W(){R&&(e.gullet.macros.get("\\df@tag")?(R.push(e.subparse([new Xr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):R.push(!!u&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(z(),N.push(M8(e));;){var q=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),q={type:"ordgroup",mode:e.mode,body:q},n&&(q={type:"styling",mode:e.mode,style:n,body:[q]}),w.push(q);var C=e.fetch().text;if(C==="&"){if(p&&w.length===p){if(h||c)throw new Ne("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(C==="\\end"){W(),w.length===1&&q.type==="styling"&&q.body[0].body.length===0&&(T.length>1||!g)&&T.pop(),N.length<T.length+1&&N.push([]);break}else if(C==="\\\\"){e.consume();var M=void 0;e.gullet.future().text!==" "&&(M=e.parseSizeGroup(!0)),A.push(M?M.value:null),W(),N.push(M8(e)),w=[],T.push(w),z()}else throw new Ne("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:o,body:T,cols:i,rowGaps:A,hskipBeforeAndAfter:r,hLinesBeforeRow:N,colSeparationType:c,tags:R,leqno:b}}function Cb(e){return e.slice(0,1)==="d"?"display":"text"}var hs=function(t,n){var r,a,i=t.body.length,o=t.hLinesBeforeRow,c=0,u=new Array(i),h=[],g=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),p=1/n.fontMetrics().ptPerEm,b=5*p;if(t.colSeparationType&&t.colSeparationType==="small"){var y=n.havingStyle(Ke.SCRIPT).sizeMultiplier;b=.2778*(y/n.sizeMultiplier)}var w=t.colSeparationType==="CD"?Zt({number:3,unit:"ex"},n):12*p,T=3*p,A=t.arraystretch*w,N=.7*A,R=.3*A,z=0;function W(Zr){for(var ln=0;ln<Zr.length;++ln)ln>0&&(z+=.25),h.push({pos:z,isDashed:Zr[ln]})}for(W(o[0]),r=0;r<t.body.length;++r){var q=t.body[r],C=N,M=R;c<q.length&&(c=q.length);var V=new Array(q.length);for(a=0;a<q.length;++a){var Z=wt(q[a],n);M<Z.depth&&(M=Z.depth),C<Z.height&&(C=Z.height),V[a]=Z}var I=t.rowGaps[r],se=0;I&&(se=Zt(I,n),se>0&&(se+=R,M<se&&(M=se),se=0)),t.addJot&&(M+=T),V.height=C,V.depth=M,z+=C,V.pos=z,z+=M+se,u[r]=V,W(o[r+1])}var ae=z/2+n.fontMetrics().axisHeight,me=t.cols||[],oe=[],ee,L,J=[];if(t.tags&&t.tags.some(Zr=>Zr))for(r=0;r<i;++r){var te=u[r],we=te.pos-ae,U=t.tags[r],G=void 0;U===!0?G=de.makeSpan(["eqn-num"],[],n):U===!1?G=de.makeSpan([],[],n):G=de.makeSpan([],Nn(U,n,!0),n),G.depth=te.depth,G.height=te.height,J.push({type:"elem",elem:G,shift:we})}for(a=0,L=0;a<c||L<me.length;++a,++L){for(var ce=me[L]||{},P=!0;ce.type==="separator";){if(P||(ee=de.makeSpan(["arraycolsep"],[]),ee.style.width=Ie(n.fontMetrics().doubleRuleSep),oe.push(ee)),ce.separator==="|"||ce.separator===":"){var pe=ce.separator==="|"?"solid":"dashed",Se=de.makeSpan(["vertical-separator"],[],n);Se.style.height=Ie(z),Se.style.borderRightWidth=Ie(g),Se.style.borderRightStyle=pe,Se.style.margin="0 "+Ie(-g/2);var Re=z-ae;Re&&(Se.style.verticalAlign=Ie(-Re)),oe.push(Se)}else throw new Ne("Invalid separator type: "+ce.separator);L++,ce=me[L]||{},P=!1}if(!(a>=c)){var Pe=void 0;(a>0||t.hskipBeforeAndAfter)&&(Pe=_t.deflt(ce.pregap,b),Pe!==0&&(ee=de.makeSpan(["arraycolsep"],[]),ee.style.width=Ie(Pe),oe.push(ee)));var Ge=[];for(r=0;r<i;++r){var tt=u[r],Ot=tt[a];if(Ot){var en=tt.pos-ae;Ot.depth=tt.depth,Ot.height=tt.height,Ge.push({type:"elem",elem:Ot,shift:en})}}Ge=de.makeVList({positionType:"individualShift",children:Ge},n),Ge=de.makeSpan(["col-align-"+(ce.align||"c")],[Ge]),oe.push(Ge),(a<c-1||t.hskipBeforeAndAfter)&&(Pe=_t.deflt(ce.postgap,b),Pe!==0&&(ee=de.makeSpan(["arraycolsep"],[]),ee.style.width=Ie(Pe),oe.push(ee)))}}if(u=de.makeSpan(["mtable"],oe),h.length>0){for(var on=de.makeLineSpan("hline",n,g),Dr=de.makeLineSpan("hdashline",n,g),jn=[{type:"elem",elem:u,shift:0}];h.length>0;){var Ea=h.pop(),Kr=Ea.pos-ae;Ea.isDashed?jn.push({type:"elem",elem:Dr,shift:Kr}):jn.push({type:"elem",elem:on,shift:Kr})}u=de.makeVList({positionType:"individualShift",children:jn},n)}if(J.length===0)return de.makeSpan(["mord"],[u],n);var fr=de.makeVList({positionType:"individualShift",children:J},n);return fr=de.makeSpan(["tag"],[fr],n),de.makeFragment([u,fr])},Xq={c:"center ",l:"left ",r:"right "},fs=function(t,n){for(var r=[],a=new Ae.MathNode("mtd",[],["mtr-glue"]),i=new Ae.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var c=t.body[o],u=[],h=0;h<c.length;h++)u.push(new Ae.MathNode("mtd",[zt(c[h],n)]));t.tags&&t.tags[o]&&(u.unshift(a),u.push(a),t.leqno?u.unshift(i):u.push(i)),r.push(new Ae.MathNode("mtr",u))}var g=new Ae.MathNode("mtable",r),p=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);g.setAttribute("rowspacing",Ie(p));var b="",y="";if(t.cols&&t.cols.length>0){var w=t.cols,T="",A=!1,N=0,R=w.length;w[0].type==="separator"&&(b+="top ",N=1),w[w.length-1].type==="separator"&&(b+="bottom ",R-=1);for(var z=N;z<R;z++)w[z].type==="align"?(y+=Xq[w[z].align],A&&(T+="none "),A=!0):w[z].type==="separator"&&A&&(T+=w[z].separator==="|"?"solid ":"dashed ",A=!1);g.setAttribute("columnalign",y.trim()),/[sd]/.test(T)&&g.setAttribute("columnlines",T.trim())}if(t.colSeparationType==="align"){for(var W=t.cols||[],q="",C=1;C<W.length;C++)q+=C%2?"0em ":"1em ";g.setAttribute("columnspacing",q.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");
vendor: 5,710 bytes, line 768
768var M="",V=t.hLinesBeforeRow;b+=V[0].length>0?"left ":"",b+=V[V.length-1].length>0?"right ":"";for(var Z=1;Z<V.length-1;Z++)M+=V[Z].length===0?"none ":V[Z][0]?"dashed ":"solid ";return/[sd]/.test(M)&&g.setAttribute("rowlines",M.trim()),b!==""&&(g=new Ae.MathNode("menclose",[g]),g.setAttribute("notation",b.trim())),t.arraystretch&&t.arraystretch<1&&(g=new Ae.MathNode("mstyle",[g]),g.setAttribute("scriptlevel","1")),g},cT=function(t,n){t.envName.indexOf("ed")===-1&&xm(t);var r=[],a=t.envName.indexOf("at")>-1?"alignat":"align",i=t.envName==="split",o=to(t.parser,{cols:r,addJot:!0,autoTag:i?void 0:Nb(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),c,u=0,h={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var g="",p=0;p<n[0].body.length;p++){var b=ut(n[0].body[p],"textord");g+=b.text}c=Number(g),u=c*2}var y=!u;o.body.forEach(function(N){for(var R=1;R<N.length;R+=2){var z=ut(N[R],"styling"),W=ut(z.body[0],"ordgroup");W.body.unshift(h)}if(y)u<N.length&&(u=N.length);else{var q=N.length/2;if(c<q)throw new Ne("Too many math in a row: "+("expected "+c+", but got "+q),N[0])}});for(var w=0;w<u;++w){var T="r",A=0;w%2===1?T="l":w>0&&y&&(A=1),r[w]={type:"align",align:T,pregap:A,postgap:0}}return o.colSeparationType=y?"align":"alignat",o};ds({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=mm(t[0]),r=n?[t[0]]:ut(t[0],"ordgroup").body,a=r.map(function(o){var c=Sb(o),u=c.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new Ne("Unknown column alignment: "+u,o)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return to(e.parser,i,Cb(e.envName))},htmlBuilder:hs,mathmlBuilder:fs});ds({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 Ne("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var i=to(e.parser,r,Cb(e.envName)),o=Math.max(0,...i.body.map(c=>c.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:hs,mathmlBuilder:fs});ds({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=to(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:hs,mathmlBuilder:fs});ds({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=mm(t[0]),r=n?[t[0]]:ut(t[0],"ordgroup").body,a=r.map(function(o){var c=Sb(o),u=c.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new Ne("Unknown column alignment: "+u,o)});if(a.length>1)throw new Ne("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=to(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new Ne("{subarray} can contain only one column");return i},htmlBuilder:hs,mathmlBuilder:fs});ds({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=to(e.parser,t,Cb(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:hs,mathmlBuilder:fs});ds({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:cT,htmlBuilder:hs,mathmlBuilder:fs});ds({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&xm(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Nb(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return to(e.parser,t,"display")},htmlBuilder:hs,mathmlBuilder:fs});ds({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:cT,htmlBuilder:hs,mathmlBuilder:fs});ds({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){xm(e);var t={autoTag:Nb(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return to(e.parser,t,"display")},htmlBuilder:hs,mathmlBuilder:fs});ds({type:"array",names:["CD"],props:{numArgs:0},handler(e){return xm(e),Lq(e.parser)},htmlBuilder:hs,mathmlBuilder:fs});B("\\nonumber","\\gdef\\@eqnsw{0}");B("\\notag","\\nonumber");Be({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Ne(e.funcName+" valid only within array environment")}});var I8=oT;Be({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 Ne("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(!I8.hasOwnProperty(i))throw new Ne("No such environment: "+i,a);var c=I8[i],{args:u,optArgs:h}=n.parseArguments("\\begin{"+i+"}",c),g={mode:n.mode,envName:i,parser:n},p=c.handler(g,u,h);n.expect("\\end",!1);var b=n.nextToken,y=ut(n.parseFunction(),"environment");
vendor: 11,444 bytes, line 768
768if(y.name!==i)throw new Ne("Mismatch: \\begin{"+i+"} matched by \\end{"+y.name+"}",b);return p}return{type:"environment",mode:n.mode,name:i,nameGroup:a}}});var uT=(e,t)=>{var n=e.font,r=t.withFont(n);return wt(e.body,r)},dT=(e,t)=>{var n=e.font,r=t.withFont(n);return zt(e.body,r)},L8={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Be({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=yf(t[0]),i=r;return i in L8&&(i=L8[i]),{type:"font",mode:n.mode,font:i.slice(1),body:a}},htmlBuilder:uT,mathmlBuilder:dT});Be({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],a=_t.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:pm(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:a}}});Be({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),c="math"+r.slice(1);return{type:"font",mode:i,font:c,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:uT,mathmlBuilder:dT});var hT=(e,t)=>{var n=t;return e==="display"?n=n.id>=Ke.SCRIPT.id?n.text():Ke.DISPLAY:e==="text"&&n.size===Ke.DISPLAY.size?n=Ke.TEXT:e==="script"?n=Ke.SCRIPT:e==="scriptscript"&&(n=Ke.SCRIPTSCRIPT),n},Ob=(e,t)=>{var n=hT(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 c=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;o.height=o.height<c?c:o.height,o.depth=o.depth<u?u:o.depth}i=t.havingStyle(a);var h=wt(e.denom,i,t),g,p,b;e.hasBarLine?(e.barSize?(p=Zt(e.barSize,t),g=de.makeLineSpan("frac-line",t,p)):g=de.makeLineSpan("frac-line",t),p=g.height,b=g.height):(g=null,p=0,b=t.fontMetrics().defaultRuleThickness);var y,w,T;n.size===Ke.DISPLAY.size||e.size==="display"?(y=t.fontMetrics().num1,p>0?w=3*b:w=7*b,T=t.fontMetrics().denom1):(p>0?(y=t.fontMetrics().num2,w=b):(y=t.fontMetrics().num3,w=3*b),T=t.fontMetrics().denom2);var A;if(g){var R=t.fontMetrics().axisHeight;y-o.depth-(R+.5*p)<w&&(y+=w-(y-o.depth-(R+.5*p))),R-.5*p-(h.height-T)<w&&(T+=w-(R-.5*p-(h.height-T)));var z=-(R-.5*p);A=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:T},{type:"elem",elem:g,shift:z},{type:"elem",elem:o,shift:-y}]},t)}else{var N=y-o.depth-(h.height-T);N<w&&(y+=.5*(w-N),T+=.5*(w-N)),A=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:T},{type:"elem",elem:o,shift:-y}]},t)}i=t.havingStyle(n),A.height*=i.sizeMultiplier/t.sizeMultiplier,A.depth*=i.sizeMultiplier/t.sizeMultiplier;var W;n.size===Ke.DISPLAY.size?W=t.fontMetrics().delim1:n.size===Ke.SCRIPTSCRIPT.size?W=t.havingStyle(Ke.SCRIPT).fontMetrics().delim2:W=t.fontMetrics().delim2;var q,C;return e.leftDelim==null?q=E0(t,["mopen"]):q=Vs.customSizedDelim(e.leftDelim,W,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?C=de.makeSpan([]):e.rightDelim==null?C=E0(t,["mclose"]):C=Vs.customSizedDelim(e.rightDelim,W,!0,t.havingStyle(n),e.mode,["mclose"]),de.makeSpan(["mord"].concat(i.sizingClasses(t)),[q,de.makeSpan(["mfrac"],[A]),C],t)},Rb=(e,t)=>{var n=new Ae.MathNode("mfrac",[zt(e.numer,t),zt(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=hT(e.size,t.style);if(a.size!==t.style.size){n=new Ae.MathNode("mstyle",[n]);var i=a.size===Ke.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 c=new Ae.MathNode("mo",[new Ae.TextNode(e.leftDelim.replace("\\",""))]);c.setAttribute("fence","true"),o.push(c)}if(o.push(n),e.rightDelim!=null){var u=new Ae.MathNode("mo",[new Ae.TextNode(e.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),o.push(u)}return Eb(o)}return n};Be({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,c=null,u=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,c="(",u=")";break;case"\\\\bracefrac":o=!1,c="\\{",u="\\}";break;case"\\\\brackfrac":o=!1,c="[",u="]";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:c,rightDelim:u,size:h,barSize:null}},htmlBuilder:Ob,mathmlBuilder:Rb});Be({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}}});Be({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 P8=["display","text","script","scriptscript"],j8=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};Be({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=yf(t[0]),o=i.type==="atom"&&i.family==="open"?j8(i.text):null,c=yf(t[1]),u=c.type==="atom"&&c.family==="close"?j8(c.text):null,h=ut(t[2],"size"),g,p=null;h.isBlank?g=!0:(p=h.value,g=p.number>0);var b="auto",y=t[3];if(y.type==="ordgroup"){if(y.body.length>0){var w=ut(y.body[0],"textord");b=P8[Number(w.text)]}}else y=ut(y,"textord"),b=P8[Number(y.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:g,barSize:p,leftDelim:o,rightDelim:u,size:b}},htmlBuilder:Ob,mathmlBuilder:Rb});Be({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}}});Be({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],i=_U(ut(t[1],"infix").size),o=t[2],c=i.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:o,continued:!1,hasBarLine:c,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ob,mathmlBuilder:Rb});var fT=(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(Ke.DISPLAY)),o=Ks.svgSpan(a,t),c;if(a.isOver?(c=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},t),c.children[0].children[0].children[1].classes.push("svg-align")):(c=de.makeVList({positionType:"bottom",positionData:i.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},t),c.children[0].children[0].children[0].classes.push("svg-align")),r){var u=de.makeSpan(["mord",a.isOver?"mover":"munder"],[c],t);a.isOver?c=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:r}]},t):c=de.makeVList({positionType:"bottom",positionData:u.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:u}]},t)}return de.makeSpan(["mord",a.isOver?"mover":"munder"],[c],t)},Wq=(e,t)=>{var n=Ks.mathMLnode(e.label);return new Ae.MathNode(e.isOver?"mover":"munder",[zt(e.base,t),n])};Be({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:fT,mathmlBuilder:Wq});Be({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:mn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Nn(e.body,t,!1);return de.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=Wi(e.body,t);return n instanceof Gr||(n=new Gr("mrow",[n])),n.setAttribute("href",e.href),n}});Be({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 c={type:"text",mode:n.mode,font:"\\texttt",body:a};return{type:"href",mode:n.mode,href:r,body:mn(c)}}});Be({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:mn(t[0])}},htmlBuilder(e,t){var n=Nn(e.body,t,!1);return de.makeFragment(n)},mathmlBuilder(e,t){return new Ae.MathNode("mrow",Rr(e.body,t))}});Be({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 c,u={};switch(r){case"\\htmlClass":u.class=i,c={command:"\\htmlClass",class:i};break;case"\\htmlId":u.id=i,c={command:"\\htmlId",id:i};break;case"\\htmlStyle":u.style=i,c={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var h=i.split(","),g=0;g<h.length;g++){var p=h[g].split("=");if(p.length!==2)throw new Ne("Error parsing key-value for \\htmlData");u["data-"+p[0].trim()]=p[1].trim()}c={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(c)?{type:"html",mode:n.mode,attributes:u,body:mn(o)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Nn(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=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)=>Wi(e.body,t)});Be({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:mn(t[0]),mathml:mn(t[1])}},htmlBuilder:(e,t)=>{var n=Nn(e.html,t,!1);return de.makeFragment(n)},mathmlBuilder:(e,t)=>Wi(e.mathml,t)});var Dg=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new Ne("Invalid size: '"+t+"' in \\includegraphics");
vendor: 7,687 bytes, line 768
768var r={number:+(n[1]+n[2]),unit:n[3]};if(!D9(r))throw new Ne("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Be({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"},c="";if(n[0])for(var u=ut(n[0],"raw").string,h=u.split(","),g=0;g<h.length;g++){var p=h[g].split("=");if(p.length===2){var b=p[1].trim();switch(p[0].trim()){case"alt":c=b;break;case"width":a=Dg(b);break;case"height":i=Dg(b);break;case"totalheight":o=Dg(b);break;default:throw new Ne("Invalid key: '"+p[0]+"' in \\includegraphics.")}}}var y=ut(t[0],"url").url;return c===""&&(c=y,c=c.replace(/^.*[\\/]/,""),c=c.substring(0,c.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:y})?{type:"includegraphics",mode:r.mode,alt:c,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 WU(e.src,e.alt,i);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Ae.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}});Be({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 Ae.SpaceNode(n)}});Be({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 Ae.MathNode("mpadded",[zt(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}});Be({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}}});Be({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Ne("Mismatched "+e.funcName)}});var B8=(e,t)=>{switch(t.style.size){case Ke.DISPLAY.size:return e.display;case Ke.TEXT.size:return e.text;case Ke.SCRIPT.size:return e.script;case Ke.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Be({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:mn(t[0]),text:mn(t[1]),script:mn(t[2]),scriptscript:mn(t[3])}},htmlBuilder:(e,t)=>{var n=B8(e,t),r=Nn(n,t,!1);return de.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=B8(e,t);return Wi(n,t)}});var mT=(e,t,n,r,a,i,o)=>{e=de.makeSpan([],[e]);var c=n&&_t.isCharacterBox(n),u,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 p=wt(n,r.havingStyle(a.sub()),r);u={elem:p,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-p.height)}}var b;if(h&&u){var y=r.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+o;b=de.makeVList({positionType:"bottom",positionData:y,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Ie(-i)},{type:"kern",size:u.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(u){var w=e.height-o;b=de.makeVList({positionType:"top",positionData:w,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Ie(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e}]},r)}else if(h){var T=e.depth+o;b=de.makeVList({positionType:"bottom",positionData:T,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 A=[b];if(u&&i!==0&&!c){var N=de.makeSpan(["mspace"],[],r);N.style.marginRight=Ie(i),A.unshift(N)}return de.makeSpan(["mop","op-limits"],A,r)},pT=["\\smallint"],Oc=(e,t)=>{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,c=!1;o.size===Ke.DISPLAY.size&&i.symbol&&!pT.includes(i.name)&&(c=!0);var u;if(i.symbol){var h=c?"Size2-Regular":"Size1-Regular",g="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(g=i.name.slice(1),i.name=g==="oiint"?"\\iint":"\\iiint"),u=de.makeSymbol(i.name,h,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),g.length>0){var p=u.italic,b=de.staticSvg(g+"Size"+(c?"2":"1"),t);u=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:b,shift:c?.08:0}]},t),i.name="\\"+g,u.classes.unshift("mop"),u.italic=p}}else if(i.body){var y=Nn(i.body,t,!0);y.length===1&&y[0]instanceof ba?(u=y[0],u.classes[0]="mop"):u=de.makeSpan(["mop"],y,t)}else{for(var w=[],T=1;T<i.name.length;T++)w.push(de.mathsym(i.name[T],i.mode,t));u=de.makeSpan(["mop"],w,t)}var A=0,N=0;return(u instanceof ba||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(A=(u.height-u.depth)/2-t.fontMetrics().axisHeight,N=u.italic),a?mT(u,n,r,t,o,N,A):(A&&(u.style.position="relative",u.style.top=Ie(A)),u)},G0=(e,t)=>{var n;if(e.symbol)n=new Gr("mo",[ya(e.name,e.mode)]),pT.includes(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new Gr("mo",Rr(e.body,t));else{n=new Gr("mi",[new ns(e.name.slice(1))]);var r=new Gr("mo",[ya("â¡","text")]);e.parentIsSupSub?n=new Gr("mrow",[n,r]):n=q9([n,r])}return n},Kq={"â":"\\prod","â":"\\coprod","â":"\\sum","â":"\\bigwedge","â":"\\bigvee","â":"\\bigcap","â":"\\bigcup","â¨":"\\bigodot","â¨":"\\bigoplus","â¨":"\\bigotimes","â¨":"\\biguplus","â¨":"\\bigsqcup"};Be({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=Kq[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}}
vendor: 13,829 bytes, line 768
768,htmlBuilder:Oc,mathmlBuilder:G0});Be({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(r)}},htmlBuilder:Oc,mathmlBuilder:G0});var Zq={"â«":"\\int","â¬":"\\iint","â":"\\iiint","â®":"\\oint","â¯":"\\oiint","â°":"\\oiiint"};Be({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:Oc,mathmlBuilder:G0});Be({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:Oc,mathmlBuilder:G0});Be({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=Zq[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Oc,mathmlBuilder:G0});var gT=(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 c=i.body.map(p=>{var b=p.text;return typeof b=="string"?{type:"textord",mode:p.mode,text:b}:p}),u=Nn(c,t.withFont("mathrm"),!0),h=0;h<u.length;h++){var g=u[h];g instanceof ba&&(g.text=g.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=de.makeSpan(["mop"],u,t)}else o=de.makeSpan(["mop"],[],t);return a?mT(o,n,r,t,t.style,0,0):o},Jq=(e,t)=>{for(var n=Rr(e.body,t.withFont("mathrm")),r=!0,a=0;a<n.length;a++){var i=n[a];if(!(i instanceof Ae.SpaceNode))if(i instanceof Ae.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 Ae.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var c=n.map(g=>g.toText()).join("");n=[new Ae.TextNode(c)]}var u=new Ae.MathNode("mi",n);u.setAttribute("mathvariant","normal");var h=new Ae.MathNode("mo",[ya("â¡","text")]);return e.parentIsSupSub?new Ae.MathNode("mrow",[u,h]):Ae.newDocumentFragment([u,h])};Be({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"operatorname",mode:n.mode,body:mn(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:gT,mathmlBuilder:Jq});B("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");al({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?de.makeFragment(Nn(e.body,t,!1)):de.makeSpan(["mord"],Nn(e.body,t,!0),t)},mathmlBuilder(e,t){return Wi(e.body,t,!0)}});Be({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},{type:"elem",elem:r},{type:"kern",size:a}]},t);return de.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var n=new Ae.MathNode("mo",[new Ae.TextNode("â¾")]);n.setAttribute("stretchy","true");var r=new Ae.MathNode("mover",[zt(e.body,t),n]);return r.setAttribute("accent","true"),r}});Be({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:mn(r)}},htmlBuilder:(e,t)=>{var n=Nn(e.body,t.withPhantom(),!1);return de.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Rr(e.body,t);return new Ae.MathNode("mphantom",n)}});Be({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=Rr(mn(e.body),t),r=new Ae.MathNode("mphantom",n),a=new Ae.MathNode("mpadded",[r]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});Be({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=Rr(mn(e.body),t),r=new Ae.MathNode("mphantom",n),a=new Ae.MathNode("mpadded",[r]);return a.setAttribute("width","0px"),a}});Be({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 Ae.MathNode("mpadded",[zt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});Be({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Be({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 Ae.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",Ie(n)),o.setAttribute("height",Ie(r));var c=new Ae.MathNode("mpadded",[o]);return a>=0?c.setAttribute("height",Ie(a)):(c.setAttribute("height",Ie(a)),c.setAttribute("depth",Ie(-a))),c.setAttribute("voffset",Ie(a)),c}});function xT(e,t,n){for(var r=Nn(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"],eV=(e,t)=>{var n=t.havingSize(e.size);return xT(e.body,n,t)};Be({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:eV,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Rr(e.body,n),a=new Ae.MathNode("mstyle",r);return a.setAttribute("mathsize",Ie(n.sizeMultiplier)),a}});Be({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 c="",u=0;u<o.body.length;++u){var h=o.body[u];if(c=h.text,c==="t")a=!0;else if(c==="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 Ae.MathNode("mpadded",[zt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});Be({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<Ke.TEXT.id&&(i=t.fontMetrics().xHeight);var o=a+i/4,c=n.height+n.depth+o+a,{span:u,ruleWidth:h,advanceWidth:g}=Vs.sqrtImage(c,t),p=u.height-h;p>n.height+n.depth+o&&(o=(o+p-n.height-n.depth)/2);var b=u.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+b)},{type:"elem",elem:u},{type:"kern",size:h}]},t);if(e.index){var w=t.havingStyle(Ke.SCRIPTSCRIPT),T=wt(e.index,w,t),A=.6*(y.height-y.depth),N=de.makeVList({positionType:"shift",positionData:-A,children:[{type:"elem",elem:T}]},t),R=de.makeSpan(["root"],[N]);return de.makeSpan(["mord","sqrt"],[R,y],t)}else return de.makeSpan(["mord","sqrt"],[y],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Ae.MathNode("mroot",[zt(n,t),zt(r,t)]):new Ae.MathNode("msqrt",[zt(n,t)])}});var F8={display:Ke.DISPLAY,text:Ke.TEXT,script:Ke.SCRIPT,scriptscript:Ke.SCRIPTSCRIPT};Be({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=F8[e.style],r=t.havingStyle(n).withFont("");return xT(e.body,r,t)},mathmlBuilder(e,t){var n=F8[e.style],r=t.havingStyle(n),a=Rr(e.body,r),i=new Ae.MathNode("mstyle",a),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},c=o[e.style];return i.setAttribute("scriptlevel",c[0]),i.setAttribute("displaystyle",c[1]),i}});var tV=function(t,n){var r=t.base;if(r)if(r.type==="op"){var a=r.limits&&(n.style.size===Ke.DISPLAY.size||r.alwaysHandleSupSub);return a?Oc:null}else if(r.type==="operatorname"){var i=r.alwaysHandleSupSub&&(n.style.size===Ke.DISPLAY.size||r.limits);return i?gT:null}else{if(r.type==="accent")return _t.isCharacterBox(r.base)?Tb:null;if(r.type==="horizBrace"){var o=!t.sub;return o===r.isOver?fT:null}else return null}else return null};al({type:"supsub",htmlBuilder(e,t){var n=tV(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:i}=e,o=wt(r,t),c,u,h=t.fontMetrics(),g=0,p=0,b=r&&_t.isCharacterBox(r);if(a){var y=t.havingStyle(t.style.sup());c=wt(a,y,t),b||(g=o.height-y.fontMetrics().supDrop*y.sizeMultiplier/t.sizeMultiplier)}if(i){var w=t.havingStyle(t.style.sub());u=wt(i,w,t),b||(p=o.depth+w.fontMetrics().subDrop*w.sizeMultiplier/t.sizeMultiplier)}var T;t.style===Ke.DISPLAY?T=h.sup1:t.style.cramped?T=h.sup3:T=h.sup2;var A=t.sizeMultiplier,N=Ie(.5/h.ptPerEm/A),R=null;if(u){var z=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof ba||z)&&(R=Ie(-o.italic))}var W;if(c&&u){g=Math.max(g,T,c.depth+.25*h.xHeight),p=Math.max(p,h.sub2);var q=h.defaultRuleThickness,C=4*q;if(g-c.depth-(u.height-p)<C){p=C-(g-c.depth)+u.height;var M=.8*h.xHeight-(g-c.depth);M>0&&(g+=M,p-=M)}var V=[{type:"elem",elem:u,shift:p,marginRight:N,marginLeft:R},{type:"elem",elem:c,shift:-g,marginRight:N}];W=de.makeVList({positionType:"individualShift",children:V},t)}else if(u){p=Math.max(p,h.sub1,u.height-.8*h.xHeight);var Z=[{type:"elem",elem:u,marginLeft:R,marginRight:N}];W=de.makeVList({positionType:"shift",positionData:p,children:Z},t)}else if(c)g=Math.max(g,T,c.depth+.25*h.xHeight),W=de.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:c,marginRight:N}]},t);else throw new Error("supsub must have either sup or sub.");var I=X2(o,"right")||"mord";return de.makeSpan([I],[o,de.makeSpan(["msupsub"],[W])],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=[zt(e.base,t)];e.sub&&i.push(zt(e.sub,t)),e.sup&&i.push(zt(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===Ke.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===Ke.DISPLAY||h.limits)?o="munderover":o="msubsup"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===Ke.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===Ke.DISPLAY)?o="munder":o="msub"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===Ke.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===Ke.DISPLAY)?o="mover":o="msup"}return new Ae.MathNode(o,i)}});al({type:"atom",htmlBuilder(e,t){return de.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Ae.MathNode("mo",[ya(e.text,e.mode)]);if(e.family==="bin"){var r=wb(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}
vendor: 9,344 bytes, lines 768-772
768else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var bT={mi:"italic",mn:"normal",mtext:"normal"};al({type:"mathord",htmlBuilder(e,t){return de.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Ae.MathNode("mi",[ya(e.text,e.mode,t)]),r=wb(e,t)||"italic";return r!==bT[n.type]&&n.setAttribute("mathvariant",r),n}});al({type:"textord",htmlBuilder(e,t){return de.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=ya(e.text,e.mode,t),r=wb(e,t)||"normal",a;return e.mode==="text"?a=new Ae.MathNode("mtext",[n]):/[0-9]/.test(e.text)?a=new Ae.MathNode("mn",[n]):e.text==="\\prime"?a=new Ae.MathNode("mo",[n]):a=new Ae.MathNode("mi",[n]),r!==bT[a.type]&&a.setAttribute("mathvariant",r),a}});var Mg={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ig={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};al({type:"spacing",htmlBuilder(e,t){if(Ig.hasOwnProperty(e.text)){var n=Ig[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(Mg.hasOwnProperty(e.text))return de.makeSpan(["mspace",Mg[e.text]],[],t);throw new Ne('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(Ig.hasOwnProperty(e.text))n=new Ae.MathNode("mtext",[new Ae.TextNode(" ")]);else{if(Mg.hasOwnProperty(e.text))return new Ae.MathNode("mspace");throw new Ne('Unknown type of space "'+e.text+'"')}return n}});var H8=()=>{var e=new Ae.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};al({type:"tag",mathmlBuilder(e,t){var n=new Ae.MathNode("mtable",[new Ae.MathNode("mtr",[H8(),new Ae.MathNode("mtd",[Wi(e.body,t)]),H8(),new Ae.MathNode("mtd",[Wi(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var U8={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},q8={"\\textbf":"textbf","\\textmd":"textmd"},nV={"\\textit":"textit","\\textup":"textup"},V8=(e,t)=>{var n=e.font;if(n){if(U8[n])return t.withTextFontFamily(U8[n]);if(q8[n])return t.withTextFontWeight(q8[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(nV[n])};Be({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"text",mode:n.mode,body:mn(a),font:r}},htmlBuilder(e,t){var n=V8(e,t),r=Nn(e.body,n,!0);return de.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=V8(e,t);return Wi(e.body,n)}});Be({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 Ae.MathNode("mo",[new Ae.TextNode("â¾")]);n.setAttribute("stretchy","true");var r=new Ae.MathNode("munder",[zt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});Be({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 Ae.MathNode("mpadded",[zt(e.body,t)],["vcenter"])}});Be({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Ne("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=$8(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 Ae.TextNode($8(e)),r=new Ae.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var $8=e=>e.body.replace(/ /g,e.star?"â£":" "),zi=H9,yT=`[ \r 769 ]`,rV="\\\\[a-zA-Z@]+",aV="\\\\[^\uD800-\uDFFF]",sV="("+rV+")"+yT+"*",iV=`\\\\( 770|[ \r ]+ 771?)[ \r ]*`,J2="[Ì-ͯ]",oV=new RegExp(J2+"+$"),lV="("+yT+"+)|"+(iV+"|")+"([!-\\[\\]-â§âª-í¿ï¤-ï¿¿]"+(J2+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(J2+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+sV)+("|"+aV+")");class G8{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(lV,"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 Xr("EOF",new Nr(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new Ne("Unexpected character: '"+t[n]+"'",new Xr(t[n],new Nr(this,n,n+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(` 772`,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 Xr(a,new Nr(this,n,this.tokenRegex.lastIndex))}}class cV{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Ne("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,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 uV=lT;B("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});B("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});B("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});B("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});B("\\@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}});B("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");B("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Y8={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};B("\\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 Ne("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=Y8[t.text],r==null||r>=n)throw new Ne("Invalid base-"+n+" digit "+t.text);for(var a;(a=Y8[e.future().text])!=null&&a<n;)r*=n,r+=a,e.popToken()}return"\\@char{"+r+"}"});var Db=(e,t,n,r)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new Ne("\\newcommand's first argument must be a macro name");var i=a[0].text,o=e.isDefined(i);if(o&&!t)throw new Ne("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!o&&!n)throw new Ne("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var c=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var u="",h=e.expandNextToken();h.text!=="]"&&h.text!=="EOF";)u+=h.text,h=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new Ne("Invalid number of arguments: "+u);c=parseInt(u),a=e.consumeArg().tokens}return o&&r||e.macros.set(i,{tokens:a,numArgs:c}),""};B("\\newcommand",e=>Db(e,!1,!0,!1));B("\\renewcommand",e=>Db(e,!0,!1,!1));B("\\providecommand",e=>Db(e,!0,!0,!0));B("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});B("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});B("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),zi[n],qt.math[n],qt.text[n]),""});B("\\bgroup","{");B("\\egroup","}");
772B("~","\\nobreakspace");B("\\lq","`");B("\\rq","'");B("\\aa","\\r a");B("\\AA","\\r A");B("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");B("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");B("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");B("â¬","\\mathscr{B}");B("â°","\\mathscr{E}");B("â±","\\mathscr{F}");B("â","\\mathscr{H}");B("â","\\mathscr{I}");B("â","\\mathscr{L}");B("â³","\\mathscr{M}");B("â","\\mathscr{R}");B("â","\\mathfrak{C}");B("â","\\mathfrak{H}");B("â¨","\\mathfrak{Z}");B("\\Bbbk","\\Bbb{k}");B("·","\\cdotp");B("\\llap","\\mathllap{\\textrm{#1}}");B("\\rlap","\\mathrlap{\\textrm{#1}}");B("\\clap","\\mathclap{\\textrm{#1}}");B("\\mathstrut","\\vphantom{(}");B("\\underbar","\\underline{\\text{#1}}");B("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');B("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`â }}");B("\\ne","\\neq");B("â ","\\neq");B("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`â}}");B("â","\\notin");B("â","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`â}}");B("â","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`â}}");B("â","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`â}}");B("â","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`â}}");B("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`â}}");B("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`â}}");B("â","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`â}}");B("â","\\perp");B("â¼","\\mathclose{!\\mkern-0.8mu!}");B("â","\\notni");B("â","\\ulcorner");B("â","\\urcorner");B("â","\\llcorner");B("â","\\lrcorner");B("©","\\copyright");B("®","\\textregistered");B("ï¸","\\textregistered");
vendor: 4,526 bytes, line 772
772B("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');B("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');B("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');B("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');B("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");B("â®","\\vdots");B("\\varGamma","\\mathit{\\Gamma}");B("\\varDelta","\\mathit{\\Delta}");B("\\varTheta","\\mathit{\\Theta}");B("\\varLambda","\\mathit{\\Lambda}");B("\\varXi","\\mathit{\\Xi}");B("\\varPi","\\mathit{\\Pi}");B("\\varSigma","\\mathit{\\Sigma}");B("\\varUpsilon","\\mathit{\\Upsilon}");B("\\varPhi","\\mathit{\\Phi}");B("\\varPsi","\\mathit{\\Psi}");B("\\varOmega","\\mathit{\\Omega}");B("\\substack","\\begin{subarray}{c}#1\\end{subarray}");B("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");B("\\boxed","\\fbox{$\\displaystyle{#1}$}");B("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");B("\\implies","\\DOTSB\\;\\Longrightarrow\\;");B("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");B("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");B("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Q8={",":"\\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"};B("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Q8?t=Q8[n]:(n.slice(0,4)==="\\not"||n in qt.math&&["bin","rel"].includes(qt.math[n].group))&&(t="\\dotsb"),t});var Mb={")":!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};B("\\dotso",function(e){var t=e.future().text;return t in Mb?"\\ldots\\,":"\\ldots"});B("\\dotsc",function(e){var t=e.future().text;return t in Mb&&t!==","?"\\ldots\\,":"\\ldots"});B("\\cdots",function(e){var t=e.future().text;return t in Mb?"\\@cdots\\,":"\\@cdots"});B("\\dotsb","\\cdots");B("\\dotsm","\\cdots");B("\\dotsi","\\!\\cdots");B("\\dotsx","\\ldots\\,");B("\\DOTSI","\\relax");B("\\DOTSB","\\relax");B("\\DOTSX","\\relax");B("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");B("\\,","\\tmspace+{3mu}{.1667em}");B("\\thinspace","\\,");B("\\>","\\mskip{4mu}");B("\\:","\\tmspace+{4mu}{.2222em}");B("\\medspace","\\:");B("\\;","\\tmspace+{5mu}{.2777em}");B("\\thickspace","\\;");B("\\!","\\tmspace-{3mu}{.1667em}");B("\\negthinspace","\\!");B("\\negmedspace","\\tmspace-{4mu}{.2222em}");B("\\negthickspace","\\tmspace-{5mu}{.277em}");B("\\enspace","\\kern.5em ");B("\\enskip","\\hskip.5em\\relax");B("\\quad","\\hskip1em\\relax");B("\\qquad","\\hskip2em\\relax");B("\\tag","\\@ifstar\\tag@literal\\tag@paren");B("\\tag@paren","\\tag@literal{({#1})}");B("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Ne("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});B("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");B("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");B("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");B("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");B("\\newline","\\\\\\relax");B("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var vT=Ie(ts["Main-Regular"][84][1]-.7*ts["Main-Regular"][65][1]);B("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+vT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");
772B("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+vT+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");B("\\hspace","\\@ifstar\\@hspacer\\@hspace");B("\\@hspace","\\hskip #1\\relax");B("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");B("\\ordinarycolon",":");B("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");B("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');B("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');B("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');B("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');B("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');B("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');B("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');B("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');B("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');B("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');B("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');B("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');B("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');B("â·","\\dblcolon");B("â¹","\\eqcolon");B("â","\\coloneqq");B("â","\\eqqcolon");B("â©´","\\Coloneqq");B("\\ratio","\\vcentcolon");B("\\coloncolon","\\dblcolon");B("\\colonequals","\\coloneqq");B("\\coloncolonequals","\\Coloneqq");B("\\equalscolon","\\eqqcolon");B("\\equalscoloncolon","\\Eqqcolon");B("\\colonminus","\\coloneq");B("\\coloncolonminus","\\Coloneq");B("\\minuscolon","\\eqcolon");B("\\minuscoloncolon","\\Eqcolon");B("\\coloncolonapprox","\\Colonapprox");B("\\coloncolonsim","\\Colonsim");B("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");B("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");B("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");B("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");B("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`â}}");B("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");B("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");B("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");B("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");B("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");B("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");B("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");B("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");B("\\gvertneqq","\\html@mathml{\\@gvertneqq}{â©}");B("\\lvertneqq","\\html@mathml{\\@lvertneqq}{â¨}");B("\\ngeqq","\\html@mathml{\\@ngeqq}{â±}");B("\\ngeqslant","\\html@mathml{\\@ngeqslant}{â±}");B("\\nleqq","\\html@mathml{\\@nleqq}{â°}");B("\\nleqslant","\\html@mathml{\\@nleqslant}{â°}");B("\\nshortmid","\\html@mathml{\\@nshortmid}{â¤}");B("\\nshortparallel","\\html@mathml{\\@nshortparallel}{â¦}");B("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{â}");B("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{â}");B("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{â}");B("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{â«}");B("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{â}");B("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{â«}");B("\\imath","\\html@mathml{\\@imath}{ı}");B("\\jmath","\\html@mathml{\\@jmath}{È·}");B("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`â¦}}");B("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`â§}}");B("â¦","\\llbracket");B("â§","\\rrbracket");B("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}
772{\\mathopen{\\char`â¦}}");B("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`â¦}}");B("â¦","\\lBrace");B("â¦","\\rBrace");B("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");B("⦵","\\minuso");B("\\darr","\\downarrow");B("\\dArr","\\Downarrow");B("\\Darr","\\Downarrow");B("\\lang","\\langle");B("\\rang","\\rangle");B("\\uarr","\\uparrow");B("\\uArr","\\Uparrow");B("\\Uarr","\\Uparrow");B("\\N","\\mathbb{N}");B("\\R","\\mathbb{R}");B("\\Z","\\mathbb{Z}");B("\\alef","\\aleph");B("\\alefsym","\\aleph");B("\\Alpha","\\mathrm{A}");B("\\Beta","\\mathrm{B}");B("\\bull","\\bullet");B("\\Chi","\\mathrm{X}");B("\\clubs","\\clubsuit");B("\\cnums","\\mathbb{C}");B("\\Complex","\\mathbb{C}");B("\\Dagger","\\ddagger");B("\\diamonds","\\diamondsuit");B("\\empty","\\emptyset");B("\\Epsilon","\\mathrm{E}");B("\\Eta","\\mathrm{H}");B("\\exist","\\exists");B("\\harr","\\leftrightarrow");B("\\hArr","\\Leftrightarrow");B("\\Harr","\\Leftrightarrow");B("\\hearts","\\heartsuit");B("\\image","\\Im");B("\\infin","\\infty");B("\\Iota","\\mathrm{I}");B("\\isin","\\in");B("\\Kappa","\\mathrm{K}");B("\\larr","\\leftarrow");B("\\lArr","\\Leftarrow");B("\\Larr","\\Leftarrow");B("\\lrarr","\\leftrightarrow");B("\\lrArr","\\Leftrightarrow");B("\\Lrarr","\\Leftrightarrow");B("\\Mu","\\mathrm{M}");B("\\natnums","\\mathbb{N}");B("\\Nu","\\mathrm{N}");B("\\Omicron","\\mathrm{O}");B("\\plusmn","\\pm");B("\\rarr","\\rightarrow");B("\\rArr","\\Rightarrow");B("\\Rarr","\\Rightarrow");B("\\real","\\Re");B("\\reals","\\mathbb{R}");B("\\Reals","\\mathbb{R}");B("\\Rho","\\mathrm{P}");B("\\sdot","\\cdot");B("\\sect","\\S");B("\\spades","\\spadesuit");B("\\sub","\\subset");B("\\sube","\\subseteq");B("\\supe","\\supseteq");B("\\Tau","\\mathrm{T}");B("\\thetasym","\\vartheta");B("\\weierp","\\wp");B("\\Zeta","\\mathrm{Z}");B("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");B("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");B("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");B("\\bra","\\mathinner{\\langle{#1}|}");B("\\ket","\\mathinner{|{#1}\\rangle}");B("\\braket","\\mathinner{\\langle{#1}\\rangle}");B("\\Bra","\\left\\langle#1\\right|");B("\\Ket","\\left|#1\\right\\rangle");var ET=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),c=t.macros.get("\\|");t.macros.beginGroup();var u=p=>b=>{e&&(b.macros.set("|",o),a.length&&b.macros.set("\\|",c));var y=p;if(!p&&a.length){var w=b.future();w.text==="|"&&(b.popToken(),y=!0)}return{tokens:y?a:r,numArgs:0}};t.macros.set("|",u(!1)),a.length&&t.macros.set("\\|",u(!0));var h=t.consumeArg().tokens,g=t.expandTokens([...i,...h,...n]);return t.macros.endGroup(),{tokens:g.reverse(),numArgs:0}};B("\\bra@ket",ET(!1));B("\\bra@set",ET(!0));B("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");B("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");B("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");B("\\angln","{\\angl n}");B("\\blue","\\textcolor{##6495ed}{#1}");B("\\orange","\\textcolor{##ffa500}{#1}");B("\\pink","\\textcolor{##ff00af}{#1}");B("\\red","\\textcolor{##df0030}{#1}");B("\\green","\\textcolor{##28ae7b}{#1}");B("\\gray","\\textcolor{gray}{#1}");B("\\purple","\\textcolor{##9d38bd}{#1}");B("\\blueA","\\textcolor{##ccfaff}{#1}");B("\\blueB","\\textcolor{##80f6ff}{#1}");B("\\blueC","\\textcolor{##63d9ea}{#1}");B("\\blueD","\\textcolor{##11accd}{#1}");B("\\blueE","\\textcolor{##0c7f99}{#1}");B("\\tealA","\\textcolor{##94fff5}{#1}");B("\\tealB","\\textcolor{##26edd5}{#1}");B("\\tealC","\\textcolor{##01d1c1}{#1}");B("\\tealD","\\textcolor{##01a995}{#1}");B("\\tealE","\\textcolor{##208170}{#1}");B("\\greenA","\\textcolor{##b6ffb0}{#1}");B("\\greenB","\\textcolor{##8af281}{#1}");B("\\greenC","\\textcolor{##74cf70}{#1}");B("\\greenD","\\textcolor{##1fab54}{#1}");B("\\greenE","\\textcolor{##0d923f}{#1}");B("\\goldA","\\textcolor{##ffd0a9}{#1}");B("\\goldB","\\textcolor{##ffbb71}{#1}");B("\\goldC","\\textcolor{##ff9c39}{#1}");B("\\goldD","\\textcolor{##e07d10}{#1}");B("\\goldE","\\textcolor{##a75a05}{#1}");B("\\redA","\\textcolor{##fca9a9}{#1}");B("\\redB","\\textcolor{##ff8482}{#1}");B("\\redC","\\textcolor{##f9685d}{#1}");B("\\redD","\\textcolor{##e84d39}{#1}");
vendor: 4,555 bytes, line 772
772B("\\redE","\\textcolor{##bc2612}{#1}");B("\\maroonA","\\textcolor{##ffbde0}{#1}");B("\\maroonB","\\textcolor{##ff92c6}{#1}");B("\\maroonC","\\textcolor{##ed5fa6}{#1}");B("\\maroonD","\\textcolor{##ca337c}{#1}");B("\\maroonE","\\textcolor{##9e034e}{#1}");B("\\purpleA","\\textcolor{##ddd7ff}{#1}");B("\\purpleB","\\textcolor{##c6b9fc}{#1}");B("\\purpleC","\\textcolor{##aa87ff}{#1}");B("\\purpleD","\\textcolor{##7854ab}{#1}");B("\\purpleE","\\textcolor{##543b78}{#1}");B("\\mintA","\\textcolor{##f5f9e8}{#1}");B("\\mintB","\\textcolor{##edf2df}{#1}");B("\\mintC","\\textcolor{##e0e5cc}{#1}");B("\\grayA","\\textcolor{##f6f7f7}{#1}");B("\\grayB","\\textcolor{##f0f1f2}{#1}");B("\\grayC","\\textcolor{##e3e5e6}{#1}");B("\\grayD","\\textcolor{##d6d8da}{#1}");B("\\grayE","\\textcolor{##babec2}{#1}");B("\\grayF","\\textcolor{##888d93}{#1}");B("\\grayG","\\textcolor{##626569}{#1}");B("\\grayH","\\textcolor{##3b3e40}{#1}");B("\\grayI","\\textcolor{##21242c}{#1}");B("\\kaBlue","\\textcolor{##314453}{#1}");B("\\kaGreen","\\textcolor{##71B307}{#1}");var wT={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class dV{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 cV(uV,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new G8(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 Xr("EOF",r.loc)),this.pushTokens(a),new Xr("",Nr.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,c=0;do{if(i=this.popToken(),n.push(i),i.text==="{")++o;else if(i.text==="}"){if(--o,o===-1)throw new Ne("Extra }",i)}else if(i.text==="EOF")throw new Ne("Unexpected end of input in a macro argument, expected '"+(t&&r?t[c]:"}")+"'",i);if(t&&r)if((o===0||o===1&&t[c]==="{")&&i.text===t[c]){if(++c,c===t.length){n.splice(-c,c);break}}else c=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 Ne("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 Ne("Use of the macro doesn't match its definition",i)}}for(var o=[],c=0;c<t;c++)o.push(this.consumeArg(n&&n[c+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new Ne("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),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 Ne("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 c=i.length-1;c>=0;--c){var u=i[c];if(u.text==="#"){if(c===0)throw new Ne("Incomplete placeholder at end of macro body",u);if(u=i[--c],u.text==="#")i.splice(c+1,1);else if(/^[1-9]$/.test(u.text))i.splice(c,2,...o[+u.text-1]);else throw new Ne("Not a valid argument number",u)}}}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 Xr(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 772
772if(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 c=new G8(a,this.settings),u=[],h=c.lex();h.text!=="EOF";)u.push(h),h=c.lex();u.reverse();var g={tokens:u,numArgs:i};return g}return a}isDefined(t){return this.macros.has(t)||zi.hasOwnProperty(t)||qt.math.hasOwnProperty(t)||qt.text.hasOwnProperty(t)||wT.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:zi.hasOwnProperty(t)&&!zi[t].primitive}}var X8=/^[âââââââââââ
âââââââᵢⱼââââââáµ£ââᵤᵥâᵦᵧᵨᵩᵪ]/,Mh=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","áµ":"β","áµ":"γ","áµ":"δ","áµ ":"Ï","ᵡ":"Ï","á¶¿":"θ"}),Lg={"Ì":{text:"\\'",math:"\\acute"},"Ì":{text:"\\`",math:"\\grave"},"Ì":{text:'\\"',math:"\\ddot"},"Ì":{text:"\\~",math:"\\tilde"},"Ì":{text:"\\=",math:"\\bar"},"Ì":{text:"\\u",math:"\\breve"},"Ì":{text:"\\v",math:"\\check"},"Ì":{text:"\\^",math:"\\hat"},"Ì":{text:"\\.",math:"\\dot"},"Ì":{text:"\\r",math:"\\mathring"},"Ì":{text:"\\H"},"̧":{text:"\\c"}},W8={á:"aÌ",à :"aÌ",ä:"aÌ",Ç:"aÌÌ",ã:"aÌ",Ä:"aÌ",Ä:"aÌ",ắ:"aÌÌ",ằ:"aÌÌ",ẵ:"aÌÌ",Ç:"aÌ",â:"aÌ",ấ:"aÌÌ",ầ:"aÌÌ",ẫ:"aÌÌ",ȧ:"aÌ",Ç¡:"aÌÌ",Ã¥:"aÌ",Ç»:"aÌÌ",á¸:"bÌ",Ä:"cÌ",á¸:"çÌ",Ä:"cÌ",Ä:"cÌ",Ä:"cÌ",ç:"ç",Ä:"dÌ",á¸:"dÌ",á¸:"ḑ",é:"eÌ",è:"eÌ",ë:"eÌ",ẽ:"eÌ",Ä:"eÌ",á¸:"eÌÌ",á¸:"eÌÌ",Ä:"eÌ",á¸:"ȩÌ",Ä:"eÌ",ê:"eÌ",ế:"eÌÌ",á»:"eÌÌ",á»
:"eÌÌ",Ä:"eÌ",È©:"ȩ",á¸:"fÌ",ǵ:"gÌ",ḡ:"gÌ",Ä:"gÌ",ǧ:"gÌ",Ä:"gÌ",Ä¡:"gÌ",Ä£:"ģ",ḧ:"hÌ",È:"hÌ",Ä¥:"hÌ",ḣ:"hÌ",ḩ:"ḩ",Ã:"iÌ",ì:"iÌ",ï:"iÌ",ḯ:"iÌÌ",Ä©:"iÌ",Ä«:"iÌ",Ä:"iÌ",Ç:"iÌ",î:"iÌ",ǰ:"jÌ",ĵ:"jÌ",ḱ:"kÌ",Ç©:"kÌ",Ä·:"ķ",ĺ:"lÌ",ľ:"lÌ",ļ:"ļ",ḿ:"mÌ",á¹:"mÌ",Å:"nÌ",ǹ:"nÌ",ñ:"nÌ",Å:"nÌ",á¹
:"nÌ",Å:"ņ",ó:"oÌ",ò:"oÌ",ö:"oÌ",È«:"oÌÌ",õ:"oÌ",á¹:"oÌÌ",á¹:"oÌÌ",È:"oÌÌ",Å:"oÌ",á¹:"oÌÌ",á¹:"oÌÌ",Å:"oÌ",Ç:"oÌ",ô:"oÌ",á»:"oÌÌ",á»:"oÌÌ",á»:"oÌÌ",ȯ:"oÌ",ȱ:"oÌÌ",Å:"oÌ",á¹:"pÌ",á¹:"pÌ",Å:"rÌ",Å:"rÌ",á¹:"rÌ",Å:"ŗ",Å:"sÌ",á¹¥:"sÌÌ",Å¡:"sÌ",á¹§:"sÌÌ",Å:"sÌ",ṡ:"sÌ",Å:"ş",áº:"tÌ",Å¥:"tÌ",ṫ:"tÌ",Å£:"ţ",ú:"uÌ",ù:"uÌ",ü:"uÌ",Ç:"uÌÌ",Ç:"uÌÌ",Ç:"uÌÌ",Ç:"uÌÌ",Å©:"uÌ",á¹¹:"uÌÌ",Å«:"uÌ",á¹»:"uÌÌ",Å:"uÌ",Ç:"uÌ",û:"uÌ",ů:"uÌ",ű:"uÌ",á¹½:"vÌ",áº:"wÌ",áº:"wÌ",áº
:"wÌ",ŵ:"wÌ",áº:"wÌ",áº:"wÌ",áº:"xÌ",áº:"xÌ",ý:"yÌ",ỳ:"yÌ",ÿ:"yÌ",ỹ:"yÌ",ȳ:"yÌ",Å·:"yÌ",áº:"yÌ",áº:"yÌ",ź:"zÌ",ž:"zÌ",áº:"zÌ",ż:"zÌ",Ã:"AÌ",Ã:"AÌ",Ã:"AÌ",Ç:"AÌÌ",Ã:"AÌ",Ä:"AÌ",Ä:"AÌ",Ắ:"AÌÌ",Ằ:"AÌÌ",Ẵ:"AÌÌ",Ç:"AÌ",Ã:"AÌ",Ấ:"AÌÌ",Ầ:"AÌÌ",Ẫ:"AÌÌ",Ȧ:"AÌ",Ç :"AÌÌ",Ã
:"AÌ",Ǻ:"AÌÌ",á¸:"BÌ",Ä:"CÌ",á¸:"ÇÌ",Ä:"CÌ",Ä:"CÌ",Ä:"CÌ",Ã:"Ç",Ä:"DÌ",á¸:"DÌ",á¸:"Ḑ",Ã:"EÌ",Ã:"EÌ",Ã:"EÌ",Ẽ:"EÌ",Ä:"EÌ",á¸:"EÌÌ",á¸:"EÌÌ",Ä:"EÌ",á¸:"ȨÌ",Ä:"EÌ",Ã:"EÌ",Ế:"EÌÌ",á»:"EÌÌ",á»:"EÌÌ",Ä:"EÌ",Ȩ:"Ȩ",á¸:"FÌ",Ç´:"GÌ",Ḡ:"GÌ",Ä:"GÌ",Ǧ:"GÌ",Ä:"GÌ",Ä :"GÌ",Ä¢:"Ģ",Ḧ:"HÌ",È:"HÌ",Ĥ:"HÌ",Ḣ:"HÌ",Ḩ:"Ḩ",Ã:"IÌ",Ã:"IÌ",Ã:"IÌ",Ḯ:"IÌÌ",Ĩ:"IÌ",Ī:"IÌ",Ĭ:"IÌ",Ç:"IÌ",Ã:"IÌ",İ:"IÌ",Ä´:"JÌ",Ḱ:"KÌ",Ǩ:"KÌ",Ķ:"Ķ",Ĺ:"LÌ",Ľ:"LÌ",Ä»:"Ļ",Ḿ:"MÌ",á¹:"MÌ",Å:"NÌ",Ǹ:"NÌ",Ã:"NÌ",Å:"NÌ",á¹:"NÌ",Å
:"Ņ",Ã:"OÌ",Ã:"OÌ",Ã:"OÌ",Ȫ:"OÌÌ",Ã:"OÌ",á¹:"OÌÌ",á¹:"OÌÌ",Ȭ:"OÌÌ",Å:"OÌ",á¹:"OÌÌ",á¹:"OÌÌ",Å:"OÌ",Ç:"OÌ",Ã:"OÌ",á»:"OÌÌ",á»:"OÌÌ",á»:"OÌÌ",È®:"OÌ",Ȱ:"OÌÌ",Å:"OÌ",á¹:"PÌ",á¹:"PÌ",Å:"RÌ",Å:"RÌ",á¹:"RÌ",Å:"Ŗ",Å:"SÌ",Ṥ:"SÌÌ",Å :"SÌ",Ṧ:"SÌÌ",Å:"SÌ",á¹ :"SÌ",Å:"Ş",Ť:"TÌ",Ṫ:"TÌ",Å¢:"Ţ",Ã:"UÌ",Ã:"UÌ",Ã:"UÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ũ:"UÌ",Ṹ:"UÌÌ",Ū:"UÌ",Ṻ:"UÌÌ",Ŭ:"UÌ",Ç:"UÌ",Ã:"UÌ",Å®:"UÌ",Ű:"UÌ",á¹¼:"VÌ",áº:"WÌ",áº:"WÌ",áº:"WÌ",Å´:"WÌ",áº:"WÌ",áº:"XÌ",áº:"XÌ",Ã:"YÌ",Ỳ:"YÌ",Ÿ:"YÌ",Ỹ:"YÌ",Ȳ
vendor: 16,763 bytes, lines 772-774
772:"YÌ",Ŷ:"YÌ",áº:"YÌ",Ź:"ZÌ",Ž:"ZÌ",áº:"ZÌ",Å»:"ZÌ",ά:"αÌ",á½°:"αÌ",á¾±:"αÌ",á¾°:"αÌ",Î:"εÌ",á½²:"εÌ",ή:"ηÌ",á½´:"ηÌ",ί:"ιÌ",á½¶:"ιÌ",Ï:"ιÌ",Î:"ιÌÌ",á¿:"ιÌÌ",á¿:"ιÌ",á¿:"ιÌ",Ï:"οÌ",ὸ:"οÌ",Ï:"Ï Ì",ὺ:"Ï Ì",Ï:"Ï Ì",ΰ:"Ï ÌÌ",á¿¢:"Ï ÌÌ",á¿¡:"Ï Ì",á¿ :"Ï Ì",Ï:"ÏÌ",á½¼:"ÏÌ",Î:"Î¥Ì",Ὺ:"Î¥Ì",Ϋ:"Î¥Ì",á¿©:"Î¥Ì",Ῠ:"Î¥Ì",Î:"ΩÌ",Ὼ:"ΩÌ"};let ST=class TT{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 dV(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Ne("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new Xr("}")),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(TT.endOfExpression.indexOf(a.text)!==-1||n&&a.text===n||t&&zi[a.text]&&zi[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 Ne("only one infix operator per group",t[a].token);n=a,r=t[a].replaceWith}if(n!==-1&&r){var i,o,c=t.slice(0,n),u=t.slice(n+1);c.length===1&&c[0].type==="ordgroup"?i=c[0]:i={type:"ordgroup",mode:this.mode,body:c},u.length===1&&u[0].type==="ordgroup"?o=u[0]:o={type:"ordgroup",mode:this.mode,body:u};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 Ne("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 Ne("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(r)throw new Ne("Double superscript",i);r=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new Ne("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(r)throw new Ne("Double superscript",i);var c={type:"textord",mode:this.mode,text:"\\prime"},u=[c];for(this.consume();this.fetch().text==="'";)u.push(c),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:u}}else if(Mh[i.text]){var h=X8.test(i.text),g=[];for(g.push(new Xr(Mh[i.text])),this.consume();;){var p=this.fetch().text;if(!Mh[p]||X8.test(p)!==h)break;g.unshift(new Xr(Mh[p])),this.consume()}var b=this.subparse(g);h?a={type:"ordgroup",mode:"math",body:b}:r={type:"ordgroup",mode:"math",body:b}}else break}return r||a?{type:"supsub",mode:this.mode,base:n,sup:r,sub:a}:n}parseFunction(t,n){var r=this.fetch(),a=r.text,i=zi[a];if(!i)return null;if(this.consume(),n&&n!=="atom"&&!i.allowedInArgument)throw new Ne("Got function '"+a+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!i.allowedInText)throw new Ne("Can't use function '"+a+"' in text mode",r);if(this.mode==="math"&&i.allowedInMath===!1)throw new Ne("Can't use function '"+a+"' in math mode",r);var{args:o,optArgs:c}=this.parseArguments(a,i);return this.callFunction(a,o,c,r,t)}callFunction(t,n,r,a,i){var o={funcName:t,parser:this,token:a,breakOnTokenText:i},c=zi[t];if(c&&c.handler)return c.handler(o,n,r);throw new Ne("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 c=n.argTypes&&n.argTypes[o],u=o<n.numOptionalArgs;(n.primitive&&c==null||n.type==="sqrt"&&o===1&&i[0]==null)&&(c="primitive");var h=this.parseGroupOfType("argument to '"+t+"'",c,u);if(u)i.push(h);else if(h!=null)a.push(h);else throw new Ne("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 Ne("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new Ne("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new Ne("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 Ne("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 Ne("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 Ne("Invalid size: '"+n.text+"'",n);var i={number:+(a[1]+a[2]),unit:a[3]};if(!D9(i))throw new Ne("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 c=this.parseExpression(!1,o),u=this.fetch();this.expect(o),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:Nr.range(r,u),body:c,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(n,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!wT.hasOwnProperty(a)){if(this.settings.throwOnError)throw new Ne("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:Nr.range(a,t[r+2]),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Nr.range(a,t[r+1]),text:"--"}),n-=1)),(i==="'"||i==="`")&&t[r+1].text===i&&(t.splice(r,2,{type:"textord",mode:"text",loc:Nr.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 Ne(`\\verb assertion failed -- 773 please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:a}}W8.hasOwnProperty(n[0])&&!qt[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=W8[n[0]]+n.slice(1));var i=oV.exec(n);i&&(n=n.substring(0,i.index),n==="i"?n="ı":n==="j"&&(n="È·"));var o;if(qt[this.mode][n]){this.settings.strict&&this.mode==="math"&&Q2.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var c=qt[this.mode][n].group,u=Nr.range(t),h;if(JU.hasOwnProperty(c)){var g=c;h={type:"atom",mode:this.mode,family:g,loc:u,text:n}}else h={type:c,mode:this.mode,loc:u,text:n};o=h}else if(n.charCodeAt(0)>=128)this.settings.strict&&(O9(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:Nr.range(t),text:n};else return null;if(this.consume(),i)for(var p=0;p<i[0].length;p++){var b=i[0][p];if(!Lg[b])throw new Ne("Unknown accent ' "+b+"'",t);var y=Lg[b][this.mode]||Lg[b].text;if(!y)throw new Ne("Accent "+b+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Nr.range(t),label:y,isStretchy:!1,isShifty:!0,base:o}}return o}};ST.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Ib=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new ST(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 Ne("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new Xr("\\df@tag")])}]}return a},Lb=function(t,n,r){n.textContent="";var a=bm(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."),Lb=function(){throw new Ne("KaTeX doesn't work in quirks mode.")});var kT=function(t,n){var r=bm(t,n).toMarkup();return r},_T=function(t,n){var r=new gb(n);return Ib(t,r)},AT=function(t,n,r){if(r.throwOnError||!(t instanceof Ne))throw t;var a=de.makeSpan(["katex-error"],[new ba(n)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+r.errorColor),a},bm=function(t,n){var r=new gb(n);try{var a=Ib(t,r);return wq(a,t,r)}catch(i){return AT(i,t,r)}},NT=function(t,n){var r=new gb(n);try{var a=Ib(t,r);return Sq(a,t,r)}catch(i){return AT(i,t,r)}},CT="0.16.25",OT={Span:$0,Anchor:yb,SymbolNode:ba,SvgNode:Xs,PathNode:Xi,LineNode:Y2},ex={version:CT,render:Lb,renderToString:kT,ParseError:Ne,SETTINGS_SCHEMA:Ku,__parse:_T,__renderToDomTree:bm,__renderToHTMLTree:NT,__setFontMetrics:R9,__defineSymbol:S,__defineFunction:Be,__defineMacro:B,__domTree:OT};const bre=Object.freeze(Object.defineProperty({__proto__:null,ParseError:Ne,SETTINGS_SCHEMA:Ku,__defineFunction:Be,__defineMacro:B,__defineSymbol:S,__domTree:OT,__parse:_T,__renderToDomTree:bm,__renderToHTMLTree:NT,__setFontMetrics:R9,default:ex,get render(){return Lb},renderToString:kT,version:CT},Symbol.toStringTag,{value:"Module"})),hV={},fV=[];function mV(e){const t=e||hV;return function(n,r){fb(n,"element",function(a,i){const o=Array.isArray(a.properties.className)?a.properties.className:fV,c=o.includes("language-math"),u=o.includes("math-display"),h=o.includes("math-inline");let g=u;if(!c&&!u&&!h)return;let p=i[i.length-1],b=a;if(a.tagName==="code"&&c&&p&&p.type==="element"&&p.tagName==="pre"&&(b=p,p=i[i.length-2],g=!0),!p)return;const y=hU(b,{whitespace:"pre"});let w;try{w=ex.renderToString(y,{...t,displayMode:g,throwOnError:!0})}catch(A){const N=A,R=N.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:N,place:a.position,ruleId:R,source:"rehype-katex"});try{w=ex.renderToString(y,{...t,displayMode:g,strict:"ignore",throwOnError:!1})}catch{w=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(A)},children:[{type:"text",value:y}]}]}}typeof w=="string"&&(w=aU(w).children);const T=p.children.indexOf(b);return p.children.splice(T,1,...w),mf})}}function pV(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 c=n[o];if(c===void 0){const u=K8(t,n[o-1]);c=u===-1?t.length+1:u+1,n[o]=c}if(c>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 c=n[n.length-1],u=K8(t,c),h=u===-1?t.length+1:u+1;if(c===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 K8(e,t){const n=e.indexOf("\r",t),r=e.indexOf(` 774`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const RT={}.hasOwnProperty,gV=Object.prototype;function xV(e,t){const n=t||{};return Pb({file:n.file||void 0,location:!1,schema:n.space==="svg"?Ji:F0,verbose:n.verbose||!1},e)}function Pb(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Kh(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:DT(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),o=pV(i),c=o.toPoint(0),u=o.toPoint(i.length);n.position={start:c,end:u}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Kh(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Kh(e,r,n),n}default:return n=bV(e,t),n}}function DT(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=Pb(e,t[n]);r.push(a)}return r}function bV(e,t){const n=e.schema;e.schema=t.namespaceURI===es.svg?Ji:F0;let r=-1;const a={};for(;++r<t.attrs.length;){const c=t.attrs[r],u=(c.prefix?c.prefix+":":"")+c.name;RT.call(gV,u)||(a[u]=c.value)}const o=(e.schema.space==="svg"?w9:E9)(t.tagName,a,DT(e,t.childNodes));if(Kh(e,t,o),o.tagName==="template"){const c=t,u=c.sourceCodeLocation,h=u&&u.startTag&&ic(u.startTag),g=u&&u.endTag&&ic(u.endTag),p=Pb(e,c.content);h&&g&&e.file&&(p.position={start:h.end,end:g.start}),o.content=p}return e.schema=n,o}function Kh(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=yV(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function yV(e,t,n){const r=ic(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)RT.call(n.attrs,o)&&(i[im(e.schema,o).property]=ic(n.attrs[o]));n.startTag;const c=ic(n.startTag),u=n.endTag?ic(n.endTag):void 0,h={opening:c};u&&(h.closing=u),h.properties=i,t.data={position:h}}}return r}function ic(e){const t=Z8({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Z8({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Z8(e){return e.line&&e.column?e:void 0}class Y0{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Y0.prototype.property={};Y0.prototype.normal={};Y0.prototype.space=null;function MT(e,t){const n={},r={};let a=-1;for(;++a<e.length;
vendor: 4,191 bytes, line 774
774)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new Y0(n,r,t)}function tx(e){return e.toLowerCase()}class va{constructor(t,n){this.property=t,this.attribute=n}}va.prototype.space=null;va.prototype.boolean=!1;va.prototype.booleanish=!1;va.prototype.overloadedBoolean=!1;va.prototype.number=!1;va.prototype.commaSeparated=!1;va.prototype.spaceSeparated=!1;va.prototype.commaOrSpaceSeparated=!1;va.prototype.mustUseProperty=!1;va.prototype.defined=!1;let vV=0;const it=sl(),En=sl(),IT=sl(),Oe=sl(),Ht=sl(),dc=sl(),Ur=sl();function sl(){return 2**++vV}const nx=Object.freeze(Object.defineProperty({__proto__:null,boolean:it,booleanish:En,commaOrSpaceSeparated:Ur,commaSeparated:dc,number:Oe,overloadedBoolean:IT,spaceSeparated:Ht},Symbol.toStringTag,{value:"Module"})),Pg=Object.keys(nx);class jb extends va{constructor(t,n,r,a){let i=-1;if(super(t,n),J8(this,"space",a),typeof r=="number")for(;++i<Pg.length;){const o=Pg[i];J8(this,Pg[i],(r&nx[o])===nx[o])}}}jb.prototype.defined=!0;function J8(e,t,n){n&&(e[t]=n)}const EV={}.hasOwnProperty;function Rc(e){const t={},n={};let r;for(r in e.properties)if(EV.call(e.properties,r)){const a=e.properties[r],i=new jb(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[tx(r)]=r,n[tx(i.attribute)]=r}return new Y0(t,n,e.space)}const LT=Rc({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}}),PT=Rc({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function jT(e,t){return t in e?e[t]:t}function BT(e,t){return jT(e,t.toLowerCase())}const zT=Rc({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:BT,properties:{xmlns:null,xmlnsXLink:null}}),FT=Rc({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:En,ariaAutoComplete:null,ariaBusy:En,ariaChecked:En,ariaColCount:Oe,ariaColIndex:Oe,ariaColSpan:Oe,ariaControls:Ht,ariaCurrent:null,ariaDescribedBy:Ht,ariaDetails:null,ariaDisabled:En,ariaDropEffect:Ht,ariaErrorMessage:null,ariaExpanded:En,ariaFlowTo:Ht,ariaGrabbed:En,ariaHasPopup:null,ariaHidden:En,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ht,ariaLevel:Oe,ariaLive:null,ariaModal:En,ariaMultiLine:En,ariaMultiSelectable:En,ariaOrientation:null,ariaOwns:Ht,ariaPlaceholder:null,ariaPosInSet:Oe,ariaPressed:En,ariaReadOnly:En,ariaRelevant:null,ariaRequired:En,ariaRoleDescription:Ht,ariaRowCount:Oe,ariaRowIndex:Oe,ariaRowSpan:Oe,ariaSelected:En,ariaSetSize:Oe,ariaSort:null,ariaValueMax:Oe,ariaValueMin:Oe,ariaValueNow:Oe,ariaValueText:null,role:null}}),wV=Rc({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:BT,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:dc,acceptCharset:Ht,accessKey:Ht,action:null,allow:null,allowFullScreen:it,allowPaymentRequest:it,allowUserMedia:it,alt:null,as:null,async:it,autoCapitalize:null,autoComplete:Ht,autoFocus:it,autoPlay:it,blocking:Ht,capture:null,charSet:null,checked:it,cite:null,className:Ht,cols:Oe,colSpan:null,content:null,contentEditable:En,controls:it,controlsList:Ht,coords:Oe|dc,crossOrigin:null,data:null,dateTime:null,decoding:null,default:it,defer:it,dir:null,dirName:null,disabled:it,download:IT,draggable:En,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:it,formTarget:null,headers:Ht,height:Oe,hidden:it,high:Oe,href:null,hrefLang:null,htmlFor:Ht,httpEquiv:Ht,id:null,imageSizes:null,imageSrcSet:null,inert:it,inputMode:null,integrity:null,is:null,isMap:it,itemId:null,itemProp:Ht,itemRef:Ht,itemScope:it,itemType:Ht,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:it,low:Oe,manifest:null,max:null,maxLength:Oe,media:null,method:null,min:null,minLength:Oe,multiple:it,muted:it,name:null,nonce:null,noModule:it,noValidate:it,onAbort:null,onAfterPrint:null,onAuxCl
774ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:it,optimum:Oe,pattern:null,ping:Ht,placeholder:null,playsInline:it,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:it,referrerPolicy:null,rel:Ht,required:it,reversed:it,rows:Oe,rowSpan:Oe,sandbox:Ht,scope:null,scoped:it,seamless:it,selected:it,shadowRootClonable:it,shadowRootDelegatesFocus:it,shadowRootMode:null,shape:null,size:Oe,sizes:null,slot:null,span:Oe,spellCheck:En,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:it,useMap:null,value:En,width:Oe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ht,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:it,declare:it,event:null,face:null,frame:null,frameBorder:null,hSpace:Oe,leftMargin:Oe,link:null,longDesc:null,lowSrc:null,marginHeight:Oe,marginWidth:Oe,noResize:it,noHref:it,noShade:it,noWrap:it,object:null,profile:null,prompt:null,rev:null,rightMargin:Oe,rules:null,scheme:null,scrolling:En,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:it,disableRemotePlayback:it,prefix:null,property:null,results:Oe,security:null,unselectable:null}}),SV=Rc({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav
774-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:jT,properties:{about:Ur,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:Ht,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Oe,diffuseConstant:Oe,direction:null,display:null,dur:null,divisor:Oe,dominantBaseline:null,download:it,dx:null,dy:null,edgeMode:null,editable:null,elevation:Oe,enableBackgroun
vendor: 5,416 bytes, line 774
774d: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:dc,g2:dc,glyphName:dc,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:Ur,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:Ht,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Oe,pointsAtY:Oe,pointsAtZ:Oe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ur,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ur,rev:Ur,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ur,requiredFeatures:Ur,requiredFonts:Ur,requiredFormats:Ur,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:Ur,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:Ur,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:Ur,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}}),TV=/^data[-\w.:]+$/i,e7=/-[a-z]/g,kV=/[A-Z]/g;function _V(e,t){const n=tx(t);let r=t,a=va;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&TV.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(e7,NV);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!e7.test(i)){let o=i.replace(kV,AV);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=jb}return new a(r,t)}function AV(e){return"-"+e.toLowerCase()}function NV(e){return e.charAt(1).toUpperCase()}const CV=MT([PT,LT,zT,FT,wV],"html"),HT=MT([PT,LT,zT,FT,SV],"svg"),t7={}.hasOwnProperty;function Bb(e,t){const n=t||{};
vendor: 4,594 bytes, line 774
774function r(a,...i){let o=r.invalid;const c=r.handlers;if(a&&t7.call(a,e)){const u=String(a[e]);o=t7.call(c,u)?c[u]: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 OV={},RV={}.hasOwnProperty,UT=Bb("type",{handlers:{root:MV,element:BV,text:PV,comment:jV,doctype:LV}});function DV(e,t){const r=(t||OV).space;return UT(e,r==="svg"?HT:CV)}function MV(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=zb(e.children,n,t),Dc(e,n),n}function IV(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=zb(e.children,n,t),Dc(e,n),n}function LV(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Dc(e,t),t}function PV(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Dc(e,t),t}function jV(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Dc(e,t),t}function BV(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=HT);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&RV.call(e.properties,i)){const u=zV(r,i,e.properties[i]);u&&a.push(u)}}const o=r.space,c={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:es[o],childNodes:[],parentNode:null};return c.childNodes=zb(e.children,c,r),Dc(e,c),e.tagName==="template"&&e.content&&(c.content=IV(e.content,r)),c}function zV(e,t,n){const r=_V(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?eb(n):nb(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 zb(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const i=UT(e[r],n);i.parentNode=t,a.push(i)}return a}function Dc(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 qT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],FV=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]),Qt="�";var F;(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"})(F||(F={}));const Tr={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function VT(e){return e>=55296&&e<=57343}function HV(e){return e>=56320&&e<=57343}function UV(e,t){return(e-55296)*1024+9216+t}function $T(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function GT(e){return e>=64976&&e<=65007||FV.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 774
774dFirstCharacterOfTagName="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 qV=65536;class VV{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=qV,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,c=i+n;return{code:t,startLine:r,endLine:r,startCol:o,endCol:o,startOffset:c,endOffset:c}}_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(HV(n))return this.pos++,this._addGap(),UV(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,F.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,F.EOF;const r=this.html.charCodeAt(n);return r===F.CARRIAGE_RETURN?F.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,F.EOF;let t=this.html.charCodeAt(this.pos);return t===F.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,F.LINE_FEED):t===F.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,VT(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===F.LINE_FEED||t===F.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){$T(t)?this._err(xe.controlCharacterInInputStream):GT(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 YT(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 $V=new Uint16Array('
vendor: 16,129 bytes, line 774
774áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\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ÈDMPTÇÇÇÇ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;æbleÌ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;æ¥nÌ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;ä
»Ç²á\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;áºáº¤Ä³áº¡áº£;æ;æ
æÄ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;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±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 774
774ä»È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â§à¬¸Ç³â§\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᪠âµâµÇâµ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 774
774astÐâ¹§â¹²àº
è¶;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ãããµã¼Ç²ã\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;æ
774'.split("").map(e=>e.charCodeAt(0))),GV=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 YV(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=GV.get(e))!==null&&t!==void 0?t:e}var Ln;(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"})(Ln||(Ln={}));const QV=32;var Fi;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Fi||(Fi={}));function rx(e){return e>=Ln.ZERO&&e<=Ln.NINE}function XV(e){return e>=Ln.UPPER_A&&e<=Ln.UPPER_F||e>=Ln.LOWER_A&&e<=Ln.LOWER_F}function WV(e){return e>=Ln.UPPER_A&&e<=Ln.UPPER_Z||e>=Ln.LOWER_A&&e<=Ln.LOWER_Z||rx(e)}function KV(e){return e===Ln.EQUALS||WV(e)}var Mn;(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"})(Mn||(Mn={}));var Hs;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}
vendor: 5,803 bytes, line 774
774)(Hs||(Hs={}));class ZV{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Mn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Hs.Strict}startEntity(t){this.decodeMode=t,this.state=Mn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Mn.EntityStart:return t.charCodeAt(n)===Ln.NUM?(this.state=Mn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Mn.NamedEntity,this.stateNamedEntity(t,n));case Mn.NumericStart:return this.stateNumericStart(t,n);case Mn.NumericDecimal:return this.stateNumericDecimal(t,n);case Mn.NumericHex:return this.stateNumericHex(t,n);case Mn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|QV)===Ln.LOWER_X?(this.state=Mn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Mn.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(rx(a)||XV(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(rx(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===Ln.SEMI)this.consumed+=1;else if(this.decodeMode===Hs.Strict)return 0;return this.emitCodePoint(YV(this.result),this.consumed),this.errors&&(t!==Ln.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&Fi.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=JV(r,a,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===Hs.Attribute&&(i===0||KV(o))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],i=(a&Fi.VALUE_LENGTH)>>14,i!==0){if(o===Ln.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Hs.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]&Fi.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]&~Fi.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case Mn.NamedEntity:return this.result!==0&&(this.decodeMode!==Hs.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Mn.NumericDecimal:return this.emitNumericEntity(0,2);case Mn.NumericHex:return this.emitNumericEntity(0,3);case Mn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Mn.EntityStart:return 0}}}function JV(e,t,n,r){const a=(t&Fi.BRANCH_LENGTH)>>7,i=t&Fi.JUMP_TABLE;if(a===0)return i!==0&&r===i?n:-1;if(i){const u=r-i;return u<0||u>=a?-1:e[n+u]-1}let o=n,c=o+a-1;for(;o<=c;){const u=o+c>>>1,h=e[u];if(h<r)o=u+1;else if(h>r)c=u-1;else return e[u+a]}return-1}var ke;(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/"})(ke||(ke={}));var Fo;(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"})(Fo||(Fo={}));var ha;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ha||(ha={}));var le;(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
774ike",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"})(le||(le={}));var E;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(E||(E={}));const e$=new Map([[le.A,E.A],[le.ADDRESS,E.ADDRESS],[le.ANNOTATION_XML,E.ANNOTATION_XML],[le.APPLET,E.APPLET],[le.AREA,E.AREA],[le.ARTICLE,E.ARTICLE],[le.ASIDE,E.ASIDE],[le.B,E.B],[le.BASE,E.BASE],[le.BASEFONT,E.BASEFONT],[le.BGSOUND,E.BGSOUND],[le.BIG,E.BIG],[le.BLOCKQUOTE,E.BLOCKQUOTE],[le.BODY,E.BODY],[le.BR,E.BR],[le.BUTTON,E.BUTTON],[le.CAPTION,E.CAPTION],[le.CENTER,E.CENTER],[le.CODE,E.CODE],[le.COL,E.COL],[le.COLGROUP,E.COLGROUP],[le.DD,E.DD],[le.DESC,E.DESC],[le.DETAILS,E.DETAILS],[le.DIALOG,E.DIALOG],[le.DIR,E.DIR],[le.DIV,E.DIV],[le.DL,E.DL],[le.DT,E.DT],[le.EM,E.EM],[le.EMBED,E.EMBED],[le.FIELDSET,E.FIELDSET],[le.FIGCAPTION,E.FIGCAPTION],[le.FIGURE,E.FIGURE],[le.FONT,E.FONT],[le.FOOTER,E.FOOTER],[le.FOREIGN_OBJECT,E.FOREIGN_OBJECT],[le.FORM,E.FORM],[le.FRAME,E.FRAME],[le.FRAMESET,E.FRAMESET],[le.H1,E.H1],[le.H2,E.H2],[le.H3,E.H3],[le.H4,E.H4],[le.H5,E.H5],[le.H6,E.H6],[le.HEAD,E.HEAD],[le.HEADER,E.HEADER],[le.HGROUP,E.HGROUP],[le.HR,E.HR],[le.HTML,E.HTML],[le.I,E.I],[le.IMG,E.IMG],[le.IMAGE,E.IMAGE],[le.INPUT,E.INPUT],[le.IFRAME,E.IFRAME],[le.KEYGEN,E.KEYGEN],[le.LABEL,E.LABEL],[le.LI,E.LI],[le.LINK,E.LINK],[le.LISTING,E.LISTING],[le.MAIN,E.MAIN],[le.MALIGNMARK,E.MALIGNMARK],[le.MARQUEE,E.MARQUEE],[le.MATH,E.MATH],[le.MENU,E.MENU],[le.META,E.META],[le.MGLYPH,E.MGLYPH],[le.MI,E.MI],[le.MO,E.MO],[le.MN,E.MN],[le.MS,E.MS],[le.MTEXT,E.MTEXT],[le.NAV,E.NAV],[le.NOBR,E.NOBR],[le.NOFRAMES,E.NOFRAMES],[le.NOEMBED,E.NOEMBED],[le.NOSCRIPT,E.NOSCRIPT],[le.OBJECT,E.OBJECT],[le.OL,E.OL],[le.OPTGROUP,E.OPTGROUP],[le.OPTION,E.OPTION],[le.P,E.P],[le.PARAM,E.PARAM],[le.PLAINTEXT,E.PLAINTEXT],[le.PRE,E.PRE],[le.RB,E.RB],[le.RP,E.RP],[le.RT,E.RT],[le.RTC,E.RTC],[le.RUBY,E.RUBY],[le.S,E.S],[le.SCR
vendor: 117,248 bytes, line 774
774IPT,E.SCRIPT],[le.SEARCH,E.SEARCH],[le.SECTION,E.SECTION],[le.SELECT,E.SELECT],[le.SOURCE,E.SOURCE],[le.SMALL,E.SMALL],[le.SPAN,E.SPAN],[le.STRIKE,E.STRIKE],[le.STRONG,E.STRONG],[le.STYLE,E.STYLE],[le.SUB,E.SUB],[le.SUMMARY,E.SUMMARY],[le.SUP,E.SUP],[le.TABLE,E.TABLE],[le.TBODY,E.TBODY],[le.TEMPLATE,E.TEMPLATE],[le.TEXTAREA,E.TEXTAREA],[le.TFOOT,E.TFOOT],[le.TD,E.TD],[le.TH,E.TH],[le.THEAD,E.THEAD],[le.TITLE,E.TITLE],[le.TR,E.TR],[le.TRACK,E.TRACK],[le.TT,E.TT],[le.U,E.U],[le.UL,E.UL],[le.SVG,E.SVG],[le.VAR,E.VAR],[le.WBR,E.WBR],[le.XMP,E.XMP]]);function Mc(e){var t;return(t=e$.get(e))!==null&&t!==void 0?t:E.UNKNOWN}const _e=E,t$={[ke.HTML]:new Set([_e.ADDRESS,_e.APPLET,_e.AREA,_e.ARTICLE,_e.ASIDE,_e.BASE,_e.BASEFONT,_e.BGSOUND,_e.BLOCKQUOTE,_e.BODY,_e.BR,_e.BUTTON,_e.CAPTION,_e.CENTER,_e.COL,_e.COLGROUP,_e.DD,_e.DETAILS,_e.DIR,_e.DIV,_e.DL,_e.DT,_e.EMBED,_e.FIELDSET,_e.FIGCAPTION,_e.FIGURE,_e.FOOTER,_e.FORM,_e.FRAME,_e.FRAMESET,_e.H1,_e.H2,_e.H3,_e.H4,_e.H5,_e.H6,_e.HEAD,_e.HEADER,_e.HGROUP,_e.HR,_e.HTML,_e.IFRAME,_e.IMG,_e.INPUT,_e.LI,_e.LINK,_e.LISTING,_e.MAIN,_e.MARQUEE,_e.MENU,_e.META,_e.NAV,_e.NOEMBED,_e.NOFRAMES,_e.NOSCRIPT,_e.OBJECT,_e.OL,_e.P,_e.PARAM,_e.PLAINTEXT,_e.PRE,_e.SCRIPT,_e.SECTION,_e.SELECT,_e.SOURCE,_e.STYLE,_e.SUMMARY,_e.TABLE,_e.TBODY,_e.TD,_e.TEMPLATE,_e.TEXTAREA,_e.TFOOT,_e.TH,_e.THEAD,_e.TITLE,_e.TR,_e.TRACK,_e.UL,_e.WBR,_e.XMP]),[ke.MATHML]:new Set([_e.MI,_e.MO,_e.MN,_e.MS,_e.MTEXT,_e.ANNOTATION_XML]),[ke.SVG]:new Set([_e.TITLE,_e.FOREIGN_OBJECT,_e.DESC]),[ke.XLINK]:new Set,[ke.XML]:new Set,[ke.XMLNS]:new Set},ax=new Set([_e.H1,_e.H2,_e.H3,_e.H4,_e.H5,_e.H6]);le.STYLE,le.SCRIPT,le.XMP,le.IFRAME,le.NOEMBED,le.NOFRAMES,le.PLAINTEXT;var $;(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"})($||($={}));const fn={DATA:$.DATA,RCDATA:$.RCDATA,RAWTEXT:$.RAWTEXT,SCRIPT_DATA:$.SCRIPT_DATA,PLAINTEXT:$.PLAINTEXT,CDATA_SECTION:$.CDATA_SECTION};function n$(e){return e>=F.DIGIT_0&&e<=F.DIGIT_9}function qu(e){return e>=F.LATIN_CAPITAL_A&&e<=F.LATIN_CAPITAL_Z}function r$(e){return e>=F.LATIN_SMALL_A&&e<=F.LATIN_SMALL_Z}function Di(e){return r$(e)||qu(e)}function n7(e){return Di(e)||n$(e)}function Ih(e){return e+32}function QT(e){return e===F.SPACE||e===F.LINE_FEED||e===F.TABULATION||e===F.FORM_FEED}function r7(e){return QT(e)||e===F.SOLIDUS||e===F.GREATER_THAN_SIGN}function a$(e){return e===F.NULL?xe.nullCharacterReference:e>1114111?xe.characterReferenceOutsideUnicodeRange:VT(e)?xe.surrogateCharacterReference:GT(e)?xe.noncharacterCharacterReference:$T(e)||e===F.CARRIAGE_RETURN?xe.controlCharacterReference:null}class s${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=$.DATA,this.returnState=$.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new VV(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ZV($V,(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=a$(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:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ht.END_TAG,tagName:"",tagID:E.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(YT(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=Mc(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=QT(t)?ht.WHITESPACE_CHARACTER:t===F.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=$.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Hs.Attribute:Hs.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===$.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===$.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===$.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case $.DATA:{this._stateData(t);break}case $.RCDATA:{this._stateRcdata(t);break}case $.RAWTEXT:{this._stateRawtext(t);break}case $.SCRIPT_DATA:{this._stateScriptData(t);break}case $.PLAINTEXT:{this._statePlaintext(t);break}case $.TAG_OPEN:{this._stateTagOpen(t);break}case $.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case $.TAG_NAME:{this._stateTagName(t);break}case $.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case $.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case $.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case $.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case $.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case $.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case $.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case $.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case $.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case $.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case $.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case $.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case $.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case $.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case $.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case $.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case $.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case $.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case $.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case $.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case $.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case $.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case $.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case $.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case $.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case $.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case $.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case $.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case $.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case $.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case $.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case $.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case $.BOGUS_COMMENT:{this._stateBogusComment(t);break}case $.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case $.COMMENT_START:{this._stateCommentStart(t);break}case $.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case $.COMMENT:{this._stateComment(t);break}case $.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case $.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case $.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case $.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case $.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case $.COMMENT_END:{this._stateCommentEnd(t);break}case $.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case $.DOCTYPE:{this._stateDoctype(t);break}case $.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case $.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case $.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case $.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case $.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case $.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case $.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case $.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case $.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case $.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case $.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case $.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case $.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case $.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case $.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case $.CDATA_SECTION:{this._stateCdataSection(t);break}case $.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case $.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case $.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case $.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case F.LESS_THAN_SIGN:{this.state=$.TAG_OPEN;break}case F.AMPERSAND:{this._startCharacterReference();break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this._emitCodePoint(t);break}case F.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case F.AMPERSAND:{this._startCharacterReference();break}case F.LESS_THAN_SIGN:{this.state=$.RCDATA_LESS_THAN_SIGN;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Qt);break}case F.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case F.LESS_THAN_SIGN:{this.state=$.RAWTEXT_LESS_THAN_SIGN;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Qt);break}case F.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case F.LESS_THAN_SIGN:{this.state=$.SCRIPT_DATA_LESS_THAN_SIGN;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Qt);break}case F.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case F.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Qt);break}case F.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Di(t))this._createStartTagToken(),this.state=$.TAG_NAME,this._stateTagName(t);else switch(t){case F.EXCLAMATION_MARK:{this.state=$.MARKUP_DECLARATION_OPEN;break}case F.SOLIDUS:{this.state=$.END_TAG_OPEN;break}case F.QUESTION_MARK:{this._err(xe.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=$.BOGUS_COMMENT,this._stateBogusComment(t);break}case F.EOF:{this._err(xe.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(xe.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=$.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Di(t))this._createEndTagToken(),this.state=$.TAG_NAME,this._stateTagName(t);else switch(t){case F.GREATER_THAN_SIGN:{this._err(xe.missingEndTagName),this.state=$.DATA;break}case F.EOF:{this._err(xe.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(xe.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=$.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:{this.state=$.BEFORE_ATTRIBUTE_NAME;break}case F.SOLIDUS:{this.state=$.SELF_CLOSING_START_TAG;break}case F.GREATER_THAN_SIGN:{this.state=$.DATA,this.emitCurrentTagToken();break}case F.NULL:{this._err(xe.unexpectedNullCharacter),n.tagName+=Qt;break}case F.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(qu(t)?Ih(t):t)}}_stateRcdataLessThanSign(t){t===F.SOLIDUS?this.state=$.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=$.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Di(t)?(this.state=$.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=$.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 F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=$.BEFORE_ATTRIBUTE_NAME,!1;case F.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=$.SELF_CLOSING_START_TAG,!1;case F.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=$.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=$.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===F.SOLIDUS?this.state=$.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=$.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Di(t)?(this.state=$.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=$.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=$.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case F.SOLIDUS:{this.state=$.SCRIPT_DATA_END_TAG_OPEN;break}case F.EXCLAMATION_MARK:{this.state=$.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=$.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Di(t)?(this.state=$.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=$.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=$.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===F.HYPHEN_MINUS?(this.state=$.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=$.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===F.HYPHEN_MINUS?(this.state=$.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=$.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case F.HYPHEN_MINUS:{this.state=$.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case F.LESS_THAN_SIGN:{this.state=$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Qt);break}case F.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case F.HYPHEN_MINUS:{this.state=$.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case F.LESS_THAN_SIGN:{this.state=$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this.state=$.SCRIPT_DATA_ESCAPED,this._emitChars(Qt);break}case F.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=$.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case F.HYPHEN_MINUS:{this._emitChars("-");break}case F.LESS_THAN_SIGN:{this.state=$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case F.GREATER_THAN_SIGN:{this.state=$.SCRIPT_DATA,this._emitChars(">");break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this.state=$.SCRIPT_DATA_ESCAPED,this._emitChars(Qt);break}case F.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=$.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===F.SOLIDUS?this.state=$.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Di(t)?(this._emitChars("<"),this.state=$.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Di(t)?(this.state=$.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Tr.SCRIPT,!1)&&r7(this.preprocessor.peek(Tr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Tr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case F.HYPHEN_MINUS:{this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case F.LESS_THAN_SIGN:{this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Qt);break}case F.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case F.HYPHEN_MINUS:{this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case F.LESS_THAN_SIGN:{this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Qt);break}case F.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case F.HYPHEN_MINUS:{this._emitChars("-");break}case F.LESS_THAN_SIGN:{this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case F.GREATER_THAN_SIGN:{this.state=$.SCRIPT_DATA,this._emitChars(">");break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Qt);break}case F.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===F.SOLIDUS?(this.state=$.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Tr.SCRIPT,!1)&&r7(this.preprocessor.peek(Tr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Tr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=$.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=$.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.SOLIDUS:case F.GREATER_THAN_SIGN:case F.EOF:{this.state=$.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case F.EQUALS_SIGN:{this._err(xe.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=$.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=$.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:case F.SOLIDUS:case F.GREATER_THAN_SIGN:case F.EOF:{this._leaveAttrName(),this.state=$.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case F.EQUALS_SIGN:{this._leaveAttrName(),this.state=$.BEFORE_ATTRIBUTE_VALUE;break}case F.QUOTATION_MARK:case F.APOSTROPHE:case F.LESS_THAN_SIGN:{this._err(xe.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this.currentAttr.name+=Qt;break}default:this.currentAttr.name+=String.fromCodePoint(qu(t)?Ih(t):t)}}_stateAfterAttributeName(t){switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.SOLIDUS:{this.state=$.SELF_CLOSING_START_TAG;break}case F.EQUALS_SIGN:{this.state=$.BEFORE_ATTRIBUTE_VALUE;break}case F.GREATER_THAN_SIGN:{this.state=$.DATA,this.emitCurrentTagToken();break}case F.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=$.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.QUOTATION_MARK:{this.state=$.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case F.APOSTROPHE:{this.state=$.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case F.GREATER_THAN_SIGN:{this._err(xe.missingAttributeValue),this.state=$.DATA,this.emitCurrentTagToken();break}default:this.state=$.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case F.QUOTATION_MARK:{this.state=$.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case F.AMPERSAND:{this._startCharacterReference();break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this.currentAttr.value+=Qt;break}case F.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case F.APOSTROPHE:{this.state=$.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case F.AMPERSAND:{this._startCharacterReference();break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this.currentAttr.value+=Qt;break}case F.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:{this._leaveAttrValue(),this.state=$.BEFORE_ATTRIBUTE_NAME;break}case F.AMPERSAND:{this._startCharacterReference();break}case F.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=$.DATA,this.emitCurrentTagToken();break}case F.NULL:{this._err(xe.unexpectedNullCharacter),this.currentAttr.value+=Qt;break}case F.QUOTATION_MARK:case F.APOSTROPHE:case F.LESS_THAN_SIGN:case F.EQUALS_SIGN:case F.GRAVE_ACCENT:{this._err(xe.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case F.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:{this._leaveAttrValue(),this.state=$.BEFORE_ATTRIBUTE_NAME;break}case F.SOLIDUS:{this._leaveAttrValue(),this.state=$.SELF_CLOSING_START_TAG;break}case F.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=$.DATA,this.emitCurrentTagToken();break}case F.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this._err(xe.missingWhitespaceBetweenAttributes),this.state=$.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case F.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=$.DATA,this.emitCurrentTagToken();break}case F.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this._err(xe.unexpectedSolidusInTag),this.state=$.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case F.GREATER_THAN_SIGN:{this.state=$.DATA,this.emitCurrentComment(n);break}case F.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case F.NULL:{this._err(xe.unexpectedNullCharacter),n.data+=Qt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Tr.DASH_DASH,!0)?(this._createCommentToken(Tr.DASH_DASH.length+1),this.state=$.COMMENT_START):this._consumeSequenceIfMatch(Tr.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Tr.DOCTYPE.length+1),this.state=$.DOCTYPE):this._consumeSequenceIfMatch(Tr.CDATA_START,!0)?this.inForeignNode?this.state=$.CDATA_SECTION:(this._err(xe.cdataInHtmlContent),this._createCommentToken(Tr.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=$.BOGUS_COMMENT):this._ensureHibernation()||(this._err(xe.incorrectlyOpenedComment),this._createCommentToken(2),this.state=$.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case F.HYPHEN_MINUS:{this.state=$.COMMENT_START_DASH;break}case F.GREATER_THAN_SIGN:{this._err(xe.abruptClosingOfEmptyComment),this.state=$.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=$.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case F.HYPHEN_MINUS:{this.state=$.COMMENT_END;break}case F.GREATER_THAN_SIGN:{this._err(xe.abruptClosingOfEmptyComment),this.state=$.DATA,this.emitCurrentComment(n);break}case F.EOF:{this._err(xe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=$.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case F.HYPHEN_MINUS:{this.state=$.COMMENT_END_DASH;break}case F.LESS_THAN_SIGN:{n.data+="<",this.state=$.COMMENT_LESS_THAN_SIGN;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),n.data+=Qt;break}case F.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 F.EXCLAMATION_MARK:{n.data+="!",this.state=$.COMMENT_LESS_THAN_SIGN_BANG;break}case F.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=$.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===F.HYPHEN_MINUS?this.state=$.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=$.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===F.HYPHEN_MINUS?this.state=$.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=$.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==F.GREATER_THAN_SIGN&&t!==F.EOF&&this._err(xe.nestedComment),this.state=$.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case F.HYPHEN_MINUS:{this.state=$.COMMENT_END;break}case F.EOF:{this._err(xe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=$.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case F.GREATER_THAN_SIGN:{this.state=$.DATA,this.emitCurrentComment(n);break}case F.EXCLAMATION_MARK:{this.state=$.COMMENT_END_BANG;break}case F.HYPHEN_MINUS:{n.data+="-";break}case F.EOF:{this._err(xe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=$.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case F.HYPHEN_MINUS:{n.data+="--!",this.state=$.COMMENT_END_DASH;break}case F.GREATER_THAN_SIGN:{this._err(xe.incorrectlyClosedComment),this.state=$.DATA,this.emitCurrentComment(n);break}case F.EOF:{this._err(xe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=$.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:{this.state=$.BEFORE_DOCTYPE_NAME;break}case F.GREATER_THAN_SIGN:{this.state=$.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case F.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=$.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(qu(t))this._createDoctypeToken(String.fromCharCode(Ih(t))),this.state=$.DOCTYPE_NAME;else switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.NULL:{this._err(xe.unexpectedNullCharacter),this._createDoctypeToken(Qt),this.state=$.DOCTYPE_NAME;break}case F.GREATER_THAN_SIGN:{this._err(xe.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=$.DATA;break}case F.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=$.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:{this.state=$.AFTER_DOCTYPE_NAME;break}case F.GREATER_THAN_SIGN:{this.state=$.DATA,this.emitCurrentDoctype(n);break}case F.NULL:{this._err(xe.unexpectedNullCharacter),n.name+=Qt;break}case F.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(qu(t)?Ih(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.GREATER_THAN_SIGN:{this.state=$.DATA,this.emitCurrentDoctype(n);break}case F.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Tr.PUBLIC,!1)?this.state=$.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Tr.SYSTEM,!1)?this.state=$.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(xe.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:{this.state=$.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case F.QUOTATION_MARK:{this._err(xe.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=$.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case F.APOSTROPHE:{this._err(xe.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=$.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case F.GREATER_THAN_SIGN:{this._err(xe.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=$.DATA,this.emitCurrentDoctype(n);break}case F.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.QUOTATION_MARK:{n.publicId="",this.state=$.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case F.APOSTROPHE:{n.publicId="",this.state=$.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case F.GREATER_THAN_SIGN:{this._err(xe.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=$.DATA,this.emitCurrentDoctype(n);break}case F.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case F.QUOTATION_MARK:{this.state=$.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),n.publicId+=Qt;break}case F.GREATER_THAN_SIGN:{this._err(xe.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=$.DATA;break}case F.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 F.APOSTROPHE:{this.state=$.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),n.publicId+=Qt;break}case F.GREATER_THAN_SIGN:{this._err(xe.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=$.DATA;break}case F.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 F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:{this.state=$.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case F.GREATER_THAN_SIGN:{this.state=$.DATA,this.emitCurrentDoctype(n);break}case F.QUOTATION_MARK:{this._err(xe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case F.APOSTROPHE:{this._err(xe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case F.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=$.DATA;break}case F.QUOTATION_MARK:{n.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case F.APOSTROPHE:{n.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case F.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:{this.state=$.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case F.QUOTATION_MARK:{this._err(xe.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case F.APOSTROPHE:{this._err(xe.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case F.GREATER_THAN_SIGN:{this._err(xe.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=$.DATA,this.emitCurrentDoctype(n);break}case F.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.QUOTATION_MARK:{n.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case F.APOSTROPHE:{n.systemId="",this.state=$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case F.GREATER_THAN_SIGN:{this._err(xe.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=$.DATA,this.emitCurrentDoctype(n);break}case F.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case F.QUOTATION_MARK:{this.state=$.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),n.systemId+=Qt;break}case F.GREATER_THAN_SIGN:{this._err(xe.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=$.DATA;break}case F.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 F.APOSTROPHE:{this.state=$.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case F.NULL:{this._err(xe.unexpectedNullCharacter),n.systemId+=Qt;break}case F.GREATER_THAN_SIGN:{this._err(xe.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=$.DATA;break}case F.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 F.SPACE:case F.LINE_FEED:case F.TABULATION:case F.FORM_FEED:break;case F.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=$.DATA;break}case F.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=$.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case F.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=$.DATA;break}case F.NULL:{this._err(xe.unexpectedNullCharacter);break}case F.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case F.RIGHT_SQUARE_BRACKET:{this.state=$.CDATA_SECTION_BRACKET;break}case F.EOF:{this._err(xe.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===F.RIGHT_SQUARE_BRACKET?this.state=$.CDATA_SECTION_END:(this._emitChars("]"),this.state=$.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case F.GREATER_THAN_SIGN:{this.state=$.DATA;break}case F.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=$.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(F.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&n7(this.preprocessor.peek(1))?$.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){n7(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===F.SEMICOLON&&this._err(xe.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const XT=new Set([E.DD,E.DT,E.LI,E.OPTGROUP,E.OPTION,E.P,E.RB,E.RP,E.RT,E.RTC]),a7=new Set([...XT,E.CAPTION,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]),vf=new Set([E.APPLET,E.CAPTION,E.HTML,E.MARQUEE,E.OBJECT,E.TABLE,E.TD,E.TEMPLATE,E.TH]),i$=new Set([...vf,E.OL,E.UL]),o$=new Set([...vf,E.BUTTON]),s7=new Set([E.ANNOTATION_XML,E.MI,E.MN,E.MO,E.MS,E.MTEXT]),i7=new Set([E.DESC,E.FOREIGN_OBJECT,E.TITLE]),l$=new Set([E.TR,E.TEMPLATE,E.HTML]),c$=new Set([E.TBODY,E.TFOOT,E.THEAD,E.TEMPLATE,E.HTML]),u$=new Set([E.TABLE,E.TEMPLATE,E.HTML]),d$=new Set([E.TD,E.TH]);class h${get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=E.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===E.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===ke.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])!==ke.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(ax,ke.HTML)}popUntilTableCellPopped(){this.popUntilPopped(d$,ke.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(u$,ke.HTML)}clearBackToTableBodyContext(){this.clearBackTo(c$,ke.HTML)}clearBackToTableRowContext(){this.clearBackTo(l$,ke.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===E.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===E.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case ke.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case ke.SVG:{if(i7.has(a))return!1;break}case ke.MATHML:{if(s7.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,vf)}hasInListItemScope(t){return this.hasInDynamicScope(t,i$)}hasInButtonScope(t){return this.hasInDynamicScope(t,o$)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case ke.HTML:{if(ax.has(n))return!0;if(vf.has(n))return!1;break}case ke.SVG:{if(i7.has(n))return!1;break}case ke.MATHML:{if(s7.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ke.HTML)switch(this.tagIDs[n]){case t:return!0;case E.TABLE:case E.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===ke.HTML)switch(this.tagIDs[t]){case E.TBODY:case E.THEAD:case E.TFOOT:return!0;case E.TABLE:case E.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===ke.HTML)switch(this.tagIDs[n]){case t:return!0;case E.OPTION:case E.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&XT.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&a7.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&a7.has(this.currentTagId);)this.pop()}}const jg=3;var Wa;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Wa||(Wa={}));const o7={type:Wa.Marker};class f${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 c=0;c<this.entries.length;c++){const u=this.entries[c];if(u.type===Wa.Marker)break;const{element:h}=u;if(this.treeAdapter.getTagName(h)===i&&this.treeAdapter.getNamespaceURI(h)===o){const g=this.treeAdapter.getAttrList(h);g.length===a&&r.push({idx:c,attrs:g})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<jg)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<jg)return;const a=new Map(n.map(o=>[o.name,o.value]));let i=0;for(let o=0;o<r.length;o++){const c=r[o];c.attrs.every(u=>a.get(u.name)===u.value)&&(i+=1,i>=jg&&this.entries.splice(c.idx,1))}}insertMarker(){this.entries.unshift(o7)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Wa.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Wa.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(o7);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Wa.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Wa.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Wa.Element&&n.element===t)}}const Mi={createDocument(){return{nodeName:"#document",mode:ha.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};Mi.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(Mi.isTextNode(n)){n.value+=t;return}}Mi.appendChild(e,Mi.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Mi.isTextNode(r)?r.value+=t:Mi.insertBefore(e,Mi.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}}},WT="html",m$="about:legacy-compat",p$="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",KT=["+//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//"],g$=[...KT,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],x$=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ZT=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],b$=[...ZT,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function l7(e,t){return t.some(n=>e.startsWith(n))}function y$(e){return e.name===WT&&e.publicId===null&&(e.systemId===null||e.systemId===m$)}function v$(e){if(e.name!==WT)return ha.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===p$)return ha.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),x$.has(n))return ha.QUIRKS;let r=t===null?g$:KT;if(l7(n,r))return ha.QUIRKS;if(r=t===null?ZT:b$,l7(n,r))return ha.LIMITED_QUIRKS}return ha.NO_QUIRKS}const c7={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},E$="definitionurl",w$="definitionURL",S$=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])),T$=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:ke.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:ke.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:ke.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:ke.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:ke.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:ke.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:ke.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:ke.XML}],["xml:space",{prefix:"xml",name:"space",namespace:ke.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:ke.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:ke.XMLNS}]]),k$=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])),_$=new Set([E.B,E.BIG,E.BLOCKQUOTE,E.BODY,E.BR,E.CENTER,E.CODE,E.DD,E.DIV,E.DL,E.DT,E.EM,E.EMBED,E.H1,E.H2,E.H3,E.H4,E.H5,E.H6,E.HEAD,E.HR,E.I,E.IMG,E.LI,E.LISTING,E.MENU,E.META,E.NOBR,E.OL,E.P,E.PRE,E.RUBY,E.S,E.SMALL,E.SPAN,E.STRONG,E.STRIKE,E.SUB,E.SUP,E.TABLE,E.TT,E.U,E.UL,E.VAR]);function A$(e){const t=e.tagID;return t===E.FONT&&e.attrs.some(({name:r})=>r===Fo.COLOR||r===Fo.SIZE||r===Fo.FACE)||_$.has(t)}function JT(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===E$){e.attrs[t].name=w$;break}}function ek(e){for(let t=0;t<e.attrs.length;t++){const n=S$.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Fb(e){for(let t=0;t<e.attrs.length;t++){const n=T$.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 N$(e){const t=k$.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Mc(e.tagName))}function C$(e,t){return t===ke.MATHML&&(e===E.MI||e===E.MO||e===E.MN||e===E.MS||e===E.MTEXT)}function O$(e,t,n){if(t===ke.MATHML&&e===E.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Fo.ENCODING){const a=n[r].value.toLowerCase();return a===c7.TEXT_HTML||a===c7.APPLICATION_XML}}return t===ke.SVG&&(e===E.FOREIGN_OBJECT||e===E.DESC||e===E.TITLE)}function R$(e,t,n,r){return(!r||r===ke.HTML)&&O$(e,t,n)||(!r||r===ke.MATHML)&&C$(e,t)}const D$="hidden",M$=8,I$=3;var X;(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"})(X||(X={}));const L$={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},tk=new Set([E.TABLE,E.TBODY,E.TFOOT,E.THEAD,E.TR]),u7={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Mi,onParseError:null};class d7{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=X.INITIAL,this.originalInsertionMode=X.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={...u7,...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 s$(this.options,this),this.activeFormattingElements=new f$(this.treeAdapter),this.fragmentContextID=r?Mc(this.treeAdapter.getTagName(r)):E.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new h$(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={...u7,...n};t??(t=r.treeAdapter.createElement(le.TEMPLATE,ke.HTML,[]));const a=r.treeAdapter.createElement("documentmock",ke.HTML,[]),i=new this(r,a,t);return i.fragmentContextID===E.TEMPLATE&&i.tmplInsertionModeStack.unshift(X.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:L$,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)===ke.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,ke.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=X.TEXT}switchToPlaintextParsing(){this.insertionMode=X.TEXT,this.originalInsertionMode=X.IN_BODY,this.tokenizer.state=fn.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)===le.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==ke.HTML))switch(this.fragmentContextID){case E.TITLE:case E.TEXTAREA:{this.tokenizer.state=fn.RCDATA;break}case E.STYLE:case E.XMP:case E.IFRAME:case E.NOEMBED:case E.NOFRAMES:case E.NOSCRIPT:{this.tokenizer.state=fn.RAWTEXT;break}case E.SCRIPT:{this.tokenizer.state=fn.SCRIPT_DATA;break}case E.PLAINTEXT:{this.tokenizer.state=fn.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(c=>this.treeAdapter.isDocumentTypeNode(c));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,ke.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,ke.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(le.HTML,ke.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,E.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),i=r?a.lastIndexOf(r):a.length,o=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:u,endCol:h,endOffset:g}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:u,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===E.SVG&&this.treeAdapter.getTagName(n)===le.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===ke.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===E.MGLYPH||t.tagID===E.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,ke.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 R$(t,a,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Wa.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const 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=X.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(E.P),this.openElements.popUntilTagNamePopped(E.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case E.TR:{this.insertionMode=X.IN_ROW;return}case E.TBODY:case E.THEAD:case E.TFOOT:{this.insertionMode=X.IN_TABLE_BODY;return}case E.CAPTION:{this.insertionMode=X.IN_CAPTION;return}case E.COLGROUP:{this.insertionMode=X.IN_COLUMN_GROUP;return}case E.TABLE:{this.insertionMode=X.IN_TABLE;return}case E.BODY:{this.insertionMode=X.IN_BODY;return}case E.FRAMESET:{this.insertionMode=X.IN_FRAMESET;return}case E.SELECT:{this._resetInsertionModeForSelect(t);return}case E.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case E.HTML:{this.insertionMode=this.headElement?X.AFTER_HEAD:X.BEFORE_HEAD;return}case E.TD:case E.TH:{if(t>0){this.insertionMode=X.IN_CELL;return}break}case E.HEAD:{if(t>0){this.insertionMode=X.IN_HEAD;return}break}}this.insertionMode=X.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===E.TEMPLATE)break;if(r===E.TABLE){this.insertionMode=X.IN_SELECT_IN_TABLE;return}}this.insertionMode=X.IN_SELECT}_isElementCausesFosterParenting(t){return tk.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case E.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===ke.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case E.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return t$[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){dY(this,t);return}switch(this.insertionMode){case X.INITIAL:{Pu(this,t);break}case X.BEFORE_HTML:{Ju(this,t);break}case X.BEFORE_HEAD:{e0(this,t);break}case X.IN_HEAD:{t0(this,t);break}case X.IN_HEAD_NO_SCRIPT:{n0(this,t);break}case X.AFTER_HEAD:{r0(this,t);break}case X.IN_BODY:case X.IN_CAPTION:case X.IN_CELL:case X.IN_TEMPLATE:{rk(this,t);break}case X.TEXT:case X.IN_SELECT:case X.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case X.IN_TABLE:case X.IN_TABLE_BODY:case X.IN_ROW:{Bg(this,t);break}case X.IN_TABLE_TEXT:{ck(this,t);break}case X.IN_COLUMN_GROUP:{Ef(this,t);break}case X.AFTER_BODY:{wf(this,t);break}case X.AFTER_AFTER_BODY:{Zh(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){uY(this,t);return}switch(this.insertionMode){case X.INITIAL:{Pu(this,t);break}case X.BEFORE_HTML:{Ju(this,t);break}case X.BEFORE_HEAD:{e0(this,t);break}case X.IN_HEAD:{t0(this,t);break}case X.IN_HEAD_NO_SCRIPT:{n0(this,t);break}case X.AFTER_HEAD:{r0(this,t);break}case X.TEXT:{this._insertCharacters(t);break}case X.IN_TABLE:case X.IN_TABLE_BODY:case X.IN_ROW:{Bg(this,t);break}case X.IN_COLUMN_GROUP:{Ef(this,t);break}case X.AFTER_BODY:{wf(this,t);break}case X.AFTER_AFTER_BODY:{Zh(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){sx(this,t);return}switch(this.insertionMode){case X.INITIAL:case X.BEFORE_HTML:case X.BEFORE_HEAD:case X.IN_HEAD:case X.IN_HEAD_NO_SCRIPT:case X.AFTER_HEAD:case X.IN_BODY:case X.IN_TABLE:case X.IN_CAPTION:case X.IN_COLUMN_GROUP:case X.IN_TABLE_BODY:case X.IN_ROW:case X.IN_CELL:case X.IN_SELECT:case X.IN_SELECT_IN_TABLE:case X.IN_TEMPLATE:case X.IN_FRAMESET:case X.AFTER_FRAMESET:{sx(this,t);break}case X.IN_TABLE_TEXT:{ju(this,t);break}case X.AFTER_BODY:{U$(this,t);break}case X.AFTER_AFTER_BODY:case X.AFTER_AFTER_FRAMESET:{q$(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case X.INITIAL:{V$(this,t);break}case X.BEFORE_HEAD:case X.IN_HEAD:case X.IN_HEAD_NO_SCRIPT:case X.AFTER_HEAD:{this._err(t,xe.misplacedDoctype);break}case X.IN_TABLE_TEXT:{ju(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)?hY(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case X.INITIAL:{Pu(this,t);break}case X.BEFORE_HTML:{$$(this,t);break}case X.BEFORE_HEAD:{Y$(this,t);break}case X.IN_HEAD:{Ma(this,t);break}case X.IN_HEAD_NO_SCRIPT:{W$(this,t);break}case X.AFTER_HEAD:{Z$(this,t);break}case X.IN_BODY:{ar(this,t);break}case X.IN_TABLE:{vc(this,t);break}case X.IN_TABLE_TEXT:{ju(this,t);break}case X.IN_CAPTION:{QG(this,t);break}case X.IN_COLUMN_GROUP:{qb(this,t);break}case X.IN_TABLE_BODY:{Em(this,t);break}case X.IN_ROW:{wm(this,t);break}case X.IN_CELL:{KG(this,t);break}case X.IN_SELECT:{hk(this,t);break}case X.IN_SELECT_IN_TABLE:{JG(this,t);break}case X.IN_TEMPLATE:{tY(this,t);break}case X.AFTER_BODY:{rY(this,t);break}case X.IN_FRAMESET:{aY(this,t);break}case X.AFTER_FRAMESET:{iY(this,t);break}case X.AFTER_AFTER_BODY:{lY(this,t);break}case X.AFTER_AFTER_FRAMESET:{cY(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?fY(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case X.INITIAL:{Pu(this,t);break}case X.BEFORE_HTML:{G$(this,t);break}case X.BEFORE_HEAD:{Q$(this,t);break}case X.IN_HEAD:{X$(this,t);break}case X.IN_HEAD_NO_SCRIPT:{K$(this,t);break}case X.AFTER_HEAD:{J$(this,t);break}case X.IN_BODY:{vm(this,t);break}case X.TEXT:{BG(this,t);break}case X.IN_TABLE:{w0(this,t);break}case X.IN_TABLE_TEXT:{ju(this,t);break}case X.IN_CAPTION:{XG(this,t);break}case X.IN_COLUMN_GROUP:{WG(this,t);break}case X.IN_TABLE_BODY:{ix(this,t);break}case X.IN_ROW:{dk(this,t);break}case X.IN_CELL:{ZG(this,t);break}case X.IN_SELECT:{fk(this,t);break}case X.IN_SELECT_IN_TABLE:{eY(this,t);break}case X.IN_TEMPLATE:{nY(this,t);break}case X.AFTER_BODY:{pk(this,t);break}case X.IN_FRAMESET:{sY(this,t);break}case X.AFTER_FRAMESET:{oY(this,t);break}case X.AFTER_AFTER_BODY:{Zh(this,t);break}}}onEof(t){switch(this.insertionMode){case X.INITIAL:{Pu(this,t);break}case X.BEFORE_HTML:{Ju(this,t);break}case X.BEFORE_HEAD:{e0(this,t);break}case X.IN_HEAD:{t0(this,t);break}case X.IN_HEAD_NO_SCRIPT:{n0(this,t);break}case X.AFTER_HEAD:{r0(this,t);break}case X.IN_BODY:case X.IN_TABLE:case X.IN_CAPTION:case X.IN_COLUMN_GROUP:case X.IN_TABLE_BODY:case X.IN_ROW:case X.IN_CELL:case X.IN_SELECT:case X.IN_SELECT_IN_TABLE:{ok(this,t);break}case X.TEXT:{zG(this,t);break}case X.IN_TABLE_TEXT:{ju(this,t);break}case X.IN_TEMPLATE:{mk(this,t);break}case X.AFTER_BODY:case X.IN_FRAMESET:case X.AFTER_FRAMESET:case X.AFTER_AFTER_BODY:case X.AFTER_AFTER_FRAMESET:{Ub(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===F.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 X.IN_HEAD:case X.IN_HEAD_NO_SCRIPT:case X.AFTER_HEAD:case X.TEXT:case X.IN_COLUMN_GROUP:case X.IN_SELECT:case X.IN_SELECT_IN_TABLE:case X.IN_FRAMESET:case X.AFTER_FRAMESET:{this._insertCharacters(t);break}case X.IN_BODY:case X.IN_CAPTION:case X.IN_CELL:case X.IN_TEMPLATE:case X.AFTER_BODY:case X.AFTER_AFTER_BODY:case X.AFTER_AFTER_FRAMESET:{nk(this,t);break}case X.IN_TABLE:case X.IN_TABLE_BODY:case X.IN_ROW:{Bg(this,t);break}case X.IN_TABLE_TEXT:{lk(this,t);break}}}}function P$(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):ik(e,t),n}function j$(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 B$(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 c=e.activeFormattingElements.getElementEntry(o),u=c&&i>=I$;!c||u?(u&&e.activeFormattingElements.removeEntry(c),e.openElements.remove(o)):(o=z$(e,c),r===t&&(e.activeFormattingElements.bookmark=c),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function z$(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 F$(e,t,n){const r=e.treeAdapter.getTagName(t),a=Mc(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);a===E.TEMPLATE&&i===ke.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function H$(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 Hb(e,t){for(let n=0;n<M$;n++){const r=P$(e,t);if(!r)break;const a=j$(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const i=B$(e,a,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),o&&F$(e,o,i),H$(e,a,r)}}function sx(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function U$(e,t){e._appendCommentNode(t,e.openElements.items[0])}function q$(e,t){e._appendCommentNode(t,e.document)}function Ub(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 V$(e,t){e._setDocumentType(t);const n=t.forceQuirks?ha.QUIRKS:v$(t);y$(t)||e._err(t,xe.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=X.BEFORE_HTML}function Pu(e,t){e._err(t,xe.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ha.QUIRKS),e.insertionMode=X.BEFORE_HTML,e._processToken(t)}function $$(e,t){t.tagID===E.HTML?(e._insertElement(t,ke.HTML),e.insertionMode=X.BEFORE_HEAD):Ju(e,t)}function G$(e,t){const n=t.tagID;(n===E.HTML||n===E.HEAD||n===E.BODY||n===E.BR)&&Ju(e,t)}function Ju(e,t){e._insertFakeRootElement(),e.insertionMode=X.BEFORE_HEAD,e._processToken(t)}function Y$(e,t){switch(t.tagID){case E.HTML:{ar(e,t);break}case E.HEAD:{e._insertElement(t,ke.HTML),e.headElement=e.openElements.current,e.insertionMode=X.IN_HEAD;break}default:e0(e,t)}}function Q$(e,t){const n=t.tagID;n===E.HEAD||n===E.BODY||n===E.HTML||n===E.BR?e0(e,t):e._err(t,xe.endTagWithoutMatchingOpenElement)}function e0(e,t){e._insertFakeElement(le.HEAD,E.HEAD),e.headElement=e.openElements.current,e.insertionMode=X.IN_HEAD,e._processToken(t)}function Ma(e,t){switch(t.tagID){case E.HTML:{ar(e,t);break}case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:{e._appendElement(t,ke.HTML),t.ackSelfClosing=!0;break}case E.TITLE:{e._switchToTextParsing(t,fn.RCDATA);break}case E.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,fn.RAWTEXT):(e._insertElement(t,ke.HTML),e.insertionMode=X.IN_HEAD_NO_SCRIPT);break}case E.NOFRAMES:case E.STYLE:{e._switchToTextParsing(t,fn.RAWTEXT);break}case E.SCRIPT:{e._switchToTextParsing(t,fn.SCRIPT_DATA);break}case E.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=X.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(X.IN_TEMPLATE);break}case E.HEAD:{e._err(t,xe.misplacedStartTagForHeadElement);break}default:t0(e,t)}}function X$(e,t){switch(t.tagID){case E.HEAD:{e.openElements.pop(),e.insertionMode=X.AFTER_HEAD;break}case E.BODY:case E.BR:case E.HTML:{t0(e,t);break}case E.TEMPLATE:{il(e,t);break}default:e._err(t,xe.endTagWithoutMatchingOpenElement)}}function il(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==E.TEMPLATE&&e._err(t,xe.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,xe.endTagWithoutMatchingOpenElement)}function t0(e,t){e.openElements.pop(),e.insertionMode=X.AFTER_HEAD,e._processToken(t)}function W$(e,t){switch(t.tagID){case E.HTML:{ar(e,t);break}case E.BASEFONT:case E.BGSOUND:case E.HEAD:case E.LINK:case E.META:case E.NOFRAMES:case E.STYLE:{Ma(e,t);break}case E.NOSCRIPT:{e._err(t,xe.nestedNoscriptInHead);break}default:n0(e,t)}}function K$(e,t){switch(t.tagID){case E.NOSCRIPT:{e.openElements.pop(),e.insertionMode=X.IN_HEAD;break}case E.BR:{n0(e,t);break}default:e._err(t,xe.endTagWithoutMatchingOpenElement)}}function n0(e,t){const n=t.type===ht.EOF?xe.openElementsLeftAfterEof:xe.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=X.IN_HEAD,e._processToken(t)}function Z$(e,t){switch(t.tagID){case E.HTML:{ar(e,t);break}case E.BODY:{e._insertElement(t,ke.HTML),e.framesetOk=!1,e.insertionMode=X.IN_BODY;break}case E.FRAMESET:{e._insertElement(t,ke.HTML),e.insertionMode=X.IN_FRAMESET;break}case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:case E.NOFRAMES:case E.SCRIPT:case E.STYLE:case E.TEMPLATE:case E.TITLE:{e._err(t,xe.abandonedHeadElementChild),e.openElements.push(e.headElement,E.HEAD),Ma(e,t),e.openElements.remove(e.headElement);break}case E.HEAD:{e._err(t,xe.misplacedStartTagForHeadElement);break}default:r0(e,t)}}function J$(e,t){switch(t.tagID){case E.BODY:case E.HTML:case E.BR:{r0(e,t);break}case E.TEMPLATE:{il(e,t);break}default:e._err(t,xe.endTagWithoutMatchingOpenElement)}}function r0(e,t){e._insertFakeElement(le.BODY,E.BODY),e.insertionMode=X.IN_BODY,ym(e,t)}function ym(e,t){switch(t.type){case ht.CHARACTER:{rk(e,t);break}case ht.WHITESPACE_CHARACTER:{nk(e,t);break}case ht.COMMENT:{sx(e,t);break}case ht.START_TAG:{ar(e,t);break}case ht.END_TAG:{vm(e,t);break}case ht.EOF:{ok(e,t);break}}}function nk(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function rk(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function eG(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function tG(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function nG(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,ke.HTML),e.insertionMode=X.IN_FRAMESET)}function rG(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,ke.HTML)}function aG(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&ax.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,ke.HTML)}function sG(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,ke.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function iG(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,ke.HTML),n||(e.formElement=e.openElements.current))}function oG(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===E.LI&&a===E.LI||(n===E.DD||n===E.DT)&&(a===E.DD||a===E.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==E.ADDRESS&&a!==E.DIV&&a!==E.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,ke.HTML)}function lG(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,ke.HTML),e.tokenizer.state=fn.PLAINTEXT}function cG(e,t){e.openElements.hasInScope(E.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.framesetOk=!1}function uG(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(le.A);n&&(Hb(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function dG(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function hG(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(E.NOBR)&&(Hb(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,ke.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function fG(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function mG(e,t){e.treeAdapter.getDocumentMode(e.document)!==ha.QUIRKS&&e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,ke.HTML),e.framesetOk=!1,e.insertionMode=X.IN_TABLE}function ak(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ke.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function sk(e){const t=YT(e,Fo.TYPE);return t!=null&&t.toLowerCase()===D$}function pG(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ke.HTML),sk(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function gG(e,t){e._appendElement(t,ke.HTML),t.ackSelfClosing=!0}function xG(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._appendElement(t,ke.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function bG(e,t){t.tagName=le.IMG,t.tagID=E.IMG,ak(e,t)}function yG(e,t){e._insertElement(t,ke.HTML),e.skipNextNewLine=!0,e.tokenizer.state=fn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=X.TEXT}function vG(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,fn.RAWTEXT)}function EG(e,t){e.framesetOk=!1,e._switchToTextParsing(t,fn.RAWTEXT)}function h7(e,t){e._switchToTextParsing(t,fn.RAWTEXT)}function wG(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===X.IN_TABLE||e.insertionMode===X.IN_CAPTION||e.insertionMode===X.IN_TABLE_BODY||e.insertionMode===X.IN_ROW||e.insertionMode===X.IN_CELL?X.IN_SELECT_IN_TABLE:X.IN_SELECT}function SG(e,t){e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML)}function TG(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,ke.HTML)}function kG(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(E.RTC),e._insertElement(t,ke.HTML)}function _G(e,t){e._reconstructActiveFormattingElements(),JT(t),Fb(t),t.selfClosing?e._appendElement(t,ke.MATHML):e._insertElement(t,ke.MATHML),t.ackSelfClosing=!0}function AG(e,t){e._reconstructActiveFormattingElements(),ek(t),Fb(t),t.selfClosing?e._appendElement(t,ke.SVG):e._insertElement(t,ke.SVG),t.ackSelfClosing=!0}function f7(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ke.HTML)}function ar(e,t){switch(t.tagID){case E.I:case E.S:case E.B:case E.U:case E.EM:case E.TT:case E.BIG:case E.CODE:case E.FONT:case E.SMALL:case E.STRIKE:case E.STRONG:{dG(e,t);break}case E.A:{uG(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{aG(e,t);break}case E.P:case E.DL:case E.OL:case E.UL:case E.DIV:case E.DIR:case E.NAV:case E.MAIN:case E.MENU:case E.ASIDE:case E.CENTER:case E.FIGURE:case E.FOOTER:case E.HEADER:case E.HGROUP:case E.DIALOG:case E.DETAILS:case E.ADDRESS:case E.ARTICLE:case E.SEARCH:case E.SECTION:case E.SUMMARY:case E.FIELDSET:case E.BLOCKQUOTE:case E.FIGCAPTION:{rG(e,t);break}case E.LI:case E.DD:case E.DT:{oG(e,t);break}case E.BR:case E.IMG:case E.WBR:case E.AREA:case E.EMBED:case E.KEYGEN:{ak(e,t);break}case E.HR:{xG(e,t);break}case E.RB:case E.RTC:{TG(e,t);break}case E.RT:case E.RP:{kG(e,t);break}case E.PRE:case E.LISTING:{sG(e,t);break}case E.XMP:{vG(e,t);break}case E.SVG:{AG(e,t);break}case E.HTML:{eG(e,t);break}case E.BASE:case E.LINK:case E.META:case E.STYLE:case E.TITLE:case E.SCRIPT:case E.BGSOUND:case E.BASEFONT:case E.TEMPLATE:{Ma(e,t);break}case E.BODY:{tG(e,t);break}case E.FORM:{iG(e,t);break}case E.NOBR:{hG(e,t);break}case E.MATH:{_G(e,t);break}case E.TABLE:{mG(e,t);break}case E.INPUT:{pG(e,t);break}case E.PARAM:case E.TRACK:case E.SOURCE:{gG(e,t);break}case E.IMAGE:{bG(e,t);break}case E.BUTTON:{cG(e,t);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{fG(e,t);break}case E.IFRAME:{EG(e,t);break}case E.SELECT:{wG(e,t);break}case E.OPTION:case E.OPTGROUP:{SG(e,t);break}case E.NOEMBED:case E.NOFRAMES:{h7(e,t);break}case E.FRAMESET:{nG(e,t);break}case E.TEXTAREA:{yG(e,t);break}case E.NOSCRIPT:{e.options.scriptingEnabled?h7(e,t):f7(e,t);break}case E.PLAINTEXT:{lG(e,t);break}case E.COL:case E.TH:case E.TD:case E.TR:case E.HEAD:case E.FRAME:case E.TBODY:case E.TFOOT:case E.THEAD:case E.CAPTION:case E.COLGROUP:break;default:f7(e,t)}}function NG(e,t){if(e.openElements.hasInScope(E.BODY)&&(e.insertionMode=X.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function CG(e,t){e.openElements.hasInScope(E.BODY)&&(e.insertionMode=X.AFTER_BODY,pk(e,t))}function OG(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function RG(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(E.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(E.FORM):n&&e.openElements.remove(n))}function DG(e){e.openElements.hasInButtonScope(E.P)||e._insertFakeElement(le.P,E.P),e._closePElement()}function MG(e){e.openElements.hasInListItemScope(E.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(E.LI),e.openElements.popUntilTagNamePopped(E.LI))}function IG(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function LG(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function PG(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function jG(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(le.BR,E.BR),e.openElements.pop(),e.framesetOk=!1}function ik(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!==E.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 vm(e,t){switch(t.tagID){case E.A:case E.B:case E.I:case E.S:case E.U:case E.EM:case E.TT:case E.BIG:case E.CODE:case E.FONT:case E.NOBR:case E.SMALL:case E.STRIKE:case E.STRONG:{Hb(e,t);break}case E.P:{DG(e);break}case E.DL:case E.UL:case E.OL:case E.DIR:case E.DIV:case E.NAV:case E.PRE:case E.MAIN:case E.MENU:case E.ASIDE:case E.BUTTON:case E.CENTER:case E.FIGURE:case E.FOOTER:case E.HEADER:case E.HGROUP:case E.DIALOG:case E.ADDRESS:case E.ARTICLE:case E.DETAILS:case E.SEARCH:case E.SECTION:case E.SUMMARY:case E.LISTING:case E.FIELDSET:case E.BLOCKQUOTE:case E.FIGCAPTION:{OG(e,t);break}case E.LI:{MG(e);break}case E.DD:case E.DT:{IG(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{LG(e);break}case E.BR:{jG(e);break}case E.BODY:{NG(e,t);break}case E.HTML:{CG(e,t);break}case E.FORM:{RG(e);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{PG(e,t);break}case E.TEMPLATE:{il(e,t);break}default:ik(e,t)}}function ok(e,t){e.tmplInsertionModeStack.length>0?mk(e,t):Ub(e,t)}function BG(e,t){var n;t.tagID===E.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function zG(e,t){e._err(t,xe.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Bg(e,t){if(e.openElements.currentTagId!==void 0&&tk.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=X.IN_TABLE_TEXT,t.type){case ht.CHARACTER:{ck(e,t);break}case ht.WHITESPACE_CHARACTER:{lk(e,t);break}}else Q0(e,t)}function FG(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,ke.HTML),e.insertionMode=X.IN_CAPTION}function HG(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ke.HTML),e.insertionMode=X.IN_COLUMN_GROUP}function UG(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(le.COLGROUP,E.COLGROUP),e.insertionMode=X.IN_COLUMN_GROUP,qb(e,t)}function qG(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ke.HTML),e.insertionMode=X.IN_TABLE_BODY}function VG(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(le.TBODY,E.TBODY),e.insertionMode=X.IN_TABLE_BODY,Em(e,t)}function $G(e,t){e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function GG(e,t){sk(t)?e._appendElement(t,ke.HTML):Q0(e,t),t.ackSelfClosing=!0}function YG(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,ke.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function vc(e,t){switch(t.tagID){case E.TD:case E.TH:case E.TR:{VG(e,t);break}case E.STYLE:case E.SCRIPT:case E.TEMPLATE:{Ma(e,t);break}case E.COL:{UG(e,t);break}case E.FORM:{YG(e,t);break}case E.TABLE:{$G(e,t);break}case E.TBODY:case E.TFOOT:case E.THEAD:{qG(e,t);break}case E.INPUT:{GG(e,t);break}case E.CAPTION:{FG(e,t);break}case E.COLGROUP:{HG(e,t);break}default:Q0(e,t)}}function w0(e,t){switch(t.tagID){case E.TABLE:{e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode());break}case E.TEMPLATE:{il(e,t);break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TBODY:case E.TD:case E.TFOOT:case E.TH:case E.THEAD:case E.TR:break;default:Q0(e,t)}}function Q0(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ym(e,t),e.fosterParentingEnabled=n}function lk(e,t){e.pendingCharacterTokens.push(t)}function ck(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ju(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Q0(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const uk=new Set([E.CAPTION,E.COL,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]);function QG(e,t){const n=t.tagID;uk.has(n)?e.openElements.hasInTableScope(E.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=X.IN_TABLE,vc(e,t)):ar(e,t)}function XG(e,t){const n=t.tagID;switch(n){case E.CAPTION:case E.TABLE:{e.openElements.hasInTableScope(E.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=X.IN_TABLE,n===E.TABLE&&w0(e,t));break}case E.BODY:case E.COL:case E.COLGROUP:case E.HTML:case E.TBODY:case E.TD:case E.TFOOT:case E.TH:case E.THEAD:case E.TR:break;default:vm(e,t)}}function qb(e,t){switch(t.tagID){case E.HTML:{ar(e,t);break}case E.COL:{e._appendElement(t,ke.HTML),t.ackSelfClosing=!0;break}case E.TEMPLATE:{Ma(e,t);break}default:Ef(e,t)}}function WG(e,t){switch(t.tagID){case E.COLGROUP:{e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=X.IN_TABLE);break}case E.TEMPLATE:{il(e,t);break}case E.COL:break;default:Ef(e,t)}}function Ef(e,t){e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=X.IN_TABLE,e._processToken(t))}function Em(e,t){switch(t.tagID){case E.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,ke.HTML),e.insertionMode=X.IN_ROW;break}case E.TH:case E.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(le.TR,E.TR),e.insertionMode=X.IN_ROW,wm(e,t);break}case E.CAPTION:case E.COL:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE,vc(e,t));break}default:vc(e,t)}}function ix(e,t){const n=t.tagID;switch(t.tagID){case E.TBODY:case E.TFOOT:case E.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE);break}case E.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE,w0(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TD:case E.TH:case E.TR:break;default:w0(e,t)}}function wm(e,t){switch(t.tagID){case E.TH:case E.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,ke.HTML),e.insertionMode=X.IN_CELL,e.activeFormattingElements.insertMarker();break}case E.CAPTION:case E.COL:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:case E.TR:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE_BODY,Em(e,t));break}default:vc(e,t)}}function dk(e,t){switch(t.tagID){case E.TR:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE_BODY);break}case E.TABLE:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE_BODY,ix(e,t));break}case E.TBODY:case E.TFOOT:case E.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(E.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=X.IN_TABLE_BODY,ix(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TD:case E.TH:break;default:w0(e,t)}}function KG(e,t){const n=t.tagID;uk.has(n)?(e.openElements.hasInTableScope(E.TD)||e.openElements.hasInTableScope(E.TH))&&(e._closeTableCell(),wm(e,t)):ar(e,t)}function ZG(e,t){const n=t.tagID;switch(n){case E.TD:case E.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=X.IN_ROW);break}case E.TABLE:case E.TBODY:case E.TFOOT:case E.THEAD:case E.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),dk(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:break;default:vm(e,t)}}function hk(e,t){switch(t.tagID){case E.HTML:{ar(e,t);break}case E.OPTION:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e._insertElement(t,ke.HTML);break}case E.OPTGROUP:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop(),e._insertElement(t,ke.HTML);break}case E.HR:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop(),e._appendElement(t,ke.HTML),t.ackSelfClosing=!0;break}case E.INPUT:case E.KEYGEN:case E.TEXTAREA:case E.SELECT:{e.openElements.hasInSelectScope(E.SELECT)&&(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode(),t.tagID!==E.SELECT&&e._processStartTag(t));break}case E.SCRIPT:case E.TEMPLATE:{Ma(e,t);break}}}function fk(e,t){switch(t.tagID){case E.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===E.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===E.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop();break}case E.OPTION:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop();break}case E.SELECT:{e.openElements.hasInSelectScope(E.SELECT)&&(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode());break}case E.TEMPLATE:{il(e,t);break}}}function JG(e,t){const n=t.tagID;n===E.CAPTION||n===E.TABLE||n===E.TBODY||n===E.TFOOT||n===E.THEAD||n===E.TR||n===E.TD||n===E.TH?(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode(),e._processStartTag(t)):hk(e,t)}function eY(e,t){const n=t.tagID;n===E.CAPTION||n===E.TABLE||n===E.TBODY||n===E.TFOOT||n===E.THEAD||n===E.TR||n===E.TD||n===E.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode(),e.onEndTag(t)):fk(e,t)}function tY(e,t){switch(t.tagID){case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:case E.NOFRAMES:case E.SCRIPT:case E.STYLE:case E.TEMPLATE:case E.TITLE:{Ma(e,t);break}case E.CAPTION:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:{e.tmplInsertionModeStack[0]=X.IN_TABLE,e.insertionMode=X.IN_TABLE,vc(e,t);break}case E.COL:{e.tmplInsertionModeStack[0]=X.IN_COLUMN_GROUP,e.insertionMode=X.IN_COLUMN_GROUP,qb(e,t);break}case E.TR:{e.tmplInsertionModeStack[0]=X.IN_TABLE_BODY,e.insertionMode=X.IN_TABLE_BODY,Em(e,t);break}case E.TD:case E.TH:{e.tmplInsertionModeStack[0]=X.IN_ROW,e.insertionMode=X.IN_ROW,wm(e,t);break}default:e.tmplInsertionModeStack[0]=X.IN_BODY,e.insertionMode=X.IN_BODY,ar(e,t)}}function nY(e,t){t.tagID===E.TEMPLATE&&il(e,t)}function mk(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Ub(e,t)}function rY(e,t){t.tagID===E.HTML?ar(e,t):wf(e,t)}function pk(e,t){var n;if(t.tagID===E.HTML){if(e.fragmentContext||(e.insertionMode=X.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===E.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else wf(e,t)}function wf(e,t){e.insertionMode=X.IN_BODY,ym(e,t)}function aY(e,t){switch(t.tagID){case E.HTML:{ar(e,t);break}case E.FRAMESET:{e._insertElement(t,ke.HTML);break}case E.FRAME:{e._appendElement(t,ke.HTML),t.ackSelfClosing=!0;break}case E.NOFRAMES:{Ma(e,t);break}}}function sY(e,t){t.tagID===E.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==E.FRAMESET&&(e.insertionMode=X.AFTER_FRAMESET))}function iY(e,t){switch(t.tagID){case E.HTML:{ar(e,t);break}case E.NOFRAMES:{Ma(e,t);break}}}function oY(e,t){t.tagID===E.HTML&&(e.insertionMode=X.AFTER_AFTER_FRAMESET)}function lY(e,t){t.tagID===E.HTML?ar(e,t):Zh(e,t)}function Zh(e,t){e.insertionMode=X.IN_BODY,ym(e,t)}function cY(e,t){switch(t.tagID){case E.HTML:{ar(e,t);break}case E.NOFRAMES:{Ma(e,t);break}}}function uY(e,t){t.chars=Qt,e._insertCharacters(t)}function dY(e,t){e._insertCharacters(t),e.framesetOk=!1}function gk(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==ke.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function hY(e,t){if(A$(t))gk(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===ke.MATHML?JT(t):r===ke.SVG&&(N$(t),ek(t)),Fb(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function fY(e,t){if(t.tagID===E.P||t.tagID===E.BR){gk(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)===ke.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}le.AREA,le.BASE,le.BASEFONT,le.BGSOUND,le.BR,le.COL,le.EMBED,le.FRAME,le.HR,le.IMG,le.INPUT,le.KEYGEN,le.LINK,le.META,le.PARAM,le.SOURCE,le.TRACK,le.WBR;const mY=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,pY=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),m7={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function xk(e,t){const n=kY(e),r=Bb("type",{handlers:{root:gY,element:xY,text:bY,comment:yk,doctype:yY,raw:EY},unknown:wY}),a={parser:n?new d7(m7):d7.getFragmentParser(void 0,m7),handle(c){r(c,a)},stitches:!1,options:t||{}};r(e,a),Ic(a,us());const i=n?a.parser.document:a.parser.getFragment(),o=xV(i,{file:a.options.file});return a.stitches&&Go(o,"comment",function(c,u,h){const g=c;if(g.value.stitch&&h&&u!==void 0){const p=h.children;return p[u]=g.value.stitch,u}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function bk(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function gY(e,t){bk(e.children,t)}function xY(e,t){SY(e,t),bk(e.children,t),TY(e,t)}function bY(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:ht.CHARACTER,chars:e.value,location:X0(e)};Ic(t,us(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function yY(e,t){const n={type:ht.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:X0(e)};Ic(t,us(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function vY(e,t){t.stitches=!0;const n=_Y(e);if("children"in e&&"children"in n){const r=xk({type:"root",children:e.children},t.options);n.children=r.children}yk({type:"comment",value:{stitch:n}},t)}function yk(e,t){const n=e.value,r={type:ht.COMMENT,data:n,location:X0(e)};Ic(t,us(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function EY(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,vk(t,us(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(mY,"<$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 wY(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))vY(n,t);else{let r="";throw pY.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 Ic(e,t){vk(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=fn.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 vk(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 SY(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===fn.PLAINTEXT)return;Ic(t,us(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=DV({...e,children:[]},{space:a===es.svg?"svg":"html"}),o={type:ht.START_TAG,tagName:n,tagID:Mc(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:X0(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function TY(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&qT.includes(n)||t.parser.tokenizer.state===fn.PLAINTEXT)return;Ic(t,om(e));const r={type:ht.END_TAG,tagName:n,tagID:Mc(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:X0(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===fn.RCDATA||t.parser.tokenizer.state===fn.RAWTEXT||t.parser.tokenizer.state===fn.SCRIPT_DATA)&&(t.parser.tokenizer.state=fn.DATA)}function kY(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function X0(e){const t=us(e)||{line:void 0,column:void 0,offset:void 0},n=om(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 _Y(e){return"children"in e?bc({...e,children:[]}):bc(e)}function AY(e){return function(t,n){return xk(t,{...e,file:n})}}function Sf(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 NY(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function CY(e,t,n){const a=U0((n||{}).ignore||[]),i=OY(t);let o=-1;for(;++o<i.length;)fb(e,"text",c);function c(h,g){let p=-1,b;for(;++p<g.length;){const y=g[p],w=b?b.children:void 0;if(a(y,w?w.indexOf(y):void 0,b))return;b=y}if(b)return u(h,g)}function u(h,g){const p=g[g.length-1],b=i[o][0],y=i[o][1];let w=0;const A=p.children.indexOf(h);let N=!1,R=[];b.lastIndex=0;let z=b.exec(h.value);for(;z;){const W=z.index,q={index:z.index,input:z.input,stack:[...g,h]};let C=y(...z,q);if(typeof C=="string"&&(C=C.length>0?{type:"text",value:C}:void 0),C===!1?b.lastIndex=W+1:(w!==W&&R.push({type:"text",value:h.value.slice(w,W)}
vendor: 9,090 bytes, lines 774-782
774),Array.isArray(C)?R.push(...C):C&&R.push(C),w=W+z[0].length,N=!0),!b.global)break;z=b.exec(h.value)}return N?(w<h.value.length&&R.push({type:"text",value:h.value.slice(w)}),p.children.splice(A,1,...R)):R=[h],A+R.length}}function OY(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([RY(a[0]),DY(a[1])])}return t}function RY(e){return typeof e=="string"?new RegExp(NY(e),"g"):e}function DY(e){return typeof e=="function"?e:function(){return e}}const zg="phrasing",Fg=["autolink","link","image","label"];function MY(){return{transforms:[FY],enter:{literalAutolink:LY,literalAutolinkEmail:Hg,literalAutolinkHttp:Hg,literalAutolinkWww:Hg},exit:{literalAutolink:zY,literalAutolinkEmail:BY,literalAutolinkHttp:PY,literalAutolinkWww:jY}}}function IY(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:zg,notInConstruct:Fg},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:zg,notInConstruct:Fg},{character:":",before:"[ps]",after:"\\/",inConstruct:zg,notInConstruct:Fg}]}}function LY(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Hg(e){this.config.enter.autolinkProtocol.call(this,e)}function PY(e){this.config.exit.autolinkProtocol.call(this,e)}function jY(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 BY(e){this.config.exit.autolinkEmail.call(this,e)}function zY(e){this.exit(e)}function FY(e){CY(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,HY],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),UY]],{ignore:["link","linkReference"]})}function HY(e,t,n,r,a){let i="";if(!Ek(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!qY(n)))return!1;const o=VY(n+r);if(!o[0])return!1;const c={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[c,{type:"text",value:o[1]}]:c}function UY(e,t,n,r){return!Ek(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function qY(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 VY(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=Sf(e,"(");let i=Sf(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 Ek(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||$o(n)||lm(n))&&(!t||n!==47)}wk.peek=JY;function $Y(){this.buffer()}function GY(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function YY(){this.buffer()}function QY(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function XY(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ca(this.sliceSerialize(e)).toLowerCase(),n.label=t}function WY(e){this.exit(e)}function KY(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ca(this.sliceSerialize(e)).toLowerCase(),n.label=t}function ZY(e){this.exit(e)}function JY(){return"["}function wk(e,t,n,r){const a=n.createTracker(r);let i=a.move("[^");const o=n.enter("footnoteReference"),c=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{after:"]",before:i})),c(),o(),i+=a.move("]"),i}function eQ(){return{enter:{gfmFootnoteCallString:$Y,gfmFootnoteCall:GY,gfmFootnoteDefinitionLabelString:YY,gfmFootnoteDefinition:QY},exit:{gfmFootnoteCallString:XY,gfmFootnoteCall:WY,gfmFootnoteDefinitionLabelString:KY,gfmFootnoteDefinition:ZY}}}function tQ(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:wk},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,a,i,o){const c=i.createTracker(o);let u=c.move("[^");const h=i.enter("footnoteDefinition"),g=i.enter("label");return u+=c.move(i.safe(i.associationId(r),{before:u,after:"]"})),g(),u+=c.move("]:"),r.children&&r.children.length>0&&(c.shift(4),u+=c.move((t?` 775`:" ")+i.indentLines(i.containerFlow(r,c.current()),t?Sk:nQ))),h(),u}}function nQ(e,t,n){return t===0?e:Sk(e,t,n)}function Sk(e,t,n){return(n?"":" ")+e}const rQ=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Tk.peek=lQ;function aQ(){return{canContainEols:["delete"],enter:{strikethrough:iQ},exit:{strikethrough:oQ}}}function sQ(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:rQ}],handlers:{delete:Tk}}}function iQ(e){this.enter({type:"delete",children:[]},e)}function oQ(e){this.exit(e)}function Tk(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 lQ(){return"~"}function cQ(e){return e.length}function uQ(e,t){const n=t||{},r=(n.align||[]).concat(),a=n.stringLength||cQ,i=[],o=[],c=[],u=[];let h=0,g=-1;for(;++g<e.length;){const T=[],A=[];let N=-1;for(e[g].length>h&&(h=e[g].length);++N<e[g].length;){const R=dQ(e[g][N]);if(n.alignDelimiters!==!1){const z=a(R);A[N]=z,(u[N]===void 0||z>u[N])&&(u[N]=z)}T.push(R)}o[g]=T,c[g]=A}let p=-1;if(typeof r=="object"&&"length"in r)for(;++p<h;)i[p]=p7(r[p]);else{const T=p7(r);for(;++p<h;)i[p]=T}p=-1;const b=[],y=[];for(;++p<h;){const T=i[p];let A="",N="";T===99?(A=":",N=":"):T===108?A=":":T===114&&(N=":");let R=n.alignDelimiters===!1?1:Math.max(1,u[p]-A.length-N.length);const z=A+"-".repeat(R)+N;n.alignDelimiters!==!1&&(R=A.length+R+N.length,R>u[p]&&(u[p]=R),y[p]=R),b[p]=z}o.splice(1,0,b),c.splice(1,0,y),g=-1;const w=[];for(;++g<o.length;){const T=o[g],A=c[g];p=-1;const N=[];for(;++p<h;){const R=T[p]||"";let z="",W="";if(n.alignDelimiters!==!1){const q=u[p]-(A[p]||0),C=i[p];C===114?z=" ".repeat(q):C===99?q%2?(z=" ".repeat(q/2+.5),W=" ".repeat(q/2-.5)):(z=" ".repeat(q/2),W=z):W=" ".repeat(q)}n.delimiterStart!==!1&&!p&&N.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&R==="")&&(n.delimiterStart!==!1||p)&&N.push(" "),n.alignDelimiters!==!1&&N.push(z),N.push(R),n.alignDelimiters!==!1&&N.push(W),n.padding!==!1&&N.push(" "),(n.delimiterEnd!==!1||p!==h-1)&&N.push("|")}w.push(n.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return w.join(` 776`)}function dQ(e){return e==null?"":String(e)}function p7(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 hQ(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()),fQ);return a(),o}function fQ(e,t,n){return">"+(n?"":" ")+e}function mQ(e,t){return g7(e,t.inConstruct,!0)&&!g7(e,t.notInConstruct,!1)}function g7(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 x7(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===` 777`&&mQ(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return`\\ 778`}function kk(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 pQ(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 gQ(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 xQ(e,t,n,r){const a=gQ(n),i=e.value||"",o=a==="`"?"GraveAccent":"Tilde";if(pQ(e,n)){const p=n.enter("codeIndented"),b=n.indentLines(i,bQ);return p(),b}const c=n.createTracker(r),u=a.repeat(Math.max(kk(i,a)+1,3)),h=n.enter("codeFenced");let g=c.move(u);if(e.lang){const p=n.enter(`codeFencedLang${o}`);g+=c.move(n.safe(e.lang,{before:g,after:" ",encode:["`"],...c.current()})),p()}if(e.lang&&e.meta){const p=n.enter(`codeFencedMeta${o}`);g+=c.move(" "),g+=c.move(n.safe(e.meta,{before:g,after:` 779`,encode:["`"],...c.current()})),p()}return g+=c.move(` 780`),i&&(g+=c.move(i+` 781`)),g+=c.move(u),h(),g}function bQ(e,t,n){return(n?"":" ")+e}function Vb(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 yQ(e,t,n,r){const a=Vb(n),i=a==='"'?"Quote":"Apostrophe",o=n.enter("definition");let c=n.enter("label");const u=n.createTracker(r);let h=u.move("[");return h+=u.move(n.safe(n.associationId(e),{before:h,after:"]",...u.current()})),h+=u.move("]: "),c(),!e.url||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),h+=u.move("<"),h+=u.move(n.safe(e.url,{before:h,after:">",...u.current()})),h+=u.move(">")):(c=n.enter("destinationRaw"),h+=u.move(n.safe(e.url,{before:h,after:e.title?" ":` 782`,...u.current()}
vendor: 11,420 bytes, lines 782-789
782))),c(),e.title&&(c=n.enter(`title${i}`),h+=u.move(" "+a),h+=u.move(n.safe(e.title,{before:h,after:a,...u.current()})),h+=u.move(a),c()),o(),h}function vQ(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 S0(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Tf(e,t,n){const r=xc(e),a=xc(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}}_k.peek=EQ;function _k(e,t,n,r){const a=vQ(n),i=n.enter("emphasis"),o=n.createTracker(r),c=o.move(a);let u=o.move(n.containerPhrasing(e,{after:a,before:c,...o.current()}));const h=u.charCodeAt(0),g=Tf(r.before.charCodeAt(r.before.length-1),h,a);g.inside&&(u=S0(h)+u.slice(1));const p=u.charCodeAt(u.length-1),b=Tf(r.after.charCodeAt(0),p,a);b.inside&&(u=u.slice(0,-1)+S0(p));const y=o.move(a);return i(),n.attentionEncodeSurroundingInfo={after:b.outside,before:g.outside},c+u+y}function EQ(e,t,n){return n.options.emphasis||"*"}function wQ(e,t){let n=!1;return Go(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,z2}),!!((!e.depth||e.depth<3)&&ib(e)&&(t.options.setext||n))}function SQ(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(wQ(e,n)){const g=n.enter("headingSetext"),p=n.enter("phrasing"),b=n.containerPhrasing(e,{...i.current(),before:` 783`,after:` 784`});return p(),g(),b+` 785`+(a===1?"=":"-").repeat(b.length-(Math.max(b.lastIndexOf("\r"),b.lastIndexOf(` 786`))+1))}const o="#".repeat(a),c=n.enter("headingAtx"),u=n.enter("phrasing");i.move(o+" ");let h=n.containerPhrasing(e,{before:"# ",after:` 787`,...i.current()});return/^[\t ]/.test(h)&&(h=S0(h.charCodeAt(0))+h.slice(1)),h=h?o+" "+h:o,n.options.closeAtx&&(h+=" "+o),u(),c(),h}Ak.peek=TQ;function Ak(e){return e.value||""}function TQ(){return"<"}Nk.peek=kQ;function Nk(e,t,n,r){const a=Vb(n),i=a==='"'?"Quote":"Apostrophe",o=n.enter("image");let c=n.enter("label");const u=n.createTracker(r);let h=u.move("![");return h+=u.move(n.safe(e.alt,{before:h,after:"]",...u.current()})),h+=u.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),h+=u.move("<"),h+=u.move(n.safe(e.url,{before:h,after:">",...u.current()})),h+=u.move(">")):(c=n.enter("destinationRaw"),h+=u.move(n.safe(e.url,{before:h,after:e.title?" ":")",...u.current()}))),c(),e.title&&(c=n.enter(`title${i}`),h+=u.move(" "+a),h+=u.move(n.safe(e.title,{before:h,after:a,...u.current()})),h+=u.move(a),c()),h+=u.move(")"),o(),h}function kQ(){return"!"}Ck.peek=_Q;function Ck(e,t,n,r){const a=e.referenceType,i=n.enter("imageReference");let o=n.enter("label");const c=n.createTracker(r);let u=c.move("![");const h=n.safe(e.alt,{before:u,after:"]",...c.current()});u+=c.move(h+"]["),o();const g=n.stack;n.stack=[],o=n.enter("reference");const p=n.safe(n.associationId(e),{before:u,after:"]",...c.current()});return o(),n.stack=g,i(),a==="full"||!h||h!==p?u+=c.move(p+"]"):a==="shortcut"?u=u.slice(0,-1):u+=c.move("]"),u}function _Q(){return"!"}Ok.peek=AQ;function Ok(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],c=n.compilePattern(o);let u;if(o.atBreak)for(;u=c.exec(r);){let h=u.index;r.charCodeAt(h)===10&&r.charCodeAt(h-1)===13&&h--,r=r.slice(0,h)+" "+r.slice(u.index+1)}}return a+r+a}function AQ(){return"`"}function Rk(e,t){const n=ib(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))}Dk.peek=NQ;function Dk(e,t,n,r){const a=Vb(n),i=a==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let c,u;if(Rk(e,n)){const g=n.stack;n.stack=[],c=n.enter("autolink");let p=o.move("<");return p+=o.move(n.containerPhrasing(e,{before:p,after:">",...o.current()})),p+=o.move(">"),c(),n.stack=g,p}c=n.enter("link"),u=n.enter("label");let h=o.move("[");return h+=o.move(n.containerPhrasing(e,{before:h,after:"](",...o.current()})),h+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),h+=o.move("<"),h+=o.move(n.safe(e.url,{before:h,after:">",...o.current()})),h+=o.move(">")):(u=n.enter("destinationRaw"),h+=o.move(n.safe(e.url,{before:h,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=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),u()),h+=o.move(")"),c(),h}function NQ(e,t,n){return Rk(e,n)?"<":"["}Mk.peek=CQ;function Mk(e,t,n,r){const a=e.referenceType,i=n.enter("linkReference");let o=n.enter("label");const c=n.createTracker(r);let u=c.move("[");const h=n.containerPhrasing(e,{before:u,after:"]",...c.current()});u+=c.move(h+"]["),o();const g=n.stack;n.stack=[],o=n.enter("reference");const p=n.safe(n.associationId(e),{before:u,after:"]",...c.current()});return o(),n.stack=g,i(),a==="full"||!h||h!==p?u+=c.move(p+"]"):a==="shortcut"?u=u.slice(0,-1):u+=c.move("]"),u}function CQ(){return"["}function $b(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 OQ(e){const t=$b(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 RQ(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 Ik(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 DQ(e,t,n,r){const a=n.enter("list"),i=n.bulletCurrent;let o=e.ordered?RQ(n):$b(n);const c=e.ordered?o==="."?")":".":OQ(n);let u=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&&(u=!0),Ik(n)===o&&g){let p=-1;for(;++p<e.children.length;){const b=e.children[p];if(b&&b.type==="listItem"&&b.children&&b.children[0]&&b.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=c),n.bulletCurrent=o;const h=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=i,a(),h}function MQ(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function IQ(e,t,n,r){const a=MQ(n);let i=n.bulletCurrent||$b(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 c=n.createTracker(r);c.move(i+" ".repeat(o-i.length)),c.shift(o);const u=n.enter("listItem"),h=n.indentLines(n.containerFlow(e,c.current()),g);return u(),h;function g(p,b,y){return b?(y?"":" ".repeat(o))+p:(y?i:i+" ".repeat(o-i.length))+p}}function LQ(e,t,n,r){const a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o}const PQ=U0(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function jQ(e,t,n,r){return(e.children.some(function(o){return PQ(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function BQ(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Lk.peek=zQ;function Lk(e,t,n,r){const a=BQ(n),i=n.enter("strong"),o=n.createTracker(r),c=o.move(a+a);let u=o.move(n.containerPhrasing(e,{after:a,before:c,...o.current()}));const h=u.charCodeAt(0),g=Tf(r.before.charCodeAt(r.before.length-1),h,a);g.inside&&(u=S0(h)+u.slice(1));const p=u.charCodeAt(u.length-1),b=Tf(r.after.charCodeAt(0),p,a);b.inside&&(u=u.slice(0,-1)+S0(p));const y=o.move(a+a);return i(),n.attentionEncodeSurroundingInfo={after:b.outside,before:g.outside},c+u+y}function zQ(e,t,n){return n.options.strong||"*"}function FQ(e,t,n,r){return n.safe(e.value,r)}function HQ(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 UQ(e,t,n){const r=(Ik(n)+(n.options.ruleSpaces?" ":"")).repeat(HQ(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Pk={blockquote:hQ,break:x7,code:xQ,definition:yQ,emphasis:_k,hardBreak:x7,heading:SQ,html:Ak,image:Nk,imageReference:Ck,inlineCode:Ok,link:Dk,linkReference:Mk,list:DQ,listItem:IQ,paragraph:LQ,root:jQ,strong:Lk,text:FQ,thematicBreak:UQ};function qQ(){return{enter:{table:VQ,tableData:b7,tableHeader:b7,tableRow:GQ},exit:{codeText:YQ,table:$Q,tableData:Ug,tableHeader:Ug,tableRow:Ug}}}function VQ(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 $Q(e){this.exit(e),this.data.inTable=void 0}function GQ(e){this.enter({type:"tableRow",children:[]},e)}function Ug(e){this.exit(e)}function b7(e){this.enter({type:"tableCell",children:[]},e)}function YQ(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,QQ));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function QQ(e,t){return t==="|"?t:e}function XQ(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 788`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:b,table:o,tableCell:u,tableRow:c}};function o(y,w,T,A){return h(g(y,T,A),y.align)}function c(y,w,T,A){const N=p(y,T,A),R=h([N]);return R.slice(0,R.indexOf(` 789`))}function u(y,w,T,A){const N=T.enter("tableCell"),R=T.enter("phrasing"),z=T.containerPhrasing(y,{...A,before:i,after:i});return R(),N(),z}function h(y,w){return uQ(y,{align:w,alignDelimiters:r,padding:n,stringLength:a})}function g(y,w,T){const A=y.children;let N=-1;const R=[],z=w.enter("table");for(;++N<A.length;)R[N]=p(A[N],w,T);return z(),R}function p(y,w,T){const A=y.children;let N=-1;const R=[],z=w.enter("tableRow");for(;++N<A.length;)R[N]=u(A[N],y,w,T);return z(),R}function b(y,w,T){let A=Pk.inlineCode(y,w,T);
vendor: 7,681 bytes, line 789
789return T.stack.includes("tableCell")&&(A=A.replace(/\|/g,"\\$&")),A}}function WQ(){return{exit:{taskListCheckValueChecked:y7,taskListCheckValueUnchecked:y7,paragraph:ZQ}}}function KQ(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:JQ}}}function y7(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function ZQ(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 c=a[i];if(c.type==="paragraph"){o=c;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 JQ(e,t,n,r){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",c=n.createTracker(r);i&&c.move(o);let u=Pk.listItem(e,t,n,{...r,...c.current()});return i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),u;function h(g){return g+o}}function eX(){return[MY(),eQ(),aQ(),qQ(),WQ()]}function tX(e){return{extensions:[IY(),tQ(e),sQ(),XQ(e),KQ()]}}const nX={tokenize:lX,partial:!0},jk={tokenize:cX,partial:!0},Bk={tokenize:uX,partial:!0},zk={tokenize:dX,partial:!0},rX={tokenize:hX,partial:!0},Fk={name:"wwwAutolink",tokenize:iX,previous:Uk},Hk={name:"protocolAutolink",tokenize:oX,previous:qk},ti={name:"emailAutolink",tokenize:sX,previous:Vk},ms={};function aX(){return{text:ms}}let _o=48;for(;_o<123;)ms[_o]=ti,_o++,_o===58?_o=65:_o===91&&(_o=97);ms[43]=ti;ms[45]=ti;ms[46]=ti;ms[95]=ti;ms[72]=[ti,Hk];ms[104]=[ti,Hk];ms[87]=[ti,Fk];ms[119]=[ti,Fk];function sX(e,t,n){const r=this;let a,i;return o;function o(p){return!ox(p)||!Vk.call(r,r.previous)||Gb(r.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(p))}function c(p){return ox(p)?(e.consume(p),c):p===64?(e.consume(p),u):n(p)}function u(p){return p===46?e.check(rX,g,h)(p):p===45||p===95||nr(p)?(i=!0,e.consume(p),u):g(p)}function h(p){return e.consume(p),a=!0,u}function g(p){return i&&a&&cr(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function iX(e,t,n){const r=this;return a;function a(o){return o!==87&&o!==119||!Uk.call(r,r.previous)||Gb(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(nX,e.attempt(jk,e.attempt(Bk,i),n),n)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function oX(e,t,n){const r=this;let a="",i=!1;return o;function o(p){return(p===72||p===104)&&qk.call(r,r.previous)&&!Gb(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(p),e.consume(p),c):n(p)}function c(p){if(cr(p)&&a.length<5)return a+=String.fromCodePoint(p),e.consume(p),c;if(p===58){const b=a.toLowerCase();if(b==="http"||b==="https")return e.consume(p),u}return n(p)}function u(p){return p===47?(e.consume(p),i?h:(i=!0,u)):n(p)}function h(p){return p===null||hf(p)||Bt(p)||$o(p)||lm(p)?n(p):e.attempt(jk,e.attempt(Bk,g),n)(p)}function g(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function lX(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 cX(e,t,n){let r,a,i;return o;function o(h){return h===46||h===95?e.check(zk,u,c)(h):h===null||Bt(h)||$o(h)||h!==45&&lm(h)?u(h):(i=!0,e.consume(h),o)}function c(h){return h===95?r=!0:(a=r,r=void 0),e.consume(h),o}function u(h){return a||r||!i?n(h):t(h)}}function uX(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(zk,t,i)(o):o===null||Bt(o)||$o(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&r++,e.consume(o),a}}function dX(e,t,n){return r;function r(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),r):c===38?(e.consume(c),i):c===93?(e.consume(c),a):c===60||c===null||Bt(c)||$o(c)?t(c):n(c)}function a(c){return c===null||c===40||c===91||Bt(c)||$o(c)?t(c):r(c)}function i(c){return cr(c)?o(c):n(c)}function o(c){return c===59?(e.consume(c),r):cr(c)?(e.consume(c),o):n(c)}}function hX(e,t,n){return r;function r(i){return e.consume(i),a}function a(i){return nr(i)?n(i):t(i)}}function Uk(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Bt(e)}function qk(e){return!cr(e)}function Vk(e){return!(e===47||ox(e))}function ox(e){return e===43||e===45||e===46||e===95||nr(e)}function Gb(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 fX={tokenize:EX,partial:!0};function mX(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:bX,continuation:{tokenize:yX},exit:vX}},text:{91:{name:"gfmFootnoteCall",tokenize:xX},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:pX,resolveTo:gX}}}}function pX(e,t,n){const r=this;let a=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;a--;){const u=r.events[a][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return c;function c(u){if(!o||!o._balanced)return n(u);const h=Ca(r.sliceSerialize({start:o.end,end:r.now()}));return h.codePointAt(0)!==94||!i.includes(h.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function gX(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)},c=[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,...c),e}function xX(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,o;return c;function c(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),u}function u(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(p){if(i>999||p===93&&!o||p===null||p===91||Bt(p))return n(p);if(p===93){e.exit("chunkString");const b=e.exit("gfmFootnoteCallString");return a.includes(Ca(r.sliceSerialize(b)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return Bt(p)||(o=!0),i++,e.consume(p),p===92?g:h}function g(p){return p===91||p===92||p===93?(e.consume(p),i++,h):h(p)}}
vendor: 7,685 bytes, line 789
789function bX(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0,c;return u;function u(w){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(w),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(w){return w===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(w),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",g):n(w)}function g(w){if(o>999||w===93&&!c||w===null||w===91||Bt(w))return n(w);if(w===93){e.exit("chunkString");const T=e.exit("gfmFootnoteDefinitionLabelString");return i=Ca(r.sliceSerialize(T)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(w),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),b}return Bt(w)||(c=!0),o++,e.consume(w),w===92?p:g}function p(w){return w===91||w===92||w===93?(e.consume(w),o++,g):g(w)}function b(w){return w===58?(e.enter("definitionMarker"),e.consume(w),e.exit("definitionMarker"),a.includes(i)||a.push(i),ft(e,y,"gfmFootnoteDefinitionWhitespace")):n(w)}function y(w){return t(w)}}function yX(e,t,n){return e.check(H0,t,e.attempt(fX,t,n))}function vX(e){e.exit("gfmFootnoteDefinition")}function EX(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 wX(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,c){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let h=u;for(;h--;)if(o[h][0]==="exit"&&o[h][1].type==="strikethroughSequenceTemporary"&&o[h][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[h][1].end.offset-o[h][1].start.offset){o[u][1].type="strikethroughSequence",o[h][1].type="strikethroughSequence";const g={type:"strikethrough",start:Object.assign({},o[h][1].start),end:Object.assign({},o[u][1].end)},p={type:"strikethroughText",start:Object.assign({},o[h][1].end),end:Object.assign({},o[u][1].start)},b=[["enter",g,c],["enter",o[h][1],c],["exit",o[h][1],c],["enter",p,c]],y=c.parser.constructs.insideSpan.null;y&&Qr(b,b.length,0,cm(y,o.slice(h+1,u),c)),Qr(b,b.length,0,[["exit",p,c],["enter",o[u][1],c],["exit",o[u][1],c],["exit",g,c]]),Qr(o,h-1,u-h+3,b),u=h+b.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}function i(o,c,u){const h=this.previous,g=this.events;let p=0;return b;function b(w){return h===126&&g[g.length-1][1].type!=="characterEscape"?u(w):(o.enter("strikethroughSequenceTemporary"),y(w))}function y(w){const T=xc(h);if(w===126)return p>1?u(w):(o.consume(w),p++,y);if(p<2&&!n)return u(w);const A=o.exit("strikethroughSequenceTemporary"),N=xc(w);return A._open=!N||N===2&&!!T,A._close=!T||T===2&&!!N,c(w)}}}class SX{constructor(){this.map=[]}add(t,n,r){TX(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 TX(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 kX(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 _X(){return{flow:{null:{name:"table",tokenize:AX,resolveAll:NX}}}}function AX(e,t,n){const r=this;let a=0,i=0,o;return c;function c(I){let se=r.events.length-1;for(;se>-1;){const oe=r.events[se][1].type;if(oe==="lineEnding"||oe==="linePrefix")se--;else break}const ae=se>-1?r.events[se][1].type:null,me=ae==="tableHead"||ae==="tableRow"?C:u;return me===C&&r.parser.lazy[r.now().line]?n(I):me(I)}function u(I){return e.enter("tableHead"),e.enter("tableRow"),h(I)}function h(I){return I===124||(o=!0,i+=1),g(I)}function g(I){return I===null?n(I):Qe(I)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),y):n(I):xt(I)?ft(e,g,"whitespace")(I):(i+=1,o&&(o=!1,a+=1),I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),o=!0,g):(e.enter("data"),p(I)))}function p(I){return I===null||I===124||Bt(I)?(e.exit("data"),g(I)):(e.consume(I),I===92?b:p)}function b(I){return I===92||I===124?(e.consume(I),p):p(I)}function y(I){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(I):(e.enter("tableDelimiterRow"),o=!1,xt(I)?ft(e,w,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):w(I))}function w(I){return I===45||I===58?A(I):I===124?(o=!0,e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),T):q(I)}function T(I){return xt(I)?ft(e,A,"whitespace")(I):A(I)}function A(I){return I===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),N):I===45?(i+=1,N(I)):I===null||Qe(I)?W(I):q(I)}function N(I){return I===45?(e.enter("tableDelimiterFiller"),R(I)):q(I)}function R(I){return I===45?(e.consume(I),R):I===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),z):(e.exit("tableDelimiterFiller"),z(I))}function z(I){return xt(I)?ft(e,W,"whitespace")(I):W(I)}function W(I){return I===124?w(I):I===null||Qe(I)?!o||a!==i?q(I):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(I)):q(I)}function q(I){return n(I)}function C(I){return e.enter("tableRow"),M(I)}function M(I){return I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),M):I===null||Qe(I)?(e.exit("tableRow"),t(I)):xt(I)?ft(e,M,"whitespace")(I):(e.enter("data"),V(I))}function V(I){return I===null||I===124||Bt(I)?(e.exit("data"),M(I)):(e.consume(I),I===92?Z:V)}function Z(I){return I===92||I===124?(e.consume(I),V):V(I)}}function NX(e,t){let n=-1,r=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],c=!1,u=0,h,g,p;const b=new SX;for(;++n<e.length;){const y=e[n],w=y[1];y[0]==="enter"?w.type==="tableHead"?(c=!1,u!==0&&(v7(b,t,u,h,g),g=void 0,u=0),h={type:"table",start:Object.assign({},w.start),end:Object.assign({},w.end)},b.add(n,0,[["enter",h,t]])):w.type==="tableRow"||w.type==="tableDelimiterRow"?(r=!0,p=void 0,i=[0,0,0,0],o=[0,n+1,0,0],c&&(c=!1,g={type:"tableBody",start:Object.assign({},w.start),end:Object.assign({},w.end)},b.add(n,0,[["enter",g,t]])),a=w.type==="tableDelimiterRow"?2:g?3:1):a&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],p=Lh(b,t,i,a,void 0,p),i=[0,0,0,0]),o[2]=n)):w.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(o[0]=o[1],p=Lh(b,t,i,a,void 0,p)),i=o,o=[i[1],n,0,0])):w.type==="tableHead"?(c=!0,u=n):w.type==="tableRow"||w.type==="tableDelimiterRow"?(u=n,i[1]!==0?(o[0]=o[1],p=Lh(b,t,i,a,n,p)):o[1]!==0&&(p=Lh(b,t,o,a,n,p)),a=0):a&&(w.type==="data"||w.type==="tableDelimiterMarker"||w.type==="tableDelimiterFiller")&&(o[3]=n)}for(u!==0&&v7(b,t,u,h,g),b.consume(t.events),n=-1;++n<t.events.length;){const y=t.events[n];
vendor: 13,045 bytes, lines 789-828
789y[0]==="enter"&&y[1].type==="table"&&(y[1]._align=kX(t.events,n))}return e}function Lh(e,t,n,r,a,i){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(i.end=Object.assign({},nc(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const u=nc(t.events,n[1]);if(i={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const h=nc(t.events,n[2]),g=nc(t.events,n[3]),p={type:c,start:Object.assign({},h),end:Object.assign({},g)};if(e.add(n[2],0,[["enter",p,t]]),r!==2){const b=t.events[n[2]],y=t.events[n[3]];if(b[1].end=Object.assign({},y[1].end),b[1].type="chunkText",b[1].contentType="text",n[3]>n[2]+1){const w=n[2]+1,T=n[3]-n[2]-1;e.add(w,T,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return a!==void 0&&(i.end=Object.assign({},nc(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function v7(e,t,n,r,a){const i=[],o=nc(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 nc(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const CX={name:"tasklistCheck",tokenize:RX};function OX(){return{text:{91:CX}}}function RX(e,t,n){const r=this;return a;function a(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),i)}function i(u){return Bt(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):n(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):n(u)}function c(u){return Qe(u)?t(u):xt(u)?e.check({tokenize:DX},t,n)(u):n(u)}}function DX(e,t,n){return ft(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function MX(e){return e9([aX(),mX(),wX(e),_X(),OX()])}const IX={};function LX(e){const t=this,n=e||IX,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(MX(n)),i.push(eX()),o.push(tX(n))}function PX(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:c,mathText:o,mathTextData:c}};function e(u){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]}},u)}function t(){this.buffer()}function n(){const u=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=u}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(u){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),g=this.stack[this.stack.length-1];g.type,this.exit(u),g.value=h;const p=g.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function i(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function o(u){const h=this.resume(),g=this.stack[this.stack.length-1];g.type,this.exit(u),g.value=h,g.data.hChildren.push({type:"text",value:h})}function c(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function jX(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` 790`,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,c,u){const h=i.value||"",g=c.createTracker(u),p="$".repeat(Math.max(kk(h,"$")+1,2)),b=c.enter("mathFlow");let y=g.move(p);if(i.meta){const w=c.enter("mathFlowMeta");y+=g.move(c.safe(i.meta,{after:` 791`,before:y,encode:["$"],...g.current()})),w()}return y+=g.move(` 792`),h&&(y+=g.move(h+` 793`)),y+=g.move(p),b(),y}function r(i,o,c){let u=i.value||"",h=1;for(t||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(u);)h++;const g="$".repeat(h);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let p=-1;for(;++p<c.unsafe.length;){const b=c.unsafe[p];if(!b.atBreak)continue;const y=c.compilePattern(b);let w;for(;w=y.exec(u);){let T=w.index;u.codePointAt(T)===10&&u.codePointAt(T-1)===13&&T--,u=u.slice(0,T)+" "+u.slice(w.index+1)}}return g+u+g}function a(){return"$"}}const BX={tokenize:zX,concrete:!0,name:"mathFlow"},E7={tokenize:FX,partial:!0};function zX(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 c;function c(R){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(R)}function u(R){return R===36?(e.consume(R),o++,u):o<2?n(R):(e.exit("mathFlowFenceSequence"),ft(e,h,"whitespace")(R))}function h(R){return R===null||Qe(R)?p(R):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(R))}function g(R){return R===null||Qe(R)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),p(R)):R===36?n(R):(e.consume(R),g)}function p(R){return e.exit("mathFlowFence"),r.interrupt?t(R):e.attempt(E7,b,A)(R)}function b(R){return e.attempt({tokenize:N,partial:!0},A,y)(R)}function y(R){return(i?ft(e,w,"linePrefix",i+1):w)(R)}function w(R){return R===null?A(R):Qe(R)?e.attempt(E7,b,A)(R):(e.enter("mathFlowValue"),T(R))}function T(R){return R===null||Qe(R)?(e.exit("mathFlowValue"),w(R)):(e.consume(R),T)}function A(R){return e.exit("mathFlow"),t(R)}function N(R,z,W){let q=0;return ft(R,C,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function C(Z){return R.enter("mathFlowFence"),R.enter("mathFlowFenceSequence"),M(Z)}function M(Z){return Z===36?(q++,R.consume(Z),M):q<o?W(Z):(R.exit("mathFlowFenceSequence"),ft(R,V,"whitespace")(Z))}function V(Z){return Z===null||Qe(Z)?(R.exit("mathFlowFence"),z(Z)):W(Z)}}}function FX(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 HX(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:UX,previous:qX,name:"mathText"};function r(a,i,o){let c=0,u,h;return g;function g(T){return a.enter("mathText"),a.enter("mathTextSequence"),p(T)}function p(T){return T===36?(a.consume(T),c++,p):c<2&&!n?o(T):(a.exit("mathTextSequence"),b(T))}function b(T){return T===null?o(T):T===36?(h=a.enter("mathTextSequence"),u=0,w(T)):T===32?(a.enter("space"),a.consume(T),a.exit("space"),b):Qe(T)?(a.enter("lineEnding"),a.consume(T),a.exit("lineEnding"),b):(a.enter("mathTextData"),y(T))}function y(T){return T===null||T===32||T===36||Qe(T)?(a.exit("mathTextData"),b(T)):(a.consume(T),y)}function w(T){return T===36?(a.consume(T),u++,w):u===c?(a.exit("mathTextSequence"),a.exit("mathText"),i(T)):(h.type="mathTextData",y(T))}}}function UX(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 qX(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function VX(e){return{flow:{36:BX},text:{36:HX(e)}}}const $X={};function GX(e){const t=this,n=e||$X,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(VX(n)),i.push(PX()),o.push(jX(n))}function YX({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(u=>u==="*"),c=n.length&&!n.every(u=>u==="*");if(!e&&(o||c))throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return u=>{const h=WX(e,t,n,r,a,i);Go(u,h)}}function w7(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 QX(e){return typeof e!="string"?!1:e.startsWith("/")}const XX=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:"]);function S7(e,t,n,r=!1,a=!1){if(!e)return null;if(typeof e=="string"&&e.startsWith("#")&&!a)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if(typeof e=="string"&&e.startsWith("data:"))return a&&r&&e.startsWith("data:image/")?e:null;const i=w7(e,n);if(!i||!XX.has(i.protocol))return null;if(i.protocol==="mailto:")return i.href;const o=QX(e);return i&&t.some(c=>{const u=w7(c,n);return!u||u.origin!==i.origin?!1:i.href.startsWith(u.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 qg=Symbol("node-seen"),WX=(e,t,n,r,a,i)=>{const o=(c,u,h)=>{if(c.type!=="element"||c[qg])return Hu;if(c.tagName==="a"){const g=S7(c.properties.href,t,e,!1,!1);return g===null?(c[qg]=!0,Go(c,o),h&&typeof u=="number"&&(h.children[u]={type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(c.properties.href),class:i},children:[...c.children,{type:"text",value:" [blocked]"}]}),mf):(c.properties.href=g,c.properties.target="_blank",c.properties.rel="noopener noreferrer",Hu)}if(c.tagName==="img"){const g=S7(c.properties.src,n,e,r,!0);return g===null?(c[qg]=!0,Go(c,o),h&&typeof u=="number"&&(h.children[u]={type:"element",tagName:"span",properties:{class:a},children:[{type:"text",value:"[Image blocked: "+String(c.properties.alt||"No description")+"]"}]}),mf):(c.properties.src=g,Hu)}return Hu};return o};/** 794 * @license lucide-react v0.542.0 - ISC 795 * 796 * This source code is licensed under the ISC license. 797 * See the LICENSE file in the root directory of this source tree. 798 */const KX=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ZX=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),T7=e=>{const t=ZX(e);return t.charAt(0).toUpperCase()+t.slice(1)},$k=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),JX=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** 799 * @license lucide-react v0.542.0 - ISC 800 * 801 * This source code is licensed under the ISC license. 802 * See the LICENSE file in the root directory of this source tree. 803 */var eW={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"};/** 804 * @license lucide-react v0.542.0 - ISC 805 * 806 * This source code is licensed under the ISC license. 807 * See the LICENSE file in the root directory of this source tree. 808 */const tW=O.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:i,iconNode:o,...c},u)=>O.createElement("svg",{ref:u,...eW,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:$k("lucide",a),...!i&&!JX(c)&&{"aria-hidden":"true"},...c},[...o.map(([h,g])=>O.createElement(h,g)),...Array.isArray(i)?i:[i]]));/** 809 * @license lucide-react v0.542.0 - ISC 810 * 811 * This source code is licensed under the ISC license. 812 * See the LICENSE file in the root directory of this source tree. 813 */const Yb=(e,t)=>{const n=O.forwardRef(({className:r,...a},i)=>O.createElement(tW,{ref:i,iconNode:t,className:$k(`lucide-${KX(T7(e))}`,`lucide-${e}`,r),...a}));return n.displayName=T7(e),n};/** 814 * @license lucide-react v0.542.0 - ISC 815 * 816 * This source code is licensed under the ISC license. 817 * See the LICENSE file in the root directory of this source tree. 818 */const nW=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Gk=Yb("check",nW);/** 819 * @license lucide-react v0.542.0 - ISC 820 * 821 * This source code is licensed under the ISC license. 822 * See the LICENSE file in the root directory of this source tree. 823 */const rW=[["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"}]],Yk=Yb("copy",rW);/** 824 * @license lucide-react v0.542.0 - ISC 825 * 826 * This source code is licensed under the ISC license. 827 * See the LICENSE file in the root directory of this source tree. 828 */const aW=[["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"}]],Qb=Yb("download",aW);
vendor: 44,222 bytes, lines 828-830
828let wn=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function sW(e){return Xb(e)}function Xb(e){return Array.isArray(e)?iW(e):e instanceof RegExp?e:typeof e=="object"?oW(e):e}function iW(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Xb(e[n]);return t}function oW(e){let t={};for(let n in e)t[n]=Xb(e[n]);return t}function Qk(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Xk(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Xk(e.substring(0,e.length-1)):e.substr(~t+1)}var Vg=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ph=class{static hasCaptures(e){return e===null?!1:(Vg.lastIndex=0,Vg.test(e))}static replaceCaptures(e,t,n){return e.replace(Vg,(r,a,i,o)=>{let c=n[parseInt(a||i,10)];if(c){let u=t.substring(c.start,c.end);for(;u[0]===".";)u=u.substring(1);switch(o){case"downcase":return u.toLowerCase();case"upcase":return u.toUpperCase();default:return u}}else return r})}};function Wk(e,t){return e<t?-1:e>t?1:0}function Kk(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=Wk(e[a],t[a]);if(i!==0)return i}return 0}return n-r}function k7(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 Zk(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Jk=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}},kf=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(uW(e),t)}static createFromParsedTheme(e,t){return hW(e,t)}_cachedMatchRoot=new Jk(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=>lW(e.parent,a.parentScopes));return r?new e_(r.fontStyle,r.foreground,r.background):null}},$g=class Jh{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Jh(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Jh(n,t[r]);return n}push(t){return new Jh(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 lW(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&&!cW(e.scopeName,r);){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function cW(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var e_=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function uW(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 c;if(typeof o.scope=="string"){let p=o.scope;p=p.replace(/^[,]+/,""),p=p.replace(/[,]+$/,""),c=p.split(",")}else Array.isArray(o.scope)?c=o.scope:c=[""];let u=-1;if(typeof o.settings.fontStyle=="string"){u=0;let p=o.settings.fontStyle.split(" ");for(let b=0,y=p.length;b<y;b++)switch(p[b]){case"italic":u=u|1;break;case"bold":u=u|2;break;case"underline":u=u|4;break;case"strikethrough":u=u|8;break}}let h=null;typeof o.settings.foreground=="string"&&k7(o.settings.foreground)&&(h=o.settings.foreground);let g=null;typeof o.settings.background=="string"&&k7(o.settings.background)&&(g=o.settings.background);for(let p=0,b=c.length;p<b;p++){let w=c[p].trim().split(" "),T=w[w.length-1],A=null;w.length>1&&(A=w.slice(0,w.length-1),A.reverse()),n[r++]=new dW(T,A,a,u,h,g)}}return n}var dW=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}},tr=(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))(tr||{});function hW(e,t){e.sort((u,h)=>{let g=Wk(u.scope,h.scope);return g!==0||(g=Kk(u.parentScopes,h.parentScopes),g!==0)?g:u.index-h.index});let n=0,r="#000000",a="#ffffff";for(;e.length>=1&&e[0].scope==="";){let u=e.shift();u.fontStyle!==-1&&(n=u.fontStyle),u.foreground!==null&&(r=u.foreground),u.background!==null&&(a=u.background)}let i=new fW(t),o=new e_(n,i.getId(r),i.getId(a)),c=new pW(new lx(0,null,-1,0,0),[]);for(let u=0,h=e.length;u<h;u++){let g=e[u];c.insert(0,g.scope,g.parentScopes,g.fontStyle,i.getId(g.foreground),i.getId(g.background))}return new kf(i,o,c)}var fW=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)}},mW=Object.freeze([]),lx=class t_{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,a,i){this.scopeDepth=t,this.parentScopes=n||mW,this.fontStyle=r,this.foreground=a,this.background=i}clone(){return new t_(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)}},pW=class cx{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(cx._cmpBySpecificity),n}insert(t,n,r,a,i,o){if(n===""){this._doInsertHere(t,r,a,i,o);return}let c=n.indexOf("."),u,h;c===-1?(u=n,h=""):(u=n.substring(0,c),h=n.substring(c+1));let g;this._children.hasOwnProperty(u)?g=this._children[u]:(g=new cx(this._mainRule.clone(),lx.cloneArr(this._rulesWithParentScopes)),this._children[u]=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,c=this._rulesWithParentScopes.length;o<c;o++){let u=this._rulesWithParentScopes[o];if(Kk(u.parentScopes,n)===0){u.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 lx(t,n,r,a,i))}},Ec=class ca{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=ca.getLanguageId(t),r=ca.getTokenType(t),a=ca.getFontStyle(t),i=ca.getForeground(t),o=ca.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,c){let u=ca.getLanguageId(t),h=ca.getTokenType(t),g=ca.containsBalancedBrackets(t)?1:0,p=ca.getFontStyle(t),b=ca.getForeground(t),y=ca.getBackground(t);return n!==0&&(u=n),r!==8&&(h=r),a!==null&&(g=a?1:0),i!==-1&&(p=i),o!==0&&(b=o),c!==0&&(y=c),(u<<0|h<<8|g<<10|p<<11|b<<15|y<<24)>>>0}};function _f(e,t){const n=[],r=gW(e);let a=r.next();for(;a!==null;){let u=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":u=1;break;case"L":u=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=r.next()}let h=o();if(n.push({matcher:h,priority:u}),a!==",")break;a=r.next()}return n;function i(){if(a==="-"){a=r.next();const u=i();return h=>!!u&&!u(h)}if(a==="("){a=r.next();const u=c();return a===")"&&(a=r.next()),u}if(_7(a)){const u=[];do u.push(a),a=r.next();while(_7(a));return h=>t(u,h)}return null}function o(){const u=[];let h=i();for(;h;)u.push(h),h=i();return g=>u.every(p=>p(g))}function c(){const u=[];let h=o();for(;h&&(u.push(h),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");h=o()}return g=>u.some(p=>p(g))}}function _7(e){return!!e&&!!e.match(/[\w\.:]+/)}function gW(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 n_(e){typeof e.dispose=="function"&&e.dispose()}var T0=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},xW=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},bW=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))}},yW=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new T0(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new bW;for(const n of e)vW(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof T0){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 vW(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 T0?ef({baseGrammar:i,selfGrammar:a},r):ux(e.ruleName,{baseGrammar:i,selfGrammar:a,repository:a.repository},r);const o=n.injections(e.scopeName);if(o)for(const c of o)r.add(new T0(c))}function ux(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Af([r],t,n)}}function ef(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Af(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Af(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Af(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?Qk({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Af(r.patterns,{...t,repository:a},n);const i=r.include;if(!i)continue;const o=r_(i);switch(o.kind){case 0:ef({...t,selfGrammar:t.baseGrammar},n);break;case 1:ef(t,n);break;case 2:ux(o.ruleName,{...t,repository:a},n);break;case 3:case 4:const c=o.scopeName===t.selfGrammar.scopeName?t.selfGrammar:o.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(c){const u={baseGrammar:t.baseGrammar,selfGrammar:c,repository:a};o.kind===4?ux(o.ruleName,u,n):ef(u,n)}else o.kind===4?n.add(new xW(o.scopeName,o.ruleName)):n.add(new T0(o.scopeName));break}}}var EW=class{kind=0},wW=class{kind=1},SW=class{constructor(e){this.ruleName=e}kind=2},TW=class{constructor(e){this.scopeName=e}kind=3},kW=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function r_(e){if(e==="$base")return new EW;if(e==="$self")return new wW;const t=e.indexOf("#");if(t===-1)return new TW(e);if(t===0)return new SW(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new kW(n,r)}}var _W=/\\(\d+)/,A7=/\\(\d+)/g,AW=-1,a_=-2;var W0=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Ph.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Ph.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Xk(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:Ph.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ph.replaceCaptures(this._contentName,e,t)}},NW=class extends W0{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!")}},CW=class extends W0{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,a){super(e,t,n,null),this._match=new k0(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 _0,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},N7=class extends W0{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 _0,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},dx=class extends W0{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,a,i,o,c,u,h){super(e,t,n,r),this._begin=new k0(a,this.id),this.beginCaptures=i,this._end=new k0(o||"ï¿¿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!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 _0;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}},Nf=class extends W0{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,a,i,o,c,u){super(e,t,n,r),this._begin=new k0(a,this.id),this.beginCaptures=i,this.whileCaptures=c,this._while=new k0(o,a_),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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 _0;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 _0,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"ï¿¿"),this._cachedCompiledWhilePatterns}},s_=class Kn{static createCaptureRule(t,n,r,a,i){return t.registerRule(o=>new NW(n,o,r,a,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(a=>{if(t.id=a,t.match)return new CW(t.$vscodeTextmateLocation,t.id,t.name,t.match,Kn._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Qk({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new N7(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Kn._compilePatterns(i,n,r))}return t.while?new Nf(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Kn._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Kn._compileCaptures(t.whileCaptures||t.captures,n,r),Kn._compilePatterns(t.patterns,n,r)):new dx(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Kn._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Kn._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Kn._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 c=parseInt(o,10);c>i&&(i=c)}for(let o=0;o<=i;o++)a[o]=null;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const c=parseInt(o,10);let u=0;t[o].patterns&&(u=Kn.getCompiledRuleId(t[o],n,r)),a[c]=Kn.createCaptureRule(n,t[o].$vscodeTextmateLocation,t[o].name,t[o].contentName,u)}}return a}static _compilePatterns(t,n,r){let a=[];if(t)for(let i=0,o=t.length;i<o;i++){const c=t[i];let u=-1;if(c.include){const h=r_(c.include);switch(h.kind){case 0:case 1:u=Kn.getCompiledRuleId(r[c.include],n,r);break;case 2:let g=r[h.ruleName];g&&(u=Kn.getCompiledRuleId(g,n,r));break;case 3:case 4:const p=h.scopeName,b=h.kind===4?h.ruleName:null,y=n.getExternalGrammar(p,r);if(y)if(b){let w=y.repository[b];w&&(u=Kn.getCompiledRuleId(w,n,y.repository))}else u=Kn.getCompiledRuleId(y.repository.$self,n,y.repository);break}}else u=Kn.getCompiledRuleId(c,n,r);if(u!==-1){const h=n.getRule(u);let g=!1;if((h instanceof N7||h instanceof dx||h instanceof Nf)&&h.hasMissingPatterns&&h.patterns.length===0&&(g=!0),g)continue;a.push(u)}}return{patterns:a,hasMissingPatterns:(t?t.length:0)!==a.length}}},k0=class i_{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 c=0;c<r;c++)if(t.charAt(c)==="\\"&&c+1<r){const h=t.charAt(c+1);h==="z"?(i.push(t.substring(a,c)),i.push("$(?!\\n)(?<!\\n)"),a=c+2):(h==="A"||h==="G")&&(o=!0),c++}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=_W.test(this.source):this.hasBackReferences=!1}clone(){return new i_(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 A7.lastIndex=0,this.source.replace(A7,(a,i)=>Zk(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,c,u;for(i=0,o=this.source.length;i<o;i++)c=this.source.charAt(i),t[i]=c,n[i]=c,r[i]=c,a[i]=c,c==="\\"&&i+1<o&&(u=this.source.charAt(i+1),u==="A"?(t[i+1]="ï¿¿",n[i+1]="ï¿¿",r[i+1]="A",a[i+1]="A"):u==="G"?(t[i+1]="ï¿¿",n[i+1]="G",r[i+1]="ï¿¿",a[i+1]="G"):(t[i+1]=u,n[i+1]=u,r[i+1]=u,a[i+1]=u),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}},_0=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 C7(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 C7(e,r,this._items.map(a=>a.ruleId))}},C7=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(` 829`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Gg=class{constructor(e,t){this.languageId=e,this.tokenType=t}},OW=class hx{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Gg(t,8),this._embeddedLanguagesMatcher=new RW(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?hx._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Gg(0,0);_getBasicScopeAttributes=new Jk(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new Gg(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(hx.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/},RW=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])=>Zk(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])}},O7=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function o_(e,t,n,r,a,i,o,c){const u=t.content.length;let h=!1,g=-1;if(o){const y=DW(e,t,n,r,a,i);a=y.stack,r=y.linePos,n=y.isFirstLine,g=y.anchorPosition}const p=Date.now();for(;!h;){if(c!==0&&Date.now()-p>c)return new O7(a,!0);b()}return new O7(a,!1);function b(){const y=MW(e,t,n,r,a,g);if(!y){i.produce(a,u),h=!0;return}const w=y.captureIndices,T=y.matchedRuleId,A=w&&w.length>0?w[0].end>r:!1;if(T===AW){const N=a.getRule(e);i.produce(a,w[0].start),a=a.withContentNameScopesList(a.nameScopesList),Vu(e,t,n,a,i,N.endCaptures,w),i.produce(a,w[0].end);const R=a;if(a=a.parent,g=R.getAnchorPos(),!A&&R.getEnterPos()===r){a=R,i.produce(a,u),h=!0;return}}else{const N=e.getRule(T);i.produce(a,w[0].start);const R=a,z=N.getName(t.content,w),W=a.contentNameScopesList.pushAttributed(z,e);if(a=a.push(T,r,g,w[0].end===u,null,W,W),N instanceof dx){const q=N;Vu(e,t,n,a,i,q.beginCaptures,w),i.produce(a,w[0].end),g=w[0].end;const C=q.getContentName(t.content,w),M=W.pushAttributed(C,e);if(a=a.withContentNameScopesList(M),q.endHasBackReferences&&(a=a.withEndRule(q.getEndWithResolvedBackReferences(t.content,w))),!A&&R.hasSameRuleAs(a)){a=a.pop(),i.produce(a,u),h=!0;return}}else if(N instanceof Nf){const q=N;Vu(e,t,n,a,i,q.beginCaptures,w),i.produce(a,w[0].end),g=w[0].end;const C=q.getContentName(t.content,w),M=W.pushAttributed(C,e);if(a=a.withContentNameScopesList(M),q.whileHasBackReferences&&(a=a.withEndRule(q.getWhileWithResolvedBackReferences(t.content,w))),!A&&R.hasSameRuleAs(a)){a=a.pop(),i.produce(a,u),h=!0;return}}else if(Vu(e,t,n,a,i,N.captures,w),i.produce(a,w[0].end),a=a.pop(),!A){a=a.safePop(),i.produce(a,u),h=!0;return}}w[0].end>r&&(r=w[0].end,n=!1)}}function DW(e,t,n,r,a,i){let o=a.beginRuleCapturedEOL?0:-1;const c=[];for(let u=a;u;u=u.pop()){const h=u.getRule(e);h instanceof Nf&&c.push({rule:h,stack:u})}for(let u=c.pop();u;u=c.pop()){const{ruleScanner:h,findOptions:g}=PW(u.rule,e,u.stack.endRule,n,r===o),p=h.findNextMatchSync(t,r,g);if(p){if(p.ruleId!==a_){a=u.stack.pop();break}p.captureIndices&&p.captureIndices.length&&(i.produce(u.stack,p.captureIndices[0].start),Vu(e,t,n,u.stack,i,u.rule.whileCaptures,p.captureIndices),i.produce(u.stack,p.captureIndices[0].end),o=p.captureIndices[0].end,p.captureIndices[0].end>r&&(r=p.captureIndices[0].end,n=!1))}else{a=u.stack.pop();break}}return{stack:a,linePos:r,anchorPosition:o,isFirstLine:n}}function MW(e,t,n,r,a,i){const o=IW(e,t,n,r,a,i),c=e.getInjections();if(c.length===0)return o;const u=LW(c,e,t,n,r,a,i);if(!u)return o;if(!o)return u;const h=o.captureIndices[0].start,g=u.captureIndices[0].start;return g<h||u.priorityMatch&&g===h?u:o}function IW(e,t,n,r,a,i){const o=a.getRule(e),{ruleScanner:c,findOptions:u}=l_(o,e,a.endRule,n,r===i),h=c.findNextMatchSync(t,r,u);return h?{captureIndices:h.captureIndices,matchedRuleId:h.ruleId}:null}function LW(e,t,n,r,a,i,o){let c=Number.MAX_VALUE,u=null,h,g=0;const p=i.contentNameScopesList.getScopeNames();for(let b=0,y=e.length;b<y;b++){const w=e[b];if(!w.matcher(p))continue;const T=t.getRule(w.ruleId),{ruleScanner:A,findOptions:N}=l_(T,t,null,r,a===o),R=A.findNextMatchSync(n,a,N);if(!R)continue;const z=R.captureIndices[0].start;if(!(z>=c)&&(c=z,u=R.captureIndices,h=R.ruleId,g=w.priority,c===a))break}return u?{priorityMatch:g===-1,captureIndices:u,matchedRuleId:h}:null}function l_(e,t,n,r,a){return{ruleScanner:e.compileAG(t,n,r,a),findOptions:0}}function PW(e,t,n,r,a){return{ruleScanner:e.compileWhileAG(t,n,r,a),findOptions:0}}function Vu(e,t,n,r,a,i,o){if(i.length===0)return;const c=t.content,u=Math.min(i.length,o.length),h=[],g=o[0].end;for(let p=0;p<u;p++){const b=i[p];if(b===null)continue;const y=o[p];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),b.retokenizeCapturedWithRuleId){const T=b.getName(c,o),A=r.contentNameScopesList.pushAttributed(T,e),N=b.getContentName(c,o),R=A.pushAttributed(N,e),z=r.push(b.retokenizeCapturedWithRuleId,y.start,-1,!1,null,A,R),W=e.createOnigString(c.substring(0,y.end));o_(e,W,n&&y.start===0,y.start,z,a,!1,0),n_(W);continue}const w=b.getName(c,o);if(w!==null){const A=(h.length>0?h[h.length-1].scopes:r.contentNameScopesList).pushAttributed(w,e);h.push(new jW(A,y.end))}}for(;h.length>0;)a.produceFromScopes(h[h.length-1].scopes,h[h.length-1].endPos),h.pop()}var jW=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function BW(e,t,n,r,a,i,o,c){return new FW(e,t,n,r,a,i,o,c)}function R7(e,t,n,r,a){const i=_f(t,Cf),o=s_.getCompiledRuleId(n,r,a.repository);for(const c of i)e.push({debugSelector:t,matcher:c.matcher,ruleId:o,grammar:a,priority:c.priority})}function Cf(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(zW(t[a],r))return n=a+1,!0;return!1})}function zW(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 FW=class{constructor(e,t,n,r,a,i,o,c){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=c,this._basicScopeAttributesProvider=new OW(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=D7(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const u of Object.keys(a)){const h=_f(u,Cf);for(const g of h)this._tokenTypeMatchers.push({matcher:g.matcher,type:a[u]})}}_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)R7(t,o,a[o],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(o=>{const c=this.getExternalGrammar(o);if(c){const u=c.injectionSelector;u&&R7(t,u,c,this,c)}})}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]=D7(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=s_.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!t||t===fx.NULL){a=!0;const h=this._basicScopeAttributesProvider.getDefaultAttributes(),g=this.themeProvider.getDefaults(),p=Ec.set(0,h.languageId,h.tokenType,null,g.fontStyle,g.foregroundId,g.backgroundId),b=this.getRule(this._rootId).getName(null,null);let y;b?y=a0.createRootAndLookUpScopeName(b,p,this):y=a0.createRoot("unknown",p),t=new fx(null,this._rootId,-1,-1,!1,null,y,y)}else a=!1,t.reset();e=e+` 830`;const i=this.createOnigString(e),o=i.content.length,c=new UW(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),u=o_(this,i,a,0,t,c,!0,r);return n_(i),{lineLength:o,lineTokens:c,ruleStack:u.stack,stoppedEarly:u.stoppedEarly}}};function D7(e,t){return e=sW(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 a0=class Va{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=$g.push(a,i.scopeNames),r=new Va(r,a,i.encodedTokenAttributes);return r}static createRoot(t,n){return new Va(null,new $g(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const a=r.getMetadataForScope(t),i=new $g(null,t),o=r.themeProvider.themeMatch(i),c=Va.mergeAttributes(n,a,o);return new Va(null,i,c)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Va.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),Ec.set(t,n.languageId,n.tokenType,null,a,i,o)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Va._pushAttributed(this,t,n);const r=t.split(/ /g);let a=this;for(const i of r)a=Va._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),c=Va.mergeAttributes(t.tokenAttributes,a,o);return new Va(t,i,c)}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}},fx=class Oo{constructor(t,n,r,a,i,o,c,u){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=o,this.nameScopesList=c,this.contentNameScopesList=u,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=a}_stackElementBrand=void 0;static NULL=new Oo(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:Oo._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?a0.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(){Oo._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,a,i,o,c){return new Oo(this,t,n,r,a,i,o,c)}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 Oo(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=a0.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new Oo(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,a0.fromExtension(r,n.contentNameScopesList))}},HW=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):_f(n,Cf).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>_f(n,Cf).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}},UW=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=Ec.set(r,0,o.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(i))}if(a&&(r=Ec.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}},qW=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,BW(e,i,t,n,r,a,this,this._onigLib))}return this._grammars.get(e)}},VW=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new qW(kf.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(kf.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 HW(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,a,i){const o=new yW(this._syncRegistry,t);for(;o.Q.length>0;)o.Q.map(c=>this._loadSingleGrammar(c.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)}},mx=fx.NULL;const $W=/["&'<>`]/g,GW=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,YW=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,QW=/[|\\{}()[\]^$+*?.]/g,M7=new WeakMap;function XW(e,t){if(e=e.replace(t.subset?WW(t.subset):$W,r),t.subset||t.escapeOnly)return e;return e.replace(GW,n).replace(YW,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 WW(e){let t=M7.get(e);return t||(t=KW(e),M7.set(e,t)),t}function KW(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(QW,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const ZW=/[\dA-Fa-f]/;function JW(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!ZW.test(String.fromCharCode(t))?r:r+";"}const eK=/\d/;function tK(e,t,n){const r="&#"+String(e);return n&&t&&!eK.test(String.fromCharCode(t))?r:r+";"}const nK=["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
830h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Yg={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 830-839
830:"â",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:"â¬"},rK=["cent","copy","divide","gt","lt","not","para","times"],c_={}.hasOwnProperty,px={};let jh;for(jh in Yg)c_.call(Yg,jh)&&(px[Yg[jh]]=jh);const aK=/[^\dA-Za-z]/;function sK(e,t,n,r){const a=String.fromCharCode(e);if(c_.call(px,a)){const i=px[a],o="&"+i;return n&&nK.includes(i)&&!rK.includes(i)&&(!r||t&&t!==61&&aK.test(String.fromCharCode(t)))?o:o+";"}return""}function iK(e,t,n){let r=JW(e,t,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=sK(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const i=tK(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return a&&(!n.useShortestReferences||a.length<r.length)?a:r}function hc(e,t){return XW(e,Object.assign({format:iK},t))}const oK=/^>|^->|<!--|-->|--!>|<!-$/g,lK=[">"],cK=["<",">"];function uK(e,t,n,r){return r.settings.bogusComments?"<?"+hc(e.value,Object.assign({},r.settings.characterReferences,{subset:lK}))+">":"<!--"+e.value.replace(oK,a)+"-->";function a(i){return hc(i,Object.assign({},r.settings.characterReferences,{subset:cK}))}}function dK(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}const Cn=d_(1),u_=d_(-1),hK=[];function d_(e){return t;function t(n,r,a){const i=n?n.children:hK;let o=(r||0)+e,c=i[o];if(!a)for(;c&&sm(c);)o+=e,c=i[o];return c}}const fK={}.hasOwnProperty;function h_(e){return t;function t(n,r,a){return fK.call(e,n.tagName)&&e[n.tagName](n,r,a)}}const Wb=h_({body:pK,caption:Qg,colgroup:Qg,dd:yK,dt:bK,head:Qg,html:mK,li:xK,optgroup:vK,option:EK,p:gK,rp:I7,rt:I7,tbody:SK,td:L7,tfoot:TK,th:L7,thead:wK,tr:kK});function Qg(e,t,n){const r=Cn(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&sm(r.value.charAt(0)))}function mK(e,t,n){const r=Cn(n,t);return!r||r.type!=="comment"}function pK(e,t,n){const r=Cn(n,t);return!r||r.type!=="comment"}function gK(e,t,n){const r=Cn(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 xK(e,t,n){const r=Cn(n,t);return!r||r.type==="element"&&r.tagName==="li"}function bK(e,t,n){const r=Cn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function yK(e,t,n){const r=Cn(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function I7(e,t,n){const r=Cn(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function vK(e,t,n){const r=Cn(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function EK(e,t,n){const r=Cn(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function wK(e,t,n){const r=Cn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function SK(e,t,n){const r=Cn(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function TK(e,t,n){return!Cn(n,t)}function kK(e,t,n){const r=Cn(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function L7(e,t,n){const r=Cn(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const _K=h_({body:CK,colgroup:OK,head:NK,html:AK,tbody:RK});function AK(e){const t=Cn(e,-1);return!t||t.type!=="comment"}function NK(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 CK(e){const t=Cn(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&sm(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function OK(e,t,n){const r=u_(n,t),a=Cn(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Wb(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function RK(e,t,n){const r=u_(n,t),a=Cn(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Wb(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const Bh={name:[[` 831\f\r &/=>`.split(""),` 832\f\r "&'/=>\``.split("")],[`\0 833\f\r "&'/<=>`.split(""),`\0 834\f\r "&'/<=>\``.split("")]],unquoted:[[` 835\f\r &>`.split(""),`\0 836\f\r "&'<=>\``.split("")],[`\0 837\f\r "&'<=>\``.split(""),`\0 838\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function DK(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 c=[];let u;a.space==="html"&&e.tagName==="svg"&&(r.schema=Ji);const h=MK(r,e.properties),g=r.all(a.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=a,g&&(o=!1),(h||!i||!_K(e,t,n))&&(c.push("<",e.tagName,h?" "+h:""),o&&(a.space==="svg"||r.settings.closeSelfClosing)&&(u=h.charAt(h.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&c.push(" "),c.push("/")),c.push(">")),c.push(g),!o&&(!i||!Wb(e,t,n))&&c.push("</"+e.tagName+">"),c.join("")}function MK(e,t){const n=[];let r=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const i=IK(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 IK(e,t,n){const r=im(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let o=e.quote,c;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 u=hc(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Bh.name[a][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?eb:nb)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?u:(e.settings.preferUnquoted&&(c=hc(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Bh.unquoted[a][i]}))),c!==n&&(e.settings.quoteSmart&&Sf(n,o)>Sf(n,e.alternative)&&(o=e.alternative),c=o+hc(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Bh.single:Bh.double)[a][i],attribute:!0}))+o),u+(c&&"="+c))}const LK=["<","&"];function f_(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:hc(e.value,Object.assign({},r.settings.characterReferences,{subset:LK}))}function PK(e,t,n,r){return r.settings.allowDangerousHtml?e.value:f_(e,t,n,r)}function jK(e,t,n,r){return r.all(e)}const BK=Bb("type",{invalid:zK,unknown:FK,handlers:{comment:uK,doctype:dK,element:DK,raw:PK,root:jK,text:f_}});function zK(e){throw new Error("Expected node, not `"+e+"`")}function FK(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const HK={},UK={},qK=[];function VK(e,t){const n=t||HK,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:$K,all:GK,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||qT,characterReferences:n.characterReferences||UK,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Ji:F0,quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function $K(e,t,n){return BK(e,t,n,this)}function GK(e){const t=[],n=e&&e.children||qK;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Of(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 qi(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function YK(e){return Array.isArray(e)?e:[e]}async function m_(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Kb(e){return!e||["plaintext","txt","text","plain"].includes(e)}function p_(e){return e==="ansi"||Kb(e)}function Zb(e){return e==="none"}function g_(e){return Zb(e)}function x_(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 Sm(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 QK(e){const t=Sm(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 c of t){if(i<c.length)break;i-=c.length,o++}return{line:o,character:i}}function r(a,i){let o=0;for(let c=0;c<a;c++)o+=t[c].length;return o+=i,o}return{lines:t,indexToPos:n,posToIndex:r}}const Jb="light-dark()",XK=["color","background-color"];function WK(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 KK(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,c)=>o-c);return i.length?WK(a,i):a})):e}function ZK(e,t,n,r,a="css-vars"){const i={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(g=>Rf(e.variants[g])),c=new Set(o.flatMap(g=>Object.keys(g))),u={},h=(g,p)=>{const b=p==="color"?"":p==="background-color"?"-bg":`-${p}`;return n+t[g]+(p==="color"?"":b)};return o.forEach((g,p)=>{for(const b of c){const y=g[b]||"inherit";if(p===0&&r&&XK.includes(b))if(r===Jb&&o.length>1){const w=t.findIndex(R=>R==="light"),T=t.findIndex(R=>R==="dark");if(w===-1||T===-1)throw new wn('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const A=o[w][b]||"inherit",N=o[T][b]||"inherit";u[b]=`light-dark(${A}, ${N})`,a==="css-vars"&&(u[h(p,b)]=y)}else u[b]=y;else a==="css-vars"&&(u[h(p,b)]=y)}}),i.htmlStyle=u,i}function Rf(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&tr.Italic&&(t["font-style"]="italic"),e.fontStyle&tr.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&tr.Underline&&n.push("underline"),e.fontStyle&tr.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function gx(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}const b_=new WeakMap;function Tm(e,t){b_.set(e,t)}function A0(e){return b_.get(e)}class Lc{_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 Lc(Object.fromEntries(YK(n).map(r=>[r,mx])),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 JK(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function JK(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 eZ(e,t){if(!(e instanceof Lc))throw new wn("Invalid grammar state");return e.getInternalStack(t)}function tZ(){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 wn(`Invalid decoration offset: ${o}. Code length: ${n.source.length}`);return{...a.indexToPos(o),offset:o}}else{const c=a.lines[o.line];if(c===void 0)throw new wn(`Invalid decoration position ${JSON.stringify(o)}. Lines length: ${a.lines.length}`);let u=o.character;if(u<0&&(u=c.length+u),u<0||u>c.length)throw new wn(`Invalid decoration position ${JSON.stringify(o)}. Line ${o.line} length: ${c.length}`);return{...o,character:u,offset:a.posToIndex(o.line,u)}}};const a=QK(n.source),i=(n.options.decorations||[]).map(o=>({...o,start:r(o.start),end:r(o.end)}));nZ(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 KK(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 wn(`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,p,b,y){const w=a[g];let T="",A=-1,N=-1;if(p===0&&(A=0),b===0&&(N=0),b===Number.POSITIVE_INFINITY&&(N=w.children.length),A===-1||N===-1)for(let z=0;z<w.children.length;z++)T+=y_(w.children[z]),A===-1&&T.length===p&&(A=z+1),N===-1&&T.length===b&&(N=z+1);if(A===-1)throw new wn(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);if(N===-1)throw new wn(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);const R=w.children.slice(A,N);if(!y.alwaysWrap&&R.length===w.children.length)c(w,y,"line");else if(!y.alwaysWrap&&R.length===1&&R[0].type==="element")c(R[0],y,"token");else{const z={type:"element",tagName:"span",properties:{},children:R};c(z,y,"wrapper"),w.children.splice(A,R.length,z)}}function o(g,p){a[g]=c(a[g],p,"line")}function c(g,p,b){const y=p.properties||{},w=p.transform||(T=>T);return g.tagName=p.tagName||"span",g.properties={...g.properties,...y,class:g.properties.class},p.properties?.class&&x_(g,p.properties.class),g=w(g,b)||g,g}const u=[],h=r.decorations.sort((g,p)=>p.start.offset-g.start.offset||g.end.offset-p.end.offset);for(const g of h){const{start:p,end:b}=g;if(p.line===b.line)i(p.line,p.character,b.character,g);else if(p.line<b.line){i(p.line,p.character,Number.POSITIVE_INFINITY,g);for(let y=p.line+1;y<b.line;y++)u.unshift(()=>o(y,g));i(b.line,0,b.character,g)}}u.forEach(g=>g())}}}function nZ(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new wn(`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,c=a.start.offset<=n.start.offset&&n.start.offset<a.end.offset,u=a.start.offset<n.end.offset&&n.end.offset<=a.end.offset;if(i||o||c||u){if(i&&o||c&&u||c&&n.start.offset===n.end.offset||o&&a.start.offset===a.end.offset)continue;throw new wn(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}function y_(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(y_).join(""):""}const rZ=[tZ()];function Df(e){const t=aZ(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...rZ]}function aZ(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 Po=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Xg={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function sZ(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 P7(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 iZ(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)Xg[r]&&t.push({type:"setDecoration",value:Xg[r]});else if(r<=29){const a=Xg[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:Po[r-30]}});else if(r===38){const a=P7(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:Po[r-40]}});else if(r===48){const a=P7(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:Po[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Po[r-100+8]}})}return t}function oZ(){let e=null,t=null,n=new Set;return{parse(r){const a=[];let i=0;do{const o=sZ(r,i),c=o.sequence?r.substring(i,o.startPosition):r.substring(i);if(c.length>0&&a.push({value:c,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const u=iZ(o.sequence);for(const h of u)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 u)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 lZ={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 cZ(e=lZ){function t(c){return e[c]}function n(c){return`#${c.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}let r;function a(){if(r)return r;r=[];for(let h=0;h<Po.length;h++)r.push(t(Po[h]));let c=[0,95,135,175,215,255];for(let h=0;h<6;h++)for(let g=0;g<6;g++)for(let p=0;p<6;p++)r.push(n([c[h],c[g],c[p]]));let u=8;for(let h=0;h<24;h++,u+=10)r.push(n([u,u,u]));return r}function i(c){return a()[c]}function o(c){switch(c.type){case"named":return t(c.name);case"rgb":return n(c.rgb);case"table":return i(c.index)}}return{value:o}}function uZ(e,t,n){const r=Of(e,n),a=Sm(t),i=cZ(Object.fromEntries(Po.map(c=>[c,e.colors?.[`terminal.ansi${c[0].toUpperCase()}${c.substring(1)}`]]))),o=oZ();return a.map(c=>o.parse(c[0]).map(u=>{let h,g;u.decorations.has("reverse")?(h=u.background?i.value(u.background):e.bg,g=u.foreground?i.value(u.foreground):e.fg):(h=u.foreground?i.value(u.foreground):e.fg,g=u.background?i.value(u.background):void 0),h=qi(h,r),g=qi(g,r),u.decorations.has("dim")&&(h=dZ(h));let p=tr.None;return u.decorations.has("bold")&&(p|=tr.Bold),u.decorations.has("italic")&&(p|=tr.Italic),u.decorations.has("underline")&&(p|=tr.Underline),u.decorations.has("strikethrough")&&(p|=tr.Strikethrough),{content:u.value,offset:c[1],color:h,bgColor:g,fontStyle:p}}))}function dZ(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 e4(e,t,n={}){const{lang:r="text",theme:a=e.getLoadedThemes()[0]}=n;if(Kb(r)||Zb(a))return Sm(t).map(u=>[{content:u[0],offset:u[1]}]);const{theme:i,colorMap:o}=e.setTheme(a);if(r==="ansi")return uZ(i,t,n);const c=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==c.name)throw new wn(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${c.name}"`);if(!n.grammarState.themes.includes(i.name))throw new wn(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return fZ(t,c,i,o,n)}function hZ(...e){if(e.length===2)return A0(e[1]);const[t,n,r={}]=e,{lang:a="text",theme:i=t.getLoadedThemes()[0]}=r;if(Kb(a)||Zb(i))throw new wn("Plain language does not have grammar state");if(a==="ansi")throw new wn("ANSI language does not have grammar state");const{theme:o,colorMap:c}=t.setTheme(i),u=t.getLanguage(a);return new Lc(Mf(n,u,o,c,r).stateStack,u.name,o.name)}function fZ(e,t,n,r,a){const i=Mf(e,t,n,r,a),o=new Lc(Mf(e,t,n,r,a).stateStack,t.name,n.name);return Tm(i.tokens,o),i.tokens}function Mf(e,t,n,r,a){const i=Of(n,a),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:c=500}=a,u=Sm(e);let h=a.grammarState?eZ(a.grammarState,n.name)??mx:a.grammarContextCode!=null?Mf(a.grammarContextCode,t,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:mx,g=[];const p=[];for(let b=0,y=u.length;b<y;b++){const[w,T]=u[b];if(w===""){g=[],p.push([]);continue}if(o>0&&w.length>=o){g=[],p.push([{content:w,offset:T,color:"",fontStyle:0}]);continue}let A,N,R;a.includeExplanation&&(A=t.tokenizeLine(w,h,c),N=A.tokens,R=0);const z=t.tokenizeLine2(w,h,c),W=z.tokens.length/2;for(let q=0;q<W;q++){const C=z.tokens[2*q],M=q+1<W?z.tokens[2*q+2]:w.length;if(C===M)continue;const V=z.tokens[2*q+1],Z=qi(r[Ec.getForeground(V)],i),I=Ec.getFontStyle(V),se={content:w.substring(C,M),offset:T+C,color:Z,fontStyle:I};if(a.includeExplanation){const ae=[];if(a.includeExplanation!=="scopeName")for(const oe of n.settings){let ee;switch(typeof oe.scope){case"string":ee=oe.scope.split(/,/).map(L=>L.trim());break;case"object":ee=oe.scope;break;default:continue}ae.push({settings:oe,selectors:ee.map(L=>L.split(/ /))})}se.explanation=[];let me=0;for(;C+me<M;){const oe=N[R],ee=w.substring(oe.startIndex,oe.endIndex);me+=ee.length,se.explanation.push({content:ee,scopes:a.includeExplanation==="scopeName"?mZ(oe.scopes):pZ(ae,oe.scopes)}),R+=1}}g.push(se)}p.push(g),g=[],h=z.ruleStack}return{tokens:p,stateStack:h}}function mZ(e){return e.map(t=>({scopeName:t}))}function pZ(e,t){const n=[];for(let r=0,a=t.length;r<a;r++){const i=t[r];n[r]={scopeName:i,themeMatches:xZ(e,i,t.slice(0,r))}}return n}function j7(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function gZ(e,t,n){if(!j7(e[e.length-1],t))return!1;let r=e.length-2,a=n.length-1;for(;r>=0&&a>=0;)j7(e[r],n[a])&&(r-=1),a-=1;return r===-1}function xZ(e,t,n){const r=[];for(const{selectors:a,settings:i}of e)for(const o of a)if(gZ(o,t,n)){r.push(i);break}return r}function v_(e,t,n){const r=Object.entries(n.themes).filter(u=>u[1]).map(u=>({color:u[0],theme:u[1]})),a=r.map(u=>{const h=e4(e,t,{...n,theme:u.theme}),g=A0(h),p=typeof u.theme=="string"?u.theme:u.theme.name;return{tokens:h,state:g,theme:p}}),i=bZ(...a.map(u=>u.tokens)),o=i[0].map((u,h)=>u.map((g,p)=>{const b={content:g.content,variants:{},offset:g.offset};return"includeExplanation"in n&&n.includeExplanation&&(b.explanation=g.explanation),i.forEach((y,w)=>{const{content:T,explanation:A,offset:N,...R}=y[h][p];b.variants[r[w].color]=R}),b})),c=a[0].state?new Lc(Object.fromEntries(a.map(u=>[u.theme,u.state?.getInternalStack(u.theme)])),a[0].state.lang):void 0;return c&&Tm(o,c),o}function bZ(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const a=e.map(u=>u[r]),i=t.map(()=>[]);t.forEach((u,h)=>u.push(i[h]));const o=a.map(()=>0),c=a.map(u=>u[0]);for(;c.every(u=>u);){const u=Math.min(...c.map(h=>h.content.length));for(let h=0;h<n;h++){const g=c[h];g.content.length===u?(i[h].push(g),o[h]+=1,c[h]=a[h][o[h]]):(i[h].push({...g,content:g.content.slice(0,u)}),c[h]={...g,content:g.content.slice(u),offset:g.offset+u})}}}return t}function If(e,t,n){let r,a,i,o,c,u;if("themes"in n){const{defaultColor:h="light",cssVariablePrefix:g="--shiki-",colorsRendering:p="css-vars"}=n,b=Object.entries(n.themes).filter(N=>N[1]).map(N=>({color:N[0],theme:N[1]})).sort((N,R)=>N.color===h?-1:R.color===h?1:0);if(b.length===0)throw new wn("`themes` option must not be empty");const y=v_(e,t,n);if(u=A0(y),h&&Jb!==h&&!b.find(N=>N.color===h))throw new wn(`\`themes\` option must contain the defaultColor key \`${h}\``);const w=b.map(N=>e.getTheme(N.theme)),T=b.map(N=>N.color);i=y.map(N=>N.map(R=>ZK(R,T,g,h,p))),u&&Tm(i,u);const A=b.map(N=>Of(N.theme,n));a=B7(b,w,A,g,h,"fg",p),r=B7(b,w,A,g,h,"bg",p),o=`shiki-themes ${w.map(N=>N.name).join(" ")}`,c=h?void 0:[a,r].join(";")}else if("theme"in n){const h=Of(n.theme,n);i=e4(e,t,n);const g=e.getTheme(n.theme);r=qi(g.bg,h),a=qi(g.fg,h),o=g.name,u=A0(i)}else throw new wn("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:a,bg:r,themeName:o,rootStyle:c,grammarState:u}}function B7(e,t,n,r,a,i,o){return e.map((c,u)=>{const h=qi(t[u][i],n[u])||"inherit",g=`${r+c.color}${i==="bg"?"-bg":""}:${h}`;if(u===0&&a){if(a===Jb&&e.length>1){const p=e.findIndex(T=>T.color==="light"),b=e.findIndex(T=>T.color==="dark");if(p===-1||b===-1)throw new wn('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const y=qi(t[p][i],n[p])||"inherit",w=qi(t[b][i],n[b])||"inherit";return`light-dark(${y}, ${w});${g}`}return h}return o==="css-vars"?g:null}).filter(c=>!!c).join(";")}function Lf(e,t,n,r={meta:{},options:n,codeToHast:(a,i)=>Lf(e,a,i),codeToTokens:(a,i)=>If(e,a,i)}){let a=t;for(const w of Df(n))a=w.preprocess?.call(r,a,n)||a;let{tokens:i,fg:o,bg:c,themeName:u,rootStyle:h,grammarState:g}=If(e,a,n);const{mergeWhitespaces:p=!0,mergeSameStyleTokens:b=!1}=n;p===!0?i=vZ(i):p==="never"&&(i=EZ(i)),b&&(i=wZ(i));const y={...r,get source(){return a}};for(const w of Df(n))i=w.tokens?.call(y,i)||i;return yZ(i,{...n,fg:o,bg:c,themeName:u,rootStyle:h},y,g)}function yZ(e,t,n,r=A0(e)){const a=Df(t),i=[],o={type:"root",children:[]},{structure:c="classic",tabindex:u="0"}=t;let h={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...u!==!1&&u!=null?{tabindex:u.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([w])=>!w.startsWith("_")))},children:[]},g={type:"element",tagName:"code",properties:{},children:i};const p=[],b={...n,structure:c,addClassToHast:x_,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 p}};if(e.forEach((w,T)=>{T&&(c==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):c==="classic"&&i.push({type:"text",value:` 839`}));let A={type:"element",tagName:"span",properties:{class:"line"},children:[]},N=0;for(const R of w){let z={type:"element",tagName:"span",properties:{...R.htmlAttrs},children:[{type:"text",value:R.content}]};const W=gx(R.htmlStyle||Rf(R));W&&(z.properties.style=W);for(const q of a)z=q?.span?.call(b,z,T+1,N,A,R)||z;c==="inline"?o.children.push(z):c==="classic"&&A.children.push(z),N+=R.content.length}if(c==="classic"){for(const R of a)A=R?.line?.call(b,A,T+1)||A;p.push(A),i.push(A)}}),c==="classic"){for(const w of a)g=w?.code?.call(b,g)||g;h.children.push(g);for(const w of a)h=w?.pre?.call(b,h)||h;o.children.push(h)}let y=o;for(const w of a)y=w?.root?.call(b,y)||y;return r&&Tm(y,r),y}function vZ(e){return e.map(t=>{const n=[];let r="",a=0;return t.forEach((i,o)=>{const u=!(i.fontStyle&&(i.fontStyle&tr.Underline||i.fontStyle&tr.Strikethrough));u&&i.content.match(/^\s+$/)&&t[o+1]?(a||(a=i.offset),r+=i.content):r?(u?n.push({...i,offset:a,content:r+i.content}):n.push({content:r,offset:a},i),a=0,r=""):n.push(i)}),n})}function EZ(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 c=[{...n,offset:n.offset+a.length,content:i}];return a&&c.unshift({content:a,offset:n.offset}),o&&c.push({content:o,offset:n.offset+a.length+i.length}),c}))}function wZ(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=gx(a.htmlStyle||Rf(a)),o=gx(r.htmlStyle||Rf(r)),c=a.fontStyle&&(a.fontStyle&tr.Underline||a.fontStyle&tr.Strikethrough),u=r.fontStyle&&(r.fontStyle&tr.Underline||r.fontStyle&tr.Strikethrough);!c&&!u&&i===o?a.content+=r.content:n.push({...r})}return n})}const SZ=VK;function TZ(e,t,n){const r={meta:{},options:n,codeToHast:(i,o)=>Lf(e,i,o),codeToTokens:(i,o)=>If(e,i,o)};let a=SZ(Lf(e,t,n,r));for(const i of Df(n))a=i.postprocess?.call(r,a,n)||a;return a}const z7={light:"#333333",dark:"#bbbbbb"},F7={light:"#fffffe",dark:"#1e1e1e"},H7="__shiki_resolved";function t4(e){if(e?.[H7])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 c=t.settings?t.settings.find(u=>!u.name&&!u.scope):void 0;c?.settings?.foreground&&(r=c.settings.foreground),c?.settings?.background&&(n=c.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"?F7.light:F7.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(c){if(i.has(c))return i.get(c);a+=1;const u=`#${a.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${u}`]?o(c):(i.set(c,u),u)}t.settings=t.settings.map(c=>{const u=c.settings?.foreground&&!c.settings.foreground.startsWith("#"),h=c.settings?.background&&!c.settings.background.startsWith("#");if(!u&&!h)return c;const g={...c,settings:{...c.settings}};if(u){const p=o(c.settings.foreground);t.colorReplacements[p]=c.settings.foreground,g.settings.foreground=p}if(h){const p=o(c.settings.background);t.colorReplacements[p]=c.settings.background,g.settings.background=p}return g});for(const c of Object.keys(t.colors||{}))if((c==="editor.foreground"||c==="editor.background"||c.startsWith("terminal.ansi"))&&!t.colors[c]?.startsWith("#")){const u=o(t.colors[c]);t.colorReplacements[u]=t.colors[c],t.colors[c]=u}return Object.defineProperty(t,H7,{enumerable:!1,writable:!1,value:!0}),t}async function E_(e){return Array.from(new Set((await Promise.all(e.filter(t=>!p_(t)).map(async t=>await m_(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function w_(e){return(await Promise.all(e.map(async n=>g_(n)?null:t4(await m_(n))))).filter(n=>!!n)}let kZ=3;function _Z(e,t=3){t>kZ||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let oc=class extends Error{constructor(t){super(t),this.name="ShikiError"}};class AZ extends VW{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=t4(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=kf.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 oc(`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(c=>r.map(([u])=>u).includes(c))).filter(i=>!r.includes(i));throw new oc(`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 NZ{_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 Bu=0;function CZ(e){Bu+=1,e.warnings!==!1&&Bu>=10&&Bu%10===0&&console.warn(`[Shiki] ${Bu} 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 oc("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(t4),a=new NZ(e.engine,n),i=new AZ(a,r,n,e.langAlias);let o;function c(R){A();const z=i.getGrammar(typeof R=="string"?R:R.name);if(!z)throw new oc(`Language \`${R}\` not found, you may need to load it first`);return z}function u(R){if(R==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};A();const z=i.getTheme(R);if(!z)throw new oc(`Theme \`${R}\` not found, you may need to load it first`);return z}function h(R){A();const z=u(R);o!==R&&(i.setTheme(z),o=R);const W=i.getColorMap();return{theme:z,colorMap:W}}function g(){return A(),i.getLoadedThemes()}function p(){return A(),i.getLoadedLanguages()}function b(...R){A(),i.loadLanguages(R.flat(1))}async function y(...R){return b(await E_(R))}function w(...R){A();for(const z of R.flat(1))i.loadTheme(z)}async function T(...R){return A(),w(await w_(R))}function A(){if(t)throw new oc("Shiki instance has been disposed")}function N(){t||(t=!0,i.dispose(),Bu-=1)}return{setTheme:h,getTheme:u,getLanguage:c,getLoadedThemes:g,getLoadedLanguages:p,loadLanguage:y,loadLanguageSync:b,loadTheme:T,loadThemeSync:w,dispose:N,[Symbol.dispose]:N}}async function OZ(e){e.engine||_Z("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([w_(e.themes||[]),E_(e.langs||[]),e.engine]);return CZ({...e,themes:t,langs:n,engine:r})}async function RZ(e){const t=await OZ(e);return{getLastGrammarState:(...n)=>hZ(t,...n),codeToTokensBase:(n,r)=>e4(t,n,r),codeToTokensWithThemes:(n,r)=>v_(t,n,r),codeToTokens:(n,r)=>If(t,n,r),codeToHast:(n,r)=>Lf(t,n,r),codeToHtml:(n,r)=>TZ(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function DZ(e){const t=e.langs,n=e.themes,r=e.engine;async function a(i){function o(p){if(typeof p=="string"){if(p_(p))return[];p=i.langAlias?.[p]||p;const b=t[p];if(!b)throw new wn(`Language \`${p}\` is not included in this bundle. You may want to load it from external source.`);return b}return p}function c(p){if(g_(p))return"none";if(typeof p=="string"){const b=n[p];if(!b)throw new wn(`Theme \`${p}\` is not included in this bundle. You may want to load it from external source.`);return b}return p}const u=(i.themes??[]).map(p=>c(p)),h=(i.langs??[]).map(p=>o(p)),g=await RZ({engine:i.engine??r(),...i,themes:u,langs:h});return{...g,loadLanguage(...p){return g.loadLanguage(...p.map(o))},loadTheme(...p){return g.loadTheme(...p.map(c))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return a}const S_=[{id:"abap",name:"ABAP",import:(()=>H(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",import:(()=>H(()=>import("./actionscript-3-CfeIJUat.js"),[]))},{id:"ada",name:"Ada",import:(()=>H(()=>import("./ada-bCR0ucgS.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>H(()=>import("./angular-html-CU67Zn6k.js").then(e=>e.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>H(()=>import("./angular-ts-BwZT4LLn.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>H(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>H(()=>import("./apex-C7Pw0Ztw.js"),[]))},{id:"apl",name:"APL",import:(()=>H(()=>import("./apl-dKokRX4l.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>H(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>H(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>H(()=>import("./asciidoc-Dv7Oe6Be.js"),[]))},{id:"asm",name:"Assembly",import:(()=>H(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>H(()=>import("./astro-CbQHKStN.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>H(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>H(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch"],import:(()=>H(()=>import("./bat-BkioyH1T.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>H(()=>import("./beancount-k_qm7-4y.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>H(()=>import("./berry-D08WgyRC.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>H(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>H(()=>import("./bicep-6nHXG8SA.js"),[]))},{id:"blade",name:"Blade",import:(()=>H(()=>import("./blade-DVc8C-J4.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>H(()=>import("./bsl-BO_Y6i37.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>H(()=>import("./c-BIGW1oBm.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>H(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>H(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"clarity",name:"Clarity",import:(()=>H(()=>import("./clarity-D53aC0YG.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>H(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>H(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>H(()=>import("./cobol-nwyudZeR.js"),__vite__mapDeps([21,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>H(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>H(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>H(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([22,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>H(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Coq",import:(()=>H(()=>import("./coq-DkFqJrB1.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>H(()=>import("./cpp-CofmeUqb.js"),__vite__mapDeps([23,24,25,26,16])))},{id:"crystal",name:"Crystal",import:(()=>H(()=>import("./crystal-tKQVLTB8.js"),__vite__mapDeps([27,1,2,3,16,26,28])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>H(()=>import("./csharp-CX12Zw3r.js"),[]))},{id:"css",name:"CSS",import:(()=>H(()=>import("./css-DPfMkruS.js"),[]))},{id:"csv",name:"CSV",import:(()=>H(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>H(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>H(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>H(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>H(()=>import("./dart-CF10PKvl.js"),[]))},{id:"dax",name:"DAX",import:(()=>H(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>H(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>H(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>H(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>H(()=>import("./dotenv-Da5cRb03.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>H(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>H(()=>import("./edge-BkV0erSs.js"),__vite__mapDeps([29,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>H(()=>import("./elixir-CDX3lj18.js"),__vite__mapDeps([30,1,2,3])))},{id:"elm",name:"Elm",import:(()=>H(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([31,25,26])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>H(()=>import("./emacs-lisp-C9XAeP06.js"),[]))},{id:"erb",name:"ERB",import:(()=>H(()=>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:(()=>H(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([39,40])))},{id:"fennel",name:"Fennel",import:(()=>H(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>H(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>H(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>H(()=>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:(()=>H(()=>import("./fortran-free-form-D22FLkUw.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>H(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([43,40])))},{id:"gdresource",name:"GDResource",import:(()=>H(()=>import("./gdresource-B7Tvp0Sc.js"),__vite__mapDeps([44,45,46])))},{id:"gdscript",name:"GDScript",import:(()=>H(()=>import("./gdscript-DTMYz4Jt.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>H(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>H(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>H(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>H(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([47,48])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>H(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([49,28])))},{id:"gleam",name:"Gleam",import:(()=>H(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>H(()=>import("./glimmer-js-Rg0-pVw9.js"),__vite__mapDeps([50,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>H(()=>import("./glimmer-ts-U6CK756n.js"),__vite__mapDeps([51,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>H(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([25,26])))},{id:"gnuplot",name:"Gnuplot",import:(()=>H(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>H(()=>import("./go-Dn2_MT6a.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>H(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([35,2,11,36,13])))},{id:"groovy",name:"Groovy",import:(()=>H(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>H(()=>import("./hack-CaT9iCJl.js"),__vite__mapDeps([52,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>H(()=>import("./haml-B8DHNrY2.js"),__vite__mapDeps([34,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>H(()=>import("./handlebars-BL8al0AC.js"),__vite__mapDeps([53,1,2,3,38])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>H(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>H(()=>import("./haxe-CzTSHFRz.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>H(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>H(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>H(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>H(()=>import("./html-GMplVEZG.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>H(()=>import("./html-derivative-BFtXZ54Q.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>H(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([54,28,9,7,8,35,2,11,36,13])))},{id:"hurl",name:"Hurl",import:(()=>H(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([55,35,2,11,36,13,7,8,56])))},{id:"hxml",name:"HXML",import:(()=>H(()=>import("./hxml-Bvhsp5Yf.js"),__vite__mapDeps([57,58])))},{id:"hy",name:"Hy",import:(()=>H(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>H(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>H(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>H(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>H(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>H(()=>import("./jinja-4LBKfQ-Z.js"),__vite__mapDeps([59,1,2,3])))},{id:"jison",name:"Jison",import:(()=>H(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([60,2])))},{id:"json",name:"JSON",import:(()=>H(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>H(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>H(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>H(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>H(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>H(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>H(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>H(()=>import("./julia-C8NyazO9.js"),__vite__mapDeps([61,23,24,25,26,16,20,2,62])))},{id:"kdl",name:"KDL",import:(()=>H(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>H(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>H(()=>import("./kusto-BvAqAH-y.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>H(()=>import("./latex-BUKiar2Z.js"),__vite__mapDeps([63,64,62])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>H(()=>import("./lean-DP1Csr6i.js"),[]))},{id:"less",name:"Less",import:(()=>H(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>H(()=>import("./liquid-DYVedYrR.js"),__vite__mapDeps([65,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>H(()=>import("./llvm-BtvRca6l.js"),[]))},{id:"log",name:"Log file",import:(()=>H(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>H(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>H(()=>import("./lua-BbnMAYS6.js"),__vite__mapDeps([37,26])))},{id:"luau",name:"Luau",import:(()=>H(()=>import("./luau-CXu1NL6O.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>H(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>H(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>H(()=>import("./marko-CPi9NSCl.js"),__vite__mapDeps([66,3,67,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>H(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>H(()=>import("./mdc-DUICxH0z.js"),__vite__mapDeps([68,40,38,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>H(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>H(()=>import("./mermaid-DKYwYmdq.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>H(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>H(()=>import("./mojo-1DNp92w6.js"),[]))},{id:"move",name:"Move",import:(()=>H(()=>import("./move-Bu9oaDYs.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>H(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>H(()=>import("./nextflow-CUEJCptM.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>H(()=>import("./nginx-DknmC5AR.js"),__vite__mapDeps([69,37,26])))},{id:"nim",name:"Nim",import:(()=>H(()=>import("./nim-CVrawwO9.js"),__vite__mapDeps([70,26,1,2,3,7,8,25,40])))},{id:"nix",name:"Nix",import:(()=>H(()=>import("./nix-BbRYJGeE.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>H(()=>import("./nushell-C-sUppwS.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>H(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>H(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>H(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"pascal",name:"Pascal",import:(()=>H(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>H(()=>import("./perl-C0TMdlhV.js"),__vite__mapDeps([71,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>H(()=>import("./php-CDn_0X-4.js"),__vite__mapDeps([72,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>H(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>H(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>H(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>H(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>H(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>H(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:(()=>H(()=>import("./powershell-Dpen1YoG.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>H(()=>import("./prisma-Dd19v3D-.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>H(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>H(()=>import("./proto-DyJlTyXw.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>H(()=>import("./pug-CGlum2m_.js"),__vite__mapDeps([73,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>H(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>H(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>H(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>H(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([74,2])))},{id:"qmldir",name:"QML Directory",import:(()=>H(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>H(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>H(()=>import("./r-DiinP2Uv.js"),[]))},{id:"racket",name:"Racket",import:(()=>H(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>H(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>H(()=>import("./razor-WgofotgN.js"),__vite__mapDeps([75,1,2,3,76])))},{id:"reg",name:"Windows Registry Script",import:(()=>H(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>H(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>H(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>H(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>H(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>H(()=>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:(()=>H(()=>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:(()=>H(()=>import("./rust-B1yitclQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>H(()=>import("./sas-cz2c8ADy.js"),__vite__mapDeps([79,16])))},{id:"sass",name:"Sass",import:(()=>H(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>H(()=>import("./scala-C151Ov-r.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>H(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>H(()=>import("./scss-OYdSNvt2.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>H(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>H(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([80,81])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>H(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>H(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([82,28])))},{id:"smalltalk",name:"Smalltalk",import:(()=>H(()=>import("./smalltalk-BERRCDM3.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>H(()=>import("./solidity-BbcW6ACK.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>H(()=>import("./soy-Brmx7dQM.js"),__vite__mapDeps([83,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>H(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([84,85])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>H(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>H(()=>import("./sql-BLtJtn59.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>H(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>H(()=>import("./stata-BH5u7GGu.js"),__vite__mapDeps([86,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>H(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"svelte",name:"Svelte",import:(()=>H(()=>import("./svelte-3Dk4HxPD.js"),__vite__mapDeps([87,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>H(()=>import("./swift-Dg5xB15N.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>H(()=>import("./system-verilog-CnnmHF94.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>H(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>H(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>H(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>H(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>H(()=>import("./templ-W15q3VgB.js"),__vite__mapDeps([88,89,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>H(()=>import("./terraform-BETggiCN.js"),[]))}
839,{id:"tex",name:"TeX",import:(()=>H(()=>import("./tex-Cppo0RY3.js"),__vite__mapDeps([64,62])))},{id:"toml",name:"TOML",import:(()=>H(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>H(()=>import("./ts-tags-zn1MmPIZ.js"),__vite__mapDeps([90,11,3,2,25,26,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>H(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>H(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>H(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>H(()=>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:(()=>H(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>H(()=>import("./typespec-Df68jz8_.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>H(()=>import("./typst-DHCkPAjA.js"),[]))}
vendor: 5,479 bytes, line 839
839,{id:"v",name:"V",import:(()=>H(()=>import("./v-BcVCzyr7.js"),[]))},{id:"vala",name:"Vala",import:(()=>H(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:(()=>H(()=>import("./vb-D17OF-Vu.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>H(()=>import("./verilog-BQ8w6xss.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>H(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>H(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>H(()=>import("./vue-CCoi5OLL.js"),__vite__mapDeps([92,3,2,11,9,15,1])))},{id:"vue-html",name:"Vue HTML",import:(()=>H(()=>import("./vue-html-DAAvJJDi.js"),__vite__mapDeps([93,92,3,2,11,9,15,1])))},{id:"vue-vine",name:"Vue Vine",import:(()=>H(()=>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:(()=>H(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>H(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["æè¨"],import:(()=>H(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>H(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>H(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>H(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>H(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>H(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>H(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([96,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>H(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>H(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>H(()=>import("./zig-VOosw3JB.js"),[]))}],MZ=Object.fromEntries(S_.map(e=>[e.id,e.import])),IZ=Object.fromEntries(S_.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),T_={...MZ,...IZ},LZ=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>H(()=>import("./andromeeda-C-Jbm3Hp.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>H(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>H(()=>import("./ayu-dark-Cv9koXgw.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>H(()=>import("./catppuccin-frappe-DFWUc33u.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>H(()=>import("./catppuccin-latte-C9dUb6Cb.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>H(()=>import("./catppuccin-macchiato-DQyhUUbL.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>H(()=>import("./catppuccin-mocha-D87Tk5Gz.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>H(()=>import("./dark-plus-eOWES_5F.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>H(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>H(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>H(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>H(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>H(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>H(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>H(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>H(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>H(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>H(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>H(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>H(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>H(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>H(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>H(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>H(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>H(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>H(()=>
839import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>H(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>H(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>H(()=>import("./kanagawa-wave-DWedfzmr.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>H(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>H(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>H(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>H(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>H(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>H(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>H(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>H(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>H(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>H(()=>import("./monokai-D4h5O-jR.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>H(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>H(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>H(()=>import("./one-dark-pro-DVMEJ2y_.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>H(()=>import("./one-light-PoHY5YXO.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>H(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>H(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>H(()=>import("./red-bN70gL4F.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>H(()=>import("./rose-pine-BHrmToEH.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>H(()=>import("./rose-pine-dawn-CnK8MTSM.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>H(()=>import("./rose-pine-moon-NleAzG8P.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>H(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>H(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>H(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>H(()=>import("./solarized-dark-DXbdFlpD.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>H(()=>import("./solarized-light-L9t79GZl.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>H(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>H(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>H(()=>import("./vesper-DU1UobuO.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>H(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>H(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>H(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],PZ=Object.fromEntries(LZ.map(e=>[e.id,e.import]));
vendor: 19,539 bytes, lines 839-871
839class n4 extends Error{constructor(t){super(t),this.name="ShikiError"}}function jZ(){return 2147483648}function BZ(){return typeof performance<"u"?performance.now():Date.now()}const zZ=(e,t)=>e+(t-e%t)%t;async function FZ(e){let t,n;const r={};function a(y){n=y,r.HEAPU8=new Uint8Array(y),r.HEAPU32=new Uint32Array(y)}function i(y,w,T){r.HEAPU8.copyWithin(y,w,w+T)}function o(y){try{return t.grow(y-n.byteLength+65535>>>16),a(t.buffer),1}catch{}}function c(y){const w=r.HEAPU8.length;y=y>>>0;const T=jZ();if(y>T)return!1;for(let A=1;A<=4;A*=2){let N=w*(1+.2/A);N=Math.min(N,y+100663296);const R=Math.min(T,zZ(Math.max(y,N),65536));if(o(R))return!0}return!1}const u=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function h(y,w,T=1024){const A=w+T;let N=w;for(;y[N]&&!(N>=A);)++N;if(N-w>16&&y.buffer&&u)return u.decode(y.subarray(w,N));let R="";for(;w<N;){let z=y[w++];if(!(z&128)){R+=String.fromCharCode(z);continue}const W=y[w++]&63;if((z&224)===192){R+=String.fromCharCode((z&31)<<6|W);continue}const q=y[w++]&63;if((z&240)===224?z=(z&15)<<12|W<<6|q:z=(z&7)<<18|W<<12|q<<6|y[w++]&63,z<65536)R+=String.fromCharCode(z);else{const C=z-65536;R+=String.fromCharCode(55296|C>>10,56320|C&1023)}}return R}function g(y,w){return y?h(r.HEAPU8,y,w):""}const p={emscripten_get_now:BZ,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function b(){const w=await e({env:p,wasi_snapshot_preview1:p});t=w.memory,a(t.buffer),Object.assign(r,w),r.UTF8ToString=g}return await b(),r}var HZ=Object.defineProperty,UZ=(e,t,n)=>t in e?HZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_n=(e,t,n)=>UZ(e,typeof t!="symbol"?t+"":t,n);let In=null;function qZ(e){throw new n4(e.UTF8ToString(e.getLastOnigError()))}class km{constructor(t){_n(this,"utf16Length"),_n(this,"utf8Length"),_n(this,"utf16Value"),_n(this,"utf8Value"),_n(this,"utf16OffsetToUtf8"),_n(this,"utf8OffsetToUtf16");const n=t.length,r=km._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 c=new Uint8Array(r);let u=0;for(let h=0;h<n;h++){const g=t.charCodeAt(h);let p=g,b=!1;if(g>=55296&&g<=56319&&h+1<n){const y=t.charCodeAt(h+1);y>=56320&&y<=57343&&(p=(g-55296<<10)+65536|y-56320,b=!0)}a&&(i[h]=u,b&&(i[h+1]=u),p<=127?o[u+0]=h:p<=2047?(o[u+0]=h,o[u+1]=h):p<=65535?(o[u+0]=h,o[u+1]=h,o[u+2]=h):(o[u+0]=h,o[u+1]=h,o[u+2]=h,o[u+3]=h)),p<=127?c[u++]=p:p<=2047?(c[u++]=192|(p&1984)>>>6,c[u++]=128|(p&63)>>>0):p<=65535?(c[u++]=224|(p&61440)>>>12,c[u++]=128|(p&4032)>>>6,c[u++]=128|(p&63)>>>0):(c[u++]=240|(p&1835008)>>>18,c[u++]=128|(p&258048)>>>12,c[u++]=128|(p&4032)>>>6,c[u++]=128|(p&63)>>>0),b&&h++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=c,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,c=!1;if(i>=55296&&i<=56319&&r+1<a){const u=t.charCodeAt(r+1);u>=56320&&u<=57343&&(o=(i-55296<<10)+65536|u-56320,c=!0)}o<=127?n+=1:o<=2047?n+=2:o<=65535?n+=3:n+=4,c&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const _m=class $a{constructor(t){if(_n(this,"id",++$a.LAST_ID),_n(this,"_onigBinding"),_n(this,"content"),_n(this,"utf16Length"),_n(this,"utf8Length"),_n(this,"utf16OffsetToUtf8"),_n(this,"utf8OffsetToUtf16"),_n(this,"ptr"),!In)throw new n4("Must invoke loadWasm first.");this._onigBinding=In,this.content=t;const n=new km(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!$a._sharedPtrInUse?($a._sharedPtr||($a._sharedPtr=In.omalloc(1e4)),$a._sharedPtrInUse=!0,In.HEAPU8.set(n.utf8Value,$a._sharedPtr),this.ptr=$a._sharedPtr):this.ptr=n.createString(In)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===$a._sharedPtr?$a._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};_n(_m,"LAST_ID",0);_n(_m,"_sharedPtr",0);_n(_m,"_sharedPtrInUse",!1);let k_=_m;class VZ{constructor(t){if(_n(this,"_onigBinding"),_n(this,"_ptr"),!In)throw new n4("Must invoke loadWasm first.");const n=[],r=[];for(let c=0,u=t.length;c<u;c++){const h=new km(t[c]);n[c]=h.createString(In),r[c]=h.utf8Length}const a=In.omalloc(4*t.length);In.HEAPU32.set(n,a/4);const i=In.omalloc(4*t.length);In.HEAPU32.set(r,i/4);const o=In.createOnigScanner(a,i,t.length);for(let c=0,u=t.length;c<u;c++)In.ofree(n[c]);In.ofree(i),In.ofree(a),o===0&&qZ(In),this._onigBinding=In,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 k_(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 c=i.HEAPU32;let u=o/4;const h=c[u++],g=c[u++],p=[];for(let b=0;b<g;b++){const y=t.convertUtf8OffsetToUtf16(c[u++]),w=t.convertUtf8OffsetToUtf16(c[u++]);p[b]={start:y,end:w,length:w-y}}return{index:h,captureIndices:p}}}function $Z(e){return typeof e.instantiator=="function"}function GZ(e){return typeof e.default=="function"}function YZ(e){return typeof e.data<"u"}function QZ(e){return typeof Response<"u"&&e instanceof Response}function XZ(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 zh;function WZ(e){if(zh)return zh;async function t(){In=await FZ(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),$Z(r)?r=await r.instantiator(n):GZ(r)?r=await r.default(n):(YZ(r)&&(r=r.data),QZ(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await KZ(r)(n):r=await ZZ(r)(n):XZ(r)?r=await Wg(r)(n):r instanceof WebAssembly.Module?r=await Wg(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Wg(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return zh=t(),zh}function Wg(e){return t=>WebAssembly.instantiate(e,t)}function KZ(e){return t=>WebAssembly.instantiateStreaming(e,t)}function ZZ(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function JZ(e){return e&&await WZ(e),{createScanner(t){return new VZ(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new k_(t)}}}const U7=DZ({langs:T_,themes:PZ,engine:()=>JZ(H(()=>import("./wasm-CG6Dc4jp.js"),[]))});function Pc(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function eJ(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const r4=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),Pn=String.raw;function jc(e,t){if(e==null)throw new Error(t??"Value expected");return e}const __=Pn`\[\^?`,A_=`c.? | C(?:-.?)?|${Pn`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${Pn`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${Pn`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${Pn`o\{[^\}]*\}?`}|${Pn`\d{1,3}`}`,a4=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Fh=new RegExp(Pn` 840 \\ (?: 841 ${A_} 842 | [gk]<[^>]*>? 843 | [gk]'[^']*'? 844 | . 845 ) 846 | \( (?: 847 \? (?: 848 [:=!>({] 849 | <[=!] 850 | <[^>]*> 851 | '[^']*' 852 | ~\|? 853 | #(?:[^)\\]|\\.?)* 854 | [^:)]*[:)] 855 )? 856 | \*[^\)]*\)? 857 )? 858 | (?:${a4.source})+ 859 | ${__} 860 | . 861`.replace(/\s+/g,""),"gsu"),Kg=new RegExp(Pn` 862 \\ (?: 863 ${A_} 864 | . 865 ) 866 | \[:(?:\^?\p{Alpha}+|\^):\] 867 | ${__} 868 | && 869 | . 870`.replace(/\s+/g,""),"gsu");function tJ(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=vJ(n.flags),a=[r.extended],i={captureGroup:n.rules.captureGroup,getCurrentModX(){return a.at(-1)},numOpenGroups:0,popModX(){a.pop()},pushModX(p){a.push(p)},replaceCurrentModX(p){a[a.length-1]=p},singleline:n.rules.singleline};let o=[],c;for(Fh.lastIndex=0;c=Fh.exec(e);){const p=nJ(i,e,c[0],Fh.lastIndex);p.tokens?o.push(...p.tokens):p.token&&o.push(p.token),p.lastIndex!==void 0&&(Fh.lastIndex=p.lastIndex)}const u=[];let h=0;o.filter(p=>p.type==="GroupOpen").forEach(p=>{p.kind==="capturing"?p.number=++h:p.raw==="("&&u.push(p)}),h||u.forEach((p,b)=>{p.kind="capturing",p.number=b+1});const g=h||u.length;return{tokens:o.map(p=>p.type==="EscapedNumber"?wJ(p,g):p).flat(),flags:r}}function nJ(e,t,n,r){const[a,i]=n;if(n==="["||n==="[^"){const o=rJ(t,n,r);return{tokens:o.tokens,lastIndex:o.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(i))return{token:q7(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:fJ(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:C_(n)}}if(i==="K")return{token:O_("keep",n)};if(i==="N"||i==="R")return{token:jo("newline",n,{negate:i==="N"})};if(i==="O")return{token:jo("any",n)};if(i==="X")return{token:jo("text_segment",n)};const o=N_(n,{inCharClass:!1});return Array.isArray(o)?{tokens:o}:{token:o}}if(a==="("){if(i==="*")return{token:xJ(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:gJ(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:rc("group",n)};if(n==="(?>")return{token:rc("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:rc(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:rc("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:rc("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:uJ(n)}}if(e.getCurrentModX()){if(n==="#"){const o=t.indexOf(` 871`,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:jo("dot",n)};if(n==="^"||n==="$"){const o=e.singleline?{"^":Pn`\A`,$:Pn`\Z`}[n]:n;return{token:q7(o,n)}}return n==="|"?{token:sJ(n)}:a4.test(n)?{tokens:SJ(n)}:{token:Us(Pc(n),n)}}function rJ(e,t,n){const r=[V7(t[1]==="^",t)];let a=1,i;for(Kg.lastIndex=n;i=Kg.exec(e);){const o=i[0];if(o[0]==="["&&o[1]!==":")a++,r.push(V7(o[1]==="^",o));else if(o==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(Us(93,o));else if(a--,r.push(iJ(o)),!a)break}else{const c=aJ(o);Array.isArray(c)?r.push(...c):r.push(c)}}return{tokens:r,lastIndex:Kg.lastIndex||e.length}}function aJ(e){if(e[0]==="\\")return N_(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!r4.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return jo("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?oJ(e):e==="&&"?lJ(e):Us(Pc(e),e)}function N_(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return pJ(e);if("dDhHsSwW".includes(n))return bJ(e);if(e.startsWith(Pn`\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 yJ(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 c=[...i.encode(o)].map(u=>`\\x${u.toString(16)}`).join("");return Us(Pc(o),c)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return Us(EJ(e),e);if($7.has(n))return Us($7.get(n),e);if(/\d/.test(n))return cJ(t,e);if(e==="\\")throw new Error(Pn`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return Us(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function sJ(e){return{type:"Alternator",raw:e}}function q7(e,t){return{type:"Assertion",kind:e,raw:t}}function C_(e){return{type:"Backreference",raw:e}}function Us(e,t){return{type:"Character",value:e,raw:t}}function iJ(e){return{type:"CharacterClassClose",raw:e}}function oJ(e){return{type:"CharacterClassHyphen",raw:e}}function lJ(e){return{type:"CharacterClassIntersector",raw:e}}function V7(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function jo(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function O_(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:jc(n.flags),raw:t}}function cJ(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function uJ(e){return{type:"GroupClose",raw:e}}function rc(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function dJ(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function hJ(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function fJ(e){return{type:"Subroutine",raw:e}}const mJ=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),$7=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function pJ(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 Us(Pc(t.toUpperCase())-64,e)}function gJ(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=Y7(n),o=Y7(r),c={};if(i&&(c.enable=i),o&&(c.disable=o),e.endsWith(")"))return t.replaceCurrentModX(a),O_("flags",e,{flags:c});if(e.endsWith(":"))return t.pushModX(a),t.numOpenGroups++,rc("group",e,{...(i||o)&&{flags:c}});throw new Error(`Unexpected flag modifier "${e}"`)}function xJ(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,c,u]=i,h=mJ.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 c=="number"||!/^[<>X]$/.test(c)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${c}"`);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 c=="number"||!/^(?:[<>!=]=|[<>])$/.test(c))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${c}"`);if(typeof u=="string"&&!/^[A-Za-z_]\w*$/.test(u))throw new Error(`Named callout argument three must be a tag or number "${u}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${h}"`)}return dJ(h,r??null,a?.split(",")??null,e)}function G7(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 hJ(t,n,r,e)}function bJ(e){const t=e[1].toLowerCase();return jo({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function yJ(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return jo("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function Y7(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 vJ(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 EJ(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 wJ(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[C_(n)];const i=[],o=a.match(/^[0-7]+|\d/g);for(let c=0;c<o.length;c++){const u=o[c];let h;if(c===0&&u!=="8"&&u!=="9"){if(h=parseInt(u,8),h>127)throw new Error(Pn`Octal encoded byte above 177 unsupported "${n}"`)}else h=Pc(u);i.push(Us(h,(c===0?"\\":"")+u))}return i}function SJ(e){const t=[],n=new RegExp(a4,"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:c}=i.groups;if(+o>+c&&a.endsWith("?")){n.lastIndex--,t.push(G7(a.slice(0,-1)));continue}}}t.push(G7(a))}return t}function R_(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 TJ(e){return kJ.has(e.type)}const kJ=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subrout
871ine"]);function D_(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=tJ(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a=(b,y)=>{const w=r.tokens[i.nextIndex];switch(i.parent=b,i.nextIndex++,w.type){case"Alternator":return Yo();case"Assertion":return _J(w);case"Backreference":return AJ(w,i);case"Character":return Am(w.value,{useLastValid:!!y.isCheckingRangeEnd});case"CharacterClassHyphen":return NJ(w,i,y);case"CharacterClassOpen":return CJ(w,i,y);case"CharacterSet":return OJ(w,i);case"Directive":return PJ(w.kind,{flags:w.flags});case"GroupOpen":return RJ(w,i,y);case"NamedCallout":return BJ(w.kind,w.tag,w.arguments);case"Quantifier":return DJ(w,i);case"Subroutine":return MJ(w,i);default:throw new Error(`Unexpected token type "${w.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=FJ(jJ(r.flags));let c=o.body[0];for(;i.nextIndex<r.tokens.length;){const b=a(c,{});b.type==="Alternative"?(o.body.push(b),c=b):c.body.push(b)}const{capturingGroups:u,hasNumberedRef:h,namedGroupsByName:g,subroutines:p}=i;if(h&&g.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:b}of p)if(typeof b=="number"){if(b>u.length)throw new Error("Subroutine uses a group number that's not defined");b&&(u[b-1].isSubroutined=!0)}else if(g.has(b)){if(g.get(b).length>
vendor: 9,011 bytes, line 871
8711)throw new Error(Pn`Subroutine uses a duplicate group name "\g<${b}>"`);g.get(b)[0].isSubroutined=!0}else throw new Error(Pn`Subroutine uses a group name that's not defined "\g<${b}>"`);return o}function _J({kind:e}){return xx(jc({"^":"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===Pn`\B`||e===Pn`\Y`})}function AJ({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),a=(i,o=!1)=>{const c=t.capturingGroups.length;let u=!1;if(i>c)if(t.skipBackrefValidation)u=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,bx(o?c+1-i:i,{orphan:u})};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}"`);if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return bx(r)}return a(+r)}function NJ(e,t,n){const{tokens:r,walk:a}=t,i=t.parent,o=i.body.at(-1),c=r[t.nextIndex];if(!n.isCheckingRangeEnd&&o&&o.type!=="CharacterClass"&&o.type!=="CharacterClassRange"&&c&&c.type!=="CharacterClassOpen"&&c.type!=="CharacterClassClose"&&c.type!=="CharacterClassIntersector"){const u=a(i,{...n,isCheckingRangeEnd:!0});if(o.type==="Character"&&u.type==="Character")return i.body.pop(),LJ(o,u);throw new Error("Invalid character class range")}return Am(Pc("-"))}function CJ({negate:e},t,n){const{tokens:r,walk:a}=t,i=r[t.nextIndex],o=[tf()];let c=W7(i);for(;c.type!=="CharacterClassClose";){if(c.type==="CharacterClassIntersector")o.push(tf()),t.nextIndex++;else{const h=o.at(-1);h.body.push(a(h,n))}c=W7(r[t.nextIndex],i)}const u=tf({negate:e});return o.length===1?u.body=o[0].body:(u.kind="intersection",u.body=o.map(h=>h.body.length===1?h.body[0]:h)),t.nextIndex++,u}function OJ({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:o}=r;if(e==="property"){const c=Nm(n);if(r4.has(c)&&!o?.has(c))e="posix",n=c;else return ac(n,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:o})}return e==="posix"?zJ(n,{negate:t}):yx(e,{negate:t})}function RJ(e,t,n){const{tokens:r,capturingGroups:a,namedGroupsByName:i,skipLookbehindValidation:o,walk:c}=t,u=HJ(e),h=u.type==="AbsenceFunction",g=X7(u),p=g&&u.negate;if(u.type==="CapturingGroup"&&(a.push(u),u.name&&eJ(i,u.name,[]).push(u)),h&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let b=K7(r[t.nextIndex]);for(;b.type!=="GroupClose";){if(b.type==="Alternator")u.body.push(Yo()),t.nextIndex++;else{const y=u.body.at(-1),w=c(y,{...n,isInAbsenceFunction:n.isInAbsenceFunction||h,isInLookbehind:n.isInLookbehind||g,isInNegLookbehind:n.isInNegLookbehind||p});if(y.body.push(w),(g||n.isInLookbehind)&&!o){const T="Lookbehind includes a pattern not allowed by Oniguruma";if(p||n.isInNegLookbehind){if(Q7(w)||w.type==="CapturingGroup")throw new Error(T)}else if(Q7(w)||X7(w)&&w.negate)throw new Error(T)}}b=K7(r[t.nextIndex])}return t.nextIndex++,u}function DJ({kind:e,min:t,max:n},r){const a=r.parent,i=a.body.at(-1);if(!i||!TJ(i))throw new Error("Quantifier requires a repeatable token");const o=I_(e,t,n,i);return a.body.pop(),o}function MJ({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 c=+i.groups.num,u=n.length;if(t.hasNumberedRef=!0,a={"":c,"+":u+c,"-":u+1-c}[i.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const o=L_(a);return r.push(o),o}function IJ(e,t){return{type:"AbsenceFunction",kind:e,body:K0(t?.body)}}function Yo(e){return{type:"Alternative",body:P_(e?.body)}}function xx(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function bx(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function M_(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!UJ(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:K0(t?.body)}}function Am(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 tf(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:P_(e?.body)}}function LJ(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function yx(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 PJ(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:jc(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function jJ(e){return{type:"Flags",...e}}function Na(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:K0(e?.body)}}function Do(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:K0(e?.body)}}function BJ(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function zJ(e,t){const n=!!t?.negate;if(!r4.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function I_(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 FJ(e,t){return{type:"Regex",body:K0(t?.body),flags:e}}function L_(e){return{type:"Subroutine",ref:e}}function ac(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let r=n.unicodePropertyMap?.get(Nm(e));if(!r){if(n.normalizeUnknownPropertyNames)r=qJ(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(Pn`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:r??e,negate:n.negate}}function HJ({flags:e,kind:t,name:n,negate:r,number:a}){switch(t){case"absence_repeater":return IJ("repeater");case"atomic":return Na({atomic:!0});case"capturing":return M_(a,{name:n});case"group":return Na({flags:e});case"lookahead":case"lookbehind":return Do({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function K0(e){if(e===void 0)e=[Yo()];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 P_(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 Q7(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function X7(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function UJ(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function qJ(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 Nm(e){return e.replace(/[- _]+/g,"").toLowerCase()}function W7(e,t){return jc(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function K7(e){return jc(e,"Unclosed group")}function s0(e,t,n=null){function r(i,o){for(let c=0;c<i.length;c++){const u=a(i[c],o,c,i);c=Math.max(-1,c+u)}}function a(i,o=null,c=null,u=null){let h=0,g=!1;const p={node:i,parent:o,key:c,container:u,root:e,remove(){Hh(u).splice(Math.max(0,ec(c)+h),1),h--,g=!0},removeAllNextSiblings(){return Hh(u).splice(ec(c)+1)},removeAllPrevSiblings(){const N=ec(c)+h;return h-=N,Hh(u).splice(0,Math.max(0,N))},replaceWith(N,R={}){const z=!!R.traverse;u?u[Math.max(0,ec(c)+h)]=N:jc(o,"Can't replace root node")[c]=N,z&&a(N,o,c,u),g=!0},replaceWithMultiple(N,R={}){const z=!!R.traverse;if(Hh(u).splice(Math.max(0,ec(c)+h),1,...N),h+=N.length-1,z){let W=0;for(let q=0;q<N.length;q++)W+=a(N[q],o,ec(c)+q+W,u)}g=!0},skip(){g=!0}},{type:b}=i,y=t["*"],w=t[b],T=typeof y=="function"?y:y?.enter,A=typeof w=="function"?w:w?.enter;if(T?.(p,n),A?.(p,n),!g)switch(b){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
871ine":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 "${b}"`)}return w?.exit?.(p,n),y?.exit?.(p,n),h}return a(e),e}function Hh(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function ec(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const VJ=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function $J(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function GJ(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const ga=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function s4(e,t,n,r){const a=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),i=[!1];let o=0,c="";for(const u of e.matchAll(a)){const{0:h,groups:{$skip:g}}=u;if(!g&&(!r||r===ga.DEFAULT==!o)){n instanceof Function?c+=n(u,{context:o?ga.CHAR_CLASS:ga.DEFAULT,negated:i[i.length-1]}):c+=n;continue}h[0]==="["?(o++,i.push(h[1]==="^")):h==="]"&&o&&(o--,i.pop()),c+=h}return c}function j_(e,t,n,r){s4(e,t,n,r)}function YJ(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:c,groups:{$skip:u}}=o;if(!u&&(!r||r===ga.DEFAULT==!i))return o;c==="["?i++:c==="]"&&i&&i--,a.lastIndex==o.index&&a.lastIndex++}return null}function Uh(e,t,n){return!!YJ(e,t,0,n)}function QJ(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,a=0,i=1,o;for(;o=n.exec(e);){const[c]=o;if(c==="[")a++;else if(a)c==="]"&&a--;else if(c==="(")i++;else if(c===")"&&(i--,!i)){r=o.index;break}}return e.slice(t,r)}const Z7=new RegExp(String.raw`(?<noncapturingStart>${VJ})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function XJ(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],c=[];let u=0,h=0,g=NaN,p;do{p=!1;let b=0,y=0,w=!1,T;for(Z7.lastIndex=Number.isNaN(g)?0:g+i.length;T=Z7.exec(e);){const{0:A,index:N,groups:{capturingStart:R,noncapturingStart:z}}=T;if(A==="[")b++;else if(b)A==="]"&&b--;else if(A===a&&!w)g=N,w=!0;else if(w&&z)y++;else if(R)w?y++:(u++,o.push(u+h));else if(A===")"&&w){if(!y){h++;const W=u+h;if(e=`${e.slice(0,g)}${i}${e.slice(g+a.length,N)}))<$$${W}>)${e.slice(N+1)}`,p=!0,c.push(W),$J(n,W),r.size){const q=new Map;r.forEach((C,M)=>{q.set(M>=W?M+1:M,C.map(V=>V>=W?V+1:V))}),r=q}break}y--}}}while(p);return n.push(...c),e=s4(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:b,groups:{backrefNum:y,wrappedBackrefNum:w}})=>{if(y){const T=+y;if(T>o.length-1)throw new Error(`Backref "${b}" greater than number of captures`);return`\\${o[T]}`}return`\\${w}`},ga.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const B_=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,Zg=new RegExp(String.raw` 872\\(?: \d+ 873 | c[A-Za-z] 874 | [gk]<[^>]+> 875 | [pPu]\{[^\}]+\} 876 | u[A-Fa-f\d]{4} 877 | x[A-Fa-f\d]{2} 878 ) 879| \((?: \? (?: [:=!>] 880 | <(?:[=!]|[^>]+>) 881 | [A-Za-z\-]+: 882 | \(DEFINE\) 883 ))? 884| (?<qBase>${B_})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?) 885| \\?. 886`.replace(/\s+/g,""),"gsu");function WJ(e){if(!new RegExp(`${B_}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,a="",i=0,o;for(Zg.lastIndex=0;o=Zg.exec(e);){const{0:c,index:u,groups:{qBase:h,qMod:g,invalidQ:p}}=o;if(c==="[")i||(r=u),i++;else if(c==="]")i?i--:r=null;else if(!i)if(g==="+"&&a&&!a.startsWith("(")){if(p)throw new Error(`Invalid quantifier "${c}"`);let b=-1;if(/^\{\d+\}$/.test(h))e=GJ(e,u+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,u)}${h})${e.slice(u+c.length)}`}else e=`${e.slice(0,u-a.length)}(?>${a}${h})${e.slice(u+c.length)}`;b+=4}Zg.lastIndex+=b}else c[0]==="("?t.push(u):c===")"&&(n=t.length?t.pop():null);a=c}return{pattern:e}}const ma=String.raw,KJ=ma`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,vx=ma`\(\?R=(?<rDepth>[^\)]+)\)|${KJ}`,Cm=ma`\(\?<(?![=!])(?<captureName>[^>]+)>`,z_=ma`${Cm}|(?<unnamed>\()(?!\?)`,Ao=new RegExp(ma`${Cm}|${vx}|\(\?|\\?.`,"gsu"),Jg="Cannot use multiple overlapping recursions";function ZJ(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let a=t?.captureTransfers??new Map;if(!new RegExp(vx,"su").test(e))return{pattern:e,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&Uh(e,ma`\(\?\(DEFINE\)`,ga.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const i=[],o=Uh(e,ma`\\[1-9]`,ga.DEFAULT),c=new Map,u=[];let h=!1,g=0,p=0,b;for(Ao.lastIndex=0;b=Ao.exec(e);){const{0:y,groups:{captureName:w,rDepth:T,gRNameOrNum:A,gRDepth:N}}=b;if(y==="[")g++;else if(g)y==="]"&&g--;else if(T){if(J7(T),h)throw new Error(Jg);if(o)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const R=e.slice(0,b.index),z=e.slice(Ao.lastIndex);if(Uh(z,vx,ga.DEFAULT))throw new Error(Jg);const W=+T-1;e=eE(R,z,W,!1,n,i,p),a=nE(a,R,W,i.length,0,p);break}else if(A){J7(N);let R=!1;for(const ae of u)if(ae.name===A||ae.num===+A){if(R=!0,ae.hasRecursedWithin)throw new Error(Jg);break}if(!R)throw new Error(ma`Recursive \g cannot be used outside the referenced group "${r==="external"?A:ma`\g<${A}&R=${N}>`}"`);const z=c.get(A),W=QJ(e,z);if(o&&Uh(W,ma`${Cm}|\((?!\?)`,ga.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const q=e.slice(z,b.index),C=W.slice(q.length+y.length),M=i.length,V=+N-1,Z=eE(q,C,V,!0,n,i,p);a=nE(a,q,V,i.length-M,M,p);const I=e.slice(0,z),se=e.slice(z+W.length);e=`${I}${Z}${se}`,Ao.lastIndex+=Z.length-y.length-q.length-C.length,u.forEach(ae=>ae.hasRecursedWithin=!0),h=!0}else if(w)p++,c.set(String(p),Ao.lastIndex),c.set(w,Ao.lastIndex),u.push({num:p,name:w});else if(y[0]==="("){const R=y==="(";R&&(p++,c.set(String(p),Ao.lastIndex)),u.push(R?{num:p}:{})}else y===")"&&u.pop()}return n.push(...i),{pattern:e,captureTransfers:a,hiddenCaptures:n}}function J7(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 eE(e,t,n,r,a,i,o){const c=new Set;r&&j_(e+t,Cm,({groups:{captureName:h}})=>{c.add(h)},ga.DEFAULT);const u=[n,r?c:null,a,i,o];return`${e}${tE(`(?:${e}`,"forward",...u)}(?:)${tE(`${t})`,"backward",...u)}${t}`}function tE(e,t,n,r,a,i,o){const u=g=>t==="forward"?g+2:n-g+2-1;let h="";for(let g=0;g<n;g++){const p=u(g);h+=s4(e,ma`${z_}|\\k<(?<backref>[^>]+)>`,({0:b,groups:{captureName:y,unnamed:w,backref:T}})=>{if(T&&r&&!r.has(T))return b;const A=`_$${p}`;if(w||y){const N=o+i.length+1;return i.push(N),JJ(a,N),w?b:`(?<${y}${A}>`}return ma`\k<${T}${A}>`},ga.DEFAULT)}return h}function JJ(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}
vendor: 3,540 bytes, lines 886-968
886function nE(e,t,n,r,a,i){if(e.size&&r){let o=0;j_(t,z_,()=>o++,ga.DEFAULT);const c=i-o+a,u=new Map;return e.forEach((h,g)=>{const p=(r-o*n)/n,b=o*n,y=g>c+o?g+r:g,w=[];for(const T of h)if(T<=c)w.push(T);else if(T>c+o+p)w.push(T+r);else if(T<=c+o)for(let A=0;A<=n;A++)w.push(T+o*A);else for(let A=0;A<=n;A++)w.push(T+b+p*A);u.set(y,w)}),u}return e}var An=String.fromCodePoint,at=String.raw,$s={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};$s.bugFlagVLiteralHyphenIsRange=$s.unicodeSets?(()=>{try{new RegExp(at`[\d\-a]`,"v")}catch{return!0}return!1})():!1;$s.bugNestedClassIgnoresNegation=$s.unicodeSets&&new RegExp("[[^a]]","v").test("a");function Pf(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function N0(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function Ex(e,t){return rE[e]>=rE[t]}function eee(e,t){if(e==null)throw new Error(t??"Value expected");return e}var rE={ES2025:2025,ES2024:2024,ES2018:2018},tee={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function F_(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!tee[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=$s.flagGroups?"ES2025":$s.unicodeSets?"ES2024":"ES2018"),t}var nee="[ -\r ]",ree=new Set([An(304),An(305)]),Ls=at`[\p{L}\p{M}\p{N}\p{Pc}]`;function H_(e){if(ree.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),a=iee.get(n),i=aee.get(n),o=see.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 i4=new Map(`C Other 887Cc Control cntrl 888Cf Format 889Cn Unassigned 890Co Private_Use 891Cs Surrogate 892L Letter 893LC Cased_Letter 894Ll Lowercase_Letter 895Lm Modifier_Letter 896Lo Other_Letter 897Lt Titlecase_Letter 898Lu Uppercase_Letter 899M Mark Combining_Mark 900Mc Spacing_Mark 901Me Enclosing_Mark 902Mn Nonspacing_Mark 903N Number 904Nd Decimal_Number digit 905Nl Letter_Number 906No Other_Number 907P Punctuation punct 908Pc Connector_Punctuation 909Pd Dash_Punctuation 910Pe Close_Punctuation 911Pf Final_Punctuation 912Pi Initial_Punctuation 913Po Other_Punctuation 914Ps Open_Punctuation 915S Symbol 916Sc Currency_Symbol 917Sk Modifier_Symbol 918Sm Math_Symbol 919So Other_Symbol 920Z Separator 921Zl Line_Separator 922Zp Paragraph_Separator 923Zs Space_Separator 924ASCII 925ASCII_Hex_Digit AHex 926Alphabetic Alpha 927Any 928Assigned 929Bidi_Control Bidi_C 930Bidi_Mirrored Bidi_M 931Case_Ignorable CI 932Cased 933Changes_When_Casefolded CWCF 934Changes_When_Casemapped CWCM 935Changes_When_Lowercased CWL 936Changes_When_NFKC_Casefolded CWKCF 937Changes_When_Titlecased CWT 938Changes_When_Uppercased CWU 939Dash 940Default_Ignorable_Code_Point DI 941Deprecated Dep 942Diacritic Dia 943Emoji 944Emoji_Component EComp 945Emoji_Modifier EMod 946Emoji_Modifier_Base EBase 947Emoji_Presentation EPres 948Extended_Pictographic ExtPict 949Extender Ext 950Grapheme_Base Gr_Base 951Grapheme_Extend Gr_Ext 952Hex_Digit Hex 953IDS_Binary_Operator IDSB 954IDS_Trinary_Operator IDST 955ID_Continue IDC 956ID_Start IDS 957Ideographic Ideo 958Join_Control Join_C 959Logical_Order_Exception LOE 960Lowercase Lower 961Math 962Noncharacter_Code_Point NChar 963Pattern_Syntax Pat_Syn 964Pattern_White_Space Pat_WS 965Quotation_Mark QMark 966Radical 967Regional_Indicator RI 968Sentence_Terminal STerm
969Soft_Dotted SD 970Terminal_Punctuation Term 971Unified_Ideograph UIdeo 972Uppercase Upper 973Variation_Selector VS 974White_Space space 975XID_Continue XIDC 976XID_Start XIDS`.split(/\s/).map(e=>[Nm(e),e])),aee=new Map([["s",An(383)],[An(383),"s"]]),see=new Map([[An(223),An(7838)],[An(107),An(8490)],[An(229),An(8491)],[An(969),An(8486)]]),iee=new Map([Ii(453),Ii(456),Ii(459),Ii(498),...e2(8072,8079),...e2(8088,8095),...e2(8104,8111),Ii(8124),Ii(8140),Ii(8188)]),oee=new Map([["alnum",at`[\p{Alpha}\p{Nd}]`],["alpha",at`\p{Alpha}`],["ascii",at`\p{ASCII}`],["blank",at`[\p{Zs}\t]`],["cntrl",at`\p{Cc}`],["digit",at`\p{Nd}`],["graph",at`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",at`\p{Lower}`],["print",at`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",at`[\p{P}\p{S}]`],["space",at`\p{space}`],["upper",at`\p{Upper}`],["word",at`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",at`\p{AHex}`]]);function lee(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function Ii(e){const t=An(e);return[t.toLowerCase(),t]}function e2(e,t){return lee(e,t).map(n=>Ii(n))}var U_=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function cee(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};q_(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Ex(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};s0(e,uee,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};s0(e,dee,i);const o={groupsByName:i.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:i.reffedNodesByReferencer};return s0(e,hee,o),e._originMap=i.groupOriginByCopy,e._strategy=r.strategy,e}var uee={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:a}=e;if(a==="repeater"){const i=Na();i.body[0].body.push(Do({negate:!0,body:r}),ac("Any"));const o=Na();o.body[0].body.push(I_("greedy",0,1/0,i)),n(hn(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];N0(r,o,[]).push(...a)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=$_(t.get(e));if(n){const r=Na({flags:n});r.body[0].body=e.body,e.body=[hn(r,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:a,remove:i,replaceWith:o},c){const{kind:u,negate:h}=e,{asciiWordBoundaries:g,avoidSubclass:p,supportedGNodes:b,wordIsAscii:y}=c;if(u==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${h?"Y":"y"}"`);if(u==="line_end")o(hn(Do({body:[Yo({body:[xx("string_end")]}),Yo({body:[Am(10)]})]}),t));else if(u==="line_start")o(hn(Ps(at`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(u==="search_start")if(b.has(e))a.flags.sticky=!0,i();else{const w=r[n-1];if(w&&bee(w))o(hn(Do({negate:!0}),t));else{if(p)throw new Error(at`Uses "\G" in a way that requires a subclass`);o(Li(xx("string_start"),t)),c.strategy="clip_search"}}else if(!(u==="string_end"||u==="string_start"))if(u==="string_end_newline")o(hn(Ps(at`(?=\n?\z)`),t));else if(u==="word_boundary"){if(!y&&!g){const w=`(?:(?<=${Ls})(?!${Ls})|(?<!${Ls})(?=${Ls}))`,T=`(?:(?<=${Ls})(?=${Ls})|(?<!${Ls})(?!${Ls}))`;o(hn(Ps(h?T:w),t))}}else throw new Error(`Unexpected assertion kind "${u}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!n2(n)&&(n=t2(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!n2(r)&&(r=t2(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=tf({body:[e]});n(hn(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:a,digitIsAscii:i,spaceIsAscii:o,wordIsAscii:c}){const{kind:u,negate:h,value:g}=e;if(i&&(u==="digit"||g==="digit")){n(Li(yx("digit",{negate:h}),t));return}
vendor: 23,055 bytes, lines 976-979
976if(o&&(u==="space"||g==="space")){n(hn(r2(Ps(nee),h),t));return}if(c&&(u==="word"||g==="word")){n(Li(yx("word",{negate:h}),t));return}if(u==="any")n(Li(ac("Any"),t));else if(u==="digit")n(Li(ac("Nd",{negate:h}),t));else if(u!=="dot")if(u==="text_segment"){if(r==="strict")throw new Error(at`Use of "\X" requires non-strict accuracy`);const p="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",b=at`\p{RI}{2}|${p}(?:\u200D${p})*`;n(hn(Ps(at`(?>\r\n|${a?at`\p{RGI_Emoji}`:b}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(u==="hex")n(Li(ac("AHex",{negate:h}),t));else if(u==="newline")n(hn(Ps(h?`[^ 977]`:`(?>\r 978?|[ 979\v\f \u2028\u2029])`),t));else if(u==="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 p={graph:"!-~",print:" -~"}[g];h&&(p=`\0-${An(p.codePointAt(0)-1)}${An(p.codePointAt(2)+1)}-ô¿¿`),n(hn(Ps(`[${p}]`),t))}else n(hn(r2(Ps(oee.get(g)),h),t));else if(u==="property")i4.has(Nm(g))||(e.key="sc");else if(u==="space")n(Li(ac("space",{negate:h}),t));else if(u==="word")n(hn(r2(Ps(Ls),h),t));else throw new Error(`Unexpected character set kind "${u}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:a,removeAllPrevSiblings:i,removeAllNextSiblings:o}){const{kind:c,flags:u}=e;if(c==="flags")if(!u.enable&&!u.disable)r();else{const h=Na({flags:u});h.body[0].body=o(),a(hn(h,t),{traverse:!0})}else if(c==="keep"){const h=n.body[0],p=n.body.length===1&&R_(h,{type:"Group"})&&h.body[0].body.length===1?h.body[0]:n;if(t.parent!==p||p.body.length>1)throw new Error(at`Uses "\K" in a way that's unsupported`);const b=Do({behind:!0});b.body[0].body=i(),a(hn(b,t))}else throw new Error(`Unexpected directive kind "${c}"`)},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(hn(Do({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=Na();t.body[0].body.push(e.body),e.body=hn(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=Y_(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(at`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!n2(n)&&(n=t2(n,t),e.ref=n)}},dee={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:c,reffedNodesByReferencer:u}){const h=a.get(e);if(h&&c.has(e.number)){const p=Li(aE(e.number),t);u.set(p,c.get(e.number)),n(p);return}c.set(e.number,e),o.set(e.number,[]),e.name&&N0(o,e.name,[]);const g=o.get(e.name??e.number);for(let p=0;p<g.length;p++){const b=g[p];if(h===b.node||h&&h===b.origin||e===b.origin){g.splice(p,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 p=N0(i,e.name,new Map);let b=!1;if(h)b=!0;else for(const y of p.values())if(!y.hasDuplicateNameToRemove){b=!0;break}i.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:b})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=Pf(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),c=i===0,u=c?aE(0):V_(o,r.groupOriginByCopy,null);let h=u;if(!c){const g=$_(pee(o,b=>b.type==="Group"&&!!b.flags)),p=g?Pf(r.globalFlags,g):r.globalFlags;fee(p,r.currentFlags)||(h=Na({flags:gee(p)}),h.body[0].body.push(u))}n(hn(h,t),{traverse:!c})}},hee={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=>mee(o,e));if(!i.length)n(hn(Do({negate:!0}),t));else if(i.length>1){const o=Na({atomic:!0,body:i.reverse().map(c=>Yo({body:[bx(c.number)]}))});n(hn(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=M_();e.body.at(-1).body.push(a)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function q_(e){s0(e,{"*"({node:t,parent:n}){t.parent=n}})}function fee(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function mee(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=G_(n.parent);for(const a of r){if(a===n)break;if(a===e||Q_(a,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function V_(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]=V_(o,t,a,n):(i==="type"&&o==="CapturingGroup"&&t.set(a,t.get(e)??e),a[i]=o);return a}function aE(e){const t=L_(e);return t.isRecursive=!0,t}function pee(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function t2(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 $_(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 gee({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 G_(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function Y_(e){const t=e.find(n=>n.kind==="search_start"||yee(n,{negate:!1})||!xee(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=Y_(r.body);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}function Q_(e,t){const n=G_(e)??[];for(const r of n)if(r===t||Q_(r,t))return!0;return!1}function xee({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function bee(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function yee(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&R_(e.body[0],{type:"Assertion",kind:"search_start"})}function n2(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Ps(e,t){const r=D_(e,{...t,unicodePropertyMap:i4}).body;return r.length>1||r[0].body.length>1?Na({body:r}):r[0].body[0]}function r2(e,t){return e.negate=t,e}function Li(e,t){return e.parent=t,e}function hn(e,t){return q_(e),e.parent=t,e}function vee(e,t){const n=F_(t),r=Ex(n.target,"ES2024"),a=Ex(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,c=null;if(!a){const y=[e.flags.ignoreCase];s0(e,Eee,{getCurrentModI:()=>y.at(-1),popModI(){y.pop()},pushModI(w){y.push(w)},setHasCasedChar(){y.at(-1)?o=!0:c=!0}})}const u={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||o)&&!c)};let h=e;const g={accuracy:n.accuracy,appliedGlobalFlags:u,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:h,originMap:e._originMap,recursionLimit:i,useAppliedIgnoreCase:!!(!a&&o&&c),useFlagMods:a,useFlagV:r,verbose:n.verbose};function p(y){return g.lastNode=h,h=y,eee(wee[y.type],`Unexpected node type "${y.type}"`)(y,g,p)}const b={pattern:e.body.map(p).join("|"),flags:p(e.flags),options:{...e.options}};return r||(delete b.options.force.v,b.options.disable.v=!0,b.options.unicodeSetsPlugin=null),b._captureTransfers=new Map,b._hiddenCaptures=[],g.captureMap.forEach((y,w)=>{y.hidden&&b._hiddenCaptures.push(w),y.transferTo&&N0(b._captureTransfers,y.transferTo,[]).push(w)}),b}var Eee={"*":{enter({node:e},t){if(iE(e)){const n=t.getCurrentModI();t.pushModI(e.flags?Pf({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){iE(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){o4(An(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),X_(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&U_.has(e.value)&&t.setHasCasedChar()}},wee={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?at`\B`:at`\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},c=t.originMap.get(e);return c&&(o.hidden=!0,i>c.number&&(o.transferTo=c.number)),t.captureMap.set(i,o),`(${a?`?<${a}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=An(e),r=tc(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&o4(n)){const a=H_(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");$s.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&o.some(oE)&&(o=[Am(45),...o.filter(h=>!oE(h))]);const c=()=>`[${a?"^":""}${o.map(n).join(r==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||$s.bugNestedClassIgnoresNegation)&&!a){const g=o.filter(p=>p.type==="CharacterClass"&&p.kind==="union"&&p.negate);if(g.length){const p=Na(),b=p.body[0];return p.parent=i,b.parent=p,o=o.filter(y=>!g.includes(y)),e.body=o,o.length?(e.parent=b,b.body.push(e)):p.body.pop(),g.forEach(y=>{const w=Yo({body:[y]});y.parent=w,w.parent=p,p.body.push(w)}),n(p)}}t.inCharClass=!0;const h=c();return t.inCharClass=!1,h}const u=o[0];if(r==="union"&&!a&&u&&((!t.useFlagV||!t.verbose)&&i.kind==="union"&&!($s.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&i.kind==="intersection"&&o.length===1&&u.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 c()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},i=tc(n,a),o=tc(r,a),c=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const u=X_(e);Aee(u).forEach(g=>{c.add(Array.isArray(g)?`${tc(g[0],a)}-${tc(g[1],a)}`:tc(g,a))})}return`${i}-${o}${[...c].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},a){if(e==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":at`[^\n]`;if(e==="digit")return t?at`\D`:at`\d`;if(e==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&U_.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?at`\P`:at`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?at`\W`:at`\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=Pf(o,n));const c=t.map(i).join("|"),u=!a.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!a.useFlagMods||!n)?c:`(?${Nee(e,n,a.useFlagMods)}${c})`;return a.currentFlags=o,u},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)+Cee(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})`:at`\g<${t}&R=${r}>`}},See=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),Tee=new Set(["-","\\","]","^","["]),kee=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),sE=new Map([[9,at`\t`],[10,at`\n`],[11,at`\v`],[12,at`\f`],[13,at`\r`],[8232,at`\u2028`],[8233,at`\u2029`],[65279,at`\uFEFF`]]),_ee=new RegExp("^\\p{Cased}$","u");function o4(e){return _ee.test(e)}function X_(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 c=An(o);if(!o4(c))continue;const u=H_(c).filter(h=>{const g=h.codePointAt(0);return g<r||g>a});if(u.length&&(i.push(...u),n))break}return i}function tc(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(sE.has(e))return sE.get(e);if(e<32||e>126&&e<160||e>262143||t&&Oee(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?kee:Tee:See,i=An(e);return(a.has(i)?"\\":"")+i}function Aee(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 Nee(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 Cee({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 iE({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function Oee(e){return e>47&&e<58}function oE({type:e,value:t}){return e==="Character"&&t===45}var Ree=class wx 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 wx&&(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=Mee(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 wx(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&&(Dee(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:c,transferTo:u}=this.#t.get(o)??{};if(c?i.push(null):(i.push(n.length),n.push(r[o]),this.hasIndices&&n.indices.push(a[o])),u&&r[o]!==void 0){const h=i[u];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=Iee(this.source));const g=this.#a.get(u);g&&(n.groups[g]=r[o],this.hasIndices&&(n.indices.groups[g]=a[o]))}}}return n}};function Dee(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 c=a[o];c&&(a[o]=[c[0]+t,c[1]+t])}const i=a.groups;i&&Object.keys(i).forEach(o=>{const c=i[o];c&&(i[o]=[c[0]+t,c[1]+t])})}}function Mee(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)N0(n,i,{}).transferTo=r;return n}function Iee(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:c,name:u}}=i;o==="["?r++:r?o==="]"&&r--:c&&(a++,u&&n.set(a,u))}return n}function Lee(e,t){const n=Pee(e,t);return n.options?new Ree(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function Pee(e,t){const n=F_(t),r=D_(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:i4}),a=cee(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=vee(a,n),o=ZJ(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),c=WJ(o.pattern),u=XJ(c.pattern,{captureTransfers:o.captureTransfers,hiddenCaptures:o.hiddenCaptures}),h={pattern:u.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=u.hiddenCaptures.sort((w,T)=>w-T),p=Array.from(u.captureTransfers),b=a._strategy,y=h.pattern.length>=n.lazyCompileLength;(g.length||p.length||b||y)&&(h.options={...g.length&&{hiddenCaptures:g},...p.length&&{transfers:p},...b&&{strategy:b},...y&&{lazyCompile:y}})}return h}const lE=4294967295;class jee{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 c=a?.get(o);if(c){if(c instanceof RegExp)return c;if(r)return null;throw c}try{const u=i(o);return a?.set(o,u),u}catch(u){if(a?.set(o,u),r)return null;throw u}})}regexps;findNextMatchSync(t,n,r){const a=typeof t=="string"?t:t.content,i=[];function o(c,u,h=0){return{index:c,captureIndices:u.indices.map(g=>g==null?{start:lE,end:lE,length:0}:{start:g[0]+h,end:g[1]+h,length:g[1]-g[0]})}}for(let c=0;c<this.regexps.length;c++){const u=this.regexps[c];if(u)try{u.lastIndex=n;const h=u.exec(a);if(!h)continue;if(h.index===n)return o(c,h,0);i.push([c,h,0])}catch(h){if(this.options.forgiving)continue;throw h}}if(i.length){const c=Math.min(...i.map(u=>u[1].index));for(const[u,h,g]of i)if(h.index===c)return o(u,h,g)}return null}}function Bee(e,t){return Lee(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function zee(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=n=>Bee(n,{target:t.target}),{createScanner(n){return new jee(n,t)},createString(n){return{content:n}}}}function l4(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ol=l4();function W_(e){ol=e}var i0={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(dr.caret,"$1"),n=n.replace(a,o),r},getRegex:()=>new RegExp(n,t)};return r}var dr={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")},Fee=/^(?:[ \t]*(?:\n|$))+/,Hee=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Uee=/^ {0,3}(`{3,}
vendor: 5,094 bytes, lines 979-980
979(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Z0=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,qee=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,c4=/(?:[*+-]|\d{1,9}[.)])/,K_=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Z_=At(K_).replace(/bull/g,c4).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(),Vee=At(K_).replace(/bull/g,c4).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(),u4=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,$ee=/^[^\n]+/,d4=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Gee=At(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",d4).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Yee=At(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,c4).getRegex(),Om="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",h4=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Qee=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",h4).replace("tag",Om).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),J_=At(u4).replace("hr",Z0).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",Om).getRegex(),Xee=At(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",J_).getRegex(),f4={blockquote:Xee,code:Hee,def:Gee,fences:Uee,heading:qee,hr:Z0,html:Qee,lheading:Z_,list:Yee,newline:Fee,paragraph:J_,table:i0,text:$ee},cE=At("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Z0).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",Om).getRegex(),Wee={...f4,lheading:Vee,table:cE,paragraph:At(u4).replace("hr",Z0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",cE).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",Om).getRegex()},Kee={...f4,html:At(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",h4).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:i0,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:At(u4).replace("hr",Z0).replace("heading",` *#{1,6} *[^ 980]`).replace("lheading",Z_).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Zee=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Jee=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,eA=/^( {2,}|\\)\n(?!\s*$)/,ete=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Rm=/[\p{P}\p{S}]/u,m4=/[\s\p{P}\p{S}]/u,tA=/[^\s\p{P}\p{S}]/u,tte=At(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,m4).getRegex(),nA=/(?!~)[\p{P}\p{S}]/u,nte=/(?!~)[\s\p{P}\p{S}]/u,rte=/(?:[^\s\p{P}\p{S}
vendor: 6,385 bytes, lines 980-986
980]|~)/u,ate=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(),rA=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,ste=At(rA,"u").replace(/punct/g,Rm).getRegex(),ite=At(rA,"u").replace(/punct/g,nA).getRegex(),aA="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ote=At(aA,"gu").replace(/notPunctSpace/g,tA).replace(/punctSpace/g,m4).replace(/punct/g,Rm).getRegex(),lte=At(aA,"gu").replace(/notPunctSpace/g,rte).replace(/punctSpace/g,nte).replace(/punct/g,nA).getRegex(),cte=At("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,tA).replace(/punctSpace/g,m4).replace(/punct/g,Rm).getRegex(),ute=At(/\\(punct)/,"gu").replace(/punct/g,Rm).getRegex(),dte=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(),hte=At(h4).replace("(?:-->|$)","-->").getRegex(),fte=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",hte).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),jf=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,mte=At(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",jf).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),sA=At(/^!?\[(label)\]\[(ref)\]/).replace("label",jf).replace("ref",d4).getRegex(),iA=At(/^!?\[(ref)\](?:\[\])?/).replace("ref",d4).getRegex(),pte=At("reflink|nolink(?!\\()","g").replace("reflink",sA).replace("nolink",iA).getRegex(),uE=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,p4={_backpedal:i0,anyPunctuation:ute,autolink:dte,blockSkip:ate,br:eA,code:Jee,del:i0,emStrongLDelim:ste,emStrongRDelimAst:ote,emStrongRDelimUnd:cte,escape:Zee,link:mte,nolink:iA,punctuation:tte,reflink:sA,reflinkSearch:pte,tag:fte,text:ete,url:i0},gte={...p4,link:At(/^!?\[(label)\]\((.*?)\)/).replace("label",jf).getRegex(),reflink:At(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",jf).getRegex()},Sx={...p4,emStrongRDelimAst:lte,emStrongLDelim:ite,url:At(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",uE).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",uE).getRegex()},xte={...Sx,br:At(eA).replace("{2,}","*").getRegex(),text:At(Sx.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},qh={normal:f4,gfm:Wee,pedantic:Kee},zu={normal:p4,gfm:Sx,breaks:xte,pedantic:gte},bte={"&":"&","<":"<",">":">",'"':""","'":"'"},dE=e=>bte[e];function Ga(e,t){if(t){if(dr.escapeTest.test(e))return e.replace(dr.escapeReplace,dE)}else if(dr.escapeTestNoEncode.test(e))return e.replace(dr.escapeReplaceNoEncode,dE);return e}function hE(e){try{e=encodeURI(e).replace(dr.percentDecode,"%")}catch{return null}return e}function fE(e,t){let n=e.replace(dr.findPipe,(i,o,c)=>{let u=!1,h=o;for(;--h>=0&&c[h]==="\\";)u=!u;return u?"|":" |"}),r=n.split(dr.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(dr.slashPipe,"|");return r}function Fu(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 yte(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 mE(e,t,n,r,a){let i=t.href,o=t.title||null,c=e[1].replace(a.other.outputLinkReplace,"$1");r.state.inLink=!0;let u={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:i,title:o,text:c,tokens:r.inlineTokens(c)};return r.state.inLink=!1,u}function vte(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let a=r[1];return t.split(` 981`).map(i=>{let o=i.match(n.other.beginningSpace);if(o===null)return i;let[c]=o;return c.length>=a.length?i.slice(a.length):i}).join(` 982`)}var Bf=class{options;rules;lexer;constructor(e){this.options=e||ol}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:Fu(n,` 983`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],r=vte(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=Fu(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:Fu(t[0],` 984`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=Fu(t[0],` 985`).split(` 986`),r="",a="",i=[];for(;n.length>0;){let o=!1,c=[],u;
vendor: 5,774 bytes, lines 986-1004
986for(u=0;u<n.length;u++)if(this.rules.other.blockquoteStart.test(n[u]))c.push(n[u]),o=!0;else if(!o)c.push(n[u]);else break;n=n.slice(u);let h=c.join(` 987`),g=h.replace(this.rules.other.blockquoteSetextReplace,` 988 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r} 989${h}`:h,a=a?`${a} 990${g}`:g;let p=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(g,i,!0),this.lexer.state.top=p,n.length===0)break;let b=i.at(-1);if(b?.type==="code")break;if(b?.type==="blockquote"){let y=b,w=y.raw+` 991`+n.join(` 992`),T=this.blockquote(w);i[i.length-1]=T,r=r.substring(0,r.length-y.raw.length)+T.raw,a=a.substring(0,a.length-y.text.length)+T.text;break}else if(b?.type==="list"){let y=b,w=y.raw+` 993`+n.join(` 994`),T=this.list(w);i[i.length-1]=T,r=r.substring(0,r.length-b.raw.length)+T.raw,a=a.substring(0,a.length-y.raw.length)+T.raw,n=w.substring(i.at(-1).raw.length).split(` 995`);continue}}return{type:"blockquote",raw:r,tokens:i,text:a}}}list(e){let t=this.rules.block.list.exec(e);if(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 u=!1,h="",g="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;h=t[0],e=e.substring(h.length);let p=t[2].split(` 996`,1)[0].replace(this.rules.other.listReplaceTabs,N=>" ".repeat(3*N.length)),b=e.split(` 997`,1)[0],y=!p.trim(),w=0;if(this.options.pedantic?(w=2,g=p.trimStart()):y?w=t[1].length+1:(w=t[2].search(this.rules.other.nonSpaceChar),w=w>4?1:w,g=p.slice(w),w+=t[1].length),y&&this.rules.other.blankLine.test(b)&&(h+=b+` 998`,e=e.substring(b.length+1),u=!0),!u){let N=this.rules.other.nextBulletRegex(w),R=this.rules.other.hrRegex(w),z=this.rules.other.fencesBeginRegex(w),W=this.rules.other.headingBeginRegex(w),q=this.rules.other.htmlBeginRegex(w);for(;e;){let C=e.split(` 999`,1)[0],M;if(b=C,this.options.pedantic?(b=b.replace(this.rules.other.listReplaceNesting," "),M=b):M=b.replace(this.rules.other.tabCharGlobal," "),z.test(b)||W.test(b)||q.test(b)||N.test(b)||R.test(b))break;if(M.search(this.rules.other.nonSpaceChar)>=w||!b.trim())g+=` 1000`+M.slice(w);else{if(y||p.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||z.test(p)||W.test(p)||R.test(p))break;g+=` 1001`+b}!y&&!b.trim()&&(y=!0),h+=C+` 1002`,e=e.substring(C.length+1),p=M.slice(w)}}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(h)&&(o=!0));let T=null,A;this.options.gfm&&(T=this.rules.other.listIsTask.exec(g),T&&(A=T[0]!=="[ ] ",g=g.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:h,task:!!T,checked:A,loose:!1,text:g,tokens:[]}),a.raw+=h}let c=a.items.at(-1);if(c)c.raw=c.raw.trimEnd(),c.text=c.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let u=0;u<a.items.length;u++)if(this.lexer.state.top=!1,a.items[u].tokens=this.lexer.blockTokens(a.items[u].text,[]),!a.loose){let h=a.items[u].tokens.filter(p=>p.type==="space"),g=h.length>0&&h.some(p=>this.rules.other.anyLine.test(p.raw));a.loose=g}if(a.loose)for(let u=0;u<a.items.length;u++)a.items[u].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=fE(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(` 1003`):[],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(fE(o,i.header.length).map((c,u)=>({text:c,tokens:this.lexer.inline(c),header:!1,align:i.align[u]})));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)===` 1004`?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 1004-1005
1004(!this.rules.other.endAngleBracket.test(n))return;let i=Fu(n.slice(0,-1),"\\");if((n.length-i.length)%2===0)return}else{let i=yte(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)),mE(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 mE(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,c=a,u=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]){c+=o;continue}else if((r[5]||r[6])&&a%3&&!((a+o)%3)){u+=o;continue}if(c-=o,c>0)continue;o=Math.min(o,o+c+u);let g=[...r[0]][0].length,p=e.slice(0,a+r.index+g+o);if(Math.min(a,o)%2){let y=p.slice(1,-1);return{type:"em",raw:p,text:y,tokens:this.lexer.inlineTokens(y)}}let b=p.slice(2,-2);return{type:"strong",raw:p,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),a=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&a&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,r;return t[2]==="@"?(n=t[1],r="mailto:"+n):(n=t[1],r=n),{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,r;if(t[2]==="@")n=t[0],r="mailto:"+n;else{let a;do a=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(a!==t[0]);n=t[0],t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},fa=class Tx{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||ol,this.options.tokenizer=this.options.tokenizer||new Bf,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:dr,block:qh.normal,inline:zu.normal};this.options.pedantic?(n.block=qh.pedantic,n.inline=zu.pedantic):this.options.gfm&&(n.block=qh.gfm,this.options.breaks?n.inline=zu.breaks:n.inline=zu.gfm),this.tokenizer.rules=n}static get rules(){return{block:qh,inline:zu}}static lex(t,n){return new Tx(n).lex(t)}static lexInline(t,n){return new Tx(n).inlineTokens(t)}lex(t){t=t.replace(dr.carriageReturn,` 1005`),this.blockTokens(t,this.tokens);for(let n=0;
vendor: 11,918 bytes, lines 1005-1037
1005n<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(dr.tabCharGlobal," ").replace(dr.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+=` 1006`: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(` 1007`)?"":` 1008`)+a.raw,o.text+=` 1009`+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(` 1010`)?"":` 1011`)+a.raw,o.text+=` 1012`+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,c=t.slice(1),u;this.options.extensions.startBlock.forEach(h=>{u=h.call({lexer:this},c),typeof u=="number"&&u>=0&&(o=Math.min(o,u))}),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(` 1013`)?"":` 1014`)+a.raw,o.text+=` 1015`+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(` 1016`)?"":` 1017`)+a.raw,o.text+=` 1018`+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 c=Object.keys(this.tokens.links);if(c.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)c.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 c;if(this.options.extensions?.inline?.some(h=>(c=h.call({lexer:this},t,n))?(t=t.substring(c.raw.length),n.push(c),!0):!1))continue;if(c=this.tokenizer.escape(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.tag(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.link(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(c.raw.length);let h=n.at(-1);c.type==="text"&&h?.type==="text"?(h.raw+=c.raw,h.text+=c.text):n.push(c);continue}if(c=this.tokenizer.emStrong(t,r,o)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.codespan(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.br(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.del(t)){t=t.substring(c.raw.length),n.push(c);continue}if(c=this.tokenizer.autolink(t)){t=t.substring(c.raw.length),n.push(c);continue}if(!this.state.inLink&&(c=this.tokenizer.url(t))){t=t.substring(c.raw.length),n.push(c);continue}let u=t;if(this.options.extensions?.startInline){let h=1/0,g=t.slice(1),p;this.options.extensions.startInline.forEach(b=>{p=b.call({lexer:this},g),typeof p=="number"&&p>=0&&(h=Math.min(h,p))}),h<1/0&&h>=0&&(u=t.substring(0,h+1))}if(c=this.tokenizer.inlineText(u)){t=t.substring(c.raw.length),c.raw.slice(-1)!=="_"&&(o=c.raw.slice(-1)),i=!0;let h=n.at(-1);h?.type==="text"?(h.raw+=c.raw,h.text+=c.text):n.push(c);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}},zf=class{options;parser;constructor(t){this.options=t||ol}space(t){return""}code({text:t,lang:n,escaped:r}){let a=(n||"").match(dr.notSpaceStart)?.[0],i=t.replace(dr.endingNewline,"")+` 1019`;return a?'<pre><code class="language-'+Ga(a)+'">'+(r?i:Ga(i,!0))+`</code></pre> 1020`:"<pre><code>"+(r?i:Ga(i,!0))+`</code></pre> 1021`}blockquote({tokens:t}){return`<blockquote> 1022${this.parser.parse(t)}</blockquote> 1023`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:n}){return`<h${n}>${this.parser.parseInline(t)}</h${n}> 1024`}hr(t){return`<hr> 1025`}list(t){let n=t.ordered,r=t.start,a="";for(let c=0;c<t.items.length;c++){let u=t.items[c];a+=this.listitem(u)}let i=n?"ol":"ul",o=n&&r!==1?' start="'+r+'"':"";return"<"+i+o+`> 1026`+a+"</"+i+`> 1027`}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+" "+Ga(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> 1028`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p> 1029`}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 c=0;c<o.length;c++)r+=this.tablecell(o[c]);a+=this.tablerow({text:r})}return a&&(a=`<tbody>${a}</tbody>`),`<table> 1030<thead> 1031`+n+`</thead> 1032`+a+`</table> 1033`}tablerow({text:t}){return`<tr> 1034${t}</tr> 1035`}tablecell(t){let n=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+`</${r}> 1036`}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>${Ga(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=hE(t);if(i===null)return a;t=i;let o='<a href="'+t+'"';return n&&(o+=' title="'+Ga(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=hE(t);if(i===null)return Ga(r);t=i;let o=`<img src="${t}" alt="${r}"`;return n&&(o+=` title="${Ga(n)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:Ga(t.text)}},g4=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""}},Aa=class kx{options;renderer;textRenderer;constructor(t){this.options=t||ol,this.options.renderer=this.options.renderer||new zf,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new g4}static parse(t,n){return new kx(n).parse(t)}static parseInline(t,n){return new kx(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 c=i,u=this.options.extensions.renderers[c.type].call({parser:this},c);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(c.type)){r+=u||"";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 c=o,u=this.renderer.text(c);for(;a+1<t.length&&t[a+1].type==="text";)c=t[++a],u+=` 1037`+this.renderer.text(c);n?r+=this.renderer.paragraph({type:"paragraph",raw:u,text:u,tokens:[{type:"text",raw:u,text:u,escaped:!0}]}):r+=u;continue}default:{let c='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}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 c=this.options.extensions.renderers[i.type].call({parser:this},i);if(c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=c||"";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 c='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return r}},$u=class{options;block;constructor(e){this.options=e||ol}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?fa.lex:fa.lexInline}provideParser(){return this.block?Aa.parse:Aa.parseInline}},Ete=class{defaults=l4();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Aa;Renderer=zf;TextRenderer=g4;Lexer=fa;Tokenizer=Bf;Hooks=$u;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 c=a.renderer.apply(this,o);return c===!1&&(c=i.apply(this,o)),c}:t.renderers[a.name]=a.renderer}
vendor: 4,194 bytes, lines 1037-1038
1037if("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 zf(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,c=n.renderer[o],u=a[o];a[o]=(...h)=>{let g=c.apply(a,h);return g===!1&&(g=u.apply(a,h)),g||""}}r.renderer=a}if(n.tokenizer){let a=this.defaults.tokenizer||new Bf(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,c=n.tokenizer[o],u=a[o];a[o]=(...h)=>{let g=c.apply(a,h);return g===!1&&(g=u.apply(a,h)),g}}r.tokenizer=a}if(n.hooks){let a=this.defaults.hooks||new $u;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,c=n.hooks[o],u=a[o];$u.passThroughHooks.has(i)?a[o]=h=>{if(this.defaults.async&&$u.passThroughHooksRespectAsync.has(i))return(async()=>{let p=await c.call(a,h);return u.call(a,p)})();let g=c.call(a,h);return u.call(a,g)}:a[o]=(...h)=>{if(this.defaults.async)return(async()=>{let p=await c.apply(a,h);return p===!1&&(p=await u.apply(a,h)),p})();let g=c.apply(a,h);return g===!1&&(g=u.apply(a,h)),g}}r.hooks=a}if(n.walkTokens){let a=this.defaults.walkTokens,i=n.walkTokens;r.walkTokens=function(o){let c=[];return c.push(i.call(this,o)),a&&(c=c.concat(a.call(this,o))),c}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return fa.lex(e,t??this.defaults)}parser(e,t){return Aa.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,c=await(a.hooks?await a.hooks.provideLexer():e?fa.lex:fa.lexInline)(o,a),u=a.hooks?await a.hooks.processAllTokens(c):c;a.walkTokens&&await Promise.all(this.walkTokens(u,a.walkTokens));let h=await(a.hooks?await a.hooks.provideParser():e?Aa.parse:Aa.parseInline)(u,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?fa.lex:fa.lexInline)(t,a);a.hooks&&(o=a.hooks.processAllTokens(o)),a.walkTokens&&this.walkTokens(o,a.walkTokens);let c=(a.hooks?a.hooks.provideParser():e?Aa.parse:Aa.parseInline)(o,a);return a.hooks&&(c=a.hooks.postprocess(c)),c}catch(o){return i(o)}}}onError(e,t){return n=>{if(n.message+=` 1038Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error occurred:</p><pre>"+Ga(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},Qo=new Ete;function Pt(e,t){return Qo.parse(e,t)}Pt.options=Pt.setOptions=function(e){return Qo.setOptions(e),Pt.defaults=Qo.defaults,W_(Pt.defaults),Pt};Pt.getDefaults=l4;Pt.defaults=ol;Pt.use=function(...e){return Qo.use(...e),Pt.defaults=Qo.defaults,W_(Pt.defaults),Pt};Pt.walkTokens=function(e,t){return Qo.walkTokens(e,t)};Pt.parseInline=Qo.parseInline;Pt.Parser=Aa;Pt.parser=Aa.parse;Pt.Renderer=zf;Pt.TextRenderer=g4;Pt.Lexer=fa;Pt.lexer=fa.lex;Pt.Tokenizer=Bf;Pt.Hooks=$u;Pt.parse=Pt;Pt.options;Pt.setOptions;Pt.use;Pt.walkTokens;Pt.parseInline;Aa.parse;fa.lex;var vt=(...e)=>
1038bS(Vx(e)),x4=(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)},wte=/<pre(\s|>)/,b4=O.createContext({code:""}),Ste=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(T_,e)}getFallbackLanguage(){return"text"}async ensureHighlightersInitialized(e,t){var n,r;let[a,i]=e,o=zee({forgiving:!0}),c=!this.lightHighlighter||this.lightTheme!==a,u=!this.darkHighlighter||this.darkTheme!==i;(c||u)&&this.loadedLanguages.clear();let h=this.isLanguageSupported(t),g=!this.loadedLanguages.has(t)&&h;if(c?(this.lightHighlighter=await U7({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)),u){let p=g?[...this.loadedLanguages].concat(h?[t]:[]):Array.from(this.loadedLanguages);this.darkHighlighter=await U7({themes:[i],langs:p.length>0?p: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,c]=n,u=this.isLanguageSupported(t)?t:this.getFallbackLanguage(),h=(a=this.lightHighlighter)==null?void 0:a.codeToHtml(e,{lang:u,theme:o}),g=(i=this.darkHighlighter)==null?void 0:i.codeToHtml(e,{lang:u,theme:c}),p=b=>r?b.replace(wte,`<pre class="${r}"$1`):b;return[p(h),p(g)]}},Tte=new Ste,kte=({code:e,language:t,className:n,children:r,preClassName:a,...i})=>{let[o,c]=O.useState(""),[u,h]=O.useState(""),g=O.useRef(!1),[p,b]=O.useContext(LA);return O.useEffect(()=>(g.current=!0,Tte.highlightCode(e,t,[p,b],a).then(([y,w])=>{g.current&&(c(y),h(w))}),()=>{g.current=!1}),[e,t,p,b,a]),f.jsx(b4.Provider,{value:{code:e},children:f.jsxs("div",{className:"my-4 w-full overflow-hidden rounded-xl border","data-code-block-container":!0,"data-language":t,children:[f.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:[f.jsx("span",{className:"ml-1 font-mono lowercase",children:t}),f.jsx("div",{className:"flex items-center gap-2",children:r})]}),f.jsx("div",{className:"w-full",children:f.jsxs("div",{className:"min-w-full",children:[f.jsx("div",{className:vt("overflow-x-auto dark:hidden",n),dangerouslySetInnerHTML:{__html:o},"data-code-block":!0,"data-language":t,...i}),f.jsx("div",{className:vt("hidden overflow-x-auto dark:block",n),dangerouslySetInnerHTML:{__html:u},"data-code-block":!0,"data-language":t,...i})]})})]})})},pE={"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"},gE=({onDownload:e,onError:t,language:n,children:r,className:a,code:i,...o})=>{let{code:c}=O.useContext(b4),{isAnimating:u}=O.useContext(J0),h=i??c,g=`file.${n&&n in pE?pE[n]:"txt"}
1038`,p="text/plain",b=()=>{try{x4(g,h,p),e?.()}catch(y){t?.(y)}};return f.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:u,onClick:b,title:"Download file",type:"button",...o,children:r??f.jsx(Qb,{size:14})})},xE=({onCopy:e,onError:t,timeout:n=2e3,children:r,className:a,code:i,...o})=>{let[c,u]=O.useState(!1),h=O.useRef(0),{code:g}=O.useContext(b4),{isAnimating:p}=O.useContext(J0),b=i??g,y=async()=>{var T;if(typeof window>"u"||!((T=navigator?.clipboard)!=null&&T.writeText)){t?.(new Error("Clipboard API not available"));return}try{c||(await navigator.clipboard.writeText(b),u(!0),e?.(),h.current=window.setTimeout(()=>u(!1),n))}catch(A){t?.(A)}};O.useEffect(()=>()=>{window.clearTimeout(h.current)},[]);let w=c?Gk:Yk;return f.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:p,onClick:y,type:"button",...o,children:r??f.jsx(w,{size:14})})},_te=({node:e,className:t,src:n,alt:r,...a})=>{let i=async()=>{var o;if(n)try{let c=await(await fetch(n)).blob(),u=new URL(n,window.location.origin).pathname.split("/").pop()||"",h=u.includes(".")&&((o=u.split(".").pop())==null?void 0:o.length)<=4,g="";if(h)g=u;else{let p=c.type,b="png";p.includes("jpeg")||p.includes("jpg")?b="jpg":p.includes("png")?b="png":p.includes("svg")?b="svg":p.includes("gif")?b="gif":p.includes("webp")&&(b="webp"),g=`${(r||u||"image").replace(/\.[^/.]+$/,"")}.${b}`}x4(g,c,c.type)}catch(c){console.error("Failed to download image:",c)}};return n?f.jsxs("div",{className:"group relative my-4 inline-block","data-streamdown":"image-wrapper",children:[f.jsx("img",{alt:r,className:vt("max-w-full rounded-lg",t),"data-streamdown":"image",src:n,...a}),f.jsx("div",{className:"pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"}),f.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:f.jsx(Qb,{size:14})})]}):null},Ate=async e=>{let t={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0,...e},n=(await H(async()=>{const{default:r}=await import("./mermaid.core-CTQHc_UY.js").then(a=>a.bC);return{default:r}},[])).default;return n.initialize(t),n},Nte=({chart:e,className:t,config:n})=>{let[r,a]=O.useState(null),[i,o]=O.useState(!0),[c,u]=O.useState(""),[h,g]=O.useState("");if(O.useEffect(()=>{(async()=>{try{a(null),o(!0);let b=await Ate(n),y=e.split("").reduce((A,N)=>(A<<5)-A+N.charCodeAt(0)|0,0),w=`mermaid-${Math.abs(y)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:T}=await b.render(w,e);u(T),g(T)}catch(b){if(!(h||c)){let y=b instanceof Error?b.message:"Failed to render Mermaid chart";a(y)}}finally{o(!1)}})()},[e,n]),i&&!c&&!h)return f.jsx("div",{className:vt("my-4 flex justify-center p-4",t),children:f.jsxs("div",{className:"flex items-center space-x-2 text-muted-foreground",children:[f.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-current border-b-2"}),f.jsx("span",{className:"text-sm",children:"Loading diagram..."})]})});if(r&&!c&&!h)return f.jsxs("div",{className:vt("rounded-lg border border-red-200 bg-red-50 p-4",t),children:[f.jsxs("p",{className:"font-mono text-red-700 text-sm",children:["Mermaid Error: ",r]}),f.jsxs("details",{className:"mt-2",children:[f.jsx("summary",{className:"cursor-pointer text-red-600 text-xs",children:"Show Code"}),f.jsx("pre",{className:"mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs",children:e})]})]});let p=c||h;return f.jsx("div",{"aria-label":"Mermaid chart",className:vt("my-4 flex justify-center",t),dangerouslySetInnerHTML:{__html:p},role:"img"})};function oA(e){var t,n;let r=[],a=[],i=e.querySelectorAll("thead th");for(let c of i)r.push(((t=c.textContent)==null?void 0:t.trim())||"");let o=e.querySelectorAll("tbody tr");for(let c of o){let u=[],h=c.querySelectorAll("td");for(let g of h)u.push(((n=g.textContent)==null?void 0:n.trim())||"");a.push(u)}return{headers:r,rows:a}}function lA(e){let{headers:t,rows:n}=e,r=i=>i.includes(",")||i.includes('"')||i.includes(` 1039`)?`"${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(` 1040`)}function cA(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 c=o.map(u=>u.replace(/\|/g,"\\|"));r.push(`| ${c.join(" | ")} |`)}return r.join(` 1041`)}var Cte=({children:e,className:t,onCopy:n,onError:r,timeout:a=2e3,format:i="markdown"})=>{let[o,c]=O.useState(!1),u=O.useRef(0),{isAnimating:h}=O.useContext(J0),g=async b=>{var y;if(typeof window>"u"||!((y=navigator?.clipboard)!=null&&y.write)){r?.(new Error("Clipboard API not available"));return}try{if(!o){let w=b.currentTarget.closest('[data-streamdown="table-wrapper"]'),T=w?.querySelector("table");if(!T){r?.(new Error("Table not found"));return}let A=oA(T),N=new ClipboardItem({"text/plain":i==="markdown"?cA(A):lA(A),"text/html":new Blob([T.outerHTML],{type:"text/html"})});await navigator.clipboard.write([N]),c(!0),n?.(),u.current=window.setTimeout(()=>c(!1),a)}}catch(w){r?.(w)}};O.useEffect(()=>()=>{window.clearTimeout(u.current)},[]);let p=o?Gk:Yk;return f.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??f.jsx(p,{size:14})})},Ote=({children:e,className:t,onDownload:n,onError:r})=>{let[a,i]=O.useState(!1),o=O.useRef(null),{isAnimating:c}=O.useContext(J0),u=h=>{var g;try{let p=(g=o.current)==null?void 0:g.closest('[data-streamdown="table-wrapper"]'),b=p?.querySelector("table");if(!b){r?.(new Error("Table not found"));return}let y=oA(b),w=h==="csv"?lA(y):cA(y);x4(`table.${h==="csv"?"csv":"md"}`,w,h==="csv"?"text/csv":"text/markdown"),i(!1),n?.(h)}catch(p){r?.(p)}};return O.useEffect(()=>{let h=g=>{o.current&&!o.current.contains(g.target)&&i(!1)};return document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}},[]),f.jsxs("div",{className:"relative",ref:o,children:[f.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:c,onClick:()=>i(!a),title:"Download table",type:"button",children:e??f.jsx(Qb,{size:14})}),a&&f.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:[f.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>u("csv"),type:"button",children:"CSV"}),f.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>u("markdown"),type:"button",children:"Markdown"})]})]})},Rte=/language-([^\s]+)/;function Dm(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;
1041if(!(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 sn(e,t){return e.className===t.className&&Dm(e.node,t.node)}var _x=(e,t)=>typeof e=="boolean"?e:e[t]!==!1,y4=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("ol",{className:vt("ml-4 list-outside list-decimal whitespace-normal",t),"data-streamdown":"ordered-list",...r,children:e}),(e,t)=>sn(e,t));y4.displayName="MarkdownOl";var uA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("li",{className:vt("py-1",t),"data-streamdown":"list-item",...r,children:e}),(e,t)=>e.className===t.className&&Dm(e.node,t.node));uA.displayName="MarkdownLi";var dA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("ul",{className:vt("ml-4 list-outside list-disc whitespace-normal",t),"data-streamdown":"unordered-list",...r,children:e}),(e,t)=>sn(e,t));dA.displayName="MarkdownUl";var hA=O.memo(({className:e,node:t,...n})=>f.jsx("hr",{className:vt("my-6 border-border",e),"data-streamdown":"horizontal-rule",...n}),(e,t)=>sn(e,t));hA.displayName="MarkdownHr";var fA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("span",{className:vt("font-semibold",t),"data-streamdown":"strong",...r,children:e}),(e,t)=>sn(e,t));fA.displayName="MarkdownStrong";var mA=O.memo(({children:e,className:t,href:n,node:r,...a})=>{let i=n==="streamdown:incomplete-link";return f.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)=>sn(e,t)&&e.href===t.href);mA.displayName="MarkdownA";var pA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("h1",{className:vt("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...r,children:e}),(e,t)=>sn(e,t));pA.displayName="MarkdownH1";var gA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("h2",{className:vt("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...r,children:e}),(e,t)=>sn(e,t));gA.displayName="MarkdownH2";var xA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("h3",{className:vt("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...r,children:e}),(e,t)=>sn(e,t));xA.displayName="MarkdownH3";var bA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("h4",{className:vt("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...r,children:e}),(e,t)=>sn(e,t));bA.displayName="MarkdownH4";var yA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("h5",{className:vt("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...r,children:e}),(e,t)=>sn(e,t));yA.displayName="MarkdownH5";var vA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("h6",{className:vt("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...r,children:e}),(e,t)=>sn(e,t));vA.displayName="MarkdownH6";var EA=O.memo(({children:e,className:t,node:n,...r})=>{let a=O.useContext(v4),i=_x(a,"table");return f.jsxs("div",{className:"my-4 flex flex-col space-y-2","data-streamdown":"table-wrapper",children:[i&&f.jsxs("div",{className:"flex items-center justify-end gap-1",children:[f.jsx(Cte,{}),f.jsx(Ote,{})]}),f.jsx("div",{className:"overflow-x-auto",children:f.jsx("table",{className:vt("w-full border-collapse border border-border",t),"data-streamdown":"table",...r,children:e})})]})},(e,t)=>sn(e,t));EA.displayName="MarkdownTable";var wA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("thead",{className:vt("bg-muted/80",t),"data-streamdown":"table-header",...r,children:e}),(e,t)=>sn(e,t));wA.displayName="MarkdownThead";var SA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("tbody",{className:vt("divide-y divide-border bg-muted/40",t),"data-streamdown":"table-body",...r,children:e}),(e,t)=>sn(e,t));SA.displayName="MarkdownTbody";var TA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("tr",{className:vt("border-border border-b",t),"data-streamdown":"table-row",...r,children:e}),(e,t)=>sn(e,t));TA.displayName="MarkdownTr";var kA=O.memo(({children:e,className:t,node:n,...r})=>f.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)=>sn(e,t));kA.displayName="MarkdownTh";var _A=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("td",{className:vt("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...r,children:e}),(e,t)=>sn(e,t));_A.displayName="MarkdownTd";var AA=O.memo(({children:e,className:t,node:n,...r})=>
1041f.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)=>sn(e,t));AA.displayName="MarkdownBlockquote";var NA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("sup",{className:vt("text-sm",t),"data-streamdown":"superscript",...r,children:e}),(e,t)=>sn(e,t));NA.displayName="MarkdownSup";var CA=O.memo(({children:e,className:t,node:n,...r})=>f.jsx("sub",{className:vt("text-sm",t),"data-streamdown":"subscript",...r,children:e}),(e,t)=>sn(e,t));CA.displayName="MarkdownSub";var OA=O.memo(({children:e,className:t,node:n,...r})=>{if("data-footnotes"in r){let a=o=>{var c,u;if(!O.isValidElement(o))return!1;let h=Array.isArray(o.props.children)?o.props.children:[o.props.children],g=!1,p=!1;for(let b of h)if(b){if(typeof b=="string")b.trim()!==""&&(g=!0);else if(O.isValidElement(b))if(((c=b.props)==null?void 0:c["data-footnote-backref"])!==void 0)p=!0;else{let y=Array.isArray(b.props.children)?b.props.children:[b.props.children];for(let w of y){if(typeof w=="string"&&w.trim()!==""){g=!0;break}if(O.isValidElement(w)&&((u=w.props)==null?void 0:u["data-footnote-backref"])===void 0){g=!0;break}}}}return p&&!g},i=Array.isArray(e)?e.map(o=>{if(!O.isValidElement(o))return o;if(o.type===y4){let c=(Array.isArray(o.props.children)?o.props.children:[o.props.children]).filter(u=>!a(u));return c.length===0?null:{...o,props:{...o.props,children:c}}}return o}):e;return(Array.isArray(i)?i.some(o=>o!==null):i!==null)?f.jsx("section",{className:t,...r,children:i}):null}return f.jsx("section",{className:t,...r,children:e})},(e,t)=>sn(e,t));OA.displayName="MarkdownSection";var Dte=({node:e,className:t,children:n,...r})=>{var a,i,o;let c=((a=e?.position)==null?void 0:a.start.line)===((i=e?.position)==null?void 0:i.end.line),u=O.useContext(PA),h=O.useContext(v4);if(c)return f.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(Rte),p=(o=g?.at(1))!=null?o:"",b="";if(O.isValidElement(n)&&n.props&&typeof n.props=="object"&&"children"in n.props&&typeof n.props.children=="string"?b=n.props.children:typeof n=="string"&&(b=n),p==="mermaid"){let w=_x(h,"mermaid");return f.jsxs("div",{className:vt("group relative my-4 h-auto rounded-xl border p-4",t),"data-streamdown":"mermaid-block",children:[w&&f.jsxs("div",{className:"flex items-center justify-end gap-2",children:[f.jsx(gE,{code:b,language:p}),f.jsx(xE,{code:b})]}),f.jsx(Nte,{chart:b,config:u})]})}let y=_x(h,"code");return f.jsx(kte,{className:vt("overflow-x-auto border-t",t),code:b,"data-language":p,"data-streamdown":"code-block",language:p,preClassName:"overflow-x-auto font-mono text-xs p-4 bg-muted/40",children:y&&f.jsxs(f.Fragment,{children:[f.jsx(gE,{code:b,language:p}),f.jsx(xE,{})]})})},RA=O.memo(Dte,(e,t)=>e.className===t.className&&Dm(e.node,t.node));RA.displayName="MarkdownCode";var DA=O.memo(_te,(e,t)=>e.className===t.className&&Dm(e.node,t.node));DA.displayName="MarkdownImg";var MA=O.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&&O.isValidElement(i[0])&&((a=i[0].props.node)==null?void 0:a.tagName)==="img"?f.jsx(f.Fragment,{children:e}):f.jsx("p",{className:t,...r,children:e})},(e,t)=>sn(e,t));MA.displayName="MarkdownParagraph";var Mte={ol:y4,li:uA,ul:dA,hr:hA,strong:fA,a:mA,h1:pA,h2:gA,h3:xA,h4:bA,h5:yA,h6:vA,table:EA,thead:wA,tbody:SA,tr:TA,th:kA,td:_A,blockquote:AA,code:RA,img:DA,pre:({children:e})=>e,sup:NA,sub:CA,p:MA,section:OA},Ite=e=>{let t=/\[\^[^\]\s]{1,200}\](?!:)/.test(e),n=/\[\^[^\]\s]{1,200}\]:/.test(e);if(t||n)return[e];let r=fa.lex(e,{gfm:!0}),a=[],i=[];for(let o=0;o<r.length;o++){let c=r[o],u=c.raw;if(i.length>0){if(a[a.length-1]+=u,c.type==="html"){let h=u.match(/<\/(\w+)>/);if(h){let g=h[1];i[i.length-1]===g&&i.pop()}}continue}if(c.type==="html"&&c.block){let h=u.match(/<(\w+)[\s>]/);if(h){let g=h[1];u.includes(`</${g}>`)||i.push(g)}}if(u.trim()==="$$"&&a.length>0){let h=a.at(-1);if(!h){a.push(u);continue}let g=h.trimStart().startsWith("$$"),p=(h.match(/\$\$/g)||[]).length;if(g&&p%2===1){a[a.length-1]=h+u;continue}}if(a.length>0&&u.trimEnd().endsWith("$$")){let h=a.at(-1);if(!h){a.push(u);continue}let g=h.trimStart().startsWith("$$"),p=(h.match(/\$\$/g)||[]).length,b=(u.match(/\$\$/g)||[]).length;if(g&&p%2===1&&!u.trimStart().startsWith("$$")&&b===1){a[a.length-1]=h+u;continue}}a.push(u)}return a},Lte=/(!?\[)([^\]]*?)$/,Pte=/(\*\*)([^*]*?)$/,jte=/(__)([^_]*?)$/,Bte=/(\*\*\*)([^*]*?)$/,zte=/(\*)([^*]*?)$/,Fte=/(_)([^_]*?)$/,Hte=/(`)([^`]*?)$/,Ute=/(~~)([^~]*?)$/,Mm=e=>{let t=(e.match(/```/g)||[]).length;return t>0&&t%2===0&&e.includes(` 1042`)},qte=e=>{let t=/(!?)\[([^\]]+)\]\(([^)]+)$/,n=e.match(t);if(n){let a=n[1]==="!",i=n[2],o=n[3],c=e.lastIndexOf(`${a?"!":""}[${i}](${o}`),u=e.substring(0,c);return a?u:`${u}[${i}](streamdown:incomplete-link)`}let r=e.match(Lte);
1042if(r){if(r[1].startsWith("!")){let a=e.lastIndexOf(r[1]);return e.substring(0,a)}return`${e}](streamdown:incomplete-link)`}return e},Vte=e=>{if(Mm(e))return e;let t=e.match(Pte);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(` 1043`),i=a===-1?0:a+1,o=e.substring(i,r);if(/^[\s]*[-*+][\s]+$/.test(o)&&n.includes(` 1044`))return e;if((e.match(/\*\*/g)||[]).length%2===1)return`${e}**`}return e},$te=e=>{let t=e.match(jte);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(` 1045`),i=a===-1?0:a+1,o=e.substring(i,r);if(/^[\s]*[-*+][\s]+$/.test(o)&&n.includes(` 1046`))return e;if((e.match(/__/g)||[]).length%2===1)return`${e}__`}return e},Gte=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 c=r-1;c>=0;c--){if(e[c]===` 1047`){o=c+1;break}if(c===0){o=0;break}}if(e.substring(o,r).trim()===""&&(i===" "||i===" "))return t;if(a!=="*"&&i!=="*")return t+1}return t},0),Yte=e=>{if(Mm(e))return e;if(e.match(zte)){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(Gte(e)%2===1)return`${e}*`}return e},IA=(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},Qte=e=>e.split("").reduce((t,n,r)=>{if(n==="_"){let a=e[r-1],i=e[r+1];if(a==="\\"||IA(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),Xte=e=>{if(Mm(e))return e;if(e.match(Fte)){let t=-1;for(let r=0;r<e.length;r++)if(e[r]==="_"&&e[r-1]!=="_"&&e[r+1]!=="_"&&e[r-1]!=="\\"&&!IA(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(Qte(e)%2===1){let r=e.match(/\n+$/);return r?`${e.slice(0,-r[0].length)}_${r[0]}`:`${e}_`}}return e},Wte=(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},Kte=e=>{let t=0;for(let n=0;n<e.length;n++)e[n]==="`"&&!Wte(e,n)&&t++;return t},Zte=e=>{if(e.match(/^```[^`\n]*```?$/)&&!e.includes(` 1048`))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(` 1049`)||(e.endsWith("```\n")||e.endsWith("```"))&&t%2===0)return e;let r=e.match(Hte);if(r&&!n){let a=r[2];if(!a||/^[\s_~*`]*$/.test(a))return e;if(Kte(e)%2===1)return`${e}\``}return e},Jte=e=>{let t=e.match(Ute);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if((e.match(/~~/g)||[]).length%2===1)return`${e}~~`}return e},ene=e=>{if((e.match(/\$\$/g)||[]).length%2===0)return e;let t=e.indexOf("$$");return t!==-1&&e.indexOf(` 1050`,t)!==-1&&!e.endsWith(` 1051`)?`${e} 1052$$`:`${e}$$`},tne=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},nne=e=>{if(Mm(e)||/^\*{4,}$/.test(e))return e;let t=e.match(Bte);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if(tne(e)%2===1)return`${e}***`}return e},rne=e=>{if(!e||typeof e!="string")return e;let t=e,n=qte(t);return n.endsWith("](streamdown:incomplete-link)")?n:(t=n,t=nne(t),t=Vte(t),t=$te(t),t=Yte(t),t=Xte(t),t=Zte(t),t=Jte(t),t=ene(t),t)},ane={harden:[YX,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],defaultOrigin:void 0,allowDataImages:!0}],raw:AY,katex:[mV,{errorColor:"var(--color-muted-foreground)"}]},sne={gfm:[LX,{}],math:[GX,{singleDollarTextMath:!1}]},LA=O.createContext(["github-light","github-dark"]),PA=O.createContext(void 0),v4=O.createContext(!0),J0=O.createContext({isAnimating:!1}),jA=O.memo(({content:e,shouldParseIncompleteMarkdown:t,...n})=>{let r=O.useMemo(()=>typeof e=="string"&&t?rne(e.trim()):e,[e,t]);return f.jsx(HH,{...n,children:r})},(e,t)=>e.content===t.content);jA.displayName="Block";var Ki=O.memo(({children:e,parseIncompleteMarkdown:t=!0,components:n,rehypePlugins:r=Object.values(ane),remarkPlugins:a=Object.values(sne),className:i,shikiTheme:o=["github-light","github-dark"],mermaidConfig:c,controls:u=!0,isAnimating:h=!1,...g})=>{let p=O.useId(),b=O.useMemo(()=>Ite(typeof e=="string"?e:""),[e]);return f.jsx(LA.Provider,{value:o,children:f.jsx(PA.Provider,{value:c,children:f.jsx(v4.Provider,{value:u,children:f.jsx(J0.Provider,{value:{isAnimating:h},children:f.jsx("div",{className:vt("space-y-4",i),children:b.map((y,w)=>f.jsx(jA,{components:{...Mte,...n},content:y,rehypePlugins:r,remarkPlugins:a,shouldParseIncompleteMarkdown:t,...g},`${p}-block-${w}`))})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating);Ki.displayName="Streamdown";const ine=[{id:"auto",name:"Auto (Best available)",provider:"Platform"},{id:"meta-llama/llama-3.3-70b-instruct",name:"Llama 3.3 70B",provider:"Meta"},{id:"mistralai/mistral-7b-instruct",name:"Mistral 7B",provider:"Mistral AI"},{id:"deepseek/deepseek-r1",name:"DeepSeek R1",provider:"DeepSeek"},{id:"google/gemma-3-27b-it",name:"Gemma 3 27B",provider:"Google"},{id:"qwen/qwen3-235b-a22b",name:"Qwen 3 235B",provider:"Alibaba"},{id:"microsoft/phi-4",name:"Phi-4",provider:"Microsoft"}];
1052function ed({value:e,onChange:t,compact:n=!1}){const{data:r=[]}=je.models.list.useQuery(),a=r.length>0?[{id:"auto",name:"Auto (Best available)",provider:"Platform"},...r.slice(0,30)]:ine,i=a.find(o=>o.id===e);return f.jsxs("div",{"data-loc":"client/src/components/ModelSelector.tsx:30",className:"flex items-center gap-1.5",children:[!n&&f.jsx(kP,{"data-loc":"client/src/components/ModelSelector.tsx:31",className:"h-3.5 w-3.5 text-white/30 shrink-0"}),f.jsx("select",{"data-loc":"client/src/components/ModelSelector.tsx:32",value:e,onChange:o=>t(o.target.value),className:"text-xs text-white/60 outline-none rounded-lg px-2 py-1.5 transition-all",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",maxWidth:n?"160px":"220px"},title:i?.id??"Select model",children:a.map(o=>f.jsxs("option",{"data-loc":"client/src/components/ModelSelector.tsx:44",value:o.id,children:[o.name," ",o.provider&&o.provider!=="Platform"?`(${o.provider})`:""]},o.id))})]})}const bE=["Write a 3-act structure for a short film about a street musician discovering an old photograph.","Give me a shot list for an intense dialogue scene between two estranged siblings.","Analyze the pacing of a 90-minute indie drama â what's the ideal act break timing?","Suggest color grading styles for a neo-noir thriller set in Tokyo.","Create a storyboard description for an opening sequence that establishes loneliness."];function one(){const[e,t]=O.useState([]),[n,r]=O.useState(""),[a,i]=O.useState(!1),[o,c]=O.useState("auto"),u=O.useRef(null),h=je.landing.chat.useMutation();O.useEffect(()=>{u.current?.scrollIntoView({behavior:"smooth"})},[e,a]);async function g(y){if(!y.trim()||a)return;const w={role:"user",content:y.trim()},T=[...e,w];t(T),r(""),i(!0);try{const A=await h.mutateAsync({messages:T,model:o}),N=typeof A.reply=="string"?A.reply:String(A.reply);t(R=>[...R,{role:"assistant",content:N}])}catch(A){const N=A&&typeof A=="object"&&"message"in A?String(A.message):"Something went wrong. Please try again.";$e.error(N)}finally{i(!1)}}function p(y){y.preventDefault(),g(n)}function b(){t([]),r("")}return f.jsxs("section",{"data-loc":"client/src/components/sections/DemoSection.tsx:66",id:"demo",className:"relative py-28 overflow-hidden",children:[f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:67",className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #1F1E1C 0%, #0c1020 50%, #1F1E1C 100%)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:71",className:"absolute pointer-events-none",style:{top:"10%",right:"0",width:"50vw",height:"60vw",background:"radial-gradient(ellipse, rgba(6,148,148,0.1) 0%, transparent 70%)",filter:"blur(60px)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:80",className:"absolute pointer-events-none",style:{bottom:"10%",left:"0",width:"40vw",height:"40vw",background:"radial-gradient(ellipse, rgba(129,134,64,0.1) 0%, transparent 70%)",filter:"blur(60px)"}}),f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:90",className:"container relative z-10",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:92",className:"max-w-2xl mx-auto text-center mb-12",children:[f.jsxs("span",{"data-loc":"client/src/components/sections/DemoSection.tsx:93",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-4",style:{background:"rgba(6,148,148,0.12)",border:"1px solid rgba(6,148,148,0.3)",color:"#6ee7e7"},children:[f.jsx(Ut,{"data-loc":"client/src/components/sections/DemoSection.tsx:101",className:"h-3 w-3"}),"Live AI demo â no signup required"]}),f.jsxs("h2",{"data-loc":"client/src/components/sections/DemoSection.tsx:104",className:"font-display font-bold text-4xl lg:text-5xl text-white leading-tight",children:["Experience the AI"," ",f.jsx("span",{"data-loc":"client/src/components/sections/DemoSection.tsx:106",className:"text-gradient-brand",children:"co-pilot."})]}),f.jsx("p",{"data-loc":"client/src/components/sections/DemoSection.tsx:108",className:"mt-4 text-white/50 text-lg",children:"Chat with a filmmaker-trained AI assistant right here. Ask about scripts, shot lists, storyboards, or anything for your next project."})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:113",className:"max-w-3xl mx-auto",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:115",className:"rounded-3xl overflow-hidden",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(129,134,64,0.25)",boxShadow:"0 0 80px rgba(129,134,64,0.08), 0 0 40px rgba(6,148,148,0.05)"},children:[f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:124",className:"flex items-center justify-between px-5 py-4",style:{borderBottom:"1px solid rgba(255,255,255,0.06)"},children:[f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:128",className:"flex items-center gap-3",children:[f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:129",className:"flex h-8 w-8 items-center justify-center rounded-lg",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(xa,{"data-loc":"client/src/components/sections/DemoSection.tsx:133",className:"h-4 w-4 text-white"})}),f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:135",children:[f.jsx("p",{"data-loc":"client/src/components/sections/DemoSection.tsx:136",className:"text-sm font-semibold text-white",children:"AI Studio"}),f.jsx("p",{"data-loc":"client/src/components/sections/DemoSection.tsx:137",className:"text-xs text-white/40",children:"Filmmaker co-pilot · Live"})]})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:140",className:"flex items-center gap-2",children:[f.jsx(ed,{"data-loc":"client/src/components/sections/DemoSection.tsx:141",value:o,onChange:c,compact:!0}),f.jsx("span",{"data-loc":"client/src/components/sections/DemoSection.tsx:142",className:"flex h-2 w-2 rounded-full animate-pulse-glow",style:{background:"#22c55e"}}),f.jsx("span",{"data-loc":"client/src/components/sections/DemoSection.tsx:146",className:"text-xs text-white/40",children:"Online"}),e.length>0&&f.jsx("button",{"data-loc":"client/src/components/sections/DemoSection.tsx:148",onClick:b,className:"ml-2 p-1.5 rounded-lg text-white/30 hover:text-white/70 hover:bg-white/5 transition-colors",title:"Clear chat",children:f.jsx(j0,{"data-loc":"client/src/components/sections/DemoSection.tsx:153",className:"h-3.5 w-3.5"})})]})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:160",className:"h-[380px] overflow-y-auto p-5 flex flex-col gap-4",children:[e.length===0&&f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:162",className:"flex flex-col items-center justify-center h-full text-center gap-4",children:[f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:163",className:"flex h-14 w-14 items-center justify-center rounded-2xl",style:{background:"rgba(129,134,64,0.15)",border:"1px solid rgba(129,134,64,0.3)"},children:f.jsx(xa,{"data-loc":"client/src/components/sections/DemoSection.tsx:167",className:"h-7 w-7 text-[#a8ae52]"})}),f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:169",children:[f.jsx("p",{"data-loc":"client/src/components/sections/DemoSection.tsx:170",className:"text-white/70 font-medium text-sm",children:"Your filmmaker AI co-pilot is ready."}),f.jsx("p",{"data-loc":"client/src/components/sections/DemoSection.tsx:171",className:"text-white/35 text-xs mt-1",children:"Ask about scripts, shot lists, storyboards, or any production challenge."})]}),f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:174",className:"flex flex-col gap-2 w-full max-w-md mt-2",children:bE.slice(0,3).map(y=>f.jsx("button",{"data-loc":"client/src/components/sections/DemoSection.tsx:176",onClick:()=>g(y),className:"text-left px-4 py-2.5 rounded-xl text-xs text-white/55 hover:text-white/80 transition-all",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.07)"},onMouseEnter:w=>{w.currentTarget.style.background="rgba(129,134,64,0.1)",w.currentTarget.style.borderColor="rgba(129,134,64,0.3)"},onMouseLeave:w=>{w.currentTarget.style.background="rgba(255,255,255,0.03)",w.currentTarget.style.borderColor="rgba(255,255,255,0.07)"},children:y},y))})]}),e.map((y,w)=>f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:201",className:`flex ${y.role==="user"?"justify-end":"justify-start"}`,children:[y.role==="assistant"&&f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:206",className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-lg mr-2.5 mt-0.5",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(xa,{"data-loc":"client/src/components/sections/DemoSection.tsx:210",className:"h-3.5 w-3.5 text-white"})}),f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:213",className:"max-w-[82%] rounded-2xl px-4 py-3 text-sm leading-relaxed",style:y.role==="user"?{background:"linear-gradient(135deg, rgba(129,134,64,0.5), rgba(6,148,148,0.4))",color:"rgba(255,255,255,0.92)",borderRadius:"1rem 1rem 0.25rem 1rem"}:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.08)",color:"rgba(255,255,255,0.82)",borderRadius:"0.25rem 1rem 1rem 1rem"},children:y.role==="assistant"?f.jsx(Ki,{"data-loc":"client/src/components/sections/DemoSection.tsx:231",children:y.content}):y.content})]},w)),a&&f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:240",className:"flex justify-start",children:[f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:241",className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-lg mr-2.5",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(Qs,{"data-loc":"client/src/components/sections/DemoSection.tsx:245",className:"h-3.5 w-3.5 text-white animate-spin"})}),f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:247",className:"rounded-2xl px-4 py-3 text-sm",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.08)",color:"rgba(255,255,255,0.4)",borderRadius:"0.25rem 1rem 1rem 1rem"},children:f.jsxs("span",{"data-loc":"client/src/components/sections/DemoSection.tsx:256",className:"inline-flex gap-1",children:[f.jsx("span",{"data-loc":"client/src/components/sections/DemoSection.tsx:257",className:"animate-bounce",style:{animationDelay:"0ms"},children:"·"}),f.jsx("span",{"data-loc":"client/src/components/sections/DemoSection.tsx:258",className:"animate-bounce",style:{animationDelay:"150ms"},children:"·"}),f.jsx("span",{"data-loc":"client/src/components/sections/DemoSection.tsx:259",className:"animate-bounce",style:{animationDelay:"300ms"},children:"·"})]})})]}),f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:265",ref:u})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:269",className:"px-5 py-4",style:{borderTop:"1px solid rgba(255,255,255,0.06)"},children:[f.jsxs("form",{"data-loc":"client/src/components/sections/DemoSection.tsx:273",onSubmit:p,className:"flex gap-3",children:[f.jsx("input",{"data-loc":"client/src/components/sections/DemoSection.tsx:274",value:n,onChange:y=>r(y.target.value),placeholder:"Ask about scripts, shot lists, storyboardsâ¦",disabled:a,className:"flex-1 px-4 py-3 rounded-xl text-sm text-white placeholder:text-white/30 outline-none transition-all disabled:opacity-50",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"},onFocus:y=>{y.currentTarget.style.borderColor="rgba(129,134,64,0.5)",y.currentTarget.style.boxShadow="0 0 0 2px rgba(129,134,64,0.15)"},onBlur:y=>{y.currentTarget.style.borderColor="rgba(255,255,255,0.1)",y.currentTarget.style.boxShadow="none"}}),f.jsx(He,{"data-loc":"client/src/components/sections/DemoSection.tsx:293",type:"submit",disabled:a||!n.trim(),className:"btn-primary-gradient rounded-xl h-12 w-12 shrink-0 p-0",children:f.jsx(_c,{"data-loc":"client/src/components/sections/DemoSection.tsx:298",className:"h-4 w-4"})})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:301",className:"flex items-center justify-between mt-2",children:[f.jsx("p",{"data-loc":"client/src/components/sections/DemoSection.tsx:302",className:"text-xs text-white/25",children:"Powered by open-source AI · No signup required"}),f.jsx(Cr,{"data-loc":"client/src/components/sections/DemoSection.tsx:305",href:"/conversations",children:f.jsxs("span",{"data-loc":"client/src/components/sections/DemoSection.tsx:306",className:"flex items-center gap-1 text-xs text-[#a8ae52]/70 hover:text-[#c4c96a] transition-colors cursor-pointer",children:[f.jsx(ES,{"data-loc":"client/src/components/sections/DemoSection.tsx:307",className:"h-3 w-3"})," Full library"]})})]})]})]}),f.jsx("div",{"data-loc":"client/src/components/sections/DemoSection.tsx:315",className:"mt-5 flex flex-wrap gap-2 justify-center",children:bE.slice(3).map(y=>f.jsx("button",{"data-loc":"client/src/components/sections/DemoSection.tsx:317",onClick:()=>g(y),disabled:a,className:"px-3 py-1.5 rounded-full text-xs text-white/45 hover:text-white/70 transition-all disabled:opacity-50",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)"},children:y.length>60?y.slice(0,60)+"â¦":y},y))})]})]})]})}const lne=[{href:"/conversations",icon:g0,color:"#818640",title:"Conversation Library",description:"Every AI conversation saved and organized. Pick up where you left off on any script, shot list, or production challenge.",badge:"Free"},{href:"/source-packs",icon:L0,color:"#069494",title:"Source Packs",de
1052scription:"Upload your scripts, treatments, and research notes. Chat with your documents like NotebookLM â but trained for filmmakers.",badge:"Free"},{href:"/agent-tools",icon:Js,color:"#818640",title:"Agentic AI Tools",description:"Script breakdown, shot list generation, scene analysis â multi-step AI agents that do the heavy lifting for you.",badge:"Pro"},{href:"/budget",icon:Bi,color:"#0891b2",title:"Budget Estimator",description:"AI-powered production budget breakdowns. Input your project details, get a detailed line-item estimate with cost-saving tips.",badge:"Pro"},{href:"/mentors",icon:x0,color:"#818640",title:"Programs Directory",description:"Curated directory of official filmmaker programs, labs, and organizations that actively support newcomers â with direct submission links.",badge:"Free"},{href:"/image-enhancement",icon:p0,color:"#069494",title:"Image Enhancement",description:"AI-powered upscaling, denoising, color grading, and restoration for stills and frames. Upload and enhance in one click.",badge:"Pro"},{href:"/video-enhancement",icon:zo,color:"#818640",title:"Video Analysis & Planning",description:"Analyze your footage and generate a detailed post-production plan: color grading recipes, audio mix notes, edit pacing, and export specs.",badge:"Pro"}];function cne(){return f.jsxs("section",{"data-loc":"client/src/components/sections/ToolsSection.tsx:65",id:"tools",className:"relative py-28 overflow-hidden",children:[f.jsx("div",{"data-loc":"client/src/components/sections/ToolsSection.tsx:66",className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #1F1E1C 0%, #0a0d1e 50%, #1F1E1C 100%)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/ToolsSection.tsx:70",className:"absolute pointer-events-none",style:{top:"20%",left:"50%",transform:"translateX(-50%)",width:"80vw",height:"40vw",background:"radial-gradient(ellipse, rgba(129,134,64,0.07) 0%, transparent 70%)",filter:"blur(80px)"}}),f.jsxs("div",{"data-loc":"client/src/components/sections/ToolsSection.tsx:80",className:"container relative z-10",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/ToolsSection.tsx:82",className:"max-w-2xl mb-14",children:[f.jsxs("span",{"data-loc":"client/src/components/sections/ToolsSection.tsx:83",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-4",style:{background:"rgba(129,134,64,0.12)",border:"1px solid rgba(129,134,64,0.3)",color:"#c4c96a"},children:[f.jsx(Js,{"data-loc":"client/src/components/sections/ToolsSection.tsx:91",className:"h-3 w-3"}),"Production toolkit"]}),f.jsxs("h2",{"data-loc":"client/src/components/sections/ToolsSection.tsx:94",className:"font-display font-bold text-4xl lg:text-5xl text-white leading-tight",children:["Every tool a filmmaker"," ",f.jsx("span",{"data-loc":"client/src/components/sections/ToolsSection.tsx:96",className:"text-gradient-brand",children:"actually needs."})]}),f.jsx("p",{"data-loc":"client/src/components/sections/ToolsSection.tsx:98",className:"mt-4 text-white/50 text-lg leading-relaxed",children:"From script to screen â AI-powered tools built specifically for the realities of independent film production."})]}),f.jsx("div",{"data-loc":"client/src/components/sections/ToolsSection.tsx:104",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:lne.map(e=>f.jsx(Cr,{"data-loc":"client/src/components/sections/ToolsSection.tsx:106",href:e.href,children:f.jsxs("div",{"data-loc":"client/src/components/sections/ToolsSection.tsx:107",className:"group relative rounded-2xl p-6 cursor-pointer transition-all duration-300 hover:-translate-y-1",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.07)"},onMouseEnter:t=>{t.currentTarget.style.background=`rgba(${e.color==="#818640"?"129,134,64":e.color==="#069494"?"6,148,148":"129,134,64"},0.08)`,t.currentTarget.style.borderColor=`${e.color}44`,t.currentTarget.style.boxShadow=`0 0 40px ${e.color}15`},onMouseLeave:t=>{t.currentTarget.style.background="rgba(255,255,255,0.03)",t.currentTarget.style.borderColor="rgba(255,255,255,0.07)",t.currentTarget.style.boxShadow="none"},children:[f.jsx("span",{"data-loc":"client/src/components/sections/ToolsSection.tsx:125",className:"absolute top-4 right-4 px-2 py-0.5 rounded-full text-[10px] font-semibold",style:{background:e.badge==="Free"?"rgba(6,148,148,0.15)":"rgba(129,134,64,0.15)",color:e.badge==="Free"?"#6ee7e7":"#c4c96a",border:`1px solid ${e.badge==="Free"?"rgba(6,148,148,0.3)":"rgba(129,134,64,0.3)"}`},children:e.badge}),f.jsx("div",{"data-loc":"client/src/components/sections/ToolsSection.tsx:136",className:"flex h-12 w-12 items-center justify-center rounded-2xl mb-4",style:{background:`${e.color}22`,border:`1px solid ${e.color}44`},children:f.jsx(e.icon,{"data-loc":"client/src/components/sections/ToolsSection.tsx:140",className:"h-6 w-6",style:{color:e.color}})}),f.jsx("h3",{"data-loc":"client/src/components/sections/ToolsSection.tsx:143",className:"font-display font-bold text-white text-lg mb-2",children:e.title}),f.jsx("p",{"data-loc":"client/src/components/sections/ToolsSection.tsx:144",className:"text-sm text-white/50 leading-relaxed mb-4",children:e.description}),f.jsxs("div",{"data-loc":"client/src/components/sections/ToolsSection.tsx:146",className:"flex items-center gap-1 text-xs font-medium transition-colors",style:{color:e.color},children:["Open tool ",f.jsx(rm,{"data-loc":"client/src/components/sections/ToolsSection.tsx:147",className:"h-3.5 w-3.5 transition-transform group-hover:translate-x-1"})]})]})},e.href))})]})]})}const une=[{id:"free",icon:Ut,name:"Free",price:"$0",period:"forever",tagline:"Perfect for students and hobbyists",color:"#818640",borderColor:"rgba(129,134,64,0.25)",features:["100 AI requests / day","A
1052ccess to open-source models","Basic script analysis","Limited image generation","Community support","1 active project"],cta:"Get started free",ctaVariant:"outline",popular:!1},{id:"pro",icon:Js,name:"Pro",price:"$19",period:"per month",tagline:"For indie filmmakers serious about their craft",color:"#069494",borderColor:"rgba(6,148,148,0.5)",features:["Unlimited AI requests","All 50+ AI models","Full script & storyboard tools","Unlimited image generation","Video enhancement & upscaling","Priority processing","5 active projects","Email support"],cta:"Start Pro trial",ctaVariant:"default",popular:!0},{id:"team",icon:Kx,name:"Team",price:"$49",period:"per month",tagline:"Built for film crews and production companies",color:"#818640",borderColor:"rgba(129,134,64,0.3)",features:["Everything in Pro","Up to 10 team members","Shared credits & assets","Collaboration workspace","Role management (Owner/Admin/Member)","Team asset library","Unlimited projects","Priority support"],cta:"Start team trial",ctaVariant:"outline",popular:!1},{id:"enterprise",icon:bP,name:"Enterprise",price:"Custom",period:"contact us",tagline:"For studios and large production houses",color:"#0891b2",borderColor:"rgba(8,145,178,0.3)",features:["Everything in Team","Unlimited team members","Custom AI model deployment","Dedicated infrastructure","SLA guarantees","Custom rate limits","SSO & advanced security","Dedicated account manager"],cta:"Contact sales",ctaVariant:"outline",popular:!1}];function dne(e=.1){const t=O.useRef(null),[n,r]=O.useState(!1);return O.useEffect(()=>{const a=t.current;if(!a)return;const i=new IntersectionObserver(([o])=>{o.isIntersecting&&(r(!0),i.disconnect())},{threshold:e});return i.observe(a),()=>i.disconnect()},[e]),{ref:t,inView:n}}function hne(){const{ref:e,inView:t}=dne();return f.jsxs("section",{"data-loc":"client/src/components/sections/PricingSection.tsx:119",id:"pricing",className:"relative py-28 overflow-hidden",children:[f.jsx("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:120",className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #1F1E1C 0%, #0e0b22 50%, #1F1E1C 100%)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:124",className:"absolute pointer-events-none",style:{bottom:"0",left:"50%",transform:"translateX(-50%)",width:"80vw",height:"40vw",background:"radial-gradient(ellipse, rgba(129,134,64,0.07) 0%, transparent 70%)",filter:"blur(60px)"}}),f.jsxs("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:134",className:"container relative z-10",ref:e,children:[f.jsxs("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:136",className:"max-w-2xl mx-auto text-center mb-16",style:{opacity:t?1:0,transform:t?"translateY(0)":"translateY(24px)",transition:"opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out)"},children:[f.jsxs("span",{"data-loc":"client/src/components/sections/PricingSection.tsx:144",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-4",style:{background:"rgba(129,134,64,0.12)",border:"1px solid rgba(129,134,64,0.3)",color:"#c4c96a"},children:[f.jsx(Ut,{"data-loc":"client/src/components/sections/PricingSection.tsx:152",className:"h-3 w-3"}),"Simple, transparent pricing"]}),f.jsxs("h2",{"data-loc":"client/src/components/sections/PricingSection.tsx:155",className:"font-display font-bold text-4xl lg:text-5xl text-white leading-tight",children:["Start free."," ",f.jsx("span",{"data-loc":"client/src/components/sections/PricingSection.tsx:157",className:"text-gradient-brand",children:"Scale as you create."})]}),f.jsx("p",{"data-loc":"client/src/components/sections/PricingSection.tsx:159",className:"mt-4 text-white/50 text-lg",children:"No hidden fees. Cancel anytime. BYOK requests never count toward your daily limit."})]}),f.jsx("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:165",className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-
10525",children:une.map((n,r)=>{const a=n.icon;return f.jsxs("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:169",className:"relative rounded-2xl p-6 flex flex-col",style:{background:n.popular?"linear-gradient(145deg, rgba(6,148,148,0.12) 0%, rgba(129,134,64,0.08) 100%)":"rgba(255,255,255,0.03)",border:`1px solid ${n.borderColor}`,opacity:t?1:0,transform:t?"translateY(0)":"translateY(32px)",transition:`opacity 0.6s var(--ease-out) ${r*.1}s, transform 0.6s var(--ease-out) ${r*.1}s`,boxShadow:n.popular?"0 0 40px rgba(6,148,148,0.12)":"none"},children:[n.popular&&f.jsx("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:184",className:"absolute -top-3.5 left-1/2 -translate-x-1/2 px-4 py-1 rounded-full text-xs font-bold tracking-wide",style:{background:"linear-gradient(135deg, #818640, #069494)",color:"white",whiteSpace:"nowrap"},children:"Most popular"}),f.jsx("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:196",className:"flex h-10 w-10 items-center justify-center rounded-xl mb-4",style:{background:`${n.color}20`,border:`1px solid ${n.color}40`},children:f.jsx(a,{"data-loc":"client/src/components/sections/PricingSection.tsx:200",className:"h-5 w-5",style:{color:n.color}})}),f.jsxs("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:203",className:"mb-1",children:[f.jsx("span",{"data-loc":"client/src/components/sections/PricingSection.tsx:204",className:"font-display font-bold text-2xl text-white",children:n.price}),n.period!=="contact us"&&f.jsxs("span",{"data-loc":"client/src/components/sections/PricingSection.tsx:206",className:"text-white/40 text-sm ml-1",children:["/ ",n.period]})]}),f.jsx("p",{"data-loc":"client/src/components/sections/PricingSection.tsx:209",className:"font-display font-semibold text-base text-white mb-1",children:n.name}),f.jsx("p",{"data-loc":"client/src/components/sections/PricingSection.tsx:210",className:"text-xs text-white/45 mb-6 leading-relaxed",children:n.tagline}),f.jsx("ul",{"data-loc":"client/src/components/sections/PricingSection.tsx:212",className:"flex flex-col gap-2.5 flex-1 mb-6",children:n.features.map(i=>f.jsxs("li",{"data-loc":"client/src/components/sections/PricingSection.tsx:214",className:"flex items-start gap-2.5 text-sm text-white/65",children:[f.jsx(uf,{"data-loc":"client/src/components/sections/PricingSection.tsx:215",className:"h-4 w-4 shrink-0 mt-0.5",style:{color:n.color}}),i]},i))}),f.jsx("a",{"data-loc":"client/src/components/sections/PricingSection.tsx:221",href:Ja(),className:"w-full",children:n.popular?f.jsx(He,{"data-loc":"client/src/components/sections/PricingSection.tsx:223",className:"w-full btn-primary-gradient font-semibold rounded-xl h-10",children:n.cta}):f.jsx(He,{"data-loc":"client/src/components/sections/PricingSection.tsx:227",variant:"outline",className:"w-full rounded-xl h-10 font-semibold",style:{borderColor:`${n.color}40`,color:"rgba(255,255,255,0.8)",background:"transparent"},children:n.cta})})]},n.id)})}),f.jsx("div",{"data-loc":"client/src/components/sections/PricingSection.tsx:246",className:"mt-10 text-center",style:{opacity:t?1:0,transition:"opacity 0.6s var(--ease-out) 0.5s"},children:f.jsxs("p",{"data-loc":"client/src/components/sections/PricingSection.tsx:253",className:"text-sm text-white/35",children:["Bring your own OpenAI, Gemini, or Anthropic key â those requests"," ",f.jsx("span",{"data-loc":"client/src/components/sections/PricingSection.tsx:255",className:"text-white/60 font-medium",children:"never count"})," toward your daily limit on any plan."]})})]})]})}const fne=[{name:"Maya Chen",role:"Independent Filmmaker",location:"Los Angeles, CA",avatar:"MC",avatarColor:"#818640",stars:5,quote:"Creator AI Hub completely transformed my pre-production workflow. I generated a full shot list and storyboard for my short film in under an hour. What used to take days now takes minutes.",highlight:"shot list and storyboard in under an hour"},{name:"Arjun Patel",role:"Film Student",location:"NYU Tisch School",avatar:"AP",avatarColor:"#069494",stars:5,quote:"As a student with a tight budget, the free tier gives me access to AI models I could never afford otherwise. The BYOK feature means I can use my university's API credits too â it's a game changer.",highlight:"AI models I could never afford otherwise"},{name:"Sofia Reyes",role:"Documentary Director",location:"Mexico City",avatar:"SR",avatarColor:"#818640",stars:5,quote:"The script analysis feature helped me identify pacing issues in my documentary that I'd been blind to for months. The AI feedback was specific, cinematic, and actually useful â not generic.",highlight:"specific, cinematic, and actually useful"},{name:"James O'Brien",role:"Commercial Director",location:"London, UK",avatar:"JO",avatarColor:"#0891b2",stars:5,quote:"We use the Team plan for our production company. The shared asset library and collaboration workspace have replaced three separate tools we were paying for. Huge ROI.",highlight:"replaced three separate tools"},{name:"Priya Nair",role:"AI Developer & Filmmaker",location:"Bangalore, India",avatar:"PN",avatarColor:"#818640",stars:5,quote:"The BYOK system is brilliantly designed. I can route different scenes through different models â Llama for dialogue, DeepSeek for technical breakdowns â all from one unified interface.",highlight:"route different scenes through different models"},{name:"Lena Fischer",role:"Music Video Director",location:"Berlin, Germany",avatar:"LF",avatarColor:"#069494",stars:5,quote:"The subtitle generation saved us an entire day of post-production work. And the color suggestion AI actually understands visual storytelling, not just technical parameters.",highlight:"saved us an entire day of post-production"}];function mne(e=.1){const t=O.useRef(null),[n,r]=O.useState(!1);return O.useEffect(()=>{const a=t.current;if(!a)return;const i=new IntersectionObserver(([o])=>{o.isIntersecting&&(r(!0),i.disconnect())},{threshold:e});return i.observe(a),()=>i.disconnect()},[e]),{ref:t,inView:n}}function pne(){const{ref:e,inView:t}=mne();return f.jsxs("section",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:93",id:"testimonials",className:"relative py-28 overflow-hidden",children:[f.jsx("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:94",className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #1F1E1C 0%, #0f0d25 50%, #1F1E1C 100%)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:98",className:"absolute pointer-events-none",style:{to
1052p:"30%",left:"-10%",width:"50vw",height:"50vw",background:"radial-gradient(ellipse, rgba(129,134,64,0.07) 0%, transparent 70%)",filter:"blur(60px)"}}),f.jsxs("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:108",className:"container relative z-10",ref:e,children:[f.jsxs("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:110",className:"max-w-2xl mx-auto text-center mb-16",style:{opacity:t?1:0,transform:t?"translateY(0)":"translateY(24px)",transition:"opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out)"},children:[f.jsxs("span",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:118",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-4",style:{background:"rgba(129,134,64,0.12)",border:"1px solid rgba(129,134,64,0.3)",color:"#c4c96a"},children:[f.jsx(qP,{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:126",className:"h-3 w-3"}),"Example use cases"]}),f.jsxs("h2",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:129",className:"font-display font-bold text-4xl lg:text-5xl text-white leading-tight",children:["Built for the stories"," ",f.jsx("span",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:131",className:"text-gradient-brand",children:"you're trying to tell."})]}),f.jsx("p",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:133",className:"mt-4 text-white/50 text-lg",children:"Illustrative use cases from the kinds of independent filmmakers and creators we're building for."})]}),f.jsx("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:139",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-5",children:fne.map((n,r)=>f.jsxs("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:141",className:"glass-card rounded-2xl p-6 flex flex-col",style:{opacity:t?1:0,transform:t?"translateY(0)":"translateY(32px)",transition:`opacity 0.6s var(--ease-out) ${r*.08}s, transform 0.6s var(--ease-out) ${r*.08}s`},children:[f.jsx("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:151",className:"flex gap-1 mb-4",children:Array.from({length:n.stars}).map((a,i)=>f.jsx(x0,{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:153",className:"h-3.5 w-3.5 fill-current",style:{color:"#fbbf24"}},i))}),f.jsx("blockquote",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:158",className:"text-sm text-white/65 leading-relaxed flex-1 mb-5",children:n.quote.split(n.highlight).map((a,i,o)=>f.jsxs("span",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:160",children:[a,i<o.length-1&&f.jsx("span",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:163",className:"text-white/90 font-medium",children:n.highlight})]},i))}),f.jsxs("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:170",className:"flex items-center gap-3 pt-4",style:{borderTop:"1px solid rgba(255,255,255,0.06)"},children:[f.jsx("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:171",className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-xs font-bold text-white",style:{background:`linear-gradient(135deg, ${n.avatarColor}, ${n.avatarColor}99)`},children:n.avatar}),f.jsxs("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:177",children:[f.jsx("p",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:178",className:"text-sm font-semibold text-white",children:n.name}),f.jsxs("p",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:179",className:"text-xs text-white/40",children:[n.role," · ",n.location]}),f.jsx("p",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:180",className:"text-xs text-white/25 italic mt-0.5",children:"Illustrative use case"})]})]})]},n.name))}),f.jsx("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:188",className:"mt-16 rounded-2xl p-8 grid grid-cols-2 md:grid-cols-4 gap-6 text-center",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.06)",opacity:t?1:0,transition:"opacity 0.7s var(--ease-out) 0.5s"},children:[{value:"10,000+",label:"Target creators at launch"},{value:"50+",label:"AI models available"},{value:"100",label:"Free daily requests"},{value:"Early",label:"Access open now"}].map(n=>f.jsxs("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:203",children:[f.jsx("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:204",className:"font-display font-bold text-3xl text-gradient-brand",children:n.value}),f.jsx("div",{"data-loc":"client/src/components/sections/TestimonialsSection.tsx:205",className:"text-xs text-white/40 mt-1",children:n.label})]},n.label))})]})]})}const gne=[{icon:CS,title:"Democratize access",body:"State-of-the-art AI should not be locked behind enterprise budgets. We give every independent filmmaker the same tools as major studios.",color:"#818640"},{icon:OP,title:"Creator-first design",body:"Every feature is designed around how filmmakers actually work â not how software engineers imagine they work. Cinema is our language.",color:"#069494"},{icon:wS,title:"Open & interoperable",body:"We believe in open-source AI. Bring your own keys, choose your models, and own your data. No lock-in, ever.",color:"#818640"},{icon:_S,title:"Continuous innovation",body:"As AI evolves, so does the platform. New models, new tools, and new workflows â shipped continuously to keep creators ahead of the curve.",color:"#0891b2"}];function xne(e=.1){const t=O.useRef(null),[n,r]=O.useState(!1);return O.useEffect(()=>{const a=t.current;if(!a)return;const i=new IntersectionObserver(([o])=>{o.isIntersecting&&(r(!0),i.disconnect())},{threshold:e});return i.observe(a),()=>i.disconnect()},[e]),{ref:t,inView:n}}function bne(){const{ref:e,inView:t}=xne();return f.jsxs("section",{"data-loc":"client/src/components/sections/AboutSection.tsx:51",id:"about",className:"relative py-28 overflow-hidden",children:[f.jsx("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:52",className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #1F1E1C 0%, #100c28 50%, #1F1E1C 100%)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:56",className:"absolute pointer-events-none",style:{to
1052p:"20%",right:"-5%",width:"45vw",height:"45vw",background:"radial-gradient(ellipse, rgba(6,148,148,0.08) 0%, transparent 70%)",filter:"blur(60px)"}}),f.jsxs("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:66",className:"container relative z-10",ref:e,children:[f.jsxs("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:68",className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center mb-20",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:70",style:{opacity:t?1:0,transform:t?"translateX(0)":"translateX(-32px)",transition:"opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out)"},children:[f.jsxs("span",{"data-loc":"client/src/components/sections/AboutSection.tsx:77",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-6",style:{background:"rgba(6,148,148,0.12)",border:"1px solid rgba(6,148,148,0.3)",color:"#6ee7e7"},children:[f.jsx(CS,{"data-loc":"client/src/components/sections/AboutSection.tsx:85",className:"h-3 w-3"}),"Our mission"]}),f.jsxs("h2",{"data-loc":"client/src/components/sections/AboutSection.tsx:89",className:"font-display font-bold text-4xl lg:text-5xl text-white leading-tight mb-6",children:["The"," ",f.jsx("span",{"data-loc":"client/src/components/sections/AboutSection.tsx:91",className:"text-gradient-brand",children:"GitHub + Canva + AI Studio"})," ","for filmmakers."]}),f.jsx("p",{"data-loc":"client/src/components/sections/AboutSection.tsx:95",className:"text-white/60 text-lg leading-relaxed mb-6",children:"Creator AI Hub was born from a simple frustration: the most powerful AI tools in the world were inaccessible to the people who needed them most â independent filmmakers working with limited budgets and unlimited ambition."}),f.jsx("p",{"data-loc":"client/src/components/sections/AboutSection.tsx:99",className:"text-white/50 leading-relaxed mb-8",children:"We built a platform that combines AI tools, collaboration features, media processing, and production workflows into a single, affordable platform. Our long-term goal is to become the definitive creative OS for the next generation of filmmakers â from first-time student directors to seasoned indie auteurs."}),f.jsxs("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:104",className:"rounded-2xl p-5",style:{background:"rgba(129,134,64,0.08)",border:"1px solid rgba(129,134,64,0.2)"},children:[f.jsx("p",{"data-loc":"client/src/components/sections/AboutSection.tsx:111",className:"text-white/80 text-sm leading-relaxed italic",children:`"Become the platform where every filmmaker â regardless of budget â can access the same AI capabilities as the world's largest studios."`}),f.jsx("p",{"data-loc":"client/src/components/sections/AboutSection.tsx:114",className:"text-white/40 text-xs mt-2",children:"â Creator AI Hub Vision Statement"})]})]}),f.jsx("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:119",className:"relative flex items-center justify-center",style:{opacity:t?1:0,transform:t?"translateX(0)":"translateX(32px)",transition:"opacity 0.7s var(--ease-out) 0.2s, transform 0.7s var(--ease-out) 0.2s"},children:f.jsxs("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:128",className:"relative w-72 h-72 flex items-center justify-center",children:[[0,1,2].map(n=>f.jsx("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:130",className:"absolute rounded-full",style:{inset:`${n*48}px`,border:`1px solid rgba(129,134,64,${.3-n*.08})`,animation:`spin-slow ${20+n*8}s linear infinite ${n%2===0?"":"reverse"}`}},n)),f.jsx("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:141",className:"relative z-10 flex h-24 w-24 items-center justify-center rounded-2xl",style:{background:"linear-gradient(135deg, #818640, #069494)",boxShadow:"0 0 60px rgba(129,134,64,0.4), 0 0 120px rgba(6,148,148,0.2)"},children:f.jsx("span",{"data-loc":"client/src/components/sections/AboutSection.tsx:148",className:"font-display font-black text-white text-2xl",children:"AI"})}),["#c4c96a","#6ee7e7","#d4d88a","#a7f3f3"].map((n,r)=>f.jsx("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:152",className:"absolute h-3 w-3 rounded-full",style:{background:n,top:`${50+42*Math.sin(r*Math.PI/2)}%`,left:`${50+42*Math.cos(r*Math.PI/2)}%`,transform:"translate(-50%, -50%)",boxShadow:`0 0 12px ${n}`,animation:`pulse-glow ${2+r*.5}s ease-in-out infinite`}},r))]})})]}),f.jsx("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:170",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
10525",children:gne.map((n,r)=>{const a=n.icon;return f.jsxs("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:174",className:"glass-card rounded-2xl p-5",style:{opacity:t?1:0,transform:t?"translateY(0)":"translateY(24px)",transition:`opacity 0.6s var(--ease-out) ${.3+r*.1}s, transform 0.6s var(--ease-out) ${.3+r*.1}s`},children:[f.jsx("div",{"data-loc":"client/src/components/sections/AboutSection.tsx:183",className:"flex h-10 w-10 items-center justify-center rounded-xl mb-4",style:{background:`${n.color}20`,border:`1px solid ${n.color}40`},children:f.jsx(a,{"data-loc":"client/src/components/sections/AboutSection.tsx:187",className:"h-5 w-5",style:{color:n.color}})}),f.jsx("h3",{"data-loc":"client/src/components/sections/AboutSection.tsx:189",className:"font-display font-semibold text-base text-white mb-2",children:n.title}),f.jsx("p",{"data-loc":"client/src/components/sections/AboutSection.tsx:190",className:"text-sm text-white/50 leading-relaxed",children:n.body})]},n.title)})})]})]})}const yne=["Independent Filmmaker","Film Student","Documentary Director","Commercial Director","AI Developer","Content Creator","Other"];function vne(){const[e,t]=O.useState(""),[n,r]=O.useState(""),[a,i]=O.useState(""),[o,c]=O.useState(!1),u=je.landing.joinWaitlist.useMutation({onSuccess:()=>{c(!0)},onError:g=>{$e.error(g.message||"Something went wrong. Please try again.")}});function h(g){g.preventDefault(),e.trim()&&u.mutate({email:e.trim(),name:n.trim()||void 0,role:a||void 0,source:"waitlist_section"})}return f.jsxs("section",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:44",id:"waitlist",className:"relative py-28 overflow-hidden",children:[f.jsx("div",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:45",className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #1F1E1C 0%, #130d35 50%, #1F1E1C 100%)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:52",className:"absolute pointer-events-none",style:{top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"70vw",height:"50vw",background:"radial-gradient(ellipse, rgba(129,134,64,0.12) 0%, transparent 70%)",filter:"blur(60px)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:62",className:"container relative z-10",children:f.jsx("div",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:63",className:"max-w-2xl mx-auto",children:f.jsx("div",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:65",className:"rounded-3xl p-8 lg:p-12 text-center",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(129,134,64,0.3)",boxShadow:"0 0 80px rgba(129,134,64,0.1)"},children:o?f.jsxs("div",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:74",className:"flex flex-col items-center gap-4 py-8",children:[f.jsx("div",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:75",className:"flex h-16 w-16 items-center justify-center rounded-2xl",style:{background:"rgba(6,148,148,0.15)",border:"1px solid rgba(6,148,148,0.3)"},children:f.jsx(df,{"data-loc":"client/src/components/sections/WaitlistSection.tsx:79",className:"h-8 w-8 text-[#069494]"})}),f.jsx("h3",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:81",className:"font-display font-bold text-2xl text-white",children:"You're on the list!"}),f.jsx("p",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:82",className:"text-white/55 text-base leading-relaxed max-w-sm",children:"We'll send you early access details and updates as we roll out to new creators. Welcome to the community."})]}):f.jsxs(f.Fragment,{children:[f.jsxs("span",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:88",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-5",style:{background:"rgba(129,134,64,0.12)",border:"1px solid rgba(129,134,64,0.3)",color:"#c4c96a"},children:[f.jsx(Ut,{"data-loc":"client/src/components/sections/WaitlistSection.tsx:96",className:"h-3 w-3"}),"Early access"]}),f.jsxs("h2",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:100",className:"font-display font-bold text-3xl lg:text-4xl text-white leading-tight mb-3",children:["Join the waitlist.",f.jsx("span",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:102",className:"block text-gradient-brand",children:"Be first to create."})]}),f.jsx("p",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:104",className:"text-white/50 text-base mb-8 leading-relaxed",children:"Get early access, priority onboarding, and a free Pro trial for the first 500 filmmakers who join."}),f.jsxs("form",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:108",onSubmit:h,className:"flex flex-col gap-3",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:109",className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[f.jsx("input",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:110",type:"text",value:n,onChange:g=>r(g.target.value),placeholder:"Your name (optional)",className:"px-4 py-3 rounded-xl text-sm text-white placeholder:text-white/30 outline-none",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"},onFocus:g=>{g.currentTarget.style.borderColor="rgba(129,134,64,0.5)"},onBlur:g=>{g.currentTarget.style.borderColor="rgba(255,255,255,0.1)"}}),f.jsxs("select",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:123",value:a,onChange:g=>i(g.target.value),className:"px-4 py-3 rounded-xl text-sm outline-none",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",color:a?"white":"rgba(255,255,255,0.3)"},onFocus:g=>{g.currentTarget.style.borderColor="rgba(129,134,64,0.5)"},onBlur:g=>{g.currentTarget.style.borderColor="rgba(255,255,255,0.1)"},children:[f.jsx("option",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:135",value:"",disabled:!0,style:{background:"#252420"},children:"Your role (optional)"}),yne.map(g=>f.jsx("option",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:137",value:g,style:{background:"#252420"},children:g},g))]})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:142",className:"flex gap-3",children:[f.jsx("input",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:143",type:"email",value:e,onCh
1052ange:g=>t(g.target.value),placeholder:"[email protected]",required:!0,className:"flex-1 px-4 py-3 rounded-xl text-sm text-white placeholder:text-white/30 outline-none",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"},onFocus:g=>{g.currentTarget.style.borderColor="rgba(129,134,64,0.5)"},onBlur:g=>{g.currentTarget.style.borderColor="rgba(255,255,255,0.1)"}}),f.jsxs(He,{"data-loc":"client/src/components/sections/WaitlistSection.tsx:157",type:"submit",disabled:u.isPending||!e.trim(),className:"btn-primary-gradient rounded-xl px-6 h-12 shrink-0 font-semibold gap-2",children:[u.isPending?"Joiningâ¦":"Join",f.jsx(rm,{"data-loc":"client/src/components/sections/WaitlistSection.tsx:163",className:"h-4 w-4"})]})]})]}),f.jsx("p",{"data-loc":"client/src/components/sections/WaitlistSection.tsx:168",className:"text-xs text-white/25 mt-4",children:"No spam. Unsubscribe anytime. We respect your privacy."})]})})})})]})}function Ene(){const[e,t]=O.useState({name:"",email:"",subject:"",message:""}),[n,r]=O.useState(!1),a=je.landing.submitContact.useMutation({onSuccess:g=>{r(!0),$e.success(g.message)},onError:g=>{$e.error(g.message||"Something went wrong. Please try again.")}});function i(g){g.preventDefault(),a.mutate(e)}function o(g){return p=>{t(b=>({...b,[g]:p.target.value}))}}const c={background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",color:"white"};function u(g){g.currentTarget.style.borderColor="rgba(129,134,64,0.5)",g.currentTarget.style.boxShadow="0 0 0 2px rgba(129,134,64,0.12)"}function h(g){g.currentTarget.style.borderColor="rgba(255,255,255,0.1)",g.currentTarget.style.boxShadow="none"}return f.jsxs("section",{"data-loc":"client/src/components/sections/ContactSection.tsx:48",id:"contact",className:"relative py-28 overflow-hidden",children:[f.jsx("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:49",className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, #1F1E1C 0%, #0c0e20 50%, #1F1E1C 100%)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:53",className:"absolute pointer-events-none",style:{top:"20%",right:"-5%",width:"40vw",height:"40vw",background:"radial-gradient(ellipse, rgba(6,148,148,0.08) 0%, transparent 70%)",filter:"blur(60px)"}}),f.jsx("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:63",className:"container relative z-10",children:f.jsxs("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:64",className:"max-w-2xl mx-auto",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:66",className:"text-center mb-12",children:[f.jsxs("span",{"data-loc":"client/src/components/sections/ContactSection.tsx:67",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-4",style:{background:"rgba(6,148,148,0.12)",border:"1px solid rgba(6,148,148,0.3)",color:"#6ee7e7"},children:[f.jsx(g0,{"data-loc":"client/src/components/sections/ContactSection.tsx:75",className:"h-3 w-3"}),"Get in touch"]}),f.jsxs("h2",{"data-loc":"client/src/components/sections/ContactSection.tsx:78",className:"font-display font-bold text-3xl lg:text-4xl text-white leading-tight",children:["Have a question?"," ",f.jsx("span",{"data-loc":"client/src/components/sections/ContactSection.tsx:80",className:"text-gradient-brand",children:"We'd love to hear from you."})]}),f.jsx("p",{"data-loc":"client/src/components/sections/ContactSection.tsx:82",className:"mt-4 text-white/50",children:"Whether it's a partnership, a feature request, or just saying hello â we respond within 24 hours."})]}),f.jsx("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:88",className:"rounded-3xl p-8",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(129,134,64,0.2)"},children:n?f.jsxs("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:96",className:"flex flex-col items-center gap-4 py-8 text-center",children:[f.jsx("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:97",className:"flex h-16 w-16 items-center justify-center rounded-2xl",style:{background:"rgba(6,148,148,0.15)",border:"1px solid rgba(6,148,148,0.3)"},children:f.jsx(df,{"data-loc":"client/src/components/sections/ContactSection.tsx:101",className:"h-8 w-8 text-[#069494]"})}),f.jsx("h3",{"data-loc":"client/src/components/sections/ContactSection.tsx:103",className:"font-display font-bold text-xl text-white",children:"Message sent!"}),f.jsx("p",{"data-loc":"client/src/components/sections/ContactSection.tsx:104",className:"text-white/55 text-sm max-w-sm leading-relaxed",children:"We've received your message and will get back to you within 24 hours."}),f.jsx(He,{"data-loc":"client/src/components/sections/ContactSection.tsx:107",variant:"ghost",size:"sm",onClick:()=>{r(!1),t({name:"",email:"",subject:"",message:""})},className:"text-white/50 hover:text-white/80 mt-2",children:"Send another message"})]}):f.jsxs("form",{"data-loc":"client/src/components/sections/ContactSection.tsx:117",onSubmit:i,className:"flex flex-col gap-4",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:118",className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:119",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/components/sections/ContactSection.tsx:120",className:"text-xs font-medium text-white/50",children:"Your name *"}),f.jsx("input",{"data-loc":"client/src/components/sections/ContactSection.tsx:121",type:"text",value:e.name,onChange:o("name"),placeholder:"Jane Director",required:!0,className:"px-4 py-3 rounded-xl text-sm placeholder:text-white/25 outline-none transition-all",style:c,onFocus:u,onBlur:h})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:133",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/components/sections/ContactSection.tsx:134",className:"text-xs font-medium text-white/50",children:"Email address *"}),f.jsx("input",{"data-loc":"client/src/components/sections/ContactSection.tsx:135",type:"email",value:e.email,onChange:o("email"),placeholder:"[email protected]",required:!0,className:"px-4 py-3 rounded-xl text-sm placeholder:text-white/25 outline-none transition-all",style:c,onFocus:u,onBlur:h})]})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:149",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/components/sections/ContactSection.tsx:150",className:"text-xs font-medium text-white/50",children:"Subject *"}),f.jsx("input",{"data-loc":"client/src/components/sections/ContactSection.tsx:151",type:"text",value:e.subject,onChange:o("subject"),placeholder:"Partnership inquiry, feature request, general questionâ¦",required:!0,className:"px-4 py-3 rounded-xl text-sm placeholder:text-white/25 outline-none transition-all",style:c,onFocus:u,onBlur:h})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:164",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/components/sections/ContactSection.tsx:165",className:"text-xs font-medium text-white/50",children:"Message *"}),f.jsx("textarea",{"data-loc":"client/src/components/sections/ContactSection.tsx:166",value:e.message,onChange:o("message"),placeholder:"Tell us what's on your mindâ¦",required:!0,rows:5,className:"px-4 py-3 rounded-xl text-sm placeholder:text-white/25 outline-none transition-all resize-none",style:c,onFocus:u,onBlur:h})]}),f.jsx(He,{"data-loc":"client/src/components/sections/ContactSection.tsx:179",type:"submit",disabled:a.isPending,className:"btn-primary-gradient rounded-xl h-12 font-semibold gap-2 mt-1",children:a.isPending?f.jsx(f.Fragment,{children:"Sendingâ¦"}):f.jsxs(f.Fragment,{children:[f.jsx(_c,{"data-loc":"client/src/components/sections/ContactSection.tsx:188",className:"h-4 w-4"}),"Send message"]})})]})}),f.jsxs("div",{"data-loc":"client/src/components/sections/ContactSection.tsx:198",className:"flex items-center justify-center gap-2 mt-6",children:[f.jsx(AS,{"data-loc":"client/src/components/sections/ContactSection.tsx:199",className:"h-4 w-4 text-white/30"}),f.jsxs("p",{"data-loc":"client/src/components/sections/ContactSection.tsx:200",className:"text-sm text-white/35",children:["Or email us directly at"," ",f.jsx("a",{"data-loc":"client/src/components/sections/ContactSection.tsx:202",href:"mailto:[email protected]",className:"text-white/60 hover:text-white/90 transition-colors underline underline-offset-2",children:"[email protected]"})]})]})]})})]})}const wne={Platform:[{label:"Features",href:"#features",live:!0},{label:"Pricing",href:"#pricing",live:!0},{label:"AI Demo",href:"#demo",live:!0},{label:"API Docs",href:null,live:!1},{label:"Changelog",href:null,live:!1}],Creators:[{label:"Filmmakers",href:"#features",live:!0},{label:"Students",href:"#pricing",live:!0},{label:"AI Developers",href:"#features",live:!0},{label:"Teams",href:"#pricing",live:!0},{label:"Enterprise",href:null,live:!1}],Resources:[{label:"Blog",href:null,live:!1},{label:"Tutorials",href:null,live:!1},{label:"Community",href:null,live:!1},{label:"Status",href:null,live:!1},{label:"Support",href:"#contact",live:!0}],Legal:[{label:"Privacy Policy",href:null,live:!1},{label:"Terms of Service",href:null,live:!1},{label:"Cookie Policy",href:null,live:!1},{label:"Security",href:null,live:!1}]},Sne=[{icon:OS,label:"Twitter",href:"#"},{icon:CP,label:"GitHub",href:"#"},{icon:ej,label:"YouTube",href:"#"},{icon:TS,label:"Instagram",href:"#"}];function Tne(){const[e,t]=O.useState(""),[n,r]=O.useState(!1),a=je.landing.joinWaitlist.useMutation({onSuccess:()=>{r(!0),t(""),$e.success("You're on the list! We'll be in touch soon.")},onError:c=>{$e.error(c.message||"Something went wrong. Please try again.")}});function i(c){c.preventDefault();const u=e.trim();u&&a.mutate({email:u,source:"footer_newsletter"})}function o(c){if(!c.startsWith("#"))return;const u=c.replace("#","");document.getElementById(u)?.scrollIntoView({behavior:"smooth"})}return f.jsxs("footer",{"data-loc":"client/src/components/sections/FooterSection.tsx:73",className:"relative pt-20 pb-10 overflow-hidden",style:{background:"linear-gradient(180deg, #1F1E1C 0%, #08061a 100%)",borderTop:"1px solid rgba(129,134,64,0.15)"},children:[f.jsx("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:80",className:"absolute pointer-events-none",style:{bottom:0,left:"50%",transform:"translateX(-50%)",width:"60vw",height:"30vw",background:"radial-gradient(ellipse, rgba(129,134,64,0.06) 0%, transparent 70%)",filter:"blur(60px)"}}),f.jsxs("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:90",className:"container relative z-10",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:92",className:"flex flex-col lg:flex-row gap-12 lg:items-start justify-between mb-16",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:94",className:"lg:max-w-xs",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:95",className:"flex items-center gap-2.5 mb-4",children:[f.jsx("span",{"data-loc":"client/src/components/sections/FooterSection.tsx:96",className:"flex h-9 w-9 items-center justify-center rounded-xl",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(xa,{"data-loc":"client/src/components/sections/FooterSection.tsx:100",className:"h-4.5 w-4.5 text-white"})}),f.jsxs("span",{"data-loc":"client/src/components/sections/FooterSection.tsx:102",className:"font-display font-bold text-lg text-white",children:["Creator",f.jsx("span",{"data-loc":"client/src/components/sections/FooterSection.tsx:103",className:"text-gradient-brand",children:"AI"})," Hub"]})]}),f.jsx("p",{"data-loc":"client/src/components/sections/FooterSection.tsx:106",className:"text-sm text-white/45 leading-relaxed mb-5",children:"Democratizing AI tools for independent filmmakers and creators. The GitHub + Canva + AI Studio for cinema."}),f.jsx("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:109",className:"flex gap-3",children:Sne.map(({icon:c,label:u,href:h})=>f.jsx("a",{"data-loc":"client/src/components/sections/FooterSection.tsx:111",href:h,"aria-label":u,className:"flex h-9 w-9 items-center justify-center rounded-lg text-white/40 hover:text-white transition-colors",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.08)"},children:f.jsx(c,{"data-loc":"client/src/components/sections/FooterSection.tsx:118",className:"h-4 w-4"})},u))})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:125",className:"lg:max-w-sm",children:[f.jsxs("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:126",className:"flex items-center gap-2 mb-2",children:[f.jsx(AS,{"data-loc":"client/src/components/sections/FooterSection.tsx:127",className:"h-4 w-4 text-[#a8ae52]"}),f.jsx("h3",{"data-loc":"client/src/components/sections/FooterSection.tsx:128",className:"font-display font-semibold text-white text-sm",children:"Stay in the loop"})]}),f.jsx("p",{"data-loc":"client/src/components/sections/FooterSection.tsx:130",className:"text-xs text-white/45 mb-4 leading-relaxed",children:"Get early access updates, new model announcements, and filmmaker tips â no spam, ever."}),n?f.jsxs("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:134",className:"flex items-center gap-2 px-4 py-3 rounded-xl text-sm",style:{background:"rgba(6,148,148,0.12)",border:"1px solid rgba(6,148,148,0.3)",color:"#6ee7e7"},children:[f.jsx("span",{"data-loc":"client/src/components/sections/FooterSection.tsx:138",children:"â"})," You're on the list! We'll be in touch."]}):f.jsxs("form",{"data-loc":"client/src/components/sections/FooterSection.tsx:141",onSubmit:i,className:"flex gap-2",children:[f.jsx("input",{"data-loc":"client/src/components/sections/FooterSection.tsx:142",type:"email",value:e,onCh
1052ange:c=>t(c.target.value),placeholder:"[email protected]",required:!0,className:"flex-1 px-4 py-2.5 rounded-xl text-sm text-white placeholder:text-white/30 outline-none focus:ring-2",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"}}),f.jsx(He,{"data-loc":"client/src/components/sections/FooterSection.tsx:154",type:"submit",size:"sm",disabled:a.isPending,className:"btn-primary-gradient rounded-xl px-4 shrink-0",children:f.jsx(rm,{"data-loc":"client/src/components/sections/FooterSection.tsx:160",className:"h-4 w-4"})})]})]})]}),f.jsx("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:168",className:"grid grid-cols-2 md:grid-cols-4 gap-8 mb-14",children:Object.entries(wne).map(([c,u])=>f.jsxs("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:170",children:[f.jsx("h4",{"data-loc":"client/src/components/sections/FooterSection.tsx:171",className:"font-display font-semibold text-xs text-white/60 uppercase tracking-widest mb-4",children:c}),f.jsx("ul",{"data-loc":"client/src/components/sections/FooterSection.tsx:174",className:"flex flex-col gap-2.5",children:u.map(h=>f.jsx("li",{"data-loc":"client/src/components/sections/FooterSection.tsx:176",children:h.live?h.href&&h.href.startsWith("#")?f.jsx("button",{"data-loc":"client/src/components/sections/FooterSection.tsx:183",onClick:()=>o(h.href),className:"text-sm text-white/40 hover:text-white/80 transition-colors text-left",children:h.label}):f.jsx("a",{"data-loc":"client/src/components/sections/FooterSection.tsx:190",href:h.href??"#",className:"text-sm text-white/40 hover:text-white/80 transition-colors",children:h.label}):f.jsxs("span",{"data-loc":"client/src/components/sections/FooterSection.tsx:178",className:"text-sm text-white/25 flex items-center gap-1",children:[h.label,f.jsx("span",{"data-loc":"client/src/components/sections/FooterSection.tsx:180",className:"text-[10px] text-white/20 italic",children:"soon"})]})},h.label))})]},c))}),f.jsx("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:205",className:"section-divider mb-8"}),f.jsxs("div",{"data-loc":"client/src/components/sections/FooterSection.tsx:208",className:"flex flex-col sm:flex-row items-center justify-between gap-4",children:[f.jsxs("p",{"data-loc":"client/src/components/sections/FooterSection.tsx:209",className:"text-xs text-white/25",children:["© ",new Date().getFullYear()," Creator AI Hub. All rights reserved."]}),f.jsx("p",{"data-loc":"client/src/components/sections/FooterSection.tsx:212",className:"text-xs text-white/25",children:"Built for independent filmmakers, students, and creators worldwide."})]})]})]})}const Mo=[{quote:"The stuff that dreams are made of.",film:"The Maltese Falcon",year:1941},{quote:"Get busy living, or get busy dying.",film:"The Shawshank Redemption",year:1994},{quote:"Every passing minute is another chance to turn it all around.",film:"Vanilla Sky",year:2001},{quote:"The world is a fine place and worth fighting for.",film:"Seven",year:1995},{quote:"Hope is a good thing, maybe the best of things, and no good thing ever dies.",film:"The Shawshank Redemption",year:1994},{quote:"All those moments will be lost in time, like tears in rain.",film:"Blade Runner",year:1982},{quote:"You is kind, you is smart, you is important.",film:"The Help",year:2011},{quote:"Carpe diem. Seize the day, boys. Make your lives extraordinary.",film:"Dead Poets Society",year:1989},{quote:"It ain't about how hard you hit. It's about how hard you can get hit and keep moving forward.",film:"Rocky Balboa",year:2006},{quote:"To infinity and beyond!",film:"Toy Story",year:1995},{quote:"Just keep swimming.",film:"Finding Nemo",year:2003},{quote:"Life is like a box of chocolates. You never know what you're gonna get.",film:"Forrest Gump",year:1994},{quote:"Why so serious?",film:"The Dark Knight",year:2008},{quote:"I am inevitable.",film:"Avengers: Endgame",year:2019},{quote:"Do. Or do not. There is no try.",film:"Star Wars: The Empire Strikes Back",year:1980},{quote:"You can't handle the truth!",film:"A Few Good Men",year:1992},{quote:"I'll be back.",film:"The Terminator",year:1984},{quote:"Here's looking at you, kid.",film:"Casablanca",year:1942},{quote:"After all, tomorrow is another day!",film:"Gone with the Wind",year:1939},{quote:"I'm the king of the world!",film:"Titanic",year:1997},{quote:"May the Force be with you.",film:"Star Wars: A New Hope",year:1977},{quote:"You talking to me?",film:"Taxi Driver",year:1976},{quote:"There's no place like home.",film:"The Wizard of Oz",year:1939},{quote:"To boldly go where no man has gone before.",film:"Star Trek: The Motion Picture",year:1979},{quote:"Keep your friends close, but your enemies closer.",film:"The Godfather Part II",year:1974},{quote:"I see dead people.",film:"The Sixth Sense",year:1999},{quote:"Elementary, my dear Watson.",film:"The Adventures of Sherlock Holmes",year:1939},{quote:"Roads? Where we're going we don't need roads.",film:"Back to the Future",year:1985},{quote:"They may take our lives, but they'll never take our freedom!",film:"Braveheart",year:1995},{quote:"I feel the need â the need for speed!",film:"Top Gun",year:1986}];function yE(){const e=Math.floor((Date.now()-new Date(new Date().getFullYear(),0,0).getTime())/864e5);return Mo[e%Mo.length]}function kne(){const[e,t]=O.useState(yE),[n,r]=O.useState(()=>Mo.indexOf(yE())),[a,i]=O.useState(!1),o=O.useCallback(()=>{i(!0),setTimeout(()=>{const c=(n+1)%Mo.length;r(c),t(Mo[c]),i(!1)},280)},[n]);return O.useEffect(()=>{const c=setInterval(o,12e3);return()=>clearInterval(c)},[o]),f.jsxs("section",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:69",className:"relative py-20 overflow-hidden",style:{background:"linear-gradient(135deg, rgba(129,134,64,0.12) 0%, rgba(13,10,30,0.0
1052) 50%, rgba(6,148,148,0.10) 100%)",borderTop:"1px solid rgba(255,255,255,0.05)",borderBottom:"1px solid rgba(255,255,255,0.05)"},children:[f.jsx("div",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:79",className:"absolute left-8 top-6 text-[10rem] leading-none font-serif pointer-events-none select-none",style:{color:"rgba(129,134,64,0.08)",lineHeight:1},"aria-hidden":"true",children:"â"}),f.jsx("div",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:86",className:"absolute right-8 bottom-4 text-[10rem] leading-none font-serif pointer-events-none select-none",style:{color:"rgba(6,148,148,0.06)",lineHeight:1},"aria-hidden":"true",children:"â"}),f.jsxs("div",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:94",className:"max-w-4xl mx-auto px-6 text-center relative z-10",children:[f.jsx("div",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:96",className:"inline-flex items-center gap-2 mb-8",children:f.jsx("span",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:97",className:"text-xs font-semibold tracking-widest uppercase px-3 py-1 rounded-full",style:{background:"rgba(129,134,64,0.18)",color:"rgba(167,139,250,1)",border:"1px solid rgba(129,134,64,0.3)"},children:"ð¬ Quote of the Day"})}),f.jsxs("div",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:110",className:"transition-all duration-300",style:{opacity:a?0:1,transform:a?"translateY(8px)":"translateY(0)"},children:[f.jsxs("blockquote",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:114",className:"font-display text-2xl md:text-4xl font-bold leading-tight mb-6",style:{color:"rgba(255,255,255,0.92)"},children:["â",e.quote,"â"]}),f.jsxs("p",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:120",className:"text-base font-medium",style:{color:"rgba(94,234,212,0.85)"},children:["â ",e.film,f.jsxs("span",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:125",style:{color:"rgba(255,255,255,0.3)"},children:[" (",e.year,")"]})]})]}),f.jsxs("div",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:130",className:"flex items-center justify-center gap-3 mt-10",children:[f.jsx("div",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:131",className:"flex gap-1.5",children:Mo.slice(0,8).map((c,u)=>f.jsx("button",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:133",onClick:()=>{i(!0),setTimeout(()=>{r(u),t(Mo[u]),i(!1)},280)},className:"w-1.5 h-1.5 rounded-full transition-all duration-300",style:{background:u===n%8?"rgba(167,139,250,1)":"rgba(255,255,255,0.15)",transform:u===n%8?"scale(1.4)":"scale(1)"},"aria-label":`Quote ${u+1}`},u))}),f.jsx("button",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:148",onClick:o,className:"ml-3 p-1.5 rounded-full transition-all duration-200 hover:scale-110 active:scale-95",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",color:"rgba(255,255,255,0.5)"},"aria-label":"Next quote",children:f.jsx(Qs,{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:158",className:"h-3.5 w-3.5"})})]}),f.jsxs("p",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:163",className:"mt-8 text-sm",style:{color:"rgba(255,255,255,0.3)"},children:["A new quote every day â or"," ",f.jsx("button",{"data-loc":"client/src/components/sections/QuoteOfTheDaySection.tsx:165",onClick:o,className:"underline underline-offset-2 transition-colors hover:text-[#c4c96a]",style:{color:"rgba(167,139,250,0.7)"},children:"shuffle for inspiration"})]})]})]})}function _ne(){return f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:16",className:"min-h-screen",style:{background:"#1F1E1C"},children:[f.jsx(Nj,{"data-loc":"client/src/pages/Home.tsx:17"}),f.jsx(Rj,{"data-loc":"client/src/pages/Home.tsx:18"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:19",className:"section-divider"}),f.jsx(Lj,{"data-loc":"client/src/pages/Home.tsx:20"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:21",className:"section-divider"}),f.jsx(one,{"data-loc":"client/src/pages/Home.tsx:22"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:23",className:"section-divider"}),f.jsx(cne,{"data-loc":"client/src/pages/Home.tsx:24"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:25",className:"section-divider"}),f.jsx(hne,{"data-loc":"client/src/pages/Home.tsx:26"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:27",className:"section-divider"}),f.jsx(pne,{"data-loc":"client/src/pages/Home.tsx:28"}),f.jsx(kne,{"data-loc":"client/src/pages/Home.tsx:29"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:30",className:"section-divider"}),f.jsx(bne,{"data-loc":"client/src/pages/Home.tsx:31"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:32",className:"section-divider"}),f.jsx(vne,{"data-loc":"client/src/pages/Home.tsx:33"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:34",className:"section-divider"}),f.jsx(Ene,{"data-loc":"client/src/pages/Home.tsx:35"}),f.jsx(Tne,{"data-loc":"client/src/pages/Home.tsx:36"})]})}const Ane=[{href:"/studio",label:"Studio"},{href:"/conversations",label:"Conversations"},{href:"/source-packs",label:"Source Packs"},{href:"/agent-tools",label:"Agent Tools"},{href:"/budget",label:"Budget"},{href:"/mentors",label:"Programs"},{href:"/image-enhancement",label:"Image AI"},{href:"/video-enhancement",label:"Video Analysis"}];function Nne(){const{user:e,isAuthenticated:t}=cs(),[n]=zS(),[r,a]=O.useState(!1),i=O.useRef(null),o=je.auth.logout.useMutation({onSuccess:()=>{window.location.href="/"},onError:()=>$e.error("Could not sign out")});return O.useEffect(()=>{function c(u){i.current&&!i.current.contains(u.target)&&a(!1)}return document.addEventListener("mousedown",c),()=>document.removeEventListener("mousedown",c)}
1052,[]),f.jsx("nav",{"data-loc":"client/src/components/AppLayout.tsx:42",className:"sticky top-0 z-50 border-b",style:{background:"rgba(13,10,30,0.92)",backdropFilter:"blur(16px)",borderColor:"rgba(129,134,64,0.15)"},children:f.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:50",className:"container flex items-center justify-between h-14 gap-4",children:[f.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:52",className:"flex items-center gap-4",children:[f.jsxs(Cr,{"data-loc":"client/src/components/AppLayout.tsx:53",href:"/",className:"flex items-center gap-2 group",children:[f.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:54",className:"flex h-7 w-7 items-center justify-center rounded-lg",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(xa,{"data-loc":"client/src/components/AppLayout.tsx:58",className:"h-3.5 w-3.5 text-white"})}),f.jsxs("span",{"data-loc":"client/src/components/AppLayout.tsx:60",className:"font-display font-bold text-sm hidden sm:block",style:{color:"rgba(255,255,255,0.9)"},children:["Creator",f.jsx("span",{"data-loc":"client/src/components/AppLayout.tsx:64",style:{color:"#6ee7e7"},children:"AI"})," Hub"]})]}),f.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:67",className:"h-4 w-px bg-white/10 hidden sm:block"}),f.jsxs(Cr,{"data-loc":"client/src/components/AppLayout.tsx:68",href:"/",className:"flex items-center gap-1 text-xs text-white/40 hover:text-white/70 transition-colors hidden sm:flex",children:[f.jsx(SS,{"data-loc":"client/src/components/AppLayout.tsx:69",className:"h-3 w-3"}),"Home"]})]}),f.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:75",className:"flex items-center gap-1 overflow-x-auto scrollbar-none",children:Ane.map(c=>{const u=n===c.href;return f.jsx(Cr,{"data-loc":"client/src/components/AppLayout.tsx:79",href:c.href,className:"px-3 py-1.5 rounded-lg text-xs font-medium whitespace-nowrap transition-all",style:{background:u?"rgba(129,134,64,0.2)":"transparent",color:u?"#c4c96a":"rgba(255,255,255,0.5)",border:u?"1px solid rgba(129,134,64,0.35)":"1px solid transparent"},children:c.label},c.href)})}),t&&e?f.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:95",className:"relative",ref:i,children:[f.jsxs("button",{"data-loc":"client/src/components/AppLayout.tsx:96",onClick:()=>a(c=>!c),className:"flex items-center gap-2 px-3 py-1.5 rounded-xl text-xs font-medium transition-all hover:bg-white/5",style:{color:"rgba(255,255,255,0.7)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:101",className:"h-5 w-5 rounded-full flex items-center justify-center text-[10px] font-bold",style:{background:"linear-gradient(135deg, #818640, #069494)",color:"white"},children:(e.name??"U")[0].toUpperCase()}),f.jsx("span",{"data-loc":"client/src/components/AppLayout.tsx:107",className:"hidden sm:block max-w-[100px] truncate",children:e.name??"User"}),f.jsx(tl,{"data-loc":"client/src/components/AppLayout.tsx:108",className:"h-3 w-3 opacity-50"})]}),r&&f.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:111",className:"absolute right-0 top-full mt-2 w-44 rounded-xl py-1 z-50",style:{background:"rgba(18,12,40,0.98)",border:"1px solid rgba(129,134,64,0.25)",boxShadow:"0 8px 32px rgba(0,0,0,0.5)"},children:[e.role==="admin"&&f.jsxs(Cr,{"data-loc":"client/src/components/AppLayout.tsx:120",href:"/admin/quotes",className:"w-full flex items-center gap-2 px-4 py-2.5 text-xs text-[#a8ae52] hover:text-[#c4c96a] hover:bg-white/5 transition-colors",children:[f.jsx(QP,{"data-loc":"client/src/components/AppLayout.tsx:124",className:"h-3.5 w-3.5"}),"Admin: Quotes"]}),f.jsxs("button",{"data-loc":"client/src/components/AppLayout.tsx:128",onClick:()=>o.mutate(),disabled:o.isPending,className:"w-full flex items-center gap-2 px-4 py-2.5 text-xs text-white/60 hover:text-white/90 hover:bg-white/5 transition-colors",children:[f.jsx(BP,{"data-loc":"client/src/components/AppLayout.tsx:133",className:"h-3.5 w-3.5"}),"Sign out"]})]})]}
1052):f.jsx("a",{"data-loc":"client/src/components/AppLayout.tsx:140",href:Ja(),children:f.jsx(He,{"data-loc":"client/src/components/AppLayout.tsx:141",size:"sm",className:"btn-primary-gradient rounded-lg text-xs h-8 px-4",children:"Sign in"})})]})})}function Cne({children:e}){const{isAuthenticated:t,loading:n}=cs();return n?f.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:156",className:"flex-1 flex items-center justify-center min-h-[60vh]",children:f.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:157",className:"flex flex-col items-center gap-4",children:[f.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:158",className:"h-10 w-10 rounded-xl flex items-center justify-center",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(Ut,{"data-loc":"client/src/components/AppLayout.tsx:162",className:"h-5 w-5 text-white animate-pulse"})}),f.jsx("p",{"data-loc":"client/src/components/AppLayout.tsx:164",className:"text-sm text-white/40",children:"Loadingâ¦"})]})}):t?f.jsx(f.Fragment,{children:e}):f.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:172",className:"flex-1 flex items-center justify-center min-h-[60vh] px-4",children:f.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:173",className:"max-w-sm w-full rounded-2xl p-8 text-center",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(129,134,64,0.2)"},children:[f.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:180",className:"h-14 w-14 rounded-2xl flex items-center justify-center mx-auto mb-5",style:{background:"linear-gradient(135deg, rgba(129,134,64,0.3), rgba(6,148,148,0.3))"},children:f.jsx(xa,{"data-loc":"client/src/components/AppLayout.tsx:184",className:"h-7 w-7 text-[#c4c96a]"})}),f.jsx("h2",{"data-loc":"client/src/components/AppLayout.tsx:186",className:"font-display font-bold text-xl text-white mb-2",children:"Sign in to continue"}),f.jsx("p",{"data-loc":"client/src/components/AppLayout.tsx:187",className:"text-sm text-white/50 leading-relaxed mb-6",children:"Create a free account to access all Creator AI Hub tools â 100 free AI requests per day, no credit card required."}),f.jsx("a",{"data-loc":"client/src/components/AppLayout.tsx:190",href:Ja(),className:"block",children:f.jsxs(He,{"data-loc":"client/src/components/AppLayout.tsx:191",className:"btn-primary-gradient w-full rounded-xl h-11 font-semibold",children:[f.jsx(Ut,{"data-loc":"client/src/components/AppLayout.tsx:192",className:"h-4 w-4 mr-2"}),"Get started free"]})}),f.jsxs(Cr,{"data-loc":"client/src/components/AppLayout.tsx:196",href:"/",className:"flex items-center justify-center gap-1.5 mt-4 text-xs text-white/35 hover:text-white/60 transition-colors",children:[f.jsx(xP,{"data-loc":"client/src/components/AppLayout.tsx:197",className:"h-3 w-3"}),"Back to home"]})]})})}function is({children:e,requireAuth:t=!0}){return f.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:215",className:"min-h-screen flex flex-col",style:{background:"linear-gradient(145deg, #1F1E1C 0%, #100c28 50%, #151c1c 100%)"},children:[f.jsx(Nne,{"data-loc":"client/src/components/AppLayout.tsx:219"}),f.jsx("main",{"data-loc":"client/src/components/AppLayout.tsx:220",className:"flex-1 flex flex-col",children:t?f.jsx(Cne,{"data-loc":"client/src/components/AppLayout.tsx:221",children:e}):e})]})}function One(){const{isAuthenticated:e}=cs(),[t,n]=O.useState(null),[r,a]=O.useState(""),[i,o]=O.useState([]),[c,u]=O.useState("auto"),[h,g]=O.useState(),p=O.useRef(null),b=je.useUtils(),{data:y=[],isLoading:w}=je.conversations.list.useQuery(void 0,{enabled:e}),{data:T=[]}=je.sourcePacks.list.useQuery(void 0,{enabled:e}),{data:A=[]}=je.conversations.messages.useQuery({conversationId:t},{enabled:!!t}),N=je.conversations.create.useMutation({onSuccess:M=>{b.conversations.list.invalidate(),n(M.id),o([])}}),R=je.conversations.delete.useMutation({onSuccess:()=>{b.conversations.list.invalidate(),n(null),o([])}}),z=je.conversations.chat.useMutation({onSuccess:M=>{o(V=>[...V,{role:"assistant",content:M.reply}]),b.conversations.list.invalidate()},onError:M=>{$e.error(M.message||"Failed to get response"),o(V=>V.slice(0,-1))}});O.useEffect(()=>{A.length>0?o(A.map(M=>({role:M.role,content:M.content}))):o([])},[t,A.length]),O.useEffect(()=>{p.current?.scrollIntoView({behavior:"smooth"})},[i]);async function W(){N.mutate({title:"New conversation",model:c}
1052)}async function q(){if(!r.trim()||!t||z.isPending)return;const M=r.trim();a(""),o(V=>[...V,{role:"user",content:M}]),z.mutate({conversationId:t,userMessage:M,model:c,sourcePackId:h})}const C=y.find(M=>M.id===t);return f.jsx(is,{"data-loc":"client/src/pages/ConversationLibrary.tsx:86",children:f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:87",className:"flex flex-col",style:{height:"calc(100vh - 56px)"},children:[f.jsxs("header",{"data-loc":"client/src/pages/ConversationLibrary.tsx:89",className:"flex items-center gap-4 px-4 py-2.5 border-b shrink-0",style:{borderColor:"rgba(255,255,255,0.07)",background:"rgba(13,10,30,0.6)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:90",className:"flex items-center gap-2",children:[f.jsx(g0,{"data-loc":"client/src/pages/ConversationLibrary.tsx:91",className:"h-4 w-4 text-[#a8ae52]"}),f.jsx("span",{"data-loc":"client/src/pages/ConversationLibrary.tsx:92",className:"font-display font-semibold text-white text-sm",children:"Conversation Library"})]}),f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:94",className:"ml-auto flex items-center gap-3",children:f.jsx(ed,{"data-loc":"client/src/pages/ConversationLibrary.tsx:95",value:c,onChange:u,compact:!0})})]}),f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:99",className:"flex flex-1 overflow-hidden",style:{height:"calc(100vh - 57px)"},children:[f.jsxs("aside",{"data-loc":"client/src/pages/ConversationLibrary.tsx:101",className:"w-64 shrink-0 flex flex-col border-r overflow-y-auto",style:{borderColor:"rgba(255,255,255,0.07)",background:"rgba(255,255,255,0.02)"},children:[f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:102",className:"p-3",children:f.jsxs(He,{"data-loc":"client/src/pages/ConversationLibrary.tsx:103",onClick:W,disabled:N.isPending,className:"w-full btn-primary-gradient rounded-xl h-9 text-sm gap-2",children:[f.jsx(P0,{"data-loc":"client/src/pages/ConversationLibrary.tsx:104",className:"h-4 w-4"})," New conversation"]})}),T.length>0&&f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:110",className:"px-3 pb-3",children:[f.jsx("label",{"data-loc":"client/src/pages/ConversationLibrary.tsx:111",className:"text-[10px] text-white/30 uppercase tracking-widest mb-1.5 block",children:"Source context"}),f.jsxs("select",{"data-loc":"client/src/pages/ConversationLibrary.tsx:112",value:h??"",onChange:M=>g(M.target.value?Number(M.target.value):void 0),className:"w-full px-2 py-1.5 rounded-lg text-xs text-white/70 outline-none",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"},children:[f.jsx("option",{"data-loc":"client/src/pages/ConversationLibrary.tsx:118",value:"",children:"No source pack"}),T.map(M=>f.jsx("option",{"data-loc":"client/src/pages/ConversationLibrary.tsx:119",value:M.id,children:M.name},M.id))]})]}),f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:124",className:"px-3 pb-2",children:f.jsx("p",{"data-loc":"client/src/pages/ConversationLibrary.tsx:125",className:"text-[10px] text-white/30 uppercase tracking-widest mb-2",children:"Conversations"})}),w?f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:129",className:"flex justify-center py-4",children:f.jsx(Jt,{"data-loc":"client/src/pages/ConversationLibrary.tsx:129",className:"h-4 w-4 animate-spin text-white/30"})}):y.length===0?f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:131",className:"px-3 py-4 text-center",children:[f.jsx("p",{"data-loc":"client/src/pages/ConversationLibrary.tsx:132",className:"text-xs text-white/30",children:"No conversations yet."}),f.jsx("p",{"data-loc":"client/src/pages/ConversationLibrary.tsx:133",className:"text-xs text-white/20 mt-1",children:"Start a new one above."})]}):f.jsx("ul",{"data-loc":"client/src/pages/ConversationLibrary.tsx:136",className:"flex flex-col gap-0.5 px-2 pb-4",children:y.map(M=>f.jsx("li",{"data-loc":"client/src/pages/ConversationLibrary.tsx:138",children:f.jsxs("button",{"data-loc":"client/src/pages/ConversationLibrary.tsx:139",onClick:()=>n(M.id),className:"w-full text-left px-3 py-2.5 rounded-xl flex items-start gap-2 group transition-all",style:{background:t===M.id?"rgba(129,134,64,0.18)":"transparent",border:t===M.id?"1px solid rgba(129,134,64,0.3)":"1px solid transparent"},children:[f.jsx(g0,{"data-loc":"client/src/pages/ConversationLibrary.tsx:147",className:"h-3.5 w-3.5 text-white/30 mt-0.5 shrink-0"}),f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:148",className:"flex-1 min-w-0",children:[f.jsx("p",{"data-loc":"client/src/pages/ConversationLibrary.tsx:149",className:"text-xs text-white/70 truncate leading-snug",children:M.title}),f.jsx("p",{"data-loc":"client/src/pages/ConversationLibrary.tsx:150",className:"text-[10px] text-white/25 mt-0.5",children:new Date(M.updatedAt).toLocaleDateString()})]}),f.jsx("button",{"data-loc":"client/src/pages/ConversationLibrary.tsx:152",onClick:V=>{V.stopPropagation(),R.mutate({id:M.id})},className:"opacity-0 group-hover:opacity-100 transition-opacity p-0.5 rounded text-white/30 hover:text-red-400",children:f.jsx(Vo,{"data-loc":"client/src/pages/ConversationLibrary.tsx:156",className:"h-3 w-3"})})]})},M.id))})]}),f.jsx("main",{"data-loc":"client/src/pages/ConversationLibrary.tsx:166",className:"flex-1 flex flex-col overflow-hidden",children:t?f.jsxs(f.Fragment,{children:[f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:192",className:"px-6 py-3 border-b flex items-center gap-3",style:{borderColor:"rgba(255,255,255,0.07)"},children:[f.jsx(sg,{"data-loc":"client/src/pages/ConversationLibrary.tsx:193",className:"h-4 w-4 text-[#a8ae52]"}),f.jsx("span",{"data-loc":"client/src/pages/ConversationLibrary.tsx:194",className:"text-sm font-medium text-white/70 truncate",children:C?.title??"Conversation"}),h&&f.jsxs("span",{"data-loc":"client/src/pages/ConversationLibrary.tsx:196",className:"ml-auto flex items-center gap-1 text-[10px] text-[#069494]/70 px-2 py-0.5 rounded-full",style:{background:"rgba(6,148,148,0.1)",border:"1px solid rgba(6,148,148,0.2)"},children:[f.jsx(L0,{"data-loc":"client/src/pages/ConversationLibrary.tsx:197",className:"h-3 w-3"})," Source pack active"]})]}),f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:203",className:"flex-1 overflow-y-auto px-4 py-6 flex flex-col gap-5",children:[i.length===0&&f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:205",className:"text-center py-8",children:f.jsx("p",{"data-loc":"client/src/pages/ConversationLibrary.tsx:206",className:"text-white/25 text-sm",children:"Send a message to begin."})}),i.map((M,V)=>f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:210",className:`flex gap-3 ${M.role==="user"?"flex-row-reverse":""}`,children:[f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:211",className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full",style:{background:M.role==="user"?"rgba(129,134,64,0.3)":"rgba(6,148,148,0.2)"},children:M.role==="user"?f.jsx(RS,{"data-loc":"client/src/pages/ConversationLibrary.tsx:215",className:"h-4 w-4 text-[#c4c96a]"}):f.jsx(sg,{"data-loc":"client/src/pages/ConversationLibrary.tsx:215",className:"h-4 w-4 text-[#6ee7e7]"})}),f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:217",className:"max-w-[75%] rounded-2xl px-4 py-3 text-sm",style:{background:M.role==="user"?"rgba(129,134,64,0.2)":"rgba(255,255,255,0.04)",border:`1px solid ${M.role==="user"?"rgba(129,134,64,0.3)":"rgba(255,255,255,0.08)"}`,color:"rgba(255,255,255,0.85)"},children:M.role==="assistant"?f.jsx(Ki,{"data-loc":"client/src/pages/ConversationLibrary.tsx:225",children:M.content}):f.jsx("p",{"data-loc":"client/src/pages/ConversationLibrary.tsx:225",className:"leading-relaxed",children:M.content})})]},V)),z.isPending&&f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:230",className:"flex gap-3",children:[f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:231",className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full",style:{background:"rgba(6,148,148,0.2)"},children:f.jsx(sg,{"data-loc":"client/src/pages/ConversationLibrary.tsx:232",className:"h-4 w-4 text-[#6ee7e7]"})}),f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:234",className:"rounded-2xl px-4 py-3 flex items-center gap-2",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsx(Jt,{"data-loc":"client/src/pages/ConversationLibrary.tsx:235",className:"h-4 w-4 animate-spin text-[#069494]"}),f.jsx("span",{"data-loc":"client/src/pages/ConversationLibrary.tsx:236",className:"text-xs text-white/40",children:"Thinkingâ¦"})]})]}),f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:240",ref:p})]}),f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:244",className:"px-4 py-4 border-t",style:{borderColor:"rgba(255,255,255,0.07)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:245",className:"flex gap-2 items-end rounded-2xl p-3",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(129,134,64,0.2)"},children:[f.jsx("textarea",{"data-loc":"client/src/pages/ConversationLibrary.tsx:246",value:r,onChange:M=>a(M.target.value),onKeyDown:M=>
1052{M.key==="Enter"&&!M.shiftKey&&(M.preventDefault(),q())},placeholder:"Ask about your script, shot list, budgetâ¦",rows:2,className:"flex-1 bg-transparent text-sm text-white/85 placeholder:text-white/25 outline-none resize-none"}),f.jsx(He,{"data-loc":"client/src/pages/ConversationLibrary.tsx:254",onClick:q,disabled:!r.trim()||z.isPending,size:"sm",className:"btn-primary-gradient rounded-xl h-9 w-9 p-0 shrink-0",children:f.jsx(_c,{"data-loc":"client/src/pages/ConversationLibrary.tsx:260",className:"h-4 w-4"})})]}),f.jsx("p",{"data-loc":"client/src/pages/ConversationLibrary.tsx:263",className:"text-[10px] text-white/20 text-center mt-2",children:"Press Enter to send · Shift+Enter for new line"})]})]}):f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:168",className:"flex-1 flex flex-col items-center justify-center gap-6 px-4",children:[f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:169",className:"flex h-16 w-16 items-center justify-center rounded-2xl",style:{background:"rgba(129,134,64,0.15)",border:"1px solid rgba(129,134,64,0.3)"},children:f.jsx(Ut,{"data-loc":"client/src/pages/ConversationLibrary.tsx:170",className:"h-8 w-8 text-[#a8ae52]"})}),f.jsxs("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:172",className:"text-center",children:[f.jsx("h2",{"data-loc":"client/src/pages/ConversationLibrary.tsx:173",className:"font-display font-bold text-xl text-white",children:"Start a new conversation"}),f.jsx("p",{"data-loc":"client/src/pages/ConversationLibrary.tsx:174",className:"text-white/40 text-sm mt-2 max-w-sm",children:"Ask anything about filmmaking â script feedback, shot lists, production planning, dialogue, and more."})]}),f.jsx("div",{"data-loc":"client/src/pages/ConversationLibrary.tsx:176",className:"flex flex-wrap gap-2 justify-center max-w-lg",children:["Analyze my script's three-act structure","Generate a shot list for a chase scene","How do I plan a one-day shoot?","Suggest color grading for a neo-noir film"].map(M=>f.jsx("button",{"data-loc":"client/src/pages/ConversationLibrary.tsx:178",onClick:()=>{W(),a(M)},className:"px-3 py-2 rounded-xl text-xs text-white/60 hover:text-white/90 transition-all",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"},children:M},M))})]})})]})]})})}function Rne(){const{isAuthenticated:e}=cs(),[t,n]=O.useState(null),[r,a]=O.useState(""),[i,o]=O.useState(!1),[c,u]=O.useState(""),[h,g]=O.useState([]),[p,b]=O.useState("auto"),y=O.useRef(null),w=je.useUtils(),[T,A]=O.useState(null),{data:N=[],isLoading:R}=je.sourcePacks.list.useQuery(void 0,{enabled:e}),{data:z=[]}=je.sourcePacks.files.useQuery({packId:t},{enabled:!!t}),W=je.sourcePacks.create.useMutation({onSuccess:L=>{w.sourcePacks.list.invalidate(),n(L.id),o(!1),a(""),$e.success("Source pack created!")}}),q=je.sourcePacks.delete.useMutation({onSuccess:()=>{w.sourcePacks.list.invalidate(),n(null),$e.success("Pack deleted.")}}),C=je.sourcePacks.uploadFile.useMutation({onSuccess:()=>{w.sourcePacks.files.invalidate(),$e.success("File uploaded!")},onError:L=>$e.error(L.message||"Upload failed")}),M=je.sourcePacks.deleteFile.useMutation({onSuccess:()=>w.sourcePacks.files.invalidate()}),V=je.conversations.create.useMutation({onSuccess:L=>A(L.id)}),Z=je.conversations.chat.useMutation({}),I=je.sourcePacks.chatWithSources.useMutation({onSuccess:async(L,J)=>{const te={q:J.question,a:L.reply};g(we=>[...we,te]);try{let we=T;if(!we){const U=N.find(ce=>ce.id===t);we=(await V.mutateAsync({title:`Source Pack: ${U?.name??"Untitled"}`,model:p})).id,A(we)}await Z.mutateAsync({conversationId:we,userMessage:J.question,model:p,sourcePackId:J.packId})}catch{}},onError:L=>$e.error(L.message||"Failed to get response")});async function se(L){if(!t||!L.target.files?.length)return;const J=L.target.files[0],te=7*1024*1024;if(J.size>te){$e.error("File too large (max 7 MB)");return}const we=new FileReader;we.onload=()=>{const U=we.result.split(",")[1];C.mutate({packId:t,name:J.name,mimeType:J.type||"text/plain",base64:U})},we.readAsDataURL(J),L.target.value=""}function ae(){!c.trim()||!t||I.isPending||(I.mutate({packId:t,question:c.trim(),model:p}),u(""))}function me(L){return L<1024?`${L} B`:L<1024*1024?`${(L/1024).toFixed(1)} KB`:`${(L/(1024*1024)).toFixed(1)} MB`}const oe=N.find(L=>L.id===t);function ee(L){n(L),g([]),A(null)}return f.jsx(is,{"data-loc":"client/src/pages/SourcePacks.tsx:122",children:f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:123",className:"flex flex-col",style:{minHeight:"calc(100vh - 56px)"},children:[f.jsxs("header",{"data-loc":"client/src/pages/SourcePacks.tsx:125",className:"flex items-center gap-4 px-4 py-2.5 border-b shrink-0",style:{borderColor:"rgba(255,255,255,0.07)",background:"rgba(13,10,30,0.6)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:126",className:"flex items-center gap-2",children:[f.jsx(L0,{"data-loc":"client/src/pages/SourcePacks.tsx:127",className:"h-4 w-4 text-[#a8ae52]"}),f.jsx("span",{"data-loc":"client/src/pages/SourcePacks.tsx:128",className:"font-display font-semibold text-white text-sm",children:"Source Packs"})]}),f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:130",className:"ml-auto",children:f.jsx(ed,{"data-loc":"client/src/pages/SourcePacks.tsx:131",value:p,onChange:b,compact:!0})})]}),f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:135",className:"flex flex-1 overflow-hidden",style:{height:"calc(100vh - 57px)"},children:[f.jsxs("aside",{"data-loc":"client/src/pages/SourcePacks.tsx:137",className:"w-64 shrink-0 flex flex-col border-r overflow-y-auto",style:{borderColor:"rgba(255,255,255,0.07)",background:"rgba(255,255,255,0.02)"},children:[f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:138",className:"p-3",children:f.jsxs(He,{"data-loc":"client/src/pages/SourcePacks.tsx:139",onClick:()=>o(!0),className:"w-full btn-primary-gradient rounded-xl h-9 text-sm gap-2",children:[f.jsx(P0,{"data-loc":"client/src/pages/SourcePacks.tsx:140",className:"h-4 w-4"})," New source pack"]})}),i&&f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:145",className:"mx-3 mb-3 p-3 rounded-xl",style:{background:"rgba(129,134,64,0.1)",border:"1px solid rgba(129,134,64,0.25)"},children:[f.jsx("input",{"data-loc":"client/src/pages/SourcePacks.tsx:146",autoF
1052ocus:!0,value:r,onChange:L=>a(L.target.value),onKeyDown:L=>{L.key==="Enter"&&W.mutate({name:r}),L.key==="Escape"&&o(!1)},placeholder:"Pack nameâ¦",className:"w-full bg-transparent text-sm text-white outline-none placeholder:text-white/30 mb-2"}),f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:154",className:"flex gap-2",children:[f.jsx(He,{"data-loc":"client/src/pages/SourcePacks.tsx:155",size:"sm",onClick:()=>W.mutate({name:r}),disabled:!r.trim(),className:"flex-1 h-7 text-xs btn-primary-gradient rounded-lg",children:"Create"}),f.jsx(He,{"data-loc":"client/src/pages/SourcePacks.tsx:156",size:"sm",variant:"ghost",onClick:()=>o(!1),className:"h-7 text-xs text-white/40 rounded-lg",children:f.jsx(j0,{"data-loc":"client/src/pages/SourcePacks.tsx:156",className:"h-3 w-3"})})]})]}),f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:161",className:"px-3 pb-2",children:f.jsx("p",{"data-loc":"client/src/pages/SourcePacks.tsx:162",className:"text-[10px] text-white/30 uppercase tracking-widest mb-2",children:"Your packs"})}),R?f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:166",className:"flex justify-center py-4",children:f.jsx(Jt,{"data-loc":"client/src/pages/SourcePacks.tsx:166",className:"h-4 w-4 animate-spin text-white/30"})}):N.length===0?f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:168",className:"px-3 py-4 text-center",children:f.jsx("p",{"data-loc":"client/src/pages/SourcePacks.tsx:168",className:"text-xs text-white/30",children:"No source packs yet."})}):f.jsx("ul",{"data-loc":"client/src/pages/SourcePacks.tsx:170",className:"flex flex-col gap-0.5 px-2 pb-4",children:N.map(L=>f.jsx("li",{"data-loc":"client/src/pages/SourcePacks.tsx:172",children:f.jsxs("button",{"data-loc":"client/src/pages/SourcePacks.tsx:173",onClick:()=>ee(L.id),className:"w-full text-left px-3 py-2.5 rounded-xl flex items-start gap-2 group transition-all",style:{background:t===L.id?"rgba(129,134,64,0.18)":"transparent",border:t===L.id?"1px solid rgba(129,134,64,0.3)":"1px solid transparent"},children:[f.jsx(AP,{"data-loc":"client/src/pages/SourcePacks.tsx:181",className:"h-3.5 w-3.5 text-white/30 mt-0.5 shrink-0"}),f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:182",className:"flex-1 min-w-0",children:f.jsx("p",{"data-loc":"client/src/pages/SourcePacks.tsx:183",className:"text-xs text-white/70 truncate",children:L.name})}),f.jsx("button",{"data-loc":"client/src/pages/SourcePacks.tsx:185",onClick:J=>{J.stopPropagation(),q.mutate({id:L.id})},className:"opacity-0 group-hover:opacity-100 transition-opacity p-0.5 rounded text-white/30 hover:text-red-400",children:f.jsx(Vo,{"data-loc":"client/src/pages/SourcePacks.tsx:186",className:"h-3 w-3"})})]})},L.id))})]}),f.jsx("main",{"data-loc":"client/src/pages/SourcePacks.tsx:196",className:"flex-1 overflow-y-auto p-6",children:t?f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:208",className:"max-w-3xl mx-auto flex flex-col gap-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:210",className:"flex items-center justify-between",children:[f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:211",children:[f.jsx("h2",{"data-loc":"client/src/pages/SourcePacks.tsx:212",className:"font-display font-bold text-xl text-white",children:oe?.name}),f.jsxs("p",{"data-loc":"client/src/pages/SourcePacks.tsx:213",className:"text-white/40 text-sm mt-0.5",children:[z.length," file",z.length!==1?"s":""," · Upload scripts, PDFs, or text files"]})]}),f.jsxs(He,{"data-loc":"client/src/pages/SourcePacks.tsx:215",onClick:()=>y.current?.click(),disabled:C.isPending,className:"btn-primary-gradient rounded-xl h-9 text-sm gap-2",children:[C.isPending?f.jsx(Jt,{"data-loc":"client/src/pages/SourcePacks.tsx:220",className:"h-4 w-4 animate-spin"}):f.jsx(D2,{"data-loc":"client/src/pages/SourcePacks.tsx:220",className:"h-4 w-4"}),"Upload file"]}),f.jsx("input",{"data-loc":"client/src/pages/SourcePacks.tsx:223",ref:y,type:"file",className:"hidden",accept:".txt,.fountain,.fdx,.md,.pdf",onChange:se})]}),z.length>0&&f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:228",className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(255,255,255,0.08)"},children:z.map((L,J)=>f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:230",className:"flex items-center gap-3 px-4 py-3",style:{borderTop:J>0?"1px solid rgba(255,255,255,0.05)":void 0,background:"rgba(255,255,255,0.02)"},children:[f.jsx(Xx,{"data-loc":"client/src/pages/SourcePacks.tsx:231",className:"h-4 w-4 text-[#a8ae52] shrink-0"}),f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:232",className:"flex-1 min-w-0",children:[f.jsx("p",{"data-loc":"client/src/pages/SourcePacks.tsx:233",className:"text-sm text-white/80 truncate",children:L.name}),f.jsxs("p",{"data-loc":"client/src/pages/SourcePacks.tsx:234",className:"text-xs text-white/30",children:[me(L.sizeBytes)," · ",L.extractedText?"Text extracted â":"Binary f
1052ile"]})]}),f.jsx("a",{"data-loc":"client/src/pages/SourcePacks.tsx:236",href:L.fileUrl,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-white/40 hover:text-white/70 transition-colors mr-2",children:"View"}),f.jsx("button",{"data-loc":"client/src/pages/SourcePacks.tsx:237",onClick:()=>M.mutate({id:L.id}),className:"text-white/30 hover:text-red-400 transition-colors p-1 rounded",children:f.jsx(Vo,{"data-loc":"client/src/pages/SourcePacks.tsx:238",className:"h-3.5 w-3.5"})})]},L.id))}),z.length===0&&f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:246",className:"rounded-2xl p-8 text-center",style:{border:"2px dashed rgba(255,255,255,0.08)"},children:[f.jsx(D2,{"data-loc":"client/src/pages/SourcePacks.tsx:247",className:"h-8 w-8 text-white/20 mx-auto mb-3"}),f.jsx("p",{"data-loc":"client/src/pages/SourcePacks.tsx:248",className:"text-sm text-white/40",children:'Drop files here or click "Upload file"'}),f.jsx("p",{"data-loc":"client/src/pages/SourcePacks.tsx:249",className:"text-xs text-white/25 mt-1",children:"Supports .txt, .fountain, .fdx, .md (max 7 MB)"})]}),z.some(L=>L.extractedText)&&f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:255",className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(129,134,64,0.2)"},children:[h.length>0&&f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:258",className:"flex flex-col gap-3 p-5",style:{borderBottom:"1px solid rgba(255,255,255,0.06)",background:"rgba(255,255,255,0.02)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:259",className:"flex items-center justify-between",children:[f.jsxs("h3",{"data-loc":"client/src/pages/SourcePacks.tsx:260",className:"font-display font-semibold text-white text-sm flex items-center gap-2",children:[f.jsx(Ut,{"data-loc":"client/src/pages/SourcePacks.tsx:261",className:"h-4 w-4 text-[#a8ae52]"})," Conversation"]}),T&&f.jsx(Cr,{"data-loc":"client/src/pages/SourcePacks.tsx:264",href:"/conversations",children:f.jsxs("span",{"data-loc":"client/src/pages/SourcePacks.tsx:265",className:"flex items-center gap-1.5 text-xs text-[#a8ae52] hover:text-[#c4c96a] transition-colors cursor-pointer",children:[f.jsx(IP,{"data-loc":"client/src/pages/SourcePacks.tsx:266",className:"h-3 w-3"})," Saved to library"]})})]}),h.map((L,J)=>f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:272",className:"flex flex-col gap-2",children:[f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:273",className:"self-end max-w-[85%] px-4 py-2.5 rounded-2xl rounded-br-sm text-sm text-white",style:{background:"rgba(129,134,64,0.25)",border:"1px solid rgba(129,134,64,0.3)"},children:L.q}),f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:276",className:"self-start max-w-[90%] px-4 py-3 rounded-2xl rounded-bl-sm text-sm text-white/80",style:{background:"rgba(6,148,148,0.08)",border:"1px solid rgba(6,148,148,0.15)"},children:f.jsx(Ki,{"data-loc":"client/src/pages/SourcePacks.tsx:277",children:L.a})})]},J)),I.isPending&&f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:282",className:"flex items-center gap-2 text-xs text-white/30 pl-1",children:[f.jsx(Jt,{"data-loc":"client/src/pages/SourcePacks.tsx:283",className:"h-3 w-3 animate-spin"})," Thinkingâ¦"]})]}),f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:290",className:"p-4",style:{background:"rgba(255,255,255,0.02)"},children:[h.length===0&&f.jsxs("h3",{"data-loc":"client/src/pages/SourcePacks.tsx:292",className:"font-display font-semibold text-white text-sm mb-3 flex items-center gap-2",children:[f.jsx(Ut,{"data-loc":"client/src/pages/SourcePacks.tsx:293",className:"h-4 w-4 text-[#a8ae52]"})," Ask about your sources"]}),f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:296",className:"flex gap-2",children:[f.jsx("input",{"data-loc":"client/src/pages/SourcePacks.tsx:297",value:c,onChange:L=>u(L.target.value),onKeyDown:L=>{L.key==="Enter"&&ae()},placeholder:"What are the main themes? Who are the key characters?",className:"flex-1 px-4 py-2.5 rounded-xl text-sm text-white/85 placeholder:text-white/25 outline-none",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"}}),f.jsx(He,{"data-loc":"client/src/pages/SourcePacks.tsx:305",onClick:ae,disabled:!c.trim()||I.isPending,className:"btn-primary-gradient rounded-xl h-10 w-10 p-0",children:I.isPending?f.jsx(Jt,{"data-loc":"client/src/pages/SourcePacks.tsx:306",className:"h-4 w-4 animate-spin"}):f.jsx(_c,{"data-loc":"client/src/pages/SourcePacks.tsx:306",className:"h-4 w-4"})})]})]})]})]}):f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:198",className:"flex flex-col items-center justify-center h-full gap-6",children:[f.jsx("div",{"data-loc":"client/src/pages/SourcePacks.tsx:199",className:"flex h-16 w-16 items-center justify-center rounded-2xl",style:{background:"rgba(129,134,64,0.15)",border:"1px solid rgba(129,134,64,0.3)"},children:f.jsx(Ut,{"data-loc":"client/src/pages/SourcePacks.tsx:200",className:"h-8 w-8 text-[#a8ae52]"})}),f.jsxs("div",{"data-loc":"client/src/pages/SourcePacks.tsx:202",className:"text-center",children:[f.jsx("h2",{"data-loc":"client/src/pages/SourcePacks.tsx:203",className:"font-display font-bold text-xl text-white",children:"Select or create a source pack"}),f.jsx("p",{"data-loc":"client/src/pages/SourcePacks.tsx:204",className:"text-white/40 text-sm mt-2 max-w-sm",children:"Upload scripts, treatment documents, research notes, or any text file â then ask the AI questions about them."})]})]})})]})]})})}function Dne(){cs();const[e,t]=O.useState("breakdown"),[n,r]=O.useState("auto"),[a,i]=O.useState(""),[o,c]=O.useState(null),[u,h]=O.useState(null),[g,p]=O.useState(""),[b,y]=O.useState("cinematic"),[w,T]=O.useState(null),[A,N]=O.useState(""),[R,z]=O.useState(""),W=je.agent.scriptBreakdown.useMutation({onSuccess:I=>c(I),onError:I=>$e.error(I.message||"Failed to generate breakdown")}),q=je.agent.shotList.useMutation({onSuccess:I=>T(I),onError:I=>$e.error(I.message||"Failed to generate shot list")}),C=je.agent.sceneAnalysis.useMutation({onSuccess:I=>z(I.analysis),onError:I=>$e.error(I.message||"Failed to analyze scene")});function M(I,se){const ae=new Blob([JSON.stringify(I,null,2)],{type:"application/json"}),me=URL.createObjectURL(ae),oe=document.createElement("a");oe.href=me,oe.download=se,oe.click(),URL.revokeObjectURL(me)}function V(I){const se=I.shots??[],ae=se.map(J=>` 1053 <tr> 1054 <td style="color:#818640;font-weight:700;padding:8px 10px;border-bottom:1px solid #e5e7eb">${J.shotNumber}</td> 1055 <td style="padding:8px 10px;border-bottom:1px solid #e5e7eb">${J.shotType??""}</td> 1056 <td style="padding:8px 10px;border-bottom:1px solid #e5e7eb">${J.cameraMovement??""}</td> 1057 <td style="padding:8px 10px;border-bottom:1px solid #e5e7eb">${J.lens??""}</td> 1058 <td style="padding:8px 10px;border-bottom:1px solid #e5e7eb">${J.description??""}</td> 1059 <td style="padding:8px 10px;border-bottom:1px solid #e5e7eb;white-space:nowrap">${J.duration??""}</td> 1060 </tr>`).join(""),me=`<!DOCTYPE html> 1061<html><head><meta charset="UTF-8"> 1062<title>Shot List â Creator AI Hub</title> 1063<style> 1064 body{font-family:system-ui,sans-serif;margin:40px;color:#111;font-size:13px} 1065 h1{font-size:22px;margin-bottom:4px} 1066 .meta{color:#6b7280;margin-bottom:24px;font-size:12px} 1067 table{width:100%;border-collapse:collapse} 1068 th{background:#f3f4f6;text-align:left;padding:8px 10px;font-size:11px;text-transform:uppercase;letter-spacing:.05em;
1068color:#6b7280;border-bottom:2px solid #d1d5db} 1069 tr:hover td{background:#fafafa} 1070 @media print{body{margin:20px}} 1071</style></head> 1072<body> 1073 <h1>Shot List</h1> 1074 <p class="meta">${I.totalShots??se.length} shots · Est. setup: ${I.estimatedSetupTime??"â"} · Style: ${b} · Generated by Creator AI Hub</p> 1075 <table> 1076 <thead><tr><th>#</th><th>Type</th><th>Movement</th><th>Lens</th><th>Description</th><th>Duration</th></tr></thead> 1077 <tbody>${ae}</tbody> 1078 </table> 1079</body></html>`,oe=new Blob([me],{type:"text/html"}),ee=URL.createObjectURL(oe),L=window.open(ee,"_blank");if(L)L.onload=()=>{L.print()};else{const J=document.createElement("a");J.href=ee,J.download="shot-list.html",J.click()}setTimeout(()=>URL.revokeObjectURL(ee),1e4)}const Z=[{id:"breakdown",icon:ss,label:"Script Breakdown",desc:"Parse your script into scenes, props, cast, and shoot estimates"},{id:"shotlist",icon:f6,label:"Shot List Generator",desc:"Generate a professional shot list from a scene description"},{id:"analysis",icon:R2,label:"Scene Analysis",desc:"Deep analysis of dramatic tension, pacing, and subtext"}];return f.jsx(is,{"data-loc":"client/src/pages/AgentTools.tsx:110",children:f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:111",className:"flex flex-col",children:[f.jsxs("header",{"data-loc":"client/src/pages/AgentTools.tsx:113",className:"flex items-center gap-4 px-4 py-2.5 border-b",style:{borderColor:"rgba(255,255,255,0.07)",background:"rgba(13,10,30,0.6)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:114",className:"flex items-center gap-2",children:[f.jsx(Js,{"data-loc":"client/src/pages/AgentTools.tsx:115",className:"h-4 w-4 text-[#a8ae52]"}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:116",className:"font-display font-semibold text-white text-sm",children:"Agentic AI Tools"})]}),f.jsx("div",{"data-loc":"client/src/pages/AgentTools.tsx:118",className:"ml-auto",children:f.jsx(ed,{"data-loc":"client/src/pages/AgentTools.tsx:119",value:n,onChange:r,compact:!0})})]}),f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:123",className:"container py-8 max-w-5xl",children:[f.jsx("div",{"data-loc":"client/src/pages/AgentTools.tsx:125",className:"grid grid-cols-1 sm:grid-cols-3 gap-3 mb-8",children:Z.map(I=>f.jsxs("button",{"data-loc":"client/src/pages/AgentTools.tsx:127",onClick:()=>t(I.id),className:"p-4 rounded-2xl text-left transition-all",style:{background:e===I.id?"rgba(129,134,64,0.18)":"rgba(255,255,255,0.03)",border:`1px solid ${e===I.id?"rgba(129,134,64,0.4)":"rgba(255,255,255,0.08)"}`},children:[f.jsx(I.icon,{"data-loc":"client/src/pages/AgentTools.tsx:136",className:`h-5 w-5 mb-2 ${e===I.id?"text-[#a8ae52]":"text-white/30"}`}),f.jsx("p",{"data-loc":"client/src/pages/AgentTools.tsx:137",className:`font-semibold text-sm ${e===I.id?"text-white":"text-white/60"}`,children:I.label}),f.jsx("p",{"data-loc":"client/src/pages/AgentTools.tsx:138",className:"text-xs text-white/35 mt-0.5 leading-snug",children:I.desc})]},I.id))}),e==="breakdown"&&f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:145",className:"flex flex-col gap-5",children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:146",className:"rounded-2xl p-5",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsx("label",{"data-loc":"client/src/pages/AgentTools.tsx:147",className:"text-xs font-medium text-white/50 mb-2 block",children:"Paste your script (or excerpt)"}),f.jsx("textarea",{"data-loc":"client/src/pages/AgentTools.tsx:148",value:a,onChange:I=>i(I.target.value),placeholder:`INT. COFFEE SHOP - DAY 1080 1081MAYA (28, intense, a camera always around her neck) sits across from her producer JAMES...`,rows:12,className:"w-full bg-transparent text-sm text-white/80 placeholder:text-white/20 outline-none resize-none font-mono"})]}),f.jsx(He,{"data-loc":"client/src/pages/AgentTools.tsx:156",onClick:()=>W.mutate({script:a,model:n}),disabled:a.trim().length<10||W.isPending,className:"btn-primary-gradient rounded-xl h-11 gap-2 self-start",children:W.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Jt,{"data-loc":"client/src/pages/AgentTools.tsx:161",className:"h-4 w-4 animate-spin"})," Analyzing scriptâ¦"]}):f.jsxs(f.Fragment,{children:[f.jsx(ss,{"data-loc":"client/src/pages/AgentTools.tsx:161",className:"h-4 w-4"})," Generate breakdown"]})}),o&&f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:165",className:"flex flex-col gap-3",children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:166",className:"flex items-center justify-between",children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:167",children:[f.jsx("h3",{"data-loc":"client/src/pages/AgentTools.tsx:168",className:"font-display font-bold text-lg text-white",children:"Script Breakdown"}),f.jsxs("p",{"data-loc":"client/src/pages/AgentTools.tsx:169",className:"text-sm text-white/40",children:[o.totalScenes," scenes · ~",o.estimatedShootDays," shoot days"]})]}),f.jsxs(He,{"data-loc":"client/src/pages/AgentTools.tsx:171",size:"sm",variant:"outline",onClick:()=>M(o,"script-breakdown.json"),className:"gap-2 text-white/60 border-white/10 rounded-xl",children:[f.jsx(Bo,{"data-loc":"client/src/pages/AgentTools.tsx:172",className:"h-3.5 w-3.5"})," Export JSON"]})]}),f.jsx("p",{"data-loc":"client/src/pages/AgentTools.tsx:175",className:"text-sm text-white/60 p-4 rounded-xl",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.07)"},children:o.summary}),o.scenes?.map(I=>f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:177",className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsxs("button",{"data-loc":"client/src/pages/AgentTools.tsx:178",onClick:()=>h(u===I.sceneNumber?null:I.sceneNumber),className:"w-full flex items-center gap-3 px-4 py-3 text-left transition-colors hover:bg-white/5",children:[f.jsxs("span",{"data-loc":"client/src/pages/AgentTools.tsx:182",className:"text-xs font-bold text-[#a8ae52] w-8 shrink-0",children:["#",I.sceneNumber]}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:183",className:"text-sm text-white/80 flex-1 truncate",children:I.heading}),f.jsxs("span",{"data-loc":"client/src/pages/AgentTools.tsx:184",className:"text-xs text-white/30 mr-2",children:[I.estimatedMinutes,"min"]}),f.jsx("div",{"data-loc":"client/src/pages/AgentTools.tsx:185",className:"flex gap-0.5 mr-2",children:Array.from({length:5}).map((se,ae)=>
1081f.jsx("div",{"data-loc":"client/src/pages/AgentTools.tsx:187",className:"h-1.5 w-1.5 rounded-full",style:{background:ae<I.complexity?"#818640":"rgba(255,255,255,0.1)"}},ae))}),u===I.sceneNumber?f.jsx(Gx,{"data-loc":"client/src/pages/AgentTools.tsx:190",className:"h-4 w-4 text-white/30"}):f.jsx(tl,{"data-loc":"client/src/pages/AgentTools.tsx:190",className:"h-4 w-4 text-white/30"})]}),u===I.sceneNumber&&f.jsx("div",{"data-loc":"client/src/pages/AgentTools.tsx:193",className:"px-4 pb-4 grid grid-cols-2 sm:grid-cols-3 gap-3 border-t",style:{borderColor:"rgba(255,255,255,0.06)",background:"rgba(255,255,255,0.02)"},children:[{label:"Location",value:`${I.location} · ${I.timeOfDay}`},{label:"Characters",value:I.characters?.join(", ")||"â"},{label:"Props",value:I.props?.join(", ")||"â"},{label:"Equipment",value:I.equipment?.join(", ")||"â"},{label:"Notes",value:I.notes||"â"}].map(se=>f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:201",className:"pt-3",children:[f.jsx("p",{"data-loc":"client/src/pages/AgentTools.tsx:202",className:"text-[10px] text-white/30 uppercase tracking-widest mb-1",children:se.label}),f.jsx("p",{"data-loc":"client/src/pages/AgentTools.tsx:203",className:"text-xs text-white/65 leading-relaxed",children:se.value})]},se.label))})]},I.sceneNumber))]})]}),e==="shotlist"&&f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:217",className:"flex flex-col gap-5",children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:218",className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:219",className:"sm:col-span-2 rounded-2xl p-5",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsx("label",{"data-loc":"client/src/pages/AgentTools.tsx:220",className:"text-xs font-medium text-white/50 mb-2 block",children:"Scene description"}),f.jsx("textarea",{"data-loc":"client/src/pages/AgentTools.tsx:221",value:g,onChange:I=>p(I.target.value),placeholder:"Two characters face each other across a dimly lit diner. Tension builds as one slides an envelope across the tableâ¦",rows:8,className:"w-full bg-transparent text-sm text-white/80 placeholder:text-white/20 outline-none resize-none"})]}),f.jsx("div",{"data-loc":"client/src/pages/AgentTools.tsx:229",className:"flex flex-col gap-3",children:f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:230",className:"rounded-2xl p-4",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsx("label",{"data-loc":"client/src/pages/AgentTools.tsx:231",className:"text-xs font-medium text-white/50 mb-2 block",children:"Visual style"}),["cinematic","documentary","music video","horror","comedy","thriller"].map(I=>f.jsx("button",{"data-loc":"client/src/pages/AgentTools.tsx:233",onClick:()=>y(I),className:"w-full text-left px-3 py-2 rounded-lg text-xs mb-1 transition-all capitalize",style:{background:b===I?"rgba(129,134,64,0.2)":"transparent",border:`1px solid ${b===I?"rgba(129,134,64,0.4)":"transparent"}`,color:b===I?"#c4c96a":"rgba(255,255,255,0.45)"},children:I},I))]})})]}),f.jsx(He,{"data-loc":"client/src/pages/AgentTools.tsx:249",onClick:()=>q.mutate({sceneDescription:g,style:b,model:n}),disabled:g.trim().length<10||q.isPending,className:"btn-primary-gradient rounded-xl h-11 gap-2 self-start",children:q.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Jt,{"data-loc":"client/src/pages/AgentTools.tsx:254",className:"h-4 w-4 animate-spin"})," Generating shotsâ¦"]}):f.jsxs(f.Fragment,{children:[f.jsx(f6,{"data-loc":"client/src/pages/AgentTools.tsx:254",className:"h-4 w-4"})," Generate shot list"]})}),w&&f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:258",className:"flex flex-col gap-3",children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:259",className:"flex items-center justify-between",children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:260",children:[f.jsx("h3",{"data-loc":"client/src/pages/AgentTools.tsx:261",className:"font-display font-bold text-lg text-white",children:"Shot List"}),f.jsxs("p",{"data-loc":"client/src/pages/AgentTools.tsx:262",className:"text-sm text-white/40",children:[w.totalShots," shots · Est. setup time: ",w.estimatedSetupTime]})]}),f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:264",className:"flex items-center gap-2",children:[f.jsxs(He,{"data-loc":"client/src/pages/AgentTools.tsx:265",size:"sm",variant:"outline",onClick:()=>V(w),className:"gap-2 text-white border-[#818640]/40 rounded-xl",style:{background:"rgba(129,134,64,0.15)"},children:[f.jsx(Bo,{"data-loc":"client/src/pages/AgentTools.tsx:266",className:"h-3.5 w-3.5"})," Export PDF"]}),f.jsxs(He,{"data-loc":"client/src/pages/AgentTools.tsx:268",size:"sm",variant:"outline",onClick:()=>M(w,"shot-list.json"),className:"gap-2 text-white/50 border-white/10 rounded-xl",children:[f.jsx(Bo,{"data-loc":"client/src/pages/AgentTools.tsx:269",className:"h-3.5 w-3.5"})," JSON"]})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:273",className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:274",className:"grid grid-cols-12 px-4 py-2 text-[10px] text-white/30 uppercase tracking-widest",style:{borderBottom:"1px solid rgba(255,255,255,0.06)",background:"rgba(255,255,255,0.02)"},children:[f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:275",className:"col-span-1",children:"#"}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:276",className:"col-span-2",children:"Type"}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:277",className:"col-span-2",children:"Movement"}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:278",className:"col-span-1",children:"Lens"}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:279",className:"col-span-4",children:"Description"}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:280",className:"col-span-2",children:"Duration"})]}),w.shots?.map((I,se)=>f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:283",className:"grid grid-cols-12 px-4 py-3 text-xs",style:{borderTop:se>0?"1px solid rgba(255,255,255,0.04)":void 0},children:[f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:284",className:"col-span-1 text-[#a8ae52] font-bold",children:I.shotNumber}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:285",className:"col-span-2 text-white/70",children:I.shotType}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:286",className:"col-span-2 text-white/50",children:I.cameraMovement}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:287",className:"col-span-1 text-white/40",children:I.lens}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:288",className:"col-span-4 text-white/65 leading-relaxed",children:I.description}),f.jsx("span",{"data-loc":"client/src/pages/AgentTools.tsx:289",className:"col-span-2 text-white/40",children:I.duration})]},I.shotNumber))]})]})]}),e==="analysis"&&f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:300",className:"flex flex-col gap-5",children:[f.jsxs("div",{"data-loc":"client/src/pages/AgentTools.tsx:301",className:"rounded-2xl p-5",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsx("label",{"data-loc":"client/src/pages/AgentTools.tsx:302",className:"text-xs font-medium text-white/50 mb-2 block",children:"Paste a scene to analyze"}),f.jsx("textarea",{"data-loc":"client/src/pages/AgentTools.tsx:303",value:A,onChange:I=>N(I.target.value),placeholder:`INT. HOSPITAL ROOM - NIGHT 1082 1083ELENA sits beside her father's bed. His breathing is labored. She holds his hand, unable to speakâ¦`,rows:12,className:"w-full bg-transparent text-sm text-white/80 placeholder:text-white/20 outline-none resize-none font-mono"})]}),f.jsx(He,{"data-loc":"client/src/pages/AgentTools.tsx:311",onClick:()=>C.mutate({scene:A,model:n}),disabled:A.trim().length<10||C.isPending,className:"btn-primary-gradient rounded-xl h-11 gap-2 self
1083-start",children:C.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Jt,{"data-loc":"client/src/pages/AgentTools.tsx:316",className:"h-4 w-4 animate-spin"})," Analyzingâ¦"]}):f.jsxs(f.Fragment,{children:[f.jsx(R2,{"data-loc":"client/src/pages/AgentTools.tsx:316",className:"h-4 w-4"})," Analyze scene"]})}),R&&f.jsx("div",{"data-loc":"client/src/pages/AgentTools.tsx:320",className:"rounded-2xl p-5 text-sm text-white/80",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(129,134,64,0.2)"},children:f.jsx(Ki,{"data-loc":"client/src/pages/AgentTools.tsx:321",children:R})})]})]})]})})}const Mne=["Drama","Comedy","Thriller","Horror","Documentary","Sci-Fi","Action","Romance","Animation","Music Video","Short Film","Other"],Ine=[{id:"micro",label:"Micro Budget",range:"Under $10K",color:"#818640"},{id:"low",label:"Low Budget",range:"$10K â $100K",color:"#069494"},{id:"mid",label:"Mid Budget",range:"$100K â $1M",color:"#0891b2"},{id:"high",label:"High Budget",range:"$1M+",color:"#818640"}];function Lne(){const{isAuthenticated:e}=cs(),[t,n]=O.useState("auto"),[r,a]=O.useState(null),[i,o]=O.useState(null),[c,u]=O.useState(!1),{data:h=[],refetch:g}=je.budget.list.useQuery(void 0,{enabled:e}),[p,b]=O.useState({projectTitle:"",genre:"Drama",duration:90,crewSize:15,shootDays:20,location:"",hasSpecialEffects:!1,hasStunts:!1,hasAnimals:!1,productionLevel:"low",currency:"USD",additionalNotes:""}),y=je.budget.estimate.useMutation({onSuccess:C=>{o(C),g(),$e.success("Estimate saved to history!")},onError:C=>$e.error(C.message||"Failed to generate estimate")});function w(C,M){b(V=>({...V,[C]:M}))}function T(C){return new Intl.NumberFormat("en-US",{style:"currency",currency:p.currency,maximumFractionDigits:0}).format(C)}function A(){const C=new Blob([JSON.stringify(i,null,2)],{type:"application/json"}),M=URL.createObjectURL(C),V=document.createElement("a");V.href=M,V.download=`budget-${p.projectTitle||"estimate"}.json`,V.click(),URL.revokeObjectURL(M)}const N=je.budgetShare.createLink.useMutation({onSuccess:C=>{const M=`${window.location.origin}/budget/share/${C.shareId}`;navigator.clipboard.writeText(M).then(()=>{$e.success("Share link copied to clipboard!")}).catch(()=>{$e.success(`Share link: ${M}`)})},onError:()=>$e.error("Failed to create share link.")});function R(C){try{const M=typeof C.resultJson=="string"?JSON.parse(C.resultJson):C.resultJson;o(M),u(!1),$e.success(`Loaded: ${C.projectTitle}`)}catch{$e.error("Failed to load estimate from history")}}function z(C){try{const M=typeof C.inputJson=="string"?JSON.parse(C.inputJson):C.inputJson;b(V=>({...V,projectTitle:`${C.projectTitle} (copy)`,genre:M.genre??V.genre,duration:M.duration??V.duration,crewSize:M.crewSize??V.crewSize,shootDays:M.shootDays??V.shootDays,location:M.location??V.location,hasSpecialEffects:M.hasSpecialEffects??V.hasSpecialEffects,hasStunts:M.hasStunts??V.hasStunts,hasAnimals:M.hasAnimals??V.hasAnimals,productionLevel:M.productionLevel??V.productionLevel,currency:M.currency??V.currency,additionalNotes:M.additionalNotes??V.additionalNotes})),o(null),u(!1),$e.success(`Cloned: ${C.projectTitle} â edit and re-generate!`)}catch{$e.error("Failed to clone estimate")}}function W(C){return new Date(C).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}const q={background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",color:"white"};return f.jsx(is,{"data-loc":"client/src/pages/BudgetEstimator.tsx:128",children:f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:129",className:"flex flex-col",children:[f.jsxs("header",{"data-loc":"client/src/pages/BudgetEstimator.tsx:131",className:"flex items-center gap-4 px-4 py-2.5 border-b",style:{borderColor:"rgba(255,255,255,0.07)",background:"rgba(13,10,30,0.6)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:132",className:"flex items-center gap-2",children:[f.jsx(Bi,{"data-loc":"client/src/pages/BudgetEstimator.tsx:133",className:"h-4 w-4 text-[#a8ae52]"}),f.jsx("span",{"data-loc":"client/src/pages/BudgetEstimator.tsx:134",className:"font-display font-semibold text-white text-sm",children:"Movie Budget Estimator"})]}),f.jsx("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:136",className:"ml-auto",children:f.jsx(ed,{"data-loc":"client/src/pages/BudgetEstimator.tsx:137",value:t,onChange:n,compact:!0})})]}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:141",className:"container py-8 max-w-5xl",children:[h.length>0&&f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:144",className:"mb-5",children:[f.jsxs("button",{"data-loc":"client/src/pages/BudgetEstimator.tsx:145",onClick:()=>u(C=>!C),className:"flex items-center gap-2 text-sm text-white/50 hover:text-white/80 transition-colors",children:[f.jsx(RP,{"data-loc":"client/src/pages/BudgetEstimator.tsx:149",className:"h-4 w-4"}),c?"Hide":"Show"," saved estimates (",h.length,")"]}),c&&f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:153",className:"mt-3 rounded-2xl overflow-hidden",style:{border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsx("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:154",className:"px-4 py-2 text-[10px] text-white/30 uppercase tracking-widest",style:{background:"rgba(255,255,255,0.02)",borderBottom:"1px solid rgba(255,255,255,0.06)"},children:"Saved estimates â click to load"}),h.map((C,M)=>f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:158",className:"flex items-center gap-2 px-4 py-3",style:{borderTop:M>0?"1px solid rgba(255,255,255,0.04)":void 0},children:[f.jsxs("button",{"data-loc":"client/src/pages/BudgetEstimator.tsx:163",onClick:()=>R(C),className:"flex-1 flex items-center gap-3 text-left hover:bg-white/5 rounded-xl px-2 py-1.5 transition-colors min-w-0",children:[f.jsx(Bi,{"data-loc":"client/src/pages/BudgetEstimator.tsx:167",className:"h-4 w-4 text-[#a8ae52] shrink-0"}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:168",className:"flex-1 min-w-0",children:[f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:169",className:"text-sm text-white/80 truncate",children:C.projectTitle}),f.jsxs("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:170",className:"text-xs text-white/35",children:[C.genre," · ",C.currency," ",Number(C.totalEstimate).toLocaleStr
1083ing()]})]}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:172",className:"flex items-center gap-1.5 text-xs text-white/30 shrink-0",children:[f.jsx(Qx,{"data-loc":"client/src/pages/BudgetEstimator.tsx:173",className:"h-3 w-3"}),W(C.createdAt)]})]}),f.jsx("button",{"data-loc":"client/src/pages/BudgetEstimator.tsx:178",onClick:()=>z(C),title:"Clone into form",className:"p-1.5 rounded-lg text-white/30 hover:text-[#069494] hover:bg-white/5 transition-colors shrink-0",children:f.jsx(Qs,{"data-loc":"client/src/pages/BudgetEstimator.tsx:183",className:"h-3.5 w-3.5"})}),f.jsx("button",{"data-loc":"client/src/pages/BudgetEstimator.tsx:186",onClick:()=>N.mutate({budgetEstimateId:C.id}),disabled:N.isPending,title:"Copy public share link",className:"p-1.5 rounded-lg text-white/30 hover:text-[#a8ae52] hover:bg-white/5 transition-colors shrink-0",children:N.isPending?f.jsx(Jt,{"data-loc":"client/src/pages/BudgetEstimator.tsx:192",className:"h-3.5 w-3.5 animate-spin"}):f.jsx(LP,{"data-loc":"client/src/pages/BudgetEstimator.tsx:192",className:"h-3.5 w-3.5"})})]},C.id))]})]}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:201",className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:203",className:"flex flex-col gap-4",children:[f.jsx("h2",{"data-loc":"client/src/pages/BudgetEstimator.tsx:204",className:"font-display font-bold text-xl text-white",children:"Project details"}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:206",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/pages/BudgetEstimator.tsx:207",className:"text-xs text-white/50",children:"Project title *"}),f.jsx("input",{"data-loc":"client/src/pages/BudgetEstimator.tsx:208",value:p.projectTitle,onChange:C=>w("projectTitle",C.target.value),placeholder:"My Short Film",className:"px-4 py-2.5 rounded-xl text-sm outline-none",style:q})]}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:211",className:"grid grid-cols-2 gap-3",children:[f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:212",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/pages/BudgetEstimator.tsx:213",className:"text-xs text-white/50",children:"Genre"}),f.jsx("select",{"data-loc":"client/src/pages/BudgetEstimator.tsx:214",value:p.genre,onChange:C=>w("genre",C.target.value),className:"px-3 py-2.5 rounded-xl text-sm outline-none",style:q,children:Mne.map(C=>f.jsx("option",{"data-loc":"client/src/pages/BudgetEstimator.tsx:215",value:C,children:C},C))})]}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:218",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/pages/BudgetEstimator.tsx:219",className:"text-xs text-white/50",children:"Currency"}),f.jsx("select",{"data-loc":"client/src/pages/BudgetEstimator.tsx:220",value:p.currency,onChange:C=>w("currency",C.target.value),className:"px-3 py-2.5 rounded-xl text-sm outline-none",style:q,children:["USD","EUR","GBP","INR","CAD","AUD"].map(C=>f.jsx("option",{"data-loc":"client/src/pages/BudgetEstimator.tsx:221",value:C,children:C},C))})]})]}),f.jsx("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:226",className:"grid grid-cols-3 gap-3",children:[{key:"duration",label:"Duration (min)",min:1,max:600},{key:"crewSize",label:"Crew size",min:1,max:500},{key:"shootDays",label:"Shoot days",min:1,max:365}].map(C=>f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:232",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/pages/BudgetEstimator.tsx:233",className:"text-xs text-white/50",children:C.label}),f.jsx("input",{"data-loc":"client/src/pages/BudgetEstimator.tsx:234",type:"number",min:C.min,max:C.max,value:p[C.key],onChange:M=>w(C.key,Number(M.target.value)),className:"px-3 py-2.5 rounded-xl text-sm outline-none",style:q})]},C.key))}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:239",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/pages/BudgetEstimator.tsx:240",className:"text-xs text-white/50",children:"Primary location"}),f.jsx("input",{"data-loc":"client/src/pages/BudgetEstimator.tsx:241",value:p.location,onChange:C=>w("location",C.target.value),placeholder:"Los Angeles, CA / Remote countryside / Studio",className:"px-4 py-2.5 rounded-xl text-sm outline-none",style:q})]}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:245",className:"flex flex-col gap-2",children:[f.jsx("label",{"data-loc":"client/src/pages/BudgetEstimator.tsx:246",className:"text-xs text-white/50",children:"Production level"}),f.jsx("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:247",className:"grid grid-cols-2 gap-2",children:Ine.map(C=>f.jsxs("button",{"data-loc":"client/src/pages/BudgetEstimator.tsx:249",onClick:()=>w("productionLevel",C.id),className:"p-3 rounded-xl text-left transition-all",style:{background:p.productionLevel===C.id?`${C.color}22`:"rgba(255,255,255,0.03)",border:`1px solid ${p.productionLevel===C.id?`${C.color}55`:"rgba(255,255,255,0.08)"}`},children:[f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:250",className:"text-xs font-semibold text-white/80",children:C.label}),f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:251",className:"text-[10px] text-white/35 mt-0.5",children:C.range})]},C.id))})]}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:258",className:"flex flex-col gap-2",children:[f.jsx("label",{"data-loc":"client/src/pages/BudgetEstimator.tsx:259",className:"text-xs text-white/50",children:"Special requirements"}),f.jsx("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:260",className:"flex flex-wrap gap-2",children:[{key:"hasSpecialEffects",label:"Special Effects"},{key:"hasStunts",label:"Stunts"},{key:"hasAnimals",label:"Animals"}].map(C=>f.jsxs("button",{"data-loc":"client/src/pages/BudgetEstimator.tsx:266",onClick:()=>w(C.key,!p[C.key]),className:"px-3 py-1.5 rounded-full text-xs transition-all",style:{background:p[C.key]?"rgba(129,134,64,0.2)":"rgba(255,255,255,0.04)",border:`1px solid ${p[C.key]?"rgba(129,134,64,0.4)":"rgba(255,255,255,0.08)"}`,color:p[C.key]?"#c4c96a":"rgba(255,255,255,0.45)"},children:[p[C.key]?"â ":"",C.label]},C.key))})]}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:273",className:"flex flex-col gap-1.5",children:[f.jsx("label",{"data-loc":"client/src/pages/BudgetEstimator.tsx:274",className:"text-xs text-white/50",children:"Additional notes (optional)"}),f.jsx("textarea",{"data-loc":"client/src/pages/BudgetEstimator.tsx:275",value:p.additionalNotes,onChange:C=>w("additionalNotes",C.target.value),placeholder:"Union crew, specific equipment needs, remote location logisticsâ¦",rows:3,className:"px-4 py-2.5 rounded-xl text-sm outline-none resize-none",style:q})]}),f.jsx(He,{"data-loc":"client/src/pages/BudgetEstimator.tsx:278",onClick:()=>y.mutate({...p,model:t}),disabled:!p.projectTitle.trim()||y.isPending,className:"btn-primary-gradient rounded-xl h-12 gap-2 font-semibold",children:y.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Jt,{"data-loc":"client/src/pages/BudgetEstimator.tsx:283",className:"h-4 w-4 animate-spin"})," Estimating budgetâ¦"]}):f.jsxs(f.Fragment,{children:[f.jsx(Bi,{"data-loc":"client/src/pages/BudgetEstimator.tsx:283",className:"h-4 w-4"})," Generate budget estimate"]})})]}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:288",className:"flex flex-col gap-4",children:[!i&&!y.isPending&&f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:290",className:"flex flex-col items-center justify-center h-full gap-4 roun
1083ded-2xl p-8 text-center",style:{border:"2px dashed rgba(255,255,255,0.06)"},children:[f.jsx(Bi,{"data-loc":"client/src/pages/BudgetEstimator.tsx:291",className:"h-10 w-10 text-white/15"}),f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:292",className:"text-white/30 text-sm",children:'Fill in the project details and click "Generate budget estimate" to get an AI-powered breakdown.'})]}),y.isPending&&f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:297",className:"flex flex-col items-center justify-center h-full gap-4",children:[f.jsx(Jt,{"data-loc":"client/src/pages/BudgetEstimator.tsx:298",className:"h-8 w-8 animate-spin text-[#a8ae52]"}),f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:299",className:"text-white/40 text-sm",children:"Analyzing production requirementsâ¦"})]}),i&&f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:304",className:"flex flex-col gap-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:305",className:"flex items-center justify-between",children:[f.jsx("h2",{"data-loc":"client/src/pages/BudgetEstimator.tsx:306",className:"font-display font-bold text-xl text-white",children:"Budget Estimate"}),f.jsxs(He,{"data-loc":"client/src/pages/BudgetEstimator.tsx:307",size:"sm",variant:"outline",onClick:A,className:"gap-2 text-white/60 border-white/10 rounded-xl",children:[f.jsx(Bo,{"data-loc":"client/src/pages/BudgetEstimator.tsx:308",className:"h-3.5 w-3.5"})," Export"]})]}),f.jsx("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:313",className:"grid grid-cols-3 gap-3",children:[{label:"Base budget",value:T(i.totalBudget)},{label:"Contingency",value:T(i.contingency)},{label:"Grand total",value:T(i.grandTotal),highlight:!0}].map(C=>f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:319",className:"rounded-2xl p-4 text-center",style:{background:C.highlight?"rgba(129,134,64,0.15)":"rgba(255,255,255,0.04)",border:`1px solid ${C.highlight?"rgba(129,134,64,0.3)":"rgba(255,255,255,0.08)"}`},children:[f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:320",className:"text-[10px] text-white/40 uppercase tracking-widest mb-1",children:C.label}),f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:321",className:`font-display font-bold text-lg ${C.highlight?"text-gradient-brand":"text-white"}`,children:C.value})]},C.label))}),f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:327",className:"text-sm text-white/55 leading-relaxed p-4 rounded-xl",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.07)"},children:i.summary}),i.categories?.map(C=>f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:331",className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsxs("button",{"data-loc":"client/src/pages/BudgetEstimator.tsx:332",onClick:()=>a(r===C.category?null:C.category),className:"w-full flex items-center justify-between px-4 py-3 hover:bg-white/5 transition-colors",children:[f.jsx("span",{"data-loc":"client/src/pages/BudgetEstimator.tsx:333",className:"text-sm font-semibold text-white/80",children:C.category}),f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:334",className:"flex items-center gap-3",children:[f.jsx("span",{"data-loc":"client/src/pages/BudgetEstimator.tsx:335",className:"text-sm font-bold text-[#c4c96a]",children:T(C.subtotal)}),r===C.category?f.jsx(Gx,{"data-loc":"client/src/pages/BudgetEstimator.tsx:336",className:"h-4 w-4 text-white/30"}):f.jsx(tl,{"data-loc":"client/src/pages/BudgetEstimator.tsx:336",className:"h-4 w-4 text-white/30"})]})]}),r===C.category&&f.jsx("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:340",className:"border-t",style:{borderColor:"rgba(255,255,255,0.06)",background:"rgba(255,255,255,0.02)"},children:C.items?.map((M,V)=>f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:342",className:"flex items-start justify-between px-4 py-2.5 text-xs",style:{borderTop:V>0?"1px solid rgba(255,255,255,0.04)":void 0},children:[f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:343",children:[f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:344",className:"text-white/70",children:M.name}),M.notes&&f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:345",className:"text-white/30 mt-0.5",children:M.notes})]}),f.jsx("span",{"data-loc":"client/src/pages/BudgetEstimator.tsx:347",className:"text-white/60 shrink-0 ml-4",children:T(M.amount)})]},V))})]},C.category)),i.costSavingTips?.length>0&&f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:357",className:"rounded-2xl p-4",style:{background:"rgba(6,148,148,0.06)",border:"1px solid rgba(6,148,148,0.2)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:358",className:"flex items-center gap-2 mb-3",children:[f.jsx(_S,{"data-loc":"client/src/pages/BudgetEstimator.tsx:359",className:"h-4 w-4 text-[#069494]"}),f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:360",className:"text-sm font-semibold text-[#6ee7e7]",children:"Cost-saving tips"})]}),f.jsx("ul",{"data-loc":"client/src/pages/BudgetEstimator.tsx:362",className:"flex flex-col gap-1.5",children:i.costSavingTips.map((C,M)=>f.jsxs("li",{"data-loc":"client/src/pages/BudgetEstimator.tsx:364",className:"text-xs text-white/55 flex gap-2",children:[f.jsx("span",{"data-loc":"client/src/pages/BudgetEstimator.tsx:364",className:"text-teal-500 shrink-0",children:"·"}),C]},M))})]}),i.assumptions?.length>0&&f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:372",className:"rounded-2xl p-4",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/BudgetEstimator.tsx:373",className:"flex items-center gap-2 mb-3",children:[f.jsx(Yx,{"data-loc":"client/src/pages/BudgetEstimator.tsx:374",className:"h-4 w-4 text-white/30"}),f.jsx("p",{"data-loc":"client/src/pages/BudgetEstimator.tsx:375",className:"text-xs font-semibold text-white/40 uppercase tracking-widest",children:"Assumptions"})]}),f.jsx("ul",{"data-loc":"client/src/pages/BudgetEstimator.tsx:377",className:"flex flex-col gap-1",children:i.assumptions.map((C,M)=>f.jsxs("li",{"data-loc":"client/src/pages/BudgetEstimator.tsx:379",className:"text-xs text-white/35 flex gap-2",children:[f.jsx("span",{"data-loc":"client/src/pages/BudgetEstimator.tsx:379",className:"shrink-0",children:"·"}),C]},M))})]})]})]})]})]})]})})}const Pne={1:{quote:"The stuff that dreams are made of.",film:"The Maltese Falcon (1941)"},2:{quote:"Get busy living, or get busy dying.",film:"The Shawshank Redemption (1994)"},3:{quote:"Every passing minute is another chance to turn it all around.",f
1083ilm:"Vanilla Sky (2001)"},4:{quote:"The world is a fine place and worth fighting for.",film:"Seven (1995)"},5:{quote:"To infinity and beyond!",film:"Toy Story (1995)"},6:{quote:"It ain't about how hard you hit. It's about how hard you can get hit and keep moving forward.",film:"Rocky Balboa (2006)"},7:{quote:"Hope is a good thing, maybe the best of things.",film:"The Shawshank Redemption (1994)"},8:{quote:"All those moments will be lost in time, like tears in rain.",film:"Blade Runner (1982)"},9:{quote:"You is kind, you is smart, you is important.",film:"The Help (2011)"},10:{quote:"Carpe diem. Seize the day, boys. Make your lives extraordinary.",film:"Dead Poets Society (1989)"},11:{quote:"Why so serious?",film:"The Dark Knight (2008)"},12:{quote:"Just keep swimming.",film:"Finding Nemo (2003)"}},Ff=[{id:1,name:"Sundance Institute â Filmmaker Labs",type:"Lab / Fellowship",location:"Park City, UT (Global)",initials:"SI",color:"#818640",bio:"The world's leading independent film organization. Offers labs, fellowships, and grants for emerging filmmakers across narrative, documentary, and episodic formats. Applications open annually.",focus:["Narrative","Documentary","Episodic","Shorts"],submissionNote:"Labs and Fellowships are open to emerging filmmakers globally. Applications typically open in late summer each year via the Sundance Institute website.",links:{website:"https://www.sundance.org/programs/filmmaker-labs",instagram:"https://www.instagram.com/sundanceinstitute",twitter:"https://twitter.com/sundanceinst"},submissionUrl:"https://www.sundance.org/programs/filmmaker-labs",tags:["Lab","Fellowship","Grant","Global","Narrative","Documentary"]},{id:2,name:"Film Independent â Labs & Project Involve",type:"Filmmaker Support Organization",location:"Los Angeles, CA",initials:"FI",color:"#069494",bio:"Non-profit arts organization supporting independent filmmakers through labs, fellowships, grants, and the Spirit Awards. Project Involve specifically supports underrepresented voices in film.",focus:["Independent Film","Diversity","Development"],submissionNote:"Multiple labs and fellowship programs open to emerging filmmakers. Project Involve supports underrepresented voices â applications open annually.",links:{website:"https://www.filmindependent.org/programs",instagram:"https://www.instagram.com/filmindependent",twitter:"https://twitter.com/filmindependent"},submissionUrl:"https://www.filmindependent.org/programs",tags:["Lab","Fellowship","Spirit Awards","Independent"]},{id:3,name:"ARRAY Filmworks â Distribution & Advocacy",type:"Distribution & Filmmaker Collective",location:"Los Angeles, CA",initials:"AR",color:"#818640",bio:"A distribution and advocacy collective dedicated to amplifying films by people of color and women globally. Accepts submissions from underrepresented independent filmmakers.",focus:["Narrative Film","Documentary","Social Impact"],submissionNote:"ARRAY Filmworks accepts film submissions from underrepresented filmmakers. Submit via the official ARRAY website.",links:{website:"https://www.arrayfilms.net",instagram:"https://www.instagram.com/arrayfilms",twitter:"https://twitter.com/arrayfilms"},submissionUrl:"https://www.arrayfilms.net",tags:["Women in Film","Social Impact","Distribution"]},{id:4,name:"Maisha Film Lab",type:"Training Program",location:"Kampala, Uganda (East Africa)",initials:"MFL",color:"#0891b2",bio:"A training program for East African filmmakers offering workshops, mentorship, and production support. Focused on developing authentic African storytelling voices.",focus:["World Cinema","Documentary","Training"],submissionNote:"Maisha Film Lab runs annual training programs for East African filmmakers. Applications open each year on the official Maisha website.",links:{website:"https://www.maishafilmlab.com"},submissionUrl:"https://www.maishafilmlab.com",tags:["Training Program","World Cinema","Documentary"]},{id:5,name:"Tribeca Film Institute â TFI Network",type:"Film Fund & Education Program",location:"New York, NY",initials:"TFI",color:"#818640",bio:"Provides grants, labs, and educational programs for independent filmmakers. The TFI Network and TFI Sloan Filmmaker Fun
1083d support emerging voices in documentary and narrative film.",focus:["Documentary","Narrative","Grants"],submissionNote:"TFI accepts applications for grants and labs annually. Visit the Tribeca Film Institute website for current open calls.",links:{website:"https://www.tribecafilm.com/institute",twitter:"https://twitter.com/tribecafilminst"},submissionUrl:"https://www.tribecafilm.com/institute",tags:["Grant","Lab","New York","Documentary"]},{id:6,name:"Hillman Grad Productions â Mentorship Program",type:"Mentorship & Development",location:"Chicago / Los Angeles",initials:"HG",color:"#069494",bio:"A production company with an active mentorship program that develops projects from diverse, emerging storytellers in TV and film.",focus:["TV Drama","Narrative Film"],submissionNote:"Hillman Grad Productions has a mentorship program and accepts submissions from emerging writers and directors. Visit their official website.",links:{website:"https://www.hillmangrad.com",instagram:"https://www.instagram.com/hillmangrad"},submissionUrl:"https://www.hillmangrad.com",tags:["TV","Mentorship"]},{id:7,name:"Proximity Media â Emerging Filmmaker Pipeline",type:"Production & Development",location:"Oakland, CA",initials:"PM",color:"#818640",bio:"A production company with an active development pipeline for emerging filmmakers and diverse voices. Focuses on character-driven stories across feature film and television.",focus:["Feature Film","Genre","Character-Driven Stories"],submissionNote:"Proximity Media accepts pitches and has a development pipeline for emerging filmmakers. Contact via their official website.",links:{website:"https://www.proximitymedia.com"},submissionUrl:"https://www.proximitymedia.com",tags:["Feature Film","Studio Pathway"]},{id:8,name:"Werner Herzog's Rogue Film School",type:"Independent Film School",location:"Los Angeles / Munich (Periodic)",initials:"RFS",color:"#0891b2",bio:"An unconventional film school teaching aspiring filmmakers a radical, hands-on approach to cinema â covering everything from guerrilla production to the philosophy of storytelling.",focus:["Documentary","Narrative","Unconventional Filmmaking"],submissionNote:"The Rogue Film School accepts applications from filmmakers worldwide. The school is held periodically â check the official website for upcoming dates.",links:{website:"https://www.wernerherzog.com/rogue-film-school.html"},submissionUrl:"https://www.wernerherzog.com/rogue-film-school.html",tags:["Film School","Documentary","Unconventional"]},{id:9,name:"SOC Films â Documentary Collaboration",type:"Documentary Production & Collaboration",location:"Karachi / Toronto",initials:"SOC",color:"#818640",bio:"An award-winning documentary production company that accepts submissions and collaborates with emerging documentary filmmakers, with a focus on human rights and South Asian stories.",focus:["Documentary","Human Rights","South Asian Cinema"],submissionNote:"SOC Films accepts submissions and collaborates with emerging documentary filmmakers. Contact via the official SOC Films website.",links:{website:"https://www.socfilms.com"},submissionUrl:"https://www.socfilms.com",tags:["Documentary","South Asia","Human Rights"]},{id:10,name:"NYU Tisch â Graduate Film Program",type:"Film School / Graduate Program",location:"New York, NY",initials:"NYU",color:"#069494",bio:"One of the world's most prestigious film schools, offering MFA programs in film and TV. Graduates include some of the most influential independent filmmakers working today.",focus:["Independent Film","Social Commentary","Cinematography"],submissionNote:"Aspiring filmmakers can apply to the NYU Tisch Graduate Film program. Applications open annually â visit the Tisch website for deadlines.",links:{website:"https://tisch.nyu.edu/film-tv",instagram:"https://www.instagram.com/nyutisch"},submissionUrl:"https://tisch.nyu.edu/film-tv",tags:["Film School","Independent","New York"]},{id:11,name:"IFP (Gotham Film & Media Institute)",type:"Filmmaker Support Organization",location:"New York, NY",initials:"IFP",color:"#818640",bio:"One of the oldest and most respected organizations supp
1083orting independent filmmakers. Offers labs, market access, and the Gotham Awards for emerging and established indie filmmakers.",focus:["Independent Film","Development","Market Access"],submissionNote:"IFP runs the Gotham Week Project Market and filmmaker labs. Applications open annually â visit the Gotham Film website for details.",links:{website:"https://www.gotham.film",twitter:"https://twitter.com/gothamfilm"},submissionUrl:"https://www.gotham.film/programs",tags:["Lab","Grant","New York","Independent"]},{id:12,name:"40 Acres and a Mule Filmworks â Student Outreach",type:"Production Company / Student Outreach",location:"New York, NY",initials:"40A",color:"#0891b2",bio:"An independent production company with a long history of supporting film students and emerging filmmakers through outreach, mentorship, and collaboration opportunities.",focus:["Independent Film","Social Commentary","Student Outreach"],submissionNote:"Aspiring filmmakers can engage through NYU Tisch's graduate film program and public filmmaker events. Follow official channels for outreach opportunities.",links:{website:"https://www.40acresandamule.com"},submissionUrl:"https://tisch.nyu.edu/film-tv",tags:["Independent","Student Outreach"]}],jne=new Set(["Africa","LGBTQ+","BIPOC"]),Bne=Array.from(new Set(Ff.flatMap(e=>e.tags))).filter(e=>!jne.has(e)).sort(),zne=new Set(["LGBTQ+ Stories"]),Fne=Array.from(new Set(Ff.flatMap(e=>e.focus))).filter(e=>!zne.has(e)).sort();function Hne(){const[e,t]=O.useState(""),[n,r]=O.useState(null),[a,i]=O.useState(null),[o,c]=O.useState(null),[u,h]=O.useState(!1),[g,p]=O.useState(!1),[b,y]=O.useState({quote:"",film:"",year:"",submitterName:""}),w=je.quotes.submit.useMutation({onSuccess:()=>{p(!0),$e.success("Quote submitted! Thank you.")},onError:()=>$e.error("Submission failed. Please try again.")}),T=Ff.filter(A=>{const N=e.toLowerCase(),R=!N||A.name.toLowerCase().includes(N)||A.type.toLowerCase().includes(N)||A.bio.toLowerCase().includes(N)||A.focus.some(q=>q.toLowerCase().includes(N)),z=!n||A.tags.includes(n),W=!a||A.focus.includes(a);return R&&z&&W});return f.jsx(is,{"data-loc":"client/src/pages/MentorDirectory.tsx:262",requireAuth:!1,children:f.jsx("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:263",className:"flex flex-col",children:f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:265",className:"container py-10 max-w-5xl",children:[f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:267",className:"mb-10",children:[f.jsxs("span",{"data-loc":"client/src/pages/MentorDirectory.tsx:268",className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-semibold tracking-wide mb-4",style:{background:"rgba(129,134,64,0.12)",border:"1px solid rgba(129,134,64,0.3)",color:"#c4c96a"},children:[f.jsx(x0,{"data-loc":"client/src/pages/MentorDirectory.tsx:269",className:"h-3 w-3"})," Industry programs & organizations"]}),f.jsxs("h1",{"data-loc":"client/src/pages/MentorDirectory.tsx:271",className:"font-display font-bold text-3xl lg:text-4xl text-white mb-3",children:["Programs that champion"," ",f.jsx("span",{"data-loc":"client/src/pages/MentorDirectory.tsx:273",className:"text-gradient-brand",children:"newcomers."})]}),f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:275",className:"text-white/50 max-w-2xl leading-relaxed",children:"A curated directory of official programs, labs, funds, and organizations known for actively supporting emerging and independent filmmakers. All submission information is publicly available from official sources."}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:278",className:"mt-4 px-4 py-3 rounded-xl text-sm",style:{background:"rgba(129,134,64,0.08)",border:"1px solid rgba(129,134,64,0.2)",color:"rgba(255,255,255,0.5)"},children:[f.jsx("strong",{"data-loc":"client/src/pages/MentorDirectory.tsx:279",className:"text-white/70",children:"Note:"})," This directory lists official programs and organizations only â not individual people. All links go to publicly available submission pages."]})]}),f.jsx("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:284",className:"flex flex-col sm:flex-row gap-3 mb-6",children:f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:285",className:"flex items-center gap-2 flex-1 px-4 py-2.5 rounded-xl",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"},children:[f.jsx(GP,{"data-loc":"client/src/pages/MentorDirectory.tsx:286",className:"h-4 w-4 text-white/30 shrink-0"}),f.jsx("input",{"data-loc":"client/src/pages/MentorDirectory.tsx:287",value:e,onCh
1083ange:A=>t(A.target.value),placeholder:"Search by name, type, or focusâ¦",className:"flex-1 bg-transparent text-sm text-white/80 placeholder:text-white/30 outline-none"})]})}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:297",className:"mb-2",children:[f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:298",className:"text-xs text-white/30 uppercase tracking-widest mb-2 font-semibold",children:"Filter by type"}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:299",className:"flex flex-wrap gap-2 mb-5",children:[f.jsxs("button",{"data-loc":"client/src/pages/MentorDirectory.tsx:300",onClick:()=>r(null),className:"px-3 py-1.5 rounded-full text-xs transition-all",style:{background:n?"rgba(255,255,255,0.04)":"rgba(129,134,64,0.2)",border:`1px solid ${n?"rgba(255,255,255,0.08)":"rgba(129,134,64,0.4)"}`,color:n?"rgba(255,255,255,0.45)":"#c4c96a"},children:["All (",Ff.length,")"]}),Bne.map(A=>f.jsx("button",{"data-loc":"client/src/pages/MentorDirectory.tsx:308",onClick:()=>r(n===A?null:A),className:"px-3 py-1.5 rounded-full text-xs transition-all",style:{background:n===A?"rgba(129,134,64,0.2)":"rgba(255,255,255,0.04)",border:`1px solid ${n===A?"rgba(129,134,64,0.4)":"rgba(255,255,255,0.08)"}`,color:n===A?"#c4c96a":"rgba(255,255,255,0.45)"},children:A},A))]})]}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:321",className:"mb-8",children:[f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:322",className:"text-xs text-white/30 uppercase tracking-widest mb-2 font-semibold",children:"Filter by genre / focus"}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:323",className:"flex flex-wrap gap-2",children:[f.jsx("button",{"data-loc":"client/src/pages/MentorDirectory.tsx:324",onClick:()=>i(null),className:"px-3 py-1.5 rounded-full text-xs transition-all",style:{background:a?"rgba(255,255,255,0.04)":"rgba(6,148,148,0.18)",border:`1px solid ${a?"rgba(255,255,255,0.08)":"rgba(6,148,148,0.4)"}`,color:a?"rgba(255,255,255,0.45)":"#6ee7e7"},children:"All genres"}),Fne.map(A=>f.jsx("button",{"data-loc":"client/src/pages/MentorDirectory.tsx:332",onClick:()=>i(a===A?null:A),className:"px-3 py-1.5 rounded-full text-xs transition-all",style:{background:a===A?"rgba(6,148,148,0.18)":"rgba(255,255,255,0.04)",border:`1px solid ${a===A?"rgba(6,148,148,0.4)":"rgba(255,255,255,0.08)"}`,color:a===A?"#6ee7e7":"rgba(255,255,255,0.45)"},children:A},A))]})]}),f.jsx("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:345",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:T.map(A=>{const N=Pne[A.id];return f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:349",className:"rounded-2xl overflow-hidden transition-all",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.07)"},children:[N&&f.jsx("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:356",className:"px-5 pt-5 pb-4",style:{background:`linear-gradient(135deg, ${A.color}22 0%, rgba(13,10,30,0) 100%)`,borderBottom:"1px solid rgba(255,255,255,0.05)"},children:f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:357",className:"flex items-start gap-2",children:[f.jsx("span",{"data-loc":"client/src/pages/MentorDirectory.tsx:358",className:"text-2xl leading-none mt-0.5",style:{color:A.color,opacity:.7},children:"â"}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:359",children:[f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:360",className:"text-sm font-medium italic leading-snug",style:{color:"rgba(255,255,255,0.75)"},children:N.quote}),f.jsxs("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:361",className:"text-xs mt-1",style:{color:"rgba(255,255,255,0.3)"},children:["â ",N.film]})]})]})}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:367",className:"p-5",children:[f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:368",className:"flex items-start gap-4 mb-3",children:[f.jsx("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:369",className:"w-2 self-stretch rounded-full shrink-0",style:{background:A.color}}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:370",className:"flex-1 min-w-0",children:[f.jsx("h3",{"data-loc":"client/src/pages/MentorDirectory.tsx:371",className:"font-display font-semibold text-white text-base leading-tight mb-0.5",children:A.name}),f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:372",className:"text-xs text-white/40",children:A.type}),f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:373",className:"text-xs text-white/30 mt-0.5",children:A.location})]})]}),f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:377",className:"text-sm text-white/55 leading-relaxed mb-3 line-clamp-3",children:A.bio}),f.jsx("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:380",className:"flex flex-wrap gap-1.5 mb-3",children:A.focus.map(R=>f.jsx("span",{"data-loc":"client/src/pages/MentorDirectory.tsx:382",className:"px-2 py-0.5 rounded-full text-xs",style:{background:"rgba(255,255,255,0.06)",color:"rgba(255,255,255,0.45)"},children:R},R))}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:387",className:"flex items-center gap-3",children:[A.links.website&&f.jsx("a",{"data-loc":"client/src/pages/MentorDirectory.tsx:389",href:A.links.website,target:"_blank",rel:"noopener noreferrer",className:"text-white/30 hover:text-white/70 transition-colors",children:f.jsx(wS,{"data-loc":"client/src/pages/MentorDirectory.tsx:390",className:"h-4 w-4"})}),A.links.instagram&&f.jsx("a",{"data-loc":"client/src/pages/MentorDirectory.tsx:394",href:A.links.instagram,target:"_blank",rel:"noopener noreferrer",className:"text-white/30 hover:text-white/70 transition-colors",children:f.jsx(TS,{"data-loc":"client/src/pages/MentorDirectory.tsx:395",className:"h-4 w-4"})}),A.links.twitter&&f.jsx("a",{"data-loc":"client/src/pages/MentorDirectory.tsx:399",href:A.links.twitter,target:"_blank",rel:"noopener noreferrer",className:"text-white/30 hover:text-white/70 transition-colors",children:f.jsx(OS,{"data-loc":"client/src/pages/MentorDirectory.tsx:400",className:"h-4 w-4"})})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:407",style:{borderTop:"1px solid rgba(255,255,255,0.06)"},children:[f.jsxs("button",{"data-loc":"client/src/pages/MentorDirectory.tsx:408",onClick:()=>c(o===A.id?null:A.id),className:"w-full flex items-center justify-between px-5 py-3 text-sm transition-colors hover:bg-white/5",style:{color:"#6ee7b7"},children:[f.jsx("span",{"data-loc":"client/src/pages/MentorDirectory.tsx:413",children:"How to apply / submit"}),f.jsx("span",{"data-loc":"client/src/pages/MentorDirectory.tsx:414",className:"text-xs",children:o===A.id?"â²":"â¼"})]}),o===A.id&&f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:417",className:"px-5 pb-5",children:[f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:418",className:"text-sm text-white/55 leading-relaxed mb-3",children:A.submissionNote}),f.jsxs("a",{"data-loc":"client/src/pages/MentorDirectory.tsx:419",href:A.submissionUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs font-semibold px-3 py-2 rounded-lg transition-all hover:opacity-80",style:{background:"rgba(129,134,64,0.15)",border:"1px solid rgba(129,134,64,0.3)",color:"#c4c96a"},children:[f.jsx(ES,{"data-loc":"client/src/pages/MentorDirectory.tsx:426",className:"h-3 w-3"}),"Visit official website"]})]})]})]},A.id)})}),T.length===0&&f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:438",className:"text-center py-16",children:[f.jsx(x0,{"data-loc":"client/src/pages/MentorDirectory.tsx:439",className:"h-10 w-10 text-white/20 mx-auto mb-3"}),f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:440",className:"text-white/40",children:"No programs found matching your search."})]}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:445",className:"mt-14 rounded-2xl overflow-hidden",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:446",className:"px-6 py-5 flex items-center justify-between",style:{borderBottom:"1px solid rgba(255,255,255,0.06)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:447",className:"flex items-center gap-3",children:[f.jsx(ss,{"data-loc":"client/src/pages/MentorDirectory.tsx:448",className:"h-5 w-5 text-[#a8ae52]"}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:449",children:[f.jsx("h3",{"data-loc":"client/src/pages/MentorDirectory.tsx:450",className:"font-display font-semibold text-white text-base",children:"Suggest a film quote"}),f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:451",className:"text-xs text-white/40 mt-0.5",children:"Know a great movie quote that inspires filmmakers? Submit it to be featured on a program card."})]})]}),!u&&!g&&f.jsx("button",{"data-loc":"client/src/pages/MentorDirectory.tsx:455",onClick:()=>h(!0),className:"px-4 py-2 rounded-xl text-sm font-semibold transition-all hover:scale-105 active:scale-95",style:{background:"rgba(129,134,64,0.2)",border:"1px solid rgba(129,134,64,0.4)",color:"#c4c96a"},children:"+ Submit quote"})]}),g?f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:466",className:"px-6 py-10 flex flex-col items-center text-center gap-3",children:[f.jsx(wP,{"data-loc":"client/src/pages/MentorDirectory.tsx:467",className:"h-10 w-10 text-[#069494]"}),f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:468",className:"font-display font-semibold text-white text-lg",children:"Quote submitted!"}),f.jsx("p",{"data-loc":"client/src/pages/MentorDirectory.tsx:469",className:"text-sm text-white/40",children:"Thank y
1083ou â our team will review it and may feature it on a program card."}),f.jsx("button",{"data-loc":"client/src/pages/MentorDirectory.tsx:470",onClick:()=>{p(!1),h(!1),y({quote:"",film:"",year:"",submitterName:""})},className:"mt-2 text-xs text-[#a8ae52] underline underline-offset-2",children:"Submit another"})]}):u?f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:473",className:"px-6 py-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:474",className:"grid grid-cols-1 sm:grid-cols-2 gap-4 mb-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:475",className:"sm:col-span-2",children:[f.jsxs("label",{"data-loc":"client/src/pages/MentorDirectory.tsx:476",className:"block text-xs text-white/40 mb-1.5 font-medium",children:["Movie quote ",f.jsx("span",{"data-loc":"client/src/pages/MentorDirectory.tsx:476",className:"text-[#a8ae52]",children:"*"})]}),f.jsx("textarea",{"data-loc":"client/src/pages/MentorDirectory.tsx:477",value:b.quote,onChange:A=>y(N=>({...N,quote:A.target.value})),placeholder:"\\u201cThe stuff that dreams are made of.\\u201d",rows:2,className:"w-full px-4 py-3 rounded-xl text-sm text-white/80 placeholder:text-white/25 outline-none resize-none",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"}})]}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:486",children:[f.jsxs("label",{"data-loc":"client/src/pages/MentorDirectory.tsx:487",className:"block text-xs text-white/40 mb-1.5 font-medium",children:["Film title ",f.jsx("span",{"data-loc":"client/src/pages/MentorDirectory.tsx:487",className:"text-[#a8ae52]",children:"*"})]}),f.jsx("input",{"data-loc":"client/src/pages/MentorDirectory.tsx:488",value:b.film,onChange:A=>y(N=>({...N,film:A.target.value})),placeholder:"The Maltese Falcon",className:"w-full px-4 py-3 rounded-xl text-sm text-white/80 placeholder:text-white/25 outline-none",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"}})]}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:496",children:[f.jsx("label",{"data-loc":"client/src/pages/MentorDirectory.tsx:497",className:"block text-xs text-white/40 mb-1.5 font-medium",children:"Year (optional)"}),f.jsx("input",{"data-loc":"client/src/pages/MentorDirectory.tsx:498",value:b.year,onChange:A=>y(N=>({...N,year:A.target.value})),placeholder:"1941",type:"number",min:1888,max:2030,className:"w-full px-4 py-3 rounded-xl text-sm text-white/80 placeholder:text-white/25 outline-none",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"}})]}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:509",className:"sm:col-span-2",children:[f.jsx("label",{"data-loc":"client/src/pages/MentorDirectory.tsx:510",className:"block text-xs text-white/40 mb-1.5 font-medium",children:"Your name (optional)"}),f.jsx("input",{"data-loc":"client/src/pages/MentorDirectory.tsx:511",value:b.submitterName,onChange:A=>y(N=>({...N,submitterName:A.target.value})),placeholder:"e.g. Alex (filmmaker)",className:"w-full px-4 py-3 rounded-xl text-sm text-white/80 placeholder:text-white/25 outline-none",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"}})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:520",className:"flex items-center gap-3",children:[f.jsxs("button",{"data-loc":"client/src/pages/MentorDirectory.tsx:521",onClick:()=>{if(!b.quote.trim()||!b.film.trim()){$e.error("Quote and film title are required.");return}w.mutate({quote:b.quote.trim(),film:b.film.trim(),year:b.year?parseInt(b.year):void 0,submitterName:b.submitterName.trim()||void 0})},disabled:w.isPending,className:"flex items-center gap-2 px-5 py-2.5 rounded-xl text-sm font-semibold transition-all hover:scale-105 active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed",style:{background:"linear-gradient(135deg, #818640 0%, #069494 100%)",color:"white"},children:[f.jsx(_c,{"data-loc":"client/src/pages/MentorDirectory.tsx:538",className:"h-4 w-4"}),w.isPending?"Submittingâ¦":"Submit quote"]}),f.jsx("button",{"data-loc":"client/src/pages/MentorDirectory.tsx:541",onClick:()=>h(!1),className:"text-sm text-white/30 hover:text-white/60 transition-colors",children:"Cancel"})]})]}):null]}),f.jsxs("div",{"data-loc":"client/src/pages/MentorDirectory.tsx:548",className:"mt-8 p-5 rounded-2xl text-sm text-white/40 leading-relaxed",style:{background:"rgba(255,255,255,0.02)",border:"1px solid rgba(255,255,255,0.06)"},children:[f.jsx("strong",{"data-loc":"client/src/pages/MentorDirectory.tsx:549",className:"text-white/60",children:"Disclaimer:"})," This directory is for informational purposes only. Creator AI Hub is not affiliated with, endorsed by, or partnered with any of the organizations listed. All submission links point to publicly available official sources. Program availability and deadlines change â always verify on the official website before applying."]})]})})})}const Une=yS("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-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 transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function C0({className:e,variant:t,asChild:n=!1,...r}){const a=n?_w:"span";return f.jsx(a,{"data-loc":"client/src/components/ui/badge.tsx:38","data-slot":"badge",className:el(Une({variant:t}),e),...r})}function qne(){const{user:e,loading:t}=cs(),n=je.useUtils(),{data:r,isLoading:a}=je.quotes.listPending.useQuery(void 0,{enabled:!t&&e?.role==="admin"}),i=je.quotes.approve.useMutation({onSuccess:()=>
1083{$e.success("Quote approved!"),n.quotes.listPending.invalidate()},onError:()=>$e.error("Failed to approve quote.")}),o=je.quotes.reject.useMutation({onSuccess:()=>{$e.success("Quote rejected."),n.quotes.listPending.invalidate()},onError:()=>$e.error("Failed to reject quote.")});return!t&&e&&e.role!=="admin"?f.jsx(is,{"data-loc":"client/src/pages/AdminQuotes.tsx:37",children:f.jsxs("div",{"data-loc":"client/src/pages/AdminQuotes.tsx:38",className:"flex flex-col items-center justify-center py-24 gap-4",children:[f.jsx(YP,{"data-loc":"client/src/pages/AdminQuotes.tsx:39",className:"h-12 w-12 text-red-400"}),f.jsx("h2",{"data-loc":"client/src/pages/AdminQuotes.tsx:40",className:"text-xl font-display font-bold text-white",children:"Access Denied"}),f.jsx("p",{"data-loc":"client/src/pages/AdminQuotes.tsx:41",className:"text-white/50 text-sm",children:"This page is restricted to administrators."}),f.jsx(Cr,{"data-loc":"client/src/pages/AdminQuotes.tsx:42",href:"/",children:f.jsx(He,{"data-loc":"client/src/pages/AdminQuotes.tsx:43",variant:"outline",className:"border-white/20 text-white/70 hover:text-white",children:"Back to Home"})})]})}):f.jsx(is,{"data-loc":"client/src/pages/AdminQuotes.tsx:53",children:f.jsxs("div",{"data-loc":"client/src/pages/AdminQuotes.tsx:54",className:"max-w-3xl mx-auto px-4 py-10",children:[f.jsxs("div",{"data-loc":"client/src/pages/AdminQuotes.tsx:56",className:"mb-8",children:[f.jsx("h1",{"data-loc":"client/src/pages/AdminQuotes.tsx:57",className:"font-display text-3xl font-bold text-white mb-2",children:"Quote Review Panel"}),f.jsx("p",{"data-loc":"client/src/pages/AdminQuotes.tsx:60",className:"text-white/50 text-sm",children:"Approve or reject community-submitted movie quotes for the Programs directory."})]}),a?f.jsx("div",{"data-loc":"client/src/pages/AdminQuotes.tsx:67",className:"flex items-center justify-center py-24",children:f.jsx(Jt,{"data-loc":"client/src/pages/AdminQuotes.tsx:68",className:"h-8 w-8 animate-spin text-[#a8ae52]"})}):!r||r.length===0?f.jsxs("div",{"data-loc":"client/src/pages/AdminQuotes.tsx:71",className:"flex flex-col items-center justify-center py-24 gap-3",children:[f.jsx(df,{"data-loc":"client/src/pages/AdminQuotes.tsx:72",className:"h-12 w-12 text-[#069494]"}),f.jsx("h3",{"data-loc":"client/src/pages/AdminQuotes.tsx:73",className:"text-lg font-semibold text-white",children:"All caught up!"}),f.jsx("p",{"data-loc":"client/src/pages/AdminQuotes.tsx:74",className:"text-white/40 text-sm",children:"No pending quote submissions to review."})]}):f.jsxs("div",{"data-loc":"client/src/pages/AdminQuotes.tsx:77",className:"flex flex-col gap-4",children:[f.jsxs("p",{"data-loc":"client/src/pages/AdminQuotes.tsx:78",className:"text-white/40 text-sm mb-2",children:[r.length," pending submission",r.length!==1?"s":""]}),r.map(c=>f.jsxs("div",{"data-loc":"client/src/pages/AdminQuotes.tsx:82",className:"rounded-2xl p-5 flex flex-col gap-4",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsxs("blockquote",{"data-loc":"client/src/pages/AdminQuotes.tsx:91",className:"text-white/90 text-base italic leading-relaxed border-l-2 border-[#818640] pl-4",children:['"',c.quote,'"']}),f.jsxs("div",{"data-loc":"client/src/pages/AdminQuotes.tsx:96",className:"flex flex-wrap gap-3 text-xs text-white/40",children:[f.jsxs("span",{"data-loc":"client/src/pages/AdminQuotes.tsx:97",className:"flex items-center gap-1.5",children:[f.jsx(ss,{"data-loc":"client/src/pages/AdminQuotes.tsx:98",className:"h-3.5 w-3.5 text-[#069494]"}),f.jsx("span",{"data-loc":"client/src/pages/AdminQuotes.tsx:99",className:"text-white/70 font-medium",children:c.film}),c.year&&f.jsxs("span",{"data-loc":"client/src/pages/AdminQuotes.tsx:100",children:["(",c.year,")"]})]}),c.submitterName&&f.jsxs("span",{"data-loc":"client/src/pages/AdminQuotes.tsx:103",className:"flex items-center gap-1.5",children:[f.jsx(RS,{"data-loc":"client/src/pages/AdminQuotes.tsx:104",className:"h-3.5 w-3.5"}),c.submitterName]}),f.jsxs("span",{"data-loc":"client/src/pages/AdminQuotes.tsx:108",className:"flex items-center gap-1.5",children:[f.jsx(O2,{"data-loc":"client/src/pages/AdminQuotes.tsx:109",className:"h-3.5 w-3.5"}),new Date(c.createdAt).toLocaleDateString()]}),c.programId&&f.jsxs(C0,{"data-loc":"client/src/pages/AdminQuotes.tsx:113",variant:"outline",className:"text-xs border-[#818640]/40 text-[#c4c96a]",children:["Program #",c.programId]})]}),f.jsxs("div",{"data-loc":"client/src/pages/AdminQuotes.tsx:123",className:"flex gap-2 pt-1",children:[f.jsxs(He,{"data-loc":"client/src/pages/AdminQuotes.tsx:124",size:"sm",onClick:()=>i.mutate({id:c.id}),disabled:i.isPending||o.isPending,className:"gap-1.5 text-xs",style:{background:"linear-gradient(135deg, #059669, #069494)"},children:[i.isPending?f.jsx(Jt,{"data-loc":"client/src/pages/AdminQuotes.tsx:132",className:"h-3.5 w-3.5 animate-spin"}):f.jsx(df,{"data-loc":"client/src/pages/AdminQuotes.tsx:134",className:"h-3.5 w-3.5"}),"Approve"]}),f.jsxs(He,{"data-loc":"client/src/pages/AdminQuotes.tsx:138",size:"sm",variant:"outline",onClick:()=>o.mutate({id:c.id}),disabled:i.isPending||o.isPending,className:"gap-1.5 text-xs border-red-500/30 text-red-400 hover:bg-red-500/10 hover:text-red-300",children:[o.isPending?f.jsx(Jt,{"data-loc":"client/src/pages/AdminQuotes.tsx:146",className:"h-3.5 w-3.5 animate-spin"}):f.jsx(SP,{"data-loc":"client/src/pages/AdminQuotes.tsx:148",className:"h-3.5 w-3.5"}),"Reject"]})]})]},c.id))]})]})})}function Vne({shareId:e}){const[t,n]=O.useState(null),{data:r,isLoading:a,error:i}=je.budgetShare.getByShareId.useQuery({shareId:e},{retry:!1});function o(u,h){return new Intl.NumberFormat("en-US",{style:"currency",currency:h||"USD",maximumFractionDigits:0}).format(u)}const c=(()=>
1083{if(!r?.resultJson)return null;try{return typeof r.resultJson=="string"?JSON.parse(r.resultJson):r.resultJson}catch{return null}})();return f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:38",className:"min-h-screen",style:{background:"linear-gradient(135deg, #1F1E1C 0%, #1a0a2e 30%, #0a1628 60%, #0d1f1e 100%)",fontFamily:"'Inter', sans-serif"},children:[f.jsxs("nav",{"data-loc":"client/src/pages/SharedBudget.tsx:46",className:"flex items-center justify-between px-6 py-4 border-b",style:{borderColor:"rgba(255,255,255,0.07)",background:"rgba(13,10,30,0.8)"},children:[f.jsxs(Cr,{"data-loc":"client/src/pages/SharedBudget.tsx:50",href:"/",className:"flex items-center gap-2 text-white/80 hover:text-white transition-colors",children:[f.jsx(xa,{"data-loc":"client/src/pages/SharedBudget.tsx:51",className:"h-5 w-5 text-[#a8ae52]"}),f.jsx("span",{"data-loc":"client/src/pages/SharedBudget.tsx:52",className:"font-semibold text-sm",children:"Creator AI Hub"})]}),f.jsx("span",{"data-loc":"client/src/pages/SharedBudget.tsx:54",className:"text-xs text-white/30 px-3 py-1 rounded-full",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.08)"},children:"Shared budget estimate"})]}),f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:59",className:"container max-w-3xl py-12",children:[a&&f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:62",className:"flex flex-col items-center justify-center py-32 gap-4",children:[f.jsx(Jt,{"data-loc":"client/src/pages/SharedBudget.tsx:63",className:"h-10 w-10 animate-spin text-[#a8ae52]"}),f.jsx("p",{"data-loc":"client/src/pages/SharedBudget.tsx:64",className:"text-white/40 text-sm",children:"Loading estimateâ¦"})]}),!a&&(i||!r)&&f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:70",className:"flex flex-col items-center justify-center py-32 gap-4",children:[f.jsx(Yx,{"data-loc":"client/src/pages/SharedBudget.tsx:71",className:"h-10 w-10 text-red-400"}),f.jsx("h2",{"data-loc":"client/src/pages/SharedBudget.tsx:72",className:"text-xl font-bold text-white",children:"Estimate not found"}),f.jsx("p",{"data-loc":"client/src/pages/SharedBudget.tsx:73",className:"text-white/40 text-sm text-center max-w-sm",children:"This share link may have expired or been removed. Ask the creator to share a new link."}),f.jsx(Cr,{"data-loc":"client/src/pages/SharedBudget.tsx:76",href:"/",children:f.jsx("a",{"data-loc":"client/src/pages/SharedBudget.tsx:77",className:"mt-4 px-5 py-2 rounded-xl text-sm font-medium text-white transition-all",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:"Go to Creator AI Hub"})})]}),!a&&r&&c&&f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:87",className:"flex flex-col gap-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:89",className:"rounded-2xl p-6",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:96",className:"flex items-start justify-between gap-4 flex-wrap",children:[f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:97",children:[f.jsx("h1",{"data-loc":"client/src/pages/SharedBudget.tsx:98",className:"text-2xl font-bold text-white mb-1",style:{fontFamily:"'Syne', sans-serif"},children:r.projectTitle}),f.jsxs("p",{"data-loc":"client/src/pages/SharedBudget.tsx:101",className:"text-white/40 text-sm",children:["Shared budget estimate · ",new Date(r.createdAt).toLocaleDateString(void 0,{month:"long",day:"numeric",year:"numeric"})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:105",className:"text-right px-5 py-3 rounded-xl",style:{background:"linear-gradient(135deg, rgba(129,134,64,0.2), rgba(6,148,148,0.2))",border:"1px solid rgba(129,134,64,0.3)"},children:[f.jsx("p",{"data-loc":"client/src/pages/SharedBudget.tsx:109",className:"text-xs text-white/40 mb-0.5",children:"Total Estimate"}),f.jsx("p",{"data-loc":"client/src/pages/SharedBudget.tsx:110",className:"text-2xl font-bold text-white",children:o(r.totalEstimate??0,r.currency??"USD")}),f.jsx("p",{"data-loc":"client/src/pages/SharedBudget.tsx:113",className:"text-xs text-white/30",children:r.currency})]})]}),f.jsx("div",{"data-loc":"client/src/pages/SharedBudget.tsx:118",className:"flex flex-wrap gap-2 mt-4",children:[{icon:ss,label:r.genre},{icon:O2,label:`${r.duration} min`},{icon:Kx,label:`${r.crewSize} crew`},{icon:O2,label:`${r.shootDays} shoot days`},...r.location?[{icon:NS,label:r.location}]:[]].map(({icon:u,label:h})=>f.jsxs("span",{"data-loc":"client/src/pages/SharedBudget.tsx:126",className:"flex items-center gap-1.5 px-3 py-1 rounded-full text-xs text-white/60",style:{background:"rgba(255,255,255,0.06)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsx(u,{"data-loc":"client/src/pages/SharedBudget.tsx:131",className:"h-3 w-3 text-[#a8ae52]"}),h]},h))})]}),c.categories&&Array.isArray(c.categories)&&f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:140",className:"flex flex-col gap-3",children:[f.jsx("h2",{"data-loc":"client/src/pages/SharedBudget.tsx:141",className:"text-sm font-semibold text-white/50 uppercase tracking-widest",children:"Budget Breakdown"}),c.categories.map(u=>f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:143",className:"rounded-2xl overflow-hidden",style:{border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsxs("button",{"data-loc":"client/src/pages/SharedBudget.tsx:148",onClick:()=>n(t===u.name?null:u.name),className:"w-full flex items-center justify-between px-5 py-4 text-left transition-colors hover:bg-white/5",children:[f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:152",className:"flex items-center gap-3",children:[f.jsx(Bi,{"data-loc":"client/src/pages/SharedBudget.tsx:153",className:"h-4 w-4 text-[#a8ae52]"}),f.jsx("span",{"data-loc":"client/src/pages/SharedBudget.tsx:154",className:"text-sm font-medium text-white",children:u.name})]}),f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:156",className:"flex items-center gap-3",children:[f.jsx("span",{"data-loc":"client/src/pages/SharedBudget.tsx:157",className:"text-sm font-semibold text-[#069494]",children:o(u.total,r.currency??"USD")}),t===u.name?f.jsx(Gx,{"data-loc":"client/src/pages/SharedBudget.tsx:161",className:"h-4 w-4 text-white/30"}):f.jsx(tl,{"data-loc":"client/src/pages/SharedBudget.tsx:162",className:"h-4 w-4 text-white/30"})]})]}),t===u.name&&u.items&&f.jsx("div",{"data-loc":"client/src/pages/SharedBudget.tsx:166",className:"px-5 pb-4 flex flex-col gap-2",style:{borderTop:"1px solid rgba(255,255,255,0.05)",background:"rgba(0,0,0,0.15)"},children:u.items.map(h=>f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:171",className:"flex justify-between items-center py-1.5",children:[f.jsx("span",{"data-loc":"client/src/pages/SharedBudget.tsx:172",className:"text-sm text-white/60",children:h.name}),f.jsx("span",{"data-loc":"client/src/pages/SharedBudget.tsx:173",className:"text-sm text-white/80 font-medium",children:o(h.cost,r.currency??"USD")})]},h.name))})]},u.name))]}),c.costSavingTips&&Array.isArray(c.costSavingTips)&&c.costSavingTips.length>0&&f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:187",className:"rounded-2xl p-5",style:{background:"rgba(6,148,148,0.08)",border:"1px solid rgba(6,148,148,0.2)"},children:[f.jsx("h3",{"data-loc":"client/src/pages/SharedBudget.tsx:194",className:"text-sm font-semibold text-[#069494] mb-3",children:"Cost-saving tips"}),f.jsx("ul",{"data-loc":"client/src/pages/SharedBudget.tsx:195",className:"flex flex-col gap-2",children:c.costSavingTips.map((u,h)=>f.jsxs("li",{"data-loc":"client/src/pages/SharedBudget.tsx:197",className:"flex gap-2 text-sm text-white/60",children:[f.jsx("span",{"data-loc":"client/src/pages/SharedBudget.tsx:198",className:"text-teal-500 shrink-0",children:"â¢"}),u]},h))})]}),f.jsxs("div",{"data-loc":"client/src/pages/SharedBudget.tsx:207",className:"rounded-2xl p-6 text-center",style:{background:"rgba(129,134,64,0.08)",border:"1px solid rgba(129,134,64,0.2)"},children:[f.jsx("p",{"data-loc":"client/src/pages/SharedBudget.tsx:211",className:"text-white/60 text-sm mb-3",children:"Want to create your own AI-powered budget estimate?"}),f.jsxs(Cr,{"data-loc":"client/src/pages/SharedBudget.tsx:214",href:"/budget",className:"inline-flex items-center gap-2 px-6 py-2.5 rounded-xl text-sm font-semibold text-white transition-all hover:opacity-90",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:[f.jsx(Bi,{"data-loc":"client/src/pages/SharedBudget.tsx:219",className:"h-4 w-4"}),"Try the Budget Estimator"]})]})]})]})]})}const Pi="#818640",Jn="#069494",$ne="#1F1E1C",No="#252420",vE=[{id:"upscale",label:"AI Upscale",icon:zP,desc:"Increase resolution 2Ãâ4à with detail preservation",color:Pi},{id:"denoise",label:"Denoise",icon:_P,desc:"Remove grain and noise from low-light footage stills",color:Jn},{id:"colorgrade",label:"Cinematic Grade",icon:Wx,desc:"Apply film-inspired color grading to your image",color:"#a8ae52"},{id:"restore",label:"Restore",icon:Qs,desc:"Repair damaged, blurry, or faded images",color:"#0ab8b8"},{id:"enhance",label:"Auto Enhance",icon:KP,desc:"Automatically improve exposure, contrast, and clarity",color:Pi},{id:"sharpen",label:"Sharpen",icon:TP,desc:"Enhance edge definition and fine detail",color:Jn}],Gne=[{id:"netflix",name:"Netflix Look",mode:"colorgrade",prompt:"Ap
1083ply a dark, high-contrast Netflix-style color grade with deep blacks, cool shadows, and vibrant highlights"},{id:"indie",name:"Indie Film",mode:"enhance",prompt:"Enhance with a warm, organic indie film aesthetic: slightly desaturated, film grain, soft highlights"},{id:"cinematic",name:"Cinematic",mode:"colorgrade",prompt:"Create a cinematic look: rich color separation, warm shadows, cool highlights, professional grade"},{id:"vintage",name:"Vintage",mode:"colorgrade",prompt:"Apply a vintage film look: faded colors, warm tones, slight vignette, nostalgic feel"}];function Yne(){const{isAuthenticated:e}=cs(),[t,n]=O.useState("enhance"),[r,a]=O.useState(null),[i,o]=O.useState(null),[c,u]=O.useState(null),[h,g]=O.useState(!1),[p,b]=O.useState(""),[y,w]=O.useState(50),[T,A]=O.useState(!1),[N,R]=O.useState([]),z=O.useRef(null),W=O.useRef(null),q=je.media.getEnhancementHistory.useQuery({limit:50},{enabled:e});je.media.getPresets.useQuery(void 0,{enabled:e});const C=je.media.uploadImage.useMutation({onSuccess:ee=>{o(ee.url??null),$e.success("Image uploaded successfully")},onError:ee=>$e.error(ee.message)}),M=je.media.enhanceImage.useMutation({onSuccess:ee=>{u(ee.url??null),$e.success("Image enhanced!")},onError:ee=>$e.error(ee.message)});je.media.saveEnhancementToHistory.useMutation({onSuccess:()=>{q.refetch()}});const V=O.useCallback(ee=>{if(!ee.type.startsWith("image/")){$e.error("Please upload an image file (JPG, PNG, WebP)");return}if(ee.size>10*1024*1024){$e.error("Image must be under 10 MB");return}a(ee),u(null);const L=new FileReader;L.onload=J=>{const te=(J.target?.result).split(",")[1];C.mutate({base64:te,mimeType:ee.type,filename:ee.name})},L.readAsDataURL(ee)},[C]),Z=O.useCallback(ee=>{ee.preventDefault(),g(!1);const L=Array.from(ee.dataTransfer.files);L.length>0&&(L.length>1&&R(L.slice(1)),V(L[0]))},[V]),I=()=>{if(!i){$e.error("Please upload an image first");return}const ee=vE.find(L=>L.id===t);M.mutate({imageUrl:i,mode:t,customPrompt:p||void 0,modeLabel:ee?.label??t})},se=ee=>{if(!i){$e.error("Please upload an image first");return}n(ee.mode),b(ee.prompt),setTimeout(()=>{M.mutate({imageUrl:i,mode:ee.mode,customPrompt:ee.prompt,modeLabel:ee.name})},100)},ae=()=>{if(!c)return;const ee=document.createElement("a");ee.href=c,ee.download=`enhanced-${r?.name??"image"}.png`,ee.click()},me=ee=>{o(ee.originalImageUrl),u(ee.enhancedImageUrl),n(ee.mode),b(ee.customPrompt||"")},oe=ee=>{if(!W.current)return;const L=te=>{const we=W.current.getBoundingClientRect(),U=Math.max(0,Math.min(100,(te.clientX-we.left)/we.width*100));w(U)},J=()=>{document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",J)};document.addEventListener("mousemove",L),document.addEventListener("mouseup",J)};return f.jsx(is,{"data-loc":"client/src/pages/ImageEnhancement.tsx:162",requireAuth:!0,children:f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:163",className:"min-h-screen",style:{background:$ne},children:[f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:165",className:"border-b px-6 py-8",style:{borderColor:"rgba(255,255,255,0.07)",background:No},children:f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:166",className:"container",children:f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:167",className:"flex items-center justify-between",children:[f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:168",className:"flex items-center gap-3 mb-2",children:[f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:169",className:"flex h-10 w-10 items-center justify-center rounded-xl",style:{background:`linear-gradient(135deg, ${Pi}, ${Jn})`},children:f.jsx(p0,{"data-loc":"client/src/pages/ImageEnhancement.tsx:170",className:"h-5 w-5 text-white"})}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:172",children:[f.jsx("h1",{"data-loc":"client/src/pages/ImageEnhancement.tsx:173",className:"font-display font-bold text-2xl text-white",children:"AI Image Enhancement"}),f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:174",className:"text-sm",style:{color:"rgba(255,255,255,0.5)"},children:"Upscale, denoise, color grade, and restore your production stills"})]})]}),f.jsxs("button",{"data-loc":"client/src/pages/ImageEnhancement.tsx:179",onClick:()=>A(!T),className:"flex items-center gap-2 px-4 py-2 rounded-lg transition-all",style:{background:T?`linear-gradient(135deg, ${Pi}, ${Jn})`:"rgba(255,255,255,0.05)",color:T?"white":"rgba(255,255,255,0.5)"},children:[f.jsx(Qx,{"data-loc":"client/src/pages/ImageEnhancement.tsx:187",className:"h-4 w-4"}),f.jsx("span",{"data-loc":"client/src/pages/ImageEnhancement.tsx:188",className:"text-sm font-medium",children:"History"})]})]})})}),f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:194",className:"container py-8",children:f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:195",className:"grid grid-cols-1 lg:grid-cols-4 gap-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:197",className:"lg:col-span-1 flex flex-col gap-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:199",className:"rounded-2xl border-2 border-dashed transition-all cursor-pointer",style:{borderColor:h?Jn:"rgba(255,255,255,0.12)",background:h?"rgba(6,148,148,0.06)":No,minHeight:200},onDragOver:ee=>{ee.preventDefault(),g(!0)},onDragLeave:()=>g(!1),onDrop:Z,onClick:()=>z.current?.click(),children:[f.jsx("input",{"data-loc":"client/src/pages/ImageEnhancement.tsx:211",ref:z,type:"file",accept:"image/*",multiple:!0,className:"hidden",onChange:ee=>{const L=Array.from(ee.target.files||[]);L.length>0&&(L.length>1&&R(L.slice(1)),V(L[0]))}}),i?f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:226",className:"relative",children:[f.jsx("img",{"data-loc":"client/src/pages/ImageEnhancement.tsx:227",src:i,alt:"Uploaded",className:"w-full rounded-2xl object-cover",style:{maxHeight:280}}),f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:233",className:"absolute inset-0 rounded-2xl flex items-center justify-center opacity-0 hover:opacity-100 transition-opacity",style:{background:"rgba(0,0,0,0.5)"},children:f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:234",className:"text-white text-sm font-medium",children:"Click to replace"})})]}):f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:238",className:"flex flex-col items-center justify-center gap-3 p-8 text-center",children:[C.isPending?f.jsx(Qs,{"data-loc":"client/src/pages/ImageEnhancement.tsx:240",className:"h-10 w-10 animate-spin",style:{color:Jn}}):f.jsx(D2,{"data-loc":"client/src/pages/ImageEnhancement.tsx:242",className:"h-10 w-10",style:{color:"rgba(255,255,255,0.3)"}}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:244",children:[f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:245",className:"text-white/60 text-sm font-medium",children:C.isPending?"Uploading...":"Drop image here or click to browse"}),f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:248",className:"text-white/30 text-xs mt-1",children:"JPG, PNG, WebP · Max 10 MB"})]})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:255",className:"rounded-2xl p-4",style:{background:No,border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:256",className:"text-xs font-semibold uppercase tracking-wider mb-3",style:{color:"rgba(255,255,255,0.4)"}
1083,children:"Quick Presets"}),f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:257",className:"grid grid-cols-2 gap-2",children:Gne.map(ee=>f.jsxs("button",{"data-loc":"client/src/pages/ImageEnhancement.tsx:259",onClick:()=>se(ee),disabled:!i||M.isPending,className:"flex items-center gap-1.5 p-2.5 rounded-lg text-left transition-all disabled:opacity-50 disabled:cursor-not-allowed",style:{background:"rgba(255,255,255,0.03)",border:"1px solid rgba(255,255,255,0.06)",color:"rgba(255,255,255,0.6)"},children:[f.jsx(Js,{"data-loc":"client/src/pages/ImageEnhancement.tsx:270",className:"h-3.5 w-3.5",style:{color:Jn}}),f.jsx("span",{"data-loc":"client/src/pages/ImageEnhancement.tsx:271",className:"text-xs font-medium",children:ee.name})]},ee.id))})]}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:278",className:"rounded-2xl p-4",style:{background:No,border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:279",className:"text-xs font-semibold uppercase tracking-wider mb-3",style:{color:"rgba(255,255,255,0.4)"},children:"Enhancement Mode"}),f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:280",className:"grid grid-cols-2 gap-2",children:vE.map(ee=>{const L=ee.icon,J=t===ee.id;return f.jsxs("button",{"data-loc":"client/src/pages/ImageEnhancement.tsx:285",onClick:()=>n(ee.id),className:"flex flex-col items-start gap-1.5 p-3 rounded-xl text-left transition-all",style:{background:J?`rgba(${ee.color===Pi?"129,134,64":"6,148,148"},0.15)`:"rgba(255,255,255,0.03)",border:`1px solid ${J?ee.color:"rgba(255,255,255,0.06)"}`},children:[f.jsx(L,{"data-loc":"client/src/pages/ImageEnhancement.tsx:294",className:"h-4 w-4",style:{color:J?ee.color:"rgba(255,255,255,0.4)"}}),f.jsx("span",{"data-loc":"client/src/pages/ImageEnhancement.tsx:295",className:"text-xs font-medium",style:{color:J?"white":"rgba(255,255,255,0.6)"},children:ee.label})]},ee.id)})})]}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:305",className:"rounded-2xl p-4",style:{background:No,border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("label",{"data-loc":"client/src/pages/ImageEnhancement.tsx:306",className:"text-xs font-semibold uppercase tracking-wider mb-2 block",style:{color:"rgba(255,255,255,0.4)"},children:"Custom Instructions (optional)"}),f.jsx("textarea",{"data-loc":"client/src/pages/ImageEnhancement.tsx:309",value:p,onChange:ee=>b(ee.target.value),placeholder:"e.g. 'Make it look like a 1970s film photograph'",className:"w-full rounded-xl p-3 text-sm resize-none",rows:3,style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)",color:"rgba(255,255,255,0.85)",outline:"none"}})]}),f.jsx(He,{"data-loc":"client/src/pages/ImageEnhancement.tsx:325",onClick:I,disabled:!i||M.isPending||C.isPending,className:"w-full h-12 font-semibold text-sm rounded-xl",style:{background:`linear-gradient(135deg, ${Pi}, ${Jn})`,color:"white"},children:M.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Qs,{"data-loc":"client/src/pages/ImageEnhancement.tsx:332",className:"h-4 w-4 mr-2 animate-spin"})," Enhancingâ¦"]}):f.jsxs(f.Fragment,{children:[f.jsx(Lo,{"data-loc":"client/src/pages/ImageEnhancement.tsx:334",className:"h-4 w-4 mr-2"})," Enhance Image"]})})]}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:340",className:"lg:col-span-2 flex flex-col gap-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:341",className:"rounded-2xl flex-1 flex flex-col overflow-hidden",style:{background:No,border:"1px solid rgba(255,255,255,0.07)",minHeight:480},children:[f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:345",className:"flex items-center justify-between px-5 py-4 border-b",style:{borderColor:"rgba(255,255,255,0.07)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:346",className:"flex items-center gap-2",children:[f.jsx(R2,{"data-loc":"client/src/pages/ImageEnhancement.tsx:347",className:"h-4 w-4",style:{color:Jn}}),f.jsx("span",{"data-loc":"client/src/pages/ImageEnhancement.tsx:348",className:"text-sm font-semibold text-white",children:"Before/After Comparison"})]}),c&&f.jsxs(He,{"data-loc":"client/src/pages/ImageEnhancement.tsx:351",onClick:ae,size:"sm",className:"h-8 px-4 roun
1083ded-lg text-xs font-semibold",style:{background:`linear-gradient(135deg, ${Pi}, ${Jn})`,color:"white"},children:[f.jsx(Bo,{"data-loc":"client/src/pages/ImageEnhancement.tsx:357",className:"h-3.5 w-3.5 mr-1.5"}),"Download"]})]}),f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:363",className:"flex-1 flex items-center justify-center p-6 relative overflow-hidden",children:M.isPending?f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:365",className:"flex flex-col items-center gap-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:366",className:"relative h-16 w-16",children:[f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:367",className:"absolute inset-0 rounded-full animate-spin",style:{border:"2px solid rgba(129,134,64,0.2)",borderTopColor:Pi}}),f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:368",className:"absolute inset-2 rounded-full animate-spin",style:{border:"2px solid rgba(6,148,148,0.2)",borderTopColor:Jn,animationDirection:"reverse",animationDuration:"0.8s"}}),f.jsx(Ut,{"data-loc":"client/src/pages/ImageEnhancement.tsx:369",className:"absolute inset-0 m-auto h-6 w-6",style:{color:Jn}})]}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:371",className:"text-center",children:[f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:372",className:"text-white font-medium text-sm",children:"AI is enhancing your imageâ¦"}),f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:373",className:"text-white/40 text-xs mt-1",children:"This may take 10â30 seconds"})]})]}):c&&i?f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:377",className:"w-full h-full relative",ref:W,onMouseDown:oe,style:{cursor:"col-resize"},children:[f.jsx("img",{"data-loc":"client/src/pages/ImageEnhancement.tsx:379",src:i,alt:"Before",className:"absolute inset-0 w-full h-full object-contain"}),f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:385",style:{position:"absolute",inset:0,width:`${y}%`,overflow:"hidden"},children:f.jsx("img",{"data-loc":"client/src/pages/ImageEnhancement.tsx:386",src:c,alt:"After",className:"w-full h-full object-contain",style:{width:`${100/y*100}%`}})}),f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:394",style:{position:"absolute",left:`${y}%`,top:0,bottom:0,width:"3px",background:Jn,cursor:"col-resize",transform:"translateX(-50%)"},children:f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:406",style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",background:Jn,color:"white",padding:"4px 8px",borderRadius:"4px",fontSize:"10px",fontWeight:"bold",whiteSpace:"nowrap"},children:"â BEFORE | AFTER âº"})})]}):f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:412",className:"flex flex-col items-center gap-3 text-center",children:[f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:413",className:"h-20 w-20 rounded-2xl flex items-center justify-center",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)"},children:f.jsx(p0,{"data-loc":"client/src/pages/ImageEnhancement.tsx:414",className:"h-9 w-9",style:{color:"rgba(255,255,255,0.2)"}})}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:416",children:[f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:417",className:"text-white/50 text-sm font-medium",children:"Enhanced image will appear here"}),f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:418",className:"text-white/25 text-xs mt-1",children:"Upload an image and choose an enhancement mode to begin"})]})]})})]}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:426",className:"rounded-2xl p-5",style:{background:"rgba(6,148,148,0.06)",border:"1px solid rgba(6,148,148,0.15)"},children:[f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:427",className:"text-xs font-semibold uppercase tracking-wider mb-3",style:{color:Jn},children:"Filmmaker Tips"}),f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:428",className:"grid grid-cols-1 sm:grid-cols-3 gap-3",children:[{tip:"Use Denoise for night shoots",detail
1083:"Reduce ISO noise from low-light scenes without losing texture"},{tip:"Cinematic Grade for stills",detail:"Apply film emulation to production photos for consistent look"},{tip:"Upscale for print materials",detail:"Increase resolution of stills for posters and press kits"}].map((ee,L)=>f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:434",className:"text-xs",style:{color:"rgba(255,255,255,0.6)"},children:[f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:435",className:"font-medium",style:{color:Jn},children:ee.tip}),f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:436",className:"mt-1 text-white/40",children:ee.detail})]},L))})]})]}),T&&f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:445",className:"lg:col-span-1 flex flex-col gap-4",children:f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:446",className:"rounded-2xl p-4 flex-1 overflow-y-auto",style:{background:No,border:"1px solid rgba(255,255,255,0.07)",maxHeight:"600px"},children:[f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:447",className:"text-xs font-semibold uppercase tracking-wider mb-3",style:{color:"rgba(255,255,255,0.4)"},children:"Recent Enhancements"}),q.isLoading?f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:449",className:"text-xs text-white/40",children:"Loading..."}):q.data?.history&&q.data.history.length>0?f.jsx("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:451",className:"space-y-2",children:q.data.history.map(ee=>f.jsx("button",{"data-loc":"client/src/pages/ImageEnhancement.tsx:453",onClick:()=>me(ee),className:"w-full text-left p-3 rounded-lg transition-all hover:bg-opacity-80",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.08)"},children:f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:459",className:"flex items-start gap-2",children:[f.jsx("img",{"data-loc":"client/src/pages/ImageEnhancement.tsx:460",src:ee.enhancedImageUrl,alt:"History",className:"h-10 w-10 rounded object-cover"}),f.jsxs("div",{"data-loc":"client/src/pages/ImageEnhancement.tsx:461",className:"flex-1 min-w-0",children:[f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:462",className:"text-xs font-medium text-white truncate",children:ee.modeLabel}),f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:463",className:"text-xs text-white/40 mt-0.5",children:new Date(ee.createdAt).toLocaleDateString()})]})]})},ee.id))}):f.jsx("p",{"data-loc":"client/src/pages/ImageEnhancement.tsx:470",className:"text-xs text-white/40",children:"No enhancements yet"})]})})]})})]})})}const qr="#818640",Zn="#069494",Qne="#1F1E1C",js="#252420",Xne=[{id:"full",label:"Full Analysis",icon:Ut,desc:"Comprehensive review of all production elements",color:qr},{id:"color",label:"Color Grading",icon:Wx,desc:"Cinematography, LUT recommendations, color correction",color:Zn},{id:"audio",label:"Audio Quality",icon:JP,desc:"Sound design, EQ, dialogue clarity, music balance",color:"#a8ae52"},{id:"pacing",label:"Edit Pacing",icon:$P,desc:"Rhythm, cut timing, transitions, narrative flow",color:"#0ab8b8"},{id:"composition",label:"Composition",icon:NP,desc:"Framing, headroom, depth, camera movement",color:qr}],Wne=["Documentary","Short Film","Feature Film","Music Video","Commercial","Web Series","Animation","Experimental"],Kne=["Cinematic & Epic","Intimate & Personal","Dark & Tense","Bright & Uplifting","Nostalgic & Warm","Cold & Detached","Dreamlike & Surreal","Raw & Gritty"];function Zne(){const[e,t]=O.useState("analyze"),[n,r]=O.useState(""),[a,i]=O.useState("full"),[o,c]=O.useState(null),[u,h]=O.useState(!1),[g,p]=O.useState(["full"]),[b,y]=O.useState(""),[w,T]=O.useState("Short Film"),[A,N]=O.useState("Cinematic & Epic"),[R,z]=O.useState(""),[W,q]=O.useState(null),[C,M]=O.useState(!1),[V,Z]=O.useState(new Set([0])),I=je.media.analyzeVideo.useMutation({onSuccess:L=>{c(L.analysis),$e.success("Analysis complete!")},onError:L=>$e.error(L.message)}),se=je.media.enhanceVideoDescription.useMutation({onSuccess:L=>{q(L.plan),$e.success("Enhancement plan generated!")},onError:L=>$e.error(L.message)}),ae=()=>{if(!n.trim()){$e.error("Please enter a video URL");return}try{new URL(n)}catch{$e.error("Please enter a valid URL");return}c(null),I.mutate({videoUrl:n,analysisType:a})},me=()=>{if(!b.trim()){$e.error("Please describe your project");return}q(null),se.mutate({description:b,genre:w,targetMood:A,issues:R||void 0})},oe=L=>{navigator.clipboard.writeText(L),M(!0),$e.success("Copied to clipboard"),setTimeout(()=>M(!1),2e3)},ee=(L,J)=>{const te=new Blob([L],{type:"text/markdown"}),we=URL.createObjectURL(te),U=document.createElement("a");U.href=we,U.download=J,U.click(),URL.revokeObjectURL(we)};return f.jsx(is,{"data-loc":"client/src/pages/VideoEnhancement.tsx:105",requireAuth:!0,children:f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:106",className:"min-h-screen",style:{background:Qne},children:[f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:108",className:"border-b px-6 py-8",style:{borderColor:"rgba(255,255,255,0.07)",background:js},children:f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:109",className:"container",children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:110",className:"flex items-center gap-3 mb-2",children:[f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:111",className:"flex h-10 w-10 items-center justify-center rounded-xl",style:{background:`linear-gradient(135deg, ${qr}, ${Zn})`},children:f.jsx(zo,{"data-loc":"client/src/pages/VideoEnhancement.tsx:112",className:"h-5 w-5 text-white"})}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:114",children:[f.jsx("h1",{"data-loc":"client/src/pages/VideoEnhancement.tsx:115",className:"font-display font-bold text-2xl text-white",children:"Video Analysis & Enhancement"}),f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:116",className:"text-sm",style:{color:"rgba(255,255,255,0.5)"},children:"Analyze your footage and generate professional post-production recommendations"})]})]}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:123",className:"flex gap-1 mt-5 p-1 rounded-xl w-fit",style:{background:"rgba(255,255,255,0.05)"},children:[{id:"analyze",label:"Analyze Video",icon:Ut},{id:"plan",label:"Generate Plan",icon:Lo}].map(L=>{const J=L.icon,te=e===L.id;return f.jsxs("button",{"data-loc":"client/src/pages/VideoEnhancement.tsx:131",onClick:()=>t(L.id),className:"flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-all",style:{background:te?`linear-gradient(135deg, ${qr}, ${Zn})`:"transparent",color:te?"white":"rgba(255,255,255,0.5)"},children:[f.jsx(J,{"data-loc":"client/src/pages/VideoEnhancement.tsx:140",className:"h-4 w-4"}),L.label]},L.id)})})]})}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:149",className:"container py-8",children:e==="analyze"?f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:151",className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:153",className:"lg:col-span-1 flex flex-col gap-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:155",className:"rounded-2xl p-5",style:{background:js,border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("label",{"data-loc":"client/src/pages/VideoEnhancement.tsx:156",className:"text-xs font-semibold uppercase tracking-wider mb-3 block",style:{color:"rgba(255,255,255,0.4)"},children:"Video URL"}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:159",className:"flex items-center gap-2 rounded-xl px-3 py-2.5 mb-2",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)"},children:[f.jsx(PP,{"data-loc":"client/src/pages/VideoEnhancement.tsx:160",className:"h-4 w-4 shrink-0",style:{color:"rgba(255,255,255,0.3)"}}),f.jsx("input",{"data-loc":"client/src/pages/VideoEnhancement.tsx:161",value:n,onChange:L=>r(L.target.value),placeholder:"https://vimeo.com/... or YouTube URL",className:"flex-1 bg-transparent text-sm outline-none",style:{color:"rgba(255,255,255,0.85)"}})]}),f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:169",className:"text-xs",style:{color:"rgba(255,255,255,0.3)"},children:"Supports Vimeo, YouTube, Dropbox, Google Drive, and direct video URLs"})]}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:175",className:"rounded-2xl p-5",style:{background:js,border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:176",className:"text-xs font-semibold uppercase tracking-wider mb-3",style:{color:"rgba(255,255,255,0.4)"},children:"Analysis Type"}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:177",className:"flex flex-col gap-2",children:Xne.map(L=>{const J=L.icon,te=a===L.id;return f.jsxs("button",{"data-loc":"client/src/pages/VideoEnhancement.tsx:182",onClick:()=>i(L.id),className:"flex items-start gap-3 p-3 rounded-xl text-left transition-all",style:{background:te?`rgba(${L.color===qr?"129,134,64":"6,148,148"},0.12)`:"rgba(255,255,255,0.03)",border:`1px solid ${te?L.color:"rgba(255,255,255,0.06)"}`},children:[f.jsx(J,{"data-loc":"client/src/pages/VideoEnhancement.tsx:191",className:"h-4 w-4 mt-0.5 shrink-0",style:{color:te?L.color:"rgba(255,255,255,0.35)"}}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:192",children:[f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:193",className:"text-xs font-semibold",style:{color:te?"white":"rgba(255,255,255,0.6)"},children:L.label}),f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:194",className:"text-xs mt-0.5",style:{color:"rgba(255,255,255,0.3)"},children:L.desc})]})]},L.id)})})]}),f.jsx(He,{"data-loc":"client/src/pages/VideoEnhancement.tsx:202",onClick:ae,disabled:I.isPending,className:"w-full h-12 font-semibold text-sm rounded-xl",style:{background:`linear-gradient(135deg, ${qr}, ${Zn})`,color:"white"},children:I.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Qs,{"data-loc":"client/src/pages/VideoEnhancement.tsx:209",className:"h-4 w-4 mr-2 animate-spin"})," Analyzingâ¦"]}):f.jsxs(f.Fragment,{children:[f.jsx(Ut,{"data-loc":"client/src/pages/VideoEnhancement.tsx:211",className:"h-4 w-4 mr-2"})," Analyze Video"]})}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:216",className:"rounded-2xl p-4",style:{background:"rgba(6,148,148,0.06)",border:"1px solid rgba(6,148,148,0.15)"},children:f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:217",className:"flex items-start gap-2",children:[f.jsx(DP,{"data-loc":"client/src/pages/VideoEnhancement.tsx:218",className:"h-4 w-4 mt-0.5 shrink-0",style:{color:Zn}}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:219",className:"text-xs",style:{color:"rgba(255,255,255,0.6)"},children:[f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:220",className:"font-medium mb-1",children:"Pro Tip"}),f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:221",children:"For best results, use videos with clear audio and consistent lighting. Analysis works with any publicly accessible video URL."})]})]})})]}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:228",className:"lg:col-span-2",children:f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:229",className:"rounded-2xl h-full flex flex-col",style:{background:js,border:"1px solid rgba(255,255,255,0.07)",minHeight:520},children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:230",className:"flex items-center justify-between px-5 py-4 border-b",style:{borderColor:"rgba(255,255,255,0.07)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:231",className:"flex items-center gap-2",children:[f.jsx(Xx,{"data-loc":"client/src/pages/VideoEnhancement.tsx:232",className:"h-4 w-4",style:{color:Zn}}),f.jsx("span",{"data-loc":"client/src/pages/VideoEnhancement.tsx:233",className:"text-sm font-semibold text-white",children:"Analysis Report"})]}),o&&f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:236",className:"flex gap-2",children:[f.jsx(He,{"data-loc":"client/src/pages/VideoEnhancement.tsx:237",size:"sm",variant:"ghost",onClick:()=>oe(o),className:"h-8 px-3 text-xs rounded-lg",style:{color:"rgba(255,255,255,0.5)"},children:C?f.jsx(uf,{"data-loc":"client/src/pages/VideoEnhancement.tsx:238",className:"h-3.5 w-3.5"}):f.jsx(h6,{"data-loc":"client/src/pages/VideoEnhancement.tsx:238",className:"h-3.5 w-3.5"})}),f.jsxs(He,{"data-loc":"client/src/pages/VideoEnhancement.tsx:240",size:"sm",onClick:()=>ee(o,"video-analysis.md"),className:"h-8 px-3 text-xs rounded-lg",style:{background:`linear-gradient(135deg, ${qr}, ${Zn})`,color:"white"},children:[f.jsx(Bo,{"data-loc":"client/src/pages/VideoEnhancement.tsx:241",className:"h-3.5 w-3.5 mr-1.5"})," Export"]})]})]}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:246",className:"flex-1 p-6 overflow-auto",children:I.isPending?f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:248",className:"flex flex-col items-center justify-center h-full gap-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:249",className:"relative h-16 w-16",children:[f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:250",className:"absolute inset-0 rounded-full animate-spin",style:{border:"2px s
1083olid rgba(129,134,64,0.2)",borderTopColor:qr}}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:251",className:"absolute inset-2 rounded-full animate-spin",style:{border:"2px solid rgba(6,148,148,0.2)",borderTopColor:Zn,animationDirection:"reverse",animationDuration:"0.8s"}}),f.jsx(zo,{"data-loc":"client/src/pages/VideoEnhancement.tsx:252",className:"absolute inset-0 m-auto h-6 w-6",style:{color:Zn}})]}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:254",className:"text-center",children:[f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:255",className:"text-white font-medium text-sm",children:"Analyzing your videoâ¦"}),f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:256",className:"text-white/40 text-xs mt-1",children:"This may take 15â45 seconds"})]})]}):o?f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:260",className:"prose prose-invert prose-sm max-w-none",style:{color:"rgba(255,255,255,0.8)"},children:f.jsx(Ki,{"data-loc":"client/src/pages/VideoEnhancement.tsx:261",children:o})}):f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:264",className:"flex flex-col items-center justify-center h-full gap-3 text-center",children:[f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:265",className:"h-20 w-20 rounded-2xl flex items-center justify-center",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)"},children:f.jsx(zo,{"data-loc":"client/src/pages/VideoEnhancement.tsx:266",className:"h-9 w-9",style:{color:"rgba(255,255,255,0.2)"}})}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:268",children:[f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:269",className:"text-white/50 text-sm font-medium",children:"Analysis report will appear here"}),f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:270",className:"text-white/25 text-xs mt-1",children:"Enter a video URL and select an analysis type to begin"})]})]})})]})})]}):f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:280",className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:282",className:"lg:col-span-1 flex flex-col gap-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:283",className:"rounded-2xl p-5",style:{background:js,border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("label",{"data-loc":"client/src/pages/VideoEnhancement.tsx:284",className:"text-xs font-semibold uppercase tracking-wider mb-2 block",style:{color:"rgba(255,255,255,0.4)"},children:"Project Description"}),f.jsx("textarea",{"data-loc":"client/src/pages/VideoEnhancement.tsx:285",value:b,onChange:L=>y(L.target.value),placeholder:"Describe your project: what it's about, how it was shot, what you're trying to achieve...",className:"w-full rounded-xl p-3 text-sm resize-none",rows:5,style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)",color:"rgba(255,255,255,0.85)",outline:"none"}})]}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:295",className:"rounded-2xl p-5",style:{background:js,border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("label",{"data-loc":"client/src/pages/VideoEnhancement.tsx:296",className:"text-xs font-semibold uppercase tracking-wider mb-2 block",style:{color:"rgba(255,255,255,0.4)"},children:"Genre"}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:297",className:"flex flex-wrap gap-2",children:Wne.map(L=>f.jsx("button",{"data-loc":"client/src/pages/VideoEnhancement.tsx:299",onClick:()=>T(L),className:"px-3 py-1.5 rounded-lg text-xs font-medium transition-all",style:{background:w===L?`linear-gradient(135deg, ${qr}, ${Zn})`:"rgba(255,255,255,0.05)",color:w===L?"white":"rgba(255,255,255,0.5)",border:`1px solid ${w===L?"transparent":"rgba(255,255,255,0.08)"}`},children:L},L))})]}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:315",className:"rounded-2xl p-5",style:{background:js,border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("label",{"data-loc":"client/src/pages/VideoEnhancement.tsx:316",className:"text-xs font-semibold uppercase tracking-wider mb-2 block",style:{color:"rgba(255,255,255,0.4)"},children:"Target Mood"}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:317",className:"flex flex-wrap gap-2",children:Kne.map(L=>f.jsx("button",{"data-loc":"client/src/pages/VideoEnhancement.tsx:319",onClick:()=>N(L),className:"px-3 py-1.5 rounded-lg text-xs font-medium transition-all",style:{background:A===L?`linear-gradient(135deg, ${qr}, ${Zn})`:"rgba(255,255,255,0.05)",color:A===L?"white":"rgba(255,255,255,0.5)",border:`1px solid ${A===L?"transparent":"rgba(255,255,255,0.08)"}`},children:L},L))})]}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:335",className:"rounded-2xl p-5",style:{background:js,border:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("label",{"data-loc":"client/src/pages/VideoEnhancement.tsx:336",className:"text-xs font-semibold uppercase tracking-wider mb-2 block",style:{color:"rgba(255,255,255,0.4)"},children:"Known Issues (optional)"}),f.jsx("textarea",{"data-loc":"client/src/pages/VideoEnhancement.tsx:337",value:R,onChange:L=>
1083z(L.target.value),placeholder:"e.g., 'Uneven lighting in some scenes', 'Audio sync issues', 'Color inconsistency between shots'",className:"w-full rounded-xl p-3 text-sm resize-none",rows:3,style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)",color:"rgba(255,255,255,0.85)",outline:"none"}})]}),f.jsx(He,{"data-loc":"client/src/pages/VideoEnhancement.tsx:347",onClick:me,disabled:se.isPending,className:"w-full h-12 font-semibold text-sm rounded-xl",style:{background:`linear-gradient(135deg, ${qr}, ${Zn})`,color:"white"},children:se.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Qs,{"data-loc":"client/src/pages/VideoEnhancement.tsx:354",className:"h-4 w-4 mr-2 animate-spin"})," Generatingâ¦"]}):f.jsxs(f.Fragment,{children:[f.jsx(Lo,{"data-loc":"client/src/pages/VideoEnhancement.tsx:356",className:"h-4 w-4 mr-2"})," Generate Enhancement Plan"]})})]}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:362",className:"lg:col-span-2",children:f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:363",className:"rounded-2xl h-full flex flex-col",style:{background:js,border:"1px solid rgba(255,255,255,0.07)",minHeight:520},children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:364",className:"flex items-center justify-between px-5 py-4 border-b",style:{borderColor:"rgba(255,255,255,0.07)"},children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:365",className:"flex items-center gap-2",children:[f.jsx(Js,{"data-loc":"client/src/pages/VideoEnhancement.tsx:366",className:"h-4 w-4",style:{color:Zn}}),f.jsx("span",{"data-loc":"client/src/pages/VideoEnhancement.tsx:367",className:"text-sm font-semibold text-white",children:"Post-Production Plan"})]}),W&&f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:370",className:"flex gap-2",children:[f.jsx(He,{"data-loc":"client/src/pages/VideoEnhancement.tsx:371",size:"sm",variant:"ghost",onClick:()=>oe(W),className:"h-8 px-3 text-xs rounded-lg",style:{color:"rgba(255,255,255,0.5)"},children:C?f.jsx(uf,{"data-loc":"client/src/pages/VideoEnhancement.tsx:372",className:"h-3.5 w-3.5"}):f.jsx(h6,{"data-loc":"client/src/pages/VideoEnhancement.tsx:372",className:"h-3.5 w-3.5"})}),f.jsxs(He,{"data-loc":"client/src/pages/VideoEnhancement.tsx:374",size:"sm",onClick:()=>ee(W,"enhancement-plan.md"),className:"h-8 px-3 text-xs rounded-lg",style:{background:`linear-gradient(135deg, ${qr}, ${Zn})`,color:"white"},children:[f.jsx(Bo,{"data-loc":"client/src/pages/VideoEnhancement.tsx:375",className:"h-3.5 w-3.5 mr-1.5"})," Export"]})]})]}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:380",className:"flex-1 p-6 overflow-auto",children:se.isPending?f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:382",className:"flex flex-col items-center justify-center h-full gap-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:383",className:"relative h-16 w-16",children:[f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:384",className:"absolute inset-0 rounded-full animate-spin",style:{border:"2px solid rgba(129,134,64,0.2)",borderTopColor:qr}}),f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:385",className:"absolute inset-2 rounded-full animate-spin",style:{border:"2px solid rgba(6,148,148,0.2)",borderTopColor:Zn,animationDirection:"reverse",animationDuration:"0.8s"}}),f.jsx(Lo,{"data-loc":"client/src/pages/VideoEnhancement.tsx:386",className:"absolute inset-0 m-auto h-6 w-6",style:{color:Zn}})]}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:388",className:"text-center",children:[f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:389",className:"text-white font-medium text-sm",children:"Generating your enhancement planâ¦"}),f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:390",className:"text-white/40 text-xs mt-1",children:"AI is crafting specific recommendations for your project"})]})]}):W?f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:394",className:"prose prose-invert prose-sm max-w-none",style:{color:"rgba(255,255,255,0.8)"},children:f.jsx(Ki,{"data-loc":"client/src/pages/VideoEnhancement.tsx:395",children:W})}):f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:398",className:"flex flex-col items-center justify-center h-full gap-3 text-center",children:[f.jsx("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:399",className:"h-20 w-20 rounded-2xl flex items-center justify-center",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.08)"},children:f.jsx(Lo,{"data-loc":"client/src/pages/VideoEnhancement.tsx:400",className:"h-9 w-9",style:{color:"rgba(255,255,255,0.2)"}})}),f.jsxs("div",{"data-loc":"client/src/pages/VideoEnhancement.tsx:402",children:[f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:403",className:"text-white/50 text-sm font-medium",children:"Your enhancement plan will appear here"}),f.jsx("p",{"data-loc":"client/src/pages/VideoEnhancement.tsx:404",className:"text-white/25 text-xs mt-1",children:'Describe your project and click "Generate Enhancement Plan" to get started'})]})]})})]})})]})})]})})}const Jne=O.createContext({isComposing:()=>!1,setComposing:()=>{},justEndedComposing:()=>!1,markCompositionEnd:()=>{}}),BA=()=>O.useContext(Jne);function Vh(e){const t=O.useRef(e);t.current=e;const n=O.useRef(null);return n.current||(n.current=function(...r){return t.current.apply(this,r)}),n.current}function zA(e={}){const{onKeyDown:t,onCompositionStart:n,onCompositionEnd:r}=e,a=O.useRef(!1),i=O.useRef(null),o=O.useRef(null),c=Vh(p=>{i.current&&(clearTimeout(i.current),i.current=null),o.current&&(clearTimeout(o.current),o.current=null),a.current=!0,n?.(p)}),u=Vh(p=>{i.current=setTimeout(()=>{o.current=setTimeout(()=>{a.current=!1})}),r?.(p)}),h=Vh(p=>{if(a.current&&(p.key==="Escape"||p.key==="Enter"&&!p.shiftKey)){p.stopPropagation();return}t?.(p)}),g=Vh(()=>a.current);return{onCompositionStart:c,onCompositionEnd:u,onKeyDown:h,isComposing:g}}function Ka({className:e,type:t,onKeyDown:n,onCompositionStart:r,onCompositionEnd:a,...i}){const o=BA(),{onCompositionStart:c,onCompositionEnd:u,onKeyDown:h}=zA({onKeyDown:g=>{const p=g.nativeEvent.isComposing||o.justEndedComposing();g.key==="Enter"&&p||n?.(g)},onCompositionStart:g=>{o.setComposing(!0),r?.(g)}
1083,onCompositionEnd:g=>{o.markCompositionEnd(),setTimeout(()=>{o.setComposing(!1)},100),a?.(g)}});return f.jsx("input",{"data-loc":"client/src/components/ui/input.tsx:53",type:t,"data-slot":"input",className:el("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:c,onCompositionEnd:u,onKeyDown:h,...i})}function E4({className:e,onKeyDown:t,onCompositionStart:n,onCompositionEnd:r,...a}){const i=BA(),{onCompositionStart:o,onCompositionEnd:c,onKeyDown:u}=zA({onKeyDown:h=>{const g=h.nativeEvent.isComposing||i.justEndedComposing();h.key==="Enter"&&!h.shiftKey&&g||t?.(h)},onCompositionStart:h=>{i.setComposing(!0),n?.(h)},onCompositionEnd:h=>{i.markCompositionEnd(),setTimeout(()=>{i.setComposing(!1)},100),r?.(h)}});return f.jsx("textarea",{"data-loc":"client/src/components/ui/textarea.tsx:53","data-slot":"textarea",className:el("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),onCompositionStart:o,onCompositionEnd:c,onKeyDown:u,...a})}function ere({shotId:e,projectId:t,shotDescription:n,shotType:r,cameraMovement:a,lens:i,sceneContext:o}){const[c,u]=O.useState("cinematic"),[h,g]=O.useState(null),[p,b]=O.useState(null),[y,w]=O.useState(""),{data:T}=je.storyboard.getStyles.useQuery(),{data:A,isLoading:N}=je.storyboard.getFramesByShot.useQuery({shotId:e}),R=je.useUtils(),z=je.storyboard.generateFrame.useMutation({onSuccess:()=>{R.storyboard.getFramesByShot.invalidate({shotId:e})}}),W=je.storyboard.regenerateFrame.useMutation({onSuccess:()=>{R.storyboard.getFramesByShot.invalidate({shotId:e})}}),q=je.storyboard.deleteFrame.useMutation({onSuccess:()=>{R.storyboard.getFramesByShot.invalidate({shotId:e})}}),C=je.storyboard.updateFrameNotes.useMutation({onSuccess:()=>{R.storyboard.getFramesByShot.invalidate({shotId:e}),b(null)}}),M=()=>{z.mutate({shotId:e,projectId:t,shotDescription:n||"A cinematic shot",shotType:r||void 0,cameraMovement:a||void 0,lens:i||void 0,style:c,sceneContext:o})},V=I=>{W.mutate({frameId:I,shotId:e,projectId:t,shotDescription:n||"A cinematic shot",shotType:r||void 0,cameraMovement:a||void 0,lens:i||void 0,style:c,sceneContext:o})},Z=z.isPending||W.isPending;return f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:102",className:"mt-3 space-y-3",children:[f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:104",className:"flex items-center gap-2 flex-wrap",children:[f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:105",className:"flex items-center gap-1.5 flex-wrap",children:[f.jsx(Wx,{"data-loc":"client/src/components/StoryboardView.tsx:106",className:"w-3.5 h-3.5 text-[#818640]"}),T?.map(I=>f.jsx("button",{"data-loc":"client/src/components/StoryboardView.tsx:108",onClick:()=>u(I.id),className:"px-2 py-0.5 rounded text-[10px] font-medium transition-all",style:{background:c===I.id?"rgba(6,148,148,0.2)":"rgba(255,255,255,0.03)",color:c===I.id?"#6ee7e7":"rgba(255,255,255,0.5)",border:c===I.id?"1px solid rgba(6,148,148,0.4)":"1px solid rgba(255,255,255,0.08)"},children:I.label},I.id))]}),f.jsxs(He,{"data-loc":"client/src/components/StoryboardView.tsx:122",size:"sm",onClick:M,disabled:Z,className:"h-6 text-[10px] px-2.5 bg-[#069494] hover:bg-[#069494]/80 ml-auto",children:[Z?f.jsx(Jt,{"data-loc":"client/src/components/StoryboardView.tsx:129",className:"w-3 h-3 animate-spin mr-1"}):f.jsx(Ut,{"data-loc":"client/src/components/StoryboardView.tsx:131",className:"w-3 h-3 mr-1"}),Z?"Generating...":"Generate Frame"]})]}),N?f.jsx("div",{"data-loc":"client/src/components/StoryboardView.tsx:139",className:"flex items-center justify-center py-6",children:f.jsx(Jt,{"data-loc":"client/src/components/StoryboardView.tsx:140",className:"w-4 h-4 animate-spin text-[#069494]"})}):A&&A.length>0?f.jsx("div",{"data-loc":"client/src/components/StoryboardView.tsx:143",className:"grid grid-cols-2 gap-2",children:A.map(I=>f.jsxs(Ui,{"data-loc":"client/src/components/StoryboardView.tsx:145",className:"overflow-hidden border-[#818640]/10 bg-[#1F1E1C]/60 group relative",children:[f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:150",className:"relative aspect-video cursor-pointer overflow-hidden",onClick:()=>g(h===I.id?null:I.id),children:[f.jsx("img",{"data-loc":"client/src/components/StoryboardView.tsx:154",src:I.imageUrl,alt:"Storyboard frame",className:"w-full h-full object-cover transition-transform duration-200 group-hover:scale-105"}),f.jsx("div",{"data-loc":"client/src/components/StoryboardView.tsx:160",className:"absolute inset-0 bg-black/0 group-hover:bg-black/40 transition-all flex items-center justify-center opacity-0 group-hover:opacity-100",children:f.jsx(tj,{"data-loc":"client/src/components/StoryboardView.tsx:161",className:"w-5 h-5 text-white"})}),f.jsx(C0,{"data-loc":"client/src/components/StoryboardView.tsx:164",variant:"outline",className:"absolute top-1.5 left-1.5 text-[9px] h-4 border-[#069494]/40 text-[#6ee7e7] bg-black/60 backdrop-blur-sm",children:I.style})]}),f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:173",className:"p-1.5 flex items-center justify-between",children:[f.jsxs("span",{"data-loc":"client/src/components/StoryboardView.tsx:174",className:"text-[9px] text-muted-foreground truncate max-w-[60%]",children:["Frame ",I.orderIndex+1]}),f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:177",className:"flex items-center gap-0.5",children:[f.jsx("button",{"data-loc":"client/src/components/StoryboardView.tsx:178",onClick:()=>{b(I.id),w(I.notes||"")},className:"p-1 rounded hover:bg-white/5 text-muted-foreground hover:text-[#069494] transition-colors",title:"Add notes",children:f.jsx(WP,{"data-loc":"client/src/components/StoryboardView.tsx:186",className:"w-3 h-3"})}),f.jsx("button",{"data-loc":"client/src/components/StoryboardView.tsx:188",onClick:()=>V(I.id),disabled:Z,className:"p-1 rounded hover:bg-white/5 text-muted-foreground hover:text-[#818640] transition-colors disabled:opacity-50",title:"Regenerate",children:f.jsx(Qs,{"data-loc":"client/src/components/StoryboardView.tsx:194",className:"w-3 h-3"})}),f.jsx("button",{"data-loc":"client/src/components/StoryboardView.tsx:196",onClick:()=>q.mutate({frameId:I.id}),className:"p-1 rounded hover:bg-white/5 text-muted-foreground hover:text-red-400 transition-colors",title:"Delete",children:f.jsx(Vo,{"data-loc":"client/src/components/StoryboardView.tsx:201",className:"w-3 h-3"})})]})]}),I.notes&&p!==I.id&&f.jsx("div",{"data-loc":"client/src/components/StoryboardView.tsx:208",className:"px-2 pb-2",children:f.jsx("p",{"data-loc":"client/src/components/StoryboardView.tsx:209",className:"text-[9px] text-muted-foreground italic bg-white/3 rounded p-1.5",children:I.notes})}),p===I.id&&f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:217",className:"px-2 pb-2 space-y-1.5",children:[f.jsx(E4,{"data-loc":"client/src/components/StoryboardView.tsx:218",value:y,onChange:se=>w(se.target.value),placeholder:"Add director's notes...",className:"text-[10px] min-h-[50px] bg-black/20 border-[#818640]/20 resize-none"}),f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:224",className:"flex gap-1 justify-end",children:[f.jsx(He,{"data-loc":"client/src/components/StoryboardView.tsx:225",variant:"ghost",size:"sm",onClick:()=>b(null),className:"h-5 text-[9px] px-2",children:"Cancel"}),f.jsx(He,{"data-loc":"client/src/components/StoryboardView.tsx:233",size:"sm",onClick:()=>C.mutate({frameId:I.id,notes:y}),disabled:C.isPending,className:"h-5 text-[9px] px-2 bg-[#069494] hover:bg-[#069494]/80",children:"Save"})]})]})]},I.id))}):f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:248",className:"flex flex-col items-center justify-center py-6 border border-dashed border-[#818640]/15 rounded-lg",children:[f.jsx(p0,{"data-loc":"client/src/components/StoryboardView.tsx:249",className:"w-6 h-6 text-[#818640]/30 mb-2"}),f.jsx("p",{"data-loc":"client/src/components/StoryboardView.tsx:250",className:"text-[10px] text-muted-foreground",children:'"A picture is
1083worth a thousand words."'}),f.jsx("p",{"data-loc":"client/src/components/StoryboardView.tsx:251",className:"text-[9px] text-muted-foreground mt-0.5",children:"Generate a storyboard frame above."})]}),h&&A&&f.jsx("div",{"data-loc":"client/src/components/StoryboardView.tsx:257",className:"fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-sm",onClick:()=>g(null),children:f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:261",className:"relative max-w-4xl max-h-[85vh] w-full mx-4",onClick:I=>I.stopPropagation(),children:[f.jsx("button",{"data-loc":"client/src/components/StoryboardView.tsx:262",onClick:()=>g(null),className:"absolute -top-10 right-0 p-2 text-white/60 hover:text-white transition-colors",children:f.jsx(j0,{"data-loc":"client/src/components/StoryboardView.tsx:266",className:"w-5 h-5"})}),A.find(I=>I.id===h)&&f.jsx("img",{"data-loc":"client/src/components/StoryboardView.tsx:269",src:A.find(I=>I.id===h).imageUrl,alt:"Expanded storyboard frame",className:"w-full h-auto rounded-lg shadow-2xl"})]})})]})}
1083function tre({projectId:e,sceneId:t,sceneContext:n}){const[r,a]=O.useState("cinematic"),{data:i}=je.storyboard.getStyles.useQuery(),o=je.useUtils(),c=je.storyboard.batchGenerateForScene.useMutation({onSuccess:()=>{o.storyboard.getFramesByShot.invalidate(),o.storyboard.getFramesByProject.invalidate({projectId:e})}});return f.jsxs("div",{"data-loc":"client/src/components/StoryboardView.tsx:304",className:"flex items-center gap-2",children:[f.jsx("select",{"data-loc":"client/src/components/StoryboardView.tsx:305",value:r,onChange:u=>a(u.target.value),className:"h-6 text-[10px] rounded bg-[#1F1E1C] border border-[#818640]/20 text-white/70 px-1.5",children:i?.map(u=>f.jsx("option",{"data-loc":"client/src/components/StoryboardView.tsx:311",value:u.id,children:u.label},u.id))}),f.jsx(He,{"data-loc":"client/src/components/StoryboardView.tsx:316",size:"sm",onClick:()=>c.mutate({projectId:e,sceneId:t,style:r,sceneContext:n}),disabled:c.isPending,className:"h-6 text-[10px] px-2.5 bg-gradient-to-r from-[#818640] to-[#069494] hover:opacity-90",children:c.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Jt,{"data-loc":"client/src/components/StoryboardView.tsx:326",className:"w-3 h-3 animate-spin mr-1"}),"Generating ",c.isPending?"...":""]}):f.jsxs(f.Fragment,{children:[f.jsx(Ut,{"data-loc":"client/src/components/StoryboardView.tsx:331",className:"w-3 h-3 mr-1"}),"Storyboard All Shots"]})}),c.isSuccess&&f.jsxs("span",{"data-loc":"client/src/components/StoryboardView.tsx:337",className:"text-[9px] text-[#069494]",children:[c.data.generatedCount,"/",c.data.totalShots," frames generated"]})]})}function nre({sceneId:e,projectId:t,sceneDescription:n}){const{data:r,isLoading:a}=je.filmmaking.getShots.useQuery({sceneId:e,projectId:t}),i=je.useUtils(),[o,c]=O.useState(!1),[u,h]=O.useState(""),[g,p]=O.useState(""),[b,y]=O.useState(""),[w,T]=O.useState(""),[A,N]=O.useState(""),[R,z]=O.useState(!1),[W,q]=O.useState(n||""),C=je.filmmaking.generateShotsForScene.useMutation({onSuccess:I=>{z(!1),q(""),i.filmmaking.getShots.invalidate({sceneId:e,projectId:t}),$e.success(`Generated ${I.generatedCount} shots`)},onError:I=>$e.error(I.message||"Failed to generate shots")}),M=je.filmmaking.createShot.useMutation({onSuccess:()=>{c(!1),h(""),p(""),y(""),T(""),N(""),i.filmmaking.getShots.invalidate({sceneId:e,projectId:t}),$e.success("Shot added")},onError:()=>$e.error("Failed to add shot")}),V=je.filmmaking.updateShot.useMutation({onSuccess:()=>i.filmmaking.getShots.invalidate({sceneId:e,projectId:t})}),Z=je.filmmaking.deleteShot.useMutation({onSuccess:()=>{i.filmmaking.getShots.invalidate({sceneId:e,projectId:t}),$e.success("Shot deleted")}});return a?f.jsx("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:61",className:"text-sm text-muted-foreground animate-pulse",children:"Loading shots..."}):f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:64",className:"space-y-2",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:65",className:"flex justify-between items-center",children:[f.jsxs("h4",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:66",className:"text-sm font-semibold text-[#818640] flex items-center gap-1.5",children:[f.jsx(yP,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:67",className:"w-3.5 h-3.5"})," Shot List"]}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:69",className:"flex gap-1",children:[f.jsxs(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:70",variant:"ghost",size:"sm",onClick:()=>z(!R),className:"text-xs text-[#069494] hover:text-[#069494]/80 h-6 px-2",children:[f.jsx(Ut,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:71",className:"w-3 h-3 mr-1"})," AI Generate"]}),f.jsxs(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:73",variant:"ghost",size:"sm",onClick:()=>c(!0),className:"text-xs text-[#069494] hover:text-[#069494]/80 h-6 px-2",children:[f.jsx(P0,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:74",className:"w-3 h-3 mr-1"})," Add Shot"]})]})]}),R&&f.jsxs(Ui,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:80",className:"p-3 bg-gradient-to-br from-[#069494]/5 to-[#818640]/5 border-[#069494]/20",children:[f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:81",className:"text-xs text-muted-foreground mb-2",children:"Describe the scene and AI will generate a professional shot list."}),f.jsx(E4,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:82",placeholder:"Describe the scene action... (e.g. Two characters argue in a dimly lit bar, tension escalates)",value:W,onChange:I=>
1083q(I.target.value),className:"min-h-[60px] text-xs bg-[#1F1E1C] border-[#069494]/30 mb-2"}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:88",className:"flex justify-end gap-2",children:[f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:89",variant:"ghost",size:"sm",onClick:()=>z(!1),className:"h-6 text-xs",children:"Cancel"}),f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:90",size:"sm",onClick:()=>C.mutate({projectId:t,sceneId:e,sceneDescription:W}),disabled:W.length<5||C.isPending,className:"h-6 text-xs bg-[#069494] hover:bg-[#069494]/80",children:C.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Jt,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:91",className:"w-3 h-3 mr-1 animate-spin"})," Generating..."]}):f.jsxs(f.Fragment,{children:[f.jsx(Lo,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:91",className:"w-3 h-3 mr-1"})," Generate"]})})]})]}),o&&f.jsxs(Ui,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:98",className:"p-3 bg-[#1F1E1C]/60 border-[#818640]/20",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:99",className:"grid grid-cols-2 gap-2 mb-2",children:[f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:100",placeholder:"Shot # (e.g. 1A)",value:u,onChange:I=>h(I.target.value),className:"h-8 text-xs bg-[#1F1E1C] border-[#818640]/30"}),f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:101",placeholder:"Type (CU, Wide, OTS...)",value:g,onChange:I=>p(I.target.value),className:"h-8 text-xs bg-[#1F1E1C] border-[#818640]/30"}),f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:102",placeholder:"Camera movement",value:w,onChange:I=>T(I.target.value),className:"h-8 text-xs bg-[#1F1E1C] border-[#818640]/30"}),f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:103",placeholder:"Lens (e.g. 35mm)",value:A,onChange:I=>N(I.target.value),className:"h-8 text-xs bg-[#1F1E1C] border-[#818640]/30"})]}),f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:105",placeholder:"Description...",value:b,onChange:I=>y(I.target.value),className:"h-8 text-xs bg-[#1F1E1C] border-[#818640]/30 mb-2"}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:106",className:"flex justify-end gap-2",children:[f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:107",variant:"ghost",size:"sm",onClick:()=>c(!1),className:"h-7 text-xs",children:"Cancel"}),f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:108",size:"sm",onClick:()=>M.mutate({sceneId:e,projectId:t,shotNumber:u,shotType:g,cameraMovement:w,lens:A,description:b}),disabled:!u||M.isPending,className:"h-7 text-xs bg-[#069494] hover:bg-[#069494]/80",children:"Save Shot"})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:115",className:"space-y-1",children:[r?.shots.map(I=>f.jsx("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:117",className:"p-2 rounded-md hover:bg-[#818640]/5 group transition-colors",children:f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:118",className:"flex items-start gap-2",children:[f.jsx("button",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:119",onClick:()=>V.mutate({id:I.id,projectId:t,completed:!I.completed}),className:`mt-0.5 w-4 h-4 rounded border flex-shrink-0 flex items-center justify-center transition-colors ${I.completed?"bg-[#069494] border-[#069494]":"border-[#818640]/40 hover:border-[#069494]"}`,children:I.completed&&f.jsx(uf,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:123",className:"w-3 h-3 text-white"})}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:125",className:`flex-1 min-w-0 ${I.completed?"opacity-40":""}`,children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:126",className:"flex items-center gap-2 flex-wrap",children:[f.jsx("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:127",className:"font-mono text-xs bg-[#818640]/20 text-[#818640] px-1.5 py-0.5 rounded",children:I.shotNumber}),I.shotType&&f.jsx(C0,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:128",variant:"outline",className:"text-[10px] h-4 border-[#069494]/30 text-[#069494]",children:I.shotType}),I.cameraMovement&&f.jsx("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:129",className:"text-[10px] text-muted-foreground",children:I.cameraMovement}),I.lens&&f.jsx("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:130",className:"text-[10px] text-muted-foreground italic",children:I.lens})]}),I.description&&f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:132",className:"text-xs text-muted-foreground mt-0.5 line-clamp-1",children:I.description}),f.jsx(ere,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:134",shotId:I.id,projectId:t,shotDescription:I.description||`Shot ${I.shotNumber}`,shotType:I.shotType,cameraMovement:I.cameraMovement,lens:I.lens,sceneContext:n})]}),f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:144",variant:"ghost",size:"sm",onClick:()=>Z.mutate({id:I.id,projectId:t}),className:"opacity-0 group-hover:opacity-100 h-6 w-6 p-0 text-red-400 hover:text-red-300",children:f.jsx(Vo,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:145",className:"w-3 h-3"})})]})},I.id)),r?.shots.length===0&&!o&&f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:151",className:"text-xs text-muted-foreground italic pl-2",children:"No shots planned yet."})]})]})}function rre({projectId:e}){const{data:t}=je.filmmaking.getProject.useQuery({id:e}),{data:n,isLoading:r}
1083=je.filmmaking.getScenes.useQuery({projectId:e}),a=je.useUtils(),[i,o]=O.useState(null),[c,u]=O.useState(!1),[h,g]=O.useState(""),[p,b]=O.useState(""),[y,w]=O.useState("INT"),[T,A]=O.useState(""),[N,R]=O.useState(!1),[z,W]=O.useState(""),q=je.filmmaking.importScenesFromScript.useMutation({onSuccess:Z=>{R(!1),W(""),a.filmmaking.getScenes.invalidate({projectId:e}),$e.success(`Imported ${Z.importedCount} scenes from script`)},onError:Z=>$e.error(Z.message||"Failed to import scenes")}),C=je.filmmaking.createScene.useMutation({onSuccess:()=>{u(!1),g(""),b(""),A(""),a.filmmaking.getScenes.invalidate({projectId:e}),$e.success("Scene added")},onError:()=>$e.error("Failed to add scene")}),M=je.filmmaking.deleteScene.useMutation({onSuccess:()=>{a.filmmaking.getScenes.invalidate({projectId:e}),$e.success("Scene deleted")}});if(r)return f.jsx("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:200",className:"flex items-center justify-center h-64 text-muted-foreground animate-pulse",children:"Loading scenes..."});const V=t?.project;return f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:205",className:"space-y-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:207",className:"border-b border-[#818640]/20 pb-4",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:208",className:"flex items-center gap-3",children:[f.jsx("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:209",className:"w-10 h-10 rounded-lg bg-gradient-to-br from-[#818640]/20 to-[#069494]/20 flex items-center justify-center",children:f.jsx(ss,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:210",className:"w-5 h-5 text-[#818640]"})}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:212",children:[f.jsx("h2",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:213",className:"text-xl font-bold",children:V?.title}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:214",className:"flex items-center gap-2 mt-0.5",children:[f.jsx(C0,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:215",variant:"outline",className:"text-[10px] border-[#069494]/40 text-[#069494] capitalize",children:V?.status?.replace("-"," ")}),V?.genre&&f.jsx("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:216",className:"text-xs text-muted-foreground",children:V.genre})]})]})]}),V?.description&&f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:220",className:"text-sm text-muted-foreground mt-3 pl-[52px]",children:V.description})]}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:224",className:"flex justify-between items-center",children:[f.jsxs("h3",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:225",className:"text-lg font-semibold flex items-center gap-2",children:[f.jsx(xa,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:226",className:"w-4 h-4 text-[#818640]"})," Scenes",f.jsxs("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:227",className:"text-xs text-muted-foreground font-normal",children:["(",n?.scenes.length??0,")"]})]}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:229",className:"flex gap-2",children:[f.jsxs(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:230",size:"sm",variant:"outline",onClick:()=>R(!N),className:"h-8 border-[#069494]/40 text-[#069494] hover:bg-[#069494]/10",children:[f.jsx(Ut,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:231",className:"w-3.5 h-3.5 mr-1"})," AI Import"]}),f.jsxs(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:233",size:"sm",onClick:()=>u(!0),className:"bg-[#818640] hover:bg-[#818640]/80 text-white h-8",children:[f.jsx(P0,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:234",className:"w-3.5 h-3.5 mr-1"})," Add Scene"]})]})]}),N&&f.jsxs(Ui,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:241",className:"p-4 bg-gradient-to-br from-[#069494]/5 to-[#818640]/5 border-[#069494]/20",children:[f.jsxs("h4",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:242",className:"text-sm font-semibold mb-2 text-[#069494] flex items-center gap-1.5",children:[f.jsx(Ut,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:243",className:"w-3.5 h-3.5"})," Import Scenes from Script"]}),f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:245",className:"text-xs text-muted-foreground mb-3",children:"Paste your script below and AI will automatically break it into scenes with locations, INT/EXT, and time of day."}),f.jsx(E4,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:246",placeholder:"Paste your script here... (e.g. FADE IN: INT. COFFEE SHOP - DAY...)",value:z,onChange:Z=>W(Z.target.value),className:"min-h-[120px] text-sm bg-[#1F1E1C] border-[#069494]/30 mb-3"}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:252",className:"flex justify-end gap-2",children:[f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:253",variant:"ghost",size:"sm",onClick:()=>R(!1),className:"h-7",children:"Cancel"}),f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:254",size:"sm",onClick:()=>q.mutate({projectId:e,script:z}),disabled:z.length<10||q.isPending,className:"h-7 bg-[#069494] hover:bg-[#069494]/80",children:q.isPending?f.jsxs(f.Fragment,{children:[f.jsx(Jt,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:255",className:"w-3 h-3 mr-1 animate-spin"})," Importing..."]}):f.jsxs(f.Fragment,{children:[f.jsx(Lo,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:255",className:"w-3 h-3 mr-1"})," Import Scenes"]})})]})]}),c&&f.jsxs(Ui,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:263",className:"p-4 bg-[#1F1E1C]/60 border-[#818640]/20",children:[f.jsx("h4",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:264",className:"text-sm font-semibold mb-3 text-[#818640]",children:"New Scene"}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:265",className:"grid grid-cols-2 md:grid-cols-4 gap-2 mb-3",children:[f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:266",type:"number",placeholder:"Scene #",value:h,onChange:Z=>g(Z.target.value),className:"h-8 text-sm bg-[#1F1E1C] border-[#818640]/30"}),f.jsxs("select",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:267",value:y,onChange:Z=>w(Z.target.value),className:"h-8 text-sm rounded-md bg-[#1F1E1C] border border-[#818640]/30 px-2 text-foreground",children:[f.jsx("option",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:268",value:"INT",children:"INT."}),f.jsx("option",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:269",value:"EXT",children:"EXT."}),f.jsx("option",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:270",value:"INT/EXT",children:"INT/EXT."})]}),f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:272",placeholder:"Location",value:p,onChange:Z=>b(Z.target.value),className:"h-8 text-sm bg-[#1F1E1C] border-[#818640]/30"}),f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:273",placeholder:"Time of day",value:T,onChange:Z=>A(Z.target.value),className:"h-8 text-sm bg-[#1F1E1C] border-[#818640]/30"})]}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:275",className:"flex justify-end gap-2",children:[f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:276",variant:"ghost",size:"sm",onClick:()=>u(!1),className:"h-7",children:"Cancel"}),f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:277",size:"sm",onClick:()=>C.mutate({projectId:e,sceneNumber:parseInt(h),location:p,intExt:y,timeOfDay:T}),disabled:!h||C.isPending,className:"h-7 bg-[#069494] hover:bg-[#069494]/80",children:"Save Scene"})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:285",className:"space-y-2",children:[n?.scenes.map(Z=>f.jsxs(Ui,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:287",className:"overflow-hidden border-[#818640]/10 bg-[#1F1E1C]/40",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:288",className:"p-3 cursor-pointer flex justify-between items-center hover:bg-[#818640]/5 transition-colors",onClick:()=>o(i===Z.id?null:Z.id),children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:292",className:"flex items-center gap-3",children:[i===Z.id?f.jsx(tl,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:293",className:"w-4 h-4 text-[#069494]"}):f.jsx(EP,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:293",className:"w-4 h-4 text-muted-foreground"}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:294",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:295",className:"flex items-center gap-2",children:[f.jsxs("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:296",className:"font-semibold text-sm",children:["Scene ",Z.sceneNumber]}),Z.intExt&&f.jsx(C0,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:297",variant:"outline",className:"text-[10px] h-4 border-[#818640]/30 text-[#818640]",children:Z.intExt})]}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:299",className:"flex items-center gap-3 mt-0.5 text-xs text-muted-foreground",children:[Z.location&&f.jsxs("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:300",className:"flex items-center gap-1",children:[f.jsx(NS,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:300",className:"w-3 h-3"}),Z.location]}),Z.timeOfDay&&f.jsxs("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:301",className:"flex items-center gap-1",children:[f.jsx(Qx,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:301",className:"w-3 h-3"}),Z.timeOfDay]})]})]})]}),f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:305",variant:"ghost",size:"sm",onClick:I=>{I.stopPropagation(),M.mutate({sceneId:Z.id,projectId:e})},className:"h-7 w-7 p-0 text-red-400/60 hover:text-red-400 opacity-0 group-hover:opacity-100",children:f.jsx(Vo,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:306",className:"w-3.5 h-3.5"})})]}),i===Z.id&&f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:310",className:"px-4 pb-4 pt-2 border-t border-[#818640]/10 space-y-3",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:311",className:"flex items-center justify-between",children:[f.jsx("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:312",className:"text-[10px] uppercase tracking-wider text-[#818640]/60 font-medium",children:"Shots & Storyboard"}),f.jsx(tre,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:313",projectId:e,sceneId:Z.id,sceneContext:Z.description||`${Z.intExt}. ${Z.location} - ${Z.timeOfDay}`})]}),f.jsx(nre,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:319",sceneId:Z.id,projectId:e,sceneDescription:Z.description||`${Z.intExt}. ${Z.location} - ${Z.timeOfDay}`})]})]}
1083,Z.id)),n?.scenes.length===0&&!c&&f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:325",className:"flex flex-col items-center justify-center py-12 text-center border border-dashed border-[#818640]/20 rounded-lg",children:[f.jsx(zo,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:326",className:"w-8 h-8 text-[#818640]/40 mb-3"}),f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:327",className:"text-sm text-muted-foreground",children:`"I'm going to make him an offer he can't refuse."`}),f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:328",className:"text-xs text-muted-foreground mt-1",children:"Start by adding your first scene above."})]})]})]})}function are({selectedProjectId:e,onSelectProject:t}){const{data:n,isLoading:r}=je.filmmaking.getProjects.useQuery(),a=je.useUtils(),[i,o]=O.useState(!1),[c,u]=O.useState(""),[h,g]=O.useState(""),p=je.filmmaking.createProject.useMutation({onSuccess:y=>{u(""),g(""),o(!1),a.filmmaking.getProjects.invalidate(),t(y.id),$e.success("Project created")},onError:()=>$e.error("Failed to create project")}),b=je.filmmaking.deleteProject.useMutation({onSuccess:()=>{a.filmmaking.getProjects.invalidate(),$e.success("Project deleted")}});return r?f.jsx("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:363",className:"space-y-2",children:[1,2,3].map(y=>f.jsx("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:363",className:"h-14 rounded-lg bg-[#818640]/5 animate-pulse"},y))}):f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:366",className:"space-y-3",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:367",className:"flex justify-between items-center",children:[f.jsx("h2",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:368",className:"text-sm font-semibold uppercase tracking-wider text-[#818640]",children:"Projects"}),f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:369",variant:"ghost",size:"sm",onClick:()=>o(!i),className:"h-7 w-7 p-0 text-[#069494] hover:text-[#069494]/80",children:f.jsx(P0,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:370",className:"w-4 h-4"})})]}),i&&f.jsxs(Ui,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:375",className:"p-3 bg-[#1F1E1C]/60 border-[#818640]/20 space-y-2",children:[f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:376",placeholder:"Project title...",value:c,onChange:y=>u(y.target.value),className:"h-8 text-sm bg-[#1F1E1C] border-[#818640]/30",autoFocus:!0}),f.jsx(Ka,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:377",placeholder:"Genre (optional)",value:h,onChange:y=>g(y.target.value),className:"h-8 text-sm bg-[#1F1E1C] border-[#818640]/30"}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:378",className:"flex justify-end gap-2",children:[f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:379",variant:"ghost",size:"sm",onClick:()=>o(!1),className:"h-7 text-xs",children:"Cancel"}),f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:380",size:"sm",onClick:()=>p.mutate({title:c,genre:h||void 0}),disabled:!c.trim()||p.isPending,className:"h-7 text-xs bg-[#069494] hover:bg-[#069494]/80",children:"Create"})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:387",className:"space-y-1",children:[n?.projects.map(y=>f.jsx("button",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:389",onClick:()=>t(y.id),className:`w-full text-left p-3 rounded-lg border transition-all group ${e===y.id?"bg-[#818640]/10 border-[#818640]/30":"border-transparent hover:bg-[#818640]/5 hover:border-[#818640]/10"}`,children:f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:398",className:"flex justify-between items-start",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:399",className:"min-w-0 flex-1",children:[f.jsx("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:400",className:"font-medium text-sm truncate",children:y.title}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:401",className:"flex items-center gap-2 mt-0.5",children:[f.jsx("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:402",className:"text-[10px] text-muted-foreground capitalize",children:y.status.replace("-"," ")}),y.genre&&f.jsx("span",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:403",className:"text-[10px] text-[#069494]",children:y.genre})]})]}),f.jsx(He,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:406",variant:"ghost",size:"sm",onClick:w=>{w.stopPropagation(),b.mutate({id:y.id})},className:"h-6 w-6 p-0 opacity-0 group-hover:opacity-100 text-red-400/60 hover:text-red-400",children:f.jsx(Vo,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:407",className:"w-3 h-3"})})]})},y.id)),n?.projects.length===0&&!i&&f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:413",className:"text-center py-6",children:[f.jsx(ss,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:414",className:"w-6 h-6 text-[#818640]/30 mx-auto mb-2"}),f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:415",className:"text-xs text-muted-foreground",children:`"Here's looking at you, kid."`}),f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:416",className:"text-[10px] text-muted-foreground mt-1",children:"Create your first project."})]})]})]})}function sre(){const[e,t]=O.useState(null);return f.jsx(is,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:430",children:f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:431",className:"container py-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:433",className:"flex items-center gap-3 mb-6",children:[f.jsx("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:434",className:"w-10 h-10 rounded-xl bg-gradient-to-br from-[#818640] to-[#069494] flex items-center justify-center",children:f.jsx(xa,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:435",className:"w-5 h-5 text-white"})}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:437",children:[f.jsx("h1",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:438",className:"text-2xl font-bold",children:"Filmmaking Studio"}),f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:439",className:"text-sm text-muted-foreground",children:"Manage your productions from script to screen"})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:444",className:"grid grid-cols-1 lg:grid-cols-[280px_1fr] gap-6",children:[f.jsx("aside",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:446",className:"lg:border-r lg:border-[#818640]/10 lg:pr-6",children:f.jsx(are,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:447",
1083selectedProjectId:e,onSelectProject:t})}),f.jsx("main",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:451",className:"min-w-0",children:e?f.jsx(rre,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:453",projectId:e}):f.jsxs("div",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:455",className:"flex flex-col items-center justify-center h-[400px] border border-dashed border-[#818640]/20 rounded-xl",children:[f.jsx(xa,{"data-loc":"client/src/pages/FilmmakingStudio.tsx:456",className:"w-12 h-12 text-[#818640]/20 mb-4"}),f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:457",className:"text-lg font-medium text-muted-foreground",children:'"Lights, camera, action!"'}),f.jsx("p",{"data-loc":"client/src/pages/FilmmakingStudio.tsx:458",className:"text-sm text-muted-foreground mt-1",children:"Select or create a project to manage scenes and shots"})]})})]})]})})}const ire=["How does the free tier work?","What is BYOK?","How do Source Packs work?","Can I export my shot list to PDF?","What AI models are available?","How do I estimate my film budget?"];function ore(){const[e,t]=O.useState(!1),[n,r]=O.useState([]),[a,i]=O.useState(""),[o,c]=O.useState(!1),[u,h]=O.useState(!0),[g,p]=O.useState(!1),b=O.useRef(null),y=O.useRef(null),{isAuthenticated:w}=cs(),T=je.conversations.create.useMutation(),A=je.conversations.saveMessages.useMutation();async function N(){if(!(!w||n.length===0)){p(!0);try{const C=await T.mutateAsync({title:"Doubt Assistant â "+new Date().toLocaleDateString(),model:"auto"});await A.mutateAsync({conversationId:C.id,messages:n.map(M=>({role:M.role,content:M.content}))}),$e.success("Saved to Conversation Library!")}catch{$e.error("Could not save â please try again.")}finally{p(!1)}}}const R=je.landing.askDoubt.useMutation({onSuccess:C=>{r(M=>[...M,{role:"assistant",content:C.reply}]),c(!1)},onError:()=>{r(C=>[...C,{role:"assistant",content:"Sorry, I couldn't get a response right now. Please try again in a moment."}]),c(!1)}});O.useEffect(()=>{e&&setTimeout(()=>y.current?.focus(),100)},[e]),O.useEffect(()=>{b.current?.scrollIntoView({behavior:"smooth"})},[n,o]);function z(C){const M=C.trim();if(!M||o)return;const V=[...n,{role:"user",content:M}];r(V),i(""),c(!0),h(!1),R.mutate({messages:V})}function W(C){C.key==="Enter"&&!C.shiftKey&&(C.preventDefault(),z(a))}function q(){r([]),h(!0)}return f.jsxs(f.Fragment,{children:[f.jsxs("button",{"data-loc":"client/src/components/DoubtAssistant.tsx:115",onClick:()=>t(C=>!C),"aria-label":"Open AI assistant",className:"fixed bottom-6 right-6 z-50 flex items-center gap-2 px-4 py-3 rounded-2xl shadow-2xl transition-all duration-200 hover:scale-105 active:scale-95",style:{background:"linear-gradient(135deg, #818640 0%, #069494 100%)",boxShadow:"0 8px 32px rgba(129,134,64,0.4)"},children:[e?f.jsx(tl,{"data-loc":"client/src/components/DoubtAssistant.tsx:125",className:"h-5 w-5 text-white"}):f.jsx(HP,{"data-loc":"client/src/components/DoubtAssistant.tsx:127",className:"h-5 w-5 text-white"}),f.jsx("span",{"data-loc":"client/src/components/DoubtAssistant.tsx:129",className:"text-sm font-semibold text-white",children:e?"Close":"Ask AI"}),!e&&n.length===0&&f.jsx("span",{"data-loc":"client/src/components/DoubtAssistant.tsx:133",className:"absolute -top-1 -right-1 h-3 w-3 rounded-full animate-pulse",style:{background:"#0ab8b8"}})]}),e&&f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:142",className:"fixed bottom-20 right-6 z-50 flex flex-col rounded-3xl overflow-hidden shadow-2xl",style:{width:"min(380px, calc(100vw - 24px))",height:"min(520px, calc(100vh - 120px))",background:"rgba(13,10,30,0.97)",border:"1px solid rgba(129,134,64,0.3)",backdropFilter:"blur(20px)",boxShadow:"0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(129,134,64,0.15)"},children:[f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:154",className:"flex items-center gap-3 px-4 py-3 shrink-0",style:{background:"linear-gradient(135deg, rgba(129,134,64,0.2) 0%, rgba(6,148,148,0.15) 100%)",borderBottom:"1px solid rgba(255,255,255,0.07)"},children:[f.jsx("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:161",className:"flex items-center justify-center h-8 w-8 rounded-xl shrink-0",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(Ut,{"data-loc":"client/src/components/DoubtAssistant.tsx:165",className:"h-4 w-4 text-white"})}),f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:167",className:"flex-1 min-w-0",children:[f.jsx("p",{"data-loc":"client/src/components/DoubtAssistant.tsx:168",className:"font-display font-semibold text-white text-sm leading-tight",children:"AI Assistant"}),f.jsx("p",{"data-loc":"client/src/components/DoubtAssistant.tsx:171",className:"text-xs text-white/40 leading-tight",children:"Ask anything about the platform"})]}),f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:175",className:"flex items-center gap-1",children:[n.length>0&&w&&f.jsx("button",{"data-loc":"client/src/components/DoubtAssistant.tsx:177",onClick:N,disabled:g,title:"Save this conversation to your library",className:"p-1.5 rounded-lg text-white/40 hover:text-[#069494] hover:bg-white/5 transition-colors disabled:opacity-40",children:g?f.jsx(Jt,{"data-loc":"client/src/components/DoubtAssistant.tsx:183",className:"h-3.5 w-3.5 animate-spin"}):f.jsx(L0,{"data-loc":"client/src/components/DoubtAssistant.tsx:183",className:"h-3.5 w-3.5"})}),n.length>0&&f.jsx("button",{"data-loc":"client/src/components/DoubtAssistant.tsx:187",onClick:q,className:"px-2 py-1 rounded-lg text-xs text-white/40 hover:text-white/70 hover:bg-white/5 transition-colors",children:"Clear"}),f.jsx("button",{"data-loc":"client/src/components/DoubtAssistant.tsx:194",onClick:()=>t(!1),className:"p-1.5 rounded-lg text-white/40 hover:text-white/70 hover:bg-white/5 transition-colors",children:f.jsx(j0,{"data-loc":"client/src/components/DoubtAssistant.tsx:198",className:"h-4 w-4"})})]})]}),f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:204",className:"flex-1 overflow-y-auto px-4 py-4 flex flex-col gap-3",children:[n.length===0&&f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:207",className:"flex gap-2.5",children:[f.jsx("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:208",className:"h-7 w-7 rounded-xl shrink-0 flex items-center justify-center mt-0.5",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(Ut,{"data-loc":"client/src/components/DoubtAssistant.tsx:212",className:"h-3.5 w-3.5 text-white"})}),f.jsx("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:214",className:"rounded-2xl rounded-tl-sm px-3.5 py-2.5 text-sm leading-relaxed max-w-[85%]",style:{background:"rgba(129,134,64,0.12)",border:"1px solid rgba(129,134,64,0.2)",color:"rgba(255,255,255,0.8)"},children:"Hi! I'm your Creator AI Hub assistant. Ask me anything about the platform, tools, pricing, or filmmaking workflows. ð¬"})]}),u&&n.length===0&&f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:229",className:"flex flex-col gap-1.5 mt-1",children:[f.jsx("p",{"data-loc":"client/src/components/DoubtAssistant.tsx:230",className:"text-xs text-white/30 px-1",children:"Suggested questions"}),ire.map(C=>f.jsx("button",{"data-loc":"client/src/components/DoubtAssistant.tsx:232",onClick:()=>z(C),className:"text-left text-xs px-3 py-2 rounded-xl transition-all hover:bg-white/8",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.07)",color:"rgba(255,255,255,0.55)"},children:C},C))]}),n.map((C,M)=>f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:250",className:`flex gap-2.5 ${C.role==="user"?"flex-row-reverse":""}`,children:[C.role==="assistant"&&f.jsx("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:255",className:"h-7 w-7 rounded-xl shrink-0 flex items-center justify-center mt-0.5",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(Ut,{"data-loc":"client/src/components/DoubtAssistant.tsx:259",className:"h-3.5 w-3.5 text-white"})}),f.jsx("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:262",className:`rounded-2xl px-3.5 py-2.5 text-sm leading-relaxed max-w-[85%] ${C.role==="user"?"rounded-tr-sm":"rounded-tl-sm"}`,style:C.role==="user"?{background:"linear-gradient(135deg, rgba(129,134,64,0.35), rgba(6,148,148,0.25))",border:"1px solid rgba(129,134,64,0.3)",color:"rgba(255,255,255,0.9)"}:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.08)",color:"rgba(255,255,255,0.8)"},children:C.role==="assistant"?f.jsx("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:281",className:"prose prose-invert prose-sm max-w-none [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",children:f.jsx(Ki,{"data-loc":"client/src/components/DoubtAssistant.tsx:282",children:C.content})}):C.content})]},M)),o&&f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:293",className:"flex gap-2.5",children:[f.jsx("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:294",className:"h-7 w-7 rounded-xl shrink-0 flex items-center justify-center mt-0.5",style:{background:"linear-gradient(135deg, #818640, #069494)"},children:f.jsx(Ut,{"data-loc":"client/src/components/DoubtAssistant.tsx:298",className:"h-3.5 w-3.5 text-white"})}),f.jsx("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:300",className:"rounded-2xl rounded-tl-sm px-3.5 py-3 flex items-center gap-1",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.08)"},children:[0,1,2].map(C=>f.jsx("span",{"data-loc":"client/src/components/DoubtAssistant.tsx:308",className:"h-1.5 w-1.5 rounded-full animate-bounce",style:{background:"#c4c96a",animationDelay:`${C*.15}s`}},C))})]}),f.jsx("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:320",ref:b})]}),f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:324",className:"px-3 py-3 shrink-0",style:{borderTop:"1px solid rgba(255,255,255,0.07)"},children:[f.jsxs("div",{"data-loc":"client/src/components/DoubtAssistant.tsx:328",className:"flex items-center gap-2 px-3 py-2 rounded-2xl",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)"},children:[f.jsx("input",{"data-loc":"client/src/components/DoubtAssistant.tsx:335",ref:y,value:a,onChange:C=>i(C.target.value),onKeyDown:W,placeholder:"Ask a questionâ¦",disabled:o,className:"flex-1 bg-transparent text-sm text-white/80 placeholder:text-white/25 outline-none"}),f.jsx("button",{"data-loc":"client/src/components/DoubtAssistant.tsx:344",onClick:()=>z(a),disabled:!a.trim()||o,className:"flex items-center justify-center h-7 w-7 rounded-xl transition-all disabled:opacity-30",style:{background:a.trim()&&!o?"linear-gradient(135deg, #818640, #069494)":"rgba(255,255,255,0.08)"},children:o?f.jsx(Jt,{"data-loc":"client/src/components/DoubtAssistant.tsx:355",className:"h-3.5 w-3.5 text-white animate-spin"}):f.jsx(_c,{"data-loc":"client/src/components/DoubtAssistant.tsx:357",className:"h-3.5 w-3.5 text-white"})})]}),f.jsx("p",{"data-loc":"client/src/components/DoubtAssistant.tsx:361",className:"text-center text-xs text-white/20 mt-2",children:"Powered by open-source AI · No signup required"})]})]})]})}function lre(){return f.jsxs(Tj,{"data-loc":"client/src/App.tsx:22",children:[f.jsx(Fr,{"data-loc":"client/src/App.tsx:23",path:"/",component:_ne}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:24",path:"/conversations",component:One}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:25",path:"/source-packs",component:Rne}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:26",path:"/agent-tools",component:Dne}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:27",path:"/budget",component:Lne}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:28",path:"/mentors",component:Hne}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:29",path:"/admin/quotes",component:qne}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:30",path:"/image-enhancement",component:Yne}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:31",path:"/video-enhancement",component:Zne}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:32",path:"/studio",component:sre}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:33",path:"/budget/share/:shareId",children:e=>f.jsx(Vne,{"data-loc":"client/src/App.tsx:34",shareId:e.shareId})}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:36",path:"/404",component:E6}),f.jsx(Fr,{"data-loc":"client/src/App.tsx:37",component:E6})]})}function cre(){return f.jsx(kj,{"data-loc":"client/src/App.tsx:44",children:f.jsx(Aj,{"data-loc":"client/src/App.tsx:45",defaultTheme:"dark",children:f.jsxs(dP,{"data-loc":"client/src/App.tsx:46",children:[f.jsx(TM,{"data-loc":"client/src/App.tsx:47",theme:"dark",toastOptions:{style:{background:"rgba(31,30,28,0.97)",border:"1px solid rgba(129,134,64,0.3)",color:"#f5f4f0"}}}),f.jsx(lre,{"data-loc":"client/src/App.tsx:57"}),f.jsx(ore,{"data-loc":"client/src/App.tsx:58"})]})})})}const Hf=new kO,FA=e=>{!(e instanceof fc)||typeof window>"u"||!(e.message===iD)||(window.location.href=Ja())};Hf.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;FA(t),console.error("[API Query Error]",t)}});Hf.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;FA(t),console.error("[API Mutation Error]",t)}});const ure=je.createClient({links:[MR({url:"/api/trpc",transformer:Zs,fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});hD.createRoot(document.getElementById("root")).render(f.jsx(je.Provider,{"data-loc":"client/src/main.tsx:56",client:ure,queryClient:Hf,children:f.jsx(AO,{"data-loc":"client/src/main.tsx:57",client:Hf,children:f.jsx(cre,{"data-loc":"client/src/main.tsx:58"})})}));export{H as _,bre as a,Uf 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.