vendor: 21,668 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 dee(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in e)){const i=Object.getOwnPropertyDescriptor(n,a);i&&Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:()=>n[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"]'))n(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"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(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 n(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();var Ym=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ix={exports:{}},rd={};/** 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 X9;function hee(){if(X9)return rd;X9=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,a,i){var o=null;if(i!==void 0&&(o=""+i),a.key!==void 0&&(o=""+a.key),"key"in a){i={};for(var s in a)s!=="key"&&(i[s]=a[s])}else i=a;return a=i.ref,{$$typeof:e,type:n,key:o,ref:a!==void 0?a:null,props:i}}return rd.Fragment=t,rd.jsx=r,rd.jsxs=r,rd}var Q9;function pee(){return Q9||(Q9=1,Ix.exports=hee()),Ix.exports}var S=pee(),Ou=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(){}},mee={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},gee=class{#t=mee;#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)}},nu=new gee;function vee(e){setTimeout(e,0)}var mu=typeof window>"u"||"Deno"in globalThis;function Pn(){}function yee(e,t){return typeof e=="function"?e(t):e}function aw(e){return typeof e=="number"&&e>=0&&e!==1/0}function eH(e,t){return Math.max(e+(t||0)-Date.now(),0)}function il(e,t){return typeof e=="function"?e(t):e}function ei(e,t){return typeof e=="function"?e(t):e}function Z9(e,t){const{type:r="all",exact:n,fetchStatus:a,predicate:i,queryKey:o,stale:s}=e;if(o){if(n){if(t.queryHash!==YS(o,t.options))return!1}else if(!eh(t.queryKey,o))return!1}if(r!=="all"){const u=t.isActive();if(r==="active"&&!u||r==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||a&&a!==t.state.fetchStatus||i&&!i(t))}function J9(e,t){const{exact:r,status:n,predicate:a,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(r){if(ll(t.options.mutationKey)!==ll(i))return!1}else if(!eh(t.options.mutationKey,i))return!1}return!(n&&t.state.status!==n||a&&!a(t))}function YS(e,t){return(t?.queryKeyHashFn||ll)(e)}function ll(e){return JSON.stringify(e,(t,r)=>iw(r)?Object.keys(r).sort().reduce((n,a)=>(n[a]=r[a],n),{}):r)}function eh(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>eh(e[r],t[r])):!1}var bee=Object.prototype.hasOwnProperty;function WS(e,t){if(e===t)return e;const r=ek(e)&&ek(t);if(!r&&!(iw(e)&&iw(t)))return t;const a=(r?e:Object.keys(e)).length,i=r?t:Object.keys(t),o=i.length,s=r?new Array(o):{};let u=0;for(let f=0;f<o;f++){const h=r?f:i[f],d=e[h],m=t[h];if(d===m){s[h]=d,(r?f<a:bee.call(e,h))&&u++;continue}if(d===null||m===null||typeof d!="object"||typeof m!="object"){s[h]=m;continue}const v=WS(d,m);s[h]=v,v===d&&u++}return a===o&&u===a?e:s}function th(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function ek(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function iw(e){if(!tk(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!tk(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function tk(e){return Object.prototype.toString.call(e)==="[object Object]"}function xee(e){return new Promise(t=>{nu.setTimeout(t,e)})}function ow(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?WS(e,t):t}function Eee(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function _ee(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var Pa=Symbol();function tH(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Pa?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function rH(e,t){return typeof e=="function"?e(...t):!!e}var wee=class extends Ou{#t;#e;#r;constructor(){super(),this.#r=e=>{if(!mu&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#r=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"}},KS=new wee;function sw(){let e,t;const r=new Promise((a,i)=>{e=a,t=i});r.status="pending",r.catch(()=>{});function n(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{n({status:"fulfilled",value:a}),e(a)},r.reject=a=>{n({status:"rejected",reason:a}),t(a)},r}var See=vee;function Tee(){let e=[],t=0,r=s=>{s()},n=s=>{s()},a=See;const i=s=>{t?e.push(s):a(()=>{r(s)})},o=()=>{const s=e;e=[],s.length&&a(()=>{n(()=>{s.forEach(u=>{r(u)})})})};return{batch:s=>{let u;t++;try{u=s()}finally{t--,t||o()}return u},batchCalls:s=>(...u)=>{i(()=>{s(...u)})},schedule:i,setNotifyFunction:s=>{r=s},setBatchNotifyFunction:s=>{n=s},setScheduler:s=>{a=s}}}var kr=Tee(),Aee=class extends Ou{#t=!0;#e;#r;constructor(){super(),this.#r=e=>{if(!mu&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#e||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#r=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(r=>{r(e)}))}isOnline(){return this.#t}},o1=new Aee;function Cee(e){return Math.min(1e3*2**e,3e4)}function nH(e){return(e??"online")==="online"?o1.isOnline():!0}var lw=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function aH(e){let t=!1,r=0,n;const a=sw(),i=()=>a.status!=="pending",o=b=>{if(!i()){const E=new lw(b);m(E),e.onCancel?.(E)}},s=()=>{t=!0},u=()=>{t=!1},f=()=>KS.isFocused()&&(e.networkMode==="always"||o1.isOnline())&&e.canRun(),h=()=>nH(e.networkMode)&&e.canRun(),d=b=>{i()||(n?.(),a.resolve(b))},m=b=>{i()||(n?.(),a.reject(b))},v=()=>new Promise(b=>{n=E=>{(i()||f())&&b(E)},e.onPause?.()}).then(()=>{n=void 0,i()||e.onContinue?.()}),y=()=>{if(i())return;let b;const E=r===0?e.initialPromise:void 0;try{b=E??e.fn()}catch(_){b=Promise.reject(_)}Promise.resolve(b).then(d).catch(_=>{if(i())return;const A=e.retry??(mu?0:3),C=e.retryDelay??Cee,P=typeof C=="function"?C(r,_):C,O=A===!0||typeof A=="number"&&r<A||typeof A=="function"&&A(r,_);if(t||!O){m(_);return}r++,e.onFail?.(r,_),xee(P).then(()=>f()?void 0:v()).then(()=>{t?m(_):y()})})};return{promise:a,status:()=>a.status,cancel:o,continue:()=>(n?.(),a),cancelRetry:s,continueRetry:u,canStart:h,start:()=>(h()?y():v().then(y),a)}}var iH=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),aw(this.gcTime)&&(this.#t=nu.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(mu?1/0:300*1e3))}clearGcTimeout(){this.#t&&(nu.clearTimeout(this.#t),this.#t=void 0)}},Oee=class extends iH{#t;#e;#r;#a;#n;#i;#s;constructor(e){super(),this.#s=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#r=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=rk(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#n?.promise}setOptions(e){if(this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=rk(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.#r.remove(this)}setData(e,t){const r=ow(this.state.data,e,this.options);return this.#o({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#o({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#n?.promise;return this.#n?.cancel(e),t?t.then(Pn).catch(Pn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>ei(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Pa||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>il(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:!eH(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.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.#n&&(this.#s?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#n?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(e&&this.setOptions(e),!this.options.queryFn){const s=this.observers.find(u=>u.options.queryFn);s&&this.setOptions(s.options)}const r=new AbortController,n=s=>{Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(this.#s=!0,r.signal)})},a=()=>{const s=tH(this.options,t),f=(()=>{const h={client:this.#a,queryKey:this.queryKey,meta:this.meta};return n(h),h})();return this.#s=!1,this.options.persister?this.options.persister(s,f,this):s(f)},o=(()=>{const s={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return n(s),s})();this.options.behavior?.onFetch(o,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#o({type:"fetch",meta:o.fetchOptions?.meta}),this.#n=aH({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:s=>{s instanceof lw&&s.revert&&this.setState({...this.#e,fetchStatus:"idle"}),r.abort()},onFail:(s,u)=>{this.#o({type:"failed",failureCount:s,error:u})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const s=await this.#n.start();if(s===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(s),this.#r.config.onSuccess?.(s,this),this.#r.config.onSettled?.(s,this.state.error,this),s}catch(s){if(s instanceof lw){if(s.silent)return this.#n.promise;if(s.revert){if(this.state.data===void 0)throw s;return this.state.data}}throw this.#o({type:"error",error:s}),this.#r.config.onError?.(s,this),this.#r.config.onSettled?.(this.state.data,s,this),s}finally{this.scheduleGc()}}#o(e){const t=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...oH(r.data,this.options),fetchMeta:e.meta??null};case"success":const n={...r,data:e.data,dataUpdateCount:r.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?n:void 0,n;case"error":const a=e.error;return{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=t(this.state),kr.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function oH(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:nH(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function rk(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var rp=class extends Ou{constructor(e,t){super(),this.options=t,this.#t=e,this.#o=null,this.#s=sw(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#r=void 0;#a=void 0;#n;#i;#s;#o;#h;#f;#d;#u;#c;#l;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),nk(this.#e,this.options)?this.#p():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return uw(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return uw(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#E(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,r=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 ei(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#_(),this.#e.setOptions(this.options),t._defaulted&&!th(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const n=this.hasListeners();n&&ak(this.#e,r,this.options,t)&&this.#p(),this.updateResult(),n&&(this.#e!==r||ei(this.options.enabled,this.#e)!==ei(t.enabled,this.#e)||il(this.options.staleTime,this.#e)!==il(t.staleTime,this.#e))&&this.#g();const a=this.#v();n&&(this.#e!==r||ei(this.options.enabled,this.#e)!==ei(t.enabled,this.#e)||a!==this.#l)&&this.#y(a)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),r=this.createResult(t,e);return Nee(this,r)&&(this.#a=r,this.#i=this.options,this.#n=this.#e.state),r}getCurrentResult(){return this.#a}trackResult(e,t){return new Proxy(e,{get:(r,n)=>(this.trackProp(n),t?.(n),n==="promise"&&!this.options.experimental_prefetchInRender&&this.#s.status==="pending"&&this.#s.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),Reflect.get(r,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),r=this.#t.getQueryCache().build(this.#t,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#p({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#p(e){this.#_();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Pn)),t}#g(){this.#x();const e=il(this.options.staleTime,this.#e);if(mu||this.#a.isStale||!aw(e))return;const r=eH(this.#a.dataUpdatedAt,e)+1;this.#u=nu.setTimeout(()=>{this.#a.isStale||this.updateResult()},r)}#v(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#y(e){this.#E(),this.#l=e,!(mu||ei(this.options.enabled,this.#e)===!1||!aw(this.#l)||this.#l===0)&&(this.#c=nu.setInterval(()=>{(this.options.refetchIntervalInBackground||KS.isFocused())&&this.#p()},this.#l))}#b(){this.#g(),this.#y(this.#v())}#x(){this.#u&&(nu.clearTimeout(this.#u),this.#u=void 0)}#E(){this.#c&&(nu.clearInterval(this.#c),this.#c=void 0)}createResult(e,t){const r=this.#e,n=this.options,a=this.#a,i=this.#n,o=this.#i,u=e!==r?e.state:this.#r,{state:f}=e;let h={...f},d=!1,m;if(t._optimisticResults){const L=this.hasListeners(),H=!L&&nk(e,t),F=L&&ak(e,r,t,n);(H||F)&&(h={...h,...oH(f.data,e.options)}),t._optimisticResults==="isRestoring"&&(h.fetchStatus="idle")}let{error:v,errorUpdatedAt:y,status:b}=h;m=h.data;let E=!1;if(t.placeholderData!==void 0&&m===void 0&&b==="pending"){let L;a?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(L=a.data,E=!0):L=typeof t.placeholderData=="function"?t.placeholderData(this.#d?.state.data,this.#d):t.placeholderData,L!==void 0&&(b="success",m=ow(a?.data,L,t),d=!0)}if(t.select&&m!==void 0&&!E)if(a&&m===i?.data&&t.select===this.#h)m=this.#f;
10else try{this.#h=t.select,m=t.select(m),m=ow(a?.data,m,t),this.#f=m,this.#o=null}catch(L){this.#o=L}this.#o&&(v=this.#o,m=this.#f,y=Date.now(),b="error");const _=h.fetchStatus==="fetching",A=b==="pending",C=b==="error",P=A&&_,O=m!==void 0,M={status:b,fetchStatus:h.fetchStatus,isPending:A,isSuccess:b==="success",isError:C,isInitialLoading:P,isLoading:P,data:m,dataUpdatedAt:h.dataUpdatedAt,error:v,errorUpdatedAt:y,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>u.dataUpdateCount||h.errorUpdateCount>u.errorUpdateCount,isFetching:_,isRefetching:_&&!A,isLoadingError:C&&!O,isPaused:h.fetchStatus==="paused",isPlaceholderData:d,isRefetchError:C&&O,isStale:XS(e,t),refetch:this.refetch,promise:this.#s,isEnabled:ei(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const L=$=>{M.status==="error"?$.reject(M.error):M.data!==void 0&&$.resolve(M.data)},H=()=>{const $=this.#s=M.promise=sw();L($)},F=this.#s;switch(F.status){case"pending":e.queryHash===r.queryHash&&L(F);break;case"fulfilled":(M.status==="error"||M.data!==F.value)&&H();break;case"rejected":(M.status!=="error"||M.error!==F.reason)&&H();break}}return M}updateResult(){const e=this.#a,t=this.createResult(this.#e,this.options);if(this.#n=this.#e.state,this.#i=this.options,this.#n.data!==void 0&&(this.#d=this.#e),th(t,e))return;this.#a=t;const r=()=>{if(!e)return!0;const{notifyOnChangeProps:n}=this.options,a=typeof n=="function"?n():n;if(a==="all"||!a&&!this.#m.size)return!0;const i=new Set(a??this.#m);return this.options.throwOnError&&i.add("error"),Object.keys(this.#a).some(o=>{const s=o;return this.#a[s]!==e[s]&&i.has(s)})};this.#w({listeners:r()})}#_(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#r=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#w(e){kr.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#a)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function kee(e,t){return ei(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function nk(e,t){return kee(e,t)||e.state.data!==void 0&&uw(e,t,t.refetchOnMount)}function uw(e,t,r){if(ei(t.enabled,e)!==!1&&il(t.staleTime,e)!=="static"){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&XS(e,t)}return!1}function ak(e,t,r,n){return(e!==t||ei(n.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&XS(e,r)}function XS(e,t){return ei(t.enabled,e)!==!1&&e.isStaleByTime(il(t.staleTime,e))}function Nee(e,t){return!th(e.getCurrentResult(),t)}function s1(e){return{onFetch:(t,r)=>{const n=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},u=0;const f=async()=>{let h=!1;const d=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},m=tH(t.options,t.fetchOptions),v=async(y,b,E)=>{if(h)return Promise.reject();if(b==null&&y.pages.length)return Promise.resolve(y);const A=(()=>{const k={client:t.client,queryKey:t.queryKey,pageParam:b,direction:E?"backward":"forward",meta:t.options.meta};return d(k),k})(),C=await m(A),{maxPages:P}=t.options,O=E?_ee:Eee;return{pages:O(y.pages,C,P),pageParams:O(y.pageParams,b,P)}};if(a&&i.length){const y=a==="backward",b=y?sH:cw,E={pages:i,pageParams:o},_=b(n,E);s=await v(E,_,y)}else{const y=e??i.length;do{const b=u===0?o[0]??n.initialPageParam:cw(n,s);if(u>0&&b==null)break;s=await v(s,b),u++}while(u<y)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=f}}}function cw(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function sH(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}function Ree(e,t){return t?cw(e,t)!=null:!1}function Mee(e,t){return!t||!e.getPreviousPageParam?!1:sH(e,t)!=null}var lH=class extends rp{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:s1()})}getOptimisticResult(e){return e.behavior=s1(),super.getOptimisticResult(e)}
10fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:r}=e,n=super.createResult(e,t),{isFetching:a,isRefetching:i,isError:o,isRefetchError:s}=n,u=r.fetchMeta?.fetchMore?.direction,f=o&&u==="forward",h=a&&u==="forward",d=o&&u==="backward",m=a&&u==="backward";return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Ree(t,r.data),hasPreviousPage:Mee(t,r.data),isFetchNextPageError:f,isFetchingNextPage:h,isFetchPreviousPageError:d,isFetchingPreviousPage:m,isRefetchError:s&&!f&&!d,isRefetching:i&&!h&&!m}}},Pee=class extends iH{#t;#e;#r;#a;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#r=e.mutationCache,this.#e=[],this.state=e.state||uH(),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.#r.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#r.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#n({type:"continue"})},r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=aH({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(i,o)=>{this.#n({type:"failed",failureCount:i,error:o})},onPause:()=>{this.#n({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)});const n=this.state.status==="pending",a=!this.#a.canStart();try{if(n)t();else{this.#n({type:"pending",variables:e,isPaused:a}),await this.#r.config.onMutate?.(e,this,r);const o=await this.options.onMutate?.(e,r);o!==this.state.context&&this.#n({type:"pending",context:o,variables:e,isPaused:a})}const i=await this.#a.start();return await this.#r.config.onSuccess?.(i,e,this.state.context,this,r),await this.options.onSuccess?.(i,e,this.state.context,r),await this.#r.config.onSettled?.(i,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(i,null,e,this.state.context,r),this.#n({type:"success",data:i}),i}catch(i){try{throw await this.#r.config.onError?.(i,e,this.state.context,this,r),await this.options.onError?.(i,e,this.state.context,r),await this.#r.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(void 0,i,e,this.state.context,r),i}finally{this.#n({type:"error",error:i})}}finally{this.#r.runNext(this)}}#n(e){const t=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,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{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),kr.batch(()=>{this.#e.forEach(r=>{r.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function uH(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Iee=class extends Ou{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#r=0}#t;#e;#r;build(e,t,r){const n=new Pee({client:e,mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#t.add(e);const t=Wm(e);if(typeof t=="string"){const r=this.#e.get(t);r?r.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=Wm(e);if(typeof t=="string"){const r=this.#e.get(t);if(r)if(r.length>1){const n=r.indexOf(e);n!==-1&&r.splice(n,1)}else r[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Wm(e);if(typeof t=="string"){const n=this.#e.get(t)?.find(a=>a.state.status==="pending");return!n||n===e}else return!0}runNext(e){const t=Wm(e);return typeof t=="string"?this.#e.get(t)?.find(n=>
10n!==e&&n.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){kr.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(r=>J9(t,r))}findAll(e={}){return this.getAll().filter(t=>J9(e,t))}notify(e){kr.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return kr.batch(()=>Promise.all(e.map(t=>t.continue().catch(Pn))))}};function Wm(e){return e.options.scope?.id}var Dee=class extends Ou{#t;#e=void 0;#r;#a;constructor(t,r){super(),this.#t=t,this.setOptions(r),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const r=this.options;this.options=this.#t.defaultMutationOptions(t),th(this.options,r)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#r,observer:this}),r?.mutationKey&&this.options.mutationKey&&ll(r.mutationKey)!==ll(this.options.mutationKey)?this.reset():this.#r?.state.status==="pending"&&this.#r.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#r?.removeObserver(this)}onMutationUpdate(t){this.#n(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#r?.removeObserver(this),this.#r=void 0,this.#n(),this.#i()}mutate(t,r){return this.#a=r,this.#r?.removeObserver(this),this.#r=this.#t.getMutationCache().build(this.#t,this.options),this.#r.addObserver(this),this.#r.execute(t)}#n(){const t=this.#r?.state??uH();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#i(t){kr.batch(()=>{if(this.#a&&this.hasListeners()){const r=this.#e.variables,n=this.#e.context,a={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#a.onSuccess?.(t.data,r,n,a),this.#a.onSettled?.(t.data,null,r,n,a)):t?.type==="error"&&(this.#a.onError?.(t.error,r,n,a),this.#a.onSettled?.(void 0,t.error,r,n,a))}this.listeners.forEach(r=>{r(this.#e)})})}};function ik(e,t){const r=new Set(t);return e.filter(n=>!r.has(n))}function Lee(e,t,r){const n=e.slice(0);return n[t]=r,n}var jee=class extends Ou{#t;#e;#r;#a;#n;#i;#s;#o;#h=[];constructor(e,t,r){super(),this.#t=e,this.#a=r,this.#r=[],this.#n=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#n.forEach(e=>{e.subscribe(t=>{this.#c(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#n.forEach(e=>{e.destroy()})}setQueries(e,t){this.#r=e,this.#a=t,kr.batch(()=>{const r=this.#n,n=this.#u(this.#r);this.#h=n,n.forEach(h=>h.observer.setOptions(h.defaultedQueryOptions));const a=n.map(h=>h.observer),i=a.map(h=>h.getCurrentResult()),o=r.length!==a.length,s=a.some((h,d)=>h!==r[d]),u=o||s,f=u?!0:i.some((h,d)=>{const m=this.#e[d];return!m||!th(h,m)});!u&&!f||(u&&(this.#n=a),this.#e=i,this.hasListeners()&&(u&&(ik(r,a).forEach(h=>{h.destroy()}),ik(a,r).forEach(h=>{h.subscribe(d=>{this.#c(h,d)})})),this.#l()))})}getCurrentResult(){return this.#e}getQueries(){return this.#n.map(e=>e.getCurrentQuery())}getObservers(){return this.#n}getOptimisticResult(e,t){const r=this.#u(e),n=r.map(a=>a.observer.getOptimisticResult(a.defaultedQueryOptions));return[n,a=>this.#d(a??n,t),()=>this.#f(n,r)]}#f(e,t){return t.map((r,n)=>{const a=e[n];return r.defaultedQueryOptions.notifyOnChangeProps?a:r.observer.trackResult(a,i=>{t.forEach(o=>{o.observer.trackProp(i)})})})}#d(e,t){return t?((!this.#i||this.#e!==this.#o||t!==this.#s)&&(this.#s=t,this.#o=this.#e,this.#i=WS(this.#i,t(e))),this.#i):e}#u(e){const t=new Map(this.#n.map(n=>[n.options.queryHash,n])),r=[];return e.forEach(n=>{const a=this.#t.defaultQueryOptions(n),i=t.get(a.queryHash);i?r.push({defaultedQueryOptions:a,observer:i}):r.push({defaultedQueryOptions:a,observer:new rp(this.#t,a)})}),r}#c(e,t){const r=this.#n.indexOf(e);r!==-1&&(this.#e=Lee(this.#e,r,t),this.#l())}#l(){if(this.hasListeners()){const e=this.#i,t=this.#f(this.#e,this.#h),r=this.#d(t,this.#a?.combine);e!==r&&kr.batch(()=>
vendor: 5,159 bytes, line 10
10{this.listeners.forEach(n=>{n(this.#e)})})}}},Bee=class extends Ou{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,r){const n=t.queryKey,a=t.queryHash??YS(n,t);let i=this.get(a);return i||(i=new Oee({client:e,queryKey:n,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(n)}),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(){kr.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(r=>Z9(t,r))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(r=>Z9(e,r)):t}notify(e){kr.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){kr.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){kr.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},zee=class{#t;#e;#r;#a;#n;#i;#s;#o;constructor(e={}){this.#t=e.queryCache||new Bee,this.#e=e.mutationCache||new Iee,this.#r=e.defaultOptions||{},this.#a=new Map,this.#n=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#s=KS.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#o=o1.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#s?.(),this.#s=void 0,this.#o?.(),this.#o=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),r=this.#t.build(this,t),n=r.state.data;return n===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(il(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),i=this.#t.get(n.queryHash)?.state.data,o=yee(t,i);if(o!==void 0)return this.#t.build(this,n).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return kr.batch(()=>this.#t.findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;kr.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=this.#t;return kr.batch(()=>(r.findAll(e).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},n=kr.batch(()=>this.#t.findAll(e).map(a=>a.cancel(r)));return Promise.all(n).then(Pn).catch(Pn)}invalidateQueries(e,t={}){return kr.batch(()=>(this.#t.findAll(e).forEach(r=>{r.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=kr.batch(()=>this.#t.findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let i=a.fetch(void 0,r);return r.throwOnError||(i=i.catch(Pn)),a.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(n).then(Pn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=this.#t.build(this,t);return r.isStaleByTime(il(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Pn).catch(Pn)}fetchInfiniteQuery(e){return e.behavior=s1(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Pn).catch(Pn)}ensureInfiniteQueryData(e){return e.behavior=s1(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return o1.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#r}setDefaultOptions(e){this.#r=e}setQueryDefaults(e,t){this.#a.set(ll(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()],r={};return t.forEach(n=>{eh(e,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(e,t){this.#n.set(ll(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#n.values()],r={};return t.forEach(n=>{eh(e,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#r.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=YS(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===Pa&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#r.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}}
vendor: 5,136 bytes, lines 10-18
10,Dx={exports:{}},lt={};/** 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 ok;function Hee(){if(ok)return lt;ok=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),m=Symbol.iterator;function v(Y){return Y===null||typeof Y!="object"?null:(Y=m&&Y[m]||Y["@@iterator"],typeof Y=="function"?Y:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,E={};function _(Y,oe,j){this.props=Y,this.context=oe,this.refs=E,this.updater=j||y}_.prototype.isReactComponent={},_.prototype.setState=function(Y,oe){if(typeof Y!="object"&&typeof Y!="function"&&Y!=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,Y,oe,"setState")},_.prototype.forceUpdate=function(Y){this.updater.enqueueForceUpdate(this,Y,"forceUpdate")};function A(){}A.prototype=_.prototype;function C(Y,oe,j){this.props=Y,this.context=oe,this.refs=E,this.updater=j||y}var P=C.prototype=new A;P.constructor=C,b(P,_.prototype),P.isPureReactComponent=!0;var O=Array.isArray;function k(){}var M={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;function H(Y,oe,j){var de=j.ref;return{$$typeof:e,type:Y,key:oe,ref:de!==void 0?de:null,props:j}}function F(Y,oe){return H(Y.type,oe,Y.props)}function $(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===e}function z(Y){var oe={"=":"=0",":":"=2"};return"$"+Y.replace(/[=:]/g,function(j){return oe[j]})}var W=/\/+/g;function K(Y,oe){return typeof Y=="object"&&Y!==null&&Y.key!=null?z(""+Y.key):oe.toString(36)}function te(Y){switch(Y.status){case"fulfilled":return Y.value;case"rejected":throw Y.reason;default:switch(typeof Y.status=="string"?Y.then(k,k):(Y.status="pending",Y.then(function(oe){Y.status==="pending"&&(Y.status="fulfilled",Y.value=oe)},function(oe){Y.status==="pending"&&(Y.status="rejected",Y.reason=oe)})),Y.status){case"fulfilled":return Y.value;case"rejected":throw Y.reason}}throw Y}function U(Y,oe,j,de,xe){var Oe=typeof Y;(Oe==="undefined"||Oe==="boolean")&&(Y=null);var Re=!1;if(Y===null)Re=!0;else switch(Oe){case"bigint":case"string":case"number":Re=!0;break;case"object":switch(Y.$$typeof){case e:case t:Re=!0;break;case h:return Re=Y._init,U(Re(Y._payload),oe,j,de,xe)}}if(Re)return xe=xe(Y),Re=de===""?"."+K(Y,0):de,O(xe)?(j="",Re!=null&&(j=Re.replace(W,"$&/")+"/"),U(xe,oe,j,"",function(Ue){return Ue})):xe!=null&&($(xe)&&(xe=F(xe,j+(xe.key==null||Y&&Y.key===xe.key?"":(""+xe.key).replace(W,"$&/")+"/")+Re)),oe.push(xe)),1;Re=0;var He=de===""?".":de+":";if(O(Y))for(var Te=0;Te<Y.length;Te++)de=Y[Te],Oe=He+K(de,Te),Re+=U(de,oe,j,Oe,xe);else if(Te=v(Y),typeof Te=="function")for(Y=Te.call(Y),Te=0;!(de=Y.next()).done;)de=de.value,Oe=He+K(de,Te++),Re+=U(de,oe,j,Oe,xe);else if(Oe==="object"){if(typeof Y.then=="function")return U(te(Y),oe,j,de,xe);throw oe=String(Y),Error("Objects are not valid as a React child (found: "+(oe==="[object Object]"?"object with keys {"+Object.keys(Y).join(", ")+"}":oe)+"). If you meant to render a collection of children, use an array instead.")}return Re}function J(Y,oe,j){if(Y==null)return Y;var de=[],xe=0;return U(Y,de,"","",function(Oe){return oe.call(j,Oe,xe++)}),de}function Z(Y){if(Y._status===-1){var oe=Y._result;oe=oe(),oe.then(function(j){(Y._status===0||Y._status===-1)&&(Y._status=1,Y._result=j)},function(j){(Y._status===0||Y._status===-1)&&(Y._status=2,Y._result=j)}),Y._status===-1&&(Y._status=0,Y._result=oe)}if(Y._status===1)return Y._result.default;throw Y._result}var le=typeof reportError=="function"?reportError:function(Y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var oe=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Y=="object"&&Y!==null&&typeof Y.message=="string"?String(Y.message):String(Y),error:Y});if(!window.dispatchEvent(oe))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",Y);return}console.error(Y)},G={map:J,forEach:function(Y,oe,j){J(Y,function(){oe.apply(this,arguments)},j)},count:function(Y){var oe=0;return J(Y,function(){oe++}),oe},toArray:function(Y){return J(Y,function(oe){return oe})||[]},only:function(Y){if(!$(Y))throw Error("React.Children.only expected to receive a single React element child.");return Y}};return lt.Activity=d,lt.Children=G,lt.Component=_,lt.Fragment=r,lt.Profiler=a,lt.PureComponent=C,lt.StrictMode=n,lt.Suspense=u,lt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,lt.__COMPILER_RUNTIME={__proto__:null,c:function(Y){return M.H.useMemoCache(Y)}}
vendor: 4,449 bytes, line 18
18,lt.cache=function(Y){return function(){return Y.apply(null,arguments)}},lt.cacheSignal=function(){return null},lt.cloneElement=function(Y,oe,j){if(Y==null)throw Error("The argument must be a React element, but you passed "+Y+".");var de=b({},Y.props),xe=Y.key;if(oe!=null)for(Oe in oe.key!==void 0&&(xe=""+oe.key),oe)!L.call(oe,Oe)||Oe==="key"||Oe==="__self"||Oe==="__source"||Oe==="ref"&&oe.ref===void 0||(de[Oe]=oe[Oe]);var Oe=arguments.length-2;if(Oe===1)de.children=j;else if(1<Oe){for(var Re=Array(Oe),He=0;He<Oe;He++)Re[He]=arguments[He+2];de.children=Re}return H(Y.type,xe,de)},lt.createContext=function(Y){return Y={$$typeof:o,_currentValue:Y,_currentValue2:Y,_threadCount:0,Provider:null,Consumer:null},Y.Provider=Y,Y.Consumer={$$typeof:i,_context:Y},Y},lt.createElement=function(Y,oe,j){var de,xe={},Oe=null;if(oe!=null)for(de in oe.key!==void 0&&(Oe=""+oe.key),oe)L.call(oe,de)&&de!=="key"&&de!=="__self"&&de!=="__source"&&(xe[de]=oe[de]);var Re=arguments.length-2;if(Re===1)xe.children=j;else if(1<Re){for(var He=Array(Re),Te=0;Te<Re;Te++)He[Te]=arguments[Te+2];xe.children=He}if(Y&&Y.defaultProps)for(de in Re=Y.defaultProps,Re)xe[de]===void 0&&(xe[de]=Re[de]);return H(Y,Oe,xe)},lt.createRef=function(){return{current:null}},lt.forwardRef=function(Y){return{$$typeof:s,render:Y}},lt.isValidElement=$,lt.lazy=function(Y){return{$$typeof:h,_payload:{_status:-1,_result:Y},_init:Z}},lt.memo=function(Y,oe){return{$$typeof:f,type:Y,compare:oe===void 0?null:oe}},lt.startTransition=function(Y){var oe=M.T,j={};M.T=j;try{var de=Y(),xe=M.S;xe!==null&&xe(j,de),typeof de=="object"&&de!==null&&typeof de.then=="function"&&de.then(k,le)}catch(Oe){le(Oe)}finally{oe!==null&&j.types!==null&&(oe.types=j.types),M.T=oe}},lt.unstable_useCacheRefresh=function(){return M.H.useCacheRefresh()},lt.use=function(Y){return M.H.use(Y)},lt.useActionState=function(Y,oe,j){return M.H.useActionState(Y,oe,j)},lt.useCallback=function(Y,oe){return M.H.useCallback(Y,oe)},lt.useContext=function(Y){return M.H.useContext(Y)},lt.useDebugValue=function(){},lt.useDeferredValue=function(Y,oe){return M.H.useDeferredValue(Y,oe)},lt.useEffect=function(Y,oe){return M.H.useEffect(Y,oe)},lt.useEffectEvent=function(Y){return M.H.useEffectEvent(Y)},lt.useId=function(){return M.H.useId()},lt.useImperativeHandle=function(Y,oe,j){return M.H.useImperativeHandle(Y,oe,j)},lt.useInsertionEffect=function(Y,oe){return M.H.useInsertionEffect(Y,oe)},lt.useLayoutEffect=function(Y,oe){return M.H.useLayoutEffect(Y,oe)},lt.useMemo=function(Y,oe){return M.H.useMemo(Y,oe)},lt.useOptimistic=function(Y,oe){return M.H.useOptimistic(Y,oe)},lt.useReducer=function(Y,oe,j){return M.H.useReducer(Y,oe,j)},lt.useRef=function(Y){return M.H.useRef(Y)},lt.useState=function(Y){return M.H.useState(Y)},lt.useSyncExternalStore=function(Y,oe,j){return M.H.useSyncExternalStore(Y,oe,j)},lt.useTransition=function(){return M.H.useTransition()},lt.version="19.2.1",lt}var sk;function Hv(){return sk||(sk=1,Dx.exports=Hee()),Dx.exports}var R=Hv();const re=Yt(R),Fv=dee({__proto__:null,default:re},[R]);var cH=R.createContext(void 0),np=e=>{const t=R.useContext(cH);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fee=({client:e,children:t})=>(R.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.jsx(cH.Provider,{value:e,children:t})),fH=R.createContext(!1),dH=()=>R.useContext(fH);fH.Provider;function $ee(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Uee=R.createContext($ee()),hH=()=>R.useContext(Uee),pH=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},mH=e=>{R.useEffect(()=>{e.clearReset()},[e])},gH=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(a&&e.data===void 0||rH(r,[e.error,n])),QS=(e,t)=>t.state.data===void 0,vH=e=>{if(e.suspense){const r=a=>a==="static"?a:Math.max(a??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...a)=>r(n(...a)):r(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},yH=(e,t)=>e.isLoading&&e.isFetching&&!t,fw=(e,t)=>e?.suspense&&t.isPending,l1=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function bH({queries:e,...t},r){const n=np(r),a=dH(),i=hH(),o=R.useMemo(()=>e.map(b=>{const E=n.defaultQueryOptions(b);return E._optimisticResults=a?"isRestoring":"optimistic",E}),[e,n,a]);o.forEach(b=>{vH(b),pH(b,i)}),mH(i);
18const[s]=R.useState(()=>new jee(n,o,t)),[u,f,h]=s.getOptimisticResult(o,t.combine),d=!a&&t.subscribed!==!1;R.useSyncExternalStore(R.useCallback(b=>d?s.subscribe(kr.batchCalls(b)):Pn,[s,d]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),R.useEffect(()=>{s.setQueries(o,t)},[o,t,s]);const v=u.some((b,E)=>fw(o[E],b))?u.flatMap((b,E)=>{const _=o[E];if(_){const A=new rp(n,_);if(fw(_,b))return l1(_,A,i);yH(b,a)&&l1(_,A,i)}return[]}):[];if(v.length>0)throw Promise.all(v);const y=u.find((b,E)=>{const _=o[E];return _&&gH({result:b,errorResetBoundary:i,throwOnError:_.throwOnError,query:n.getQueryCache().get(_.queryHash),suspense:_.suspense})});if(y?.error)throw y.error;return f(h())}function $v(e,t,r){const n=dH(),a=hH(),i=np(r),o=i.defaultQueryOptions(e);i.getDefaultOptions().queries?._experimental_beforeQuery?.(o),o._optimisticResults=n?"isRestoring":"optimistic",vH(o),pH(o,a),mH(a);const s=!i.getQueryCache().get(o.queryHash),[u]=R.useState(()=>new t(i,o)),f=u.getOptimisticResult(o),h=!n&&e.subscribed!==!1;if(R.useSyncExternalStore(R.useCallback(d=>{const m=h?u.subscribe(kr.batchCalls(d)):Pn;return u.updateResult(),m},[u,h]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),R.useEffect(()=>{u.setOptions(o)},[o,u]),fw(o,f))throw l1(o,u,a);if(gH({result:f,errorResetBoundary:a,throwOnError:o.throwOnError,query:i.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw f.error;return i.getDefaultOptions().queries?._experimental_afterQuery?.(o,f),o.experimental_prefetchInRender&&!mu&&yH(f,n)&&(s?l1(o,u,a):i.getQueryCache().get(o.queryHash)?.promise)?.catch(Pn).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?f:u.trackResult(f)}function qee(e,t){return $v(e,rp,t)}function Vee(e,t){return $v({...e,enabled:!0,suspense:!0,throwOnError:QS,placeholderData:void 0},rp,t)}function Gee(e,t){return $v({...e,enabled:!0,suspense:!0,throwOnError:QS},lH,t)}function Yee(e,t){return bH({...e,queries:e.queries.map(r=>({...r,suspense:!0,throwOnError:QS,enabled:!0,placeholderData:void 0}))},t)}function Wee(e,t){const r=np(t);r.getQueryState(e.queryKey)||r.prefetchQuery(e)}function Kee(e,t){const r=np(t);r.getQueryState(e.queryKey)||r.prefetchInfiniteQuery(e)}function Xee(e,t){const r=np(t),[n]=R.useState(()=>new Dee(r,e));R.useEffect(()=>{n.setOptions(e)},[n,e]);const a=R.useSyncExternalStore(R.useCallback(o=>n.subscribe(kr.batchCalls(o)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),i=R.useCallback((o,s)=>{n.mutate(o,s).catch(Pn)},[n]);if(a.error&&rH(n.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:i,mutateAsync:a.mutate}}function Qee(e,t){return $v(e,lH,t)}function gu(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}const Zee=typeof Symbol=="function"&&!!Symbol.asyncIterator;function xH(e){return Zee&&gu(e)&&Symbol.asyncIterator in e}var Jee=Object.create,EH=Object.defineProperty,ete=Object.getOwnPropertyDescriptor,_H=Object.getOwnPropertyNames,tte=Object.getPrototypeOf,rte=Object.prototype.hasOwnProperty,ap=(e,t)=>function(){return t||(0,e[_H(e)[0]])((t={exports:{}}).exports,t),t.exports},nte=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=_H(t),i=0,o=a.length,s;i<o;i++)s=a[i],!rte.call(e,s)&&s!==r&&EH(e,s,{get:(u=>t[u]).bind(null,s),enumerable:!(n=ete(t,s))||n.enumerable});return e},Uv=(e,t,r)=>(r=e!=null?Jee(tte(e)):{},nte(EH(r,"default",{value:e,enumerable:!0}),e));const wH=()=>{},lk=e=>{Object.freeze&&Object.freeze(e)};function SH(e,t,r){var n;const a=t.join(".");return(n=r[a])!==null&&n!==void 0||(r[a]=new Proxy(wH,{get(i,o){if(!(typeof o!="string"||o==="then"))return SH(e,[...t,o],r)},apply(i,o,s){const u=t[t.length-1];let f={args:s,path:t};return u==="call"?f={args:s.length>=2?[s[1]]:[],path:t.slice(0,-1)}:u==="apply"&&(f={args:s.length>=2?s[1]:[],path:t.slice(0,-1)}),lk(f.args),lk(f.path),e(f)}})),r[a]}const qv=e=>SH(e,[],Object.create(null)),ZS=e=>new Proxy(wH,{get(t,r){if(r!=="then")return e(r)}});var TH=ap({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function r(n){"@babel/helpers - typeof";return t.exports=r=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,r(n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),ate=ap({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var r=TH().default;function n(a,i){if(r(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var s=o.call(a,i||"default");if(r(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),ite=ap({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var r=TH().default,n=ate();function a(i){var o=n(i,"string");return r(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),AH=ap({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var r=ite();function n(a,i,o){return(i=r(i))in a?Object.defineProperty(a,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[i]=o,a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),JS=ap({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var r=AH();function n(i,o){var s=Object.keys(i);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(i);o&&(u=u.filter(function(f){return Object.getOwnPropertyDescriptor(i,f).enumerable})),s.push.apply(s,u)}return s}function a(i){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?n(Object(s),!0).forEach(function(u){r(i,u,s[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(s)):n(Object(s)).forEach(function(u){Object.defineProperty(i,u,Object.getOwnPropertyDescriptor(s,u))})}return i}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});Uv(JS());Uv(AH());var Km=Uv(JS());function ote(e,t){if("error"in e){const n=t.deserialize(e.error);return{ok:!1,error:(0,Km.default)((0,Km.default)({},e),{},{error:n})}}return{ok:!0,result:(0,Km.default)((0,Km.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}var Lx=class extends Error{constructor(){super("Unable to transform response from server")}};function ste(e,t){let r;try{r=ote(e,t)}catch{throw new Lx}if(!r.ok&&(!gu(r.error.error)||typeof r.error.error.code!="number"))throw new Lx;if(r.ok&&!gu(r.result))throw new Lx;return r}Uv(JS());function Vv(e){const t={subscribe(r){let n=null,a=!1,i=!1,o=!1;function s(){if(n===null){o=!0;return}i||(i=!0,typeof n=="function"?n():n&&n.unsubscribe())}return n=e({next(u){var f;a||(f=r.next)===null||f===void 0||f.call(r,u)},error(u){var f;a||(a=!0,(f=r.error)===null||f===void 0||f.call(r,u),s())},complete(){var u;a||(a=!0,(u=r.complete)===null||u===void 0||u.call(r),s())}}),o&&s(),{unsubscribe:s}},pipe(...r){return r.reduce(lte,t)}};return t}function lte(e,t){return t(e)}function ute(e){const t=new AbortController;return new Promise((n,a)=>{let i=!1;function o(){i||(i=!0,s.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});const s=e.subscribe({next(u){i=!0,n(u),o()},error(u){a(u)},complete(){t.abort(),o()}})})}var cte=Object.create,CH=Object.defineProperty,fte=Object.getOwnPropertyDescriptor,OH=Object.getOwnPropertyNames,dte=Object.getPrototypeOf,hte=Object.prototype.hasOwnProperty,vl=(e,t)=>function(){return t||(0,e[OH(e)[0]])((t={exports:{}}).exports,t),t.exports},pte=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=OH(t),i=0,o=a.length,s;i<o;i++)s=a[i],!hte.call(e,s)&&s!==r&&CH(e,s,{get:(u=>t[u]).bind(null,s),enumerable:!(n=fte(t,s))||n.enumerable});return e},ku=(e,t,r)=>(r=e!=null?cte(dte(e)):{},pte(t||!e||!e.__esModule?CH(r,"default",{value:e,enumerable:!0}):r,e)),mte=vl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,t){function r(n,a){if(n==null)return{};var i={};for(var o in n)if({}
18.hasOwnProperty.call(n,o)){if(a.includes(o))continue;i[o]=n[o]}return i}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),gte=vl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var r=mte();function n(a,i){if(a==null)return{};var o,s,u=r(a,i);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(s=0;s<f.length;s++)o=f[s],i.includes(o)||{}.propertyIsEnumerable.call(a,o)&&(u[o]=a[o])}return u}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),kH=vl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function r(n){"@babel/helpers - typeof";return t.exports=r=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,r(n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),vte=vl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var r=kH().default;function n(a,i){if(r(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var s=o.call(a,i||"default");if(r(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),yte=vl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var r=kH().default,n=vte();function a(i){var o=n(i,"string");return r(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),bte=vl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var r=yte();function n(a,i,o){return(i=r(i))in a?Object.defineProperty(a,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[i]=o,a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),ip=vl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var r=bte();function n(i,o){var s=Object.keys(i);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(i);o&&(u=u.filter(function(f){return Object.getOwnPropertyDescriptor(i,f).enumerable})),s.push.apply(s,u)}return s}function a(i){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?n(Object(s),!0).forEach(function(u){r(i,u,s[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(s)):n(Object(s)).forEach(function(u){Object.defineProperty(i,u,Object.getOwnPropertyDescriptor(s,u))})}return i}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),xte=ku(gte(),1),uk=ku(ip(),1);const Ete=["cursor","direction"];function Ki(e,t,r){const n=e.flatMap(a=>a.split("."));if(!t&&(!r||r==="any"))return n.length?[n]:[];if(r==="infinite"&&gu(t)&&("direction"in t||"cursor"in t)){const{cursor:a,direction:i}=t,o=(0,xte.default)(t,Ete);return[n,{input:o,type:"infinite"}]}return[n,(0,uk.default)((0,uk.default)({},typeof t<"u"&&t!==Pa&&{input:t}),r&&r!=="any"&&{type:r})]}function Yg(e){return Ki(e,void 0,"any")}var _te=Object.create,NH=Object.defineProperty,wte=Object.getOwnPropertyDescriptor,RH=Object.getOwnPropertyNames,Ste=Object.getPrototypeOf,Tte=Object.prototype.hasOwnProperty,fo=(e,t)=>function(){return t||(0,e[RH(e)[0]])((t={exports:{}}).exports,t),t.exports},Ate=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=RH(t),i=0,o=a.length,s;i<o;i++)s=a[i],!Tte.call(e,s)&&s!==r&&NH(e,s,{get:(u=>t[u]).bind(null,s),enumerable:!(n=wte(t,s))||n.enumerable});return e},Br=(e,t,r)=>(r=e!=null?_te(Ste(e)):{},Ate(t||!e||!e.__esModule?NH(r,"default",{value:e,enumerable:!0}):r,e)),MH=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function r(n){"@babel/helpers - typeof";return t.exports=r=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,r(n)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Cte=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var r=MH().default;function n(a,i){if(r(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var s=o.call(a,i||"default");if(r(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Ote=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var r=MH().default,n=Cte();function a(i){var o=n(i,"string");return r(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),Nu=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var r=Ote();function n(a,i,o){return(i=r(i))in a?Object.defineProperty(a,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[i]=o,a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),Mi=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var r=Nu();function n(i,o){var s=Object.keys(i);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(i);o&&(u=u.filter(function(f){return Object.getOwnPropertyDescriptor(i,f).enumerable})),s.push.apply(s,u)}return s}function a(i){for(var o=1;o<arguments.length;o++){var s=arguments[o]!=null?arguments[o]:{};o%2?n(Object(s),!0).forEach(function(u){r(i,u,s[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(s)):n(Object(s)).forEach(function(u){Object.defineProperty(i,u,Object.getOwnPropertyDescriptor(s,u))})}return i}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});function kte(e){return t=>{let r=0,n=null;const a=[];function i(){n||(n=t.subscribe({next(s){for(const f of a){var u;(u=f.next)===null||u===void 0||u.call(f,s)}},error(s){for(const f of a){var u;(u=f.error)===null||u===void 0||u.call(f,s)}},complete(){for(const u of a){var s;(s=u.complete)===null||s===void 0||s.call(u)}}}))}function o(){if(r===0&&n){const s=n;n=null,s.unsubscribe()}}return Vv(s=>(r++,a.push(s),i(),{unsubscribe(){r--,o();const u=a.findIndex(f=>f===s);u>-1&&a.splice(u,1)}}))}}function Nte(e){let t=e;const r=[],n=o=>{t!==void 0&&o.next(t),r.push(o)},a=o=>{r.splice(r.indexOf(o),1)},i=Vv(o=>(n(o),()=>{a(o)}));return i.next=o=>{if(t!==o){t=o;for(const s of r)s.next(o)}},i.get=()=>t,i}function Rte(e){return Vv(t=>{function r(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 r(a+1,u)}})}return r().subscribe(t)})}var Xm=Br(Nu(),1),Rc=Br(Mi(),1);function Mte(e){return e instanceof df}function Pte(e){return gu(e)&&gu(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function Ite(e,t){return typeof e=="string"?e:gu(e)&&typeof e.message=="string"?e.message:t}var df=class Wg extends Error{constructor(t,r){var n,a;const i=r?.cause;super(t,{cause:i}),(0,Xm.default)(this,"cause",void 0),(0,Xm.default)(this,"shape",void 0),(0,Xm.default)(this,"data",void 0),(0,Xm.default)(this,"meta",void 0),this.meta=r?.meta,this.cause=i,this.shape=r==null||(n=r.result)===null||n===void 0?void 0:n.error,this.data=r==null||(a=r.result)===null||a===void 0?void 0:a.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,Wg.prototype)}static from(t,r={}){const n=t;return Mte(n)?(r.meta&&(n.meta=(0,Rc.default)((0,Rc.default)({},n.meta),r.meta)),n):Pte(n)?new Wg(n.error.message,(0,Rc.default)((0,Rc.default)({},r),{},{result:n})):new Wg(Ite(n,"Unknown error"),(0,Rc.default)((0,Rc.default)({},r),{},{cause:n}))}};function Dte(e){const t=e;return t?"input"in t?t:{input:t,output:t}:{input:{serialize:r=>r,deserialize:r=>r},output:{serialize:r=>r,deserialize:r=>r}}}const ck=e=>typeof e=="function";function Lte(e){if(e)return e;if(typeof window<"u"&&ck(window.fetch))return window.fetch;if(typeof globalThis<"u"&&ck(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var Id=Br(Mi());function jte(e){return{url:e.url.toString(),fetch:e.fetch,transformer:Dte(e.transformer),methodOverride:e.methodOverride}}function Bte(e){const t={};for(let r=0;r<e.length;r++){const n=e[r];t[r]=n}return t}const zte={query:"GET",mutation:"POST",subscription:"PATCH"};function PH(e){return"input"in e?e.transformer.input.serialize(e.input):Bte(e.input
18s.map(t=>e.transformer.input.serialize(t)))}const IH=e=>{const t=e.url.split("?");let n=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=PH(e);i!==void 0&&e.methodOverride!=="POST"&&a.push(`input=${encodeURIComponent(JSON.stringify(i))}`)}return a.length&&(n+="?"+a.join("&")),n},Hte=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=PH(e);return t!==void 0?JSON.stringify(t):void 0},Fte=e=>Vte((0,Id.default)((0,Id.default)({},e),{},{contentTypeHeader:"application/json",getUrl:IH,getBody:Hte}));var $te=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const Ute=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 $te};async function qte(e){var t;Ute(e.signal);const r=e.getUrl(e),n=e.getBody(e),a=(t=e.methodOverride)!==null&&t!==void 0?t:zte[e.type],i=await(async()=>{const s=await e.headers();return Symbol.iterator in s?Object.fromEntries(s):s})(),o=(0,Id.default)((0,Id.default)((0,Id.default)({},e.contentTypeHeader&&a!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{"trpc-accept":e.trpcAcceptHeader}:void 0),i);return Lte(e.fetch)(r,{method:a,signal:e.signal,body:n,headers:o})}async function Vte(e){const t={},r=await qte(e);t.response=r;const n=await r.json();return t.responseJSON=n,{json:n,meta:t}}Br(Mi(),1);const fk=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function dk(e){let t=null,r=null;const n=()=>{clearTimeout(r),r=null,t=null};function a(s){const u=[[]];let f=0;for(;;){const m=s[f];if(!m)break;const v=u[u.length-1];if(m.aborted){var h;(h=m.reject)===null||h===void 0||h.call(m,new Error("Aborted")),f++;continue}if(e.validate(v.concat(m).map(b=>b.key))){v.push(m),f++;continue}if(v.length===0){var d;(d=m.reject)===null||d===void 0||d.call(m,new Error("Input is too big for a single dispatch")),f++;continue}u.push([])}return u}function i(){const s=a(t);n();for(const u of s){if(!u.length)continue;const f={items:u};for(const d of u)d.batch=f;e.fetch(f.items.map(d=>d.key)).then(async d=>{await Promise.all(d.map(async(v,y)=>{const b=f.items[y];try{var E;const A=await Promise.resolve(v);(E=b.resolve)===null||E===void 0||E.call(b,A)}catch(A){var _;(_=b.reject)===null||_===void 0||_.call(b,A)}b.batch=null,b.reject=null,b.resolve=null}));for(const v of f.items){var m;(m=v.reject)===null||m===void 0||m.call(v,new Error("Missing result")),v.batch=null}}).catch(d=>{for(const v of f.items){var m;(m=v.reject)===null||m===void 0||m.call(v,d),v.batch=null}})}}function o(s){var u;const f={aborted:!1,key:s,batch:null,resolve:fk,reject:fk},h=new Promise((d,m)=>{var v;f.reject=m,f.resolve=d,(v=t)!==null&&v!==void 0||(t=[]),t.push(f)});return(u=r)!==null&&u!==void 0||(r=setTimeout(i)),h}return{load:o}}function Gte(...e){const t=new AbortController,r=e.length;let n=0;const a=()=>{++n===r&&t.abort()};for(const i of e)i?.aborted?a():i?.addEventListener("abort",a,{once:!0});return t.signal}var Qm=Br(Mi(),1);function Yte(e){var t,r;const n=jte(e),a=(t=e.maxURLLength)!==null&&t!==void 0?t:1/0,i=(r=e.maxItems)!==null&&r!==void 0?r:1/0;return()=>{const o=h=>({validate(d){if(a===1/0&&i===1/0)return!0;if(d.length>i)return!1;const m=d.map(b=>b.path).join(","),v=d.map(b=>b.input);return IH((0,Qm.default)((0,Qm.default)({},n),{},{type:h,path:m,inputs:v,signal:null})).length<=a},async fetch(d){const m=d.map(A=>A.path).join(","),v=d.map(A=>A.input),y=Gte(...d.map(A=>A.signal)),b=await Fte((0,Qm.default)((0,Qm.default)({},n),{},{path:m,inputs:v,type:h,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:d}):e.headers:{}},signal:y}));return(Array.isArray(b.json)?b.json:d.map(()=>b.json)).map(A=>({meta:b.meta,json:A}))}}),s=dk(o("query")),u=dk(o("mutation")),f={query:s,mutation:u};return({op:h})=>Vv(d=>{/* istanbul ignore if -- @preserve */if(h.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const v=f[h.type].load(h);let y;return v.then(b=>{y=b;const E=ste(b.json,n.transformer.output);if(!E.ok){d.error(df.from(E.error,{meta:b.meta}));return}d.next({context:b.meta,result:E.result}),d.complete()}).catch(b=>{d.error(df.from(b,{meta:y?.meta}))}),()=>{}})}}Br(Mi(),1);const DH=(e,...t)=>typeof e=="function"?e(...t):e;Br(Nu(),1);function Wte(){let e,t;return{promise:new Promise((n,a)=>{e=n,t=a}),resolve:e,reject:t}}async function Kte(e){const t=await DH(e.url);if(!e.connectionParams)return t;const n=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+n}async function Xte(e){const t={method:"connectionParams",data:await DH(e)};return JSON.stringify(t)}Br(Nu(),1);var Ql=Br(Nu(),1);function Qte(e){const{promise:t,resolve:r,reject:n}=Wte();return e.addEventListener("open",()=>{e.removeEventListener("error",n),r()}),e.addEventListener("error",n),t}function Zte(e,{intervalMs:t,pongTimeoutMs:r}){let n,a;function i(){n=setTimeout(()=>{e.send("PING"),a=setTimeout(()=>{e.close()},r)},t)}function o(){clearTimeout(n),i()}function s(){clearTimeout(a),o()}e.addEventListener("open",i),e.addEventListener("message",({data:u})=>{clearTimeout(n),i(),u==="PONG"&&s()}),e.addEventListener("close",()=>{clearTimeout(n),clearTimeout(a)})}var Jte=class dw{constructor(t){var r;if((0,Ql.default)(this,"id",++dw.connectCount),(0,Ql.default)(this,"WebSocketPonyfill",void 0),(0,Ql.default)(this,"urlOptions",void 0),(0,Ql.default)(this,"keepAliveOpts",void 0),(0,Ql.default)(this,"wsObservable",Nte(null)),(0,Ql.default)(this,"openPromise",null),this.WebSocketPonyfill=(r=t.WebSocketPonyfill)!==null&&r!==void 0?r: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=++dw.connectCount;const r=Kte(t.urlOptions).then(n=>new t.WebSocketPonyfill(n));t.openPromise=r.then(async n=>{t.ws=n,n.addEventListener("message",function({data:a}){a==="PING"&&this.send("PONG")}),t.keepAliveOpts.enabled&&Zte(n,t.keepAliveOpts),n.addEventListener("close",()=>{t.ws===n&&(t.ws=null)}),await Qte(n),t.urlOptions.connectionParams&&n.send(await Xte(t.urlOptions.connectionParams))});try{await t.openPromise}finally{t.openPromise=null}}async close(){var t=this;try{await t.openPromise}finally{var r;(r=t.ws)===null||r===void 0||r.close()}}};(0,Ql.default)(Jte,"connectCount",0);Br(Nu(),1);Br(Mi(),1);var jx=Br(Nu(),1),hk=Br(Mi(),1),Gv=class{constructor(e){(0,jx.default)(this,"links",void 0),(0,jx.default)(this,"runtime",void 0),(0,jx.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return Rte({links:this.links,op:(0,hk.default)((0,hk.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(kte())}async requestAsPromise(e){var t=this;try{const r=t.$request(e);return(await ute(r)).result.data}catch(r){throw df.from(r)}}query(e,t,r){return this.requestAsPromise({type:"query",path:e,input:t,context:r?.context,signal:r?.signal})}mutation(e,t,r){return this.requestAsPromise({type:"mutation",path:e,input:t,context:r?.context,signal:r?.signal})}subscription(e,t,r){return this.$request({type:"subscription",path:e,input:t,context:r.context,signal:r.signal}).subscribe({next(a){switch(a.result.type){case"state":{var i;(i=r.onConnectionStateChange)===null||i===void 0||i.call(r,a.result);break}case"started":{var o;(o=r.onStarted)===null||o===void 0||o.call(r,{context:a.context});break}case"stopped":{var s;(s=r.onStopped)===null||s===void 0||s.call(r);break}case"data":case void 0:{var u;(u=r.onData)===null||u===void 0||u.call(r,a.result.data);break}}},error(a){var i;(i=r.onError)===null||i===void 0||i.call(r,a)},complete(){var a;(a=r.onComplete)===null||a===void 0||a.call(r)}})}};const LH=Symbol.for("trpc_untypedClient"),ere={query:"query",mutate:"mutation",subscribe:"subscription"},tre=e=>ere[e];function jH(e){const t=qv(({path:r,args:n})=>{const a=[...r],i=tre(a.pop()),o=a.join(".");return e[i](o,...n)});return ZS(r=>r===LH?e:t[r])}
18function rre(e){const t=new Gv(e);return jH(t)}function eT(e){return e[LH]}Br(Mi(),1);Br(Mi(),1);var nre=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function r(a){var i,o,s,u=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,s=Symbol.iterator);u--;){if(o&&(i=a[o])!=null)return i.call(a);if(s&&(i=a[s])!=null)return new n(i.call(a));o="@@asyncIterator",s="@@iterator"}throw new TypeError("Object is not async iterable")}function n(a){function i(o){if(Object(o)!==o)return Promise.reject(new TypeError(o+" is not an object."));var s=o.done;return Promise.resolve(o.value).then(function(u){return{value:u,done:s}})}return n=function(s){this.s=s,this.n=s.next},n.prototype={s:null,n:null,next:function(){return i(this.n.apply(this.s,arguments))},return:function(s){var u=this.s.return;return u===void 0?Promise.resolve({value:s,done:!0}):i(u.apply(this.s,arguments))},throw:function(s){var u=this.s.return;return u===void 0?Promise.reject(s):i(u.apply(this.s,arguments))}},new n(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}});Br(nre(),1);Br(Mi(),1);var are=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){function r(){var n=typeof SuppressedError=="function"?SuppressedError:function(s,u){var f=Error();return f.name="SuppressedError",f.error=s,f.suppressed=u,f},a={},i=[];function o(s,u){if(u!=null){if(Object(u)!==u)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(s)var f=u[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(f===void 0&&(f=u[Symbol.dispose||Symbol.for("Symbol.dispose")],s))var h=f;if(typeof f!="function")throw new TypeError("Object is not disposable.");h&&(f=function(){try{h.call(u)}catch(m){return Promise.reject(m)}}),i.push({v:u,d:f,a:s})}else s&&i.push({d:u,a:s});return u}return{e:a,u:o.bind(null,!1),a:o.bind(null,!0),d:function(){var u,f=this.e,h=0;function d(){for(;u=i.pop();)try{if(!u.a&&h===1)return h=0,i.push(u),Promise.resolve().then(d);if(u.d){var v=u.d.call(u.v);if(u.a)return h|=2,Promise.resolve(v).then(d,m)}else h|=1}catch(y){return m(y)}if(h===1)return f!==a?Promise.reject(f):Promise.resolve();if(f!==a)throw f}function m(v){return f=f!==a?new n(v,f):v,d()}return d()}}}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),BH=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){function r(n,a){this.v=n,this.k=a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),ire=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var r=BH();function n(a){return new r(a,0)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),ore=fo({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var r=BH();function n(i){return function(){return new a(i.apply(this,arguments))}}function a(i){var o,s;function u(h,d){try{var m=i[h](d),v=m.value,y=v instanceof r;Promise.resolve(y?v.v:v).then(function(b){if(y){var E=h==="return"?"return":"next";if(!v.k||b.done)return u(E,b);b=i[E](b).value}f(m.done?"return":"normal",b)},function(b){u("throw",b)})}catch(b){f("throw",b)}}function f(h,d){switch(h){case"return":o.resolve({value:d,done:!0});break;case"throw":o.reject(d);break;default:o.resolve({value:d,done:!1})}(o=o.next)?u(o.key,o.arg):s=null}this._invoke=function(h,d){return new Promise(function(m,v){var y={key:h,arg:d,resolve:m,reject:v,next:null};s?s=s.next=y:(o=s=y,u(h,d))})},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=n,t.exports.__esModule=!0,t.exports.default=t.exports}});Br(are(),1);Br(ire(),1);Br(ore(),1);Br(Mi(),1);function sre(e){return qv(({path:t,args:r})=>{var n;const a=[...t],i=a.pop();if(i==="useMutation")return e[i](a,...r);if(i==="_def")return{path:a};const[o,...s]=r,u=(n=s[0])!==null&&n!==void 0?n:{};return e[i](a,o,u)})}var Bx;const lre=["client","ssrContext","ssrState","abortOnUnmount"],ure=(Bx=R.createContext)===null||Bx===void 0?void 0:Bx.call(Fv,null),cre=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 fre(e){return qv(t=>{const r=[...t.path],n=r.pop(),a=[...t.args],i=a.shift(),o=cre(n),s=Ki(r,i,o);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(r,s,a[0]),queryOptions:()=>e.queryOptions(r,s,...a),fetch:()=>e.fetchQuery(s,...a),fetchInfinite:()=>e.fetchInfiniteQuery(s,a[0]),prefetch:()=>e.prefetchQuery(s,...a),prefetchInfinite:()=>e.prefetchInfiniteQuery(s,a[0]),ensureData:()=>e.ensureQueryData(s,...a),invalidate:()=>e.invalidateQueries(s,...a),reset:()=>e.resetQueries(s,...a),refetch:()=>e.refetchQueries(s,...a),cancel:()=>e.cancelQuery(s,...a),setData:()=>{e.setQueryData(s,a[0],a[1])},setQueriesData:()=>e.setQueriesData(s,a[0],a[1],a[2]),setInfiniteData:()=>{e.setInfiniteQueryData(s,a[0],a[1])},getData:()=>e.getQueryData(s),getInfiniteData:()=>e.getInfiniteQueryData(s),setMutationDefaults:()=>e.setMutationDefaults(Yg(r),i),getMutationDefaults:()=>e.getMutationDefaults(Yg(r)),isMutating:()=>e.isMutating({mutationKey:Yg(r)})}[n]()})}function dre(e){const t=jH(e.client),r=fre(e);return ZS(n=>{const a=n;return a==="client"?t:lre.includes(a)?e[a]:r[n]})}var hre=ku(ip(),1);function pk(e){const t=e instanceof Gv?e:eT(e);return qv(r=>{const n=r.path,a=n.join("."),[i,o]=r.args;return(0,hre.default)({queryKey:Ki(n,i,"query"),queryFn:()=>t.query(a,i,o?.trpc)},o)})}var zx=ku(ip(),1);function qn(e,t,r){var n;const a=e[0];let i=(n=e[1])===null||n===void 0?void 0:n.input;if(r){var o;i=(0,zx.default)((0,zx.default)((0,zx.default)({},(o=i)!==null&&o!==void 0?o:{}),r.pageParam?{cursor:r.pageParam}:{}),{},{direction:r.direction})}return[a.join("."),i,t?.trpc]}var pre=vl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function r(a){var i,o,s,u=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,s=Symbol.iterator);u--;){if(o&&(i=a[o])!=null)return i.call(a);if(s&&(i=a[s])!=null)return new n(i.call(a));o="@@asyncIterator",s="@@iterator"}throw new TypeError("Object is not async iterable")}function n(a){function i(o){if(Object(o)!==o)return Promise.reject(new TypeError(o+" is not an object."));var s=o.done;return Promise.resolve(o.value).then(function(u){return{value:u,done:s}})}return n=function(s){this.s=s,this.n=s.next},n.prototype={s:null,n:null,next:function(){return i(this.n.apply(this.s,arguments))},return:function(s){var u=this.s.return;return u===void 0?Promise.resolve({value:s,done:!0}):i(u.apply(this.s,arguments))},throw:function(s){var u=this.s.return;return u===void 0?Promise.reject(s):i(u.apply(this.s,arguments))}},new n(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),mre=ku(pre(),1);function hw(e){return{path:e.path.join(".")}}function nd(e){const t=hw(e);return R.useMemo(()=>t,[t])}async function zH(e,t,r){const a=t.getQueryCache().build(t,{queryKey:r});a.setState({data:[],status:"success"});const i=[];var o=!1,s=!1,u;try{for(var f=(0,mre.default)(e),h;o=!(h=await f.next()).done;o=!1){const d=h.value;i.push(d),a.setState({data:[...i]})}}catch(d){s=!0,u=d}finally{try{o&&f.return!=null&&await f.return()}finally{if(s)throw u}}return i}var Lt=ku(ip(),1);function gre(e){const{client:t,queryClient:r}=e,n=t instanceof Gv?t:eT(t);return{infiniteQueryOptions:(a,i,o)=>{var s,u;const f=((s=i[1])===null||s===void 0?void 0:s.input)===Pa,h=async d=>{var m;const v=(0,Lt.default)((0,Lt.default)({},o),{},{trpc:(0,Lt.default)((0,Lt.default)({},o?.trpc),!(o==null||(m=o.trpc)===null||m===void 0)&&m.abortOnUnmount?{signal:d.signal}:{signal:null})});return await n.query(...qn(i,v,{direction:d.direction,pageParam:d.pageParam}))};return Object.assign((0,Lt.default)((0,Lt.default)({},o),{},{initialData:o?.initialData,queryKey:i,queryFn:f?Pa:h,initialPageParam:(u=o?.initialCursor)!==null&&u!==void 0?u:null}),{trpc:hw({path:a})})},queryOptions:(a,i,o)=>{var s;const u=((s=i[1])===null||s===void 0?void 0:s.input)===Pa,f=async h=>{var d;const m=(0,Lt.default)((0,Lt.default)({},o),{},{trpc:(0,Lt.default)((0,Lt.default)({},o?.trpc),!(o==null||(d=o.trpc)===null||d===void 0)&&d.abortOnUnmount?{signal:h.signal}:{signal:null})}),v=await n.query(...qn(i,m));return xH(v)?zH(v,r,i):v};return Object.assign((0,Lt.default)((0,Lt.default)({},o),{},{initialData:o?.initialData,queryKey:i,queryFn:u?Pa:f}),{trpc:hw({path:a})})},fetchQuery:(a,i)=>r.fetchQuery((0,Lt.default)((0,Lt.default)({},i),{},{queryKey:a,queryFn:()=>n.query(...qn(a,i))})),fetchInfiniteQuery:(a,i)=>{var o;return r.fetchInfiniteQuery((0,Lt.default)((0,Lt.default)({},i),{},{queryKey:a,queryFn:({pageParam:s,direction:u})=>n.query(...qn(a,i,{pageParam:s,direction:u})),initialPageParam:(o=i?.initialCursor)!==null&&o!==void 0?o:null}))},prefetchQuery:(a,i)=>r.prefetchQuery((0,Lt.default)((0,Lt.default)({},i),{},{queryKey:a,queryFn:()=>n.query(...qn(a,i))})),prefetchInfiniteQuery:(a,i)=>{var o;return r.prefetchInfiniteQuery((0,Lt.default)((0,Lt.default)({},i),{},{queryKey:a,queryFn:({pageParam:s,direction:u})=>n.query(...qn(a,i,{pageParam:s,direction:u})),initialPageParam:(o=i?.initialCursor)!==null&&o!==void 0?o:null}))},ensureQueryData:(a,i)=>r.ensureQueryData((0,Lt.default)((0,Lt.default)({},i),{},{queryKey:a,queryFn:()=>n.query(...qn(a,i))})),invalidateQueries:(a,i,o)=>
18r.invalidateQueries((0,Lt.default)((0,Lt.default)({},i),{},{queryKey:a}),o),resetQueries:(a,i,o)=>r.resetQueries((0,Lt.default)((0,Lt.default)({},i),{},{queryKey:a}),o),refetchQueries:(a,i,o)=>r.refetchQueries((0,Lt.default)((0,Lt.default)({},i),{},{queryKey:a}),o),cancelQuery:(a,i)=>r.cancelQueries({queryKey:a},i),setQueryData:(a,i,o)=>r.setQueryData(a,i,o),setQueriesData:(a,i,o,s)=>r.setQueriesData((0,Lt.default)((0,Lt.default)({},i),{},{queryKey:a}),o,s),getQueryData:a=>r.getQueryData(a),setInfiniteQueryData:(a,i,o)=>r.setQueryData(a,i,o),getInfiniteQueryData:a=>r.getQueryData(a),setMutationDefaults:(a,i)=>{const o=a[0],s=u=>n.mutation(...qn([o,{input:u}],e));return r.setMutationDefaults(a,typeof i=="function"?i({canonicalMutationFn:s}):i)},getMutationDefaults:a=>r.getMutationDefaults(a),isMutating:a=>r.isMutating((0,Lt.default)((0,Lt.default)({},a),{},{exact:!0}))}}var $e=ku(ip());const mk=(e,t)=>new Proxy(e,{get(n,a){return t(a),n[a]}});function vre(e){var t,r;const n=(t=void 0)!==null&&t!==void 0?t:O=>O.originalFn(),a=(r=void 0)!==null&&r!==void 0?r:ure,i=rre,o=O=>{var k;const{abortOnUnmount:M=!1,queryClient:L,ssrContext:H}=O,[F,$]=R.useState((k=O.ssrState)!==null&&k!==void 0?k:!1),z=O.client instanceof Gv?O.client:eT(O.client),W=R.useMemo(()=>gre({client:z,queryClient:L}),[z,L]),K=R.useMemo(()=>(0,$e.default)({abortOnUnmount:M,queryClient:L,client:z,ssrContext:H??null,ssrState:F},W),[M,z,W,L,H,F]);return R.useEffect(()=>{$(te=>te?"mounted":!1)},[]),S.jsx(a.Provider,{value:K,children:O.children})};function s(){const O=R.useContext(a);if(!O)throw new Error("Unable to find tRPC Context. Did you forget to wrap your App inside `withTRPC` HoC?");return O}function u(O,k){var M;const{queryClient:L,ssrState:H}=s();return H&&H!=="mounted"&&((M=L.getQueryCache().find({queryKey:O}))===null||M===void 0?void 0:M.state.status)==="error"?(0,$e.default)({retryOnMount:!1},k):k}function f(O,k,M){var L,H,F,$,z;const W=s(),{abortOnUnmount:K,client:te,ssrState:U,queryClient:J,prefetchQuery:Z}=W,le=Ki(O,k,"query"),G=J.getQueryDefaults(le),Y=k===Pa;typeof window>"u"&&U==="prepass"&&(M==null||(L=M.trpc)===null||L===void 0?void 0:L.ssr)!==!1&&((H=M?.enabled)!==null&&H!==void 0?H:G?.enabled)!==!1&&!Y&&!J.getQueryCache().find({queryKey:le})&&Z(le,M);const oe=u(le,(0,$e.default)((0,$e.default)({},G),M)),j=(F=($=M==null||(z=M.trpc)===null||z===void 0?void 0:z.abortOnUnmount)!==null&&$!==void 0?$:void 0)!==null&&F!==void 0?F:K,de=qee((0,$e.default)((0,$e.default)({},oe),{},{queryKey:le,queryFn:Y?k:async xe=>{const Oe=(0,$e.default)((0,$e.default)({},oe),{},{trpc:(0,$e.default)((0,$e.default)({},oe?.trpc),j?{signal:xe.signal}:{signal:null})}),Re=await te.query(...qn(le,Oe));return xH(Re)?zH(Re,J,le):Re}}),J);return de.trpc=nd({path:O}),de}function h(O,k,M){var L,H,F;const $=s(),z=Ki(O,k,"query"),W=k===Pa,K=(L=(H=M==null||(F=M.trpc)===null||F===void 0?void 0:F.abortOnUnmount)!==null&&H!==void 0?H:void 0)!==null&&L!==void 0?L:$.abortOnUnmount;Wee((0,$e.default)((0,$e.default)({},M),{},{queryKey:z,queryFn:W?k:te=>{const U={trpc:(0,$e.default)((0,$e.default)({},M?.trpc),K?{signal:te.signal}:{})};return $.client.query(...qn(z,U))}}))}function d(O,k,M){var L,H,F;const $=s(),z=Ki(O,k,"query"),W=(L=(H=M==null||(F=M.trpc)===null||F===void 0?void 0:F.abortOnUnmount)!==null&&H!==void 0?H:void 0)!==null&&L!==void 0?L:$.abortOnUnmount,K=Vee((0,$e.default)((0,$e.default)({},M),{},{queryKey:z,queryFn:te=>{const U=(0,$e.default)((0,$e.default)({},M),{},{trpc:(0,$e.default)((0,$e.default)({},M?.trpc),W?{signal:te.signal}:{signal:null})});return $.client.query(...qn(z,U))}}),$.queryClient);return K.trpc=nd({path:O}),[K.data,K]}function m(O,k){const{client:M,queryClient:L}=s(),H=Yg(O),F=L.defaultMutationOptions(L.getMutationDefaults(H)),$=Xee((0,$e.default)((0,$e.default)({},k),{},{mutationKey:H,mutationFn:z=>M.mutation(...qn([O,{input:z}],k)),onSuccess(...z){var W,K;return n({originalFn:()=>{var U,J,Z;return(U=k==null||(J=k.onSuccess)===null||J===void 0?void 0:J.call(k,...z))!==null&&U!==void 0?U:F==null||(Z=F.onSuccess)===null||Z===void 0?void 0:Z.call(F,...z)},queryClient:L,meta:(W=(K=k?.meta)!==null&&K!==void 0?K:F?.meta)!==null&&W!==void 0?W:{}})}}),L);return $.trpc=nd({path:O}),$}const v={data:void 0,error:null,status:"idle"},y={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function b(O,k,M){var L;const H=(L=M?.enabled)!==null&&L!==void 0?L:k!==Pa,F=ll(Ki(O,k,"any")),{client:$}=s(),z=R.useRef(M);R.useEffect(()=>{z.current=M});const[W]=R.useState(new Set([])),K=R.useCallback(Y=>{W.add(Y)},[W]),te=R.useRef(null),U=R.useCallback(Y=>{const oe=Z.current,j=Z.current=Y(oe);let de=!1;for(const xe of W)if(oe[xe]!==j[xe]){de=!0;break}de&&G(mk(j,K))},[K,W]),J=R.useCallback(()=>{var Y;if((Y=te.current)===null||Y===void 0||Y.unsubscribe(),!H){U(()=>(0,$e.default)((0,$e.default)({},v),{},{reset:J}));return}U(()=>(0,$e.default)((0,$e.default)({},y),{},{reset:J}));const oe=$.subscription(O.join("."),k??void 0,{onStarted:()=>{var j,de;(j=(de=z.current).onStarted)===null||j===void 0||j.call(de),U(xe=>(0,$e.default)((0,$e.default)({},xe),{},{status:"pending",error:null}))},onData:j=>{var de,xe;(de=(xe=z.current).onData)===null||de===void 0||de.call(xe,j),U(Oe=>(0,$e.default)((0,$e.default)({},Oe),{},{status:"pending",data:j,error:null}))},onError:j=>{var de,xe;(de=(xe=z.current).onError)===null||de===void 0||de.call(xe,j),U(Oe=>(0,$e.default)((0,$e.default)({},Oe),{},{status:"error",error:j}))},onConnectionStateChange:j=>{U(de=>{switch(j.state){case"idle":return(0,$e.default)((0,$e.default)({},de),{},{status:j.state,error:null,data:void 0});case"connecting":return(0,$e.default)((0,$e.default)({},de),{},{error:j.error,status:j.state});
18case"pending":return de}})},onComplete:()=>{var j,de;(j=(de=z.current).onComplete)===null||j===void 0||j.call(de),U(xe=>(0,$e.default)((0,$e.default)({},xe),{},{status:"idle",error:null,data:void 0}))}});te.current=oe},[$,F,H,U]);R.useEffect(()=>(J(),()=>{var Y;(Y=te.current)===null||Y===void 0||Y.unsubscribe()}),[J]);const Z=R.useRef(H?(0,$e.default)((0,$e.default)({},y),{},{reset:J}):(0,$e.default)((0,$e.default)({},v),{},{reset:J})),[le,G]=R.useState(mk(Z.current,K));return le}function E(O,k,M){var L,H,F,$,z;const{client:W,ssrState:K,prefetchInfiniteQuery:te,queryClient:U,abortOnUnmount:J}=s(),Z=Ki(O,k,"infinite"),le=U.getQueryDefaults(Z),G=k===Pa;typeof window>"u"&&K==="prepass"&&(M==null||(L=M.trpc)===null||L===void 0?void 0:L.ssr)!==!1&&((H=M?.enabled)!==null&&H!==void 0?H:le?.enabled)!==!1&&!G&&!U.getQueryCache().find({queryKey:Z})&&te(Z,(0,$e.default)((0,$e.default)({},le),M));const Y=u(Z,(0,$e.default)((0,$e.default)({},le),M)),oe=(F=M==null||($=M.trpc)===null||$===void 0?void 0:$.abortOnUnmount)!==null&&F!==void 0?F:J,j=Qee((0,$e.default)((0,$e.default)({},Y),{},{initialPageParam:(z=M.initialCursor)!==null&&z!==void 0?z:null,persister:M.persister,queryKey:Z,queryFn:G?k:de=>{var xe;const Oe=(0,$e.default)((0,$e.default)({},Y),{},{trpc:(0,$e.default)((0,$e.default)({},Y?.trpc),oe?{signal:de.signal}:{signal:null})});return W.query(...qn(Z,Oe,{pageParam:(xe=de.pageParam)!==null&&xe!==void 0?xe:M.initialCursor,direction:de.direction}))}}),U);return j.trpc=nd({path:O}),j}function _(O,k,M){var L,H,F;const $=s(),z=Ki(O,k,"infinite"),W=$.queryClient.getQueryDefaults(z),K=k===Pa,te=u(z,(0,$e.default)((0,$e.default)({},W),M)),U=(L=M==null||(H=M.trpc)===null||H===void 0?void 0:H.abortOnUnmount)!==null&&L!==void 0?L:$.abortOnUnmount;Kee((0,$e.default)((0,$e.default)({},M),{},{initialPageParam:(F=M.initialCursor)!==null&&F!==void 0?F:null,queryKey:z,queryFn:K?k:J=>{var Z;const le=(0,$e.default)((0,$e.default)({},te),{},{trpc:(0,$e.default)((0,$e.default)({},te?.trpc),U?{signal:J.signal}:{})});return $.client.query(...qn(z,le,{pageParam:(Z=J.pageParam)!==null&&Z!==void 0?Z:M.initialCursor,direction:J.direction}))}}))}function A(O,k,M){var L,H,F;const $=s(),z=Ki(O,k,"infinite"),W=$.queryClient.getQueryDefaults(z),K=u(z,(0,$e.default)((0,$e.default)({},W),M)),te=(L=M==null||(H=M.trpc)===null||H===void 0?void 0:H.abortOnUnmount)!==null&&L!==void 0?L:$.abortOnUnmount,U=Gee((0,$e.default)((0,$e.default)({},M),{},{initialPageParam:(F=M.initialCursor)!==null&&F!==void 0?F:null,queryKey:z,queryFn:J=>{var Z;const le=(0,$e.default)((0,$e.default)({},K),{},{trpc:(0,$e.default)((0,$e.default)({},K?.trpc),te?{signal:J.signal}:{})});return $.client.query(...qn(z,le,{pageParam:(Z=J.pageParam)!==null&&Z!==void 0?Z:M.initialCursor,direction:J.direction}))}}),$.queryClient);return U.trpc=nd({path:O}),[U.data,U]}return{Provider:o,createClient:i,useContext:s,useUtils:s,useQuery:f,usePrefetchQuery:h,useSuspenseQuery:d,useQueries:(O,k)=>{const{ssrState:M,queryClient:L,prefetchQuery:H,client:F}=s(),$=pk(F),z=O($);if(typeof window>"u"&&M==="prepass")for(const K of z){var W;const te=K;((W=te.trpc)===null||W===void 0?void 0:W.ssr)!==!1&&!L.getQueryCache().find({queryKey:te.queryKey})&&H(te.queryKey,te)}return bH({queries:z.map(K=>(0,$e.default)((0,$e.default)({},K),{},{queryKey:K.queryKey})),combine:k?.combine},L)},useSuspenseQueries:O=>{const{queryClient:k,client:M}=s(),L=pk(M),H=O(L),F=Yee({queries:H.map($=>(0,$e.default)((0,$e.default)({},$),{},{queryFn:$.queryFn,queryKey:$.queryKey}))},k);return[F.map($=>$.data),F]},useMutation:m,useSubscription:b,useInfiniteQuery:E,usePrefetchInfiniteQuery:_,useSuspenseInfiniteQuery:A}}function yre(e){const t=sre(e);return ZS(r=>r==="useContext"||r==="useUtils"?()=>{const n=e.useUtils();return R.useMemo(()=>dre(n),[n])}:e.hasOwnProperty(r)?e[r]:t[r])}function bre(e){const t=vre();return yre(t)}const ha=bre(),xre="app_session_id",Ere="Please login (10001)",_re="__Host-oauth_state",wre=e=>btoa(JSON.stringify(e));var Hx={exports:{}},ad={},Fx={exports:{}},$x={};/** 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 gk;function Sre(){return gk||(gk=1,(function(e){function t(U,J){var Z=U.length;U.push(J);e:for(;0<Z;){var le=Z-1>>>1,G=U[le];if(0<a(G,J))U[le]=J,U[Z]=G,Z=le;else break e}}function r(U){return U.length===0?null:U[0]}function n(U){if(U.length===0)return null;var J=U[0],Z=U.pop();if(Z!==J){U[0]=Z;e:for(var le=0,G=U.length,Y=G>>>1;le<Y;){var oe=2*(le+1)-1,j=U[oe],de=oe+1,xe=U[de];if(0>a(j,Z))de<G&&0>a(xe,j)?(U[le]=xe,U[de]=Z,le=de):(U[le]=j,U[oe]=Z,le=oe);else if(de<G&&0>a(xe,Z))U[le]=xe,U[de]=Z,le=de;else break e}}return J}function a(U,J){var Z=U.sortIndex-J.sortIndex;return Z!==0?Z:U.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,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],f=[],h=1,d=null,m=3,v=!1,y=!1,b=!1,E=!1,_=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;function P(U){for(var J=r(f);J!==null;){if(J.callback===null)n(f);else if(J.startTime<=U)n(f),J.sortIndex=J.expirationTime,t(u,J);else break;J=r(f)}}function O(U){if(b=!1,P(U),!y)if(r(u)!==null)y=!0,k||(k=!0,z());else{var J=r(f);J!==null&&te(O,J.startTime-U)}}var k=!1,M=-1,L=5,H=-1;function F(){return E?!0:!(e.unstable_now()-H<L)}function $(){if(E=!1,k){var U=e.unstable_now();H=U;var J=!0;try{e:{y=!1,b&&(b=!1,A(M),M=-1),v=!0;var Z=m;try{t:{for(P(U),d=r(u);d!==null&&!(d.expirationTime>U&&F());){var le=d.callback;
vendor: 6,258 bytes, lines 26-42
26if(typeof le=="function"){d.callback=null,m=d.priorityLevel;var G=le(d.expirationTime<=U);if(U=e.unstable_now(),typeof G=="function"){d.callback=G,P(U),J=!0;break t}d===r(u)&&n(u),P(U)}else n(u);d=r(u)}if(d!==null)J=!0;else{var Y=r(f);Y!==null&&te(O,Y.startTime-U),J=!1}}break e}finally{d=null,m=Z,v=!1}J=void 0}}finally{J?z():k=!1}}}var z;if(typeof C=="function")z=function(){C($)};else if(typeof MessageChannel<"u"){var W=new MessageChannel,K=W.port2;W.port1.onmessage=$,z=function(){K.postMessage(null)}}else z=function(){_($,0)};function te(U,J){M=_(function(){U(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(U){U.callback=null},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_next=function(U){switch(m){case 1:case 2:case 3:var J=3;break;default:J=m}var Z=m;m=J;try{return U()}finally{m=Z}},e.unstable_requestPaint=function(){E=!0},e.unstable_runWithPriority=function(U,J){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var Z=m;m=U;try{return J()}finally{m=Z}},e.unstable_scheduleCallback=function(U,J,Z){var le=e.unstable_now();switch(typeof Z=="object"&&Z!==null?(Z=Z.delay,Z=typeof Z=="number"&&0<Z?le+Z:le):Z=le,U){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=Z+G,U={id:h++,callback:J,priorityLevel:U,startTime:Z,expirationTime:G,sortIndex:-1},Z>le?(U.sortIndex=Z,t(f,U),r(u)===null&&U===r(f)&&(b?(A(M),M=-1):b=!0,te(O,Z-le))):(U.sortIndex=G,t(u,U),y||v||(y=!0,k||(k=!0,z()))),U},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(U){var J=m;return function(){var Z=m;m=J;try{return U.apply(this,arguments)}finally{m=Z}}}})($x)),$x}var vk;function Tre(){return vk||(vk=1,Fx.exports=Sre()),Fx.exports}var Ux={exports:{}},Nn={};/** 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 yk;function Are(){if(yk)return Nn;yk=1;var e=Hv();function t(u){var f="https://react.dev/errors/"+u;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var h=2;h<arguments.length;h++)f+="&args[]="+encodeURIComponent(arguments[h])}return"Minified React error #"+u+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for("react.portal");function i(u,f,h){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:d==null?null:""+d,children:u,containerInfo:f,implementation:h}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(u,f){if(u==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return Nn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,Nn.createPortal=function(u,f){var h=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return i(u,f,null,h)},Nn.flushSync=function(u){var f=o.T,h=n.p;try{if(o.T=null,n.p=2,u)return u()}finally{o.T=f,n.p=h,n.d.f()}},Nn.preconnect=function(u,f){typeof u=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,n.d.C(u,f))},Nn.prefetchDNS=function(u){typeof u=="string"&&n.d.D(u)},Nn.preinit=function(u,f){if(typeof u=="string"&&f&&typeof f.as=="string"){var h=f.as,d=s(h,f.crossOrigin),m=typeof f.integrity=="string"?f.integrity:void 0,v=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;h==="style"?n.d.S(u,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:d,integrity:m,fetchPriority:v}):h==="script"&&n.d.X(u,{crossOrigin:d,integrity:m,fetchPriority:v,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},Nn.preinitModule=function(u,f){if(typeof u=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var h=s(f.as,f.crossOrigin);n.d.M(u,{crossOrigin:h,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&n.d.M(u)},Nn.preload=function(u,f){if(typeof u=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var h=f.as,d=s(h,f.crossOrigin);n.d.L(u,h,{crossOrigin:d,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},Nn.preloadModule=function(u,f){if(typeof u=="string")if(f){var h=s(f.as,f.crossOrigin);n.d.m(u,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:h,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else n.d.m(u)},Nn.requestFormReset=function(u){n.d.r(u)},Nn.unstable_batchedUpdates=function(u,f){return u(f)},Nn.useFormState=function(u,f,h){return o.H.useFormState(u,f,h)},Nn.useFormStatus=function(){return o.H.useHostTransitionStatus()},Nn.version="19.2.1",Nn}var bk;function HH(){if(bk)return Ux.exports;bk=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(),Ux.exports=Are(),Ux.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 xk;function Cre(){if(xk)return ad;xk=1;
vendor: 11,437 bytes, lines 42-49
42var e=Tre(),t=Hv(),r=HH();function n(l){var c="https://react.dev/errors/"+l;if(1<arguments.length){c+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)c+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+l+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function i(l){var c=l,p=l;if(l.alternate)for(;c.return;)c=c.return;else{l=c;do c=l,(c.flags&4098)!==0&&(p=c.return),l=c.return;while(l)}return c.tag===3?p:null}function o(l){if(l.tag===13){var c=l.memoizedState;if(c===null&&(l=l.alternate,l!==null&&(c=l.memoizedState)),c!==null)return c.dehydrated}return null}function s(l){if(l.tag===31){var c=l.memoizedState;if(c===null&&(l=l.alternate,l!==null&&(c=l.memoizedState)),c!==null)return c.dehydrated}return null}function u(l){if(i(l)!==l)throw Error(n(188))}function f(l){var c=l.alternate;if(!c){if(c=i(l),c===null)throw Error(n(188));return c!==l?null:l}for(var p=l,g=c;;){var x=p.return;if(x===null)break;var w=x.alternate;if(w===null){if(g=x.return,g!==null){p=g;continue}break}if(x.child===w.child){for(w=x.child;w;){if(w===p)return u(x),l;if(w===g)return u(x),c;w=w.sibling}throw Error(n(188))}if(p.return!==g.return)p=x,g=w;else{for(var D=!1,q=x.child;q;){if(q===p){D=!0,p=x,g=w;break}if(q===g){D=!0,g=x,p=w;break}q=q.sibling}if(!D){for(q=w.child;q;){if(q===p){D=!0,p=w,g=x;break}if(q===g){D=!0,g=w,p=x;break}q=q.sibling}if(!D)throw Error(n(189))}}if(p.alternate!==g)throw Error(n(190))}if(p.tag!==3)throw Error(n(188));return p.stateNode.current===p?l:c}function h(l){var c=l.tag;if(c===5||c===26||c===27||c===6)return l;for(l=l.child;l!==null;){if(c=h(l),c!==null)return c;l=l.sibling}return null}var d=Object.assign,m=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),C=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),F=Symbol.for("react.memo_cache_sentinel"),$=Symbol.iterator;function z(l){return l===null||typeof l!="object"?null:(l=$&&l[$]||l["@@iterator"],typeof l=="function"?l:null)}var W=Symbol.for("react.client.reference");function K(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===W?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case b:return"Fragment";case _:return"Profiler";case E:return"StrictMode";case O:return"Suspense";case k:return"SuspenseList";case H:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case y:return"Portal";case C:return l.displayName||"Context";case A:return(l._context.displayName||"Context")+".Consumer";case P:var c=l.render;return l=l.displayName,l||(l=c.displayName||c.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case M:return c=l.displayName||null,c!==null?c:K(l.type)||"Memo";case L:c=l._payload,l=l._init;try{return K(l(c))}catch{}}return null}var te=Array.isArray,U=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z={pending:!1,data:null,method:null,action:null},le=[],G=-1;function Y(l){return{current:l}}function oe(l){0>G||(l.current=le[G],le[G]=null,G--)}function j(l,c){G++,le[G]=l.current,l.current=c}var de=Y(null),xe=Y(null),Oe=Y(null),Re=Y(null);function He(l,c){switch(j(Oe,c),j(xe,l),j(de,null),c.nodeType){case 9:case 11:l=(l=c.documentElement)&&(l=l.namespaceURI)?b9(l):0;break;default:if(l=c.tagName,c=c.namespaceURI)c=b9(c),l=x9(c,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}oe(de),j(de,l)}function Te(){oe(de),oe(xe),oe(Oe)}function Ue(l){l.memoizedState!==null&&j(Re,l);var c=de.current,p=x9(c,l.type);c!==p&&(j(xe,l),j(de,p))}function Ke(l){xe.current===l&&(oe(de),oe(xe)),Re.current===l&&(oe(Re),Z0._currentValue=Z)}var Ae,St;function rt(l){if(Ae===void 0)try{throw Error()}catch(p){var c=p.stack.trim().match(/\n( *(at )?)/);Ae=c&&c[1]||"",St=-1<p.stack.indexOf(` 43 at`)?" (<anonymous>)":-1<p.stack.indexOf("@")?"@unknown:0:0":""}return` 44`+Ae+l+St}var Ht=!1;function Pt(l,c){if(!l||Ht)return"";Ht=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var g={DetermineComponentFrameRoot:function(){try{if(c){var Ce=function(){throw Error()};if(Object.defineProperty(Ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ce,[])}catch(ye){var ve=ye}Reflect.construct(l,[],Ce)}else{try{Ce.call()}catch(ye){ve=ye}l.call(Ce.prototype)}}else{try{throw Error()}catch(ye){ve=ye}(Ce=l())&&typeof Ce.catch=="function"&&Ce.catch(function(){})}}catch(ye){if(ye&&ve&&typeof ye.stack=="string")return[ye.stack,ve.stack]}return[null,null]}};g.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var x=Object.getOwnPropertyDescriptor(g.DetermineComponentFrameRoot,"name");x&&x.configurable&&Object.defineProperty(g.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var w=g.DetermineComponentFrameRoot(),D=w[0],q=w[1];if(D&&q){var se=D.split(` 45`),ge=q.split(` 46`);for(x=g=0;g<se.length&&!se[g].includes("DetermineComponentFrameRoot");)g++;for(;x<ge.length&&!ge[x].includes("DetermineComponentFrameRoot");)x++;if(g===se.length||x===ge.length)for(g=se.length-1,x=ge.length-1;1<=g&&0<=x&&se[g]!==ge[x];)x--;for(;1<=g&&0<=x;g--,x--)if(se[g]!==ge[x]){if(g!==1||x!==1)do if(g--,x--,0>x||se[g]!==ge[x]){var Ee=` 47`+se[g].replace(" at new "," at ");return l.displayName&&Ee.includes("<anonymous>")&&(Ee=Ee.replace("<anonymous>",l.displayName)),Ee}while(1<=g&&0<=x);break}}}finally{Ht=!1,Error.prepareStackTrace=p}return(p=l?l.displayName||l.name:"")?rt(p):""}function Kt(l,c){switch(l.tag){case 26:case 27:case 5:return rt(l.type);case 16:return rt("Lazy");case 13:return l.child!==c&&c!==null?rt("Suspense Fallback"):rt("Suspense");case 19:return rt("SuspenseList");case 0:case 15:return Pt(l.type,!1);case 11:return Pt(l.type.render,!1);case 1:return Pt(l.type,!0);case 31:return rt("Activity");default:return""}}function Rr(l){try{var c="",p=null;do c+=Kt(l,p),p=l,l=l.return;while(l);return c}catch(g){return` 48Error generating stack: `+g.message+` 49`+g.stack}}var Zt=Object.prototype.hasOwnProperty,ba=e.unstable_scheduleCallback,Hn=e.unstable_cancelCallback,dr=e.unstable_shouldYield,Qn=e.unstable_requestPaint,zr=e.unstable_now,ys=e.unstable_getCurrentPriorityLevel,_e=e.unstable_ImmediatePriority,je=e.unstable_UserBlockingPriority,nt=e.unstable_NormalPriority,dt=e.unstable_LowPriority,xt=e.unstable_IdlePriority,Cn=e.log,On=e.unstable_setDisableYieldValue,vn=null,Mr=null;function yn(l){if(typeof Cn=="function"&&On(l),Mr&&typeof Mr.setStrictMode=="function")try{Mr.setStrictMode(vn,l)}catch{}}var qt=Math.clz32?Math.clz32:ji,Li=Math.log,Fn=Math.LN2;function ji(l){return l>>>=0,l===0?32:31-(Li(l)/Fn|0)|0}var qu=256,Vu=262144,Al=4194304;function Bi(l){var c=l&42;if(c!==0)return c;switch(l&-l){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 l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function st(l,c,p){var g=l.pendingLanes;if(g===0)return 0;var x=0,w=l.suspendedLanes,D=l.pingedLanes;l=l.warmLanes;var q=g&134217727;return q!==0?(g=q&~w,g!==0?x=Bi(g):(D&=q,D!==0?x=Bi(D):p||(p=q&~l,p!==0&&(x=Bi(p))))):(q=g&~w,q!==0?x=Bi(q):D!==0?x=Bi(D):p||(p=g&~l,p!==0&&(x=Bi(p)))),x===0?0:c!==0&&c!==x&&(c&w)===0&&(w=x&-x,p=c&-c,w>=p||w===32&&(p&4194048)!==0)?c:x}function vr(l,c){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&c)===0}function sn(l,c){switch(l){case 1:case 2:case 4:case 8:case 64:return c+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 c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function kn(){var l=Al;return Al<<=1,(Al&62914560)===0&&(Al=4194304),l}function bs(l){for(var c=[],p=0;31>p;p++)c.push(l);return c}function _r(l,c){l.pendingLanes|=c,c!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Zn(l,c,p,g,x,w){var D=l.pendingLanes;l.pendingLanes=p,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=p,l.entangledLanes&=p,l.errorRecoveryDisabledLanes&=p,l.shellSuspendCounter=0;var q=l.entanglements,se=l.expirationTimes,ge=l.hiddenUpdates;for(p=D&~p;0<p;){var Ee=31-qt(p),Ce=1<<Ee;q[Ee]=0,se[Ee]=-1;var ve=ge[Ee];if(ve!==null)for(ge[Ee]=null,Ee=0;Ee<ve.length;Ee++){var ye=ve[Ee];ye!==null&&(ye.lane&=-536870913)}p&=~Ce}g!==0&&Cl(l,g,0),w!==0&&x===0&&l.tag!==0&&(l.suspendedLanes|=w&~(D&~c))}function Cl(l,c,p){l.pendingLanes|=c,l.suspendedLanes&=~c;var g=31-qt(c);l.entangledLanes|=c,l.entanglements[g]=l.entanglements[g]|1073741824|p&261930}function Jn(l,c){var p=l.entangledLanes|=c;for(l=l.entanglements;p;){var g=31-qt(p),x=1<<g;x&c|l[g]&c&&(l[g]|=c),p&=~x}}function ea(l,c){var p=c&-c;return p=(p&42)!==0?1:Gu(p),(p&(l.suspendedLanes|c))!==0?0:p}function Gu(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function vi(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Sb(){var l=J.p;return l!==0?l:(l=window.event,l===void 0?32:U9(l.type))}function i7(l,c){var p=J.p;try{return J.p=l,c()}finally{J.p=p}}var xs=Math.random().toString(36).slice(2),bn="__reactFiber$"+xs,ta="__reactProps$"+xs,Yu="__reactContainer$"+xs,Tb="__reactEvents$"+xs,tZ="__reactListeners$"+xs,rZ="__reactHandles$"+xs,o7="__reactResources$"+xs,h0="__reactMarker$"+xs;function Ab(l){delete l[bn],delete l[ta],delete l[Tb],delete l[tZ],delete l[rZ]}function Wu(l){var c=l[bn];if(c)return c;for(var p=l.parentNode;p;){if(c=p[Yu]||p[bn]){if(p=c.alternate,c.child!==null||p!==null&&p.child!==null)for(l=C9(l);l!==null;){if(p=l[bn])return p;l=C9(l)}return c}l=p,p=l.parentNode}return null}function Ku(l){if(l=l[bn]||l[Yu]){var c=l.tag;if(c===5||c===6||c===13||c===31||c===26||c===27||c===3)return l}return null}function p0(l){var c=l.tag;if(c===5||c===26||c===27||c===6)return l.stateNode;throw Error(n(33))}function Xu(l){var c=l[o7];return c||(c=l[o7]={hoistableStyles:new Map,hoistableScripts:new Map}),c}function ln(l){l[h0]=!0}var s7=new Set,l7={};function Ol(l,c){Qu(l,c),Qu(l+"Capture",c)}function Qu(l,c){for(l7[l]=c,l=0;l<c.length;l++)s7.add(c[l])}var nZ=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
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]*$"),u7={},c7={};function aZ(l){return Zt.call(c7,l)?!0:Zt.call(u7,l)?!1:nZ.test(l)?c7[l]=!0:(u7[l]=!0,!1)}function Dp(l,c,p){if(aZ(c))if(p===null)l.removeAttribute(c);else{switch(typeof p){case"undefined":case"function":case"symbol":l.removeAttribute(c);return;case"boolean":var g=c.toLowerCase().slice(0,5);if(g!=="data-"&&g!=="aria-"){l.removeAttribute(c);return}}l.setAttribute(c,""+p)}}function Lp(l,c,p){if(p===null)l.removeAttribute(c);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(c);return}l.setAttribute(c,""+p)}}function Eo(l,c,p,g){if(g===null)l.removeAttribute(p);else{switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(p);return}l.setAttributeNS(c,p,""+g)}}function Ha(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function f7(l){var c=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function iZ(l,c,p){var g=Object.getOwnPropertyDescriptor(l.constructor.prototype,c);if(!l.hasOwnProperty(c)&&typeof g<"u"&&typeof g.get=="function"&&typeof g.set=="function"){var x=g.get,w=g.set;return Object.defineProperty(l,c,{configurable:!0,get:function(){return x.call(this)},set:function(D){p=""+D,w.call(this,D)}}),Object.defineProperty(l,c,{enumerable:g.enumerable}),{getValue:function(){return p},setValue:function(D){p=""+D},stopTracking:function(){l._valueTracker=null,delete l[c]}}}}function Cb(l){if(!l._valueTracker){var c=f7(l)?"checked":"value";l._valueTracker=iZ(l,c,""+l[c])}}function d7(l){if(!l)return!1;var c=l._valueTracker;if(!c)return!0;var p=c.getValue(),g="";return l&&(g=f7(l)?l.checked?"true":"false":l.value),l=g,l!==p?(c.setValue(l),!0):!1}function jp(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var oZ=/[\n"\\]/g;function Fa(l){return l.replace(oZ,function(c){return"\\"+c.charCodeAt(0).toString(16)+" "})}function Ob(l,c,p,g,x,w,D,q){l.name="",D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?l.type=D:l.removeAttribute("type"),c!=null?D==="number"?(c===0&&l.value===""||l.value!=c)&&(l.value=""+Ha(c)):l.value!==""+Ha(c)&&(l.value=""+Ha(c)):D!=="submit"&&D!=="reset"||l.removeAttribute("value"),c!=null?kb(l,D,Ha(c)):p!=null?kb(l,D,Ha(p)):g!=null&&l.removeAttribute("value"),x==null&&w!=null&&(l.defaultChecked=!!w),x!=null&&(l.checked=x&&typeof x!="function"&&typeof x!="symbol"),q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?l.name=""+Ha(q):l.removeAttribute("name")}function h7(l,c,p,g,x,w,D,q){if(w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(l.type=w),c!=null||p!=null){if(!(w!=="submit"&&w!=="reset"||c!=null)){Cb(l);return}p=p!=null?""+Ha(p):"",c=c!=null?""+Ha(c):p,q||c===l.value||(l.value=c),l.defaultValue=c}g=g??x,g=typeof g!="function"&&typeof g!="symbol"&&!!g,l.checked=q?l.checked:!!g,l.defaultChecked=!!g,D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(l.name=D),Cb(l)}function kb(l,c,p){c==="number"&&jp(l.ownerDocument)===l||l.defaultValue===""+p||(l.defaultValue=""+p)}function Zu(l,c,p,g){if(l=l.options,c){c={};for(var x=0;x<p.length;x++)c["$"+p[x]]=!0;for(p=0;p<l.length;p++)x=c.hasOwnProperty("$"+l[p].value),l[p].selected!==x&&(l[p].selected=x),x&&g&&(l[p].defaultSelected=!0)}else{for(p=""+Ha(p),c=null,x=0;x<l.length;x++){if(l[x].value===p){l[x].selected=!0,g&&(l[x].defaultSelected=!0);return}c!==null||l[x].disabled||(c=l[x])}c!==null&&(c.selected=!0)}}function p7(l,c,p){if(c!=null&&(c=""+Ha(c),c!==l.value&&(l.value=c),p==null)){l.defaultValue!==c&&(l.defaultValue=c);return}l.defaultValue=p!=null?""+Ha(p):""}function m7(l,c,p,g){if(c==null){if(g!=null){if(p!=null)throw Error(n(92));if(te(g)){if(1<g.length)throw Error(n(93));g=g[0]}p=g}p==null&&(p=""),c=p}p=Ha(c),l.defaultValue=p,g=l.textContent,g===p&&g!==""&&g!==null&&(l.value=g),Cb(l)}function Ju(l,c){if(c){var p=l.firstChild;
vendor: 4,140 bytes, line 49
49if(p&&p===l.lastChild&&p.nodeType===3){p.nodeValue=c;return}}l.textContent=c}var sZ=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 g7(l,c,p){var g=c.indexOf("--")===0;p==null||typeof p=="boolean"||p===""?g?l.setProperty(c,""):c==="float"?l.cssFloat="":l[c]="":g?l.setProperty(c,p):typeof p!="number"||p===0||sZ.has(c)?c==="float"?l.cssFloat=p:l[c]=(""+p).trim():l[c]=p+"px"}function v7(l,c,p){if(c!=null&&typeof c!="object")throw Error(n(62));if(l=l.style,p!=null){for(var g in p)!p.hasOwnProperty(g)||c!=null&&c.hasOwnProperty(g)||(g.indexOf("--")===0?l.setProperty(g,""):g==="float"?l.cssFloat="":l[g]="");for(var x in c)g=c[x],c.hasOwnProperty(x)&&p[x]!==g&&g7(l,x,g)}else for(var w in c)c.hasOwnProperty(w)&&g7(l,w,c[w])}function Nb(l){if(l.indexOf("-")===-1)return!1;switch(l){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 lZ=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
49-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"]]),uZ=/^[\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 Bp(l){return uZ.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function _o(){}var Rb=null;function Mb(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var ec=null,tc=null;function y7(l){var c=Ku(l);if(c&&(l=c.stateNode)){var p=l[ta]||null;e:switch(l=c.stateNode,c.type){case"input":if(Ob(l,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name),c=p.name,p.type==="radio"&&c!=null){for(p=l;p.parentNode;)p=p.parentNode;for(p=p.querySelectorAll('input[name="'+Fa(""+c)+'"][type="radio"]'),c=0;c<p.length;c++){var g=p[c];if(g!==l&&g.form===l.form){var x=g[ta]||null;if(!x)throw Error(n(90));Ob(g,x.value,x.defaultValue,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name)}}for(c=0;c<p.length;c++)g=p[c],g.form===l.form&&d7(g)}break e;case"textarea":p7(l,p.value,p.defaultValue);break e;case"select":c=p.value,c!=null&&Zu(l,!!p.multiple,c,!1)}}}var Pb=!1;function b7(l,c,p){if(Pb)return l(c,p);Pb=!0;try{var g=l(c);return g}finally{if(Pb=!1,(ec!==null||tc!==null)&&(Tm(),ec&&(c=ec,l=tc,tc=ec=null,y7(c),l)))for(c=0;c<l.length;c++)y7(l[c])}}function m0(l,c){var p=l.stateNode;if(p===null)return null;var g=p[ta]||null;if(g===null)return null;p=g[c];e:switch(c){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(g=!g.disabled)||(l=l.type,g=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!g;break e;default:l=!1}if(l)return null;if(p&&typeof p!="function")throw Error(n(231,c,typeof p));return p}var wo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ib=!1;if(wo)try{var g0={};Object.defineProperty(g0,"passive",{get:function(){Ib=!0}}),window.addEventListener("test",g0,g0),window.removeEventListener("test",g0,g0)}catch{Ib=!1}var Es=null,Db=null,zp=null;function x7(){if(zp)return zp;var l,c=Db,p=c.length,g,x="value"in Es?Es.value:Es.textContent,w=x.length;for(l=0;l<p&&c[l]===x[l];l++);var D=p-l;for(g=1;g<=D&&c[p-g]===x[w-g];g++);return zp=x.slice(l,1<g?1-g:void 0)}function Hp(l){var c=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&c===13&&(l=13)):l=c,l===10&&(l=13),32<=l||l===13?l:0}function Fp(){return!0}function E7(){return!1}function ra(l){function c(p,g,x,w,D){this._reactName=p,this._targetInst=x,this.type=g,this.nativeEvent=w,this.target=D,this.currentTarget=null;for(var q in l)l.hasOwnProperty(q)&&(p=l[q],this[q]=p?p(w):w[q]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?Fp:E7,this.isPropagationStopped=E7,this}return d(c.prototype,{preventDefault:function(){this.defaultPrevented=!0;var p=this.nativeEvent;p&&(p.preventDefault?p.preventDefault():typeof p.returnValue!="unknown"&&(p.returnValue=!1),this.isDefaultPrevented=Fp)},stopPropagation:function(){var p=this.nativeEvent;p&&(p.stopPropagation?p.stopPropagation():typeof p.cancelBubble!="unknown"&&(p.cancelBubble=!0),this.isPropagationStopped=Fp)},persist:function(){},isPersistent:Fp}),c}var kl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$p=ra(kl),v0=d({},kl,{view:0,detail:0}),cZ=ra(v0),Lb,jb,y0,Up=d({},v0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zb,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==y0&&(y0&&l.type==="mousemove"?(Lb=l.screenX-y0.screenX,jb=l.screenY-y0.screenY):jb=Lb=0,y0=l),Lb)},movementY:function(l){return"movementY"in l?l.movementY:jb}}),_7=ra(Up),fZ=d({},Up,{dataTransfer:0}
vendor: 4,465 bytes, line 49
49),dZ=ra(fZ),hZ=d({},v0,{relatedTarget:0}),Bb=ra(hZ),pZ=d({},kl,{animationName:0,elapsedTime:0,pseudoElement:0}),mZ=ra(pZ),gZ=d({},kl,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),vZ=ra(gZ),yZ=d({},kl,{data:0}),w7=ra(yZ),bZ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xZ={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"},EZ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _Z(l){var c=this.nativeEvent;return c.getModifierState?c.getModifierState(l):(l=EZ[l])?!!c[l]:!1}function zb(){return _Z}var wZ=d({},v0,{key:function(l){if(l.key){var c=bZ[l.key]||l.key;if(c!=="Unidentified")return c}return l.type==="keypress"?(l=Hp(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?xZ[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zb,charCode:function(l){return l.type==="keypress"?Hp(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Hp(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),SZ=ra(wZ),TZ=d({},Up,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),S7=ra(TZ),AZ=d({},v0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zb}),CZ=ra(AZ),OZ=d({},kl,{propertyName:0,elapsedTime:0,pseudoElement:0}),kZ=ra(OZ),NZ=d({},Up,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),RZ=ra(NZ),MZ=d({},kl,{newState:0,oldState:0}),PZ=ra(MZ),IZ=[9,13,27,32],Hb=wo&&"CompositionEvent"in window,b0=null;wo&&"documentMode"in document&&(b0=document.documentMode);var DZ=wo&&"TextEvent"in window&&!b0,T7=wo&&(!Hb||b0&&8<b0&&11>=b0),A7=" ",C7=!1;function O7(l,c){switch(l){case"keyup":return IZ.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function k7(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var rc=!1;function LZ(l,c){switch(l){case"compositionend":return k7(c);case"keypress":return c.which!==32?null:(C7=!0,A7);case"textInput":return l=c.data,l===A7&&C7?null:l;default:return null}}function jZ(l,c){if(rc)return l==="compositionend"||!Hb&&O7(l,c)?(l=x7(),zp=Db=Es=null,rc=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1<c.char.length)return c.char;if(c.which)return String.fromCharCode(c.which)}return null;case"compositionend":return T7&&c.locale!=="ko"?null:c.data;default:return null}}var BZ={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 N7(l){var c=l&&l.nodeName&&l.nodeName.toLowerCase();return c==="input"?!!BZ[l.type]:c==="textarea"}function R7(l,c,p,g){ec?tc?tc.push(g):tc=[g]:ec=g,c=Mm(c,"onChange"),0<c.length&&(p=new $p("onChange","change",null,p,g),l.push({event:p,listeners:c}))}var x0=null,E0=null;function zZ(l){h9(l,0)}function qp(l){var c=p0(l);if(d7(c))return l}function M7(l,c){if(l==="change")return c}var P7=!1;if(wo){var Fb;if(wo){var $b="oninput"in document;if(!$b){var I7=document.createElement("div");I7.setAttribute("oninput","return;"),$b=typeof I7.oninput=="function"}Fb=$b}else Fb=!1;P7=Fb&&(!document.documentMode||9<document.documentMode)}function D7(){x0&&(x0.detachEvent("onpropertychange",L7),E0=x0=null)}function L7(l){if(l.propertyName==="value"&&qp(E0)){var c=[];R7(c,E0,l,Mb(l)),b7(zZ,c)}}function HZ(l,c,p){l==="focusin"?(D7(),x0=c,E0=p,x0.attachEvent("onpropertychange",L7)):l==="focusout"&&D7()}function FZ(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return qp(E0)}
vendor: 21,447 bytes, line 49
49function $Z(l,c){if(l==="click")return qp(c)}function UZ(l,c){if(l==="input"||l==="change")return qp(c)}function qZ(l,c){return l===c&&(l!==0||1/l===1/c)||l!==l&&c!==c}var xa=typeof Object.is=="function"?Object.is:qZ;function _0(l,c){if(xa(l,c))return!0;if(typeof l!="object"||l===null||typeof c!="object"||c===null)return!1;var p=Object.keys(l),g=Object.keys(c);if(p.length!==g.length)return!1;for(g=0;g<p.length;g++){var x=p[g];if(!Zt.call(c,x)||!xa(l[x],c[x]))return!1}return!0}function j7(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function B7(l,c){var p=j7(l);l=0;for(var g;p;){if(p.nodeType===3){if(g=l+p.textContent.length,l<=c&&g>=c)return{node:p,offset:c-l};l=g}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=j7(p)}}function z7(l,c){return l&&c?l===c?!0:l&&l.nodeType===3?!1:c&&c.nodeType===3?z7(l,c.parentNode):"contains"in l?l.contains(c):l.compareDocumentPosition?!!(l.compareDocumentPosition(c)&16):!1:!1}function H7(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var c=jp(l.document);c instanceof l.HTMLIFrameElement;){try{var p=typeof c.contentWindow.location.href=="string"}catch{p=!1}if(p)l=c.contentWindow;else break;c=jp(l.document)}return c}function Ub(l){var c=l&&l.nodeName&&l.nodeName.toLowerCase();return c&&(c==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||c==="textarea"||l.contentEditable==="true")}var VZ=wo&&"documentMode"in document&&11>=document.documentMode,nc=null,qb=null,w0=null,Vb=!1;function F7(l,c,p){var g=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;Vb||nc==null||nc!==jp(g)||(g=nc,"selectionStart"in g&&Ub(g)?g={start:g.selectionStart,end:g.selectionEnd}:(g=(g.ownerDocument&&g.ownerDocument.defaultView||window).getSelection(),g={anchorNode:g.anchorNode,anchorOffset:g.anchorOffset,focusNode:g.focusNode,focusOffset:g.focusOffset}),w0&&_0(w0,g)||(w0=g,g=Mm(qb,"onSelect"),0<g.length&&(c=new $p("onSelect","select",null,c,p),l.push({event:c,listeners:g}),c.target=nc)))}function Nl(l,c){var p={};return p[l.toLowerCase()]=c.toLowerCase(),p["Webkit"+l]="webkit"+c,p["Moz"+l]="moz"+c,p}var ac={animationend:Nl("Animation","AnimationEnd"),animationiteration:Nl("Animation","AnimationIteration"),animationstart:Nl("Animation","AnimationStart"),transitionrun:Nl("Transition","TransitionRun"),transitionstart:Nl("Transition","TransitionStart"),transitioncancel:Nl("Transition","TransitionCancel"),transitionend:Nl("Transition","TransitionEnd")},Gb={},$7={};wo&&($7=document.createElement("div").style,"AnimationEvent"in window||(delete ac.animationend.animation,delete ac.animationiteration.animation,delete ac.animationstart.animation),"TransitionEvent"in window||delete ac.transitionend.transition);function Rl(l){if(Gb[l])return Gb[l];if(!ac[l])return l;var c=ac[l],p;for(p in c)if(c.hasOwnProperty(p)&&p in $7)return Gb[l]=c[p];return l}var U7=Rl("animationend"),q7=Rl("animationiteration"),V7=Rl("animationstart"),GZ=Rl("transitionrun"),YZ=Rl("transitionstart"),WZ=Rl("transitioncancel"),G7=Rl("transitionend"),Y7=new Map,Yb="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(" ");Yb.push("scrollEnd");function yi(l,c){Y7.set(l,c),Ol(c,[l])}var Vp=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var c=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(c))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},$a=[],ic=0,Wb=0;function Gp(){for(var l=ic,c=Wb=ic=0;c<l;){var p=$a[c];$a[c++]=null;var g=$a[c];$a[c++]=null;var x=$a[c];$a[c++]=null;var w=$a[c];if($a[c++]=null,g!==null&&x!==null){var D=g.pending;D===null?x.next=x:(x.next=D.next,D.next=x),g.pending=x}w!==0&&W7(p,x,w)}}function Yp(l,c,p,g){$a[ic++]=l,$a[ic++]=c,$a[ic++]=p,$a[ic++]=g,Wb|=g,l.lanes|=g,l=l.alternate,l!==null&&(l.lanes|=g)}function Kb(l,c,p,g){return Yp(l,c,p,g),Wp(l)}function Ml(l,c){return Yp(l,null,null,c),Wp(l)}function W7(l,c,p){l.lanes|=p;var g=l.alternate;g!==null&&(g.lanes|=p);for(var x=!1,w=l.return;w!==null;)w.childLanes|=p,g=w.alternate,g!==null&&(g.childLanes|=p),w.tag===22&&(l=w.stateNode,l===null||l._visibility&1||(x=!0)),l=w,w=w.return;return l.tag===3?(w=l.stateNode,x&&c!==null&&(x=31-qt(p),l=w.hiddenUpdates,g=l[x],g===null?l[x]=[c]:g.push(c),c.lane=p|536870912),w):null}function Wp(l){if(50<V0)throw V0=0,ax=null,Error(n(185));for(var c=l.return;c!==null;)l=c,c=l.return;return l.tag===3?l.stateNode:null}var oc={};function KZ(l,c,p,g){this.tag=l,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=c,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=g,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ea(l,c,p,g){return new KZ(l,c,p,g)}function Xb(l){return l=l.prototype,!(!l||!l.isReactComponent)}function So(l,c){var p=l.alternate;return p===null?(p=Ea(l.tag,c,l.key,l.mode),p.elementType=l.elementType,p.type=l.type,p.stateNode=l.stateNode,p.alternate=l,l.alternate=p):(p.pendingProps=c,p.type=l.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=l.flags&65011712,p.childLanes=l.childLanes,p.lanes=l.lanes,p.child=l.child,p.memoizedProps=l.memoizedProps,p.memoizedState=l.memoizedState,p.updateQueue=l.updateQueue,c=l.dependencies,p.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext},p.sibling=l.sibling,p.index=l.index,p.ref=l.ref,p.refCleanup=l.refCleanup,p}function K7(l,c){l.flags&=65011714;var p=l.alternate;return p===null?(l.childLanes=0,l.lanes=c,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=p.childLanes,l.lanes=p.lanes,l.child=p.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=p.memoizedProps,l.memoizedState=p.memoizedState,l.updateQueue=p.updateQueue,l.type=p.type,c=p.dependencies,l.dependencies=c===null?null:{lanes:c.lanes,firstContext:c.firstContext}),l}function Kp(l,c,p,g,x,w){var D=0;if(g=l,typeof l=="function")Xb(l)&&(D=1);else if(typeof l=="string")D=eee(l,p,de.current)?26:l==="html"||l==="head"||l==="body"?27:5;else e:switch(l){case H:return l=Ea(31,p,c,x),l.elementType=H,l.lanes=w,l;case b:return Pl(p.children,x,w,c);case E:D=8,x|=24;break;case _:return l=Ea(12,p,c,x|2),l.elementType=_,l.lanes=w,l;case O:return l=Ea(13,p,c,x),l.elementType=O,l.lanes=w,l;case k:return l=Ea(19,p,c,x),l.elementType=k,l.lanes=w,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case C:D=10;break e;case A:D=9;break e;case P:D=11;break e;case M:D=14;break e;case L:D=16,g=null;break e}D=29,p=Error(n(130,l===null?"null":typeof l,"")),g=null}return c=Ea(D,p,c,x),c.elementType=l,c.type=g,c.lanes=w,c}function Pl(l,c,p,g){return l=Ea(7,l,g,c),l.lanes=p,l}function Qb(l,c,p){return l=Ea(6,l,null,c),l.lanes=p,l}function X7(l){var c=Ea(18,null,null,0);return c.stateNode=l,c}function Zb(l,c,p){return c=Ea(4,l.children!==null?l.children:[],l.key,c),c.lanes=p,c.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},c}var Q7=new WeakMap;function Ua(l,c){if(typeof l=="object"&&l!==null){var p=Q7.get(l);return p!==void 0?p:(c={value:l,source:c,stack:Rr(c)},Q7.set(l,c),c)}return{value:l,source:c,stack:Rr(c)}}var sc=[],lc=0,Xp=null,S0=0,qa=[],Va=0,_s=null,zi=1,Hi="";function To(l,c){sc[lc++]=S0,sc[lc++]=Xp,Xp=l,S0=c}function Z7(l,c,p){qa[Va++]=zi,qa[Va++]=Hi,qa[Va++]=_s,_s=l;var g=zi;l=Hi;var x=32-qt(g)-1;g&=~(1<<x),p+=1;var w=32-qt(c)+x;if(30<w){var D=x-x%5;w=(g&(1<<D)-1).toString(32),g>>=D,x-=D,zi=1<<32-qt(c)+x|p<<x|g,Hi=w+l}else zi=1<<w|p<<x|g,Hi=l}function Jb(l){l.return!==null&&(To(l,1),Z7(l,1,0))}function e2(l){for(;l===Xp;)Xp=sc[--lc],sc[lc]=null,S0=sc[--lc],sc[lc]=null;for(;l===_s;)_s=qa[--Va],qa[Va]=null,Hi=qa[--Va],qa[Va]=null,zi=qa[--Va],qa[Va]=null}function J7(l,c){qa[Va++]=zi,qa[Va++]=Hi,qa[Va++]=_s,zi=c.id,Hi=c.overflow,_s=l}var xn=null,hr=null,Ot=!1,ws=null,Ga=!1,t2=Error(n(519));function Ss(l){var c=Error(n(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw T0(Ua(c,l)),t2}function eC(l){var c=l.stateNode,p=l.type,g=l.memoizedProps;switch(c[bn]=l,c[ta]=g,p){case"dialog":_t("cancel",c),_t("close",c);break;case"iframe":case"object":case"embed":_t("load",c);break;case"video":case"audio":for(p=0;p<Y0.length;p++)_t(Y0[p],c);break;case"source":_t("error",c);break;case"img":case"image":case"link":_t("error",c),_t("load",c);break;case"details":_t("toggle",c);break;case"input":_t("invalid",c),h7(c,g.value,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name,!0);break;case"select":_t("invalid",c);break;case"textarea":_t("invalid",c),m7(c,g.value,g.defaultValue,g.children)}p=g.children,typeof p!="string"&&typeof p!="number"&&typeof p!="bigint"||c.textContent===""+p||g.suppressHydrationWarning===!0||v9(c.textContent,p)?(g.popover!=null&&(_t("beforetoggle",c),_t("toggle",c)),g.onScroll!=null&&_t("scroll",c),g.onScrollEnd!=null&&_t("scrollend",c),g.onClick!=null&&(c.onclick=_o),c=!0):c=!1,c||Ss(l,!0)}function tC(l){for(xn=l.return;xn;)switch(xn.tag){case 5:case 31:case 13:Ga=!1;return;case 27:case 3:Ga=!0;return;default:xn=xn.return}}function uc(l){if(l!==xn)return!1;if(!Ot)return tC(l),Ot=!0,!1;var c=l.tag,p;if((p=c!==3&&c!==27)&&((p=c===5)&&(p=l.type,p=!(p!=="form"&&p!=="button")||bx(l.type,l.memoizedProps)),p=!p),p&&hr&&Ss(l),tC(l),c===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(n(317));hr=A9(l)}else if(c===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(n(317));hr=A9(l)}else c===27?(c=hr,Bs(l.type)?(l=Sx,Sx=null,hr=l):hr=c):hr=xn?Wa(l.stateNode.nextSibling):null;return!0}function Il(){hr=xn=null,Ot=!1}function r2(){var l=ws;return l!==null&&(oa===null?oa=l:oa.push.apply(oa,l),ws=null),l}function T0(l){ws===null?ws=[l]:ws.push(l)}var n2=Y(null),Dl=null,Ao=null;function Ts(l,c,p){j(n2,c._currentValue),c._currentValue=p}function Co(l){l._currentValue=n2.current,oe(n2)}function a2(l,c,p){for(;l!==null;){var g=l.alternate;if((l.childLanes&c)!==c?(l.childLanes|=c,g!==null&&(g.childLanes|=c)):g!==null&&(g.childLanes&c)!==c&&(g.childLanes|=c),l===p)break;l=l.return}}function i2(l,c,p,g){var x=l.child;for(x!==null&&(x.return=l);x!==null;){var w=x.dependencies;if(w!==null){var D=x.child;w=w.firstContext;e:for(;w!==null;){var q=w;w=x;for(var se=0;se<c.length;se++)if(q.context===c[se]){w.lanes|=p,q=w.alternate,q!==null&&(q.lanes|=p),a2(w.return,p,l),g||(D=null);break e}w=q.next}}else if(x.tag===18){if(D=x.return,D===null)throw Error(n(341));D.lanes|=p,w=D.alternate,w!==null&&(w.lanes|=p),a2(D,p,l),D=null}else D=x.child;if(D!==null)D.return=x;else for(D=x;D!==null;){if(D===l){D=null;break}if(x=D.sibling,x!==null){x.return=D.return,D=x;break}D=D.return}x=D}}function cc(l,c,p,g){l=null;for(var x=c,w=!1;x!==null;){if(!w){if((x.flags&524288)!==0)w=!0;else if((x.flags&262144)!==0)break}if(x.tag===10){var D=x.alternate;if(D===null)throw Error(n(387));if(D=D.memoizedProps,D!==null){var q=x.type;xa(x.pendingProps.value,D.value)||(l!==null?l.push(q):l=[q])}}else if(x===Re.current){if(D=x.alternate,D===null)throw Error(n(387));D.memoizedState.memoizedState!==x.memoizedState.memoizedState&&(l!==null?l.push(Z0):l=[Z0])}x=x.return}l!==null&&i2(c,l,p,g),c.flags|=262144}function Qp(l){for(l=l.firstContext;l!==null;){if(!xa(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Ll(l){Dl=l,Ao=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function En(l){return rC(Dl,l)}function Zp(l,c){return Dl===null&&Ll(l),rC(l,c)}function rC(l,c){var p=c._currentValue;if(c={context:c,memoizedValue:p,next:null},Ao===null){if(l===null)throw Error(n(308));Ao=c,l.dependencies={lanes:0,firstContext:c},l.flags|=524288}else Ao=Ao.next=c;return p}var XZ=typeof AbortController<"u"?AbortController:function(){var l=[],c=this.signal={aborted:!1,addEventListener:function(p,g){l.push(g)}};this.abort=function(){c.aborted=!0,l.forEach(function(p){return p()})}},QZ=e.unstable_scheduleCallback,ZZ=e.unstable_NormalPriority,Hr={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function o2(){return{controller:new XZ,data:new Map,refCount:0}}function A0(l){l.refCount--,l.refCount===0&&QZ(ZZ,function(){l.controller.abort()})}var C0=null,s2=0,fc=0,dc=null;function JZ(l,c){if(C0===null){var p=C0=[];s2=0,fc=cx(),dc={status:"pending",value:void 0,then:function(g){p.push(g)}}}return s2++,c.then(nC,nC),c}function nC(){if(--s2===0&&C0!==null){dc!==null&&(dc.status="fulfilled");var l=C0;C0=null,fc=0,dc=null;for(var c=0;c<l.length;c++)(0,l[c])()}}function eJ(l,c){var p=[],g={status:"pending",value:null,reason:null,then:function(x){p.push(x)}};return l.then(function(){g.status="fulfilled",g.value=c;for(var x=0;x<p.length;x++)(0,p[x])(c)},function(x){for(g.status="rejected",g.reason=x,x=0;x<p.length;x++)(0,p[x])(void 0)}),g}var aC=U.S;U.S=function(l,c){FO=zr(),typeof c=="object"&&c!==null&&typeof c.then=="function"&&JZ(l,c),aC!==null&&aC(l,c)};var jl=Y(null);function l2(){var l=jl.current;return l!==null?l:ar.pooledCache}function Jp(l,c){c===null?j(jl,jl.current):j(jl,c.pool)}function iC(){var l=l2();return l===null?null:{parent:Hr._currentValue,pool:l}}var hc=Error(n(460)),u2=Error(n(474)),em=Error(n(542)),tm={then:function(){}};function oC(l){return l=l.status,l==="fulfilled"||l==="rejected"}function sC(l,c,p){switch(p=l[p],p===void 0?l.push(c):p!==c&&(c.then(_o,_o),c=p),c.status){case"fulfilled":return c.value;case"rejected":throw l=c.reason,uC(l),l;default:if(typeof c.status=="string")c.then(_o,_o);else{if(l=ar,l!==null&&100<l.shellSuspendCounter)throw Error(n(482));l=c,l.status="pending",l.then(function(g){if(c.status==="pending"){var x=c;x.status="fulfilled",x.value=g}},function(g){if(c.status==="pending"){var x=c;x.status="rejected",x.reason=g}})}switch(c.status){case"fulfilled":return c.value;case"rejected":throw l=c.reason,uC(l),l}throw zl=c,hc}}function Bl(l){try{var c=l._init;return c(l._payload)}catch(p){throw p!==null&&typeof p=="object"&&typeof p.then=="function"?(zl=p,hc):p}}var zl=null;function lC(){if(zl===null)throw Error(n(459));var l=zl;return zl=null,l}function uC(l){if(l===hc||l===em)throw Error(n(483))}var pc=null,O0=0;function rm(l){var c=O0;return O0+=1,pc===null&&(pc=[]),sC(pc,l,c)}function k0(l,c){c=c.props.ref,l.ref=c!==void 0?c:null}function nm(l,c){throw c.$$typeof===m?Error(n(525)):(l=Object.prototype.toString.call(c),Error(n(31,l==="[object Object]"?"object with keys {"+Object.keys(c).join(", ")+"}":l)))}function cC(l){function c(fe,ue){if(l){var pe=fe.deletions;pe===null?(fe.deletions=[ue],fe.flags|=16):pe.push(ue)}}function p(fe,ue){if(!l)return null;for(;ue!==null;)c(fe,ue),ue=ue.sibling;return null}function g(fe){for(var ue=new Map;fe!==null;)fe.key!==null?ue.set(fe.key,fe):ue.set(fe.index,fe),fe=fe.sibling;return ue}function x(fe,ue){return fe=So(fe,ue),fe.index=0,fe.sibling=null,fe}function w(fe,ue,pe){return fe.index=pe,l?(pe=fe.alternate,pe!==null?(pe=pe.index,pe<ue?(fe.flags|=67108866,ue):pe):(fe.flags|=67108866,ue)):(fe.flags|=1048576,ue)}function D(fe){return l&&fe.alternate===null&&(fe.flags|=67108866),fe}function q(fe,ue,pe,Se){return ue===null||ue.tag!==6?(ue=Qb(pe,fe.mode,Se),ue.return=fe,ue):(ue=x(ue,pe),ue.return=fe,ue)}function se(fe,ue,pe,Se){var Ze=pe.type;return Ze===b?Ee(fe,ue,pe.props.children,Se,pe.key):ue!==null&&(ue.elementType===Ze||typeof Ze=="object"&&Ze!==null&&Ze.$$typeof===L&&Bl(Ze)===ue.type)?(ue=x(ue,pe.props),k0(ue,pe),ue.return=fe,ue):(ue=Kp(pe.type,pe.key,pe.props,null,fe.mode,Se),k0(ue,pe),ue.return=fe,ue)}function ge(fe,ue,pe,Se){return ue===null||ue.tag!==4||ue.stateNode.containerInfo!==pe.containerInfo||ue.stateNode.implementation!==pe.implementation?(ue=Zb(pe,fe.mode,Se),ue.return=fe,ue):(ue=x(ue,pe.children||[]),ue.return=fe,ue)}function Ee(fe,ue,pe,Se,Ze){return ue===null||ue.tag!==7?(ue=Pl(pe,fe.mode,Se,Ze),ue.return=fe,ue):(ue=x(ue,pe),ue.return=fe,ue)}function Ce(fe,ue,pe){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return ue=Qb(""+ue,fe.mode,pe),ue.return=fe,ue;if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case v:return pe=Kp(ue.type,ue.key,ue.props,null,fe.mode,pe),k0(pe,ue),pe.return=fe,pe;case y:return ue=Zb(ue,fe.mode,pe),ue.return=fe,ue;case L:return ue=Bl(ue),Ce(fe,ue,pe)}if(te(ue)||z(ue))return ue=Pl(ue,fe.mode,pe,null),ue.return=fe,ue;if(typeof ue.then=="function")return Ce(fe,rm(ue),pe);if(ue.$$typeof===C)return Ce(fe,Zp(fe,ue),pe);nm(fe,ue)}return null}function ve(fe,ue,pe,Se){var Ze=ue!==null?ue.key:null;if(typeof pe=="string"&&pe!==""||typeof pe=="number"||typeof pe=="bigint")return Ze!==null?null:q(fe,ue,""+pe,Se);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case v:return pe.key===Ze?se(fe,ue,pe,Se):null;case y:return pe.key===Ze?ge(fe,ue,pe,Se):null;case L:return pe=Bl(pe),ve(fe,ue,pe,Se)}if(te(pe)||z(pe))return Ze!==null?null:Ee(fe,ue,pe,Se,null);if(typeof pe.then=="function")return ve(fe,ue,rm(pe),Se);if(pe.$$typeof===C)return ve(fe,ue,Zp(fe,pe),Se);nm(fe,pe)}return null}function ye(fe,ue,pe,Se,Ze){if(typeof Se=="string"&&Se!==""||typeof Se=="number"||typeof Se=="bigint")return fe=fe.get(pe)||null,q(ue,fe,""+Se,Ze);if(typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case v:return fe=fe.get(Se.key===null?pe:Se.key)||null,se(ue,fe,Se,Ze);case y:return fe=fe.get(Se.key===null?pe:Se.key)||null,ge(ue,fe,Se,Ze);case L:return Se=Bl(Se),ye(fe,ue,pe,Se,Ze)}if(te(Se)||z(Se))return fe=fe.get(pe)||null,Ee(ue,fe,Se,Ze,null);if(typeof Se.then=="function")return ye(fe,ue,pe,rm(Se),Ze);if(Se.$$typeof===C)return ye(fe,ue,pe,Zp(ue,Se),Ze);nm(ue,Se)}return null}function Ge(fe,ue,pe,Se){for(var Ze=null,It=null,Xe=ue,ht=ue=0,At=null;Xe!==null&&ht<pe.length;ht++){Xe.index>ht?(At=Xe,Xe=null):At=Xe.sibling;var Dt=ve(fe,Xe,pe[ht],Se);if(Dt===null){Xe===null&&(Xe=At);break}l&&Xe&&Dt.alternate===null&&c(fe,Xe),ue=w(Dt,ue,ht),It===null?Ze=Dt:It.sibling=Dt,It=Dt,Xe=At}if(ht===pe.length)return p(fe,Xe),Ot&&To(fe,ht),Ze;if(Xe===null){for(;ht<pe.length;ht++)Xe=Ce(fe,pe[ht],Se),Xe!==null&&(ue=w(Xe,ue,ht),It===null?Ze=Xe:It.sibling=Xe,It=Xe);return Ot&&To(fe,ht),Ze}for(Xe=g(Xe);ht<pe.length;ht++)At=ye(Xe,fe,ht,pe[ht],Se),At!==null&&(l&&At.alternate!==null&&Xe.delete(At.key===null?ht:At.key),ue=w(At,ue,ht),It===null?Ze=At:It.sibling=At,It=At);return l&&Xe.forEach(function(Us){return c(fe,Us)}),Ot&&To(fe,ht),Ze}function at(fe,ue,pe,Se){if(pe==null)throw Error(n(151));for(var Ze=null,It=null,Xe=ue,ht=ue=0,At=null,Dt=pe.next();Xe!==null&&!Dt.done;ht++,Dt=pe.next()){Xe.index>ht?(At=Xe,Xe=null):At=Xe.sibling;var Us=ve(fe,Xe,Dt.value,Se);if(Us===null){Xe===null&&(Xe=At);break}l&&Xe&&Us.alternate===null&&c(fe,Xe),ue=w(Us,ue,ht),It===null?Ze=Us:It.sibling=Us,It=Us,Xe=At}if(Dt.done)return p(fe,Xe),Ot&&To(fe,ht),Ze;if(Xe===null){for(;!Dt.done;ht++,Dt=pe.next())Dt=Ce(fe,Dt.value,Se),Dt!==null&&(ue=w(Dt,ue,ht),It===null?Ze=Dt:It.sibling=Dt,It=Dt);return Ot&&To(fe,ht),Ze}for(Xe=g(Xe);!Dt.done;ht++,Dt=pe.next())Dt=ye(Xe,fe,ht,Dt.value,Se),Dt!==null&&(l&&Dt.alternate!==null&&Xe.delete(Dt.key===null?ht:Dt.key),ue=w(Dt,ue,ht),It===null?Ze=Dt:It.sibling=Dt,It=Dt);return l&&Xe.forEach(function(fee){return c(fe,fee)}),Ot&&To(fe,ht),Ze}function tr(fe,ue,pe,Se){if(typeof pe=="object"&&pe!==null&&pe.type===b&&pe.key===null&&(pe=pe.props.children),typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case v:e:{for(var Ze=pe.key;ue!==null;){if(ue.key===Ze){if(Ze=pe.type,Ze===b){if(ue.tag===7){p(fe,ue.sibling),Se=x(ue,pe.props.children),Se.return=fe,fe=Se;break e}}else if(ue.elementType===Ze||typeof Ze=="object"&&Ze!==null&&Ze.$$typeof===L&&Bl(Ze)===ue.type){p(fe,ue.sibling),Se=x(ue,pe.props),k0(Se,pe),Se.return=fe,fe=Se;break e}p(fe,ue);break}else c(fe,ue);ue=ue.sibling}pe.type===b?(Se=Pl(pe.props.children,fe.mode,Se,pe.key),Se.return=fe,fe=Se):(Se=Kp(pe.type,pe.key,pe.props,null,fe.mode,Se),k0(Se,pe),Se.return=fe,fe=Se)}return D(fe);case y:e:{for(Ze=pe.key;ue!==null;){if(ue.key===Ze)if(ue.tag===4&&ue.stateNode.containerInfo===pe.containerInfo&&ue.stateNode.implementation===pe.implementation){p(fe,ue.sibling),Se=x(ue,pe.children||[]),Se.return=fe,fe=Se;break e}else{p(fe,ue);break}else c(fe,ue);ue=ue.sibling}Se=Zb(pe,fe.mode,Se),Se.return=fe,fe=Se}return D(fe);case L:return pe=Bl(pe),tr(fe,ue,pe,Se)}if(te(pe))return Ge(fe,ue,pe,Se);if(z(pe)){if(Ze=z(pe),typeof Ze!="function")throw Error(n(150));return pe=Ze.call(pe),at(fe,ue,pe,Se)}if(typeof pe.then=="function")return tr(fe,ue,rm(pe),Se);if(pe.$$typeof===C)return tr(fe,ue,Zp(fe,pe),Se);nm(fe,pe)}
vendor: 5,022 bytes, line 49
49return typeof pe=="string"&&pe!==""||typeof pe=="number"||typeof pe=="bigint"?(pe=""+pe,ue!==null&&ue.tag===6?(p(fe,ue.sibling),Se=x(ue,pe),Se.return=fe,fe=Se):(p(fe,ue),Se=Qb(pe,fe.mode,Se),Se.return=fe,fe=Se),D(fe)):p(fe,ue)}return function(fe,ue,pe,Se){try{O0=0;var Ze=tr(fe,ue,pe,Se);return pc=null,Ze}catch(Xe){if(Xe===hc||Xe===em)throw Xe;var It=Ea(29,Xe,null,fe.mode);return It.lanes=Se,It.return=fe,It}finally{}}}var Hl=cC(!0),fC=cC(!1),As=!1;function c2(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function f2(l,c){l=l.updateQueue,c.updateQueue===l&&(c.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function Cs(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Os(l,c,p){var g=l.updateQueue;if(g===null)return null;if(g=g.shared,(Ft&2)!==0){var x=g.pending;return x===null?c.next=c:(c.next=x.next,x.next=c),g.pending=c,c=Wp(l),W7(l,null,p),c}return Yp(l,g,c,p),Wp(l)}function N0(l,c,p){if(c=c.updateQueue,c!==null&&(c=c.shared,(p&4194048)!==0)){var g=c.lanes;g&=l.pendingLanes,p|=g,c.lanes=p,Jn(l,p)}}function d2(l,c){var p=l.updateQueue,g=l.alternate;if(g!==null&&(g=g.updateQueue,p===g)){var x=null,w=null;if(p=p.firstBaseUpdate,p!==null){do{var D={lane:p.lane,tag:p.tag,payload:p.payload,callback:null,next:null};w===null?x=w=D:w=w.next=D,p=p.next}while(p!==null);w===null?x=w=c:w=w.next=c}else x=w=c;p={baseState:g.baseState,firstBaseUpdate:x,lastBaseUpdate:w,shared:g.shared,callbacks:g.callbacks},l.updateQueue=p;return}l=p.lastBaseUpdate,l===null?p.firstBaseUpdate=c:l.next=c,p.lastBaseUpdate=c}var h2=!1;function R0(){if(h2){var l=dc;if(l!==null)throw l}}function M0(l,c,p,g){h2=!1;var x=l.updateQueue;As=!1;var w=x.firstBaseUpdate,D=x.lastBaseUpdate,q=x.shared.pending;if(q!==null){x.shared.pending=null;var se=q,ge=se.next;se.next=null,D===null?w=ge:D.next=ge,D=se;var Ee=l.alternate;Ee!==null&&(Ee=Ee.updateQueue,q=Ee.lastBaseUpdate,q!==D&&(q===null?Ee.firstBaseUpdate=ge:q.next=ge,Ee.lastBaseUpdate=se))}if(w!==null){var Ce=x.baseState;D=0,Ee=ge=se=null,q=w;do{var ve=q.lane&-536870913,ye=ve!==q.lane;if(ye?(Tt&ve)===ve:(g&ve)===ve){ve!==0&&ve===fc&&(h2=!0),Ee!==null&&(Ee=Ee.next={lane:0,tag:q.tag,payload:q.payload,callback:null,next:null});e:{var Ge=l,at=q;ve=c;var tr=p;switch(at.tag){case 1:if(Ge=at.payload,typeof Ge=="function"){Ce=Ge.call(tr,Ce,ve);break e}Ce=Ge;break e;case 3:Ge.flags=Ge.flags&-65537|128;case 0:if(Ge=at.payload,ve=typeof Ge=="function"?Ge.call(tr,Ce,ve):Ge,ve==null)break e;Ce=d({},Ce,ve);break e;case 2:As=!0}}ve=q.callback,ve!==null&&(l.flags|=64,ye&&(l.flags|=8192),ye=x.callbacks,ye===null?x.callbacks=[ve]:ye.push(ve))}else ye={lane:ve,tag:q.tag,payload:q.payload,callback:q.callback,next:null},Ee===null?(ge=Ee=ye,se=Ce):Ee=Ee.next=ye,D|=ve;if(q=q.next,q===null){if(q=x.shared.pending,q===null)break;ye=q,q=ye.next,ye.next=null,x.lastBaseUpdate=ye,x.shared.pending=null}}while(!0);Ee===null&&(se=Ce),x.baseState=se,x.firstBaseUpdate=ge,x.lastBaseUpdate=Ee,w===null&&(x.shared.lanes=0),Ps|=D,l.lanes=D,l.memoizedState=Ce}}function dC(l,c){if(typeof l!="function")throw Error(n(191,l));l.call(c)}function hC(l,c){var p=l.callbacks;if(p!==null)for(l.callbacks=null,l=0;l<p.length;l++)dC(p[l],c)}var mc=Y(null),am=Y(0);function pC(l,c){l=Lo,j(am,l),j(mc,c),Lo=l|c.baseLanes}function p2(){j(am,Lo),j(mc,mc.current)}function m2(){Lo=am.current,oe(mc),oe(am)}var _a=Y(null),Ya=null;function ks(l){var c=l.alternate;j(Pr,Pr.current&1),j(_a,l),Ya===null&&(c===null||mc.current!==null||c.memoizedState!==null)&&(Ya=l)}function g2(l){j(Pr,Pr.current),j(_a,l),Ya===null&&(Ya=l)}function mC(l){l.tag===22?(j(Pr,Pr.current),j(_a,l),Ya===null&&(Ya=l)):Ns()}function Ns(){j(Pr,Pr.current),j(_a,_a.current)}function wa(l){oe(_a),Ya===l&&(Ya=null),oe(Pr)}var Pr=Y(0);function im(l){for(var c=l;c!==null;){if(c.tag===13){var p=c.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||_x(p)||wx(p)))return c}else if(c.tag===19&&(c.memoizedProps.revealOrder==="forwards"||c.memoizedProps.revealOrder==="backwards"||c.memoizedProps.revealOrder==="unstable_legacy-backwards"||c.memoizedProps.revealOrder==="together")){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===l)break;for(;c.sibling===null;){if(c.return===null||c.return===l)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}var Oo=0,ct=null,Jt=null,Fr=null,om=!1,gc=!1,Fl=!1,sm=0,P0=0,vc=null,tJ=0;function Tr(){throw Error(n(321))}function v2(l,c){if(c===null)return!1;for(var p=0;p<c.length&&p<l.length;p++)if(!xa(l[p],c[p]))return!1;return!0}function y2(l,c,p,g,x,w){return Oo=w,ct=c,c.memoizedState=null,c.updateQueue=null,c.lanes=0,U.H=l===null||l.memoizedState===null?ZC:P2,Fl=!1,w=p(g,x),Fl=!1,gc&&(w=vC(c,p,g,x)),gC(l),w}function gC(l){U.H=L0;var c=Jt!==null&&Jt.next!==null;if(Oo=0,Fr=Jt=ct=null,om=!1,P0=0,vc=null,c)throw Error(n(300));
vendor: 17,723 bytes, line 49
49l===null||$r||(l=l.dependencies,l!==null&&Qp(l)&&($r=!0))}function vC(l,c,p,g){ct=l;var x=0;do{if(gc&&(vc=null),P0=0,gc=!1,25<=x)throw Error(n(301));if(x+=1,Fr=Jt=null,l.updateQueue!=null){var w=l.updateQueue;w.lastEffect=null,w.events=null,w.stores=null,w.memoCache!=null&&(w.memoCache.index=0)}U.H=JC,w=c(p,g)}while(gc);return w}function rJ(){var l=U.H,c=l.useState()[0];return c=typeof c.then=="function"?I0(c):c,l=l.useState()[0],(Jt!==null?Jt.memoizedState:null)!==l&&(ct.flags|=1024),c}function b2(){var l=sm!==0;return sm=0,l}function x2(l,c,p){c.updateQueue=l.updateQueue,c.flags&=-2053,l.lanes&=~p}function E2(l){if(om){for(l=l.memoizedState;l!==null;){var c=l.queue;c!==null&&(c.pending=null),l=l.next}om=!1}Oo=0,Fr=Jt=ct=null,gc=!1,P0=sm=0,vc=null}function $n(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fr===null?ct.memoizedState=Fr=l:Fr=Fr.next=l,Fr}function Ir(){if(Jt===null){var l=ct.alternate;l=l!==null?l.memoizedState:null}else l=Jt.next;var c=Fr===null?ct.memoizedState:Fr.next;if(c!==null)Fr=c,Jt=l;else{if(l===null)throw ct.alternate===null?Error(n(467)):Error(n(310));Jt=l,l={memoizedState:Jt.memoizedState,baseState:Jt.baseState,baseQueue:Jt.baseQueue,queue:Jt.queue,next:null},Fr===null?ct.memoizedState=Fr=l:Fr=Fr.next=l}return Fr}function lm(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function I0(l){var c=P0;return P0+=1,vc===null&&(vc=[]),l=sC(vc,l,c),c=ct,(Fr===null?c.memoizedState:Fr.next)===null&&(c=c.alternate,U.H=c===null||c.memoizedState===null?ZC:P2),l}function um(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return I0(l);if(l.$$typeof===C)return En(l)}throw Error(n(438,String(l)))}function _2(l){var c=null,p=ct.updateQueue;if(p!==null&&(c=p.memoCache),c==null){var g=ct.alternate;g!==null&&(g=g.updateQueue,g!==null&&(g=g.memoCache,g!=null&&(c={data:g.data.map(function(x){return x.slice()}),index:0})))}if(c==null&&(c={data:[],index:0}),p===null&&(p=lm(),ct.updateQueue=p),p.memoCache=c,p=c.data[c.index],p===void 0)for(p=c.data[c.index]=Array(l),g=0;g<l;g++)p[g]=F;return c.index++,p}function ko(l,c){return typeof c=="function"?c(l):c}function cm(l){var c=Ir();return w2(c,Jt,l)}function w2(l,c,p){var g=l.queue;if(g===null)throw Error(n(311));g.lastRenderedReducer=p;var x=l.baseQueue,w=g.pending;if(w!==null){if(x!==null){var D=x.next;x.next=w.next,w.next=D}c.baseQueue=x=w,g.pending=null}if(w=l.baseState,x===null)l.memoizedState=w;else{c=x.next;var q=D=null,se=null,ge=c,Ee=!1;do{var Ce=ge.lane&-536870913;if(Ce!==ge.lane?(Tt&Ce)===Ce:(Oo&Ce)===Ce){var ve=ge.revertLane;if(ve===0)se!==null&&(se=se.next={lane:0,revertLane:0,gesture:null,action:ge.action,hasEagerState:ge.hasEagerState,eagerState:ge.eagerState,next:null}),Ce===fc&&(Ee=!0);else if((Oo&ve)===ve){ge=ge.next,ve===fc&&(Ee=!0);continue}else Ce={lane:0,revertLane:ge.revertLane,gesture:null,action:ge.action,hasEagerState:ge.hasEagerState,eagerState:ge.eagerState,next:null},se===null?(q=se=Ce,D=w):se=se.next=Ce,ct.lanes|=ve,Ps|=ve;Ce=ge.action,Fl&&p(w,Ce),w=ge.hasEagerState?ge.eagerState:p(w,Ce)}else ve={lane:Ce,revertLane:ge.revertLane,gesture:ge.gesture,action:ge.action,hasEagerState:ge.hasEagerState,eagerState:ge.eagerState,next:null},se===null?(q=se=ve,D=w):se=se.next=ve,ct.lanes|=Ce,Ps|=Ce;ge=ge.next}while(ge!==null&&ge!==c);if(se===null?D=w:se.next=q,!xa(w,l.memoizedState)&&($r=!0,Ee&&(p=dc,p!==null)))throw p;l.memoizedState=w,l.baseState=D,l.baseQueue=se,g.lastRenderedState=w}return x===null&&(g.lanes=0),[l.memoizedState,g.dispatch]}function S2(l){var c=Ir(),p=c.queue;if(p===null)throw Error(n(311));p.lastRenderedReducer=l;var g=p.dispatch,x=p.pending,w=c.memoizedState;if(x!==null){p.pending=null;var D=x=x.next;do w=l(w,D.action),D=D.next;while(D!==x);xa(w,c.memoizedState)||($r=!0),c.memoizedState=w,c.baseQueue===null&&(c.baseState=w),p.lastRenderedState=w}return[w,g]}function yC(l,c,p){var g=ct,x=Ir(),w=Ot;if(w){if(p===void 0)throw Error(n(407));p=p()}else p=c();var D=!xa((Jt||x).memoizedState,p);if(D&&(x.memoizedState=p,$r=!0),x=x.queue,C2(EC.bind(null,g,x,l),[l]),x.getSnapshot!==c||D||Fr!==null&&Fr.memoizedState.tag&1){if(g.flags|=2048,yc(9,{destroy:void 0},xC.bind(null,g,x,p,c),null),ar===null)throw Error(n(349));w||(Oo&127)!==0||bC(g,c,p)}return p}function bC(l,c,p){l.flags|=16384,l={getSnapshot:c,value:p},c=ct.updateQueue,c===null?(c=lm(),ct.updateQueue=c,c.stores=[l]):(p=c.stores,p===null?c.stores=[l]:p.push(l))}function xC(l,c,p,g){c.value=p,c.getSnapshot=g,_C(c)&&wC(l)}function EC(l,c,p){return p(function(){_C(c)&&wC(l)})}function _C(l){var c=l.getSnapshot;l=l.value;try{var p=c();return!xa(l,p)}catch{return!0}}function wC(l){var c=Ml(l,2);c!==null&&sa(c,l,2)}function T2(l){var c=$n();if(typeof l=="function"){var p=l;if(l=p(),Fl){yn(!0);try{p()}finally{yn(!1)}}}return c.memoizedState=c.baseState=l,c.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:l},c}function SC(l,c,p,g){return l.baseState=p,w2(l,Jt,typeof g=="function"?g:ko)}function nJ(l,c,p,g,x){if(hm(l))throw Error(n(485));if(l=c.action,l!==null){var w={payload:x,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(D){w.listeners.push(D)}};U.T!==null?p(!0):w.isTransition=!1,g(w),p=c.pending,p===null?(w.next=c.pending=w,TC(c,w)):(w.next=p.next,c.pending=p.next=w)}}function TC(l,c){var p=c.action,g=c.payload,x=l.state;if(c.isTransition){var w=U.T,D={};U.T=D;try{var q=p(x,g),se=U.S;se!==null&&se(D,q),AC(l,c,q)}catch(ge){A2(l,c,ge)}finally{w!==null&&D.types!==null&&(w.types=D.types),U.T=w}}else try{w=p(x,g),AC(l,c,w)}catch(ge){A2(l,c,ge)}}function AC(l,c,p){p!==null&&typeof p=="object"&&typeof p.then=="function"?p.then(function(g){CC(l,c,g)},function(g){return A2(l,c,g)}):CC(l,c,p)}function CC(l,c,p){c.status="fulfilled",c.value=p,OC(c),l.state=p,c=l.pending,c!==null&&(p=c.next,p===c?l.pending=null:(p=p.next,c.next=p,TC(l,p)))}function A2(l,c,p){var g=l.pending;if(l.pending=null,g!==null){g=g.next;do c.status="rejected",c.reason=p,OC(c),c=c.next;while(c!==g)}l.action=null}function OC(l){l=l.listeners;for(var c=0;c<l.length;c++)(0,l[c])()}function kC(l,c){return c}function NC(l,c){if(Ot){var p=ar.formState;if(p!==null){e:{var g=ct;if(Ot){if(hr){t:{for(var x=hr,w=Ga;x.nodeType!==8;){if(!w){x=null;break t}if(x=Wa(x.nextSibling),x===null){x=null;break t}}w=x.data,x=w==="F!"||w==="F"?x:null}if(x){hr=Wa(x.nextSibling),g=x.data==="F!";break e}}Ss(g)}g=!1}g&&(c=p[0])}}return p=$n(),p.memoizedState=p.baseState=c,g={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kC,lastRenderedState:c},p.queue=g,p=KC.bind(null,ct,g),g.dispatch=p,g=T2(!1),w=M2.bind(null,ct,!1,g.queue),g=$n(),x={state:c,dispatch:null,action:l,pending:null},g.queue=x,p=nJ.bind(null,ct,x,w,p),x.dispatch=p,g.memoizedState=l,[c,p,!1]}function RC(l){var c=Ir();return MC(c,Jt,l)}function MC(l,c,p){if(c=w2(l,c,kC)[0],l=cm(ko)[0],typeof c=="object"&&c!==null&&typeof c.then=="function")try{var g=I0(c)}catch(D){throw D===hc?em:D}else g=c;c=Ir();var x=c.queue,w=x.dispatch;return p!==c.memoizedState&&(ct.flags|=2048,yc(9,{destroy:void 0},aJ.bind(null,x,p),null)),[g,w,l]}function aJ(l,c){l.action=c}function PC(l){var c=Ir(),p=Jt;if(p!==null)return MC(c,p,l);Ir(),c=c.memoizedState,p=Ir();var g=p.queue.dispatch;return p.memoizedState=l,[c,g,!1]}function yc(l,c,p,g){return l={tag:l,create:p,deps:g,inst:c,next:null},c=ct.updateQueue,c===null&&(c=lm(),ct.updateQueue=c),p=c.lastEffect,p===null?c.lastEffect=l.next=l:(g=p.next,p.next=l,l.next=g,c.lastEffect=l),l}function IC(){return Ir().memoizedState}function fm(l,c,p,g){var x=$n();ct.flags|=l,x.memoizedState=yc(1|c,{destroy:void 0},p,g===void 0?null:g)}function dm(l,c,p,g){var x=Ir();g=g===void 0?null:g;var w=x.memoizedState.inst;Jt!==null&&g!==null&&v2(g,Jt.memoizedState.deps)?x.memoizedState=yc(c,w,p,g):(ct.flags|=l,x.memoizedState=yc(1|c,w,p,g))}function DC(l,c){fm(8390656,8,l,c)}function C2(l,c){dm(2048,8,l,c)}function iJ(l){ct.flags|=4;var c=ct.updateQueue;if(c===null)c=lm(),ct.updateQueue=c,c.events=[l];else{var p=c.events;p===null?c.events=[l]:p.push(l)}}function LC(l){var c=Ir().memoizedState;return iJ({ref:c,nextImpl:l}),function(){if((Ft&2)!==0)throw Error(n(440));return c.impl.apply(void 0,arguments)}}function jC(l,c){return dm(4,2,l,c)}function BC(l,c){return dm(4,4,l,c)}function zC(l,c){if(typeof c=="function"){l=l();var p=c(l);return function(){typeof p=="function"?p():c(null)}}if(c!=null)return l=l(),c.current=l,function(){c.current=null}}function HC(l,c,p){p=p!=null?p.concat([l]):null,dm(4,4,zC.bind(null,c,l),p)}function O2(){}function FC(l,c){var p=Ir();c=c===void 0?null:c;var g=p.memoizedState;return c!==null&&v2(c,g[1])?g[0]:(p.memoizedState=[l,c],l)}function $C(l,c){var p=Ir();c=c===void 0?null:c;var g=p.memoizedState;if(c!==null&&v2(c,g[1]))return g[0];if(g=l(),Fl){yn(!0);try{l()}finally{yn(!1)}}return p.memoizedState=[g,c],g}function k2(l,c,p){return p===void 0||(Oo&1073741824)!==0&&(Tt&261930)===0?l.memoizedState=c:(l.memoizedState=p,l=UO(),ct.lanes|=l,Ps|=l,p)}function UC(l,c,p,g){return xa(p,c)?p:mc.current!==null?(l=k2(l,p,g),xa(l,c)||($r=!0),l):(Oo&42)===0||(Oo&1073741824)!==0&&(Tt&261930)===0?($r=!0,l.memoizedState=p):(l=UO(),ct.lanes|=l,Ps|=l,c)}function qC(l,c,p,g,x){var w=J.p;J.p=w!==0&&8>w?w:8;var D=U.T,q={};U.T=q,M2(l,!1,c,p);try{var se=x(),ge=U.S;if(ge!==null&&ge(q,se),se!==null&&typeof se=="object"&&typeof se.then=="function"){var Ee=eJ(se,g);D0(l,c,Ee,Aa(l))}else D0(l,c,g,Aa(l))}catch(Ce){D0(l,c,{then:function(){},status:"rejected",reason:Ce},Aa())}finally{J.p=w,D!==null&&q.types!==null&&(D.types=q.types),U.T=D}}function oJ(){}function N2(l,c,p,g){if(l.tag!==5)throw Error(n(476));var x=VC(l).queue;qC(l,x,c,Z,p===null?oJ:function(){return GC(l),p(g)})}function VC(l){var c=l.memoizedState;if(c!==null)return c;c={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:Z},next:null};var p={};return c.next={memoizedState:p,baseState:p,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:p},next:null},l.memoizedState=c,l=l.alternate,l!==null&&(l.memoizedState=c),c}function GC(l){var c=VC(l);c.next===null&&(c=l.alternate.memoizedState),D0(l,c.next.queue,{},Aa())}function R2(){return En(Z0)}function YC(){return Ir().memoizedState}function WC(){return Ir().memoizedState}function sJ(l){for(var c=l.return;c!==null;){switch(c.tag){case 24:case 3:var p=Aa();l=Cs(p);var g=Os(c,l,p);g!==null&&(sa(g,c,p),N0(g,c,p)),c={cache:o2()},l.payload=c;return}c=c.return}}function lJ(l,c,p){var g=Aa();p={lane:g,revertLane:0,gesture:null,action:p,hasEagerState:!1,eagerState:null,next:null},hm(l)?XC(c,p):(p=Kb(l,c,p,g),p!==null&&(sa(p,l,g),QC(p,c,g)))}function KC(l,c,p){var g=Aa();D0(l,c,p,g)}function D0(l,c,p,g){var x={lane:g,revertLane:0,gesture:null,action:p,hasEagerState:!1,eagerState:null,next:null};if(hm(l))XC(c,x);else{var w=l.alternate;if(l.lanes===0&&(w===null||w.lanes===0)&&(w=c.lastRenderedReducer,w!==null))try{var D=c.lastRenderedState,q=w(D,p);if(x.hasEagerState=!0,x.eagerState=q,xa(q,D))return Yp(l,c,x,0),ar===null&&Gp(),!1}catch{}finally{}if(p=Kb(l,c,x,g),p!==null)return sa(p,l,g),QC(p,c,g),!0}return!1}function M2(l,c,p,g){if(g={lane:2,revertLane:cx(),gesture:null,action:g,hasEagerState:!1,eagerState:null,next:null},hm(l)){if(c)throw Error(n(479))}else c=Kb(l,p,g,2),c!==null&&sa(c,l,2)}function hm(l){var c=l.alternate;return l===ct||c!==null&&c===ct}function XC(l,c){gc=om=!0;var p=l.pending;p===null?c.next=c:(c.next=p.next,p.next=c),l.pending=c}function QC(l,c,p){if((p&4194048)!==0){var g=c.lanes;g&=l.pendingLanes,p|=g,c.lanes=p,Jn(l,p)}}var L0={readContext:En,use:um,useCallback:Tr,useContext:Tr,useEffect:Tr,useImperativeHandle:Tr,useLayoutEffect:Tr,useInsertionEffect:Tr,useMemo:Tr,useReducer:Tr,useRef:Tr,useState:Tr,useDebugValue:Tr,useDeferredValue:Tr,useTransition:Tr,useSyncExternalStore:Tr,useId:Tr,useHostTransitionStatus:Tr,useFormState:Tr,useActionState:Tr,useOptimistic:Tr,useMemoCache:Tr,useCacheRefresh:Tr};L0.useEffectEvent=Tr;var ZC={readContext:En,use:um,useCallback:function(l,c){return $n().memoizedState=[l,c===void 0?null:c],l},useContext:En,useEffect:DC,useImperativeHandle:function(l,c,p){p=p!=null?p.concat([l]):null,fm(4194308,4,zC.bind(null,c,l),p)},useLayoutEffect:function(l,c){return fm(4194308,4,l,c)},useInsertionEffect:function(l,c){fm(4,2,l,c)},useMemo:function(l,c){var p=$n();c=c===void 0?null:c;var g=l();if(Fl){yn(!0);try{l()}finally{yn(!1)}}return p.memoizedState=[g,c],g},useReducer:function(l,c,p){var g=$n();if(p!==void 0){var x=p(c);if(Fl){yn(!0);try{p(c)}finally{yn(!1)}}}else x=c;return g.memoizedState=g.baseState=x,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:x},g.queue=l,l=l.dispatch=lJ.bind(null,ct,l),[g.memoizedState,l]},useRef:function(l){var c=$n();return l={current:l},c.memoizedState=l},useState:function(l){l=T2(l);var c=l.queue,p=KC.bind(null,ct,c);return c.dispatch=p,[l.memoizedState,p]},useDebugValue:O2,useDeferredValue:function(l,c){var p=$n();return k2(p,l,c)},useTransition:function(){var l=T2(!1);return l=qC.bind(null,ct,l.queue,!0,!1),$n().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,c,p){var g=ct,x=$n();if(Ot){if(p===void 0)throw Error(n(407));p=p()}else{if(p=c(),ar===null)throw Error(n(349));(Tt&127)!==0||bC(g,c,p)}x.memoizedState=p;var w={value:p,getSnapshot:c};return x.queue=w,DC(EC.bind(null,g,w,l),[l]),g.flags|=2048,yc(9,{destroy:void 0},xC.bind(null,g,w,p,c),null),p},useId:function(){var l=$n(),c=ar.identifierPrefix;if(Ot){var p=Hi,g=zi;p=(g&~(1<<32-qt(g)-1)).toString(32)+p,c="_"+c+"R_"+p,p=sm++,0<p&&(c+="H"+p.toString(32)),c+="_"}else p=tJ++,c="_"+c+"r_"+p.toString(32)+"_";return l.memoizedState=c},useHostTransitionStatus:R2,useFormState:NC,useActionState:NC,useOptimistic:function(l){var c=$n();c.memoizedState=c.baseState=l;var p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return c.queue=p,c=M2.bind(null,ct,!0,p),p.dispatch=c,[l,c]},useMemoCache:_2,useCacheRefresh:function(){return $n().memoizedState=sJ.bind(null,ct)},useEffectEvent:function(l){var c=$n(),p={impl:l};return c.memoizedState=p,function(){if((Ft&2)!==0)throw Error(n(440));return p.impl.apply(void 0,arguments)}}},P2={readContext:En,use:um,useCallback:FC,useContext:En,useEffect:C2,useImperativeHandle:HC,useInsertionEffect:jC,useLayoutEffect:BC,useMemo:$C,useReducer:cm,useRef:IC,useState:function(){return cm(ko)},useDebugValue:O2,useDeferredValue:function(l,c){var p=Ir();return UC(p,Jt.memoizedState,l,c)},useTransition:function(){var l=cm(ko)[0],c=Ir().memoizedState;return[typeof l=="boolean"?l:I0(l),c]},useSyncExternalStore:yC,useId:YC,useHostTransitionStatus:R2,useFormState:RC,useActionState:RC,useOptimistic:function(l,c){var p=Ir();return SC(p,Jt,l,c)},useMemoCache:_2,useCacheRefresh:WC};P2.useEffectEvent=LC;var JC={readContext:En,use:um,useCallback:FC,useContext:En,useEffect:C2,useImperativeHandle:HC,useInsertionEffect:jC,useLayoutEffect:BC,useMemo:$C,useReducer:S2,useRef:IC,useState:function(){return S2(ko)},useDebugValue:O2,useDeferredValue:function(l,c){var p=Ir();return Jt===null?k2(p,l,c):UC(p,Jt.memoizedState,l,c)},useTransition:function(){var l=S2(ko)[0],c=Ir().memoizedState;return[typeof l=="boolean"?l:I0(l),c]},useSyncExternalStore:yC,useId:YC,useHostTransitionStatus:R2,useFormState:PC,useActionState:PC,useOptimistic:function(l,c){var p=Ir();return Jt!==null?SC(p,Jt,l,c):(p.baseState=l,[l,p.queue.dispatch])},useMemoCache:_2,useCacheRefresh:WC};JC.useEffectEvent=LC;function I2(l,c,p,g){c=l.memoizedState,p=p(g,c),p=p==null?c:d({},c,p),l.memoizedState=p,l.lanes===0&&(l.updateQueue.baseState=p)}var D2={enqueueSetState:function(l,c,p){l=l._reactInternals;var g=Aa(),x=Cs(g);x.payload=c,p!=null&&(x.callback=p),c=Os(l,x,g),c!==null&&(sa(c,l,g),N0(c,l,g))},enqueueReplaceState:function(l,c,p){l=l._reactInternals;var g=Aa(),x=Cs(g);x.tag=1,x.payload=c,p!=null&&(x.callback=p),c=Os(l,x,g),c!==null&&(sa(c,l,g),N0(c,l,g))},enqueueForceUpdate:function(l,c){l=l._reactInternals;var p=Aa(),g=Cs(p);g.tag=2,c!=null&&(g.callback=c),c=Os(l,g,p),c!==null&&(sa(c,l,p),N0(c,l,p))}};function eO(l,c,p,g,x,w,D){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(g,w,D):c.prototype&&c.prototype.isPureReactComponent?!_0(p,g)||!_0(x,w):!0}function tO(l,c,p,g){l=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(p,g),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(p,g),c.state!==l&&D2.enqueueReplaceState(c,c.state,null)}function $l(l,c){var p=c;if("ref"in c){p={};for(var g in c)g!=="ref"&&(p[g]=c[g])}if(l=l.defaultProps){p===c&&(p=d({},p));for(var x in l)p[x]===void 0&&(p[x]=l[x])}return p}function rO(l){Vp(l)}function nO(l){console.error(l)}function aO(l){Vp(l)}function pm(l,c){try{var p=l.onUncaughtError;p(c.value,{componentStack:c.stack})}catch(g){setTimeout(function(){throw g})}}function iO(l,c,p){try{var g=l.onCaughtError;g(p.value,{componentStack:p.stack,errorBoundary:c.tag===1?c.stateNode:null})}catch(x){setTimeout(function(){throw x})}}function L2(l,c,p){return p=Cs(p),p.tag=3,p.payload={element:null},p.callback=function(){pm(l,c)},p}function oO(l){return l=Cs(l),l.tag=3,l}function sO(l,c,p,g){var x=p.type.getDerivedStateFromError;if(typeof x=="function"){var w=g.value;l.payload=function(){return x(w)},l.callback=function(){iO(c,p,g)}}var D=p.stateNode;D!==null&&typeof D.componentDidCatch=="function"&&(l.callback=function(){iO(c,p,g),typeof x!="function"&&(Is===null?Is=new Set([this]):Is.add(this));var q=g.stack;this.componentDidCatch(g.value,{componentStack:q!==null?q:""})})}
vendor: 14,842 bytes, line 49
49function uJ(l,c,p,g,x){if(p.flags|=32768,g!==null&&typeof g=="object"&&typeof g.then=="function"){if(c=p.alternate,c!==null&&cc(c,p,x,!0),p=_a.current,p!==null){switch(p.tag){case 31:case 13:return Ya===null?Am():p.alternate===null&&Ar===0&&(Ar=3),p.flags&=-257,p.flags|=65536,p.lanes=x,g===tm?p.flags|=16384:(c=p.updateQueue,c===null?p.updateQueue=new Set([g]):c.add(g),sx(l,g,x)),!1;case 22:return p.flags|=65536,g===tm?p.flags|=16384:(c=p.updateQueue,c===null?(c={transitions:null,markerInstances:null,retryQueue:new Set([g])},p.updateQueue=c):(p=c.retryQueue,p===null?c.retryQueue=new Set([g]):p.add(g)),sx(l,g,x)),!1}throw Error(n(435,p.tag))}return sx(l,g,x),Am(),!1}if(Ot)return c=_a.current,c!==null?((c.flags&65536)===0&&(c.flags|=256),c.flags|=65536,c.lanes=x,g!==t2&&(l=Error(n(422),{cause:g}),T0(Ua(l,p)))):(g!==t2&&(c=Error(n(423),{cause:g}),T0(Ua(c,p))),l=l.current.alternate,l.flags|=65536,x&=-x,l.lanes|=x,g=Ua(g,p),x=L2(l.stateNode,g,x),d2(l,x),Ar!==4&&(Ar=2)),!1;var w=Error(n(520),{cause:g});if(w=Ua(w,p),q0===null?q0=[w]:q0.push(w),Ar!==4&&(Ar=2),c===null)return!0;g=Ua(g,p),p=c;do{switch(p.tag){case 3:return p.flags|=65536,l=x&-x,p.lanes|=l,l=L2(p.stateNode,g,l),d2(p,l),!1;case 1:if(c=p.type,w=p.stateNode,(p.flags&128)===0&&(typeof c.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Is===null||!Is.has(w))))return p.flags|=65536,x&=-x,p.lanes|=x,x=oO(x),sO(x,l,p,g),d2(p,x),!1}p=p.return}while(p!==null);return!1}var j2=Error(n(461)),$r=!1;function _n(l,c,p,g){c.child=l===null?fC(c,null,p,g):Hl(c,l.child,p,g)}function lO(l,c,p,g,x){p=p.render;var w=c.ref;if("ref"in g){var D={};for(var q in g)q!=="ref"&&(D[q]=g[q])}else D=g;return Ll(c),g=y2(l,c,p,D,w,x),q=b2(),l!==null&&!$r?(x2(l,c,x),No(l,c,x)):(Ot&&q&&Jb(c),c.flags|=1,_n(l,c,g,x),c.child)}function uO(l,c,p,g,x){if(l===null){var w=p.type;return typeof w=="function"&&!Xb(w)&&w.defaultProps===void 0&&p.compare===null?(c.tag=15,c.type=w,cO(l,c,w,g,x)):(l=Kp(p.type,null,g,c,c.mode,x),l.ref=c.ref,l.return=c,c.child=l)}if(w=l.child,!V2(l,x)){var D=w.memoizedProps;if(p=p.compare,p=p!==null?p:_0,p(D,g)&&l.ref===c.ref)return No(l,c,x)}return c.flags|=1,l=So(w,g),l.ref=c.ref,l.return=c,c.child=l}function cO(l,c,p,g,x){if(l!==null){var w=l.memoizedProps;if(_0(w,g)&&l.ref===c.ref)if($r=!1,c.pendingProps=g=w,V2(l,x))(l.flags&131072)!==0&&($r=!0);else return c.lanes=l.lanes,No(l,c,x)}return B2(l,c,p,g,x)}function fO(l,c,p,g){var x=g.children,w=l!==null?l.memoizedState:null;if(l===null&&c.stateNode===null&&(c.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),g.mode==="hidden"){if((c.flags&128)!==0){if(w=w!==null?w.baseLanes|p:p,l!==null){for(g=c.child=l.child,x=0;g!==null;)x=x|g.lanes|g.childLanes,g=g.sibling;g=x&~w}else g=0,c.child=null;return dO(l,c,w,p,g)}if((p&536870912)!==0)c.memoizedState={baseLanes:0,cachePool:null},l!==null&&Jp(c,w!==null?w.cachePool:null),w!==null?pC(c,w):p2(),mC(c);else return g=c.lanes=536870912,dO(l,c,w!==null?w.baseLanes|p:p,p,g)}else w!==null?(Jp(c,w.cachePool),pC(c,w),Ns(),c.memoizedState=null):(l!==null&&Jp(c,null),p2(),Ns());return _n(l,c,x,p),c.child}function j0(l,c){return l!==null&&l.tag===22||c.stateNode!==null||(c.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.sibling}function dO(l,c,p,g,x){var w=l2();return w=w===null?null:{parent:Hr._currentValue,pool:w},c.memoizedState={baseLanes:p,cachePool:w},l!==null&&Jp(c,null),p2(),mC(c),l!==null&&cc(l,c,g,!0),c.childLanes=x,null}function mm(l,c){return c=vm({mode:c.mode,children:c.children},l.mode),c.ref=l.ref,l.child=c,c.return=l,c}function hO(l,c,p){return Hl(c,l.child,null,p),l=mm(c,c.pendingProps),l.flags|=2,wa(c),c.memoizedState=null,l}function cJ(l,c,p){var g=c.pendingProps,x=(c.flags&128)!==0;if(c.flags&=-129,l===null){if(Ot){if(g.mode==="hidden")return l=mm(c,g),c.lanes=536870912,j0(null,l);if(g2(c),(l=hr)?(l=T9(l,Ga),l=l!==null&&l.data==="&"?l:null,l!==null&&(c.memoizedState={dehydrated:l,treeContext:_s!==null?{id:zi,overflow:Hi}:null,retryLane:536870912,hydrationErrors:null},p=X7(l),p.return=c,c.child=p,xn=c,hr=null)):l=null,l===null)throw Ss(c);return c.lanes=536870912,null}return mm(c,g)}var w=l.memoizedState;if(w!==null){var D=w.dehydrated;if(g2(c),x)if(c.flags&256)c.flags&=-257,c=hO(l,c,p);else if(c.memoizedState!==null)c.child=l.child,c.flags|=128,c=null;else throw Error(n(558));else if($r||cc(l,c,p,!1),x=(p&l.childLanes)!==0,$r||x){if(g=ar,g!==null&&(D=ea(g,p),D!==0&&D!==w.retryLane))throw w.retryLane=D,Ml(l,D),sa(g,l,D),j2;Am(),c=hO(l,c,p)}else l=w.treeContext,hr=Wa(D.nextSibling),xn=c,Ot=!0,ws=null,Ga=!1,l!==null&&J7(c,l),c=mm(c,g),c.flags|=4096;return c}return l=So(l.child,{mode:g.mode,children:g.children}),l.ref=c.ref,c.child=l,l.return=c,l}function gm(l,c){var p=c.ref;if(p===null)l!==null&&l.ref!==null&&(c.flags|=4194816);else{if(typeof p!="function"&&typeof p!="object")throw Error(n(284));(l===null||l.ref!==p)&&(c.flags|=4194816)}}function B2(l,c,p,g,x){return Ll(c),p=y2(l,c,p,g,void 0,x),g=b2(),l!==null&&!$r?(x2(l,c,x),No(l,c,x)):(Ot&&g&&Jb(c),c.flags|=1,_n(l,c,p,x),c.child)}function pO(l,c,p,g,x,w){return Ll(c),c.updateQueue=null,p=vC(c,g,p,x),gC(l),g=b2(),l!==null&&!$r?(x2(l,c,w),No(l,c,w)):(Ot&&g&&Jb(c),c.flags|=1,_n(l,c,p,w),c.child)}function mO(l,c,p,g,x){if(Ll(c),c.stateNode===null){var w=oc,D=p.contextType;typeof D=="object"&&D!==null&&(w=En(D)),w=new p(g,w),c.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,w.updater=D2,c.stateNode=w,w._reactInternals=c,w=c.stateNode,w.props=g,w.state=c.memoizedState,w.refs={},c2(c),D=p.contextType,w.context=typeof D=="object"&&D!==null?En(D):oc,w.state=c.memoizedState,D=p.getDerivedStateFromProps,typeof D=="function"&&(I2(c,p,D,g),w.state=c.memoizedState),typeof p.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(D=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),D!==w.state&&D2.enqueueReplaceState(w,w.state,null),M0(c,g,w,x),R0(),w.state=c.memoizedState),typeof w.componentDidMount=="function"&&(c.flags|=4194308),g=!0}else if(l===null){w=c.stateNode;var q=c.memoizedProps,se=$l(p,q);w.props=se;var ge=w.context,Ee=p.contextType;D=oc,typeof Ee=="object"&&Ee!==null&&(D=En(Ee));var Ce=p.getDerivedStateFromProps;Ee=typeof Ce=="function"||typeof w.getSnapshotBeforeUpdate=="function",q=c.pendingProps!==q,Ee||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(q||ge!==D)&&tO(c,w,g,D),As=!1;var ve=c.memoizedState;w.state=ve,M0(c,g,w,x),R0(),ge=c.memoizedState,q||ve!==ge||As?(typeof Ce=="function"&&(I2(c,p,Ce,g),ge=c.memoizedState),(se=As||eO(c,p,se,g,ve,ge,D))?(Ee||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(c.flags|=4194308)):(typeof w.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=g,c.memoizedState=ge),w.props=g,w.state=ge,w.context=D,g=se):(typeof w.componentDidMount=="function"&&(c.flags|=4194308),g=!1)}else{w=c.stateNode,f2(l,c),D=c.memoizedProps,Ee=$l(p,D),w.props=Ee,Ce=c.pendingProps,ve=w.context,ge=p.contextType,se=oc,typeof ge=="object"&&ge!==null&&(se=En(ge)),q=p.getDerivedStateFromProps,(ge=typeof q=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(D!==Ce||ve!==se)&&tO(c,w,g,se),As=!1,ve=c.memoizedState,w.state=ve,M0(c,g,w,x),R0();var ye=c.memoizedState;D!==Ce||ve!==ye||As||l!==null&&l.dependencies!==null&&Qp(l.dependencies)?(typeof q=="function"&&(I2(c,p,q,g),ye=c.memoizedState),(Ee=As||eO(c,p,Ee,g,ve,ye,se)||l!==null&&l.dependencies!==null&&Qp(l.dependencies))?(ge||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(g,ye,se),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(g,ye,se)),typeof w.componentDidUpdate=="function"&&(c.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof w.componentDidUpdate!="function"||D===l.memoizedProps&&ve===l.memoizedState||(c.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||D===l.memoizedProps&&ve===l.memoizedState||(c.flags|=1024),c.memoizedProps=g,c.memoizedState=ye),w.props=g,w.state=ye,w.context=se,g=Ee):(typeof w.componentDidUpdate!="function"||D===l.memoizedProps&&ve===l.memoizedState||(c.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||D===l.memoizedProps&&ve===l.memoizedState||(c.flags|=1024),g=!1)}return w=g,gm(l,c),g=(c.flags&128)!==0,w||g?(w=c.stateNode,p=g&&typeof p.getDerivedStateFromError!="function"?null:w.render(),c.flags|=1,l!==null&&g?(c.child=Hl(c,l.child,null,x),c.child=Hl(c,null,p,x)):_n(l,c,p,x),c.memoizedState=w.state,l=c.child):l=No(l,c,x),l}function gO(l,c,p,g){return Il(),c.flags|=256,_n(l,c,p,g),c.child}var z2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function H2(l){return{baseLanes:l,cachePool:iC()}}function F2(l,c,p){return l=l!==null?l.childLanes&~p:0,c&&(l|=Ta),l}function vO(l,c,p){var g=c.pendingProps,x=!1,w=(c.flags&128)!==0,D;if((D=w)||(D=l!==null&&l.memoizedState===null?!1:(Pr.current&2)!==0),D&&(x=!0,c.flags&=-129),D=(c.flags&32)!==0,c.flags&=-33,l===null){if(Ot){if(x?ks(c):Ns(),(l=hr)?(l=T9(l,Ga),l=l!==null&&l.data!=="&"?l:null,l!==null&&(c.memoizedState={dehydrated:l,treeContext:_s!==null?{id:zi,overflow:Hi}:null,retryLane:536870912,hydrationErrors:null},p=X7(l),p.return=c,c.child=p,xn=c,hr=null)):l=null,l===null)throw Ss(c);return wx(l)?c.lanes=32:c.lanes=536870912,null}var q=g.children;return g=g.fallback,x?(Ns(),x=c.mode,q=vm({mode:"hidden",children:q},x),g=Pl(g,x,p,null),q.return=c,g.return=c,q.sibling=g,c.child=q,g=c.child,g.memoizedState=H2(p),g.childLanes=F2(l,D,p),c.memoizedState=z2,j0(null,g)):(ks(c),$2(c,q))}var se=l.memoizedState;if(se!==null&&(q=se.dehydrated,q!==null)){if(w)c.flags&256?(ks(c),c.flags&=-257,c=U2(l,c,p)):c.memoizedState!==null?(Ns(),c.child=l.child,c.flags|=128,c=null):(Ns(),q=g.fallback,x=c.mode,g=vm({mode:"visible",children:g.children},x),q=Pl(q,x,p,null),q.flags|=2,g.return=c,q.return=c,g.sibling=q,c.child=g,Hl(c,l.child,null,p),g=c.child,g.memoizedState=H2(p),g.childLanes=F2(l,D,p),c.memoizedState=z2,c=j0(null,g));else if(ks(c),wx(q)){if(D=q.nextSibling&&q.nextSibling.dataset,D)var ge=D.dgst;D=ge,g=Error(n(419)),g.stack="",g.digest=D,T0({value:g,source:null,stack:null}),c=U2(l,c,p)}else if($r||cc(l,c,p,!1),D=(p&l.childLanes)!==0,$r||D){if(D=ar,D!==null&&(g=ea(D,p),g!==0&&g!==se.retryLane))throw se.retryLane=g,Ml(l,g),sa(D,l,g),j2;_x(q)||Am(),c=U2(l,c,p)}else _x(q)?(c.flags|=192,c.child=l.child,c=null):(l=se.treeContext,hr=Wa(q.nextSibling),xn=c,Ot=!0,ws=null,Ga=!1,l!==null&&J7(c,l),c=$2(c,g.children),c.flags|=4096);return c}return x?(Ns(),q=g.fallback,x=c.mode,se=l.child,ge=se.sibling,g=So(se,{mode:"hidden",children:g.children}),g.subtreeFlags=se.subtreeFlags&65011712,ge!==null?q=So(ge,q):(q=Pl(q,x,p,null),q.flags|=2),q.return=c,g.return=c,g.sibling=q,c.child=g,j0(null,g),g=c.child,q=l.child.memoizedState,q===null?q=H2(p):(x=q.cachePool,x!==null?(se=Hr._currentValue,x=x.parent!==se?{parent:se,pool:se}:x):x=iC(),q={baseLanes:q.baseLanes|p,cachePool:x}),g.memoizedState=q,g.childLanes=F2(l,D,p),c.memoizedState=z2,j0(l.child,g)):(ks(c),p=l.child,l=p.sibling,p=So(p,{mode:"visible",children:g.children}),p.return=c,p.sibling=null,l!==null&&(D=c.deletions,D===null?(c.deletions=[l],c.flags|=16):D.push(l)),c.child=p,c.memoizedState=null,p)}function $2(l,c){return c=vm({mode:"visible",children:c},l.mode),c.return=l,l.child=c}function vm(l,c){return l=Ea(22,l,null,c),l.lanes=0,l}function U2(l,c,p){return Hl(c,l.child,null,p),l=$2(c,c.pendingProps.children),l.flags|=2,c.memoizedState=null,l}function yO(l,c,p){l.lanes|=c;var g=l.alternate;g!==null&&(g.lanes|=c),a2(l.return,c,p)}function q2(l,c,p,g,x,w){var D=l.memoizedState;D===null?l.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:g,tail:p,tailMode:x,treeForkCount:w}:(D.isBackwards=c,D.rendering=null,D.renderingStartTime=0,D.last=g,D.tail=p,D.tailMode=x,D.treeForkCount=w)}function bO(l,c,p){var g=c.pendingProps,x=g.revealOrder,w=g.tail;g=g.children;var D=Pr.current,q=(D&2)!==0;if(q?(D=D&1|2,c.flags|=128):D&=1,j(Pr,D),_n(l,c,g,p),g=Ot?S0:0,!q&&l!==null&&(l.flags&128)!==0)e:for(l=c.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&yO(l,p,c);else if(l.tag===19)yO(l,p,c);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===c)break e;for(;l.sibling===null;){if(l.return===null||l.return===c)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(x){case"forwards":for(p=c.child,x=null;p!==null;)l=p.alternate,l!==null&&im(l)===null&&(x=p),p=p.sibling;p=x,p===null?(x=c.child,c.child=null):(x=p.sibling,p.sibling=null),q2(c,!1,x,p,w,g);break;case"backwards":case"unstable_legacy-backwards":for(p=null,x=c.child,c.child=null;x!==null;){if(l=x.alternate,l!==null&&im(l)===null){c.child=x;break}l=x.sibling,x.sibling=p,p=x,x=l}q2(c,!0,p,null,w,g);break;case"together":q2(c,!1,null,null,void 0,g);break;default:c.memoizedState=null}return c.child}function No(l,c,p){if(l!==null&&(c.dependencies=l.dependencies),Ps|=c.lanes,(p&c.childLanes)===0)if(l!==null){if(cc(l,c,p,!1),(p&c.childLanes)===0)return null}else return null;if(l!==null&&c.child!==l.child)throw Error(n(153));if(c.child!==null){for(l=c.child,p=So(l,l.pendingProps),c.child=p,p.return=c;l.sibling!==null;)l=l.sibling,p=p.sibling=So(l,l.pendingProps),p.return=c;p.sibling=null}return c.child}function V2(l,c){return(l.lanes&c)!==0?!0:(l=l.dependencies,!!(l!==null&&Qp(l)))}function fJ(l,c,p){switch(c.tag){case 3:He(c,c.stateNode.containerInfo),Ts(c,Hr,l.memoizedState.cache),Il();break;case 27:case 5:Ue(c);break;case 4:He(c,c.stateNode.containerInfo);break;case 10:Ts(c,c.type,c.memoizedProps.value);break;case 31:if(c.memoizedState!==null)return c.flags|=128,g2(c),null;break;case 13:var g=c.memoizedState;if(g!==null)return g.dehydrated!==null?(ks(c),c.flags|=128,null):(p&c.child.childLanes)!==0?vO(l,c,p):(ks(c),l=No(l,c,p),l!==null?l.sibling:null);ks(c);break;case 19:var x=(l.flags&128)!==0;if(g=(p&c.childLanes)!==0,g||(cc(l,c,p,!1),g=(p&c.childLanes)!==0),x){if(g)return bO(l,c,p);c.flags|=128}if(x=c.memoizedState,x!==null&&(x.rendering=null,x.tail=null,x.lastEffect=null),j(Pr,Pr.current),g)break;return null;case 22:return c.lanes=0,fO(l,c,p,c.pendingProps);case 24:Ts(c,Hr,l.memoizedState.cache)}return No(l,c,p)}
vendor: 3,341 bytes, line 49
49function xO(l,c,p){if(l!==null)if(l.memoizedProps!==c.pendingProps)$r=!0;else{if(!V2(l,p)&&(c.flags&128)===0)return $r=!1,fJ(l,c,p);$r=(l.flags&131072)!==0}else $r=!1,Ot&&(c.flags&1048576)!==0&&Z7(c,S0,c.index);switch(c.lanes=0,c.tag){case 16:e:{var g=c.pendingProps;if(l=Bl(c.elementType),c.type=l,typeof l=="function")Xb(l)?(g=$l(l,g),c.tag=1,c=mO(null,c,l,g,p)):(c.tag=0,c=B2(null,c,l,g,p));else{if(l!=null){var x=l.$$typeof;if(x===P){c.tag=11,c=lO(null,c,l,g,p);break e}else if(x===M){c.tag=14,c=uO(null,c,l,g,p);break e}}throw c=K(l)||l,Error(n(306,c,""))}}return c;case 0:return B2(l,c,c.type,c.pendingProps,p);case 1:return g=c.type,x=$l(g,c.pendingProps),mO(l,c,g,x,p);case 3:e:{if(He(c,c.stateNode.containerInfo),l===null)throw Error(n(387));g=c.pendingProps;var w=c.memoizedState;x=w.element,f2(l,c),M0(c,g,null,p);var D=c.memoizedState;if(g=D.cache,Ts(c,Hr,g),g!==w.cache&&i2(c,[Hr],p,!0),R0(),g=D.element,w.isDehydrated)if(w={element:g,isDehydrated:!1,cache:D.cache},c.updateQueue.baseState=w,c.memoizedState=w,c.flags&256){c=gO(l,c,g,p);break e}else if(g!==x){x=Ua(Error(n(424)),c),T0(x),c=gO(l,c,g,p);break e}else{switch(l=c.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(hr=Wa(l.firstChild),xn=c,Ot=!0,ws=null,Ga=!0,p=fC(c,null,g,p),c.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling}else{if(Il(),g===x){c=No(l,c,p);break e}_n(l,c,g,p)}c=c.child}return c;case 26:return gm(l,c),l===null?(p=R9(c.type,null,c.pendingProps,null))?c.memoizedState=p:Ot||(p=c.type,l=c.pendingProps,g=Pm(Oe.current).createElement(p),g[bn]=c,g[ta]=l,wn(g,p,l),ln(g),c.stateNode=g):c.memoizedState=R9(c.type,l.memoizedProps,c.pendingProps,l.memoizedState),null;case 27:return Ue(c),l===null&&Ot&&(g=c.stateNode=O9(c.type,c.pendingProps,Oe.current),xn=c,Ga=!0,x=hr,Bs(c.type)?(Sx=x,hr=Wa(g.firstChild)):hr=x),_n(l,c,c.pendingProps.children,p),gm(l,c),l===null&&(c.flags|=4194304),c.child;case 5:return l===null&&Ot&&((x=g=hr)&&(g=FJ(g,c.type,c.pendingProps,Ga),g!==null?(c.stateNode=g,xn=c,hr=Wa(g.firstChild),Ga=!1,x=!0):x=!1),x||Ss(c)),Ue(c),x=c.type,w=c.pendingProps,D=l!==null?l.memoizedProps:null,g=w.children,bx(x,w)?g=null:D!==null&&bx(x,D)&&(c.flags|=32),c.memoizedState!==null&&(x=y2(l,c,rJ,null,null,p),Z0._currentValue=x),gm(l,c),_n(l,c,g,p),c.child;case 6:return l===null&&Ot&&((l=p=hr)&&(p=$J(p,c.pendingProps,Ga),p!==null?(c.stateNode=p,xn=c,hr=null,l=!0):l=!1),l||Ss(c)),null;case 13:return vO(l,c,p);case 4:return He(c,c.stateNode.containerInfo),g=c.pendingProps,l===null?c.child=Hl(c,null,g,p):_n(l,c,g,p),c.child;case 11:return lO(l,c,c.type,c.pendingProps,p);case 7:return _n(l,c,c.pendingProps,p),c.child;case 8:return _n(l,c,c.pendingProps.children,p),c.child;case 12:return _n(l,c,c.pendingProps.children,p),c.child;case 10:return g=c.pendingProps,Ts(c,c.type,g.value),_n(l,c,g.children,p),c.child;case 9:return x=c.type._context,g=c.pendingProps.children,Ll(c),x=En(x),g=g(x),c.flags|=1,_n(l,c,g,p),c.child;case 14:return uO(l,c,c.type,c.pendingProps,p);case 15:return cO(l,c,c.type,c.pendingProps,p);case 19:return bO(l,c,p);case 31:return cJ(l,c,p);case 22:return fO(l,c,p,c.pendingProps);case 24:return Ll(c),g=En(Hr),l===null?(x=l2(),x===null&&(x=ar,w=o2(),x.pooledCache=w,w.refCount++,w!==null&&(x.pooledCacheLanes|=p),x=w),c.memoizedState={parent:g,cache:x}
vendor: 4,563 bytes, line 49
49,c2(c),Ts(c,Hr,x)):((l.lanes&p)!==0&&(f2(l,c),M0(c,null,null,p),R0()),x=l.memoizedState,w=c.memoizedState,x.parent!==g?(x={parent:g,cache:g},c.memoizedState=x,c.lanes===0&&(c.memoizedState=c.updateQueue.baseState=x),Ts(c,Hr,g)):(g=w.cache,Ts(c,Hr,g),g!==x.cache&&i2(c,[Hr],p,!0))),_n(l,c,c.pendingProps.children,p),c.child;case 29:throw c.pendingProps}throw Error(n(156,c.tag))}function Ro(l){l.flags|=4}function G2(l,c,p,g,x){if((c=(l.mode&32)!==0)&&(c=!1),c){if(l.flags|=16777216,(x&335544128)===x)if(l.stateNode.complete)l.flags|=8192;else if(YO())l.flags|=8192;else throw zl=tm,u2}else l.flags&=-16777217}function EO(l,c){if(c.type!=="stylesheet"||(c.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!L9(c))if(YO())l.flags|=8192;else throw zl=tm,u2}function ym(l,c){c!==null&&(l.flags|=4),l.flags&16384&&(c=l.tag!==22?kn():536870912,l.lanes|=c,_c|=c)}function B0(l,c){if(!Ot)switch(l.tailMode){case"hidden":c=l.tail;for(var p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?l.tail=null:p.sibling=null;break;case"collapsed":p=l.tail;for(var g=null;p!==null;)p.alternate!==null&&(g=p),p=p.sibling;g===null?c||l.tail===null?l.tail=null:l.tail.sibling=null:g.sibling=null}}function pr(l){var c=l.alternate!==null&&l.alternate.child===l.child,p=0,g=0;if(c)for(var x=l.child;x!==null;)p|=x.lanes|x.childLanes,g|=x.subtreeFlags&65011712,g|=x.flags&65011712,x.return=l,x=x.sibling;else for(x=l.child;x!==null;)p|=x.lanes|x.childLanes,g|=x.subtreeFlags,g|=x.flags,x.return=l,x=x.sibling;return l.subtreeFlags|=g,l.childLanes=p,c}function dJ(l,c,p){var g=c.pendingProps;switch(e2(c),c.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pr(c),null;case 1:return pr(c),null;case 3:return p=c.stateNode,g=null,l!==null&&(g=l.memoizedState.cache),c.memoizedState.cache!==g&&(c.flags|=2048),Co(Hr),Te(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),(l===null||l.child===null)&&(uc(c)?Ro(c):l===null||l.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,r2())),pr(c),null;case 26:var x=c.type,w=c.memoizedState;return l===null?(Ro(c),w!==null?(pr(c),EO(c,w)):(pr(c),G2(c,x,null,g,p))):w?w!==l.memoizedState?(Ro(c),pr(c),EO(c,w)):(pr(c),c.flags&=-16777217):(l=l.memoizedProps,l!==g&&Ro(c),pr(c),G2(c,x,l,g,p)),null;case 27:if(Ke(c),p=Oe.current,x=c.type,l!==null&&c.stateNode!=null)l.memoizedProps!==g&&Ro(c);else{if(!g){if(c.stateNode===null)throw Error(n(166));return pr(c),null}l=de.current,uc(c)?eC(c):(l=O9(x,g,p),c.stateNode=l,Ro(c))}return pr(c),null;case 5:if(Ke(c),x=c.type,l!==null&&c.stateNode!=null)l.memoizedProps!==g&&Ro(c);else{if(!g){if(c.stateNode===null)throw Error(n(166));return pr(c),null}if(w=de.current,uc(c))eC(c);else{var D=Pm(Oe.current);switch(w){case 1:w=D.createElementNS("http://www.w3.org/2000/svg",x);break;case 2:w=D.createElementNS("http://www.w3.org/1998/Math/MathML",x);break;default:switch(x){case"svg":w=D.createElementNS("http://www.w3.org/2000/svg",x);break;case"math":w=D.createElementNS("http://www.w3.org/1998/Math/MathML",x);break;case"script":w=D.createElement("div"),w.innerHTML="<script><\/script>",w=w.removeChild(w.firstChild);break;case"select":w=typeof g.is=="string"?D.createElement("select",{is:g.is}):D.createElement("select"),g.multiple?w.multiple=!0:g.size&&(w.size=g.size);break;default:w=typeof g.is=="string"?D.createElement(x,{is:g.is}):D.createElement(x)}}w[bn]=c,w[ta]=g;e:for(D=c.child;D!==null;){if(D.tag===5||D.tag===6)w.appendChild(D.stateNode);else if(D.tag!==4&&D.tag!==27&&D.child!==null){D.child.return=D,D=D.child;continue}if(D===c)break e;for(;D.sibling===null;){if(D.return===null||D.return===c)break e;D=D.return}D.sibling.return=D.return,D=D.sibling}c.stateNode=w;e:switch(wn(w,x,g),x){case"button":case"input":case"select":case"textarea":g=!!g.autoFocus;break e;case"img":g=!0;break e;default:g=!1}g&&Ro(c)}}return pr(c),G2(c,c.type,l===null?null:l.memoizedProps,c.pendingProps,p),null;case 6:if(l&&c.stateNode!=null)l.memoizedProps!==g&&Ro(c);else{if(typeof g!="string"&&c.stateNode===null)throw Error(n(166));if(l=Oe.current,uc(c)){if(l=c.stateNode,p=c.memoizedProps,g=null,x=xn,x!==null)switch(x.tag){case 27:case 5:g=x.memoizedProps}l[bn]=c,l=!!(l.nodeValue===p||g!==null&&g.suppressHydrationWarning===!0||v9(l.nodeValue,p)),l||Ss(c,!0)}else l=Pm(l).createTextNode(g),l[bn]=c,c.stateNode=l}return pr(c),null;case 31:if(p=c.memoizedState,l===null||l.memoizedState!==null){if(g=uc(c),p!==null){if(l===null){if(!g)throw Error(n(318));if(l=c.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(n(557)
vendor: 20,840 bytes, line 49
49);l[bn]=c}else Il(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;pr(c),l=!1}else p=r2(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=p),l=!0;if(!l)return c.flags&256?(wa(c),c):(wa(c),null);if((c.flags&128)!==0)throw Error(n(558))}return pr(c),null;case 13:if(g=c.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(x=uc(c),g!==null&&g.dehydrated!==null){if(l===null){if(!x)throw Error(n(318));if(x=c.memoizedState,x=x!==null?x.dehydrated:null,!x)throw Error(n(317));x[bn]=c}else Il(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;pr(c),x=!1}else x=r2(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=x),x=!0;if(!x)return c.flags&256?(wa(c),c):(wa(c),null)}return wa(c),(c.flags&128)!==0?(c.lanes=p,c):(p=g!==null,l=l!==null&&l.memoizedState!==null,p&&(g=c.child,x=null,g.alternate!==null&&g.alternate.memoizedState!==null&&g.alternate.memoizedState.cachePool!==null&&(x=g.alternate.memoizedState.cachePool.pool),w=null,g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(w=g.memoizedState.cachePool.pool),w!==x&&(g.flags|=2048)),p!==l&&p&&(c.child.flags|=8192),ym(c,c.updateQueue),pr(c),null);case 4:return Te(),l===null&&px(c.stateNode.containerInfo),pr(c),null;case 10:return Co(c.type),pr(c),null;case 19:if(oe(Pr),g=c.memoizedState,g===null)return pr(c),null;if(x=(c.flags&128)!==0,w=g.rendering,w===null)if(x)B0(g,!1);else{if(Ar!==0||l!==null&&(l.flags&128)!==0)for(l=c.child;l!==null;){if(w=im(l),w!==null){for(c.flags|=128,B0(g,!1),l=w.updateQueue,c.updateQueue=l,ym(c,l),c.subtreeFlags=0,l=p,p=c.child;p!==null;)K7(p,l),p=p.sibling;return j(Pr,Pr.current&1|2),Ot&&To(c,g.treeForkCount),c.child}l=l.sibling}g.tail!==null&&zr()>wm&&(c.flags|=128,x=!0,B0(g,!1),c.lanes=4194304)}else{if(!x)if(l=im(w),l!==null){if(c.flags|=128,x=!0,l=l.updateQueue,c.updateQueue=l,ym(c,l),B0(g,!0),g.tail===null&&g.tailMode==="hidden"&&!w.alternate&&!Ot)return pr(c),null}else 2*zr()-g.renderingStartTime>wm&&p!==536870912&&(c.flags|=128,x=!0,B0(g,!1),c.lanes=4194304);g.isBackwards?(w.sibling=c.child,c.child=w):(l=g.last,l!==null?l.sibling=w:c.child=w,g.last=w)}return g.tail!==null?(l=g.tail,g.rendering=l,g.tail=l.sibling,g.renderingStartTime=zr(),l.sibling=null,p=Pr.current,j(Pr,x?p&1|2:p&1),Ot&&To(c,g.treeForkCount),l):(pr(c),null);case 22:case 23:return wa(c),m2(),g=c.memoizedState!==null,l!==null?l.memoizedState!==null!==g&&(c.flags|=8192):g&&(c.flags|=8192),g?(p&536870912)!==0&&(c.flags&128)===0&&(pr(c),c.subtreeFlags&6&&(c.flags|=8192)):pr(c),p=c.updateQueue,p!==null&&ym(c,p.retryQueue),p=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(p=l.memoizedState.cachePool.pool),g=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(g=c.memoizedState.cachePool.pool),g!==p&&(c.flags|=2048),l!==null&&oe(jl),null;case 24:return p=null,l!==null&&(p=l.memoizedState.cache),c.memoizedState.cache!==p&&(c.flags|=2048),Co(Hr),pr(c),null;case 25:return null;case 30:return null}throw Error(n(156,c.tag))}function hJ(l,c){switch(e2(c),c.tag){case 1:return l=c.flags,l&65536?(c.flags=l&-65537|128,c):null;case 3:return Co(Hr),Te(),l=c.flags,(l&65536)!==0&&(l&128)===0?(c.flags=l&-65537|128,c):null;case 26:case 27:case 5:return Ke(c),null;case 31:if(c.memoizedState!==null){if(wa(c),c.alternate===null)throw Error(n(340));Il()}return l=c.flags,l&65536?(c.flags=l&-65537|128,c):null;case 13:if(wa(c),l=c.memoizedState,l!==null&&l.dehydrated!==null){if(c.alternate===null)throw Error(n(340));Il()}return l=c.flags,l&65536?(c.flags=l&-65537|128,c):null;case 19:return oe(Pr),null;case 4:return Te(),null;case 10:return Co(c.type),null;case 22:case 23:return wa(c),m2(),l!==null&&oe(jl),l=c.flags,l&65536?(c.flags=l&-65537|128,c):null;case 24:return Co(Hr),null;case 25:return null;default:return null}}function _O(l,c){switch(e2(c),c.tag){case 3:Co(Hr),Te();break;case 26:case 27:case 5:Ke(c);break;case 4:Te();break;case 31:c.memoizedState!==null&&wa(c);break;case 13:wa(c);break;case 19:oe(Pr);break;case 10:Co(c.type);break;case 22:case 23:wa(c),m2(),l!==null&&oe(jl);break;case 24:Co(Hr)}}function z0(l,c){try{var p=c.updateQueue,g=p!==null?p.lastEffect:null;if(g!==null){var x=g.next;p=x;do{if((p.tag&l)===l){g=void 0;var w=p.create,D=p.inst;g=w(),D.destroy=g}p=p.next}while(p!==x)}}catch(q){Qt(c,c.return,q)}}function Rs(l,c,p){try{var g=c.updateQueue,x=g!==null?g.lastEffect:null;if(x!==null){var w=x.next;g=w;do{if((g.tag&l)===l){var D=g.inst,q=D.destroy;if(q!==void 0){D.destroy=void 0,x=c;var se=p,ge=q;try{ge()}catch(Ee){Qt(x,se,Ee)}}}g=g.next}while(g!==w)}}catch(Ee){Qt(c,c.return,Ee)}}function wO(l){var c=l.updateQueue;if(c!==null){var p=l.stateNode;try{hC(c,p)}catch(g){Qt(l,l.return,g)}}}function SO(l,c,p){p.props=$l(l.type,l.memoizedProps),p.state=l.memoizedState;try{p.componentWillUnmount()}catch(g){Qt(l,c,g)}}function H0(l,c){try{var p=l.ref;if(p!==null){switch(l.tag){case 26:case 27:case 5:var g=l.stateNode;break;case 30:g=l.stateNode;break;default:g=l.stateNode}typeof p=="function"?l.refCleanup=p(g):p.current=g}}catch(x){Qt(l,c,x)}}function Fi(l,c){var p=l.ref,g=l.refCleanup;if(p!==null)if(typeof g=="function")try{g()}catch(x){Qt(l,c,x)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof p=="function")try{p(null)}catch(x){Qt(l,c,x)}else p.current=null}function TO(l){var c=l.type,p=l.memoizedProps,g=l.stateNode;try{e:switch(c){case"button":case"input":case"select":case"textarea":p.autoFocus&&g.focus();break e;case"img":p.src?g.src=p.src:p.srcSet&&(g.srcset=p.srcSet)}}catch(x){Qt(l,l.return,x)}}function Y2(l,c,p){try{var g=l.stateNode;DJ(g,l.type,p,c),g[ta]=c}catch(x){Qt(l,l.return,x)}}function AO(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&Bs(l.type)||l.tag===4}function W2(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||AO(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&Bs(l.type)||l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function K2(l,c,p){var g=l.tag;if(g===5||g===6)l=l.stateNode,c?(p.nodeType===9?p.body:p.nodeName==="HTML"?p.ownerDocument.body:p).insertBefore(l,c):(c=p.nodeType===9?p.body:p.nodeName==="HTML"?p.ownerDocument.body:p,c.appendChild(l),p=p._reactRootContainer,p!=null||c.onclick!==null||(c.onclick=_o));else if(g!==4&&(g===27&&Bs(l.type)&&(p=l.stateNode,c=null),l=l.child,l!==null))for(K2(l,c,p),l=l.sibling;l!==null;)K2(l,c,p),l=l.sibling}function bm(l,c,p){var g=l.tag;if(g===5||g===6)l=l.stateNode,c?p.insertBefore(l,c):p.appendChild(l);else if(g!==4&&(g===27&&Bs(l.type)&&(p=l.stateNode),l=l.child,l!==null))for(bm(l,c,p),l=l.sibling;l!==null;)bm(l,c,p),l=l.sibling}function CO(l){var c=l.stateNode,p=l.memoizedProps;try{for(var g=l.type,x=c.attributes;x.length;)c.removeAttributeNode(x[0]);wn(c,g,p),c[bn]=l,c[ta]=p}catch(w){Qt(l,l.return,w)}}var Mo=!1,Ur=!1,X2=!1,OO=typeof WeakSet=="function"?WeakSet:Set,un=null;function pJ(l,c){if(l=l.containerInfo,vx=Hm,l=H7(l),Ub(l)){if("selectionStart"in l)var p={start:l.selectionStart,end:l.selectionEnd};else e:{p=(p=l.ownerDocument)&&p.defaultView||window;var g=p.getSelection&&p.getSelection();if(g&&g.rangeCount!==0){p=g.anchorNode;var x=g.anchorOffset,w=g.focusNode;g=g.focusOffset;try{p.nodeType,w.nodeType}catch{p=null;break e}var D=0,q=-1,se=-1,ge=0,Ee=0,Ce=l,ve=null;t:for(;;){for(var ye;Ce!==p||x!==0&&Ce.nodeType!==3||(q=D+x),Ce!==w||g!==0&&Ce.nodeType!==3||(se=D+g),Ce.nodeType===3&&(D+=Ce.nodeValue.length),(ye=Ce.firstChild)!==null;)ve=Ce,Ce=ye;for(;;){if(Ce===l)break t;if(ve===p&&++ge===x&&(q=D),ve===w&&++Ee===g&&(se=D),(ye=Ce.nextSibling)!==null)break;Ce=ve,ve=Ce.parentNode}Ce=ye}p=q===-1||se===-1?null:{start:q,end:se}}else p=null}p=p||{start:0,end:0}}else p=null;for(yx={focusedElem:l,selectionRange:p},Hm=!1,un=c;un!==null;)if(c=un,l=c.child,(c.subtreeFlags&1028)!==0&&l!==null)l.return=c,un=l;else for(;un!==null;){switch(c=un,w=c.alternate,l=c.flags,c.tag){case 0:if((l&4)!==0&&(l=c.updateQueue,l=l!==null?l.events:null,l!==null))for(p=0;p<l.length;p++)x=l[p],x.ref.impl=x.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&w!==null){l=void 0,p=c,x=w.memoizedProps,w=w.memoizedState,g=p.stateNode;try{var Ge=$l(p.type,x);l=g.getSnapshotBeforeUpdate(Ge,w),g.__reactInternalSnapshotBeforeUpdate=l}catch(at){Qt(p,p.return,at)}}break;case 3:if((l&1024)!==0){if(l=c.stateNode.containerInfo,p=l.nodeType,p===9)Ex(l);else if(p===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Ex(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(n(163))}if(l=c.sibling,l!==null){l.return=c.return,un=l;break}un=c.return}}function kO(l,c,p){var g=p.flags;switch(p.tag){case 0:case 11:case 15:Io(l,p),g&4&&z0(5,p);break;case 1:if(Io(l,p),g&4)if(l=p.stateNode,c===null)try{l.componentDidMount()}catch(D){Qt(p,p.return,D)}else{var x=$l(p.type,c.memoizedProps);c=c.memoizedState;try{l.componentDidUpdate(x,c,l.__reactInternalSnapshotBeforeUpdate)}catch(D){Qt(p,p.return,D)}}g&64&&wO(p),g&512&&H0(p,p.return);break;case 3:if(Io(l,p),g&64&&(l=p.updateQueue,l!==null)){if(c=null,p.child!==null)switch(p.child.tag){case 27:case 5:c=p.child.stateNode;break;case 1:c=p.child.stateNode}try{hC(l,c)}catch(D){Qt(p,p.return,D)}}break;case 27:c===null&&g&4&&CO(p);case 26:case 5:Io(l,p),c===null&&g&4&&TO(p),g&512&&H0(p,p.return);break;case 12:Io(l,p);break;case 31:Io(l,p),g&4&&MO(l,p);break;case 13:Io(l,p),g&4&&PO(l,p),g&64&&(l=p.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(p=wJ.bind(null,p),UJ(l,p))));break;case 22:if(g=p.memoizedState!==null||Mo,!g){c=c!==null&&c.memoizedState!==null||Ur,x=Mo;var w=Ur;Mo=g,(Ur=c)&&!w?Do(l,p,(p.subtreeFlags&8772)!==0):Io(l,p),Mo=x,Ur=w}break;case 30:break;default:Io(l,p)}}function NO(l){var c=l.alternate;c!==null&&(l.alternate=null,NO(c)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(c=l.stateNode,c!==null&&Ab(c)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var yr=null,na=!1;function Po(l,c,p){for(p=p.child;p!==null;)RO(l,c,p),p=p.sibling}function RO(l,c,p){if(Mr&&typeof Mr.onCommitFiberUnmount=="function")try{Mr.onCommitFiberUnmount(vn,p)}catch{}switch(p.tag){case 26:Ur||Fi(p,c),Po(l,c,p),p.memoizedState?p.memoizedState.count--:p.stateNode&&(p=p.stateNode,p.parentNode.removeChild(p));break;case 27:Ur||Fi(p,c);var g=yr,x=na;Bs(p.type)&&(yr=p.stateNode,na=!1),Po(l,c,p),K0(p.stateNode),yr=g,na=x;break;case 5:Ur||Fi(p,c);case 6:if(g=yr,x=na,yr=null,Po(l,c,p),yr=g,na=x,yr!==null)if(na)try{(yr.nodeType===9?yr.body:yr.nodeName==="HTML"?yr.ownerDocument.body:yr).removeChild(p.stateNode)}catch(w){Qt(p,c,w)}else try{yr.removeChild(p.stateNode)}catch(w){Qt(p,c,w)}break;case 18:yr!==null&&(na?(l=yr,w9(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,p.stateNode),Nc(l)):w9(yr,p.stateNode));break;case 4:g=yr,x=na,yr=p.stateNode.containerInfo,na=!0,Po(l,c,p),yr=g,na=x;break;case 0:case 11:case 14:case 15:Rs(2,p,c),Ur||Rs(4,p,c),Po(l,c,p);break;case 1:Ur||(Fi(p,c),g=p.stateNode,typeof g.componentWillUnmount=="function"&&SO(p,c,g)),Po(l,c,p);break;case 21:Po(l,c,p);break;case 22:Ur=(g=Ur)||p.memoizedState!==null,Po(l,c,p),Ur=g;break;default:Po(l,c,p)}}function MO(l,c){if(c.memoizedState===null&&(l=c.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Nc(l)}catch(p){Qt(c,c.return,p)}}}function PO(l,c){if(c.memoizedState===null&&(l=c.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Nc(l)}catch(p){Qt(c,c.return,p)}}function mJ(l){switch(l.tag){case 31:case 13:case 19:var c=l.stateNode;return c===null&&(c=l.stateNode=new OO),c;case 22:return l=l.stateNode,c=l._retryCache,c===null&&(c=l._retryCache=new OO),c;default:throw Error(n(435,l.tag))}}function xm(l,c){var p=mJ(l);c.forEach(function(g){if(!p.has(g)){p.add(g);var x=SJ.bind(null,l,g);g.then(x,x)}})}function aa(l,c){var p=c.deletions;if(p!==null)for(var g=0;g<p.length;g++){var x=p[g],w=l,D=c,q=D;e:for(;q!==null;){switch(q.tag){case 27:if(Bs(q.type)){yr=q.stateNode,na=!1;break e}break;case 5:yr=q.stateNode,na=!1;break e;case 3:case 4:yr=q.stateNode.containerInfo,na=!0;break e}q=q.return}if(yr===null)throw Error(n(160));RO(w,D,x),yr=null,na=!1,w=x.alternate,w!==null&&(w.return=null),x.return=null}if(c.subtreeFlags&13886)for(c=c.child;c!==null;)IO(c,l),c=c.sibling}var bi=null;function IO(l,c){var p=l.alternate,g=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:aa(c,l),ia(l),g&4&&(Rs(3,l,l.return),z0(3,l),Rs(5,l,l.return));break;case 1:aa(c,l),ia(l),g&512&&(Ur||p===null||Fi(p,p.return)),g&64&&Mo&&(l=l.updateQueue,l!==null&&(g=l.callbacks,g!==null&&(p=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=p===null?g:p.concat(g))));break;case 26:var x=bi;if(aa(c,l),ia(l),g&512&&(Ur||p===null||Fi(p,p.return)),g&4){var w=p!==null?p.memoizedState:null;if(g=l.memoizedState,p===null)if(g===null)if(l.stateNode===null){e:{g=l.type,p=l.memoizedProps,x=x.ownerDocument||x;t:switch(g){case"title":w=x.getElementsByTagName("title")[0],(!w||w[h0]||w[bn]||w.namespaceURI==="http://www.w3.org/2000/svg"||w.hasAttribute("itemprop"))&&(w=x.createElement(g),x.head.insertBefore(w,x.querySelector("head > title"))),wn(w,g,p),w[bn]=l,ln(w),g=w;break e;case"link":var D=I9("link","href",x).get(g+(p.href||""));if(D){for(var q=0;q<D.length;q++)if(w=D[q],w.getAttribute("href")===(p.href==null||p.href===""?null:p.href)&&w.getAttribute("rel")===(p.rel==null?null:p.rel)&&w.getAttribute("title")===(p.title==null?null:p.title)&&w.getAttribute("crossorigin")===(p.crossOrigin==null?null:p.crossOrigin)){D.splice(q,1);break t}}w=x.createElement(g),wn(w,g,p),x.head.appendChild(w);break;case"meta":if(D=I9("meta","content",x).get(g+(p.content||""))){for(q=0;q<D.length;q++)if(w=D[q],w.getAttribute("content")===(p.content==null?null:""+p.content)&&w.getAttribute("name")===(p.name==null?null:p.name)&&w.getAttribute("property")===(p.property==null?null:p.property)&&w.getAttribute("http-equiv")===(p.httpEquiv==null?null:p.httpEquiv)&&w.getAttribute("charset")===(p.charSet==null?null:p.charSet)){D.splice(q,1);break t}}w=x.createElement(g),wn(w,g,p),x.head.appendChild(w);break;default:throw Error(n(468,g))}w[bn]=l,ln(w),g=w}l.stateNode=g}else D9(x,l.type,l.stateNode);else l.stateNode=P9(x,g,l.memoizedProps);else w!==g?(w===null?p.stateNode!==null&&(p=p.stateNode,p.parentNode.removeChild(p)):w.count--,g===null?D9(x,l.type,l.stateNode):P9(x,g,l.memoizedProps)):g===null&&l.stateNode!==null&&Y2(l,l.memoizedProps,p.memoizedProps)}break;case 27:aa(c,l),ia(l),g&512&&(Ur||p===null||Fi(p,p.return)),p!==null&&g&4&&Y2(l,l.memoizedProps,p.memoizedProps);break;case 5:if(aa(c,l),ia(l),g&512&&(Ur||p===null||Fi(p,p.return)),l.flags&32){x=l.stateNode;try{Ju(x,"")}catch(Ge){Qt(l,l.return,Ge)}}g&4&&l.stateNode!=null&&(x=l.memoizedProps,Y2(l,x,p!==null?p.memoizedProps:x)),g&1024&&(X2=!0);break;case 6:if(aa(c,l),ia(l),g&4){if(l.stateNode===null)throw Error(n(162));g=l.memoizedProps,p=l.stateNode;try{p.nodeValue=g}catch(Ge){Qt(l,l.return,Ge)}}break;case 3:if(Lm=null,x=bi,bi=Im(c.containerInfo),aa(c,l),bi=x,ia(l),g&4&&p!==null&&p.memoizedState.isDehydrated)try{Nc(c.containerInfo)}catch(Ge){Qt(l,l.return,Ge)}X2&&(X2=!1,DO(l));break;case 4:g=bi,bi=Im(l.stateNode.containerInfo),aa(c,l),ia(l),bi=g;break;case 12:aa(c,l),ia(l);break;case 31:aa(c,l),ia(l),g&4&&(g=l.updateQueue,g!==null&&(l.updateQueue=null,xm(l,g)));break;case 13:aa(c,l),ia(l),l.child.flags&8192&&l.memoizedState!==null!=(p!==null&&p.memoizedState!==null)&&(_m=zr()),g&4&&(g=l.updateQueue,g!==null&&(l.updateQueue=null,xm(l,g)));break;case 22:x=l.memoizedState!==null;var se=p!==null&&p.memoizedState!==null,ge=Mo,Ee=Ur;if(Mo=ge||x,Ur=Ee||se,aa(c,l),Ur=Ee,Mo=ge,ia(l),g&8192)e:for(c=l.stateNode,c._visibility=x?c._visibility&-2:c._visibility|1,x&&(p===null||se||Mo||Ur||Ul(l)),p=null,c=l;;){if(c.tag===5||c.tag===26){if(p===null){se=p=c;try{if(w=se.stateNode,x)D=w.style,typeof D.setProperty=="function"?D.setProperty("display","none","important"):D.display="none";else{q=se.stateNode;var Ce=se.memoizedProps.style,ve=Ce!=null&&Ce.hasOwnProperty("display")?Ce.display:null;q.style.display=ve==null||typeof ve=="boolean"?"":(""+ve).trim()}}catch(Ge){Qt(se,se.return,Ge)}}}else if(c.tag===6){if(p===null){se=c;try{se.stateNode.nodeValue=x?"":se.memoizedProps}catch(Ge){Qt(se,se.return,Ge)}}}else if(c.tag===18){if(p===null){se=c;try{var ye=se.stateNode;x?S9(ye,!0):S9(se.stateNode,!1)}catch(Ge){Qt(se,se.return,Ge)}}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===l)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===l)break e;for(;c.sibling===null;){if(c.return===null||c.return===l)break e;p===c&&(p=null),c=c.return}p===c&&(p=null),c.sibling.return=c.return,c=c.sibling}g&4&&(g=l.updateQueue,g!==null&&(p=g.retryQueue,p!==null&&(g.retryQueue=null,xm(l,p))));break;case 19:aa(c,l),ia(l),g&4&&(g=l.updateQueue,g!==null&&(l.updateQueue=null,xm(l,g)));break;case 30:break;case 21:break;default:aa(c,l),ia(l)}}function ia(l){var c=l.flags;if(c&2){try{for(var p,g=l.return;g!==null;){if(AO(g)){p=g;break}g=g.return}if(p==null)throw Error(n(160));switch(p.tag){case 27:var x=p.stateNode,w=W2(l);bm(l,w,x);break;case 5:var D=p.stateNode;p.flags&32&&(Ju(D,""),p.flags&=-33);var q=W2(l);bm(l,q,D);break;case 3:case 4:var se=p.stateNode.containerInfo,ge=W2(l);K2(l,ge,se);break;default:throw Error(n(161))}}catch(Ee){Qt(l,l.return,Ee)}l.flags&=-3}c&4096&&(l.flags&=-4097)}function DO(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var c=l;DO(c),c.tag===5&&c.flags&1024&&c.stateNode.reset(),l=l.sibling}}function Io(l,c){if(c.subtreeFlags&8772)for(c=c.child;c!==null;)kO(l,c.alternate,c),c=c.sibling}function Ul(l){for(l=l.child;l!==null;){var c=l;switch(c.tag){case 0:case 11:case 14:case 15:Rs(4,c,c.return),Ul(c);break;case 1:Fi(c,c.return);var p=c.stateNode;typeof p.componentWillUnmount=="function"&&SO(c,c.return,p),Ul(c);break;case 27:K0(c.stateNode);case 26:case 5:Fi(c,c.return),Ul(c);break;case 22:c.memoizedState===null&&Ul(c);break;case 30:Ul(c);break;default:Ul(c)}l=l.sibling}}function Do(l,c,p){for(p=p&&(c.subtreeFlags&8772)!==0,c=c.child;c!==null;){var g=c.alternate,x=l,w=c,D=w.flags;switch(w.tag){case 0:case 11:case 15:Do(x,w,p),z0(4,w);break;case 1:if(Do(x,w,p),g=w,x=g.stateNode,typeof x.componentDidMount=="function")try{x.componentDidMount()}catch(ge){Qt(g,g.return,ge)}if(g=w,x=g.updateQueue,x!==null){var q=g.stateNode;try{var se=x.shared.hiddenCallbacks;if(se!==null)for(x.shared.hiddenCallbacks=null,x=0;x<se.length;x++)dC(se[x],q)}catch(ge){Qt(g,g.return,ge)}}p&&D&64&&wO(w),H0(w,w.return);break;case 27:CO(w);case 26:case 5:Do(x,w,p),p&&g===null&&D&4&&TO(w),H0(w,w.return);break;case 12:Do(x,w,p);break;case 31:Do(x,w,p),p&&D&4&&MO(x,w);break;case 13:Do(x,w,p),p&&D&4&&PO(x,w);break;case 22:w.memoizedState===null&&Do(x,w,p),H0(w,w.return);break;case 30:break;default:Do(x,w,p)}c=c.sibling}}function Q2(l,c){var p=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(p=l.memoizedState.cachePool.pool),l=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(l=c.memoizedState.cachePool.pool),l!==p&&(l!=null&&l.refCount++,p!=null&&A0(p))}function Z2(l,c){l=null,c.alternate!==null&&(l=c.alternate.memoizedState.cache),c=c.memoizedState.cache,c!==l&&(c.refCount++,l!=null&&A0(l))}function xi(l,c,p,g){if(c.subtreeFlags&10256)for(c=c.child;c!==null;)LO(l,c,p,g),c=c.sibling}function LO(l,c,p,g){var x=c.flags;switch(c.tag){case 0:case 11:case 15:xi(l,c,p,g),x&2048&&z0(9,c);break;case 1:xi(l,c,p,g);break;case 3:xi(l,c,p,g),x&2048&&(l=null,c.alternate!==null&&(l=c.alternate.memoizedState.cache),c=c.memoizedState.cache,c!==l&&(c.refCount++,l!=null&&A0(l)));break;case 12:if(x&2048){xi(l,c,p,g),l=c.stateNode;try{var w=c.memoizedProps,D=w.id,q=w.onPostCommit;typeof q=="function"&&q(D,c.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(se){Qt(c,c.return,se)}}else xi(l,c,p,g);break;case 31:xi(l,c,p,g);break;case 13:xi(l,c,p,g);break;case 23:break;case 22:w=c.stateNode,D=c.alternate,c.memoizedState!==null?w._visibility&2?xi(l,c,p,g):F0(l,c):w._visibility&2?xi(l,c,p,g):(w._visibility|=2,bc(l,c,p,g,(c.subtreeFlags&10256)!==0||!1)),x&2048&&Q2(D,c);break;case 24:xi(l,c,p,g),x&2048&&Z2(c.alternate,c);break;default:xi(l,c,p,g)}}function bc(l,c,p,g,x){for(x=x&&((c.subtreeFlags&10256)!==0||!1),c=c.child;c!==null;){var w=l,D=c,q=p,se=g,ge=D.flags;switch(D.tag){case 0:case 11:case 15:bc(w,D,q,se,x),z0(8,D);break;case 23:break;case 22:var Ee=D.stateNode;D.memoizedState!==null?Ee._visibility&2?bc(w,D,q,se,x):F0(w,D):(Ee._visibility|=2,bc(w,D,q,se,x)),x&&ge&2048&&Q2(D.alternate,D);break;case 24:bc(w,D,q,se,x),x&&ge&2048&&Z2(D.alternate,D);break;default:bc(w,D,q,se,x)}c=c.sibling}}
vendor: 6,774 bytes, line 49
49function F0(l,c){if(c.subtreeFlags&10256)for(c=c.child;c!==null;){var p=l,g=c,x=g.flags;switch(g.tag){case 22:F0(p,g),x&2048&&Q2(g.alternate,g);break;case 24:F0(p,g),x&2048&&Z2(g.alternate,g);break;default:F0(p,g)}c=c.sibling}}var $0=8192;function xc(l,c,p){if(l.subtreeFlags&$0)for(l=l.child;l!==null;)jO(l,c,p),l=l.sibling}function jO(l,c,p){switch(l.tag){case 26:xc(l,c,p),l.flags&$0&&l.memoizedState!==null&&tee(p,bi,l.memoizedState,l.memoizedProps);break;case 5:xc(l,c,p);break;case 3:case 4:var g=bi;bi=Im(l.stateNode.containerInfo),xc(l,c,p),bi=g;break;case 22:l.memoizedState===null&&(g=l.alternate,g!==null&&g.memoizedState!==null?(g=$0,$0=16777216,xc(l,c,p),$0=g):xc(l,c,p));break;default:xc(l,c,p)}}function BO(l){var c=l.alternate;if(c!==null&&(l=c.child,l!==null)){c.child=null;do c=l.sibling,l.sibling=null,l=c;while(l!==null)}}function U0(l){var c=l.deletions;if((l.flags&16)!==0){if(c!==null)for(var p=0;p<c.length;p++){var g=c[p];un=g,HO(g,l)}BO(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)zO(l),l=l.sibling}function zO(l){switch(l.tag){case 0:case 11:case 15:U0(l),l.flags&2048&&Rs(9,l,l.return);break;case 3:U0(l);break;case 12:U0(l);break;case 22:var c=l.stateNode;l.memoizedState!==null&&c._visibility&2&&(l.return===null||l.return.tag!==13)?(c._visibility&=-3,Em(l)):U0(l);break;default:U0(l)}}function Em(l){var c=l.deletions;if((l.flags&16)!==0){if(c!==null)for(var p=0;p<c.length;p++){var g=c[p];un=g,HO(g,l)}BO(l)}for(l=l.child;l!==null;){switch(c=l,c.tag){case 0:case 11:case 15:Rs(8,c,c.return),Em(c);break;case 22:p=c.stateNode,p._visibility&2&&(p._visibility&=-3,Em(c));break;default:Em(c)}l=l.sibling}}function HO(l,c){for(;un!==null;){var p=un;switch(p.tag){case 0:case 11:case 15:Rs(8,p,c);break;case 23:case 22:if(p.memoizedState!==null&&p.memoizedState.cachePool!==null){var g=p.memoizedState.cachePool.pool;g!=null&&g.refCount++}break;case 24:A0(p.memoizedState.cache)}if(g=p.child,g!==null)g.return=p,un=g;else e:for(p=l;un!==null;){g=un;var x=g.sibling,w=g.return;if(NO(g),g===p){un=null;break e}if(x!==null){x.return=w,un=x;break e}un=w}}}var gJ={getCacheForType:function(l){var c=En(Hr),p=c.data.get(l);return p===void 0&&(p=l(),c.data.set(l,p)),p},cacheSignal:function(){return En(Hr).controller.signal}},vJ=typeof WeakMap=="function"?WeakMap:Map,Ft=0,ar=null,Et=null,Tt=0,Xt=0,Sa=null,Ms=!1,Ec=!1,J2=!1,Lo=0,Ar=0,Ps=0,ql=0,ex=0,Ta=0,_c=0,q0=null,oa=null,tx=!1,_m=0,FO=0,wm=1/0,Sm=null,Is=null,Xr=0,Ds=null,wc=null,jo=0,rx=0,nx=null,$O=null,V0=0,ax=null;function Aa(){return(Ft&2)!==0&&Tt!==0?Tt&-Tt:U.T!==null?cx():Sb()}function UO(){if(Ta===0)if((Tt&536870912)===0||Ot){var l=Vu;Vu<<=1,(Vu&3932160)===0&&(Vu=262144),Ta=l}else Ta=536870912;return l=_a.current,l!==null&&(l.flags|=32),Ta}function sa(l,c,p){(l===ar&&(Xt===2||Xt===9)||l.cancelPendingCommit!==null)&&(Sc(l,0),Ls(l,Tt,Ta,!1)),_r(l,p),((Ft&2)===0||l!==ar)&&(l===ar&&((Ft&2)===0&&(ql|=p),Ar===4&&Ls(l,Tt,Ta,!1)),$i(l))}function qO(l,c,p){if((Ft&6)!==0)throw Error(n(327));var g=!p&&(c&127)===0&&(c&l.expiredLanes)===0||vr(l,c),x=g?xJ(l,c):ox(l,c,!0),w=g;do{if(x===0){Ec&&!g&&Ls(l,c,0,!1);break}else{if(p=l.current.alternate,w&&!yJ(p)){x=ox(l,c,!1),w=!1;continue}if(x===2){if(w=c,l.errorRecoveryDisabledLanes&w)var D=0;else D=l.pendingLanes&-536870913,D=D!==0?D:D&536870912?536870912:0;if(D!==0){c=D;e:{var q=l;x=q0;var se=q.current.memoizedState.isDehydrated;if(se&&(Sc(q,D).flags|=256),D=ox(q,D,!1),D!==2){if(J2&&!se){q.errorRecoveryDisabledLanes|=w,ql|=w,x=4;break e}w=oa,oa=x,w!==null&&(oa===null?oa=w:oa.push.apply(oa,w))}x=D}if(w=!1,x!==2)continue}}if(x===1){Sc(l,0),Ls(l,c,0,!0);break}e:{switch(g=l,w=x,w){case 0:case 1:throw Error(n(345));case 4:if((c&4194048)!==c)break;case 6:Ls(g,c,Ta,!Ms);break e;case 2:oa=null;break;case 3:case 5:break;default:throw Error(n(329))}if((c&62914560)===c&&(x=_m+300-zr(),10<x)){if(Ls(g,c,Ta,!Ms),st(g,0,!0)!==0)break e;jo=c,g.timeoutHandle=E9(VO.bind(null,g,p,oa,Sm,tx,c,Ta,ql,_c,Ms,w,"Throttled",-0,0),x);break e}VO(g,p,oa,Sm,tx,c,Ta,ql,_c,Ms,w,null,-0,0)}}break}while(!0);$i(l)}function VO(l,c,p,g,x,w,D,q,se,ge,Ee,Ce,ve,ye){if(l.timeoutHandle=-1,Ce=c.subtreeFlags,Ce&8192||(Ce&16785408)===16785408){Ce={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:_o},jO(c,w,Ce);var Ge=(w&62914560)===w?_m-zr():(w&4194048)===w?FO-zr():0;if(Ge=ree(Ce,Ge),Ge!==null){jo=w,l.cancelPendingCommit=Ge(JO.bind(null,l,c,w,p,g,x,D,q,se,Ee,Ce,null,ve,ye)),Ls(l,w,D,!ge);return}}JO(l,c,w,p,g,x,D,q,se)}function yJ(l){for(var c=l;;){var p=c.tag;if((p===0||p===11||p===15)&&c.flags&16384&&(p=c.updateQueue,p!==null&&(p=p.stores,p!==null)))for(var g=0;g<p.length;g++){var x=p[g],w=x.getSnapshot;x=x.value;try{if(!xa(w(),x))return!1}catch{return!1}}if(p=c.child,c.subtreeFlags&16384&&p!==null)p.return=c,c=p;else{if(c===l)break;for(;c.sibling===null;){if(c.return===null||c.return===l)return!0;c=c.return}c.sibling.return=c.return,c=c.sibling}}return!0}function Ls(l,c,p,g){c&=~ex,c&=~ql,l.suspendedLanes|=c,l.pingedLanes&=~c,g&&(l.warmLanes|=c),g=l.expirationTimes;for(var x=c;0<x;){var w=31-qt(x),D=1<<w;g[w]=-1,x&=~D}p!==0&&Cl(l,p,c)}function Tm(){return(Ft&6)===0?(G0(0),!1):!0}function ix(){if(Et!==null){if(Xt===0)var l=Et.return;else l=Et,Ao=Dl=null,E2(l),pc=null,O0=0,l=Et;for(;l!==null;)_O(l.alternate,l),l=l.return;Et=null}}function Sc(l,c){var p=l.timeoutHandle;p!==-1&&(l.timeoutHandle=-1,BJ(p)),p=l.cancelPendingCommit,p!==null&&(l.cancelPendingCommit=null,p()),jo=0,ix(),ar=l,Et=p=So(l.current,null),Tt=c,Xt=0,Sa=null,Ms=!1,Ec=vr(l,c),J2=!1,_c=Ta=ex=ql=Ps=Ar=0,oa=q0=null,tx=!1,(c&8)!==0&&(c|=c&32);var g=l.entangledLanes;if(g!==0)for(l=l.entanglements,g&=c;0<g;){var x=31-qt(g),w=1<<x;c|=l[x],g&=~w}return Lo=c,Gp(),p}function GO(l,c){ct=null,U.H=L0,c===hc||c===em?(c=lC(),Xt=3):c===u2?(c=lC(),Xt=4):Xt=c===j2?8:c!==null&&typeof c=="object"&&typeof c.then=="function"?6:1,Sa=c,Et===null&&(Ar=1,pm(l,Ua(c,l.current)))}function YO(){var l=_a.current;return l===null?!0:(Tt&4194048)===Tt?Ya===null:(Tt&62914560)===Tt||(Tt&536870912)!==0?l===Ya:!1}function WO(){var l=U.H;return U.H=L0,l===null?L0:l}function KO(){var l=U.A;return U.A=gJ,l}function Am(){Ar=4,Ms||(Tt&4194048)!==Tt&&_a.current!==null||(Ec=!0),(Ps&134217727)===0&&(ql&134217727)===0||ar===null||Ls(ar,Tt,Ta,!1)}function ox(l,c,p){var g=Ft;Ft|=2;var x=WO(),w=KO();(ar!==l||Tt!==c)&&(Sm=null,Sc(l,c)),c=!1;var D=Ar;e:do try{if(Xt!==0&&Et!==null){var q=Et,se=Sa;switch(Xt){case 8:ix(),D=6;break e;case 3:case 2:case 9:case 6:_a.current===null&&(c=!0);var ge=Xt;if(Xt=0,Sa=null,Tc(l,q,se,ge),p&&Ec){D=0;break e}break;default:ge=Xt,Xt=0,Sa=null,Tc(l,q,se,ge)}}bJ(),D=Ar;break}catch(Ee){GO(l,Ee)}while(!0);return c&&l.shellSuspendCounter++,Ao=Dl=null,Ft=g,U.H=x,U.A=w,Et===null&&(ar=null,Tt=0,Gp()),D}
vendor: 4,442 bytes, line 49
49function bJ(){for(;Et!==null;)XO(Et)}function xJ(l,c){var p=Ft;Ft|=2;var g=WO(),x=KO();ar!==l||Tt!==c?(Sm=null,wm=zr()+500,Sc(l,c)):Ec=vr(l,c);e:do try{if(Xt!==0&&Et!==null){c=Et;var w=Sa;t:switch(Xt){case 1:Xt=0,Sa=null,Tc(l,c,w,1);break;case 2:case 9:if(oC(w)){Xt=0,Sa=null,QO(c);break}c=function(){Xt!==2&&Xt!==9||ar!==l||(Xt=7),$i(l)},w.then(c,c);break e;case 3:Xt=7;break e;case 4:Xt=5;break e;case 7:oC(w)?(Xt=0,Sa=null,QO(c)):(Xt=0,Sa=null,Tc(l,c,w,7));break;case 5:var D=null;switch(Et.tag){case 26:D=Et.memoizedState;case 5:case 27:var q=Et;if(D?L9(D):q.stateNode.complete){Xt=0,Sa=null;var se=q.sibling;if(se!==null)Et=se;else{var ge=q.return;ge!==null?(Et=ge,Cm(ge)):Et=null}break t}}Xt=0,Sa=null,Tc(l,c,w,5);break;case 6:Xt=0,Sa=null,Tc(l,c,w,6);break;case 8:ix(),Ar=6;break e;default:throw Error(n(462))}}EJ();break}catch(Ee){GO(l,Ee)}while(!0);return Ao=Dl=null,U.H=g,U.A=x,Ft=p,Et!==null?0:(ar=null,Tt=0,Gp(),Ar)}function EJ(){for(;Et!==null&&!dr();)XO(Et)}function XO(l){var c=xO(l.alternate,l,Lo);l.memoizedProps=l.pendingProps,c===null?Cm(l):Et=c}function QO(l){var c=l,p=c.alternate;switch(c.tag){case 15:case 0:c=pO(p,c,c.pendingProps,c.type,void 0,Tt);break;case 11:c=pO(p,c,c.pendingProps,c.type.render,c.ref,Tt);break;case 5:E2(c);default:_O(p,c),c=Et=K7(c,Lo),c=xO(p,c,Lo)}l.memoizedProps=l.pendingProps,c===null?Cm(l):Et=c}function Tc(l,c,p,g){Ao=Dl=null,E2(c),pc=null,O0=0;var x=c.return;try{if(uJ(l,x,c,p,Tt)){Ar=1,pm(l,Ua(p,l.current)),Et=null;return}}catch(w){if(x!==null)throw Et=x,w;Ar=1,pm(l,Ua(p,l.current)),Et=null;return}c.flags&32768?(Ot||g===1?l=!0:Ec||(Tt&536870912)!==0?l=!1:(Ms=l=!0,(g===2||g===9||g===3||g===6)&&(g=_a.current,g!==null&&g.tag===13&&(g.flags|=16384))),ZO(c,l)):Cm(c)}function Cm(l){var c=l;do{if((c.flags&32768)!==0){ZO(c,Ms);return}l=c.return;var p=dJ(c.alternate,c,Lo);if(p!==null){Et=p;return}if(c=c.sibling,c!==null){Et=c;return}Et=c=l}while(c!==null);Ar===0&&(Ar=5)}function ZO(l,c){do{var p=hJ(l.alternate,l);if(p!==null){p.flags&=32767,Et=p;return}if(p=l.return,p!==null&&(p.flags|=32768,p.subtreeFlags=0,p.deletions=null),!c&&(l=l.sibling,l!==null)){Et=l;return}Et=l=p}while(l!==null);Ar=6,Et=null}function JO(l,c,p,g,x,w,D,q,se){l.cancelPendingCommit=null;do Om();while(Xr!==0);if((Ft&6)!==0)throw Error(n(327));if(c!==null){if(c===l.current)throw Error(n(177));if(w=c.lanes|c.childLanes,w|=Wb,Zn(l,p,w,D,q,se),l===ar&&(Et=ar=null,Tt=0),wc=c,Ds=l,jo=p,rx=w,nx=x,$O=g,(c.subtreeFlags&10256)!==0||(c.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,TJ(nt,function(){return a9(),null})):(l.callbackNode=null,l.callbackPriority=0),g=(c.flags&13878)!==0,(c.subtreeFlags&13878)!==0||g){g=U.T,U.T=null,x=J.p,J.p=2,D=Ft,Ft|=4;try{pJ(l,c,p)}finally{Ft=D,J.p=x,U.T=g}}Xr=1,e9(),t9(),r9()}}function e9(){if(Xr===1){Xr=0;var l=Ds,c=wc,p=(c.flags&13878)!==0;if((c.subtreeFlags&13878)!==0||p){p=U.T,U.T=null;var g=J.p;J.p=2;var x=Ft;Ft|=4;try{IO(c,l);var w=yx,D=H7(l.containerInfo),q=w.focusedElem,se=w.selectionRange;if(D!==q&&q&&q.ownerDocument&&z7(q.ownerDocument.documentElement,q)){if(se!==null&&Ub(q)){var ge=se.start,Ee=se.end;if(Ee===void 0&&(Ee=ge),"selectionStart"in q)q.selectionStart=ge,q.selectionEnd=Math.min(Ee,q.value.length);else{var Ce=q.ownerDocument||document,ve=Ce&&Ce.defaultView||window;if(ve.getSelection){var ye=ve.getSelection(),Ge=q.textContent.length,at=Math.min(se.start,Ge),tr=se.end===void 0?at:Math.min(se.end,Ge);!ye.extend&&at>tr&&(D=tr,tr=at,at=D);var fe=B7(q,at),ue=B7(q,tr);if(fe&&ue&&(ye.rangeCount!==1||ye.anchorNode!==fe.node||ye.anchorOffset!==fe.offset||ye.focusNode!==ue.node||ye.focusOffset!==ue.offset)){var pe=Ce.createRange();pe.setStart(fe.node,fe.offset),ye.removeAllRanges(),at>tr?(ye.addRange(pe),ye.extend(ue.node,ue.offset)):(pe.setEnd(ue.node,ue.offset),ye.addRange(pe))}}}}for(Ce=[],ye=q;ye=ye.parentNode;)ye.nodeType===1&&Ce.push({element:ye,left:ye.scrollLeft,top:ye.scrollTop});for(typeof q.focus=="function"&&q.focus(),q=0;q<Ce.length;q++){var Se=Ce[q];Se.element.scrollLeft=Se.left,Se.element.scrollTop=Se.top}}Hm=!!vx,yx=vx=null}finally{Ft=x,J.p=g,U.T=p}}l.current=c,Xr=2}}function t9(){if(Xr===2){Xr=0;var l=Ds,c=wc,p=(c.flags&8772)!==0;if((c.subtreeFlags&8772)!==0||p){p=U.T,U.T=null;var g=J.p;J.p=2;var x=Ft;Ft|=4;try{kO(l,c.alternate,c)}finally{Ft=x,J.p=g,U.T=p}}Xr=3}}function r9(){if(Xr===4||Xr===3){Xr=0,Qn();var l=Ds,c=wc,p=jo,g=$O;(c.subtreeFlags&10256)!==0||(c.flags&10256)!==0?Xr=5:(Xr=0,wc=Ds=null,n9(l,l.pen
vendor: 28,443 bytes, lines 49-50
49dingLanes));var x=l.pendingLanes;if(x===0&&(Is=null),vi(p),c=c.stateNode,Mr&&typeof Mr.onCommitFiberRoot=="function")try{Mr.onCommitFiberRoot(vn,c,void 0,(c.current.flags&128)===128)}catch{}if(g!==null){c=U.T,x=J.p,J.p=2,U.T=null;try{for(var w=l.onRecoverableError,D=0;D<g.length;D++){var q=g[D];w(q.value,{componentStack:q.stack})}}finally{U.T=c,J.p=x}}(jo&3)!==0&&Om(),$i(l),x=l.pendingLanes,(p&261930)!==0&&(x&42)!==0?l===ax?V0++:(V0=0,ax=l):V0=0,G0(0)}}function n9(l,c){(l.pooledCacheLanes&=c)===0&&(c=l.pooledCache,c!=null&&(l.pooledCache=null,A0(c)))}function Om(){return e9(),t9(),r9(),a9()}function a9(){if(Xr!==5)return!1;var l=Ds,c=rx;rx=0;var p=vi(jo),g=U.T,x=J.p;try{J.p=32>p?32:p,U.T=null,p=nx,nx=null;var w=Ds,D=jo;if(Xr=0,wc=Ds=null,jo=0,(Ft&6)!==0)throw Error(n(331));var q=Ft;if(Ft|=4,zO(w.current),LO(w,w.current,D,p),Ft=q,G0(0,!1),Mr&&typeof Mr.onPostCommitFiberRoot=="function")try{Mr.onPostCommitFiberRoot(vn,w)}catch{}return!0}finally{J.p=x,U.T=g,n9(l,c)}}function i9(l,c,p){c=Ua(p,c),c=L2(l.stateNode,c,2),l=Os(l,c,2),l!==null&&(_r(l,2),$i(l))}function Qt(l,c,p){if(l.tag===3)i9(l,l,p);else for(;c!==null;){if(c.tag===3){i9(c,l,p);break}else if(c.tag===1){var g=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof g.componentDidCatch=="function"&&(Is===null||!Is.has(g))){l=Ua(p,l),p=oO(2),g=Os(c,p,2),g!==null&&(sO(p,g,c,l),_r(g,2),$i(g));break}}c=c.return}}function sx(l,c,p){var g=l.pingCache;if(g===null){g=l.pingCache=new vJ;var x=new Set;g.set(c,x)}else x=g.get(c),x===void 0&&(x=new Set,g.set(c,x));x.has(p)||(J2=!0,x.add(p),l=_J.bind(null,l,c,p),c.then(l,l))}function _J(l,c,p){var g=l.pingCache;g!==null&&g.delete(c),l.pingedLanes|=l.suspendedLanes&p,l.warmLanes&=~p,ar===l&&(Tt&p)===p&&(Ar===4||Ar===3&&(Tt&62914560)===Tt&&300>zr()-_m?(Ft&2)===0&&Sc(l,0):ex|=p,_c===Tt&&(_c=0)),$i(l)}function o9(l,c){c===0&&(c=kn()),l=Ml(l,c),l!==null&&(_r(l,c),$i(l))}function wJ(l){var c=l.memoizedState,p=0;c!==null&&(p=c.retryLane),o9(l,p)}function SJ(l,c){var p=0;switch(l.tag){case 31:case 13:var g=l.stateNode,x=l.memoizedState;x!==null&&(p=x.retryLane);break;case 19:g=l.stateNode;break;case 22:g=l.stateNode._retryCache;break;default:throw Error(n(314))}g!==null&&g.delete(c),o9(l,p)}function TJ(l,c){return ba(l,c)}var km=null,Ac=null,lx=!1,Nm=!1,ux=!1,js=0;function $i(l){l!==Ac&&l.next===null&&(Ac===null?km=Ac=l:Ac=Ac.next=l),Nm=!0,lx||(lx=!0,CJ())}function G0(l,c){if(!ux&&Nm){ux=!0;do for(var p=!1,g=km;g!==null;){if(l!==0){var x=g.pendingLanes;if(x===0)var w=0;else{var D=g.suspendedLanes,q=g.pingedLanes;w=(1<<31-qt(42|l)+1)-1,w&=x&~(D&~q),w=w&201326741?w&201326741|1:w?w|2:0}w!==0&&(p=!0,c9(g,w))}else w=Tt,w=st(g,g===ar?w:0,g.cancelPendingCommit!==null||g.timeoutHandle!==-1),(w&3)===0||vr(g,w)||(p=!0,c9(g,w));g=g.next}while(p);ux=!1}}function AJ(){s9()}function s9(){Nm=lx=!1;var l=0;js!==0&&jJ()&&(l=js);for(var c=zr(),p=null,g=km;g!==null;){var x=g.next,w=l9(g,c);w===0?(g.next=null,p===null?km=x:p.next=x,x===null&&(Ac=p)):(p=g,(l!==0||(w&3)!==0)&&(Nm=!0)),g=x}Xr!==0&&Xr!==5||G0(l),js!==0&&(js=0)}function l9(l,c){for(var p=l.suspendedLanes,g=l.pingedLanes,x=l.expirationTimes,w=l.pendingLanes&-62914561;0<w;){var D=31-qt(w),q=1<<D,se=x[D];se===-1?((q&p)===0||(q&g)!==0)&&(x[D]=sn(q,c)):se<=c&&(l.expiredLanes|=q),w&=~q}if(c=ar,p=Tt,p=st(l,l===c?p:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),g=l.callbackNode,p===0||l===c&&(Xt===2||Xt===9)||l.cancelPendingCommit!==null)return g!==null&&g!==null&&Hn(g),l.callbackNode=null,l.callbackPriority=0;if((p&3)===0||vr(l,p)){if(c=p&-p,c===l.callbackPriority)return c;switch(g!==null&&Hn(g),vi(p)){case 2:case 8:p=je;break;case 32:p=nt;break;case 268435456:p=xt;break;default:p=nt}return g=u9.bind(null,l),p=ba(p,g),l.callbackPriority=c,l.callbackNode=p,c}return g!==null&&g!==null&&Hn(g),l.callbackPriority=2,l.callbackNode=null,2}function u9(l,c){if(Xr!==0&&Xr!==5)return l.callbackNode=null,l.callbackPriority=0,null;var p=l.callbackNode;if(Om()&&l.callbackNode!==p)return null;var g=Tt;return g=st(l,l===ar?g:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),g===0?null:(qO(l,g,c),l9(l,zr()),l.callbackNode!=null&&l.callbackNode===p?u9.bind(null,l):null)}function c9(l,c){if(Om())return null;qO(l,c,!0)}function CJ(){zJ(function(){(Ft&6)!==0?ba(_e,AJ):s9()})}function cx(){if(js===0){var l=fc;l===0&&(l=qu,qu<<=1,(qu&261888)===0&&(qu=256)),js=l}return js}function f9(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Bp(""+l)}function d9(l,c){var p=c.ownerDocument.createElement("input");return p.name=c.name,p.value=c.value,l.id&&p.setAttribute("form",l.id),c.parentNode.insertBefore(p,c),l=new FormData(l),p.parentNode.removeChild(p),l}function OJ(l,c,p,g,x){if(c==="submit"&&p&&p.stateNode===x){var w=f9((x[ta]||null).action),D=g.submitter;D&&(c=(c=D[ta]||null)?f9(c.formAction):D.getAttribute("formAction"),c!==null&&(w=c,D=null));var q=new $p("action","action",null,g,x);l.push({event:q,listeners:[{instance:null,listener:function(){if(g.defaultPrevented){if(js!==0){var se=D?d9(x,D):new FormData(x);N2(p,{pending:!0,data:se,method:x.method,action:w},null,se)}}else typeof w=="function"&&(q.preventDefault(),se=D?d9(x,D):new FormData(x),N2(p,{pending:!0,data:se,method:x.method,action:w},w,se))},currentTarget:x}]})}}for(var fx=0;fx<Yb.length;fx++){var dx=Yb[fx],kJ=dx.toLowerCase(),NJ=dx[0].toUpperCase()+dx.slice(1);yi(kJ,"on"+NJ)}yi(U7,"onAnimationEnd"),yi(q7,"onAnimationIteration"),yi(V7,"onAnimationStart"),yi("dblclick","onDoubleClick"),yi("focusin","onFocus"),yi("focusout","onBlur"),yi(GZ,"onTransitionRun"),yi(YZ,"onTransitionStart"),yi(WZ,"onTransitionCancel"),yi(G7,"onTransitionEnd"),Qu("onMouseEnter",["mouseout","mouseover"]),Qu("onMouseLeave",["mouseout","mouseover"]),Qu("onPointerEnter",["pointerout","pointerover"]),Qu("onPointerLeave",["pointerout","pointerover"]),Ol("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ol("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ol("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ol("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ol("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ol("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Y0="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(" "),RJ=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Y0));function h9(l,c){c=(c&4)!==0;for(var p=0;p<l.length;p++){var g=l[p],x=g.event;g=g.listeners;e:{var w=void 0;if(c)for(var D=g.length-1;0<=D;D--){var q=g[D],se=q.instance,ge=q.currentTarget;if(q=q.listener,se!==w&&x.isPropagationStopped())break e;w=q,x.currentTarget=ge;try{w(x)}catch(Ee){Vp(Ee)}x.currentTarget=null,w=se}else for(D=0;D<g.length;D++){if(q=g[D],se=q.instance,ge=q.currentTarget,q=q.listener,se!==w&&x.isPropagationStopped())break e;w=q,x.currentTarget=ge;try{w(x)}catch(Ee){Vp(Ee)}x.currentTarget=null,w=se}}}}function _t(l,c){var p=c[Tb];p===void 0&&(p=c[Tb]=new Set);var g=l+"__bubble";p.has(g)||(p9(c,l,2,!1),p.add(g))}function hx(l,c,p){var g=0;c&&(g|=4),p9(p,l,g,c)}var Rm="_reactListening"+Math.random().toString(36).slice(2);function px(l){if(!l[Rm]){l[Rm]=!0,s7.forEach(function(p){p!=="selectionchange"&&(RJ.has(p)||hx(p,!1,l),hx(p,!0,l))});var c=l.nodeType===9?l:l.ownerDocument;c===null||c[Rm]||(c[Rm]=!0,hx("selectionchange",!1,c))}}function p9(l,c,p,g){switch(U9(c)){case 2:var x=iee;break;case 8:x=oee;break;default:x=kx}p=x.bind(null,c,p,l),x=void 0,!Ib||c!=="touchstart"&&c!=="touchmove"&&c!=="wheel"||(x=!0),g?x!==void 0?l.addEventListener(c,p,{capture:!0,passive:x}):l.addEventListener(c,p,!0):x!==void 0?l.addEventListener(c,p,{passive:x}):l.addEventListener(c,p,!1)}function mx(l,c,p,g,x){var w=g;if((c&1)===0&&(c&2)===0&&g!==null)e:for(;;){if(g===null)return;var D=g.tag;if(D===3||D===4){var q=g.stateNode.containerInfo;if(q===x)break;if(D===4)for(D=g.return;D!==null;){var se=D.tag;if((se===3||se===4)&&D.stateNode.containerInfo===x)return;D=D.return}for(;q!==null;){if(D=Wu(q),D===null)return;if(se=D.tag,se===5||se===6||se===26||se===27){g=w=D;continue e}q=q.parentNode}}g=g.return}b7(function(){var ge=w,Ee=Mb(p),Ce=[];e:{var ve=Y7.get(l);if(ve!==void 0){var ye=$p,Ge=l;switch(l){case"keypress":if(Hp(p)===0)break e;case"keydown":case"keyup":ye=SZ;break;case"focusin":Ge="focus",ye=Bb;break;case"focusout":Ge="blur",ye=Bb;break;case"beforeblur":case"afterblur":ye=Bb;break;case"click":if(p.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ye=_7;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ye=dZ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ye=CZ;break;case U7:case q7:case V7:ye=mZ;break;case G7:ye=kZ;break;case"scroll":case"scrollend":ye=cZ;break;case"wheel":ye=RZ;break;case"copy":case"cut":case"paste":ye=vZ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ye=S7;break;case"toggle":case"beforetoggle":ye=PZ}var at=(c&4)!==0,tr=!at&&(l==="scroll"||l==="scrollend"),fe=at?ve!==null?ve+"Capture":null:ve;at=[];for(var ue=ge,pe;ue!==null;){var Se=ue;if(pe=Se.stateNode,Se=Se.tag,Se!==5&&Se!==26&&Se!==27||pe===null||fe===null||(Se=m0(ue,fe),Se!=null&&at.push(W0(ue,Se,pe))),tr)break;ue=ue.return}0<at.length&&(ve=new ye(ve,Ge,null,p,Ee),Ce.push({event:ve,listeners:at}))}}if((c&7)===0){e:{if(ve=l==="mouseover"||l==="pointerover",ye=l==="mouseout"||l==="pointerout",ve&&p!==Rb&&(Ge=p.relatedTarget||p.fromElement)&&(Wu(Ge)||Ge[Yu]))break e;if((ye||ve)&&(ve=Ee.window===Ee?Ee:(ve=Ee.ownerDocument)?ve.defaultView||ve.parentWindow:window,ye?(Ge=p.relatedTarget||p.toElement,ye=ge,Ge=Ge?Wu(Ge):null,Ge!==null&&(tr=i(Ge),at=Ge.tag,Ge!==tr||at!==5&&at!==27&&at!==6)&&(Ge=null)):(ye=null,Ge=ge),ye!==Ge)){if(at=_7,Se="onMouseLeave",fe="onMouseEnter",ue="mouse",(l==="pointerout"||l==="pointerover")&&(at=S7,Se="onPointerLeave",fe="onPointerEnter",ue="pointer"),tr=ye==null?ve:p0(ye),pe=Ge==null?ve:p0(Ge),ve=new at(Se,ue+"leave",ye,p,Ee),ve.target=tr,ve.relatedTarget=pe,Se=null,Wu(Ee)===ge&&(at=new at(fe,ue+"enter",Ge,p,Ee),at.target=pe,at.relatedTarget=tr,Se=at),tr=Se,ye&&Ge)t:{for(at=MJ,fe=ye,ue=Ge,pe=0,Se=fe;Se;Se=at(Se))pe++;Se=0;for(var Ze=ue;Ze;Ze=at(Ze))Se++;for(;0<pe-Se;)fe=at(fe),pe--;for(;0<Se-pe;)ue=at(ue),Se--;for(;pe--;){if(fe===ue||ue!==null&&fe===ue.alternate){at=fe;break t}fe=at(fe),ue=at(ue)}at=null}else at=null;ye!==null&&m9(Ce,ve,ye,at,!1),Ge!==null&&tr!==null&&m9(Ce,tr,Ge,at,!0)}}e:{if(ve=ge?p0(ge):window,ye=ve.nodeName&&ve.nodeName.toLowerCase(),ye==="select"||ye==="input"&&ve.type==="file")var It=M7;else if(N7(ve))if(P7)It=UZ;else{It=FZ;var Xe=HZ}else ye=ve.nodeName,!ye||ye.toLowerCase()!=="input"||ve.type!=="checkbox"&&ve.type!=="radio"?ge&&Nb(ge.elementType)&&(It=M7):It=$Z;if(It&&(It=It(l,ge))){R7(Ce,It,p,Ee);break e}Xe&&Xe(l,ve,ge),l==="focusout"&&ge&&ve.type==="number"&&ge.memoizedProps.value!=null&&kb(ve,"number",ve.value)}switch(Xe=ge?p0(ge):window,l){case"focusin":(N7(Xe)||Xe.contentEditable==="true")&&(nc=Xe,qb=ge,w0=null);break;case"focusout":w0=qb=nc=null;break;case"mousedown":Vb=!0;break;case"contextmenu":case"mouseup":case"dragend":Vb=!1,F7(Ce,p,Ee);break;case"selectionchange":if(VZ)break;case"keydown":case"keyup":F7(Ce,p,Ee)}var ht;if(Hb)e:{switch(l){case"compositionstart":var At="onCompositionStart";break e;case"compositionend":At="onCompositionEnd";break e;case"compositionupdate":At="onCompositionUpdate";break e}At=void 0}else rc?O7(l,p)&&(At="onCompositionEnd"):l==="keydown"&&p.keyCode===229&&(At="onCompositionStart");At&&(T7&&p.locale!=="ko"&&(rc||At!=="onCompositionStart"?At==="onCompositionEnd"&&rc&&(ht=x7()):(Es=Ee,Db="value"in Es?Es.value:Es.textContent,rc=!0)),Xe=Mm(ge,At),0<Xe.length&&(At=new w7(At,l,null,p,Ee),Ce.push({event:At,listeners:Xe}),ht?At.data=ht:(ht=k7(p),ht!==null&&(At.data=ht)))),(ht=DZ?LZ(l,p):jZ(l,p))&&(At=Mm(ge,"onBeforeInput"),0<At.length&&(Xe=new w7("onBeforeInput","beforeinput",null,p,Ee),Ce.push({event:Xe,listeners:At}),Xe.data=ht)),OJ(Ce,l,ge,p,Ee)}h9(Ce,c)})}function W0(l,c,p){return{instance:l,listener:c,currentTarget:p}}function Mm(l,c){for(var p=c+"Capture",g=[];l!==null;){var x=l,w=x.stateNode;if(x=x.tag,x!==5&&x!==26&&x!==27||w===null||(x=m0(l,p),x!=null&&g.unshift(W0(l,x,w)),x=m0(l,c),x!=null&&g.push(W0(l,x,w))),l.tag===3)return g;l=l.return}return[]}function MJ(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function m9(l,c,p,g,x){for(var w=c._reactName,D=[];p!==null&&p!==g;){var q=p,se=q.alternate,ge=q.stateNode;if(q=q.tag,se!==null&&se===g)break;q!==5&&q!==26&&q!==27||ge===null||(se=ge,x?(ge=m0(p,w),ge!=null&&D.unshift(W0(p,ge,se))):x||(ge=m0(p,w),ge!=null&&D.push(W0(p,ge,se)))),p=p.return}D.length!==0&&l.push({event:c,listeners:D})}var PJ=/\r\n?/g,IJ=/\u0000|\uFFFD/g;function g9(l){return(typeof l=="string"?l:""+l).replace(PJ,` 50`).replace(IJ,"")}function v9(l,c){return c=g9(c),g9(l)===c}function er(l,c,p,g,x,w){switch(p){case"children":typeof g=="string"?c==="body"||c==="textarea"&&g===""||Ju(l,g):(typeof g=="number"||typeof g=="bigint")&&c!=="body"&&Ju(l,""+g);break;case"className":Lp(l,"class",g);break;case"tabIndex":Lp(l,"tabindex",g);break;case"dir":case"role":case"viewBox":case"width":case"height":Lp(l,p,g);break;case"style":v7(l,g,w);break;case"data":if(c!=="object"){Lp(l,"data",g);break}case"src":case"href":if(g===""&&(c!=="a"||p!=="href")){l.removeAttribute(p);break}if(g==null||typeof g=="function"||typeof g=="symbol"||typeof g=="boolean"){l.removeAttribute(p);break}g=Bp(""+g),l.setAttribute(p,g);break;case"action":case"formAction":if(typeof g=="function"){l.setAttribute(p,"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 w=="function"&&(p==="formAction"?(c!=="input"&&er(l,c,"name",x.name,x,null),er(l,c,"formEncType",x.formEncType,x,null),er(l,c,"formMethod",x.formMethod,x,null),er(l,c,"formTarget",x.formTarget,x,null)):(er(l,c,"encType",x.encType,x,null),er(l,c,"method",x.method,x,null),er(l,c,"target",x.target,x,null)));if(g==null||typeof g=="symbol"||typeof g=="boolean"){l.removeAttribute(p);break}g=Bp(""+g),l.setAttribute(p,g);break;case"onClick":g!=null&&(l.onclick=_o);break;case"onScroll":g!=null&&_t("scroll",l);break;case"onScrollEnd":g!=null&&_t("scrollend",l);break;case"dangerouslySetInnerHTML":if(g!=null){if(typeof g!="object"||!("__html"in g))throw Error(n(61));if(p=g.__html,p!=null){if(x.children!=null)throw Error(n(60));l.innerHTML=p}}break;case"multiple":l.multiple=g&&typeof g!="function"&&typeof g!="symbol";break;case"muted":l.muted=g&&typeof g!="function"&&typeof g!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(g==null||typeof g=="function"||typeof g=="boolean"||typeof g=="symbol"){l.removeAttribute("xlink:href");break}p=Bp(""+g),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",p);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":g!=null&&typeof g!="function"&&typeof g!="symbol"?l.setAttribute(p,""+g):l.removeAttribute(p);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":g&&typeof g!="function"&&typeof g!="symbol"?l.setAttribute(p,""):l.removeAttribute(p);break;case"capture":case"download":g===!0?l.setAttribute(p,""):g!==!1&&g!=null&&typeof g!="function"&&typeof g!="symbol"?l.setAttribute(p,g):l.removeAttribute(p);break;case"cols":case"rows":case"size":case"span":g!=null&&typeof g!="function"&&typeof g!="symbol"&&!isNaN(g)&&1<=g?l.setAttribute(p,g):l.removeAttribute(p);break;case"rowSpan":case"start":g==null||typeof g=="function"||typeof g=="symbol"||isNaN(g)?l.removeAttribute(p):l.setAttribute(p,g);break;case"popover":_t("beforetoggle",l),_t("toggle",l),Dp(l,"popover",g);break;case"xlinkActuate":Eo(l,"http://www.w3.org/1999/xlink","xlink:actuate",g);break;case"xlinkArcrole":Eo(l,"http://www.w3.org/1999/xlink","xlink:arcrole",g);break;case"xlinkRole":Eo(l,"http://www.w3.org/1999/xlink","xlink:role",g);break;case"xlinkShow":Eo(l,"http://www.w3.org/1999/xlink","xlink:show",g);break;case"xlinkTitle":Eo(l,"http://www.w3.org/1999/xlink","xlink:title",g);break;case"xlinkType":Eo(l,"http://www.w3.org/1999/xlink","xlink:type",g);break;case"xmlBase":Eo(l,"http://www.w3.org/XML/1998/namespace","xml:base",g);break;case"xmlLang":Eo(l,"http://www.w3.org/XML/1998/namespace","xml:lang",g);break;case"xmlSpace":Eo(l,"http://www.w3.org/XML/1998/namespace","xml:space",g);break;case"is":Dp(l,"is",g);break;case"innerText":case"textContent":break;default:(!(2<p.length)||p[0]!=="o"&&p[0]!=="O"||p[1]!=="n"&&p[1]!=="N")&&(p=lZ.get(p)||p,Dp(l,p,g))}}function gx(l,c,p,g,x,w){switch(p){case"style":v7(l,g,w);break;case"dangerouslySetInnerHTML":if(g!=null){if(typeof g!="object"||!("__html"in g))throw Error(n(61));if(p=g.__html,p!=null){if(x.children!=null)throw Error(n(60));l.innerHTML=p}}break;case"children":typeof g=="string"?Ju(l,g):(typeof g=="number"||typeof g=="bigint")&&Ju(l,""+g);break;case"onScroll":g!=null&&_t("scroll",l);break;case"onScrollEnd":g!=null&&_t("scrollend",l);break;case"onClick":g!=null&&(l.onclick=_o);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!l7.hasOwnProperty(p))e:{if(p[0]==="o"&&p[1]==="n"&&(x=p.endsWith("Capture"),c=p.slice(2,x?p.length-7:void 0),w=l[ta]||null,w=w!=null?w[p]:null,typeof w=="function"&&l.removeEventListener(c,w,x),typeof g=="function")){typeof w!="function"&&w!==null&&(p in l?l[p]=null:l.hasAttribute(p)&&l.removeAttribute(p)),l.addEventListener(c,g,x);break e}p in l?l[p]=g:g===!0?l.setAttribute(p,""):Dp(l,p,g)}}}function wn(l,c,p){switch(c){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_t("error",l),_t("load",l);var g=!1,x=!1,w;for(w in p)if(p.hasOwnProperty(w)){var D=p[w];if(D!=null)switch(w){case"src":g=!0;break;case"srcSet":x=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(n(137,c));default:er(l,c,w,D,p,null)}}x&&er(l,c,"srcSet",p.srcSet,p,null),g&&er(l,c,"src",p.src,p,null);return;case"input":_t("invalid",l);var q=w=D=x=null,se=null,ge=null;for(g in p)if(p.hasOwnProperty(g)){var Ee=p[g];if(Ee!=null)switch(g){case"name":x=Ee;break;case"type":D=Ee;break;case"checked":se=Ee;break;case"defaultChecked":ge=Ee;break;case"value":w=Ee;break;case"defaultValue":q=Ee;break;case"children":case"dangerouslySetInnerHTML":if(Ee!=null)throw Error(n(137,c));break;default:er(l,c,g,Ee,p,null)}}h7(l,w,q,se,ge,D,x,!1);return;case"select":_t("invalid",l),g=D=w=null;for(x in p)if(p.hasOwnProperty(x)&&(q=p[x],q!=null))switch(x){case"value":w=q;break;case"defaultValue":D=q;break;case"multiple":g=q;default:er(l,c,x,q,p,null)}c=w,p=D,l.multiple=!!g,c!=null?Zu(l,!!g,c,!1):p!=null&&Zu(l,!!g,p,!0);return;case"textarea":_t("invalid",l),w=x=g=null;for(D in p)if(p.hasOwnProperty(D)&&(q=p[D],q!=null))switch(D){case"value":g=q;break;case"defaultValue":x=q;break;case"children":w=q;break;case"dangerouslySetInnerHTML":if(q!=null)throw Error(n(91));break;default:er(l,c,D,q,p,null)}m7(l,g,x,w);return;case"option":for(se in p)if(p.hasOwnProperty(se)&&(g=p[se],g!=null))switch(se){case"selected":l.selected=g&&typeof g!="function"&&typeof g!="symbol";break;default:er(l,c,se,g,p,null)}return;case"dialog":_t("beforetoggle",l),_t("toggle",l),_t("cancel",l),_t("close",l);break;case"iframe":case"object":_t("load",l);break;case"video":case"audio":for(g=0;g<Y0.length;g++)_t(Y0[g],l);break;case"image":_t("error",l),_t("load",l);break;case"details":_t("toggle",l);break;case"embed":case"source":case"link":_t("error",l),_t("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ge in p)if(p.hasOwnProperty(ge)&&(g=p[ge],g!=null))switch(ge){case"children":case"dangerouslySetInnerHTML":throw Error(n(137,c));default:er(l,c,ge,g,p,null)}return;default:if(Nb(c)){for(Ee in p)p.hasOwnProperty(Ee)&&(g=p[Ee],g!==void 0&&gx(l,c,Ee,g,p,void 0));return}}for(q in p)p.hasOwnProperty(q)&&(g=p[q],g!=null&&er(l,c,q,g,p,null))}function DJ(l,c,p,g){switch(c){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var x=null,w=null,D=null,q=null,se=null,ge=null,Ee=null;for(ye in p){var Ce=p[ye];if(p.hasOwnProperty(ye)&&Ce!=null)switch(ye){case"checked":break;case"value":break;case"defaultValue":se=Ce;default:g.hasOwnProperty(ye)||er(l,c,ye,null,g,Ce)}}for(var ve in g){var ye=g[ve];if(Ce=p[ve],g.hasOwnProperty(ve)&&(ye!=null||Ce!=null))switch(ve){case"type":w=ye;break;case"name":x=ye;break;case"checked":ge=ye;break;case"defaultChecked":Ee=ye;break;case"value":D=ye;break;case"defaultValue":q=ye;break;case"children":case"dangerouslySetInnerHTML":if(ye!=null)throw Error(n(137,c));break;default:ye!==Ce&&er(l,c,ve,ye,g,Ce)}}Ob(l,D,q,se,ge,Ee,w,x);return;case"select":ye=D=q=ve=null;for(w in p)if(se=p[w],p.hasOwnProperty(w)&&se!=null)switch(w){case"value":break;case"multiple":ye=se;default:g.hasOwnProperty(w)||er(l,c,w,null,g,se)}for(x in g)if(w=g[x],se=p[x],g.hasOwnProperty(x)&&(w!=null||se!=null))switch(x){case"value":ve=w;break;case"defaultValue":q=w;break;case"multiple":D=w;default:w!==se&&er(l,c,x,w,g,se)}c=q,p=D,g=ye,ve!=null?Zu(l,!!p,ve,!1):!!g!=!!p&&(c!=null?Zu(l,!!p,c,!0):Zu(l,!!p,p?[]:"",!1));return;case"textarea":ye=ve=null;for(q in p)if(x=p[q],p.hasOwnProperty(q)&&x!=null&&!g.hasOwnProperty(q))switch(q){case"value":break;case"children":break;default:er(l,c,q,null,g,x)}for(D in g)if(x=g[D],w=p[D],g.hasOwnProperty(D)&&(x!=null||w!=null))switch(D){case"value":ve=x;break;case"defaultValue":ye=x;break;case"children":break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(n(91));break;default:x!==w&&er(l,c,D,x,g,w)}p7(l,ve,ye);return;case"option":for(var Ge in p)if(ve=p[Ge],p.hasOwnProperty(Ge)&&ve!=null&&!g.hasOwnProperty(Ge))switch(Ge){case"selected":l.selected=!1;break;default:er(l,c,Ge,null,g,ve)}for(se in g)if(ve=g[se],ye=p[se],g.hasOwnProperty(se)&&ve!==ye&&(ve!=null||ye!=null))switch(se){case"selected":l.selected=ve&&typeof ve!="function"&&typeof ve!="symbol";break;default:er(l,c,se,ve,g,ye)}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 at in p)ve=p[at],p.hasOwnProperty(at)&&ve!=null&&!g.hasOwnProperty(at)&&er(l,c,at,null,g,ve);for(ge in g)if(ve=g[ge],ye=p[ge],g.hasOwnProperty(ge)&&ve!==ye&&(ve!=null||ye!=null))switch(ge){case"children":case"dangerouslySetInnerHTML":if(ve!=null)throw Error(n(137,c));break;default:er(l,c,ge,ve,g,ye)}return;default:if(Nb(c)){for(var tr in p)ve=p[tr],p.hasOwnProperty(tr)&&ve!==void 0&&!g.hasOwnProperty(tr)&&gx(l,c,tr,void 0,g,ve);for(Ee in g)ve=g[Ee],ye=p[Ee],!g.hasOwnProperty(Ee)||ve===ye||ve===void 0&&ye===void 0||gx(l,c,Ee,ve,g,ye);return}}for(var fe in p)ve=p[fe],p.hasOwnProperty(fe)&&ve!=null&&!g.hasOwnProperty(fe)&&er(l,c,fe,null,g,ve);for(Ce in g)ve=g[Ce],ye=p[Ce],!g.hasOwnProperty(Ce)||ve===ye||ve==null&&ye==null||er(l,c,Ce,ve,g,ye)}function y9(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function LJ(){if(typeof performance.getEntriesByType=="function"){for(var l=0,c=0,p=performance.getEntriesByType("resource"),g=0;g<p.length;g++){var x=p[g],w=x.transferSize,D=x.initiatorType,q=x.duration;if(w&&q&&y9(D)){for(D=0,q=x.responseEnd,g+=1;g<p.length;g++){var se=p[g],ge=se.startTime;if(ge>q)break;var Ee=se.transferSize,Ce=se.initiatorType;Ee&&y9(Ce)&&(se=se.responseEnd,D+=Ee*(se<q?1:(q-ge)/(se-ge)))}if(--g,c+=8*(w+D)/(x.duration/1e3),l++,10<l)break}}if(0<l)return c/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var vx=null,yx=null;function Pm(l){return l.nodeType===9?l:l.ownerDocument}function b9(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function x9(l,c){if(l===0)switch(c){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&c==="foreignObject"?0:l}function bx(l,c){return l==="textarea"||l==="noscript"||typeof c.children=="string"||typeof c.children=="number"||typeof c.children=="bigint"||typeof c.dangerouslySetInnerHTML=="object"&&c.dangerouslySetInnerHTML!==null&&c.dangerouslySetInnerHTML.__html!=null}var xx=null;function jJ(){var l=window.event;return l&&l.type==="popstate"?l===xx?!1:(xx=l,!0):(xx=null,!1)}var E9=typeof setTimeout=="function"?setTimeout:void 0,BJ=typeof clearTimeout=="function"?clearTimeout:void 0,_9=typeof Promise=="function"?Promise:void 0,zJ=typeof queueMicrotask=="function"?queueMicrotask:typeof _9<"u"?function(l){return _9.resolve(null).then(l).catch(HJ)}:E9;function HJ(l){setTimeout(function(){throw l})}function Bs(l){return l==="head"}function w9(l,c){var p=c,g=0;do{var x=p.nextSibling;if(l.removeChild(p),x&&x.nodeType===8)if(p=x.data,p==="/$"||p==="/&"){if(g===0){l.removeChild(x),Nc(c);return}g--}else if(p==="$"||p==="$?"||p==="$~"||p==="$!"||p==="&")g++;else if(p==="html")K0(l.ownerDocument.documentElement);else if(p==="head"){p=l.ownerDocument.head,K0(p);for(var w=p.firstChild;w;){var D=w.nextSibling,q=w.nodeName;w[h0]||q==="SCRIPT"||q==="STYLE"||q==="LINK"&&w.rel.toLowerCase()==="stylesheet"||p.removeChild(w),w=D}}else p==="body"&&K0(l.ownerDocument.body);p=x}while(p);Nc(c)}function S9(l,c){var p=l;l=0;do{var g=p.nextSibling;if(p.nodeType===1?c?(p._stashedDisplay=p.style.display,p.style.display="none"):(p.style.display=p._stashedDisplay||"",p.getAttribute("style")===""&&p.removeAttribute("style")):p.nodeType===3&&(c?(p._stashedText=p.nodeValue,p.nodeValue=""):p.nodeValue=p._stashedText||""),g&&g.nodeType===8)if(p=g.data,p==="/$"){if(l===0)break;l--}else p!=="$"&&p!=="$?"&&p!=="$~"&&p!=="$!"||l++;p=g}while(p)}function Ex(l){var c=l.firstChild;for(c&&c.nodeType===10&&(c=c.nextSibling);c;){var p=c;switch(c=c.nextSibling,p.nodeName){case"HTML":case"HEAD":case"BODY":Ex(p),Ab(p);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(p.rel.toLowerCase()==="stylesheet")continue}l.removeChild(p)}}function FJ(l,c,p,g){for(;l.nodeType===1;){var x=p;if(l.nodeName.toLowerCase()!==c.toLowerCase()){if(!g&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(g){if(!l[h0])switch(c){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(w=l.getAttribute("rel"),w==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(w!==x.rel||l.getAttribute("href")!==(x.href==null||x.href===""?null:x.href)||l.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin)||l.getAttribute("title")!==(x.title==null?null:x.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(w=l.getAttribute("src"),(w!==(x.src==null?null:x.src)||l.getAttribute("type")!==(x.type==null?null:x.type)||l.getAttribute("crossorigin")!==(x.crossOrigin==null?null:x.crossOrigin))&&w&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(c==="input"&&l.type==="hidden"){var w=x.name==null?null:""+x.name;if(x.type==="hidden"&&l.getAttribute("name")===w)return l}else return l;if(l=Wa(l.nextSibling),l===null)break}return null}
vendor: 10,593 bytes, line 50
50function $J(l,c,p){if(c==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!p||(l=Wa(l.nextSibling),l===null))return null;return l}function T9(l,c){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!c||(l=Wa(l.nextSibling),l===null))return null;return l}function _x(l){return l.data==="$?"||l.data==="$~"}function wx(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function UJ(l,c){var p=l.ownerDocument;if(l.data==="$~")l._reactRetry=c;else if(l.data!=="$?"||p.readyState!=="loading")c();else{var g=function(){c(),p.removeEventListener("DOMContentLoaded",g)};p.addEventListener("DOMContentLoaded",g),l._reactRetry=g}}function Wa(l){for(;l!=null;l=l.nextSibling){var c=l.nodeType;if(c===1||c===3)break;if(c===8){if(c=l.data,c==="$"||c==="$!"||c==="$?"||c==="$~"||c==="&"||c==="F!"||c==="F")break;if(c==="/$"||c==="/&")return null}}return l}var Sx=null;function A9(l){l=l.nextSibling;for(var c=0;l;){if(l.nodeType===8){var p=l.data;if(p==="/$"||p==="/&"){if(c===0)return Wa(l.nextSibling);c--}else p!=="$"&&p!=="$!"&&p!=="$?"&&p!=="$~"&&p!=="&"||c++}l=l.nextSibling}return null}function C9(l){l=l.previousSibling;for(var c=0;l;){if(l.nodeType===8){var p=l.data;if(p==="$"||p==="$!"||p==="$?"||p==="$~"||p==="&"){if(c===0)return l;c--}else p!=="/$"&&p!=="/&"||c++}l=l.previousSibling}return null}function O9(l,c,p){switch(c=Pm(p),l){case"html":if(l=c.documentElement,!l)throw Error(n(452));return l;case"head":if(l=c.head,!l)throw Error(n(453));return l;case"body":if(l=c.body,!l)throw Error(n(454));return l;default:throw Error(n(451))}}function K0(l){for(var c=l.attributes;c.length;)l.removeAttributeNode(c[0]);Ab(l)}var Ka=new Map,k9=new Set;function Im(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Bo=J.d;J.d={f:qJ,r:VJ,D:GJ,C:YJ,L:WJ,m:KJ,X:QJ,S:XJ,M:ZJ};function qJ(){var l=Bo.f(),c=Tm();return l||c}function VJ(l){var c=Ku(l);c!==null&&c.tag===5&&c.type==="form"?GC(c):Bo.r(l)}var Cc=typeof document>"u"?null:document;function N9(l,c,p){var g=Cc;if(g&&typeof c=="string"&&c){var x=Fa(c);x='link[rel="'+l+'"][href="'+x+'"]',typeof p=="string"&&(x+='[crossorigin="'+p+'"]'),k9.has(x)||(k9.add(x),l={rel:l,crossOrigin:p,href:c},g.querySelector(x)===null&&(c=g.createElement("link"),wn(c,"link",l),ln(c),g.head.appendChild(c)))}}function GJ(l){Bo.D(l),N9("dns-prefetch",l,null)}function YJ(l,c){Bo.C(l,c),N9("preconnect",l,c)}function WJ(l,c,p){Bo.L(l,c,p);var g=Cc;if(g&&l&&c){var x='link[rel="preload"][as="'+Fa(c)+'"]';c==="image"&&p&&p.imageSrcSet?(x+='[imagesrcset="'+Fa(p.imageSrcSet)+'"]',typeof p.imageSizes=="string"&&(x+='[imagesizes="'+Fa(p.imageSizes)+'"]')):x+='[href="'+Fa(l)+'"]';var w=x;switch(c){case"style":w=Oc(l);break;case"script":w=kc(l)}Ka.has(w)||(l=d({rel:"preload",href:c==="image"&&p&&p.imageSrcSet?void 0:l,as:c},p),Ka.set(w,l),g.querySelector(x)!==null||c==="style"&&g.querySelector(X0(w))||c==="script"&&g.querySelector(Q0(w))||(c=g.createElement("link"),wn(c,"link",l),ln(c),g.head.appendChild(c)))}}function KJ(l,c){Bo.m(l,c);var p=Cc;if(p&&l){var g=c&&typeof c.as=="string"?c.as:"script",x='link[rel="modulepreload"][as="'+Fa(g)+'"][href="'+Fa(l)+'"]',w=x;switch(g){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":w=kc(l)}if(!Ka.has(w)&&(l=d({rel:"modulepreload",href:l},c),Ka.set(w,l),p.querySelector(x)===null)){switch(g){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(p.querySelector(Q0(w)))return}g=p.createElement("link"),wn(g,"link",l),ln(g),p.head.appendChild(g)}}}function XJ(l,c,p){Bo.S(l,c,p);var g=Cc;if(g&&l){var x=Xu(g).hoistableStyles,w=Oc(l);c=c||"default";var D=x.get(w);if(!D){var q={loading:0,preload:null};if(D=g.querySelector(X0(w)))q.loading=5;else{l=d({rel:"stylesheet",href:l,"data-precedence":c},p),(p=Ka.get(w))&&Tx(l,p);var se=D=g.createElement("link");ln(se),wn(se,"link",l),se._p=new Promise(function(ge,Ee){se.onload=ge,se.onerror=Ee}),se.addEventListener("load",function(){q.loading|=1}),se.addEventListener("error",function(){q.loading|=2}),q.loading|=4,Dm(D,c,g)}D={type:"stylesheet",instance:D,count:1,state:q},x.set(w,D)}}}function QJ(l,c){Bo.X(l,c);var p=Cc;if(p&&l){var g=Xu(p).hoistableScripts,x=kc(l),w=g.get(x);w||(w=p.querySelector(Q0(x)),w||(l=d({src:l,async:!0},c),(c=Ka.get(x))&&Ax(l,c),w=p.createElement("script"),ln(w),wn(w,"link",l),p.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},g.set(x,w))}}function ZJ(l,c){Bo.M(l,c);var p=Cc;if(p&&l){var g=Xu(p).hoistableScripts,x=kc(l),w=g.get(x);w||(w=p.querySelector(Q0(x)),w||(l=d({src:l,async:!0,type:"module"},c),(c=Ka.get(x))&&Ax(l,c),w=p.createElement("script"),ln(w),wn(w,"link",l),p.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},g.set(x,w))}}function R9(l,c,p,g){var x=(x=Oe.current)?Im(x):null;if(!x)throw Error(n(446));switch(l){case"meta":case"title":return null;case"style":return typeof p.precedence=="string"&&typeof p.href=="string"?(c=Oc(p.href),p=Xu(x).hoistableStyles,g=p.get(c),g||(g={type:"style",instance:null,count:0,state:null},p.set(c,g)),g):{type:"void",instance:null,count:0,state:null};case"link":if(p.rel==="stylesheet"&&typeof p.href=="string"&&typeof p.precedence=="string"){l=Oc(p.href);var w=Xu(x).hoistableStyles,D=w.get(l);if(D||(x=x.ownerDocument||x,D={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},w.set(l,D),(w=x.querySelector(X0(l)))&&!w._p&&(D.instance=w,D.state.loading=5),Ka.has(l)||(p={rel:"preload",as:"style",href:p.href,crossOrigin:p.crossOrigin,integrity:p.integrity,media:p.media,hrefLang:p.hrefLang,referrerPolicy:p.referrerPolicy},Ka.set(l,p),w||JJ(x,l,p,D.state))),c&&g===null)throw Error(n(528,""));return D}if(c&&g!==null)throw Error(n(529,""));return null;case"script":return c=p.async,p=p.src,typeof p=="string"&&c&&typeof c!="function"&&typeof c!="symbol"?(c=kc(p),p=Xu(x).hoistableScripts,g=p.get(c),g||(g={type:"script",instance:null,count:0,state:null},p.set(c,g)),g):{type:"void",instance:null,count:0,state:null};default:throw Error(n(444,l))}}function Oc(l){return'href="'+Fa(l)+'"'}function X0(l){return'link[rel="stylesheet"]['+l+"]"}function M9(l){return d({},l,{"data-precedence":l.precedence,precedence:null})}function JJ(l,c,p,g){l.querySelector('link[rel="preload"][as="style"]['+c+"]")?g.loading=1:(c=l.createElement("link"),g.preload=c,c.addEventListener("load",function(){return g.loading|=1}),c.addEventListener("error",function(){return g.loading|=2}),wn(c,"link",p),ln(c),l.head.appendChild(c))}function kc(l){return'[src="'+Fa(l)+'"]'}function Q0(l){return"script[async]"+l}function P9(l,c,p){if(c.count++,c.instance===null)switch(c.type){case"style":var g=l.querySelector('style[data-href~="'+Fa(p.href)+'"]');if(g)return c.instance=g,ln(g),g;var x=d({},p,{"data-href":p.href,"data-precedence":p.precedence,href:null,precedence:null});return g=(l.ownerDocument||l).createElement("style"),ln(g),wn(g,"style",x),Dm(g,p.precedence,l),c.instance=g;case"stylesheet":x=Oc(p.href);var w=l.querySelector(X0(x));if(w)return c.state.loading|=4,c.instance=w,ln(w),w;g=M9(p),(x=Ka.get(x))&&Tx(g,x),w=(l.ownerDocument||l).createElement("link"),ln(w);var D=w;return D._p=new Promise(function(q,se){D.onload=q,D.onerror=se}),wn(w,"link",g),c.state.loading|=4,Dm(w,p.precedence,l),c.instance=w;case"script":return w=kc(p.src),(x=l.querySelector(Q0(w)))?(c.instance=x,ln(x),x):(g=p,(x=Ka.get(w))&&(g=d({},p),Ax(g,x)),l=l.ownerDocument||l,x=l.createElement("script"),ln(x),wn(x,"link",g),l.head.appendChild(x),c.instance=x);case"void":return null;default:throw Error(n(443,c.type))}else c.type==="stylesheet"&&(c.state.loading&4)===0&&(g=c.instance,c.state.loading|=4,Dm(g,p.precedence,l));return c.instance}function Dm(l,c,p){for(var g=p.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),x=g.length?g[g.length-1]:null,w=x,D=0;D<g.length;D++){var q=g[D];if(q.dataset.precedence===c)w=q;else if(w!==x)break}w?w.parentNode.insertBefore(l,w.nextSibling):(c=p.nodeType===9?p.head:p,c.insertBefore(l,c.firstChild))}function Tx(l,c){l.crossOrigin==null&&(l.crossOrigin=c.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=c.referrerPolicy),l.title==null&&(l.title=c.title)}function Ax(l,c){l.crossOrigin==null&&(l.crossOrigin=c.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=c.referrerPolicy),l.integrity==null&&(l.integrity=c.integrity)}var Lm=null;function I9(l,c,p){if(Lm===null){var g=new Map,x=Lm=new Map;x.set(p,g)}else x=Lm,g=x.get(p),g||(g=new Map,x.set(p,g));if(g.has(l))return g;for(g.set(l,null),p=p.getElementsByTagName(l),x=0;x<p.length;x++){var w=p[x];if(!(w[h0]||w[bn]||l==="link"&&w.getAttribute("rel")==="stylesheet")&&w.namespaceURI!=="http://www.w3.org/2000/svg"){var D=w.getAttribute(c)||"";D=l+D;var q=g.get(D);q?q.push(w):g.set(D,[w])}}return g}function D9(l,c,p){l=l.ownerDocument||l,l.head.insertBefore(p,c==="title"?l.querySelector("head > title"):null)}function eee(l,c,p){if(p===1||c.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof c.precedence!="string"||typeof c.href!="string"||c.href==="")break;return!0;case"link":if(typeof c.rel!="string"||typeof c.href!="string"||c.href===""||c.onLoad||c.onError)break;switch(c.rel){case"stylesheet":return l=c.disabled,typeof c.precedence=="string"&&l==null;default:return!0}case"script":if(c.async&&typeof c.async!="function"&&typeof c.async!="symbol"&&!c.onLoad&&!c.onError&&c.src&&typeof c.src=="string")return!0}return!1}function L9(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function tee(l,c,p,g){if(p.type==="stylesheet"&&(typeof g.media!="string"||matchMedia(g.media).matches!==!1)&&(p.state.loading&4)===0){if(p.instance===null){var x=Oc(g.href),w=c.querySelector(X0(x));if(w){c=w._p,c!==null&&typeof c=="object"&&typeof c.then=="function"&&(l.count++,l=jm.bind(l),c.then(l,l)),p.state.loading|=4,p.instance=w,ln(w);return}w=c.ownerDocument||c,g=M9(g),(x=Ka.get(x))&&Tx(g,x),w=w.createElement("link"),ln(w);var D=w;D._p=new Promise(function(q,se){D.onload=q,D.onerror=se}),wn(w,"link",g),p.instance=w}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(p,c),(c=p.state.preload)&&(p.state.loading&3)===0&&(l.count++,p=jm.bind(l),c.addEventListener("load",p),c.addEventListener("error",p))}}var Cx=0;function ree(l,c){return l.stylesheets&&l.count===0&&zm(l,l.stylesheets),0<l.count||0<l.imgCount?function(p){var g=setTimeout(function(){if(l.stylesheets&&zm(l,l.stylesheets),l.unsu
vendor: 10,552 bytes, line 50
50spend){var w=l.unsuspend;l.unsuspend=null,w()}},6e4+c);0<l.imgBytes&&Cx===0&&(Cx=62500*LJ());var x=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&zm(l,l.stylesheets),l.unsuspend)){var w=l.unsuspend;l.unsuspend=null,w()}},(l.imgBytes>Cx?50:800)+c);return l.unsuspend=p,function(){l.unsuspend=null,clearTimeout(g),clearTimeout(x)}}:null}function jm(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)zm(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Bm=null;function zm(l,c){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Bm=new Map,c.forEach(nee,l),Bm=null,jm.call(l))}function nee(l,c){if(!(c.state.loading&4)){var p=Bm.get(l);if(p)var g=p.get(null);else{p=new Map,Bm.set(l,p);for(var x=l.querySelectorAll("link[data-precedence],style[data-precedence]"),w=0;w<x.length;w++){var D=x[w];(D.nodeName==="LINK"||D.getAttribute("media")!=="not all")&&(p.set(D.dataset.precedence,D),g=D)}g&&p.set(null,g)}x=c.instance,D=x.getAttribute("data-precedence"),w=p.get(D)||g,w===g&&p.set(null,x),p.set(D,x),this.count++,g=jm.bind(this),x.addEventListener("load",g),x.addEventListener("error",g),w?w.parentNode.insertBefore(x,w.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(x,l.firstChild)),c.state.loading|=4}}var Z0={$$typeof:C,Provider:null,Consumer:null,_currentValue:Z,_currentValue2:Z,_threadCount:0};function aee(l,c,p,g,x,w,D,q,se){this.tag=1,this.containerInfo=l,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=bs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bs(0),this.hiddenUpdates=bs(null),this.identifierPrefix=g,this.onUncaughtError=x,this.onCaughtError=w,this.onRecoverableError=D,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=se,this.incompleteTransitions=new Map}function j9(l,c,p,g,x,w,D,q,se,ge,Ee,Ce){return l=new aee(l,c,p,D,se,ge,Ee,Ce,q),c=1,w===!0&&(c|=24),w=Ea(3,null,null,c),l.current=w,w.stateNode=l,c=o2(),c.refCount++,l.pooledCache=c,c.refCount++,w.memoizedState={element:g,isDehydrated:p,cache:c},c2(w),l}function B9(l){return l?(l=oc,l):oc}function z9(l,c,p,g,x,w){x=B9(x),g.context===null?g.context=x:g.pendingContext=x,g=Cs(c),g.payload={element:p},w=w===void 0?null:w,w!==null&&(g.callback=w),p=Os(l,g,c),p!==null&&(sa(p,l,c),N0(p,l,c))}function H9(l,c){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var p=l.retryLane;l.retryLane=p!==0&&p<c?p:c}}function Ox(l,c){H9(l,c),(l=l.alternate)&&H9(l,c)}function F9(l){if(l.tag===13||l.tag===31){var c=Ml(l,67108864);c!==null&&sa(c,l,67108864),Ox(l,67108864)}}function $9(l){if(l.tag===13||l.tag===31){var c=Aa();c=Gu(c);var p=Ml(l,c);p!==null&&sa(p,l,c),Ox(l,c)}}var Hm=!0;function iee(l,c,p,g){var x=U.T;U.T=null;var w=J.p;try{J.p=2,kx(l,c,p,g)}finally{J.p=w,U.T=x}}function oee(l,c,p,g){var x=U.T;U.T=null;var w=J.p;try{J.p=8,kx(l,c,p,g)}finally{J.p=w,U.T=x}}function kx(l,c,p,g){if(Hm){var x=Nx(g);if(x===null)mx(l,c,g,Fm,p),q9(l,g);else if(lee(x,l,c,p,g))g.stopPropagation();else if(q9(l,g),c&4&&-1<see.indexOf(l)){for(;x!==null;){var w=Ku(x);if(w!==null)switch(w.tag){case 3:if(w=w.stateNode,w.current.memoizedState.isDehydrated){var D=Bi(w.pendingLanes);if(D!==0){var q=w;for(q.pendingLanes|=2,q.entangledLanes|=2;D;){var se=1<<31-qt(D);q.entanglements[1]|=se,D&=~se}$i(w),(Ft&6)===0&&(wm=zr()+500,G0(0))}}break;case 31:case 13:q=Ml(w,2),q!==null&&sa(q,w,2),Tm(),Ox(w,2)}if(w=Nx(g),w===null&&mx(l,c,g,Fm,p),w===x)break;x=w}x!==null&&g.stopPropagation()}else mx(l,c,g,null,p)}}function Nx(l){return l=Mb(l),Rx(l)}var Fm=null;function Rx(l){if(Fm=null,l=Wu(l),l!==null){var c=i(l);if(c===null)l=null;else{var p=c.tag;if(p===13){if(l=o(c),l!==null)return l;l=null}else if(p===31){if(l=s(c),l!==null)return l;l=null}else if(p===3){if(c.stateNode.current.memoizedState.isDehydrated)return c.tag===3?c.stateNode.containerInfo:null;l=null}else c!==l&&(l=null)}}return Fm=l,null}function U9(l){switch(l){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(ys()){case _e:return 2;case je:return 8;case nt:case dt:return 32;case xt:return 268435456;default:return 32}default:return 32}}var Mx=!1,zs=null,Hs=null,Fs=null,J0=new Map,ed=new Map,$s=[],see="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 q9(l,c){switch(l){case"focusin":case"focusout":zs=null;break;case"dragenter":case"dragleave":Hs=null;break;case"mouseover":case"mouseout":Fs=null;break;case"pointerover":case"pointerout":J0.delete(c.pointerId);break;case"gotpointercapture":case"lostpointercapture":ed.delete(c.pointerId)}}function td(l,c,p,g,x,w){return l===null||l.nativeEvent!==w?(l={blockedOn:c,domEventName:p,eventSystemFlags:g,nativeEvent:w,targetContainers:[x]},c!==null&&(c=Ku(c),c!==null&&F9(c)),l):(l.eventSystemFlags|=g,c=l.targetContainers,x!==null&&c.indexOf(x)===-1&&c.push(x),l)}function lee(l,c,p,g,x){switch(c){case"focusin":return zs=td(zs,l,c,p,g,x),!0;case"dragenter":return Hs=td(Hs,l,c,p,g,x),!0;case"mouseover":return Fs=td(Fs,l,c,p,g,x),!0;case"pointerover":var w=x.pointerId;return J0.set(w,td(J0.get(w)||null,l,c,p,g,x)),!0;case"gotpointercapture":return w=x.pointerId,ed.set(w,td(ed.get(w)||null,l,c,p,g,x)),!0}return!1}function V9(l){var c=Wu(l.target);if(c!==null){var p=i(c);if(p!==null){if(c=p.tag,c===13){if(c=o(p),c!==null){l.blockedOn=c,i7(l.priority,function(){$9(p)});return}}else if(c===31){if(c=s(p),c!==null){l.blockedOn=c,i7(l.priority,function(){$9(p)});return}}else if(c===3&&p.stateNode.current.memoizedState.isDehydrated){l.blockedOn=p.tag===3?p.stateNode.containerInfo:null;return}}}l.blockedOn=null}function $m(l){if(l.blockedOn!==null)return!1;for(var c=l.targetContainers;0<c.length;){var p=Nx(l.nativeEvent);if(p===null){p=l.nativeEvent;var g=new p.constructor(p.type,p);Rb=g,p.target.dispatchEvent(g),Rb=null}else return c=Ku(p),c!==null&&F9(c),l.blockedOn=p,!1;c.shift()}return!0}function G9(l,c,p){$m(l)&&p.delete(c)}function uee(){Mx=!1,zs!==null&&$m(zs)&&(zs=null),Hs!==null&&$m(Hs)&&(Hs=null),Fs!==null&&$m(Fs)&&(Fs=null),J0.forEach(G9),ed.forEach(G9)}function Um(l,c){l.blockedOn===c&&(l.blockedOn=null,Mx||(Mx=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,uee)))}var qm=null;function Y9(l){qm!==l&&(qm=l,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){qm===l&&(qm=null);for(var c=0;c<l.length;c+=3){var p=l[c],g=l[c+1],x=l[c+2];if(typeof g!="function"){if(Rx(g||p)===null)continue;break}var w=Ku(p);w!==null&&(l.splice(c,3),c-=3,N2(w,{pending:!0,data:x,method:p.method,action:g},g,x))}}))}function Nc(l){function c(se){return Um(se,l)}zs!==null&&Um(zs,l),Hs!==null&&Um(Hs,l),Fs!==null&&Um(Fs,l),J0.forEach(c),ed.forEach(c);for(var p=0;p<$s.length;p++){var g=$s[p];g.blockedOn===l&&(g.blockedOn=null)}for(;0<$s.length&&(p=$s[0],p.blockedOn===null);)V9(p),p.blockedOn===null&&$s.shift();if(p=(l.ownerDocument||l).$$reactFormReplay,p!=null)for(g=0;g<p.length;g+=3){var x=p[g],w=p[g+1],D=x[ta]||null;if(typeof w=="function")D||Y9(p);else if(D){var q=null;if(w&&w.hasAttribute("formAction")){if(x=w,D=w[ta]||null)q=D.formAction;else if(Rx(x)!==null)continue}else q=D.action;typeof q=="function"?p[g+1]=q:(p.splice(g,3),g-=3),Y9(p)}}}function W9(){function l(w){w.canIntercept&&w.info==="react-transition"&&w.intercept({handler:function(){return new Promise(function(D){return x=D})},focusReset:"manual",scroll:"manual"})}function c(){x!==null&&(x(),x=null),g||setTimeout(p,20)}function p(){if(!g&&!navigation.transition){var w=navigation.currentEntry;w&&w.url!=null&&navigation.navigate(w.url,{state:w.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var g=!1,x=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",c),navigation.addEventListener("navigateerror",c),setTimeout(p,100),function(){g=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",c),navigation.removeEventListener("navigateerror",c),x!==null&&(x(),x=null)}}}function Px(l){this._internalRoot=l}Vm.prototype.render=Px.prototype.render=function(l){var c=this._internalRoot;if(c===null)throw Error(n(409));var p=c.current,g=Aa();z9(p,g,l,c,null,null)},Vm.prototype.unmount=Px.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var c=l.containerInfo;z9(l.current,2,null,l,null,null),Tm(),c[Yu]=null}};function Vm(l){this._internalRoot=l}Vm.prototype.unstable_scheduleHydration=function(l){if(l){var c=Sb();l={blockedOn:null,target:l,priority:c};for(var p=0;p<$s.length&&c!==0&&c<$s[p].priority;p++);$s.splice(p,0,l),p===0&&V9(l)}};var K9=t.version;if(K9!=="19.2.1")throw Error(n(527,K9,"19.2.1"));J.findDOMNode=function(l){var c=l._reactInternals;if(c===void 0)throw typeof l.render=="function"?Error(n(188)):(l=Object.keys(l).join(","),Error(n(268,l)));return l=f(c),l=l!==null?h(l):null,l=l===null?null:l.stateNode,l};var cee={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.1"};
50if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gm.isDisabled&&Gm.supportsFiber)try{vn=Gm.inject(cee),Mr=Gm}catch{}}return ad.createRoot=function(l,c){if(!a(l))throw Error(n(299));var p=!1,g="",x=rO,w=nO,D=aO;return c!=null&&(c.unstable_strictMode===!0&&(p=!0),c.identifierPrefix!==void 0&&(g=c.identifierPrefix),c.onUncaughtError!==void 0&&(x=c.onUncaughtError),c.onCaughtError!==void 0&&(w=c.onCaughtError),c.onRecoverableError!==void 0&&(D=c.onRecoverableError)),c=j9(l,1,!1,null,null,p,g,null,x,w,D,W9),l[Yu]=c.current,px(l),new Px(c)},ad.hydrateRoot=function(l,c,p){if(!a(l))throw Error(n(299));var g=!1,x="",w=rO,D=nO,q=aO,se=null;return p!=null&&(p.unstable_strictMode===!0&&(g=!0),p.identifierPrefix!==void 0&&(x=p.identifierPrefix),p.onUncaughtError!==void 0&&(w=p.onUncaughtError),p.onCaughtError!==void 0&&(D=p.onCaughtError),p.onRecoverableError!==void 0&&(q=p.onRecoverableError),p.formState!==void 0&&(se=p.formState)),c=j9(l,1,!0,c,p??null,g,x,se,w,D,q,W9),c.context=B9(null),p=c.current,g=Aa(),g=Gu(g),x=Cs(g),x.callback=null,Os(p,x,g),p=g,c.current.lanes=p,_r(c,p),$i(c),l[Yu]=c.current,px(l),new Vm(c)},ad.version="19.2.1",ad}var Ek;function Ore(){if(Ek)return Hx.exports;Ek=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(),Hx.exports=Cre(),Hx.exports}var kre=Ore(),Nre=(function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(t,r){this.keyToValue.set(t,r),this.valueToKey.set(r,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})(),FH=(function(){function e(t){this.generateIdentifier=t,this.kv=new Nre}return e.prototype.register=function(t,r){this.kv.getByValue(t)||(r||(r=this.generateIdentifier(t)),this.kv.set(r,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})(),Rre=(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),Mre=(function(e){Rre(t,e);function t(){var r=e.call(this,function(n){return n.name})||this;return r.classToAllowedProps=new Map,r}return t.prototype.register=function(r,n){typeof n=="object"?(n.allowProps&&this.classToAllowedProps.set(r,n.allowProps),e.prototype.register.call(this,r,n.identifier)):e.prototype.register.call(this,r,n)},t.prototype.getAllowedProps=function(r){return this.classToAllowedProps.get(r)},t})(FH),Pre=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return i};function Ire(e){if("values"in Object)return Object.values(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t}function Dre(e,t){var r=Ire(e);if("find"in r)return r.find(t);for(var n=r,a=0;a<n.length;a++){var i=n[a];if(t(i))return i}}function hf(e,t){Object.entries(e).forEach(function(r){var n=Pre(r,2),a=n[0],i=n[1];return t(i,a)})}function Kg(e,t){return e.indexOf(t)!==-1}function _k(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t(n))return n}}var Lre=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return Dre(this.transfomers,function(r){return r.isApplicable(t)})},e.prototype.findByName=function(t){return this.transfomers[t]},e})(),jre=function(e){return Object.prototype.toString.call(e).slice(8,-1)},$H=function(e){return typeof e>"u"},Bre=function(e){return e===null},rh=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},pw=function(e){return rh(e)&&Object.keys(e).length===0},ul=function(e){return Array.isArray(e)},zre=function(e){return typeof e=="string"},Hre=function(e){return typeof e=="number"&&!isNaN(e)},Fre=function(e){return typeof e=="boolean"},$re=function(e){return e instanceof RegExp},nh=function(e){return e instanceof Map},ah=function(e){return e instanceof Set},UH=function(e){return jre(e)==="Symbol"},Ure=function(e){return e instanceof Date&&!isNaN(e.valueOf())},qre=function(e){return e instanceof Error},wk=function(e){return typeof e=="number"&&isNaN(e)},Vre=function(e){return Fre(e)||Bre(e)||$H(e)||Hre(e)||zre(e)||UH(e)},Gre=function(e){return typeof e=="bigint"},Yre=function(e){return e===1/0||e===-1/0},Wre=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},Kre=function(e){return e instanceof URL},qH=function(e){return e.replace(/\./g,"\\.")},qx=function(e){return e.map(String).map(qH).join(".")},Dd=function(e){for(var t=[],r="",n=0;n<e.length;n++){var a=e.charAt(n),i=a==="\\"&&e.charAt(n+1)===".";if(i){r+=".",n++;continue}var o=a===".";if(o){t.push(r),r="";
50continue}r+=a}var s=r;return t.push(s),t},mw=function(){return mw=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},mw.apply(this,arguments)},gw=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return i},vw=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};function Ui(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}var VH=[Ui($H,"undefined",function(){return null},function(){}),Ui(Gre,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),Ui(Ure,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),Ui(qre,"Error",function(e,t){var r={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(n){r[n]=e[n]}),r},function(e,t){var r=new Error(e.message);return r.name=e.name,r.stack=e.stack,t.allowedErrorProps.forEach(function(n){r[n]=e[n]}),r}),Ui($re,"regexp",function(e){return""+e},function(e){var t=e.slice(1,e.lastIndexOf("/")),r=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,r)}),Ui(ah,"set",function(e){return vw([],gw(e.values()))},function(e){return new Set(e)}),Ui(nh,"map",function(e){return vw([],gw(e.entries()))},function(e){return new Map(e)}),Ui(function(e){return wk(e)||Yre(e)},"number",function(e){return wk(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),Ui(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),Ui(Kre,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function Yv(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}var GH=Yv(function(e,t){if(UH(e)){var r=!!t.symbolRegistry.getIdentifier(e);return r}return!1},function(e,t){var r=t.symbolRegistry.getIdentifier(e);return["symbol",r]},function(e){return e.description},function(e,t,r){var n=r.symbolRegistry.getValue(t[1]);if(!n)throw new Error("Trying to deserialize unknown symbol");return n}),Xre=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),YH=Yv(Wre,function(e){return["typed-array",e.constructor.name]},function(e){return vw([],gw(e))},function(e,t){var r=Xre[t[1]];if(!r)throw new Error("Trying to deserialize unknown typed array");return new r(e)});function WH(e,t){if(e?.constructor){var r=!!t.classRegistry.getIdentifier(e.constructor);return r}return!1}var KH=Yv(WH,function(e,t){var r=t.classRegistry.getIdentifier(e.constructor);return["class",r]},function(e,t){var r=t.classRegistry.getAllowedProps(e.constructor);if(!r)return mw({},e);var n={};return r.forEach(function(a){n[a]=e[a]}),n},function(e,t,r){var n=r.classRegistry.getValue(t[1]);if(!n)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(n.prototype),e)}),XH=Yv(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){var r=t.customTransformerRegistry.findApplicable(e);return["custom",r.name]},function(e,t){var r=t.customTransformerRegistry.findApplicable(e);return r.serialize(e)},function(e,t,r){var n=r.customTransformerRegistry.findByName(t[1]);if(!n)throw new Error("Trying to deserialize unknown custom value");return n.deserialize(e)}),Qre=[KH,GH,XH,YH],Sk=function(e,t){var r=_k(Qre,function(a){return a.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation(e,t)};var n=_k(VH,function(a){return a.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation}},QH={};VH.forEach(function(e){QH[e.annotation]=e});var Zre=function(e,t,r){if(ul(t))switch(t[0]){case"symbol":return GH.untransform(e,t,r);case"class":return KH.untransform(e,t,r);
50case"custom":return XH.untransform(e,t,r);case"typed-array":return YH.untransform(e,t,r);default:throw new Error("Unknown transformation: "+t)}else{var n=QH[t];if(!n)throw new Error("Unknown transformation: "+t);return n.untransform(e,r)}},Kc=function(e,t){for(var r=e.keys();t>0;)r.next(),t--;return r.next().value};function ZH(e){if(Kg(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Kg(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Kg(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Jre=function(e,t){ZH(t);for(var r=0;r<t.length;r++){var n=t[r];if(ah(e))e=Kc(e,+n);else if(nh(e)){var a=+n,i=+t[++r]==0?"key":"value",o=Kc(e,a);switch(i){case"key":e=o;break;case"value":e=e.get(o);break}}else e=e[n]}return e},yw=function(e,t,r){if(ZH(t),t.length===0)return r(e);for(var n=e,a=0;a<t.length-1;a++){var i=t[a];if(ul(n)){var o=+i;n=n[o]}else if(rh(n))n=n[i];else if(ah(n)){var s=+i;n=Kc(n,s)}else if(nh(n)){var u=a===t.length-2;if(u)break;var s=+i,f=+t[++a]==0?"key":"value",h=Kc(n,s);switch(f){case"key":n=h;break;case"value":n=n.get(h);break}}}var d=t[t.length-1];if(ul(n)?n[+d]=r(n[+d]):rh(n)&&(n[d]=r(n[d])),ah(n)){var m=Kc(n,+d),v=r(m);m!==v&&(n.delete(m),n.add(v))}if(nh(n)){var s=+t[t.length-2],y=Kc(n,s),f=+d==0?"key":"value";switch(f){case"key":{var b=r(y);n.set(b,n.get(y)),b!==y&&n.delete(y);break}case"value":{n.set(y,r(n.get(y)));break}}}return e},Vo=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return i},tl=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};function bw(e,t,r){if(r===void 0&&(r=[]),!!e){if(!ul(e)){hf(e,function(o,s){return bw(o,t,tl(tl([],Vo(r)),Vo(Dd(s))))});return}var n=Vo(e,2),a=n[0],i=n[1];i&&hf(i,function(o,s){bw(o,t,tl(tl([],Vo(r)),Vo(Dd(s))))}),t(a,r)}}function ene(e,t,r){return bw(t,function(n,a){e=yw(e,a,function(i){return Zre(i,n,r)})}),e}function tne(e,t){function r(o,s){var u=Jre(e,Dd(s));o.map(Dd).forEach(function(f){e=yw(e,f,function(){return u})})}if(ul(t)){var n=Vo(t,2),a=n[0],i=n[1];a.forEach(function(o){e=yw(e,Dd(o),function(){return e})}),i&&hf(i,r)}else hf(t,r);return e}var rne=function(e,t){return rh(e)||ul(e)||nh(e)||ah(e)||WH(e,t)};function nne(e,t,r){var n=r.get(e);n?n.push(t):r.set(e,[t])}function ane(e,t){var r={},n=void 0;return e.forEach(function(a){if(!(a.length<=1)){t||(a=a.map(function(u){return u.map(String)}).sort(function(u,f){return u.length-f.length}));var i=Vo(a),o=i[0],s=i.slice(1);o.length===0?n=s.map(qx):r[qx(o)]=s.map(qx)}}),n?pw(r)?[n]:[n,r]:pw(r)?void 0:r}var JH=function(e,t,r,n,a,i,o){var s;a===void 0&&(a=[]),i===void 0&&(i=[]),o===void 0&&(o=new Map);var u=Vre(e);if(!u){nne(e,a,t);var f=o.get(e);if(f)return n?{transformedValue:null}:f}if(!rne(e,r)){var h=Sk(e,r),d=h?{transformedValue:h.value,annotations:[h.type]}:{transformedValue:e};return u||o.set(e,d),d}if(Kg(i,e))return{transformedValue:null};var m=Sk(e,r),v=(s=m?.value)!==null&&s!==void 0?s:e,y=ul(v)?[]:{},b={};hf(v,function(_,A){var C=JH(_,t,r,n,tl(tl([],Vo(a)),[A]),tl(tl([],Vo(i)),[e]),o);y[A]=C.transformedValue,ul(C.annotations)?b[A]=C.annotations:rh(C.annotations)&&hf(C.annotations,function(P,O){b[qH(A)+"."+O]=P})});var E=pw(b)?{transformedValue:y,annotations:m?[m.type]:void 0}:{transformedValue:y,annotations:m?[m.type,b]:b};return u||o.set(e,E),E};function eF(e){return Object.prototype.toString.call(e).slice(8,-1)}function Tk(e){return eF(e)==="Array"}function ine(e){if(eF(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function one(e,t,r,n,a){const i={}.propertyIsEnumerable.call(n,t)?"enumerable":"nonenumerable";i==="enumerable"&&(e[t]=r),a&&i==="nonenumerable"&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function xw(e,t={}){if(Tk(e))return e.map(a=>xw(a,t));if(!ine(e))return e;const r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols(e);return[...r,...n].reduce((a,i)=>{if(Tk(t.props)&&!t.props.includes(i))return a;const o=e[i],s=xw(o,t);return one(a,i,s,e,t.nonenumerable),a},{})}var tu=function(){return tu=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},tu.apply(this,arguments)},sne=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return i},lne=function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e},fs=(function(){function e(t){var r=t===void 0?{}:t,n=r.dedupe,a=n===void 0?!1:n;this.classRegistry=new Mre,this.symbolRegistry=new FH(function(i){var o;return(o=i.description)!==null&&o!==void 0?o:""}),this.customTransformerRegistry=new Lre,this.allowedErrorProps=[],this.dedupe=a}return e.prototype.serialize=function(t){var r=new Map,n=JH(t,r,this,this.dedupe),a={json:n.transformedValue};n.annotations&&(a.meta=tu(tu({},a.meta),{values:n.annotations}));var i=ane(r,this.dedupe);return i&&(a.meta=tu(tu({},a.meta),{referentialEqualities:i})),a},e.prototype.deserialize=function(t){var r=t.json,n=t.meta,a=xw(r);return n?.values&&(a=ene(a,n.values,this)),n?.referentialEqualities&&(a=tne(a,n.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,r){this.classRegistry.register(t,r)},e.prototype.registerSymbol=function(t,r){this.symbolRegistry.register(t,r)},e.prototype.registerCustom=function(t,r){this.customTransformerRegistry.register(tu({name:r},t))},e.prototype.allowErrorProps=function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];(t=this.allowedErrorProps).push.apply(t,lne([],sne(r)))},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})();fs.serialize;fs.deserialize;fs.stringify;fs.parse;fs.registerClass;fs.registerCustom;fs.registerSymbol;fs.allowErrorProps;var une=(e,t,r,n,a,i,o,s)=>{let u=document.documentElement,f=["light","dark"];
vendor: 7,494 bytes, line 50
50function h(v){(Array.isArray(e)?e:[e]).forEach(y=>{let b=y==="class",E=b&&i?a.map(_=>i[_]||_):a;b?(u.classList.remove(...E),u.classList.add(i&&i[v]?i[v]:v)):u.setAttribute(y,v)}),d(v)}function d(v){s&&f.includes(v)&&(u.style.colorScheme=v)}function m(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(n)h(n);else try{let v=localStorage.getItem(t)||r,y=o&&v==="system"?m():v;h(y)}catch{}},cne=R.createContext(void 0),fne={setTheme:e=>{},themes:[]},dne=()=>{var e;return(e=R.useContext(cne))!=null?e:fne};R.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:n,enableColorScheme:a,defaultTheme:i,value:o,themes:s,nonce:u,scriptProps:f})=>{let h=JSON.stringify([r,t,i,e,s,o,n,a]).slice(1,-1);return R.createElement("script",{...f,suppressHydrationWarning:!0,nonce:typeof window>"u"?u:"",dangerouslySetInnerHTML:{__html:`(${une.toString()})(${h})`}})});var tT=HH();const tF=Yt(tT);function hne(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}const pne=e=>{switch(e){case"success":return vne;case"info":return bne;case"warning":return yne;case"error":return xne;default:return null}},mne=Array(12).fill(0),gne=({visible:e,className:t})=>re.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},re.createElement("div",{className:"sonner-spinner"},mne.map((r,n)=>re.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),vne=re.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},re.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"})),yne=re.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},re.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"})),bne=re.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},re.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"})),xne=re.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},re.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"})),Ene=re.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"},re.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),re.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),_ne=()=>{const[e,t]=re.useState(document.hidden);return re.useEffect(()=>{const r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e};let Ew=1;class wne{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;const{message:n,...a}=t,i=typeof t?.id=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:Ew++,o=this.toasts.find(u=>u.id===i),s=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:n}),{...u,...t,id:i,dismissible:s,title:n}):u):this.addToast({title:n,...a,dismissible:s,id:i}),i},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:t,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(n=>n({id:r.id,dismiss:!0}))}),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let n;r.loading!==void 0&&(n=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let i=n!==void 0,o;const s=a.then(async f=>{if(o=["resolve",f],re.isValidElement(f))i=!1,this.create({id:n,type:"default",message:f});else if(Tne(f)&&!f.ok){i=!1;const d=typeof r.error=="function"?await r.error(`HTTP error! status: ${f.status}`):r.error,m=typeof r.description=="function"?await r.description(`HTTP error! status: ${f.status}`):r.description,y=typeof d=="object"&&!re.isValidElement(d)?d:{message:d};this.create({id:n,type:"error",description:m,...y})}else if(f instanceof Error){i=!1;const d=typeof r.error=="function"?await r.error(f):r.error,m=typeof r.description=="function"?await r.description(f):r.description,y=typeof d=="object"&&!re.isValidElement(d)?d:{message:d};this.create({id:n,type:"error",description:m,...y})}else if(r.success!==void 0){i=!1;const d=typeof r.success=="function"?await r.success(f):r.success,m=typeof r.description=="function"?await r.description(f):r.description,y=typeof d=="object"&&!re.isValidElement(d)?d:{message:d};this.create({id:n,type:"success",description:m,...y})}}).catch(async f=>{if(o=["reject",f],r.error!==void 0){i=!1;const h=typeof r.error=="function"?await r.error(f):r.error,d=typeof r.description=="function"?await r.description(f):r.description,v=typeof h=="object"&&!re.isValidElement(h)?h:{message:h};this.create({id:n,type:"error",description:d,...v})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),r.finally==null||r.finally.call(r)}),u=()=>new Promise((f,h)=>s.then(()=>o[0]==="reject"?h(o[1]):f(o[1])).catch(h));return typeof n!="string"&&typeof n!="number"?{unwrap:u}:Object.assign(n,{unwrap:u})},this.custom=(t,r)=>{const n=r?.id||Ew++;return this.create({jsx:t(n),id:n,...r}),n},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const fa=new wne,Sne=(e,t)=>{const r=t?.id||Ew++;return fa.addToast({title:e,...t,id:r}),r},Tne=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Ane=Sne,Cne=()=>fa.toasts,One=()=>fa.getActiveToasts();Object.assign(Ane,{success:fa.success,info:fa.info,warning:fa.warning,error:fa.error,custom:fa.custom,message:fa.message,promise:fa.promise,dismiss:fa.dismiss,loading:fa.loading},{getHistory:Cne,getToasts:One});hn
vendor: 14,874 bytes, line 50
50e("[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: 553 bytes, line 50
50Zm(e){return e.label!==void 0}const kne=3,Nne="24px",Rne="16px",Ak=4e3,Mne=356,Pne=14,Ine=45,Dne=200;function qi(...e){return e.filter(Boolean).join(" ")}function Lne(e){const[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}const jne=e=>{var t,r,n,a,i,o,s,u,f;const{invert:h,toast:d,unstyled:m,interacting:v,setHeights:y,visibleToasts:b,heights:E,index:_,toasts:A,expanded:C,removeToast:P,defaultRichColors:O,closeButton:k,style:M,cancelButtonStyle:L,actionButtonStyle:H,className:F="",descriptionClassName:$="",duration:z,position:W,gap:K,exp
vendor: 19,715 bytes, line 50
50andByDefault:te,classNames:U,icons:J,closeButtonAriaLabel:Z="Close toast"}=e,[le,G]=re.useState(null),[Y,oe]=re.useState(null),[j,de]=re.useState(!1),[xe,Oe]=re.useState(!1),[Re,He]=re.useState(!1),[Te,Ue]=re.useState(!1),[Ke,Ae]=re.useState(!1),[St,rt]=re.useState(0),[Ht,Pt]=re.useState(0),Kt=re.useRef(d.duration||z||Ak),Rr=re.useRef(null),Zt=re.useRef(null),ba=_===0,Hn=_+1<=b,dr=d.type,Qn=d.dismissible!==!1,zr=d.className||"",ys=d.descriptionClassName||"",_e=re.useMemo(()=>E.findIndex(st=>st.toastId===d.id)||0,[E,d.id]),je=re.useMemo(()=>{var st;return(st=d.closeButton)!=null?st:k},[d.closeButton,k]),nt=re.useMemo(()=>d.duration||z||Ak,[d.duration,z]),dt=re.useRef(0),xt=re.useRef(0),Cn=re.useRef(0),On=re.useRef(null),[vn,Mr]=W.split("-"),yn=re.useMemo(()=>E.reduce((st,vr,sn)=>sn>=_e?st:st+vr.height,0),[E,_e]),qt=_ne(),Li=d.invert||h,Fn=dr==="loading";xt.current=re.useMemo(()=>_e*K+yn,[_e,yn]),re.useEffect(()=>{Kt.current=nt},[nt]),re.useEffect(()=>{de(!0)},[]),re.useEffect(()=>{const st=Zt.current;if(st){const vr=st.getBoundingClientRect().height;return Pt(vr),y(sn=>[{toastId:d.id,height:vr,position:d.position},...sn]),()=>y(sn=>sn.filter(kn=>kn.toastId!==d.id))}},[y,d.id]),re.useLayoutEffect(()=>{if(!j)return;const st=Zt.current,vr=st.style.height;st.style.height="auto";const sn=st.getBoundingClientRect().height;st.style.height=vr,Pt(sn),y(kn=>kn.find(_r=>_r.toastId===d.id)?kn.map(_r=>_r.toastId===d.id?{..._r,height:sn}:_r):[{toastId:d.id,height:sn,position:d.position},...kn])},[j,d.title,d.description,y,d.id,d.jsx,d.action,d.cancel]);const ji=re.useCallback(()=>{Oe(!0),rt(xt.current),y(st=>st.filter(vr=>vr.toastId!==d.id)),setTimeout(()=>{P(d)},Dne)},[d,P,y,xt]);re.useEffect(()=>{if(d.promise&&dr==="loading"||d.duration===1/0||d.type==="loading")return;let st;return C||v||qt?(()=>{if(Cn.current<dt.current){const kn=new Date().getTime()-dt.current;Kt.current=Kt.current-kn}Cn.current=new Date().getTime()})():(()=>{Kt.current!==1/0&&(dt.current=new Date().getTime(),st=setTimeout(()=>{d.onAutoClose==null||d.onAutoClose.call(d,d),ji()},Kt.current))})(),()=>clearTimeout(st)},[C,v,d,dr,qt,ji]),re.useEffect(()=>{d.delete&&(ji(),d.onDismiss==null||d.onDismiss.call(d,d))},[ji,d.delete]);function qu(){var st;if(J?.loading){var vr;return re.createElement("div",{className:qi(U?.loader,d==null||(vr=d.classNames)==null?void 0:vr.loader,"sonner-loader"),"data-visible":dr==="loading"},J.loading)}return re.createElement(gne,{className:qi(U?.loader,d==null||(st=d.classNames)==null?void 0:st.loader),visible:dr==="loading"})}const Vu=d.icon||J?.[dr]||pne(dr);var Al,Bi;return re.createElement("li",{tabIndex:0,ref:Zt,className:qi(F,zr,U?.toast,d==null||(t=d.classNames)==null?void 0:t.toast,U?.default,U?.[dr],d==null||(r=d.classNames)==null?void 0:r[dr]),"data-sonner-toast":"","data-rich-colors":(Al=d.richColors)!=null?Al:O,"data-styled":!(d.jsx||d.unstyled||m),"data-mounted":j,"data-promise":!!d.promise,"data-swiped":Ke,"data-removed":xe,"data-visible":Hn,"data-y-position":vn,"data-x-position":Mr,"data-index":_,"data-front":ba,"data-swiping":Re,"data-dismissible":Qn,"data-type":dr,"data-invert":Li,"data-swipe-out":Te,"data-swipe-direction":Y,"data-expanded":!!(C||te&&j),"data-testid":d.testId,style:{"--index":_,"--toasts-before":_,"--z-index":A.length-_,"--offset":`${xe?St:xt.current}px`,"--initial-height":te?"auto":`${Ht}px`,...M,...d.style},onDragEnd:()=>{He(!1),G(null),On.current=null},onPointerDown:st=>{st.button!==2&&(Fn||!Qn||(Rr.current=new Date,rt(xt.current),st.target.setPointerCapture(st.pointerId),st.target.tagName!=="BUTTON"&&(He(!0),On.current={x:st.clientX,y:st.clientY})))},onPointerUp:()=>{var st,vr,sn;if(Te||!Qn)return;On.current=null;const kn=Number(((st=Zt.current)==null?void 0:st.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),bs=Number(((vr=Zt.current)==null?void 0:vr.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),_r=new Date().getTime()-((sn=Rr.current)==null?void 0:sn.getTime()),Zn=le==="x"?kn:bs,Cl=Math.abs(Zn)/_r;if(Math.abs(Zn)>=Ine||Cl>.11){rt(xt.current),d.onDismiss==null||d.onDismiss.call(d,d),oe(le==="x"?kn>0?"right":"left":bs>0?"down":"up"),ji(),Ue(!0);return}else{var Jn,ea;(Jn=Zt.current)==null||Jn.style.setProperty("--swipe-amount-x","0px"),(ea=Zt.current)==null||ea.style.setProperty("--swipe-amount-y","0px")}Ae(!1),He(!1),G(null)},onPointerMove:st=>{var vr,sn,kn;if(!On.current||!Qn||((vr=window.getSelection())==null?void 0:vr.toString().length)>0)return;const _r=st.clientY-On.current.y,Zn=st.clientX-On.current.x;var Cl;const Jn=(Cl=e.swipeDirections)!=null?Cl:Lne(W);!le&&(Math.abs(Zn)>1||Math.abs(_r)>1)&&G(Math.abs(Zn)>Math.abs(_r)?"x":"y");let ea={x:0,y:0};const Gu=vi=>1/(1.5+Math.abs(vi)/20);if(le==="y"){if(Jn.includes("top")||Jn.includes("bottom"))if(Jn.includes("top")&&_r<0||Jn.includes("bottom")&&_r>0)ea.y=_r;else{const vi=_r*Gu(_r);ea.y=Math.abs(vi)<Math.abs(_r)?vi:_r}}else if(le==="x"&&(Jn.includes("left")||Jn.includes("right")))if(Jn.includes("left")&&Zn<0||Jn.includes("right")&&Zn>0)ea.x=Zn;else{const vi=Zn*Gu(Zn);ea.x=Math.abs(vi)<Math.abs(Zn)?vi:Zn}(Math.abs(ea.x)>0||Math.abs(ea.y)>0)&&Ae(!0),(sn=Zt.current)==null||sn.style.setProperty("--swipe-amount-x",`${ea.x}px`),(kn=Zt.current)==null||kn.style.setProperty("--swipe-amount-y",`${ea.y}px`)}},je&&!d.jsx&&dr!=="loading"?re.createElement("button",{"aria-label":Z,"data-disabled":Fn,"data-close-button":!0,onClick:Fn||!Qn?()=>{}:()=>{ji(),d.onDismiss==null||d.onDismiss.call(d,d)},className:qi(U?.closeButton,d==null||(n=d.classNames)==null?void 0:n.closeButton)},(Bi=J?.close)!=null?Bi:Ene):null,(dr||d.icon||d.promise)&&d.icon!==null&&(J?.[dr]!==null||d.icon)?re.createElement("div",{"data-icon":"",className:qi(U?.icon,d==null||(a=d.classNames)==null?void 0:a.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||qu():null,d.type!=="loading"?Vu:null):null,re.createElement("div",{"data-content":"",className:qi(U?.content,d==null||(i=d.classNames)==null?void 0:i.content)},re.createElement("div",{"data-title":"",className:qi(U?.title,d==null||(o=d.classNames)==null?void 0:o.title)},d.jsx?d.jsx:typeof d.title=="function"?d.title():d.title),d.description?re.createElement("div",{"data-description":"",className:qi($,ys,U?.description,d==null||(s=d.classNames)==null?void 0:s.description)},typeof d.description=="function"?d.description():d.description):null),re.isValidElement(d.cancel)?d.cancel:d.cancel&&Zm(d.cancel)?re.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||L,onClick:st=>{Zm(d.cancel)&&Qn&&(d.cancel.onClick==null||d.cancel.onClick.call(d.cancel,st),ji())},className:qi(U?.cancelButton,d==null||(u=d.classNames)==null?void 0:u.cancelButton)},d.cancel.label):null,re.isValidElement(d.action)?d.action:d.action&&Zm(d.action)?re.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||H,onClick:st=>{Zm(d.action)&&(d.action.onClick==null||d.action.onClick.call(d.action,st),!st.defaultPrevented&&ji())},className:qi(U?.actionButton,d==null||(f=d.classNames)==null?void 0:f.actionButton)},d.action.label):null)};function Ck(){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 Bne(e,t){const r={};return[e,t].forEach((n,a)=>{const i=a===1,o=i?"--mobile-offset":"--offset",s=i?Rne:Nne;function u(f){["top","right","bottom","left"].forEach(h=>{r[`${o}-${h}`]=typeof f=="number"?`${f}px`:f})}typeof n=="number"||typeof n=="string"?u(n):typeof n=="object"?["top","right","bottom","left"].forEach(f=>{n[f]===void 0?r[`${o}-${f}`]=s:r[`${o}-${f}`]=typeof n[f]=="number"?`${n[f]}px`:n[f]}):u(s)}),r}const zne=re.forwardRef(function(t,r){const{id:n,invert:a,position:i="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:u,className:f,offset:h,mobileOffset:d,theme:m="light",richColors:v,duration:y,style:b,visibleToasts:E=kne,toastOptions:_,dir:A=Ck(),gap:C=Pne,icons:P,containerAriaLabel:O="Notifications"}=t,[k,M]=re.useState([]),L=re.useMemo(()=>n?k.filter(j=>j.toasterId===n):k.filter(j=>!j.toasterId),[k,n]),H=re.useMemo(()=>Array.from(new Set([i].concat(L.filter(j=>j.position).map(j=>j.position)))),[L,i]),[F,$]=re.useState([]),[z,W]=re.useState(!1),[K,te]=re.useState(!1),[U,J]=re.useState(m!=="system"?m:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Z=re.useRef(null),le=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),G=re.useRef(null),Y=re.useRef(!1),oe=re.useCallback(j=>{M(de=>{var xe;return(xe=de.find(Oe=>Oe.id===j.id))!=null&&xe.delete||fa.dismiss(j.id),de.filter(({id:Oe})=>Oe!==j.id)})},[]);return re.useEffect(()=>fa.subscribe(j=>{if(j.dismiss){requestAnimationFrame(()=>{M(de=>de.map(xe=>xe.id===j.id?{...xe,delete:!0}:xe))});return}setTimeout(()=>{tF.flushSync(()=>{M(de=>{const xe=de.findIndex(Oe=>Oe.id===j.id);return xe!==-1?[...de.slice(0,xe),{...de[xe],...j},...de.slice(xe+1)]:[j,...de]})})})}),[k]),re.useEffect(()=>{if(m!=="system"){J(m);return}if(m==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?J("dark"):J("light")),typeof window>"u")return;const j=window.matchMedia("(prefers-color-scheme: dark)");try{j.addEventListener("change",({matches:de})=>{J(de?"dark":"light")})}catch{j.addListener(({matches:xe})=>{try{J(xe?"dark":"light")}catch(Oe){console.error(Oe)}})}},[m]),re.useEffect(()=>{k.length<=1&&W(!1)},[k]),re.useEffect(()=>{const j=de=>{var xe;if(o.every(He=>de[He]||de.code===He)){var Re;W(!0),(Re=Z.current)==null||Re.focus()}de.code==="Escape"&&(document.activeElement===Z.current||(xe=Z.current)!=null&&xe.contains(document.activeElement))&&W(!1)};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[o]),re.useEffect(()=>{if(Z.current)return()=>{G.current&&(G.current.focus({preventScroll:!0}),G.current=null,Y.current=!1)}},[Z.current]),re.createElement("section",{ref:r,"aria-label":`${O} ${le}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},H.map((j,de)=>{var xe;const[Oe,Re]=j.split("-");return L.length?re.createElement("ol",{key:j,dir:A==="auto"?Ck():A,tabIndex:-1,ref:Z,className:f,"data-sonner-toaster":!0,"data-sonner-theme":U,"data-y-position":Oe,"data-x-position":Re,style:{"--front-toast-height":`${((xe=F[0])==null?void 0:xe.height)||0}px`,"--width":`${Mne}px`,"--gap":`${C}px`,...b,...Bne(h,d)},onBlur:He=>{Y.current&&!He.currentTarget.contains(He.relatedTarget)&&(Y.current=!1,G.current&&(G.current.focus({preventScroll:!0}),G.current=null))},onFocus:He=>{He.target instanceof HTMLElement&&He.target.dataset.dismissible==="false"||Y.current||(Y.current=!0,G.current=He.relatedTarget)},onMouseEnter:()=>W(!0),onMouseMove:()=>W(!0),onMouseLeave:()=>{K||W(!1)},onDragEnd:()=>W(!1),onPointerDown:He=>{He.target instanceof HTMLElement&&He.target.dataset.dismissible==="false"||te(!0)},onPointerUp:()=>te(!1)},L.filter(He=>!He.position&&de===0||He.position===j).map((He,Te)=>{var Ue,Ke;return re.createElement(jne,{key:He.id,icons:P,index:Te,toast:He,defaultRichColors:v,duration:(Ue=_?.duration)!=null?Ue:y,className:_?.className,descriptionClassName:_?.descriptionClassName,invert:a,visibleToasts:E,closeButton:(Ke=_?.closeButton)!=null?Ke:u,interacting:K,position:j,style:_?.style,unstyled:_?.unstyled,classNames:_?.classNames,cancelButtonStyle:_?.cancelButtonStyle,actionButtonStyle:_?.actionButtonStyle,closeButtonAriaLabel:_?.closeButtonAriaLabel,removeToast:oe,toasts:L.filter(Ae=>Ae.position==He.position),heights:F.filter(Ae=>Ae.position==He.position),setHeights:$,expandByDefault:s,gap:C,expanded:z,swipeDirections:t.swipeDirections})})):null}))}),Hne=({...e})=>{const{theme:t="system"}=dne();return S.jsx(zne,{"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 tt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),r===!1||!a.defaultPrevented)return t?.(a)}}function Ok(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Wv(...e){return t=>{let r=!1;const n=e.map(a=>{const i=Ok(a,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let a=0;a<n.length;a++){const i=n[a];typeof i=="function"?i():Ok(e[a],null)}}}}function gr(...e){return R.useCallback(Wv(...e),e)}function Fne(e,t){const r=R.createContext(t),n=i=>{const{children:o,...s}=i,u=R.useMemo(()=>s,Object.values(s));return S.jsx(r.Provider,{value:u,children:o})};n.displayName=e+"Provider";function a(i){const o=R.useContext(r);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[n,a]}function ds(e,t=[]){let r=[];function n(i,o){const s=R.createContext(o),u=r.length;r=[...r,o];const f=d=>{const{scope:m,children:v,...y}=d,b=m?.[e]?.[u]||s,E=R.useMemo(()=>y,Object.values(y));return S.jsx(b.Provider,{value:E,children:v})};f.displayName=i+"Provider";function h(d,m){const v=m?.[e]?.[u]||s,y=R.useContext(v);if(y)return y;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[f,h]}const a=()=>{const i=r.map(o=>R.createContext(o));return function(s){const u=s?.[e]||i;return R.useMemo(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return a.scopeName=e,[n,$ne(a,...t)]}function $ne(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(i){const o=n.reduce((s,{useScope:u,scopeName:f})=>{const d=u(i)[`__scope${f}`];return{...s,...d}},{});return R.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}function pf(e){const t=Une(e),r=R.forwardRef((n,a)=>{const{children:i,...o}=n,s=R.Children.toArray(i),u=s.find(Vne);if(u){const f=u.props.children,h=s.map(d=>d===u?R.Children.count(f)>1?R.Children.only(null):R.isValidElement(f)?f.props.children:null:d);return S.jsx(t,{...o,ref:a,children:R.isValidElement(f)?R.cloneElement(f,void 0,h):null})}return S.jsx(t,{...o,ref:a,children:i})});return r.displayName=`${e}.Slot`,r}var rF=pf("Slot");function Une(e){const t=R.forwardRef((r,n)=>{const{children:a,...i}=r;if(R.isValidElement(a)){const o=Yne(a),s=Gne(i,a.props);return a.type!==R.Fragment&&(s.ref=n?Wv(n,o):o),R.cloneElement(a,s)}return R.Children.count(a)>1?R.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var nF=Symbol("radix.slottable");function qne(e){const t=({children:r})=>S.jsx(S.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=nF,t}function Vne(e){return R.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===nF}function Gne(e,t){const r={...t};for(const n in t){const a=e[n],i=t[n];/^on[A-Z]/.test(n)?a&&i?r[n]=(...s)=>{const u=i(...s);return a(...s),u}:a&&(r[n]=a):n==="style"?r[n]={...a,...i}:n==="className"&&(r[n]=[a,i].filter(Boolean).join(" "))}return{...e,...r}}function Yne(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Wne=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Wt=Wne.reduce((e,t)=>{const r=pf(`Primitive.${t}`),n=R.forwardRef((a,i)=>{const{asChild:o,...s}=a,u=o?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(u,{...s,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function aF(e,t){e&&tT.flushSync(()=>e.dispatchEvent(t))}function Tn(e){const t=R.useRef(e);return R.useEffect(()=>{t.current=e}),R.useMemo(()=>(...r)=>t.current?.(...r),[])}function Kne(e,t=globalThis?.document){const r=Tn(e);R.useEffect(()=>{const n=a=>{a.key==="Escape"&&r(a)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Xne="DismissableLayer",_w="dismissableLayer.update",Qne="dismissableLayer.pointerDownOutside",Zne="dismissableLayer.focusOutside",kk,iF=R.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kv=R.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:s,...u}=e,f=R.useContext(iF),[h,d]=R.useState(null),m=h?.ownerDocument??globalThis?.document,[,v]=R.useState({}),y=gr(t,M=>d(M)),b=Array.from(f.layers),[E]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),_=b.indexOf(E),A=h?b.indexOf(h):-1,C=f.layersWithOutsidePointerEventsDisabled.size>0,P=A>=_,O=tae(M=>{const L=M.target,H=[...f.branches].some(F=>F.contains(L));!P||H||(a?.(M),o?.(M),M.defaultPrevented||s?.())},m),k=rae(M=>{const L=M.target;[...f.branches].some(F=>F.contains(L))||(i?.(M),o?.(M),M.defaultPrevented||s?.())},m);return Kne(M=>{A===f.layers.size-1&&(n?.(M),!M.defaultPrevented&&s&&(M.preventDefault(),s()))},m),R.useEffect(()=>{if(h)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(kk=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(h)),f.layers.add(h),Nk(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=kk)}},[h,m,r,f]),R.useEffect(()=>()=>{h&&(f.layers.delete(h),f.layersWithOutsidePointerEventsDisabled.delete(h),Nk())},[h,f]),R.useEffect(()=>{const M=()=>v({});return document.addEventListener(_w,M),()=>document.removeEventListener(_w,M)},[]),S.jsx(Wt.div,{...u,ref:y,style:{pointerEvents:C?P?"auto":"none":void 0,...e.style},onFocusCapture:tt(e.onFocusCapture,k.onFocusCapture),onBlurCapture:tt(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:tt(e.onPointerDownCapture,O.onPointerDownCapture)})});Kv.displayName=Xne;var Jne="DismissableLayerBranch",eae=R.forwardRef((e,t)=>{const r=R.useContext(iF),n=R.useRef(null),a=gr(t,n);return R.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),S.jsx(Wt.div,{...e,ref:a})});eae.displayName=Jne;function tae(e,t=globalThis?.document){const r=Tn(e),n=R.useRef(!1),a=R.useRef(()=>{});return R.useEffect(()=>{const i=s=>{if(s.target&&!n.current){let u=function(){oF(Qne,r,f,{discrete:!0})};const f={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=u,t.addEventListener("click",a.current,{once:!0})):u()}else t.removeEventListener("click",a.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function rae(e,t=globalThis?.document){const r=Tn(e),n=R.useRef(!1);return R.useEffect(()=>{const a=i=>{i.target&&!n.current&&oF(Zne,r,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Nk(){const e=new CustomEvent(_w);document.dispatchEvent(e)}function oF(e,t,r,{discrete:n}){const a=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?aF(a,i):a.dispatchEvent(i)}var ci=globalThis?.document?R.useLayoutEffect:()=>{},nae=Fv[" useId ".trim().toString()]||(()=>{}),aae=0;function cu(e){const[t,r]=R.useState(nae());return ci(()=>{r(n=>n??String(aae++))},[e]),e||(t?`radix-${t}`:"")}const iae=["top","right","bottom","left"],cl=Math.min,Ma=Math.max,u1=Math.round,Jm=
vendor: 12,014 bytes, line 50
50Math.floor,io=e=>({x:e,y:e}),oae={left:"right",right:"left",bottom:"top",top:"bottom"},sae={start:"end",end:"start"};function ww(e,t,r){return Ma(e,cl(t,r))}function ns(e,t){return typeof e=="function"?e(t):e}function as(e){return e.split("-")[0]}function Vf(e){return e.split("-")[1]}function rT(e){return e==="x"?"y":"x"}function nT(e){return e==="y"?"height":"width"}const lae=new Set(["top","bottom"]);function eo(e){return lae.has(as(e))?"y":"x"}function aT(e){return rT(eo(e))}function uae(e,t,r){r===void 0&&(r=!1);const n=Vf(e),a=aT(e),i=nT(a);let o=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=c1(o)),[o,c1(o)]}function cae(e){const t=c1(e);return[Sw(e),t,Sw(t)]}function Sw(e){return e.replace(/start|end/g,t=>sae[t])}const Rk=["left","right"],Mk=["right","left"],fae=["top","bottom"],dae=["bottom","top"];function hae(e,t,r){switch(e){case"top":case"bottom":return r?t?Mk:Rk:t?Rk:Mk;case"left":case"right":return t?fae:dae;default:return[]}}function pae(e,t,r,n){const a=Vf(e);let i=hae(as(e),r==="start",n);return a&&(i=i.map(o=>o+"-"+a),t&&(i=i.concat(i.map(Sw)))),i}function c1(e){return e.replace(/left|right|bottom|top/g,t=>oae[t])}function mae(e){return{top:0,right:0,bottom:0,left:0,...e}}function sF(e){return typeof e!="number"?mae(e):{top:e,right:e,bottom:e,left:e}}function f1(e){const{x:t,y:r,width:n,height:a}=e;return{width:n,height:a,top:r,left:t,right:t+n,bottom:r+a,x:t,y:r}}function Pk(e,t,r){let{reference:n,floating:a}=e;const i=eo(t),o=aT(t),s=nT(o),u=as(t),f=i==="y",h=n.x+n.width/2-a.width/2,d=n.y+n.height/2-a.height/2,m=n[s]/2-a[s]/2;let v;switch(u){case"top":v={x:h,y:n.y-a.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:d};break;case"left":v={x:n.x-a.width,y:d};break;default:v={x:n.x,y:n.y}}switch(Vf(t)){case"start":v[o]-=m*(r&&f?-1:1);break;case"end":v[o]+=m*(r&&f?-1:1);break}return v}const gae=async(e,t,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:o}=r,s=i.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(t));let f=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:h,y:d}=Pk(f,n,u),m=n,v={},y=0;for(let b=0;b<s.length;b++){const{name:E,fn:_}=s[b],{x:A,y:C,data:P,reset:O}=await _({x:h,y:d,initialPlacement:n,placement:m,strategy:a,middlewareData:v,rects:f,platform:o,elements:{reference:e,floating:t}});h=A??h,d=C??d,v={...v,[E]:{...v[E],...P}},O&&y<=50&&(y++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(f=O.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):O.rects),{x:h,y:d}=Pk(f,m,u)),b=-1)}return{x:h,y:d,placement:m,strategy:a,middlewareData:v}};async function ih(e,t){var r;t===void 0&&(t={});const{x:n,y:a,platform:i,rects:o,elements:s,strategy:u}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:d="floating",altBoundary:m=!1,padding:v=0}=ns(t,e),y=sF(v),E=s[m?d==="floating"?"reference":"floating":d],_=f1(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(E)))==null||r?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:f,rootBoundary:h,strategy:u})),A=d==="floating"?{x:n,y:a,width:o.floating.width,height:o.floating.height}:o.reference,C=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),P=await(i.isElement==null?void 0:i.isElement(C))?await(i.getScale==null?void 0:i.getScale(C))||{x:1,y:1}:{x:1,y:1},O=f1(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:A,offsetParent:C,strategy:u}):A);return{top:(_.top-O.top+y.top)/P.y,bottom:(O.bottom-_.bottom+y.bottom)/P.y,left:(_.left-O.left+y.left)/P.x,right:(O.right-_.right+y.right)/P.x}}const vae=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:i,platform:o,elements:s,middlewareData:u}=t,{element:f,padding:h=0}=ns(e,t)||{};if(f==null)return{};const d=sF(h),m={x:r,y:n},v=aT(a),y=nT(v),b=await o.getDimensions(f),E=v==="y",_=E?"top":"left",A=E?"bottom":"right",C=E?"clientHeight":"clientWidth",P=i.reference[y]+i.reference[v]-m[v]-i.floating[y],O=m[v]-i.reference[v],k=await(o.getOffsetParent==null?void 0:o.getOffsetParent(f));let M=k?k[C]:0;(!M||!await(o.isElement==null?void 0:o.isElement(k)))&&(M=s.floating[C]||i.floating[y]);const L=P/2-O/2,H=M/2-b[y]/2-1,F=cl(d[_],H),$=cl(d[A],H),z=F,W=M-b[y]-$,K=M/2-b[y]/2+L,te=ww(z,K,W),U=!u.arrow&&Vf(a)!=null&&K!==te&&i.reference[y]/2-(K<z?F:$)-b[y]/2<0,J=U?K<z?K-z:K-W:0;return{[v]:m[v]+J,data:{[v]:te,centerOffset:K-te-J,...U&&{alignmentOffset:J}},reset:U}}}),yae=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:a,middlewareData:i,rects:o,initialPlacement:s,platform:u,elements:f}=t,{mainAxis:h=!0,crossAxis:d=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:b=!0,...E}=ns(e,t);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const _=as(a),A=eo(s),C=as(s)===s,P=await(u.isRTL==null?void 0:u.isRTL(f.floating)),O=m||(C||!b?[c1(s)]:cae(s)),k=y!=="none";!m&&k&&O.push(...pae(s,b,y,P));const M=[s,...O],L=await ih(t,E),H=[];let F=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&H.push(L[_]),d){const K=uae(a,o,P);H.push(L[K[0]],L[K[1]])}if(F=[...F,{placement:a,overflows:H}],!H.every(K=>K<=0)){var $,z;const K=((($=i.flip)==null?void 0:$.index)||0)+1,te=M[K];if(te&&(!(d==="alignment"?A!==eo(te):!1)||F.every(Z=>eo(Z.placement)===A?Z.overflows[0]>0:!0)))return{data:{index:K,overflows:F},reset:{placement:te}};let U=(z=F.filter(J=>J.overflows[0]<=0).sort((J,Z)=>J.overflows[1]-Z.overflows[1])[0])==null?void 0:z.placement;if(!U)switch(v){case"bestFit":{var W;const J=(W=F.filter(Z=>{if(k){const le=eo(Z.placement);return le===A||le==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(le=>le>0).reduce((le,G)=>le+G,0)]).sort((Z,le)=>Z[1]-le[1])[0])==null?void 0:W[0];J&&(U=J);break}case"initialPlacement":U=s;break}if(a!==U)return{reset:{placement:U}}}return{}}}};function Ik(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Dk(e){return iae.some(t=>e[t]>=0)}const bae=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...a}=ns(e,t);switch(n){case"referenceHidden":{const i=await ih(t,{...a,elementContext:"reference"}),o=Ik(i,r.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Dk(o)}}}case"escaped":{const i=await ih(t,{...a,altBoundary:!0}),o=Ik(i,r.floating);return{data:{escapedOffsets:o,escaped:Dk(o)}}}default:return{}}}}},lF=new Set(["left","top"]);async function xae(e,t){const{placement:r,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),o=as(r),s=Vf(r),u=eo(r)==="y",f=lF.has(o)?-1:1,h=i&&u?-1:1,d=ns(t,e);let{mainAxis:m,crossAxis:v,alignmentAxis:y}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof y=="number"&&(v=s==="end"?y*-1:y),u?{x:v*h,y:m*f}:{x:m*f,y:v*h}}const Eae=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:a,y:i,placement:o,middlewareData:s}=t,u=await xae(t,e);return o===((r=s.offset)==null?void 0:r.placement)&&(n=s.arrow)!=null&&n.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:o}}}}},_ae=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:s={fn:E=>{let{x:_,y:A}=E;return{x:_,y:A}}},...u}=ns(e,t),f={x:r,y:n},h=await ih(t,u),d=eo(as(a)),m=rT(d);let v=f[m],y=f[d];if(i){const E=m==="y"?"top":"left",_=m==="y"?"bottom":"right",A=v+h[E],C=v-h[_];v=ww(A,v,C)}if(o){const E=d==="y"?"top":"left",_=d==="y"?"bottom":"right",A=y+h[E],C=y-h[_];y=ww(A,y,C)}const b=s.fn({...t,[m]:v,[d]:y});return{...b,data:{x:b.x-r,y:b.y-n,enabled:{[m]:i,[d]:o}}}}}},wae=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:a,rects:i,middlewareData:o}=t,{offset:s=0,mainAxis:u=!0,crossAxis:f=!0}=ns(e,t),h={x:r,y:n},d=eo(a),m=rT(d);let v=h[m],y=h[d];const b=ns(s,t),E=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(u){const C=m==="y"?"height":"width",P=i.reference[m]-i.floating[C]+E.mainAxis,O=i.reference[m]+i.reference[C]-E.mainAxis;v<P?v=P:v>O&&(v=O)}if(f){var _,A;const C=m==="y"?"width":"height",P=lF.has(as(a)),O=i.reference[d]-i.floating[C]+(P&&((_=o.offset)==null?void 0:_[d])||0)+(P?0:E.crossAxis),k=i.reference[d]+i.reference[C]+(P?0:((A=o.offset)==null?void 0:A[d])||0)-(P?E.crossAxis:0);y<O?y=O:y>k&&(y=k)}return{[m]:v,[d]:y}}}},Sae=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:a,rects:i,platform:o,elements:s}=t,{apply:u=()=>{},...f}=ns(e,t),h=await ih(t,f),d=as(a),m=Vf(a),v=eo(a)==="y",{width:y,height:b}=i.floating;let E,_;d==="top"||d==="bottom"?(E=d,_=m===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(_=d,E=m==="end"?"top":"bottom");const A=b-h.top-h.bottom,C=y-h.left-h.right,P=cl(b-h[E],A),O=cl(y-h[_],C),k=!t.middlewareData.shift;let M=P,L=O;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(L=C),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(M=A),k&&!m){const F=Ma(h.left,0),$=Ma(h.right,0),z=Ma(h.top,0),W=Ma(h.bottom,0);v?L=y-2*(F!==0||$!==0?F+$:Ma(h.left,h.right)):M=b-2*(z!==0||W!==0?z+W:Ma(h.top,h.bottom))}await u({...t,availableWidth:L,availableHeight:M});const H=await o.getDimensions(s.floating);return y!==H.width||b!==H.height?{reset:{rects:!0}}:{}}}};function Xv(){return typeof window<"u"}function Gf(e){return uF(e)?(e.nodeName||"").toLowerCase():"#document"}function La(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ho(e){var t;return(t=(uF(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function uF(e){return Xv()?e instanceof Node||e instanceof La(e).Node:!1}function Ni(e){return Xv()?e instanceof Element||e instanceof La(e).Element:!1}function lo(e){return Xv()?e instanceof HTMLElement||e instanceof La(e).HTMLElement:!1}function Lk(e){return!Xv()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof La(e).ShadowRoot}const Tae=new Set(["inline","contents"]);function op(e){const{overflow:t,overflowX:r,overflowY:n,display:a}=Ri(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!Tae.has(a)}const Aae=new Set(["table","td","th"]);function Cae(e){return Aae.has(Gf(e))}const Oae=[":popover-open",":modal"];function Qv(e){return Oae.some(t=>{try{return e.matches(t)}catch{return!1}})}const kae=["transform","translate","scale","rotate","perspective"],Nae=["transform","translate","scale","rotate","perspective","filter"],Rae=["paint","layout","strict","content"];function iT(e){const t=oT(),r=Ni(e)?Ri(e):e;return kae.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||Nae.some(n=>(r.willChange||"").includes(n))||Rae.some(n=>(r.contain||"").includes(n))}function Mae(e){let t=fl(e);for(;lo(t)&&!mf(t);){if(iT(t))return t;if(Qv(t))return null;t=fl(t)}return null}function oT(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Pae=new Set(["html","body","#document"]);function mf(e){return Pae.has(Gf(e))}function Ri(e){return La(e).getComputedStyle(e)}function Zv(e){return Ni(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function fl(e){if(Gf(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Lk(e)&&e.host||ho(e);return Lk(t)?t.host:t}function cF(e){const t=fl(e);return mf(t)?e.ownerDocument?e.ownerDocument.body:e.body:lo(t)&&op(t)?t:cF(t)}function oh(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=cF(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),o=La(a);if(i){const s=Tw(o);
vendor: 16,408 bytes, line 50
50return t.concat(o,o.visualViewport||[],op(a)?a:[],s&&r?oh(s):[])}return t.concat(a,oh(a,[],r))}function Tw(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fF(e){const t=Ri(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const a=lo(e),i=a?e.offsetWidth:r,o=a?e.offsetHeight:n,s=u1(r)!==i||u1(n)!==o;return s&&(r=i,n=o),{width:r,height:n,$:s}}function sT(e){return Ni(e)?e:e.contextElement}function tf(e){const t=sT(e);if(!lo(t))return io(1);const r=t.getBoundingClientRect(),{width:n,height:a,$:i}=fF(t);let o=(i?u1(r.width):r.width)/n,s=(i?u1(r.height):r.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}const Iae=io(0);function dF(e){const t=La(e);return!oT()||!t.visualViewport?Iae:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Dae(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==La(e)?!1:t}function vu(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),i=sT(e);let o=io(1);t&&(n?Ni(n)&&(o=tf(n)):o=tf(e));const s=Dae(i,r,n)?dF(i):io(0);let u=(a.left+s.x)/o.x,f=(a.top+s.y)/o.y,h=a.width/o.x,d=a.height/o.y;if(i){const m=La(i),v=n&&Ni(n)?La(n):n;let y=m,b=Tw(y);for(;b&&n&&v!==y;){const E=tf(b),_=b.getBoundingClientRect(),A=Ri(b),C=_.left+(b.clientLeft+parseFloat(A.paddingLeft))*E.x,P=_.top+(b.clientTop+parseFloat(A.paddingTop))*E.y;u*=E.x,f*=E.y,h*=E.x,d*=E.y,u+=C,f+=P,y=La(b),b=Tw(y)}}return f1({width:h,height:d,x:u,y:f})}function Jv(e,t){const r=Zv(e).scrollLeft;return t?t.left+r:vu(ho(e)).left+r}function hF(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-Jv(e,r),a=r.top+t.scrollTop;return{x:n,y:a}}function Lae(e){let{elements:t,rect:r,offsetParent:n,strategy:a}=e;const i=a==="fixed",o=ho(n),s=t?Qv(t.floating):!1;if(n===o||s&&i)return r;let u={scrollLeft:0,scrollTop:0},f=io(1);const h=io(0),d=lo(n);if((d||!d&&!i)&&((Gf(n)!=="body"||op(o))&&(u=Zv(n)),lo(n))){const v=vu(n);f=tf(n),h.x=v.x+n.clientLeft,h.y=v.y+n.clientTop}const m=o&&!d&&!i?hF(o,u):io(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-u.scrollLeft*f.x+h.x+m.x,y:r.y*f.y-u.scrollTop*f.y+h.y+m.y}}function jae(e){return Array.from(e.getClientRects())}function Bae(e){const t=ho(e),r=Zv(e),n=e.ownerDocument.body,a=Ma(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=Ma(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+Jv(e);const s=-r.scrollTop;return Ri(n).direction==="rtl"&&(o+=Ma(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:o,y:s}}const jk=25;function zae(e,t){const r=La(e),n=ho(e),a=r.visualViewport;let i=n.clientWidth,o=n.clientHeight,s=0,u=0;if(a){i=a.width,o=a.height;const h=oT();(!h||h&&t==="fixed")&&(s=a.offsetLeft,u=a.offsetTop)}const f=Jv(n);if(f<=0){const h=n.ownerDocument,d=h.body,m=getComputedStyle(d),v=h.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,y=Math.abs(n.clientWidth-d.clientWidth-v);y<=jk&&(i-=y)}else f<=jk&&(i+=f);return{width:i,height:o,x:s,y:u}}const Hae=new Set(["absolute","fixed"]);function Fae(e,t){const r=vu(e,!0,t==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=lo(e)?tf(e):io(1),o=e.clientWidth*i.x,s=e.clientHeight*i.y,u=a*i.x,f=n*i.y;return{width:o,height:s,x:u,y:f}}function Bk(e,t,r){let n;if(t==="viewport")n=zae(e,r);else if(t==="document")n=Bae(ho(e));else if(Ni(t))n=Fae(t,r);else{const a=dF(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return f1(n)}function pF(e,t){const r=fl(e);return r===t||!Ni(r)||mf(r)?!1:Ri(r).position==="fixed"||pF(r,t)}function $ae(e,t){const r=t.get(e);if(r)return r;let n=oh(e,[],!1).filter(s=>Ni(s)&&Gf(s)!=="body"),a=null;const i=Ri(e).position==="fixed";let o=i?fl(e):e;for(;Ni(o)&&!mf(o);){const s=Ri(o),u=iT(o);!u&&s.position==="fixed"&&(a=null),(i?!u&&!a:!u&&s.position==="static"&&!!a&&Hae.has(a.position)||op(o)&&!u&&pF(e,o))?n=n.filter(h=>h!==o):a=s,o=fl(o)}return t.set(e,n),n}function Uae(e){let{element:t,boundary:r,rootBoundary:n,strategy:a}=e;const o=[...r==="clippingAncestors"?Qv(t)?[]:$ae(t,this._c):[].concat(r),n],s=o[0],u=o.reduce((f,h)=>{const d=Bk(t,h,a);return f.top=Ma(d.top,f.top),f.right=cl(d.right,f.right),f.bottom=cl(d.bottom,f.bottom),f.left=Ma(d.left,f.left),f},Bk(t,s,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function qae(e){const{width:t,height:r}=fF(e);return{width:t,height:r}}function Vae(e,t,r){const n=lo(t),a=ho(t),i=r==="fixed",o=vu(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=io(0);function f(){u.x=Jv(a)}if(n||!n&&!i)if((Gf(t)!=="body"||op(a))&&(s=Zv(t)),n){const v=vu(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else a&&f();i&&!n&&a&&f();const h=a&&!n&&!i?hF(a,s):io(0),d=o.left+s.scrollLeft-u.x-h.x,m=o.top+s.scrollTop-u.y-h.y;return{x:d,y:m,width:o.width,height:o.height}}function Vx(e){return Ri(e).position==="static"}function zk(e,t){if(!lo(e)||Ri(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ho(e)===r&&(r=r.ownerDocument.body),r}function mF(e,t){const r=La(e);if(Qv(e))return r;if(!lo(e)){let a=fl(e);for(;a&&!mf(a);){if(Ni(a)&&!Vx(a))return a;a=fl(a)}return r}let n=zk(e,t);for(;n&&Cae(n)&&Vx(n);)n=zk(n,t);return n&&mf(n)&&Vx(n)&&!iT(n)?r:n||Mae(e)||r}const Gae=async function(e){const t=this.getOffsetParent||mF,r=this.getDimensions,n=await r(e.floating);return{reference:Vae(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Yae(e){return Ri(e).direction==="rtl"}const Wae={convertOffsetParentRelativeRectToViewportRelativeRect:Lae,getDocumentElement:ho,getClippingRect:Uae,getOffsetParent:mF,getElementRects:Gae,getClientRects:jae,getDimensions:qae,getScale:tf,isElement:Ni,isRTL:Yae};function gF(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Kae(e,t){let r=null,n;const a=ho(e);function i(){var s;clearTimeout(n),(s=r)==null||s.disconnect(),r=null}function o(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const f=e.getBoundingClientRect(),{left:h,top:d,width:m,height:v}=f;if(s||t(),!m||!v)return;const y=Jm(d),b=Jm(a.clientWidth-(h+m)),E=Jm(a.clientHeight-(d+v)),_=Jm(h),C={rootMargin:-y+"px "+-b+"px "+-E+"px "+-_+"px",threshold:Ma(0,cl(1,u))||1};let P=!0;function O(k){const M=k[0].intersectionRatio;if(M!==u){if(!P)return o();M?o(!1,M):n=setTimeout(()=>{o(!1,1e-7)},1e3)}M===1&&!gF(f,e.getBoundingClientRect())&&o(),P=!1}try{r=new IntersectionObserver(O,{...C,root:a.ownerDocument})}catch{r=new IntersectionObserver(O,C)}r.observe(e)}return o(!0),i}function Xae(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=n,f=sT(e),h=a||i?[...f?oh(f):[],...oh(t)]:[];h.forEach(_=>{a&&_.addEventListener("scroll",r,{passive:!0}),i&&_.addEventListener("resize",r)});const d=f&&s?Kae(f,r):null;let m=-1,v=null;o&&(v=new ResizeObserver(_=>{let[A]=_;A&&A.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var C;(C=v)==null||C.observe(t)})),r()}),f&&!u&&v.observe(f),v.observe(t));let y,b=u?vu(e):null;u&&E();function E(){const _=vu(e);b&&!gF(b,_)&&r(),b=_,y=requestAnimationFrame(E)}return r(),()=>{var _;h.forEach(A=>{a&&A.removeEventListener("scroll",r),i&&A.removeEventListener("resize",r)}),d?.(),(_=v)==null||_.disconnect(),v=null,u&&cancelAnimationFrame(y)}}const Qae=Eae,Zae=_ae,Jae=yae,eie=Sae,tie=bae,Hk=vae,rie=wae,nie=(e,t,r)=>{const n=new Map,a={platform:Wae,...r},i={...a.platform,_c:n};return gae(e,t,{...a,platform:i})};var aie=typeof document<"u",iie=function(){},Xg=aie?R.useLayoutEffect:iie;function d1(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 r,n,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!d1(e[n],t[n]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,a[n]))return!1;for(n=r;n--!==0;){const i=a[n];if(!(i==="_owner"&&e.$$typeof)&&!d1(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function vF(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fk(e,t){const r=vF(e);return Math.round(t*r)/r}function Gx(e){const t=R.useRef(e);return Xg(()=>{t.current=e}),t}function oie(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:i,floating:o}={},transform:s=!0,whileElementsMounted:u,open:f}=e,[h,d]=R.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[m,v]=R.useState(n);d1(m,n)||v(n);const[y,b]=R.useState(null),[E,_]=R.useState(null),A=R.useCallback(Z=>{Z!==k.current&&(k.current=Z,b(Z))},[]),C=R.useCallback(Z=>{Z!==M.current&&(M.current=Z,_(Z))},[]),P=i||y,O=o||E,k=R.useRef(null),M=R.useRef(null),L=R.useRef(h),H=u!=null,F=Gx(u),$=Gx(a),z=Gx(f),W=R.useCallback(()=>{if(!k.current||!M.current)return;const Z={placement:t,strategy:r,middleware:m};$.current&&(Z.platform=$.current),nie(k.current,M.current,Z).then(le=>{const G={...le,isPositioned:z.current!==!1};K.current&&!d1(L.current,G)&&(L.current=G,tT.flushSync(()=>{d(G)}))})},[m,t,r,$,z]);Xg(()=>{f===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,d(Z=>({...Z,isPositioned:!1})))},[f]);const K=R.useRef(!1);Xg(()=>(K.current=!0,()=>{K.current=!1}),[]),Xg(()=>{if(P&&(k.current=P),O&&(M.current=O),P&&O){if(F.current)return F.current(P,O,W);W()}},[P,O,W,F,H]);const te=R.useMemo(()=>({reference:k,floating:M,setReference:A,setFloating:C}),[A,C]),U=R.useMemo(()=>({reference:P,floating:O}),[P,O]),J=R.useMemo(()=>{const Z={position:r,left:0,top:0};if(!U.floating)return Z;const le=Fk(U.floating,h.x),G=Fk(U.floating,h.y);return s?{...Z,transform:"translate("+le+"px, "+G+"px)",...vF(U.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:le,top:G}},[r,s,U.floating,h.x,h.y]);return R.useMemo(()=>({...h,update:W,refs:te,elements:U,floatingStyles:J}),[h,W,te,U,J])}const sie=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:a}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?Hk({element:n.current,padding:a}).fn(r):{}:n?Hk({element:n,padding:a}).fn(r):{}}}},lie=(e,t)=>({...Qae(e),options:[e,t]}),uie=(e,t)=>({...Zae(e),options:[e,t]}),cie=(e,t)=>({...rie(e),options:[e,t]}),fie=(e,t)=>({...Jae(e),options:[e,t]}),die=(e,t)=>({...eie(e),options:[e,t]}),hie=(e,t)=>({...tie(e),options:[e,t]}),pie=(e,t)=>({...sie(e),options:[e,t]});var mie="Arrow",yF=R.forwardRef((e,t)=>{const{children:r,width:n=10,height:a=5,...i}=e;return S.jsx(Wt.svg,{...i,ref:t,width:n,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:S.jsx("polygon",{points:"0,0 30,0 15,10"})})});yF.displayName=mie;var gie=yF;function vie(e){const[t,r]=R.useState(void 0);return ci(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const i=a[0];let o,s;if("borderBoxSize"in i){const u=i.borderBoxSize,f=Array.isArray(u)?u[0]:u;o=f.inlineSize,s=f.blockSize}else o=e.offsetWidth,s=e.offsetHeight;r({width:o,height:s})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var lT="Popper",[bF,ey]=ds(lT),[yie,xF]=bF(lT),EF=e=>{const{__scopePopper:t,children:r}=e,[n,a]=R.useState(null);return S.jsx(yie,{scope:t,anchor:n,onAnchorChange:a,children:r})};EF.displayName=lT;var _F="PopperAnchor",wF=R.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...a}=e,i=xF(_F,r),o=R.useRef(null),s=gr(t,o),u=R.useRef(null);return R.useEffect(()=>{const f=u.current;u.current=n?.current||o.current,f!==u.current&&i.onAnchorChange(u.current)}),n?null:S.jsx(Wt.div,{...a,ref:s})});wF.displayName=_F;var uT="PopperContent",[bie,xie]=bF(uT),SF=R.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:a=0,align:i="center",alignOffset:o=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:f=[],collisionPadding:h=0,sticky:d="partial",hideWhenDetached:m=!1,updatePositionStrategy:v="optimized",onPlaced:y,...b}=e,E=xF(uT,r),[_,A]=R.useState(null),C=gr(t,Re=>A(Re)),[P,O]=R.useState(null),k=vie(P),M=k?.width??0,L=k?.height??0,H=n+(i!=="center"?"-"+i:""),F=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},$=Array.isArray(f)?f:[f],z=$.length>0,W={padding:F,boundary:$.filter(_ie),altBoundary:z},{refs:K,floatingStyles:te,placement:U,isPositioned:J,middlewareData:Z}=oie({strategy:"fixed",placement:H,whileElementsMounted:(...Re)=>Xae(...Re,{animationFrame:v==="always"}),elements:{reference:E.anchor},middleware:[lie({mainAxis:a+L,alignmentAxis:o}),u&&uie({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?cie():void 0,...W}),u&&fie({...W}),die({...W,apply:({elements:Re,rects:He,availableWidth:Te,availableHeight:Ue})=>{const{width:Ke,height:Ae}=He.reference,St=Re.floating.style;St.setProperty("--radix-popper-available-width",`${Te}px`),St.setProperty("--radix-popper-available-height",`${Ue}px`),St.setProperty("--radix-popper-anchor-width",`${Ke}px`),St.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),P&&pie({element:P,padding:s}),wie({arrowWidth:M,arrowHeight:L}),m&&hie({strategy:"referenceHidden",...W})]}),[le,G]=CF(U),Y=Tn(y);ci(()=>{J&&Y?.()},[J,Y]);const oe=Z.arrow?.x,j=Z.arrow?.y,de=Z.arrow?.centerOffset!==0,[xe,Oe]=R.useState();return ci(()=>{_&&Oe(window.getComputedStyle(_).zIndex)},[_]),S.jsx("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...te,transform:J?te.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[Z.transformOrigin?.x,Z.transformOrigin?.y].join(" "),...Z.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:S.jsx(bie,{scope:r,placedSide:le,onArrowChange:O,arrowX:oe,arrowY:j,shouldHideArrow:de,children:S.jsx(Wt.div,{"data-side":le,"data-align":G,...b,ref:C,style:{...b.style,animation:J?void 0:"none"}})})})});SF.displayName=uT;var TF="PopperArrow",Eie={top:"bottom",right:"left",bottom:"top",left:"right"},AF=R.forwardRef(function(t,r){const{__scopePopper:n,...a}=t,i=xie(TF,n),o=Eie[i.placedSide];return S.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:S.jsx(gie,{...a,ref:r,style:{...a.style,display:"block"}})})});AF.displayName=TF;function _ie(e){return e!==null}var wie=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:a}=t,o=a.arrow?.centerOffset!==0,s=o?0:e.arrowWidth,u=o?0:e.arrowHeight,[f,h]=CF(r),d={start:"0%",center:"50%",end:"100%"}[h],m=(a.arrow?.x??0)+s/2,v=(a.arrow?.y??0)+u/2;let y="",b="";return f==="bottom"?(y=o?d:`${m}px`,b=`${-u}px`):f==="top"?(y=o?d:`${m}px`,b=`${n.floating.height+u}px`):f==="right"?(y=`${-u}px`,b=o?d:`${v}px`):f==="left"&&(y=`${n.floating.width+u}px`,b=o?d:`${v}px`),{data:{x:y,y:b}}}});function CF(e){const[t,r="center"]=e.split("-");return[t,r]}var OF=EF,kF=wF,NF=SF,RF=AF,Sie="Portal",ty=R.forwardRef((e,t)=>{const{container:r,...n}=e,[a,i]=R.useState(!1);ci(()=>i(!0),[]);const o=r||a&&globalThis?.document?.body;return o?tF.createPortal(S.jsx(Wt.div,{...n,ref:t}),o):null});ty.displayName=Sie;function Tie(e,t){return R.useReducer((r,n)=>t[r][n]??r,e)}var ma=e=>{const{present:t,children:r}=e,n=Aie(t),a=typeof r=="function"?r({present:n.isPresent}):R.Children.only(r),i=gr(n.ref,Cie(a));return typeof r=="function"||n.isPresent?R.cloneElement(a,{ref:i}):null};ma.displayName="Presence";function Aie(e){const[t,r]=R.useState(),n=R.useRef(null),a=R.useRef(e),i=R.useRef("none"),o=e?"mounted":"unmounted",[s,u]=Tie(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return R.useEffect(()=>{const f=eg(n.current);i.current=s==="mounted"?f:"none"},[s]),ci(()=>{const f=n.current,h=a.current;if(h!==e){const m=i.current,v=eg(f);e?u("MOUNT"):v==="none"||f?.display==="none"?u("UNMOUNT"):u(h&&m!==v?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),ci(()=>
vendor: 4,371 bytes, line 50
50{if(t){let f;const h=t.ownerDocument.defaultView??window,d=v=>{const b=eg(n.current).includes(CSS.escape(v.animationName));if(v.target===t&&b&&(u("ANIMATION_END"),!a.current)){const E=t.style.animationFillMode;t.style.animationFillMode="forwards",f=h.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=E)})}},m=v=>{v.target===t&&(i.current=eg(n.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{h.clearTimeout(f),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:R.useCallback(f=>{n.current=f?getComputedStyle(f):null,r(f)},[])}}function eg(e){return e?.animationName||"none"}function Cie(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Oie=Fv[" useInsertionEffect ".trim().toString()]||ci;function ry({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[a,i,o]=kie({defaultProp:t,onChange:r}),s=e!==void 0,u=s?e:a;{const h=R.useRef(e!==void 0);R.useEffect(()=>{const d=h.current;d!==s&&console.warn(`${n} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),h.current=s},[s,n])}const f=R.useCallback(h=>{if(s){const d=Nie(h)?h(e):h;d!==e&&o.current?.(d)}else i(h)},[s,e,i,o]);return[u,f]}function kie({defaultProp:e,onChange:t}){const[r,n]=R.useState(e),a=R.useRef(r),i=R.useRef(t);return Oie(()=>{i.current=t},[t]),R.useEffect(()=>{a.current!==r&&(i.current?.(r),a.current=r)},[r,a]),[r,n,i]}function Nie(e){return typeof e=="function"}var Rie=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"}),Mie="VisuallyHidden",MF=R.forwardRef((e,t)=>S.jsx(Wt.span,{...e,ref:t,style:{...Rie,...e.style}}));MF.displayName=Mie;var Pie=MF,[ny]=ds("Tooltip",[ey]),ay=ey(),PF="TooltipProvider",Iie=700,Aw="tooltip.open",[Die,cT]=ny(PF),IF=e=>{const{__scopeTooltip:t,delayDuration:r=Iie,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:i}=e,o=R.useRef(!0),s=R.useRef(!1),u=R.useRef(0);return R.useEffect(()=>{const f=u.current;return()=>window.clearTimeout(f)},[]),S.jsx(Die,{scope:t,isOpenDelayedRef:o,delayDuration:r,onOpen:R.useCallback(()=>{window.clearTimeout(u.current),o.current=!1},[]),onClose:R.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>o.current=!0,n)},[n]),isPointerInTransitRef:s,onPointerInTransitChange:R.useCallback(f=>{s.current=f},[]),disableHoverableContent:a,children:i})};IF.displayName=PF;var sh="Tooltip",[Lie,sp]=ny(sh),DF=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a,onOpenChange:i,disableHoverableContent:o,delayDuration:s}=e,u=cT(sh,e.__scopeTooltip),f=ay(t),[h,d]=R.useState(null),m=cu(),v=R.useRef(0),y=o??u.disableHoverableContent,b=s??u.delayDuration,E=R.useRef(!1),[_,A]=ry({prop:n,defaultProp:a??!1,onChange:M=>{M?(u.onOpen(),document.dispatchEvent(new CustomEvent(Aw))):u.onClose(),i?.(M)},caller:sh}),C=R.useMemo(()=>_?E.current?"delayed-open":"instant-open":"closed",[_]),P=R.useCallback(()=>{window.clearTimeout(v.current),v.current=0,E.current=!1,A(!0)},[A]),O=R.useCallback(()=>{window.clearTimeout(v.current),v.current=0,A(!1)},[A]),k=R.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{E.current=!0,A(!0),v.current=0},b)},[b,A]);return R.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),S.jsx(OF,{...f,children:S.jsx(Lie,{scope:t,contentId:m,open:_,stateAttribute:C,trigger:h,onTriggerChange:d,onTriggerEnter:R.useCallback(()=>{u.isOpenDelayedRef.current?k():P()},[u.isOpenDelayedRef,k,P]),onTriggerLeave:R.useCallback(()=>{y?O():(window.clearTimeout(v.current),v.current=0)},[O,y]),onOpen:P,onClose:O,disableHoverableContent:y,children:r})})};DF.displayName=sh;var Cw="TooltipTrigger",LF=R.forwardRef((e,t)=>
vendor: 10,594 bytes, line 50
50{const{__scopeTooltip:r,...n}=e,a=sp(Cw,r),i=cT(Cw,r),o=ay(r),s=R.useRef(null),u=gr(t,s,a.onTriggerChange),f=R.useRef(!1),h=R.useRef(!1),d=R.useCallback(()=>f.current=!1,[]);return R.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),S.jsx(kF,{asChild:!0,...o,children:S.jsx(Wt.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...n,ref:u,onPointerMove:tt(e.onPointerMove,m=>{m.pointerType!=="touch"&&!h.current&&!i.isPointerInTransitRef.current&&(a.onTriggerEnter(),h.current=!0)}),onPointerLeave:tt(e.onPointerLeave,()=>{a.onTriggerLeave(),h.current=!1}),onPointerDown:tt(e.onPointerDown,()=>{a.open&&a.onClose(),f.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:tt(e.onFocus,()=>{f.current||a.onOpen()}),onBlur:tt(e.onBlur,a.onClose),onClick:tt(e.onClick,a.onClose)})})});LF.displayName=Cw;var fT="TooltipPortal",[jie,Bie]=ny(fT,{forceMount:void 0}),jF=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:a}=e,i=sp(fT,t);return S.jsx(jie,{scope:t,forceMount:r,children:S.jsx(ma,{present:r||i.open,children:S.jsx(ty,{asChild:!0,container:a,children:n})})})};jF.displayName=fT;var gf="TooltipContent",BF=R.forwardRef((e,t)=>{const r=Bie(gf,e.__scopeTooltip),{forceMount:n=r.forceMount,side:a="top",...i}=e,o=sp(gf,e.__scopeTooltip);return S.jsx(ma,{present:n||o.open,children:o.disableHoverableContent?S.jsx(zF,{side:a,...i,ref:t}):S.jsx(zie,{side:a,...i,ref:t})})}),zie=R.forwardRef((e,t)=>{const r=sp(gf,e.__scopeTooltip),n=cT(gf,e.__scopeTooltip),a=R.useRef(null),i=gr(t,a),[o,s]=R.useState(null),{trigger:u,onClose:f}=r,h=a.current,{onPointerInTransitChange:d}=n,m=R.useCallback(()=>{s(null),d(!1)},[d]),v=R.useCallback((y,b)=>{const E=y.currentTarget,_={x:y.clientX,y:y.clientY},A=Uie(_,E.getBoundingClientRect()),C=qie(_,A),P=Vie(b.getBoundingClientRect()),O=Yie([...C,...P]);s(O),d(!0)},[d]);return R.useEffect(()=>()=>m(),[m]),R.useEffect(()=>{if(u&&h){const y=E=>v(E,h),b=E=>v(E,u);return u.addEventListener("pointerleave",y),h.addEventListener("pointerleave",b),()=>{u.removeEventListener("pointerleave",y),h.removeEventListener("pointerleave",b)}}},[u,h,v,m]),R.useEffect(()=>{if(o){const y=b=>{const E=b.target,_={x:b.clientX,y:b.clientY},A=u?.contains(E)||h?.contains(E),C=!Gie(_,o);A?m():C&&(m(),f())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[u,h,o,f,m]),S.jsx(zF,{...e,ref:i})}),[Hie,Fie]=ny(sh,{isInside:!1}),$ie=qne("TooltipContent"),zF=R.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:o,...s}=e,u=sp(gf,r),f=ay(r),{onClose:h}=u;return R.useEffect(()=>(document.addEventListener(Aw,h),()=>document.removeEventListener(Aw,h)),[h]),R.useEffect(()=>{if(u.trigger){const d=m=>{m.target?.contains(u.trigger)&&h()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[u.trigger,h]),S.jsx(Kv,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:h,children:S.jsxs(NF,{"data-state":u.stateAttribute,...f,...s,ref:t,style:{...s.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:[S.jsx($ie,{children:n}),S.jsx(Hie,{scope:r,isInside:!0,children:S.jsx(Pie,{id:u.contentId,role:"tooltip",children:a||n})})]})})});BF.displayName=gf;var HF="TooltipArrow",FF=R.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,a=ay(r);return Fie(HF,r).isInside?null:S.jsx(RF,{...a,...n,ref:t})});FF.displayName=HF;function Uie(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,a,i)){case i:return"left";case a:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function qie(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Vie(e){const{top:t,right:r,bottom:n,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:n},{x:a,y:n}]}function Gie(e,t){const{x:r,y:n}=e;let a=!1;for(let i=0,o=t.length-1;i<t.length;o=i++){const s=t[i],u=t[o],f=s.x,h=s.y,d=u.x,m=u.y;h>n!=m>n&&r<(d-f)*(n-h)/(m-h)+f&&(a=!a)}return a}function Yie(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Wie(t)}function Wie(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const a=e[n];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 r=[];for(let n=e.length-1;n>=0;n--){const a=e[n];for(;r.length>=2;){const i=r[r.length-1],o=r[r.length-2];if((i.x-o.x)*(a.y-o.y)>=(i.y-o.y)*(a.x-o.x))r.pop();else break}r.push(a)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Kie=IF,Xie=DF,Qie=LF,Zie=jF,Jie=BF,eoe=FF;function $F(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=$F(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Nt(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=$F(e))&&(n&&(n+=" "),n+=t);return n}const dT="-",toe=e=>{const t=noe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:o=>{const s=o.split(dT);return s[0]===""&&s.length!==1&&s.shift(),UF(s,t)||roe(o)},getConflictingClassGroupIds:(o,s)=>{const u=r[o]||[];return s&&n[o]?[...u,...n[o]]:u}}},UF=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?UF(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;const i=e.join(dT);return t.validators.find(({validator:o})=>o(i))?.classGroupId},$k=/^\[(.+)\]$/,roe=e=>{if($k.test(e)){const t=$k.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},noe=e=>{const{theme:t,classGroups:r}=e,n={nextPart:new Map,validators:[]};for(const a in r)Ow(r[a],n,a,t);return n},Ow=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){const i=a===""?t:Uk(t,a);i.classGroupId=r;return}if(typeof a=="function"){if(aoe(a)){Ow(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([i,o])=>{Ow(o,Uk(t,i),r,n)})})},Uk=(e,t)=>{let r=e;return t.split(dT).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},aoe=e=>e.isThemeGetter,ioe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const a=(i,o)=>{r.set(i,o),t++,t>e&&(t=0,n=r,r=new Map)};return{get(i){let o=r.get(i);if(o!==void 0)return o;if((o=n.get(i))!==void 0)return a(i,o),o},set(i,o){r.has(i)?r.set(i,o):a(i,o)}}},kw="!",Nw=":",ooe=Nw.length,soe=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=a=>{const i=[];let o=0,s=0,u=0,f;for(let y=0;y<a.length;y++){let b=a[y];if(o===0&&s===0){if(b===Nw){i.push(a.slice(u,y)),u=y+ooe;continue}if(b==="/"){f=y;continue}}b==="["?o++:b==="]"?o--:b==="("?s++:b===")"&&s--}const h=i.length===0?a:a.substring(u),d=loe(h),m=d!==h,v=f&&f>u?f-u:void 0;return{modifiers:i,hasImportantModifier:m,baseClassName:d,maybePostfixModifierPosition:v}};if(t){const a=t+Nw,i=n;n=o=>o.startsWith(a)?i(o.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(r){const a=n;n=i=>r({className:i,parseClassName:a})}return n},loe=e=>e.endsWith(kw)?e.substring(0,e.length-1):e.startsWith(kw)?e.substring(1):e,uoe=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(n=>[n,!0]));return n=>{if(n.length<=1)return n;const a=[];let i=[];return n.forEach(o=>{o[0]==="["||t[o]?(a.push(...i.sort(),o),i=[]):i.push(o)}),a.push(...i.sort()),a}},coe=e=>({cache:ioe(e.cacheSize),parseClassName:soe(e),sortModifiers:uoe(e),...toe(e)}),foe=/\s+/,doe=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a,sortModifiers:i}=t,o=[],s=e.trim().split(foe);let u="";for(let f=s.length-1;f>=0;f-=1){const h=s[f],{isExternal:d,modifiers:m,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:b}=r(h);if(d){u=h+(u.length>0?" "+u:u);continue}let E=!!b,_=n(E?y.substring(0,b):y);if(!_){if(!E){u=h+(u.length>0?" "+u:u);continue}if(_=n(y),!_){u=h+(u.length>0?" "+u:u);continue}E=!1}const A=i(m).join(":"),C=v?A+kw:A,P=C+_;if(o.includes(P))continue;o.push(P);const O=a(_,E);for(let k=0;k<O.length;++k){const M=O[k];o.push(C+M)}u=h+(u.length>0?" "+u:u)}return u};function hoe(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=qF(t))&&(n&&(n+=" "),n+=r);return n}const qF=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=qF(e[n]))&&(r&&(r+=" "),r+=t);return r};function poe(e,...t){let r,n,a,i=o;function o(u){const f=t.reduce((h,d)=>d(h),e());return r=coe(f),n=r.cache.get,a=r.cache.set,i=s,s(u)}function s(u){const f=n(u);if(f)return f;const h=doe(u,r);return a(u,h),h}return function(){return i(hoe.apply(null,arguments))}}const Qr=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},VF=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,GF=/^\((?:(\w[\w-]*):)?(.+)\)$/i,moe=/^\d+\/\d+$/,goe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,voe=/\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$/,yoe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,boe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xoe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Mc=e=>moe.test(e),gt=e=>!!e&&!Number.isNaN(Number(e)),qs=e=>!!e&&Number.isInteger(Number(e)),Yx=e=>e.endsWith("%")&>(e.slice(0,-1)),zo=e=>goe.test(e),Eoe=()=>!0,_oe=e=>voe.test(e)&&!yoe.test(e),YF=()=>!1,woe=e=>boe.test(e),Soe=e=>xoe.test(e),Toe=e=>!Ye(e)&&!We(e),Aoe=e=>Yf(e,XF,YF),Ye=e=>VF.test(e),Vl=e=>Yf(e,QF,_oe),Wx=e=>Yf(e,Roe,gt),qk=e=>Yf(e,WF,YF),Coe=e=>Yf(e,KF,Soe),tg=e=>Yf(e,ZF,woe),We=e=>GF.test(e),id=e=>Wf(e,QF),Ooe=e=>Wf(e,Moe),Vk=e=>Wf(e,WF),koe=e=>Wf(e,XF),Noe=e=>Wf(e,KF),rg=e=>Wf(e,ZF,!0),Yf=(e,t,r)=>{const n=VF.exec(e);
vendor: 4,482 bytes, line 50
50return n?n[1]?t(n[1]):r(n[2]):!1},Wf=(e,t,r=!1)=>{const n=GF.exec(e);return n?n[1]?t(n[1]):r:!1},WF=e=>e==="position"||e==="percentage",KF=e=>e==="image"||e==="url",XF=e=>e==="length"||e==="size"||e==="bg-size",QF=e=>e==="length",Roe=e=>e==="number",Moe=e=>e==="family-name",ZF=e=>e==="shadow",Poe=()=>{const e=Qr("color"),t=Qr("font"),r=Qr("text"),n=Qr("font-weight"),a=Qr("tracking"),i=Qr("leading"),o=Qr("breakpoint"),s=Qr("container"),u=Qr("spacing"),f=Qr("radius"),h=Qr("shadow"),d=Qr("inset-shadow"),m=Qr("text-shadow"),v=Qr("drop-shadow"),y=Qr("blur"),b=Qr("perspective"),E=Qr("aspect"),_=Qr("ease"),A=Qr("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...P(),We,Ye],k=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],L=()=>[We,Ye,u],H=()=>[Mc,"full","auto",...L()],F=()=>[qs,"none","subgrid",We,Ye],$=()=>["auto",{span:["full",qs,We,Ye]},qs,We,Ye],z=()=>[qs,"auto",We,Ye],W=()=>["auto","min","max","fr",We,Ye],K=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],te=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...L()],J=()=>[Mc,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],Z=()=>[e,We,Ye],le=()=>[...P(),Vk,qk,{position:[We,Ye]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Y=()=>["auto","cover","contain",koe,Aoe,{size:[We,Ye]}],oe=()=>[Yx,id,Vl],j=()=>["","none","full",f,We,Ye],de=()=>["",gt,id,Vl],xe=()=>["solid","dashed","dotted","double"],Oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Re=()=>[gt,Yx,Vk,qk],He=()=>["","none",y,We,Ye],Te=()=>["none",gt,We,Ye],Ue=()=>["none",gt,We,Ye],Ke=()=>[gt,We,Ye],Ae=()=>[Mc,"full",...L()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[zo],breakpoint:[zo],color:[Eoe],container:[zo],"drop-shadow":[zo],ease:["in","out","in-out"],font:[Toe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[zo],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[zo],shadow:[zo],spacing:["px",gt],text:[zo],"text-shadow":[zo],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Mc,Ye,We,E]}],container:["container"],columns:[{columns:[gt,Ye,We,s]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"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:O()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:H()}],"inset-x":[{"inset-x":H()}],"inset-y":[{"inset-y":H()}],start:[{start:H()}],end:[{end:H()}],top:[{top:H()}],right:[{right:H()}],bottom:[{bottom:H()}],left:[{left:H()}],visibility:["visible","invisible","collapse"],z:[{z:[qs,"auto",We,Ye]}],basis:[{basis:[Mc,"full","auto",s,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[gt,Mc,"auto","initial","none",Ye]}],grow:[{grow:["",gt,We,Ye]}],shrink:[{shrink:["",gt,We,Ye]}],order:[{order:[qs,"first","last","none",We,Ye]}],"grid-cols":[{"grid-cols":F()}],"col-start-end":[{col:$()}],"col-start":[{"col-start":z()}
vendor: 11,062 bytes, line 50
50],"col-end":[{"col-end":z()}],"grid-rows":[{"grid-rows":F()}],"row-start-end":[{row:$()}],"row-start":[{"row-start":z()}],"row-end":[{"row-end":z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":W()}],"auto-rows":[{"auto-rows":W()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...K(),"normal"]}],"justify-items":[{"justify-items":[...te(),"normal"]}],"justify-self":[{"justify-self":["auto",...te()]}],"align-content":[{content:["normal",...K()]}],"align-items":[{items:[...te(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...te(),{baseline:["","last"]}]}],"place-content":[{"place-content":K()}],"place-items":[{"place-items":[...te(),"baseline"]}],"place-self":[{"place-self":["auto",...te()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:J()}],w:[{w:[s,"screen",...J()]}],"min-w":[{"min-w":[s,"screen","none",...J()]}],"max-w":[{"max-w":[s,"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",r,id,Vl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,We,Wx]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Yx,Ye]}],"font-family":[{font:[Ooe,Ye,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,We,Ye]}],"line-clamp":[{"line-clamp":[gt,"none",We,Wx]}],leading:[{leading:[i,...L()]}],"list-image":[{"list-image":["none",We,Ye]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",We,Ye]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xe(),"wavy"]}],"text-decoration-thickness":[{decoration:[gt,"from-font","auto",We,Vl]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[gt,"auto",We,Ye]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",We,Ye]}],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",We,Ye]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:le()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:Y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},qs,We,Ye],radial:["",We,Ye],conic:[qs,We,Ye]},Noe,Coe]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:j()}],"rounded-s":[{"rounded-s":j()}],"rounded-e":[{"rounded-e":j()}],"rounded-t":[{"rounded-t":j()}],"rounded-r":[{"rounded-r":j()}],"rounded-b":[{"rounded-b":j()}],"rounded-l":[{"rounded-l":j()}],"rounded-ss":[{"rounded-ss":j()}],"rounded-se":[{"rounded-se":j()}],"rounded-ee":[{"rounded-ee":j()}],"rounded-es":[{"rounded-es":j()}],"rounded-tl":[{"rounded-tl":j()}],"rounded-tr":[{"rounded-tr":j()}],"rounded-br":[{"rounded-br":j()}],"rounded-bl":[{"rounded-bl":j()}],"border-w":[{border:de()}],"border-w-x":[{"border-x":de()}],"border-w-y":[{"border-y":de()}],"border-w-s":[{"border-s":de()}],"border-w-e":[{"border-e":de()}],"border-w-t":[{"border-t":de()}],"border-w-r":[{"border-r":de()}],"border-w-b":[{"border-b":de()}],"border-w-l":[{"border-l":de()}],"divide-x":[{"divide-x":de()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":de()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...xe(),"hidden","none"]}],"divide-style":[{divide:[...xe(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...xe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[gt,We,Ye]}],"outline-w":[{outline:["",gt,id,Vl]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",h,rg,tg]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",d,rg,tg]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:de()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[gt,Vl]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":de()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",m,rg,tg]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[gt,We,Ye]}],"mix-blend":[{"mix-blend":[...Oe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Oe()}],"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":[gt]}],"mask-image-linear-from-pos":[{"mask-linear-from":Re()}],"mask-image-linear-to-pos":[{"mask-linear-to":Re()}],"mask-image-linear-from-color":[{"mask-linear-from":Z()}],"mask-image-linear-to-color":[{"mask-linear-to":Z()}],"mask-image-t-from-pos":[{"mask-t-from":Re()}],"mask-image-t-to-pos":[{"mask-t-to":Re()}],"mask-image-t-from-color":[{"mask-t-from":Z()}],"mask-image-t-to-color":[{"mask-t-to":Z()}],"mask-image-r-from-pos":[{"mask-r-from":Re()}],"mask-image-r-to-pos":[{"mask-r-to":Re()}],"mask-image-r-from-color":[{"mask-r-from":Z()}],"mask-image-r-to-color":[{"mask-r-to":Z()}],"mask-image-b-from-pos":[{"mask-b-from":Re()}],"mask-image-b-to-pos":[{"mask-b-to":Re()}],"mask-image-b-from-color":[{"mask-b-from":Z()}],"mask-image-b-to-color":[{"mask-b-to":Z()}],"mask-image-l-from-pos":[{"mask-l-from":Re()}],"mask-image-l-to-pos":[{"mask-l-to":Re()}],"mask-image-l-from-color":[{"mask-l-from":Z()}],"mask-image-l-to-color":[{"mask-l-to":Z()}],"mask-image-x-from-pos":[{"mask-x-from":Re()}],"mask-image-x-to-pos":[{"mask-x-to":Re()}],"mask-image-x-from-color":[{"mask-x-from":Z()}],"mask-image-x-to-color":[{"mask-x-to":Z()}],"mask-image-y-from-pos":[{"mask-y-from":Re()}],"mask-image-y-to-pos":[{"mask-y-to":Re()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[We,Ye]}],"mask-image-radial-from-pos":[{"mask-radial-from":Re()}],"mask-image-radial-to-pos":[{"mask-radial-to":Re()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"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":P()}],"mask-image-conic-pos":[{"mask-conic":[gt]}],"mask-image-conic-from-pos":[{"mask-conic-from":Re()}],"mask-image-conic-to-pos":[{"mask-conic-to":Re()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:le()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:Y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",We,Ye]}],filter:[{filter:["","none",We,Ye]}],blur:[{blur:He()}],brightness:[{brightness:[gt,We,Ye]}],contrast:[{contrast:[gt,We,Ye]}],"drop-shadow":[{"drop-shadow":["","none",v,rg,tg]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",gt,We,Ye]}],"hue-rotate":[{"hue-rotate":[gt,We,Ye]}],invert:[{invert:["",gt,We,Ye]}],saturate:[{saturate:[gt,We,Ye]}],sepia:[{sepia:["",gt,We,Ye]}],"backdrop-filter":[{"backdrop-filter":["","none",We,Ye]}],"backdrop-blur":[{"backdrop-blur":He()}],"backdrop-brightness":[{"backdrop-brightness":[gt,We,Ye]}],"backdrop-contrast":[{"backdrop-contrast":[gt,We,Ye]}],"backdrop-grayscale":[{"backdrop-grayscale":["",gt,We,Ye]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[gt,We,Ye]}],"backdrop-invert":[{"backdrop-invert":["",gt,We,Ye]}],"backdrop-opacity":[{"backdrop-opacity":[gt,We,Ye]}],"backdrop-saturate":[{"backdrop-saturate":[gt,We,Ye]}],"backdrop-sepia":[{"backdrop-sepia":["",gt,We,Ye]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":L()}],"border-spacing-x":[{"border-spacing-x":L()}],"border-spacing-y":[{"border-spacing-y":L()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",We,Ye]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[gt,"initial",We,Ye]}],ease:[{ease:["linear","initial",_,We,Ye]}],delay:[{delay:[gt,We,Ye]}],animate:[{animate:["none",A,We,Ye]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,We,Ye]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:Te()}],"rotate-x":[{"rotate-x":Te()}],"rotate-y":[{"rotate-y":Te()}],"rotate-z":[{"rotate-z":Te()}],scale:[{scale:Ue()}],"scale-x":[{"scale-x":Ue()}],"scale-y":[{"scale-y":Ue()}],"scale-z":[{"scale-z":Ue()}],"scale-3d":["scale-3d"],skew:[{skew:Ke()}],"skew-x":[{"skew-x":Ke()}],"skew-y":[{"skew-y":Ke()}],transform:[{transform:[We,Ye,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ae()}],"translate-x":[{"translate-x":Ae()}],"translate-y":[{"translate-y":Ae()}],"translate-z":[{"translate-z":Ae()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}
vendor: 5,476 bytes, line 50
50],"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",We,Ye]}],"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":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"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",We,Ye]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[gt,id,Vl,Wx]}],stroke:[{stroke:["none",...Z()]}],"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"]}},JF=poe(Poe);function kt(...e){return JF(Nt(e))}function hT({delayDuration:e=0,...t}){return S.jsx(Kie,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}function Ioe({...e}){return S.jsx(hT,{"data-loc":"client/src/components/ui/tooltip.tsx:23",children:S.jsx(Xie,{"data-loc":"client/src/components/ui/tooltip.tsx:24","data-slot":"tooltip",...e})})}function Doe({...e}){return S.jsx(Qie,{"data-loc":"client/src/components/ui/tooltip.tsx:32","data-slot":"tooltip-trigger",...e})}function Loe({className:e,sideOffset:t=0,children:r,...n}){return S.jsx(Zie,{"data-loc":"client/src/components/ui/tooltip.tsx:42",children:S.jsxs(Jie,{"data-loc":"client/src/components/ui/tooltip.tsx:43","data-slot":"tooltip-content",sideOffset:t,className:kt("bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
50de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...n,children:[r,S.jsx(eoe,{"data-loc":"client/src/components/ui/tooltip.tsx:53",className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"})]})})}const Gk=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Yk=Nt,e$=(e,t)=>r=>{var n;if(t?.variants==null)return Yk(e,r?.class,r?.className);const{variants:a,defaultVariants:i}=t,o=Object.keys(a).map(f=>{const h=r?.[f],d=i?.[f];if(h===null)return null;const m=Gk(h)||Gk(d);return a[f][m]}),s=r&&Object.entries(r).reduce((f,h)=>{let[d,m]=h;return m===void 0||(f[d]=m),f},{}),u=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((f,h)=>{let{class:d,className:m,...v}=h;return Object.entries(v).every(y=>{let[b,E]=y;return Array.isArray(E)?E.includes({...i,...s}[b]):{...i,...s}[b]===E})?[...f,d,m]:f},[]);return Yk(e,o,u,r?.class,r?.className)},joe=e$("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 dl({className:e,variant:t,size:r,asChild:n=!1,...a}){const i=n?rF:"button";return S.jsx(i,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:kt(joe({variant:t,size:r,className:e})),...a})}function Boe({className:e,...t}){return S.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:kt("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function zoe({className:e,...t}){return S.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:kt("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 Hoe=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),t$=(...e)=>e.filter((t,r,n)=>!!t&&n.indexOf(t)===r).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 Foe={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 $oe=R.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:i,iconNode:o,...s},u)=>R.createElement("svg",{ref:u,...Foe,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:t$("lucide",a),...s},[...o.map(([f,h])=>R.createElement(f,h)),...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 Rt=(e,t)=>
70{const r=R.forwardRef(({className:n,...a},i)=>R.createElement($oe,{ref:i,iconNode:t,className:t$(`lucide-${Hoe(e)}`,n),...a}));return r.displayName=`${e}`,r};/** 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 Kx=Rt("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 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 Uoe=Rt("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/** 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 Rw=Rt("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** 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 qoe=Rt("ChartNoAxesCombined",[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]]);/** 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 Voe=Rt("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 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 r$=Rt("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 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 Goe=Rt("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 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 Yoe=Rt("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"}]]);/** 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 Woe=Rt("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 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 Koe=Rt("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"}]]);/** 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 Xoe=Rt("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** 126 * @license lucide-react v0.453.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const Qoe=Rt("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"}]]);/** 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 n$=Rt("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 136 * @license lucide-react v0.453.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const Zoe=Rt("Layers3",[["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:"m6.08 9.5-3.5 1.6a1 1 0 0 0 0 1.81l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9a1 1 0 0 0 0-1.83l-3.5-1.59",key:"1e5n1m"}],["path",{d:"m6.08 14.5-3.5 1.6a1 1 0 0 0 0 1.81l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9a1 1 0 0 0 0-1.83l-3.5-1.59",key:"1iwflc"}]]);/** 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 Wk=Rt("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 146 * @license lucide-react v0.453.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const Joe=Rt("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"}]]);/** 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 Mw=Rt("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 156 * @license lucide-react v0.453.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const Pw=Rt("MapPinned",[["path",{d:"M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",key:"11u0oz"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",key:"q8zwxj"}]]);/** 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 ese=Rt("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"}]]);/** 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 Iw=Rt("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** 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 a$=Rt("PanelLeft",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);/** 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 tse=Rt("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 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 rse=Rt("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/** 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 nse=Rt("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"}]]);/** 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 i$=Rt("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"}]]);/** 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 ase=Rt("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",ke
vendor: 8,296 bytes, lines 200-248
200y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 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=Rt("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 206 * @license lucide-react v0.453.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const ise=Rt("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]]);/** 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 ose=Rt("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** 216 * @license lucide-react v0.453.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const sse=Rt("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/** 221 * @license lucide-react v0.453.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const lse=Rt("UsersRound",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]]);/** 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 use=Rt("Warehouse",[["path",{d:"M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z",key:"gksnxg"}],["path",{d:"M6 18h12",key:"9pbo8z"}],["path",{d:"M6 14h12",key:"4cwo0f"}],["rect",{width:"12",height:"12",x:"6",y:"10",key:"apd30q"}]]);/** 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 cse=Rt("Wheat",[["path",{d:"M2 22 16 8",key:"60hf96"}],["path",{d:"M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1rdhi6"}],["path",{d:"M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"1sdzmb"}],["path",{d:"M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",key:"eoatbi"}],["path",{d:"M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z",key:"19rau1"}],["path",{d:"M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"tc8ph9"}],["path",{d:"M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"2m8kc5"}],["path",{d:"M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",key:"vex3ng"}]]);/** 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 Ld=Rt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function fse(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var r,n,a,i,o=[],s="",u=e.split("/");for(u[0]||u.shift();a=u.shift();)r=a[0],r==="*"?(o.push(r),s+=a[1]==="?"?"(?:/(.*))?":"/(.*)"):r===":"?(n=a.indexOf("?",1),i=a.indexOf(".",1),o.push(a.substring(1,~n?n:~i?i:a.length)),s+=~n&&!~i?"(?:/([^/]+?))?":"/([^/]+?)",~i&&(s+=(~n?"?":"")+"\\"+a.substring(i))):s+="/"+a;return{keys:o,pattern:new RegExp("^"+s+(t?"(?=$|/)":"/?$"),"i")}}var Qx={exports:{}},Zx={};/** 241 * @license React 242 * use-sync-external-store-shim.production.js 243 * 244 * Copyright (c) Meta Platforms, Inc. and affiliates. 245 * 246 * This source code is licensed under the MIT license found in the 247 * LICENSE file in the root directory of this source tree. 248 */var Kk;function dse(){if(Kk)return Zx;Kk=1;var e=Hv();function t(d,m){return d===m&&(d!==0||1/d===1/m)||d!==d&&m!==m}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,a=e.useEffect,i=e.useLayoutEffect,o=e.useDebugValue;function s(d,m){var v=m(),y=n({inst:{value:v,getSnapshot:m}}),b=y[0].inst,E=y[1];return i(function(){b.value=v,b.getSnapshot=m,u(b)&&E({inst:b})},[d,v,m]),a(function(){return u(b)&&E({inst:b}),d(function(){u(b)&&E({inst:b})})},[d]),o(v),v}function u(d){var m=d.getSnapshot;d=d.value;try{var v=m();return!r(d,v)}catch{return!0}}function f(d,m){return m()}var h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:s;return Zx.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:h,Zx}var Xk;function hse(){return Xk||(Xk=1,Qx.exports=dse()),Qx.exports}var o$=hse();const pse=Fv.useInsertionEffect,mse=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",gse=mse?R.useLayoutEffect:R.useEffect,vse=pse||gse,s$=e=>{const t=R.useRef([e,(...r)=>t[0](...r)]).current;return vse(()=>{t[0]=e}),t[1]},yse="popstate",pT="pushState",mT="replaceState",bse="hashchange",Qk=[yse,pT,mT,bse],xse=e=>{for(const t of Qk)addEventListener(t,e);return()=>{for(const t of Qk)removeEventListener(t,e)}},l$=(e,t)=>o$.useSyncExternalStore(xse,e,t),Ese=()=>location.search,_se=({ssrSearch:e=""}={})=>l$(Ese,()=>e),Zk=()=>location.pathname,wse=({ssrPath:e}={})=>l$(Zk,e?()=>e:Zk),Sse=(e,{replace:t=!1,state:r=null}={})=>history[t?mT:pT](r,"",e),Tse=(e={})=>[wse(e),Sse],Jk=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Jk]>"u"){for(const e of[pT,mT]){const t=history[e];history[e]=function(){const r=t.apply(this,arguments),n=new Event(e);return n.arguments=arguments,dispatchEvent(n),r}}Object.defineProperty(window,Jk,{value:!0})}const Ase=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",u$=(e="")=>e==="/"?"":e,Cse=(e,t)=>e[0]==="~"?e.slice(1):u$(t)+e,Ose=(e="",t)=>Ase(eN(u$(e)),eN(t)),eN=e=>{try{return decodeURI(e)}catch{return e}},c$={hook:Tse,searchHook:_se,parser:fse,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},f$=R.createContext(c$),lp=()=>R.useContext(f$),d$={},h$=R.createContext(d$),kse=()=>R.useContext(h$),iy=e=>{const[t,r]=e.hook(e);return[Ose(e.base,t),s$((n,a)=>r(Cse(n,e.base),a))]},p$=()=>iy(lp()),m$=(e,t,r,n)=>{const{pattern:a,keys:i}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",n),o=a.exec(r)||[],[s,...u]=o;return s!==void 0?[!0,(()=>{const f=i!==!1?Object.fromEntries(i.map((d,m)=>[d,u[m]])):o.groups;let h={...u};return f&&Object.assign(h,f),h})(),...n?[s]:[]]:[!1,null]},Nse=({children:e,...t})=>{const r=lp(),n=t.hook?c$:r;let a=n;const[i,o]=t.ssrPath?.split("?")??[];o&&(t.ssrSearch=o,t.ssrPath=i),t.hrefs=t.hrefs??t.hook?.hrefs;let s=R.useRef({}),u=s.current,f=u;for(let h in n){const d=h==="base"?n[h]+(t[h]||""):t[h]||n[h];u===f&&d!==f[h]&&(s.current=f={...f}),f[h]=d,(d!==n[h]||d!==a[h])&&(a=f)}return R.createElement(f$.Provider,{value:a,children:e})},tN=({children:e,component:t},r)=>t?R.createElement(t,{params:r}):typeof e=="function"?e(r):e,Rse=e=>{let t=R.useRef(d$);const r=t.current;return t.current=Object.keys(e).length!==Object.keys(r).length||Object.entries(e).some(([n,a])=>a!==r[n])?e:r},ng=({path:e,nest:t,match:r,...n})=>{const a=lp(),[i]=iy(a),[o,s,u]=r??m$(a.parser,e,i,t),f=Rse({...kse(),...s});if(!o)return null;const h=u?R.createElement(Nse,{base:u},tN(n,f)):tN(n,f);return R.createElement(h$.Provider,{value:f,children:h})};R.forwardRef((e,t)=>
248{const r=lp(),[n,a]=iy(r),{to:i="",href:o=i,onClick:s,asChild:u,children:f,className:h,replace:d,state:m,...v}=e,y=s$(E=>{E.ctrlKey||E.metaKey||E.altKey||E.shiftKey||E.button!==0||(s?.(E),E.defaultPrevented||(E.preventDefault(),a(o,e)))}),b=r.hrefs(o[0]==="~"?o.slice(1):r.base+o,r);return u&&R.isValidElement(f)?R.cloneElement(f,{onClick:y,href:b}):R.createElement("a",{...v,onClick:y,href:b,className:h?.call?h(n===o):h,children:f,ref:t})});const Dw=e=>Array.isArray(e)?e.flatMap(t=>Dw(t&&t.type===R.Fragment?t.props.children:t)):[e],Mse=({children:e,location:t})=>{const r=lp(),[n]=iy(r);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),Dw(e).forEach(i=>{if(R.isValidElement(i)&&i.props.path){const o=i.props.path;window.__WOUTER_ROUTES__.includes(o)||window.__WOUTER_ROUTES__.push(o)}}));for(const a of Dw(e)){let i=0;if(R.isValidElement(a)&&(i=m$(r.parser,a.props.path,t||n,a.props.nest))[0])return R.cloneElement(a,{match:i})}return null};function rN(){const[,e]=p$(),t=()=>{e("/")};return S.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:S.jsx(Boe,{"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:S.jsxs(zoe,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[S.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:S.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[S.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),S.jsx(Yoe,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),S.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),S.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),S.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.",S.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),S.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:S.jsxs(dl,{"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:[S.jsx(n$,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class Pse extends R.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?S.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:S.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[S.jsx(ose,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),S.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),S.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:S.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),S.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:kt("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[S.jsx(nse,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const Ise=R.createContext(void 0);function Dse({children:e,defaultTheme:t="light",switchable:r=!1}){const[n,a]=R.useState(()=>r&&localStorage.getItem("theme")||t);R.useEffect(()=>{const o=document.documentElement;n==="dark"?o.classList.add("dark"):o.classList.remove("dark"),r&&localStorage.setItem("theme",n)},[n,r]);const i=r?()=>{a(o=>o==="light"?"dark":"light")}:void 0;return S.jsx(Ise.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:n,toggleTheme:i,switchable:r},children:e})}const gT=()=>{const e="https://manus.im",t="MfGpXSGoJB8VJs5uaEnnNg",r=`${window.location.origin}/api/oauth/callback`,n=crypto.randomUUID();document.cookie=`${_re}=${n}; Path=/; Max-Age=600; SameSite=None; Secure`;const a=wre({redirectUri:r,nonce:n}),i=new URL(`${e}/app-auth`);i.searchParams.set("appId",t),i.searchParams.set("redirectUri",r),i.searchParams.set("state",a),i.searchParams.set("type","signIn"),window.location.href=i.toString()};function vT(e){const{redirectOnUnauthenticated:t=!1,redirectPath:r}={},n=ha.useUtils(),a=ha.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),i=ha.auth.logout.useMutation({onSuccess:()=>{n.auth.me.setData(void 0,null)}}),o=R.useCallback(async()=>{try{await i.mutateAsync()}catch(u){if(u instanceof df&&u.data?.code==="UNAUTHORIZED")return;throw u}finally{try{sessionStorage.removeItem("manus-cookie")}catch{}
248n.auth.me.setData(void 0,null),await n.auth.me.invalidate()}},[i,n]),s=R.useMemo(()=>(localStorage.setItem("manus-runtime-user-info",JSON.stringify(a.data)),{user:a.data??null,loading:a.isLoading||i.isPending,error:a.error??i.error??null,isAuthenticated:!!a.data}),[a.data,a.error,a.isLoading,i.error,i.isPending]);return R.useEffect(()=>{t&&(a.isLoading||i.isPending||s.user||typeof window>"u"||r&&window.location.pathname===r||(r?window.location.href=r:gT()))},[t,r,i.isPending,a.isLoading,s.user]),{...s,refresh:()=>a.refetch(),logout:o}}function Lse(){return o$.useSyncExternalStore(jse,()=>!0,()=>!1)}function jse(){return()=>{}}var yT="Avatar",[Bse]=ds(yT),[zse,g$]=Bse(yT),v$=R.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[a,i]=R.useState("idle");return S.jsx(zse,{scope:r,imageLoadingStatus:a,onImageLoadingStatusChange:i,children:S.jsx(Wt.span,{...n,ref:t})})});v$.displayName=yT;var y$="AvatarImage",Hse=R.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:a=()=>{},...i}=e,o=g$(y$,r),s=Fse(n,i),u=Tn(f=>{a(f),o.onImageLoadingStatusChange(f)});return ci(()=>{s!=="idle"&&u(s)},[s,u]),s==="loaded"?S.jsx(Wt.img,{...i,ref:t,src:n}):null});Hse.displayName=y$;var b$="AvatarFallback",x$=R.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...a}=e,i=g$(b$,r),[o,s]=R.useState(n===void 0);return R.useEffect(()=>{if(n!==void 0){const u=window.setTimeout(()=>s(!0),n);return()=>window.clearTimeout(u)}},[n]),o&&i.imageLoadingStatus!=="loaded"?S.jsx(Wt.span,{...a,ref:t}):null});x$.displayName=b$;function nN(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Fse(e,{referrerPolicy:t,crossOrigin:r}){const n=Lse(),a=R.useRef(null),i=n?(a.current||(a.current=new window.Image),a.current):null,[o,s]=R.useState(()=>nN(i,e));return ci(()=>{s(nN(i,e))},[i,e]),ci(()=>{const u=d=>()=>{s(d)};if(!i)return;const f=u("loaded"),h=u("error");return i.addEventListener("load",f),i.addEventListener("error",h),t&&(i.referrerPolicy=t),typeof r=="string"&&(i.crossOrigin=r),()=>{i.removeEventListener("load",f),i.removeEventListener("error",h)}},[i,r,t]),o}var $se=v$,Use=x$;function qse({className:e,...t}){return S.jsx($se,{"data-loc":"client/src/components/ui/avatar.tsx:11","data-slot":"avatar",className:kt("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function Vse({className:e,...t}){return S.jsx(Use,{"data-loc":"client/src/components/ui/avatar.tsx:40","data-slot":"avatar-fallback",className:kt("bg-muted flex size-full items-center justify-center rounded-full",e),...t})}function E$(e){const t=e+"CollectionProvider",[r,n]=ds(t),[a,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),o=b=>{const{scope:E,children:_}=b,A=re.useRef(null),C=re.useRef(new Map).current;return S.jsx(a,{scope:E,itemMap:C,collectionRef:A,children:_})};o.displayName=t;const s=e+"CollectionSlot",u=pf(s),f=re.forwardRef((b,E)=>{const{scope:_,children:A}=b,C=i(s,_),P=gr(E,C.collectionRef);return S.jsx(u,{ref:P,children:A})});f.displayName=s;const h=e+"CollectionItemSlot",d="data-radix-collection-item",m=pf(h),v=re.forwardRef((b,E)=>{const{scope:_,children:A,...C}=b,P=re.useRef(null),O=gr(E,P),k=i(h,_);return re.useEffect(()=>(k.itemMap.set(P,{ref:P,...C}),()=>void k.itemMap.delete(P))),S.jsx(m,{[d]:"",ref:O,children:A})});v.displayName=h;function y(b){const E=i(e+"CollectionConsumer",b);return re.useCallback(()=>{const A=E.collectionRef.current;if(!A)return[];const C=Array.from(A.querySelectorAll(`[${d}]`));return Array.from(E.itemMap.values()).sort((k,M)=>C.indexOf(k.ref.current)-C.indexOf(M.ref.current))},[E.collectionRef,E.itemMap])}return[{Provider:o,Slot:f,ItemSlot:v},y,n]}var Gse=R.createContext(void 0);function bT(e){const t=R.useContext(Gse);return e||t||"ltr"}var Jx=0;function _$(){R.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??aN()),document.body.insertAdjacentElement("beforeend",e[1]??aN()),Jx++,()=>{Jx===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Jx--}},[])}function aN(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 4,723 bytes, line 248
248style.position="fixed",e.style.pointerEvents="none",e}var e4="focusScope.autoFocusOnMount",t4="focusScope.autoFocusOnUnmount",iN={bubbles:!1,cancelable:!0},Yse="FocusScope",xT=R.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...o}=e,[s,u]=R.useState(null),f=Tn(a),h=Tn(i),d=R.useRef(null),m=gr(t,b=>u(b)),v=R.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;R.useEffect(()=>{if(n){let b=function(C){if(v.paused||!s)return;const P=C.target;s.contains(P)?d.current=P:Ws(d.current,{select:!0})},E=function(C){if(v.paused||!s)return;const P=C.relatedTarget;P!==null&&(s.contains(P)||Ws(d.current,{select:!0}))},_=function(C){if(document.activeElement===document.body)for(const O of C)O.removedNodes.length>0&&Ws(s)};document.addEventListener("focusin",b),document.addEventListener("focusout",E);const A=new MutationObserver(_);return s&&A.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",b),document.removeEventListener("focusout",E),A.disconnect()}}},[n,s,v.paused]),R.useEffect(()=>{if(s){sN.add(v);const b=document.activeElement;if(!s.contains(b)){const _=new CustomEvent(e4,iN);s.addEventListener(e4,f),s.dispatchEvent(_),_.defaultPrevented||(Wse(Jse(w$(s)),{select:!0}),document.activeElement===b&&Ws(s))}return()=>{s.removeEventListener(e4,f),setTimeout(()=>{const _=new CustomEvent(t4,iN);s.addEventListener(t4,h),s.dispatchEvent(_),_.defaultPrevented||Ws(b??document.body,{select:!0}),s.removeEventListener(t4,h),sN.remove(v)},0)}}},[s,f,h,v]);const y=R.useCallback(b=>{if(!r&&!n||v.paused)return;const E=b.key==="Tab"&&!b.altKey&&!b.ctrlKey&&!b.metaKey,_=document.activeElement;if(E&&_){const A=b.currentTarget,[C,P]=Kse(A);C&&P?!b.shiftKey&&_===P?(b.preventDefault(),r&&Ws(C,{select:!0})):b.shiftKey&&_===C&&(b.preventDefault(),r&&Ws(P,{select:!0})):_===A&&b.preventDefault()}},[r,n,v.paused]);return S.jsx(Wt.div,{tabIndex:-1,...o,ref:m,onKeyDown:y})});xT.displayName=Yse;function Wse(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Ws(n,{select:t}),document.activeElement!==r)return}function Kse(e){const t=w$(e),r=oN(t,e),n=oN(t.reverse(),e);return[r,n]}function w$(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function oN(e,t){for(const r of e)if(!Xse(r,{upTo:t}))return r}function Xse(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Qse(e){return e instanceof HTMLInputElement&&"select"in e}function Ws(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Qse(e)&&t&&e.select()}}var sN=Zse();function Zse(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=lN(e,t),e.unshift(t)},remove(t){e=lN(e,t),e[0]?.resume()}}}function lN(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Jse(e){return e.filter(t=>t.tagName!=="A")}var r4="rovingFocusGroup.onEntryFocus",ele={bubbles:!1,cancelable:!0},up="RovingFocusGroup",[Lw,S$,tle]=E$(up),[rle,T$]=ds(up,[tle]),[nle,ale]=rle(up),A$=R.forwardRef((e,t)=>S.jsx(Lw.Provider,{scope:e.__scopeRovingFocusGroup,children:S.jsx(Lw.Slot,{scope:e.__scopeRovingFocusGroup,children:S.jsx(ile,{...e,ref:t})})}));A$.displayName=up;var ile=R.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:a=!1,dir:i,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:u,onEntryFocus:f,preventScrollOnEntryFocus:h=!1,...d}=e,m=R.useRef(null),v=gr(t,m),y=bT(i),[b,E]=ry({prop:o,defaultProp:s??null,onChange:u,caller:up}),[_,A]=R.useState(!1),C=Tn(f),P=S$(r),O=R.useRef(!1),[k,M]=R.useState(0);return R.useEffect(()=>{const L=m.current;if(L)return L.addEventListener(r4,C),()=>L.removeEventListener(r4,C)},[C]),S.jsx(nle,{scope:r,orientation:n,dir:y,loop:a,currentTabStopId:b,onItemFocus:R.useCallback(L=>E(L),[E]),onItemShiftTab:R.useCallback(()=>A(!0),[]),onFocusableItemAdd:R.useCallback(()=>M(L=>L+1),[]),onFocusableItemRemove:R.useCallback(()=>M(L=>L-1),[]),children:S.jsx(Wt.div,{tabIndex:_||k===0?-1:0,"data-orientation":n,...d,ref:v,style:{outline:"none",...e.style},onMouseDown:tt(e.onMouseDown,()=>{O.current=!0}),onFocus:tt(e.onFocus,L=>{const H=!O.current;if(L.target===L.currentTarget&&H&&!_){const F=new CustomEvent(r4,ele);if(L.currentTarget.dispatchEvent(F),!F.defaultPrevented){const $=P().filter(U=>U.focusable),z=$.find(U=>U.active),W=$.find(U=>
vendor: 4,830 bytes, line 248
248U.id===b),te=[z,W,...$].filter(Boolean).map(U=>U.ref.current);k$(te,h)}}O.current=!1}),onBlur:tt(e.onBlur,()=>A(!1))})})}),C$="RovingFocusGroupItem",O$=R.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:a=!1,tabStopId:i,children:o,...s}=e,u=cu(),f=i||u,h=ale(C$,r),d=h.currentTabStopId===f,m=S$(r),{onFocusableItemAdd:v,onFocusableItemRemove:y,currentTabStopId:b}=h;return R.useEffect(()=>{if(n)return v(),()=>y()},[n,v,y]),S.jsx(Lw.ItemSlot,{scope:r,id:f,focusable:n,active:a,children:S.jsx(Wt.span,{tabIndex:d?0:-1,"data-orientation":h.orientation,...s,ref:t,onMouseDown:tt(e.onMouseDown,E=>{n?h.onItemFocus(f):E.preventDefault()}),onFocus:tt(e.onFocus,()=>h.onItemFocus(f)),onKeyDown:tt(e.onKeyDown,E=>{if(E.key==="Tab"&&E.shiftKey){h.onItemShiftTab();return}if(E.target!==E.currentTarget)return;const _=lle(E,h.orientation,h.dir);if(_!==void 0){if(E.metaKey||E.ctrlKey||E.altKey||E.shiftKey)return;E.preventDefault();let C=m().filter(P=>P.focusable).map(P=>P.ref.current);if(_==="last")C.reverse();else if(_==="prev"||_==="next"){_==="prev"&&C.reverse();const P=C.indexOf(E.currentTarget);C=h.loop?ule(C,P+1):C.slice(P+1)}setTimeout(()=>k$(C))}}),children:typeof o=="function"?o({isCurrentTabStop:d,hasTabStop:b!=null}):o})})});O$.displayName=C$;var ole={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function sle(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function lle(e,t,r){const n=sle(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return ole[n]}function k$(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function ule(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var cle=A$,fle=O$,dle=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pc=new WeakMap,ag=new WeakMap,ig={},n4=0,N$=function(e){return e&&(e.host||N$(e.parentNode))},hle=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=N$(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},ple=function(e,t,r,n){var a=hle(t,Array.isArray(e)?e:[e]);ig[r]||(ig[r]=new WeakMap);var i=ig[r],o=[],s=new Set,u=new Set(a),f=function(d){!d||s.has(d)||(s.add(d),f(d.parentNode))};a.forEach(f);var h=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(m){if(s.has(m))h(m);else try{var v=m.getAttribute(n),y=v!==null&&v!=="false",b=(Pc.get(m)||0)+1,E=(i.get(m)||0)+1;Pc.set(m,b),i.set(m,E),o.push(m),b===1&&y&&ag.set(m,!0),E===1&&m.setAttribute(r,"true"),y||m.setAttribute(n,"true")}catch(_){console.error("aria-hidden: cannot operate on ",m,_)}})};return h(t),s.clear(),n4++,function(){o.forEach(function(d){var m=Pc.get(d)-1,v=i.get(d)-1;Pc.set(d,m),i.set(d,v),m||(ag.has(d)||d.removeAttribute(n),ag.delete(d)),v||d.removeAttribute(r)}),n4--,n4||(Pc=new WeakMap,Pc=new WeakMap,ag=new WeakMap,ig={})}},R$=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=dle(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live], script"))),ple(n,a,r,"aria-hidden")):function(){return null}},Ji=function(){return Ji=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Ji.apply(this,arguments)};function M$(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function mle(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var Qg="right-scroll-bar-position",Zg="width-before-scroll-bar",gle="with-scroll-bars-hidden",vle="--removed-body-scroll-bar-size";function a4(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function yle(e,t){var r=R.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}var ble=typeof window<"u"?R.useLayoutEffect:R.useEffect,uN=new WeakMap;function xle(e,t){var r=yle(null,function(n){return e.forEach(function(a){return a4(a,n)})});return ble(function(){var n=uN.get(r);if(n){var a=new Set(n),i=new Set(e),o=r.current;a.forEach(function(s){i.has(s)||a4(s,null)}
vendor: 1,257 bytes, line 248
248),i.forEach(function(s){a.has(s)||a4(s,o)})}uN.set(r,e)},[e]),r}function Ele(e){return e}function _le(e,t){t===void 0&&(t=Ele);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(i){var o=t(i,n);return r.push(o),function(){r=r.filter(function(s){return s!==o})}},assignSyncMedium:function(i){for(n=!0;r.length;){var o=r;r=[],o.forEach(i)}r={push:function(s){return i(s)},filter:function(){return r}}},assignMedium:function(i){n=!0;var o=[];if(r.length){var s=r;r=[],s.forEach(i),o=r}var u=function(){var h=o;o=[],h.forEach(i)},f=function(){return Promise.resolve().then(u)};f(),r={push:function(h){o.push(h),f()},filter:function(h){return o=o.filter(h),r}}}};return a}function wle(e){e===void 0&&(e={});var t=_le(null);return t.options=Ji({async:!0,ssr:!1},e),t}var P$=function(e){var t=e.sideCar,r=M$(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return R.createElement(n,Ji({},r))};P$.isSideCarExport=!0;function Sle(e,t){return e.useMedium(t),P$}var I$=wle(),i4=function(){}
vendor: 27,993 bytes, lines 248-288
248,oy=R.forwardRef(function(e,t){var r=R.useRef(null),n=R.useState({onScrollCapture:i4,onWheelCapture:i4,onTouchMoveCapture:i4}),a=n[0],i=n[1],o=e.forwardProps,s=e.children,u=e.className,f=e.removeScrollBar,h=e.enabled,d=e.shards,m=e.sideCar,v=e.noRelative,y=e.noIsolation,b=e.inert,E=e.allowPinchZoom,_=e.as,A=_===void 0?"div":_,C=e.gapMode,P=M$(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=m,k=xle([r,t]),M=Ji(Ji({},P),a);return R.createElement(R.Fragment,null,h&&R.createElement(O,{sideCar:I$,removeScrollBar:f,shards:d,noRelative:v,noIsolation:y,inert:b,setCallbacks:i,allowPinchZoom:!!E,lockRef:r,gapMode:C}),o?R.cloneElement(R.Children.only(s),Ji(Ji({},M),{ref:k})):R.createElement(A,Ji({},M,{className:u,ref:k}),s))});oy.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};oy.classNames={fullWidth:Zg,zeroRight:Qg};var Tle=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ale(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Tle();return t&&e.setAttribute("nonce",t),e}function Cle(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ole(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var kle=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Ale())&&(Cle(t,r),Ole(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Nle=function(){var e=kle();return function(t,r){R.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},D$=function(){var e=Nle(),t=function(r){var n=r.styles,a=r.dynamic;return e(n,a),null};return t},Rle={left:0,top:0,right:0,gap:0},o4=function(e){return parseInt(e||"",10)||0},Mle=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[o4(r),o4(n),o4(a)]},Ple=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Rle;var t=Mle(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Ile=D$(),rf="data-scroll-locked",Dle=function(e,t,r,n){var a=e.left,i=e.top,o=e.right,s=e.gap;return r===void 0&&(r="margin"),` 249 .`.concat(gle,` { 250 overflow: hidden `).concat(n,`; 251 padding-right: `).concat(s,"px ").concat(n,`; 252 } 253 body[`).concat(rf,`] { 254 overflow: hidden `).concat(n,`; 255 overscroll-behavior: contain; 256 `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` 257 padding-left: `.concat(a,`px; 258 padding-top: `).concat(i,`px; 259 padding-right: `).concat(o,`px; 260 margin-left:0; 261 margin-top:0; 262 margin-right: `).concat(s,"px ").concat(n,`; 263 `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),` 264 } 265 266 .`).concat(Qg,` { 267 right: `).concat(s,"px ").concat(n,`; 268 } 269 270 .`).concat(Zg,` { 271 margin-right: `).concat(s,"px ").concat(n,`; 272 } 273 274 .`).concat(Qg," .").concat(Qg,` { 275 right: 0 `).concat(n,`; 276 } 277 278 .`).concat(Zg," .").concat(Zg,` { 279 margin-right: 0 `).concat(n,`; 280 } 281 282 body[`).concat(rf,`] { 283 `).concat(vle,": ").concat(s,`px; 284 } 285`)},cN=function(){var e=parseInt(document.body.getAttribute(rf)||"0",10);return isFinite(e)?e:0},Lle=function(){R.useEffect(function(){return document.body.setAttribute(rf,(cN()+1).toString()),function(){var e=cN()-1;e<=0?document.body.removeAttribute(rf):document.body.setAttribute(rf,e.toString())}},[])},jle=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n;Lle();var i=R.useMemo(function(){return Ple(a)},[a]);return R.createElement(Ile,{styles:Dle(i,!t,a,r?"":"!important")})},jw=!1;if(typeof window<"u")try{var og=Object.defineProperty({},"passive",{get:function(){return jw=!0,!0}});window.addEventListener("test",og,og),window.removeEventListener("test",og,og)}catch{jw=!1}var Ic=jw?{passive:!1}:!1,Ble=function(e){return e.tagName==="TEXTAREA"},L$=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Ble(e)&&r[t]==="visible")},zle=function(e){return L$(e,"overflowY")},Hle=function(e){return L$(e,"overflowX")},fN=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var a=j$(e,n);if(a){var i=B$(e,n),o=i[1],s=i[2];if(o>s)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Fle=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},$le=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},j$=function(e,t){return e==="v"?zle(t):Hle(t)},B$=function(e,t){return e==="v"?Fle(t):$le(t)},Ule=function(e,t){return e==="h"&&t==="rtl"?-1:1},qle=function(e,t,r,n,a){var i=Ule(e,window.getComputedStyle(t).direction),o=i*n,s=r.target,u=t.contains(s),f=!1,h=o>0,d=0,m=0;do{if(!s)break;var v=B$(e,s),y=v[0],b=v[1],E=v[2],_=b-E-i*y;(y||_)&&j$(e,s)&&(d+=_,m+=y);var A=s.parentNode;s=A&&A.nodeType===Node.DOCUMENT_FRAGMENT_NODE?A.host:A}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(h&&Math.abs(d)<1||!h&&Math.abs(m)<1)&&(f=!0),f},sg=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},dN=function(e){return[e.deltaX,e.deltaY]},hN=function(e){return e&&"current"in e?e.current:e},Vle=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Gle=function(e){return` 286 .block-interactivity-`.concat(e,` {pointer-events: none;} 287 .allow-interactivity-`).concat(e,` {pointer-events: all;} 288`)},Yle=0,Dc=[];function Wle(e){var t=R.useRef([]),r=R.useRef([0,0]),n=R.useRef(),a=R.useState(Yle++)[0],i=R.useState(D$)[0],o=R.useRef(e);R.useEffect(function(){o.current=e},[e]),R.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var b=mle([e.lockRef.current],(e.shards||[]).map(hN),!0).filter(Boolean);return b.forEach(function(E){return E.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),b.forEach(function(E){return E.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=R.useCallback(function(b,E){if("touches"in b&&b.touches.length===2||b.type==="wheel"&&b.ctrlKey)return!o.current.allowPinchZoom;var _=sg(b),A=r.current,C="deltaX"in b?b.deltaX:A[0]-_[0],P="deltaY"in b?b.deltaY:A[1]-_[1],O,k=b.target,M=Math.abs(C)>Math.abs(P)?"h":"v";if("touches"in b&&M==="h"&&k.type==="range")return!1;var L=fN(M,k);if(!L)return!0;if(L?O=M:(O=M==="v"?"h":"v",L=fN(M,k)),!L)return!1;if(!n.current&&"changedTouches"in b&&(C||P)&&(n.current=O),!O)return!0;var H=n.current||O;return qle(H,E,b,H==="h"?C:P)},[]),u=R.useCallback(function(b){var E=b;if(!(!Dc.length||Dc[Dc.length-1]!==i)){var _="deltaY"in E?dN(E):sg(E),A=t.current.filter(function(O){return O.name===E.type&&(O.target===E.target||E.target===O.shadowParent)&&Vle(O.delta,_)})[0];if(A&&A.should){E.cancelable&&E.preventDefault();return}if(!A){var C=(o.current.shards||[]).map(hN).filter(Boolean).filter(function(O){return O.contains(E.target)}),P=C.length>0?s(E,C[0]):!o.current.noIsolation;P&&E.cancelable&&E.preventDefault()}}},[]),f=R.useCallback(function(b,E,_,A){var C={name:b,delta:E,target:_,should:A,shadowParent:Kle(_)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(P){return P!==C})},1)},[]),h=R.useCallback(function(b){r.current=sg(b),n.current=void 0},[]),d=R.useCallback(function(b){f(b.type,dN(b),b.target,s(b,e.lockRef.current))},[]),m=R.useCallback(function(b){f(b.type,sg(b),b.target,s(b,e.lockRef.current))},[]);R.useEffect(function(){return Dc.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:m}),document.addEventListener("wheel",u,Ic),document.addEventListener("touchmove",u,Ic),document.addEventListener("touchstart",h,Ic),function(){Dc=Dc.filter(function(b){return b!==i}),document.removeEventListener("wheel",u,Ic),document.removeEventListener("touchmove",u,Ic),document.removeEventListener("touchstart",h,Ic)}},[]);var v=e.removeScrollBar,y=e.inert;return R.createElement(R.Fragment,null,y?R.createElement(i,{styles:Gle(a)}):null,v?R.createElement(jle,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Kle(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Xle=Sle(I$,Wle);var ET=R.forwardRef(function(e,t){return R.createElement(oy,Ji({},e,{ref:t,sideCar:Xle}))});ET.classNames=oy.classNames;var Bw=["Enter"," "],Qle=["ArrowDown","PageUp","Home"],z$=["ArrowUp","PageDown","End"],Zle=[...Qle,...z$],Jle={ltr:[...Bw,"ArrowRight"],rtl:[...Bw,"ArrowLeft"]},eue={ltr:["ArrowLeft"],rtl:["ArrowRight"]},cp="Menu",[lh,tue,rue]=E$(cp),[Ru,H$]=ds(cp,[rue,ey,T$]),sy=ey(),F$=T$(),[nue,Mu]=Ru(cp),[aue,fp]=Ru(cp),$$=e=>{const{__scopeMenu:t,open:r=!1,children:n,dir:a,onOpenChange:i,modal:o=!0}=e,s=sy(t),[u,f]=R.useState(null),h=R.useRef(!1),d=Tn(i),m=bT(a);return R.useEffect(()=>{const v=()=>{h.current=!0,document.addEventListener("pointerdown",y,{capture:!0,once:!0}),document.addEventListener("pointermove",y,{capture:!0,once:!0})},y=()=>h.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",y,{capture:!0}),document.removeEventListener("pointermove",y,{capture:!0})}},[]),S.jsx(OF,{...s,children:S.jsx(nue,{scope:t,open:r,onOpenChange:d,content:u,onContentChange:f,children:S.jsx(aue,{scope:t,onClose:R.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:h,dir:m,modal:o,children:n})})})};$$.displayName=cp;var iue="MenuAnchor",_T=R.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,a=sy(r);return S.jsx(kF,{...a,...n,ref:t})});_T.displayName=iue;var wT="MenuPortal",[oue,U$]=Ru(wT,{forceMount:void 0}),q$=e=>{const{__scopeMenu:t,forceMount:r,children:n,container:a}=e,i=Mu(wT,t);return S.jsx(oue,{scope:t,forceMount:r,children:S.jsx(ma,{present:r||i.open,children:S.jsx(ty,{asChild:!0,container:a,children:n})})})};q$.displayName=wT;var li="MenuContent",[sue,ST]=Ru(li),V$=R.forwardRef((e,t)=>{const r=U$(li,e.__scopeMenu),{forceMount:n=r.forceMount,...a}=e,i=Mu(li,e.__scopeMenu),o=fp(li,e.__scopeMenu);return S.jsx(lh.Provider,{scope:e.__scopeMenu,children:S.jsx(ma,{present:n||i.open,children:S.jsx(lh.Slot,{scope:e.__scopeMenu,children:o.modal?S.jsx(lue,{...a,ref:t}):S.jsx(uue,{...a,ref:t})})})})}),lue=R.forwardRef((e,t)=>{const r=Mu(li,e.__scopeMenu),n=R.useRef(null),a=gr(t,n);return R.useEffect(()=>{const i=n.current;if(i)return R$(i)},[]),S.jsx(TT,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:tt(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),uue=R.forwardRef((e,t)=>{const r=Mu(li,e.__scopeMenu);return S.jsx(TT,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),cue=pf("MenuContent.ScrollLock"),TT=R.forwardRef((e,t)=>{const{__scopeMenu:r,loop:n=!1,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:u,onEscapeKeyDown:f,onPointerDownOutside:h,onFocusOutside:d,onInteractOutside:m,onDismiss:v,disableOutsideScroll:y,...b}=e,E=Mu(li,r),_=fp(li,r),A=sy(r),C=F$(r),P=tue(r),[O,k]=R.useState(null),M=R.useRef(null),L=gr(t,M,E.onContentChange),H=R.useRef(0),F=R.useRef(""),$=R.useRef(0),z=R.useRef(null),W=R.useRef("right"),K=R.useRef(0),te=y?ET:R.Fragment,U=y?{as:cue,allowPinchZoom:!0}:void 0,J=le=>{const G=F.current+le,Y=P().filter(Re=>!Re.disabled),oe=document.activeElement,j=Y.find(Re=>Re.ref.current===oe)?.textValue,de=Y.map(Re=>Re.textValue),xe=_ue(de,G,j),Oe=Y.find(Re=>Re.textValue===xe)?.ref.current;(function Re(He){F.current=He,window.clearTimeout(H.current),He!==""&&(H.current=window.setTimeout(()=>Re(""),1e3))})(G),Oe&&setTimeout(()=>Oe.focus())};R.useEffect(()=>()=>window.clearTimeout(H.current),[]),_$();const Z=R.useCallback(le=>W.current===z.current?.side&&Sue(le,z.current?.area),[]);return S.jsx(sue,{scope:r,searchRef:F,onItemEnter:R.useCallback(le=>{Z(le)&&le.preventDefault()},[Z]),onItemLeave:R.useCallback(le=>{Z(le)||(M.current?.focus(),k(null))},[Z]),onTriggerLeave:R.useCallback(le=>{Z(le)&&le.preventDefault()},[Z]),pointerGraceTimerRef:$,onPointerGraceIntentChange:R.useCallback(le=>{z.current=le},[]),children:S.jsx(te,{...U,children:S.jsx(xT,{asChild:!0,trapped:a,onMountAutoFocus:tt(i,le=>{le.preventDefault(),M.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:S.jsx(Kv,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:f,onPointerDownOutside:h,onFocusOutside:d,onInteractOutside:m,onDismiss:v,children:S.jsx(cle,{asChild:!0,...C,dir:_.dir,orientation:"vertical",loop:n,currentTabStopId:O,onCurrentTabStopIdChange:k,onEntryFocus:tt(u,le=>{_.isUsingKeyboardRef.current||le.preventDefault()}),preventScrollOnEntryFocus:!0,children:S.jsx(NF,{role:"menu","aria-orientation":"vertical","data-state":sU(E.open),"data-radix-menu-content":"",dir:_.dir,...A,...b,ref:L,style:{outline:"none",...b.style},onKeyDown:tt(b.onKeyDown,le=>{const Y=le.target.closest("[data-radix-menu-content]")===le.currentTarget,oe=le.ctrlKey||le.altKey||le.metaKey,j=le.key.length===1;Y&&(le.key==="Tab"&&le.preventDefault(),!oe&&j&&J(le.key));const de=M.current;if(le.target!==de||!Zle.includes(le.key))return;le.preventDefault();const Oe=P().filter(Re=>!Re.disabled).map(Re=>Re.ref.current);z$.includes(le.key)&&Oe.reverse(),xue(Oe)}),onBlur:tt(e.onBlur,le=>{le.currentTarget.contains(le.target)||(window.clearTimeout(H.current),F.current="")}),onPointerMove:tt(e.onPointerMove,uh(le=>{const G=le.target,Y=K.current!==le.clientX;if(le.currentTarget.contains(G)&&Y){const oe=le.clientX>K.current?"right":"left";W.current=oe,K.current=le.clientX}}))})})})})})})});V$.displayName=li;var fue="MenuGroup",AT=R.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return S.jsx(Wt.div,{role:"group",...n,ref:t})});AT.displayName=fue;var due="MenuLabel",G$=R.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return S.jsx(Wt.div,{...n,ref:t})});G$.displayName=due;var h1="MenuItem",pN="menu.itemSelect",ly=R.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:n,...a}=e,i=R.useRef(null),o=fp(h1,e.__scopeMenu),s=ST(h1,e.__scopeMenu),u=gr(t,i),f=R.useRef(!1),h=()=>{const d=i.current;if(!r&&d){const m=new CustomEvent(pN,{bubbles:!0,cancelable:!0});d.addEventListener(pN,v=>n?.(v),{once:!0}),aF(d,m),m.defaultPrevented?f.current=!1:o.onClose()}};return S.jsx(Y$,{...a,ref:u,disabled:r,onClick:tt(e.onClick,h),onPointerDown:d=>{e.onPointerDown?.(d),f.current=!0},onPointerUp:tt(e.onPointerUp,d=>{f.current||d.currentTarget?.click()}),onKeyDown:tt(e.onKeyDown,d=>{const m=s.searchRef.current!=="";r||m&&d.key===" "||Bw.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});ly.displayName=h1;var Y$=R.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:n=!1,textValue:a,...i}=e,o=ST(h1,r),s=F$(r),u=R.useRef(null),f=gr(t,u),[h,d]=R.useState(!1),[m,v]=R.useState("");return R.useEffect(()=>{const y=u.current;y&&v((y.textContent??"").trim())},[i.children]),S.jsx(lh.ItemSlot,{scope:r,disabled:n,textValue:a??m,children:S.jsx(fle,{asChild:!0,...s,focusable:!n,children:S.jsx(Wt.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...i,ref:f,onPointerMove:tt(e.onPointerMove,uh(y=>{n?o.onItemLeave(y):(o.onItemEnter(y),y.defaultPrevented||y.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:tt(e.onPointerLeave,uh(y=>o.onItemLeave(y))),onFocus:tt(e.onFocus,()=>d(!0)),onBlur:tt(e.onBlur,()=>d(!1))})})})}),hue="MenuCheckboxItem",W$=R.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:n,...a}=e;return S.jsx(J$,{scope:e.__scopeMenu,checked:r,children:S.jsx(ly,{role:"menuitemcheckbox","aria-checked":p1(r)?"mixed":r,...a,ref:t,"data-state":OT(r),onSelect:tt(a.onSelect,()=>n?.(p1(r)?!0:!r),{checkForDefaultPrevented:!1})})})});W$.displayName=hue;var K$="MenuRadioGroup",[pue,mue]=Ru(K$,{value:void 0,onValueChange:()=>{}}),X$=R.forwardRef((e,t)=>{const{value:r,onValueChange:n,...a}=e,i=Tn(n);return S.jsx(pue,{scope:e.__scopeMenu,value:r,onValueChange:i,children:S.jsx(AT,{...a,ref:t})})});X$.displayName=K$;var Q$="MenuRadioItem",Z$=R.forwardRef((e,t)=>{const{value:r,...n}=e,a=mue(Q$,e.__scopeMenu),i=r===a.value;return S.jsx(J$,{scope:e.__scopeMenu,checked:i,children:S.jsx(ly,{role:"menuitemradio","aria-checked":i,...n,ref:t,"data-state":OT(i),onSelect:tt(n.onSelect,()=>a.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});Z$.displayName=Q$;var CT="MenuItemIndicator",[J$,gue]=Ru(CT,{checked:!1}),eU=R.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:n,...a}=e,i=gue(CT,r);return S.jsx(ma,{present:n||p1(i.checked)||i.checked===!0,children:S.jsx(Wt.span,{...a,ref:t,"data-state":OT(i.checked)})})});eU.displayName=CT;var vue="MenuSeparator",tU=R.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return S.jsx(Wt.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});tU.displayName=vue;var yue="MenuArrow",rU=R.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,a=sy(r);return S.jsx(RF,{...a,...n,ref:t})});rU.displayName=yue;var bue="MenuSub",[ZLe,nU]=Ru(bue),Sd="MenuSubTrigger",aU=R.forwardRef((e,t)=>{const r=Mu(Sd,e.__scopeMenu),n=fp(Sd,e.__scopeMenu),a=nU(Sd,e.__scopeMenu),i=ST(Sd,e.__scopeMenu),o=R.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:u}=i,f={__scopeMenu:e.__scopeMenu},h=R.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return R.useEffect(()=>h,[h]),R.useEffect(()=>{const d=s.current;return()=>{window.clearTimeout(d),u(null)}},[s,u]),S.jsx(_T,{asChild:!0,...f,children:S.jsx(Y$,{id:a.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":a.contentId,"data-state":sU(r.open),...e,ref:Wv(t,a.onTriggerChange),onClick:d=>{e.onClick?.(d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:tt(e.onPointerMove,uh(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!r.open&&!o.current&&(i.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{r.onOpenChange(!0),h()},100))})),onPointerLeave:tt(e.onPointerLeave,uh(d=>{h();const m=r.content?.getBoundingClientRect();if(m){const v=r.content?.dataset.side,y=v==="right",b=y?-5:5,E=m[y?"left":"right"],_=m[y?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+b,y:d.clientY},{x:E,y:m.top},{x:_,y:m.top},{x:_,y:m.bottom},{x:E,y:m.bottom}],side:v}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:tt(e.onKeyDown,d=>{const m=i.searchRef.current!=="";e.disabled||m&&d.key===" "||Jle[n.dir].includes(d.key)&&(r.onOpenChange(!0),r.content?.focus(),d.preventDefault())})})})});aU.displayName=Sd;var iU="MenuSubContent",oU=R.forwardRef((e,t)=>{const r=U$(li,e.__scopeMenu),{forceMount:n=r.forceMount,...a}=e,i=Mu(li,e.__scopeMenu),o=fp(li,e.__scopeMenu),s=nU(iU,e.__scopeMenu),u=R.useRef(null),f=gr(t,u);return S.jsx(lh.Provider,{scope:e.__scopeMenu,children:S.jsx(ma,{present:n||i.open,children:S.jsx(lh.Slot,{scope:e.__scopeMenu,children:S.jsx(TT,{id:s.contentId,"aria-labelledby":s.triggerId,...a,ref:f,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:h=>{o.isUsingKeyboardRef.current&&u.current?.focus(),h.preventDefault()},onCloseAutoFocus:h=>h.preventDefault(),onFocusOutside:tt(e.onFocusOutside,h=>{h.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:tt(e.onEscapeKeyDown,h=>{o.onClose(),h.preventDefault()}),onKeyDown:tt(e.onKeyDown,h=>{const d=h.currentTarget.contains(h.target),m=eue[o.dir].includes(h.key);d&&m&&(i.onOpenChange(!1),s.trigger?.focus(),h.preventDefault())})})})})})});oU.displayName=iU;function sU(e){return e?"open":"closed"}function p1(e){return e==="indeterminate"}function OT(e){return p1(e)?"indeterminate":e?"checked":"unchecked"}function xue(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function Eue(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function _ue(e,t,r){const a=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,i=r?e.indexOf(r):-1;let o=Eue(e,Math.max(i,0));a.length===1&&(o=o.filter(f=>f!==r));const u=o.find(f=>f.toLowerCase().startsWith(a.toLowerCase()));return u!==r?u:void 0}function wue(e,t){const{x:r,y:n}=e;let a=!1;for(let i=0,o=t.length-1;i<t.length;o=i++){const s=t[i],u=t[o],f=s.x,h=s.y,d=u.x,m=u.y;h>n!=m>n&&r<(d-f)*(n-h)/(m-h)+f&&(a=!a)}return a}function Sue(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return wue(r,t)}function uh(e){return t=>t.pointerType==="mouse"?e(t):void 0}var Tue=$$,Aue=_T,Cue=q$,Oue=V$,kue=AT,Nue=G$,Rue=ly,Mue=W$,Pue=X$,Iue=Z$,Due=eU,Lue=tU,jue=rU,Bue=aU,zue=oU,uy="DropdownMenu",[Hue]=ds(uy,[H$]),Kn=H$(),[Fue,lU]=Hue(uy),uU=e=>{const{__scopeDropdownMenu:t,children:r,dir:n,open:a,defaultOpen:i,onOpenChange:o,modal:s=!0}=e,u=Kn(t),f=R.useRef(null),[h,d]=ry({prop:a,defaultProp:i??!1,onChange:o,caller:uy});return S.jsx(Fue,{scope:t,triggerId:cu(),triggerRef:f,contentId:cu(),open:h,onOpenChange:d,onOpenToggle:R.useCallback(()=>d(m=>!m),[d]),modal:s,children:S.jsx(Tue,{...u,open:h,onOpenChange:d,dir:n,modal:s,children:r})})};uU.displayName=uy;var cU="DropdownMenuTrigger",fU=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:n=!1,...a}=e,i=lU(cU,r),o=Kn(r);return S.jsx(Aue,{asChild:!0,...o,children:S.jsx(Wt.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...a,ref:Wv(t,i.triggerRef),onPointerDown:tt(e.onPointerDown,s=>{!n&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:tt(e.onKeyDown,s=>{n||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});fU.displayName=cU;var $ue="DropdownMenuPortal",dU=e=>{const{__scopeDropdownMenu:t,...r}=e,n=Kn(t);return S.jsx(Cue,{...n,...r})};dU.displayName=$ue;var hU="DropdownMenuContent",pU=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=lU(hU,r),i=Kn(r),o=R.useRef(!1);return S.jsx(Oue,{id:a.contentId,"aria-labelledby":a.triggerId,...i,...n,ref:t,onCloseAutoFocus:tt(e.onCloseAutoFocus,s=>{o.current||a.triggerRef.current?.focus(),o.current=!1,s.preventDefault()}),onInteractOutside:tt(e.onInteractOutside,s=>{const u=s.detail.originalEvent,f=u.button===0&&u.ctrlKey===!0,h=u.button===2||f;(!a.modal||h)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});pU.displayName=hU;var Uue="DropdownMenuGroup",que=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(kue,{...a,...n,ref:t})});que.displayName=Uue;var Vue="DropdownMenuLabel",Gue=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(Nue,{...a,...n,ref:t})});Gue.displayName=Vue;var Yue="DropdownMenuItem",mU=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(Rue,{...a,...n,ref:t})});mU.displayName=Yue;var Wue="DropdownMenuCheckboxItem",Kue=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(Mue,{...a,...n,ref:t})});Kue.displayName=Wue;var Xue="DropdownMenuRadioGroup",Que=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(Pue,{...a,...n,ref:t})});Que.displayName=Xue;var Zue="DropdownMenuRadioItem",Jue=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(Iue,{...a,...n,ref:t})});Jue.displayName=Zue;var ece="DropdownMenuItemIndicator",tce=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(Due,{...a,...n,ref:t})});tce.displayName=ece;var rce="DropdownMenuSeparator",nce=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(Lue,{...a,...n,ref:t})});nce.displayName=rce;var ace="DropdownMenuArrow",ice=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(jue,{...a,...n,ref:t})});ice.displayName=ace;var oce="DropdownMenuSubTrigger",sce=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(Bue,{...a,...n,ref:t})});sce.displayName=oce;var lce="DropdownMenuSubContent",uce=R.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,a=Kn(r);return S.jsx(zue,{...a,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});uce.displayName=lce;var cce=uU,fce=fU,dce=dU,hce=pU,pce=mU;function mce({...e}){return S.jsx(cce,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:10","data-slot":"dropdown-menu",...e})}function gce({...e}){return S.jsx(fce,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:25","data-slot":"dropdown-menu-trigger",...e})}function vce({className:e,sideOffset:t=4,...r}){return S.jsx(dce,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:38",children:S.jsx(hce,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:39","data-slot":"dropdown-menu-content",sideOffset:t,className:kt("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...r})})}function yce({className:e,inset:t,variant:r="default",...n}){return S.jsx(pce,{"data-loc":"client/src/components/ui/dropdown-menu.tsx:70","data-slot":"dropdown-menu-item","data-inset":t,"data-variant":r,className:kt("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n})}var cy="Dialog",[gU]=ds(cy),[bce,Pi]=gU(cy),vU=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:i,modal:o=!0}=e,s=R.useRef(null),u=R.useRef(null),[f,h]=ry({prop:n,defaultProp:a??!1,onChange:i,caller:cy});return S.jsx(bce,{scope:t,triggerRef:s,contentRef:u,contentId:cu(),titleId:cu(),descriptionId:cu(),open:f,onOpenChange:h,onOpenToggle:R.useCallback(()=>h(d=>!d),[h]),modal:o,children:r})};vU.displayName=cy;var yU="DialogTrigger",xce=R.forwardRef((e,t)=>
vendor: 4,459 bytes, lines 288-292
288{const{__scopeDialog:r,...n}=e,a=Pi(yU,r),i=gr(t,a.triggerRef);return S.jsx(Wt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":RT(a.open),...n,ref:i,onClick:tt(e.onClick,a.onOpenToggle)})});xce.displayName=yU;var kT="DialogPortal",[Ece,bU]=gU(kT,{forceMount:void 0}),xU=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:a}=e,i=Pi(kT,t);return S.jsx(Ece,{scope:t,forceMount:r,children:R.Children.map(n,o=>S.jsx(ma,{present:r||i.open,children:S.jsx(ty,{asChild:!0,container:a,children:o})}))})};xU.displayName=kT;var m1="DialogOverlay",EU=R.forwardRef((e,t)=>{const r=bU(m1,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,i=Pi(m1,e.__scopeDialog);return i.modal?S.jsx(ma,{present:n||i.open,children:S.jsx(wce,{...a,ref:t})}):null});EU.displayName=m1;var _ce=pf("DialogOverlay.RemoveScroll"),wce=R.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=Pi(m1,r);return S.jsx(ET,{as:_ce,allowPinchZoom:!0,shards:[a.contentRef],children:S.jsx(Wt.div,{"data-state":RT(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),yu="DialogContent",_U=R.forwardRef((e,t)=>{const r=bU(yu,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,i=Pi(yu,e.__scopeDialog);return S.jsx(ma,{present:n||i.open,children:i.modal?S.jsx(Sce,{...a,ref:t}):S.jsx(Tce,{...a,ref:t})})});_U.displayName=yu;var Sce=R.forwardRef((e,t)=>{const r=Pi(yu,e.__scopeDialog),n=R.useRef(null),a=gr(t,r.contentRef,n);return R.useEffect(()=>{const i=n.current;if(i)return R$(i)},[]),S.jsx(wU,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:tt(e.onCloseAutoFocus,i=>{i.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:tt(e.onPointerDownOutside,i=>{const o=i.detail.originalEvent,s=o.button===0&&o.ctrlKey===!0;(o.button===2||s)&&i.preventDefault()}),onFocusOutside:tt(e.onFocusOutside,i=>i.preventDefault())})}),Tce=R.forwardRef((e,t)=>{const r=Pi(yu,e.__scopeDialog),n=R.useRef(!1),a=R.useRef(!1);return S.jsx(wU,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{e.onCloseAutoFocus?.(i),i.defaultPrevented||(n.current||r.triggerRef.current?.focus(),i.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:i=>{e.onInteractOutside?.(i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const o=i.target;r.triggerRef.current?.contains(o)&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&a.current&&i.preventDefault()}})}),wU=R.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:i,...o}=e,s=Pi(yu,r),u=R.useRef(null),f=gr(t,u);return _$(),S.jsxs(S.Fragment,{children:[S.jsx(xT,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:i,children:S.jsx(Kv,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":RT(s.open),...o,ref:f,onDismiss:()=>s.onOpenChange(!1)})}),S.jsxs(S.Fragment,{children:[S.jsx(Ace,{titleId:s.titleId}),S.jsx(Oce,{contentRef:u,descriptionId:s.descriptionId})]})]})}),NT="DialogTitle",SU=R.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=Pi(NT,r);return S.jsx(Wt.h2,{id:a.titleId,...n,ref:t})});SU.displayName=NT;var TU="DialogDescription",AU=R.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=Pi(TU,r);return S.jsx(Wt.p,{id:a.descriptionId,...n,ref:t})});AU.displayName=TU;var CU="DialogClose",OU=R.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,a=Pi(CU,r);return S.jsx(Wt.button,{type:"button",...n,ref:t,onClick:tt(e.onClick,()=>a.onOpenChange(!1))})});OU.displayName=CU;function RT(e){return e?"open":"closed"}var kU="DialogTitleWarning",[JLe,NU]=Fne(kU,{contentName:yu,titleName:NT,docsSlug:"dialog"}),Ace=({titleId:e})=>{const t=NU(kU),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 289 290If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 291 292For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return R.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Cce="DialogDescriptionWarning",Oce=({contentRef:e,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${NU(Cce).contentName}}.`;return R.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null}
292,kce=vU,Nce=xU,Rce=EU,Mce=_U,Pce=SU,Ice=AU,Dce=OU;const Lce=R.createContext({isComposing:()=>!1,setComposing:()=>{},justEndedComposing:()=>!1,markCompositionEnd:()=>{}}),RU=()=>R.useContext(Lce);function Td(e){const t=R.useRef(e);t.current=e;const r=R.useRef(null);return r.current||(r.current=function(...n){return t.current.apply(this,n)}),r.current}function MU(e={}){const{onKeyDown:t,onCompositionStart:r,onCompositionEnd:n}=e,a=R.useRef(!1),i=R.useRef(null),o=R.useRef(null),s=Td(d=>{i.current&&(clearTimeout(i.current),i.current=null),o.current&&(clearTimeout(o.current),o.current=null),a.current=!0,r?.(d)}),u=Td(d=>{i.current=setTimeout(()=>{o.current=setTimeout(()=>{a.current=!1})}),n?.(d)}),f=Td(d=>{if(a.current&&(d.key==="Escape"||d.key==="Enter"&&!d.shiftKey)){d.stopPropagation();return}t?.(d)}),h=Td(()=>a.current);return{onCompositionStart:s,onCompositionEnd:u,onKeyDown:f,isComposing:h}}function lg({className:e,type:t,onKeyDown:r,onCompositionStart:n,onCompositionEnd:a,...i}){const o=RU(),{onCompositionStart:s,onCompositionEnd:u,onKeyDown:f}=MU({onKeyDown:h=>{const d=h.nativeEvent.isComposing||o.justEndedComposing();h.key==="Enter"&&d||r?.(h)},onCompositionStart:h=>{o.setComposing(!0),n?.(h)},onCompositionEnd:h=>{o.markCompositionEnd(),setTimeout(()=>{o.setComposing(!1)},100),a?.(h)}});return S.jsx("input",{"data-loc":"client/src/components/ui/input.tsx:53",type:t,"data-slot":"input",className:kt("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:s,onCompositionEnd:u,onKeyDown:f,...i})}function jce({...e}){return S.jsx(kce,{"data-loc":"client/src/components/ui/sheet.tsx:10","data-slot":"sheet",...e})}function Bce({...e}){return S.jsx(Nce,{"data-loc":"client/src/components/ui/sheet.tsx:28","data-slot":"sheet-portal",...e})}function zce({className:e,...t}){return S.jsx(Rce,{"data-loc":"client/src/components/ui/sheet.tsx:36","data-slot":"sheet-overlay",className:kt("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function Hce({className:e,children:t,side:r="right",...n}){return S.jsxs(Bce,{"data-loc":"client/src/components/ui/sheet.tsx:56",children:[S.jsx(zce,{"data-loc":"client/src/components/ui/sheet.tsx:57"}),S.jsxs(Mce,{"data-loc":"client/src/components/ui/sheet.tsx:58","data-slot":"sheet-content",className:kt("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",r==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",r==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",r==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",r==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...n,children:[t,S.jsxs(Dce,{"data-loc":"client/src/components/ui/sheet.tsx:75",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[S.jsx(Ld,{"data-loc":"client/src/components/ui/sheet.tsx:76",className:"size-4"}),S.jsx("span",{"data-loc":"client/src/components/ui/sheet.tsx:77",className:"sr-only",children:"Close"})]})]})]})}function Fce({className:e,...t}){return S.jsx("div",{"data-loc":"client/src/components/ui/sheet.tsx:86","data-slot":"sheet-header",className:kt("flex flex-col gap-1.5 p-4",e),...t})}function $ce({className:e,...t}){return S.jsx(Pce,{"data-loc":"client/src/components/ui/sheet.tsx:109","data-slot":"sheet-title",className:kt("text-foreground font-semibold",e),...t})}function Uce({className:e,...t}){return S.jsx(Ice,{"data-loc":"client/src/components/ui/sheet.tsx:122","data-slot":"sheet-
292description",className:kt("text-muted-foreground text-sm",e),...t})}function Ca({className:e,...t}){return S.jsx("div",{"data-loc":"client/src/components/ui/skeleton.tsx:5","data-slot":"skeleton",className:kt("bg-accent animate-pulse rounded-md",e),...t})}const s4=768;function PU(){const[e,t]=R.useState(void 0);return R.useEffect(()=>{const r=window.matchMedia(`(max-width: ${s4-1}px)`),n=()=>{t(window.innerWidth<s4)};return r.addEventListener("change",n),t(window.innerWidth<s4),()=>r.removeEventListener("change",n)},[]),!!e}const qce="sidebar_state",Vce=3600*24*7,Gce="16rem",Yce="18rem",Wce="3rem",Kce="b",IU=R.createContext(null);function fy(){const e=R.useContext(IU);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function Xce({defaultOpen:e=!0,open:t,onOpenChange:r,className:n,style:a,children:i,...o}){const s=PU(),[u,f]=R.useState(!1),[h,d]=R.useState(e),m=t??h,v=R.useCallback(_=>{const A=typeof _=="function"?_(m):_;r?r(A):d(A),document.cookie=`${qce}=${A}; path=/; max-age=${Vce}`},[r,m]),y=R.useCallback(()=>s?f(_=>!_):v(_=>!_),[s,v,f]);R.useEffect(()=>{const _=A=>{A.key===Kce&&(A.metaKey||A.ctrlKey)&&(A.preventDefault(),y())};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[y]);const b=m?"expanded":"collapsed",E=R.useMemo(()=>({state:b,open:m,setOpen:v,isMobile:s,openMobile:u,setOpenMobile:f,toggleSidebar:y}),[b,m,v,s,u,f,y]);return S.jsx(IU.Provider,{"data-loc":"client/src/components/ui/sidebar.tsx:129",value:E,children:S.jsx(hT,{"data-loc":"client/src/components/ui/sidebar.tsx:130",delayDuration:0,children:S.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:131","data-slot":"sidebar-wrapper",style:{"--sidebar-width":Gce,"--sidebar-width-icon":Wce,...a},className:kt("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",n),...o,children:i})})})}function Qce({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",disableTransition:n=!1,className:a,children:i,...o}){const{isMobile:s,state:u,openMobile:f,setOpenMobile:h}=fy();return r==="none"?S.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:171","data-slot":"sidebar",className:kt("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",a),...o,children:i}):s?S.jsx(jce,{"data-loc":"client/src/components/ui/sidebar.tsx:186",open:f,onOpenChange:h,...o,children:S.jsxs(Hce,{"data-loc":"client/src/components/ui/sidebar.tsx:187","data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":Yce},side:e,children:[S.jsxs(Fce,{"data-loc":"client/src/components/ui/sidebar.tsx:199",className:"sr-only",children:[S.jsx($ce,{"data-loc":"client/src/components/ui/sidebar.tsx:200",children:"Sidebar"}),S.jsx(Uce,{"data-loc":"client/src/components/ui/sidebar.tsx:201",children:"Displays the mobile sidebar."})]}),S.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:203",className:"flex h-full w-full flex-col",children:i})]})}):S.jsxs("div",{"data-loc":"client/src/components/ui/sidebar.tsx:210",className:"group peer text-sidebar-foreground hidden md:block","data-state":u,"data-collapsible":u==="collapsed"?r:"","data-variant":t,"data-side":e,"data-slot":"sidebar",children:[S.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:219","data-slot":"sidebar-gap",className:kt("relative w-(--sidebar-width) bg-transparent",n?"transition-none":"transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),S.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:233","data-slot":"sidebar-container",className:kt("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) md:flex",n?"transition-none":"transition-[left,right,width] duration-200 ease-linear",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",a),...o,children:S.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:251","data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:i})})]})}function Zce({className:e,onClick:t,...r}){const{toggleSidebar:n}=fy();return S.jsxs(dl,{"data-loc":"client/src/components/ui/sidebar.tsx:271","data-sidebar":"trigger","data-slot":"sidebar-tr
292igger",variant:"ghost",size:"icon",className:kt("size-7",e),onClick:a=>{t?.(a),n()},...r,children:[S.jsx(a$,{"data-loc":"client/src/components/ui/sidebar.tsx:283"}),S.jsx("span",{"data-loc":"client/src/components/ui/sidebar.tsx:284",className:"sr-only",children:"Toggle Sidebar"})]})}function Jce({className:e,...t}){return S.jsx("main",{"data-loc":"client/src/components/ui/sidebar.tsx:316","data-slot":"sidebar-inset",className:kt("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",e),...t})}function efe({className:e,...t}){return S.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:344","data-slot":"sidebar-header","data-sidebar":"header",className:kt("flex flex-col gap-2 p-2",e),...t})}function tfe({className:e,...t}){return S.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:355","data-slot":"sidebar-footer","data-sidebar":"footer",className:kt("flex flex-col gap-2 p-2",e),...t})}function rfe({className:e,...t}){return S.jsx("div",{"data-loc":"client/src/components/ui/sidebar.tsx:380","data-slot":"sidebar-content","data-sidebar":"content",className:kt("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t})}function nfe({className:e,...t}){return S.jsx("ul",{"data-loc":"client/src/components/ui/sidebar.tsx:463","data-slot":"sidebar-menu","data-sidebar":"menu",className:kt("flex w-full min-w-0 flex-col gap-1",e),...t})}function afe({className:e,...t}){return S.jsx("li",{"data-loc":"client/src/components/ui/sidebar.tsx:474","data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:kt("group/menu-item relative",e),...t})}const ife=e$("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function ofe({asChild:e=!1,isActive:t=!1,variant:r="default",size:n="default",tooltip:a,className:i,...o}){const s=e?rF:"button",{isMobile:u,state:f}=fy(),h=S.jsx(s,{"data-loc":"client/src/components/ui/sidebar.tsx:522","data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":n,"data-active":t,className:kt(ife({variant:r,size:n}),i),...o});return a?(typeof a=="string"&&(a={children:a}),S.jsxs(Ioe,{"data-loc":"client/src/components/ui/sidebar.tsx:543",children:[S.jsx(Doe,{"data-loc":"client/src/components/ui/sidebar.tsx:544",asChild:!0,children:h}),S.jsx(Loe,{"data-loc":"client/src/components/ui/sidebar.tsx:545",side:"right",align:"center",hidden:f!=="collapsed"||u,...a})]})):h}function sfe(){return S.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:5",className:"flex min-h-screen bg-background",children:[S.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:7",className:"w-[280px] border-r border-border bg-background p-4 space-y-6",children:[S.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:9",className:"flex items-center gap-3 px-2",children:[S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:10",className:"h-8 w-8 rounded-md"}),S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:11",className:"h-4 w-24"})]}),S.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:15",className:"space-y-2 px-2",children:[S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:16",className:"h-10 w-full rounded-lg"}),S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:17",className:"h-10 w-full rounded-lg"}),S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:18",className:"h-10 w-full rounded-lg"})]}),S.jsx("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:22",className:"absolute bottom-4 left-4 right-4",children:S.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:23",className:"flex items-center gap-3 px-1",children:[S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:24",className:"h-9 w-9 rounded-full"}),S.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:25",className:"flex-1 space-y-2",children:[S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:26",className:"h-3 w-20"}),S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:27",className:"h-2 w-32"})]})]})})]}),S.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:34",className:"flex-1 p-4 space-y-4",children:[S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:36",className:"h-12 w-48 rounded-lg"}),S.jsxs("div",{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:37",className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:[S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:38",className:"h-32 rounded-xl"}),S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:39",className:"h-32 rounded-xl"}),S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:40",className:"h-32 rounded-xl"})]}),S.jsx(Ca,{"data-loc":"client/src/components/DashboardLayoutSkeleton.tsx:42",className:"h-64 roun
292ded-xl"})]})]})}const mN=[{icon:qoe,label:"Panel comercial",path:"/admin"},{icon:n$,label:"Ver landing",path:"/"}],gN="sidebar-width",lfe=280,ufe=200,cfe=480;function ffe({children:e}){const[t,r]=R.useState(()=>{const i=localStorage.getItem(gN);return i?parseInt(i,10):lfe}),{loading:n,user:a}=vT();return R.useEffect(()=>{localStorage.setItem(gN,t.toString())},[t]),n?S.jsx(sfe,{"data-loc":"client/src/components/DashboardLayout.tsx:56"}):a?S.jsx(Xce,{"data-loc":"client/src/components/DashboardLayout.tsx:84",style:{"--sidebar-width":`${t}px`},children:S.jsx(dfe,{"data-loc":"client/src/components/DashboardLayout.tsx:91",setSidebarWidth:r,children:e})}):S.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:61",className:"flex items-center justify-center min-h-screen",children:S.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:62",className:"flex flex-col items-center gap-8 p-8 max-w-md w-full",children:[S.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:63",className:"flex flex-col items-center gap-6",children:[S.jsx("h1",{"data-loc":"client/src/components/DashboardLayout.tsx:64",className:"text-2xl font-semibold tracking-tight text-center",children:"Sign in to continue"}),S.jsx("p",{"data-loc":"client/src/components/DashboardLayout.tsx:67",className:"text-sm text-muted-foreground text-center max-w-sm",children:"Access to this dashboard requires authentication. Continue to launch the login flow."})]}),S.jsx(dl,{"data-loc":"client/src/components/DashboardLayout.tsx:71",onClick:()=>gT(),size:"lg",className:"w-full shadow-lg hover:shadow-xl transition-all",children:"Sign in"})]})})}function dfe({children:e,setSidebarWidth:t}){const{user:r,logout:n}=vT(),[a,i]=p$(),{state:o,toggleSidebar:s}=fy(),u=o==="collapsed",[f,h]=R.useState(!1),d=R.useRef(null),m=mN.find(y=>y.path===a),v=PU();return R.useEffect(()=>{u&&h(!1)},[u]),R.useEffect(()=>{const y=E=>{if(!f)return;const _=d.current?.getBoundingClientRect().left??0,A=E.clientX-_;A>=ufe&&A<=cfe&&t(A)},b=()=>{h(!1)};return f&&(document.addEventListener("mousemove",y),document.addEventListener("mouseup",b),document.body.style.cursor="col-resize",document.body.style.userSelect="none"),()=>{document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b),document.body.style.cursor="",document.body.style.userSelect=""}},[f,t]),S.jsxs(S.Fragment,{children:[S.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:154",className:"relative",ref:d,children:[S.jsxs(Qce,{"data-loc":"client/src/components/DashboardLayout.tsx:155",collapsible:"icon",className:"border-r-0",disableTransition:f,children:[S.jsx(efe,{"data-loc":"client/src/components/DashboardLayout.tsx:160",className:"h-16 justify-center",children:S.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:161",className:"flex items-center gap-3 px-2 transition-all w-full",children:[S.jsx("button",{"data-loc":"client/src/components/DashboardLayout.tsx:162",onClick:s,className:"h-8 w-8 flex items-center justify-center hover:bg-accent rounded-lg transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-ring shrink-0","aria-label":"Toggle navigation",children:S.jsx(a$,{"data-loc":"client/src/components/DashboardLayout.tsx:167",className:"h-4 w-4 text-muted-foreground"})}),u?null:S.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:170",className:"flex items-center gap-2 min-w-0",children:S.jsx("span",{"data-loc":"client/src/components/DashboardLayout.tsx:171",className:"font-semibold tracking-tight truncate",children:"Navigation"})})]})}),S.jsx(rfe,{"data-loc":"client/src/components/DashboardLayout.tsx:179",className:"gap-0",children:S.jsx(nfe,{"data-loc":"client/src/components/DashboardLayout.tsx:180",className:"px-2 py-1",children:mN.map(y=>{const b=a===y.path;return S.jsx(afe,{"data-loc":"client/src/components/DashboardLayout.tsx:184",children:S.jsxs(ofe,{"data-loc":"client/src/components/DashboardLayout.tsx:185",isActive:b,onClick:()=>i(y.path),tooltip:y.label,className:"h-10 transition-all font-normal",children:[S.jsx(y.icon,{"data-loc":"client/src/components/DashboardLayout.t
292sx:191",className:`h-4 w-4 ${b?"text-primary":""}`}),S.jsx("span",{"data-loc":"client/src/components/DashboardLayout.tsx:194",children:y.label})]})},y.path)})})}),S.jsx(tfe,{"data-loc":"client/src/components/DashboardLayout.tsx:202",className:"p-3",children:S.jsxs(mce,{"data-loc":"client/src/components/DashboardLayout.tsx:203",children:[S.jsx(gce,{"data-loc":"client/src/components/DashboardLayout.tsx:204",asChild:!0,children:S.jsxs("button",{"data-loc":"client/src/components/DashboardLayout.tsx:205",className:"flex items-center gap-3 rounded-lg px-1 py-1 hover:bg-accent/50 transition-colors w-full text-left group-data-[collapsible=icon]:justify-center focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[S.jsx(qse,{"data-loc":"client/src/components/DashboardLayout.tsx:206",className:"h-9 w-9 border shrink-0",children:S.jsx(Vse,{"data-loc":"client/src/components/DashboardLayout.tsx:207",className:"text-xs font-medium",children:r?.name?.charAt(0).toUpperCase()})}),S.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:211",className:"flex-1 min-w-0 group-data-[collapsible=icon]:hidden",children:[S.jsx("p",{"data-loc":"client/src/components/DashboardLayout.tsx:212",className:"text-sm font-medium truncate leading-none",children:r?.name||"-"}),S.jsx("p",{"data-loc":"client/src/components/DashboardLayout.tsx:215",className:"text-xs text-muted-foreground truncate mt-1.5",children:r?.email||"-"})]})]})}),S.jsx(vce,{"data-loc":"client/src/components/DashboardLayout.tsx:221",align:"end",className:"w-48",children:S.jsxs(yce,{"data-loc":"client/src/components/DashboardLayout.tsx:222",onClick:n,className:"cursor-pointer text-destructive focus:text-destructive",children:[S.jsx(Joe,{"data-loc":"client/src/components/DashboardLayout.tsx:226",className:"mr-2 h-4 w-4"}),S.jsx("span",{"data-loc":"client/src/components/DashboardLayout.tsx:227",children:"Sign out"})]})})]})})]}),S.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:233",className:`absolute top-0 right-0 w-1 h-full cursor-col-resize hover:bg-primary/20 transition-colors ${u?"hidden":""}`,onMouseDown:()=>{u||h(!0)},style:{zIndex:50}})]}),S.jsxs(Jce,{"data-loc":"client/src/components/DashboardLayout.tsx:243",children:[v&&S.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:245",className:"flex border-b h-14 items-center justify-between bg-background/95 px-2 backdrop-blur supports-[backdrop-filter]:backdrop-blur sticky top-0 z-40",children:S.jsxs("div",{"data-loc":"client/src/components/DashboardLayout.tsx:246",className:"flex items-center gap-2",children:[S.jsx(Zce,{"data-loc":"client/src/components/DashboardLayout.tsx:247",className:"h-9 w-9 rounded-lg bg-background"}),S.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:248",className:"flex items-center gap-3",children:S.jsx("div",{"data-loc":"client/src/components/DashboardLayout.tsx:249",className:"flex flex-col gap-1",children:S.jsx("span",{"data-loc":"client/src/components/DashboardLayout.tsx:250",className:"tracking-tight text-foreground",children:m?.label??"Menu"})})})]})}),S.jsx("main",{"data-loc":"client/src/components/DashboardLayout.tsx:258",className:"flex-1 p-4",children:e})]})]})}var l4,vN;function ga(){if(vN)return l4;vN=1;var e=Array.isArray;return l4=e,l4}var u4,yN;function DU(){if(yN)return u4;yN=1;var e=typeof Ym=="object"&&Ym&&Ym.Object===Object&&Ym;return u4=e,u4}var c4,bN;function po(){if(bN)return c4;bN=1;var e=DU(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return c4=r,c4}var f4,xN;function dp(){if(xN)return f4;xN=1;var e=po(),t=e.Symbol;return f4=t,f4}var d4,EN;function hfe(){if(EN)return d4;EN=1;var e=dp(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,a=e?e.toStringTag:void 0;function i(o){var s=r.call(o,a),u=o[a];try{o[a]=void 0;var f=!0}catch{}var h=n.call(o);return f&&(s?o[a]=u:delete o[a]),h}return d4=i,d4}var h4,_N;function pfe(){if(_N)return h4;_N=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return h4=r,h4}var p4,wN;function hs(){if(wN)return p4;wN=1;
vendor: 5,960 bytes, line 292
292var e=dp(),t=hfe(),r=pfe(),n="[object Null]",a="[object Undefined]",i=e?e.toStringTag:void 0;function o(s){return s==null?s===void 0?a:n:i&&i in Object(s)?t(s):r(s)}return p4=o,p4}var m4,SN;function ps(){if(SN)return m4;SN=1;function e(t){return t!=null&&typeof t=="object"}return m4=e,m4}var g4,TN;function Kf(){if(TN)return g4;TN=1;var e=hs(),t=ps(),r="[object Symbol]";function n(a){return typeof a=="symbol"||t(a)&&e(a)==r}return g4=n,g4}var v4,AN;function MT(){if(AN)return v4;AN=1;var e=ga(),t=Kf(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function a(i,o){if(e(i))return!1;var s=typeof i;return s=="number"||s=="symbol"||s=="boolean"||i==null||t(i)?!0:n.test(i)||!r.test(i)||o!=null&&i in Object(o)}return v4=a,v4}var y4,CN;function yl(){if(CN)return y4;CN=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return y4=e,y4}var b4,ON;function PT(){if(ON)return b4;ON=1;var e=hs(),t=yl(),r="[object AsyncFunction]",n="[object Function]",a="[object GeneratorFunction]",i="[object Proxy]";function o(s){if(!t(s))return!1;var u=e(s);return u==n||u==a||u==r||u==i}return b4=o,b4}var x4,kN;function mfe(){if(kN)return x4;kN=1;var e=po(),t=e["__core-js_shared__"];return x4=t,x4}var E4,NN;function gfe(){if(NN)return E4;NN=1;var e=mfe(),t=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!t&&t in n}return E4=r,E4}var _4,RN;function LU(){if(RN)return _4;RN=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return _4=r,_4}var w4,MN;function vfe(){if(MN)return w4;MN=1;var e=PT(),t=gfe(),r=yl(),n=LU(),a=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,o=Function.prototype,s=Object.prototype,u=o.toString,f=s.hasOwnProperty,h=RegExp("^"+u.call(f).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(m){if(!r(m)||t(m))return!1;var v=e(m)?h:i;return v.test(n(m))}return w4=d,w4}var S4,PN;function yfe(){if(PN)return S4;PN=1;function e(t,r){return t?.[r]}return S4=e,S4}var T4,IN;function Pu(){if(IN)return T4;IN=1;var e=vfe(),t=yfe();function r(n,a){var i=t(n,a);return e(i)?i:void 0}return T4=r,T4}var A4,DN;function dy(){if(DN)return A4;DN=1;var e=Pu(),t=e(Object,"create");return A4=t,A4}var C4,LN;function bfe(){if(LN)return C4;LN=1;var e=dy();function t(){this.__data__=e?e(null):{},this.size=0}return C4=t,C4}var O4,jN;function xfe(){if(jN)return O4;jN=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return O4=e,O4}var k4,BN;function Efe(){if(BN)return k4;BN=1;var e=dy(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function a(i){var o=this.__data__;if(e){var s=o[i];return s===t?void 0:s}return n.call(o,i)?o[i]:void 0}return k4=a,k4}var N4,zN;function _fe(){if(zN)return N4;zN=1;var e=dy(),t=Object.prototype,r=t.hasOwnProperty;function n(a){var i=this.__data__;return e?i[a]!==void 0:r.call(i,a)}return N4=n,N4}var R4,HN;function wfe(){if(HN)return R4;HN=1;var e=dy(),t="__lodash_hash_undefined__";function r(n,a){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&a===void 0?t:a,this}return R4=r,R4}var M4,FN;function Sfe(){if(FN)return M4;FN=1;var e=bfe(),t=xfe(),r=Efe(),n=_fe(),a=wfe();function i(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var f=o[s];this.set(f[0],f[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,M4=i,M4}var P4,$N;function Tfe(){if($N)return P4;$N=1;function e(){this.__data__=[],this.size=0}return P4=e,P4}var I4,UN;function IT(){if(UN)return I4;UN=1;function e(t,r){return t===r||t!==t&&r!==r}return I4=e,I4}var D4,qN;function hy(){if(qN)return D4;qN=1;var e=IT();function t(r,n){for(var a=r.length;a--;)if(e(r[a][0],n))return a;return-1}return D4=t,D4}var L4,VN;function Afe(){if(VN)return L4;VN=1;var e=hy(),t=Array.prototype,r=t.splice;function n(a){var i=this.__data__,o=e(i,a);if(o<0)return!1;var s=i.length-1;return o==s?i.pop():r.call(i,o,1),--this.size,!0}return L4=n,L4}var j4,GN;function Cfe(){if(GN)return j4;GN=1;var e=hy();function t(r){var n=this.__data__,a=e(n,r);return a<0?void 0:n[a][1]}return j4=t,j4}var B4,YN;function Ofe(){if(YN)return B4;YN=1;var e=hy();function t(r){return e(this.__data__,r)>-1}return B4=t,B4}var z4,WN;function kfe(){if(WN)return z4;WN=1;var e=hy();function t(r,n){var a=this.__data__,i=e(a,r);return i<0?(++this.size,a.push([r,n])):a[i][1]=n,this}return z4=t,z4}var H4,KN;function py(){if(KN)return H4;KN=1;var e=Tfe(),t=Afe(),r=Cfe(),n=Ofe(),a=kfe();function i(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var f=o[s];this.set(f[0],f[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,H4=i,H4}var F4,XN;function DT(){if(XN)return F4;XN=1;var e=Pu(),t=po(),r=e(t,"Map");return F4=r,F4}var $4,QN;function Nfe(){if(QN)return $4;QN=1;var e=Sfe(),t=py(),r=DT();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return $4=n,$4}var U4,ZN;function Rfe(){if(ZN)return U4;ZN=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return U4=e,U4}var q4,JN;function my(){if(JN)return q4;JN=1;var e=Rfe();function t(r,n){var a=r.__data__;return e(n)?a[typeof n=="string"?"string":"hash"]:a.map}return q4=t,q4}var V4,eR;function Mfe(){if(eR)return V4;eR=1;var e=my();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return V4=t,V4}var G4,tR;function Pfe(){if(tR)return G4;tR=1;var e=my();function t(r){return e(this,r).get(r)}return G4=t,G4}var Y4,rR;function Ife(){if(rR)return Y4;rR=1;var e=my();function t(r){return e(this,r).has(r)}return Y4=t,Y4}var W4,nR;function Dfe(){if(nR)return W4;nR=1;var e=my();function t(r,n){var a=e(this,r),i=a.size;return a.set(r,n),this.size+=a.size==i?0:1,this}return W4=t,W4}var K4,aR;
vendor: 8,225 bytes, lines 292-300
292function LT(){if(aR)return K4;aR=1;var e=Nfe(),t=Mfe(),r=Pfe(),n=Ife(),a=Dfe();function i(o){var s=-1,u=o==null?0:o.length;for(this.clear();++s<u;){var f=o[s];this.set(f[0],f[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=a,K4=i,K4}var X4,iR;function jU(){if(iR)return X4;iR=1;var e=LT(),t="Expected a function";function r(n,a){if(typeof n!="function"||a!=null&&typeof a!="function")throw new TypeError(t);var i=function(){var o=arguments,s=a?a.apply(this,o):o[0],u=i.cache;if(u.has(s))return u.get(s);var f=n.apply(this,o);return i.cache=u.set(s,f)||u,f};return i.cache=new(r.Cache||e),i}return r.Cache=e,X4=r,X4}var Q4,oR;function Lfe(){if(oR)return Q4;oR=1;var e=jU(),t=500;function r(n){var a=e(n,function(o){return i.size===t&&i.clear(),o}),i=a.cache;return a}return Q4=r,Q4}var Z4,sR;function jfe(){if(sR)return Z4;sR=1;var e=Lfe(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(a){var i=[];return a.charCodeAt(0)===46&&i.push(""),a.replace(t,function(o,s,u,f){i.push(u?f.replace(r,"$1"):s||o)}),i});return Z4=n,Z4}var J4,lR;function jT(){if(lR)return J4;lR=1;function e(t,r){for(var n=-1,a=t==null?0:t.length,i=Array(a);++n<a;)i[n]=r(t[n],n,t);return i}return J4=e,J4}var e3,uR;function Bfe(){if(uR)return e3;uR=1;var e=dp(),t=jT(),r=ga(),n=Kf(),a=e?e.prototype:void 0,i=a?a.toString:void 0;function o(s){if(typeof s=="string")return s;if(r(s))return t(s,o)+"";if(n(s))return i?i.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}return e3=o,e3}var t3,cR;function BU(){if(cR)return t3;cR=1;var e=Bfe();function t(r){return r==null?"":e(r)}return t3=t,t3}var r3,fR;function zU(){if(fR)return r3;fR=1;var e=ga(),t=MT(),r=jfe(),n=BU();function a(i,o){return e(i)?i:t(i,o)?[i]:r(n(i))}return r3=a,r3}var n3,dR;function gy(){if(dR)return n3;dR=1;var e=Kf();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return n3=t,n3}var a3,hR;function BT(){if(hR)return a3;hR=1;var e=zU(),t=gy();function r(n,a){a=e(a,n);for(var i=0,o=a.length;n!=null&&i<o;)n=n[t(a[i++])];return i&&i==o?n:void 0}return a3=r,a3}var i3,pR;function HU(){if(pR)return i3;pR=1;var e=BT();function t(r,n,a){var i=r==null?void 0:e(r,n);return i===void 0?a:i}return i3=t,i3}var zfe=HU();const ui=Yt(zfe);var o3,mR;function Hfe(){if(mR)return o3;mR=1;function e(t){return t==null}return o3=e,o3}var Ffe=Hfe();const Ut=Yt(Ffe);var s3,gR;function $fe(){if(gR)return s3;gR=1;var e=hs(),t=ga(),r=ps(),n="[object String]";function a(i){return typeof i=="string"||!t(i)&&r(i)&&e(i)==n}return s3=a,s3}var Ufe=$fe();const bu=Yt(Ufe);var qfe=PT();const yt=Yt(qfe);var Vfe=yl();const Xf=Yt(Vfe);var l3={exports:{}},Vt={};/** 293 * @license React 294 * react-is.production.min.js 295 * 296 * Copyright (c) Facebook, Inc. and its affiliates. 297 * 298 * This source code is licensed under the MIT license found in the 299 * LICENSE file in the root directory of this source tree. 300 */var vR;function Gfe(){if(vR)return Vt;vR=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function b(E){if(typeof E=="object"&&E!==null){var _=E.$$typeof;switch(_){case e:switch(E=E.type,E){case r:case a:case n:case f:case h:return E;default:switch(E=E&&E.$$typeof,E){case s:case o:case u:case m:case d:case i:return E;default:return _}}case t:return _}}}return Vt.ContextConsumer=o,Vt.ContextProvider=i,Vt.Element=e,Vt.ForwardRef=u,Vt.Fragment=r,Vt.Lazy=m,Vt.Memo=d,Vt.Portal=t,Vt.Profiler=a,Vt.StrictMode=n,Vt.Suspense=f,Vt.SuspenseList=h,Vt.isAsyncMode=function(){return!1},Vt.isConcurrentMode=function(){return!1},Vt.isContextConsumer=function(E){return b(E)===o},Vt.isContextProvider=function(E){return b(E)===i},Vt.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},Vt.isForwardRef=function(E){return b(E)===u},Vt.isFragment=function(E){return b(E)===r},Vt.isLazy=function(E){return b(E)===m},Vt.isMemo=function(E){return b(E)===d},Vt.isPortal=function(E){return b(E)===t},Vt.isProfiler=function(E){return b(E)===a},Vt.isStrictMode=function(E){return b(E)===n},Vt.isSuspense=function(E){return b(E)===f},Vt.isSuspenseList=function(E){return b(E)===h},Vt.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===a||E===n||E===f||E===h||E===v||typeof E=="object"&&E!==null&&(E.$$typeof===m||E.$$typeof===d||E.$$typeof===i||E.$$typeof===o||E.$$typeof===u||E.$$typeof===y||E.getModuleId!==void 0)},Vt.typeOf=b,Vt}var yR;function Yfe(){return yR||(yR=1,l3.exports=Gfe()),l3.exports}var Wfe=Yfe(),u3,bR;function FU(){if(bR)return u3;bR=1;var e=hs(),t=ps(),r="[object Number]";function n(a){return typeof a=="number"||t(a)&&e(a)==r}return u3=n,u3}var c3,xR;function Kfe(){if(xR)return c3;xR=1;var e=FU();function t(r){return e(r)&&r!=+r}return c3=t,c3}var Xfe=Kfe();const hp=Yt(Xfe);var Qfe=FU();const Zfe=Yt(Qfe);var Ci=function(t){return t===0?0:t>0?1:-1},au=function(t){return bu(t)&&t.indexOf("%")===t.length-1},ze=function(t){return Zfe(t)&&!hp(t)},Jfe=function(t){return Ut(t)},rn=function(t){return ze(t)||bu(t)},e0e=0,vy=function(t){var r=++e0e;return"".concat(t||"").concat(r)},xu=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!ze(t)&&!bu(t))return n;var i;if(au(t)){var o=t.indexOf("%");i=r*parseFloat(t.slice(0,o))/100}else i=+t;return hp(i)&&(i=n),a&&i>r&&(i=r),i},el=function(t){if(!t)return null;var r=Object.keys(t);return r&&r.length?t[r[0]]:null},t0e=function(t){if(!Array.isArray(t))return!1;for(var r=t.length,n={},a=0;a<r;a++)if(!n[t[a]])n[t[a]]=!0;else return!0;return!1},Lc=function(t,r){return ze(t)&&ze(r)?function(n){return t+n*(r-t)}:function(){return r}};function zw(e,t,r){return!e||!e.length?null:e.find(function(n){return n&&(typeof t=="function"?t(n):ui(n,t))===r})}var r0e=function(t,r){return ze(t)&&ze(r)?t-r:bu(t)&&bu(r)?t.localeCompare(r):t instanceof Date&&r instanceof Date?t.getTime()-r.getTime():String(t).localeCompare(String(r))};function nf(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function Hw(e){"@babel/helpers - typeof";return Hw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hw(e)}var n0e=["viewBox","children"],a0e=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRen
300dering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],ER=["points","pathLength"],f3={svg:n0e,polygon:ER,polyline:ER},zT=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDrag
300Capture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],g1=function(t,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var n=t;if(R.isValidElement(t)&&(n=t.props),!Xf(n))return null;var a={};return Object.keys(n).forEach(function(i){zT.includes(i)&&(a[i]=r||function(o){return n[i](n,o)})}),a},i0e=function(t,r,n){return function(a){return t(r,n,a),null}},v1=function(t,r,n){if(!Xf(t)||Hw(t)!=="object")return null;var a=null;return Object.keys(t).forEach(function(i){var o=t[i];zT.includes(i)&&typeof o=="function"&&(a||(a={}),a[i]=i0e(o,r,n))}),a},o0e=["children"],s0e=["children"];function _R(e,t){if(e==null)return{};var r=l0e(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l0e(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var wR={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},Qo=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},SR=null,d3=null,HT=function e(t){if(t===SR&&Array.isArray(d3))return d3;var r=[];return R.Children.forEach(t,function(n){Ut(n)||(Wfe.isFragment(n)?r=r.concat(e(n.props.children)):r.push(n))}),d3=r,SR=t,r};function Oi(e,t){var r=[],n=[];return Array.isArray(t)?n=t.map(function(a){return Qo(a)}):n=[Qo(t)],HT(e).forEach(function(a){var i=ui(a,"type.displayName")||ui(a,"type.n
300ame");n.indexOf(i)!==-1&&r.push(a)}),r}function Ra(e,t){var r=Oi(e,t);return r&&r[0]}var TR=function(t){if(!t||!t.props)return!1;var r=t.props,n=r.width,a=r.height;return!(!ze(n)||n<=0||!ze(a)||a<=0)},u0e=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],c0e=function(t){return t&&t.type&&bu(t.type)&&u0e.indexOf(t.type)>=0},f0e=function(t,r,n,a){var i,o=(i=f3?.[a])!==null&&i!==void 0?i:[];return r.startsWith("data-")||!yt(t)&&(a&&o.includes(r)||a0e.includes(r))||n&&zT.includes(r)},$t=function(t,r,n){if(!t||typeof t=="function"||typeof t=="boolean")return null;var a=t;if(R.isValidElement(t)&&(a=t.props),!Xf(a))return null;var i={};return Object.keys(a).forEach(function(o){var s;f0e((s=a)===null||s===void 0?void 0:s[o],o,r,n)&&(i[o]=a[o])}),i},Fw=function e(t,r){if(t===r)return!0;var n=R.Children.count(t);if(n!==R.Children.count(r))return!1;if(n===0)return!0;if(n===1)return AR(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var a=0;a<n;a++){var i=t[a],o=r[a];if(Array.isArray(i)||Array.isArray(o)){if(!e(i,o))return!1}else if(!AR(i,o))return!1}return!0},AR=function(t,r){if(Ut(t)&&Ut(r))return!0;if(!Ut(t)&&!Ut(r)){var n=t.props||{},a=n.children,i=_R(n,o0e),o=r.props||{},s=o.children,u=_R(o,s0e);return a&&s?nf(i,u)&&Fw(a,s):!a&&!s?nf(i,u):!1}return!1},CR=function(t,r){var n=[],a={};return HT(t).forEach(function(i,o){if(c0e(i))n.push(i);else if(i){var s=Qo(i.type),u=r[s]||{},f=u.handler,h=u.once;if(f&&(!h||!a[s])){var d=f(i,s,o);n.push(d),a[s]=!0}}}),n},d0e=function(t){var r=t&&t.type;return r&&wR[r]?wR[r]:null},h0e=function(t,r){return HT(r).indexOf(t)},p0e=["children","width","height","viewBox","className","style","title","desc"];function $w(){return $w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$w.apply(this,arguments)}function m0e(e,t){if(e==null)return{};var r=g0e(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function g0e(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Uw(e){var t=e.children,r=e.width,n=e.height,a=e.viewBox,i=e.className,o=e.style,s=e.title,u=e.desc,f=m0e(e,p0e),h=a||{width:r,height:n,x:0,y:0},d=Nt("recharts-surface",i);return re.createElement("svg",$w({},$t(f,!0,"svg"),{className:d,width:r,height:n,style:o,viewBox:"".concat(h.x," ").concat(h.y," ").concat(h.width," ").concat(h.height)}),re.createElement("title",null,s),re.createElement("desc",null,u),t)}var v0e=["children","className"];function qw(){return qw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qw.apply(this,arguments)}function y0e(e,t){if(e==null)return{};var r=b0e(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function b0e(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var hn=re.forwardRef(function(e,t){var r=e.children,n=e.className,a=y0e(e,v0e),i=Nt("recharts-layer",n);return re.createElement("g",qw({className:i},$t(a,!0),{ref:t}),r)}),Zo=function(t,r){for(var n=arguments.length,a=new Array(n>2?n-2:0),i=2;i<n;i++)a[i-2]=arguments[i]},h3,OR;function x0e(){if(OR)return h3;OR=1;function e(t,r,n){var a=-1,i=t.length;r<0&&(r=-r>i?0:i+r),n=n>i?i:n,n<0&&(n+=i),i=r>n?0:n-r>>>0,r>>>=0;for(var o=Array(i);++a<i;)o[a]=t[a+r];return o}return h3=e,h3}var p3,kR;function E0e(){if(kR)return p3;kR=1;var e=x0e();function t(r,n,a){var i=r.length;return a=a===void 0?i:a,!n&&a>=i?r:e(r,n,a)}return p3=t,p3}var m3,NR;function $U(){if(NR)return m3;NR=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=t+r+n,i="\\ufe0e\\ufe0f",o="\\u200d",s=RegExp("["+o+e+a+i+"]");function u(f){return s.test(f)}return m3=u,m3}var g3,RR;function _0e(){if(RR)return g3;RR=1;function e(t){return t.split("")}return g3=e,g3}var v3,MR;function w0e(){if(MR)return v3;MR=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",a=t+r+n,i="\\ufe0e\\ufe0f",o="["+e+"]",s="["+a+"]",u="\\ud83c[\\udffb-\\udfff]",f="(?:"+s+"|"+u+")",h="[^"+e+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",v="\\u200d",y=f+"?",b="["+i+"]?",E="(?:"+v+"(?:"+[h,d,m].join("|")+")"+b+y+")*",_=b+y+E,A="(?:"+[h+s+"?",s,d,m,o].join("|")+")",C=RegExp(u+"(?="+u+")|"+A+_,"g");function P(O){return O.match(C)||[]}return v3=P,v3}var y3,PR;function S0e(){if(PR)return y3;PR=1;var e=_0e(),t=$U(),r=w0e();function n(a){return t(a)?r(a):e(a)}return y3=n,y3}var b3,IR;function T0e(){if(IR)return b3;IR=1;var e=E0e(),t=$U(),r=S0e(),n=BU();function a(i){return function(o){o=n(o);var s=t(o)?r(o):void 0,u=s?s[0]:o.charAt(0),f=s?e(s,1).join(""):o.slice(1);return u[i]()+f}}return b3=a,b3}var x3,DR;function A0e(){if(DR)return x3;DR=1;var e=T0e(),t=e("toUpperCase");return x3=t,x3}var C0e=A0e();const yy=Yt(C0e);function cr(e){return function(){return e}}const eje=Math.abs,tje=Math.atan2,UU=Math.cos,rje=Math.max,nje=Math.min,y1=Math.sin,Ii=Math.sqrt,aje=1e-12,vf=Math.PI,LR=vf/2,by=2*vf;function ije(e){return e>1?0:e<-1?vf:Math.acos(e)}function oje(e){return e>=1?LR:e<=-1?-LR:Math.asin(e)}const Vw=Math.PI,Gw=2*Vw,Zl=1e-6,O0e=Gw-Zl;function qU(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}function k0e(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return qU;const r=10**t;return function(n){this._+=n[0];for(let a=1,i=n.length;a<i;++a)this._+=Math.round(arguments[a]*r)/r+n[a]}}class N0e{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?qU:k0e(t)}moveTo(t,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,r){this._append`L${this._x1=+t},${this._y1=+r}`}quadraticCurveTo(t,r,n,a){this._append`Q${+t},${+r},${this._x1=+n},${this._y1=+a}`}bezierCurveTo(t,r,n,a,i,o){this._append`C${+t},${+r},${+n}
300,${+a},${this._x1=+i},${this._y1=+o}`}arcTo(t,r,n,a,i){if(t=+t,r=+r,n=+n,a=+a,i=+i,i<0)throw new Error(`negative radius: ${i}`);let o=this._x1,s=this._y1,u=n-t,f=a-r,h=o-t,d=s-r,m=h*h+d*d;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(m>Zl)if(!(Math.abs(d*u-f*h)>Zl)||!i)this._append`L${this._x1=t},${this._y1=r}`;else{let v=n-o,y=a-s,b=u*u+f*f,E=v*v+y*y,_=Math.sqrt(b),A=Math.sqrt(m),C=i*Math.tan((Vw-Math.acos((b+m-E)/(2*_*A)))/2),P=C/A,O=C/_;Math.abs(P-1)>Zl&&this._append`L${t+P*h},${r+P*d}`,this._append`A${i},${i},0,0,${+(d*v>h*y)},${this._x1=t+O*u},${this._y1=r+O*f}`}}arc(t,r,n,a,i,o){if(t=+t,r=+r,n=+n,o=!!o,n<0)throw new Error(`negative radius: ${n}`);let s=n*Math.cos(a),u=n*Math.sin(a),f=t+s,h=r+u,d=1^o,m=o?a-i:i-a;this._x1===null?this._append`M${f},${h}`:(Math.abs(this._x1-f)>Zl||Math.abs(this._y1-h)>Zl)&&this._append`L${f},${h}`,n&&(m<0&&(m=m%Gw+Gw),m>O0e?this._append`A${n},${n},0,1,${d},${t-s},${r-u}A${n},${n},0,1,${d},${this._x1=f},${this._y1=h}`:m>Zl&&this._append`A${n},${n},0,${+(m>=Vw)},${d},${this._x1=t+n*Math.cos(i)},${this._y1=r+n*Math.sin(i)}`)}rect(t,r,n,a){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+r}h${n=+n}v${+a}h${-n}Z`}toString(){return this._}}function FT(e){let t=3;return e.digits=function(r){if(!arguments.length)return t;if(r==null)t=null;else{const n=Math.floor(r);if(!(n>=0))throw new RangeError(`invalid digits: ${r}`);t=n}return e},()=>new N0e(t)}function $T(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function VU(e){this._context=e}VU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function xy(e){return new VU(e)}function GU(e){return e[0]}function YU(e){return e[1]}function WU(e,t){var r=cr(!0),n=null,a=xy,i=null,o=FT(s);e=typeof e=="function"?e:e===void 0?GU:cr(e),t=typeof t=="function"?t:t===void 0?YU:cr(t);function s(u){var f,h=(u=$T(u)).length,d,m=!1,v;for(n==null&&(i=a(v=o())),f=0;f<=h;++f)!(f<h&&r(d=u[f],f,u))===m&&((m=!m)?i.lineStart():i.lineEnd()),m&&i.point(+e(d,f,u),+t(d,f,u));if(v)return i=null,v+""||null}return s.x=function(u){return arguments.length?(e=typeof u=="function"?u:cr(+u),s):e},s.y=function(u){return arguments.length?(t=typeof u=="function"?u:cr(+u),s):t},s.defined=function(u){return arguments.length?(r=typeof u=="function"?u:cr(!!u),s):r},s.curve=function(u){return arguments.length?(a=u,n!=null&&(i=a(n)),s):a},s.context=function(u){return arguments.length?(u==null?n=i=null:i=a(n=u),s):n},s}function ug(e,t,r){var n=null,a=cr(!0),i=null,o=xy,s=null,u=FT(f);e=typeof e=="function"?e:e===void 0?GU:cr(+e),t=typeof t=="function"?t:cr(t===void 0?0:+t),r=typeof r=="function"?r:r===void 0?YU:cr(+r);function f(d){var m,v,y,b=(d=$T(d)).length,E,_=!1,A,C=new Array(b),P=new Array(b);for(i==null&&(s=o(A=u())),m=0;m<=b;++m){if(!(m<b&&a(E=d[m],m,d))===_)if(_=!_)v=m,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),y=m-1;y>=v;--y)s.point(C[y],P[y]);s.lineEnd(),s.areaEnd()}_&&(C[m]=+e(E,m,d),P[m]=+t(E,m,d),s.point(n?+n(E,m,d):C[m],r?+r(E,m,d):P[m]))}if(A)return s=null,A+""||null}function h(){return WU().defined(a).curve(o).context(i)}return f.x=function(d){return arguments.length?(e=typeof d=="function"?d:cr(+d),n=null,f):e},f.x0=function(d){return arguments.length?(e=typeof d=="function"?d:cr(+d),f):e},f.x1=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:cr(+d),f):n},f.y=function(d){return arguments.length?(t=typeof d=="function"?d:cr(+d),r=null,f):t},f.y0=function(d){return arguments.length?(t=typeof d=="function"?d:cr(+d),f):t},f.y1=function(d){return arguments.length?(r=d==null?null:typeof d=="function"?d:cr(+d),f):r},f.lineX0=f.lineY0=function(){return h().x(e).y(t)},f.lineY1=function(){return h().x(e).y(r)},f.lineX1=function(){return h().x(n).y(t)},f.defined=function(d){return arguments.length?(a=typeof d=="function"?d:cr(!!d),f):a},f.curve=function(d){return arguments.length?(o=d,i!=null&&(s=o(i)),f):o},f.context=function(d){return arguments.length?(d==null?i=s=null:s=o(i=d),f):i},f}class KU{constructor(t,r){this._context=t,this._x=r}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,r){switch(t=+t,r=+r,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,r):this._context.moveTo(t,r);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,r,t,r):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+r)/2,t,this._y0,t,r);break}}this._x0=t,this._y0=r}}function R0e(e){return new KU(e,!0)}function M0e(e){return new KU(e,!1)}const UT={draw(e,t){const r=Ii(t/vf);e.moveTo(r,0),e.arc(0,0,r,0,by)}},P0e={draw(e,t){const r=Ii(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},XU=Ii(1/3),I0e=XU*2,D0e={draw(e,t){const r=Ii(t/I0e),n=r*XU;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},L0e={draw(e,t){const r=Ii(t),n=-r/2;e.rect(n,n,r,r)}},j0e=.8908130915292852,QU=y1(vf/10)/y1(7*vf/10),B0e=y1(by/10)*QU,z0e=-UU(by/10)*QU,H0e={draw(e,t){const r=Ii(t*j0e),n=B0e*r,a=z0e*r;e.moveTo(0,-r),e.lineTo(n,a);for(let i=1;i<5;++i){const o=by*i/5,s=UU(o),u=y1(o);e.lineTo(u*r,-s*r),e.lineTo(s*n-u*a,u*n+s*a)}e.closePath()}},E3=Ii(3),F0e={draw(e,t){const r=-Ii(t/(E3*3));e.moveTo(0,r*2),e.lineTo(-E3*r,-r),e.lineTo(E3*r,-r),e.closePath()}},Xa=-.5,Qa=Ii(3)/2,Yw=1/Ii(12),$0e=(Yw/2+1)*3,U0e={draw(e,t){const r=Ii(t/$0e),n=r/2,a=r*Yw,i=n,o=r*Yw+r,s=-i,u=o;e.moveTo(n,a),e.lineTo(i,o),e.lineTo(s,u),e.lineTo(Xa*n-Qa*a,Qa*n+Xa*a),e.lineTo(Xa*i-Qa*o,Qa*i+Xa
vendor: 6,914 bytes, line 300
300*o),e.lineTo(Xa*s-Qa*u,Qa*s+Xa*u),e.lineTo(Xa*n+Qa*a,Xa*a-Qa*n),e.lineTo(Xa*i+Qa*o,Xa*o-Qa*i),e.lineTo(Xa*s+Qa*u,Xa*u-Qa*s),e.closePath()}};function q0e(e,t){let r=null,n=FT(a);e=typeof e=="function"?e:cr(e||UT),t=typeof t=="function"?t:cr(t===void 0?64:+t);function a(){let i;if(r||(r=i=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return a.type=function(i){return arguments.length?(e=typeof i=="function"?i:cr(i),a):e},a.size=function(i){return arguments.length?(t=typeof i=="function"?i:cr(+i),a):t},a.context=function(i){return arguments.length?(r=i??null,a):r},a}function b1(){}function x1(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function ZU(e){this._context=e}ZU.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:x1(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:x1(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function V0e(e){return new ZU(e)}function JU(e){this._context=e}JU.prototype={areaStart:b1,areaEnd:b1,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:x1(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function G0e(e){return new JU(e)}function eq(e){this._context=e}eq.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:x1(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Y0e(e){return new eq(e)}function tq(e){this._context=e}tq.prototype={areaStart:b1,areaEnd:b1,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function W0e(e){return new tq(e)}function jR(e){return e<0?-1:1}function BR(e,t,r){var n=e._x1-e._x0,a=t-e._x1,i=(e._y1-e._y0)/(n||a<0&&-0),o=(r-e._y1)/(a||n<0&&-0),s=(i*a+o*n)/(n+a);return(jR(i)+jR(o))*Math.min(Math.abs(i),Math.abs(o),.5*Math.abs(s))||0}function zR(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function _3(e,t,r){var n=e._x0,a=e._y0,i=e._x1,o=e._y1,s=(i-n)/3;e._context.bezierCurveTo(n+s,a+s*t,i-s,o-s*r,i,o)}function E1(e){this._context=e}E1.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:_3(this,this._t0,zR(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,_3(this,zR(this,r=BR(this,e,t)),r);break;default:_3(this,this._t0,r=BR(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}};function rq(e){this._context=new nq(e)}(rq.prototype=Object.create(E1.prototype)).point=function(e,t){E1.prototype.point.call(this,t,e)};function nq(e){this._context=e}nq.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,a,i){this._context.bezierCurveTo(t,e,n,r,i,a)}};function K0e(e){return new E1(e)}function X0e(e){return new rq(e)}function aq(e){this._context=e}aq.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),r===2)this._context.lineTo(e[1],t[1]);else for(var n=HR(e),a=HR(t),i=0,o=1;o<r;++i,++o)this._context.bezierCurveTo(n[0][i],a[0][i],n[1][i],a[1][i],e[o],t[o]);(this._line||this._line!==0&&r===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function HR(e){var t,r=e.length-1,n,a=new Array(r),i=new Array(r),o=new Array(r);for(a[0]=0,i[0]=2,o[0]=e[0]+2*e[1],t=1;t<r-1;++t)a[t]=1,i[t]=4,o[t]=4*e[t]+2*e[t+1];for(a[r-1]=2,i[r-1]=7,o[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=a[t]/i[t-1],i[t]-=n,o[t]-=n*o[t-1];for(a[r-1]=o[r-1]/i[r-1],t=r-2;t>=0;--t)a[t]=(o[t]-a[t+1])/i[t];for(i[r-1]=(e[r]+a[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-a[t+1];return[a,i]}function Q0e(e){return new aq(e)}function Ey(e,t){this._context=e,this._t=t}Ey.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;
vendor: 19,462 bytes, lines 300-303
300default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}break}}this._x=e,this._y=t}};function Z0e(e){return new Ey(e,.5)}function J0e(e){return new Ey(e,0)}function ede(e){return new Ey(e,1)}function yf(e,t){if((o=e.length)>1)for(var r=1,n,a,i=e[t[0]],o,s=i.length;r<o;++r)for(a=i,i=e[t[r]],n=0;n<s;++n)i[n][1]+=i[n][0]=isNaN(a[n][1])?a[n][0]:a[n][1]}function Ww(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function tde(e,t){return e[t]}function rde(e){const t=[];return t.key=e,t}function nde(){var e=cr([]),t=Ww,r=yf,n=tde;function a(i){var o=Array.from(e.apply(this,arguments),rde),s,u=o.length,f=-1,h;for(const d of i)for(s=0,++f;s<u;++s)(o[s][f]=[0,+n(d,o[s].key,f,i)]).data=d;for(s=0,h=$T(t(o));s<u;++s)o[h[s]].index=s;return r(o,h),o}return a.keys=function(i){return arguments.length?(e=typeof i=="function"?i:cr(Array.from(i)),a):e},a.value=function(i){return arguments.length?(n=typeof i=="function"?i:cr(+i),a):n},a.order=function(i){return arguments.length?(t=i==null?Ww:typeof i=="function"?i:cr(Array.from(i)),a):t},a.offset=function(i){return arguments.length?(r=i??yf,a):r},a}function ade(e,t){if((n=e.length)>0){for(var r,n,a=0,i=e[0].length,o;a<i;++a){for(o=r=0;r<n;++r)o+=e[r][a][1]||0;if(o)for(r=0;r<n;++r)e[r][a][1]/=o}yf(e,t)}}function ide(e,t){if((a=e.length)>0){for(var r=0,n=e[t[0]],a,i=n.length;r<i;++r){for(var o=0,s=0;o<a;++o)s+=e[o][r][1]||0;n[r][1]+=n[r][0]=-s/2}yf(e,t)}}function ode(e,t){if(!(!((o=e.length)>0)||!((i=(a=e[t[0]]).length)>0))){for(var r=0,n=1,a,i,o;n<i;++n){for(var s=0,u=0,f=0;s<o;++s){for(var h=e[t[s]],d=h[n][1]||0,m=h[n-1][1]||0,v=(d-m)/2,y=0;y<s;++y){var b=e[t[y]],E=b[n][1]||0,_=b[n-1][1]||0;v+=E-_}u+=d,f+=v*d}a[n-1][1]+=a[n-1][0]=r,u&&(r-=f/u)}a[n-1][1]+=a[n-1][0]=r,yf(e,t)}}function ch(e){"@babel/helpers - typeof";return ch=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ch(e)}var sde=["type","size","sizeType"];function Kw(){return Kw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kw.apply(this,arguments)}function FR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function $R(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?FR(Object(r),!0).forEach(function(n){lde(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):FR(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function lde(e,t,r){return t=ude(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ude(e){var t=cde(e,"string");return ch(t)=="symbol"?t:t+""}function cde(e,t){if(ch(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ch(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fde(e,t){if(e==null)return{};var r=dde(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function dde(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var iq={symbolCircle:UT,symbolCross:P0e,symbolDiamond:D0e,symbolSquare:L0e,symbolStar:H0e,symbolTriangle:F0e,symbolWye:U0e},hde=Math.PI/180,pde=function(t){var r="symbol".concat(yy(t));return iq[r]||UT},mde=function(t,r,n){if(r==="area")return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var a=18*hde;return 1.25*t*t*(Math.tan(a)-Math.tan(a*2)*Math.pow(Math.tan(a),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},gde=function(t,r){iq["symbol".concat(yy(t))]=r},qT=function(t){var r=t.type,n=r===void 0?"circle":r,a=t.size,i=a===void 0?64:a,o=t.sizeType,s=o===void 0?"area":o,u=fde(t,sde),f=$R($R({},u),{},{type:n,size:i,sizeType:s}),h=function(){var E=pde(n),_=q0e().type(E).size(mde(i,s,n));return _()},d=f.className,m=f.cx,v=f.cy,y=$t(f,!0);return m===+m&&v===+v&&i===+i?re.createElement("path",Kw({},y,{className:Nt("recharts-symbols",d),transform:"translate(".concat(m,", ").concat(v,")"),d:h()})):null};qT.registerSymbol=gde;function bf(e){"@babel/helpers - typeof";return bf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bf(e)}function Xw(){return Xw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xw.apply(this,arguments)}function UR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function vde(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?UR(Object(r),!0).forEach(function(n){fh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):UR(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function yde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bde(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sq(n.key),n)}}function xde(e,t,r){return t&&bde(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ede(e,t,r){return t=_1(t),_de(e,oq()?Reflect.construct(t,r||[],_1(e).constructor):t.apply(e,r))}function _de(e,t){if(t&&(bf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wde(e)}function wde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oq(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oq=function(){return!!e})()}function _1(e){return _1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},_1(e)}function Sde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qw(e,t)}function Qw(e,t){return Qw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Qw(e,t)}function fh(e,t,r){return t=sq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sq(e){var t=Tde(e,"string");return bf(t)=="symbol"?t:t+""}function Tde(e,t){if(bf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(bf(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Za=32,VT=(function(e){function t(){return yde(this,t),Ede(this,t,arguments)}return Sde(t,e),xde(t,[{key:"renderIcon",value:function(n){var a=this.props.inactiveColor,i=Za/2,o=Za/6,s=Za/3,u=n.inactive?a:n.color;if(n.type==="plainline")return re.createElement("line",{strokeWidth:4,fill:"none",stroke:u,strokeDasharray:n.payload.strokeDasharray,x1:0,y1:i,x2:Za,y2:i,className:"recharts-legend-icon"});if(n.type==="line")return re.createElement("path",{strokeWidth:4,fill:"none",stroke:u,d:"M0,".concat(i,"h").concat(s,` 301 A`).concat(o,",").concat(o,",0,1,1,").concat(2*s,",").concat(i,` 302 H`).concat(Za,"M").concat(2*s,",").concat(i,` 303 A`).concat(o,",").concat(o,",0,1,1,").concat(s,",").concat(i),className:"recharts-legend-icon"});if(n.type==="rect")return re.createElement("path",{stroke:"none",fill:u,d:"M0,".concat(Za/8,"h").concat(Za,"v").concat(Za*3/4,"h").concat(-Za,"z"),className:"recharts-legend-icon"});if(re.isValidElement(n.legendIcon)){var f=vde({},n);return delete f.legendIcon,re.cloneElement(n.legendIcon,f)}return re.createElement(qT,{fill:u,cx:i,cy:i,size:Za,sizeType:"diameter",type:n.type})}},{key:"renderItems",value:function(){var n=this,a=this.props,i=a.payload,o=a.iconSize,s=a.layout,u=a.formatter,f=a.inactiveColor,h={x:0,y:0,width:Za,height:Za},d={display:s==="horizontal"?"inline-block":"block",marginRight:10},m={display:"inline-block",verticalAlign:"middle",marginRight:4};return i.map(function(v,y){var b=v.formatter||u,E=Nt(fh(fh({"recharts-legend-item":!0},"legend-item-".concat(y),!0),"inactive",v.inactive));if(v.type==="none")return null;var _=yt(v.value)?null:v.value;Zo(!yt(v.value),`The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name="Name of my Data"/>`);var A=v.inactive?f:v.color;return re.createElement("li",Xw({className:E,style:d,key:"legend-item-".concat(y)},v1(n.props,v,y)),re.createElement(Uw,{width:o,height:o,viewBox:h,style:m},n.renderIcon(v)),re.createElement("span",{className:"recharts-legend-item-text",style:{color:A}},b?b(_,v,y):_))})}},{key:"render",value:function(){var n=this.props,a=n.payload,i=n.layout,o=n.align;if(!a||!a.length)return null;var s={padding:0,margin:0,textAlign:i==="horizontal"?o:"left"};return re.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}])})(R.PureComponent);fh(VT,"displayName","Legend");fh(VT,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var w3,qR;function Ade(){if(qR)return w3;qR=1;var e=py();function t(){this.__data__=new e,this.size=0}return w3=t,w3}var S3,VR;function Cde(){if(VR)return S3;VR=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return S3=e,S3}var T3,GR;function Ode(){if(GR)return T3;GR=1;function e(t){return this.__data__.get(t)}return T3=e,T3}var A3,YR;function kde(){if(YR)return A3;YR=1;function e(t){return this.__data__.has(t)}return A3=e,A3}var C3,WR;function Nde(){if(WR)return C3;WR=1;var e=py(),t=DT(),r=LT(),n=200;function a(i,o){var s=this.__data__;if(s instanceof e){var u=s.__data__;if(!t||u.length<n-1)return u.push([i,o]),this.size=++s.size,this;s=this.__data__=new r(u)}return s.set(i,o),this.size=s.size,this}return C3=a,C3}var O3,KR;function lq(){if(KR)return O3;KR=1;var e=py(),t=Ade(),r=Cde(),n=Ode(),a=kde(),i=Nde();function o(s){var u=this.__data__=new e(s);this.size=u.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=a,o.prototype.set=i,O3=o,O3}var k3,XR;function Rde(){if(XR)return k3;XR=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return k3=t,k3}var N3,QR;function Mde(){if(QR)return N3;QR=1;function e(t){return this.__data__.has(t)}return N3=e,N3}var R3,ZR;function uq(){if(ZR)return R3;ZR=1;var e=LT(),t=Rde(),r=Mde();function n(a){var i=-1,o=a==null?0:a.length;for(this.__data__=new e;++i<o;)this.add(a[i])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,R3=n,R3}var M3,JR;function cq(){if(JR)return M3;JR=1;function e(t,r){for(var n=-1,a=t==null?0:t.length;++n<a;)if(r(t[n],n,t))return!0;return!1}return M3=e,M3}var P3,eM;function fq(){if(eM)return P3;eM=1;function e(t,r){return t.has(r)}return P3=e,P3}var I3,tM;function dq(){if(tM)return I3;tM=1;var e=uq(),t=cq(),r=fq(),n=1,a=2;function i(o,s,u,f,h,d){var m=u&n,v=o.length,y=s.length;if(v!=y&&!(m&&y>v))return!1;var b=d.get(o),E=d.get(s);if(b&&E)return b==s&&E==o;var _=-1,A=!0,C=u&a?new e:void 0;for(d.set(o,s),d.set(s,o);++_<v;){var P=o[_],O=s[_];if(f)var k=m?f(O,P,_,s,o,d):f(P,O,_,o,s,d);if(k!==void 0){if(k)continue;A=!1;break}if(C){if(!t(s,function(M,L){if(!r(C,L)&&(P===M||h(P,M,u,f,d)))return C.push(L)})){A=!1;break}}else if(!(P===O||h(P,O,u,f,d))){A=!1;break}}return d.delete(o),d.delete(s),A}return I3=i,I3}var D3,rM;function Pde(){if(rM)return D3;rM=1;var e=po(),t=e.Uint8Array;return D3=t,D3}var L3,nM;function Ide(){if(nM)return L3;nM=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a,i){n[++r]=[i,a]}),n}return L3=e,L3}var j3,aM;function GT(){if(aM)return j3;aM=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(a){n[++r]=a}),n}return j3=e,j3}var B3,iM;function Dde(){if(iM)return B3;iM=1;var e=dp(),t=Pde(),r=IT(),n=dq(),a=Ide(),i=GT(),o=1,s=2,u="[object Boolean]",f="[object Date]",h="[object Error]",d="[object Map]",m="[object Number]",v="[object RegExp]",y="[object Set]",b="[object String]",E="[object Symbol]",_="[object ArrayBuffer]",A="[object DataView]",C=e?e.prototype:void 0,P=C?C.valueOf:void 0;function O(k,M,L,H,F,$,z){switch(L){case A:if(k.byteLength!=M.byteLength||k.byteOffset!=M.byteOffset)return!1;k=k.buffer,M=M.buffer;case _:return!(k.byteLength!=M.byteLength||!$(new t(k),new t(M)));case u:case f:case m:return r(+k,+M);case h:return k.name==M.name&&k.message==M.message;case v:case b:return k==M+"";case d:var W=a;case y:var K=H&o;if(W||(W=i),k.size!=M.size&&!K)return!1;var te=z.get(k);if(te)return te==M;H|=s,z.set(k,M);var U=n(W(k),W(M),H,F,$,z);return z.delete(k),U;case E:if(P)return P.call(k)==P.call(M)}return!1}return B3=O,B3}var z3,oM;function hq(){if(oM)return z3;oM=1;function e(t,r){for(var n=-1,a=r.length,i=t.length;++n<a;)t[i+n]=r[n];return t}return z3=e,z3}var H3,sM;function Lde(){if(sM)return H3;sM=1;var e=hq(),t=ga();function r(n,a,i){var o=a(n);return t(n)?o:e(o,i(n))}return H3=r,H3}var F3,lM;function jde(){if(lM)return F3;lM=1;function e(t,r){for(var n=-1,a=t==null?0:t.length,i=0,o=[];++n<a;){var s=t[n];r(s,n,t)&&(o[i++]=s)}return o}return F3=e,F3}var $3,uM;function Bde(){if(uM)return $3;uM=1;function e(){return[]}return $3=e,$3}var U3,cM;function zde(){if(cM)return U3;cM=1;var e=jde(),t=Bde(),r=Object.prototype,n=r.propertyIsEnumerable,a=Object.getOwnPropertySymbols,i=a?function(o){return o==null?[]:(o=Object(o),e(a(o),function(s){return n.call(o,s)}))}:t;return U3=i,U3}var q3,fM;function Hde(){if(fM)return q3;fM=1;function e(t,r){for(var n=-1,a=Array(t);++n<t;)a[n]=r(n);return a}return q3=e,q3}var V3,dM;function Fde(){if(dM)return V3;dM=1;var e=hs(),t=ps(),r="[object Arguments]";function n(a){return t(a)&&e(a)==r}return V3=n,V3}var G3,hM;function YT(){if(hM)return G3;hM=1;var e=Fde(),t=ps(),r=Object.prototype,n=r.hasOwnProperty,a=r.propertyIsEnumerable,i=e((function(){return arguments})())?e:function(o){return t(o)&&n.call(o,"callee")&&!a.call(o,"callee")};return G3=i,G3}var Ad={exports:{}},Y3,pM;function $de(){if(pM)return Y3;pM=1;function e(){return!1}return Y3=e,Y3}Ad.exports;var mM;function pq(){return mM||(mM=1,(function(e,t){var r=po(),n=$de(),a=t&&!t.nodeType&&t,i=a&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===a,s=o?r.Buffer:void 0,u=s?s.isBuffer:void 0,f=u||n;e.exports=f})(Ad,Ad.exports)),Ad.exports}var W3,gM;function WT(){if(gM)return W3;gM=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,a){var i=typeof n;return a=a??e,!!a&&(i=="number"||i!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<a}return W3=r,W3}var K3,vM;function KT(){if(vM)return K3;vM=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return K3=t,K3}var X3,yM;function Ude(){if(yM)return X3;yM=1;var e=hs(),t=KT(),r=ps(),n="[object Arguments]",a="[object Array]",i="[object Boolean]",o="[object Date]",s="[object Error]",u="[object Function]",f="[object Map]",h="[object Number]",d="[object Object]",m="[object RegExp]",v="[object Set]",y="[object String]",b="[object WeakMap]",E="[object ArrayBuffer]",_="[object DataView]",A="[object Float32Array]",C="[object Float64Array]",P="[object Int8Array]",O="[object Int16Array]",k="[object Int32Array]",M="[object Uint8Array]",L="[object Uint8ClampedArray]",H="[object Uint16Array]",F="[object Uint32Array]",$={};$[A]=$[C]=$[P]=$[O]=$[k]=$[M]=$[L]=$[H]=$[F]=!0,$[n]=$[a]=$[E]=$[i]=$[_]=$[o]=$[s]=$[u]=$[f]=$[h]=$[d]=$[m]=$[v]=$[y]=$[b]=!1;function z(W){return r(W)&&t(W.length)&&!!$[e(W)]}return X3=z,X3}var Q3,bM;function mq(){if(bM)return Q3;bM=1;function e(t){return function(r){return t(r)}}return Q3=e,Q3}var Cd={exports:{}};Cd.exports;var xM;function qde(){return xM||(xM=1,(function(e,t){var r=DU(),n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===n,o=i&&r.process,s=(function(){try{var u=a&&a.require&&a.require("util").types;return u||o&&o.binding&&o.binding("util")}catch{}})();e.exports=s})(Cd,Cd.exports)),Cd.exports}var Z3,EM;function gq(){if(EM)return Z3;EM=1;var e=Ude(),t=mq(),r=qde(),n=r&&r.isTypedArray,a=n?t(n):e;return Z3=a,Z3}var J3,_M;function Vde(){if(_M)return J3;_M=1;var e=Hde(),t=YT(),r=ga(),n=pq(),a=WT(),i=gq(),o=Object.prototype,s=o.hasOwnProperty;function u(f,h){var d=r(f),m=!d&&t(f),v=!d&&!m&&n(f),y=!d&&!m&&!v&&i(f),b=d||m||v||y,E=b?e(f.length,String):[],_=E.length;for(var A in f)(h||s.call(f,A))&&!(b&&(A=="length"||v&&(A=="offset"||A=="parent")||y&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||a(A,_)))&&E.push(A);return E}return J3=u,J3}var e6,wM;function Gde(){if(wM)return e6;wM=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,a=typeof n=="function"&&n.prototype||e;return r===a}return e6=t,e6}var t6,SM;function vq(){if(SM)return t6;SM=1;function e(t,r){return function(n){return t(r(n))}}return t6=e,t6}var r6,TM;function Yde(){if(TM)return r6;TM=1;var e=vq(),t=e(Object.keys,Object);return r6=t,r6}var n6,AM;function Wde(){if(AM)return n6;AM=1;var e=Gde(),t=Yde(),r=Object.prototype,n=r.hasOwnProperty;function a(i){if(!e(i))return t(i);var o=[];for(var s in Object(i))n.call(i,s)&&s!="constructor"&&o.push(s);return o}return n6=a,n6}var a6,CM;function pp(){if(CM)return a6;CM=1;var e=PT(),t=KT();function r(n){return n!=null&&t(n.length)&&!e(n)}return a6=r,a6}var i6,OM;function _y(){if(OM)return i6;OM=1;var e=Vde(),t=Wde(),r=pp();function n(a){return r(a)?e(a):t(a)}return i6=n,i6}var o6,kM;function Kde(){if(kM)return o6;kM=1;var e=Lde(),t=zde(),r=_y();function n(a){return e(a,r,t)}return o6=n,o6}var s6,NM;function Xde(){if(NM)return s6;NM=1;var e=Kde(),t=1,r=Object.prototype,n=r.hasOwnProperty;function a(i,o,s,u,f,h){var d=s&t,m=e(i),v=m.length,y=e(o),b=y.length;if(v!=b&&!d)return!1;for(var E=v;E--;){var _=m[E];if(!(d?_ in o:n.call(o,_)))return!1}var A=h.get(i),C=h.get(o);if(A&&C)return A==o&&C==i;var P=!0;h.set(i,o),h.set(o,i);for(var O=d;++E<v;){_=m[E];var k=i[_],M=o[_];if(u)var L=d?u(M,k,_,o,i,h):u(k,M,_,i,o,h);if(!(L===void 0?k===M||f(k,M,s,u,h):L)){P=!1;break}O||(O=_=="constructor")}if(P&&!O){var H=i.constructor,F=o.constructor;H!=F&&"constructor"in i&&"constructor"in o&&!(typeof H=="function"&&H instanceof H&&typeof F=="function"&&F instanceof F)&&(P=!1)}return h.delete(i),h.delete(o),P}return s6=a,s6}var l6,RM;
vendor: 1,429 bytes, line 303
303function Qde(){if(RM)return l6;RM=1;var e=Pu(),t=po(),r=e(t,"DataView");return l6=r,l6}var u6,MM;function Zde(){if(MM)return u6;MM=1;var e=Pu(),t=po(),r=e(t,"Promise");return u6=r,u6}var c6,PM;function yq(){if(PM)return c6;PM=1;var e=Pu(),t=po(),r=e(t,"Set");return c6=r,c6}var f6,IM;function Jde(){if(IM)return f6;IM=1;var e=Pu(),t=po(),r=e(t,"WeakMap");return f6=r,f6}var d6,DM;function ehe(){if(DM)return d6;DM=1;var e=Qde(),t=DT(),r=Zde(),n=yq(),a=Jde(),i=hs(),o=LU(),s="[object Map]",u="[object Object]",f="[object Promise]",h="[object Set]",d="[object WeakMap]",m="[object DataView]",v=o(e),y=o(t),b=o(r),E=o(n),_=o(a),A=i;return(e&&A(new e(new ArrayBuffer(1)))!=m||t&&A(new t)!=s||r&&A(r.resolve())!=f||n&&A(new n)!=h||a&&A(new a)!=d)&&(A=function(C){var P=i(C),O=P==u?C.constructor:void 0,k=O?o(O):"";if(k)switch(k){case v:return m;case y:return s;case b:return f;case E:return h;case _:return d}return P}),d6=A,d6}var h6,LM;function the(){if(LM)return h6;LM=1;var e=lq(),t=dq(),r=Dde(),n=Xde(),a=ehe(),i=ga(),o=pq(),s=gq(),u=1,f="[object Arguments]",h="[object Array]",d="[object Object]",m=Object.prototype,v=m.hasOwnProperty;function y(b,E,_,A,C,P){var O=i(b),k=i(E),M=O?h:a(b),L=k?h:a(E);M=M==f?d:M,L=L==f?d:L;var H=M==d,F=L==d,$=M==L;if($&&o(b)){if(!o(E))return!1;O=!0,H=!1}if($&&!H)return P||(P=new e),O||s(b)?t(b,E,_,A,C,P):r(b,E,M,_,A,C,P);if(!(_&u)){var z=H&&v.call(b,"__wrapped__"),W=F&&v.call(E,"__wrapped__");
vendor: 46,255 bytes, lines 303-311
303if(z||W){var K=z?b.value():b,te=W?E.value():E;return P||(P=new e),C(K,te,_,A,P)}}return $?(P||(P=new e),n(b,E,_,A,C,P)):!1}return h6=y,h6}var p6,jM;function XT(){if(jM)return p6;jM=1;var e=the(),t=ps();function r(n,a,i,o,s){return n===a?!0:n==null||a==null||!t(n)&&!t(a)?n!==n&&a!==a:e(n,a,i,o,r,s)}return p6=r,p6}var m6,BM;function rhe(){if(BM)return m6;BM=1;var e=lq(),t=XT(),r=1,n=2;function a(i,o,s,u){var f=s.length,h=f,d=!u;if(i==null)return!h;for(i=Object(i);f--;){var m=s[f];if(d&&m[2]?m[1]!==i[m[0]]:!(m[0]in i))return!1}for(;++f<h;){m=s[f];var v=m[0],y=i[v],b=m[1];if(d&&m[2]){if(y===void 0&&!(v in i))return!1}else{var E=new e;if(u)var _=u(y,b,v,i,o,E);if(!(_===void 0?t(b,y,r|n,u,E):_))return!1}}return!0}return m6=a,m6}var g6,zM;function bq(){if(zM)return g6;zM=1;var e=yl();function t(r){return r===r&&!e(r)}return g6=t,g6}var v6,HM;function nhe(){if(HM)return v6;HM=1;var e=bq(),t=_y();function r(n){for(var a=t(n),i=a.length;i--;){var o=a[i],s=n[o];a[i]=[o,s,e(s)]}return a}return v6=r,v6}var y6,FM;function xq(){if(FM)return y6;FM=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return y6=e,y6}var b6,$M;function ahe(){if($M)return b6;$M=1;var e=rhe(),t=nhe(),r=xq();function n(a){var i=t(a);return i.length==1&&i[0][2]?r(i[0][0],i[0][1]):function(o){return o===a||e(o,a,i)}}return b6=n,b6}var x6,UM;function ihe(){if(UM)return x6;UM=1;function e(t,r){return t!=null&&r in Object(t)}return x6=e,x6}var E6,qM;function ohe(){if(qM)return E6;qM=1;var e=zU(),t=YT(),r=ga(),n=WT(),a=KT(),i=gy();function o(s,u,f){u=e(u,s);for(var h=-1,d=u.length,m=!1;++h<d;){var v=i(u[h]);if(!(m=s!=null&&f(s,v)))break;s=s[v]}return m||++h!=d?m:(d=s==null?0:s.length,!!d&&a(d)&&n(v,d)&&(r(s)||t(s)))}return E6=o,E6}var _6,VM;function she(){if(VM)return _6;VM=1;var e=ihe(),t=ohe();function r(n,a){return n!=null&&t(n,a,e)}return _6=r,_6}var w6,GM;function lhe(){if(GM)return w6;GM=1;var e=XT(),t=HU(),r=she(),n=MT(),a=bq(),i=xq(),o=gy(),s=1,u=2;function f(h,d){return n(h)&&a(d)?i(o(h),d):function(m){var v=t(m,h);return v===void 0&&v===d?r(m,h):e(d,v,s|u)}}return w6=f,w6}var S6,YM;function Qf(){if(YM)return S6;YM=1;function e(t){return t}return S6=e,S6}var T6,WM;function uhe(){if(WM)return T6;WM=1;function e(t){return function(r){return r?.[t]}}return T6=e,T6}var A6,KM;function che(){if(KM)return A6;KM=1;var e=BT();function t(r){return function(n){return e(n,r)}}return A6=t,A6}var C6,XM;function fhe(){if(XM)return C6;XM=1;var e=uhe(),t=che(),r=MT(),n=gy();function a(i){return r(i)?e(n(i)):t(i)}return C6=a,C6}var O6,QM;function bl(){if(QM)return O6;QM=1;var e=ahe(),t=lhe(),r=Qf(),n=ga(),a=fhe();function i(o){return typeof o=="function"?o:o==null?r:typeof o=="object"?n(o)?t(o[0],o[1]):e(o):a(o)}return O6=i,O6}var k6,ZM;function Eq(){if(ZM)return k6;ZM=1;function e(t,r,n,a){for(var i=t.length,o=n+(a?1:-1);a?o--:++o<i;)if(r(t[o],o,t))return o;return-1}return k6=e,k6}var N6,JM;function dhe(){if(JM)return N6;JM=1;function e(t){return t!==t}return N6=e,N6}var R6,eP;function hhe(){if(eP)return R6;eP=1;function e(t,r,n){for(var a=n-1,i=t.length;++a<i;)if(t[a]===r)return a;return-1}return R6=e,R6}var M6,tP;function phe(){if(tP)return M6;tP=1;var e=Eq(),t=dhe(),r=hhe();function n(a,i,o){return i===i?r(a,i,o):e(a,t,o)}return M6=n,M6}var P6,rP;function mhe(){if(rP)return P6;rP=1;var e=phe();function t(r,n){var a=r==null?0:r.length;return!!a&&e(r,n,0)>-1}return P6=t,P6}var I6,nP;function ghe(){if(nP)return I6;nP=1;function e(t,r,n){for(var a=-1,i=t==null?0:t.length;++a<i;)if(n(r,t[a]))return!0;return!1}return I6=e,I6}var D6,aP;function vhe(){if(aP)return D6;aP=1;function e(){}return D6=e,D6}var L6,iP;function yhe(){if(iP)return L6;iP=1;var e=yq(),t=vhe(),r=GT(),n=1/0,a=e&&1/r(new e([,-0]))[1]==n?function(i){return new e(i)}:t;return L6=a,L6}var j6,oP;function bhe(){if(oP)return j6;oP=1;var e=uq(),t=mhe(),r=ghe(),n=fq(),a=yhe(),i=GT(),o=200;function s(u,f,h){var d=-1,m=t,v=u.length,y=!0,b=[],E=b;if(h)y=!1,m=r;else if(v>=o){var _=f?null:a(u);if(_)return i(_);y=!1,m=n,E=new e}else E=f?[]:b;e:for(;++d<v;){var A=u[d],C=f?f(A):A;if(A=h||A!==0?A:0,y&&C===C){for(var P=E.length;P--;)if(E[P]===C)continue e;f&&E.push(C),b.push(A)}else m(E,C,h)||(E!==b&&E.push(C),b.push(A))}return b}return j6=s,j6}var B6,sP;function xhe(){if(sP)return B6;sP=1;var e=bl(),t=bhe();function r(n,a){return n&&n.length?t(n,e(a,2)):[]}return B6=r,B6}var Ehe=xhe();const lP=Yt(Ehe);function _q(e,t,r){return t===!0?lP(e,r):yt(t)?lP(e,t):e}function xf(e){"@babel/helpers - typeof";return xf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xf(e)}var _he=["ref"];function uP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ho(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?uP(Object(r),!0).forEach(function(n){wy(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function whe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Sq(n.key),n)}}function She(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function The(e,t,r){return t=w1(t),Ahe(e,wq()?Reflect.construct(t,r||[],w1(e).constructor):t.apply(e,r))}function Ahe(e,t){if(t&&(xf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Che(e)}function Che(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wq(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(wq=function(){return!!e})()}function w1(e){return w1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},w1(e)}function Ohe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zw(e,t)}function Zw(e,t){return Zw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Zw(e,t)}function wy(e,t,r){return t=Sq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sq(e){var t=khe(e,"string");return xf(t)=="symbol"?t:t+""}function khe(e,t){if(xf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(xf(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Nhe(e,t){if(e==null)return{};var r=Rhe(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Rhe(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Mhe(e){return e.value}function Phe(e,t){if(re.isValidElement(e))return re.cloneElement(e,t);if(typeof e=="function")return re.createElement(e,t);t.ref;var r=Nhe(t,_he);return re.createElement(VT,r)}var fP=1,af=(function(e){function t(){var r;whe(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=The(this,t,[].concat(a)),wy(r,"lastBoundingBox",{width:-1,height:-1}),r}return Ohe(t,e),She(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();return n.height=this.wrapperNode.offsetHeight,n.width=this.wrapperNode.offsetWidth,n}return null}},{key:"updateBBox",value:function(){var n=this.props.onBBoxUpdate,a=this.getBBox();a?(Math.abs(a.width-this.lastBoundingBox.width)>fP||Math.abs(a.height-this.lastBoundingBox.height)>fP)&&(this.lastBoundingBox.width=a.width,this.lastBoundingBox.height=a.height,n&&n(a)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,n&&n(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Ho({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(n){var a=this.props,i=a.layout,o=a.align,s=a.verticalAlign,u=a.margin,f=a.chartWidth,h=a.chartHeight,d,m;if(!n||(n.left===void 0||n.left===null)&&(n.right===void 0||n.right===null))if(o==="center"&&i==="vertical"){var v=this.getBBoxSnapshot();d={left:((f||0)-v.width)/2}}else d=o==="right"?{right:u&&u.right||0}:{left:u&&u.left||0};if(!n||(n.top===void 0||n.top===null)&&(n.bottom===void 0||n.bottom===null))if(s==="middle"){var y=this.getBBoxSnapshot();m={top:((h||0)-y.height)/2}}else m=s==="bottom"?{bottom:u&&u.bottom||0}:{top:u&&u.top||0};return Ho(Ho({},d),m)}},{key:"render",value:function(){var n=this,a=this.props,i=a.content,o=a.width,s=a.height,u=a.wrapperStyle,f=a.payloadUniqBy,h=a.payload,d=Ho(Ho({position:"absolute",width:o||"auto",height:s||"auto"},this.getDefaultPosition(u)),u);return re.createElement("div",{className:"recharts-legend-wrapper",style:d,ref:function(v){n.wrapperNode=v}},Phe(i,Ho(Ho({},this.props),{},{payload:_q(h,f,Mhe)})))}}],[{key:"getWithHeight",value:function(n,a){var i=Ho(Ho({},this.defaultProps),n.props),o=i.layout;return o==="vertical"&&ze(n.props.height)?{height:n.props.height}:o==="horizontal"?{width:n.props.width||a}:null}}])})(R.PureComponent);wy(af,"displayName","Legend");wy(af,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var z6,dP;function Ihe(){if(dP)return z6;dP=1;var e=dp(),t=YT(),r=ga(),n=e?e.isConcatSpreadable:void 0;function a(i){return r(i)||t(i)||!!(n&&i&&i[n])}return z6=a,z6}var H6,hP;function Tq(){if(hP)return H6;hP=1;var e=hq(),t=Ihe();function r(n,a,i,o,s){var u=-1,f=n.length;for(i||(i=t),s||(s=[]);++u<f;){var h=n[u];a>0&&i(h)?a>1?r(h,a-1,i,o,s):e(s,h):o||(s[s.length]=h)}return s}return H6=r,H6}var F6,pP;function Dhe(){if(pP)return F6;pP=1;function e(t){return function(r,n,a){for(var i=-1,o=Object(r),s=a(r),u=s.length;u--;){var f=s[t?u:++i];if(n(o[f],f,o)===!1)break}return r}}return F6=e,F6}var $6,mP;function Lhe(){if(mP)return $6;mP=1;var e=Dhe(),t=e();return $6=t,$6}var U6,gP;function Aq(){if(gP)return U6;gP=1;var e=Lhe(),t=_y();function r(n,a){return n&&e(n,a,t)}return U6=r,U6}var q6,vP;function jhe(){if(vP)return q6;vP=1;var e=pp();function t(r,n){return function(a,i){if(a==null)return a;if(!e(a))return r(a,i);for(var o=a.length,s=n?o:-1,u=Object(a);(n?s--:++s<o)&&i(u[s],s,u)!==!1;);return a}}return q6=t,q6}var V6,yP;function QT(){if(yP)return V6;yP=1;var e=Aq(),t=jhe(),r=t(e);return V6=r,V6}var G6,bP;function Cq(){if(bP)return G6;bP=1;var e=QT(),t=pp();function r(n,a){var i=-1,o=t(n)?Array(n.length):[];return e(n,function(s,u,f){o[++i]=a(s,u,f)}),o}return G6=r,G6}var Y6,xP;function Bhe(){if(xP)return Y6;xP=1;function e(t,r){var n=t.length;for(t.sort(r);n--;)t[n]=t[n].value;return t}return Y6=e,Y6}var W6,EP;function zhe(){if(EP)return W6;EP=1;var e=Kf();function t(r,n){if(r!==n){var a=r!==void 0,i=r===null,o=r===r,s=e(r),u=n!==void 0,f=n===null,h=n===n,d=e(n);if(!f&&!d&&!s&&r>n||s&&u&&h&&!f&&!d||i&&u&&h||!a&&h||!o)return 1;if(!i&&!s&&!d&&r<n||d&&a&&o&&!i&&!s||f&&a&&o||!u&&o||!h)return-1}return 0}return W6=t,W6}var K6,_P;function Hhe(){if(_P)return K6;_P=1;var e=zhe();function t(r,n,a){for(var i=-1,o=r.criteria,s=n.criteria,u=o.length,f=a.length;++i<u;){var h=e(o[i],s[i]);if(h){if(i>=f)return h;var d=a[i];return h*(d=="desc"?-1:1)}}return r.index-n.index}return K6=t,K6}var X6,wP;function Fhe(){if(wP)return X6;wP=1;var e=jT(),t=BT(),r=bl(),n=Cq(),a=Bhe(),i=mq(),o=Hhe(),s=Qf(),u=ga();function f(h,d,m){d.length?d=e(d,function(b){return u(b)?function(E){return t(E,b.length===1?b[0]:b)}:b}):d=[s];var v=-1;d=e(d,i(r));var y=n(h,function(b,E,_){var A=e(d,function(C){return C(b)});return{criteria:A,index:++v,value:b}});return a(y,function(b,E){return o(b,E,m)})}return X6=f,X6}var Q6,SP;function $he(){if(SP)return Q6;SP=1;function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}return Q6=e,Q6}var Z6,TP;function Uhe(){if(TP)return Z6;TP=1;var e=$he(),t=Math.max;function r(n,a,i){return a=t(a===void 0?n.length-1:a,0),function(){for(var o=arguments,s=-1,u=t(o.length-a,0),f=Array(u);++s<u;)f[s]=o[a+s];s=-1;for(var h=Array(a+1);++s<a;)h[s]=o[s];return h[a]=i(f),e(n,this,h)}}return Z6=r,Z6}var J6,AP;function qhe(){if(AP)return J6;AP=1;function e(t){return function(){return t}}return J6=e,J6}var eE,CP;function Oq(){if(CP)return eE;CP=1;var e=Pu(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return eE=t,eE}var tE,OP;function Vhe(){if(OP)return tE;OP=1;var e=qhe(),t=Oq(),r=Qf(),n=t?function(a,i){return t(a,"toString",{configurable:!0,enumerable:!1,value:e(i),writable:!0})}:r;return tE=n,tE}var rE,kP;function Ghe(){if(kP)return rE;kP=1;var e=800,t=16,r=Date.now;function n(a){var i=0,o=0;return function(){var s=r(),u=t-(s-o);if(o=s,u>0){if(++i>=e)return arguments[0]}else i=0;return a.apply(void 0,arguments)}}return rE=n,rE}var nE,NP;function Yhe(){if(NP)return nE;NP=1;var e=Vhe(),t=Ghe(),r=t(e);return nE=r,nE}var aE,RP;function Whe(){if(RP)return aE;RP=1;var e=Qf(),t=Uhe(),r=Yhe();function n(a,i){return r(t(a,i,e),a+"")}return aE=n,aE}var iE,MP;function Sy(){if(MP)return iE;MP=1;var e=IT(),t=pp(),r=WT(),n=yl();function a(i,o,s){if(!n(s))return!1;var u=typeof o;return(u=="number"?t(s)&&r(o,s.length):u=="string"&&o in s)?e(s[o],i):!1}return iE=a,iE}var oE,PP;function Khe(){if(PP)return oE;PP=1;var e=Tq(),t=Fhe(),r=Whe(),n=Sy(),a=r(function(i,o){if(i==null)return[];var s=o.length;return s>1&&n(i,o[0],o[1])?o=[]:s>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),t(i,e(o,1),[])});return oE=a,oE}var Xhe=Khe();const ZT=Yt(Xhe);function dh(e){"@babel/helpers - typeof";return dh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dh(e)}function Jw(){return Jw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jw.apply(this,arguments)}function Qhe(e,t){return tpe(e)||epe(e,t)||Jhe(e,t)||Zhe()}function Zhe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 304In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jhe(e,t){if(e){if(typeof e=="string")return IP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return IP(e,t)}}function IP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function epe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function tpe(e){if(Array.isArray(e))return e}function DP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function sE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?DP(Object(r),!0).forEach(function(n){rpe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):DP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function rpe(e,t,r){return t=npe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function npe(e){var t=ape(e,"string");return dh(t)=="symbol"?t:t+""}function ape(e,t){if(dh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(dh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ipe(e){return Array.isArray(e)&&rn(e[0])&&rn(e[1])?e.join(" ~ "):e}var ope=function(t){var r=t.separator,n=r===void 0?" : ":r,a=t.contentStyle,i=a===void 0?{}:a,o=t.itemStyle,s=o===void 0?{}:o,u=t.labelStyle,f=u===void 0?{}:u,h=t.payload,d=t.formatter,m=t.itemSorter,v=t.wrapperClassName,y=t.labelClassName,b=t.label,E=t.labelFormatter,_=t.accessibilityLayer,A=_===void 0?!1:_,C=function(){if(h&&h.length){var z={padding:0,margin:0},W=(m?ZT(h,m):h).map(function(K,te){if(K.type==="none")return null;var U=sE({display:"block",paddingTop:4,paddingBottom:4,color:K.color||"#000"},s),J=K.formatter||d||ipe,Z=K.value,le=K.name,G=Z,Y=le;if(J&&G!=null&&Y!=null){var oe=J(Z,le,K,te,h);if(Array.isArray(oe)){var j=Qhe(oe,2);G=j[0],Y=j[1]}else G=oe}return re.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(te),style:U},rn(Y)?re.createElement("span",{className:"recharts-tooltip-item-name"},Y):null,rn(Y)?re.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,re.createElement("span",{className:"recharts-tooltip-item-value"},G),re.createElement("span",{className:"recharts-tooltip-item-unit"},K.unit||""))});return re.createElement("ul",{className:"recharts-tooltip-item-list",style:z},W)}return null},P=sE({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),O=sE({margin:0},f),k=!Ut(b),M=k?b:"",L=Nt("recharts-default-tooltip",v),H=Nt("recharts-tooltip-label",y);k&&E&&h!==void 0&&h!==null&&(M=E(b,h));var F=A?{role:"status","aria-live":"assertive"}:{};return re.createElement("div",Jw({className:L,style:P},F),re.createElement("p",{className:H,style:O},re.isValidElement(M)?M:"".concat(M)),C())};function hh(e){"@babel/helpers - typeof";return hh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hh(e)}function cg(e,t,r){return t=spe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function spe(e){var t=lpe(e,"string");return hh(t)=="symbol"?t:t+""}function lpe(e,t){if(hh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(hh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var od="recharts-tooltip-wrapper",upe={visibility:"hidden"};function cpe(e){var t=e.coordinate,r=e.translateX,n=e.translateY;return Nt(od,cg(cg(cg(cg({},"".concat(od,"-right"),ze(r)&&t&&ze(t.x)&&r>=t.x),"".concat(od,"-left"),ze(r)&&t&&ze(t.x)&&r<t.x),"".concat(od,"-bottom"),ze(n)&&t&&ze(t.y)&&n>=t.y),"".concat(od,"-top"),ze(n)&&t&&ze(t.y)&&n<t.y))}function LP(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.key,a=e.offsetTopLeft,i=e.position,o=e.reverseDirection,s=e.tooltipDimension,u=e.viewBox,f=e.viewBoxDimension;if(i&&ze(i[n]))return i[n];var h=r[n]-s-a,d=r[n]+a;if(t[n])return o[n]?h:d;if(o[n]){var m=h,v=u[n];return m<v?Math.max(d,u[n]):Math.max(h,u[n])}var y=d+s,b=u[n]+f;return y>b?Math.max(h,u[n]):Math.max(d,u[n])}function fpe(e){var t=e.translateX,r=e.translateY,n=e.useTranslate3d;return{transform:n?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")}}function dpe(e){var t=e.allowEscapeViewBox,r=e.coordinate,n=e.offsetTopLeft,a=e.position,i=e.reverseDirection,o=e.tooltipBox,s=e.useTranslate3d,u=e.viewBox,f,h,d;return o.height>0&&o.width>0&&r?(h=LP({allowEscapeViewBox:t,coordinate:r,key:"x",offsetTopLeft:n,position:a,reverseDirection:i,tooltipDimension:o.width,viewBox:u,viewBoxDimension:u.width}),d=LP({allowEscapeViewBox:t,coordinate:r,key:"y",offsetTopLeft:n,position:a,reverseDirection:i,tooltipDimension:o.height,viewBox:u,viewBoxDimension:u.height}),f=fpe({translateX:h,translateY:d,useTranslate3d:s})):f=upe,{cssProperties:f,cssClasses:cpe({translateX:h,translateY:d,coordinate:r})}}function Ef(e){"@babel/helpers - typeof";return Ef=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ef(e)}function jP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function BP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jP(Object(r),!0).forEach(function(n){t5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function hpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ppe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Nq(n.key),n)}}function mpe(e,t,r){return t&&ppe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function gpe(e,t,r){return t=S1(t),vpe(e,kq()?Reflect.construct(t,r||[],S1(e).constructor):t.apply(e,r))}function vpe(e,t){if(t&&(Ef(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ype(e)}function ype(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kq(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(kq=function(){return!!e})()}function S1(e){return S1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},S1(e)}function bpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&e5(e,t)}function e5(e,t){return e5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},e5(e,t)}function t5(e,t,r){return t=Nq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nq(e){var t=xpe(e,"string");return Ef(t)=="symbol"?t:t+""}function xpe(e,t){if(Ef(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ef(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var zP=1,Epe=(function(e){function t(){var r;hpe(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=gpe(this,t,[].concat(a)),t5(r,"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),t5(r,"handleKeyDown",function(o){if(o.key==="Escape"){var s,u,f,h;r.setState({dismissed:!0,dismissedAtCoordinate:{x:(s=(u=r.props.coordinate)===null||u===void 0?void 0:u.x)!==null&&s!==void 0?s:0,y:(f=(h=r.props.coordinate)===null||h===void 0?void 0:h.y)!==null&&f!==void 0?f:0}})}}),r}return bpe(t,e),mpe(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-this.state.lastBoundingBox.width)>zP||Math.abs(n.height-this.state.lastBoundingBox.height)>zP)&&this.setState({lastBoundingBox:{width:n.width,height:n.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var n,a;this.props.active&&this.updateBBox(),this.state.dismissed&&(((n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==this.state.dismissedAtCoordinate.x||((a=this.props.coordinate)===null||a===void 0?void 0:a.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var n=this,a=this.props,i=a.active,o=a.allowEscapeViewBox,s=a.animationDuration,u=a.animationEasing,f=a.children,h=a.coordinate,d=a.hasPayload,m=a.isAnimationActive,v=a.offset,y=a.position,b=a.reverseDirection,E=a.useTranslate3d,_=a.viewBox,A=a.wrapperStyle,C=dpe({allowEscapeViewBox:o,coordinate:h,offsetTopLeft:v,position:y,reverseDirection:b,tooltipBox:this.state.lastBoundingBox,useTranslate3d:E,viewBox:_}),P=C.cssClasses,O=C.cssProperties,k=BP(BP({transition:m&&i?"transform ".concat(s,"ms ").concat(u):void 0},O),{},{pointerEvents:"none",visibility:!this.state.dismissed&&i&&d?"visible":"hidden",position:"absolute",top:0,left:0},A);return re.createElement("div",{tabIndex:-1,className:P,style:k,ref:function(L){n.wrapperNode=L}},f)}}])})(R.PureComponent),_pe=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},mp={isSsr:_pe()};function _f(e){"@babel/helpers - typeof";return _f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_f(e)}function HP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function FP(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?HP(Object(r),!0).forEach(function(n){JT(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):HP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function wpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Spe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Mq(n.key),n)}}function Tpe(e,t,r){return t&&Spe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ape(e,t,r){return t=T1(t),Cpe(e,Rq()?Reflect.construct(t,r||[],T1(e).constructor):t.apply(e,r))}function Cpe(e,t){if(t&&(_f(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ope(e)}function Ope(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rq(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Rq=function(){return!!e})()}function T1(e){return T1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},T1(e)}function kpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r5(e,t)}function r5(e,t){return r5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},r5(e,t)}function JT(e,t,r){return t=Mq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mq(e){var t=Npe(e,"string");return _f(t)=="symbol"?t:t+""}function Npe(e,t){if(_f(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(_f(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Rpe(e){return e.dataKey}function Mpe(e,t){return re.isValidElement(e)?re.cloneElement(e,t):typeof e=="function"?re.createElement(e,t):re.createElement(ope,t)}var Xi=(function(e){function t(){return wpe(this,t),Ape(this,t,arguments)}return kpe(t,e),Tpe(t,[{key:"render",value:function(){var n=this,a=this.props,i=a.active,o=a.allowEscapeViewBox,s=a.animationDuration,u=a.animationEasing,f=a.content,h=a.coordinate,d=a.filterNull,m=a.isAnimationActive,v=a.offset,y=a.payload,b=a.payloadUniqBy,E=a.position,_=a.reverseDirection,A=a.useTranslate3d,C=a.viewBox,P=a.wrapperStyle,O=y??[];d&&O.length&&(O=_q(y.filter(function(M){return M.value!=null&&(M.hide!==!0||n.props.includeHidden)}),b,Rpe));var k=O.length>0;return re.createElement(Epe,{allowEscapeViewBox:o,animationDuration:s,animationEasing:u,isAnimationActive:m,active:i,coordinate:h,hasPayload:k,offset:v,position:E,reverseDirection:_,useTranslate3d:A,viewBox:C,wrapperStyle:P},Mpe(f,FP(FP({},this.props),{},{payload:O})))}}])})(R.PureComponent);JT(Xi,"displayName","Tooltip");JT(Xi,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!mp.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var lE,$P;function Ppe(){if($P)return lE;$P=1;var e=po(),t=function(){return e.Date.now()};return lE=t,lE}var uE,UP;function Ipe(){if(UP)return uE;UP=1;var e=/\s/;function t(r){for(var n=r.length;n--&&e.test(r.charAt(n)););return n}return uE=t,uE}var cE,qP;function Dpe(){if(qP)return cE;qP=1;var e=Ipe(),t=/^\s+/;function r(n){return n&&n.slice(0,e(n)+1).replace(t,"")}return cE=r,cE}var fE,VP;function Pq(){if(VP)return fE;VP=1;var e=Dpe(),t=yl(),r=Kf(),n=NaN,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt;function u(f){if(typeof f=="number")return f;if(r(f))return n;if(t(f)){var h=typeof f.valueOf=="function"?f.valueOf():f;f=t(h)?h+"":h}if(typeof f!="string")return f===0?f:+f;f=e(f);var d=i.test(f);return d||o.test(f)?s(f.slice(2),d?2:8):a.test(f)?n:+f}return fE=u,fE}var dE,GP;function Lpe(){if(GP)return dE;GP=1;var e=yl(),t=Ppe(),r=Pq(),n="Expected a function",a=Math.max,i=Math.min;function o(s,u,f){var h,d,m,v,y,b,E=0,_=!1,A=!1,C=!0;if(typeof s!="function")throw new TypeError(n);u=r(u)||0,e(f)&&(_=!!f.leading,A="maxWait"in f,m=A?a(r(f.maxWait)||0,u):m,C="trailing"in f?!!f.trailing:C);function P(W){var K=h,te=d;return h=d=void 0,E=W,v=s.apply(te,K),v}function O(W){return E=W,y=setTimeout(L,u),_?P(W):v}function k(W){var K=W-b,te=W-E,U=u-K;return A?i(U,m-te):U}function M(W){var K=W-b,te=W-E;return b===void 0||K>=u||K<0||A&&te>=m}function L(){var W=t();if(M(W))return H(W);y=setTimeout(L,k(W))}function H(W){return y=void 0,C&&h?P(W):(h=d=void 0,v)}function F(){y!==void 0&&clearTimeout(y),E=0,h=b=d=y=void 0}function $(){return y===void 0?v:H(t())}function z(){var W=t(),K=M(W);if(h=arguments,d=this,b=W,K){if(y===void 0)return O(b);if(A)return clearTimeout(y),y=setTimeout(L,u),P(b)}return y===void 0&&(y=setTimeout(L,u)),v}return z.cancel=F,z.flush=$,z}return dE=o,dE}var hE,YP;function jpe(){if(YP)return hE;YP=1;var e=Lpe(),t=yl(),r="Expected a function";function n(a,i,o){var s=!0,u=!0;if(typeof a!="function")throw new TypeError(r);return t(o)&&(s="leading"in o?!!o.leading:s,u="trailing"in o?!!o.trailing:u),e(a,i,{leading:s,maxWait:i,trailing:u})}return hE=n,hE}var Bpe=jpe();const Iq=Yt(Bpe);function ph(e){"@babel/helpers - typeof";return ph=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ph(e)}function WP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function fg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?WP(Object(r),!0).forEach(function(n){zpe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):WP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zpe(e,t,r){return t=Hpe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hpe(e){var t=Fpe(e,"string");return ph(t)=="symbol"?t:t+""}function Fpe(e,t){if(ph(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ph(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $pe(e,t){return Gpe(e)||Vpe(e,t)||qpe(e,t)||Upe()}function Upe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 305In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qpe(e,t){if(e){if(typeof e=="string")return KP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return KP(e,t)}}function KP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Vpe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function Gpe(e){if(Array.isArray(e))return e}var Ype=R.forwardRef(function(e,t){var r=e.aspect,n=e.initialDimension,a=n===void 0?{width:-1,height:-1}:n,i=e.width,o=i===void 0?"100%":i,s=e.height,u=s===void 0?"100%":s,f=e.minWidth,h=f===void 0?0:f,d=e.minHeight,m=e.maxHeight,v=e.children,y=e.debounce,b=y===void 0?0:y,E=e.id,_=e.className,A=e.onResize,C=e.style,P=C===void 0?{}:C,O=R.useRef(null),k=R.useRef();k.current=A,R.useImperativeHandle(t,function(){return Object.defineProperty(O.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),O.current},configurable:!0})});var M=R.useState({containerWidth:a.width,containerHeight:a.height}),L=$pe(M,2),H=L[0],F=L[1],$=R.useCallback(function(W,K){F(function(te){var U=Math.round(W),J=Math.round(K);return te.containerWidth===U&&te.containerHeight===J?te:{containerWidth:U,containerHeight:J}})},[]);R.useEffect(function(){var W=function(le){var G,Y=le[0].contentRect,oe=Y.width,j=Y.height;$(oe,j),(G=k.current)===null||G===void 0||G.call(k,oe,j)};b>0&&(W=Iq(W,b,{trailing:!0,leading:!1}));var K=new ResizeObserver(W),te=O.current.getBoundingClientRect(),U=te.width,J=te.height;return $(U,J),K.observe(O.current),function(){K.disconnect()}},[$,b]);var z=R.useMemo(function(){var W=H.containerWidth,K=H.containerHeight;if(W<0||K<0)return null;Zo(au(o)||au(u),`The width(%s) and height(%s) are both fixed numbers, 306 maybe you don't need to use a ResponsiveContainer.`,o,u),Zo(!r||r>0,"The aspect(%s) must be greater than zero.",r);var te=au(o)?W:o,U=au(u)?K:u;r&&r>0&&(te?U=te/r:U&&(te=U*r),m&&U>m&&(U=m)),Zo(te>0||U>0,`The width(%s) and height(%s) of chart should be greater than 0, 307 please check the style of container, or the props width(%s) and height(%s), 308 or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the 309 height and width.`,te,U,o,u,h,d,r);var J=!Array.isArray(v)&&Qo(v.type).endsWith("Chart");return re.Children.map(v,function(Z){return re.isValidElement(Z)?R.cloneElement(Z,fg({width:te,height:U},J?{style:fg({height:"100%",width:"100%",maxHeight:U,maxWidth:te},Z.props.style)}:{})):Z})},[r,v,u,m,d,h,H,o]);return re.createElement("div",{id:E?"".concat(E):void 0,className:Nt("recharts-responsive-container",_),style:fg(fg({},P),{},{width:o,height:u,minWidth:h,minHeight:d,maxHeight:m}),ref:O},z)}),Dq=function(t){return null};Dq.displayName="Cell";function mh(e){"@babel/helpers - typeof";return mh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mh(e)}function XP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function n5(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?XP(Object(r),!0).forEach(function(n){Wpe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):XP(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Wpe(e,t,r){return t=Kpe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kpe(e){var t=Xpe(e,"string");return mh(t)=="symbol"?t:t+""}function Xpe(e,t){if(mh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(mh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var jc={widthCache:{},cacheCount:0},Qpe=2e3,Zpe={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},QP="recharts_measurement_span";function Jpe(e){var t=n5({},e);return Object.keys(t).forEach(function(r){t[r]||delete t[r]}),t}var jd=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||mp.isSsr)return{width:0,height:0};var n=Jpe(r),a=JSON.stringify({text:t,copyStyle:n});if(jc.widthCache[a])return jc.widthCache[a];try{var i=document.getElementById(QP);i||(i=document.createElement("span"),i.setAttribute("id",QP),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var o=n5(n5({},Zpe),n);Object.assign(i.style,o),i.textContent="".concat(t);var s=i.getBoundingClientRect(),u={width:s.width,height:s.height};return jc.widthCache[a]=u,++jc.cacheCount>Qpe&&(jc.cacheCount=0,jc.widthCache={}),u}catch{return{width:0,height:0}}},eme=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function gh(e){"@babel/helpers - typeof";return gh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gh(e)}function A1(e,t){return ame(e)||nme(e,t)||rme(e,t)||tme()}function tme(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 310In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rme(e,t){if(e){if(typeof e=="string")return ZP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ZP(e,t)}}function ZP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function nme(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function ame(e){if(Array.isArray(e))return e}function ime(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sme(n.key),n)}}function ome(e,t,r){return t&&JP(e.prototype,t),r&&JP(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function sme(e){var t=lme(e,"string");return gh(t)=="symbol"?t:t+""}function lme(e,t){if(gh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(gh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var eI=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,tI=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,ume=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,cme=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,Lq={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},fme=Object.keys(Lq),Xc="NaN";function dme(e,t){return e*Lq[t]}var dg=(function(){function e(t,r){ime(this,e),this.num=t,this.unit=r,this.num=t,this.unit=r,Number.isNaN(t)&&(this.unit=""),r!==""&&!ume.test(r)&&(this.num=NaN,this.unit=""),fme.includes(r)&&(this.num=dme(t,r),this.unit="px")}return ome(e,[{key:"add",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num+r.num,this.unit)}},{key:"subtract",value:function(r){return this.unit!==r.unit?new e(NaN,""):new e(this.num-r.num,this.unit)}},{key:"multiply",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num*r.num,this.unit||r.unit)}},{key:"divide",value:function(r){return this.unit!==""&&r.unit!==""&&this.unit!==r.unit?new e(NaN,""):new e(this.num/r.num,this.unit||r.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(r){var n,a=(n=cme.exec(r))!==null&&n!==void 0?n:[],i=A1(a,3),o=i[1],s=i[2];return new e(parseFloat(o),s??"")}}])})();function jq(e){if(e.includes(Xc))return Xc;for(var t=e;t.includes("*")||t.includes("/");){var r,n=(r=eI.exec(t))!==null&&r!==void 0?r:[],a=A1(n,4),i=a[1],o=a[2],s=a[3],u=dg.parse(i??""),f=dg.parse(s??""),h=o==="*"?u.multiply(f):u.divide(f);if(h.isNaN())return Xc;t=t.replace(eI,h.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var d,m=(d=tI.exec(t))!==null&&d!==void 0?d:[],v=A1(m,4),y=v[1],b=v[2],E=v[3],_=dg.parse(y??""),A=dg.parse(E??""),C=b==="+"?_.add(A):_.subtract(A);if(C.isNaN())return Xc;t=t.replace(tI,C.toString())}return t}var rI=/\(([^()]*)\)/;function hme(e){for(var t=e;t.includes("(");){var r=rI.exec(t),n=A1(r,2),a=n[1];t=t.replace(rI,jq(a))}return t}function pme(e){var t=e.replace(/\s+/g,"");return t=hme(t),t=jq(t),t}function mme(e){try{return pme(e)}catch{return Xc}}function pE(e){var t=mme(e.slice(5,-1));return t===Xc?"":t}var gme=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],vme=["dx","dy","angle","className","breakAll"];function a5(){return a5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a5.apply(this,arguments)}function nI(e,t){if(e==null)return{};var r=yme(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function yme(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function aI(e,t){return _me(e)||Eme(e,t)||xme(e,t)||bme()}function bme(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 311In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xme(e,t){if(e){if(typeof e=="string")return iI(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iI(e,t)}}function iI(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Eme(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function _me(e){if(Array.isArray(e))return e}var Bq=/[ \f\n\r\t\v\u2028\u2029]+/,zq=function(t){var r=t.children,n=t.breakAll,a=t.style;try{var i=[];Ut(r)||(n?i=r.toString().split(""):i=r.toString().split(Bq));var o=i.map(function(u){return{word:u,width:jd(u,a).width}}),s=n?0:jd("Â ",a).width;return{wordsWithComputedWidth:o,spaceWidth:s}}catch{return null}},wme=function(t,r,n,a,i){var o=t.maxLines,s=t.children,u=t.style,f=t.breakAll,h=ze(
311o),d=s,m=function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return te.reduce(function(U,J){var Z=J.word,le=J.width,G=U[U.length-1];if(G&&(a==null||i||G.width+le+n<Number(a)))G.words.push(Z),G.width+=le+n;else{var Y={words:[Z],width:le};U.push(Y)}return U},[])},v=m(r),y=function(te){return te.reduce(function(U,J){return U.width>J.width?U:J})};if(!h)return v;for(var b="â¦",E=function(te){var U=d.slice(0,te),J=zq({breakAll:f,style:u,children:U+b}).wordsWithComputedWidth,Z=m(J),le=Z.length>o||y(Z).width>Number(a);return[le,Z]},_=0,A=d.length-1,C=0,P;_<=A&&C<=d.length-1;){var O=Math.floor((_+A)/2),k=O-1,M=E(k),L=aI(M,2),H=L[0],F=L[1],$=E(O),z=aI($,1),W=z[0];if(!H&&!W&&(_=O+1),H&&W&&(A=O-1),!H&&W){P=F;break}C++}return P||v},oI=function(t){var r=Ut(t)?[]:t.toString().split(Bq);return[{words:r}]},Sme=function(t){var r=t.width,n=t.scaleToFit,a=t.children,i=t.style,o=t.breakAll,s=t.maxLines;if((r||n)&&!mp.isSsr){var u,f,h=zq({breakAll:o,children:a,style:i});if(h){var d=h.wordsWithComputedWidth,m=h.spaceWidth;u=d,f=m}else return oI(a);return wme({breakAll:o,children:a,maxLines:s,style:i},u,f,r,n)}return oI(a)},sI="#808080",C1=function(t){var r=t.x,n=r===void 0?0:r,a=t.y,i=a===void 0?0:a,o=t.lineHeight,s=o===void 0?"1em":o,u=t.capHeight,f=u===void 0?"0.71em":u,h=t.scaleToFit,d=h===void 0?!1:h,m=t.textAnchor,v=m===void 0?"start":m,y=t.verticalAnchor,b=y===void 0?"end":y,E=t.fill,_=E===void 0?sI:E,A=nI(t,gme),C=R.useMemo(function(){return Sme({breakAll:A.breakAll,children:A.children,maxLines:A.maxLines,scaleToFit:d,style:A.style,width:A.width})},[A.breakAll,A.children,A.maxLines,d,A.style,A.width]),P=A.dx,O=A.dy,k=A.angle,M=A.className,L=A.breakAll,H=nI(A,vme);if(!rn(n)||!rn(i))return null;var F=n+(ze(P)?P:0),$=i+(ze(O)?O:0),z;switch(b){case"start":z=pE("calc(".concat(f,")"));break;case"middle":z=pE("calc(".concat((C.length-1)/2," * -").concat(s," + (").concat(f," / 2))"));break;default:z=pE("calc(".concat(C.length-1," * -").concat(s,")"));break}var W=[];if(d){var K=C[0].width,te=A.width;W.push("scale(".concat((ze(te)?te/K:1)/K,")"))}return k&&W.push("rotate(".concat(k,", ").concat(F,", ").concat($,")")),W.length&&(H.transform=W.join(" ")),re.createElement("text",a5({},$t(H,!0),{x:F,y:$,className:Nt("recharts-text",M),textAnchor:v,fill:_.includes("url")?sI:_}),C.map(function(U,J){var Z=U.words.join(L?"":" ");return re.createElement("tspan",{x:F,dy:J===0?z:s,key:"".concat(Z,"-").concat(J)},Z)}))};function ol(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Tme(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function eA(e){let t,r,n;e.length!==2?(t=ol,r=(s,u)=>ol(e(s),u),n=(s,u)=>e(s)-u):(t=e===ol||e===Tme?e:Ame,r=e,n=e);function a(s,u,f=0,h=s.length){if(f<h){if(t(u,u)!==0)return h;do{const d=f+h>>>1;r(s[d],u)<0?f=d+1:h=d}while(f<h)}return f}function i(s,u,f=0,h=s.length){if(f<h){if(t(u,u)!==0)return h;do{const d=f+h>>>1;r(s[d],u)<=0?f=d+1:h=d}while(f<h)}return f}function o(s,u,f=0,h=s.length){const d=a(s,u,f,h-1);return d>f&&n(s[d-1],u)>-n(s[d],u)?d-1:d}return{left:a,center:o,right:i}}function Ame(){return 0}function Hq(e){return e===null?NaN:+e}function*Cme(e,t){for(let r of e)r!=null&&(r=+r)>=r&&(yield r)}const Ome=eA(ol),gp=Ome.right;eA(Hq).center;class lI extends Map{constructor(t,r=Rme){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:r}}),t!=null)for(const[n,a]of t)this.set(n,a)}get(t){return super.get(uI(this,t))}has(t){return super.has(uI(this,t))}set(t,r){return super.set(kme(this,t),r)}delete(t){return super.delete(Nme(this,t))}}function uI({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):r}function kme({_intern:e,_key:t},r){const n=t(r);return e.has(n)?e.get(n):(e.set(n,r),r)}function Nme({_intern:e,_key:t},r){const n=t(r);return e.has(n)&&(r=e.get(n),e.delete(n)),r}function Rme(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Mme(e=ol){if(e===ol)return Fq;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,r)=>{const n=e(t,r);return n||n===0?n:(e(r,r)===0)-(e(t,t)===0)}}function Fq(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:e>t?1:0)}const Pme=Math.sqrt(50),Ime=Math.sqrt(10),Dme=Math.sqrt(2);function O1(e,t,r){const n=(t-e)/Math.max(0,r),a=Math.floor(Math.log10(n)),i=n/Math.pow(10,a),o=i>=Pme?10:i>=Ime?5:i>=Dme?2:1;let s,u,f;return a<0?(f=Math.pow(10,-a)/o,s=Math.round(e*f),u=Math.round(t*f),s/f<e&&++s,u/f>t&&--u,f=-f):(f=Math.pow(10,a)*o,s=Math.round(e/f),u=Math.round(t/f),s*f<e&&++s,u*f>t&&--u),u<s&&.5<=r&&r<2?O1(e,t,r*2):[s,u,f]}function i5(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[a,i,o]=n?O1(t,e,r):O1(e,t,r);if(!(i>=a))return[];const s=i-a+1,u=new Array(s);if(n)if(o<0)for(let f=0;f<s;++f)u[f]=(i-f)/-o;else for(let f=0;f<s;++f)u[f]=(i-f)*o;else if(o<0)for(let f=0;f<s;++f)u[f]=(a+f)/-o;else for(let f=0;f<s;++f)u[f]=(a+f)*o;return u}function o5(e,t,r){return t=+t,e=+e,r=+r,O1(e,t,r)[2]}function s5(e,t,r){t=+t,e=+e,r=+r;const n=t<e,a=n?o5(t,e,r):o5(e,t,r);return(n?-1:1)*(a<0?1/-a:a)}function cI(e,t){let r;if(t===void 0)for(const n of e)n!=null&&(r<n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let a of e)(a=t(a,++n,e))!=null&&(r<a||r===void 0&&a>=a)&&(r=a)}return r}function fI(e,t){let r;if(t===void 0)for(const n of e)n!=null&&(r>n||r===void 0&&n>=n)&&(r=n);else{let n=-1;for(let a of e)(a=t(a,++n,e))!=null&&(r>a||r===void 0&&a>=a)&&(r=a)}return r}function $q(e,t,r=0,n=1/0,a){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),n=Math.floor(Math.min(e.length-1,n)),!(r<=t&&t<=n))return e;for(a=a===void 0?Fq:Mme(a);n>r;){if(n-r>600){const u=n-r+1,f=t-r+1,h=Math.log(u),d=.5*Math.exp(2*h/3),m=.5*Math.sqrt(h*d*(u-d)/u)*(f-u/2<0?-1:1),v=Math.max(r,Math.floor(t-f*d/u+m)),y=Math.min(n,Math.floor(t+(u-f)*d/u+m));$q(e,t,v,y,a)}const i=e[t];let o=r,s=n;for(sd(e,r,t),a(e[n],i)>0&&sd(e,r,n);o<s;){for(sd(e,o,s),++o,--s;a(e[o],i)<0;)++o;for(;a(e[s],i)>0;)--s}a(e[r],i)===0?sd(e,r,s):(++s,sd(e,s,n)),s<=t&&(r=s+1),t<=s&&(n=s-1)}return e}function sd(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function Lme(e,t,r){if(e=Float64Array.from(Cme(e)),!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return fI(e);if(t>=1)return cI(e);var n,a=(n-1)*t,i=Math.floor(a),o=cI($q(e,i).subarray(0,i+1)),s=fI(e.subarray(i+1));return o+(s-o)*(a-i)}}function jme(e,t,r=Hq){if(!(!(n=e.length)||isNaN(t=+t))){if(t<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,a=(n-1)*t,i=Math.floor(a),o=+r(e[i],i,e),s=+r(e[i+1],i+1,e);return o+(s-o)*(a-i)}}function Bme(e,t,r){e=+e,t=+t,r=(a=arguments.length)<2?(t=e,e=0,1):a<3?1:+r;for(var n=-1,a=Math.max(0,Math.ceil((t-e)/r))|0,i=new Array(a);++n<a;)i[n]=e+n*r;return i}function pi(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function ms(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}
311const l5=Symbol("implicit");function tA(){var e=new lI,t=[],r=[],n=l5;function a(i){let o=e.get(i);if(o===void 0){if(n!==l5)return n;e.set(i,o=t.push(i)-1)}return r[o%r.length]}return a.domain=function(i){if(!arguments.length)return t.slice();t=[],e=new lI;for(const o of i)e.has(o)||e.set(o,t.push(o)-1);return a},a.range=function(i){return arguments.length?(r=Array.from(i),a):r.slice()},a.unknown=function(i){return arguments.length?(n=i,a):n},a.copy=function(){return tA(t,r).unknown(n)},pi.apply(a,arguments),a}function vh(){var e=tA().unknown(void 0),t=e.domain,r=e.range,n=0,a=1,i,o,s=!1,u=0,f=0,h=.5;delete e.unknown;function d(){var m=t().length,v=a<n,y=v?a:n,b=v?n:a;i=(b-y)/Math.max(1,m-u+f*2),s&&(i=Math.floor(i)),y+=(b-y-i*(m-u))*h,o=i*(1-u),s&&(y=Math.round(y),o=Math.round(o));var E=Bme(m).map(function(_){return y+i*_});return r(v?E.reverse():E)}return e.domain=function(m){return arguments.length?(t(m),d()):t()},e.range=function(m){return arguments.length?([n,a]=m,n=+n,a=+a,d()):[n,a]},e.rangeRound=function(m){return[n,a]=m,n=+n,a=+a,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return i},e.round=function(m){return arguments.length?(s=!!m,d()):s},e.padding=function(m){return arguments.length?(u=Math.min(1,f=+m),d()):u},e.paddingInner=function(m){return arguments.length?(u=Math.min(1,m),d()):u},e.paddingOuter=function(m){return arguments.length?(f=+m,d()):f},e.align=function(m){return arguments.length?(h=Math.max(0,Math.min(1,m)),d()):h},e.copy=function(){return vh(t(),[n,a]).round(s).paddingInner(u).paddingOuter(f).align(h)},pi.apply(d(),arguments)}function Uq(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Uq(t())},e}function Bd(){return Uq(vh.apply(null,arguments).paddingInner(1))}function rA(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function qq(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function vp(){}var yh=.7,k1=1/yh,of="\\s*([+-]?\\d+)\\s*",bh="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",oo="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",zme=/^#([0-9a-f]{3,8})$/,Hme=new RegExp(`^rgb\\(${of},${of},${of}
311\\)$`),Fme=new RegExp(`^rgb\\(${oo},${oo},${oo}\\)$`),$me=new RegExp(`^rgba\\(${of},${of},${of},${bh}\\)$`),Ume=new RegExp(`^rgba\\(${oo},${oo},${oo},${bh}\\)$`),qme=new RegExp(`^hsl\\(${bh},${oo},${oo}\\)$`),Vme=new RegExp(`^hsla\\(${bh},${oo},${oo},${bh}\\)$`),dI={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};rA(vp,xh,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:hI,formatHex:hI,formatHex8:Gme,formatHsl:Yme,formatRgb:pI,toString:pI});function hI(){return this.rgb().formatHex()}function Gme(){return this.rgb().formatHex8()}function Yme(){return Vq(this).formatHsl()}function pI(){return this.rgb().formatRgb()}function xh(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=zme.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?mI(t):r===3?new pa(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?hg(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?hg(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Hme.exec(e))?new pa(t[1],t[2],t[3],1):(t=Fme.exec(e))?new pa(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=$me.exec(e))?hg(t[1],t[2],t[3],t[4]):(t=Ume.exec(e))?hg(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=qme.exec(e))?yI(t[1],t[2]/100,t[3]/100,1):(t=Vme.exec(e))?yI(t[1],t[2]/100,t[3]/100,t[4]):dI.hasOwnProperty(e)?mI(dI[e]):e==="transparent"?new pa(NaN,NaN,NaN,0):null}function mI(e){return new pa(e>>16&255,e>>8&255,e&255,1)}function hg(e,t,r,n){return n<=0&&(e=t=r=NaN),new pa(e,t,r,n)}function Wme(e){return e instanceof vp||(e=xh(e)),e?(e=e.rgb(),new pa(e.r,e.g,e.b,e.opacity)):new pa}function u5(e,t,r,n){return arguments.length===1?Wme(e):new pa(e,t,r,n??1)}function pa(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}
vendor: 5,585 bytes, line 311
311rA(pa,u5,qq(vp,{brighter(e){return e=e==null?k1:Math.pow(k1,e),new pa(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?yh:Math.pow(yh,e),new pa(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new pa(fu(this.r),fu(this.g),fu(this.b),N1(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:gI,formatHex:gI,formatHex8:Kme,formatRgb:vI,toString:vI}));function gI(){return`#${iu(this.r)}${iu(this.g)}${iu(this.b)}`}function Kme(){return`#${iu(this.r)}${iu(this.g)}${iu(this.b)}${iu((isNaN(this.opacity)?1:this.opacity)*255)}`}function vI(){const e=N1(this.opacity);return`${e===1?"rgb(":"rgba("}${fu(this.r)}, ${fu(this.g)}, ${fu(this.b)}${e===1?")":`, ${e})`}`}function N1(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function fu(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function iu(e){return e=fu(e),(e<16?"0":"")+e.toString(16)}function yI(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Ti(e,t,r,n)}function Vq(e){if(e instanceof Ti)return new Ti(e.h,e.s,e.l,e.opacity);if(e instanceof vp||(e=xh(e)),!e)return new Ti;if(e instanceof Ti)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,a=Math.min(t,r,n),i=Math.max(t,r,n),o=NaN,s=i-a,u=(i+a)/2;return s?(t===i?o=(r-n)/s+(r<n)*6:r===i?o=(n-t)/s+2:o=(t-r)/s+4,s/=u<.5?i+a:2-i-a,o*=60):s=u>0&&u<1?0:o,new Ti(o,s,u,e.opacity)}function Xme(e,t,r,n){return arguments.length===1?Vq(e):new Ti(e,t,r,n??1)}function Ti(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}rA(Ti,Xme,qq(vp,{brighter(e){return e=e==null?k1:Math.pow(k1,e),new Ti(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?yh:Math.pow(yh,e),new Ti(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,a=2*r-n;return new pa(mE(e>=240?e-240:e+120,a,n),mE(e,a,n),mE(e<120?e+240:e-120,a,n),this.opacity)},clamp(){return new Ti(bI(this.h),pg(this.s),pg(this.l),N1(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=N1(this.opacity);return`${e===1?"hsl(":"hsla("}${bI(this.h)}, ${pg(this.s)*100}%, ${pg(this.l)*100}%${e===1?")":`, ${e})`}`}}));function bI(e){return e=(e||0)%360,e<0?e+360:e}function pg(e){return Math.max(0,Math.min(1,e||0))}function mE(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const Ty=e=>()=>e;function Gq(e,t){return function(r){return e+r*t}}function Qme(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function sje(e,t){var r=t-e;return r?Gq(e,r>180||r<-180?r-360*Math.round(r/360):r):Ty(isNaN(e)?t:e)}function Zme(e){return(e=+e)==1?Yq:function(t,r){return r-t?Qme(t,r,e):Ty(isNaN(t)?r:t)}}function Yq(e,t){var r=t-e;return r?Gq(e,r):Ty(isNaN(e)?t:e)}const xI=(function e(t){var r=Zme(t);function n(a,i){var o=r((a=u5(a)).r,(i=u5(i)).r),s=r(a.g,i.g),u=r(a.b,i.b),f=Yq(a.opacity,i.opacity);return function(h){return a.r=o(h),a.g=s(h),a.b=u(h),a.opacity=f(h),a+""}}return n.gamma=e,n})(1);function Jme(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),a;return function(i){for(a=0;a<r;++a)n[a]=e[a]*(1-i)+t[a]*i;return n}}function ege(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function tge(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,a=new Array(n),i=new Array(r),o;for(o=0;o<n;++o)a[o]=Zf(e[o],t[o]);for(;o<r;++o)i[o]=t[o];return function(s){for(o=0;o<n;++o)i[o]=a[o](s);return i}}function rge(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function R1(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function nge(e,t){var r={},n={},a;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(a in t)a in e?r[a]=Zf(e[a],t[a]):n[a]=t[a];return function(i){for(a in r)n[a]=r[a](i);return n}}var c5=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,gE=new RegExp(c5.source,"g");function age(e){return function(){return e}}function ige(e){return function(t){return e(t)+""}}function oge(e,t){var r=c5.lastIndex=gE.lastIndex=0,n,a,i,o=-1,s=[],u=[];for(e=e+"",t=t+"";(n=c5.exec(e))&&(a=gE.exec(t));)(i=a.index)>r&&(i=t.slice(r,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(a=a[0])?s[o]?s[o]+=a:s[++o]=a:(s[++o]=null,u.push({i:o,x:R1(n,a)})),r=gE.lastIndex;return r<t.length&&(i=t.slice(r),s[o]?s[o]+=i:s[++o]=i),s.length<2?u[0]?ige(u[0].x):age(t):(t=u.length,function(f){for(var h=0,d;h<t;++h)s[(d=u[h]).i]=d.x(f);return s.join("")})}function Zf(e,t){var r=typeof t,n;return t==null||r==="boolean"?Ty(t):(r==="number"?R1:r==="string"?(n=xh(t))?(t=n,xI):oge:t instanceof xh?xI:t instanceof Date?rge:ege(t)?Jme:Array.isArray(t)?tge:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?nge:R1)(e,t)}function nA(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function sge(e,t){t===void 0&&(t=e,e=Zf);for(var r=0,n=t.length-1,a=t[0],i=new Array(n<0?0:n);r<n;)i[r]=e(a,a=t[++r]);return function(o){var s=Math.max(0,Math.min(n-1,Math.floor(o*=n)));return i[s](o-s)}}function lge(e){return function(){return e}}function M1(e){return+e}var EI=[0,1];function Gn(e){return e}function f5(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:lge(isNaN(t)?NaN:.5)}function uge(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function cge(e,t,r){var n=e[0],a=e[1],i=t[0],o=t[1];return a<n?(n=f5(a,n),i=r(o,i)):(n=f5(n,a),i=r(i,o)),function(s){return i(n(s))}}
vendor: 5,321 bytes, line 311
311function fge(e,t,r){var n=Math.min(e.length,t.length)-1,a=new Array(n),i=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)a[o]=f5(e[o],e[o+1]),i[o]=r(t[o],t[o+1]);return function(s){var u=gp(e,s,1,n)-1;return i[u](a[u](s))}}function yp(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Ay(){var e=EI,t=EI,r=Zf,n,a,i,o=Gn,s,u,f;function h(){var m=Math.min(e.length,t.length);return o!==Gn&&(o=uge(e[0],e[m-1])),s=m>2?fge:cge,u=f=null,d}function d(m){return m==null||isNaN(m=+m)?i:(u||(u=s(e.map(n),t,r)))(n(o(m)))}return d.invert=function(m){return o(a((f||(f=s(t,e.map(n),R1)))(m)))},d.domain=function(m){return arguments.length?(e=Array.from(m,M1),h()):e.slice()},d.range=function(m){return arguments.length?(t=Array.from(m),h()):t.slice()},d.rangeRound=function(m){return t=Array.from(m),r=nA,h()},d.clamp=function(m){return arguments.length?(o=m?!0:Gn,h()):o!==Gn},d.interpolate=function(m){return arguments.length?(r=m,h()):r},d.unknown=function(m){return arguments.length?(i=m,d):i},function(m,v){return n=m,a=v,h()}}function aA(){return Ay()(Gn,Gn)}function dge(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function P1(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function wf(e){return e=P1(Math.abs(e)),e?e[1]:NaN}function hge(e,t){return function(r,n){for(var a=r.length,i=[],o=0,s=e[0],u=0;a>0&&s>0&&(u+s+1>n&&(s=Math.max(1,n-u)),i.push(r.substring(a-=s,a+s)),!((u+=s+1)>n));)s=e[o=(o+1)%e.length];return i.reverse().join(t)}}function pge(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var mge=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Eh(e){if(!(t=mge.exec(e)))throw new Error("invalid format: "+e);var t;return new iA({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Eh.prototype=iA.prototype;function iA(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}iA.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function gge(e){e:for(var t=e.length,r=1,n=-1,a;r<t;++r)switch(e[r]){case".":n=a=r;break;case"0":n===0&&(n=r),a=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(a+1):e}var Wq;function vge(e,t){var r=P1(e,t);if(!r)return e+"";var n=r[0],a=r[1],i=a-(Wq=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,o=n.length;return i===o?n:i>o?n+new Array(i-o+1).join("0"):i>0?n.slice(0,i)+"."+n.slice(i):"0."+new Array(1-i).join("0")+P1(e,Math.max(0,t+i-1))[0]}function _I(e,t){var r=P1(e,t);if(!r)return e+"";var n=r[0],a=r[1];return a<0?"0."+new Array(-a).join("0")+n:n.length>a+1?n.slice(0,a+1)+"."+n.slice(a+1):n+new Array(a-n.length+2).join("0")}const wI={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:dge,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>_I(e*100,t),r:_I,s:vge,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function SI(e){return e}var TI=Array.prototype.map,AI=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function yge(e){var t=e.grouping===void 0||e.thousands===void 0?SI:hge(TI.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",a=e.decimal===void 0?".":e.decimal+"",i=e.numerals===void 0?SI:pge(TI.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"â":e.minus+"",u=e.nan===void 0?"NaN":e.nan+"";function f(d){d=Eh(d);var m=d.fill,v=d.align,y=d.sign,b=d.symbol,E=d.zero,_=d.width,A=d.comma,C=d.precision,P=d.trim,O=d.type;O==="n"?(A=!0,O="g"):wI[O]||(C===void 0&&(C=12),P=!0,O="g"),(E||m==="0"&&v==="=")&&(E=!0,m="0",v="=");var k=b==="$"?r:b==="#"&&/[boxX]/.test(O)?"0"+O.toLowerCase():"",M=b==="$"?n:/[%p]/.test(O)?o:"",L=wI[O],H=/[defgprs%]/.test(O);C=C===void 0?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,C)):Math.max(0,Math.min(20,C));function F($){var z=k,W=M,K,te,U;if(O==="c")W=L($)+W,$="";else{$=+$;var J=$<0||1/$<0;if($=isNaN($)?u:L(Math.abs($),C),P&&($=gge($)),J&&+$==0&&y!=="+"&&(J=!1),z=(J?y==="("?y:s:y==="-"||y==="("?"":y)+z,W=(O==="s"?AI[8+Wq/3]:"")+W+(J&&y==="("?")":""),H){for(K=-1,te=$.length;++K<te;)if(U=$.charCodeAt(K),48>U||U>57){W=(U===46?a+$.slice(K+1):$.slice(K))+W,$=$.slice(0,K);break}}}A&&!E&&($=t($,1/0));var Z=z.length+$.length+W.length,le=Z<_?new Array(_-Z+1).join(m):"";switch(A&&E&&($=t(le+$,le.length?_-W.length:1/0),le=""),v){case"<":$=z+$+W+le;break;case"=":$=z+le+$+W;break;case"^":$=le.slice(0,Z=le.length>>
3111)+z+$+W+le.slice(Z);break;default:$=le+z+$+W;break}return i($)}return F.toString=function(){return d+""},F}function h(d,m){var v=f((d=Eh(d),d.type="f",d)),y=Math.max(-8,Math.min(8,Math.floor(wf(m)/3)))*3,b=Math.pow(10,-y),E=AI[8+y/3];return function(_){return v(b*_)+E}}return{format:f,formatPrefix:h}}var mg,oA,Kq;bge({thousands:",",grouping:[3],currency:["$",""]});function bge(e){return mg=yge(e),oA=mg.format,Kq=mg.formatPrefix,mg}function xge(e){return Math.max(0,-wf(Math.abs(e)))}function Ege(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(wf(t)/3)))*3-wf(Math.abs(e)))}function _ge(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,wf(t)-wf(e))+1}function Xq(e,t,r,n){var a=s5(e,t,r),i;switch(n=Eh(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(i=Ege(a,o))&&(n.precision=i),Kq(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(i=_ge(a,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=i-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(i=xge(a))&&(n.precision=i-(n.type==="%")*2);break}}return oA(n)}function xl(e){var t=e.domain;return e.ticks=function(r){var n=t();return i5(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var a=t();return Xq(a[0],a[a.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),a=0,i=n.length-1,o=n[a],s=n[i],u,f,h=10;for(s<o&&(f=o,o=s,s=f,f=a,a=i,i=f);h-- >0;){if(f=o5(o,s,r),f===u)return n[a]=o,n[i]=s,t(n);if(f>0)o=Math.floor(o/f)*f,s=Math.ceil(s/f)*f;else if(f<0)o=Math.ceil(o*f)/f,s=Math.floor(s*f)/f;else break;u=f}return e},e}function I1(){var e=aA();return e.copy=function(){return yp(e,I1())},pi.apply(e,arguments),xl(e)}function Qq(e){var t;function r(n){return n==null||isNaN(n=+n)?t:n}return r.invert=r,r.domain=r.range=function(n){return arguments.length?(e=Array.from(n,M1),r):e.slice()},r.unknown=function(n){return arguments.length?(t=n,r):t},r.copy=function(){return Qq(e).unknown(t)},e=arguments.length?Array.from(e,M1):[0,1],xl(r)}function Zq(e,t){e=e.slice();var r=0,n=e.length-1,a=e[r],i=e[n],o;return i<a&&(o=r,r=n,n=o,o=a,a=i,i=o),e[r]=t.floor(a),e[n]=t.ceil(i),e}function CI(e){return Math.log(e)}function OI(e){return Math.exp(e)}function wge(e){return-Math.log(-e)}function Sge(e){return-Math.exp(-e)}function Tge(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Age(e){return e===10?Tge:e===Math.E?Math.exp:t=>Math.pow(e,t)}function Cge(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function kI(e){return(t,r)=>-e(-t,r)}function sA(e){const t=e(CI,OI),r=t.domain;let n=10,a,i;function o(){return a=Cge(n),i=Age(n),r()[0]<0?(a=kI(a),i=kI(i),e(wge,Sge)):e(CI,OI),t}return t.base=function(s){return arguments.length?(n=+s,o()):n},t.domain=function(s){return arguments.length?(r(s),o()):r()},t.ticks=s=>{const u=r();let f=u[0],h=u[u.length-1];const d=h<f;d&&([f,h]=[h,f]);let m=a(f),v=a(h),y,b;const E=s==null?10:+s;let _=[];if(!(n%1)&&v-m<E){if(m=Math.floor(m),v=Math.ceil(v),f>0){for(;m<=v;++m)for(y=1;y<n;++y)if(b=m<0?y/i(-m):y*i(m),!(b<f)){if(b>h)break;_.push(b)}}else for(;m<=v;++m)for(y=n-1;y>=1;--y)if(b=m>0?y/i(-m):y*i(m),!(b<f)){if(b>h)break;_.push(b)}_.length*2<E&&(_=i5(f,h,E))}else _=i5(m,v,Math.min(v-m,E)).map(i);return d?_.reverse():_},t.tickFormat=(s,u)=>{if(s==null&&(s=10),u==null&&(u=n===10?"s":","),typeof u!="function"&&(!(n%1)&&(u=Eh(u)).precision==null&&(u.trim=!0),u=oA(u)),s===1/0)return u;const f=Math.max(1,n*s/t.ticks().length);return h=>{let d=h/i(Math.round(a(h)));return d*n<n-.5&&(d*=n),d<=f?u(h):""}},t.nice=()=>r(Zq(r(),{floor:s=>i(Math.floor(a(s))),ceil:s=>i(Math.ceil(a(s)))})),t}function Jq(){const e=sA(Ay()).domain([1,10]);return e.copy=()=>yp(e,Jq()).base(e.base()),pi.apply(e,arguments),e}function NI(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function RI(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function lA(e){var t=1,r=e(NI(t),RI(t));return r.constant=function(n){return arguments.length?e(NI(t=+n),RI(t)):t},xl(r)}function eV(){var e=lA(Ay());return e.copy=function(){return yp(e,eV()).constant(e.constant())},pi.apply(e,arguments)}function MI(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Oge(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function kge(e){return e<0?-e*e:e*e}function uA(e){var t=e(Gn,Gn),r=1;function n(){return r===1?e(Gn,Gn):r===.5?e(Oge,kge):e(MI(r),MI(1/r))}return t.exponent=function(a){return arguments.length?(r=+a,n()):r},xl(t)}function cA(){var e=uA(Ay());return e.copy=function(){return yp(e,cA()).exponent(e.exponent())},pi.apply(e,arguments),e}function Nge(){return cA.apply(null,arguments).exponent(.5)}function PI(e){return Math.sign(e)*e*e}function Rge(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function tV(){var e=aA(),t=[0,1],r=!1,n;function a(i){var o=Rge(e(i));return isNaN(o)?n:r?Math.round(o):o}return a.invert=function(i){return e.invert(PI(i))},a.domain=function(i){return arguments.length?(e.domain(i),a):e.domain()},a.range=function(i){return arguments.length?(e.range((t=Array.from(i,M1)).map(PI)),a):t.slice()}
311,a.rangeRound=function(i){return a.range(i).round(!0)},a.round=function(i){return arguments.length?(r=!!i,a):r},a.clamp=function(i){return arguments.length?(e.clamp(i),a):e.clamp()},a.unknown=function(i){return arguments.length?(n=i,a):n},a.copy=function(){return tV(e.domain(),t).round(r).clamp(e.clamp()).unknown(n)},pi.apply(a,arguments),xl(a)}function rV(){var e=[],t=[],r=[],n;function a(){var o=0,s=Math.max(1,t.length);for(r=new Array(s-1);++o<s;)r[o-1]=jme(e,o/s);return i}function i(o){return o==null||isNaN(o=+o)?n:t[gp(r,o)]}return i.invertExtent=function(o){var s=t.indexOf(o);return s<0?[NaN,NaN]:[s>0?r[s-1]:e[0],s<r.length?r[s]:e[e.length-1]]},i.domain=function(o){if(!arguments.length)return e.slice();e=[];for(let s of o)s!=null&&!isNaN(s=+s)&&e.push(s);return e.sort(ol),a()},i.range=function(o){return arguments.length?(t=Array.from(o),a()):t.slice()},i.unknown=function(o){return arguments.length?(n=o,i):n},i.quantiles=function(){return r.slice()},i.copy=function(){return rV().domain(e).range(t).unknown(n)},pi.apply(i,arguments)}function nV(){var e=0,t=1,r=1,n=[.5],a=[0,1],i;function o(u){return u!=null&&u<=u?a[gp(n,u,0,r)]:i}function s(){var u=-1;for(n=new Array(r);++u<r;)n[u]=((u+1)*t-(u-r)*e)/(r+1);return o}return o.domain=function(u){return arguments.length?([e,t]=u,e=+e,t=+t,s()):[e,t]},o.range=function(u){return arguments.length?(r=(a=Array.from(u)).length-1,s()):a.slice()},o.invertExtent=function(u){var f=a.indexOf(u);return f<0?[NaN,NaN]:f<1?[e,n[0]]:f>=r?[n[r-1],t]:[n[f-1],n[f]]},o.unknown=function(u){return arguments.length&&(i=u),o},o.thresholds=function(){return n.slice()},o.copy=function(){return nV().domain([e,t]).range(a).unknown(i)},pi.apply(xl(o),arguments)}function aV(){var e=[.5],t=[0,1],r,n=1;function a(i){return i!=null&&i<=i?t[gp(e,i,0,n)]:r}return a.domain=function(i){return arguments.length?(e=Array.from(i),n=Math.min(e.length,t.length-1),a):e.slice()},a.range=function(i){return arguments.length?(t=Array.from(i),n=Math.min(e.length,t.length-1),a):t.slice()},a.invertExtent=function(i){var o=t.indexOf(i);return[e[o-1],e[o]]},a.unknown=function(i){return arguments.length?(r=i,a):r},a.copy=function(){return aV().domain(e).range(t).unknown(r)},pi.apply(a,arguments)}const vE=new Date,yE=new Date;function an(e,t,r,n){function a(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return a.floor=i=>(e(i=new Date(+i)),i),a.ceil=i=>(e(i=new Date(i-1)),t(i,1),e(i),i),a.round=i=>{const o=a(i),s=a.ceil(i);return i-o<s-i?o:s},a.offset=(i,o)=>(t(i=new Date(+i),o==null?1:Math.floor(o)),i),a.range=(i,o,s)=>{const u=[];if(i=a.ceil(i),s=s==null?1:Math.floor(s),!(i<o)||!(s>0))return u;let f;do u.push(f=new Date(+i)),t(i,s),e(i);while(f<i&&i<o);return u},a.filter=i=>an(o=>
vendor: 13,166 bytes, line 311
311{if(o>=o)for(;e(o),!i(o);)o.setTime(o-1)},(o,s)=>{if(o>=o)if(s<0)for(;++s<=0;)for(;t(o,-1),!i(o););else for(;--s>=0;)for(;t(o,1),!i(o););}),r&&(a.count=(i,o)=>(vE.setTime(+i),yE.setTime(+o),e(vE),e(yE),Math.floor(r(vE,yE))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(n?o=>n(o)%i===0:o=>a.count(0,o)%i===0):a)),a}const D1=an(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);D1.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?an(t=>{t.setTime(Math.floor(t/e)*e)},(t,r)=>{t.setTime(+t+r*e)},(t,r)=>(r-t)/e):D1);D1.range;const Yo=1e3,ii=Yo*60,Wo=ii*60,is=Wo*24,fA=is*7,II=is*30,bE=is*365,ou=an(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Yo)},(e,t)=>(t-e)/Yo,e=>e.getUTCSeconds());ou.range;const dA=an(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Yo)},(e,t)=>{e.setTime(+e+t*ii)},(e,t)=>(t-e)/ii,e=>e.getMinutes());dA.range;const hA=an(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*ii)},(e,t)=>(t-e)/ii,e=>e.getUTCMinutes());hA.range;const pA=an(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Yo-e.getMinutes()*ii)},(e,t)=>{e.setTime(+e+t*Wo)},(e,t)=>(t-e)/Wo,e=>e.getHours());pA.range;const mA=an(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Wo)},(e,t)=>(t-e)/Wo,e=>e.getUTCHours());mA.range;const bp=an(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ii)/is,e=>e.getDate()-1);bp.range;const Cy=an(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/is,e=>e.getUTCDate()-1);Cy.range;const iV=an(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/is,e=>Math.floor(e/is));iV.range;function Iu(e){return an(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,r)=>{t.setDate(t.getDate()+r*7)},(t,r)=>(r-t-(r.getTimezoneOffset()-t.getTimezoneOffset())*ii)/fA)}const Oy=Iu(0),L1=Iu(1),Mge=Iu(2),Pge=Iu(3),Sf=Iu(4),Ige=Iu(5),Dge=Iu(6);Oy.range;L1.range;Mge.range;Pge.range;Sf.range;Ige.range;Dge.range;function Du(e){return an(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCDate(t.getUTCDate()+r*7)},(t,r)=>(r-t)/fA)}const ky=Du(0),j1=Du(1),Lge=Du(2),jge=Du(3),Tf=Du(4),Bge=Du(5),zge=Du(6);ky.range;j1.range;Lge.range;jge.range;Tf.range;Bge.range;zge.range;const gA=an(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());gA.range;const vA=an(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());vA.range;const os=an(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());os.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:an(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,r)=>{t.setFullYear(t.getFullYear()+r*e)});os.range;const ss=an(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());ss.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:an(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)});ss.range;function oV(e,t,r,n,a,i){const o=[[ou,1,Yo],[ou,5,5*Yo],[ou,15,15*Yo],[ou,30,30*Yo],[i,1,ii],[i,5,5*ii],[i,15,15*ii],[i,30,30*ii],[a,1,Wo],[a,3,3*Wo],[a,6,6*Wo],[a,12,12*Wo],[n,1,is],[n,2,2*is],[r,1,fA],[t,1,II],[t,3,3*II],[e,1,bE]];function s(f,h,d){const m=h<f;m&&([f,h]=[h,f]);const v=d&&typeof d.range=="function"?d:u(f,h,d),y=v?v.range(f,+h+1):[];return m?y.reverse():y}function u(f,h,d){const m=Math.abs(h-f)/d,v=eA(([,,E])=>E).right(o,m);if(v===o.length)return e.every(s5(f/bE,h/bE,d));if(v===0)return D1.every(Math.max(s5(f,h,d),1));const[y,b]=o[m/o[v-1][2]<o[v][2]/m?v-1:v];return y.every(b)}return[s,u]}const[Hge,Fge]=oV(ss,vA,ky,iV,mA,hA),[$ge,Uge]=oV(os,gA,Oy,bp,pA,dA);function xE(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function EE(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function ld(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function qge(e){var t=e.dateTime,r=e.date,n=e.time,a=e.periods,i=e.days,o=e.shortDays,s=e.months,u=e.shortMonths,f=ud(a),h=cd(a),d=ud(i),m=cd(i),v=ud(o),y=cd(o),b=ud(s),E=cd(s),_=ud(u),A=cd(u),C={a:J,A:Z,b:le,B:G,c:null,d:HI,e:HI,f:h1e,g:w1e,G:T1e,H:c1e,I:f1e,j:d1e,L:sV,m:p1e,M:m1e,p:Y,q:oe,Q:UI,s:qI,S:g1e,u:v1e,U:y1e,V:b1e,w:x1e,W:E1e,x:null,X:null,y:_1e,Y:S1e,Z:A1e,"%":$I},P={a:j,A:de,b:xe,B:Oe,c:null,d:FI,e:FI,f:N1e,g:H1e,G:$1e,H:C1e,I:O1e,j:k1e,L:uV,m:R1e,M:M1e,p:Re,q:He,Q:UI,s:qI,S:P1e,u:I1e,U:D1e,V:L1e,w:j1e,W:B1e,x:null,X:null,y:z1e,Y:F1e,Z:U1e,"%":$I},O={a:F,A:$,b:z,B:W,c:K,d:BI,e:BI,f:o1e,g:jI,G:LI,H:zI,I:zI,j:r1e,L:i1e,m:t1e,M:n1e,p:H,q:e1e,Q:l1e,s:u1e,S:a1e,u:Kge,U:Xge,V:Qge,w:Wge,W:Zge,x:te,X:U,y:jI,Y:LI,Z:Jge,"%":s1e};C.x=k(r,C),C.X=k(n,C),C.c=k(t,C),P.x=k(r,P),P.X=k(n,P),P.c=k(t,P);function k(Te,Ue){return function(Ke){var Ae=[],St=-1,rt=0,Ht=Te.length,Pt,Kt,Rr;for(Ke instanceof Date||(Ke=new Date(+Ke));++St<Ht;)Te.charCodeAt(St)===37&&(Ae.push(Te.slice(rt,St)),(Kt=DI[Pt=Te.charAt(++St)])!=null?Pt=Te.charAt(++St):Kt=Pt==="e"?" ":"0",(Rr=Ue[Pt])&&(Pt=Rr(Ke,Kt)),Ae.push(Pt),rt=St+1);return Ae.push(Te.slice(rt,St)),Ae.join("")}}function M(Te,Ue){return function(Ke){var Ae=ld(1900,void 0,1),St=L(Ae,Te,Ke+="",0),rt,Ht;if(St!=Ke.length)return null;if("Q"in Ae)return new Date(Ae.Q);if("s"in Ae)return new Date(Ae.s*1e3+("L"in Ae?Ae.L:0));if(Ue&&!("Z"in Ae)&&(Ae.Z=0),"p"in Ae&&(Ae.H=Ae.H%12+Ae.p*12),Ae.m===void 0&&(Ae.m="q"in Ae?Ae.q:0),"V"in Ae){if(Ae.V<1||Ae.V>53)return null;"w"in Ae||(Ae.w=1),"Z"in Ae?(rt=EE(ld(Ae.y,0,1)),Ht=rt.getUTCDay(),rt=Ht>4||Ht===0?j1.ceil(rt):j1(rt),rt=Cy.offset(rt,(Ae.V-1)*7),Ae.y=rt.getUTCFullYear(),Ae.m=rt.getUTCMonth(),Ae.d=rt.getUTCDate()+(Ae.w+6)%7):(rt=xE(ld(Ae.y,0,1)),Ht=rt.getDay(),rt=Ht>4||Ht===0?L1.ceil(rt):L1(rt),rt=bp.offset(rt,(Ae.V-1)*7),Ae.y=rt.getFullYear(),Ae.m=rt.getMonth(),Ae.d=rt.getDate()+(Ae.w+6)%7)}else("W"in Ae||"U"in Ae)&&("w"in Ae||(Ae.w="u"in Ae?Ae.u%7:"W"in Ae?1:0),Ht="Z"in Ae?EE(ld(Ae.y,0,1)).getUTCDay():xE(ld(Ae.y,0,1)).getDay(),Ae.m=0,Ae.d="W"in Ae?(Ae.w+6)%7+Ae.W*7-(Ht+5)%7:Ae.w+Ae.U*7-(Ht+6)%7);return"Z"in Ae?(Ae.H+=Ae.Z/100|0,Ae.M+=Ae.Z%100,EE(Ae)):xE(Ae)}}function L(Te,Ue,Ke,Ae){for(var St=0,rt=Ue.length,Ht=Ke.length,Pt,Kt;St<rt;){if(Ae>=Ht)return-1;if(Pt=Ue.charCodeAt(St++),Pt===37){if(Pt=Ue.charAt(St++),Kt=O[Pt in DI?Ue.charAt(St++):Pt],!Kt||(Ae=Kt(Te,Ke,Ae))<0)return-1}else if(Pt!=Ke.charCodeAt(Ae++))return-1}return Ae}function H(Te,Ue,Ke){var Ae=f.exec(Ue.slice(Ke));return Ae?(Te.p=h.get(Ae[0].toLowerCase()),Ke+Ae[0].length):-1}function F(Te,Ue,Ke){var Ae=v.exec(Ue.slice(Ke));return Ae?(Te.w=y.get(Ae[0].toLowerCase()),Ke+Ae[0].length):-1}function $(Te,Ue,Ke){var Ae=d.exec(Ue.slice(Ke));return Ae?(Te.w=m.get(Ae[0].toLowerCase()),Ke+Ae[0].length):-1}function z(Te,Ue,Ke){var Ae=_.exec(Ue.slice(Ke));return Ae?(Te.m=A.get(Ae[0].toLowerCase()),Ke+Ae[0].length):-1}function W(Te,Ue,Ke){var Ae=b.exec(Ue.slice(Ke));return Ae?(Te.m=E.get(Ae[0].toLowerCase()),Ke+Ae[0].length):-1}function K(Te,Ue,Ke){return L(Te,t,Ue,Ke)}function te(Te,Ue,Ke){return L(Te,r,Ue,Ke)}function U(Te,Ue,Ke){return L(Te,n,Ue,Ke)}function J(Te){return o[Te.getDay()]}function Z(Te){return i[Te.getDay()]}function le(Te){return u[Te.getMonth()]}function G(Te){return s[Te.getMonth()]}function Y(Te){return a[+(Te.getHours()>=12)]}function oe(Te){return 1+~~(Te.getMonth()/3)}function j(Te){return o[Te.getUTCDay()]}function de(Te){return i[Te.getUTCDay()]}function xe(Te){return u[Te.getUTCMonth()]}function Oe(Te){return s[Te.getUTCMonth()]}function Re(Te){return a[+(Te.getUTCHours()>=12)]}function He(Te){return 1+~~(Te.getUTCMonth()/3)}return{format:function(Te){var Ue=k(Te+="",C);return Ue.toString=function(){return Te},Ue},parse:function(Te){var Ue=M(Te+="",!1);return Ue.toString=function(){return Te},Ue},utcFormat:function(Te){var Ue=k(Te+="",P);return Ue.toString=function(){return Te},Ue},utcParse:function(Te){var Ue=M(Te+="",!0);return Ue.toString=function(){return Te},Ue}}}var DI={"-":"",_:" ",0:"0"},gn=/^\s*\d+/,Vge=/^%/,Gge=/[\\^$*+?|[\]().{}]/g;function Bt(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i<r?new Array(r-i+1).join(t)+a:a)}function Yge(e){return e.replace(Gge,"\\$&")}function ud(e){return new RegExp("^(?:"+e.map(Yge).join("|")+")","i")}function cd(e){return new Map(e.map((t,r)=>[t.toLowerCase(),r]))}function Wge(e,t,r){var n=gn.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function Kge(e,t,r){var n=gn.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function Xge(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function Qge(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function Zge(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function LI(e,t,r){var n=gn.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function jI(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function Jge(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function e1e(e,t,r){var n=gn.exec(t.slice(r,r+1));return n?(e.q=n[0]*3-3,r+n[0].length):-1}function t1e(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function BI(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function r1e(e,t,r){var n=gn.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function zI(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function n1e(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function a1e(e,t,r){var n=gn.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function i1e(e,t,r){var n=gn.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function o1e(e,t,r){var n=gn.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function s1e(e,t,r){var n=Vge.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function l1e(e,t,r){var n=gn.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function u1e(e,t,r){var n=gn.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function HI(e,t){return Bt(e.getDate(),t,2)}function c1e(e,t){return Bt(e.getHours(),t,2)}function f1e(e,t){return Bt(e.getHours()%12||12,t,2)}function d1e(e,t){return Bt(1+bp.count(os(e),e),t,3)}function sV(e,t){return Bt(e.getMilliseconds(),t,3)}function h1e(e,t){return sV(e,t)+"000"}function p1e(e,t){return Bt(e.getMonth()+1,t,2)}function m1e(e,t){return Bt(e.getMinutes(),t,2)}function g1e(e,t){return Bt(e.getSeconds(),t,2)}function v1e(e){var t=e.getDay();return t===0?7:t}function y1e(e,t){return Bt(Oy.count(os(e)-1,e),t,2)}function lV(e){var t=e.getDay();return t>=4||t===0?Sf(e):Sf.ceil(e)}function b1e(e,t){return e=lV(e),Bt(Sf.count(os(e),e)+(os(e).getDay()===4),t,2)}function x1e(e){return e.getDay()}function E1e(e,t){return Bt(L1.count(os(e)-1,e),t,2)}function _1e(e,t){return Bt(e.getFullYear()%100,t,2)}function w1e(e,t){return e=lV(e),Bt(e.getFullYear()%100,t,2)}function S1e(e,t){return Bt(e.getFullYear()%1e4,t,4)}function T1e(e,t){var r=e.getDay();return e=r>=4||r===0?Sf(e):Sf.ceil(e),Bt(e.getFullYear()%1e4,t,4)}function A1e(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Bt(t/60|0,"0",2)+Bt(t%60,"0",2)}function FI(e,t){return Bt(e.getUTCDate(),t,2)}function C1e(e,t){return Bt(e.getUTCHours(),t,2)}function O1e(e,t){return Bt(e.getUTCHours()%12||12,t,2)}function k1e(e,t){return Bt(1+Cy.count(ss(e),e),t,3)}function uV(e,t){return Bt(e.getUTCMilliseconds(),t,3)}function N1e(e,t){return uV(e,t)+"000"}function R1e(e,t){return Bt(e.getUTCMonth()+1,t,2)}function M1e(e,t){return Bt(e.getUTCMinutes(),t,2)}function P1e(e,t){return Bt(e.getUTCSeconds(),t,2)}function I1e(e){var t=e.getUTCDay();return t===0?7:t}function D1e(e,t){return Bt(ky.count(ss(e)-1,e),t,2)}function cV(e){var t=e.getUTCDay();return t>=4||t===0?Tf(e):Tf.ceil(e)}function L1e(e,t){return e=cV(e),Bt(Tf.count(ss(e),e)+(ss(e).getUTCDay()===4),t,2)}function j1e(e){return e.getUTCDay()}function B1e(e,t){return Bt(j1.count(ss(e)-1,e),t,2)}function z1e(e,t){return Bt(e.getUTCFullYear()%100,t,2)}function H1e(e,t){return e=cV(e),Bt(e.getUTCFullYear()%100,t,2)}function F1e(e,t){return Bt(e.getUTCFullYear()%1e4,t,4)}function $1e(e,t){var r=e.getUTCDay();return e=r>=4||r===0?Tf(e):Tf.ceil(e),Bt(e.getUTCFullYear()%1e4,t,4)}function U1e(){return"+0000"}function $I(){return"%"}function UI(e){return+e}function qI(e){return Math.floor(+e/1e3)}var Bc,fV,dV;q1e({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
311ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function q1e(e){return Bc=qge(e),fV=Bc.format,Bc.parse,dV=Bc.utcFormat,Bc.utcParse,Bc}function V1e(e){return new Date(e)}function G1e(e){return e instanceof Date?+e:+new Date(+e)}function yA(e,t,r,n,a,i,o,s,u,f){var h=aA(),d=h.invert,m=h.domain,v=f(".%L"),y=f(":%S"),b=f("%I:%M"),E=f("%I %p"),_=f("%a %d"),A=f("%b %d"),C=f("%B"),P=f("%Y");function O(k){return(u(k)<k?v:s(k)<k?y:o(k)<k?b:i(k)<k?E:n(k)<k?a(k)<k?_:A:r(k)<k?C:P)(k)}return h.invert=function(k){return new Date(d(k))},h.domain=function(k){return arguments.length?m(Array.from(k,G1e)):m().map(V1e)},h.ticks=function(k){var M=m();return e(M[0],M[M.length-1],k??10)},h.tickFormat=function(k,M){return M==null?O:f(M)},h.nice=function(k){var M=m();return(!k||typeof k.range!="function")&&(k=t(M[0],M[M.length-1],k??10)),k?m(Zq(M,k)):h},h.copy=function(){return yp(h,yA(e,t,r,n,a,i,o,s,u,f))},h}function Y1e(){return pi.apply(yA($ge,Uge,os,gA,Oy,bp,pA,dA,ou,fV).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function W1e(){return pi.apply(yA(Hge,Fge,ss,vA,ky,Cy,mA,hA,ou,dV).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ny(){var e=0,t=1,r,n,a,i,o=Gn,s=!1,u;function f(d){return d==null||isNaN(d=+d)?u:o(a===0?.5:(d=(i(d)-r)*a,s?Math.max(0,Math.min(1,d)):d))}f.domain=function(d){return arguments.length?([e,t]=d,r=i(e=+e),n=i(t=+t),a=r===n?0:1/(n-r),f):[e,t]},f.clamp=function(d){return arguments.length?(s=!!d,f):s},f.interpolator=function(d){return arguments.length?(o=d,f):o};function h(d){return function(m){var v,y;return arguments.length?([v,y]=m,o=d(v,y),f):[o(0),o(1)]}}return f.range=h(Zf),f.rangeRound=h(nA),f.unknown=function(d){return arguments.length?(u=d,f):u},function(d){return i=d,r=d(e),n=d(t),a=r===n?0:1/(n-r),f}}function El(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function hV(){var e=xl(Ny()(Gn));return e.copy=function(){return El(e,hV())},ms.apply(e,arguments)}function pV(){var e=sA(Ny()).domain([1,10]);return e.copy=function(){return El(e,pV()).base(e.base())},ms.apply(e,arguments)}function mV(){var e=lA(Ny());return e.copy=function(){return El(e,mV()).constant(e.constant())},ms.apply(e,arguments)}function bA(){var e=uA(Ny());return e.copy=function(){return El(e,bA()).exponent(e.exponent())},ms.apply(e,arguments)}function K1e(){return bA.apply(null,arguments).exponent(.5)}function gV(){var e=[],t=Gn;function r(n){if(n!=null&&!isNaN(n=+n))return t((gp(e,n,1)-1)/(e.length-1))}return r.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let a of n)a!=null&&!isNaN(a=+a)&&e.push(a);return e.sort(ol),r},r.interpolator=function(n){return arguments.length?(t=n,r):t},r.range=function(){return e.map((n,a)=>t(a/(e.length-1)))},r.quantiles=function(n){return Array.from({length:n+1},(a,i)=>Lme(e,i/n))},r.copy=function(){return gV(t).domain(e)},ms.apply(r,arguments)}function Ry(){var e=0,t=.5,r=1,n=1,a,i,o,s,u,f=Gn,h,d=!1,m;function v(b){return isNaN(b=+b)?m:(b=.5+((b=+h(b))-i)*(n*b<n*i?s:u),f(d?Math.max(0,Math.min(1,b)):b))}v.domain=function(b){return arguments.length?([e,t,r]=b,a=h(e=+e),i=h(t=+t),o=h(r=+r),s=a===i?0:.5/(i-a),u=i===o?0:.5/(o-i),n=i<a?-1:1,v):[e,t,r]},v.clamp=function(b){return arguments.length?(d=!!b,v):d},v.interpolator=function(b){return arguments.length?(f=b,v):f};function y(b){return function(E){var _,A,C;return arguments.length?([_,A,C]=E,f=sge(b,[_,A,C]),v):[f(0),f(.5),f(1)]}}return v.range=y(Zf),v.rangeRound=y(nA),v.unknown=function(b){return arguments.length?(m=b,v):m},function(b){return h=b,a=b(e),i=b(t),o=b(r),s=a===i?0:.5/(i-a),u=i===o?0:.5/(o-i),n=i<a?-1:1,v}}function vV(){var e=xl(Ry()(Gn));return e.copy=function(){return El(e,vV())},ms.apply(e,arguments)}function yV(){var e=sA(Ry()).domain([.1,1,10]);return e.copy=function(){return El(e,yV()).base(e.base())},ms.apply(e,arguments)}function bV(){var e=lA(Ry());return e.copy=function(){return El(e,bV()).constant(e.constant())},ms.apply(e,arguments)}function xA(){var e=uA(Ry());return e.copy=function(){return El(e,xA()).exponent(e.exponent())},ms.apply(e,arguments)}function X1e(){return xA.apply(null,arguments).exponent(.5)}const VI=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:vh,scaleDiverging:vV,scaleDivergingLog:yV,scaleDivergingPow:xA,scaleDivergingSqrt:X1e,scaleDivergingSymlog:bV,scaleIdentity:Qq,scaleImplicit:l5,scaleLinear:I1,scaleLog:Jq,scaleOrdinal:tA,scalePoint:Bd,scalePow:cA,scaleQuantile:rV,scaleQuantize:nV,scaleRadial:tV,scaleSequential:hV,scaleSequentialLog:pV,scaleSequentialPow:bA,scaleSequentialQuantile:gV,scaleSequentialSqrt:K1e,scaleSequentialSymlog:mV,scaleSqrt:Nge,scaleSymlog:eV,scaleThreshold:aV,scaleTime:Y1e,scaleUtc:W1e,tickFormat:Xq},Symbol.toStringTag,{value:"Module"}));var _E,GI;function xV(){if(GI)return _E;GI=1;var e=Kf();function t(r,n,a){for(var i=-1,o=r.length;++i<o;){var s=r[i],u=n(s);if(u!=null&&(f===void 0?u===u&&!e(u):a(u,f)))var f=u,h=s}return h}return _E=t,_E}var wE,YI;function Q1e(){if(YI)return wE;YI=1;function e(t,r){return t>r}return wE=e,wE}var SE,WI;function Z1e(){if(WI)return SE;WI=1;var e=xV(),t=Q1e(),r=Qf();function n(a){return a&&a.length?e(a,r,t):void 0}return SE=n,SE}var J1e=Z1e();const My=Yt(J1e);var TE,KI;function eve(){if(KI)return TE;KI=1;function e(t,r){return t<r}return TE=e,TE}var AE,XI;function tve(){if(XI)return AE;XI=1;var e=xV(),t=eve(),r=Qf();function n(a){return a&&a.length?e(a,r,t):void 0}return AE=n,AE}var rve=tve();const Py=Yt(rve);var CE,QI;function nve(){if(QI)return CE;QI=1;var e=jT(),t=bl(),r=Cq(),n=ga();function a(i,o){var s=n(i)?e:r;return s(i,t(o,3))}return CE=a,CE}var OE,ZI;function ave(){if(ZI)return OE;ZI=1;var e=Tq(),t=nve();function r(n,a){return e(t(n,a),1)}return OE=r,OE}var ive=ave();const ove=Yt(ive);var kE,JI;function sve(){if(JI)return kE;JI=1;var e=XT();function t(r,n){return e(r,n)}return kE=t,kE}var lve=sve();const EA=Yt(lve);
vendor: 59,902 bytes, lines 311-337
311var Jf=1e9,uve={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},wA,xr=!0,fi="[DecimalError] ",du=fi+"Invalid argument: ",_A=fi+"Exponent out of range: ",e0=Math.floor,Jl=Math.pow,cve=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Ia,dn=1e7,mr=7,EV=9007199254740991,B1=e0(EV/mr),Ve={};Ve.absoluteValue=Ve.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};Ve.comparedTo=Ve.cmp=function(e){var t,r,n,a,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(n=i.d.length,a=e.d.length,t=0,r=n<a?n:a;t<r;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return n===a?0:n>a^i.s<0?1:-1};Ve.decimalPlaces=Ve.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*mr;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};Ve.dividedBy=Ve.div=function(e){return Jo(this,new this.constructor(e))};Ve.dividedToIntegerBy=Ve.idiv=function(e){var t=this,r=t.constructor;return ir(Jo(t,new r(e),0,1),r.precision)};Ve.equals=Ve.eq=function(e){return!this.cmp(e)};Ve.exponent=function(){return Wr(this)};Ve.greaterThan=Ve.gt=function(e){return this.cmp(e)>0};Ve.greaterThanOrEqualTo=Ve.gte=function(e){return this.cmp(e)>=0};Ve.isInteger=Ve.isint=function(){return this.e>this.d.length-2};Ve.isNegative=Ve.isneg=function(){return this.s<0};Ve.isPositive=Ve.ispos=function(){return this.s>0};Ve.isZero=function(){return this.s===0};Ve.lessThan=Ve.lt=function(e){return this.cmp(e)<0};Ve.lessThanOrEqualTo=Ve.lte=function(e){return this.cmp(e)<1};Ve.logarithm=Ve.log=function(e){var t,r=this,n=r.constructor,a=n.precision,i=a+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(Ia))throw Error(fi+"NaN");if(r.s<1)throw Error(fi+(r.s?"NaN":"-Infinity"));return r.eq(Ia)?new n(0):(xr=!1,t=Jo(_h(r,i),_h(e,i),i),xr=!0,ir(t,a))};Ve.minus=Ve.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?SV(t,e):_V(t,(e.s=-e.s,e))};Ve.modulo=Ve.mod=function(e){var t,r=this,n=r.constructor,a=n.precision;if(e=new n(e),!e.s)throw Error(fi+"NaN");return r.s?(xr=!1,t=Jo(r,e,0,1).times(e),xr=!0,r.minus(t)):ir(new n(r),a)};Ve.naturalExponential=Ve.exp=function(){return wV(this)};Ve.naturalLogarithm=Ve.ln=function(){return _h(this)};Ve.negated=Ve.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};Ve.plus=Ve.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_V(t,e):SV(t,(e.s=-e.s,e))};Ve.precision=Ve.sd=function(e){var t,r,n,a=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(du+e);if(t=Wr(a)+1,n=a.d.length-1,r=n*mr+1,n=a.d[n],n){for(;n%10==0;n/=10)r--;for(n=a.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};Ve.squareRoot=Ve.sqrt=function(){var e,t,r,n,a,i,o,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(fi+"NaN")}for(e=Wr(s),xr=!1,a=Math.sqrt(+s),a==0||a==1/0?(t=to(s.d),(t.length+e)%2==0&&(t+="0"),a=Math.sqrt(t),e=e0((e+1)/2)-(e<0||e%2),a==1/0?t="5e"+e:(t=a.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new u(t)):n=new u(a.toString()),r=u.precision,a=o=r+3;;)if(i=n,n=i.plus(Jo(s,i,o+2)).times(.5),to(i.d).slice(0,o)===(t=to(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),a==o&&t=="4999"){if(ir(i,r+1,0),i.times(i).eq(s)){n=i;break}}else if(t!="9999")break;o+=4}return xr=!0,ir(n,r)};Ve.times=Ve.mul=function(e){var t,r,n,a,i,o,s,u,f,h=this,d=h.constructor,m=h.d,v=(e=new d(e)).d;if(!h.s||!e.s)return new d(0);for(e.s*=h.s,r=h.e+e.e,u=m.length,f=v.length,u<f&&(i=m,m=v,v=i,o=u,u=f,f=o),i=[],o=u+f,n=o;n--;)i.push(0);for(n=f;--n>=0;){for(t=0,a=u+n;a>n;)s=i[a]+v[n]*m[a-n-1]+t,i[a--]=s%dn|0,t=s/dn|0;i[a]=(i[a]+t)%dn|0}for(;!i[--o];)i.pop();return t?++r:i.shift(),e.d=i,e.e=r,xr?ir(e,d.precision):e};Ve.toDecimalPlaces=Ve.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(uo(e,0,Jf),t===void 0?t=n.rounding:uo(t,0,8),ir(r,e+Wr(r)+1,t))};Ve.toExponential=function(e,t){var r,n=this,a=n.constructor;return e===void 0?r=Eu(n,!0):(uo(e,0,Jf),t===void 0?t=a.rounding:uo(t,0,8),n=ir(new a(n),e+1,t),r=Eu(n,!0,e+1)),r};Ve.toFixed=function(e,t){var r,n,a=this,i=a.constructor;return e===void 0?Eu(a):(uo(e,0,Jf),t===void 0?t=i.rounding:uo(t,0,8),n=ir(new i(a),e+Wr(a)+1,t),r=Eu(n.abs(),!1,e+Wr(n)+1),a.isneg()&&!a.isZero()?"-"+r:r)};Ve.toInteger=Ve.toint=function(){var e=this,t=e.constructor;return ir(new t(e),Wr(e)+1,t.rounding)};Ve.toNumber=function(){return+this};Ve.toPower=Ve.pow=function(e){var t,r,n,a,i,o,s=this,u=s.constructor,f=12,h=+(e=new u(e));if(!e.s)return new u(Ia);if(s=new u(s),!s.s){if(e.s<1)throw Error(fi+"Infinity");return s}if(s.eq(Ia))return s;if(n=u.precision,e.eq(Ia))return ir(s,n);if(t=e.e,r=e.d.length-1,o=t>=r,i=s.s,o){if((r=h<0?-h:h)<=EV){for(a=new u(Ia),t=Math.ceil(n/mr+4),xr=!1;r%2&&(a=a.times(s),tD(a.d,t)),r=e0(r/2),r!==0;)s=s.times(s),tD(s.d,t);return xr=!0,e.s<0?new u(Ia).div(a):ir(a,n)}}else if(i<0)throw Error(fi+"NaN");return i=i<0&&e.d[Math.max(t,r)]&1?-1:1,s.s=1,xr=!1,a=e.times(_h(s,n+f)),xr=!0,a=wV(a),a.s=i,a};Ve.toPrecision=function(e,t){var r,n,a=this,i=a.constructor;return e===void 0?(r=Wr(a),n=Eu(a,r<=i.toExpNeg||r>=i.toExpPos)):(uo(e,1,Jf),t===void 0?t=i.rounding:uo(t,0,8),a=ir(new i(a),e,t),r=Wr(a),n=Eu(a,e<=r||r<=i.toExpNeg,e)),n};Ve.toSignificantDigits=Ve.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(uo(e,1,Jf),t===void 0?t=n.rounding:uo(t,0,8)),ir(new n(r),e,t)};Ve.toString=Ve.valueOf=Ve.val=Ve.toJSON=Ve[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=Wr(e),r=e.constructor;return Eu(e,t<=r.toExpNeg||t>=r.toExpPos)};function _V(e,t){var r,n,a,i,o,s,u,f,h=e.constructor,d=h.precision;if(!e.s||!t.s)return t.s||(t=new h(e)),xr?ir(t,d):t;if(u=e.d,f=t.d,o=e.e,a=t.e,u=u.slice(),i=o-a,i){for(i<0?(n=u,i=-i,s=f.length):(n=f,a=o,s=u.length),o=Math.ceil(d/mr),s=o>s?o+1:s+1,i>s&&(i=s,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for(s=u.length,i=f.length,s-i<0&&(i=s,n=f,f=u,u=n),r=0;i;)r=(u[--i]=u[i]+f[i]+r)/dn|0,u[i]%=dn;for(r&&(u.unshift(r),++a),s=u.length;u[--s]==0;)u.pop();return t.d=u,t.e=a,xr?ir(t,d):t}function uo(e,t,r){if(e!==~~e||e<t||e>r)throw Error(du+e)}function to(e){var t,r,n,a=e.length-1,i="",o=e[0];if(a>0){for(i+=o,t=1;t<a;t++)n=e[t]+"",r=mr-n.length,r&&(i+=Js(r)),i+=n;o=e[t],n=o+"",r=mr-n.length,r&&(i+=Js(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return i+o}var Jo=(function(){function e(n,a){var i,o=0,s=n.length;for(n=n.slice();s--;)i=n[s]*a+o,n[s]=i%dn|0,o=i/dn|0;return o&&n.unshift(o),n}function t(n,a,i,o){var s,u;if(i!=o)u=i>o?1:-1;else for(s=u=0;s<i;s++)if(n[s]!=a[s]){u=n[s]>a[s]?1:-1;break}return u}function r(n,a,i){for(var o=0;i--;)n[i]-=o,o=n[i]<a[i]?1:0,n[i]=o*dn+n[i]-a[i];for(;!n[0]&&n.length>1;)n.shift()}return function(n,a,i,o){var s,u,f,h,d,m,v,y,b,E,_,A,C,P,O,k,M,L,H=n.constructor,F=n.s==a.s?1:-1,$=n.d,z=a.d;if(!n.s)return new H(n);if(!a.s)throw Error(fi+"Division by zero");for(u=n.e-a.e,M=z.length,O=$.length,v=new H(F),y=v.d=[],f=0;z[f]==($[f]||0);)++f;if(z[f]>($[f]||0)&&--u,i==null?A=i=H.precision:o?A=i+(Wr(n)-Wr(a))+1:A=i,A<0)return new H(0);if(A=A/mr+2|0,f=0,M==1)for(h=0,z=z[0],A++;(f<O||h)&&A--;f++)C=h*dn+($[f]||0),y[f]=C/z|0,h=C%z|0;else{for(h=dn/(z[0]+1)|0,h>1&&(z=e(z,h),$=e($,h),M=z.length,O=$.length),P=M,b=$.slice(0,M),E=b.length;E<M;)b[E++]=0;L=z.slice(),L.unshift(0),k=z[0],z[1]>=dn/2&&++k;do h=0,s=t(z,b,M,E),s<0?(_=b[0],M!=E&&(_=_*dn+(b[1]||0)),h=_/k|0,h>1?(h>=dn&&(h=dn-1),d=e(z,h),m=d.length,E=b.length,s=t(d,b,m,E),s==1&&(h--,r(d,M<m?L:z,m))):(h==0&&(s=h=1),d=z.slice()),m=d.length,m<E&&d.unshift(0),r(b,d,E),s==-1&&(E=b.length,s=t(z,b,M,E),s<1&&(h++,r(b,M<E?L:z,E))),E=b.length):s===0&&(h++,b=[0]),y[f++]=h,s&&b[0]?b[E++]=$[P]||0:(b=[$[P]],E=1);while((P++<O||b[0]!==void 0)&&A--)}return y[0]||y.shift(),v.e=u,ir(v,o?i+Wr(v)+1:i)}})();function wV(e,t){var r,n,a,i,o,s,u=0,f=0,h=e.constructor,d=h.precision;if(Wr(e)>16)throw Error(_A+Wr(e));if(!e.s)return new h(Ia);for(xr=!1,s=d,o=new h(.03125);e.abs().gte(.1);)e=e.times(o),f+=5;for(n=Math.log(Jl(2,f))/Math.LN10*2+5|0,s+=n,r=a=i=new h(Ia),h.precision=s;;){if(a=ir(a.times(e),s),r=r.times(++u),o=i.plus(Jo(a,r,s)),to(o.d).slice(0,s)===to(i.d).slice(0,s)){for(;f--;)i=ir(i.times(i),s);return h.precision=d,t==null?(xr=!0,ir(i,d)):i}i=o}}function Wr(e){for(var t=e.e*mr,r=e.d[0];r>=10;r/=10)t++;return t}function NE(e,t,r){if(t>e.LN10.sd())throw xr=!0,r&&(e.precision=r),Error(fi+"LN10 precision limit exceeded");return ir(new e(e.LN10),t)}function Js(e){for(var t="";e--;)t+="0";return t}function _h(e,t){var r,n,a,i,o,s,u,f,h,d=1,m=10,v=e,y=v.d,b=v.constructor,E=b.precision;if(v.s<1)throw Error(fi+(v.s?"NaN":"-Infinity"));if(v.eq(Ia))return new b(0);if(t==null?(xr=!1,f=E):f=t,v.eq(10))return t==null&&(xr=!0),NE(b,f);if(f+=m,b.precision=f,r=to(y),n=r.charAt(0),i=Wr(v),Math.abs(i)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)v=v.times(e),r=to(v.d),n=r.charAt(0),d++;i=Wr(v),n>1?(v=new b("0."+r),i++):v=new b(n+"."+r.slice(1))}else return u=NE(b,f+2,E).times(i+""),v=_h(new b(n+"."+r.slice(1)),f-m).plus(u),b.precision=E,t==null?(xr=!0,ir(v,E)):v;for(s=o=v=Jo(v.minus(Ia),v.plus(Ia),f),h=ir(v.times(v),f),a=3;;){if(o=ir(o.times(h),f),u=s.plus(Jo(o,new b(a),f)),to(u.d).slice(0,f)===to(s.d).slice(0,f))return s=s.times(2),i!==0&&(s=s.plus(NE(b,f+2,E).times(i+""))),s=Jo(s,new b(d),f),b.precision=E,t==null?(xr=!0,ir(s,E)):s;s=u,a+=2}}function eD(e,t){var r,n,a;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(n,a),t){if(a-=n,r=r-n-1,e.e=e0(r/mr),e.d=[],n=(r+1)%mr,r<0&&(n+=mr),n<a){for(n&&e.d.push(+t.slice(0,n)),a-=mr;n<a;)e.d.push(+t.slice(n,n+=mr));t=t.slice(n),n=mr-t.length}else n-=a;for(;n--;)t+="0";if(e.d.push(+t),xr&&(e.e>B1||e.e<-B1))throw Error(_A+r)}else e.s=0,e.e=0,e.d=[0];return e}function ir(e,t,r){var n,a,i,o,s,u,f,h,d=e.d;for(o=1,i=d[0];i>=10;i/=10)o++;if(n=t-o,n<0)n+=mr,a=t,f=d[h=0];else{if(h=Math.ceil((n+1)/mr),i=d.length,h>=i)return e;for(f=i=d[h],o=1;i>=10;i/=10)o++;n%=mr,a=n-mr+o}if(r!==void 0&&(i=Jl(10,o-a-1),s=f/i%10|0,u=t<0||d[h+1]!==void 0||f%i,u=r<4?(s||u)&&(r==0||r==(e.s<0?3:2)):s>5||s==5&&(r==4||u||r==6&&(n>0?a>0?f/Jl(10,o-a):0:d[h-1])%10&1||r==(e.s<0?8:7))),t<1||!d[0])return u?(i=Wr(e),d.length=1,t=t-i-1,d[0]=Jl(10,(mr-t%mr)%mr),e.e=e0(-t/mr)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(n==0?(d.length=h,i=1,h--):(d.length=h+1,i=Jl(10,mr-n),d[h]=a>0?(f/Jl(10,o-a)%Jl(10,a)|0)*i:0),u)for(;;)if(h==0){(d[0]+=i)==dn&&(d[0]=1,++e.e);break}else{if(d[h]+=i,d[h]!=dn)break;d[h--]=0,i=1}for(n=d.length;d[--n]===0;)d.pop();if(xr&&(e.e>B1||e.e<-B1))throw Error(_A+Wr(e));return e}function SV(e,t){var r,n,a,i,o,s,u,f,h,d,m=e.constructor,v=m.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new m(e),xr?ir(t,v):t;if(u=e.d,d=t.d,n=t.e,f=e.e,u=u.slice(),o=f-n,o){for(h=o<0,h?(r=u,o=-o,s=d.length):(r=d,n=f,s=u.length),a=Math.max(Math.ceil(v/mr),s)+2,o>a&&(o=a,r.length=1),r.reverse(),a=o;a--;)r.push(0);r.reverse()}else{for(a=u.length,s=d.length,h=a<s,h&&(s=a),a=0;a<s;a++)if(u[a]!=d[a]){h=u[a]<d[a];break}o=0}for(h&&(r=u,u=d,d=r,t.s=-t.s),s=u.length,a=d.length-s;a>0;--a)u[s++]=0;for(a=d.length;a>o;){if(u[--a]<d[a]){for(i=a;i&&u[--i]===0;)u[i]=dn-1;--u[i],u[a]+=dn}u[a]-=d[a]}for(;u[--s]===0;)u.pop();for(;u[0]===0;u.shift())--n;return u[0]?(t.d=u,t.e=n,xr?ir(t,v):t):new m(0)}function Eu(e,t,r){var n,a=Wr(e),i=to(e.d),o=i.length;return t?(r&&(n=r-o)>0?i=i.charAt(0)+"."+i.slice(1)+Js(n):o>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(a<0?"e":"e+")+a):a<0?(i="0."+Js(-a-1)+i,r&&(n=r-o)>0&&(i+=Js(n))):a>=o?(i+=Js(a+1-o),r&&(n=r-a-1)>0&&(i=i+"."+Js(n))):((n=a+1)<o&&(i=i.slice(0,n)+"."+i.slice(n)),r&&(n=r-o)>0&&(a+1===o&&(i+="."),i+=Js(n))),e.s<0?"-"+i:i}function tD(e,t){if(e.length>t)return e.length=t,!0}function TV(e){var t,r,n;function a(i){var o=this;if(!(o instanceof a))return new a(i);if(o.constructor=a,i instanceof a){o.s=i.s,o.e=i.e,o.d=(i=i.d)?i.slice():i;return}if(typeof i=="number"){if(i*0!==0)throw Error(du+i);if(i>0)o.s=1;else if(i<0)i=-i,o.s=-1;else{o.s=0,o.e=0,o.d=[0];return}if(i===~~i&&i<1e7){o.e=0,o.d=[i];return}return eD(o,i.toString())}else if(typeof i!="string")throw Error(du+i);if(i.charCodeAt(0)===45?(i=i.slice(1),o.s=-1):o.s=1,cve.test(i))eD(o,i);else throw Error(du+i)}if(a.prototype=Ve,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=TV,a.config=a.set=fve,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return a.config(e),a}function fve(e){if(!e||typeof e!="object")throw Error(fi+"Object expected");var t,r,n,a=["precision",1,Jf,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<a.length;t+=3)if((n=e[r=a[t]])!==void 0)if(e0(n)===n&&n>=a[t+1]&&n<=a[t+2])this[r]=n;else throw Error(du+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(du+r+": "+n);return this}var wA=TV(uve);Ia=new wA(1);const rr=wA;function dve(e){return gve(e)||mve(e)||pve(e)||hve()}function hve(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 312In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pve(e,t){if(e){if(typeof e=="string")return d5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d5(e,t)}}function mve(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function gve(e){if(Array.isArray(e))return d5(e)}function d5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var vve=function(t){return t},AV={},CV=function(t){return t===AV},rD=function(t){return function r(){return arguments.length===0||arguments.length===1&&CV(arguments.length<=0?void 0:arguments[0])?r:t.apply(void 0,arguments)}},yve=function e(t,r){return t===1?r:rD(function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];var o=a.filter(function(s){return s!==AV}).length;return o>=t?r.apply(void 0,a):e(t-o,rD(function(){for(var s=arguments.length,u=new Array(s),f=0;f<s;f++)u[f]=arguments[f];var h=a.map(function(d){return CV(d)?u.shift():d});return r.apply(void 0,dve(h).concat(u))}))})},Iy=function(t){return yve(t.length,t)},h5=function(t,r){for(var n=[],a=t;a<r;++a)n[a-t]=a;return n},bve=Iy(function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map(function(r){return t[r]}).map(e)}),xve=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(!r.length)return vve;var a=r.reverse(),i=a[0],o=a.slice(1);return function(){return o.reduce(function(s,u){return u(s)},i.apply(void 0,arguments))}},p5=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},OV=function(t){var r=null,n=null;return function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return r&&i.every(function(s,u){return s===r[u]})||(r=i,n=t.apply(void 0,i)),n}};function Eve(e){var t;return e===0?t=1:t=Math.floor(new rr(e).abs().log(10).toNumber())+1,t}function _ve(e,t,r){for(var n=new rr(e),a=0,i=[];n.lt(t)&&a<1e5;)i.push(n.toNumber()),n=n.add(r),a++;return i}var wve=Iy(function(e,t,r){var n=+e,a=+t;return n+r*(a-n)}),Sve=Iy(function(e,t,r){var n=t-+e;return n=n||1/0,(r-e)/n}),Tve=Iy(function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))});const Dy={rangeStep:_ve,getDigitCount:Eve,interpolateNumber:wve,uninterpolateNumber:Sve,uninterpolateTruncation:Tve};function m5(e){return Ove(e)||Cve(e)||kV(e)||Ave()}function Ave(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 313In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cve(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Ove(e){if(Array.isArray(e))return g5(e)}function wh(e,t){return Rve(e)||Nve(e,t)||kV(e,t)||kve()}function kve(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 314In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kV(e,t){if(e){if(typeof e=="string")return g5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g5(e,t)}}function g5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Nve(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,a=!1,i=void 0;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done)&&(r.push(s.value),!(t&&r.length===t));n=!0);}catch(u){a=!0,i=u}finally{try{!n&&o.return!=null&&o.return()}finally{if(a)throw i}}return r}}function Rve(e){if(Array.isArray(e))return e}function NV(e){var t=wh(e,2),r=t[0],n=t[1],a=r,i=n;return r>n&&(a=n,i=r),[a,i]}function RV(e,t,r){if(e.lte(0))return new rr(0);var n=Dy.getDigitCount(e.toNumber()),a=new rr(10).pow(n),i=e.div(a),o=n!==1?.05:.1,s=new rr(Math.ceil(i.div(o).toNumber())).add(r).mul(o),u=s.mul(a);return t?u:new rr(Math.ceil(u))}function Mve(e,t,r){var n=1,a=new rr(e);if(!a.isint()&&r){var i=Math.abs(e);i<1?(n=new rr(10).pow(Dy.getDigitCount(e)-1),a=new rr(Math.floor(a.div(n).toNumber())).mul(n)):i>1&&(a=new rr(Math.floor(e)))}else e===0?a=new rr(Math.floor((t-1)/2)):r||(a=new rr(Math.floor(e)));var o=Math.floor((t-1)/2),s=xve(bve(function(u){return a.add(new rr(u-o).mul(n)).toNumber()}),h5);return s(0,t)}function MV(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new rr(0),tickMin:new rr(0),tickMax:new rr(0)};var i=RV(new rr(t).sub(e).div(r-1),n,a),o;e<=0&&t>=0?o=new rr(0):(o=new rr(e).add(t).div(2),o=o.sub(new rr(o).mod(i)));var s=Math.ceil(o.sub(e).div(i).toNumber()),u=Math.ceil(new rr(t).sub(o).div(i).toNumber()),f=s+u+1;return f>r?MV(e,t,r,n,a+1):(f<r&&(u=t>0?u+(r-f):u,s=t>0?s:s+(r-f)),{step:i,tickMin:o.sub(new rr(s).mul(i)),tickMax:o.add(new rr(u).mul(i))})}function Pve(e){var t=wh(e,2),r=t[0],n=t[1],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=Math.max(a,2),s=NV([r,n]),u=wh(s,2),f=u[0],h=u[1];if(f===-1/0||h===1/0){var d=h===1/0?[f].concat(m5(h5(0,a-1).map(function(){return 1/0}))):[].concat(m5(h5(0,a-1).map(function(){return-1/0})),[h]);return r>n?p5(d):d}if(f===h)return Mve(f,a,i);var m=MV(f,h,o,i),v=m.step,y=m.tickMin,b=m.tickMax,E=Dy.rangeStep(y,b.add(new rr(.1).mul(v)),v);return r>n?p5(E):E}function Ive(e,t){var r=wh(e,2),n=r[0],a=r[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=NV([n,a]),s=wh(o,2),u=s[0],f=s[1];if(u===-1/0||f===1/0)return[n,a];if(u===f)return[u];var h=Math.max(t,2),d=RV(new rr(f).sub(u).div(h-1),i,0),m=[].concat(m5(Dy.rangeStep(new rr(u),new rr(f).sub(new rr(.99).mul(d)),d)),[f]);return n>a?p5(m):m}var Dve=OV(Pve),Lve=OV(Ive),jve="Invariant failed";function _u(e,t){throw new Error(jve)}var Bve=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Af(e){"@babel/helpers - typeof";return Af=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Af(e)}function z1(){return z1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z1.apply(this,arguments)}function zve(e,t){return Uve(e)||$ve(e,t)||Fve(e,t)||Hve()}function Hve(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 315In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fve(e,t){if(e){if(typeof e=="string")return nD(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nD(e,t)}}function nD(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $ve(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function Uve(e){if(Array.isArray(e))return e}function qve(e,t){if(e==null)return{};var r=Vve(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Vve(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function Gve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yve(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,DV(n.key),n)}}function Wve(e,t,r){return t&&Yve(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Kve(e,t,r){return t=H1(t),Xve(e,PV()?Reflect.construct(t,r||[],H1(e).constructor):t.apply(e,r))}function Xve(e,t){if(t&&(Af(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Qve(e)}function Qve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(PV=function(){return!!e})()}function H1(e){return H1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},H1(e)}function Zve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v5(e,t)}function v5(e,t){return v5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},v5(e,t)}function IV(e,t,r){return t=DV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DV(e){var t=Jve(e,"string");return Af(t)=="symbol"?t:t+""}function Jve(e,t){if(Af(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Af(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var Ly=(function(e){function t(){return Gve(this,t),Kve(this,t,arguments)}return Zve(t,e),Wve(t,[{key:"render",value:function(){var n=this.props,a=n.offset,i=n.layout,o=n.width,s=n.dataKey,u=n.data,f=n.dataPointFormatter,h=n.xAxis,d=n.yAxis,m=qve(n,Bve),v=$t(m,!1);this.props.direction==="x"&&h.type!=="number"&&_u();var y=u.map(function(b){var E=f(b,s),_=E.x,A=E.y,C=E.value,P=E.errorVal;if(!P)return null;var O=[],k,M;if(Array.isArray(P)){var L=zve(P,2);k=L[0],M=L[1]}else k=M=P;if(i==="vertical"){var H=h.scale,F=A+a,$=F+o,z=F-o,W=H(C-k),K=H(C+M);O.push({x1:K,y1:$,x2:K,y2:z}),O.push({x1:W,y1:F,x2:K,y2:F}),O.push({x1:W,y1:$,x2:W,y2:z})}else if(i==="horizontal"){var te=d.scale,U=_+a,J=U-o,Z=U+o,le=te(C-k),G=te(C+M);O.push({x1:J,y1:G,x2:Z,y2:G}),O.push({x1:U,y1:le,x2:U,y2:G}),O.push({x1:J,y1:le,x2:Z,y2:le})}return re.createElement(hn,z1({className:"recharts-errorBar",key:"bar-".concat(O.map(function(Y){return"".concat(Y.x1,"-").concat(Y.x2,"-").concat(Y.y1,"-").concat(Y.y2)}))},v),O.map(function(Y){return re.createElement("line",z1({},Y,{key:"line-".concat(Y.x1,"-").concat(Y.x2,"-").concat(Y.y1,"-").concat(Y.y2)}))}))});return re.createElement(hn,{className:"recharts-errorBars"},y)}}])})(re.Component);IV(Ly,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"});IV(Ly,"displayName","ErrorBar");function Sh(e){"@babel/helpers - typeof";return Sh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sh(e)}function aD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Gl(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?aD(Object(r),!0).forEach(function(n){eye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function eye(e,t,r){return t=tye(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tye(e){var t=rye(e,"string");return Sh(t)=="symbol"?t:t+""}function rye(e,t){if(Sh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Sh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var LV=function(t){var r=t.children,n=t.formattedGraphicalItems,a=t.legendWidth,i=t.legendContent,o=Ra(r,af);if(!o)return null;var s=af.defaultProps,u=s!==void 0?Gl(Gl({},s),o.props):{},f;return o.props&&o.props.payload?f=o.props&&o.props.payload:i==="children"?f=(n||[]).reduce(function(h,d){var m=d.item,v=d.props,y=v.sectors||v.data||[];return h.concat(y.map(function(b){return{type:o.props.iconType||m.props.legendType,value:b.name,color:b.fill,payload:b}}))},[]):f=(n||[]).map(function(h){var d=h.item,m=d.type.defaultProps,v=m!==void 0?Gl(Gl({},m),d.props):{},y=v.dataKey,b=v.name,E=v.legendType,_=v.hide;return{inactive:_,dataKey:y,type:u.iconType||E||"square",color:SA(d),value:b||y,payload:v}}),Gl(Gl(Gl({},u),af.getWithHeight(o,a)),{},{payload:f,item:o})};function Th(e){"@babel/helpers - typeof";return Th=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Th(e)}function iD(e){return oye(e)||iye(e)||aye(e)||nye()}function nye(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 316In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aye(e,t){if(e){if(typeof e=="string")return y5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y5(e,t)}}function iye(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oye(e){if(Array.isArray(e))return y5(e)}function y5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function oD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Or(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oD(Object(r),!0).forEach(function(n){sf(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function sf(e,t,r){return t=sye(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sye(e){var t=lye(e,"string");return Th(t)=="symbol"?t:t+""}function lye(e,t){if(Th(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Th(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function co(e,t,r){return Ut(e)||Ut(t)?r:rn(t)?ui(e,t,r):yt(t)?t(e):r}function zd(e,t,r,n){var a=ove(e,function(s){return co(s,t)});if(r==="number"){var i=a.filter(function(s){return ze(s)||parseFloat(s)});return i.length?[Py(i),My(i)]:[1/0,-1/0]}var o=n?a.filter(function(s){return!Ut(s)}):a;return o.map(function(s){return rn(s)||s instanceof Date?s:""})}var uye=function(t){var r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,s=(r=n?.length)!==null&&r!==void 0?r:0;if(s<=1)return 0;if(i&&i.axisType==="angleAxis"&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var u=i.range,f=0;f<s;f++){var h=f>0?a[f-1].coordinate:a[s-1].coordinate,d=a[f].coordinate,m=f>=s-1?a[0].coordinate:a[f+1].coordinate,v=void 0;if(Ci(d-h)!==Ci(m-d)){var y=[];if(Ci(m-d)===Ci(u[1]-u[0])){v=m;var b=d+u[1]-u[0];y[0]=Math.min(b,(b+h)/2),y[1]=Math.max(b,(b+h)/2)}else{v=h;var E=m+u[1]-u[0];y[0]=Math.min(d,(E+d)/2),y[1]=Math.max(d,(E+d)/2)}var _=[Math.min(d,(v+d)/2),Math.max(d,(v+d)/2)];if(t>_[0]&&t<=_[1]||t>=y[0]&&t<=y[1]){o=a[f].index;break}}else{var A=Math.min(h,m),C=Math.max(h,m);if(t>(A+d)/2&&t<=(C+d)/2){o=a[f].index;break}}}else for(var P=0;P<s;P++)if(P===0&&t<=(n[P].coordinate+n[P+1].coordinate)/2||P>0&&P<s-1&&t>(n[P].coordinate+n[P-1].coordinate)/2&&t<=(n[P].coordinate+n[P+1].coordinate)/2||P===s-1&&t>(n[P].coordinate+n[P-1].coordinate)/2){o=n[P].index;break}return o},SA=function(t){var r,n=t,a=n.type.displayName,i=(r=t.type)!==null&&r!==void 0&&r.defaultProps?Or(Or({},t.type.defaultProps),t.props):t.props,o=i.stroke,s=i.fill,u;switch(a){case"Line":u=o;break;case"Area":case"Radar":u=o&&o!=="none"?o:s;break;default:u=s;break}return u},cye=function(t){var r=t.barSize,n=t.totalSize,a=t.stackGroups,i=a===void 0?{}:a;if(!i)return{};for(var o={},s=Object.keys(i),u=0,f=s.length;u<f;u++)for(var h=i[s[u]].stackGroups,d=Object.keys(h),m=0,v=d.length;m<v;m++){var y=h[d[m]],b=y.items,E=y.cateAxisId,_=b.filter(function(M){return Qo(M.type).indexOf("Bar")>=0});if(_&&_.length){var A=_[0].type.defaultProps,C=A!==void 0?Or(Or({},A),_[0].props):_[0].props,P=C.barSize,O=C[E];o[O]||(o[O]=[]);var k=Ut(P)?r:P;o[O].push({item:_[0],stackList:_.slice(1),barSize:Ut(k)?void 0:xu(k,n,0)})}}return o},fye=function(t){var r=t.barGap,n=t.barCategoryGap,a=t.bandSize,i=t.sizeList,o=i===void 0?[]:i,s=t.maxBarSize,u=o.length;if(u<1)return null;var f=xu(r,a,0,!0),h,d=[];if(o[0].barSize===+o[0].barSize){var m=!1,v=a/u,y=o.reduce(function(P,O){return P+O.barSize||0},0);y+=(u-1)*f,y>=a&&(y-=(u-1)*f,f=0),y>=a&&v>0&&(m=!0,v*=.9,y=u*v);var b=(a-y)/2>>0,E={offset:b-f,size:0};h=o.reduce(function(P,O){var k={item:O.item,position:{offset:E.offset+E.size+f,size:m?v:O.barSize}},M=[].concat(iD(P),[k]);return E=M[M.length-1].position,O.stackList&&O.stackList.length&&O.stackList.forEach(function(L){M.push({item:L,position:E})}),M},d)}else{var _=xu(n,a,0,!0);a-2*_-(u-1)*f<=0&&(f=0);var A=(a-2*_-(u-1)*f)/u;A>1&&(A>>=0);var C=s===+s?Math.min(A,s):A;h=o.reduce(function(P,O,k){var M=[].concat(iD(P),[{item:O.item,position:{offset:_+(A+f)*k+(A-C)/2,size:C}}]);return O.stackList&&O.stackList.length&&O.stackList.forEach(function(L){M.push({item:L,position:M[M.length-1].position})}),M},d)}return h},dye=function(t,r,n,a){var i=n.children,o=n.width,s=n.margin,u=o-(s.left||0)-(s.right||0),f=LV({children:i,legendWidth:u});if(f){var h=a||{},d=h.width,m=h.height,v=f.align,y=f.verticalAlign,b=f.layout;if((b==="vertical"||b==="horizontal"&&y==="middle")&&v!=="center"&&ze(t[v]))return Or(Or({},t),{},sf({},v,t[v]+(d||0)));if((b==="horizontal"||b==="vertical"&&v==="center")&&y!=="middle"&&ze(t[y]))return Or(Or({},t),{},sf({},y,t[y]+(m||0)))}return t},hye=function(t,r,n){return Ut(r)?!0:t==="horizontal"?r==="yAxis":t==="vertical"||n==="x"?r==="xAxis":n==="y"?r==="yAxis":!0},jV=function(t,r,n,a,i){var o=r.props.children,s=Oi(o,Ly).filter(function(f){return hye(a,i,f.props.direction)});if(s&&s.length){var u=s.map(function(f){return f.props.dataKey});return t.reduce(function(f,h){var d=co(h,n);if(Ut(d))return f;var m=Array.isArray(d)?[Py(d),My(d)]:[d,d],v=u.reduce(function(y,b){var E=co(h,b,0),_=m[0]-Math.abs(Array.isArray(E)?E[0]:E),A=m[1]+Math.abs(Array.isArray(E)?E[1]:E);return[Math.min(_,y[0]),Math.max(A,y[1])]},[1/0,-1/0]);return[Math.min(v[0],f[0]),Math.max(v[1],f[1])]},[1/0,-1/0])}return null},pye=function(t,r,n,a,i){var o=r.map(function(s){return jV(t,s,n,i,a)}).filter(function(s){return!Ut(s)});return o&&o.length?o.reduce(function(s,u){return[Math.min(s[0],u[0]),Math.max(s[1],u[1])]},[1/0,-1/0]):null},BV=function(t,r,n,a,i){var o=r.map(function(u){var f=u.props.dataKey;return n==="number"&&f&&jV(t,u,f,a)||zd(t,f,n,i)});if(n==="number")return o.reduce(function(u,f){return[Math.min(u[0],f[0]),Math.max(u[1],f[1])]},[1/0,-1/0]);var s={};return o.reduce(function(u,f){for(var h=0,d=f.length;h<d;h++)s[f[h]]||(s[f[h]]=!0,u.push(f[h]));return u},[])},zV=function(t,r){return t==="horizontal"&&r==="xAxis"||t==="vertical"&&r==="yAxis"||t==="centric"&&r==="angleAxis"||t==="radial"&&r==="radiusAxis"},HV=function(t,r,n,a){if(a)return t.map(function(u){return u.coordinate});var i,o,s=t.map(function(u){return u.coordinate===r&&(i=!0),u.coordinate===n&&(o=!0),u.coordinate});return i||s.push(r),o||s.push(n),s},Ko=function(t,r,n){if(!t)return null;var a=t.scale,i=t.duplicateDomain,o=t.type,s=t.range,u=t.realScaleType==="scaleBand"?a.bandwidth()/2:2,f=(r||n)&&o==="category"&&a.bandwidth?a.bandwidth()/u:0;if(f=t.axisType==="angleAxis"&&s?.length>=2?Ci(s[0]-s[1])*2*f:f,r&&(t.ticks||t.niceTicks)){var h=(t.ticks||t.niceTicks).map(function(d){var m=i?i.indexOf(d):d;return{coordinate:a(m)+f,value:d,offset:f}});return h.filter(function(d){return!hp(d.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(d,m){return{coordinate:a(d)+f,value:d,index:m,offset:f}}):a.ticks&&!n?a.ticks(t.tickCount).map(function(d){return{coordinate:a(d)+f,value:d,offset:f}}):a.domain().map(function(d,m){return{coordinate:a(d)+f,value:i?i[d]:d,index:m,offset:f}})},RE=new WeakMap,gg=function(t,r){if(typeof r!="function")return t;RE.has(t)||RE.set(t,new WeakMap);var n=RE.get(t);if(n.has(r))return n.get(r);var a=function(){t.apply(void 0,arguments),r.apply(void 0,arguments)};return n.set(r,a),a},mye=function(t,r,n){var a=t.scale,i=t.type,o=t.layout,s=t.axisType;if(a==="auto")return o==="radial"&&s==="radiusAxis"?{scale:vh(),realScaleType:"band"}:o==="radial"&&s==="angleAxis"?{scale:I1(),realScaleType:"linear"}:i==="category"&&r&&(r.indexOf("LineChart")>=0||r.indexOf("AreaChart")>=0||r.indexOf("ComposedChart")>=0&&!n)?{scale:Bd(),realScaleType:"point"}:i==="category"?{scale:vh(),realScaleType:"band"}:{scale:I1(),realScaleType:"linear"};if(bu(a)){var u="scale".concat(yy(a));return{scale:(VI[u]||Bd)(),realScaleType:VI[u]?u:"point"}}return yt(a)?{scale:a}:{scale:Bd(),realScaleType:"point"}},sD=1e-4,gye=function(t){var r=t.domain();if(!(!r||r.length<=2)){var n=r.length,a=t.range(),i=Math.min(a[0],a[1])-sD,o=Math.max(a[0],a[1])+sD,s=t(r[0]),u=t(r[n-1]);(s<i||s>o||u<i||u>o)&&t.domain([r[0],r[n-1]])}},vye=function(t,r){if(!t)return null;for(var n=0,a=t.length;n<a;n++)if(t[n].item===r)return t[n].position;return null},yye=function(t,r){if(!r||r.length!==2||!ze(r[0])||!ze(r[1]))return t;var n=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]),i=[t[0],t[1]];return(!ze(t[0])||t[0]<n)&&(i[0]=n),(!ze(t[1])||t[1]>a)&&(i[1]=a),i[0]>a&&(i[0]=a),i[1]<n&&(i[1]=n),i},bye=function(t){var r=t.length;if(!(r<=0))for(var n=0,a=t[0].length;n<a;++n)for(var i=0,o=0,s=0;s<r;++s){var u=hp(t[s][n][1])?t[s][n][0]:t[s][n][1];u>=0?(t[s][n][0]=i,t[s][n][1]=i+u,i=t[s][n][1]):(t[s][n][0]=o,t[s][n][1]=o+u,o=t[s][n][1])}},xye=function(t){var r=t.length;if(!(r<=0))for(var n=0,a=t[0].length;n<a;++n)for(var i=0,o=0;o<r;++o){var s=hp(t[o][n][1])?t[o][n][0]:t[o][n][1];s>=0?(t[o][n][0]=i,t[o][n][1]=i+s,i=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}},Eye={sign:bye,expand:ade,none:yf,silhouette:ide,wiggle:ode,positive:xye},_ye=function(t,r,n){var a=r.map(function(s){return s.props.dataKey}),i=Eye[n],o=nde().keys(a).value(function(s,u){return+co(s,u,0)}).order(Ww).offset(i);return o(t)},wye=function(t,r,n,a,i,o){if(!t)return null;var s=o?r.reverse():r,u={},f=s.reduce(function(d,m){var v,y=(v=m.type)!==null&&v!==void 0&&v.defaultProps?Or(Or({},m.type.defaultProps),m.props):m.props,b=y.stackId,E=y.hide;if(E)return d;var _=y[n],A=d[_]||{hasStack:!1,stackGroups:{}};if(rn(b)){var C=A.stackGroups[b]||{numericAxisId:n,cateAxisId:a,items:[]};C.items.push(m),A.hasStack=!0,A.stackGroups[b]=C}else A.stackGroups[vy("_stackId_")]={numericAxisId:n,cateAxisId:a,items:[m]};return Or(Or({},d),{},sf({},_,A))},u),h={};return Object.keys(f).reduce(function(d,m){var v=f[m];if(v.hasStack){var y={};v.stackGroups=Object.keys(v.stackGroups).reduce(function(b,E){var _=v.stackGroups[E];return Or(Or({},b),{},sf({},E,{numericAxisId:n,cateAxisId:a,items:_.items,stackedData:_ye(t,_.items,i)}))},y)}return Or(Or({},d),{},sf({},m,v))},h)},Sye=function(t,r){var n=r.realScaleType,a=r.type,i=r.tickCount,o=r.originalDomain,s=r.allowDecimals,u=n||r.scale;if(u!=="auto"&&u!=="linear")return null;if(i&&a==="number"&&o&&(o[0]==="auto"||o[1]==="auto")){var f=t.domain();if(!f.length)return null;var h=Dve(f,i,s);return t.domain([Py(h),My(h)]),{niceTicks:h}}if(i&&a==="number"){var d=t.domain(),m=Lve(d,i,s);return{niceTicks:m}}return null},lD=function(t){var r=t.axis,n=t.ticks,a=t.offset,i=t.bandSize,o=t.entry,s=t.index;if(r.type==="category")return n[s]?n[s].coordinate+a:null;var u=co(o,r.dataKey,r.domain[s]);return Ut(u)?null:r.scale(u)-i/2+a},Tye=function(t){var r=t.numericAxis,n=r.scale.domain();if(r.type==="number"){var a=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return a<=0&&i>=0?0:i<0?i:a}return n[0]},Aye=function(t,r){var n,a=(n=t.type)!==null&&n!==void 0&&n.defaultProps?Or(Or({},t.type.defaultProps),t.props):t.props,i=a.stackId;if(rn(i)){var o=r[i];if(o){var s=o.items.indexOf(t);return s>=0?o.stackedData[s]:null}}return null},Cye=function(t){return t.reduce(function(r,n){return[Py(n.concat([r[0]]).filter(ze)),My(n.concat([r[1]]).filter(ze))]},[1/0,-1/0])},FV=function(t,r,n){return Object.keys(t).reduce(function(a,i){var o=t[i],s=o.stackedData,u=s.reduce(function(f,h){var d=Cye(h.slice(r,n+1));return[Math.min(f[0],d[0]),Math.max(f[1],d[1])]},[1/0,-1/0]);return[Math.min(u[0],a[0]),Math.max(u[1],a[1])]},[1/0,-1/0]).map(function(a){return a===1/0||a===-1/0?0:a})},uD=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,cD=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,b5=function(t,r,n){if(yt(t))return t(r,n);if(!Array.isArray(t))return r;var a=[];if(ze(t[0]))a[0]=n?t[0]:Math.min(t[0],r[0]);else if(uD.test(t[0])){var i=+uD.exec(t[0])[1];a[0]=r[0]-i}else yt(t[0])?a[0]=t[0](r[0]):a[0]=r[0];if(ze(t[1]))a[1]=n?t[1]:Math.max(t[1],r[1]);else if(cD.test(t[1])){var o=+cD.exec(t[1])[1];a[1]=r[1]+o}else yt(t[1])?a[1]=t[1](r[1]):a[1]=r[1];return a},F1=function(t,r,n){if(t&&t.scale&&t.scale.bandwidth){var a=t.scale.bandwidth();if(!n||a>0)return a}if(t&&r&&r.length>=2){for(var i=ZT(r,function(d){return d.coordinate}),o=1/0,s=1,u=i.length;s<u;s++){var f=i[s],h=i[s-1];o=Math.min((f.coordinate||0)-(h.coordinate||0),o)}return o===1/0?0:o}return n?void 0:0},fD=function(t,r,n){return!t||!t.length||EA(t,ui(n,"type.defaultProps.domain"))?r:t},$V=function(t,r){var n=t.type.defaultProps?Or(Or({},t.type.defaultProps),t.props):t.props,a=n.dataKey,i=n.name,o=n.unit,s=n.formatter,u=n.tooltipType,f=n.chartType,h=n.hide;return Or(Or({},$t(t,!1)),{},{dataKey:a,unit:o,formatter:s,name:i||a,color:SA(t),value:co(r,a),type:u,payload:r,chartType:f,hide:h})};function Ah(e){"@babel/helpers - typeof";return Ah=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ah(e)}function dD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function hD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dD(Object(r),!0).forEach(function(n){Oye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Oye(e,t,r){return t=kye(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kye(e){var t=Nye(e,"string");return Ah(t)=="symbol"?t:t+""}function Nye(e,t){if(Ah(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ah(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var $1=Math.PI/180,Rye=function(t){return t*180/Math.PI},An=function(t,r,n,a){return{x:t+Math.cos(-$1*a)*n,y:r+Math.sin(-$1*a)*n}},Mye=function(t,r){var n=t.x,a=t.y,i=r.x,o=r.y;return Math.sqrt(Math.pow(n-i,2)+Math.pow(a-o,2))},Pye=function(t,r){var n=t.x,a=t.y,i=r.cx,o=r.cy,s=Mye({x:n,y:a},{x:i,y:o});if(s<=0)return{radius:s};var u=(n-i)/s,f=Math.acos(u);return a>o&&(f=2*Math.PI-f),{radius:s,angle:Rye(f),angleInRadian:f}},Iye=function(t){var r=t.startAngle,n=t.endAngle,a=Math.floor(r/360),i=Math.floor(n/360),o=Math.min(a,i);return{startAngle:r-o*360,endAngle:n-o*360}},Dye=function(t,r){var n=r.startAngle,a=r.endAngle,i=Math.floor(n/360),o=Math.floor(a/360),s=Math.min(i,o);return t+s*360},pD=function(t,r){var n=t.x,a=t.y,i=Pye({x:n,y:a},r),o=i.radius,s=i.angle,u=r.innerRadius,f=r.outerRadius;if(o<u||o>f)return!1;if(o===0)return!0;var h=Iye(r),d=h.startAngle,m=h.endAngle,v=s,y;if(d<=m){for(;v>m;)v-=360;for(;v<d;)v+=360;y=v>=d&&v<=m}else{for(;v>d;)v-=360;for(;v<m;)v+=360;y=v>=m&&v<=d}return y?hD(hD({},r),{},{radius:o,angle:Dye(v,r)}):null};function Ch(e){"@babel/helpers - typeof";return Ch=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ch(e)}var Lye=["offset"];function jye(e){return Fye(e)||Hye(e)||zye(e)||Bye()}function Bye(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 317In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zye(e,t){if(e){if(typeof e=="string")return x5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x5(e,t)}}function Hye(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fye(e){if(Array.isArray(e))return x5(e)}function x5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $ye(e,t){if(e==null)return{};var r=Uye(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Uye(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function mD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Jr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?mD(Object(r),!0).forEach(function(n){qye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function qye(e,t,r){return t=Vye(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vye(e){var t=Gye(e,"string");return Ch(t)=="symbol"?t:t+""}function Gye(e,t){if(Ch(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ch(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Oh(){return Oh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Oh.apply(this,arguments)}var Yye=function(t){var r=t.value,n=t.formatter,a=Ut(t.children)?r:t.children;return yt(n)?n(a):a},Wye=function(t,r){var n=Ci(r-t),a=Math.min(Math.abs(r-t),360);return n*a},Kye=function(t,r,n){var a=t.position,i=t.viewBox,o=t.offset,s=t.className,u=i,f=u.cx,h=u.cy,d=u.innerRadius,m=u.outerRadius,v=u.startAngle,y=u.endAngle,b=u.clockWise,E=(d+m)/2,_=Wye(v,y),A=_>=0?1:-1,C,P;a==="insideStart"?(C=v+A*o,P=b):a==="insideEnd"?(C=y-A*o,P=!b):a==="end"&&(C=y+A*o,P=b),P=_<=0?P:!P;var O=An(f,h,E,C),k=An(f,h,E,C+(P?1:-1)*359),M="M".concat(O.x,",").concat(O.y,` 318 A`).concat(E,",").concat(E,",0,1,").concat(P?0:1,`, 319 `).concat(k.x,",").concat(k.y),L=Ut(t.id)?vy("recharts-radial-line-"):t.id;return re.createElement("text",Oh({},n,{dominantBaseline:"central",className:Nt("recharts-radial-bar-label",s)}),re.createElement("defs",null,re.createElement("path",{id:L,d:M})),re.createElement("textPath",{xlinkHref:"#".concat(L)},r))},Xye=function(t){var r=t.viewBox,n=t.offset,a=t.position,i=r,o=i.cx,s=i.cy,u=i.innerRadius,f=i.outerRadius,h=i.startAngle,d=i.endAngle,m=(h+d)/2;if(a==="outside"){var v=An(o,s,f+n,m),y=v.x,b=v.y;return{x:y,y:b,textAnchor:y>=o?"start":"end",verticalAnchor:"middle"}}if(a==="center")return{x:o,y:s,textAnchor:"middle",verticalAnchor:"middle"};if(a==="centerTop")return{x:o,y:s,textAnchor:"middle",verticalAnchor:"start"};if(a==="centerBottom")return{x:o,y:s,textAnchor:"middle",verticalAnchor:"end"};var E=(u+f)/2,_=An(o,s,E,m),A=_.x,C=_.y;return{x:A,y:C,textAnchor:"middle",verticalAnchor:"middle"}},Qye=function(t){var r=t.viewBox,n=t.parentViewBox,a=t.offset,i=t.position,o=r,s=o.x,u=o.y,f=o.width,h=o.height,d=h>=0?1:-1,m=d*a,v=d>0?"end":"start",y=d>0?"start":"end",b=f>=0?1:-1,E=b*a,_=b>0?"end":"start",A=b>0?"start":"end";if(i==="top"){var C={x:s+f/2,y:u-d*a,textAnchor:"middle",verticalAnchor:v};return Jr(Jr({},C),n?{height:Math.max(u-n.y,0),width:f}:{})}if(i==="bottom"){var P={x:s+f/2,y:u+h+m,textAnchor:"middle",verticalAnchor:y};return Jr(Jr({},P),n?{height:Math.max(n.y+n.height-(u+h),0),width:f}:{})}if(i==="left"){var O={x:s-E,y:u+h/2,textAnchor:_,verticalAnchor:"middle"};return Jr(Jr({},O),n?{width:Math.max(O.x-n.x,0),height:h}:{})}if(i==="right"){var k={x:s+f+E,y:u+h/2,textAnchor:A,verticalAnchor:"middle"};return Jr(Jr({},k),n?{width:Math.max(n.x+n.width-k.x,0),height:h}:{})}var M=n?{width:f,height:h}:{};return i==="insideLeft"?Jr({x:s+E,y:u+h/2,textAnchor:A,verticalAnchor:"middle"},M):i==="insideRight"?Jr({x:s+f-E,y:u+h/2,textAnchor:_,verticalAnchor:"middle"},M):i==="insideTop"?Jr({x:s+f/2,y:u+m,textAnchor:"middle",verticalAnchor:y},M):i==="insideBottom"?Jr({x:s+f/2,y:u+h-m,textAnchor:"middle",verticalAnchor:v},M):i==="insideTopLeft"?Jr({x:s+E,y:u+m,textAnchor:A,verticalAnchor:y},M):i==="insideTopRight"?Jr({x:s+f-E,y:u+m,textAnchor:_,verticalAnchor:y},M):i==="insideBottomLeft"?Jr({x:s+E,y:u+h-m,textAnchor:A,verticalAnchor:v},M):i==="insideBottomRight"?Jr({x:s+f-E,y:u+h-m,textAnchor:_,verticalAnchor:v},M):Xf(i)&&(ze(i.x)||au(i.x))&&(ze(i.y)||au(i.y))?Jr({x:s+xu(i.x,f),y:u+xu(i.y,h),textAnchor:"end",verticalAnchor:"end"},M):Jr({x:s+f/2,y:u+h/2,textAnchor:"middle",verticalAnchor:"middle"},M)},Zye=function(t){return"cx"in t&&ze(t.cx)};function In(e){var t=e.offset,r=t===void 0?5:t,n=$ye(e,Lye),a=Jr({offset:r},n),i=a.viewBox,o=a.position,s=a.value,u=a.children,f=a.content,h=a.className,d=h===void 0?"":h,m=a.textBreakAll;if(!i||Ut(s)&&Ut(u)&&!R.isValidElement(f)&&!yt(f))return null;if(R.isValidElement(f))return R.cloneElement(f,a);var v;if(yt(f)){if(v=R.createElement(f,a),R.isValidElement(v))return v}else v=Yye(a);var y=Zye(i),b=$t(a,!0);if(y&&(o==="insideStart"||o==="insideEnd"||o==="end"))return Kye(a,v,b);var E=y?Xye(a):Qye(a);return re.createElement(C1,Oh({className:Nt("recharts-label",d)},b,E,{breakAll:m}),v)}In.displayName="Label";var UV=function(t){var r=t.cx,n=t.cy,a=t.angle,i=t.startAngle,o=t.endAngle,s=t.r,u=t.radius,f=t.innerRadius,h=t.outerRadius,d=t.x,m=t.y,v=t.top,y=t.left,b=t.width,E=t.height,_=t.clockWise,A=t.labelViewBox;if(A)return A;if(ze(b)&&ze(E)){if(ze(d)&&ze(m))return{x:d,y:m,width:b,height:E};if(ze(v)&&ze(y))return{x:v,y,width:b,height:E}}return ze(d)&&ze(m)?{x:d,y:m,width:0,height:0}:ze(r)&&ze(n)?{cx:r,cy:n,startAngle:i||a||0,endAngle:o||a||0,innerRadius:f||0,outerRadius:h||u||s||0,clockWise:_}:t.viewBox?t.viewBox:{}},Jye=function(t,r){return t?t===!0?re.createElement(In,{key:"label-implicit",viewBox:r}):rn(t)?re.createElement(In,{key:"label-implicit",viewBox:r,value:t}):R.isValidElement(t)?t.type===In?R.cloneElement(t,{key:"label-implicit",viewBox:r}):re.createElement(In,{key:"label-implicit",content:t,viewBox:r}):yt(t)?re.createElement(In,{key:"label-implicit",content:t,viewBox:r}):Xf(t)?re.createElement(In,Oh({viewBox:r},t,{key:"label-implicit"})):null:null},ebe=function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var a=t.children,i=UV(t),o=Oi(a,In).map(function(u,f){return R.cloneElement(u,{viewBox:r||i,key:"label-".concat(f)})});if(!n)return o;var s=Jye(t.label,r||i);return[s].concat(jye(o))};In.parseViewBox=UV;In.renderCallByParent=ebe;var ME,gD;function tbe(){if(gD)return ME;gD=1;function e(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}return ME=e,ME}var rbe=tbe();const nbe=Yt(rbe);function kh(e){"@babel/helpers - typeof";return kh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kh(e)}var abe=["valueAccessor"],ibe=["data","dataKey","clockWise","id","textBreakAll"];function obe(e){return cbe(e)||ube(e)||lbe(e)||sbe()}function sbe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 320In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lbe(e,t){if(e){if(typeof e=="string")return E5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return E5(e,t)}}function ube(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cbe(e){if(Array.isArray(e))return E5(e)}function E5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function U1(){return U1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U1.apply(this,arguments)}function vD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function yD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vD(Object(r),!0).forEach(function(n){fbe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function fbe(e,t,r){return t=dbe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dbe(e){var t=hbe(e,"string");return kh(t)=="symbol"?t:t+""}function hbe(e,t){if(kh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(kh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function bD(e,t){if(e==null)return{};var r=pbe(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function pbe(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var mbe=function(t){return Array.isArray(t.value)?nbe(t.value):t.value};function hu(e){var t=e.valueAccessor,r=t===void 0?mbe:t,n=bD(e,abe),a=n.data,i=n.dataKey,o=n.clockWise,s=n.id,u=n.textBreakAll,f=bD(n,ibe);return!a||!a.length?null:re.createElement(hn,{className:"recharts-label-list"},a.map(function(h,d){var m=Ut(i)?r(h,d):co(h&&h.payload,i),v=Ut(s)?{}:{id:"".concat(s,"-").concat(d)};return re.createElement(In,U1({},$t(h,!0),f,v,{parentViewBox:h.parentViewBox,value:m,textBreakAll:u,viewBox:In.parseViewBox(Ut(o)?h:yD(yD({},h),{},{clockWise:o})),key:"label-".concat(d),index:d}))}))}hu.displayName="LabelList";function gbe(e,t){return e?e===!0?re.createElement(hu,{key:"labelList-implicit",data:t}):re.isValidElement(e)||yt(e)?re.createElement(hu,{key:"labelList-implicit",data:t,content:e}):Xf(e)?re.createElement(hu,U1({data:t},e,{key:"labelList-implicit"})):null:null}function vbe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var n=e.children,a=Oi(n,hu).map(function(o,s){return R.cloneElement(o,{data:t,key:"labelList-".concat(s)})});if(!r)return a;var i=gbe(e.label,t);return[i].concat(obe(a))}hu.renderCallByParent=vbe;function Nh(e){"@babel/helpers - typeof";return Nh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nh(e)}function _5(){return _5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_5.apply(this,arguments)}function xD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ED(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xD(Object(r),!0).forEach(function(n){ybe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ybe(e,t,r){return t=bbe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bbe(e){var t=xbe(e,"string");return Nh(t)=="symbol"?t:t+""}function xbe(e,t){if(Nh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Nh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ebe=function(t,r){var n=Ci(r-t),a=Math.min(Math.abs(r-t),359.999);return n*a},vg=function(t){var r=t.cx,n=t.cy,a=t.radius,i=t.angle,o=t.sign,s=t.isExternal,u=t.cornerRadius,f=t.cornerIsExternal,h=u*(s?1:-1)+a,d=Math.asin(u/h)/$1,m=f?i:i+o*d,v=An(r,n,h,m),y=An(r,n,a,m),b=f?i-o*d:i,E=An(r,n,h*Math.cos(d*$1),b);return{center:v,circleTangency:y,lineTangency:E,theta:d}},qV=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,i=t.outerRadius,o=t.startAngle,s=t.endAngle,u=Ebe(o,s),f=o+u,h=An(r,n,i,o),d=An(r,n,i,f),m="M ".concat(h.x,",").concat(h.y,` 321 A `).concat(i,",").concat(i,`,0, 322 `).concat(+(Math.abs(u)>180),",").concat(+(o>f),`, 323 `).concat(d.x,",").concat(d.y,` 324 `);if(a>0){var v=An(r,n,a,o),y=An(r,n,a,f);m+="L ".concat(y.x,",").concat(y.y,` 325 A `).concat(a,",").concat(a,`,0, 326 `).concat(+(Math.abs(u)>180),",").concat(+(o<=f),`, 327 `).concat(v.x,",").concat(v.y," Z")}else m+="L ".concat(r,",").concat(n," Z");return m},_be=function(t){var r=t.cx,n=t.cy,a=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,s=t.forceCornerRadius,u=t.cornerIsExternal,f=t.startAngle,h=t.endAngle,d=Ci(h-f),m=vg({cx:r,cy:n,radius:i,angle:f,sign:d,cornerRadius:o,cornerIsExternal:u}),v=m.circleTangency,y=m.lineTangency,b=m.theta,E=vg({cx:r,cy:n,radius:i,angle:h,sign:-d,cornerRadius:o,cornerIsExternal:u}),_=E.circleTangency,A=E.lineTangency,C=E.theta,P=u?Math.abs(f-h):Math.abs(f-h)-b-C;if(P<0)return s?"M ".concat(y.x,",").concat(y.y,` 328 a`).concat(o,",").concat(o,",0,0,1,").concat(o*2,`,0 329 a`).concat(o,",").concat(o,",0,0,1,").concat(-o*2,`,0 330 `):qV({cx:r,cy:n,innerRadius:a,outerRadius:i,startAngle:f,endAngle:h});var O="M ".concat(y.x,",").concat(y.y,` 331 A`).concat(o,",").concat(o,",0,0,").concat(+(d<0),",").concat(v.x,",").concat(v.y,` 332 A`).concat(i,",").concat(i,",0,").concat(+(P>180),",").concat(+(d<0),",").concat(_.x,",").concat(_.y,` 333 A`).concat(o,",").concat(o,",0,0,").concat(+(d<0),",").concat(A.x,",").concat(A.y,` 334 `);if(a>0){var k=vg({cx:r,cy:n,radius:a,angle:f,sign:d,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),M=k.circleTangency,L=k.lineTangency,H=k.theta,F=vg({cx:r,cy:n,radius:a,angle:h,sign:-d,isExternal:!0,cornerRadius:o,cornerIsExternal:u}),$=F.circleTangency,z=F.lineTangency,W=F.theta,K=u?Math.abs(f-h):Math.abs(f-h)-H-W;if(K<0&&o===0)return"".concat(O,"L").concat(r,",").concat(n,"Z");O+="L".concat(z.x,",").concat(z.y,` 335 A`).concat(o,",").concat(o,",0,0,").concat(+(d<0),",").concat($.x,",").concat($.y,` 336 A`).concat(a,",").concat(a,",0,").concat(+(K>180),",").concat(+(d>0),",").concat(M.x,",").concat(M.y,` 337 A`).concat(o,",").concat(o,",0,0,").concat(+(d<0),",").concat(L.x,",").concat(L.y,"Z")}else O+="L".concat(r,",").concat(n,"Z");return O},wbe={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},VV=function(t){var r=ED(ED({},wbe),t),n=r.cx,a=r.cy,i=r.innerRadius,o=r.outerRadius,s=r.cornerRadius,u=r.forceCornerRadius,f=r.cornerIsExternal,h=r.startAngle,d=r.endAngle,m=r.className;if(o<i||h===d)return null;var v=Nt("recharts-sector",m),y=o-i,b=xu(s,y,0,!0),E;return b>0&&Math.abs(h-d)<360?E=_be({cx:n,cy:a,innerRadius:i,outerRadius:o,cornerRadius:Math.min(b,y/2),forceCornerRadius:u,cornerIsExternal:f,startAngle:h,endAngle:d}):E=qV({cx:n,cy:a,innerRadius:i,outerRadius:o,startAngle:h,endAngle:d}),re.createElement("path",_5({},$t(r,!0),{className:v,d:E,role:"img"}))};function Rh(e){"@babel/helpers - typeof";return Rh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rh(e)}function w5(){return w5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
337for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w5.apply(this,arguments)}function _D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function wD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_D(Object(r),!0).forEach(function(n){Sbe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_D(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Sbe(e,t,r){return t=Tbe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tbe(e){var t=Abe(e,"string");return Rh(t)=="symbol"?t:t+""}function Abe(e,t){if(Rh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Rh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var SD={curveBasisClosed:G0e,curveBasisOpen:Y0e,curveBasis:V0e,curveBumpX:R0e,curveBumpY:M0e,curveLinearClosed:W0e,curveLinear:xy,curveMonotoneX:K0e,curveMonotoneY:X0e,curveNatural:Q0e,curveStep:Z0e,curveStepAfter:ede,curveStepBefore:J0e},yg=function(t){return t.x===+t.x&&t.y===+t.y},fd=function(t){return t.x},dd=function(t){return t.y},Cbe=function(t,r){if(yt(t))return t;var n="curve".concat(yy(t));return(n==="curveMonotone"||n==="curveBump")&&r?SD["".concat(n).concat(r==="vertical"?"Y":"X")]:SD[n]||xy},Obe=function(t){var r=t.type,n=r===void 0?"linear":r,a=t.points,i=a===void 0?[]:a,o=t.baseLine,s=t.layout,u=t.connectNulls,f=u===void 0?!1:u,h=Cbe(n,s),d=f?i.filter(function(b){return yg(b)}):i,m;if(Array.isArray(o)){var v=f?o.filter(function(b){return yg(b)}):o,y=d.map(function(b,E){return wD(wD({},b),{},{base:v[E]})});return s==="vertical"?m=ug().y(dd).x1(fd).x0(function(b){return b.base.x}):m=ug().x(fd).y1(dd).y0(function(b){return b.base.y}),m.defined(yg).curve(h),m(y)}return s==="vertical"&&ze(o)?m=ug().y(dd).x1(fd).x0(o):ze(o)?m=ug().x(fd).y1(dd).y0(o):m=WU().x(fd).y(dd),m.defined(yg).curve(h),m(d)},TD=function(t){var r=t.className,n=t.points,a=t.path,i=t.pathRef;if((!n||!n.length)&&!a)return null;var o=n&&n.length?Obe(t):a;return R.createElement("path",w5({},$t(t,!1),g1(t),{className:Nt("recharts-curve",r),d:o,ref:i}))},PE={exports:{}},IE,AD;function kbe(){if(AD)return IE;AD=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return IE=e,IE}var DE,CD;function Nbe(){if(CD)return DE;CD=1;var e=kbe();function t(){}function r(){}return r.resetWarningCache=t,DE=function(){function n(o,s,u,f,h,d){if(d!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}n.isRequired=n;function a(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:a,element:n,elementType:n,instanceOf:a,node:n,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},DE}var OD;function Rbe(){return OD||(OD=1,PE.exports=Nbe()()),PE.exports}var Mbe=Rbe();const Gt=Yt(Mbe);var Pbe=Object.getOwnPropertyNames,Ibe=Object.getOwnPropertySymbols,Dbe=Object.prototype.hasOwnProperty;function kD(e,t){return function(n,a,i){return e(n,a,i)&&t(n,a,i)}}function bg(e){return function(r,n,a){if(!r||!n||typeof r!="object"||typeof n!="object")return e(r,n,a);var i=a.cache,o=i.get(r),s=i.get(n);if(o&&s)return o===n&&s===r;i.set(r,n),i.set(n,r);var u=e(r,n,a);return i.delete(r),i.delete(n),u}}function Lbe(e){return e?.[Symbol.toStringTag]}function ND(e){return Pbe(e).concat(Ibe(e))}var jbe=Object.hasOwn||(function(e,t){return Dbe.call(e,t)});function Lu(e,t){return e===t||!e&&!t&&e!==e&&t!==t}var Bbe="__v",zbe="__o",Hbe="_owner",RD=Object.getOwnPropertyDescriptor,MD=Object.keys;function Fbe(e,t,r){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(!r.equals(e[n],t[n],n,n,e,t,r))return!1;return!0}function $be(e,t){return Lu(e.getTime(),t.getTime())}function Ube(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function qbe(e,t){return e===t}function PD(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var a=new Array(n),i=e.entries(),o,s,u=0;(o=i.next())&&!o.done;){for(var f=t.entries(),h=!1,d=0;(s=f.next())&&!s.done;){if(a[d]){d++;continue}var m=o.value,v=s.value;if(r.equals(m[0],v[0],u,d,e,t,r)&&r.equals(m[1],v[1],m[0],v[0],e,t,r)){h=a[d]=!0;break}d++}if(!h)return!1;u++}return!0}var Vbe=Lu;function Gbe(e,t,r){var n=MD(e),a=n.length;if(MD(t).length!==a)return!1;for(;a-- >0;)if(!GV(e,t,r,n[a]))return!1;return!0}function hd(e,t,r){var n=ND(e),a=n.length;if(ND(t).length!==a)return!1;for(var i,o,s;a-- >0;)if(i=n[a],!GV(e,t,r,i)||(o=RD(e,i),s=RD(t,i),(o||s)&&(!o||!s||o.configurable!==s.configurable||o.enumerable!==s.enumerable||o.writable!==s.writable)))return!1;return!0}function Ybe(e,t){return Lu(e.valueOf(),t.valueOf())}function Wbe(e,t){return e.source===t.source&&e.flags===t.flags}function ID(e,t,r){var n=e.size;if(n!==t.size)return!1;if(!n)return!0;for(var a=new Array(n),i=e.values(),o,s;(o=i.next())&&!o.done;){for(var u=t.values(),f=!1,h=0;(s=u.next())&&!s.done;){if(!a[h]&&r.equals(o.value,s.value,o.value,s.value,e,t,r)){f=a[h]=!0;break}h++}if(!f)return!1}return!0}function Kbe(e,t){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(e[r]!==t[r])return!1;return!0}function Xbe(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function GV(e,t,r,n){return(n===Hbe||n===zbe||n===Bbe)&&(e.$$typeof||t.$$typeof)?!0:jbe(t,n)&&r.equals(e[n],t[n],n,n,e,t,r)}var Qbe="[object Arguments]",Zbe="[object Boolean]",Jbe="[object Date]",e2e="[object Error]",t2e="[object Map]",r2e="[object Number]",n2e="[object Object]",a2e="[object RegExp]",i2e="[object Set]",o2e="[object String]",s2e="[object URL]",l2e=Array.isArray,DD=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,LD=Object.assign,u2e=Object.prototype.toString.call.bind(Object.prototype.toString);function c2e(e){var t=e.areArraysEqual,r=e.areDatesEqual,n=e.areErrorsEqual,a=e.areFunctionsEqual,i=e.areMapsEqual,o=e.areNumbersEqual,s=e.areObjectsEqual,u=e.arePrimitiveWrappersEqual,f=e.areRegExpsEqual,h=e.areSetsEqual,d=e.areTypedArraysEqual,m=e.areUrlsEqual,v=e.unknownTagComparators;return function(b,E,_){if(b===E)return!0;
337if(b==null||E==null)return!1;var A=typeof b;if(A!==typeof E)return!1;if(A!=="object")return A==="number"?o(b,E,_):A==="function"?a(b,E,_):!1;var C=b.constructor;if(C!==E.constructor)return!1;if(C===Object)return s(b,E,_);if(l2e(b))return t(b,E,_);if(DD!=null&&DD(b))return d(b,E,_);if(C===Date)return r(b,E,_);if(C===RegExp)return f(b,E,_);if(C===Map)return i(b,E,_);if(C===Set)return h(b,E,_);var P=u2e(b);if(P===Jbe)return r(b,E,_);if(P===a2e)return f(b,E,_);if(P===t2e)return i(b,E,_);if(P===i2e)return h(b,E,_);if(P===n2e)return typeof b.then!="function"&&typeof E.then!="function"&&s(b,E,_);if(P===s2e)return m(b,E,_);if(P===e2e)return n(b,E,_);if(P===Qbe)return s(b,E,_);if(P===Zbe||P===r2e||P===o2e)return u(b,E,_);if(v){var O=v[P];if(!O){var k=Lbe(b);k&&(O=v[k])}if(O)return O(b,E,_)}return!1}}function f2e(e){var t=e.circular,r=e.createCustomConfig,n=e.strict,a={areArraysEqual:n?hd:Fbe,areDatesEqual:$be,areErrorsEqual:Ube,areFunctionsEqual:qbe,areMapsEqual:n?kD(PD,hd):PD,areNumbersEqual:Vbe,areObjectsEqual:n?hd:Gbe,arePrimitiveWrappersEqual:Ybe,areRegExpsEqual:Wbe,areSetsEqual:n?kD(ID,hd):ID,areTypedArraysEqual:n?hd:Kbe,areUrlsEqual:Xbe,unknownTagComparators:void 0};if(r&&(a=LD({},a,r(a))),t){var i=bg(a.areArraysEqual),o=bg(a.areMapsEqual),s=bg(a.areObjectsEqual),u=bg(a.areSetsEqual);a=LD({},a,{areArraysEqual:i,areMapsEqual:o,areObjectsEqual:s,areSetsEqual:u})}return a}function d2e(e){return function(t,r,n,a,i,o,s){return e(t,r,s)}}function h2e(e){var t=e.circular,r=e.comparator,n=e.createState,a=e.equals,i=e.strict;if(n)return function(u,f){var h=n(),d=h.cache,m=d===void 0?t?new WeakMap:void 0:d,v=h.meta;return r(u,f,{cache:m,equals:a,meta:v,strict:i})};if(t)return function(u,f){return r(u,f,{cache:new WeakMap,equals:a,meta:void 0,strict:i})};var o={cache:void 0,equals:a,meta:void 0,strict:i};return function(u,f){return r(u,f,o)}}var p2e=_l();_l({strict:!0});_l({circular:!0});_l({circular:!0,strict:!0});_l({createInternalComparator:function(){return Lu}});_l({strict:!0,createInternalComparator:function(){return Lu}});_l({circular:!0,createInternalComparator:function(){return Lu}});_l({circular:!0,createInternalComparator:function(){return Lu},strict:!0});function _l(e){e===void 0&&(e={});var t=e.circular,r=t===void 0?!1:t,n=e.createInternalComparator,a=e.createState,i=e.strict,o=i===void 0?!1:i,s=f2e(e),u=c2e(s),f=n?n(u):d2e(u);return h2e({circular:r,comparator:u,createState:a,equals:f,strict:o})}function m2e(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function jD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=-1,n=function a(i){r<0&&(r=i),i-r>t?(e(i),r=-1):m2e(a)};requestAnimationFrame(n)}function S5(e){"@babel/helpers - typeof";return S5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S5(e)}function g2e(e){return x2e(e)||b2e(e)||y2e(e)||v2e()}function v2e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 338In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y2e(e,t){if(e){if(typeof e=="string")return BD(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return BD(e,t)}}function BD(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function b2e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function x2e(e){if(Array.isArray(e))return e}function E2e(){var e={},t=function(){return null},r=!1,n=function a(i){if(!r){if(Array.isArray(i)){if(!i.length)return;var o=i,s=g2e(o),u=s[0],f=s.slice(1);if(typeof u=="number"){jD(a.bind(null,f),u);return}a(u),jD(a.bind(null,f));return}S5(i)==="object"&&(e=i,t(e)),typeof i=="function"&&i()}};return{stop:function(){r=!0},start:function(i){r=!1,n(i)},subscribe:function(i){return t=i,function(){t=function(){return null}}}}}function Mh(e){"@babel/helpers - typeof";return Mh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mh(e)}function zD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function HD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
vendor: 150,904 bytes, lines 338-359
338t%2?zD(Object(r),!0).forEach(function(n){YV(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function YV(e,t,r){return t=_2e(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _2e(e){var t=w2e(e,"string");return Mh(t)==="symbol"?t:String(t)}function w2e(e,t){if(Mh(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Mh(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var S2e=function(t,r){return[Object.keys(t),Object.keys(r)].reduce(function(n,a){return n.filter(function(i){return a.includes(i)})})},T2e=function(t){return t},A2e=function(t){return t.replace(/([A-Z])/g,function(r){return"-".concat(r.toLowerCase())})},Hd=function(t,r){return Object.keys(r).reduce(function(n,a){return HD(HD({},n),{},YV({},a,t(a,r[a])))},{})},FD=function(t,r,n){return t.map(function(a){return"".concat(A2e(a)," ").concat(r,"ms ").concat(n)}).join(",")};function C2e(e,t){return N2e(e)||k2e(e,t)||WV(e,t)||O2e()}function O2e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 339In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k2e(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function N2e(e){if(Array.isArray(e))return e}function R2e(e){return I2e(e)||P2e(e)||WV(e)||M2e()}function M2e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 340In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WV(e,t){if(e){if(typeof e=="string")return T5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T5(e,t)}}function P2e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function I2e(e){if(Array.isArray(e))return T5(e)}function T5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var q1=1e-4,KV=function(t,r){return[0,3*t,3*r-6*t,3*t-3*r+1]},XV=function(t,r){return t.map(function(n,a){return n*Math.pow(r,a)}).reduce(function(n,a){return n+a})},$D=function(t,r){return function(n){var a=KV(t,r);return XV(a,n)}},D2e=function(t,r){return function(n){var a=KV(t,r),i=[].concat(R2e(a.map(function(o,s){return o*s}).slice(1)),[0]);return XV(i,n)}},UD=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r[0],i=r[1],o=r[2],s=r[3];if(r.length===1)switch(r[0]){case"linear":a=0,i=0,o=1,s=1;break;case"ease":a=.25,i=.1,o=.25,s=1;break;case"ease-in":a=.42,i=0,o=1,s=1;break;case"ease-out":a=.42,i=0,o=.58,s=1;break;case"ease-in-out":a=0,i=0,o=.58,s=1;break;default:{var u=r[0].split("(");if(u[0]==="cubic-bezier"&&u[1].split(")")[0].split(",").length===4){var f=u[1].split(")")[0].split(",").map(function(E){return parseFloat(E)}),h=C2e(f,4);a=h[0],i=h[1],o=h[2],s=h[3]}}}var d=$D(a,o),m=$D(i,s),v=D2e(a,o),y=function(_){return _>1?1:_<0?0:_},b=function(_){for(var A=_>1?1:_,C=A,P=0;P<8;++P){var O=d(C)-A,k=v(C);if(Math.abs(O-A)<q1||k<q1)return m(C);C=y(C-O/k)}return m(C)};return b.isStepper=!1,b},L2e=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.stiff,n=r===void 0?100:r,a=t.damping,i=a===void 0?8:a,o=t.dt,s=o===void 0?17:o,u=function(h,d,m){var v=-(h-d)*n,y=m*i,b=m+(v-y)*s/1e3,E=m*s/1e3+h;return Math.abs(E-d)<q1&&Math.abs(b)<q1?[d,0]:[E,b]};return u.isStepper=!0,u.dt=s,u},j2e=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=r[0];if(typeof a=="string")switch(a){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return UD(a);case"spring":return L2e();default:if(a.split("(")[0]==="cubic-bezier")return UD(a)}return typeof a=="function"?a:null};function Ph(e){"@babel/helpers - typeof";return Ph=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ph(e)}function qD(e){return H2e(e)||z2e(e)||QV(e)||B2e()}function B2e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 341In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z2e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function H2e(e){if(Array.isArray(e))return C5(e)}function VD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Sn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?VD(Object(r),!0).forEach(function(n){A5(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):VD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function A5(e,t,r){return t=F2e(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F2e(e){var t=$2e(e,"string");return Ph(t)==="symbol"?t:String(t)}function $2e(e,t){if(Ph(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ph(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function U2e(e,t){return G2e(e)||V2e(e,t)||QV(e,t)||q2e()}function q2e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 342In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QV(e,t){if(e){if(typeof e=="string")return C5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C5(e,t)}}function C5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function V2e(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function G2e(e){if(Array.isArray(e))return e}var V1=function(t,r,n){return t+(r-t)*n},O5=function(t){var r=t.from,n=t.to;return r!==n},Y2e=function e(t,r,n){var a=Hd(function(i,o){if(O5(o)){var s=t(o.from,o.to,o.velocity),u=U2e(s,2),f=u[0],h=u[1];return Sn(Sn({},o),{},{from:f,velocity:h})}return o},r);return n<1?Hd(function(i,o){return O5(o)?Sn(Sn({},o),{},{velocity:V1(o.velocity,a[i].velocity,n),from:V1(o.from,a[i].from,n)}):o},r):e(t,a,n-1)};const W2e=(function(e,t,r,n,a){var i=S2e(e,t),o=i.reduce(function(E,_){return Sn(Sn({},E),{},A5({},_,[e[_],t[_]]))},{}),s=i.reduce(function(E,_){return Sn(Sn({},E),{},A5({},_,{from:e[_],velocity:0,to:t[_]}))},{}),u=-1,f,h,d=function(){return null},m=function(){return Hd(function(_,A){return A.from},s)},v=function(){return!Object.values(s).filter(O5).length},y=function(_){f||(f=_);var A=_-f,C=A/r.dt;s=Y2e(r,s,C),a(Sn(Sn(Sn({},e),t),m())),f=_,v()||(u=requestAnimationFrame(d))},b=function(_){h||(h=_);var A=(_-h)/n,C=Hd(function(O,k){return V1.apply(void 0,qD(k).concat([r(A)]))},o);if(a(Sn(Sn(Sn({},e),t),C)),A<1)u=requestAnimationFrame(d);else{var P=Hd(function(O,k){return V1.apply(void 0,qD(k).concat([r(1)]))},o);a(Sn(Sn(Sn({},e),t),P))}};return d=r.isStepper?y:b,function(){return requestAnimationFrame(d),function(){cancelAnimationFrame(u)}}});function Cf(e){"@babel/helpers - typeof";return Cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cf(e)}var K2e=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function X2e(e,t){if(e==null)return{};var r=Q2e(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Q2e(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function LE(e){return txe(e)||exe(e)||J2e(e)||Z2e()}function Z2e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 343In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J2e(e,t){if(e){if(typeof e=="string")return k5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return k5(e,t)}}function exe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function txe(e){if(Array.isArray(e))return k5(e)}function k5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function GD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ei(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?GD(Object(r),!0).forEach(function(n){Od(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):GD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Od(e,t,r){return t=ZV(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rxe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nxe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ZV(n.key),n)}}function axe(e,t,r){return t&&nxe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ZV(e){var t=ixe(e,"string");return Cf(t)==="symbol"?t:String(t)}function ixe(e,t){if(Cf(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Cf(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function oxe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N5(e,t)}function N5(e,t){return N5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},N5(e,t)}function sxe(e){var t=lxe();return function(){var n=G1(e),a;if(t){var i=G1(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return R5(this,a)}}function R5(e,t){if(t&&(Cf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return M5(e)}function M5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lxe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function G1(e){return G1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},G1(e)}var hl=(function(e){oxe(r,e);var t=sxe(r);function r(n,a){var i;rxe(this,r),i=t.call(this,n,a);var o=i.props,s=o.isActive,u=o.attributeName,f=o.from,h=o.to,d=o.steps,m=o.children,v=o.duration;if(i.handleStyleChange=i.handleStyleChange.bind(M5(i)),i.changeStyle=i.changeStyle.bind(M5(i)),!s||v<=0)return i.state={style:{}},typeof m=="function"&&(i.state={style:h}),R5(i);if(d&&d.length)i.state={style:d[0].style};else if(f){if(typeof m=="function")return i.state={style:f},R5(i);i.state={style:u?Od({},u,f):f}}else i.state={style:{}};return i}return axe(r,[{key:"componentDidMount",value:function(){var a=this.props,i=a.isActive,o=a.canBegin;this.mounted=!0,!(!i||!o)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(a){var i=this.props,o=i.isActive,s=i.canBegin,u=i.attributeName,f=i.shouldReAnimate,h=i.to,d=i.from,m=this.state.style;if(s){if(!o){var v={style:u?Od({},u,h):h};this.state&&m&&(u&&m[u]!==h||!u&&m!==h)&&this.setState(v);return}if(!(p2e(a.to,h)&&a.canBegin&&a.isActive)){var y=!a.canBegin||!a.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var b=y||f?d:a.to;if(this.state&&m){var E={style:u?Od({},u,b):b};(u&&m[u]!==b||!u&&m!==b)&&this.setState(E)}this.runAnimation(Ei(Ei({},this.props),{},{from:b,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var a=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),a&&a()}},{key:"handleStyleChange",value:function(a){this.changeStyle(a)}},{key:"changeStyle",value:function(a){this.mounted&&this.setState({style:a})}},{key:"runJSAnimation",value:function(a){var i=this,o=a.from,s=a.to,u=a.duration,f=a.easing,h=a.begin,d=a.onAnimationEnd,m=a.onAnimationStart,v=W2e(o,s,j2e(f),u,this.changeStyle),y=function(){i.stopJSAnimation=v()};this.manager.start([m,h,y,u,d])}},{key:"runStepAnimation",value:function(a){var i=this,o=a.steps,s=a.begin,u=a.onAnimationStart,f=o[0],h=f.style,d=f.duration,m=d===void 0?0:d,v=function(b,E,_){if(_===0)return b;var A=E.duration,C=E.easing,P=C===void 0?"ease":C,O=E.style,k=E.properties,M=E.onAnimationEnd,L=_>0?o[_-1]:E,H=k||Object.keys(O);if(typeof P=="function"||P==="spring")return[].concat(LE(b),[i.runJSAnimation.bind(i,{from:L.style,to:O,duration:A,easing:P}),A]);var F=FD(H,A,P),$=Ei(Ei(Ei({},L.style),O),{},{transition:F});return[].concat(LE(b),[$,A,M]).filter(T2e)};return this.manager.start([u].concat(LE(o.reduce(v,[h,Math.max(m,s)])),[a.onAnimationEnd]))}},{key:"runAnimation",value:function(a){this.manager||(this.manager=E2e());var i=a.begin,o=a.duration,s=a.attributeName,u=a.to,f=a.easing,h=a.onAnimationStart,d=a.onAnimationEnd,m=a.steps,v=a.children,y=this.manager;if(this.unSubscribe=y.subscribe(this.handleStyleChange),typeof f=="function"||typeof v=="function"||f==="spring"){this.runJSAnimation(a);return}if(m.length>1){this.runStepAnimation(a);return}var b=s?Od({},s,u):u,E=FD(Object.keys(b),o,f);y.start([h,i,Ei(Ei({},b),{},{transition:E}),o,d])}},{key:"render",value:function(){var a=this.props,i=a.children;a.begin;var o=a.duration;a.attributeName,a.easing;var s=a.isActive;a.steps,a.from,a.to,a.canBegin,a.onAnimationEnd,a.shouldReAnimate,a.onAnimationReStart;var u=X2e(a,K2e),f=R.Children.count(i),h=this.state.style;if(typeof i=="function")return i(h);if(!s||f===0||o<=0)return i;var d=function(v){var y=v.props,b=y.style,E=b===void 0?{}:b,_=y.className,A=R.cloneElement(v,Ei(Ei({},u),{},{style:Ei(Ei({},E),h),className:_}));return A};return f===1?d(R.Children.only(i)):re.createElement("div",null,R.Children.map(i,function(m){return d(m)}))}}]),r})(R.PureComponent);hl.displayName="Animate";hl.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};hl.propTypes={from:Gt.oneOfType([Gt.object,Gt.string]),to:Gt.oneOfType([Gt.object,Gt.string]),attributeName:Gt.string,duration:Gt.number,begin:Gt.number,easing:Gt.oneOfType([Gt.string,Gt.func]),steps:Gt.arrayOf(Gt.shape({duration:Gt.number.isRequired,style:Gt.object.isRequired,easing:Gt.oneOfType([Gt.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),Gt.func]),properties:Gt.arrayOf("string"),onAnimationEnd:Gt.func})),children:Gt.oneOfType([Gt.node,Gt.func]),isActive:Gt.bool,canBegin:Gt.bool,onAnimationEnd:Gt.func,shouldReAnimate:Gt.bool,onAnimationStart:Gt.func,onAnimationReStart:Gt.func};function Ih(e){"@babel/helpers - typeof";return Ih=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ih(e)}function Y1(){return Y1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y1.apply(this,arguments)}function uxe(e,t){return hxe(e)||dxe(e,t)||fxe(e,t)||cxe()}function cxe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 344In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fxe(e,t){if(e){if(typeof e=="string")return YD(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return YD(e,t)}}function YD(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dxe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function hxe(e){if(Array.isArray(e))return e}function WD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function KD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?WD(Object(r),!0).forEach(function(n){pxe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):WD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function pxe(e,t,r){return t=mxe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mxe(e){var t=gxe(e,"string");return Ih(t)=="symbol"?t:t+""}function gxe(e,t){if(Ih(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Ih(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var XD=function(t,r,n,a,i){var o=Math.min(Math.abs(n)/2,Math.abs(a)/2),s=a>=0?1:-1,u=n>=0?1:-1,f=a>=0&&n>=0||a<0&&n<0?1:0,h;if(o>0&&i instanceof Array){for(var d=[0,0,0,0],m=0,v=4;m<v;m++)d[m]=i[m]>o?o:i[m];h="M".concat(t,",").concat(r+s*d[0]),d[0]>0&&(h+="A ".concat(d[0],",").concat(d[0],",0,0,").concat(f,",").concat(t+u*d[0],",").concat(r)),h+="L ".concat(t+n-u*d[1],",").concat(r),d[1]>0&&(h+="A ".concat(d[1],",").concat(d[1],",0,0,").concat(f,`, 345 `).concat(t+n,",").concat(r+s*d[1])),h+="L ".concat(t+n,",").concat(r+a-s*d[2]),d[2]>0&&(h+="A ".concat(d[2],",").concat(d[2],",0,0,").concat(f,`, 346 `).concat(t+n-u*d[2],",").concat(r+a)),h+="L ".concat(t+u*d[3],",").concat(r+a),d[3]>0&&(h+="A ".concat(d[3],",").concat(d[3],",0,0,").concat(f,`, 347 `).concat(t,",").concat(r+a-s*d[3])),h+="Z"}else if(o>0&&i===+i&&i>0){var y=Math.min(o,i);h="M ".concat(t,",").concat(r+s*y,` 348 A `).concat(y,",").concat(y,",0,0,").concat(f,",").concat(t+u*y,",").concat(r,` 349 L `).concat(t+n-u*y,",").concat(r,` 350 A `).concat(y,",").concat(y,",0,0,").concat(f,",").concat(t+n,",").concat(r+s*y,` 351 L `).concat(t+n,",").concat(r+a-s*y,` 352 A `).concat(y,",").concat(y,",0,0,").concat(f,",").concat(t+n-u*y,",").concat(r+a,` 353 L `).concat(t+u*y,",").concat(r+a,` 354 A `).concat(y,",").concat(y,",0,0,").concat(f,",").concat(t,",").concat(r+a-s*y," Z")}else h="M ".concat(t,",").concat(r," h ").concat(n," v ").concat(a," h ").concat(-n," Z");return h},vxe=function(t,r){if(!t||!r)return!1;var n=t.x,a=t.y,i=r.x,o=r.y,s=r.width,u=r.height;if(Math.abs(s)>0&&Math.abs(u)>0){var f=Math.min(i,i+s),h=Math.max(i,i+s),d=Math.min(o,o+u),m=Math.max(o,o+u);return n>=f&&n<=h&&a>=d&&a<=m}return!1},yxe={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},TA=function(t){var r=KD(KD({},yxe),t),n=R.useRef(),a=R.useState(-1),i=uxe(a,2),o=i[0],s=i[1];R.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var P=n.current.getTotalLength();P&&s(P)}catch{}},[]);var u=r.x,f=r.y,h=r.width,d=r.height,m=r.radius,v=r.className,y=r.animationEasing,b=r.animationDuration,E=r.animationBegin,_=r.isAnimationActive,A=r.isUpdateAnimationActive;if(u!==+u||f!==+f||h!==+h||d!==+d||h===0||d===0)return null;var C=Nt("recharts-rectangle",v);return A?re.createElement(hl,{canBegin:o>0,from:{width:h,height:d,x:u,y:f},to:{width:h,height:d,x:u,y:f},duration:b,animationEasing:y,isActive:A},function(P){var O=P.width,k=P.height,M=P.x,L=P.y;return re.createElement(hl,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:E,duration:b,isActive:_,easing:y},re.createElement("path",Y1({},$t(r,!0),{className:C,d:XD(M,L,O,k,m),ref:n})))}):re.createElement("path",Y1({},$t(r,!0),{className:C,d:XD(u,f,h,d,m)}))};function P5(){return P5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},P5.apply(this,arguments)}var JV=function(t){var r=t.cx,n=t.cy,a=t.r,i=t.className,o=Nt("recharts-dot",i);return r===+r&&n===+n&&a===+a?R.createElement("circle",P5({},$t(t,!1),g1(t),{className:o,cx:r,cy:n,r:a})):null};function Dh(e){"@babel/helpers - typeof";return Dh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dh(e)}var bxe=["x","y","top","left","width","height","className"];function I5(){return I5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I5.apply(this,arguments)}function QD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function xxe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?QD(Object(r),!0).forEach(function(n){Exe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):QD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Exe(e,t,r){return t=_xe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _xe(e){var t=wxe(e,"string");return Dh(t)=="symbol"?t:t+""}function wxe(e,t){if(Dh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Dh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Sxe(e,t){if(e==null)return{};var r=Txe(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Txe(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var Axe=function(t,r,n,a,i,o){return"M".concat(t,",").concat(i,"v").concat(a,"M").concat(o,",").concat(r,"h").concat(n)},Cxe=function(t){var r=t.x,n=r===void 0?0:r,a=t.y,i=a===void 0?0:a,o=t.top,s=o===void 0?0:o,u=t.left,f=u===void 0?0:u,h=t.width,d=h===void 0?0:h,m=t.height,v=m===void 0?0:m,y=t.className,b=Sxe(t,bxe),E=xxe({x:n,y:i,top:s,left:f,width:d,height:v},b);return!ze(n)||!ze(i)||!ze(d)||!ze(v)||!ze(s)||!ze(f)?null:re.createElement("path",I5({},$t(E,!0),{className:Nt("recharts-cross",y),d:Axe(n,i,d,v,s,f)}))},jE,ZD;function Oxe(){if(ZD)return jE;ZD=1;var e=vq(),t=e(Object.getPrototypeOf,Object);return jE=t,jE}var BE,JD;function kxe(){if(JD)return BE;JD=1;var e=hs(),t=Oxe(),r=ps(),n="[object Object]",a=Function.prototype,i=Object.prototype,o=a.toString,s=i.hasOwnProperty,u=o.call(Object);function f(h){if(!r(h)||e(h)!=n)return!1;var d=t(h);if(d===null)return!0;var m=s.call(d,"constructor")&&d.constructor;return typeof m=="function"&&m instanceof m&&o.call(m)==u}return BE=f,BE}var Nxe=kxe();const Rxe=Yt(Nxe);var zE,eL;function Mxe(){if(eL)return zE;eL=1;var e=hs(),t=ps(),r="[object Boolean]";function n(a){return a===!0||a===!1||t(a)&&e(a)==r}return zE=n,zE}var Pxe=Mxe();const Ixe=Yt(Pxe);function Lh(e){"@babel/helpers - typeof";return Lh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lh(e)}function W1(){return W1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W1.apply(this,arguments)}function Dxe(e,t){return zxe(e)||Bxe(e,t)||jxe(e,t)||Lxe()}function Lxe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 355In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jxe(e,t){if(e){if(typeof e=="string")return tL(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tL(e,t)}}function tL(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Bxe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function zxe(e){if(Array.isArray(e))return e}function rL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function nL(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rL(Object(r),!0).forEach(function(n){Hxe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Hxe(e,t,r){return t=Fxe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fxe(e){var t=$xe(e,"string");return Lh(t)=="symbol"?t:t+""}function $xe(e,t){if(Lh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Lh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var aL=function(t,r,n,a,i){var o=n-a,s;return s="M ".concat(t,",").concat(r),s+="L ".concat(t+n,",").concat(r),s+="L ".concat(t+n-o/2,",").concat(r+i),s+="L ".concat(t+n-o/2-a,",").concat(r+i),s+="L ".concat(t,",").concat(r," Z"),s},Uxe={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},qxe=function(t){var r=nL(nL({},Uxe),t),n=R.useRef(),a=R.useState(-1),i=Dxe(a,2),o=i[0],s=i[1];R.useEffect(function(){if(n.current&&n.current.getTotalLength)try{var C=n.current.getTotalLength();C&&s(C)}catch{}},[]);var u=r.x,f=r.y,h=r.upperWidth,d=r.lowerWidth,m=r.height,v=r.className,y=r.animationEasing,b=r.animationDuration,E=r.animationBegin,_=r.isUpdateAnimationActive;if(u!==+u||f!==+f||h!==+h||d!==+d||m!==+m||h===0&&d===0||m===0)return null;var A=Nt("recharts-trapezoid",v);return _?re.createElement(hl,{canBegin:o>0,from:{upperWidth:0,lowerWidth:0,height:m,x:u,y:f},to:{upperWidth:h,lowerWidth:d,height:m,x:u,y:f},duration:b,animationEasing:y,isActive:_},function(C){var P=C.upperWidth,O=C.lowerWidth,k=C.height,M=C.x,L=C.y;return re.createElement(hl,{canBegin:o>0,from:"0px ".concat(o===-1?1:o,"px"),to:"".concat(o,"px 0px"),attributeName:"strokeDasharray",begin:E,duration:b,easing:y},re.createElement("path",W1({},$t(r,!0),{className:A,d:aL(M,L,P,O,k),ref:n})))}):re.createElement("g",null,re.createElement("path",W1({},$t(r,!0),{className:A,d:aL(u,f,h,d,m)})))},Vxe=["option","shapeType","propTransformer","activeClassName","isActive"];function jh(e){"@babel/helpers - typeof";return jh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jh(e)}function Gxe(e,t){if(e==null)return{};var r=Yxe(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Yxe(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function iL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function K1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iL(Object(r),!0).forEach(function(n){Wxe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Wxe(e,t,r){return t=Kxe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kxe(e){var t=Xxe(e,"string");return jh(t)=="symbol"?t:t+""}function Xxe(e,t){if(jh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(jh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qxe(e,t){return K1(K1({},t),e)}function Zxe(e,t){return e==="symbols"}function oL(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return re.createElement(TA,r);case"trapezoid":return re.createElement(qxe,r);case"sector":return re.createElement(VV,r);case"symbols":if(Zxe(t))return re.createElement(qT,r);break;default:return null}}function Jxe(e){return R.isValidElement(e)?e.props:e}function e4e(e){var t=e.option,r=e.shapeType,n=e.propTransformer,a=n===void 0?Qxe:n,i=e.activeClassName,o=i===void 0?"recharts-active-shape":i,s=e.isActive,u=Gxe(e,Vxe),f;if(R.isValidElement(t))f=R.cloneElement(t,K1(K1({},u),Jxe(t)));else if(yt(t))f=t(u);else if(Rxe(t)&&!Ixe(t)){var h=a(t,u);f=re.createElement(oL,{shapeType:r,elementProps:h})}else{var d=u;f=re.createElement(oL,{shapeType:r,elementProps:d})}return s?re.createElement(hn,{className:o},f):f}function jy(e,t){return t!=null&&"trapezoids"in e.props}function By(e,t){return t!=null&&"sectors"in e.props}function Bh(e,t){return t!=null&&"points"in e.props}function t4e(e,t){var r,n,a=e.x===(t==null||(r=t.labelViewBox)===null||r===void 0?void 0:r.x)||e.x===t.x,i=e.y===(t==null||(n=t.labelViewBox)===null||n===void 0?void 0:n.y)||e.y===t.y;return a&&i}function r4e(e,t){var r=e.endAngle===t.endAngle,n=e.startAngle===t.startAngle;return r&&n}function n4e(e,t){var r=e.x===t.x,n=e.y===t.y,a=e.z===t.z;return r&&n&&a}function a4e(e,t){var r;return jy(e,t)?r=t4e:By(e,t)?r=r4e:Bh(e,t)&&(r=n4e),r}function i4e(e,t){var r;return jy(e,t)?r="trapezoids":By(e,t)?r="sectors":Bh(e,t)&&(r="points"),r}function o4e(e,t){if(jy(e,t)){var r;return(r=t.tooltipPayload)===null||r===void 0||(r=r[0])===null||r===void 0||(r=r.payload)===null||r===void 0?void 0:r.payload}if(By(e,t)){var n;return(n=t.tooltipPayload)===null||n===void 0||(n=n[0])===null||n===void 0||(n=n.payload)===null||n===void 0?void 0:n.payload}return Bh(e,t)?t.payload:{}}function s4e(e){var t=e.activeTooltipItem,r=e.graphicalItem,n=e.itemData,a=i4e(r,t),i=o4e(r,t),o=n.filter(function(u,f){var h=EA(i,u),d=r.props[a].filter(function(y){var b=a4e(r,t);return b(y,t)}),m=r.props[a].indexOf(d[d.length-1]),v=f===m;return h&&v}),s=n.indexOf(o[o.length-1]);return s}var HE,sL;function l4e(){if(sL)return HE;sL=1;var e=Math.ceil,t=Math.max;function r(n,a,i,o){for(var s=-1,u=t(e((a-n)/(i||1)),0),f=Array(u);u--;)f[o?u:++s]=n,n+=i;return f}return HE=r,HE}var FE,lL;function eG(){if(lL)return FE;lL=1;var e=Pq(),t=1/0,r=17976931348623157e292;function n(a){if(!a)return a===0?a:0;if(a=e(a),a===t||a===-t){var i=a<0?-1:1;return i*r}return a===a?a:0}return FE=n,FE}var $E,uL;function u4e(){if(uL)return $E;uL=1;var e=l4e(),t=Sy(),r=eG();function n(a){return function(i,o,s){return s&&typeof s!="number"&&t(i,o,s)&&(o=s=void 0),i=r(i),o===void 0?(o=i,i=0):o=r(o),s=s===void 0?i<o?1:-1:r(s),e(i,o,s,a)}}return $E=n,$E}var UE,cL;function c4e(){if(cL)return UE;cL=1;var e=u4e(),t=e();return UE=t,UE}var f4e=c4e();const X1=Yt(f4e);function zh(e){"@babel/helpers - typeof";return zh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zh(e)}function fL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function dL(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fL(Object(r),!0).forEach(function(n){tG(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function tG(e,t,r){return t=d4e(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d4e(e){var t=h4e(e,"string");return zh(t)=="symbol"?t:t+""}function h4e(e,t){if(zh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(zh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var p4e=["Webkit","Moz","O","ms"],m4e=function(t,r){var n=t.replace(/(\w)/,function(i){return i.toUpperCase()}),a=p4e.reduce(function(i,o){return dL(dL({},i),{},tG({},o+n,r))},{});return a[t]=r,a};function Of(e){"@babel/helpers - typeof";return Of=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Of(e)}function Q1(){return Q1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q1.apply(this,arguments)}function hL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function qE(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?hL(Object(r),!0).forEach(function(n){Na(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):hL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function g4e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,nG(n.key),n)}}function v4e(e,t,r){return t&&pL(e.prototype,t),r&&pL(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function y4e(e,t,r){return t=Z1(t),b4e(e,rG()?Reflect.construct(t,r||[],Z1(e).constructor):t.apply(e,r))}function b4e(e,t){if(t&&(Of(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return x4e(e)}function x4e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rG=function(){return!!e})()}function Z1(e){return Z1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Z1(e)}function E4e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&D5(e,t)}function D5(e,t){return D5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},D5(e,t)}function Na(e,t,r){return t=nG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nG(e){var t=_4e(e,"string");return Of(t)=="symbol"?t:t+""}function _4e(e,t){if(Of(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Of(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var w4e=function(t){var r=t.data,n=t.startIndex,a=t.endIndex,i=t.x,o=t.width,s=t.travellerWidth;if(!r||!r.length)return{};var u=r.length,f=Bd().domain(X1(0,u)).range([i,i+o-s]),h=f.domain().map(function(d){return f(d)});return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:f(n),endX:f(a),scale:f,scaleValues:h}},mL=function(t){return t.changedTouches&&!!t.changedTouches.length},kf=(function(e){function t(r){var n;return g4e(this,t),n=y4e(this,t,[r]),Na(n,"handleDrag",function(a){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(a):n.state.isSlideMoving&&n.handleSlideDrag(a)}),Na(n,"handleTouchMove",function(a){a.changedTouches!=null&&a.changedTouches.length>0&&n.handleDrag(a.changedTouches[0])}),Na(n,"handleDragEnd",function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var a=n.props,i=a.endIndex,o=a.onDragEnd,s=a.startIndex;o?.({endIndex:i,startIndex:s})}),n.detachDragEndListener()}),Na(n,"handleLeaveWrapper",function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))}),Na(n,"handleEnterSlideOrTraveller",function(){n.setState({isTextActive:!0})}),Na(n,"handleLeaveSlideOrTraveller",function(){n.setState({isTextActive:!1})}),Na(n,"handleSlideDragStart",function(a){var i=mL(a)?a.changedTouches[0]:a;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:i.pageX}),n.attachDragEndListener()}),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return E4e(t,e),v4e(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(n){var a=n.startX,i=n.endX,o=this.state.scaleValues,s=this.props,u=s.gap,f=s.data,h=f.length-1,d=Math.min(a,i),m=Math.max(a,i),v=t.getIndexInRange(o,d),y=t.getIndexInRange(o,m);return{startIndex:v-v%u,endIndex:y===h?h:y-y%u}}},{key:"getTextOfTick",value:function(n){var a=this.props,i=a.data,o=a.tickFormatter,s=a.dataKey,u=co(i[n],s,n);return yt(o)?o(u,n):u}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(n){var a=this.state,i=a.slideMoveStartX,o=a.startX,s=a.endX,u=this.props,f=u.x,h=u.width,d=u.travellerWidth,m=u.startIndex,v=u.endIndex,y=u.onChange,b=n.pageX-i;b>0?b=Math.min(b,f+h-d-s,f+h-d-o):b<0&&(b=Math.max(b,f-o,f-s));var E=this.getIndex({startX:o+b,endX:s+b});(E.startIndex!==m||E.endIndex!==v)&&y&&y(E),this.setState({startX:o+b,endX:s+b,slideMoveStartX:n.pageX})}},{key:"handleTravellerDragStart",value:function(n,a){var i=mL(a)?a.changedTouches[0]:a;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:n,brushMoveStartX:i.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(n){var a=this.state,i=a.brushMoveStartX,o=a.movingTravellerId,s=a.endX,u=a.startX,f=this.state[o],h=this.props,d=h.x,m=h.width,v=h.travellerWidth,y=h.onChange,b=h.gap,E=h.data,_={startX:this.state.startX,endX:this.state.endX},A=n.pageX-i;A>0?A=Math.min(A,d+m-v-f):A<0&&(A=Math.max(A,d-f)),_[o]=f+A;var C=this.getIndex(_),P=C.startIndex,O=C.endIndex,k=function(){var L=E.length-1;return o==="startX"&&(s>u?P%b===0:O%b===0)||s<u&&O===L||o==="endX"&&(s>u?O%b===0:P%b===0)||s>u&&O===L};this.setState(Na(Na({},o,f+A),"brushMoveStartX",n.pageX),function(){y&&k()&&y(C)})}},{key:"handleTravellerMoveKeyboard",value:function(n,a){var i=this,o=this.state,s=o.scaleValues,u=o.startX,f=o.endX,h=this.state[a],d=s.indexOf(h);if(d!==-1){var m=d+n;if(!(m===-1||m>=s.length)){var v=s[m];a==="startX"&&v>=f||a==="endX"&&v<=u||this.setState(Na({},a,v),function(){i.props.onChange(i.getIndex({startX:i.state.startX,endX:i.state.endX}))})}}}},{key:"renderBackground",value:function(){var n=this.props,a=n.x,i=n.y,o=n.width,s=n.height,u=n.fill,f=n.stroke;return re.createElement("rect",{stroke:f,fill:u,x:a,y:i,width:o,height:s})}},{key:"renderPanorama",value:function(){var n=this.props,a=n.x,i=n.y,o=n.width,s=n.height,u=n.data,f=n.children,h=n.padding,d=R.Children.only(f);return d?re.cloneElement(d,{x:a,y:i,width:o,height:s,margin:h,compact:!0,data:u}):null}},{key:"renderTravellerLayer",value:function(n,a){var i,o,s=this,u=this.props,f=u.y,h=u.travellerWidth,d=u.height,m=u.traveller,v=u.ariaLabel,y=u.data,b=u.startIndex,E=u.endIndex,_=Math.max(n,this.props.x),A=qE(qE({},$t(this.props,!1)),{},{x:_,y:f,width:h,height:d}),C=v||"Min value: ".concat((i=y[b])===null||i===void 0?void 0:i.name,", Max value: ").concat((o=y[E])===null||o===void 0?void 0:o.name);return re.createElement(hn,{tabIndex:0,role:"slider","aria-label":C,"aria-valuenow":n,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[a],onTouchStart:this.travellerDragStartHandlers[a],onKeyDown:function(O){["ArrowLeft","ArrowRight"].includes(O.key)&&(O.preventDefault(),O.stopPropagation(),s.handleTravellerMoveKeyboard(O.key==="ArrowRight"?1:-1,a))},onFocus:function(){s.setState({isTravellerFocused:!0})},onBlur:function(){s.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(m,A))}},{key:"renderSlide",value:function(n,a){var i=this.props,o=i.y,s=i.height,u=i.stroke,f=i.travellerWidth,h=Math.min(n,a)+f,d=Math.max(Math.abs(a-n)-f,0);return re.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:u,fillOpacity:.2,x:h,y:o,width:d,height:s})}},{key:"renderText",value:function(){var n=this.props,a=n.startIndex,i=n.endIndex,o=n.y,s=n.height,u=n.travellerWidth,f=n.stroke,h=this.state,d=h.startX,m=h.endX,v=5,y={pointerEvents:"none",fill:f};return re.createElement(hn,{className:"recharts-brush-texts"},re.createElement(C1,Q1({textAnchor:"end",verticalAnchor:"middle",x:Math.min(d,m)-v,y:o+s/2},y),this.getTextOfTick(a)),re.createElement(C1,Q1({textAnchor:"start",verticalAnchor:"middle",x:Math.max(d,m)+u+v,y:o+s/2},y),this.getTextOfTick(i)))}},{key:"render",value:function(){var n=this.props,a=n.data,i=n.className,o=n.children,s=n.x,u=n.y,f=n.width,h=n.height,d=n.alwaysShowText,m=this.state,v=m.startX,y=m.endX,b=m.isTextActive,E=m.isSlideMoving,_=m.isTravellerMoving,A=m.isTravellerFocused;if(!a||!a.length||!ze(s)||!ze(u)||!ze(f)||!ze(h)||f<=0||h<=0)return null;var C=Nt("recharts-brush",i),P=re.Children.count(o)===1,O=m4e("userSelect","none");return re.createElement(hn,{className:C,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:O},this.renderBackground(),P&&this.renderPanorama(),this.renderSlide(v,y),this.renderTravellerLayer(v,"startX"),this.renderTravellerLayer(y,"endX"),(b||E||_||A||d)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(n){var a=n.x,i=n.y,o=n.width,s=n.height,u=n.stroke,f=Math.floor(i+s/2)-1;return re.createElement(re.Fragment,null,re.createElement("rect",{x:a,y:i,width:o,height:s,fill:u,stroke:"none"}),re.createElement("line",{x1:a+1,y1:f,x2:a+o-1,y2:f,fill:"none",stroke:"#fff"}),re.createElement("line",{x1:a+1,y1:f+2,x2:a+o-1,y2:f+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(n,a){var i;return re.isValidElement(n)?i=re.cloneElement(n,a):yt(n)?i=n(a):i=t.renderDefaultTraveller(a),i}},{key:"getDerivedStateFromProps",value:function(n,a){var i=n.data,o=n.width,s=n.x,u=n.travellerWidth,f=n.updateId,h=n.startIndex,d=n.endIndex;if(i!==a.prevData||f!==a.prevUpdateId)return qE({prevData:i,prevTravellerWidth:u,prevUpdateId:f,prevX:s,prevWidth:o},i&&i.length?w4e({data:i,width:o,x:s,travellerWidth:u,startIndex:h,endIndex:d}):{scale:null,scaleValues:null});if(a.scale&&(o!==a.prevWidth||s!==a.prevX||u!==a.prevTravellerWidth)){a.scale.range([s,s+o-u]);var m=a.scale.domain().map(function(v){return a.scale(v)});return{prevData:i,prevTravellerWidth:u,prevUpdateId:f,prevX:s,prevWidth:o,startX:a.scale(n.startIndex),endX:a.scale(n.endIndex),scaleValues:m}}return null}},{key:"getIndexInRange",value:function(n,a){for(var i=n.length,o=0,s=i-1;s-o>1;){var u=Math.floor((o+s)/2);n[u]>a?s=u:o=u}return a>=n[s]?s:o}}])})(R.PureComponent);Na(kf,"displayName","Brush");Na(kf,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var VE,gL;function S4e(){if(gL)return VE;gL=1;var e=QT();function t(r,n){var a;return e(r,function(i,o,s){return a=n(i,o,s),!a}),!!a}return VE=t,VE}var GE,vL;function T4e(){if(vL)return GE;vL=1;var e=cq(),t=bl(),r=S4e(),n=ga(),a=Sy();function i(o,s,u){var f=n(o)?e:r;return u&&a(o,s,u)&&(s=void 0),f(o,t(s,3))}return GE=i,GE}var A4e=T4e();const C4e=Yt(A4e);var so=function(t,r){var n=t.alwaysShow,a=t.ifOverflow;return n&&(a="extendDomain"),a===r},YE,yL;function O4e(){if(yL)return YE;yL=1;var e=Oq();function t(r,n,a){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:a,writable:!0}):r[n]=a}return YE=t,YE}var WE,bL;function k4e(){if(bL)return WE;bL=1;var e=O4e(),t=Aq(),r=bl();function n(a,i){var o={};return i=r(i,3),t(a,function(s,u,f){e(o,u,i(s,u,f))}),o}return WE=n,WE}var N4e=k4e();const R4e=Yt(N4e);var KE,xL;function M4e(){if(xL)return KE;xL=1;function e(t,r){for(var n=-1,a=t==null?0:t.length;++n<a;)if(!r(t[n],n,t))return!1;return!0}return KE=e,KE}var XE,EL;function P4e(){if(EL)return XE;EL=1;var e=QT();function t(r,n){var a=!0;return e(r,function(i,o,s){return a=!!n(i,o,s),a}),a}return XE=t,XE}var QE,_L;function I4e(){if(_L)return QE;_L=1;var e=M4e(),t=P4e(),r=bl(),n=ga(),a=Sy();function i(o,s,u){var f=n(o)?e:t;return u&&a(o,s,u)&&(s=void 0),f(o,r(s,3))}return QE=i,QE}var D4e=I4e();const aG=Yt(D4e);var L4e=["x","y"];function Hh(e){"@babel/helpers - typeof";return Hh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hh(e)}function L5(){return L5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},L5.apply(this,arguments)}function wL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function pd(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wL(Object(r),!0).forEach(function(n){j4e(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function j4e(e,t,r){return t=B4e(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B4e(e){var t=z4e(e,"string");return Hh(t)=="symbol"?t:t+""}function z4e(e,t){if(Hh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Hh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function H4e(e,t){if(e==null)return{};var r=F4e(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function F4e(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function $4e(e,t){var r=e.x,n=e.y,a=H4e(e,L4e),i="".concat(r),o=parseInt(i,10),s="".concat(n),u=parseInt(s,10),f="".concat(t.height||a.height),h=parseInt(f,10),d="".concat(t.width||a.width),m=parseInt(d,10);return pd(pd(pd(pd(pd({},t),a),o?{x:o}:{}),u?{y:u}:{}),{},{height:h,width:m,name:t.name,radius:t.radius})}function SL(e){return re.createElement(e4e,L5({shapeType:"rectangle",propTransformer:$4e,activeClassName:"recharts-active-bar"},e))}var U4e=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(n,a){if(typeof t=="number")return t;var i=ze(n)||Jfe(n);return i?t(n,a):(i||_u(),r)}},q4e=["value","background"],iG;function Nf(e){"@babel/helpers - typeof";return Nf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nf(e)}function V4e(e,t){if(e==null)return{};var r=G4e(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function G4e(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function J1(){return J1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},J1.apply(this,arguments)}function TL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function qr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?TL(Object(r),!0).forEach(function(n){rl(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):TL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Y4e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,sG(n.key),n)}}function W4e(e,t,r){return t&&AL(e.prototype,t),r&&AL(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function K4e(e,t,r){return t=ev(t),X4e(e,oG()?Reflect.construct(t,r||[],ev(e).constructor):t.apply(e,r))}function X4e(e,t){if(t&&(Nf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Q4e(e)}function Q4e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oG=function(){return!!e})()}function ev(e){return ev=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ev(e)}function Z4e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j5(e,t)}function j5(e,t){return j5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},j5(e,t)}function rl(e,t,r){return t=sG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sG(e){var t=J4e(e,"string");return Nf(t)=="symbol"?t:t+""}function J4e(e,t){if(Nf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Nf(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var ju=(function(e){function t(){var r;Y4e(this,t);for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return r=K4e(this,t,[].concat(a)),rl(r,"state",{isAnimationFinished:!1}),rl(r,"id",vy("recharts-bar-")),rl(r,"handleAnimationEnd",function(){var o=r.props.onAnimationEnd;r.setState({isAnimationFinished:!0}),o&&o()}),rl(r,"handleAnimationStart",function(){var o=r.props.onAnimationStart;r.setState({isAnimationFinished:!1}),o&&o()}),r}return Z4e(t,e),W4e(t,[{key:"renderRectanglesStatically",value:function(n){var a=this,i=this.props,o=i.shape,s=i.dataKey,u=i.activeIndex,f=i.activeBar,h=$t(this.props,!1);return n&&n.map(function(d,m){var v=m===u,y=v?f:o,b=qr(qr(qr({},h),d),{},{isActive:v,option:y,index:m,dataKey:s,onAnimationStart:a.handleAnimationStart,onAnimationEnd:a.handleAnimationEnd});return re.createElement(hn,J1({className:"recharts-bar-rectangle"},v1(a.props,d,m),{key:"rectangle-".concat(d?.x,"-").concat(d?.y,"-").concat(d?.value,"-").concat(m)}),re.createElement(SL,b))})}},{key:"renderRectanglesWithAnimation",value:function(){var n=this,a=this.props,i=a.data,o=a.layout,s=a.isAnimationActive,u=a.animationBegin,f=a.animationDuration,h=a.animationEasing,d=a.animationId,m=this.state.prevData;return re.createElement(hl,{begin:u,duration:f,isActive:s,easing:h,from:{t:0},to:{t:1},key:"bar-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(v){var y=v.t,b=i.map(function(E,_){var A=m&&m[_];if(A){var C=Lc(A.x,E.x),P=Lc(A.y,E.y),O=Lc(A.width,E.width),k=Lc(A.height,E.height);return qr(qr({},E),{},{x:C(y),y:P(y),width:O(y),height:k(y)})}if(o==="horizontal"){var M=Lc(0,E.height),L=M(y);return qr(qr({},E),{},{y:E.y+E.height-L,height:L})}var H=Lc(0,E.width),F=H(y);return qr(qr({},E),{},{width:F})});return re.createElement(hn,null,n.renderRectanglesStatically(b))})}},{key:"renderRectangles",value:function(){var n=this.props,a=n.data,i=n.isAnimationActive,o=this.state.prevData;return i&&a&&a.length&&(!o||!EA(o,a))?this.renderRectanglesWithAnimation():this.renderRectanglesStatically(a)}},{key:"renderBackground",value:function(){var n=this,a=this.props,i=a.data,o=a.dataKey,s=a.activeIndex,u=$t(this.props.background,!1);return i.map(function(f,h){f.value;var d=f.background,m=V4e(f,q4e);if(!d)return null;var v=qr(qr(qr(qr(qr({},m),{},{fill:"#eee"},d),u),v1(n.props,f,h)),{},{onAnimationStart:n.handleAnimationStart,onAnimationEnd:n.handleAnimationEnd,dataKey:o,index:h,className:"recharts-bar-background-rectangle"});return re.createElement(SL,J1({key:"background-bar-".concat(h),option:n.props.background,isActive:h===s},v))})}},{key:"renderErrorBar",value:function(n,a){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,o=i.data,s=i.xAxis,u=i.yAxis,f=i.layout,h=i.children,d=Oi(h,Ly);if(!d)return null;var m=f==="vertical"?o[0].height/2:o[0].width/2,v=function(E,_){var A=Array.isArray(E.value)?E.value[1]:E.value;return{x:E.x,y:E.y,value:A,errorVal:co(E,_)}},y={clipPath:n?"url(#clipPath-".concat(a,")"):null};return re.createElement(hn,y,d.map(function(b){return re.cloneElement(b,{key:"error-bar-".concat(a,"-").concat(b.props.dataKey),data:o,xAxis:s,yAxis:u,layout:f,offset:m,dataPointFormatter:v})}))}},{key:"render",value:function(){var n=this.props,a=n.hide,i=n.data,o=n.className,s=n.xAxis,u=n.yAxis,f=n.left,h=n.top,d=n.width,m=n.height,v=n.isAnimationActive,y=n.background,b=n.id;if(a||!i||!i.length)return null;var E=this.state.isAnimationFinished,_=Nt("recharts-bar",o),A=s&&s.allowDataOverflow,C=u&&u.allowDataOverflow,P=A||C,O=Ut(b)?this.id:b;return re.createElement(hn,{className:_},A||C?re.createElement("defs",null,re.createElement("clipPath",{id:"clipPath-".concat(O)},re.createElement("rect",{x:A?f:f-d/2,y:C?h:h-m/2,width:A?d:d*2,height:C?m:m*2}))):null,re.createElement(hn,{className:"recharts-bar-rectangles",clipPath:P?"url(#clipPath-".concat(O,")"):null},y?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(P,O),(!v||E)&&hu.renderCallByParent(this.props,i))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.animationId!==a.prevAnimationId?{prevAnimationId:n.animationId,curData:n.data,prevData:a.curData}:n.data!==a.curData?{curData:n.data}:null}}])})(R.PureComponent);iG=ju;rl(ju,"displayName","Bar");rl(ju,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!mp.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"});rl(ju,"getComposedData",function(e){var t=e.props,r=e.item,n=e.barPosition,a=e.bandSize,i=e.xAxis,o=e.yAxis,s=e.xAxisTicks,u=e.yAxisTicks,f=e.stackedData,h=e.dataStartIndex,d=e.displayedData,m=e.offset,v=vye(n,r);if(!v)return null;var y=t.layout,b=r.type.defaultProps,E=b!==void 0?qr(qr({},b),r.props):r.props,_=E.dataKey,A=E.children,C=E.minPointSize,P=y==="horizontal"?o:i,O=f?P.scale.domain():null,k=Tye({numericAxis:P}),M=Oi(A,Dq),L=d.map(function(H,F){var $,z,W,K,te,U;f?$=yye(f[h+F],O):($=co(H,_),Array.isArray($)||($=[k,$]));var J=U4e(C,iG.defaultProps.minPointSize)($[1],F);if(y==="horizontal"){var Z,le=[o.scale($[0]),o.scale($[1])],G=le[0],Y=le[1];z=lD({axis:i,ticks:s,bandSize:a,offset:v.offset,entry:H,index:F}),W=(Z=Y??G)!==null&&Z!==void 0?Z:void 0,K=v.size;var oe=G-Y;if(te=Number.isNaN(oe)?0:oe,U={x:z,y:o.y,width:K,height:o.height},Math.abs(J)>0&&Math.abs(te)<Math.abs(J)){var j=Ci(te||J)*(Math.abs(J)-Math.abs(te));W-=j,te+=j}}else{var de=[i.scale($[0]),i.scale($[1])],xe=de[0],Oe=de[1];if(z=xe,W=lD({axis:o,ticks:u,bandSize:a,offset:v.offset,entry:H,index:F}),K=Oe-xe,te=v.size,U={x:i.x,y:W,width:i.width,height:te},Math.abs(J)>0&&Math.abs(K)<Math.abs(J)){var Re=Ci(K||J)*(Math.abs(J)-Math.abs(K));K+=Re}}return qr(qr(qr({},H),{},{x:z,y:W,width:K,height:te,value:f?$:$[1],payload:H,background:U},M&&M[F]&&M[F].props),{},{tooltipPayload:[$V(r,H)],tooltipPosition:{x:z+K/2,y:W+te/2}})});return qr({data:L,layout:y},m)});function Fh(e){"@babel/helpers - typeof";return Fh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fh(e)}function e3e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,lG(n.key),n)}}function t3e(e,t,r){return t&&CL(e.prototype,t),r&&CL(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function OL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function _i(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?OL(Object(r),!0).forEach(function(n){zy(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):OL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zy(e,t,r){return t=lG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lG(e){var t=r3e(e,"string");return Fh(t)=="symbol"?t:t+""}function r3e(e,t){if(Fh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Fh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var n3e=function(t,r,n,a,i){var o=t.width,s=t.height,u=t.layout,f=t.children,h=Object.keys(r),d={left:n.left,leftMirror:n.left,right:o-n.right,rightMirror:o-n.right,top:n.top,topMirror:n.top,bottom:s-n.bottom,bottomMirror:s-n.bottom},m=!!Ra(f,ju);return h.reduce(function(v,y){var b=r[y],E=b.orientation,_=b.domain,A=b.padding,C=A===void 0?{}:A,P=b.mirror,O=b.reversed,k="".concat(E).concat(P?"Mirror":""),M,L,H,F,$;if(b.type==="number"&&(b.padding==="gap"||b.padding==="no-gap")){var z=_[1]-_[0],W=1/0,K=b.categoricalDomain.sort(r0e);if(K.forEach(function(de,xe){xe>0&&(W=Math.min((de||0)-(K[xe-1]||0),W))}),Number.isFinite(W)){var te=W/z,U=b.layout==="vertical"?n.height:n.width;if(b.padding==="gap"&&(M=te*U/2),b.padding==="no-gap"){var J=xu(t.barCategoryGap,te*U),Z=te*U/2;M=Z-J-(Z-J)/U*J}}}a==="xAxis"?L=[n.left+(C.left||0)+(M||0),n.left+n.width-(C.right||0)-(M||0)]:a==="yAxis"?L=u==="horizontal"?[n.top+n.height-(C.bottom||0),n.top+(C.top||0)]:[n.top+(C.top||0)+(M||0),n.top+n.height-(C.bottom||0)-(M||0)]:L=b.range,O&&(L=[L[1],L[0]]);var le=mye(b,i,m),G=le.scale,Y=le.realScaleType;G.domain(_).range(L),gye(G);var oe=Sye(G,_i(_i({},b),{},{realScaleType:Y}));a==="xAxis"?($=E==="top"&&!P||E==="bottom"&&P,H=n.left,F=d[k]-$*b.height):a==="yAxis"&&($=E==="left"&&!P||E==="right"&&P,H=d[k]-$*b.width,F=n.top);var j=_i(_i(_i({},b),oe),{},{realScaleType:Y,x:H,y:F,scale:G,width:a==="xAxis"?n.width:b.width,height:a==="yAxis"?n.height:b.height});return j.bandSize=F1(j,oe),!b.hide&&a==="xAxis"?d[k]+=($?-1:1)*j.height:b.hide||(d[k]+=($?-1:1)*j.width),_i(_i({},v),{},zy({},y,j))},{})},uG=function(t,r){var n=t.x,a=t.y,i=r.x,o=r.y;return{x:Math.min(n,i),y:Math.min(a,o),width:Math.abs(i-n),height:Math.abs(o-a)}},a3e=function(t){var r=t.x1,n=t.y1,a=t.x2,i=t.y2;return uG({x:r,y:n},{x:a,y:i})},cG=(function(){function e(t){e3e(this,e),this.scale=t}return t3e(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.bandAware,i=n.position;if(r!==void 0){if(i)switch(i){case"start":return this.scale(r);case"middle":{var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+o}case"end":{var s=this.bandwidth?this.bandwidth():0;return this.scale(r)+s}default:return this.scale(r)}if(a){var u=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+u}return this.scale(r)}}},{key:"isInRange",value:function(r){var n=this.range(),a=n[0],i=n[n.length-1];return a<=i?r>=a&&r<=i:r>=i&&r<=a}}],[{key:"create",value:function(r){return new e(r)}}])})();zy(cG,"EPS",1e-4);var AA=function(t){var r=Object.keys(t).reduce(function(n,a){return _i(_i({},n),{},zy({},a,cG.create(t[a])))},{});return _i(_i({},r),{},{apply:function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=i.bandAware,s=i.position;return R4e(a,function(u,f){return r[f].apply(u,{bandAware:o,position:s})})},isInRange:function(a){return aG(a,function(i,o){return r[o].isInRange(i)})}})};function i3e(e){return(e%180+180)%180}var o3e=function(t){var r=t.width,n=t.height,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=i3e(a),o=i*Math.PI/180,s=Math.atan(n/r),u=o>s&&o<Math.PI-s?n/Math.sin(o):r/Math.cos(o);return Math.abs(u)},ZE,kL;function s3e(){if(kL)return ZE;kL=1;var e=bl(),t=pp(),r=_y();function n(a){return function(i,o,s){var u=Object(i);if(!t(i)){var f=e(o,3);i=r(i),o=function(d){return f(u[d],d,u)}}var h=a(i,o,s);return h>-1?u[f?i[h]:h]:void 0}}return ZE=n,ZE}var JE,NL;function l3e(){if(NL)return JE;NL=1;var e=eG();function t(r){var n=e(r),a=n%1;return n===n?a?n-a:n:0}return JE=t,JE}var e_,RL;function u3e(){if(RL)return e_;RL=1;var e=Eq(),t=bl(),r=l3e(),n=Math.max;function a(i,o,s){var u=i==null?0:i.length;if(!u)return-1;var f=s==null?0:r(s);return f<0&&(f=n(u+f,0)),e(i,t(o,3),f)}return e_=a,e_}var t_,ML;function c3e(){if(ML)return t_;ML=1;var e=s3e(),t=u3e(),r=e(t);return t_=r,t_}var f3e=c3e();const d3e=Yt(f3e);var h3e=jU();const p3e=Yt(h3e);var m3e=p3e(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}),CA=R.createContext(void 0),OA=R.createContext(void 0),fG=R.createContext(void 0),dG=R.createContext({}),hG=R.createContext(void 0),pG=R.createContext(0),mG=R.createContext(0),PL=function(t){var r=t.state,n=r.xAxisMap,a=r.yAxisMap,i=r.offset,o=t.clipPathId,s=t.children,u=t.width,f=t.height,h=m3e(i);return re.createElement(CA.Provider,{value:n},re.createElement(OA.Provider,{value:a},re.createElement(dG.Provider,{value:i},re.createElement(fG.Provider,{value:h},re.createElement(hG.Provider,{value:o},re.createElement(pG.Provider,{value:f},re.createElement(mG.Provider,{value:u},s)))))))},g3e=function(){return R.useContext(hG)},gG=function(t){var r=R.useContext(CA);r==null&&_u();var n=r[t];return n==null&&_u(),n},v3e=function(){var t=R.useContext(CA);return el(t)},y3e=function(){var t=R.useContext(OA),r=d3e(t,function(n){return aG(n.domain,Number.isFinite)});return r||el(t)},vG=function(t){var r=R.useContext(OA);r==null&&_u();var n=r[t];return n==null&&_u(),n},b3e=function(){var t=R.useContext(fG);return t},x3e=function(){return R.useContext(dG)},kA=function(){return R.useContext(mG)},NA=function(){return R.useContext(pG)};function Rf(e){"@babel/helpers - typeof";return Rf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rf(e)}function E3e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _3e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,bG(n.key),n)}}function w3e(e,t,r){return t&&_3e(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function S3e(e,t,r){return t=tv(t),T3e(e,yG()?Reflect.construct(t,r||[],tv(e).constructor):t.apply(e,r))}function T3e(e,t){if(t&&(Rf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return A3e(e)}function A3e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(yG=function(){return!!e})()}function tv(e){return tv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},tv(e)}function C3e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B5(e,t)}function B5(e,t){return B5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},B5(e,t)}function IL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function DL(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?IL(Object(r),!0).forEach(function(n){RA(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):IL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function RA(e,t,r){return t=bG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bG(e){var t=O3e(e,"string");return Rf(t)=="symbol"?t:t+""}function O3e(e,t){if(Rf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Rf(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function k3e(e,t){return P3e(e)||M3e(e,t)||R3e(e,t)||N3e()}function N3e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 356In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R3e(e,t){if(e){if(typeof e=="string")return LL(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return LL(e,t)}}function LL(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function M3e(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function P3e(e){if(Array.isArray(e))return e}function z5(){return z5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z5.apply(this,arguments)}var I3e=function(t,r){var n;return re.isValidElement(t)?n=re.cloneElement(t,r):yt(t)?n=t(r):n=re.createElement("line",z5({},r,{className:"recharts-reference-line-line"})),n},D3e=function(t,r,n,a,i,o,s,u,f){var h=i.x,d=i.y,m=i.width,v=i.height;if(n){var y=f.y,b=t.y.apply(y,{position:o});if(so(f,"discard")&&!t.y.isInRange(b))return null;var E=[{x:h+m,y:b},{x:h,y:b}];return u==="left"?E.reverse():E}if(r){var _=f.x,A=t.x.apply(_,{position:o});if(so(f,"discard")&&!t.x.isInRange(A))return null;var C=[{x:A,y:d+v},{x:A,y:d}];return s==="top"?C.reverse():C}if(a){var P=f.segment,O=P.map(function(k){return t.apply(k,{position:o})});return so(f,"discard")&&C4e(O,function(k){return!t.isInRange(k)})?null:O}return null};function L3e(e){var t=e.x,r=e.y,n=e.segment,a=e.xAxisId,i=e.yAxisId,o=e.shape,s=e.className,u=e.alwaysShow,f=g3e(),h=gG(a),d=vG(i),m=b3e();if(!f||!m)return null;Zo(u===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var v=AA({x:h.scale,y:d.scale}),y=rn(t),b=rn(r),E=n&&n.length===2,_=D3e(v,y,b,E,m,e.position,h.orientation,d.orientation,e);if(!_)return null;var A=k3e(_,2),C=A[0],P=C.x,O=C.y,k=A[1],M=k.x,L=k.y,H=so(e,"hidden")?"url(#".concat(f,")"):void 0,F=DL(DL({clipPath:H},$t(e,!0)),{},{x1:P,y1:O,x2:M,y2:L});return re.createElement(hn,{className:Nt("recharts-reference-line",s)},I3e(o,F),In.renderCallByParent(e,a3e({x1:P,y1:O,x2:M,y2:L})))}var MA=(function(e){function t(){return E3e(this,t),S3e(this,t,arguments)}return C3e(t,e),w3e(t,[{key:"render",value:function(){return re.createElement(L3e,this.props)}}])})(re.Component);RA(MA,"displayName","ReferenceLine");RA(MA,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});function H5(){return H5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},H5.apply(this,arguments)}function Mf(e){"@babel/helpers - typeof";return Mf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mf(e)}function jL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function BL(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?jL(Object(r),!0).forEach(function(n){Hy(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function j3e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B3e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,EG(n.key),n)}}function z3e(e,t,r){return t&&B3e(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function H3e(e,t,r){return t=rv(t),F3e(e,xG()?Reflect.construct(t,r||[],rv(e).constructor):t.apply(e,r))}function F3e(e,t){if(t&&(Mf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $3e(e)}function $3e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(xG=function(){return!!e})()}function rv(e){return rv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},rv(e)}function U3e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&F5(e,t)}function F5(e,t){return F5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},F5(e,t)}function Hy(e,t,r){return t=EG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function EG(e){var t=q3e(e,"string");return Mf(t)=="symbol"?t:t+""}function q3e(e,t){if(Mf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Mf(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var V3e=function(t){var r=t.x,n=t.y,a=t.xAxis,i=t.yAxis,o=AA({x:a.scale,y:i.scale}),s=o.apply({x:r,y:n},{bandAware:!0});return so(t,"discard")&&!o.isInRange(s)?null:s},Fy=(function(e){function t(){return j3e(this,t),H3e(this,t,arguments)}return U3e(t,e),z3e(t,[{key:"render",value:function(){var n=this.props,a=n.x,i=n.y,o=n.r,s=n.alwaysShow,u=n.clipPathId,f=rn(a),h=rn(i);if(Zo(s===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!f||!h)return null;var d=V3e(this.props);if(!d)return null;var m=d.x,v=d.y,y=this.props,b=y.shape,E=y.className,_=so(this.props,"hidden")?"url(#".concat(u,")"):void 0,A=BL(BL({clipPath:_},$t(this.props,!0)),{},{cx:m,cy:v});return re.createElement(hn,{className:Nt("recharts-reference-dot",E)},t.renderDot(b,A),In.renderCallByParent(this.props,{x:m-o,y:v-o,width:2*o,height:2*o}))}}])})(re.Component);Hy(Fy,"displayName","ReferenceDot");Hy(Fy,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1});Hy(Fy,"renderDot",function(e,t){var r;return re.isValidElement(e)?r=re.cloneElement(e,t):yt(e)?r=e(t):r=re.createElement(JV,H5({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"})),r});function $5(){return $5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$5.apply(this,arguments)}function Pf(e){"@babel/helpers - typeof";return Pf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pf(e)}function zL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function HL(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zL(Object(r),!0).forEach(function(n){$y(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function G3e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y3e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,wG(n.key),n)}}function W3e(e,t,r){return t&&Y3e(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function K3e(e,t,r){return t=nv(t),X3e(e,_G()?Reflect.construct(t,r||[],nv(e).constructor):t.apply(e,r))}function X3e(e,t){if(t&&(Pf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Q3e(e)}function Q3e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _G(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_G=function(){return!!e})()}function nv(e){return nv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},nv(e)}function Z3e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U5(e,t)}function U5(e,t){return U5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},U5(e,t)}function $y(e,t,r){return t=wG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wG(e){var t=J3e(e,"string");return Pf(t)=="symbol"?t:t+""}function J3e(e,t){if(Pf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Pf(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var e6e=function(t,r,n,a,i){var o=i.x1,s=i.x2,u=i.y1,f=i.y2,h=i.xAxis,d=i.yAxis;if(!h||!d)return null;var m=AA({x:h.scale,y:d.scale}),v={x:t?m.x.apply(o,{position:"start"}):m.x.rangeMin,y:n?m.y.apply(u,{position:"start"}):m.y.rangeMin},y={x:r?m.x.apply(s,{position:"end"}):m.x.rangeMax,y:a?m.y.apply(f,{position:"end"}):m.y.rangeMax};return so(i,"discard")&&(!m.isInRange(v)||!m.isInRange(y))?null:uG(v,y)},Uy=(function(e){function t(){return G3e(this,t),K3e(this,t,arguments)}return Z3e(t,e),W3e(t,[{key:"render",value:function(){var n=this.props,a=n.x1,i=n.x2,o=n.y1,s=n.y2,u=n.className,f=n.alwaysShow,h=n.clipPathId;Zo(f===void 0,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var d=rn(a),m=rn(i),v=rn(o),y=rn(s),b=this.props.shape;if(!d&&!m&&!v&&!y&&!b)return null;var E=e6e(d,m,v,y,this.props);if(!E&&!b)return null;var _=so(this.props,"hidden")?"url(#".concat(h,")"):void 0;return re.createElement(hn,{className:Nt("recharts-reference-area",u)},t.renderRect(b,HL(HL({clipPath:_},$t(this.props,!0)),E)),In.renderCallByParent(this.props,E))}}])})(re.Component);$y(Uy,"displayName","ReferenceArea");$y(Uy,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1});$y(Uy,"renderRect",function(e,t){var r;return re.isValidElement(e)?r=re.cloneElement(e,t):yt(e)?r=e(t):r=re.createElement(TA,$5({},t,{className:"recharts-reference-area-rect"})),r});function SG(e,t,r){if(t<1)return[];if(t===1&&r===void 0)return e;for(var n=[],a=0;a<e.length;a+=t)n.push(e[a]);return n}function t6e(e,t,r){var n={width:e.width+t.width,height:e.height+t.height};return o3e(n,r)}function r6e(e,t,r){var n=r==="width",a=e.x,i=e.y,o=e.width,s=e.height;return t===1?{start:n?a:i,end:n?a+o:i+s}:{start:n?a+o:i+s,end:n?a:i}}function av(e,t,r,n,a){if(e*t<e*n||e*t>e*a)return!1;var i=r();return e*(t-e*i/2-n)>=0&&e*(t+e*i/2-a)<=0}function n6e(e,t){return SG(e,t+1)}function a6e(e,t,r,n,a){for(var i=(n||[]).slice(),o=t.start,s=t.end,u=0,f=1,h=o,d=function(){var y=n?.[u];if(y===void 0)return{v:SG(n,f)};var b=u,E,_=function(){return E===void 0&&(E=r(y,b)),E},A=y.coordinate,C=u===0||av(e,A,_,h,s);C||(u=0,h=o,f+=1),C&&(h=A+e*(_()/2+a),u+=f)},m;f<=i.length;)if(m=d(),m)return m.v;return[]}function $h(e){"@babel/helpers - typeof";return $h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$h(e)}function FL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Mn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?FL(Object(r),!0).forEach(function(n){i6e(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):FL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function i6e(e,t,r){return t=o6e(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o6e(e){var t=s6e(e,"string");return $h(t)=="symbol"?t:t+""}function s6e(e,t){if($h(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if($h(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function l6e(e,t,r,n,a){for(var i=(n||[]).slice(),o=i.length,s=t.start,u=t.end,f=function(m){var v=i[m],y,b=function(){return y===void 0&&(y=r(v,m)),y};if(m===o-1){var E=e*(v.coordinate+e*b()/2-u);i[m]=v=Mn(Mn({},v),{},{tickCoord:E>0?v.coordinate-E*e:v.coordinate})}else i[m]=v=Mn(Mn({},v),{},{tickCoord:v.coordinate});var _=av(e,v.tickCoord,b,s,u);_&&(u=v.tickCoord-e*(b()/2+a),i[m]=Mn(Mn({},v),{},{isShow:!0}))},h=o-1;h>=0;h--)f(h);return i}function u6e(e,t,r,n,a,i){var o=(n||[]).slice(),s=o.length,u=t.start,f=t.end;if(i){var h=n[s-1],d=r(h,s-1),m=e*(h.coordinate+e*d/2-f);o[s-1]=h=Mn(Mn({},h),{},{tickCoord:m>0?h.coordinate-m*e:h.coordinate});var v=av(e,h.tickCoord,function(){return d},u,f);v&&(f=h.tickCoord-e*(d/2+a),o[s-1]=Mn(Mn({},h),{},{isShow:!0}))}for(var y=i?s-1:s,b=function(A){var C=o[A],P,O=function(){return P===void 0&&(P=r(C,A)),P};if(A===0){var k=e*(C.coordinate-e*O()/2-u);o[A]=C=Mn(Mn({},C),{},{tickCoord:k<0?C.coordinate-k*e:C.coordinate})}else o[A]=C=Mn(Mn({},C),{},{tickCoord:C.coordinate});var M=av(e,C.tickCoord,O,u,f);M&&(u=C.tickCoord+e*(O()/2+a),o[A]=Mn(Mn({},C),{},{isShow:!0}))},E=0;E<y;E++)b(E);return o}function PA(e,t,r){var n=e.tick,a=e.ticks,i=e.viewBox,o=e.minTickGap,s=e.orientation,u=e.interval,f=e.tickFormatter,h=e.unit,d=e.angle;if(!a||!a.length||!n)return[];if(ze(u)||mp.isSsr)return n6e(a,typeof u=="number"&&ze(u)?u:0);var m=[],v=s==="top"||s==="bottom"?"width":"height",y=h&&v==="width"?jd(h,{fontSize:t,letterSpacing:r}):{width:0,height:0},b=function(C,P){var O=yt(f)?f(C.value,P):C.value;return v==="width"?t6e(jd(O,{fontSize:t,letterSpacing:r}),y,d):jd(O,{fontSize:t,letterSpacing:r})[v]},E=a.length>=2?Ci(a[1].coordinate-a[0].coordinate):1,_=r6e(i,E,v);return u==="equidistantPreserveStart"?a6e(E,_,b,a,o):(u==="preserveStart"||u==="preserveStartEnd"?m=u6e(E,_,b,a,o,u==="preserveStartEnd"):m=l6e(E,_,b,a,o),m.filter(function(A){return A.isShow}))}var c6e=["viewBox"],f6e=["viewBox"],d6e=["ticks"];function If(e){"@babel/helpers - typeof";return If=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},If(e)}function Qc(){return Qc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qc.apply(this,arguments)}function $L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Zr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$L(Object(r),!0).forEach(function(n){IA(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$L(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function r_(e,t){if(e==null)return{};var r=h6e(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function h6e(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function p6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,AG(n.key),n)}}function m6e(e,t,r){return t&&UL(e.prototype,t),r&&UL(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function g6e(e,t,r){return t=iv(t),v6e(e,TG()?Reflect.construct(t,r||[],iv(e).constructor):t.apply(e,r))}function v6e(e,t){if(t&&(If(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y6e(e)}function y6e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(TG=function(){return!!e})()}function iv(e){return iv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},iv(e)}function b6e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&q5(e,t)}function q5(e,t){return q5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},q5(e,t)}function IA(e,t,r){return t=AG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function AG(e){var t=x6e(e,"string");return If(t)=="symbol"?t:t+""}function x6e(e,t){if(If(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(If(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var t0=(function(e){function t(r){var n;return p6e(this,t),n=g6e(this,t,[r]),n.state={fontSize:"",letterSpacing:""},n}return b6e(t,e),m6e(t,[{key:"shouldComponentUpdate",value:function(n,a){var i=n.viewBox,o=r_(n,c6e),s=this.props,u=s.viewBox,f=r_(s,f6e);return!nf(i,u)||!nf(o,f)||!nf(a,this.state)}},{key:"componentDidMount",value:function(){var n=this.layerReference;if(n){var a=n.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];a&&this.setState({fontSize:window.getComputedStyle(a).fontSize,letterSpacing:window.getComputedStyle(a).letterSpacing})}}},{key:"getTickLineCoord",value:function(n){var a=this.props,i=a.x,o=a.y,s=a.width,u=a.height,f=a.orientation,h=a.tickSize,d=a.mirror,m=a.tickMargin,v,y,b,E,_,A,C=d?-1:1,P=n.tickSize||h,O=ze(n.tickCoord)?n.tickCoord:n.coordinate;switch(f){case"top":v=y=n.coordinate,E=o+ +!d*u,b=E-C*P,A=b-C*m,_=O;break;case"left":b=E=n.coordinate,y=i+ +!d*s,v=y-C*P,_=v-C*m,A=O;break;case"right":b=E=n.coordinate,y=i+ +d*s,v=y+C*P,_=v+C*m,A=O;break;default:v=y=n.coordinate,E=o+ +d*u,b=E+C*P,A=b+C*m,_=O;break}return{line:{x1:v,y1:b,x2:y,y2:E},tick:{x:_,y:A}}}},{key:"getTickTextAnchor",value:function(){var n=this.props,a=n.orientation,i=n.mirror,o;switch(a){case"left":o=i?"start":"end";break;case"right":o=i?"end":"start";break;default:o="middle";break}return o}},{key:"getTickVerticalAnchor",value:function(){var n=this.props,a=n.orientation,i=n.mirror,o="end";switch(a){case"left":case"right":o="middle";break;case"top":o=i?"start":"end";break;default:o=i?"end":"start";break}return o}},{key:"renderAxisLine",value:function(){var n=this.props,a=n.x,i=n.y,o=n.width,s=n.height,u=n.orientation,f=n.mirror,h=n.axisLine,d=Zr(Zr(Zr({},$t(this.props,!1)),$t(h,!1)),{},{fill:"none"});if(u==="top"||u==="bottom"){var m=+(u==="top"&&!f||u==="bottom"&&f);d=Zr(Zr({},d),{},{x1:a,y1:i+m*s,x2:a+o,y2:i+m*s})}else{var v=+(u==="left"&&!f||u==="right"&&f);d=Zr(Zr({},d),{},{x1:a+v*o,y1:i,x2:a+v*o,y2:i+s})}return re.createElement("line",Qc({},d,{className:Nt("recharts-cartesian-axis-line",ui(h,"className"))}))}},{key:"renderTicks",value:function(n,a,i){var o=this,s=this.props,u=s.tickLine,f=s.stroke,h=s.tick,d=s.tickFormatter,m=s.unit,v=PA(Zr(Zr({},this.props),{},{ticks:n}),a,i),y=this.getTickTextAnchor(),b=this.getTickVerticalAnchor(),E=$t(this.props,!1),_=$t(h,!1),A=Zr(Zr({},E),{},{fill:"none"},$t(u,!1)),C=v.map(function(P,O){var k=o.getTickLineCoord(P),M=k.line,L=k.tick,H=Zr(Zr(Zr(Zr({textAnchor:y,verticalAnchor:b},E),{},{stroke:"none",fill:f},_),L),{},{index:O,payload:P,visibleTicksCount:v.length,tickFormatter:d});return re.createElement(hn,Qc({className:"recharts-cartesian-axis-tick",key:"tick-".concat(P.value,"-").concat(P.coordinate,"-").concat(P.tickCoord)},v1(o.props,P,O)),u&&re.createElement("line",Qc({},A,M,{className:Nt("recharts-cartesian-axis-tick-line",ui(u,"className"))})),h&&t.renderTickItem(h,H,"".concat(yt(d)?d(P.value,O):P.value).concat(m||"")))});return re.createElement("g",{className:"recharts-cartesian-axis-ticks"},C)}},{key:"render",value:function(){var n=this,a=this.props,i=a.axisLine,o=a.width,s=a.height,u=a.ticksGenerator,f=a.className,h=a.hide;if(h)return null;var d=this.props,m=d.ticks,v=r_(d,d6e),y=m;return yt(u)&&(y=m&&m.length>0?u(this.props):u(v)),o<=0||s<=0||!y||!y.length?null:re.createElement(hn,{className:Nt("recharts-cartesian-axis",f),ref:function(E){n.layerReference=E}},i&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),In.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(n,a,i){var o,s=Nt(a.className,"recharts-cartesian-axis-tick-value");return re.isValidElement(n)?o=re.cloneElement(n,Zr(Zr({},a),{},{className:s})):yt(n)?o=n(Zr(Zr({},a),{},{className:s})):o=re.createElement(C1,Qc({},a,{className:"recharts-cartesian-axis-tick-value"}),i),o}}])})(R.Component);IA(t0,"displayName","CartesianAxis");IA(t0,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var E6e=["x1","y1","x2","y2","key"],_6e=["offset"];function wu(e){"@babel/helpers - typeof";return wu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wu(e)}function qL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Dn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qL(Object(r),!0).forEach(function(n){w6e(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function w6e(e,t,r){return t=S6e(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S6e(e){var t=T6e(e,"string");return wu(t)=="symbol"?t:t+""}function T6e(e,t){if(wu(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(wu(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function su(){return su=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},su.apply(this,arguments)}function VL(e,t){if(e==null)return{};var r=A6e(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function A6e(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var C6e=function(t){var r=t.fill;if(!r||r==="none")return null;var n=t.fillOpacity,a=t.x,i=t.y,o=t.width,s=t.height,u=t.ry;return re.createElement("rect",{x:a,y:i,ry:u,width:o,height:s,stroke:"none",fill:r,fillOpacity:n,className:"recharts-cartesian-grid-bg"})};function CG(e,t){var r;if(re.isValidElement(e))r=re.cloneElement(e,t);else if(yt(e))r=e(t);else{var n=t.x1,a=t.y1,i=t.x2,o=t.y2,s=t.key,u=VL(t,E6e),f=$t(u,!1);f.offset;var h=VL(f,_6e);r=re.createElement("line",su({},h,{x1:n,y1:a,x2:i,y2:o,fill:"none",key:s}))}return r}function O6e(e){var t=e.x,r=e.width,n=e.horizontal,a=n===void 0?!0:n,i=e.horizontalPoints;if(!a||!i||!i.length)return null;var o=i.map(function(s,u){var f=Dn(Dn({},e),{},{x1:t,y1:s,x2:t+r,y2:s,key:"line-".concat(u),index:u});return CG(a,f)});return re.createElement("g",{className:"recharts-cartesian-grid-horizontal"},o)}function k6e(e){var t=e.y,r=e.height,n=e.vertical,a=n===void 0?!0:n,i=e.verticalPoints;if(!a||!i||!i.length)return null;var o=i.map(function(s,u){var f=Dn(Dn({},e),{},{x1:s,y1:t,x2:s,y2:t+r,key:"line-".concat(u),index:u});return CG(a,f)});return re.createElement("g",{className:"recharts-cartesian-grid-vertical"},o)}function N6e(e){var t=e.horizontalFill,r=e.fillOpacity,n=e.x,a=e.y,i=e.width,o=e.height,s=e.horizontalPoints,u=e.horizontal,f=u===void 0?!0:u;if(!f||!t||!t.length)return null;var h=s.map(function(m){return Math.round(m+a-a)}).sort(function(m,v){return m-v});a!==h[0]&&h.unshift(0);var d=h.map(function(m,v){var y=!h[v+1],b=y?a+o-m:h[v+1]-m;if(b<=0)return null;var E=v%t.length;return re.createElement("rect",{key:"react-".concat(v),y:m,x:n,height:b,width:i,stroke:"none",fill:t[E],fillOpacity:r,className:"recharts-cartesian-grid-bg"})});return re.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},d)}function R6e(e){var t=e.vertical,r=t===void 0?!0:t,n=e.verticalFill,a=e.fillOpacity,i=e.x,o=e.y,s=e.width,u=e.height,f=e.verticalPoints;if(!r||!n||!n.length)return null;var h=f.map(function(m){return Math.round(m+i-i)}).sort(function(m,v){return m-v});i!==h[0]&&h.unshift(0);var d=h.map(function(m,v){var y=!h[v+1],b=y?i+s-m:h[v+1]-m;if(b<=0)return null;var E=v%n.length;return re.createElement("rect",{key:"react-".concat(v),x:m,y:o,width:b,height:u,stroke:"none",fill:n[E],fillOpacity:a,className:"recharts-cartesian-grid-bg"})});return re.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},d)}var M6e=function(t,r){var n=t.xAxis,a=t.width,i=t.height,o=t.offset;return HV(PA(Dn(Dn(Dn({},t0.defaultProps),n),{},{ticks:Ko(n,!0),viewBox:{x:0,y:0,width:a,height:i}})),o.left,o.left+o.width,r)},P6e=function(t,r){var n=t.yAxis,a=t.width,i=t.height,o=t.offset;return HV(PA(Dn(Dn(Dn({},t0.defaultProps),n),{},{ticks:Ko(n,!0),viewBox:{x:0,y:0,width:a,height:i}})),o.top,o.top+o.height,r)},zc={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function OG(e){var t,r,n,a,i,o,s=kA(),u=NA(),f=x3e(),h=Dn(Dn({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:zc.stroke,fill:(r=e.fill)!==null&&r!==void 0?r:zc.fill,horizontal:(n=e.horizontal)!==null&&n!==void 0?n:zc.horizontal,horizontalFill:(a=e.horizontalFill)!==null&&a!==void 0?a:zc.horizontalFill,vertical:(i=e.vertical)!==null&&i!==void 0?i:zc.vertical,verticalFill:(o=e.verticalFill)!==null&&o!==void 0?o:zc.verticalFill,x:ze(e.x)?e.x:f.left,y:ze(e.y)?e.y:f.top,width:ze(e.width)?e.width:f.width,height:ze(e.height)?e.height:f.height}),d=h.x,m=h.y,v=h.width,y=h.height,b=h.syncWithTicks,E=h.horizontalValues,_=h.verticalValues,A=v3e(),C=y3e();if(!ze(v)||v<=0||!ze(y)||y<=0||!ze(d)||d!==+d||!ze(m)||m!==+m)return null;var P=h.verticalCoordinatesGenerator||M6e,O=h.horizontalCoordinatesGenerator||P6e,k=h.horizontalPoints,M=h.verticalPoints;if((!k||!k.length)&&yt(O)){var L=E&&E.length,H=O({yAxis:C?Dn(Dn({},C),{},{ticks:L?E:C.ticks}):void 0,width:s,height:u,offset:f},L?!0:b);Zo(Array.isArray(H),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(wu(H),"]")),Array.isArray(H)&&(k=H)}if((!M||!M.length)&&yt(P)){var F=_&&_.length,$=P({xAxis:A?Dn(Dn({},A),{},{ticks:F?_:A.ticks}):void 0,width:s,height:u,offset:f},F?!0:b);Zo(Array.isArray($),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(wu($),"]")),Array.isArray($)&&(M=$)}return re.createElement("g",{className:"recharts-cartesian-grid"},re.createElement(C6e,{fill:h.fill,fillOpacity:h.fillOpacity,x:h.x,y:h.y,width:h.width,height:h.height,ry:h.ry}),re.createElement(O6e,su({},h,{offset:f,horizontalPoints:k,xAxis:A,yAxis:C})),re.createElement(k6e,su({},h,{offset:f,verticalPoints:M,xAxis:A,yAxis:C})),re.createElement(N6e,su({},h,{horizontalPoints:k})),re.createElement(R6e,su({},h,{verticalPoints:M})))}OG.displayName="CartesianGrid";function Df(e){"@babel/helpers - typeof";return Df=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Df(e)}function I6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D6e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,RG(n.key),n)}}function L6e(e,t,r){return t&&D6e(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function j6e(e,t,r){return t=ov(t),B6e(e,kG()?Reflect.construct(t,r||[],ov(e).constructor):t.apply(e,r))}function B6e(e,t){if(t&&(Df(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return z6e(e)}function z6e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(kG=function(){return!!e})()}function ov(e){return ov=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},ov(e)}function H6e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&V5(e,t)}function V5(e,t){return V5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},V5(e,t)}function NG(e,t,r){return t=RG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function RG(e){var t=F6e(e,"string");return Df(t)=="symbol"?t:t+""}function F6e(e,t){if(Df(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Df(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function G5(){return G5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},G5.apply(this,arguments)}function $6e(e){var t=e.xAxisId,r=kA(),n=NA(),a=gG(t);return a==null?null:R.createElement(t0,G5({},a,{className:Nt("recharts-".concat(a.axisType," ").concat(a.axisType),a.className),viewBox:{x:0,y:0,width:r,height:n},ticksGenerator:function(o){return Ko(o,!0)}}))}var qy=(function(e){function t(){return I6e(this,t),j6e(this,t,arguments)}return H6e(t,e),L6e(t,[{key:"render",value:function(){return R.createElement($6e,this.props)}}])})(R.Component);NG(qy,"displayName","XAxis");NG(qy,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});function Lf(e){"@babel/helpers - typeof";return Lf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lf(e)}function U6e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q6e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,IG(n.key),n)}}function V6e(e,t,r){return t&&q6e(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function G6e(e,t,r){return t=sv(t),Y6e(e,MG()?Reflect.construct(t,r||[],sv(e).constructor):t.apply(e,r))}function Y6e(e,t){if(t&&(Lf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return W6e(e)}function W6e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(MG=function(){return!!e})()}function sv(e){return sv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},sv(e)}function K6e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Y5(e,t)}function Y5(e,t){return Y5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Y5(e,t)}function PG(e,t,r){return t=IG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IG(e){var t=X6e(e,"string");return Lf(t)=="symbol"?t:t+""}function X6e(e,t){if(Lf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Lf(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function W5(){return W5=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W5.apply(this,arguments)}var Q6e=function(t){var r=t.yAxisId,n=kA(),a=NA(),i=vG(r);return i==null?null:R.createElement(t0,W5({},i,{className:Nt("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:n,height:a},ticksGenerator:function(s){return Ko(s,!0)}}))},Vy=(function(e){function t(){return U6e(this,t),G6e(this,t,arguments)}return K6e(t,e),V6e(t,[{key:"render",value:function(){return R.createElement(Q6e,this.props)}}])})(R.Component);PG(Vy,"displayName","YAxis");PG(Vy,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});function GL(e){return tEe(e)||eEe(e)||J6e(e)||Z6e()}function Z6e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 357In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J6e(e,t){if(e){if(typeof e=="string")return K5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return K5(e,t)}}function eEe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tEe(e){if(Array.isArray(e))return K5(e)}function K5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var X5=function(t,r,n,a,i){var o=Oi(t,MA),s=Oi(t,Fy),u=[].concat(GL(o),GL(s)),f=Oi(t,Uy),h="".concat(a,"Id"),d=a[0],m=r;if(u.length&&(m=u.reduce(function(b,E){if(E.props[h]===n&&so(E.props,"extendDomain")&&ze(E.props[d])){var _=E.props[d];return[Math.min(b[0],_),Math.max(b[1],_)]}return b},m)),f.length){var v="".concat(d,"1"),y="".concat(d,"2");m=f.reduce(function(b,E){if(E.props[h]===n&&so(E.props,"extendDomain")&&ze(E.props[v])&&ze(E.props[y])){var _=E.props[v],A=E.props[y];return[Math.min(b[0],_,A),Math.max(b[1],_,A)]}return b},m)}return i&&i.length&&(m=i.reduce(function(b,E){return ze(E)?[Math.min(b[0],E),Math.max(b[1],E)]:b},m)),m},n_={exports:{}},YL;function rEe(){return YL||(YL=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function a(u,f,h){this.fn=u,this.context=f,this.once=h||!1}function i(u,f,h,d,m){if(typeof h!="function")throw new TypeError("The listener must be a function");var v=new a(h,d||u,m),y=r?r+f:f;return u._events[y]?u._events[y].fn?u._events[y]=[u._events[y],v]:u._events[y].push(v):(u._events[y]=v,u._eventsCount++),u}function o(u,f){--u._eventsCount===0?u._events=new n:delete u._events[f]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var f=[],h,d;if(this._eventsCount===0)return f;for(d in h=this._events)t.call(h,d)&&f.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?f.concat(Object.getOwnPropertySymbols(h)):f},s.prototype.listeners=function(f){var h=r?r+f:f,d=this._events[h];if(!d)return[];if(d.fn)return[d.fn];for(var m=0,v=d.length,y=new Array(v);m<v;m++)y[m]=d[m].fn;return y},s.prototype.listenerCount=function(f){var h=r?r+f:f,d=this._events[h];return d?d.fn?1:d.length:0},s.prototype.emit=function(f,h,d,m,v,y){var b=r?r+f:f;if(!this._events[b])return!1;var E=this._events[b],_=arguments.length,A,C;if(E.fn){switch(E.once&&this.removeListener(f,E.fn,void 0,!0),_){case 1:return E.fn.call(E.context),!0;case 2:return E.fn.call(E.context,h),!0;case 3:return E.fn.call(E.context,h,d),!0;case 4:return E.fn.call(E.context,h,d,m),!0;case 5:return E.fn.call(E.context,h,d,m,v),!0;case 6:return E.fn.call(E.context,h,d,m,v,y),!0}for(C=1,A=new Array(_-1);C<_;C++)A[C-1]=arguments[C];E.fn.apply(E.context,A)}else{var P=E.length,O;for(C=0;C<P;C++)switch(E[C].once&&this.removeListener(f,E[C].fn,void 0,!0),_){case 1:E[C].fn.call(E[C].context);break;case 2:E[C].fn.call(E[C].context,h);break;case 3:E[C].fn.call(E[C].context,h,d);break;case 4:E[C].fn.call(E[C].context,h,d,m);break;default:if(!A)for(O=1,A=new Array(_-1);O<_;O++)A[O-1]=arguments[O];E[C].fn.apply(E[C].context,A)}}return!0},s.prototype.on=function(f,h,d){return i(this,f,h,d,!1)},s.prototype.once=function(f,h,d){return i(this,f,h,d,!0)},s.prototype.removeListener=function(f,h,d,m){var v=r?r+f:f;if(!this._events[v])return this;if(!h)return o(this,v),this;var y=this._events[v];if(y.fn)y.fn===h&&(!m||y.once)&&(!d||y.context===d)&&o(this,v);else{for(var b=0,E=[],_=y.length;b<_;b++)(y[b].fn!==h||m&&!y[b].once||d&&y[b].context!==d)&&E.push(y[b]);E.length?this._events[v]=E.length===1?E[0]:E:o(this,v)}return this},s.prototype.removeAllListeners=function(f){var h;return f?(h=r?r+f:f,this._events[h]&&o(this,h)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s})(n_)),n_.exports}var nEe=rEe();const aEe=Yt(nEe);var a_=new aEe,i_="recharts.syncMouseEvents";function Uh(e){"@babel/helpers - typeof";return Uh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Uh(e)}function iEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oEe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,DG(n.key),n)}}function sEe(e,t,r){return t&&oEe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function o_(e,t,r){return t=DG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function DG(e){var t=lEe(e,"string");return Uh(t)=="symbol"?t:t+""}function lEe(e,t){if(Uh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Uh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var uEe=(function(){function e(){iEe(this,e),o_(this,"activeIndex",0),o_(this,"coordinateList",[]),o_(this,"layout","horizontal")}return sEe(e,[{key:"setDetails",value:function(r){var n,a=r.coordinateList,i=a===void 0?null:a,o=r.container,s=o===void 0?null:o,u=r.layout,f=u===void 0?null:u,h=r.offset,d=h===void 0?null:h,m=r.mouseHandlerCallback,v=m===void 0?null:m;this.coordinateList=(n=i??this.coordinateList)!==null&&n!==void 0?n:[],this.container=s??this.container,this.layout=f??this.layout,this.offset=d??this.offset,this.mouseHandlerCallback=v??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(r){if(this.coordinateList.length!==0)switch(r.key){case"ArrowRight":{if(this.layout!=="horizontal")return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break}case"ArrowLeft":{if(this.layout!=="horizontal")return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse();break}}}},{key:"setIndex",value:function(r){this.activeIndex=r}},{key:"spoofMouse",value:function(){var r,n;if(this.layout==="horizontal"&&this.coordinateList.length!==0){var a=this.container.getBoundingClientRect(),i=a.x,o=a.y,s=a.height,u=this.coordinateList[this.activeIndex].coordinate,f=((r=window)===null||r===void 0?void 0:r.scrollX)||0,h=((n=window)===null||n===void 0?void 0:n.scrollY)||0,d=i+u+f,m=o+this.offset.top+s/2+h;this.mouseHandlerCallback({pageX:d,pageY:m})}}}])})();function cEe(e,t,r){if(r==="number"&&t===!0&&Array.isArray(e)){var n=e?.[0],a=e?.[1];if(n&&a&&ze(n)&&ze(a))return!0}return!1}function fEe(e,t,r,n){var a=n/2;return{stroke:"none",fill:"#ccc",x:e==="horizontal"?t.x-a:r.left+.5,y:e==="horizontal"?r.top+.5:t.y-a,width:e==="horizontal"?n:r.width-1,height:e==="horizontal"?r.height-1:n}}function LG(e){var t=e.cx,r=e.cy,n=e.radius,a=e.startAngle,i=e.endAngle,o=An(t,r,n,a),s=An(t,r,n,i);return{points:[o,s],cx:t,cy:r,radius:n,startAngle:a,endAngle:i}}function dEe(e,t,r){var n,a,i,o;if(e==="horizontal")n=t.x,i=n,a=r.top,o=r.top+r.height;else if(e==="vertical")a=t.y,o=a,n=r.left,i=r.left+r.width;else if(t.cx!=null&&t.cy!=null)if(e==="centric"){var s=t.cx,u=t.cy,f=t.innerRadius,h=t.outerRadius,d=t.angle,m=An(s,u,f,d),v=An(s,u,h,d);n=m.x,a=m.y,i=v.x,o=v.y}else return LG(t);return[{x:n,y:a},{x:i,y:o}]}function qh(e){"@babel/helpers - typeof";return qh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qh(e)}function WL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function xg(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?WL(Object(r),!0).forEach(function(n){hEe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):WL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function hEe(e,t,r){return t=pEe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pEe(e){var t=mEe(e,"string");return qh(t)=="symbol"?t:t+""}function mEe(e,t){if(qh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(qh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gEe(e){var t,r,n=e.element,a=e.tooltipEventType,i=e.isActive,o=e.activeCoordinate,s=e.activePayload,u=e.offset,f=e.activeTooltipIndex,h=e.tooltipAxisBandSize,d=e.layout,m=e.chartName,v=(t=n.props.cursor)!==null&&t!==void 0?t:(r=n.type.defaultProps)===null||r===void 0?void 0:r.cursor;if(!n||!v||!i||!o||m!=="ScatterChart"&&a!=="axis")return null;var y,b=TD;if(m==="ScatterChart")y=o,b=Cxe;else if(m==="BarChart")y=fEe(d,o,u,h),b=TA;else if(d==="radial"){var E=LG(o),_=E.cx,A=E.cy,C=E.radius,P=E.startAngle,O=E.endAngle;y={cx:_,cy:A,startAngle:P,endAngle:O,innerRadius:C,outerRadius:C},b=VV}else y={points:dEe(d,o,u)},b=TD;var k=xg(xg(xg(xg({stroke:"#ccc",pointerEvents:"none"},u),y),$t(v,!1)),{},{payload:s,payloadIndex:f,className:Nt("recharts-tooltip-cursor",v.className)});return R.isValidElement(v)?R.cloneElement(v,k):R.createElement(b,k)}var vEe=["item"],yEe=["children","className","width","height","style","compact","title","desc"];function jf(e){"@babel/helpers - typeof";return jf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jf(e)}function Zc(){return Zc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zc.apply(this,arguments)}function KL(e,t){return EEe(e)||xEe(e,t)||BG(e,t)||bEe()}function bEe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 358In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xEe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,o,s=[],u=!0,f=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(h){f=!0,a=h}finally{try{if(!u&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw a}}return s}}function EEe(e){if(Array.isArray(e))return e}function XL(e,t){if(e==null)return{};var r=_Ee(e,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function _Ee(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function wEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SEe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,zG(n.key),n)}}function TEe(e,t,r){return t&&SEe(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function AEe(e,t,r){return t=lv(t),CEe(e,jG()?Reflect.construct(t,r||[],lv(e).constructor):t.apply(e,r))}function CEe(e,t){if(t&&(jf(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return OEe(e)}function OEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jG=function(){return!!e})()}function lv(e){return lv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},lv(e)}function kEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Q5(e,t)}function Q5(e,t){return Q5=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Q5(e,t)}function Bf(e){return MEe(e)||REe(e)||BG(e)||NEe()}function NEe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 359In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function BG(e,t){if(e){if(typeof e=="string")return Z5(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Z5(e,t)}}function REe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function MEe(e){if(Array.isArray(e))return Z5(e)}function Z5(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function QL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function we(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?QL(Object(r),!0).forEach(function(n){it(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):QL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function it(e,t,r){return t=zG(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zG(e){var t=PEe(e,"string");return jf(t)=="symbol"?t:t+""}function PEe(e,t){if(jf(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(jf(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var IEe={xAxis:["bottom","top"],yAxis:["left","right"]},DEe={width:"100%",height:"100%"},HG={x:0,y:0};function Eg(e){return e}var LEe=function(t,r){return r==="horizontal"?t.x:r==="vertical"?t.y:r==="centric"?t.angle:t.radius},jEe=function(t,r,n,a){var i=r.find(function(h){return h&&h.index===n});if(i){if(t==="horizontal")return{x:i.coordinate,y:a.y};if(t==="vertical")return{x:a.x,y:i.coordinate};if(t==="centric"){var o=i.coordinate,s=a.radius;return we(we(we({},a),An(a.cx,a.cy,s,o)),{},{angle:o,radius:s})}var u=i.coordinate,f=a.angle;return we(we(we({},a),An(a.cx,a.cy,u,f)),{},{angle:f,radius:u})}return HG},Gy=function(t,r){var n=r.graphicalItems,a=r.dataStartIndex,i=r.dataEndIndex,o=(n??[]).reduce(function(s,u){var f=u.props.data;return f&&f.length?[].concat(Bf(s),Bf(f)):s},[]);return o.length>0?o:t&&t.length&&ze(a)&&ze(i)?t.slice(a,i+1):[]};function FG(e){return e==="number"?[0,"auto"]:void 0}var J5=function(t,r,n,a){var i=t.graphicalItems,o=t.tooltipAxis,s=Gy(r,t);return n<0||!i||!i.length||n>=s.length?null:i.reduce(function(u,f){var h,d=(h=f.props.data)!==null&&h!==void 0?h:r;d&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=n&&(d=d.slice(t.dataStartIndex,t.dataEndIndex+1));var m;if(o.dataKey&&!o.allowDuplicatedCategory){var v=d===void 0?s:d;m=zw(v,o.dataKey,a)}else m=d&&d[n]||s[n];return m?[].concat(Bf(u),[$V(f,m)]):u},[])},ZL=function(t,r,n,a){var i=a||{x:t.chartX,y:t.chartY},o=LEe(i,n),s=t.orderedTooltipTicks,u=t.tooltipAxis,f=t.tooltipTicks,h=uye(o,s,f,u);if(h>=0&&f){var d=f[h]&&f[h].value,m=J5(t,r,h,d),v=jEe(n,s,h,i);return{activeTooltipIndex:h,activeLabel:d,activePayload:m,activeCoordinate:v}}return null},BEe=function(t,r){var n=r.axes,a=r.graphicalItems,i=r.axisType,o=r.axisIdKey,s=r.stackGroups,u=r.dataStartIndex,f=r.dataEndIndex,h=t.layout,d=t.children,m=t.stackOffset,v=zV(h,i);return n.reduce(function(y,b){var E,_=b.type.defaultProps!==void 0?we(we({},b.type.defaultProps),b.props):b.props,A=_.type,C=_.dataKey,P=_.allowDataOverflow,O=_.allowDuplicatedCategory,k=_.scale,M=_.ticks,L=_.includeHidden,H=_[o];if(y[H])return y;var F=Gy(t.data,{graphicalItems:a.filter(function(oe){var j,de=o in oe.props?oe.props[o]:(j=oe.type.defaultProps)===null||j===void 0?void 0:j[o];return de===H}),dataStartIndex:u,dataEndIndex:f}),$=F.length,z,W,K;cEe(_.domain,P,A)&&(z=b5(_.domain,null,P),v&&(A==="number"||k!=="auto")&&(K=zd(F,C,"category")));var te=FG(A);if(!z||z.length===0){var U,J=(U=_.domain)!==null&&U!==void 0?U:te;if(C){if(z=zd(F,C,A),A==="category"&&v){var Z=t0e(z);O&&Z?(W=z,z=X1(0,$)):O||(z=fD(J,z,b).reduce(function(oe,j){return oe.indexOf(j)>=0?oe:[].concat(Bf(oe),[j])},[]))}else if(A==="category")O?z=z.filter(function(oe){return oe!==""&&!Ut(oe)}):z=fD(J,z,b).reduce(function(oe,j){return oe.indexOf(j)>=0||j===""||Ut(j)?oe:[].concat(Bf(oe),[j])},[]);else if(A==="number"){var le=pye(F,a.filter(function(oe){var j,de,xe=o in oe.props?oe.props[o]:(j=oe.type.defaultProps)===null||j===void 0?void 0:j[o],Oe="hide"in oe.props?oe.props.hide:(de=oe.type.defaultProps)===null||de===void 0?void 0:de.hide;return xe===H&&(L||!Oe)}),C,i,h);le&&(z=le)}v&&(A==="number"||k!=="auto")&&(K=zd(F,C,"category"))}else v?z=X1(0,$):s&&s[H]&&s[H].hasStack&&A==="number"?z=m==="expand"?[0,1]:FV(s[H].stackGroups,u,f):z=BV(F,a.filter(function(oe){var j=o in oe.props?oe.props[o]:oe.type.defaultProps[o],de="hide"in oe.props?oe.props.hide:oe.type.defaultProps.hide;return j===H&&(L||!de)}),A,h,!0);if(A==="number")z=X5(d,z,H,i,M),J&&(z=b5(J,z,P));else if(A==="category"&&J){var G=J,Y=z.every(function(oe){return G.indexOf(oe)>=0});Y&&(z=G)}}return we(we({},y),{},it({},H,we(we({},_),{},{axisType:i,domain:z,categoricalDomain:K,duplicateDomain:W,originalDomain:(E=_.domain)!==null&&E!==void 0?E:te,isCategorical:v,layout:h})))},{})},zEe=function(t,r){var n=r.graphicalItems,a=r.Axis,i=r.axisType,o=r.axisIdKey,s=r.stackGroups,u=r.dataStartIndex,f=r.dataEndIndex,h=t.layout,d=t.children,m=Gy(t.data,{graphicalItems:n,dataStartIndex:u,dataEndIndex:f}),v=m.length,y=zV(h,i),b=-1;return n.reduce(function(E,_){var A=_.type.defaultProps!==void 0?we(we({},_.type.defaultProps),_.props):_.props,C=A[o],P=FG("number");if(!E[C]){b++;var O;return y?O=X1(0,v):s&&s[C]&&s[C].hasStack?(O=FV(s[C].stackGroups,u,f),O=X5(d,O,C,i)):(O=b5(P,BV(m,n.filter(function(k){var M,L,H=o in k.props?k.props[o]:(M=k.type.defaultProps)===null||M===void 0?void 0:M[o],F="hide"in k.props?k.props.hide:(L=k.type.defaultProps)===null||L===void 0?void 0:L.hide;return H===C&&!F}),"number",h),a.defaultProps.allowDataOverflow),O=X5(d,O,C,i)),we(we({},E),{},it({},C,we(we({axisType:i},a.defaultProps),{},{hide:!0,orientation:ui(IEe,"".concat(i,".").concat(b%2),null),domain:O,originalDomain:P,isCategorical:y,layout:h})))}return E},{})},HEe=function(t,r){var n=r.axisType,a=n===void 0?"xAxis":n,i=r.AxisComp,o=r.graphicalItems,s=r.stackGroups,u=r.dataStartIndex,f=r.dataEndIndex,h=t.children,d="".concat(a,"Id"),m=Oi(h,i),v={};return m&&m.length?v=BEe(t,{axes:m,graphicalItems:o,axisType:a,axisIdKey:d,stackGroups:s,dataStartIndex:u,dataEndIndex:f}):o&&o.length&&(v=zEe(t,{Axis:i,graphicalItems:o,axisType:a,axisIdKey:d,stackGroups:s,dataStartIndex:u,dataEndIndex:f})),v},FEe=function(t){var r=el(t),n=Ko(r,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:ZT(n,function(a){return a.coordinate}),tooltipAxis:r,tooltipAxisBandSize:F1(r,n)}},JL=function(t){var r=t.children,n=t.defaultShowTooltip,a=Ra(r,kf),i=0,o=0;return t.data&&t.data.length!==0&&(o=t.data.length-1),a&&a.props&&(a.props.startIndex>=0&&(i=a.props.startIndex),a.props.endIndex>=0&&(o=a.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:o,activeTooltipIndex:-1,isTooltipActive:!!n}},$Ee=function(t){return!t||!t.length?!1:t.some(function(r){var n=Qo(r&&r.type);return n&&n.indexOf("Bar")>=0})},ej=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},UEe=function(t,r){var n=t.props,a=t.graphicalItems,i=t.xAxisMap,o=i===void 0?{}:i,s=t.yAxisMap,u=s===void 0?{}:s,f=n.width,h=n.height,d=n.children,m=n.margin||{},v=Ra(d,kf),y=Ra(d,af),b=Object.keys(u).reduce(function(O,k){var M=u[k],L=M.orientation;return!M.mirror&&!M.hide?we(we({},O),{},it({},L,O[L]+M.width)):O},{left:m.left||0,right:m.right||0}),E=Object.keys(o).reduce(function(O,k){var M=o[k],L=M.orientation;return!M.mirror&&!M.hide?we(we({},O),{},it({},L,ui(O,"".concat(L))+M.height)):O},{top:m.top||0,bottom:m.bottom||0}),_=we(we({},E),b),A=_.bottom;v&&(_.bottom+=v.props.height||kf.defaultProps.height),y&&r&&(_=dye(_,a,n,r));var C=f-_.left-_.right,P=h-_.top-_.bottom;return we(we({brushBottom:A},_),{},{width:Math.max(C,0),height:Math.max(P,0)})},qEe=function(t,r){if(r==="xAxis")return t[r].width;if(r==="yAxis")return t[r].height},VEe=function(t){var r=t.chartName,n=t.GraphicalChild,a=t.defaultTooltipEventType,i=a===void 0?"axis":a,o=t.validateTooltipEventTypes,s=o===void 0?["axis"]:o,u=t.axisComponents,f=t.legendContent,h=t.formatAxisMap,d=t.defaultProps,m=function(_,A){var C=A.graphicalItems,P=A.stackGroups,O=A.offset,k=A.updateId,M=A.dataStartIndex,L=A.dataEndIndex,H=_.barSize,F=_.layout,$=_.barGap,z=_.barCategoryGap,W=_.maxBarSize,K=ej(F),te=K.numericAxisName,U=K.cateAxisName,J=$Ee(C),Z=[];return C.forEach(function(le,G){var Y=Gy(_.data,{graphicalItems:[le],dataStartIndex:M,dataEndIndex:L}),oe=le.type.defaultProps!==void 0?we(we({},le.type.defaultProps),le.props):le.props,j=oe.dataKey,de=oe.maxBarSize,xe=oe["".concat(te,"Id")],Oe=oe["".concat(U,"Id")],Re={},He=u.reduce(function(Hn,dr){var Qn=A["".concat(dr.axisType,"Map")],zr=oe["".concat(dr.axisType,"Id")];Qn&&Qn[zr]||dr.axisType==="zAxis"||_u();var ys=Qn[zr];return we(we({},Hn),{},it(it({},dr.axisType,ys),"".concat(dr.axisType,"Ticks"),Ko(ys)))},Re),Te=He[U],Ue=He["".concat(U,"Ticks")],Ke=P&&P[xe]&&P[xe].hasStack&&Aye(le,P[xe].stackGroups),Ae=Qo(le.type).indexOf("Bar")>=0,St=F1(Te,Ue),rt=[],Ht=J&&cye({barSize:H,stackGroups:P,totalSize:qEe(He,U)});if(Ae){var Pt,Kt,Rr=Ut(de)?W:de,Zt=(Pt=(Kt=F1(Te,Ue,!0))!==null&&Kt!==void 0?Kt:Rr)!==null&&Pt!==void 0?Pt:0;rt=fye({barGap:$,barCategoryGap:z,bandSize:Zt!==St?Zt:St,sizeList:Ht[Oe],maxBarSize:Rr}),Zt!==St&&(rt=rt.map(function(Hn){return we(we({},Hn),{},{position:we(we({},Hn.position),{},{offset:Hn.position.offset-Zt/2})})}))}var ba=le&&le.type&&le.type.getComposedData;ba&&Z.push({props:we(we({},ba(we(we({},He),{},{displayedData:Y,props:_,dataKey:j,item:le,bandSize:St,barPosition:rt,offset:O,stackedData:Ke,layout:F,dataStartIndex:M,dataEndIndex:L}))),{},it(it(it({key:le.key||"item-".concat(G)},te,He[te]),U,He[U]),"animationId",k)),childIndex:h0e(le,_.children),item:le})}),Z},v=function(_,A){var C=_.props,P=_.dataStartIndex,O=_.dataEndIndex,k=_.updateId;if(!TR({props:C}))return null;var M=C.children,L=C.layout,H=C.stackOffset,F=C.data,$=C.reverseStackOrder,z=ej(L),W=z.numericAxisName,K=z.cateAxisName,te=Oi(M,n),U=wye(F,te,"".concat(W,"Id"),"".concat(K,"Id"),H,$),J=u.reduce(function(oe,j){var de="".concat(j.axisType,"Map");return we(we({},oe),{},it({},de,HEe(C,we(we({},j),{},{graphicalItems:te,stackGroups:j.axisType===W&&U,dataStartIndex:P,dataEndIndex:O}))))},{}),Z=UEe(we(we({},J),{},{props:C,graphicalItems:te}),A?.legendBBox);Object.keys(J).forEach(function(oe){J[oe]=h(C,J[oe],Z,oe.replace("Map",""),r)});var le=J["".concat(K,"Map")],G=FEe(le),Y=m(C,we(we({},J),{},{dataStartIndex:P,dataEndIndex:O,updateId:k,graphicalItems:te,stackGroups:U,offset:Z}));return we(we({formattedGraphicalItems:Y,graphicalItems:te,offset:Z,stackGroups:U},G),J)},y=(function(E){function _(A){var C,P,O;return wEe(this,_),O=AEe(this,_,[A]),it(O,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),it(O,"accessibilityManager",new uEe),it(O,"handleLegendBBoxUpdate",function(k){if(k){var M=O.state,L=M.dataStartIndex,H=M.dataEndIndex,F=M.updateId;O.setState(we({legendBBox:k},v({props:O.props,dataStartIndex:L,dataEndIndex:H,updateId:F},we(we({},O.state),{},{legendBBox:k}))))}}),it(O,"handleReceiveSyncEvent",function(k,M,L){if(O.props.syncId===k){if(L===O.eventEmitterSymbol&&typeof O.props.syncMethod!="function")return;O.applySyncEvent(M)}}),it(O,"handleBrushChange",function(k){var M=k.startIndex,L=k.endIndex;if(M!==O.state.dataStartIndex||L!==O.state.dataEndIndex){var H=O.state.updateId;O.setState(function(){return we({dataStartIndex:M,dataEndIndex:L},v({props:O.props,dataStartIndex:M,dataEndIndex:L,updateId:H},O.state))}),O.triggerSyncEvent({dataStartIndex:M,dataEndIndex:L})}}),it(O,"handleMouseEnter",function(k){var M=O.getMouseInfo(k);if(M){var L=we(we({},M),{},{isTooltipActive:!0});O.setState(L),O.triggerSyncEvent(L);var H=O.props.onMouseEnter;yt(H)&&H(L,k)}}),it(O,"triggeredAfterMouseMove",function(k){var M=O.getMouseInfo(k),L=M?we(we({},M),{},{isTooltipActive:!0}):{isTooltipActive:!1};O.setState(L),O.triggerSyncEvent(L);var H=O.props.onMouseMove;yt(H)&&H(L,k)}),it(O,"handleItemMouseEnter",function(k){O.setState(function(){return{isTooltipActive:!0,activeItem:k,activePayload:k.tooltipPayload,activeCoordinate:k.tooltipPosition||{x:k.cx,y:k.cy}}})}),it(O,"handleItemMouseLeave",function(){O.setState(function(){return{isTooltipActive:!1}})}),it(O,"handleMouseMove",function(k){k.persist(),O.throttleTriggeredAfterMouseMove(k)}),it(O,"handleMouseLeave",function(k){O.throttleTriggeredAfterMouseMove.cancel();var M={isTooltipActive:!1};O.setState(M),O.triggerSyncEvent(M);var L=O.props.onMouseLeave;yt(L)&&L(M,k)}),it(O,"handleOuterEvent",function(k){var M=d0e(k),L=ui(O.props,"".concat(M));if(M&&yt(L)){var H,F;/.*touch.*/i.test(M)?F=O.getMouseInfo(k.changedTouches[0]):F=O.getMouseInfo(k),L((H=F)!==null&&H!==void 0?H:{},k)}}),it(O,"handleClick",function(k){var M=O.getMouseInfo(k);if(M){var L=we(we({},M),{},{isTooltipActive:!0});O.setState(L),O.triggerSyncEvent(L);var H=O.props.onClick;yt(H)&&H(L,k)}}),it(O,"handleMouseDown",function(k){var M=O.props.onMouseDown;if(yt(M)){var L=O.getMouseInfo(k);M(L,k)}}),it(O,"handleMouseUp",function(k){var M=O.props.onMouseUp;if(yt(M)){var L=O.getMouseInfo(k);M(L,k)}}),it(O,"handleTouchMove",function(k){k.changedTouches!=null&&k.changedTouches.length>0&&O.throttleTriggeredAfterMouseMove(k.changedTouches[0])}),it(O,"handleTouchStart",function(k){k.changedTouches!=null&&k.changedTouches.length>0&&O.handleMouseDown(k.changedTouches[0])}),it(O,"handleTouchEnd",function(k){k.changedTouches!=null&&k.changedTouches.length>0&&O.handleMouseUp(k.changedTouches[0])}),it(O,"handleDoubleClick",function(k){var M=O.props.onDoubleClick;if(yt(M)){var L=O.getMouseInfo(k);M(L,k)}}),it(O,"handleContextMenu",function(k){var M=O.props.onContextMenu;if(yt(M)){var L=O.getMouseInfo(k);M(L,k)}}),it(O,"triggerSyncEvent",function(k){O.props.syncId!==void 0&&a_.emit(i_,O.props.syncId,k,O.eventEmitterSymbol)}),it(O,"applySyncEvent",function(k){var M=O.props,L=M.layout,H=M.syncMethod,F=O.state.updateId,$=k.dataStartIndex,z=k.dataEndIndex;if(k.dataStartIndex!==void 0||k.dataEndIndex!==void 0)O.setState(we({dataStartIndex:$,dataEndIndex:z},v({props:O.props,dataStartIndex:$,dataEndIndex:z,updateId:F},O.state)));else if(k.activeTooltipIndex!==void 0){var W=k.chartX,K=k.chartY,te=k.activeTooltipIndex,U=O.state,J=U.offset,Z=U.tooltipTicks;if(!J)return;if(typeof H=="function")te=H(Z,k);else if(H==="value"){te=-1;for(var le=0;le<Z.length;le++)if(Z[le].value===k.activeLabel){te=le;break}}var G=we(we({},J),{},{x:J.left,y:J.top}),Y=Math.min(W,G.x+G.width),oe=Math.min(K,G.y+G.height),j=Z[te]&&Z[te].value,de=J5(O.state,O.props.data,te),xe=Z[te]?{x:L==="horizontal"?Z[te].coordinate:Y,y:L==="horizontal"?oe:Z[te].coordinate}:HG;O.setState(we(we({},k),{},{activeLabel:j,activeCoordinate:xe,activePayload:de,activeTooltipIndex:te}))}else O.setState(k)}),it(O,"renderCursor",function(k){var M,L=O.state,H=L.isTooltipActive,F=L.activeCoordinate,$=L.activePayload,z=L.offset,W=L.activeTooltipIndex,K=L.tooltipAxisBandSize,te=O.getTooltipEventType(),U=(M=k.props.active)!==null&&M!==void 0?M:H,J=O.props.layout,Z=k.key||"_recharts-cursor";return re.createElement(gEe,{key:Z,activeCoordinate:F,activePayload:$,activeTooltipIndex:W,chartName:r,element:k,isActive:U,layout:J,offset:z,tooltipAxisBandSize:K,tooltipEventType:te})}),it(O,"renderPolarAxis",function(k,M,L){var H=ui(k,"type.axisType"),F=ui(O.state,"".concat(H,"Map")),$=k.type.defaultProps,z=$!==void 0?we(we({},$),k.props):k.props,W=F&&F[z["".concat(H,"Id")]];return R.cloneElement(k,we(we({},W),{},{className:Nt(H,W.className),key:k.key||"".concat(M,"-").concat(L),ticks:Ko(W,!0)}))}),it(O,"renderPolarGrid",function(k){var M=k.props,L=M.radialLines,H=M.polarAngles,F=M.polarRadius,$=O.state,z=$.radiusAxisMap,W=$.angleAxisMap,K=el(z),te=el(W),U=te.cx,J=te.cy,Z=te.innerRadius,le=te.outerRadius;return R.cloneElement(k,{polarAngles:Array.isArray(H)?H:Ko(te,!0).map(function(G){return G.coordinate}),polarRadius:Array.isArray(F)?F:Ko(K,!0).map(function(G){return G.coordinate}),cx:U,cy:J,innerRadius:Z,outerRadius:le,key:k.key||"polar-grid",radialLines:L})}),it(O,"renderLegend",function(){var k=O.state.formattedGraphicalItems,M=O.props,L=M.children,H=M.width,F=M.height,$=O.props.margin||{},z=H-($.left||0)-($.right||0),W=LV({children:L,formattedGraphicalItems:k,legendWidth:z,legendContent:f});if(!W)return null;var K=W.item,te=XL(W,vEe);return R.cloneElement(K,we(we({},te),{},{chartWidth:H,chartHeight:F,margin:$,onBBoxUpdate:O.handleLegendBBoxUpdate}))}),it(O,"renderTooltip",function(){var k,M=O.props,L=M.children,H=M.accessibilityLayer,F=Ra(L,Xi);if(!F)return null;var $=O.state,z=$.isTooltipActive,W=$.activeCoordinate,K=$.activePayload,te=$.activeLabel,U=$.offset,J=(k=F.props.active)!==null&&k!==void 0?k:z;return R.cloneElement(F,{viewBox:we(we({},U),{},{x:U.left,y:U.top}),active:J,label:te,payload:J?K:[],coordinate:W,accessibilityLayer:H})}),it(O,"renderBrush",function(k){var M=O.props,L=M.margin,H=M.data,F=O.state,$=F.offset,z=F.dataStartIndex,W=F.dataEndIndex,K=F.updateId;return R.cloneElement(k,{key:k.key||"_recharts-brush",onChange:gg(O.handleBrushChange,k.props.onChange),data:H,x:ze(k.props.x)?k.props.x:$.left,y:ze(k.props.y)?k.props.y:$.top+$.height+$.brushBottom-(L.bottom||0),width:ze(k.props.width)?k.props.width:$.width,startIndex:z,endIndex:W,updateId:"brush-".concat(K)})}),it(O,"renderReferenceElement",function(k,M,L){if(!k)return null;var H=O,F=H.clipPathId,$=O.state,z=$.xAxisMap,W=$.yAxisMap,K=$.offset,te=k.type.defaultProps||{},U=k.props,J=U.xAxisId,Z=J===void 0?te.xAxisId:J,le=U.yAxisId,G=le===void 0?te.yAxisId:le;return R.cloneElement(k,{key:k.key||"".concat(M,"-").concat(L),xAxis:z[Z],yAxis:W[G],viewBox:{x:K.left,y:K.top,width:K.width,height:K.height},clipPathId:F})}),it(O,"renderActivePoints",function(k){var M=k.item,L=k.activePoint,H=k.basePoint,F=k.childIndex,$=k.isRange,z=[],W=M.props.key,K=M.item.type.defaultProps!==void 0?we(we({},M.item.type.defaultProps),M.item.props):M.item.props,te=K.activeDot,U=K.dataKey,J=we(we({index:F,dataKey:U,cx:L.x,cy:L.y,r:4,fill:SA(M.item),strokeWidth:2,stroke:"#fff",payload:L.payload,value:L.value},$t(te,!1)),g1(te));return z.push(_.renderActiveDot(te,J,"".concat(W,"-activePoint-").concat(F))),H?z.push(_.renderActiveDot(te,we(we({},J),{},{cx:H.x,cy:H.y}),"".concat(W,"-basePoint-").concat(F))):$&&z.push(null),z}),it(O,"renderGraphicChild",function(k,M,L){var H=O.filterFormatItem(k,M,L);if(!H)return null;var F=O.getTooltipEventType(),$=O.state,z=$.isTooltipActive,W=$.tooltipAxis,K=$.activeTooltipIndex,te=$.activeLabel,U=O.props.children,J=Ra(U,Xi),Z=H.props,le=Z.points,G=Z.isRange,Y=Z.baseLine,oe=H.item.type.defaultProps!==void 0?we(we({},H.item.type.defaultProps),H.item.props):H.item.props,j=oe.activeDot,de=oe.hide,xe=oe.activeBar,Oe=oe.activeShape,Re=!!(!de&&z&&J&&(j||xe||Oe)),He={};F!=="axis"&&J&&J.props.trigger==="click"?He={onClick:gg(O.handleItemMouseEnter,k.props.onClick)}:F!=="axis"&&(He={onMouseLeave:gg(O.handleItemMouseLeave,k.props.onMouseLeave),onMouseEnter:gg(O.handleItemMouseEnter,k.props.onMouseEnter)});var Te=R.cloneElement(k,we(we({},H.props),He));function Ue(dr){return typeof W.dataKey=="function"?W.dataKey(dr.payload):null}if(Re)if(K>=0){var Ke,Ae;if(W.dataKey&&!W.allowDuplicatedCategory){var St=typeof W.dataKey=="function"?Ue:"payload.".concat(W.dataKey.toString());Ke=zw(le,St,te),Ae=G&&Y&&zw(Y,St,te)}else Ke=le?.[K],Ae=G&&Y&&Y[K];if(Oe||xe){var rt=k.props.activeIndex!==void 0?k.props.activeIndex:K;return[R.cloneElement(k,we(we(we({},H.props),He),{},{activeIndex:rt})),null,null]}if(!Ut(Ke))return[Te].concat(Bf(O.renderActivePoints({item:H,activePoint:Ke,basePoint:Ae,childIndex:K,isRange:G})))}else{var Ht,Pt=(Ht=O.getItemByXY(O.state.activeCoordinate))!==null&&Ht!==void 0?Ht:{graphicalItem:Te},Kt=Pt.graphicalItem,Rr=Kt.item,Zt=Rr===void 0?k:Rr,ba=Kt.childIndex,Hn=we(we(we({},H.props),He),{},{activeIndex:ba});return[R.cloneElement(Zt,Hn),null,null]}return G?[Te,null,null]:[Te,null]}),it(O,"renderCustomized",function(k,M,L){return R.cloneElement(k,we(we({key:"recharts-customized-".concat(L)},O.props),O.state))}),it(O,"renderMap",{CartesianGrid:{handler:Eg,once:!0},ReferenceArea:{handler:O.renderReferenceElement},ReferenceLine:{handler:Eg},ReferenceDot:{handler:O.renderReferenceElement},XAxis:{handler:Eg},YAxis:{handler:Eg},Brush:{handler:O.renderBrush,once:!0},Bar:{handler:O.renderGraphicChild},Line:{handler:O.renderGraphicChild},Area:{handler:O.renderGraphicChild},Radar:{handler:O.renderGraphicChild},RadialBar:{handler:O.renderGraphicChild},Scatter:{handler:O.renderGraphicChild},Pie:{handler:O.renderGraphicChild},Funnel:{handler:O.renderGraphicChild},Tooltip:{handler:O.renderCursor,once:!0},PolarGrid:{handler:O.renderPolarGrid,once:!0},PolarAngleAxis:{handler:O.renderPolarAxis},PolarRadiusAxis:{handler:O.renderPolarAxis},Customized:{handler:O.renderCustomized}}),O.clipPathId="".concat((C=A.id)!==null&&C!==void 0?C:vy("recharts"),"-clip"),O.throttleTriggeredAfterMouseMove=Iq(O.triggeredAfterMouseMove,(P=A.throttleDelay)!==null&&P!==void 0?P:1e3/60),O.state={},O}return kEe(_,E),TEe(_,[{key:"componentDidMount",value:function(){var C,P;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(C=this.props.margin.left)!==null&&C!==void 0?C:0,top:(P=this.props.margin.top)!==null&&P!==void 0?P:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var C=this.props,P=C.children,O=C.data,k=C.height,M=C.layout,L=Ra(P,Xi);if(L){var H=L.props.defaultIndex;if(!(typeof H!="number"||H<0||H>this.state.tooltipTicks.length-1)){var F=this.state.tooltipTicks[H]&&this.state.tooltipTicks[H].value,$=J5(this.state,O,H,F),z=this.state.tooltipTicks[H].coordinate,W=(this.state.offset.top+k)/2,K=M==="horizontal",te=K?{x:z,y:W}:{y:z,x:W},U=this.state.formattedGraphicalItems.find(function(Z){var le=Z.item;return le.type.name==="Scatter"});U&&(te=we(we({},te),U.props.points[H].tooltipPosition),$=U.props.points[H].tooltipPayload);var J={activeTooltipIndex:H,isTooltipActive:!0,activeLabel:F,activePayload:$,activeCoordinate:te};this.setState(J),this.renderCursor(L),this.accessibilityManager.setIndex(H)}}}},{key:"getSnapshotBeforeUpdate",value:function(C,P){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==P.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==C.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==C.margin){var O,k;this.accessibilityManager.setDetails({offset:{left:(O=this.props.margin.left)!==null&&O!==void 0?O:0,top:(k=this.props.margin.top)!==null&&k!==void 0?k:0}})}return null}},{key:"componentDidUpdate",value:function(C){Fw([Ra(C.children,Xi)],[Ra(this.props.children,Xi)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var C=Ra(this.props.children,Xi);if(C&&typeof C.props.shared=="boolean"){var P=C.props.shared?"axis":"item";return s.indexOf(P)>=0?P:i}return i}},{key:"getMouseInfo",value:function(C){if(!this.container)return null;var P=this.container,O=P.getBoundingClientRect(),k=eme(O),M={chartX:Math.round(C.pageX-k.left),chartY:Math.round(C.pageY-k.top)},L=O.width/P.offsetWidth||1,H=this.inRange(M.chartX,M.chartY,L);if(!H)return null;var F=this.state,$=F.xAxisMap,z=F.yAxisMap,W=this.getTooltipEventType(),K=ZL(this.state,this.props.data,this.props.layout,H);if(W!=="axis"&&$&&z){var te=el($).scale,U=el(z).scale,J=te&&te.invert?te.invert(M.chartX):null,Z=U&&U.invert?U.invert(M.chartY):null;return we(we({},M),{},{xValue:J,yValue:Z},K)}return K?we(we({},M),K):null}},{key:"inRange",value:function(C,P){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,k=this.props.layout,M=C/O,L=P/O;if(k==="horizontal"||k==="vertical"){var H=this.state.offset,F=M>=H.left&&M<=H.left+H.width&&L>=H.top&&L<=H.top+H.height;return F?{x:M,y:L}:null}var $=this.state,z=$.angleAxisMap,W=$.radiusAxisMap;if(z&&W){var K=el(z);return pD({x:M,y:L},K)}return null}},{key:"parseEventsOfWrapper",value:function(){var C=this.props.children,P=this.getTooltipEventType(),O=Ra(C,Xi),k={};O&&P==="axis"&&(O.props.trigger==="click"?k={onClick:this.handleClick}:k={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var M=g1(this.props,this.handleOuterEvent);return we(we({},M),k)}},{key:"addListener",value:function(){a_.on(i_,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){a_.removeListener(i_,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(C,P,O){for(var k=this.state.formattedGraphicalItems,M=0,L=k.length;M<L;M++){var H=k[M];if(H.item===C||H.props.key===C.key||P===Qo(H.item.type)&&O===H.childIndex)return H}return null}},{key:"renderClipPath",value:function(){var C=this.clipPathId,P=this.state.offset,O=P.left,k=P.top,M=P.height,L=P.width;return re.createElement("defs",null,re.createElement("clipPath",{id:C},re.createElement("rect",{x:O,y:k,height:M,width:L})))}},{key:"getXScales",value:function(){var C=this.state.xAxisMap;return C?Object.entries(C).reduce(function(P,O){var k=KL(O,2),M=k[0],L=k[1];return we(we({},P),{},it({},M,L.scale))},{}):null}},{key:"getYScales",value:function(){var C=this.state.yAxisMap;return C?Object.entries(C).reduce(function(P,O){var k=KL(O,2),M=k[0],L=k[1];return we(we({},P),{},it({},M,L.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(C){var P;return(P=this.state.xAxisMap)===null||P===void 0||(P=P[C])===null||P===void 0?void 0:P.scale}},{key:"getYScaleByAxisId",value:function(C){var P;return(P=this.state.yAxisMap)===null||P===void 0||(P=P[C])===null||P===void 0?void 0:P.scale}},{key:"getItemByXY",value:function(C){var P=this.state,O=P.formattedGraphicalItems,k=P.activeItem;if(O&&O.length)for(var M=0,L=O.length;M<L;M++){var H=O[M],F=H.props,$=H.item,z=$.type.defaultProps!==void 0?we(we({},$.type.defaultProps),$.props):$.props,W=Qo($.type);if(W==="Bar"){var K=(F.data||[]).find(function(Z){return vxe(C,Z)});if(K)return{graphicalItem:H,payload:K}}else if(W==="RadialBar"){var te=(F.data||[]).find(function(Z){return pD(C,Z)});if(te)return{graphicalItem:H,payload:te}}else if(jy(H,k)||By(H,k)||Bh(H,k)){var U=s4e({graphicalItem:H,activeTooltipItem:k,itemData:z.data}),J=z.activeIndex===void 0?U:z.activeIndex;return{graphicalItem:we(we({},H),{},{childIndex:J}),payload:Bh(H,k)?z.data[U]:H.props.data[U]}}}return null}},{key:"render",value:function(){var C=this;if(!TR(this))return null;var P=this.props,O=P.children,k=P.className,M=P.width,L=P.height,H=P.style,F=P.compact,$=P.title,z=P.desc,W=XL(P,yEe),K=$t(W,!1);if(F)return re.createElement(PL,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},re.createElement(Uw,Zc({},K,{width:M,height:L,title:$,desc:z}),this.renderClipPath(),CR(O,this.renderMap)));if(this.props.accessibilityLayer){var te,U;K.tabIndex=(te=this.props.tabIndex)!==null&&te!==void 0?te:0,K.role=(U=this.props.role)!==null&&U!==void 0?U:"application",K.onKeyDown=function(Z){C.accessibilityManager.keyboardEvent(Z)},K.onFocus=function(){C.accessibilityManager.focus()}}var J=this.parseEventsOfWrapper();return re.createElement(PL,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},re.createElement("div",Zc({className:Nt("recharts-wrapper",k),style:we({position:"relative",cursor:"default",width:M,height:L},H)},J,{ref:function(le){C.container=le}}),re.createElement(Uw,Zc({},K,{width:M,height:L,title:$,desc:z,style:DEe}),this.renderClipPath(),CR(O,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])})(R.Component);it(y,"displayName",r),it(y,"defaultProps",we({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d)),it(y,"getDerivedStateFromProps",function(E,_){var A=E.dataKey,C=E.data,P=E.children,O=E.width,k=E.height,M=E.layout,L=E.stackOffset,H=E.margin,F=_.dataStartIndex,$=_.dataEndIndex;if(_.updateId===void 0){var z=JL(E);return we(we(we({},z),{},{updateId:0},v(we(we({props:E},z),{},{updateId:0}),_)),{},{prevDataKey:A,prevData:C,prevWidth:O,prevHeight:k,prevLayout:M,prevStackOffset:L,prevMargin:H,prevChildren:P})}if(A!==_.prevDataKey||C!==_.prevData||O!==_.prevWidth||k!==_.prevHeight||M!==_.prevLayout||L!==_.prevStackOffset||!nf(H,_.prevMargin)){var W=JL(E),K={chartX:_.chartX,chartY:_.chartY,isTooltipActive:_.isTooltipActive},te=we(we({},ZL(_,C,M)),{},{updateId:_.updateId+1}),U=we(we(we({},W),K),te);return we(we(we({},U),v(we({props:E},U),_)),{},{prevDataKey:A,prevData:C,prevWidth:O,prevHeight:k,prevLayout:M,prevStackOffset:L,prevMargin:H,prevChildren:P})}if(!Fw(P,_.prevChildren)){var J,Z,le,G,Y=Ra(P,kf),oe=Y&&(J=(Z=Y.props)===null||Z===void 0?void 0:Z.startIndex)!==null&&J!==void 0?J:F,j=Y&&(le=(G=Y.props)===null||G===void 0?void 0:G.endIndex)!==null&&le!==void 0?le:$,de=oe!==F||j!==$,xe=!Ut(C),Oe=xe&&!de?_.updateId:_.updateId+1;return we(we({updateId:Oe},v(we(we({props:E},_),{},{updateId:Oe,dataStartIndex:oe,dataEndIndex:j}),_)),{},{prevChildren:P,dataStartIndex:oe,dataEndIndex:j})}return null}),it(y,"renderActiveDot",function(E,_,A){var C;return R.isValidElement(E)?C=R.cloneElement(E,_):yt(E)?C=E(_):C=re.createElement(JV,_),re.createElement(hn,{className:"recharts-active-dot",ke
359y:A},C)});var b=R.forwardRef(function(_,A){return re.createElement(y,Zc({},_,{ref:A}))});return b.displayName=y.displayName,b},GEe=VEe({chartName:"BarChart",GraphicalChild:ju,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:qy},{axisType:"yAxis",AxisComp:Vy}],formatAxisMap:n3e});function _g({label:e,value:t,hint:r,icon:n}){return S.jsx("article",{"data-loc":"client/src/pages/Admin.tsx:9",className:"border border-slate-200 bg-white p-5",children:S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:9",className:"flex items-start justify-between",children:[S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:9",children:[S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:9",className:"text-xs font-bold uppercase tracking-[0.14em] text-slate-500",children:e}),S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:9",className:"mt-3 font-display text-3xl font-black text-[#0d1b2a]",children:t}),S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:9",className:"mt-2 text-xs text-slate-500",children:r})]}),S.jsx(n,{"data-loc":"client/src/pages/Admin.tsx:9",className:"size-6 text-[#d4af37]"})]})})}function YEe(){const{user:e,loading:t}=vT(),r=ha.admin.metrics.useQuery(void 0,{enabled:!!e&&e.role==="admin"}),n=ha.admin.leads.useQuery(void 0,{enabled:!!e&&e.role==="admin"}),a=ha.reports.sendDaily.useMutation(),i=ha.reports.sendWeekly.useMutation();if(t)return S.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:19",className:"min-h-screen bg-[#f5f1e8]"});if(!e||e.role!=="admin")return S.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:20",className:"grid min-h-screen place-items-center bg-[#0d1b2a] px-6 text-center text-white",children:S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:20",children:[S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:20",className:"font-display text-sm font-bold tracking-[0.2em] text-[#d4af37]",children:"ACCESO RESTRINGIDO"}),S.jsx("h1",{"data-loc":"client/src/pages/Admin.tsx:20",className:"mt-4 font-display text-4xl font-black",children:"Panel de administración"}),S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:20",className:"mx-auto mt-4 max-w-md text-slate-300",children:"Iniciá sesión con una cuenta administradora autorizada para ver métricas y consultas."}),S.jsxs("a",{"data-loc":"client/src/pages/Admin.tsx:20",href:"/",className:"mt-7 inline-flex items-center gap-2 border border-[#d4af37] px-5 py-3 text-sm font-bold text-[#d4af37]",children:[S.jsx(r$,{"data-loc":"client/src/pages/Admin.tsx:20",className:"size-4"})," Volver a la landing"]})]})});const o=r.data;return S.jsx(ffe,{"data-loc":"client/src/pages/Admin.tsx:23",children:S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:23",className:"min-h-screen bg-[#f5f1e8] p-2 md:p-6",children:[S.jsxs("header",{"data-loc":"client/src/pages/Admin.tsx:23",className:"mb-7 flex flex-col justify-between gap-4 border-b border-slate-200 pb-5 md:flex-row md:items-end",children:[S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:23",children:[S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:23",className:"text-xs font-bold tracking-[0.2em] text-[#9a7b1f]",children:"CAMPO LA CESIRA"}),S.jsx("h1",{"data-loc":"client/src/pages/Admin.tsx:23",className:"mt-2 font-display text-3xl font-black text-[#0d1b2a]",children:"Seguimiento comercial"}),S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:23",className:"mt-2 text-sm text-slate-600",children:"Visitas, consultas y desempeño de captación."})]}),S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:23",className:"flex gap-3",children:[S.jsxs(dl,{"data-loc":"client/src/pages/Admin.tsx:23",variant:"outline",onClick:()=>a.mutate(),disabled:a.isPending,children:[S.jsx(Mw,{"data-loc":"client/src/pages/Admin.tsx:23",className:"mr-2 size-4"}),"Informe diario"]}),S.jsxs(dl,{"data-loc":"client/src/pages/Admin.tsx:23",className:"bg-[#0d1b2a] text-white hover:bg-[#1c324c]",onClick:()=>i.mutate(),disabled:i.isPending,children:[S.jsx(Koe,{"data-loc":"client/src/pages/Admin.tsx:23",className:"mr-2 size-4"}),"Informe semanal"]})]})]}),S.jsxs("section",{"data-loc":"client/src/pages/Admin.tsx:24",className:"grid gap-4 md:grid-cols-2 xl:grid-cols-4",children:[S.jsx(_g,{"data-loc":"client/src/pages/Admin.tsx:24",label:"Visitas totales",value:o?.totalViews??0,hint:"Registros acumulados",icon:lse}),S.jsx(_g,{"data-loc":"client/src/pages/Admin.tsx:24",label:"Visitas 7 dÃas",value:o?.weeklyViews??0,hint:"Actividad reciente",icon:Rw}),S.jsx(_g,{"data-loc":"client/src/pages/Admin.tsx:24",label:"Consultas",value:o?.totalLeads??0,hint:"Leads registrados",icon:Mw}),S.jsx(_g,{"data-loc":"client/src/pages/Admin.tsx:24",label:"Conversión",value:`${o?.conversionRate??0}%`,hint:"Leads / vistas",icon:Pw})]}),S.jsxs("section",{"data-loc":"client/src/pages/Admin.tsx:25",className:"mt-6 grid gap-6 xl:grid-cols-[1.5fr_1fr]",children:[S.jsxs("article",{"data-loc":"client/src/pages/Admin.tsx:25",className:"min-h-[360px] bg-white p-5",children:[S.jsx("h2",{"data-loc":"client/src/pages/Admin.tsx:25",className:"font-display text-xl font-black text-[#0d1b2a]",children:"Visitas de los últimos 30 dÃas"}),S.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:25",className:"mt-6 h-[280px]",children:o?.dailyViews?.length?S.jsx(Ype,{"data-loc":"client/src/pages/Admin.tsx:25",width:"100%",height:"100%",children:S.jsxs(GEe,{"data-loc":"client/src/pages/Admin.tsx:25",data:o.dailyViews,children:[S.jsx(OG,{"data-loc":"client/src/pages/Admin.tsx:25",strokeDasharray:"3 3",vertical:!1}),S.jsx(qy,{"data-loc":"client/src/pages/Admin.tsx:25",dataKey:"label",tick:{fontSize:11}}),S.jsx(Vy,{"data-loc":"client/src/pages/Admin.tsx:25",allowDecimals:!1}),S.jsx(Xi,{"data-loc":"client/src/pages/Admin.tsx:25"}),S.jsx(ju,{"data-loc":"client/src/pages/Admin.tsx:25",dataKey:"value",fill:"#d4af37"})]})}):S.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:25",className:"grid h-full place-items-center text-sm text-slate-500",children:"TodavÃa no hay registros suficientes para graficar."})})]}),S.jsxs("article",{"data-loc":"client/src/pages/Admin.tsx:26",className:"bg-[#0d1b2a] p-5 text-white",children:[S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:26",className:"text-xs font-bold tracking-[0.16em] text-[#d4af37]",children:"ORIGEN DE ACCESOS"}),S.jsx("h2",{"data-loc":"client/src/pages/Admin.tsx:26",className:"mt-2 font-display text-xl font-black",children:"Ubicaciones agregadas"}),S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:26",className:"mt-6 grid gap-5 md:grid-cols-2 xl:grid-cols-1",children:[S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:26",children:[S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:26",className:"text-xs uppercase tracking-wider text-slate-400",children:"PaÃses"}),o?.countries?.length?S.jsx("ul",{"data-loc":"client/src/pages/Admin.tsx:26",className:"mt-3 space-y-2",children:o.countries.map(s=>S.jsxs("li",{"data-loc":"client/src/pages/Admin.tsx:26",className:"flex justify-between border-b border-white/10 pb-2 text-sm",children:[S.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:26",children:s.label}),S.jsx("strong",{"data-loc":"client/src/pages/Admin.tsx:26",children:s.value})]},s.label))}):S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:26",className:"mt-3 text-sm text-slate-400",children:"Sin datos aún."})]}),S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:26",children:[S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:26",className:"text-xs uppercase tracking-wider text-slate-400",children:"Ciudades"}),o?.cities?.length?S.jsx("ul",{"data-loc":"client/src/pages/Admin.tsx:26",className:"mt-3 space-y-2",children:o.cities.map(s=>S.jsxs("li",{"data-loc":"client/src/pages/Admin.tsx:26",className:"flex justify-between border-b border-white/10 pb-2 text-sm",children:[S.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:26",children:s.label}),S.jsx("strong",{"data-loc":"client/src/pages/Admin.tsx:26",children:s.value})]},s.label))}):S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:26",className:"mt-3 text-sm text-slate-400",children:"Sin datos aún."})]})]})]})]}),S.jsxs("section",{"data-loc":"client/src/pages/Admin.tsx:27",className:"mt-6 bg-white p-5",children:[S.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:27",className:"flex items-center justify-between",children:S.jsxs("div",{"data-loc":"client/src/pages/Admin.tsx:27",children:[S.jsx("p",{"data-loc":"client/src/pages/Admin.tsx:27",className:"text-xs font-bold tracking-[0.16em] text-[#9a7b1f]",children:"CAPTACIÃN"}),S.jsx("h2",{"data-loc":"client/src/pages/Admin.tsx:27",className:"mt-2 font-display text-xl font-black text-[#0d1b2a]",children:"Consultas recibidas"})]})}),S.jsx("div",{"data-loc":"client/src/pages/Admin.tsx:27",className:"mt-5 overflow-x-auto",children:S.jsxs("table",{"data-loc":"client/src/pages/Admin.tsx:27",className:"w-full min-w-[720px] text-left text-sm",children:[S.jsx("thead",{"data-loc":"client/src/pages/Admin.tsx:27",className:"border-y border-slate-200 text-xs uppercase tracking-wider text-slate-500",children:S.jsxs("tr",{"data-loc":"client/src/pages/Admin.tsx:27",children:[S.jsx("th",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-3",children:"Contacto"}),S.jsx("th",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-3",children:"Teléfono"}),S.jsx("th",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-3",children:"Motivo"}),S.jsx("th",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-3",children:"Visita"}),S.jsx("th",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-3",children:"Fecha"})]})}),S.jsx("tbody",{"data-loc":"client/src/pages/Admin.tsx:27",children:n.data?.length?n.data.map(s=>S.jsxs("tr",{"data-loc":"client/src/pages/Admin.tsx:27",className:"border-b border-slate-100",children:[S.jsxs("td",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-4",children:[S.jsx("strong",{"data-loc":"client/src/pages/Admin.tsx:27",className:"text-[#0d1b2a]",children:s.name}),S.jsx("br",{"data-loc":"client/src/pages/Admin.tsx:27"}),S.jsx("span",{"data-loc":"client/src/pages/Admin.tsx:27",className:"text-slate-500",children:s.email})]}),S.jsx("td",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-4",children:s.phone}),S.jsx("td",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-4",children:s.reason}),S.jsx("td",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-4",children:s.visitDate||"â"}),S.jsx("td",{"data-loc":"client/src/pages/Admin.tsx:27",className:"py-4",children:new Date(s.createdAt).toLocaleStr
359ing("es-AR")})]},s.id)):S.jsx("tr",{"data-loc":"client/src/pages/Admin.tsx:27",children:S.jsx("td",{"data-loc":"client/src/pages/Admin.tsx:27",colSpan:5,className:"py-8 text-center text-slate-500",children:"No hay consultas registradas todavÃa."})})})]})})]})]})})}function $G({className:e,onKeyDown:t,onCompositionStart:r,onCompositionEnd:n,...a}){const i=RU(),{onCompositionStart:o,onCompositionEnd:s,onKeyDown:u}=MU({onKeyDown:f=>{const h=f.nativeEvent.isComposing||i.justEndedComposing();f.key==="Enter"&&!f.shiftKey&&h||t?.(f)},onCompositionStart:f=>{i.setComposing(!0),r?.(f)},onCompositionEnd:f=>{i.markCompositionEnd(),setTimeout(()=>{i.setComposing(!1)},100),n?.(f)}});return S.jsx("textarea",{"data-loc":"client/src/components/ui/textarea.tsx:53","data-slot":"textarea",className:kt("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:s,onKeyDown:u,...a})}function WEe(e,[t,r]){return Math.min(r,Math.max(t,e))}function KEe(e,t){return R.useReducer((r,n)=>t[r][n]??r,e)}var DA="ScrollArea",[UG]=ds(DA),[XEe,mi]=UG(DA),qG=R.forwardRef((e,t)=>{const{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:i=600,...o}=e,[s,u]=R.useState(null),[f,h]=R.useState(null),[d,m]=R.useState(null),[v,y]=R.useState(null),[b,E]=R.useState(null),[_,A]=R.useState(0),[C,P]=R.useState(0),[O,k]=R.useState(!1),[M,L]=R.useState(!1),H=gr(t,$=>u($)),F=bT(a);return S.jsx(XEe,{scope:r,type:n,dir:F,scrollHideDelay:i,scrollArea:s,viewport:f,onViewportChange:h,content:d,onContentChange:m,scrollbarX:v,onScrollbarXChange:y,scrollbarXEnabled:O,onScrollbarXEnabledChange:k,scrollbarY:b,onScrollbarYChange:E,scrollbarYEnabled:M,onScrollbarYEnabledChange:L,onCornerWidthChange:A,onCornerHeightChange:P,children:S.jsx(Wt.div,{dir:F,...o,ref:H,style:{position:"relative","--radix-scroll-area-corner-width":_+"px","--radix-scroll-area-corner-height":C+"px",...e.style}})})});qG.displayName=DA;var VG="ScrollAreaViewport",GG=R.forwardRef((e,t)=>{const{__scopeScrollArea:r,children:n,nonce:a,...i}=e,o=mi(VG,r),s=R.useRef(null),u=gr(t,s,o.onViewportChange);return S.jsxs(S.Fragment,{children:[S.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),S.jsx(Wt.div,{"data-radix-scroll-area-viewport":"",...i,ref:u,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style},children:S.jsx("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});GG.displayName=VG;var mo="ScrollAreaScrollbar",YG=R.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=mi(mo,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:o}=a,s=e.orientation==="horizontal";return R.useEffect(()=>(s?i(!0):o(!0),()=>{s?i(!1):o(!1)}),[s,i,o]),a.type==="hover"?S.jsx(QEe,{...n,ref:t,forceMount:r}):a.type==="scroll"?S.jsx(ZEe,{...n,ref:t,forceMount:r}):a.type==="auto"?S.jsx(WG,{...n,ref:t,forceMount:r}):a.type==="always"?S.jsx(LA,{...n,ref:t}):null});YG.displayName=mo;var QEe=R.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=mi(mo,e.__scopeScrollArea),[i,o]=R.useState(!1);return R.useEffect(()=>{const s=a.scrollArea;let u=0;if(s){const f=()=>{window.clearTimeout(u),o(!0)},h=()=>{u=window.setTimeout(()=>o(!1),a.scrollHideDelay)};return s.addEventListener("pointerenter",f),s.addEventListener("pointerleave",h),()=>{window.clearTimeout(u),s.removeEventListener("pointerenter",f),s.removeEventListener("pointerleave",h)}}},[a.scrollArea,a.scrollHideDelay]),S.jsx(ma,{present:r||i,children:S.jsx(WG,{"data-state":i?"visible":"hidden",...n,ref:t})})}),ZEe=R.forwardRef((e,t)=>
vendor: 8,380 bytes, line 359
359{const{forceMount:r,...n}=e,a=mi(mo,e.__scopeScrollArea),i=e.orientation==="horizontal",o=Wy(()=>u("SCROLL_END"),100),[s,u]=KEe("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return R.useEffect(()=>{if(s==="idle"){const f=window.setTimeout(()=>u("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(f)}},[s,a.scrollHideDelay,u]),R.useEffect(()=>{const f=a.viewport,h=i?"scrollLeft":"scrollTop";if(f){let d=f[h];const m=()=>{const v=f[h];d!==v&&(u("SCROLL"),o()),d=v};return f.addEventListener("scroll",m),()=>f.removeEventListener("scroll",m)}},[a.viewport,i,u,o]),S.jsx(ma,{present:r||s!=="hidden",children:S.jsx(LA,{"data-state":s==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:tt(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:tt(e.onPointerLeave,()=>u("POINTER_LEAVE"))})})}),WG=R.forwardRef((e,t)=>{const r=mi(mo,e.__scopeScrollArea),{forceMount:n,...a}=e,[i,o]=R.useState(!1),s=e.orientation==="horizontal",u=Wy(()=>{if(r.viewport){const f=r.viewport.offsetWidth<r.viewport.scrollWidth,h=r.viewport.offsetHeight<r.viewport.scrollHeight;o(s?f:h)}},10);return zf(r.viewport,u),zf(r.content,u),S.jsx(ma,{present:n||i,children:S.jsx(LA,{"data-state":i?"visible":"hidden",...a,ref:t})})}),LA=R.forwardRef((e,t)=>{const{orientation:r="vertical",...n}=e,a=mi(mo,e.__scopeScrollArea),i=R.useRef(null),o=R.useRef(0),[s,u]=R.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),f=JG(s.viewport,s.content),h={...n,sizes:s,onSizesChange:u,hasThumb:f>0&&f<1,onThumbChange:m=>i.current=m,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:m=>o.current=m};function d(m,v){return a_e(m,o.current,s,v)}return r==="horizontal"?S.jsx(JEe,{...h,ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){const m=a.viewport.scrollLeft,v=tj(m,s,a.dir);i.current.style.transform=`translate3d(${v}px, 0, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollLeft=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollLeft=d(m,a.dir))}}):r==="vertical"?S.jsx(e_e,{...h,ref:t,onThumbPositionChange:()=>{if(a.viewport&&i.current){const m=a.viewport.scrollTop,v=tj(m,s);i.current.style.transform=`translate3d(0, ${v}px, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollTop=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollTop=d(m))}}):null}),JEe=R.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,i=mi(mo,e.__scopeScrollArea),[o,s]=R.useState(),u=R.useRef(null),f=gr(t,u,i.onScrollbarXChange);return R.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),S.jsx(XG,{"data-orientation":"horizontal",...a,ref:f,sizes:r,style:{bottom:0,left:i.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:i.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Yy(r)+"px",...e.style},onThumbPointerDown:h=>e.onThumbPointerDown(h.x),onDragScroll:h=>e.onDragScroll(h.x),onWheelScroll:(h,d)=>{if(i.viewport){const m=i.viewport.scrollLeft+h.deltaX;e.onWheelScroll(m),tY(m,d)&&h.preventDefault()}},onResize:()=>{u.current&&i.viewport&&o&&n({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:cv(o.paddingLeft),paddingEnd:cv(o.paddingRight)}})}})}),e_e=R.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,...a}=e,i=mi(mo,e.__scopeScrollArea),[o,s]=R.useState(),u=R.useRef(null),f=gr(t,u,i.onScrollbarYChange);return R.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),S.jsx(XG,{"data-orientation":"vertical",...a,ref:f,sizes:r,style:{top:0,right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Yy(r)+"px",...e.style},onThumbPointerDown:h=>e.onThumbPointerDown(h.y),onDragScroll:h=>e.onDragScroll(h.y),onWheelScroll:(h,d)=>{if(i.viewport){const m=i.viewport.scrollTop+h.deltaY;e.onWheelScroll(m),tY(m,d)&&h.preventDefault()}},onResize:()=>{u.current&&i.viewport&&o&&n({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:cv(o.paddingTop),paddingEnd:cv(o.paddingBottom)}})}})}),[t_e,KG]=UG(mo),XG=R.forwardRef((e,t)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:i,onThumbPointerUp:o,onThumbPointerDown:s,onThumbPositionChange:u,onDragScroll:f,onWheelScroll:h,onResize:d,...m}=e,v=mi(mo,r),[y,b]=R.useState(null),E=gr(t,H=>b(H)),_=R.useRef(null),A=R.useRef(""),C=v.viewport,P=n.content-n.viewport,O=Tn(h),k=Tn(u),M=Wy(d,10);function L(H){if(_.current){const F=H.clientX-_.current.left,$=H.clientY-_.current.top;f({x:F,y:$})}}return R.useEffect(()=>{const H=F=>{const $=F.target;y?.contains($)&&O(F,P)};return document.addEventListener("wheel",H,{passive:!1}),()=>document.removeEventListener("wheel",H,{passive:!1})},[C,y,P,O]),R.useEffect(k,[n,k]),zf(y,M),zf(v.content,M),S.jsx(t_e,{scope:r,scrollbar:y,hasThumb:a,onThumbChange:Tn(i),onThumbPointerUp:Tn(o),onThumbPositionChange:k,onThumbPointerDown:Tn(s),children:S.jsx(Wt.div,{...m,ref:E,style:{position:"absolute",...m.style},onPointerDown:tt(e.onPointerDown,H=>{H.button===0&&(H.target.setPointerCapture(H.pointerId),_.current=y.getBoundingClientRect(),A.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",v.viewport&&(v.viewport.style.scrollBehavior="auto"),L(H))}),onPointerMove:tt(e.onPointerMove,L),onPointerUp:tt(e.onPointerUp,H=>{const F=H.target;F.hasPointerCapture(H.pointerId)&&F.releasePointerCapture(H.pointerId),document.body.style.webkitUserSelect=A.current,v.viewport&&(v.viewport.style.scrollBehavior=""),_.current=null})})})}),uv="ScrollAreaThumb",QG=R.forwardRef((e,t)=>{const{forceMount:r,...n}=e,a=KG(uv,e.__scopeScrollArea);return S.jsx(ma,{present:r||a.hasThumb,children:S.jsx(r_e,{ref:t,...n})})}),r_e=R.forwardRef((e,t)=>{const{__scopeScrollArea:r,style:n,...a}=e,i=mi(uv,r),o=KG(uv,r),{onThumbPositionChange:s}=o,u=gr(t,d=>o.onThumbChange(d)),f=R.useRef(void 0),h=Wy(()=>{f.current&&(f.current(),f.current=void 0)},100);return R.useEffect(()=>{const d=i.viewport;if(d){const m=()=>{if(h(),!f.current){const v=i_e(d,s);f.current=v,s()}};return s(),d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[i.viewport,h,s]),S.jsx(Wt.div,{"data-state":o.hasThumb?"visible":"hidden",...a,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:tt(e.onPointerDownCapture,d=>{const v=d.target.getBoundingClientRect(),y=d.clientX-v.left,b=d.clientY-v.top;o.onThumbPointerDown({x:y,y:b})}),onPointerUp:tt(e.onPointerUp,o.onThumbPointerUp)})});QG.displayName=uv;var jA="ScrollAreaCorner",ZG=R.forwardRef((e,t)=>{const r=mi(jA,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?S.jsx(n_e,{...e,ref:t}):null});ZG.displayName=jA;var n_e=R.forwardRef((e,t)=>{const{__scopeScrollArea:r,...n}=e,a=mi(jA,r),[i,o]=R.useState(0),[s,u]=R.useState(0),f=!!(i&&s);return zf(a.scrollbarX,()=>{const h=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(h),u(h)}),zf(a.scrollbarY,()=>{const h=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(h),o(h)}),f?S.jsx(Wt.div,{...n,ref:t,style:{width:i,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function cv(e){return e?parseInt(e,10):0}function JG(e,t){const r=e/t;return isNaN(r)?0:r}function Yy(e){const t=JG(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function a_e(e,t,r,n="ltr"){const a=Yy(r),i=a/2,o=t||i,s=a-o,u=r.scrollbar.paddingStart+o,f=r.scrollbar.size-r.scrollbar.paddingEnd-s,h=r.content-r.viewport,d=n==="ltr"?[0,h]:[h*-1,0];return eY([u,f],d)(e)}function tj(e,t,r="ltr"){const n=Yy(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-a,o=t.content-t.viewport,s=i-n,u=r==="ltr"?[0,o]:[o*-1,0],f=WEe(e,u);return eY([0,o],[0,s])(f)}function eY(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function tY(e,t){return e>0&&e<t}var i_e=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return(function a(){const i={left:e.scrollLeft,top:e.scrollTop},o=r.left!==i.left,s=r.top!==i.top;
359(o||s)&&t(),r=i,n=window.requestAnimationFrame(a)})(),()=>window.cancelAnimationFrame(n)};function Wy(e,t){const r=Tn(e),n=R.useRef(0);return R.useEffect(()=>()=>window.clearTimeout(n.current),[]),R.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function zf(e,t){const r=Tn(t);ci(()=>{let n=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}var o_e=qG,s_e=GG,l_e=ZG;function u_e({className:e,children:t,...r}){return S.jsxs(o_e,{"data-loc":"client/src/components/ui/scroll-area.tsx:12","data-slot":"scroll-area",className:kt("relative",e),...r,children:[S.jsx(s_e,{"data-loc":"client/src/components/ui/scroll-area.tsx:17","data-slot":"scroll-area-viewport",className:"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",children:t}),S.jsx(c_e,{"data-loc":"client/src/components/ui/scroll-area.tsx:23"}),S.jsx(l_e,{"data-loc":"client/src/components/ui/scroll-area.tsx:24"})]})}function c_e({className:e,orientation:t="vertical",...r}){return S.jsx(YG,{"data-loc":"client/src/components/ui/scroll-area.tsx:35","data-slot":"scroll-area-scrollbar",orientation:t,className:kt("flex touch-none p-px transition-colors select-none",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent",e),...r,children:S.jsx(QG,{"data-loc":"client/src/components/ui/scroll-area.tsx:48","data-slot":"scroll-area-thumb",className:"bg-border relative flex-1 rounded-full"})})}const f_e="modulepreload",d_e=function(e){return"/"+e},rj={},Q=function(t,r,n){let a=Promise.resolve();if(r&&r.length>0){let u=function(f){return Promise.all(f.map(h=>Promise.resolve(h).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");a=u(r.map(f=>{if(f=d_e(f),f in rj)return;rj[f]=!0;const h=f.endsWith(".css"),d=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${d}`))return;const m=document.createElement("link");if(m.rel=h?"stylesheet":f_e,h||(m.as="script"),m.crossOrigin="",m.href=f,s&&m.setAttribute("nonce",s),document.head.appendChild(m),h)return new Promise((v,y)=>{m.addEventListener("load",v),m.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${f}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})};function nj(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,i=!1;for(;!i;){n===-1&&(n=r.length,i=!0);const o=r.slice(a,n).trim();(o||!i)&&t.push(o),a=n+1,n=r.indexOf(",",a)}return t}function BA(e,t){const r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const h_e=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,p_e=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,m_e={};function aj(e,t){return(m_e.jsx?p_e:h_e).test(e)}const g_e=/[ \t\n\f\r]/g;function Ky(e){return typeof e=="object"?e.type==="text"?ij(e.value):!1:ij(e)}function ij(e){return e.replace(g_e,"")===""}let xp=class{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}};xp.prototype.normal={};xp.prototype.property={};xp.prototype.space=void 0;function rY(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new xp(r,n,t)}function Vh(e){return e.toLowerCase()}let va=class{constructor(t,r){this.attribute=r,this.property=t}};va.prototype.attribute="";va.prototype.booleanish=!1;va.prototype.boolean=!1;va.prototype.commaOrSpaceSeparated=!1;va.prototype.commaSeparated=!1;va.prototype.defined=!1;va.prototype.mustUseProperty=!1;va.prototype.number=!1;va.prototype.overloadedBoolean=!1;va.prototype.property="";va.prototype.spaceSeparated=!1;va.prototype.space=void 0;let v_e=0;const pt=Bu(),Vr=Bu(),eS=Bu(),De=Bu(),lr=Bu(),lf=Bu(),Oa=Bu();function Bu(){return 2**++v_e}const tS=Object.freeze(Object.defineProperty({__proto__:null,boolean:pt,booleanish:Vr,commaOrSpaceSeparated:Oa,commaSeparated:lf,number:De,overloadedBoolean:eS,spaceSeparated:lr},Symbol.toStringTag,{value:"Module"})),s_=Object.keys(tS);let zA=class extends va{constructor(t,r,n,a){let i=-1;
vendor: 4,265 bytes, line 359
359if(super(t,r),oj(this,"space",a),typeof n=="number")for(;++i<s_.length;){const o=s_[i];oj(this,s_[i],(n&tS[o])===tS[o])}}};zA.prototype.defined=!0;function oj(e,t,r){r&&(e[t]=r)}function r0(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const i=new zA(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[Vh(n)]=n,r[Vh(i.attribute)]=n}return new xp(t,r,e.space)}const nY=r0({properties:{ariaActiveDescendant:null,ariaAtomic:Vr,ariaAutoComplete:null,ariaBusy:Vr,ariaChecked:Vr,ariaColCount:De,ariaColIndex:De,ariaColSpan:De,ariaControls:lr,ariaCurrent:null,ariaDescribedBy:lr,ariaDetails:null,ariaDisabled:Vr,ariaDropEffect:lr,ariaErrorMessage:null,ariaExpanded:Vr,ariaFlowTo:lr,ariaGrabbed:Vr,ariaHasPopup:null,ariaHidden:Vr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:lr,ariaLevel:De,ariaLive:null,ariaModal:Vr,ariaMultiLine:Vr,ariaMultiSelectable:Vr,ariaOrientation:null,ariaOwns:lr,ariaPlaceholder:null,ariaPosInSet:De,ariaPressed:Vr,ariaReadOnly:Vr,ariaRelevant:null,ariaRequired:Vr,ariaRoleDescription:lr,ariaRowCount:De,ariaRowIndex:De,ariaRowSpan:De,ariaSelected:Vr,ariaSetSize:De,ariaSort:null,ariaValueMax:De,ariaValueMin:De,ariaValueNow:De,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function aY(e,t){return t in e?e[t]:t}function iY(e,t){return aY(e,t.toLowerCase())}const y_e=r0({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lf,acceptCharset:lr,accessKey:lr,action:null,allow:null,allowFullScreen:pt,allowPaymentRequest:pt,allowUserMedia:pt,alt:null,as:null,async:pt,autoCapitalize:null,autoComplete:lr,autoFocus:pt,autoPlay:pt,blocking:lr,capture:null,charSet:null,checked:pt,cite:null,className:lr,cols:De,colSpan:null,content:null,contentEditable:Vr,controls:pt,controlsList:lr,coords:De|lf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:pt,defer:pt,dir:null,dirName:null,disabled:pt,download:eS,draggable:Vr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:pt,formTarget:null,headers:lr,height:De,hidden:eS,high:De,href:null,hrefLang:null,htmlFor:lr,httpEquiv:lr,id:null,imageSizes:null,imageSrcSet:null,inert:pt,inputMode:null,integrity:null,is:null,isMap:pt,itemId:null,itemProp:lr,itemRef:lr,itemScope:pt,itemType:lr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:pt,low:De,manifest:null,max:null,maxLength:De,media:null,method:null,min:null,minLength:De,multiple:pt,muted:pt,name:null,nonce:null,noModule:pt,noValidate:pt,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:pt,optimum:De,pattern:null,ping:lr,placeholder:null,playsInl
359ine:pt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:pt,referrerPolicy:null,rel:lr,required:pt,reversed:pt,rows:De,rowSpan:De,sandbox:lr,scope:null,scoped:pt,seamless:pt,selected:pt,shadowRootClonable:pt,shadowRootDelegatesFocus:pt,shadowRootMode:null,shape:null,size:De,sizes:null,slot:null,span:De,spellCheck:Vr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:De,step:null,style:null,tabIndex:De,target:null,title:null,translate:null,type:null,typeMustMatch:pt,useMap:null,value:Vr,width:De,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:lr,axis:null,background:null,bgColor:null,border:De,borderColor:null,bottomMargin:De,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:pt,declare:pt,event:null,face:null,frame:null,frameBorder:null,hSpace:De,leftMargin:De,link:null,longDesc:null,lowSrc:null,marginHeight:De,marginWidth:De,noResize:pt,noHref:pt,noShade:pt,noWrap:pt,object:null,profile:null,prompt:null,rev:null,rightMargin:De,rules:null,scheme:null,scrolling:Vr,standby:null,summary:null,text:null,topMargin:De,valueType:null,version:null,vAlign:null,vLink:null,vSpace:De,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:pt,disableRemotePlayback:pt,prefix:null,property:null,results:De,security:null,unselectable:null},space:"html",transform:iY}),b_e=r0({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
359-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:Oa,accentHeight:De,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:De,amplitude:De,arabicForm:null,ascent:De,attributeName:null,attributeType:null,azimuth:De,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:De,by:null,calcMode:null,capHeight:De,className:lr,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:De,diffuseConstant:De,direction:null,display:null,dur:null,divisor:De,dominantBaseline:null,download:pt,dx:null,dy:null,edgeMode:null,editable:null,elevation:De,enableBackground:null,end:null,event:null,exponent:De,externalResourcesRequired:null,fill:null,fillOpacity:De,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:lf,g2:lf,glyphName:lf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:De,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:De,horizOriginX:De,horizOriginY:De,id:null,ideographic:De,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:De,k:De,k1:De,k2:De,k3:De,k4:De,kernelMatrix:Oa,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:De,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:De,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,on
vendor: 5,586 bytes, lines 359-360
359Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:De,overlineThickness:De,paintOrder:null,panose1:null,path:null,pathLength:De,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:lr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:De,pointsAtY:De,pointsAtZ:De,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Oa,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Oa,rev:Oa,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Oa,requiredFeatures:Oa,requiredFonts:Oa,requiredFormats:Oa,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:De,specularExponent:De,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:De,strikethroughThickness:De,string:null,stroke:null,strokeDashArray:Oa,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:De,strokeOpacity:De,strokeWidth:null,style:null,surfaceScale:De,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Oa,tabIndex:De,tableValues:null,target:null,targetX:De,targetY:De,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Oa,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:De,underlineThickness:De,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:De,values:null,vAlphabetic:De,vMathematical:De,vectorEffect:null,vHanging:De,vIdeographic:De,version:null,vertAdvY:De,vertOriginX:De,vertOriginY:De,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:De,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:aY}),oY=r0({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),sY=r0({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:iY}),lY=r0({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),x_e={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"},E_e=/[A-Z]/g,sj=/-[a-z]/g,__e=/^data[-\w.:]+$/i;function Xy(e,t){const r=Vh(t);let n=t,a=va;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&__e.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(sj,S_e);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!sj.test(i)){let o=i.replace(E_e,w_e);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=zA}return new a(n,t)}function w_e(e){return"-"+e.toLowerCase()}function S_e(e){return e.charAt(1).toUpperCase()}const Ep=rY([nY,y_e,oY,sY,lY],"html"),wl=rY([nY,b_e,oY,sY,lY],"svg");function lj(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function HA(e){return e.join(" ").trim()}var Hc={},l_,uj;function T_e(){if(uj)return l_;uj=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,s=/^\s+|\s+$/g,u=` 360`,f="/",h="*",d="",m="comment",v="declaration";l_=function(b,E){if(typeof b!="string")throw new TypeError("First argument must be a string");if(!b)return[];E=E||{};var _=1,A=1;function C(W){var K=W.match(t);K&&(_+=K.length);var te=W.lastIndexOf(u);A=~te?W.length-te:A+W.length}function P(){var W={line:_,column:A};return function(K){return K.position=new O(W),L(),K}}function O(W){this.start=W,this.end={line:_,column:A},this.source=E.source}O.prototype.content=b;function k(W){var K=new Error(E.source+":"+_+":"+A+": "+W);if(K.reason=W,K.filename=E.source,K.line=_,K.column=A,K.source=b,!E.silent)throw K}function M(W){var K=W.exec(b);if(K){var te=K[0];return C(te),b=b.slice(te.length),K}}function L(){M(r)}function H(W){var K;for(W=W||[];K=F();)K!==!1&&W.push(K);return W}function F(){var W=P();if(!(f!=b.charAt(0)||h!=b.charAt(1))){for(var K=2;d!=b.charAt(K)&&(h!=b.charAt(K)||f!=b.charAt(K+1));)++K;if(K+=2,d===b.charAt(K-1))return k("End of comment missing");var te=b.slice(2,K-2);return A+=2,C(te),b=b.slice(K),A+=2,W({type:m,comment:te})}}function $(){var W=P(),K=M(n);if(K){if(F(),!M(a))return k("property missing ':'");var te=M(i),U=W({type:v,property:y(K[0].replace(e,d)),value:te?y(te[0].replace(e,d)):d});return M(o),U}}function z(){var W=[];H(W);for(var K;K=$();)K!==!1&&(W.push(K),H(W));return W}return L(),z()};function y(b){return b?b.replace(s,d):d}return l_}var cj;function A_e(){if(cj)return Hc;cj=1;var e=Hc&&Hc.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Hc,"__esModule",{value:!0}),Hc.default=r;const t=e(T_e());function r(n,a){let i=null;
vendor: 3,623 bytes, line 360
360if(!n||typeof n!="string")return i;const o=(0,t.default)(n),s=typeof a=="function";return o.forEach(u=>{if(u.type!=="declaration")return;const{property:f,value:h}=u;s?a(f,h,u):h&&(i=i||{},i[f]=h)}),i}return Hc}var md={},fj;function C_e(){if(fj)return md;fj=1,Object.defineProperty(md,"__esModule",{value:!0}),md.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,i=function(f){return!f||r.test(f)||e.test(f)},o=function(f,h){return h.toUpperCase()},s=function(f,h){return"".concat(h,"-")},u=function(f,h){return h===void 0&&(h={}),i(f)?f:(f=f.toLowerCase(),h.reactCompat?f=f.replace(a,s):f=f.replace(n,s),f.replace(t,o))};return md.camelCase=u,md}var gd,dj;function O_e(){if(dj)return gd;dj=1;var e=gd&&gd.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(A_e()),r=C_e();function n(a,i){var o={};return!a||typeof a!="string"||(0,t.default)(a,function(s,u){s&&u&&(o[(0,r.camelCase)(s,i)]=u)}),o}return n.default=n,gd=n,gd}var k_e=O_e();const N_e=Yt(k_e),Qy=uY("end"),go=uY("start");function uY(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function R_e(e){const t=go(e),r=Qy(e);if(t&&r)return{start:t,end:r}}function Fd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?hj(e.position):"start"in e||"end"in e?hj(e):"line"in e||"column"in e?rS(e):""}function rS(e){return pj(e&&e.line)+":"+pj(e&&e.column)}function hj(e){return rS(e&&e.start)+"-"+rS(e&&e.end)}function pj(e){return e&&typeof e=="number"?e:1}class Bn extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},o=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i={...r}),typeof t=="string"?a=t:!i.cause&&t&&(o=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const u=n.indexOf(":");u===-1?i.ruleId=n:(i.source=n.slice(0,u),i.ruleId=n.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){const u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}const s=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=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=s?s.line:void 0,this.name=Fd(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}}Bn.prototype.file="";Bn.prototype.name="";Bn.prototype.reason="";Bn.prototype.message="";Bn.prototype.stack="";Bn.prototype.column=void 0;Bn.prototype.line=void 0;Bn.prototype.ancestors=void 0;Bn.prototype.cause=void 0;Bn.prototype.fatal=void 0;Bn.prototype.place=void 0;Bn.prototype.ruleId=void 0;Bn.prototype.source=void 0;const FA={}.hasOwnProperty,M_e=new Map,P_e=/[A-Z]/g,I_e=new Set(["table","tbody","thead","tfoot","tr"]),D_e=new Set(["td","th"]),cY="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function L_e(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=q_e(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 10,582 bytes, line 360
360if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=U_e(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?wl:Ep,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=fY(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function fY(e,t,r){if(t.type==="element")return j_e(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return B_e(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return H_e(e,t,r);if(t.type==="mdxjsEsm")return z_e(e,t);if(t.type==="root")return F_e(e,t,r);if(t.type==="text")return $_e(e,t)}function j_e(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=wl,e.schema=a),e.ancestors.push(t);const i=hY(e,t.tagName,!1),o=V_e(e,t);let s=UA(e,t);return I_e.has(t.tagName)&&(s=s.filter(function(u){return typeof u=="string"?!Ky(u):!0})),dY(e,o,i,t),$A(o,s),e.ancestors.pop(),e.schema=n,e.create(t,i,o,r)}function B_e(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Gh(e,t.position)}function z_e(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Gh(e,t.position)}function H_e(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=wl,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:hY(e,t.name,!0),o=G_e(e,t),s=UA(e,t);return dY(e,o,i,t),$A(o,s),e.ancestors.pop(),e.schema=n,e.create(t,i,o,r)}function F_e(e,t,r){const n={};return $A(n,UA(e,t)),e.create(t,e.Fragment,n,r)}function $_e(e,t){return t.value}function dY(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function $A(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function U_e(e,t,r){return n;function n(a,i,o,s){const f=Array.isArray(o.children)?r:t;return s?f(i,o,s):f(i,o)}}function q_e(e,t){return r;function r(n,a,i,o){const s=Array.isArray(i.children),u=go(n);return t(a,i,o,s,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function V_e(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&FA.call(t.properties,a)){const i=Y_e(e,a,t.properties[a]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&D_e.has(t.tagName)?n=s:r[o]=s}}if(n){const i=r.style||(r.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function G_e(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const i=n.data.estree.body[0];i.type;const o=i.expression;o.type;const s=o.properties[0];s.type,Object.assign(r,e.evaluater.evaluateExpression(s.argument))}else Gh(e,t.position);else{const a=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const s=n.value.data.estree.body[0];s.type,i=e.evaluater.evaluateExpression(s.expression)}else Gh(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function UA(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:M_e;for(;++n<t.children.length;){const i=t.children[n];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 f=a.get(u)||0;o=u+"-"+f,a.set(u,f+1)}}const s=fY(e,i,o);s!==void 0&&r.push(s)}return r}function Y_e(e,t,r){const n=Xy(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?BA(r):HA(r)),n.property==="style"){let a=typeof r=="object"?r:W_e(e,String(r));return e.stylePropertyNameCase==="css"&&(a=K_e(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?x_e[n.property]||n.property:n.attribute,r]}}function W_e(e,t){try{return N_e(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new Bn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=cY+"#cannot-parse-style-attribute",a}}function hY(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,o;for(;++i<a.length;){const s=aj(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};o=o?{type:"MemberExpression",object:o,property:s,computed:!!(i&&s.type==="Literal"),optional:!1}:s}n=o}else n=aj(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return FA.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);Gh(e)}function Gh(e,t){const r=new Bn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=cY+"#cannot-handle-mdx-estrees-without-createevaluater",r}function K_e(e){const t={};let r;for(r in e)FA.call(e,r)&&(t[X_e(r)]=e[r]);return t}function X_e(e){let t=e.replace(P_e,Q_e);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Q_e(e){return"-"+e.toLowerCase()}const u_={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"]},Z_e={};function qA(e,t){const r=Z_e,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return pY(e,n,a)}function pY(e,t,r){if(J_e(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return mj(e.children,t,r)}return Array.isArray(e)?mj(e,t,r):""}function mj(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=pY(e[a],t,r);return n.join("")}function J_e(e){return!!(e&&typeof e=="object")}const gj=document.createElement("i");function VA(e){const t="&"+e+";";gj.innerHTML=t;const r=gj.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function ja(e,t,r,n){const a=e.length;let i=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),e.splice(...o);else for(r&&e.splice(t,r);i<n.length;)o=n.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function ti(e,t){return e.length>0?(ja(e,e.length,0,t),e):t}const vj={}.hasOwnProperty;function mY(e){const t={};let r=-1;for(;++r<e.length;)ewe(t,e[r]);return t}function ewe(e,t){let r;for(r in t){const a=(vj.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let o;if(i)for(o in i){vj.call(a,o)||(a[o]=[]);const s=i[o];twe(a[o],Array.isArray(s)?s:s?[s]:[])}}}function twe(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);ja(e,0,0,n)}function gY(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function ki(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Vn=Sl(/[A-Za-z]/),jn=Sl(/[\dA-Za-z]/),rwe=Sl(/[#-'*+\--9=?A-Z^-~]/);function fv(e){return e!==null&&(e<32||e===127)}const nS=Sl(/\d/),nwe=Sl(/[\dA-Fa-f]/),awe=Sl(/[!-/:-@[-`{-~]/);function Qe(e){return e!==null&&e<-2}function or(e){return e!==null&&(e<0||e===32)}function wt(e){return e===-2||e===-1||e===32}const Zy=Sl(new RegExp("\\p{P}|\\p{S}","u")),Su=Sl(/\s/);function Sl(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function n0(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let o="";if(i===37&&jn(e.charCodeAt(r+1))&&jn(e.charCodeAt(r+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 s=e.charCodeAt(r+1);i<56320&&s>56319&&s<57344?(o=String.fromCharCode(i,s),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(n,r),encodeURIComponent(o)),n=r+a+1,o=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function bt(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(u){return wt(u)?(e.enter(r),s(u)):t(u)}function s(u){return wt(u)&&i++<a?(e.consume(u),s):(e.exit(r),t(u))}}const iwe={tokenize:owe};function owe(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),bt(e,t,"linePrefix")}function a(s){return e.enter("paragraph"),i(s)}function i(s){const u=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Qe(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),o)}}const swe={tokenize:lwe},yj={tokenize:uwe};function lwe(e){const t=this,r=[];let n=0,a,i,o;return s;function s(C){if(n<r.length){const P=r[n];return t.containerState=P[1],e.attempt(P[0].continuation,u,f)(C)}return f(C)}function u(C){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&A();const P=t.events.length;let O=P,k;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){k=t.events[O][1].end;break}_(n);let M=P;for(;M<t.events.length;)t.events[M][1].end={...k},M++;return ja(t.events,O+1,0,t.events.slice(P)),t.events.length=M,f(C)}return s(C)}function f(C){if(n===r.length){if(!a)return m(C);if(a.currentConstruct&&a.currentConstruct.concrete)return y(C);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(yj,h,d)(C)}function h(C){return a&&A(),_(n),m(C)}function d(C){return t.parser.lazy[t.now().line]=n!==r.length,o=t.now().offset,y(C)}function m(C){return t.containerState={},e.attempt(yj,v,y)(C)}function v(C){return n++,r.push([t.currentConstruct,t.containerState]),m(C)}function y(C){if(C===null){a&&A(),_(0),e.consume(C);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),b(C)}function b(C){if(C===null){E(e.exit("chunkFlow"),!0),_(0),e.consume(C);return}return Qe(C)?(e.consume(C),E(e.exit("chunkFlow")),n=0,t.interrupt=void 0,s):(e.consume(C),b)}function E(C,P){const O=t.sliceStream(C);
vendor: 6,679 bytes, line 360
360if(P&&O.push(null),C.previous=i,i&&(i.next=C),i=C,a.defineSkip(C.start),a.write(O),t.parser.lazy[C.start.line]){let k=a.events.length;for(;k--;)if(a.events[k][1].start.offset<o&&(!a.events[k][1].end||a.events[k][1].end.offset>o))return;const M=t.events.length;let L=M,H,F;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){if(H){F=t.events[L][1].end;break}H=!0}for(_(n),k=M;k<t.events.length;)t.events[k][1].end={...F},k++;ja(t.events,L+1,0,t.events.slice(M)),t.events.length=k}}function _(C){let P=r.length;for(;P-- >C;){const O=r[P];t.containerState=O[1],O[0].exit.call(t,e)}r.length=C}function A(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function uwe(e,t,r){return bt(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Hf(e){if(e===null||or(e)||Su(e))return 1;if(Zy(e))return 2}function Jy(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}const aS={name:"attention",resolveAll:cwe,tokenize:fwe};function cwe(e,t){let r=-1,n,a,i,o,s,u,f,h;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const d={...e[n][1].end},m={...e[r][1].start};bj(d,-u),bj(m,u),o={type:u>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:m},i={type:u>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},a={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[r][1].start={...s.end},f=[],e[n][1].end.offset-e[n][1].start.offset&&(f=ti(f,[["enter",e[n][1],t],["exit",e[n][1],t]])),f=ti(f,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),f=ti(f,Jy(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),f=ti(f,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(h=2,f=ti(f,[["enter",e[r][1],t],["exit",e[r][1],t]])):h=0,ja(e,n-1,r-n+3,f),r=n+f.length-h-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function fwe(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=Hf(n);let i;return o;function o(u){return i=u,e.enter("attentionSequence"),s(u)}function s(u){if(u===i)return e.consume(u),s;const f=e.exit("attentionSequence"),h=Hf(u),d=!h||h===2&&a||r.includes(u),m=!a||a===2&&h||r.includes(n);return f._open=!!(i===42?d:d&&(a||!m)),f._close=!!(i===42?m:m&&(h||!d)),t(u)}}function bj(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const dwe={name:"autolink",tokenize:hwe};function hwe(e,t,r){let n=0;return a;function a(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(v){return Vn(v)?(e.consume(v),o):v===64?r(v):f(v)}function o(v){return v===43||v===45||v===46||jn(v)?(n=1,s(v)):f(v)}function s(v){return v===58?(e.consume(v),n=0,u):(v===43||v===45||v===46||jn(v))&&n++<32?(e.consume(v),s):(n=0,f(v))}function u(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):v===null||v===32||v===60||fv(v)?r(v):(e.consume(v),u)}function f(v){return v===64?(e.consume(v),h):rwe(v)?(e.consume(v),f):r(v)}function h(v){return jn(v)?d(v):r(v)}function d(v){return v===46?(e.consume(v),n=0,h):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):m(v)}function m(v){if((v===45||jn(v))&&n++<63){const y=v===45?m:d;return e.consume(v),y}return r(v)}}const _p={partial:!0,tokenize:pwe};function pwe(e,t,r){return n;function n(i){return wt(i)?bt(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||Qe(i)?t(i):r(i)}}const vY={continuation:{tokenize:gwe},exit:vwe,name:"blockQuote",tokenize:mwe};function mwe(e,t,r){const n=this;return a;function a(o){if(o===62){const s=n.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return r(o)}function i(o){return wt(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function gwe(e,t,r){const n=this;return a;function a(o){return wt(o)?bt(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(vY,t,r)(o)}}function vwe(e){e.exit("blockQuote")}const yY={name:"characterEscape",tokenize:ywe};function ywe(e,t,r){return n;function n(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return awe(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const bY={name:"characterReference",tokenize:bwe};function bwe(e,t,r){const n=this;let a=0,i,o;return s;function s(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),u}function u(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),i=31,o=jn,h(d))}function f(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=nwe,h):(e.enter("characterReferenceValue"),i=7,o=nS,h(d))}function h(d){if(d===59&&a){const m=e.exit("characterReferenceValue");return o===jn&&!VA(n.sliceSerialize(m))?r(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(d)&&a++<i?(e.consume(d),h):r(d)}}const xj={partial:!0,tokenize:Ewe},Ej={concrete:!0,name:"codeFenced",tokenize:xwe};function xwe(e,t,r){const n=this,a={partial:!0,tokenize:O};let i=0,o=0,s;return u;function u(k){return f(k)}function f(k){const M=n.events[n.events.length-1];return i=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,s=k,e.enter("co
360deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(k)}function h(k){return k===s?(o++,e.consume(k),h):o<3?r(k):(e.exit("codeFencedFenceSequence"),wt(k)?bt(e,d,"whitespace")(k):d(k))}function d(k){return k===null||Qe(k)?(e.exit("codeFencedFence"),n.interrupt?t(k):e.check(xj,b,P)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(k))}function m(k){return k===null||Qe(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(k)):wt(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),bt(e,v,"whitespace")(k)):k===96&&k===s?r(k):(e.consume(k),m)}function v(k){return k===null||Qe(k)?d(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(k))}function y(k){return k===null||Qe(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(k)):k===96&&k===s?r(k):(e.consume(k),y)}function b(k){return e.attempt(a,P,E)(k)}function E(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),_}function _(k){return i>0&&wt(k)?bt(e,A,"linePrefix",i+1)(k):A(k)}function A(k){return k===null||Qe(k)?e.check(xj,b,P)(k):(e.enter("codeFlowValue"),C(k))}function C(k){return k===null||Qe(k)?(e.exit("codeFlowValue"),A(k)):(e.consume(k),C)}function P(k){return e.exit("codeFenced"),t(k)}function O(k,M,L){let H=0;return F;function F(te){return k.enter("lineEnding"),k.consume(te),k.exit("lineEnding"),$}function $(te){return k.enter("codeFencedFence"),wt(te)?bt(k,z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(te):z(te)}function z(te){return te===s?(k.enter("codeFencedFenceSequence"),W(te)):L(te)}function W(te){return te===s?(H++,k.consume(te),W):H>=o?(k.exit("codeFencedFenceSequence"),wt(te)?bt(k,K,"whitespace")(te):K(te)):L(te)}function K(te){return te===null||Qe(te)?(k.exit("codeFencedFence"),M(te)):L(te)}}}function Ewe(e,t,r){const n=this;return a;function a(o){return o===null?r(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i)}function i(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}const c_={name:"codeIndented",tokenize:wwe},_we={partial:!0,tokenize:Swe};function wwe(e,t,r){const n=this;return a;function a(f){return e.enter("codeIndented"),bt(e,i,"linePrefix",5)(f)}function i(f){const h=n.events[n.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?o(f):r(f)}function o(f){return f===null?u(f):Qe(f)?e.attempt(_we,o,u)(f):(e.enter("codeFlowValue"),s(f))}function s(f){return f===null||Qe(f)?(e.exit("codeFlowValue"),o(f)):(e.consume(f),s)}function u(f){return e.exit("codeIndented"),t(f)}}function Swe(e,t,r){const n=this;return a;function a(o){return n.parser.lazy[n.now().line]?r(o):Qe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):bt(e,i,"linePrefix",5)(o)}function i(o){const s=n.events[n.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):Qe(o)?a(o):r(o)}}const Twe={name:"codeText",previous:Cwe,resolve:Awe,tokenize:Owe};function Awe(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function Cwe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Owe(e,t,r){let n=0,a,i;return o;function o(d){return e.enter("codeText"),e.enter("codeTextSequence"),s(d)}function s(d){return d===96?(e.consume(d),n++,s):(e.exit("codeTextSequence"),u(d))}function u(d){return d===null?r(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),u):d===96?(i=e.enter("codeTextSequence"),a=0,h(d)):Qe(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("codeTextData"),f(d))}function f(d){return d===null||d===32||d===96||Qe(d)?(e.exit("codeTextData"),u(d)):(e.consume(d),f)}function h(d){return d===96?(e.consume(d),a++,h):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",f(d))}}class kwe{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,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&vd(this.left,n),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),vd(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),vd(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 r=this.left.splice(t,Number.POSITIVE_INFINITY);vd(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);vd(this.left,r.reverse())}}}function vd(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function xY(e){const t={};let r=-1,n,a,i,o,s,u,f;const h=new kwe(e);for(;++r<h.length;){for(;r in t;)r=t[r];if(n=h.get(r),r&&n[1].type==="chunkFlow"&&h.get(r-1)[1].type==="listItemPrefix"&&(u=n[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(n[0]==="enter")n[1].contentType&&(Object.assign(t,Nwe(h,r)),r=t[r],f=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(o=h.get(i),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(a&&(h.get(a)[1].type="lineEndingBlank"),o[1].type="lineEnding",a=i);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;a&&(n[1].end={...h.get(a)[1].start},s=h.slice(a,r),s.unshift(n),h.splice(a,r-a+1,s))}}return ja(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!f}function Nwe(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const i=[];let o=r._tokenizer;o||(o=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const s=o.events,u=[],f={};let h,d,m=-1,v=r,y=0,b=0;const E=[b];for(;v;){for(;e.get(++a)[1]!==v;);i.push(a),v._tokenizer||(h=n.sliceStream(v),v.next||h.push(null),d&&o.defineSki
vendor: 18,652 bytes, line 360
360p(v.start),v._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(h),v._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=v,v=v.next}for(v=r;++m<s.length;)s[m][0]==="exit"&&s[m-1][0]==="enter"&&s[m][1].type===s[m-1][1].type&&s[m][1].start.line!==s[m][1].end.line&&(b=m+1,E.push(b),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(o.events=[],v?(v._tokenizer=void 0,v.previous=void 0):E.pop(),m=E.length;m--;){const _=s.slice(E[m],E[m+1]),A=i.pop();u.push([A,A+_.length-1]),e.splice(A,2,_)}for(u.reverse(),m=-1;++m<u.length;)f[y+u[m][0]]=y+u[m][1],y+=u[m][1]-u[m][0]-1;return f}const Rwe={resolve:Pwe,tokenize:Iwe},Mwe={partial:!0,tokenize:Dwe};function Pwe(e){return xY(e),e}function Iwe(e,t){let r;return n;function n(s){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(s)}function a(s){return s===null?i(s):Qe(s)?e.check(Mwe,o,i)(s):(e.consume(s),a)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function Dwe(e,t,r){const n=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),bt(e,i,"linePrefix")}function i(o){if(o===null||Qe(o))return r(o);const s=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(n.parser.constructs.flow,r,t)(o)}}function EY(e,t,r,n,a,i,o,s,u){const f=u||Number.POSITIVE_INFINITY;let h=0;return d;function d(_){return _===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(_),e.exit(i),m):_===null||_===32||_===41||fv(_)?r(_):(e.enter(n),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),b(_))}function m(_){return _===62?(e.enter(i),e.consume(_),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),v(_))}function v(_){return _===62?(e.exit("chunkString"),e.exit(s),m(_)):_===null||_===60||Qe(_)?r(_):(e.consume(_),_===92?y:v)}function y(_){return _===60||_===62||_===92?(e.consume(_),v):v(_)}function b(_){return!h&&(_===null||_===41||or(_))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(n),t(_)):h<f&&_===40?(e.consume(_),h++,b):_===41?(e.consume(_),h--,b):_===null||_===32||_===40||fv(_)?r(_):(e.consume(_),_===92?E:b)}function E(_){return _===40||_===41||_===92?(e.consume(_),b):b(_)}}function _Y(e,t,r,n,a,i){const o=this;let s=0,u;return f;function f(v){return e.enter(n),e.enter(a),e.consume(v),e.exit(a),e.enter(i),h}function h(v){return s>999||v===null||v===91||v===93&&!u||v===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?r(v):v===93?(e.exit(i),e.enter(a),e.consume(v),e.exit(a),e.exit(n),t):Qe(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),d(v))}function d(v){return v===null||v===91||v===93||Qe(v)||s++>999?(e.exit("chunkString"),h(v)):(e.consume(v),u||(u=!wt(v)),v===92?m:d)}function m(v){return v===91||v===92||v===93?(e.consume(v),s++,d):d(v)}}function wY(e,t,r,n,a,i){let o;return s;function s(m){return m===34||m===39||m===40?(e.enter(n),e.enter(a),e.consume(m),e.exit(a),o=m===40?41:m,u):r(m)}function u(m){return m===o?(e.enter(a),e.consume(m),e.exit(a),e.exit(n),t):(e.enter(i),f(m))}function f(m){return m===o?(e.exit(i),u(o)):m===null?r(m):Qe(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),bt(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===o||m===null||Qe(m)?(e.exit("chunkString"),f(m)):(e.consume(m),m===92?d:h)}function d(m){return m===o||m===92?(e.consume(m),h):h(m)}}function $d(e,t){let r;return n;function n(a){return Qe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):wt(a)?bt(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const Lwe={name:"definition",tokenize:Bwe},jwe={partial:!0,tokenize:zwe};function Bwe(e,t,r){const n=this;let a;return i;function i(v){return e.enter("definition"),o(v)}function o(v){return _Y.call(n,e,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function s(v){return a=ki(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),u):r(v)}function u(v){return or(v)?$d(e,f)(v):f(v)}function f(v){return EY(e,h,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function h(v){return e.attempt(jwe,d,d)(v)}function d(v){return wt(v)?bt(e,m,"whitespace")(v):m(v)}function m(v){return v===null||Qe(v)?(e.exit("definition"),n.parser.defined.push(a),t(v)):r(v)}}function zwe(e,t,r){return n;function n(s){return or(s)?$d(e,a)(s):r(s)}function a(s){return wY(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return wt(s)?bt(e,o,"whitespace")(s):o(s)}function o(s){return s===null||Qe(s)?t(s):r(s)}}const Hwe={name:"hardBreakEscape",tokenize:Fwe};function Fwe(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return Qe(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const $we={name:"headingAtx",resolve:Uwe,tokenize:qwe};function Uwe(e,t){let r=e.length-2,n=3,a,i;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},i={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},ja(e,n,r-n+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function qwe(e,t,r){let n=0;return a;function a(h){return e.enter("atxHeading"),i(h)}function i(h){return e.enter("atxHeadingSequence"),o(h)}function o(h){return h===35&&n++<6?(e.consume(h),o):h===null||or(h)?(e.exit("atxHeadingSequence"),s(h)):r(h)}function s(h){return h===35?(e.enter("atxHeadingSequence"),u(h)):h===null||Qe(h)?(e.exit("atxHeading"),t(h)):wt(h)?bt(e,s,"whitespace")(h):(e.enter("atxHeadingText"),f(h))}function u(h){return h===35?(e.consume(h),u):(e.exit("atxHeadingSequence"),s(h))}function f(h){return h===null||h===35||or(h)?(e.exit("atxHeadingText"),s(h)):(e.consume(h),f)}}const Vwe=["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"],_j=["pre","script","style","textarea"],Gwe={concrete:!0,name:"htmlFlow",resolveTo:Kwe,tokenize:Xwe},Ywe={partial:!0,tokenize:Zwe},Wwe={partial:!0,tokenize:Qwe};function Kwe(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 Xwe(e,t,r){const n=this;let a,i,o,s,u;return f;function f(j){return h(j)}function h(j){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(j),d}function d(j){return j===33?(e.consume(j),m):j===47?(e.consume(j),i=!0,b):j===63?(e.consume(j),a=3,n.interrupt?t:G):Vn(j)?(e.consume(j),o=String.fromCharCode(j),E):r(j)}function m(j){return j===45?(e.consume(j),a=2,v):j===91?(e.consume(j),a=5,s=0,y):Vn(j)?(e.consume(j),a=4,n.interrupt?t:G):r(j)}function v(j){return j===45?(e.consume(j),n.interrupt?t:G):r(j)}function y(j){const de="CDATA[";return j===de.charCodeAt(s++)?(e.consume(j),s===de.length?n.interrupt?t:z:y):r(j)}function b(j){return Vn(j)?(e.consume(j),o=String.fromCharCode(j),E):r(j)}function E(j){if(j===null||j===47||j===62||or(j)){const de=j===47,xe=o.toLowerCase();return!de&&!i&&_j.includes(xe)?(a=1,n.interrupt?t(j):z(j)):Vwe.includes(o.toLowerCase())?(a=6,de?(e.consume(j),_):n.interrupt?t(j):z(j)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(j):i?A(j):C(j))}return j===45||jn(j)?(e.consume(j),o+=String.fromCharCode(j),E):r(j)}function _(j){return j===62?(e.consume(j),n.interrupt?t:z):r(j)}function A(j){return wt(j)?(e.consume(j),A):F(j)}function C(j){return j===47?(e.consume(j),F):j===58||j===95||Vn(j)?(e.consume(j),P):wt(j)?(e.consume(j),C):F(j)}function P(j){return j===45||j===46||j===58||j===95||jn(j)?(e.consume(j),P):O(j)}function O(j){return j===61?(e.consume(j),k):wt(j)?(e.consume(j),O):C(j)}function k(j){return j===null||j===60||j===61||j===62||j===96?r(j):j===34||j===39?(e.consume(j),u=j,M):wt(j)?(e.consume(j),k):L(j)}function M(j){return j===u?(e.consume(j),u=null,H):j===null||Qe(j)?r(j):(e.consume(j),M)}function L(j){return j===null||j===34||j===39||j===47||j===60||j===61||j===62||j===96||or(j)?O(j):(e.consume(j),L)}function H(j){return j===47||j===62||wt(j)?C(j):r(j)}function F(j){return j===62?(e.consume(j),$):r(j)}function $(j){return j===null||Qe(j)?z(j):wt(j)?(e.consume(j),$):r(j)}function z(j){return j===45&&a===2?(e.consume(j),U):j===60&&a===1?(e.consume(j),J):j===62&&a===4?(e.consume(j),Y):j===63&&a===3?(e.consume(j),G):j===93&&a===5?(e.consume(j),le):Qe(j)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(Ywe,oe,W)(j)):j===null||Qe(j)?(e.exit("htmlFlowData"),W(j)):(e.consume(j),z)}function W(j){return e.check(Wwe,K,oe)(j)}function K(j){return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),te}function te(j){return j===null||Qe(j)?W(j):(e.enter("htmlFlowData"),z(j))}function U(j){return j===45?(e.consume(j),G):z(j)}function J(j){return j===47?(e.consume(j),o="",Z):z(j)}function Z(j){if(j===62){const de=o.toLowerCase();return _j.includes(de)?(e.consume(j),Y):z(j)}return Vn(j)&&o.length<8?(e.consume(j),o+=String.fromCharCode(j),Z):z(j)}function le(j){return j===93?(e.consume(j),G):z(j)}function G(j){return j===62?(e.consume(j),Y):j===45&&a===2?(e.consume(j),G):z(j)}function Y(j){return j===null||Qe(j)?(e.exit("htmlFlowData"),oe(j)):(e.consume(j),Y)}function oe(j){return e.exit("htmlFlow"),t(j)}}function Qwe(e,t,r){const n=this;return a;function a(o){return Qe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):r(o)}function i(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function Zwe(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(_p,t,r)}}const Jwe={name:"htmlText",tokenize:e5e};function e5e(e,t,r){const n=this;let a,i,o;return s;function s(G){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(G),u}function u(G){return G===33?(e.consume(G),f):G===47?(e.consume(G),O):G===63?(e.consume(G),C):Vn(G)?(e.consume(G),L):r(G)}function f(G){return G===45?(e.consume(G),h):G===91?(e.consume(G),i=0,y):Vn(G)?(e.consume(G),A):r(G)}function h(G){return G===45?(e.consume(G),v):r(G)}function d(G){return G===null?r(G):G===45?(e.consume(G),m):Qe(G)?(o=d,J(G)):(e.consume(G),d)}function m(G){return G===45?(e.consume(G),v):d(G)}function v(G){return G===62?U(G):G===45?m(G):d(G)}function y(G){const Y="CDATA[";return G===Y.charCodeAt(i++)?(e.consume(G),i===Y.length?b:y):r(G)}function b(G){return G===null?r(G):G===93?(e.consume(G),E):Qe(G)?(o=b,J(G)):(e.consume(G),b)}function E(G){return G===93?(e.consume(G),_):b(G)}function _(G){return G===62?U(G):G===93?(e.consume(G),_):b(G)}function A(G){return G===null||G===62?U(G):Qe(G)?(o=A,J(G)):(e.consume(G),A)}function C(G){return G===null?r(G):G===63?(e.consume(G),P):Qe(G)?(o=C,J(G)):(e.consume(G),C)}function P(G){return G===62?U(G):C(G)}function O(G){return Vn(G)?(e.consume(G),k):r(G)}function k(G){return G===45||jn(G)?(e.consume(G),k):M(G)}function M(G){return Qe(G)?(o=M,J(G)):wt(G)?(e.consume(G),M):U(G)}function L(G){return G===45||jn(G)?(e.consume(G),L):G===47||G===62||or(G)?H(G):r(G)}function H(G){return G===47?(e.consume(G),U):G===58||G===95||Vn(G)?(e.consume(G),F):Qe(G)?(o=H,J(G)):wt(G)?(e.consume(G),H):U(G)}function F(G){return G===45||G===46||G===58||G===95||jn(G)?(e.consume(G),F):$(G)}function $(G){return G===61?(e.consume(G),z):Qe(G)?(o=$,J(G)):wt(G)?(e.consume(G),$):H(G)}function z(G){return G===null||G===60||G===61||G===62||G===96?r(G):G===34||G===39?(e.consume(G),a=G,W):Qe(G)?(o=z,J(G)):wt(G)?(e.consume(G),z):(e.consume(G),K)}function W(G){return G===a?(e.consume(G),a=void 0,te):G===null?r(G):Qe(G)?(o=W,J(G)):(e.consume(G),W)}function K(G){return G===null||G===34||G===39||G===60||G===61||G===96?r(G):G===47||G===62||or(G)?H(G):(e.consume(G),K)}function te(G){return G===47||G===62||or(G)?H(G):r(G)}function U(G){return G===62?(e.consume(G),e.exit("htmlTextData"),e.exit("htmlText"),t):r(G)}function J(G){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(G),e.exit("lineEnding"),Z}function Z(G){return wt(G)?bt(e,le,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):le(G)}function le(G){return e.enter("htmlTextData"),o(G)}}const GA={name:"labelEnd",resolveAll:a5e,resolveTo:i5e,tokenize:o5e},t5e={tokenize:s5e},r5e={tokenize:l5e},n5e={tokenize:u5e};function a5e(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&ja(e,0,e.length,r),e}function i5e(e,t){let r=e.length,n=0,a,i,o,s;for(;r--;)if(a=e[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(o){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(o=r);const u={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[i][1].start},end:{...e[o][1].end}},h={type:"labelText",start:{...e[i+n+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",u,t],["enter",f,t]],s=ti(s,e.slice(i+1,i+n+3)),s=ti(s,[["enter",h,t]]),s=ti(s,Jy(t.parser.constructs.insideSpan.null,e.slice(i+n+4,o-3),t)),s=ti(s,[["exit",h,t],e[o-2],e[o-1],["exit",f,t]]),s=ti(s,e.slice(o+1)),s=ti(s,[["exit",u,t]]),ja(e,i,e.length,s),e}function o5e(e,t,r){const n=this;let a=n.events.length,i,o;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){i=n.events[a][1];break}return s;function s(m){return i?i._inactive?d(m):(o=n.parser.defined.includes(ki(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),u):r(m)}function u(m){return m===40?e.attempt(t5e,h,o?h:d)(m):m===91?e.attempt(r5e,h,o?f:d)(m):o?h(m):d(m)}function f(m){return e.attempt(n5e,h,d)(m)}function h(m){return t(m)}function d(m){return i._balanced=!0,r(m)}}function s5e(e,t,r){return n;function n(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),a}function a(d){return or(d)?$d(e,i)(d):i(d)}function i(d){return d===41?h(d):EY(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function o(d){return or(d)?$d(e,u)(d):h(d)}function s(d){return r(d)}function u(d){return d===34||d===39||d===40?wY(e,f,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):h(d)}function f(d){return or(d)?$d(e,h)(d):h(d)}function h(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):r(d)}}function l5e(e,t,r){const n=this;return a;function a(s){return _Y.call(n,e,i,o,"reference","referenceMarker","referenceString")(s)}function i(s){return n.parser.defined.includes(ki(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(s):r(s)}function o(s){return r(s)}}function u5e(e,t,r){return n;function n(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):r(i)}}const c5e={name:"labelStartImage",resolveAll:GA.resolveAll,tokenize:f5e};function f5e(e,t,r){const n=this;return a;function a(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i}function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):r(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const d5e={name:"labelStartLink",resolveAll:GA.resolveAll,tokenize:h5e};function h5e(e,t,r){const n=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 n.parser.constructs?r(o):t(o)}}const f_={name:"lineEnding",tokenize:p5e};function p5e(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),bt(e,t,"linePrefix")}}const Jg={name:"thematicBreak",tokenize:m5e};function m5e(e,t,r){let n=0,a;return i;function i(f){return e.enter("thematicBreak"),o(f)}function o(f){return a=f,s(f)}function s(f){return f===a?(e.enter("thematicBreakSequence"),u(f)):n>=3&&(f===null||Qe(f))?(e.exit("thematicBreak"),t(f)):r(f)}function u(f){return f===a?(e.consume(f),n++,u):(e.exit("thematicBreakSequence"),wt(f)?bt(e,s,"whitespace")(f):s(f))}}const ua={continuation:{tokenize:b5e},exit:E5e,name:"list",tokenize:y5e},g5e={partial:!0,tokenize:_5e},v5e={partial:!0,tokenize:x5e};function y5e(e,t,r){const n=this,a=n.events[n.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,o=0;return s;function s(v){const y=n.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!n.containerState.marker||v===n.containerState.marker:nS(v)){if(n.containerState.type||(n.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(Jg,r,f)(v):f(v);if(!n.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(v)}return r(v)}function u(v){return nS(v)&&++o<10?(e.consume(v),u):(!n.interrupt||o<2)&&(n.containerState.marker?v===n.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),f(v)):r(v)}function f(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||v,e.check(_p,n.interrupt?r:h,e.attempt(g5e,m,d))}
vendor: 4,746 bytes, line 360
360function h(v){return n.containerState.initialBlankLine=!0,i++,m(v)}function d(v){return wt(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),m):r(v)}function m(v){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(v)}}function b5e(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(_p,a,i);function a(s){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,bt(e,t,"listItemIndent",n.containerState.size+1)(s)}function i(s){return n.containerState.furtherBlankLines||!wt(s)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(s)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(v5e,t,o)(s))}function o(s){return n.containerState._closeFlow=!0,n.interrupt=void 0,bt(e,e.attempt(ua,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function x5e(e,t,r){const n=this;return bt(e,a,"listItemIndent",n.containerState.size+1);function a(i){const o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?t(i):r(i)}}function E5e(e){e.exit(this.containerState.type)}function _5e(e,t,r){const n=this;return bt(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const o=n.events[n.events.length-1];return!wt(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const wj={name:"setextUnderline",resolveTo:w5e,tokenize:S5e};function w5e(e,t){let r=e.length,n,a,i;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!i&&e[r][1].type==="definition"&&(i=r);const o={type:"setextHeading",start:{...e[n][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[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=o,e.push(["exit",o,t]),e}function S5e(e,t,r){const n=this;let a;return i;function i(f){let h=n.events.length,d;for(;h--;)if(n.events[h][1].type!=="lineEnding"&&n.events[h][1].type!=="linePrefix"&&n.events[h][1].type!=="content"){d=n.events[h][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||d)?(e.enter("setextHeadingLine"),a=f,o(f)):r(f)}function o(f){return e.enter("setextHeadingLineSequence"),s(f)}function s(f){return f===a?(e.consume(f),s):(e.exit("setextHeadingLineSequence"),wt(f)?bt(e,u,"lineSuffix")(f):u(f))}function u(f){return f===null||Qe(f)?(e.exit("setextHeadingLine"),t(f)):r(f)}}const T5e={tokenize:A5e};function A5e(e){const t=this,r=e.attempt(_p,n,e.attempt(this.parser.constructs.flowInitial,a,bt(e,e.attempt(this.parser.constructs.flow,a,e.attempt(Rwe,a)),"linePrefix")));return r;function n(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const C5e={resolveAll:TY()},O5e=SY("string"),k5e=SY("text");function SY(e){return{resolveAll:TY(e==="text"?N5e:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],i=r.attempt(a,o,s);return o;function o(h){return f(h)?i(h):s(h)}function s(h){if(h===null){r.consume(h);return}return r.enter("data"),r.consume(h),u}function u(h){return f(h)?(r.exit("data"),i(h)):(r.consume(h),u)}function f(h){if(h===null)return!0;const d=a[h];let m=-1;if(d)for(;++m<d.length;){const v=d[m];if(!v.previous||v.previous.call(n,n.previous))return!0}return!1}}}function TY(e){return t;function t(r,n){let a=-1,i;for(;++a<=r.length;)i===void 0?r[a]&&r[a][1].type==="data"&&(i=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==i+2&&(r[i][1].end=r[a-1][1].end,r.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(r,n):r}}function N5e(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],a=t.sliceStream(n);let i=a.length,o=-1,s=0,u;for(;i--;){const f=a[i];if(typeof f=="string"){for(o=f.length;f.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(f===-2)u=!0,s++;else if(f!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(s=0),s){const f={type:r===e.length||u||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?o:n.start._bufferIndex+o,_index:n.start._index+i,line:n.end.line,column:n.end.column-s,offset:n.end.offset-s},end:{...n.end}};n.end={...f.start},n.start.offset===n.end.offset?Object.assign(n,f):(e.splice(r,0,["enter",f,t],["exit",f,t]),r+=2)}r++}return e}
vendor: 4,433 bytes, lines 360-362
360const R5e={42:ua,43:ua,45:ua,48:ua,49:ua,50:ua,51:ua,52:ua,53:ua,54:ua,55:ua,56:ua,57:ua,62:vY},M5e={91:Lwe},P5e={[-2]:c_,[-1]:c_,32:c_},I5e={35:$we,42:Jg,45:[wj,Jg],60:Gwe,61:wj,95:Jg,96:Ej,126:Ej},D5e={38:bY,92:yY},L5e={[-5]:f_,[-4]:f_,[-3]:f_,33:c5e,38:bY,42:aS,60:[dwe,Jwe],91:d5e,92:[Hwe,yY],93:GA,95:aS,96:Twe},j5e={null:[aS,C5e]},B5e={null:[42,95]},z5e={null:[]},H5e=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:B5e,contentInitial:M5e,disable:z5e,document:R5e,flow:I5e,flowInitial:P5e,insideSpan:j5e,string:D5e,text:L5e},Symbol.toStringTag,{value:"Module"}));function F5e(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let o=[],s=[];const u={attempt:M(O),check:M(k),consume:A,enter:C,exit:P,interrupt:M(k,{interrupt:!0})},f={code:null,containerState:{},defineSkip:b,events:[],now:y,parser:e,previous:null,sliceSerialize:m,sliceStream:v,write:d};let h=t.tokenize.call(f,u);return t.resolveAll&&i.push(t),f;function d($){return o=ti(o,$),E(),o[o.length-1]!==null?[]:(L(t,0),f.events=Jy(i,f.events,f),f.events)}function m($,z){return U5e(v($),z)}function v($){return $5e(o,$)}function y(){const{_bufferIndex:$,_index:z,line:W,column:K,offset:te}=n;return{_bufferIndex:$,_index:z,line:W,column:K,offset:te}}function b($){a[$.line]=$.column,F()}function E(){let $;for(;n._index<o.length;){const z=o[n._index];if(typeof z=="string")for($=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===$&&n._bufferIndex<z.length;)_(z.charCodeAt(n._bufferIndex));else _(z)}}function _($){h=h($)}function A($){Qe($)?(n.line++,n.column=1,n.offset+=$===-3?2:1,F()):$!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),f.previous=$}function C($,z){const W=z||{};return W.type=$,W.start=y(),f.events.push(["enter",W,f]),s.push(W),W}function P($){const z=s.pop();return z.end=y(),f.events.push(["exit",z,f]),z}function O($,z){L($,z.from)}function k($,z){z.restore()}function M($,z){return W;function W(K,te,U){let J,Z,le,G;return Array.isArray(K)?oe(K):"tokenize"in K?oe([K]):Y(K);function Y(Oe){return Re;function Re(He){const Te=He!==null&&Oe[He],Ue=He!==null&&Oe.null,Ke=[...Array.isArray(Te)?Te:Te?[Te]:[],...Array.isArray(Ue)?Ue:Ue?[Ue]:[]];return oe(Ke)(He)}}function oe(Oe){return J=Oe,Z=0,Oe.length===0?U:j(Oe[Z])}function j(Oe){return Re;function Re(He){return G=H(),le=Oe,Oe.partial||(f.currentConstruct=Oe),Oe.name&&f.parser.constructs.disable.null.includes(Oe.name)?xe():Oe.tokenize.call(z?Object.assign(Object.create(f),z):f,u,de,xe)(He)}}function de(Oe){return $(le,G),te}function xe(Oe){return G.restore(),++Z<J.length?j(J[Z]):U}}}function L($,z){$.resolveAll&&!i.includes($)&&i.push($),$.resolve&&ja(f.events,z,f.events.length-z,$.resolve(f.events.slice(z),f)),$.resolveTo&&(f.events=$.resolveTo(f.events,f))}function H(){const $=y(),z=f.previous,W=f.currentConstruct,K=f.events.length,te=Array.from(s);return{from:K,restore:U};function U(){n=$,f.previous=z,f.currentConstruct=W,f.events.length=K,s=te,F()}}function F(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function $5e(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let o;if(r===a)o=[e[r].slice(n,i)];else{if(o=e.slice(r,a),n>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(n):o.shift()}i>0&&o.push(e[a].slice(0,i))}return o}function U5e(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const i=e[r];let o;if(typeof i=="string")o=i;else switch(i){case-5:{o="\r";break}case-4:{o=` 361`;break}case-3:{o=`\r 362`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&a)continue;o=" ";break}default:o=String.fromCharCode(i)}a=i===-2,n.push(o)}return n.join("")}function q5e(e){const n={constructs:mY([H5e,...(e||{}).extensions||[]]),content:a(iwe),defined:[],document:a(swe),flow:a(T5e),lazy:{},string:a(O5e),text:a(k5e)};return n;function a(i){return o;function o(s){return F5e(n,i,s)}}}function V5e(e){for(;!xY(e););return e}const Sj=/[\0\t\n\r]/g;function G5e(){let e=1,t="",r=!0,n;return a;function a(i,o,s){const u=[];let f,h,d,m,v;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),d=0,t="",r&&(i.charCodeAt(0)===65279&&d++,r=void 0);d<i.length;){if(Sj.lastIndex=d,f=Sj.exec(i),m=f&&f.index!==void 0?f.index:i.length,v=i.charCodeAt(m),!f){t=i.slice(d);break}if(v===10&&d===m&&n)u.push(-3),n=void 0;
vendor: 15,348 bytes, lines 362-365
362else switch(n&&(u.push(-5),n=void 0),d<m&&(u.push(i.slice(d,m)),e+=m-d),v){case 0:{u.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,u.push(-2);e++<h;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:n=!0,e=1}d=m+1}return s&&(n&&u.push(-5),t&&u.push(t),u.push(null)),u}}const Y5e=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function W5e(e){return e.replace(Y5e,K5e)}function K5e(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return gY(r.slice(i?2:1),i?16:10)}return VA(r)||e}const AY={}.hasOwnProperty;function X5e(e,t,r){return typeof t!="string"&&(r=t,t=void 0),Q5e(r)(V5e(q5e(r).document().write(G5e()(e,t,!0))))}function Q5e(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Zt),autolinkProtocol:H,autolinkEmail:H,atxHeading:i(Ht),blockQuote:i(Ue),characterEscape:H,characterReference:H,codeFenced:i(Ke),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(Ke,o),codeText:i(Ae,o),codeTextData:H,data:H,codeFlowValue:H,definition:i(St),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(rt),hardBreakEscape:i(Pt),hardBreakTrailing:i(Pt),htmlFlow:i(Kt,o),htmlFlowData:H,htmlText:i(Kt,o),htmlTextData:H,image:i(Rr),label:o,link:i(Zt),listItem:i(Hn),listItemValue:m,listOrdered:i(ba,d),listUnordered:i(ba),paragraph:i(dr),reference:j,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(Ht),strong:i(Qn),thematicBreak:i(ys)},exit:{atxHeading:u(),atxHeadingSequence:O,autolink:u(),autolinkEmail:Te,autolinkProtocol:He,blockQuote:u(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:xe,characterReferenceMarkerNumeric:xe,characterReferenceValue:Oe,characterReference:Re,codeFenced:u(E),codeFencedFence:b,codeFencedFenceInfo:v,codeFencedFenceMeta:y,codeFlowValue:F,codeIndented:u(_),codeText:u(te),codeTextData:F,data:F,definition:u(),definitionDestinationString:P,definitionLabelString:A,definitionTitleString:C,emphasis:u(),hardBreakEscape:u(z),hardBreakTrailing:u(z),htmlFlow:u(W),htmlFlowData:F,htmlText:u(K),htmlTextData:F,image:u(J),label:le,labelText:Z,lineEnding:$,link:u(U),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:de,resourceDestinationString:G,resourceTitleString:Y,resource:oe,setextHeading:u(L),setextHeadingLineSequence:M,setextHeadingText:k,strong:u(),thematicBreak:u()}};CY(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(_e){let je={type:"root",children:[]};const nt={stack:[je],tokenStack:[],config:t,enter:s,exit:f,buffer:o,resume:h,data:r},dt=[];let xt=-1;for(;++xt<_e.length;)if(_e[xt][1].type==="listOrdered"||_e[xt][1].type==="listUnordered")if(_e[xt][0]==="enter")dt.push(xt);else{const Cn=dt.pop();xt=a(_e,Cn,xt)}for(xt=-1;++xt<_e.length;){const Cn=t[_e[xt][0]];AY.call(Cn,_e[xt][1].type)&&Cn[_e[xt][1].type].call(Object.assign({sliceSerialize:_e[xt][2].sliceSerialize},nt),_e[xt][1])}if(nt.tokenStack.length>0){const Cn=nt.tokenStack[nt.tokenStack.length-1];(Cn[1]||Tj).call(nt,void 0,Cn[0])}for(je.position={start:Vs(_e.length>0?_e[0][1].start:{line:1,column:1,offset:0}),end:Vs(_e.length>0?_e[_e.length-2][1].end:{line:1,column:1,offset:0})},xt=-1;++xt<t.transforms.length;)je=t.transforms[xt](je)||je;return je}function a(_e,je,nt){let dt=je-1,xt=-1,Cn=!1,On,vn,Mr,yn;for(;++dt<=nt;){const qt=_e[dt];switch(qt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{qt[0]==="enter"?xt++:xt--,yn=void 0;break}case"lineEndingBlank":{qt[0]==="enter"&&(On&&!yn&&!xt&&!Mr&&(Mr=dt),yn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:yn=void 0}if(!xt&&qt[0]==="enter"&&qt[1].type==="listItemPrefix"||xt===-1&&qt[0]==="exit"&&(qt[1].type==="listUnordered"||qt[1].type==="listOrdered")){if(On){let Li=dt;for(vn=void 0;Li--;){const Fn=_e[Li];if(Fn[1].type==="lineEnding"||Fn[1].type==="lineEndingBlank"){if(Fn[0]==="exit")continue;vn&&(_e[vn][1].type="lineEndingBlank",Cn=!0),Fn[1].type="lineEnding",vn=Li}else if(!(Fn[1].type==="linePrefix"||Fn[1].type==="blockQuotePrefix"||Fn[1].type==="blockQuotePrefixWhitespace"||Fn[1].type==="blockQuoteMarker"||Fn[1].type==="listItemIndent"))break}Mr&&(!vn||Mr<vn)&&(On._spread=!0),On.end=Object.assign({},vn?_e[vn][1].start:qt[1].end),_e.splice(vn||dt,0,["exit",On,qt[2]]),dt++,nt++}if(qt[1].type==="listItemPrefix"){const Li={type:"listItem",_spread:!1,start:Object.assign({},qt[1].start),end:void 0};On=Li,_e.splice(dt,0,["enter",Li,qt[2]]),dt++,nt++,Mr=void 0,yn=!0}}}return _e[je][1]._spread=Cn,nt}function i(_e,je){return nt;function nt(dt){s.call(this,_e(dt),dt),je&&je.call(this,dt)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(_e,je,nt){this.stack[this.stack.length-1].children.push(_e),this.stack.push(_e),this.tokenStack.push([je,nt||void 0]),_e.position={start:Vs(je.start),end:void 0}}function u(_e){return je;function je(nt){_e&&_e.call(this,nt),f.call(this,nt)}}function f(_e,je){const nt=this.stack.pop(),dt=this.tokenStack.pop();if(dt)dt[0].type!==_e.type&&(je?je.call(this,_e,dt[0]):(dt[1]||Tj).call(this,_e,dt[0]));else throw new Error("Cannot close `"+_e.type+"` ("+Fd({start:_e.start,end:_e.end})+"): itâs not open");nt.position.end=Vs(_e.end)}function h(){return qA(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function m(_e){if(this.data.expectingFirstListItemValue){const je=this.stack[this.stack.length-2];je.start=Number.parseInt(this.sliceSerialize(_e),10),this.data.expectingFirstListItemValue=void 0}}function v(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.lang=_e}function y(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.meta=_e}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.value=_e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function _(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.value=_e.replace(/(\r?\n|\r)$/g,"")}function A(_e){const je=this.resume(),nt=this.stack[this.stack.length-1];nt.label=je,nt.identifier=ki(this.sliceSerialize(_e)).toLowerCase()}function C(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.title=_e}function P(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.url=_e}function O(_e){const je=this.stack[this.stack.length-1];if(!je.depth){const nt=this.sliceSerialize(_e).length;je.depth=nt}}function k(){this.data.setextHeadingSlurpLineEnding=!0}function M(_e){const je=this.stack[this.stack.length-1];je.depth=this.sliceSerialize(_e).codePointAt(0)===61?1:2}function L(){this.data.setextHeadingSlurpLineEnding=void 0}function H(_e){const nt=this.stack[this.stack.length-1].children;let dt=nt[nt.length-1];(!dt||dt.type!=="text")&&(dt=zr(),dt.position={start:Vs(_e.start),end:void 0},nt.push(dt)),this.stack.push(dt)}function F(_e){const je=this.stack.pop();je.value+=this.sliceSerialize(_e),je.position.end=Vs(_e.end)}function $(_e){const je=this.stack[this.stack.length-1];if(this.data.atHardBreak){const nt=je.children[je.children.length-1];nt.position.end=Vs(_e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(je.type)&&(H.call(this,_e),F.call(this,_e))}function z(){this.data.atHardBreak=!0}function W(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.value=_e}function K(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.value=_e}function te(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.value=_e}function U(){const _e=this.stack[this.stack.length-1];if(this.data.inReference){const je=this.data.referenceType||"shortcut";_e.type+="Reference",_e.referenceType=je,delete _e.url,delete _e.title}else delete _e.identifier,delete _e.label;this.data.referenceType=void 0}function J(){const _e=this.stack[this.stack.length-1];if(this.data.inReference){const je=this.data.referenceType||"shortcut";_e.type+="Reference",_e.referenceType=je,delete _e.url,delete _e.title}else delete _e.identifier,delete _e.label;this.data.referenceType=void 0}function Z(_e){const je=this.sliceSerialize(_e),nt=this.stack[this.stack.length-2];nt.label=W5e(je),nt.identifier=ki(je).toLowerCase()}function le(){const _e=this.stack[this.stack.length-1],je=this.resume(),nt=this.stack[this.stack.length-1];if(this.data.inReference=!0,nt.type==="link"){const dt=_e.children;nt.children=dt}else nt.alt=je}function G(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.url=_e}function Y(){const _e=this.resume(),je=this.stack[this.stack.length-1];je.title=_e}function oe(){this.data.inReference=void 0}function j(){this.data.referenceType="collapsed"}function de(_e){const je=this.resume(),nt=this.stack[this.stack.length-1];nt.label=je,nt.identifier=ki(this.sliceSerialize(_e)).toLowerCase(),this.data.referenceType="full"}function xe(_e){this.data.characterReferenceType=_e.type}function Oe(_e){const je=this.sliceSerialize(_e),nt=this.data.characterReferenceType;let dt;nt?(dt=gY(je,nt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):dt=VA(je);const xt=this.stack[this.stack.length-1];xt.value+=dt}function Re(_e){const je=this.stack.pop();je.position.end=Vs(_e.end)}function He(_e){F.call(this,_e);const je=this.stack[this.stack.length-1];je.url=this.sliceSerialize(_e)}function Te(_e){F.call(this,_e);const je=this.stack[this.stack.length-1];je.url="mailto:"+this.sliceSerialize(_e)}function Ue(){return{type:"blockquote",children:[]}}function Ke(){return{type:"code",lang:null,meta:null,value:""}}function Ae(){return{type:"inlineCode",value:""}}function St(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function rt(){return{type:"emphasis",children:[]}}function Ht(){return{type:"heading",depth:0,children:[]}}function Pt(){return{type:"break"}}function Kt(){return{type:"html",value:""}}function Rr(){return{type:"image",title:null,url:"",alt:null}}function Zt(){return{type:"link",title:null,url:"",children:[]}}function ba(_e){return{type:"list",ordered:_e.type==="listOrdered",start:null,spread:_e._spread,children:[]}}function Hn(_e){return{type:"listItem",spread:_e._spread,checked:null,children:[]}}function dr(){return{type:"paragraph",children:[]}}function Qn(){return{type:"strong",children:[]}}function zr(){return{type:"text",value:""}}function ys(){return{type:"thematicBreak"}}}function Vs(e){return{line:e.line,column:e.column,offset:e.offset}}function CY(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?CY(e,n):Z5e(e,n)}}function Z5e(e,t){let r;for(r in t)if(AY.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function Tj(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Fd({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Fd({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Fd({start:t.start,end:t.end})+") is still open")}function J5e(e){const t=this;t.parser=r;function r(n){return X5e(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function eSe(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function tSe(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:` 363`}]}function rSe(e,t){const r=t.value?t.value+` 364`:"",n={};t.lang&&(n.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};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 nSe(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function aSe(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function iSe(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=n0(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o,s=e.footnoteCounts.get(n);s===void 0?(s=0,e.footnoteOrder.push(n),o=e.footnoteOrder.length):o=i+1,s+=1,e.footnoteCounts.set(n,s);const u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const f={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,f),e.applyData(t,f)}function oSe(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function sSe(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function OY(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];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+=n:a.push({type:"text",value:n}),a}function lSe(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return OY(e,t);const a={src:n0(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function uSe(e,t){const r={src:n0(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function cSe(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function fSe(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return OY(e,t);const a={href:n0(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function dSe(e,t){const r={href:n0(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function hSe(e,t,r){const n=e.all(t),a=r?pSe(r):kY(t),i={},o=[];if(typeof t.checked=="boolean"){const h=n[0];let d;h&&h.type==="element"&&h.tagName==="p"?d=h:(d={type:"element",tagName:"p",properties:{},children:[]},n.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<n.length;){const h=n[s];(a||s!==0||h.type!=="element"||h.tagName!=="p")&&o.push({type:"text",value:` 365`}
vendor: 4,838 bytes, lines 365-366
365),h.type==="element"&&h.tagName==="p"&&!a?o.push(...h.children):o.push(h)}const u=n[n.length-1];u&&(a||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:` 366`});const f={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,f),e.applyData(t,f)}function pSe(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=kY(r[n])}return t}function kY(e){const t=e.spread;return t??e.children.length>1}function mSe(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const o=n[a];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)}function gSe(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function vSe(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function ySe(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function bSe(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],o),a.push(o)}if(r.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},s=go(t.children[1]),u=Qy(t.children[t.children.length-1]);s&&u&&(o.position={start:s,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 xSe(e,t,r){const n=r?r.children:void 0,i=(n?n.indexOf(t):1)===0?"th":"td",o=r&&r.type==="table"?r.align:void 0,s=o?o.length:t.children.length;let u=-1;const f=[];for(;++u<s;){const d=t.children[u],m={},v=o?o[u]:void 0;v&&(m.align=v);let y={type:"element",tagName:i,properties:m,children:[]};d&&(y.children=e.all(d),e.patch(d,y),y=e.applyData(d,y)),f.push(y)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,h),e.applyData(t,h)}function ESe(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const Aj=9,Cj=32;function _Se(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(Oj(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(Oj(t.slice(a),a>0,!1)),i.join("")}function Oj(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===Aj||i===Cj;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===Aj||i===Cj;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function wSe(e,t){const r={type:"text",value:_Se(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function SSe(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const TSe={blockquote:eSe,break:tSe,code:rSe,delete:nSe,emphasis:aSe,footnoteReference:iSe,heading:oSe,html:sSe,imageReference:lSe,image:uSe,inlineCode:cSe,linkReference:fSe,link:dSe,listItem:hSe,list:mSe,paragraph:gSe,root:vSe,strong:ySe,table:bSe,tableCell:ESe,tableRow:xSe,text:wSe,thematicBreak:SSe,toml:wg,yaml:wg,definition:wg,footnoteDefinition:wg};function wg(){}const NY=-1,eb=0,Ud=1,dv=2,YA=3,WA=4,KA=5,XA=6,RY=7,MY=8,kj=typeof self=="object"?self:globalThis,ASe=(e,t)=>{const r=(a,i)=>(e.set(i,a),a),n=a=>{if(e.has(a))return e.get(a);const[i,o]=t[a];switch(i){case eb:case NY:return r(o,a);case Ud:{const s=r([],a);for(const u of o)s.push(n(u));return s}case dv:{const s=r({},a);for(const[u,f]of o)s[n(u)]=n(f);return s}case YA:return r(new Date(o),a);case WA:{const{source:s,flags:u}=o;return r(new RegExp(s,u),a)}case KA:{const s=r(new Map,a);for(const[u,f]of o)s.set(n(u),n(f));return s}case XA:{const s=r(new Set,a);for(const u of o)s.add(n(u));return s}case RY:{const{name:s,message:u}=o;return r(new kj[s](u),a)}case MY:return r(BigInt(o),a);case"BigInt":return r(Object(BigInt(o)),a);case"ArrayBuffer":return r(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:s}=new Uint8Array(o);return r(new DataView(s),o)}}return r(new kj[i](o),a)};return n},Nj=e=>ASe(new Map,e)(0),Fc="",{toString:CSe}={},{keys:OSe}=Object,yd=e=>{const t=typeof e;if(t!=="object"||!e)return[eb,t];const r=CSe.call(e).slice(8,-1);switch(r){case"Array":return[Ud,Fc];case"Object":return[dv,Fc];case"Date":return[YA,Fc];case"RegExp":return[WA,Fc];case"Map":return[KA,Fc];case"Set":return[XA,Fc];case"DataView":return[Ud,r]}return r.includes("Array")?[Ud,r]:r.includes("Error")?[RY,r]:[dv,r]},Sg=([e,t])=>e===eb&&(t==="function"||t==="symbol"),kSe=(e,t,r,n)=>{const a=(o,s)=>{const u=n.push(o)-1;return r.set(s,u),u},i=o=>
vendor: 8,041 bytes, lines 366-372
366{if(r.has(o))return r.get(o);let[s,u]=yd(o);switch(s){case eb:{let h=o;switch(u){case"bigint":s=MY,h=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);h=null;break;case"undefined":return a([NY],o)}return a([s,h],o)}case Ud:{if(u){let m=o;return u==="DataView"?m=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(m=new Uint8Array(o)),a([u,[...m]],o)}const h=[],d=a([s,h],o);for(const m of o)h.push(i(m));return d}case dv:{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 h=[],d=a([s,h],o);for(const m of OSe(o))(e||!Sg(yd(o[m])))&&h.push([i(m),i(o[m])]);return d}case YA:return a([s,o.toISOString()],o);case WA:{const{source:h,flags:d}=o;return a([s,{source:h,flags:d}],o)}case KA:{const h=[],d=a([s,h],o);for(const[m,v]of o)(e||!(Sg(yd(m))||Sg(yd(v))))&&h.push([i(m),i(v)]);return d}case XA:{const h=[],d=a([s,h],o);for(const m of o)(e||!Sg(yd(m)))&&h.push(i(m));return d}}const{message:f}=o;return a([s,{name:u,message:f}],o)};return i},Rj=(e,{json:t,lossy:r}={})=>{const n=[];return kSe(!(t||r),!!t,new Map,n)(e),n},Ff=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Nj(Rj(e,t)):structuredClone(e):(e,t)=>Nj(Rj(e,t));function NSe(e,t){const r=[{type:"text",value:"â©"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function RSe(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function MSe(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||NSe,n=e.options.footnoteBackLabel||RSe,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let u=-1;for(;++u<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[u]);if(!f)continue;const h=e.all(f),d=String(f.identifier).toUpperCase(),m=n0(d.toLowerCase());let v=0;const y=[],b=e.footnoteCounts.get(d);for(;b!==void 0&&++v<=b;){y.length>0&&y.push({type:"text",value:" "});let A=typeof r=="string"?r:r(u,v);typeof A=="string"&&(A={type:"text",value:A}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(u,v),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}const E=h[h.length-1];if(E&&E.type==="element"&&E.tagName==="p"){const A=E.children[E.children.length-1];A&&A.type==="text"?A.value+=" ":E.children.push({type:"text",value:" "}),E.children.push(...y)}else h.push(...y);const _={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(h,!0)};e.patch(f,_),s.push(_)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Ff(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:` 367`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` 368`}]}}const wp=(function(e){if(e==null)return LSe;if(typeof e=="function")return tb(e);if(typeof e=="object")return Array.isArray(e)?PSe(e):ISe(e);if(typeof e=="string")return DSe(e);throw new Error("Expected function, string, or object as test")});function PSe(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=wp(e[r]);return tb(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function ISe(e){const t=e;return tb(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function DSe(e){return tb(t);function t(r){return r&&r.type===e}}function tb(e){return t;function t(r,n,a){return!!(jSe(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function LSe(){return!0}function jSe(e){return e!==null&&typeof e=="object"&&"type"in e}const PY=[],kd=!0,iS=!1,hv="skip";function QA(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=wp(a),o=n?-1:1;s(e,void 0,[])();function s(u,f,h){const d=u&&typeof u=="object"?u:{};if(typeof d.type=="string"){const v=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(u.type+(v?"<"+v+">":""))+")"})}return m;function m(){let v=PY,y,b,E;if((!t||i(u,f,h[h.length-1]||void 0))&&(v=BSe(r(u,h)),v[0]===iS))return v;if("children"in u&&u.children){const _=u;if(_.children&&v[0]!==hv)for(b=(n?_.children.length:-1)+o,E=h.concat(_);b>-1&&b<_.children.length;){const A=_.children[b];if(y=s(A,b,E)(),y[0]===iS)return y;b=typeof y[1]=="number"?y[1]:b+o}}return v}}}function BSe(e){return Array.isArray(e)?e:typeof e=="number"?[kd,e]:e==null?PY:[e]}function Tu(e,t,r,n){let a,i,o;typeof t=="function"&&typeof r!="function"?(i=void 0,o=t,a=r):(i=t,o=r,a=n),QA(e,i,s,a);function s(u,f){const h=f[f.length-1],d=h?h.children.indexOf(u):void 0;return o(u,d,h)}}const oS={}.hasOwnProperty,zSe={};function HSe(e,t){const r=t||zSe,n=new Map,a=new Map,i=new Map,o={...TSe,...r.handlers},s={all:f,applyData:$Se,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:o,one:u,options:r,patch:FSe,wrap:qSe};return Tu(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const d=h.type==="definition"?n:a,m=String(h.identifier).toUpperCase();d.has(m)||d.set(m,h)}}),s;function u(h,d){const m=h.type,v=s.handlers[m];if(oS.call(s.handlers,m)&&v)return v(s,h,d);if(s.options.passThrough&&s.options.passThrough.includes(m)){if("children"in h){const{children:b,...E}=h,_=Ff(E);return _.children=s.all(h),_}return Ff(h)}return(s.options.unknownHandler||USe)(s,h,d)}function f(h){const d=[];if("children"in h){const m=h.children;let v=-1;for(;++v<m.length;){const y=s.one(m[v],h);if(y){if(v&&m[v-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=Mj(y.value)),!Array.isArray(y)&&y.type==="element")){const b=y.children[0];b&&b.type==="text"&&(b.value=Mj(b.value))}Array.isArray(y)?d.push(...y):d.push(y)}}}return d}}function FSe(e,t){e.position&&(t.position=R_e(e))}function $Se(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const o="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:o}}r.type==="element"&&i&&Object.assign(r.properties,Ff(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function USe(e,t){const r=t.data||{},n="value"in t&&!(oS.call(r,"hProperties")||oS.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qSe(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:` 369`});++n<e.length;)n&&r.push({type:"text",value:` 370`}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:` 371`}),r}function Mj(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function Pj(e,t){const r=HSe(e,t),n=r.one(e,void 0),a=MSe(r),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&i.children.push({type:"text",value:` 372`},a),i}function VSe(e,t){return e&&"run"in e?async function(r,n){const a=Pj(r,{file:n,...t});await e.run(a,n)}:function(r,n){return Pj(r,{file:n,...e||t})}}function Ij(e){if(e)throw e}var d_,Dj;function GSe(){if(Dj)return d_;Dj=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},i=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var h=e.call(f,"constructor"),d=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!h&&!d)return!1;var m;for(m in f);return typeof m>"u"||e.call(f,m)},o=function(f,h){r&&h.name==="__proto__"?r(f,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):f[h.name]=h.newValue}
vendor: 10,798 bytes, line 372
372,s=function(f,h){if(h==="__proto__")if(e.call(f,h)){if(n)return n(f,h).value}else return;return f[h]};return d_=function u(){var f,h,d,m,v,y,b=arguments[0],E=1,_=arguments.length,A=!1;for(typeof b=="boolean"&&(A=b,b=arguments[1]||{},E=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});E<_;++E)if(f=arguments[E],f!=null)for(h in f)d=s(b,h),m=s(f,h),b!==m&&(A&&m&&(i(m)||(v=a(m)))?(v?(v=!1,y=d&&a(d)?d:[]):y=d&&i(d)?d:{},o(b,{name:h,newValue:u(A,y,m)})):typeof m<"u"&&o(b,{name:h,newValue:m}));return b},d_}var YSe=GSe();const h_=Yt(YSe);function sS(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function WSe(){const e=[],t={run:r,use:n};return t;function r(...a){let i=-1;const o=a.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...a);function s(u,...f){const h=e[++i];let d=-1;if(u){o(u);return}for(;++d<a.length;)(f[d]===null||f[d]===void 0)&&(f[d]=a[d]);a=f,h?KSe(h,s)(...f):o(null,...f)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function KSe(e,t){let r;return n;function n(...o){const s=e.length>o.length;let u;s&&o.push(a);try{u=e.apply(this,o)}catch(f){const h=f;if(s&&r)throw h;return a(h)}s||(u&&u.then&&typeof u.then=="function"?u.then(i,a):u instanceof Error?a(u):i(u))}function a(o,...s){r||(r=!0,t(o,...s))}function i(o){a(null,o)}}const Wi={basename:XSe,dirname:QSe,extname:ZSe,join:JSe,sep:"/"};function XSe(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Sp(e);let r=0,n=-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){r=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else o<0&&(i=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(n=a):(s=-1,n=o));return r===n?n=o:n<0&&(n=e.length),e.slice(r,n)}function QSe(e){if(Sp(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function ZSe(e){Sp(e);let t=e.length,r=-1,n=0,a=-1,i=0,o;for(;t--;){const s=e.codePointAt(t);if(s===47){if(o){n=t+1;break}continue}r<0&&(o=!0,r=t+1),s===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||r<0||i===0||i===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function JSe(...e){let t=-1,r;for(;++t<e.length;)Sp(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":eTe(r)}function eTe(e){Sp(e);const t=e.codePointAt(0)===47;let r=tTe(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function tTe(e,t){let r="",n=0,a=-1,i=0,o=-1,s,u;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(a===o-1||i===1))if(a!==o-1&&i===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(u=r.lastIndexOf("/"),u!==r.length-1){u<0?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),a=o,i=0;continue}}else if(r.length>0){r="",n=0,a=o,i=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,o):r=e.slice(a+1,o),n=o-a-1;a=o,i=0}else s===46&&i>-1?i++:i=-1}return r}function Sp(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const rTe={cwd:nTe};function nTe(){return"/"}function lS(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function aTe(e){if(typeof e=="string")e=new URL(e);else if(!lS(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 iTe(e)}function iTe(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===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 p_=["history","path","basename","stem","extname","dirname"];class IY{constructor(t){let r;t?lS(t)?r={path:t}:typeof t=="string"||oTe(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":rTe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<p_.length;){const i=p_[n];i in r&&r[i]!==void 0&&r[i]!==null&&(this[i]=i==="history"?[...r[i]]:r[i])}let a;for(a in r)p_.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?Wi.basename(this.path):void 0}set basename(t){g_(t,"basename"),m_(t,"basename"),this.path=Wi.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Wi.dirname(this.path):void 0}set dirname(t){Lj(this.basename,"dirname"),this.path=Wi.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Wi.extname(this.path):void 0}set extname(t){if(m_(t,"extname"),Lj(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=Wi.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){lS(t)&&(t=aTe(t)),g_(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Wi.basename(this.path,this.extname):void 0}set stem(t){g_(t,"stem"),m_(t,"stem"),this.path=Wi.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new Bn(t,r,n);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 m_(e,t){if(e&&e.includes(Wi.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Wi.sep+"`")}function g_(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Lj(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function oTe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const sTe=(function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i}),lTe={}.hasOwnProperty;class ZA extends sTe{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=WSe()}copy(){const t=new ZA;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(h_(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(b_("data",this.frozen),this.namespace[t]=r,this):lTe.call(this.namespace,t)&&this.namespace[t]||void 0:t?(b_("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[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=Tg(t),n=this.parser||this.Parser;return v_("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),v_("process",this.parser||this.Parser),y_("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,o){const s=Tg(t),u=n.parse(s);n.run(u,s,function(h,d,m){if(h||!d||!m)return f(h);const v=d,y=n.stringify(v,m);fTe(y)?m.value=y:m.result=y,f(h,m)});function f(h,d){h||!d?o(h):i?i(d):r(void 0,d)}}}processSync(t){let r=!1,n;return this.freeze(),v_("processSync",this.parser||this.Parser),y_("processSync",this.compiler||this.Compiler),this.process(t,a),Bj("processSync","process",r),n;function a(i,o){r=!0,Ij(i),n=o}}run(t,r,n){jj(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?i(void 0,n):new Promise(i);function i(o,s){const u=Tg(r);a.run(t,u,f);function f(h,d,m){const v=d||t;h?s(h):o?o(v):n(void 0,v,m)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),Bj("runSync","run",n),a;function i(o,s){Ij(o),a=s,n=!0}}stringify(t,r){this.freeze();const n=Tg(r),a=this.compiler||this.Compiler;return y_("stringify",a),jj(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(b_("use",this.frozen),t!=null)if(typeof t=="function")u(t,r);else if(typeof t=="object")Array.isArray(t)?s(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(f){if(typeof f=="function")u(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[h,...d]=f;u(h,d)}else o(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function o(f){if(!("plugins"in f)&&!("settings"in f))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(f.plugins),f.settings&&(a.settings=h_(!0,a.settings,f.settings))}function s(f){let h=-1;if(f!=null)if(Array.isArray(f))for(;++h<f.length;){const d=f[h];i(d)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function u(f,h){let d=-1,m=-1;for(;++d<n.length;)if(n[d][0]===f){m=d;break}if(m===-1)n.push([f,...h]);else if(h.length>0){let[v,...y]=h;const b=n[m][1];sS(b)&&sS(v)&&(v=h_(!0,b,v)),n[m]=[f,v,...y]}}}}const uTe=new ZA().freeze();function v_(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function y_(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function b_(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 jj(e){if(!sS(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Bj(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Tg(e){return cTe(e)?e:new IY(e)}function cTe(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}
vendor: 4,989 bytes, line 372
372function fTe(e){return typeof e=="string"||dTe(e)}function dTe(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const hTe="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",zj=[],Hj={allowDangerousHtml:!0},pTe=/^(https?|ircs?|mailto|xmpp)$/i,mTe=[{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 gTe(e){const t=vTe(e),r=yTe(e);return bTe(t.runSync(t.parse(r),r),e)}function vTe(e){const t=e.rehypePlugins||zj,r=e.remarkPlugins||zj,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Hj}:Hj;return uTe().use(J5e).use(r).use(VSe,n).use(t)}function yTe(e){const t=e.children||"",r=new IY;return typeof t=="string"&&(r.value=t),r}function bTe(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,o=t.skipHtml,s=t.unwrapDisallowed,u=t.urlTransform||xTe;for(const h of mTe)Object.hasOwn(t,h.from)&&(""+h.from+(h.to?"use `"+h.to+"` instead":"remove it")+hTe+h.id,void 0);return Tu(e,f),L_e(e,{Fragment:S.Fragment,components:a,ignoreInvalidStyle:!0,jsx:S.jsx,jsxs:S.jsxs,passKeys:!0,passNode:!0});function f(h,d,m){if(h.type==="raw"&&m&&typeof d=="number")return o?m.children.splice(d,1):m.children[d]={type:"text",value:h.value},d;if(h.type==="element"){let v;for(v in u_)if(Object.hasOwn(u_,v)&&Object.hasOwn(h.properties,v)){const y=h.properties[v],b=u_[v];(b===null||b.includes(h.tagName))&&(h.properties[v]=u(String(y||""),v,h))}}if(h.type==="element"){let v=r?!r.includes(h.tagName):i?i.includes(h.tagName):!1;if(!v&&n&&typeof d=="number"&&(v=!n(h,d,m)),v&&m&&typeof d=="number")return s&&h.children?m.children.splice(d,1,...h.children):m.children.splice(d,1),d}}}function xTe(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||r!==-1&&t>r||n!==-1&&t>n||pTe.test(e.slice(0,t))?e:""}const Fj=/[#.]/g;function ETe(e,t){const r=e||"",n={};let a=0,i,o;for(;a<r.length;){Fj.lastIndex=a;const s=Fj.exec(r),u=r.slice(a,s?s.index:r.length);u&&(i?i==="#"?n.id=u:Array.isArray(n.className)?n.className.push(u):n.className=[u]:o=u,a+=u.length),s&&(i=s[0],a++)}return{type:"element",tagName:o||t||"div",properties:n,children:[]}}function DY(e,t,r){const n=r?TTe(r):void 0;function a(i,o,...s){let u;if(i==null){u={type:"root",children:[]};const f=o;s.unshift(f)}else{u=ETe(i,t);const f=u.tagName.toLowerCase(),h=n?n.get(f):void 0;if(u.tagName=h||f,_Te(o))s.unshift(o);else for(const[d,m]of Object.entries(o))wTe(e,u.properties,d,m)}for(const f of s)uS(u.children,f);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return a}function _Te(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];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 wTe(e,t,r,n){const a=Xy(e,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=lj(n):a.commaSeparated?i=nj(n):a.commaOrSpaceSeparated?i=lj(nj(n).join(" ")):i=$j(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?STe(n):String(n);if(Array.isArray(i)){const o=[];for(const s of i)o.push($j(a,a.property,s));i=o}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function uS(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 r of t)uS(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?uS(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function $j(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);
vendor: 9,129 bytes, lines 372-374
372if((e.boolean||e.overloadedBoolean)&&(r===""||Vh(r)===Vh(t)))return!0}return r}function STe(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function TTe(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const ATe=["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"],LY=DY(Ep,"div"),jY=DY(wl,"g",ATe),ro={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 CTe(e,t){return BY(e,{})||{type:"root",children:[]}}function BY(e,t){const r=OTe(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function OTe(e,t){switch(e.nodeType){case 1:return MTe(e,t);case 3:return NTe(e);case 8:return RTe(e);case 9:return Uj(e,t);case 10:return kTe();case 11:return Uj(e,t);default:return}}function Uj(e,t){return{type:"root",children:zY(e,t)}}function kTe(){return{type:"doctype"}}function NTe(e){return{type:"text",value:e.nodeValue||""}}function RTe(e){return{type:"comment",value:e.nodeValue||""}}function MTe(e,t){const r=e.namespaceURI,n=r===ro.svg?jY:LY,a=r===ro.html?e.tagName.toLowerCase():e.tagName,i=r===ro.html&&a==="template"?e.content:e,o=e.getAttributeNames(),s={};let u=-1;for(;++u<o.length;)s[o[u]]=e.getAttribute(o[u])||"";return n(a,s,zY(i,t))}function zY(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=BY(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function PTe(e,t){const r=ITe(e);return CTe(r)}function ITe(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const qj=(function(e,t,r){const n=wp(r);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(n(e.children[t],t,e))return e.children[t]}),zu=(function(e){if(e==null)return jTe;if(typeof e=="string")return LTe(e);if(typeof e=="object")return DTe(e);if(typeof e=="function")return JA(e);throw new Error("Expected function, string, or array as `test`")});function DTe(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=zu(e[r]);return JA(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function LTe(e){return JA(t);function t(r){return r.tagName===e}}function JA(e){return t;function t(r,n,a){return!!(BTe(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function jTe(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function BTe(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Vj=/\n/g,Gj=/[\t ]+/g,cS=zu("br"),Yj=zu(GTe),zTe=zu("p"),Wj=zu("tr"),HTe=zu(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",VTe,YTe]),HY=zu(["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 FTe(e,t){const r=t||{},n="children"in e?e.children:[],a=HY(e),i=UY(e,{whitespace:r.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...$Y(e,{breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<n.length;)o.push(...FY(n[s],e,{whitespace:i,breakBefore:s?void 0:a,breakAfter:s<n.length-1?cS(n[s+1]):a}));const u=[];let f;for(s=-1;++s<o.length;){const h=o[s];typeof h=="number"?f!==void 0&&h>f&&(f=h):h&&(f!==void 0&&f>-1&&u.push(` 373`.repeat(f)||" "),f=-1,u.push(h))}return u.join("")}function FY(e,t,r){return e.type==="element"?$Te(e,t,r):e.type==="text"?r.whitespace==="normal"?$Y(e,r):UTe(e):[]}function $Te(e,t,r){const n=UY(e,r),a=e.children||[];let i=-1,o=[];if(HTe(e))return o;let s,u;for(cS(e)||Wj(e)&&qj(t,e,Wj)?u=` 374`:zTe(e)?(s=2,u=2):HY(e)&&(s=1,u=1);++i<a.length;)o=o.concat(FY(a[i],e,{whitespace:n,breakBefore:i?void 0:s,breakAfter:i<a.length-1?cS(a[i+1]):u}));return Yj(e)&&qj(t,e,Yj)&&o.push(" "),s&&o.unshift(s),u&&o.push(u),o}function $Y(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){Vj.lastIndex=i;const u=Vj.exec(r),f=u&&"index"in u?u.index:r.length;n.push(qTe(r.slice(i,f).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,f===r.length?t.breakAfter:!0)),i=f+1}let o=-1,s;for(;++o<n.length;)n[o].charCodeAt(n[o].length-1)===8203||o<n.length-1&&n[o+1].charCodeAt(0)===8203?(a.push(n[o]),s=void 0):n[o]?(typeof s=="number"&&a.push(s),a.push(n[o]),s=0):(o===0||o===n.length-1)&&a.push(0);return a}function UTe(e){return[String(e.value)]}function qTe(e,t,r){const n=[];let a=0,i;for(;a<e.length;){Gj.lastIndex=a;const o=Gj.exec(e);i=o?o.index:e.length,!a&&!i&&o&&!t&&n.push(""),a!==i&&n.push(e.slice(a,i)),a=o?i+o[0].length:i}return a!==i&&!r&&n.push(""),n.join(" ")}function UY(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function VTe(e){return!!(e.properties||{}).hidden}function GTe(e){return e.tagName==="td"||e.tagName==="th"}function YTe(e){return e.tagName==="dialog"&&!(e.properties||{}).open}class da{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new da(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class Ba{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new Ba(r,da.range(this,t))}}class Ie{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,a,i,o=r&&r.loc;if(o&&o.start<=o.end){var s=o.lexer.input;a=o.start,i=o.end,a===s.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var u=s.slice(a,i).replace(/[^]/g,"$&̲"),f;a>15?f="â¦"+s.slice(a-15,a):f=s.slice(0,a);var h;i+15<s.length?h=s.slice(i,i+15)+"â¦":h=s.slice(i),n+=f+u+h}var d=new Error(n);return d.name="ParseError",d.__proto__=Ie.prototype,d.position=a,a!=null&&i!=null&&(d.length=i-a),d.rawMessage=t,d}}Ie.prototype.__proto__=Error.prototype;var WTe=function(t,r){return t===void 0?r:t},KTe=/([A-Z])/g,XTe=function(t){return t.replace(KTe,"-$1").toLowerCase()},QTe={"&":"&",">":">","<":"<",'"':""","'":"'"},ZTe=/[&><"']/g;function JTe(e){return String(e).replace(ZTe,t=>QTe[t])}var qY=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},eAe=function(t){var r=qY(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},tAe=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},rAe=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},jt={deflt:WTe,escape:JTe,hyphenate:XTe,getBaseElem:qY,isCharacterBox:eAe,protocolFromUrl:rAe},qd={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)=>
vendor: 4,531 bytes, line 374
374(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 nAe(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class e8{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 r in qd)if(qd.hasOwnProperty(r)){var n=qd[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:nAe(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new Ie("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}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': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=jt.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class Gs{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return Qi[aAe[this.id]]}sub(){return Qi[iAe[this.id]]}fracNum(){return Qi[oAe[this.id]]}fracDen(){return Qi[sAe[this.id]]}cramp(){return Qi[lAe[this.id]]}text(){return Qi[uAe[this.id]]}isTight(){return this.size>=2}}var t8=0,pv=1,uf=2,es=3,Yh=4,oi=5,$f=6,Yn=7,Qi=[new Gs(t8,0,!1),new Gs(pv,0,!0),new Gs(uf,1,!1),new Gs(es,1,!0),new Gs(Yh,2,!1),new Gs(oi,2,!0),new Gs($f,3,!1),new Gs(Yn,3,!0)],aAe=[Yh,oi,Yh,oi,$f,Yn,$f,Yn],iAe=[oi,oi,oi,oi,Yn,Yn,Yn,Yn],oAe=[uf,es,Yh,oi,$f,Yn,$f,Yn],sAe=[es,es,oi,oi,Yn,Yn,Yn,Yn],lAe=[pv,pv,es,es,oi,oi,Yn,Yn],uAe=[t8,pv,uf,es,uf,es,uf,es],et={DISPLAY:Qi[t8],TEXT:Qi[uf],SCRIPT:Qi[Yh],SCRIPTSCRIPT:Qi[$f]},fS=[{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 cAe(e){for(var t=0;t<fS.length;t++)for(var r=fS[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var e1=[];
vendor: 4,413 bytes, lines 374-425
374fS.forEach(e=>e.blocks.forEach(t=>e1.push(...t)));function VY(e){for(var t=0;t<e1.length;t+=2)if(e>=e1[t]&&e<=e1[t+1])return!0;return!1}var $c=80,fAe=function(t,r){return"M95,"+(622+t+r)+` 375c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 376c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 377c44.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 378s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 379c69,-144,104.5,-217.7,106.5,-221 380l`+t/2.075+" -"+t+` 381c5.3,-9.3,12,-14,20,-14 382H400000v`+(40+t)+`H845.2724 383s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 384c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z 385M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},dAe=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119 386c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 387c340,-704.7,510.7,-1060.3,512,-1067 388l`+t/2.084+" -"+t+` 389c4.7,-7.3,11,-11,19,-11 390H40000v`+(40+t)+`H1012.3 391s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 392c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 393s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 394c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z 395M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},hAe=function(t,r){return"M983 "+(10+t+r)+` 396l`+t/3.13+" -"+t+` 397c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` 398H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 399s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 400c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 401c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 402c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 403c53.7,-170.3,84.5,-266.8,92.5,-289.5z 404M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},pAe=function(t,r){return"M424,"+(2398+t+r)+` 405c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 406c0,-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 407s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 408s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 409l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000 410v`+(40+t)+`H1014.6 411s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 412c-2,6,-10,9,-24,9 413c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+` 414h400000v`+(40+t)+"h-400000z"},mAe=function(t,r){return"M473,"+(2713+t+r)+` 415c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` 416c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7 417s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 418c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 419c0,-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 420s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 421606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},gAe=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},vAe=function(t,r,n){var a=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+` 422H742v`+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 423h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 424c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 425219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},yAe=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=fAe(r,$c);break;case"sqrtSize1":a=dAe(r,$c);break;case"sqrtSize2":a=hAe(r,$c);break;case"sqrtSize3":a=pAe(r,$c);break;case"sqrtSize4":a=mAe(r,$c);break;case"sqrtTall":a=vAe(r,$c,n)}return a},bAe=function(t,r){switch(t){case"â":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"â£":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"â¥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"â":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"â¢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"â¥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"âª":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"â":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"â":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},Kj
vendor: 15,381 bytes, lines 425-600
425={doubleleftarrow:`M262 157 426l10-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 427 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 428 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 429c2 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 430 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 431-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 432-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z 433m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l 434-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 435 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 436-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 437-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 438-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 439c-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 440-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 441 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 442-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 443c-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 444 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 445 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 446 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 447-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 448 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 449 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 450 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 451-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 452H435C64 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 453 435 0h399565z`,leftgroupunder:`M400000 262 454H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 455 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 456-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 457-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 458-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 459 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 460-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 461-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z 462m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 463 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 464 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 465-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 466 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 467-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 468v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 469-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 470-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 471 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z 472M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z 473M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 474-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 475c28.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 476 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z 477M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 478c-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 479-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 480 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 481 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 482c100.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 483 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 484 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 485-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 486-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z 487m368.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 48860.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 489-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z 490m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 491c0 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 492-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z 493m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 49485.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 495-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z 496m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 497c0 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 498-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 499 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 500 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 501-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 502-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 503 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l 504-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 505s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 506c124.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 507 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 508-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 509 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 510 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 511-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 512-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 513 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 514-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 515 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 516m0 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 517 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 518-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 519-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 520 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 521 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 522-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z 523m0-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 524 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 525-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 526 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 527M399960 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 528 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 529-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 530-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 531 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 532-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 533-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 534-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 535 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 536c-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 537 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 538 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 539-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 540 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 541-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 542 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 543 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 544-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 545-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 546 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 547c1 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 548 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 549-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 550 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 551 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 552 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 553-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 554 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 555 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 556 -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 5573.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 55810.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 559-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 560-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 561H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 562c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 563c-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 564-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 565-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 566-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, 567-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, 568-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, 569-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, 570-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 571c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 572c-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 573s-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 574121.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 575s2.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 576c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z 577M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 578-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 57913.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 580-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 581-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 582-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 583151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 584c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 585c2,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 586c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 587c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z 588M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 589c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 590-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 591c-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 592M0 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 593c1.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, 5941c0,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, 595-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z 596M93 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 597c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 598-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 599c-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 600M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 3,201 bytes, lines 600-628
600xAe=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84 601H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z 602M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15 603c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 604c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15 605c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 606c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z 607M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15 608c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 609c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z 610MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z 611MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z 612M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z 613M347 1759 V0 h-84 V1759 v`+r+" 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 614c-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, 615-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 616949.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 617c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, 618-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 619l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, 620-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, 62163,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 622c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+` 623c-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 624c-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 625c0,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 626c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 627l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, 628-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 Tp{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(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var no
vendor: 57,629 bytes, line 628
628={"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,747 bytes, line 628
628Ag={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]},Xj={Ã
:"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 GY(e,t){no[e]=t}function r8(e,t,r){if(!no[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=no[t][n];if(!a&&e[0]in Xj&&(n=Xj[e[0]].charCodeAt(0),a=no[t][n]),!a&&r==="text"&&VY(n)&&(a=no[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var x_={};function EAe(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!x_[t]){var r=x_[t]={cssEmPerMu:Ag.quad[t]/18};for(var n in Ag)Ag.hasOwnProperty(n)&&(r[n]=Ag[n][t])}return x_[t]}var _Ae=[[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]],Qj=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Zj=function(t,r){return r.size<2?t:_Ae[t-1][r.size-1]};class qo{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||qo.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=Qj[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,ph
vendor: 9,586 bytes, line 628
628antom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new qo(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Zj(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:Qj[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Zj(qo.BASESIZE,t);return this.size===r&&this.textSize===qo.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}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!==qo.BASESIZE?["sizing","reset-size"+this.size,"size"+qo.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=EAe(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}qo.BASESIZE=6;var dS={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},wAe={ex:!0,em:!0,mu:!0},YY=function(t){return typeof t!="string"&&(t=t.unit),t in dS||t in wAe||t==="ex"},Sr=function(t,r){var n;if(t.unit in dS)n=dS[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new Ie("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},Be=function(t){return+t.toFixed(4)+"em"},pl=function(t){return t.filter(r=>r).join(" ")},WY=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},KY=function(t){var r=document.createElement(t);r.className=pl(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},SAe=/[\s"'>/=\x00-\x1f]/,XY=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+jt.escape(pl(this.classes))+'"');var n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=jt.hyphenate(a)+":"+this.style[a]+";");n&&(r+=' style="'+jt.escape(n)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(SAe.test(i))throw new Ie("Invalid attribute name '"+i+"'");r+=" "+i+'="'+jt.escape(this.attributes[i])+'"'}r+=">";for(var o=0;o<this.children.length;o++)r+=this.children[o].toMarkup();return r+="</"+t+">",r};class Ap{constructor(t,r,n,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,WY.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return KY.call(this,"span")}toMarkup(){return XY.call(this,"span")}}class n8{constructor(t,r,n,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,WY.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return KY.call(this,"a")}toMarkup(){return XY.call(this,"a")}}class TAe{constructor(t,r,n){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=r,this.src=t,this.classes=["mord"],this.style=n}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 r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+jt.escape(this.src)+'"'+(' alt="'+jt.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=jt.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+jt.escape(r)+'"'),t+="'/>",t}}var AAe={î:"ıÌ",ï:"ıÌ",Ã:"ıÌ",ì:"ıÌ"};class di{constructor(t,r,n,a,i,o,s,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=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=o||0,this.classes=s||[],this.style=u||{},this.maxFontSize=0;var f=cAe(this.text.charCodeAt(0));f&&this.classes.push(f+"_fallback"),/[îïÃì]/.test(this.text)&&(this.text=AAe[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=Be(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=pl(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=jt.escape(pl(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=jt.hyphenate(a)+":"+this.style[a]+";");n&&(t=!0,r+=' style="'+jt.escape(n)+'"');var i=jt.escape(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class ls{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+jt.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class ml{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",Kj[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+jt.escape(this.alternate)+'"/>':'<path d="'+jt.escape(Kj[this.pathName])+'"/>'}}class hS{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+jt.escape(this.attributes[r])+'"');return t+="/>",t}}function Jj(e){if(e instanceof di)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function CAe(e){if(e instanceof Ap)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var OAe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},kAe={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},fr={math:{},text:{}};function N(e,t,r,n,a,i){fr[e][a]={font:t,group:r,replace:n},i&&n&&(fr[e][n]=fr[e][a])}var I="math",ke="text",B="main",ne="ams",Er="accent-token",qe="bin",Xn="close",a0="inner",Je="mathord",Kr="op-token",za="open",rb="punct",ae="rel",gs="spacing",ce="textord";N(I,B,ae,"â¡","\\equiv",!0);N(I,B,ae,"âº","\\prec",!0);N(I,B,ae,"â»","\\succ",!0);N(I,B,ae,"â¼","\\sim",!0);N(I,B,ae,"â¥","\\perp");N(I,B,ae,"⪯","\\preceq",!0);N(I,B,ae,"⪰","\\succeq",!0);N(I,B,ae,"â","\\simeq",!0);N(I,B,ae,"â£","\\mid",!0);N(I,B,ae,"âª","\\ll",!0);N(I,B,ae,"â«","\\gg",!0);N(I,B,ae,"â","\\asymp",!0);N(I,B,ae,"â¥","\\parallel");N(I,B,ae,"â","\\bowtie",!0);N(I,B,ae,"â£","\\smile",!0);N(I,B,ae,"â","\\sqsubseteq",!0);N(I,B,ae,"â","\\sqsupseteq",!0);N(I,B,ae,"â","\\doteq",!0);N(I,B,ae,"â¢","\\frown",!0);N(I,B,ae,"â","\\ni",!0);N(I,B,ae,"â","\\propto",!0);N(I,B,ae,"â¢","\\vdash",!0);N(I,B,ae,"â£","\\dashv",!0);N(I,B,ae,"â","\\owns");N(I,B,rb,".","\\ldotp");N(I,B,rb,"â
","\\cdotp");N(I,B,ce,"#","\\#");N(ke,B,ce,"#","\\#");N(I,B,ce,"&","\\&");N(ke,B,ce,"&","\\&");N(I,B,ce,"âµ","\\aleph",!0);N(I,B,ce,"â","\\forall",!0);N(I,B,ce,"â","\\hbar",!0);N(I,B,ce,"â","\\exists",!0);N(I,B,ce,"â","\\nabla",!0);N(I,B,ce,"â","\\flat",!0);N(I,B,ce,"â","\\ell",!0);N(I,B,ce,"â®","\\natural",!0);N(I,B,ce,"â£","\\clubsuit",!0);N(I,B,ce,"â","\\wp",!0);N(I,B,ce,"â¯","\\sharp",!0);N(I,B,ce,"â¢","\\diamondsuit",!0);
628N(I,B,ce,"â","\\Re",!0);N(I,B,ce,"â¡","\\heartsuit",!0);N(I,B,ce,"â","\\Im",!0);N(I,B,ce,"â ","\\spadesuit",!0);N(I,B,ce,"§","\\S",!0);N(ke,B,ce,"§","\\S");N(I,B,ce,"¶","\\P",!0);N(ke,B,ce,"¶","\\P");N(I,B,ce,"â ","\\dag");N(ke,B,ce,"â ","\\dag");N(ke,B,ce,"â ","\\textdagger");N(I,B,ce,"â¡","\\ddag");N(ke,B,ce,"â¡","\\ddag");N(ke,B,ce,"â¡","\\textdaggerdbl");N(I,B,Xn,"â±","\\rmoustache",!0);N(I,B,za,"â°","\\lmoustache",!0);N(I,B,Xn,"â¯","\\rgroup",!0);N(I,B,za,"â®","\\lgroup",!0);N(I,B,qe,"â","\\mp",!0);N(I,B,qe,"â","\\ominus",!0);N(I,B,qe,"â","\\uplus",!0);N(I,B,qe,"â","\\sqcap",!0);N(I,B,qe,"â","\\ast");N(I,B,qe,"â","\\sqcup",!0);N(I,B,qe,"â¯","\\bigcirc",!0);N(I,B,qe,"â","\\bullet",!0);N(I,B,qe,"â¡","\\ddagger");N(I,B,qe,"â","\\wr",!0);N(I,B,qe,"⨿","\\amalg");N(I,B,qe,"&","\\And");N(I,B,ae,"âµ","\\longleftarrow",!0);N(I,B,ae,"â","\\Leftarrow",!0);N(I,B,ae,"â¸","\\Longleftarrow",!0);N(I,B,ae,"â¶","\\longrightarrow",!0);N(I,B,ae,"â","\\Rightarrow",!0);N(I,B,ae,"â¹","\\Longrightarrow",!0);N(I,B,ae,"â","\\leftrightarrow",!0);N(I,B,ae,"â·","\\longleftrightarrow",!0);N(I,B,ae,"â","\\Leftrightarrow",!0);N(I,B,ae,"âº","\\Longleftrightarrow",!0);N(I,B,ae,"â¦","\\mapsto",!0);N(I,B,ae,"â¼","\\longmapsto",!0);N(I,B,ae,"â","\\nearrow",!0);N(I,B,ae,"â©","\\hookleftarrow",!0);N(I,B,ae,"âª","\\hookrightarrow",!0);N(I,B,ae,"â","\\searrow",!0);N(I,B,ae,"â¼","\\leftharpoonup",!0);N(I,B,ae,"â","\\rightharpoonup",!0);N(I,B,ae,"â","\\swarrow",!0);N(I,B,ae,"â½","\\leftharpoondown",!0);N(I,B,ae,"â","\\rightharpoondown",!0);N(I,B,ae,"â","\\nwarrow",!0);N(I,B,ae,"â","\\rightleftharpoons",!0);N(I,ne,ae,"â®","\\nless",!0);N(I,ne,ae,"î","\\@nleqslant");N(I,ne,ae,"î","\\@nleqq");N(I,ne,ae,"âª","\\lneq",!0);N(I,ne,ae,"â¨","\\lneqq",!0);N(I,ne,ae,"î","\\@lvertneqq");N(I,ne,ae,"â¦","\\lnsim",!0);N(I,ne,ae,"âª","\\lnapprox",!0);N(I,ne,ae,"â","\\nprec",!0);N(I,ne,ae,"â ","\\npreceq",!0);N(I,ne,ae,"â¨","\\precnsim",!0);N(I,ne,ae,"⪹","\\precnapprox",!0);N(I,ne,ae,"â","\\nsim",!0);N(I,ne,ae,"î","\\@nshortmid");N(I,ne,ae,"â¤","\\nmid",!0);N(I,ne,ae,"â¬","\\nvdash",!0);N(I,ne,ae,"â","\\nvDash",!0);N(I,ne,ae,"âª","\\ntriangleleft");N(I,ne,ae,"â¬","\\ntrianglelefteq",!0);N(I,ne,ae,"â","\\subsetneq",!0);N(I,ne,ae,"î","\\@varsubsetneq");N(I,ne,ae,"â«","\\subsetneqq",!0);N(I,ne,ae,"î","\\@varsubsetneqq");N(I,ne,ae,"â¯","\\ngtr",!0);N(I,ne,ae,"î","\\@ngeqslant");N(I,ne,ae,"î","\\@ngeqq");N(I,ne,ae,"âª","\\gneq",!0);N(I,ne,ae,"â©","\\gneqq",!0);N(I,ne,ae,"î","\\@gvertneqq");N(I,ne,ae,"â§","\\gnsim",!0);N(I,ne,ae,"âª","\\gnapprox",!0);N(I,ne,ae,"â","\\nsucc",!0);N(I,ne,ae,"â¡","\\nsucceq",!0);N(I,ne,ae,"â©","\\succnsim",!0);N(I,ne,ae,"⪺","\\succnapprox",!0);N(I,ne,ae,"â","\\ncong",!0);N(I,ne,ae,"î","\\@nshortparallel");N(I,ne,ae,"â¦","\\nparallel",!0);N(I,ne,ae,"â¯","\\nVDash",!0);N(I,ne,ae,"â«","\\ntriangleright");N(I,ne,ae,"â","\\ntrianglerighteq",!0);N(I,ne,ae,"î","\\@nsupseteqq");N(I,ne,ae,"â","\\supsetneq",!0);N(I,ne,ae,"î","\\@varsupsetneq");N(I,ne,ae,"â«","\\supsetneqq",!0);N(I,ne,ae,"î","\\@varsupsetneqq");N(I,ne,ae,"â®","\\nVdash",!0);N(I,ne,ae,"⪵","\\precneqq",!0);N(I,ne,ae,"⪶","\\succneqq",!0);N(I,ne,ae,"î","\\@nsubseteqq");N(I,ne,qe,"â´","\\unlhd");N(I,ne,qe,"âµ","\\unrhd");N(I,ne,ae,"â","\\nleftarrow",!0);N(I,ne,ae,"â","\\nrightarrow",!0);N(I,ne,ae,"â","\\nLeftarrow",!0);N(I,ne,ae,"â","\\nRightarrow",!0);N(I,ne,ae,"â®","\\nleftrightarrow",!0);N(I,ne,ae,"â","\\nLeftrightarrow",!0);N(I,ne,ae,"â³","\\vartriangle");N(I,ne,ce,"â","\\hslash");N(I,ne,ce,"â½","\\triangledown");N(I,ne,ce,"â","\\lozenge");N(I,ne,ce,"â","\\circledS");N(I,ne,ce,"®","\\circledR");N(ke,ne,ce,"®","\\circledR");N(I,ne,ce,"â¡","\\measuredangle",!0);N(I,ne,ce,"â","\\nexists");N(I,ne,ce,"â§","\\mho");N(I,ne,ce,"â²","\\Finv",!0);N(I,ne,ce,"â
","\\Game",!0);N(I,ne,ce,"âµ","\\backprime");N(I,ne,ce,"â²","\\blacktriangle");N(I,ne,ce,"â¼","\\blacktriangledown");N(I,ne,ce,"â ","\\blacksquare");N(I,ne,ce,"â§«","\\blacklozenge");N(I,ne,ce,"â
","\\bigstar");N(I,ne,ce,"â¢","\\sphericalangle",!0);N(I,ne,ce,"â","\\complement",!0);N(I,ne,ce,"ð","\\eth",!0);N(ke,B,ce,"ð","ð");N(I,ne,ce,"â±","\\diagup");N(I,ne,ce,"â²","\\diagdown");N(I,ne,ce,"â¡","\\square");N(I,ne,ce,"â¡","\\Box");N(I,ne,ce,"â","\\Diamond");N(I,ne,ce,"Â¥","\\yen",!0);N(ke,ne,ce,"Â¥","\\yen",!0);N(I,ne,ce,"â","\\checkmark",!0);N(ke,ne,ce,"â","\\checkmark");N(I,ne,ce,"â¶","\\beth",!0);N(I,ne,ce,"â¸","\\daleth",!0);N(I,ne,ce,"â·","\\gimel",!0);N(I,ne,ce,"Ï","\\digamma",!0);N(I,ne,ce,"ϰ","\\varkappa");N(I,ne,za,"â","\\@ulcorner",!0);N(I,ne,Xn,"â","\\@urcorner",!0);
628N(I,ne,za,"â","\\@llcorner",!0);N(I,ne,Xn,"â","\\@lrcorner",!0);N(I,ne,ae,"â¦","\\leqq",!0);N(I,ne,ae,"⩽","\\leqslant",!0);N(I,ne,ae,"âª","\\eqslantless",!0);N(I,ne,ae,"â²","\\lesssim",!0);N(I,ne,ae,"âª
","\\lessapprox",!0);N(I,ne,ae,"â","\\approxeq",!0);N(I,ne,qe,"â","\\lessdot");N(I,ne,ae,"â","\\lll",!0);N(I,ne,ae,"â¶","\\lessgtr",!0);N(I,ne,ae,"â","\\lesseqgtr",!0);N(I,ne,ae,"âª","\\lesseqqgtr",!0);N(I,ne,ae,"â","\\doteqdot");N(I,ne,ae,"â","\\risingdotseq",!0);N(I,ne,ae,"â","\\fallingdotseq",!0);N(I,ne,ae,"â½","\\backsim",!0);N(I,ne,ae,"â","\\backsimeq",!0);N(I,ne,ae,"â«
","\\subseteqq",!0);N(I,ne,ae,"â","\\Subset",!0);N(I,ne,ae,"â","\\sqsubset",!0);N(I,ne,ae,"â¼","\\preccurlyeq",!0);N(I,ne,ae,"â","\\curlyeqprec",!0);N(I,ne,ae,"â¾","\\precsim",!0);N(I,ne,ae,"⪷","\\precapprox",!0);N(I,ne,ae,"â²","\\vartriangleleft");N(I,ne,ae,"â´","\\trianglelefteq");N(I,ne,ae,"â¨","\\vDash",!0);N(I,ne,ae,"âª","\\Vvdash",!0);N(I,ne,ae,"â£","\\smallsmile");N(I,ne,ae,"â¢","\\smallfrown");N(I,ne,ae,"â","\\bumpeq",!0);N(I,ne,ae,"â","\\Bumpeq",!0);N(I,ne,ae,"â§","\\geqq",!0);N(I,ne,ae,"⩾","\\geqslant",!0);N(I,ne,ae,"âª","\\eqslantgtr",!0);N(I,ne,ae,"â³","\\gtrsim",!0);N(I,ne,ae,"âª","\\gtrapprox",!0);N(I,ne,qe,"â","\\gtrdot");N(I,ne,ae,"â","\\ggg",!0);N(I,ne,ae,"â·","\\gtrless",!0);N(I,ne,ae,"â","\\gtreqless",!0);N(I,ne,ae,"âª","\\gtreqqless",!0);N(I,ne,ae,"â","\\eqcirc",!0);N(I,ne,ae,"â","\\circeq",!0);N(I,ne,ae,"â","\\triangleq",!0);N(I,ne,ae,"â¼","\\thicksim");N(I,ne,ae,"â","\\thickapprox");N(I,ne,ae,"â«","\\supseteqq",!0);N(I,ne,ae,"â","\\Supset",!0);N(I,ne,ae,"â","\\sqsupset",!0);N(I,ne,ae,"â½","\\succcurlyeq",!0);N(I,ne,ae,"â","\\curlyeqsucc",!0);N(I,ne,ae,"â¿","\\succsim",!0);N(I,ne,ae,"⪸","\\succapprox",!0);N(I,ne,ae,"â³","\\vartriangleright");N(I,ne,ae,"âµ","\\trianglerighteq");N(I,ne,ae,"â©","\\Vdash",!0);N(I,ne,ae,"â£","\\shortmid");N(I,ne,ae,"â¥","\\shortparallel");N(I,ne,ae,"â¬","\\between",!0);N(I,ne,ae,"â","\\pitchfork",!0);N(I,ne,ae,"â","\\varpropto");N(I,ne,ae,"â","\\blacktriangleleft");N(I,ne,ae,"â´","\\therefore",!0);N(I,ne,ae,"â","\\backepsilon");N(I,ne,ae,"â¶","\\blacktriangleright");N(I,ne,ae,"âµ","\\because",!0);N(I,ne,ae,"â","\\llless");N(I,ne,ae,"â","\\gggtr");N(I,ne,qe,"â²","\\lhd");N(I,ne,qe,"â³","\\rhd");N(I,ne,ae,"â","\\eqsim",!0);N(I,B,ae,"â","\\Join");N(I,ne,ae,"â","\\Doteq",!0);N(I,ne,qe,"â","\\dotplus",!0);N(I,ne,qe,"â","\\smallsetminus");N(I,ne,qe,"â","\\Cap",!0);N(I,ne,qe,"â","\\Cup",!0);N(I,ne,qe,"â©","\\doublebarwedge",!0);N(I,ne,qe,"â","\\boxminus",!0);N(I,ne,qe,"â","\\boxplus",!0);N(I,ne,qe,"â","\\divideontimes",!0);N(I,ne,qe,"â","\\ltimes",!0);N(I,ne,qe,"â","\\rtimes",!0);N(I,ne,qe,"â","\\leftthreetimes",!0);N(I,ne,qe,"â","\\rightthreetimes",!0);N(I,ne,qe,"â","\\curlywedge",!0);N(I,ne,qe,"â","\\curlyvee",!0);N(I,ne,qe,"â","\\circleddash",!0);N(I,ne,qe,"â","\\circledast",!0);N(I,ne,qe,"â
","\\centerdot");N(I,ne,qe,"âº","\\intercal",!0);N(I,ne,qe,"â","\\doublecap");N(I,ne,qe,"â","\\doublecup");N(I,ne,qe,"â ","\\boxtimes",!0);N(I,ne,ae,"â¢","\\dashrightarrow",!0);N(I,ne,ae,"â ","\\dashleftarrow",!0);N(I,ne,ae,"â","\\leftleftarrows",!0);N(I,ne,ae,"â","\\leftrightarrows",!0);N(I,ne,ae,"â","\\Lleftarrow",!0);N(I,ne,ae,"â","\\twoheadleftarrow",!0);N(I,ne,ae,"â¢","\\leftarrowtail",!0);N(I,ne,ae,"â«","\\looparrowleft",!0);N(I,ne,ae,"â","\\leftrightharpoons",!0);N(I,ne,ae,"â¶","\\curvearrowleft",!0);N(I,ne,ae,"âº","\\circlearrowleft",!0);N(I,ne,ae,"â°","\\Lsh",!0);N(I,ne,ae,"â","\\upuparrows",!0);N(I,ne,ae,"â¿","\\upharpoonleft",!0);N(I,ne,ae,"â","\\downharpoonleft",!0);N(I,B,ae,"â¶","\\origof",!0);N(I,B,ae,"â·","\\imageof",!0);N(I,ne,ae,"â¸","\\multimap",!0);N(I,ne,ae,"â","\\leftrightsquigarrow",!0);N(I,ne,ae,"â","\\rightrightarrows",!0);N(I,ne,ae,"â","\\rightleftarrows",!0);N(I,ne,ae,"â ","\\twoheadrightarrow",!0);N(I,ne,ae,"â£","\\rightarrowtail",!0);N(I,ne,ae,"â¬","\\looparrowright",!0);N(I,ne,ae,"â·","\\curvearrowright",!0);N(I,ne,ae,"â»","\\circlearrowright",!0);N(I,ne,ae,"â±","\\Rsh",!0);N(I,ne,ae,"â","\\downdownarrows",!0);N(I,ne,ae,"â¾","\\upharpoonright",!0);N(I,ne,ae,"â","\\downharpoonright",!0);N(I,ne,ae,"â","\\rightsquigarrow",!0);N(I,ne,ae,"â","\\leadsto");N(I,ne,ae,"â","\\Rrightarrow",!0);N(I,ne,ae,"â¾","\\restriction");N(I,B,ce,"â","`");N(I,B,ce,"$","\\$");N(ke,B,ce,"$","\\$");N(ke,B,ce,"$","\\textdollar");N(I,B,ce,"%","\\%");N(ke,B,ce,"%","\\%");N(I,B,ce,"_","\\_");N(ke,B,ce,"_","\\_");N(ke,B,ce,"_","\\textunderscore");N(I,B,ce,"â ","\\angle",!0);N(I,B,ce,"â","\\infty",!0);N(I,B,ce,"â²","\\prime");N(I,B,ce,"â³","\\triangle");N(I,B,ce,"Î","\\Gamma",!0);N(I,B,ce,"Î","\\Delta",!0);N(I,B,ce,"Î","\\Theta",!0);N(I,B,ce,"Î","\\Lambda",!0);N(I,B,ce,"Î","\\Xi",!0);N(I,B,ce,"Î ","\\Pi",!0);N(I,B,ce,"Σ","\\Sigma",!0);N(I,B,ce,"Î¥","\\Upsilon",!0);N(I,B,ce,"Φ","\\Phi",!0);N(I,B,ce,"Ψ","\\Psi",!0);N(I,B,ce,"Ω","\\Omega",!0);N(I,B,ce,"A","Î");N(I,B,ce,"B","Î");N(I,B,ce,"E","Î");N(I,B,ce,"Z","Î");N(I,B,ce,"H","Î");N(I,B,ce,"I","Î");N(I,B,ce,"K","Î");N(I,B,ce,"M","Î");N(I,B,ce,"N","Î");N(I,B,ce,"O","Î");N(I,B,ce,"P","Ρ");N(I,B,ce,"T","Τ");N(I,B,ce,"X","Χ");N(I,B,ce,"¬","\\neg",!0);N(I,B,ce,"¬","\\lnot");N(I,B,ce,"â¤","\\top");N(I,B,ce,"â¥","\\bot");N(I,B,ce,"â
","\\emptyset");N(I,ne,ce,"â
","\\varnothing");N(I,B,Je,"α","\\alpha",!0);N(I,B,Je,"β","\\beta",!0);N(I,B,Je,"γ","\\gamma",!0);N(I,B,Je,"δ","\\delta",!0);N(I,B,Je,"ϵ","\\epsilon",!0);N(I,B,Je,"ζ","\\zeta",!0);N(I,B,Je,"η","\\eta",!0);N(I,B,Je,"θ","\\theta",!0);N(I,B,Je,"ι","\\iota",!0);N(I,B,Je,"κ","\\kappa",!0);N(I,B,Je,"λ","\\lambda",!0);N(I,B,Je,"μ","\\mu",!0);N(I,B,Je,"ν","\\nu",!0);N(I,B,Je,"ξ","\\xi",!0);N(I,B,Je,"ο","\\omicron",!0);N(I,B,Je,"Ï","\\pi",!0);N(I,B,Je,"Ï","\\rho",!0);N(I,B,Je,"Ï","\\sigma",!0);N(I,B,Je,"Ï","\\tau",!0);N(I,B,Je,"Ï
","\\upsilon",!0);N(I,B,Je,"Ï","\\phi",!0);N(I,B,Je,"Ï","\\chi",!0);N(I,B,Je,"Ï","\\psi",!0);N(I,B,Je,"Ï","\\omega",!0);N(I,B,Je,"ε","\\varepsilon",!0);N(I,B,Je,"Ï","\\vartheta",!0);N(I,B,Je,"Ï","\\varpi",!0);N(I,B,Je,"ϱ","\\varrho",!0);N(I,B,Je,"Ï","\\varsigma",!0);N(I,B,Je,"Ï","\\varphi",!0);N(I,B,qe,"â","*",!0);N(I,B,qe,"+","+");N(I,B,qe,"â","-",!0);N(I,B,qe,"â
","\\cdot",!0);N(I,B,qe,"â","\\circ",!0);N(I,B,qe,"÷","\\div",!0);N(I,B,qe,"±","\\pm",!0);N(I,B,qe,"Ã","\\times",!0);N(I,B,qe,"â©","\\cap",!0);N(I,B,qe,"âª","\\cup",!0);N(I,B,qe,"â","\\setminus",!0);N(I,B,qe,"â§","\\land");N(I,B,qe,"â¨","\\lor");N(I,B,qe,"â§","\\wedge",!0);N(I,B,qe,"â¨","\\vee",!0);N(I,B,ce,"â","\\surd");N(I,B,za,"â¨","\\langle",!0);N(I,B,za,"â£","\\lvert");N(I,B,za,"â¥","\\lVert");N(I,B,Xn,"?","?");N(I,B,Xn,"!","!");N(I,B,Xn,"â©","\\rangle",!0);N(I,B,Xn,"â£","\\rvert");N(I,B,Xn,"â¥","\\rVert");N(I,B,ae,"=","=");N(I,B,ae,":",":");N(I,B,ae,"â","\\approx",!0);N(I,B,ae,"â
","\\cong",!0);N(I,B,ae,"â¥","\\ge");N(I,B,ae,"â¥","\\geq",!0);N(I,B,ae,"â","\\gets");N(I,B,ae,">","\\gt",!0);N(I,B,ae,"â","\\in",!0);N(I,B,ae,"î ","\\@not");N(I,B,ae,"â","\\subset",!0);N(I,B,ae,"â","\\supset",!0);N(I,B,ae,"â","\\subseteq",!0);N(I,B,ae,"â","\\supseteq",!0);N(I,ne,ae,"â","\\nsubseteq",!0);N(I,ne,ae,"â","\\nsupseteq",!0);N(I,B,ae,"â¨","\\models");N(I,B,ae,"â","\\leftarrow",!0);N(I,B,ae,"â¤","\\le");N(I,B,ae,"â¤","\\leq",!0);N(I,B,ae,"<","\\lt",!0);N(I,B,ae,"â","\\rightarrow",!0);N(I,B,ae,"â","\\to");N(I,ne,ae,"â±","\\ngeq",!0);N(I,ne,ae,"â°","\\nleq",!0);N(I,B,gs," ","\\ ");N(I,B,gs," ","\\space");N(I,B,gs," ","\\nobreakspace");N(ke,B,gs," ","\\ ");N(ke,B,gs," "," ");N(ke,B,gs," ","\\space");N(ke,B,gs," ","\\nobreakspace");N(I,B,gs,null,"\\nobreak");N(I,B,gs,null,"\\allowbreak");N(I,B,rb,",",",");N(I,B,rb,";",";");N(I,ne,qe,"â¼","\\barwedge",!0);N(I,ne,qe,"â»","\\veebar",!0);N(I,B,qe,"â","\\odot",!0);N(I,B,qe,"â","\\oplus",!0);N(I,B,qe,"â","\\otimes",!0);N(I,B,ce,"â","\\partial",!0);N(I,B,qe,"â","\\oslash",!0);N(I,ne,qe,"â","\\circledcirc",!0);N(I,ne,qe,"â¡","\\boxdot",!0);
vendor: 9,229 bytes, line 628
628N(I,B,qe,"â³","\\bigtriangleup");N(I,B,qe,"â½","\\bigtriangledown");N(I,B,qe,"â ","\\dagger");N(I,B,qe,"â","\\diamond");N(I,B,qe,"â","\\star");N(I,B,qe,"â","\\triangleleft");N(I,B,qe,"â¹","\\triangleright");N(I,B,za,"{","\\{");N(ke,B,ce,"{","\\{");N(ke,B,ce,"{","\\textbraceleft");N(I,B,Xn,"}","\\}");N(ke,B,ce,"}","\\}");N(ke,B,ce,"}","\\textbraceright");N(I,B,za,"{","\\lbrace");N(I,B,Xn,"}","\\rbrace");N(I,B,za,"[","\\lbrack",!0);N(ke,B,ce,"[","\\lbrack",!0);N(I,B,Xn,"]","\\rbrack",!0);N(ke,B,ce,"]","\\rbrack",!0);N(I,B,za,"(","\\lparen",!0);N(I,B,Xn,")","\\rparen",!0);N(ke,B,ce,"<","\\textless",!0);N(ke,B,ce,">","\\textgreater",!0);N(I,B,za,"â","\\lfloor",!0);N(I,B,Xn,"â","\\rfloor",!0);N(I,B,za,"â","\\lceil",!0);N(I,B,Xn,"â","\\rceil",!0);N(I,B,ce,"\\","\\backslash");N(I,B,ce,"â£","|");N(I,B,ce,"â£","\\vert");N(ke,B,ce,"|","\\textbar",!0);N(I,B,ce,"â¥","\\|");N(I,B,ce,"â¥","\\Vert");N(ke,B,ce,"â¥","\\textbardbl");N(ke,B,ce,"~","\\textasciitilde");N(ke,B,ce,"\\","\\textbackslash");N(ke,B,ce,"^","\\textasciicircum");N(I,B,ae,"â","\\uparrow",!0);N(I,B,ae,"â","\\Uparrow",!0);N(I,B,ae,"â","\\downarrow",!0);N(I,B,ae,"â","\\Downarrow",!0);N(I,B,ae,"â","\\updownarrow",!0);N(I,B,ae,"â","\\Updownarrow",!0);N(I,B,Kr,"â","\\coprod");N(I,B,Kr,"â","\\bigvee");N(I,B,Kr,"â","\\bigwedge");N(I,B,Kr,"â¨","\\biguplus");N(I,B,Kr,"â","\\bigcap");N(I,B,Kr,"â","\\bigcup");N(I,B,Kr,"â«","\\int");N(I,B,Kr,"â«","\\intop");N(I,B,Kr,"â¬","\\iint");N(I,B,Kr,"â","\\iiint");N(I,B,Kr,"â","\\prod");N(I,B,Kr,"â","\\sum");N(I,B,Kr,"â¨","\\bigotimes");N(I,B,Kr,"â¨","\\bigoplus");N(I,B,Kr,"â¨","\\bigodot");N(I,B,Kr,"â®","\\oint");N(I,B,Kr,"â¯","\\oiint");N(I,B,Kr,"â°","\\oiiint");N(I,B,Kr,"â¨","\\bigsqcup");N(I,B,Kr,"â«","\\smallint");N(ke,B,a0,"â¦","\\textellipsis");N(I,B,a0,"â¦","\\mathellipsis");N(ke,B,a0,"â¦","\\ldots",!0);N(I,B,a0,"â¦","\\ldots",!0);N(I,B,a0,"â¯","\\@cdots",!0);N(I,B,a0,"â±","\\ddots",!0);N(I,B,ce,"â®","\\varvdots");N(ke,B,ce,"â®","\\varvdots");N(I,B,Er,"Ë","\\acute");N(I,B,Er,"Ë","\\grave");N(I,B,Er,"¨","\\ddot");N(I,B,Er,"~","\\tilde");N(I,B,Er,"Ë","\\bar");N(I,B,Er,"Ë","\\breve");N(I,B,Er,"Ë","\\check");N(I,B,Er,"^","\\hat");N(I,B,Er,"â","\\vec");N(I,B,Er,"Ë","\\dot");N(I,B,Er,"Ë","\\mathring");N(I,B,Je,"î±","\\@imath");N(I,B,Je,"î·","\\@jmath");N(I,B,ce,"ı","ı");N(I,B,ce,"È·","È·");N(ke,B,ce,"ı","\\i",!0);N(ke,B,ce,"È·","\\j",!0);N(ke,B,ce,"Ã","\\ss",!0);N(ke,B,ce,"æ","\\ae",!0);N(ke,B,ce,"Å","\\oe",!0);N(ke,B,ce,"ø","\\o",!0);N(ke,B,ce,"Ã","\\AE",!0);N(ke,B,ce,"Å","\\OE",!0);N(ke,B,ce,"Ã","\\O",!0);N(ke,B,Er,"Ë","\\'");N(ke,B,Er,"Ë","\\`");N(ke,B,Er,"Ë","\\^");N(ke,B,Er,"Ë","\\~");N(ke,B,Er,"Ë","\\=");N(ke,B,Er,"Ë","\\u");N(ke,B,Er,"Ë","\\.");N(ke,B,Er,"¸","\\c");N(ke,B,Er,"Ë","\\r");N(ke,B,Er,"Ë","\\v");N(ke,B,Er,"¨",'\\"');N(ke,B,Er,"Ë","\\H");N(ke,B,Er,"â¯","\\textcircled");var QY={"--":!0,"---":!0,"``":!0,"''":!0};N(ke,B,ce,"â","--",!0);N(ke,B,ce,"â","\\textendash");N(ke,B,ce,"â","---",!0);N(ke,B,ce,"â","\\textemdash");N(ke,B,ce,"â","`",!0);N(ke,B,ce,"â","\\textquoteleft");N(ke,B,ce,"â","'",!0);N(ke,B,ce,"â","\\textquoteright");N(ke,B,ce,"â","``",!0);N(ke,B,ce,"â","\\textquotedblleft");N(ke,B,ce,"â","''",!0);N(ke,B,ce,"â","\\textquotedblright");N(I,B,ce,"°","\\degree",!0);N(ke,B,ce,"°","\\degree");N(ke,B,ce,"°","\\textdegree",!0);N(I,B,ce,"£","\\pounds");N(I,B,ce,"£","\\mathsterling",!0);N(ke,B,ce,"£","\\pounds");N(ke,B,ce,"£","\\textsterling",!0);N(I,ne,ce,"â ","\\maltese");N(ke,ne,ce,"â ","\\maltese");var eB='0123456789/@."';for(var E_=0;E_<eB.length;E_++){var tB=eB.charAt(E_);N(I,B,ce,tB,tB)}var rB='0123456789!@*()-=+";:?/.,';for(var __=0;__<rB.length;__++){var nB=rB.charAt(__);N(ke,B,ce,nB,nB)}var mv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var w_=0;w_<mv.length;w_++){var Cg=mv.charAt(w_);N(I,B,Je,Cg,Cg),N(ke,B,ce,Cg,Cg)}N(I,ne,ce,"C","â");N(ke,ne,ce,"C","â");N(I,ne,ce,"H","â");N(ke,ne,ce,"H","â");N(I,ne,ce,"N","â");N(ke,ne,ce,"N","â");N(I,ne,ce,"P","â");N(ke,ne,ce,"P","â");N(I,ne,ce,"Q","â");N(ke,ne,ce,"Q","â");N(I,ne,ce,"R","â");N(ke,ne,ce,"R","â");N(I,ne,ce,"Z","â¤");N(ke,ne,ce,"Z","â¤");N(I,B,Je,"h","â");N(ke,B,Je,"h","â");var ot="";for(var Un=0;Un<mv.length;Un++){var Cr=mv.charAt(Un);ot=String.fromCharCode(55349,56320+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),ot=String.fromCharCode(55349,56372+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),ot=String.fromCharCode(55349,56424+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),ot=String.fromCharCode(55349,56580+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),ot=String.fromCharCode(55349,56684+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),ot=String.fromCharCode(55349,56736+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),ot=String.fromCharCode(55349,56788+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),ot=String.fromCharCode(55349,56840+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),ot=String.fromCharCode(55349,56944+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),Un<26&&(ot=String.fromCharCode(55349,56632+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot),ot=String.fromCharCode(55349,56476+Un),N(I,B,Je,Cr,ot),N(ke,B,ce,Cr,ot))}ot="ð";N(I,B,Je,"k",ot);N(ke,B,ce,"k",ot);for(var Yl=0;Yl<10;Yl++){var Ys=Yl.toString();ot=String.fromCharCode(55349,57294+Yl),N(I,B,Je,Ys,ot),N(ke,B,ce,Ys,ot),ot=String.fromCharCode(55349,57314+Yl),N(I,B,Je,Ys,ot),N(ke,B,ce,Ys,ot),ot=String.fromCharCode(55349,57324+Yl),N(I,B,Je,Ys,ot),N(ke,B,ce,Ys,ot),ot=String.fromCharCode(55349,57334+Yl),N(I,B,Je,Ys,ot),N(ke,B,ce,Ys,ot)}var pS="ÃÃþ";for(var S_=0;S_<pS.length;S_++){var Og=pS.charAt(S_);N(I,B,Je,Og,Og),N(ke,B,ce,Og,Og)}var kg=[["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"]],aB=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],NAe=function(t,r){var n=t.charCodeAt(0),a=t.charCodeAt(1),i=(n-55296)*1024+(a-56320)+65536,o=r==="math"?0:1;if(119808<=i&&i<120484){var s=Math.floor((i-119808)/26);return[kg[s][2],kg[s][o]]}else if(120782<=i&&i<=120831){var u=Math.floor((i-120782)/10);return[aB[u][2],aB[u][o]]}else{if(i===120485||i===120486)return[kg[0][2],kg[0][o]];if(120486<i&&i<120782)return["",""];throw new Ie("Unsupported character: "+t)}},nb=function(t,r,n){return fr[n][t]&&fr[n][t].replace&&(t=fr[n][t].replace),{value:t,metrics:r8(t,r,n)}},wi=function(t,r,n,a,i){var o=nb(t,r,n),s=o.metrics;t=o.value;var u;if(s){var f=s.italic;(n==="text"||a&&a.font==="mathit")&&(f=0),u=new di(t,s.height,s.depth,f,s.skew,s.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),u=new di(t,0,0,0,0,0,i);if(a){u.maxFontSize=a.sizeMultiplier,a.style.isTight()&&u.classes.push("mtight");var h=a.getColor();h&&(u.style.color=h)}return u},RAe=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&nb(t,"Main-Bold",r).metrics?wi(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||fr[r][t].font==="main"?wi(t,"Main-Regular",r,n,a):wi(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},MAe=function(t,r,n,a,i){return i!=="textord"&&nb(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},PAe=function(t,r,n){var a=t.mode,i=t.text,o=["mord"],s=a==="math"||a==="text"&&r.font,u=s?r.font:r.fontFamily,f="",h="";if(i.charCodeAt(0)===55349&&([f,h]=NAe(i,a)),f.length>0)return wi(i,f,a,r,o.concat(h));if(u){var d,m;if(u==="boldsymbol"){var v=MAe(i,a,r,o,n);d=v.fontName,m=[v.fontClass]}else s?(d=eW[u].fontName,m=[u]):(d=Ng(u,r.fontWeight,r.fontShape),m=[u,r.fontWeight,r.fontShape]);if(nb(i,d,a).metrics)return wi(i,d,a,r,o.concat(m));if(QY.hasOwnProperty(i)&&d.slice(0,10)==="Typewriter"){for(var y=[],b=0;b<i.length;b++)y.push(wi(i[b],d,a,r,o.concat(m)));return JY(y)}}if(n==="mathord")return wi(i,"Math-Italic",a,r,o.concat(["mathnormal"]));if(n==="textord"){var E=fr[a][i]&&fr[a][i].font;if(E==="ams"){var _=Ng("amsrm",r.fontWeight,r.fontShape);return wi(i,_,a,r,o.concat("amsrm",r.fontWeight,r.fontShape))}else if(E==="main"||!E){var A=Ng("textrm",r.fontWeight,r.fontShape);return wi(i,A,a,r,o.concat(r.fontWeight,r.fontShape))}else{var C=Ng(E,r.fontWeight,r.fontShape);return wi(i,C,a,r,o.concat(C,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},IAe=(e,t)=>
vendor: 6,102 bytes, line 628
628{if(pl(e.classes)!==pl(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},DAe=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof di&&n instanceof di&&IAe(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},a8=function(t){for(var r=0,n=0,a=0,i=0;i<t.children.length;i++){var o=t.children[i];o.height>r&&(r=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>a&&(a=o.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},ca=function(t,r,n,a){var i=new Ap(t,r,n,a);return a8(i),i},ZY=(e,t,r,n)=>new Ap(e,t,r,n),LAe=function(t,r,n){var a=ca([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=Be(a.height),a.maxFontSize=1,a},jAe=function(t,r,n,a){var i=new n8(t,r,n,a);return a8(i),i},JY=function(t){var r=new Tp(t);return a8(r),r},BAe=function(t,r){return t instanceof Tp?ca([],[t],r):t},zAe=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,o=1;o<r.length;o++){var s=-r[o].shift-i-r[o].elem.depth,u=s-(r[o-1].elem.height+r[o-1].elem.depth);i=i+s,n.push({type:"kern",size:u}),n.push(r[o])}return{children:n,depth:a}}var f;if(t.positionType==="top"){for(var h=t.positionData,d=0;d<t.children.length;d++){var m=t.children[d];h-=m.type==="kern"?m.size:m.elem.height+m.elem.depth}f=h}else if(t.positionType==="bottom")f=-t.positionData;else{var v=t.children[0];if(v.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")f=-v.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")f=-v.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:f}},HAe=function(t,r){for(var{children:n,depth:a}=zAe(t),i=0,o=0;o<n.length;o++){var s=n[o];if(s.type==="elem"){var u=s.elem;i=Math.max(i,u.maxFontSize,u.height)}}i+=2;var f=ca(["pstrut"],[]);f.style.height=Be(i);for(var h=[],d=a,m=a,v=a,y=0;y<n.length;y++){var b=n[y];if(b.type==="kern")v+=b.size;else{var E=b.elem,_=b.wrapperClasses||[],A=b.wrapperStyle||{},C=ca(_,[f,E],void 0,A);C.style.top=Be(-i-v-E.depth),b.marginLeft&&(C.style.marginLeft=b.marginLeft),b.marginRight&&(C.style.marginRight=b.marginRight),h.push(C),v+=E.height+E.depth}d=Math.min(d,v),m=Math.max(m,v)}var P=ca(["vlist"],h);P.style.height=Be(m);var O;if(d<0){var k=ca([],[]),M=ca(["vlist"],[k]);M.style.height=Be(-d);var L=ca(["vlist-s"],[new di("â")]);O=[ca(["vlist-r"],[P,L]),ca(["vlist-r"],[M])]}else O=[ca(["vlist-r"],[P])];var H=ca(["vlist-t"],O);return O.length===2&&H.classes.push("vlist-t2"),H.height=m,H.depth=-d,H},FAe=(e,t)=>{var r=ca(["mspace"],[],t),n=Sr(e,t);return r.style.marginRight=Be(n),r},Ng=function(t,r,n){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 r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",a+"-"+i},eW={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"}},tW={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},$Ae=function(t,r){var[n,a,i]=tW[t],o=new ml(n),s=new ls([o],{width:Be(a),height:Be(i),style:"width:"+Be(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),u=ZY(["overlay"],[s],r);return u.height=i,u.style.height=Be(i),u.style.width=Be(a),u},me={fontMap:eW,makeSymbol:wi,mathsym:RAe,makeSpan:ca,makeSvgSpan:ZY,makeLineSpan:LAe,makeAnchor:jAe,makeFragment:JY,wrapFragment:BAe,makeVList:HAe,makeOrd:PAe,makeGlue:FAe,staticSvg:$Ae,svgData:tW,tryCombineChars:DAe},wr={number:3,unit:"mu"},Wl={number:4,unit:"mu"},Fo={number:5,unit:"mu"},UAe={mord:{mop:wr,mbin:Wl,mrel:Fo,minner:wr},mop:{mord:wr,mop:wr,mrel:Fo,minner:wr},mbin:{mord:Wl,mop:Wl,mopen:Wl,minner:Wl},mrel:{mord:Fo,mop:Fo,mopen:Fo,minner:Fo},mopen:{},mclose:{mop:wr,mbin:Wl,mrel:Fo,minner:wr},mpunct:{mord:wr,mop:wr,mrel:Fo,mopen:wr,mclose:wr,mpunct:wr,minner:wr},minner:{mord:wr,mop:wr,mbin:Wl,mrel:Fo,mopen:wr,mpunct:wr,minner:wr}},qAe={mord:{mop:wr},mop:{mord:wr,mop:wr},mbin:{},mrel:{},mopen:{},mclose:{mop:wr},mpunct:{},minner:{mop:wr}},rW={},gv={},vv={};function Fe(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},u=0;u<r.length;++u)rW[r[u]]=s;t&&(i&&(gv[t]=i),o&&(vv[t]=o))}function Hu(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;Fe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var yv=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},jr=function(t){return t.type==="ordgroup"?t.body:[t]},us=me.makeSpan,VAe=["leftmost","mbin","mopen","mrel","mop","mpunct"],GAe=["rightmost","mrel","mclose","mpunct"],YAe={display:et.DISPLAY,text:et.TEXT,script:et.SCRIPT,scriptscript:et.
vendor: 13,650 bytes, line 628
628SCRIPTSCRIPT},WAe={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},nn=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],o=0;o<t.length;o++){var s=Mt(t[o],r);if(s instanceof Tp){var u=s.children;i.push(...u)}else i.push(s)}if(me.tryCombineChars(i),!n)return i;var f=r;if(t.length===1){var h=t[0];h.type==="sizing"?f=r.havingSize(h.size):h.type==="styling"&&(f=r.havingStyle(YAe[h.style]))}var d=us([a[0]||"leftmost"],[],r),m=us([a[1]||"rightmost"],[],r),v=n==="root";return iB(i,(y,b)=>{var E=b.classes[0],_=y.classes[0];E==="mbin"&&GAe.includes(_)?b.classes[0]="mord":_==="mbin"&&VAe.includes(E)&&(y.classes[0]="mord")},{node:d},m,v),iB(i,(y,b)=>{var E=mS(b),_=mS(y),A=E&&_?y.hasClass("mtight")?qAe[E][_]:UAe[E][_]:null;if(A)return me.makeGlue(A,f)},{node:d},m,v),i},iB=function e(t,r,n,a,i){a&&t.push(a);for(var o=0;o<t.length;o++){var s=t[o],u=nW(s);if(u){e(u.children,r,n,null,i);continue}var f=!s.hasClass("mspace");if(f){var h=r(s,n.node);h&&(n.insertAfter?n.insertAfter(h):(t.unshift(h),o++))}f?n.node=s:i&&s.hasClass("newline")&&(n.node=us(["leftmost"])),n.insertAfter=(d=>m=>{t.splice(d+1,0,m),o++})(o)}a&&t.pop()},nW=function(t){return t instanceof Tp||t instanceof n8||t instanceof Ap&&t.hasClass("enclosing")?t:null},KAe=function e(t,r){var n=nW(t);if(n){var a=n.children;if(a.length){if(r==="right")return e(a[a.length-1],"right");if(r==="left")return e(a[0],"left")}}return t},mS=function(t,r){return t?(r&&(t=KAe(t,r)),WAe[t.classes[0]]||null):null},Wh=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return us(r.concat(n))},Mt=function(t,r,n){if(!t)return us();if(gv[t.type]){var a=gv[t.type](t,r);if(n&&r.size!==n.size){a=us(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new Ie("Got group of unknown type: '"+t.type+"'")};function Rg(e,t){var r=us(["base"],e,t),n=us(["strut"]);return n.style.height=Be(r.height+r.depth),r.depth&&(n.style.verticalAlign=Be(-r.depth)),r.children.unshift(n),r}function gS(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=nn(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],o=[],s=0;s<n.length;s++)if(o.push(n[s]),n[s].hasClass("mbin")||n[s].hasClass("mrel")||n[s].hasClass("allowbreak")){for(var u=!1;s<n.length-1&&n[s+1].hasClass("mspace")&&!n[s+1].hasClass("newline");)s++,o.push(n[s]),n[s].hasClass("nobreak")&&(u=!0);u||(i.push(Rg(o,t)),o=[])}else n[s].hasClass("newline")&&(o.pop(),o.length>0&&(i.push(Rg(o,t)),o=[]),i.push(n[s]));o.length>0&&i.push(Rg(o,t));var f;r?(f=Rg(nn(r,t,!0)),f.classes=["tag"],i.push(f)):a&&i.push(a);var h=us(["katex-html"],i);if(h.setAttribute("aria-hidden","true"),f){var d=f.children[0];d.style.height=Be(h.height+h.depth),h.depth&&(d.style.verticalAlign=Be(-h.depth))}return h}function aW(e){return new Tp(e)}class Da{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=pl(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof ao&&this.children[n+1]instanceof ao){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof ao;)a+=this.children[++n].toText();t.appendChild(new ao(a).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=jt.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+jt.escape(pl(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class ao{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return jt.escape(this.toText())}toText(){return this.text}}class XAe{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",Be(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Be(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Pe={MathNode:Da,TextNode:ao,SpaceNode:XAe,newDocumentFragment:aW},hi=function(t,r,n){return fr[r][t]&&fr[r][t].replace&&t.charCodeAt(0)!==55349&&!(QY.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=fr[r][t].replace),new Pe.TextNode(t)},i8=function(t){return t.length===1?t[0]:new Pe.MathNode("mrow",t)},o8=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var a=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if(["\\imath","\\jmath"].includes(i))return null;fr[a][i]&&fr[a][i].replace&&(i=fr[a][i].replace);var o=me.fontMap[n].fontName;return r8(i,o,a)?me.fontMap[n].variant:null};function T_(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ao&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof ao&&r.text===","}else return!1}var ya=function(t,r,n){if(t.length===1){var a=sr(t[0],r);return n&&a instanceof Da&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],o,s=0;s<t.length;s++){var u=sr(t[s],r);if(u instanceof Da&&o instanceof Da){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(T_(u)&&o.type==="mn"){o.children.push(...u.children);continue}else if(u.type==="mn"&&T_(o))u.children=[...o.children,...u.children],i.pop();else if((u.type==="msup"||u.type==="msub")&&u.children.length>=1&&(o.type==="mn"||T_(o))){var f=u.children[0];f instanceof Da&&f.type==="mn"&&(f.children=[...o.children,...f.children],i.pop())}else if(o.type==="mi"&&o.children.length===1){var h=o.children[0];if(h instanceof ao&&h.text==="̸"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var d=u.children[0];d instanceof ao&&d.text.length>0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),i.pop())}}}i.push(u),o=u}return i},gl=function(t,r,n){return i8(ya(t,r,n))},sr=function(t,r){if(!t)return new Pe.MathNode("mrow");if(vv[t.type]){var n=vv[t.type](t,r);return n}else throw new Ie("Got group of unknown type: '"+t.type+"'")};function oB(e,t,r,n,a){var i=ya(e,r),o;i.length===1&&i[0]instanceof Da&&["mrow","mtable"].includes(i[0].type)?o=i[0]:o=new Pe.MathNode("mrow",i);var s=new Pe.MathNode("annotation",[new Pe.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var u=new Pe.MathNode("semantics",[o,s]),f=new Pe.MathNode("math",[u]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&f.setAttribute("display","block");var h=a?"katex":"katex-mathml";return me.makeSpan([h],[f])}var iW=function(t){return new qo({style:t.displayMode?et.DISPLAY:et.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},oW=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=me.makeSpan(n,[t])}return t},QAe=function(t,r,n){var a=iW(n),i;if(n.output==="mathml")return oB(t,r,a,n.displayMode,!0);if(n.output==="html"){var o=gS(t,a);i=me.makeSpan(["katex"],[o])}else{var s=oB(t,r,a,n.displayMode,!1),u=gS(t,a);i=me.makeSpan(["katex"],[s,u])}return oW(i,n)},ZAe=function(t,r,n){var a=iW(n),i=gS(t,a),o=me.makeSpan(["katex"],[i]);return oW(o,n)},JAe={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":"="},e8e=function(t){var r=new Pe.MathNode("mo",[new Pe.TextNode(JAe[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},t8e={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]},r8e=function(t){return t.type==="ordgroup"?t.body.length:1},n8e=function(t,r){function n(){var s=4e5,u=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(u)){var f=t,h=r8e(f.base),d,m,v;if(h>5)u==="widehat"||u==="widecheck"?(d=420,s=2364,v=.42,m=u+"4"):(d=312,s=2340,v=.34,m="tilde4");else{var y=[1,1,2,2,3,3][h];u==="widehat"||u==="widecheck"?(s=[0,1062,2364,2364,2364][y],d=[0,239,300,360,420][y],v=[0,.24,.3,.3,.36,.42][y],m=u+y):(s=[0,600,1033,2339,2340][y],d=[0,260,286,306,312][y],v=[0,.26,.286,.3,.306,.34][y],m="tilde"+y)}var b=new ml(m),E=new ls([b],{width:"100%",height:Be(v),viewBox:"0 0 "+s+" "+d,preserveAspectRatio:"none"});return{span:me.makeSvgSpan([],[E],r),minWidth:0,height:v}}else{var _=[],A=t8e[u],[C,P,O]=A,k=O/1e3,M=C.length,L,H;if(M===1){var F=A[3];L=["hide-tail"],H=[F]}else if(M===2)L=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(M===3)L=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to supp
628ort 629 `+M+" children.");for(var $=0;$<M;$++){var z=new ml(C[$]),W=new ls([z],{width:"400em",height:Be(k),viewBox:"0 0 "+s+" "+O,preserveAspectRatio:H[$]+" slice"}),K=me.makeSvgSpan([L[$]],[W],r);if(M===1)return{span:K,minWidth:P,height:k};K.style.height=Be(k),_.push(K)}return{span:me.makeSpan(["stretchy"],_,r),minWidth:P,height:k}}}var{span:a,minWidth:i,height:o}=n();return a.height=o,a.style.height=Be(o),i>0&&(a.style.minWidth=Be(i)),a},a8e=function(t,r,n,a,i){var o,s=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(o=me.makeSpan(["stretchy",r],[],i),r==="fbox"){var u=i.color&&i.getColor();u&&(o.style.borderColor=u)}}else{var f=[];/^[bx]cancel$/.test(r)&&f.push(new hS({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&f.push(new hS({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ls(f,{width:"100%",height:Be(s)});o=me.makeSvgSpan([],[h],i)}return o.height=s,o.style.height=Be(s),o},cs={encloseSpan:a8e,mathMLnode:e8e,svgSpan:n8e};function mt(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 s8(e){var t=ab(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 ab(e){return e&&(e.type==="atom"||kAe.hasOwnProperty(e.type))?e:null}var l8=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=mt(e.base,"accent"),r=n.base,e.base=r,a=CAe(Mt(e,t)),e.base=n):(n=mt(e,"accent"),r=n.base);var i=Mt(r,t.havingCrampedStyle()),o=n.isShifty&&jt.isCharacterBox(r),s=0;if(o){var u=jt.getBaseElem(r),f=Mt(u,t.havingCrampedStyle());s=Jj(f).skew}var h=n.label==="\\c",d=h?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),m;if(n.isStretchy)m=cs.svgSpan(n,t),m=me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+Be(2*s)+")",marginLeft:Be(2*s)}:void 0}]},t);else{var v,y;n.label==="\\vec"?(v=me.staticSvg("vec",t),y=me.svgData.vec[1]):(v=me.makeOrd({mode:n.mode,text:n.label},t,"textord"),v=Jj(v),v.italic=0,y=v.width,h&&(d+=v.depth)),m=me.makeSpan(["accent-body"],[v]);var b=n.label==="\\textcircled";b&&(m.classes.push("accent-full"),d=i.height);var E=s;b||(E-=y/2),m.style.left=Be(E),n.label==="\\textcircled"&&(m.style.top=".2em"),m=me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-d},{type:"elem",elem:m}]},t)}var _=me.makeSpan(["mord","accent"],[m],t);return a?(a.children[0]=_,a.height=Math.max(_.height,a.height),a.classes[0]="mord",a):_},sW=(e,t)=>{var r=e.isStretchy?cs.mathMLnode(e.label):new Pe.MathNode("mo",[hi(e.label,e.mode)]),n=new Pe.MathNode("mover",[sr(e.base,t),r]);return n.setAttribute("accent","true"),n},i8e=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Fe({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 r=yv(t[0]),n=!i8e.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:l8,mathmlBuilder:sW});Fe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:l8,mathmlBuilder:sW});Fe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=Mt(e.base,t),n=cs.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,i=me.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},t);return me.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=cs.mathMLnode(e.label),n=new Pe.MathNode("munder",[sr(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Mg=e=>{var t=new Pe.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Fe({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,r){var{parser:n,funcName:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=me.wrapFragment(Mt(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var o;e.below&&(n=t.havingStyle(r.sub()),o=me.wrapFragment(Mt(e.below,n,t),t),o.classes.push(i+"-arrow-pad"));var s=cs.svgSpan(e,t),u=-t.fontMetrics().axisHeight+.5*s.height,f=-t.fontMetrics().axisHeight-.5*s.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(f-=a.depth);var h;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;h=me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:s,shift:u},{type:"elem",elem:o,shift:d}]},t)}else h=me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:s,shift:u}]},t);return h.children[0].children[0].children[1].classes.push("svg-align"),me.makeSpan(["mrel","x-arrow"],[h],t)},mathmlBuilder(e,t){var r=cs.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=Mg(sr(e.body,t));if(e.below){var i=Mg(sr(e.below,t));n=new Pe.MathNode("munderover",[r,i,a])}else n=new Pe.MathNode("mover",[r,a])}else if(e.below){var o=Mg(sr(e.below,t));n=new Pe.MathNode("munder",[r,o])}else n=Mg(),n=new Pe.MathNode("mover",[r,n]);return n}});var o8e=me.makeSpan;function lW(e,t){var r=nn(e.body,t,!0);return o8e([e.mclass],r,t)}function uW(e,t){var r,n=ya(e.body,t);return e.mclass==="minner"?r=new Pe.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new Pe.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new Pe.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Fe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:jr(a),isCharacterBox:jt.isCharacterBox(a)}},htmlBuilder:lW,mathmlBuilder:uW});var ib=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"};Fe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:ib(t[0]),body:jr(t[1]),isCharacterBox:jt.isCharacterBox(t[1])}}});Fe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],i=t[0],o;n!=="\\stackrel"?o=ib(a):o="mrel";var s={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:jr(a)},u={type:"supsub",mode:i.mode,base:s,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:o,body:[u],isCharacterBox:jt.isCharacterBox(u)}},htmlBuilder:lW,mathmlBuilder:uW});Fe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:ib(t[0]),body:jr(t[0])}},htmlBuilder(e,t){var r=nn(e.body,t,!0),n=me.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=ya(e.body,t),n=new Pe.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var s8e={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},sB=()=>({type:"styling",body:[],mode:"math",style:"display"}),lB=e=>e.type==="textord"&&e.text==="@",l8e=(e,t)=>
vendor: 4,665 bytes, line 629
629(e.type==="mathord"||e.type==="atom")&&e.text===t;function u8e(e,t,r){var n=s8e[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},o=r.callFunction("\\Big",[i],[]),s=r.callFunction("\\\\cdright",[t[1]],[]),u={type:"ordgroup",mode:"math",body:[a,o,s]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function c8e(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 r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Ie("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var o=t[i],s=sB(),u=0;u<o.length;u++)if(!lB(o[u]))s.body.push(o[u]);else{n.push(s),u+=1;var f=s8(o[u]).text,h=new Array(2);if(h[0]={type:"ordgroup",mode:"math",body:[]},h[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(f)>-1))if("<>AV".indexOf(f)>-1)for(var d=0;d<2;d++){for(var m=!0,v=u+1;v<o.length;v++){if(l8e(o[v],f)){m=!1,u=v;break}if(lB(o[v]))throw new Ie("Missing a "+f+" character to complete a CD arrow.",o[v]);h[d].body.push(o[v])}if(m)throw new Ie("Missing a "+f+" character to complete a CD arrow.",o[u])}else throw new Ie('Expected one of "<>AV=|." after @',o[u]);var y=u8e(f,h,e),b={type:"styling",body:[y],mode:"math",style:"display"};n.push(b),s=sB()}i%2===0?n.push(s):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var E=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:E,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}Fe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=me.wrapFragment(Mt(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=Be(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new Pe.MathNode("mrow",[sr(e.label,t)]);return r=new Pe.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new Pe.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});Fe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=me.wrapFragment(Mt(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new Pe.MathNode("mrow",[sr(e.fragment,t)])}});Fe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=mt(t[0],"ordgroup"),a=n.body,i="",o=0;o<a.length;o++){var s=mt(a[o],"textord");i+=s.text}var u=parseInt(i),f;if(isNaN(u))throw new Ie("\\@char has non-numeric argument "+i);if(u<0||u>=1114111)throw new Ie("\\@char with invalid code point "+i);return u<=65535?f=String.fromCharCode(u):(u-=65536,f=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:f}}});var cW=(e,t)=>{var r=nn(e.body,t.withColor(e.color),!1);return me.makeFragment(r)},fW=(e,t)=>{var r=ya(e.body,t.withColor(e.color)),n=new Pe.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};Fe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=mt(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:jr(a)}},htmlBuilder:cW,mathmlBuilder:fW});Fe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=mt(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:cW,mathmlBuilder:fW});Fe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTe
629X, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&mt(a,"size").value}},htmlBuilder(e,t){var r=me.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=Be(Sr(e.size,t)))),r},mathmlBuilder(e,t){var r=new Pe.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",Be(Sr(e.size,t)))),r}});var vS={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},dW=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Ie("Expected a control sequence",e);return t},f8e=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},hW=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};Fe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(vS[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=vS[n.text]),mt(t.parseFunction(),"internal");throw new Ie("Invalid token after macro prefix",n)}});Fe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new Ie("Expected a control sequence",n);for(var i=0,o,s=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),s[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new Ie('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new Ie('Argument number "'+n.text+'" out of order');i++,s.push([])}else{if(n.text==="EOF")throw new Ie("Expected a macro definition");s[i].push(n.text)}var{tokens:u}=t.gullet.consumeArg();return o&&u.unshift(o),(r==="\\edef"||r==="\\xdef")&&(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(a,{tokens:u,numArgs:i,delimiters:s},r===vS[r]),{type:"internal",mode:t.mode}}});Fe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=dW(t.gullet.popToken());t.gullet.consumeSpaces();var a=f8e(t);return hW(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});Fe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=dW(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return hW(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Nd=function(t,r,n){var a=fr.math[t]&&fr.math[t].replace,i=r8(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},u8=function(t,r,n,a){var i=n.havingBaseStyle(r),o=me.makeSpan(a.concat(i.sizingClasses(n)),[t],n),s=i.sizeMultiplier/n.sizeMultiplier;return o.height*=s,o.depth*=s,o.maxFontSize=i.sizeMultiplier,o},pW=function(t,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Be(i),t.height-=i,t.depth+=i},d8e=function(t,r,n,a,i,o){var s=me.makeSymbol(t,"Main-Regular",i,a),u=u8(s,r,a,o);return n&&pW(u,a,r),u},h8e=function(t,r,n,a){return me.makeSymbol(t,"Size"+r+"-Regular",n,a)},mW=function(t,r,n,a,i,o){var s=h8e(t,r,i,a),u=u8(me.makeSpan(["delimsizing","size"+r],[s],a),et.TEXT,a,o);return n&&pW(u,a,et.TEXT),u},A_=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=me.makeSpan(["delimsizinginner",a],[me.makeSpan([],[me.makeSymbol(t,r,n)])]);return{type:"elem",elem:i}},C_=function(t,r,n){var a=no["Size4-Regular"][t.charCodeAt(0)]?no["Size4-Regular"][t.charCodeAt(0)][4]:no["Size1-Regular"][t.charCodeAt(0)][4],i=new ml("inner",bAe(t,Math.round(1e3*r))),o=new ls([i],{width:Be(a),height:Be(r),style:"width:"+Be(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),s=me.makeSvgSpan([],[o],n);return s.height=r,s.style.height=Be(r),s.style.width=Be(a),{type:"elem",elem:s}},yS=.008,Pg={type:"kern",size:-1*yS},p8e=["|","\\lvert","\\rvert","\\vert"],m8e=["\\|","\\lVert","\\rVert","\\Vert"],gW=function(t,r,n,a,i,o){var s,u,f,h,d="",m=0;s=f=h=t,u=null;var v="Size1-Regular";t==="\\uparrow"?f=h="â":t==="\\Uparrow"?f=h="â":t==="\\downarrow"?s=f="â":t==="\\Downarrow"?s=f="â":t==="\\updownarrow"?(s="\\uparrow",f="â",h="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",f="â",h="\\Downarrow"):p8e.includes(t)?(f="â£",d="vert",m=333):m8e.includes(t)?(f="â¥",d="doublevert",m=556):t==="["||t==="\\lbrack"?(s="â¡",f="â¢",h="â£",v="Size4-Regular",d="lbrack",m=667):t==="]"||t==="\\rbrack"?(s="â¤",f="â¥",h="â¦",v="Size4-Regular",d="rbrack",m=667):t==="\\lfloor"||t==="â"?(f=s="â¢",h="â£",v="Size4-Regular",d="lfloor",m=667):t==="\\lceil"||t==="â"?(s="â¡",f=h="â¢",v="Size4-Regular",d="lceil",m=667):t==="\\rfloor"||t==="â"?(f=s="â¥",h="â¦",v="Size4-Regular",d="rfloor",m=667):t==="\\rceil"||t==="â"?(s="â¤",f=h="â¥",v="Size4-Regular",d="rceil",m=667):t==="("||t==="\\lparen"?(s="â",f="â",h="â",v="Size4-Regular",d="lparen",m=875):t===")"||t==="\\rparen"?(s="â",f="â",h="â ",v="Size4-Regular",d="rparen",m=875):t==="\\{"||t==="\\lbrace"?(s="â§",u="â¨",h="â©",f="âª",v="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="â«",u="â¬",h="â",f="âª",v="Size4-Regular"):t==="\\lgroup"||t==="â®"?(s="â§",h="â©",f="âª",v="Size4-Regular"):t==="\\rgroup"||t==="â¯"?(s="â«",h="â",f="âª",v="Size4-Regular"):t==="\\lmou
629stache"||t==="â°"?(s="â§",h="â",f="âª",v="Size4-Regular"):(t==="\\rmoustache"||t==="â±")&&(s="â«",h="â©",f="âª",v="Size4-Regular");var y=Nd(s,v,i),b=y.height+y.depth,E=Nd(f,v,i),_=E.height+E.depth,A=Nd(h,v,i),C=A.height+A.depth,P=0,O=1;if(u!==null){var k=Nd(u,v,i);P=k.height+k.depth,O=2}var M=b+C+P,L=Math.max(0,Math.ceil((r-M)/(O*_))),H=M+L*O*_,F=a.fontMetrics().axisHeight;n&&(F*=a.sizeMultiplier);var $=H/2-F,z=[];if(d.length>0){var W=H-b-C,K=Math.round(H*1e3),te=xAe(d,Math.round(W*1e3)),U=new ml(d,te),J=(m/1e3).toFixed(3)+"em",Z=(K/1e3).toFixed(3)+"em",le=new ls([U],{width:J,height:Z,viewBox:"0 0 "+m+" "+K}),G=me.makeSvgSpan([],[le],a);G.height=K/1e3,G.style.width=J,G.style.height=Z,z.push({type:"elem",elem:G})}else{if(z.push(A_(h,v,i)),z.push(Pg),u===null){var Y=H-b-C+2*yS;z.push(C_(f,Y,a))}else{var oe=(H-b-C-P)/2+2*yS;z.push(C_(f,oe,a)),z.push(Pg),z.push(A_(u,v,i)),z.push(Pg),z.push(C_(f,oe,a))}z.push(Pg),z.push(A_(s,v,i))}var j=a.havingBaseStyle(et.TEXT),de=me.makeVList({positionType:"bottom",positionData:$,children:z},j);return u8(me.makeSpan(["delimsizing","mult"],[de],j),et.TEXT,a,o)},O_=80,k_=.08,N_=function(t,r,n,a,i){var o=yAe(t,a,n),s=new ml(t,o),u=new ls([s],{width:"400em",height:Be(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return me.makeSvgSpan(["hide-tail"],[u],i)},g8e=function(t,r){var n=r.havingBaseSizing(),a=xW("\\surd",t*n.sizeMultiplier,bW,n),i=n.sizeMultiplier,o=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),s,u=0,f=0,h=0,d;return a.type==="small"?(h=1e3+1e3*o+O_,t<1?i=1:t<1.4&&(i=.7),u=(1+o+k_)/i,f=(1+o)/i,s=N_("sqrtMain",u,h,o,r),s.style.minWidth="0.853em",d=.833/i):a.type==="large"?(h=(1e3+O_)*Vd[a.size],f=(Vd[a.size]+o)/i,u=(Vd[a.size]+o+k_)/i,s=N_("sqrtSize"+a.size,u,h,o,r),s.style.minWidth="1.02em",d=1/i):(u=t+o+k_,f=t+o,h=Math.floor(1e3*t+o)+O_,s=N_("sqrtTall",u,h,o,r),s.style.minWidth="0.742em",d=1.056),s.height=f,s.style.height=Be(u),{span:s,advanceWidth:d,ruleWidth:(r.fontMetrics().sqrtRuleThickness+o)*i}},vW=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","â","â","\\lceil","\\rceil","â","â","\\surd"],v8e=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","â®","â¯","\\lmoustache","\\rmoustache","â°","â±"],yW=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Vd=[0,1.2,1.8,2.4,3],y8e=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="â¨"?t="\\langle":(t===">"||t==="\\gt"||t==="â©")&&(t="\\rangle"),vW.includes(t)||yW.includes(t))return mW(t,r,!1,n,a,i);if(v8e.includes(t))return gW(t,Vd[r],!1,n,a,i);throw new Ie("Illegal delimiter: '"+t+"'")},b8e=[{type:"small",style:et.SCRIPTSCRIPT},{type:"small",style:et.SCRIPT},{type:"small",style:et.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],x8e=[{type:"small",style:et.SCRIPTSCRIPT},{type:"small",style:et.SCRIPT},{type:"small",style:et.TEXT},{type:"stack"}],bW=[{type:"small",style:et.SCRIPTSCRIPT},{type:"small",style:et.SCRIPT},{type:"small",style:et.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],E8e=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.")},xW=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),o=i;o<n.length&&n[o].type!=="stack";o++){var s=Nd(t,E8e(n[o]),"math"),u=s.height+s.depth;if(n[o].type==="small"){var f=a.havingBaseStyle(n[o].style);u*=f.sizeMultiplier}if(u>r)return n[o]}return n[n.length-1]},EW=function(t,r,n,a,i,o){t==="<"||t==="\\lt"||t==="â¨"?t="\\langle":(t===">"||t==="\\gt"||t==="â©")&&(t="\\rangle");var s;yW.includes(t)?s=b8e:vW.includes(t)?s=bW:s=x8e;var u=xW(t,r,s,a);return u.type==="small"?d8e(t,u.style,n,a,i,o):u.type==="large"?mW(t,u.size,n,a,i,o):gW(t,r,n,a,i,o)},_8e=function(t,r,n,a,i,o){var s=a.fontMetrics().axisHeight*a.sizeMultiplier,u=901,f=5/a.fontMetrics().ptPerEm,h=Math.max(r-s,n+s),d=Math.max(h/500*u,2*h-f);
vendor: 2,363 bytes, line 629
629return EW(t,d,!0,a,i,o)},ts={sqrtImage:g8e,sizedDelim:y8e,sizeToMaxHeight:Vd,customSizedDelim:EW,leftRightDelim:_8e},uB={"\\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}},w8e=["(","\\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 ob(e,t){var r=ab(e);if(r&&w8e.includes(r.text))return r;throw r?new Ie("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new Ie("Invalid delimiter type '"+e.type+"'",e)}Fe({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 r=ob(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:uB[e.funcName].size,mclass:uB[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?me.makeSpan([e.mclass]):ts.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(hi(e.delim,e.mode));var r=new Pe.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Be(ts.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function cB(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Fe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");
vendor: 12,907 bytes, line 629
629if(r&&typeof r!="string")throw new Ie("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:ob(t[0],e).text,color:r}}});Fe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=ob(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=mt(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{cB(e);for(var r=nn(e.body,t,!0,["mopen","mclose"]),n=0,a=0,i=!1,o=0;o<r.length;o++)r[o].isMiddle?i=!0:(n=Math.max(r[o].height,n),a=Math.max(r[o].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var s;if(e.left==="."?s=Wh(t,["mopen"]):s=ts.leftRightDelim(e.left,n,a,t,e.mode,["mopen"]),r.unshift(s),i)for(var u=1;u<r.length;u++){var f=r[u],h=f.isMiddle;h&&(r[u]=ts.leftRightDelim(h.delim,n,a,h.options,e.mode,[]))}var d;if(e.right===".")d=Wh(t,["mclose"]);else{var m=e.rightColor?t.withColor(e.rightColor):t;d=ts.leftRightDelim(e.right,n,a,m,e.mode,["mclose"])}return r.push(d),me.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{cB(e);var r=ya(e.body,t);if(e.left!=="."){var n=new Pe.MathNode("mo",[hi(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new Pe.MathNode("mo",[hi(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return i8(r)}});Fe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=ob(t[0],e);if(!e.parser.leftrightDepth)throw new Ie("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Wh(t,[]);else{r=ts.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?hi("|","text"):hi(e.delim,e.mode),n=new Pe.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var c8=(e,t)=>{var r=me.wrapFragment(Mt(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,o=0,s=jt.isCharacterBox(e.body);if(n==="sout")i=me.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,o=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var u=Sr({number:.6,unit:"pt"},t),f=Sr({number:.35,unit:"ex"},t),h=t.havingBaseSizing();a=a/h.sizeMultiplier;var d=r.height+r.depth+u+f;r.style.paddingLeft=Be(d/2+u);var m=Math.floor(1e3*d*a),v=gAe(m),y=new ls([new ml("phase",v)],{width:"400em",height:Be(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});i=me.makeSvgSpan(["hide-tail"],[y],t),i.style.height=Be(d),o=r.depth+u+f}else{/cancel/.test(n)?s||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var b=0,E=0,_=0;/box/.test(n)?(_=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=t.fontMetrics().fboxsep+(n==="colorbox"?0:_),E=b):n==="angl"?(_=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),b=4*_,E=Math.max(0,.25-r.depth)):(b=s?.2:0,E=b),i=cs.encloseSpan(r,n,b,E,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=Be(_)):n==="angl"&&_!==.049&&(i.style.borderTopWidth=Be(_),i.style.borderRightWidth=Be(_)),o=r.depth+E,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var A;if(e.backgroundColor)A=me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:r,shift:0}]},t);else{var C=/cancel|phase/.test(n)?["svg-align"]:[];A=me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:o,wrapperClasses:C}]},t)}return/cancel/.test(n)&&(A.height=r.height,A.depth=r.depth),/cancel/.test(n)&&!s?me.makeSpan(["mord","cancel-lap"],[A],t):me.makeSpan(["mord"],[A],t)},f8=(e,t)=>{var r=0,n=new Pe.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[sr(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};Fe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=mt(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:o}},htmlBuilder:c8,mathmlBuilder:f8});Fe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=mt(t[0],"color-token").color,o=mt(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:c8,mathmlBuilder:f8});Fe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});Fe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:c8,mathmlBuilder:f8});Fe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var _W={};function vo(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},u=0;u<r.length;++u)_W[r[u]]=s;i&&(gv[t]=i),o&&(vv[t]=o)}var wW={};function V(e,t){wW[e]=t}function fB(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var sb=e=>{var t=e.parser.settings;if(!t.displayMode)throw new Ie("{"+e.envName+"} can be used only in display mode.")};function d8(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Tl(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:o,colSeparationType:s,autoTag:u,singleRow:f,emptySingleRow:h,maxNumCols:d,leqno:m}=t;if(e.gullet.beginGroup(),f||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var v=e.gullet.expandMacroAsText("\\arraystretch");if(v==null)o=1;else if(o=parseFloat(v),!o||o<0)throw new Ie("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var y=[],b=[y],E=[],_=[],A=u!=null?[]:void 0;function C(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function P(){A&&(e.gullet.macros.get("\\df@tag")?(A.push(e.subparse([new Ba("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):A.push(!!u&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(C(),_.push(fB(e));;){var O=e.parseExpression(!1,f?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),O={type:"ordgroup",mode:e.mode,body:O},r&&(O={type:"styling",mode:e.mode,style:r,body:[O]}),y.push(O);var k=e.fetch().text;if(k==="&"){if(d&&y.length===d){if(f||s)throw new Ie("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(k==="\\end"){P(),y.length===1&&O.type==="styling"&&O.body[0].body.length===0&&(b.length>1||!h)&&b.pop(),_.length<b.length+1&&_.push([]);break}else if(k==="\\\\"){e.consume();var M=void 0;e.gullet.future().text!==" "&&(M=e.parseSizeGroup(!0)),E.push(M?M.value:null),P(),_.push(fB(e)),y=[],b.push(y),C()}else throw new Ie("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:b,cols:i,rowGaps:E,hskipBeforeAndAfter:n,hLinesBeforeRow:_,colSeparationType:s,tags:A,leqno:m}}function h8(e){return e.slice(0,1)==="d"?"display":"text"}var yo=function(t,r){var n,a,i=t.body.length,o=t.hLinesBeforeRow,s=0,u=new Array(i),f=[],h=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),d=1/r.fontMetrics().ptPerEm,m=5*d;if(t.colSeparationType&&t.colSeparationType==="small"){var v=r.havingStyle(et.SCRIPT).sizeMultiplier;m=.2778*(v/r.sizeMultiplier)}var y=t.colSeparationType==="CD"?Sr({number:3,unit:"ex"},r):12*d,b=3*d,E=t.arraystretch*y,_=.7*E,A=.3*E,C=0;function P(Rr){for(var Zt=0;Zt<Rr.length;++Zt)Zt>0&&(C+=.25),f.push({pos:C,isDashed:Rr[Zt]})}for(P(o[0]),n=0;n<t.body.length;++n){var O=t.body[n],k=_,M=A;s<O.length&&(s=O.length);var L=new Array(O.length);for(a=0;a<O.length;++a){var H=Mt(O[a],r);M<H.depth&&(M=H.depth),k<H.height&&(k=H.height),L[a]=H}var F=t.rowGaps[n],$=0;F&&($=Sr(F,r),$>0&&($+=A,M<$&&(M=$),$=0)),t.addJot&&(M+=b),L.height=k,L.depth=M,C+=k,L.pos=C,C+=M+$,u[n]=L,P(o[n+1])}var z=C/2+r.fontMetrics().axisHeight,W=t.cols||[],K=[],te,U,J=[];if(t.tags&&t.tags.some(Rr=>Rr))for(n=0;n<i;++n){var Z=u[n],le=Z.pos-z,G=t.tags[n],Y=void 0;G===!0?Y=me.makeSpan(["eqn-num"],[],r):G===!1?Y=me.makeSpan([],[],r):Y=me.makeSpan([],nn(G,r,!0),r),Y.depth=Z.depth,Y.height=Z.height,J.push({type:"elem",elem:Y,shift:le})}for(a=0,U=0;a<s||U<W.length;++a,++U){for(var oe=W[U]||{},j=!0;oe.type==="separator";){if(j||(te=me.makeSpan(["arraycolsep"],[]),te.style.width=Be(r.fontMetrics().doubleRuleSep),K.push(te)),oe.separator==="|"||oe.separator===":"){var de=oe.separator==="|"?"solid":"dashed",xe=me.makeSpan(["vertical-separator"],[],r);xe.style.height=Be(C),xe.style.borderRightWidth=Be(h),xe.style.borderRightStyle=de,xe.style.margin="0 "+Be(-h/2);var Oe=C-z;Oe&&(xe.style.verticalAlign=Be(-Oe)),K.push(xe)}else throw new Ie("Invalid separator type: "+oe.separator);U++,oe=W[U]||{},j=!1}if(!(a>=s)){var Re=void 0;(a>0||t.hskipBeforeAndAfter)&&(Re=jt.deflt(oe.pregap,m),Re!==0&&(te=me.makeSpan(["arraycolsep"],[]),te.style.width=Be(Re),K.push(te)));var He=[];for(n=0;n<i;++n){var Te=u[n],Ue=Te[a];if(Ue){var Ke=Te.pos-z;Ue.depth=Te.depth,Ue.height=Te.height,He.push({type:"elem",elem:Ue,shift:Ke})}}He=me.makeVList({positionType:"individualShift",children:He},r),He=me.makeSpan(["col-align-"+(oe.align||"c")],[He]),K.push(He),(a<s-1||t.hskipBeforeAndAfter)&&(Re=jt.deflt(oe.postgap,m),Re!==0&&(te=me.makeSpan(["arraycolsep"],[]),te.style.width=Be(Re),K.push(te)))}}if(u=me.makeSpan(["mtable"],K),f.length>0){for(var Ae=me.makeLineSpan("hline",r,h),St=me.makeLineSpan("hdashline",r,h),rt=[{type:"elem",elem:u,shift:0}];f.length>0;){var Ht=f.pop(),Pt=Ht.pos-z;Ht.isDashed?rt.push({type:"elem",elem:St,shift:Pt}):rt.push({type:"elem",elem:Ae,shift:Pt})}u=me.makeVList({positionType:"individualShift",children:rt},r)}if(J.length===0)return me.makeSpan(["mord"],[u],r);var Kt=me.makeVList({positionType:"individualShift",children:J},r);return Kt=me.makeSpan(["tag"],[Kt],r),me.makeFragment([u,Kt])},S8e={c:"center ",l:"left ",r:"right "},bo=function(t,r){for(var n=[],a=new Pe.MathNode("mtd",[],["mtr-glue"]),i=new Pe.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var s=t.body[o],u=[],f=0;f<s.length;f++)u.push(new Pe.MathNode("mtd",[sr(s[f],r)]));t.tags&&t.tags[o]&&(u.unshift(a),u.push(a),t.leqno?u.unshift(i):u.push(i)),n.push(new Pe.MathNode("mtr",u))}var h=new Pe.MathNode("mtable",n),d=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);h.setAttribute("rowspacing",Be(d));var m="",v="";if(t.cols&&t.cols.length>0){var y=t.cols,b="",E=!1,_=0,A=y.length;y[0].type==="separator"&&(m+="top ",_=1),y[y.length-1].type==="separator"&&(m+="bottom ",A-=1);for(var C=_;C<A;C++)y[C].type==="align"?(v+=S8e[y[C].align],E&&(b+="none "),E=!0):y[C].type==="separator"&&E&&(b+=y[C].separator==="|"?"solid ":"dashed ",E=!1);h.setAttribute("columnalign",v.trim()),/[sd]/.test(b)&&h.setAttribute("columnlines",b.trim())}if(t.colSeparationType==="align"){for(var P=t.cols||[],O="",k=1;k<P.length;k++)O+=k%2?"0em ":"1em ";h.setAttribute("columnspacing",O.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?h.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?h.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?h.setAttribute("columnspacing","0.5em"):h.setAttribute("columnspacing","1em");
vendor: 5,711 bytes, line 629
629var M="",L=t.hLinesBeforeRow;m+=L[0].length>0?"left ":"",m+=L[L.length-1].length>0?"right ":"";for(var H=1;H<L.length-1;H++)M+=L[H].length===0?"none ":L[H][0]?"dashed ":"solid ";return/[sd]/.test(M)&&h.setAttribute("rowlines",M.trim()),m!==""&&(h=new Pe.MathNode("menclose",[h]),h.setAttribute("notation",m.trim())),t.arraystretch&&t.arraystretch<1&&(h=new Pe.MathNode("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},SW=function(t,r){t.envName.indexOf("ed")===-1&&sb(t);var n=[],a=t.envName.indexOf("at")>-1?"alignat":"align",i=t.envName==="split",o=Tl(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:d8(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),s,u=0,f={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var h="",d=0;d<r[0].body.length;d++){var m=mt(r[0].body[d],"textord");h+=m.text}s=Number(h),u=s*2}var v=!u;o.body.forEach(function(_){for(var A=1;A<_.length;A+=2){var C=mt(_[A],"styling"),P=mt(C.body[0],"ordgroup");P.body.unshift(f)}if(v)u<_.length&&(u=_.length);else{var O=_.length/2;if(s<O)throw new Ie("Too many math in a row: "+("expected "+s+", but got "+O),_[0])}});for(var y=0;y<u;++y){var b="r",E=0;y%2===1?b="l":y>0&&v&&(E=1),n[y]={type:"align",align:b,pregap:E,postgap:0}}return o.colSeparationType=v?"align":"alignat",o};vo({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=ab(t[0]),n=r?[t[0]]:mt(t[0],"ordgroup").body,a=n.map(function(o){var s=s8(o),u=s.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 Ie("Unknown column alignment: "+u,o)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Tl(e.parser,i,h8(e.envName))},htmlBuilder:yo,mathmlBuilder:bo});vo({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("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,"lcr".indexOf(r)===-1)throw new Ie("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=Tl(e.parser,n,h8(e.envName)),o=Math.max(0,...i.body.map(s=>s.length));return i.cols=new Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:yo,mathmlBuilder:bo});vo({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=Tl(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:yo,mathmlBuilder:bo});vo({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=ab(t[0]),n=r?[t[0]]:mt(t[0],"ordgroup").body,a=n.map(function(o){var s=s8(o),u=s.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new Ie("Unknown column alignment: "+u,o)});if(a.length>1)throw new Ie("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=Tl(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new Ie("{subarray} can contain only one column");return i},htmlBuilder:yo,mathmlBuilder:bo});vo({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}]},r=Tl(e.parser,t,h8(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:yo,mathmlBuilder:bo});vo({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:SW,htmlBuilder:yo,mathmlBuilder:bo});vo({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&sb(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:d8(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Tl(e.parser,t,"display")},htmlBuilder:yo,mathmlBuilder:bo});vo({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:SW,htmlBuilder:yo,mathmlBuilder:bo});vo({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){sb(e);var t={autoTag:d8(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Tl(e.parser,t,"display")},htmlBuilder:yo,mathmlBuilder:bo});vo({type:"array",names:["CD"],props:{numArgs:0},handler(e){return sb(e),c8e(e.parser)},htmlBuilder:yo,mathmlBuilder:bo});V("\\nonumber","\\gdef\\@eqnsw{0}");V("\\notag","\\nonumber");Fe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Ie(e.funcName+" valid only within array environment")}});var dB=_W;Fe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new Ie("Invalid environment name",a);for(var i="",o=0;o<a.body.length;++o)i+=mt(a.body[o],"textord").text;if(n==="\\begin"){if(!dB.hasOwnProperty(i))throw new Ie("No such environment: "+i,a);var s=dB[i],{args:u,optArgs:f}=r.parseArguments("\\begin{"+i+"}",s),h={mode:r.mode,envName:i,parser:r},d=s.handler(h,u,f);r.expect("\\end",!1);var m=r.nextToken,v=mt(r.parseFunction(),"environment");
vendor: 16,401 bytes, line 629
629if(v.name!==i)throw new Ie("Mismatch: \\begin{"+i+"} matched by \\end{"+v.name+"}",m);return d}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var TW=(e,t)=>{var r=e.font,n=t.withFont(r);return Mt(e.body,n)},AW=(e,t)=>{var r=e.font,n=t.withFont(r);return sr(e.body,n)},hB={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Fe({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:r,funcName:n}=e,a=yv(t[0]),i=n;return i in hB&&(i=hB[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:TW,mathmlBuilder:AW});Fe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],a=jt.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:ib(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:a}}});Fe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,o=r.parseExpression(!0,a),s="math"+n.slice(1);return{type:"font",mode:i,font:s,body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:TW,mathmlBuilder:AW});var CW=(e,t)=>{var r=t;return e==="display"?r=r.id>=et.SCRIPT.id?r.text():et.DISPLAY:e==="text"&&r.size===et.DISPLAY.size?r=et.TEXT:e==="script"?r=et.SCRIPT:e==="scriptscript"&&(r=et.SCRIPTSCRIPT),r},p8=(e,t)=>{var r=CW(e.size,t.style),n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var o=Mt(e.numer,i,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<u?u:o.depth}i=t.havingStyle(a);var f=Mt(e.denom,i,t),h,d,m;e.hasBarLine?(e.barSize?(d=Sr(e.barSize,t),h=me.makeLineSpan("frac-line",t,d)):h=me.makeLineSpan("frac-line",t),d=h.height,m=h.height):(h=null,d=0,m=t.fontMetrics().defaultRuleThickness);var v,y,b;r.size===et.DISPLAY.size||e.size==="display"?(v=t.fontMetrics().num1,d>0?y=3*m:y=7*m,b=t.fontMetrics().denom1):(d>0?(v=t.fontMetrics().num2,y=m):(v=t.fontMetrics().num3,y=3*m),b=t.fontMetrics().denom2);var E;if(h){var A=t.fontMetrics().axisHeight;v-o.depth-(A+.5*d)<y&&(v+=y-(v-o.depth-(A+.5*d))),A-.5*d-(f.height-b)<y&&(b+=y-(A-.5*d-(f.height-b)));var C=-(A-.5*d);E=me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:b},{type:"elem",elem:h,shift:C},{type:"elem",elem:o,shift:-v}]},t)}else{var _=v-o.depth-(f.height-b);_<y&&(v+=.5*(y-_),b+=.5*(y-_)),E=me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:b},{type:"elem",elem:o,shift:-v}]},t)}i=t.havingStyle(r),E.height*=i.sizeMultiplier/t.sizeMultiplier,E.depth*=i.sizeMultiplier/t.sizeMultiplier;var P;r.size===et.DISPLAY.size?P=t.fontMetrics().delim1:r.size===et.SCRIPTSCRIPT.size?P=t.havingStyle(et.SCRIPT).fontMetrics().delim2:P=t.fontMetrics().delim2;var O,k;return e.leftDelim==null?O=Wh(t,["mopen"]):O=ts.customSizedDelim(e.leftDelim,P,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?k=me.makeSpan([]):e.rightDelim==null?k=Wh(t,["mclose"]):k=ts.customSizedDelim(e.rightDelim,P,!0,t.havingStyle(r),e.mode,["mclose"]),me.makeSpan(["mord"].concat(i.sizingClasses(t)),[O,me.makeSpan(["mfrac"],[E]),k],t)},m8=(e,t)=>{var r=new Pe.MathNode("mfrac",[sr(e.numer,t),sr(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Sr(e.barSize,t);r.setAttribute("linethickness",Be(n))}var a=CW(e.size,t.style);if(a.size!==t.style.size){r=new Pe.MathNode("mstyle",[r]);var i=a.size===et.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var s=new Pe.MathNode("mo",[new Pe.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(r),e.rightDelim!=null){var u=new Pe.MathNode("mo",[new Pe.TextNode(e.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),o.push(u)}return i8(o)}return r};Fe({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],o,s=null,u=null,f="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,s="(",u=")";break;case"\\\\bracefrac":o=!1,s="\\{",u="\\}";break;case"\\\\brackfrac":o=!1,s="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:a,denom:i,hasBarLine:o,leftDelim:s,rightDelim:u,size:f,barSize:null}},htmlBuilder:p8,mathmlBuilder:m8});Fe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:a,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Fe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){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:n}}});var pB=["display","text","script","scriptscript"],mB=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};Fe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],a=t[5],i=yv(t[0]),o=i.type==="atom"&&i.family==="open"?mB(i.text):null,s=yv(t[1]),u=s.type==="atom"&&s.family==="close"?mB(s.text):null,f=mt(t[2],"size"),h,d=null;f.isBlank?h=!0:(d=f.value,h=d.number>0);var m="auto",v=t[3];if(v.type==="ordgroup"){if(v.body.length>0){var y=mt(v.body[0],"textord");m=pB[Number(y.text)]}}else v=mt(v,"textord"),m=pB[Number(v.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:h,barSize:d,leftDelim:o,rightDelim:u,size:m}},htmlBuilder:p8,mathmlBuilder:m8});Fe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:mt(t[0],"size").value,token:a}}});Fe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=tAe(mt(t[1],"infix").size),o=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:o,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:p8,mathmlBuilder:m8});var OW=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?Mt(e.sup,t.havingStyle(r.sup()),t):Mt(e.sub,t.havingStyle(r.sub()),t),a=mt(e.base,"horizBrace")):a=mt(e,"horizBrace");var i=Mt(a.base,t.havingBaseStyle(et.DISPLAY)),o=cs.svgSpan(a,t),s;if(a.isOver?(s=me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=me.makeVList({positionType:"bottom",positionData:i.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),n){var u=me.makeSpan(["mord",a.isOver?"mover":"munder"],[s],t);a.isOver?s=me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},t):s=me.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},t)}return me.makeSpan(["mord",a.isOver?"mover":"munder"],[s],t)},T8e=(e,t)=>{var r=cs.mathMLnode(e.label);return new Pe.MathNode(e.isOver?"mover":"munder",[sr(e.base,t),r])};Fe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:OW,mathmlBuilder:T8e});Fe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=mt(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:jr(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=nn(e.body,t,!1);return me.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=gl(e.body,t);return r instanceof Da||(r=new Da("mrow",[r])),r.setAttribute("href",e.href),r}});Fe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=mt(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var o=n[i];o==="~"&&(o="\\textasciitilde"),a.push({type:"textord",mode:"text",text:o})}var s={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:jr(s)}}});Fe({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:jr(t[0])}},htmlBuilder(e,t){var r=nn(e.body,t,!1);return me.makeFragment(r)},mathmlBuilder(e,t){return new Pe.MathNode("mrow",ya(e.body,t))}});Fe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,i=mt(t[0],"raw").string,o=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,u={};switch(n){case"\\htmlClass":u.class=i,s={command:"\\htmlClass",class:i};break;case"\\htmlId":u.id=i,s={command:"\\htmlId",id:i};break;case"\\htmlStyle":u.style=i,s={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var f=i.split(","),h=0;h<f.length;h++){var d=f[h].split("=");if(d.length!==2)throw new Ie("Error parsing key-value for \\htmlData");u["data-"+d[0].trim()]=d[1].trim()}s={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(s)?{type:"html",mode:r.mode,attributes:u,body:jr(o)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=nn(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=me.makeSpan(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>gl(e.body,t)});Fe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:jr(t[0]),mathml:jr(t[1])}},htmlBuilder:(e,t)=>{var r=nn(e.html,t,!1);return me.makeFragment(r)},mathmlBuilder:(e,t)=>gl(e.mathml,t)});var R_=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new Ie("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!YY(n))throw new Ie("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};Fe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(r[0])for(var u=mt(r[0],"raw").string,f=u.split(","),h=0;h<f.length;h++){var d=f[h].split("=");if(d.length===2){var m=d[1].trim();switch(d[0].trim()){case"alt":s=m;break;case"width":a=R_(m);break;case"height":i=R_(m);break;case"totalheight":o=R_(m);break;default:throw new Ie("Invalid key: '"+d[0]+"' in \\includegraphics.")}}}var v=mt(t[0],"url").url;return s===""&&(s=v,s=s.replace(/^.*[\\/]/,""),s=s.substring(0,s.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:v})?{type:"includegraphics",mode:n.mode,alt:s,width:a,height:i,totalheight:o,src:v}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Sr(e.height,t),n=0;e.totalheight.number>0&&(n=Sr(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=Sr(e.width,t));var i={height:Be(r+n)};a>0&&(i.width=Be(a)),n>0&&(i.verticalAlign=Be(-n));var o=new TAe(e.src,e.alt,i);return o.height=r,o.depth=n,o},mathmlBuilder:(e,t)=>{var r=new Pe.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=Sr(e.height,t),a=0;if(e.totalheight.number>0&&(a=Sr(e.totalheight,t)-n,r.setAttribute("valign",Be(-a))),r.setAttribute("height",Be(n+a)),e.width.number>0){var i=Sr(e.width,t);r.setAttribute("width",Be(i))}return r.setAttribute("src",e.src),r}});Fe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=mt(t[0],"size");if(r.settings.strict){var i=n[1]==="m",o=a.value.unit==="mu";i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(e,t){return me.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=Sr(e.dimension,t);return new Pe.SpaceNode(r)}});Fe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=me.makeSpan([],[Mt(e.body,t)]),r=me.makeSpan(["inner"],[r],t)):r=me.makeSpan(["inner"],[Mt(e.body,t)]);var n=me.makeSpan(["fix"],[]),a=me.makeSpan([e.alignment],[r,n],t),i=me.makeSpan(["strut"]);return i.style.height=Be(a.height+a.depth),a.depth&&(i.style.verticalAlign=Be(-a.depth)),a.children.unshift(i),a=me.makeSpan(["thinbox"],[a],t),me.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new Pe.MathNode("mpadded",[sr(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});Fe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",o=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:o}}});Fe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Ie("Mismatched "+e.funcName)}});var gB=(e,t)=>{switch(t.style.size){case et.DISPLAY.size:return e.display;case et.TEXT.size:return e.text;case et.SCRIPT.size:return e.script;case et.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Fe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:jr(t[0]),text:jr(t[1]),script:jr(t[2]),scriptscript:jr(t[3])}},htmlBuilder:(e,t)=>{var r=gB(e,t),n=nn(r,t,!1);return me.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=gB(e,t);return gl(r,t)}});var kW=(e,t,r,n,a,i,o)=>{e=me.makeSpan([],[e]);var s=r&&jt.isCharacterBox(r),u,f;if(t){var h=Mt(t,n.havingStyle(a.sup()),n);f={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-h.depth)}}if(r){var d=Mt(r,n.havingStyle(a.sub()),n);u={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-d.height)}}var m;if(f&&u){var v=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+o;m=me.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Be(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:Be(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}
vendor: 4,126 bytes, line 629
629else if(u){var y=e.height-o;m=me.makeVList({positionType:"top",positionData:y,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Be(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e}]},n)}else if(f){var b=e.depth+o;m=me.makeVList({positionType:"bottom",positionData:b,children:[{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:Be(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var E=[m];if(u&&i!==0&&!s){var _=me.makeSpan(["mspace"],[],n);_.style.marginRight=Be(i),E.unshift(_)}return me.makeSpan(["mop","op-limits"],E,n)},NW=["\\smallint"],i0=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=mt(e.base,"op"),a=!0):i=mt(e,"op");var o=t.style,s=!1;o.size===et.DISPLAY.size&&i.symbol&&!NW.includes(i.name)&&(s=!0);var u;if(i.symbol){var f=s?"Size2-Regular":"Size1-Regular",h="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(h=i.name.slice(1),i.name=h==="oiint"?"\\iint":"\\iiint"),u=me.makeSymbol(i.name,f,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),h.length>0){var d=u.italic,m=me.staticSvg(h+"Size"+(s?"2":"1"),t);u=me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:m,shift:s?.08:0}]},t),i.name="\\"+h,u.classes.unshift("mop"),u.italic=d}}else if(i.body){var v=nn(i.body,t,!0);v.length===1&&v[0]instanceof di?(u=v[0],u.classes[0]="mop"):u=me.makeSpan(["mop"],v,t)}else{for(var y=[],b=1;b<i.name.length;b++)y.push(me.mathsym(i.name[b],i.mode,t));u=me.makeSpan(["mop"],y,t)}var E=0,_=0;return(u instanceof di||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(E=(u.height-u.depth)/2-t.fontMetrics().axisHeight,_=u.italic),a?kW(u,r,n,t,o,_,E):(E&&(u.style.position="relative",u.style.top=Be(E)),u)},Cp=(e,t)=>{var r;if(e.symbol)r=new Da("mo",[hi(e.name,e.mode)]),NW.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Da("mo",ya(e.body,t));else{r=new Da("mi",[new ao(e.name.slice(1))]);var n=new Da("mo",[hi("â¡","text")]);e.parentIsSupSub?r=new Da("mrow",[r,n]):r=aW([r,n])}return r},A8e={"â":"\\prod","â":"\\coprod","â":"\\sum","â":"\\bigwedge","â":"\\bigvee","â":"\\bigcap","â":"\\bigcup","â¨":"\\bigodot","â¨":"\\bigoplus","â¨":"\\bigotimes","â¨":"\\biguplus","â¨":"\\bigsqcup"};Fe({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:r,funcName:n}=e,a=n;return a.length===1&&(a=A8e[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:i0,mathmlBuilder:Cp});Fe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:jr(n)}},htmlBuilder:i0,mathmlBuilder:Cp});var C8e={"â«":"\\int","â¬":"\\iint","â":"\\iiint","â®":"\\oint","â¯":"\\oiint","â°":"\\oiiint"};Fe({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:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:i0,mathmlBuilder:Cp});Fe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:i0,mathmlBuilder:Cp});Fe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","â«","â¬","â","â®","â¯","â°"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=C8e[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:i0,mathmlBuilder:Cp});var RW=(e,t)=>
vendor: 8,607 bytes, line 629
629{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=mt(e.base,"operatorname"),a=!0):i=mt(e,"operatorname");var o;if(i.body.length>0){for(var s=i.body.map(d=>{var m=d.text;return typeof m=="string"?{type:"textord",mode:d.mode,text:m}:d}),u=nn(s,t.withFont("mathrm"),!0),f=0;f<u.length;f++){var h=u[f];h instanceof di&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=me.makeSpan(["mop"],u,t)}else o=me.makeSpan(["mop"],[],t);return a?kW(o,r,n,t,t.style,0,0):o},O8e=(e,t)=>{for(var r=ya(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof Pe.SpaceNode))if(i instanceof Pe.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 Pe.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var s=r.map(h=>h.toText()).join("");r=[new Pe.TextNode(s)]}var u=new Pe.MathNode("mi",r);u.setAttribute("mathvariant","normal");var f=new Pe.MathNode("mo",[hi("â¡","text")]);return e.parentIsSupSub?new Pe.MathNode("mrow",[u,f]):Pe.newDocumentFragment([u,f])};Fe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:jr(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:RW,mathmlBuilder:O8e});V("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Hu({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?me.makeFragment(nn(e.body,t,!1)):me.makeSpan(["mord"],nn(e.body,t,!0),t)},mathmlBuilder(e,t){return gl(e.body,t,!0)}});Fe({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=Mt(e.body,t.havingCrampedStyle()),n=me.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]},t);return me.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new Pe.MathNode("mo",[new Pe.TextNode("â¾")]);r.setAttribute("stretchy","true");var n=new Pe.MathNode("mover",[sr(e.body,t),r]);return n.setAttribute("accent","true"),n}});Fe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:jr(n)}},htmlBuilder:(e,t)=>{var r=nn(e.body,t.withPhantom(),!1);return me.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=ya(e.body,t);return new Pe.MathNode("mphantom",r)}});Fe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=me.makeSpan([],[Mt(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),me.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=ya(jr(e.body),t),n=new Pe.MathNode("mphantom",r),a=new Pe.MathNode("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});Fe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=me.makeSpan(["inner"],[Mt(e.body,t.withPhantom())]),n=me.makeSpan(["fix"],[]);return me.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=ya(jr(e.body),t),n=new Pe.MathNode("mphantom",r),a=new Pe.MathNode("mpadded",[n]);return a.setAttribute("width","0px"),a}});Fe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=mt(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=Mt(e.body,t),n=Sr(e.dy,t);return me.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new Pe.MathNode("mpadded",[sr(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});Fe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Fe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,a=r[0],i=mt(t[0],"size"),o=mt(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&mt(a,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var r=me.makeSpan(["mord","rule"],[],t),n=Sr(e.width,t),a=Sr(e.height,t),i=e.shift?Sr(e.shift,t):0;return r.style.borderRightWidth=Be(n),r.style.borderTopWidth=Be(a),r.style.bottom=Be(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Sr(e.width,t),n=Sr(e.height,t),a=e.shift?Sr(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new Pe.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",Be(r)),o.setAttribute("height",Be(n));var s=new Pe.MathNode("mpadded",[o]);return a>=0?s.setAttribute("height",Be(a)):(s.setAttribute("height",Be(a)),s.setAttribute("depth",Be(-a))),s.setAttribute("voffset",Be(a)),s}});function MW(e,t,r){for(var n=nn(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var o=n[i].classes.indexOf("sizing");o<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[o+1]==="reset-size"+t.size&&(n[i].classes[o+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return me.makeFragment(n)}var vB=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],k8e=(e,t)=>{var r=t.havingSize(e.size);return MW(e.body,r,t)};Fe({type:"sizing",names:vB,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:vB.indexOf(n)+1,body:i}},htmlBuilder:k8e,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=ya(e.body,r),a=new Pe.MathNode("mstyle",n);return a.setAttribute("mathsize",Be(r.sizeMultiplier)),a}});Fe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,o=r[0]&&mt(r[0],"ordgroup");if(o)for(var s="",u=0;u<o.body.length;++u){var f=o.body[u];if(s=f.text,s==="t")a=!0;else if(s==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var h=t[0];return{type:"smash",mode:n.mode,body:h,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var r=me.makeSpan([],[Mt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].depth=0;var i=me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return me.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new Pe.MathNode("mpadded",[sr(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});Fe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=Mt(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=me.wrapFragment(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<et.TEXT.id&&(i=t.fontMetrics().xHeight);var o=a+i/4,s=r.height+r.depth+o+a,{span:u,ruleWidth:f,advanceWidth:h}=ts.sqrtImage(s,t),d=u.height-f;d>r.height+r.depth+o&&(o=(o+d-r.height-r.depth)/2);var m=u.height-r.height-o-f;r.style.paddingLeft=Be(h);var v=me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+m)},{type:"elem",elem:u},{type:"kern",size:f}]},t);if(e.index){var y=t.havingStyle(et.SCRIPTSCRIPT),b=Mt(e.index,y,t),E=.6*(v.height-v.depth),_=me.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:b}]},t),A=me.makeSpan(["root"],[_]);return me.makeSpan(["mord","sqrt"],[A,v],t)}else return me.makeSpan(["mord","sqrt"],[v],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new Pe.MathNode("mroot",[sr(r,t),sr(n,t)]):new Pe.MathNode("msqrt",[sr(r,t)])}});var yB={display:et.DISPLAY,text:et.TEXT,script:et.SCRIPT,scriptscript:et.
vendor: 13,199 bytes, lines 629-633
629SCRIPTSCRIPT};Fe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),o=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:o,body:i}},htmlBuilder(e,t){var r=yB[e.style],n=t.havingStyle(r).withFont("");return MW(e.body,n,t)},mathmlBuilder(e,t){var r=yB[e.style],n=t.havingStyle(r),a=ya(e.body,n),i=new Pe.MathNode("mstyle",a),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=o[e.style];return i.setAttribute("scriptlevel",s[0]),i.setAttribute("displaystyle",s[1]),i}});var N8e=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===et.DISPLAY.size||n.alwaysHandleSupSub);return a?i0:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===et.DISPLAY.size||n.limits);return i?RW:null}else{if(n.type==="accent")return jt.isCharacterBox(n.base)?l8:null;if(n.type==="horizBrace"){var o=!t.sub;return o===n.isOver?OW:null}else return null}else return null};Hu({type:"supsub",htmlBuilder(e,t){var r=N8e(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,o=Mt(n,t),s,u,f=t.fontMetrics(),h=0,d=0,m=n&&jt.isCharacterBox(n);if(a){var v=t.havingStyle(t.style.sup());s=Mt(a,v,t),m||(h=o.height-v.fontMetrics().supDrop*v.sizeMultiplier/t.sizeMultiplier)}if(i){var y=t.havingStyle(t.style.sub());u=Mt(i,y,t),m||(d=o.depth+y.fontMetrics().subDrop*y.sizeMultiplier/t.sizeMultiplier)}var b;t.style===et.DISPLAY?b=f.sup1:t.style.cramped?b=f.sup3:b=f.sup2;var E=t.sizeMultiplier,_=Be(.5/f.ptPerEm/E),A=null;if(u){var C=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof di||C)&&(A=Be(-o.italic))}var P;if(s&&u){h=Math.max(h,b,s.depth+.25*f.xHeight),d=Math.max(d,f.sub2);var O=f.defaultRuleThickness,k=4*O;if(h-s.depth-(u.height-d)<k){d=k-(h-s.depth)+u.height;var M=.8*f.xHeight-(h-s.depth);M>0&&(h+=M,d-=M)}var L=[{type:"elem",elem:u,shift:d,marginRight:_,marginLeft:A},{type:"elem",elem:s,shift:-h,marginRight:_}];P=me.makeVList({positionType:"individualShift",children:L},t)}else if(u){d=Math.max(d,f.sub1,u.height-.8*f.xHeight);var H=[{type:"elem",elem:u,marginLeft:A,marginRight:_}];P=me.makeVList({positionType:"shift",positionData:d,children:H},t)}else if(s)h=Math.max(h,b,s.depth+.25*f.xHeight),P=me.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:s,marginRight:_}]},t);else throw new Error("supsub must have either sup or sub.");var F=mS(o,"right")||"mord";return me.makeSpan([F],[o,me.makeSpan(["msupsub"],[P])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[sr(e.base,t)];e.sub&&i.push(sr(e.sub,t)),e.sup&&i.push(sr(e.sup,t));var o;if(r)o=n?"mover":"munder";else if(e.sub)if(e.sup){var f=e.base;f&&f.type==="op"&&f.limits&&t.style===et.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(t.style===et.DISPLAY||f.limits)?o="munderover":o="msubsup"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===et.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===et.DISPLAY)?o="munder":o="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===et.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===et.DISPLAY)?o="mover":o="msup"}return new Pe.MathNode(o,i)}});Hu({type:"atom",htmlBuilder(e,t){return me.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new Pe.MathNode("mo",[hi(e.text,e.mode)]);if(e.family==="bin"){var n=o8(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var PW={mi:"italic",mn:"normal",mtext:"normal"};Hu({type:"mathord",htmlBuilder(e,t){return me.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new Pe.MathNode("mi",[hi(e.text,e.mode,t)]),n=o8(e,t)||"italic";return n!==PW[r.type]&&r.setAttribute("mathvariant",n),r}});Hu({type:"textord",htmlBuilder(e,t){return me.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=hi(e.text,e.mode,t),n=o8(e,t)||"normal",a;return e.mode==="text"?a=new Pe.MathNode("mtext",[r]):/[0-9]/.test(e.text)?a=new Pe.MathNode("mn",[r]):e.text==="\\prime"?a=new Pe.MathNode("mo",[r]):a=new Pe.MathNode("mi",[r]),n!==PW[a.type]&&a.setAttribute("mathvariant",n),a}});var M_={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},P_={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Hu({type:"spacing",htmlBuilder(e,t){if(P_.hasOwnProperty(e.text)){var r=P_[e.text].className||"";if(e.mode==="text"){var n=me.makeOrd(e,t,"textord");return n.classes.push(r),n}else return me.makeSpan(["mspace",r],[me.mathsym(e.text,e.mode,t)],t)}else{if(M_.hasOwnProperty(e.text))return me.makeSpan(["mspace",M_[e.text]],[],t);throw new Ie('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(P_.hasOwnProperty(e.text))r=new Pe.MathNode("mtext",[new Pe.TextNode(" ")]);else{if(M_.hasOwnProperty(e.text))return new Pe.MathNode("mspace");throw new Ie('Unknown type of space "'+e.text+'"')}return r}});var bB=()=>{var e=new Pe.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Hu({type:"tag",mathmlBuilder(e,t){var r=new Pe.MathNode("mtable",[new Pe.MathNode("mtr",[bB(),new Pe.MathNode("mtd",[gl(e.body,t)]),bB(),new Pe.MathNode("mtd",[gl(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var xB={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},EB={"\\textbf":"textbf","\\textmd":"textmd"},R8e={"\\textit":"textit","\\textup":"textup"},_B=(e,t)=>{var r=e.font;if(r){if(xB[r])return t.withTextFontFamily(xB[r]);if(EB[r])return t.withTextFontWeight(EB[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(R8e[r])};Fe({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:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:jr(a),font:n}},htmlBuilder(e,t){var r=_B(e,t),n=nn(e.body,r,!0);return me.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=_B(e,t);return gl(e.body,r)}});Fe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Mt(e.body,t),n=me.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=me.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},t);return me.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new Pe.MathNode("mo",[new Pe.TextNode("â¾")]);r.setAttribute("stretchy","true");var n=new Pe.MathNode("munder",[sr(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});Fe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Mt(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return me.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new Pe.MathNode("mpadded",[sr(e.body,t)],["vcenter"])}});Fe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new Ie("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=wB(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var o=r[i];o==="~"&&(o="\\textasciitilde"),n.push(me.makeSymbol(o,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return me.makeSpan(["mord","text"].concat(a.sizingClasses(t)),me.tryCombineChars(n),a)},mathmlBuilder(e,t){var r=new Pe.TextNode(wB(e)),n=new Pe.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var wB=e=>e.body.replace(/ /g,e.star?"â£":" "),nl=rW,IW=`[ \r 630 ]`,M8e="\\\\[a-zA-Z@]+",P8e="\\\\[^\uD800-\uDFFF]",I8e="("+M8e+")"+IW+"*",D8e=`\\\\( 631|[ \r ]+ 632?)[ \r ]*`,bS="[Ì-ͯ]",L8e=new RegExp(bS+"+$"),j8e="("+IW+"+)|"+(D8e+"|")+"([!-\\[\\]-â§âª-í¿ï¤-ï¿¿]"+(bS+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(bS+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+I8e)+("|"+P8e+")");class SB{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(j8e,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new Ba("EOF",new da(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new Ie("Unexpected character: '"+t[r]+"'",new Ba(t[r],new da(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(` 633`,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 Ba(a,new da(this,r,this.tokenRegex.lastIndex))}}class B8e{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Ie("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}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,r,n){if(n===void 0&&(n=!1),n){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]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var z8e=wW;V("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});V("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});V("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});V("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});V("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});V("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");V("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var TB={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};V("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Ie("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=TB[t.text],n==null||n>=r)throw new Ie("Invalid base-"+r+" digit "+t.text);for(var a;(a=TB[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var g8=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new Ie("\\newcommand's first argument must be a macro name");var i=a[0].text,o=e.isDefined(i);if(o&&!t)throw new Ie("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!o&&!r)throw new Ie("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var u="",f=e.expandNextToken();f.text!=="]"&&f.text!=="EOF";)u+=f.text,f=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new Ie("Invalid number of arguments: "+u);s=parseInt(u),a=e.consumeArg().tokens}return o&&n||e.macros.set(i,{tokens:a,numArgs:s}),""};V("\\newcommand",e=>g8(e,!1,!0,!1));V("\\renewcommand",e=>g8(e,!0,!1,!1));V("\\providecommand",e=>g8(e,!0,!0,!0));V("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});V("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});V("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),nl[r],fr.math[r],fr.text[r]),""});V("\\bgroup","{");V("\\egroup","}");
vendor: 6,450 bytes, line 633
633V("~","\\nobreakspace");V("\\lq","`");V("\\rq","'");V("\\aa","\\r a");V("\\AA","\\r A");V("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");V("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");V("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");V("â¬","\\mathscr{B}");V("â°","\\mathscr{E}");V("â±","\\mathscr{F}");V("â","\\mathscr{H}");V("â","\\mathscr{I}");V("â","\\mathscr{L}");V("â³","\\mathscr{M}");V("â","\\mathscr{R}");V("â","\\mathfrak{C}");V("â","\\mathfrak{H}");V("â¨","\\mathfrak{Z}");V("\\Bbbk","\\Bbb{k}");V("·","\\cdotp");V("\\llap","\\mathllap{\\textrm{#1}}");V("\\rlap","\\mathrlap{\\textrm{#1}}");V("\\clap","\\mathclap{\\textrm{#1}}");V("\\mathstrut","\\vphantom{(}");V("\\underbar","\\underline{\\text{#1}}");V("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');V("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`â }}");V("\\ne","\\neq");V("â ","\\neq");V("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`â}}");V("â","\\notin");V("â","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`â}}");V("â","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`â}}");V("â","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`â}}");V("â","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`â}}");V("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`â}}");V("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`â}}");V("â","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`â}}");V("â","\\perp");V("â¼","\\mathclose{!\\mkern-0.8mu!}");V("â","\\notni");V("â","\\ulcorner");V("â","\\urcorner");V("â","\\llcorner");V("â","\\lrcorner");V("©","\\copyright");V("®","\\textregistered");V("ï¸","\\textregistered");V("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');V("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');V("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');V("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');V("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");V("â®","\\vdots");V("\\varGamma","\\mathit{\\Gamma}");V("\\varDelta","\\mathit{\\Delta}");V("\\varTheta","\\mathit{\\Theta}");V("\\varLambda","\\mathit{\\Lambda}");V("\\varXi","\\mathit{\\Xi}");V("\\varPi","\\mathit{\\Pi}");V("\\varSigma","\\mathit{\\Sigma}");V("\\varUpsilon","\\mathit{\\Upsilon}");V("\\varPhi","\\mathit{\\Phi}");V("\\varPsi","\\mathit{\\Psi}");V("\\varOmega","\\mathit{\\Omega}");V("\\substack","\\begin{subarray}{c}#1\\end{subarray}");V("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");V("\\boxed","\\fbox{$\\displaystyle{#1}$}");V("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");V("\\implies","\\DOTSB\\;\\Longrightarrow\\;");V("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");V("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");V("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var AB={",":"\\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"};V("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in AB?t=AB[r]:(r.slice(0,4)==="\\not"||r in fr.math&&["bin","rel"].includes(fr.math[r].group))&&(t="\\dotsb"),t});var v8={")":!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};V("\\dotso",function(e){var t=e.future().text;return t in v8?"\\ldots\\,":"\\ldots"});V("\\dotsc",function(e){var t=e.future().text;return t in v8&&t!==","?"\\ldots\\,":"\\ldots"});V("\\cdots",function(e){var t=e.future().text;return t in v8?"\\@cdots\\,":"\\@cdots"});V("\\dotsb","\\cdots");V("\\dotsm","\\cdots");V("\\dotsi","\\!\\cdots");V("\\dotsx","\\ldots\\,");V("\\DOTSI","\\relax");V("\\DOTSB","\\relax");V("\\DOTSX","\\relax");V("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");V("\\,","\\tmspace+{3mu}{.1667em}");V("\\thinspace","\\,");V("\\>","\\mskip{4mu}");V("\\:","\\tmspace+{4mu}{.2222em}");V("\\medspace","\\:");V("\\;","\\tmspace+{5mu}{.2777em}");V("\\thickspace","\\;");V("\\!","\\tmspace-{3mu}{.1667em}");V("\\negthinspace","\\!");V("\\negmedspace","\\tmspace-{4mu}{.2222em}");V("\\negthickspace","\\tmspace-{5mu}{.277em}");V("\\enspace","\\kern.5em ");V("\\enskip","\\hskip.5em\\relax");V("\\quad","\\hskip1em\\relax");V("\\qquad","\\hskip2em\\relax");V("\\tag","\\@ifstar\\tag@literal\\tag@paren");V("\\tag@paren","\\tag@literal{({#1})}");V("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Ie("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});V("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");V("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");V("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");V("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");V("\\newline","\\\\\\relax");V("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var DW=Be(no["Main-Regular"][84][1]-.7*no["Main-Regular"][65][1]);V("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+DW+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");
633V("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+DW+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");V("\\hspace","\\@ifstar\\@hspacer\\@hspace");V("\\@hspace","\\hskip #1\\relax");V("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");V("\\ordinarycolon",":");V("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");V("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');V("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');V("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');V("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');V("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');V("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');V("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');V("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');V("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');V("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');V("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');V("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');V("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');V("â·","\\dblcolon");V("â¹","\\eqcolon");V("â","\\coloneqq");V("â","\\eqqcolon");V("â©´","\\Coloneqq");V("\\ratio","\\vcentcolon");V("\\coloncolon","\\dblcolon");V("\\colonequals","\\coloneqq");V("\\coloncolonequals","\\Coloneqq");V("\\equalscolon","\\eqqcolon");V("\\equalscoloncolon","\\Eqqcolon");V("\\colonminus","\\coloneq");V("\\coloncolonminus","\\Coloneq");V("\\minuscolon","\\eqcolon");V("\\minuscoloncolon","\\Eqcolon");V("\\coloncolonapprox","\\Colonapprox");V("\\coloncolonsim","\\Colonsim");V("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");V("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");V("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");V("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");V("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`â}}");V("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");V("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");V("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");V("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");V("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");V("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");V("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");V("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");V("\\gvertneqq","\\html@mathml{\\@gvertneqq}{â©}");V("\\lvertneqq","\\html@mathml{\\@lvertneqq}{â¨}");V("\\ngeqq","\\html@mathml{\\@ngeqq}{â±}");V("\\ngeqslant","\\html@mathml{\\@ngeqslant}{â±}");V("\\nleqq","\\html@mathml{\\@nleqq}{â°}");V("\\nleqslant","\\html@mathml{\\@nleqslant}{â°}");V("\\nshortmid","\\html@mathml{\\@nshortmid}{â¤}");V("\\nshortparallel","\\html@mathml{\\@nshortparallel}{â¦}");V("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{â}");V("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{â}");V("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{â}");V("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{â«}");V("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{â}");V("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{â«}");V("\\imath","\\html@mathml{\\@imath}{ı}");V("\\jmath","\\html@mathml{\\@jmath}{È·}");V("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`â¦}}");V("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`â§}}");V("â¦","\\llbracket");V("â§","\\rrbracket");V("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}
633{\\mathopen{\\char`â¦}}");V("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`â¦}}");V("â¦","\\lBrace");V("â¦","\\rBrace");V("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");V("⦵","\\minuso");V("\\darr","\\downarrow");V("\\dArr","\\Downarrow");V("\\Darr","\\Downarrow");V("\\lang","\\langle");V("\\rang","\\rangle");V("\\uarr","\\uparrow");V("\\uArr","\\Uparrow");V("\\Uarr","\\Uparrow");V("\\N","\\mathbb{N}");V("\\R","\\mathbb{R}");V("\\Z","\\mathbb{Z}");V("\\alef","\\aleph");V("\\alefsym","\\aleph");V("\\Alpha","\\mathrm{A}");V("\\Beta","\\mathrm{B}");V("\\bull","\\bullet");V("\\Chi","\\mathrm{X}");V("\\clubs","\\clubsuit");V("\\cnums","\\mathbb{C}");V("\\Complex","\\mathbb{C}");V("\\Dagger","\\ddagger");V("\\diamonds","\\diamondsuit");V("\\empty","\\emptyset");V("\\Epsilon","\\mathrm{E}");V("\\Eta","\\mathrm{H}");V("\\exist","\\exists");V("\\harr","\\leftrightarrow");V("\\hArr","\\Leftrightarrow");V("\\Harr","\\Leftrightarrow");V("\\hearts","\\heartsuit");V("\\image","\\Im");V("\\infin","\\infty");V("\\Iota","\\mathrm{I}");V("\\isin","\\in");V("\\Kappa","\\mathrm{K}");V("\\larr","\\leftarrow");V("\\lArr","\\Leftarrow");V("\\Larr","\\Leftarrow");V("\\lrarr","\\leftrightarrow");V("\\lrArr","\\Leftrightarrow");V("\\Lrarr","\\Leftrightarrow");V("\\Mu","\\mathrm{M}");V("\\natnums","\\mathbb{N}");V("\\Nu","\\mathrm{N}");V("\\Omicron","\\mathrm{O}");V("\\plusmn","\\pm");V("\\rarr","\\rightarrow");V("\\rArr","\\Rightarrow");V("\\Rarr","\\Rightarrow");V("\\real","\\Re");V("\\reals","\\mathbb{R}");V("\\Reals","\\mathbb{R}");V("\\Rho","\\mathrm{P}");V("\\sdot","\\cdot");V("\\sect","\\S");V("\\spades","\\spadesuit");V("\\sub","\\subset");V("\\sube","\\subseteq");V("\\supe","\\supseteq");V("\\Tau","\\mathrm{T}");V("\\thetasym","\\vartheta");V("\\weierp","\\wp");V("\\Zeta","\\mathrm{Z}");V("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");V("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");V("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");V("\\bra","\\mathinner{\\langle{#1}|}");V("\\ket","\\mathinner{|{#1}\\rangle}");V("\\braket","\\mathinner{\\langle{#1}\\rangle}");V("\\Bra","\\left\\langle#1\\right|");V("\\Ket","\\left|#1\\right\\rangle");var LW=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var u=d=>m=>{e&&(m.macros.set("|",o),a.length&&m.macros.set("\\|",s));var v=d;if(!d&&a.length){var y=m.future();y.text==="|"&&(m.popToken(),v=!0)}return{tokens:v?a:n,numArgs:0}};t.macros.set("|",u(!1)),a.length&&t.macros.set("\\|",u(!0));var f=t.consumeArg().tokens,h=t.expandTokens([...i,...f,...r]);return t.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};V("\\bra@ket",LW(!1));V("\\bra@set",LW(!0));V("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");V("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");V("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");V("\\angln","{\\angl n}");V("\\blue","\\textcolor{##6495ed}{#1}");V("\\orange","\\textcolor{##ffa500}{#1}");V("\\pink","\\textcolor{##ff00af}{#1}");V("\\red","\\textcolor{##df0030}{#1}");V("\\green","\\textcolor{##28ae7b}{#1}");V("\\gray","\\textcolor{gray}{#1}");V("\\purple","\\textcolor{##9d38bd}{#1}");V("\\blueA","\\textcolor{##ccfaff}{#1}");V("\\blueB","\\textcolor{##80f6ff}{#1}");V("\\blueC","\\textcolor{##63d9ea}{#1}");V("\\blueD","\\textcolor{##11accd}{#1}");V("\\blueE","\\textcolor{##0c7f99}{#1}");V("\\tealA","\\textcolor{##94fff5}{#1}");V("\\tealB","\\textcolor{##26edd5}{#1}");V("\\tealC","\\textcolor{##01d1c1}{#1}");V("\\tealD","\\textcolor{##01a995}{#1}");V("\\tealE","\\textcolor{##208170}{#1}");V("\\greenA","\\textcolor{##b6ffb0}{#1}");V("\\greenB","\\textcolor{##8af281}{#1}");V("\\greenC","\\textcolor{##74cf70}{#1}");V("\\greenD","\\textcolor{##1fab54}{#1}");V("\\greenE","\\textcolor{##0d923f}{#1}");V("\\goldA","\\textcolor{##ffd0a9}{#1}");V("\\goldB","\\textcolor{##ffbb71}{#1}");V("\\goldC","\\textcolor{##ff9c39}{#1}");V("\\goldD","\\textcolor{##e07d10}{#1}");V("\\goldE","\\textcolor{##a75a05}{#1}");V("\\redA","\\textcolor{##fca9a9}{#1}");V("\\redB","\\textcolor{##ff8482}{#1}");V("\\redC","\\textcolor{##f9685d}{#1}");V("\\redD","\\textcolor{##e84d39}{#1}");
vendor: 4,558 bytes, line 633
633V("\\redE","\\textcolor{##bc2612}{#1}");V("\\maroonA","\\textcolor{##ffbde0}{#1}");V("\\maroonB","\\textcolor{##ff92c6}{#1}");V("\\maroonC","\\textcolor{##ed5fa6}{#1}");V("\\maroonD","\\textcolor{##ca337c}{#1}");V("\\maroonE","\\textcolor{##9e034e}{#1}");V("\\purpleA","\\textcolor{##ddd7ff}{#1}");V("\\purpleB","\\textcolor{##c6b9fc}{#1}");V("\\purpleC","\\textcolor{##aa87ff}{#1}");V("\\purpleD","\\textcolor{##7854ab}{#1}");V("\\purpleE","\\textcolor{##543b78}{#1}");V("\\mintA","\\textcolor{##f5f9e8}{#1}");V("\\mintB","\\textcolor{##edf2df}{#1}");V("\\mintC","\\textcolor{##e0e5cc}{#1}");V("\\grayA","\\textcolor{##f6f7f7}{#1}");V("\\grayB","\\textcolor{##f0f1f2}{#1}");V("\\grayC","\\textcolor{##e3e5e6}{#1}");V("\\grayD","\\textcolor{##d6d8da}{#1}");V("\\grayE","\\textcolor{##babec2}{#1}");V("\\grayF","\\textcolor{##888d93}{#1}");V("\\grayG","\\textcolor{##626569}{#1}");V("\\grayH","\\textcolor{##3b3e40}{#1}");V("\\grayI","\\textcolor{##21242c}{#1}");V("\\kaBlue","\\textcolor{##314453}{#1}");V("\\kaGreen","\\textcolor{##71B307}{#1}");var jW={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class H8e{constructor(t,r,n){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=r,this.expansionCount=0,this.feed(t),this.macros=new B8e(z8e,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new SB(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 r,n,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new Ba("EOF",n.loc)),this.pushTokens(a),new Ba("",da.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var a=this.future(),i,o=0,s=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++o;else if(i.text==="}"){if(--o,o===-1)throw new Ie("Extra }",i)}else if(i.text==="EOF")throw new Ie("Unexpected end of input in a macro argument, expected '"+(t&&n?t[s]:"}")+"'",i);if(t&&n)if((o===0||o===1&&t[s]==="{")&&i.text===t[s]){if(++s,s===t.length){r.splice(-s,s);break}}else s=0}while(o!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new Ie("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new Ie("Use of the macro doesn't match its definition",i)}}for(var o=[],s=0;s<t;s++)o.push(this.consumeArg(r&&r[s+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new Ie("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new Ie("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var s=i.length-1;s>=0;--s){var u=i[s];if(u.text==="#"){if(s===0)throw new Ie("Incomplete placeholder at end of macro body",u);if(u=i[--s],u.text==="#")i.splice(s+1,1);else if(/^[1-9]$/.test(u.text))i.splice(s,2,...o[+u.text-1]);else throw new Ie("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 Ba(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];
vendor: 5,115 bytes, line 633
633if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;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 s=new SB(a,this.settings),u=[],f=s.lex();f.text!=="EOF";)u.push(f),f=s.lex();u.reverse();var h={tokens:u,numArgs:i};return h}return a}isDefined(t){return this.macros.has(t)||nl.hasOwnProperty(t)||fr.math.hasOwnProperty(t)||fr.text.hasOwnProperty(t)||jW.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:nl.hasOwnProperty(t)&&!nl[t].primitive}}var CB=/^[âââââââââââ
âââââââᵢⱼââââââáµ£ââᵤᵥâᵦᵧᵨᵩᵪ]/,Ig=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","áµ":"β","áµ":"γ","áµ":"δ","áµ ":"Ï","ᵡ":"Ï","á¶¿":"θ"}),I_={"Ì":{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"}},OB={á:"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,349 bytes, lines 633-635
633:"YÌ",Ŷ:"YÌ",áº:"YÌ",Ź:"ZÌ",Ž:"ZÌ",áº:"ZÌ",Å»:"ZÌ",ά:"αÌ",á½°:"αÌ",á¾±:"αÌ",á¾°:"αÌ",Î:"εÌ",á½²:"εÌ",ή:"ηÌ",á½´:"ηÌ",ί:"ιÌ",á½¶:"ιÌ",Ï:"ιÌ",Î:"ιÌÌ",á¿:"ιÌÌ",á¿:"ιÌ",á¿:"ιÌ",Ï:"οÌ",ὸ:"οÌ",Ï:"Ï Ì",ὺ:"Ï Ì",Ï:"Ï Ì",ΰ:"Ï ÌÌ",á¿¢:"Ï ÌÌ",á¿¡:"Ï Ì",á¿ :"Ï Ì",Ï:"ÏÌ",á½¼:"ÏÌ",Î:"Î¥Ì",Ὺ:"Î¥Ì",Ϋ:"Î¥Ì",á¿©:"Î¥Ì",Ῠ:"Î¥Ì",Î:"ΩÌ",Ὼ:"ΩÌ"};let BW=class zW{constructor(t,r){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 H8e(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new Ie("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&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 r=this.nextToken;this.consume(),this.gullet.pushToken(new Ba("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(zW.endOfExpression.indexOf(a.text)!==-1||r&&a.text===r||t&&nl[a.text]&&nl[a.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++)if(t[a].type==="infix"){if(r!==-1)throw new Ie("only one infix operator per group",t[a].token);r=a,n=t[a].replaceWith}if(r!==-1&&n){var i,o,s=t.slice(0,r),u=t.slice(r+1);s.length===1&&s[0].type==="ordgroup"?i=s[0]:i={type:"ordgroup",mode:this.mode,body:s},u.length===1&&u[0].type==="ordgroup"?o=u[0]:o={type:"ordgroup",mode:this.mode,body:u};var f;return n==="\\\\abovefrac"?f=this.callFunction(n,[i,t[r],o],[]):f=this.callFunction(n,[i,o],[]),[f]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.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 Ie("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if(r?.type==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var o=i.text==="\\limits";r.limits=o,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new Ie("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new Ie("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new Ie("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new Ie("Double superscript",i);var s={type:"textord",mode:this.mode,text:"\\prime"},u=[s];for(this.consume();this.fetch().text==="'";)u.push(s),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:u}}else if(Ig[i.text]){var f=CB.test(i.text),h=[];for(h.push(new Ba(Ig[i.text])),this.consume();;){var d=this.fetch().text;if(!Ig[d]||CB.test(d)!==f)break;h.unshift(new Ba(Ig[d])),this.consume()}var m=this.subparse(h);f?a={type:"ordgroup",mode:"math",body:m}:n={type:"ordgroup",mode:"math",body:m}}else break}return n||a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:r}parseFunction(t,r){var n=this.fetch(),a=n.text,i=nl[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new Ie("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new Ie("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new Ie("Can't use function '"+a+"' in math mode",n);var{args:o,optArgs:s}=this.parseArguments(a,i);return this.callFunction(a,o,s,n,t)}callFunction(t,r,n,a,i){var o={funcName:t,parser:this,token:a,breakOnTokenText:i},s=nl[t];if(s&&s.handler)return s.handler(o,r,n);throw new Ie("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],i=[],o=0;o<n;o++){var s=r.argTypes&&r.argTypes[o],u=o<r.numOptionalArgs;(r.primitive&&s==null||r.type==="sqrt"&&o===1&&i[0]==null)&&(s="primitive");var f=this.parseGroupOfType("argument to '"+t+"'",s,u);if(u)i.push(f);else if(f!=null)a.push(f);else throw new Ie("Null argument, please report this as a bug")}return{args:a,optArgs:i}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new Ie("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new Ie("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new Ie("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var a="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,i="",o;(o=this.fetch()).text!=="EOF"&&t.test(i+o.text);)a=o,i+=a.text,this.consume();if(i==="")throw new Ie("Invalid "+r+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new Ie("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new Ie("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!YY(i))throw new Ie("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(a),o}parseGroup(t,r){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var o=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,o),u=this.fetch();this.expect(o),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:da.range(n,u),body:s,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!jW.hasOwnProperty(a)){if(this.settings.throwOnError)throw new Ie("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n],i=a.text;i==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:da.range(a,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:da.range(a,t[n+1]),text:"--"}),r-=1)),(i==="'"||i==="`")&&t[n+1].text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:da.range(a,t[n+1]),text:i+i}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new Ie(`\\verb assertion failed -- 634 please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}OB.hasOwnProperty(r[0])&&!fr[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=OB[r[0]]+r.slice(1));var i=L8e.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="È·"));var o;if(fr[this.mode][r]){this.settings.strict&&this.mode==="math"&&pS.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var s=fr[this.mode][r].group,u=da.range(t),f;if(OAe.hasOwnProperty(s)){var h=s;f={type:"atom",mode:this.mode,family:h,loc:u,text:r}}else f={type:s,mode:this.mode,loc:u,text:r};o=f}else if(r.charCodeAt(0)>=128)this.settings.strict&&(VY(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),o={type:"textord",mode:"text",loc:da.range(t),text:r};else return null;if(this.consume(),i)for(var d=0;d<i[0].length;d++){var m=i[0][d];if(!I_[m])throw new Ie("Unknown accent ' "+m+"'",t);var v=I_[m][this.mode]||I_[m].text;if(!v)throw new Ie("Accent "+m+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:da.range(t),label:v,isStretchy:!1,isShifty:!0,base:o}}return o}};BW.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var y8=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new BW(t,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new Ie("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new Ba("\\df@tag")])}]}return a},b8=function(t,r,n){r.textContent="";var a=lb(t,n).toNode();r.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."),b8=function(){throw new Ie("KaTeX doesn't work in quirks mode.")});var HW=function(t,r){var n=lb(t,r).toMarkup();return n},FW=function(t,r){var n=new e8(r);return y8(t,n)},$W=function(t,r,n){if(n.throwOnError||!(t instanceof Ie))throw t;var a=me.makeSpan(["katex-error"],[new di(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},lb=function(t,r){var n=new e8(r);try{var a=y8(t,n);return QAe(a,t,n)}catch(i){return $W(i,t,n)}},UW=function(t,r){var n=new e8(r);try{var a=y8(t,n);return ZAe(a,t,n)}catch(i){return $W(i,t,n)}},qW="0.16.25",VW={Span:Ap,Anchor:n8,SymbolNode:di,SvgNode:ls,PathNode:ml,LineNode:hS},xS={version:qW,render:b8,renderToString:HW,ParseError:Ie,SETTINGS_SCHEMA:qd,__parse:FW,__renderToDomTree:lb,__renderToHTMLTree:UW,__setFontMetrics:GY,__defineSymbol:N,__defineFunction:Fe,__defineMacro:V,__domTree:VW};const fje=Object.freeze(Object.defineProperty({__proto__:null,ParseError:Ie,SETTINGS_SCHEMA:qd,__defineFunction:Fe,__defineMacro:V,__defineSymbol:N,__domTree:VW,__parse:FW,__renderToDomTree:lb,__renderToHTMLTree:UW,__setFontMetrics:GY,default:xS,get render(){return b8},renderToString:HW,version:qW},Symbol.toStringTag,{value:"Module"})),F8e={},$8e=[];function U8e(e){const t=e||F8e;return function(r,n){QA(r,"element",function(a,i){const o=Array.isArray(a.properties.className)?a.properties.className:$8e,s=o.includes("language-math"),u=o.includes("math-display"),f=o.includes("math-inline");let h=u;if(!s&&!u&&!f)return;let d=i[i.length-1],m=a;if(a.tagName==="code"&&s&&d&&d.type==="element"&&d.tagName==="pre"&&(m=d,d=i[i.length-2],h=!0),!d)return;const v=FTe(m,{whitespace:"pre"});let y;try{y=xS.renderToString(v,{...t,displayMode:h,throwOnError:!0})}catch(E){const _=E,A=_.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:_,place:a.position,ruleId:A,source:"rehype-katex"});try{y=xS.renderToString(v,{...t,displayMode:h,strict:"ignore",throwOnError:!1})}catch{y=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(E)},children:[{type:"text",value:v}]}]}}typeof y=="string"&&(y=PTe(y).children);const b=d.children.indexOf(m);return d.children.splice(b,1,...y),hv})}}function q8e(e){const t=String(e),r=[];return{toOffset:a,toPoint:n};function n(i){if(typeof i=="number"&&i>-1&&i<=t.length){let o=0;for(;;){let s=r[o];if(s===void 0){const u=kB(t,r[o-1]);s=u===-1?t.length+1:u+1,r[o]=s}if(s>i)return{line:o+1,column:i-(o>0?r[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(;r.length<i.line;){const s=r[r.length-1],u=kB(t,s),f=u===-1?t.length+1:u+1;if(s===f)break;r.push(f)}const o=(i.line>1?r[i.line-2]:0)+i.column-1;if(o<r[i.line-1])return o}}}function kB(e,t){const r=e.indexOf("\r",t),n=e.indexOf(` 635`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const GW={}.hasOwnProperty,V8e=Object.prototype;function G8e(e,t){const r=t||{};return x8({file:r.file||void 0,location:!1,schema:r.space==="svg"?wl:Ep,verbose:r.verbose||!1},e)}function x8(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},t1(e,n,r),r}case"#document":case"#document-fragment":{const n=t,a="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:YW(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),o=q8e(i),s=o.toPoint(0),u=o.toPoint(i.length);r.position={start:s,end:u}}return r}case"#documentType":{const n=t;return r={type:"doctype"},t1(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},t1(e,n,r),r}default:return r=Y8e(e,t),r}}function YW(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=x8(e,t[r]);n.push(a)}return n}function Y8e(e,t){const r=e.schema;e.schema=t.namespaceURI===ro.svg?wl:Ep;let n=-1;const a={};for(;++n<t.attrs.length;){const s=t.attrs[n],u=(s.prefix?s.prefix+":":"")+s.name;GW.call(V8e,u)||(a[u]=s.value)}const o=(e.schema.space==="svg"?jY:LY)(t.tagName,a,YW(e,t.childNodes));if(t1(e,t,o),o.tagName==="template"){const s=t,u=s.sourceCodeLocation,f=u&&u.startTag&&Jc(u.startTag),h=u&&u.endTag&&Jc(u.endTag),d=x8(e,s.content);f&&h&&e.file&&(d.position={start:f.end,end:h.start}),o.content=d}return e.schema=r,o}function t1(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=W8e(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function W8e(e,t,r){const n=Jc(r);if(t.type==="element"){const a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){const i={};let o;if(r.attrs)for(o in r.attrs)GW.call(r.attrs,o)&&(i[Xy(e.schema,o).property]=Jc(r.attrs[o]));r.startTag;const s=Jc(r.startTag),u=r.endTag?Jc(r.endTag):void 0,f={opening:s};u&&(f.closing=u),f.properties=i,t.data={position:f}}}return n}
vendor: 4,631 bytes, line 635
635function Jc(e){const t=NB({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=NB({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function NB(e){return e.line&&e.column?e:void 0}class Op{constructor(t,r,n){this.property=t,this.normal=r,n&&(this.space=n)}}Op.prototype.property={};Op.prototype.normal={};Op.prototype.space=null;function WW(e,t){const r={},n={};let a=-1;for(;++a<e.length;)Object.assign(r,e[a].property),Object.assign(n,e[a].normal);return new Op(r,n,t)}function ES(e){return e.toLowerCase()}class gi{constructor(t,r){this.property=t,this.attribute=r}}gi.prototype.space=null;gi.prototype.boolean=!1;gi.prototype.booleanish=!1;gi.prototype.overloadedBoolean=!1;gi.prototype.number=!1;gi.prototype.commaSeparated=!1;gi.prototype.spaceSeparated=!1;gi.prototype.commaOrSpaceSeparated=!1;gi.prototype.mustUseProperty=!1;gi.prototype.defined=!1;let K8e=0;const ft=Fu(),Gr=Fu(),KW=Fu(),Le=Fu(),ur=Fu(),cf=Fu(),ka=Fu();function Fu(){return 2**++K8e}const _S=Object.freeze(Object.defineProperty({__proto__:null,boolean:ft,booleanish:Gr,commaOrSpaceSeparated:ka,commaSeparated:cf,number:Le,overloadedBoolean:KW,spaceSeparated:ur},Symbol.toStringTag,{value:"Module"})),D_=Object.keys(_S);class E8 extends gi{constructor(t,r,n,a){let i=-1;if(super(t,r),RB(this,"space",a),typeof n=="number")for(;++i<D_.length;){const o=D_[i];RB(this,D_[i],(n&_S[o])===_S[o])}}}E8.prototype.defined=!0;function RB(e,t,r){r&&(e[t]=r)}const X8e={}.hasOwnProperty;function o0(e){const t={},r={};let n;for(n in e.properties)if(X8e.call(e.properties,n)){const a=e.properties[n],i=new E8(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[ES(n)]=n,r[ES(i.attribute)]=n}return new Op(t,r,e.space)}const XW=o0({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}}),QW=o0({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function ZW(e,t){return t in e?e[t]:t}function JW(e,t){return ZW(e,t.toLowerCase())}const eK=o0({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:JW,properties:{xmlns:null,xmlnsXLink:null}}),tK=o0({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Gr,ariaAutoComplete:null,ariaBusy:Gr,ariaChecked:Gr,ariaColCount:Le,ariaColIndex:Le,ariaColSpan:Le,ariaControls:ur,ariaCurrent:null,ariaDescribedBy:ur,ariaDetails:null,ariaDisabled:Gr,ariaDropEffect:ur,ariaErrorMessage:null,ariaExpanded:Gr,ariaFlowTo:ur,ariaGrabbed:Gr,ariaHasPopup:null,ariaHidden:Gr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ur,ariaLevel:Le,ariaLive:null,ariaModal:Gr,ariaMultiLine:Gr,ariaMultiSelectable:Gr,ariaOrientation:null,ariaOwns:ur,ariaPlaceholder:null,ariaPosInSet:Le,ariaPressed:Gr,ariaReadOnly:Gr,ariaRelevant:null,ariaRequired:Gr,ariaRoleDescription:ur,ariaRowCount:Le,ariaRowIndex:Le,ariaRowSpan:Le,ariaSelected:Gr,ariaSetSize:Le,ariaSort:null,ariaValueMax:Le,ariaValueMin:Le,ariaValueNow:Le,ariaValueText:null,role:null}}),Q8e=o0({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:JW,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:cf,acceptCharset:ur,accessKey:ur,action:null,allow:null,allowFullScreen:ft,allowPaymentRequest:ft,allowUserMedia:ft,alt:null,as:null,async:ft,autoCapitalize:null,autoComplete:ur,autoFocus:ft,autoPlay:ft,blocking:ur,capture:null,charSet:null,checked:ft,cite:null,className:ur,cols:Le,colSpan:null,content:null,contentEditable:Gr,controls:ft,controlsList:ur,coords:Le|cf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ft,defer:ft,dir:null,dirName:null,disabled:ft,download:KW,draggable:Gr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ft,formTarget:null,headers:ur,height:Le,hidden:ft,high:Le,href:null,hrefLang:null,htmlFor:ur,httpEquiv:ur,id:null,imageSizes:null,imageSrcSet:null,inert:ft,inputMode:null,integrity:null,is:null,isMap:ft,itemId:null,itemProp:ur,itemRef:ur,itemScope:ft,itemType:ur,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ft,low:Le,manifest:null,max:null,maxLength:Le,media:null,method:null,min:null,minLength:Le,multiple:ft,muted:ft,name:null,nonce:null,noModule:ft,noValidate:ft,onAbort:null,onAfterPrint:null,onAuxCl
635ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ft,optimum:Le,pattern:null,ping:ur,placeholder:null,playsInline:ft,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ft,referrerPolicy:null,rel:ur,required:ft,reversed:ft,rows:Le,rowSpan:Le,sandbox:ur,scope:null,scoped:ft,seamless:ft,selected:ft,shadowRootClonable:ft,shadowRootDelegatesFocus:ft,shadowRootMode:null,shape:null,size:Le,sizes:null,slot:null,span:Le,spellCheck:Gr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Le,step:null,style:null,tabIndex:Le,target:null,title:null,translate:null,type:null,typeMustMatch:ft,useMap:null,value:Gr,width:Le,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ur,axis:null,background:null,bgColor:null,border:Le,borderColor:null,bottomMargin:Le,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ft,declare:ft,event:null,face:null,frame:null,frameBorder:null,hSpace:Le,leftMargin:Le,link:null,longDesc:null,lowSrc:null,marginHeight:Le,marginWidth:Le,noResize:ft,noHref:ft,noShade:ft,noWrap:ft,object:null,profile:null,prompt:null,rev:null,rightMargin:Le,rules:null,scheme:null,scrolling:Gr,standby:null,summary:null,text:null,topMargin:Le,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Le,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ft,disableRemotePlayback:ft,prefix:null,property:null,results:Le,security:null,unselectable:null}}),Z8e=o0({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
635-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:ZW,properties:{about:ka,accentHeight:Le,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Le,amplitude:Le,arabicForm:null,ascent:Le,attributeName:null,attributeType:null,azimuth:Le,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Le,by:null,calcMode:null,capHeight:Le,className:ur,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:Le,diffuseConstant:Le,direction:null,display:null,dur:null,divisor:Le,dominantBaseline:null,download:ft,dx:null,dy:null,edgeMode:null,editable:null,elevation:Le,enableBackgroun
vendor: 5,617 bytes, line 635
635d:null,end:null,event:null,exponent:Le,externalResourcesRequired:null,fill:null,fillOpacity:Le,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:cf,g2:cf,glyphName:cf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Le,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Le,horizOriginX:Le,horizOriginY:Le,id:null,ideographic:Le,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Le,k:Le,k1:Le,k2:Le,k3:Le,k4:Le,kernelMatrix:ka,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Le,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:Le,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:Le,overlineThickness:Le,paintOrder:null,panose1:null,path:null,pathLength:Le,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ur,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Le,pointsAtY:Le,pointsAtZ:Le,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ka,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ka,rev:ka,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ka,requiredFeatures:ka,requiredFonts:ka,requiredFormats:ka,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:Le,specularExponent:Le,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Le,strikethroughThickness:Le,string:null,stroke:null,strokeDashArray:ka,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Le,strokeOpacity:Le,strokeWidth:null,style:null,surfaceScale:Le,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ka,tabIndex:Le,tableValues:null,target:null,targetX:Le,targetY:Le,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ka,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Le,underlineThickness:Le,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Le,values:null,vAlphabetic:Le,vMathematical:Le,vectorEffect:null,vHanging:Le,vIdeographic:Le,version:null,vertAdvY:Le,vertOriginX:Le,vertOriginY:Le,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Le,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),J8e=/^data[-\w.:]+$/i,MB=/-[a-z]/g,e7e=/[A-Z]/g;function t7e(e,t){const r=ES(t);let n=t,a=gi;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&J8e.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(MB,n7e);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!MB.test(i)){let o=i.replace(e7e,r7e);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=E8}return new a(n,t)}function r7e(e){return"-"+e.toLowerCase()}function n7e(e){return e.charAt(1).toUpperCase()}const a7e=WW([QW,XW,eK,tK,Q8e],"html"),rK=WW([QW,XW,eK,tK,Z8e],"svg"),PB={}.hasOwnProperty;function _8(e,t){const r=t||{};function n(a,...i){let o=n.invalid;const s=n.handlers;if(a&&PB.call(a,e)){const u=String(a[e]);o=PB.call(s,u)?s[u]:n.unknown}if(o)return o.call(this,a,...i)}return n.handlers=r.handlers||{}
vendor: 4,430 bytes, line 635
635,n.invalid=r.invalid,n.unknown=r.unknown,n}const i7e={},o7e={}.hasOwnProperty,nK=_8("type",{handlers:{root:l7e,element:h7e,text:f7e,comment:d7e,doctype:c7e}});function s7e(e,t){const n=(t||i7e).space;return nK(e,n==="svg"?rK:a7e)}function l7e(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=w8(e.children,r,t),s0(e,r),r}function u7e(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=w8(e.children,r,t),s0(e,r),r}function c7e(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return s0(e,t),t}function f7e(e){const t={nodeName:"#text",value:e.value,parentNode:null};return s0(e,t),t}function d7e(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return s0(e,t),t}function h7e(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=rK);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&o7e.call(e.properties,i)){const u=p7e(n,i,e.properties[i]);u&&a.push(u)}}const o=n.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:ro[o],childNodes:[],parentNode:null};return s.childNodes=w8(e.children,s,n),s0(e,s),e.tagName==="template"&&e.content&&(s.content=u7e(e.content,n)),s}function p7e(e,t,r){const n=t7e(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?BA(r):HA(r));const a={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=n.attribute.slice(0,i)),a.namespace=ro[n.space]}return a}function w8(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=nK(e[n],r);i.parentNode=t,a.push(i)}return a}function s0(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const aK=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],m7e=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]),br="�";var X;(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"})(X||(X={}));const la={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function iK(e){return e>=55296&&e<=57343}function g7e(e){return e>=56320&&e<=57343}function v7e(e,t){return(e-55296)*1024+9216+t}function oK(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function sK(e){return e>=64976&&e<=65007||m7e.has(e)}var be;(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,679 bytes, line 635
635dFirstCharacterOfTagName="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"})(be||(be={}));const y7e=65536;class b7e{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=y7e,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,r){const{line:n,col:a,offset:i}=this,o=a+r,s=i+r;return{code:t,startLine:n,endLine:n,startCol:o,endCol:o,startOffset:s,endOffset:s}}_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 r=this.html.charCodeAt(this.pos+1);if(g7e(r))return this.pos++,this._addGap(),v7e(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,X.EOF;return this._err(be.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,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,X.EOF;const n=this.html.charCodeAt(r);return n===X.CARRIAGE_RETURN?X.LINE_FEED:n}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,X.EOF;let t=this.html.charCodeAt(this.pos);return t===X.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,X.LINE_FEED):t===X.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,iK(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===X.LINE_FEED||t===X.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){oK(t)?this._err(be.controlCharacterInInputStream):sK(t)&&this._err(be.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var vt;(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"})(vt||(vt={}));function lK(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const x7e=new Uint16Array('
vendor: 16,129 bytes, line 635
635áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\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 635
635ä»È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 635
635astÐâ¹§â¹²àº
è¶;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;æ
635'.split("").map(e=>e.charCodeAt(0))),E7e=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 _7e(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=E7e.get(e))!==null&&t!==void 0?t:e}var pn;(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"})(pn||(pn={}));const w7e=32;var al;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(al||(al={}));function wS(e){return e>=pn.ZERO&&e<=pn.NINE}function S7e(e){return e>=pn.UPPER_A&&e<=pn.UPPER_F||e>=pn.LOWER_A&&e<=pn.LOWER_F}function T7e(e){return e>=pn.UPPER_A&&e<=pn.UPPER_Z||e>=pn.LOWER_A&&e<=pn.LOWER_Z||wS(e)}function A7e(e){return e===pn.EQUALS||T7e(e)}var cn;(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"})(cn||(cn={}));var Go;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Go||(Go={}));class C7e{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=cn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Go.Strict}startEntity(t){this.decodeMode=t,this.state=cn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case cn.EntityStart:return t.charCodeAt(r)===pn.NUM?(this.state=cn.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=cn.NamedEntity,this.stateNamedEntity(t,r));case cn.NumericStart:return this.stateNumericStart(t,r);case cn.NumericDecimal:return this.stateNumericDecimal(t,r);case cn.NumericHex:return this.stateNumericHex(t,r);case cn.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|w7e)===pn.LOWER_X?(this.state=cn.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=cn.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(r,i),a),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(wS(a)||S7e(a))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(wS(a))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===pn.SEMI)this.consumed+=1;else if(this.decodeMode===Go.Strict)return 0;return this.emitCodePoint(_7e(this.result),this.consumed),this.errors&&(t!==pn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&al.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const o=t.charCodeAt(r);if(this.treeIndex=O7e(n,a,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===Go.Attribute&&(i===0||A7e(o))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&al.VALUE_LENGTH)>>14,i!==0){if(o===pn.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Go.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,a=(n[r]&al.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:a}=this;return this.emitCodePoint(r===1?a[t]&~al.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case cn.NamedEntity:return this.result!==0&&(this.decodeMode!==Go.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case cn.NumericDecimal:return this.emitNumericEntity(0,2);case cn.NumericHex:return this.emitNumericEntity(0,3);case cn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case cn.EntityStart:return 0}}}function O7e(e,t,r,n){const a=(t&al.BRANCH_LENGTH)>>7,i=t&al.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const u=n-i;return u<0||u>=a?-1:e[r+u]-1}let o=r,s=o+a-1;for(;o<=s;){const u=o+s>>>1,f=e[u];if(f<n)o=u+1;else if(f>n)s=u-1;else return e[u+a]}return-1}var Ne;(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/"})(Ne||(Ne={}));var pu;(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"})(pu||(pu={}));var ri;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ri||(ri={}));var he;(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
635ike",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"})(he||(he={}));var T;(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"})(T||(T={}));const k7e=new Map([[he.A,T.A],[he.ADDRESS,T.ADDRESS],[he.ANNOTATION_XML,T.ANNOTATION_XML],[he.APPLET,T.APPLET],[he.AREA,T.AREA],[he.ARTICLE,T.ARTICLE],[he.ASIDE,T.ASIDE],[he.B,T.B],[he.BASE,T.BASE],[he.BASEFONT,T.BASEFONT],[he.BGSOUND,T.BGSOUND],[he.BIG,T.BIG],[he.BLOCKQUOTE,T.BLOCKQUOTE],[he.BODY,T.BODY],[he.BR,T.BR],[he.BUTTON,T.BUTTON],[he.CAPTION,T.CAPTION],[he.CENTER,T.CENTER],[he.CODE,T.CODE],[he.COL,T.COL],[he.COLGROUP,T.COLGROUP],[he.DD,T.DD],[he.DESC,T.DESC],[he.DETAILS,T.DETAILS],[he.DIALOG,T.DIALOG],[he.DIR,T.DIR],[he.DIV,T.DIV],[he.DL,T.DL],[he.DT,T.DT],[he.EM,T.EM],[he.EMBED,T.EMBED],[he.FIELDSET,T.FIELDSET],[he.FIGCAPTION,T.FIGCAPTION],[he.FIGURE,T.FIGURE],[he.FONT,T.FONT],[he.FOOTER,T.FOOTER],[he.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[he.FORM,T.FORM],[he.FRAME,T.FRAME],[he.FRAMESET,T.FRAMESET],[he.H1,T.H1],[he.H2,T.H2],[he.H3,T.H3],[he.H4,T.H4],[he.H5,T.H5],[he.H6,T.H6],[he.HEAD,T.HEAD],[he.HEADER,T.HEADER],[he.HGROUP,T.HGROUP],[he.HR,T.HR],[he.HTML,T.HTML],[he.I,T.I],[he.IMG,T.IMG],[he.IMAGE,T.IMAGE],[he.INPUT,T.INPUT],[he.IFRAME,T.IFRAME],[he.KEYGEN,T.KEYGEN],[he.LABEL,T.LABEL],[he.LI,T.LI],[he.LINK,T.LINK],[he.LISTING,T.LISTING],[he.MAIN,T.MAIN],[he.MALIGNMARK,T.MALIGNMARK],[he.MARQUEE,T.MARQUEE],[he.MATH,T.MATH],[he.MENU,T.MENU],[he.META,T.META],[he.MGLYPH,T.MGLYPH],[he.MI,T.MI],[he.MO,T.MO],[he.MN,T.MN],[he.MS,T.MS],[he.MTEXT,T.MTEXT],[he.NAV,T.NAV],[he.NOBR,T.NOBR],[he.NOFRAMES,T.NOFRAMES],[he.NOEMBED,T.NOEMBED],[he.NOSCRIPT,T.NOSCRIPT],[he.OBJECT,T.OBJECT],[he.OL,T.OL],[he.OPTGROUP,T.OPTGROUP],[he.OPTION,T.OPTION],[he.P,T.P],[he.PARAM,T.PARAM],[he.PLAINTEXT,T.PLAINTEXT],[he.PRE,T.PRE],[he.RB,T.RB],[he.RP,T.RP],[he.RT,T.RT],[he.RTC,T.RTC],[he.RUBY,T.RUBY],[he.S,T.S],[he.SCRIPT,T.SCRIPT],[he.SEARCH,T.SEARCH],[he.SECTION,T.SECTION],[he.SELECT,T.SELECT],[he.SOURCE,T.SOURCE],[he.SMALL,T.SMALL],[he.SPAN,T.SPAN],[he.STRIKE,T.STRIKE],[he.STRONG,T.STRONG],[he.STYLE,T.STYLE],[he.SUB,T.SUB],[he.SUMMARY,T.SUMMARY],[he.SUP,T.SUP],[he.TABLE,T.TABLE],[he.TBODY,T.TBODY],[he.TEMPLATE,T.TEMPLATE],[he.TEXTAREA,T.TEXTAREA],[he.TFOOT,T.TFOOT],[he.TD,T.TD],[he.TH,T.TH],[he.THEAD,T.THEAD],[he.TITLE,T.TITLE],[he.TR,T.TR],[he.TRACK,T.TRACK],[he.TT,T.TT],[he.U,T.U],[he.UL,T.UL],[he.SVG,T.SVG],[he.VAR,T.VAR],[he.WBR,T.WBR],[he.XMP,T.XMP]]);function l0(e){var t;return(t=k7e.get(e))!==null&&t!==void 0?t:T.UNKNOWN}const Me=T,N7e={[Ne.HTML]:new Set([Me.ADDRESS,Me.APPLET,Me.AREA,Me.ARTICLE,Me.ASIDE,Me.BASE,Me.BASEFONT,Me.BGSOUND,Me.BLOCKQUOTE,Me.BODY,Me.BR,Me.BUTTON,Me.CAPTION,Me.CENTER,Me.COL,Me.COLGROUP,Me.DD,Me.DETAILS,Me.DIR,Me.DIV,Me.DL,Me.DT,Me.EMBED,Me.FIELDSET,Me.FIGCAPTION,Me.FIGURE,Me.FOOTER,Me.FORM,Me.FRAME,Me.FRAMESET,Me.H1,Me.H2,Me.H3,Me.H4,Me.H5,Me.H6,Me.HEAD,Me.HEADER,Me.HGROUP,Me.HR,Me.HTML,Me.IFRAME,Me.IMG,Me.INPUT,Me.LI,Me.LINK,Me.LISTING,Me.MAIN,Me.MARQUEE,Me.MENU,Me.META,Me.NAV,Me.NOEMBED,Me.NOFRAMES,Me.NOSCRIPT,Me.OBJECT,Me.OL,Me.P,Me.PARAM,Me.PLAINTEXT,Me.PRE,Me.SCRIPT,Me.SECTION,Me.SELECT,Me.
635SOURCE,Me.STYLE,Me.SUMMARY,Me.TABLE,Me.TBODY,Me.TD,Me.TEMPLATE,Me.TEXTAREA,Me.TFOOT,Me.TH,Me.THEAD,Me.TITLE,Me.TR,Me.TRACK,Me.UL,Me.WBR,Me.XMP]),[Ne.MATHML]:new Set([Me.MI,Me.MO,Me.MN,Me.MS,Me.MTEXT,Me.ANNOTATION_XML]),[Ne.SVG]:new Set([Me.TITLE,Me.FOREIGN_OBJECT,Me.DESC]),[Ne.XLINK]:new Set,[Ne.XML]:new Set,[Ne.XMLNS]:new Set},SS=new Set([Me.H1,Me.H2,Me.H3,Me.H4,Me.H5,Me.H6]);he.STYLE,he.SCRIPT,he.XMP,he.IFRAME,he.NOEMBED,he.NOFRAMES,he.PLAINTEXT;var ee;(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"})(ee||(ee={}));const Lr={DATA:ee.DATA,RCDATA:ee.RCDATA,RAWTEXT:ee.RAWTEXT,SCRIPT_DATA:ee.SCRIPT_DATA,PLAINTEXT:ee.PLAINTEXT,CDATA_SECTION:ee.C
vendor: 11,773 bytes, line 635
635DATA_SECTION};function R7e(e){return e>=X.DIGIT_0&&e<=X.DIGIT_9}function Rd(e){return e>=X.LATIN_CAPITAL_A&&e<=X.LATIN_CAPITAL_Z}function M7e(e){return e>=X.LATIN_SMALL_A&&e<=X.LATIN_SMALL_Z}function Ks(e){return M7e(e)||Rd(e)}function IB(e){return Ks(e)||R7e(e)}function Dg(e){return e+32}function uK(e){return e===X.SPACE||e===X.LINE_FEED||e===X.TABULATION||e===X.FORM_FEED}function DB(e){return uK(e)||e===X.SOLIDUS||e===X.GREATER_THAN_SIGN}function P7e(e){return e===X.NULL?be.nullCharacterReference:e>1114111?be.characterReferenceOutsideUnicodeRange:iK(e)?be.surrogateCharacterReference:sK(e)?be.noncharacterCharacterReference:oK(e)||e===X.CARRIAGE_RETURN?be.controlCharacterReference:null}class I7e{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=ee.DATA,this.returnState=ee.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new b7e(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new C7e(x7e,(n,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(be.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(be.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const a=P7e(n);a&&this._err(a,1)}}:void 0)}_err(t,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(t,r))}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,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n?.()}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 r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:vt.START_TAG,tagName:"",tagID:T.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:vt.END_TAG,tagName:"",tagID:T.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:vt.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:vt.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(lK(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const a=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(be.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=l0(t.tagName),t.type===vt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(be.endTagWithAttributes),t.selfClosing&&this._err(be.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 vt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case vt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case vt.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:vt.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=uK(t)?vt.WHITESPACE_CHARACTER:t===X.NULL?vt.NULL_CHARACTER:vt.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(vt.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=ee.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Go.Attribute:Go.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===ee.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===ee.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===ee.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case ee.DATA:{this._stateData(t);break}case ee.RCDATA:{this._stateRcdata(t);break}case ee.RAWTEXT:{this._stateRawtext(t);break}case ee.SCRIPT_DATA:{this._stateScriptData(t);break}case ee.PLAINTEXT:{this._statePlaintext(t);break}case ee.TAG_OPEN:{this._stateTagOpen(t);break}case ee.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case ee.TAG_NAME:{this._stateTagName(t);break}case ee.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case ee.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case ee.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case ee.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case ee.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case ee.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case ee.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case ee.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case ee.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case ee.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case ee.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case ee.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case ee.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case ee.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case ee.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case ee.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case ee.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case ee.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case ee.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case ee.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case ee.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case ee.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case ee.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case ee.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case ee.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case ee.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case ee.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case ee.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case ee.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case ee.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case ee.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case ee.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case ee.BOGUS_COMMENT:{this._stateBogusComment(t);break}case ee.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case ee.COMMENT_START:{this._stateCommentStart(t);break}case ee.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case ee.COMMENT:{this._stateComment(t);break}case ee.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case ee.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case ee.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case ee.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case ee.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case ee.COMMENT_END:{this._stateCommentEnd(t);break}case ee.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case ee.DOCTYPE:{this._stateDoctype(t);break}case ee.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case ee.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case ee.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case ee.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case ee.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case ee.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case ee.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case ee.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case ee.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case ee.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case ee.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctype
vendor: 2,480 bytes, line 635
635SystemIdentifier(t);break}case ee.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case ee.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case ee.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case ee.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case ee.CDATA_SECTION:{this._stateCdataSection(t);break}case ee.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case ee.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case ee.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case ee.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case X.LESS_THAN_SIGN:{this.state=ee.TAG_OPEN;break}case X.AMPERSAND:{this._startCharacterReference();break}case X.NULL:{this._err(be.unexpectedNullCharacter),this._emitCodePoint(t);break}case X.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case X.AMPERSAND:{this._startCharacterReference();break}case X.LESS_THAN_SIGN:{this.state=ee.RCDATA_LESS_THAN_SIGN;break}case X.NULL:{this._err(be.unexpectedNullCharacter),this._emitChars(br);break}case X.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case X.LESS_THAN_SIGN:{this.state=ee.RAWTEXT_LESS_THAN_SIGN;break}case X.NULL:{this._err(be.unexpectedNullCharacter),this._emitChars(br);break}case X.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case X.LESS_THAN_SIGN:{this.state=ee.SCRIPT_DATA_LESS_THAN_SIGN;break}case X.NULL:{this._err(be.unexpectedNullCharacter),this._emitChars(br);break}case X.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case X.NULL:{this._err(be.unexpectedNullCharacter),this._emitChars(br);break}case X.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ks(t))this._createStartTagToken(),this.state=ee.TAG_NAME,this._stateTagName(t);else switch(t){case X.EXCLAMATION_MARK:{this.state=ee.MARKUP_DECLARATION_OPEN;break}case X.SOLIDUS:{this.state=ee.END_TAG_OPEN;break}case X.QUESTION_MARK:{this._err(be.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=ee.BOGUS_COMMENT,this._stateBogusComment(t);break}case X.EOF:{this._err(be.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}
vendor: 97,243 bytes, line 635
635default:this._err(be.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=ee.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ks(t))this._createEndTagToken(),this.state=ee.TAG_NAME,this._stateTagName(t);else switch(t){case X.GREATER_THAN_SIGN:{this._err(be.missingEndTagName),this.state=ee.DATA;break}case X.EOF:{this._err(be.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(be.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=ee.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:{this.state=ee.BEFORE_ATTRIBUTE_NAME;break}case X.SOLIDUS:{this.state=ee.SELF_CLOSING_START_TAG;break}case X.GREATER_THAN_SIGN:{this.state=ee.DATA,this.emitCurrentTagToken();break}case X.NULL:{this._err(be.unexpectedNullCharacter),r.tagName+=br;break}case X.EOF:{this._err(be.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Rd(t)?Dg(t):t)}}_stateRcdataLessThanSign(t){t===X.SOLIDUS?this.state=ee.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=ee.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Ks(t)?(this.state=ee.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=ee.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=ee.BEFORE_ATTRIBUTE_NAME,!1;case X.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=ee.SELF_CLOSING_START_TAG,!1;case X.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=ee.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=ee.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===X.SOLIDUS?this.state=ee.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=ee.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Ks(t)?(this.state=ee.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=ee.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=ee.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case X.SOLIDUS:{this.state=ee.SCRIPT_DATA_END_TAG_OPEN;break}case X.EXCLAMATION_MARK:{this.state=ee.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=ee.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Ks(t)?(this.state=ee.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=ee.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=ee.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===X.HYPHEN_MINUS?(this.state=ee.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=ee.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===X.HYPHEN_MINUS?(this.state=ee.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=ee.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case X.HYPHEN_MINUS:{this.state=ee.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case X.LESS_THAN_SIGN:{this.state=ee.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case X.NULL:{this._err(be.unexpectedNullCharacter),this._emitChars(br);break}case X.EOF:{this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case X.HYPHEN_MINUS:{this.state=ee.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case X.LESS_THAN_SIGN:{this.state=ee.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case X.NULL:{this._err(be.unexpectedNullCharacter),this.state=ee.SCRIPT_DATA_ESCAPED,this._emitChars(br);break}case X.EOF:{this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ee.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case X.HYPHEN_MINUS:{this._emitChars("-");break}case X.LESS_THAN_SIGN:{this.state=ee.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case X.GREATER_THAN_SIGN:{this.state=ee.SCRIPT_DATA,this._emitChars(">");break}case X.NULL:{this._err(be.unexpectedNullCharacter),this.state=ee.SCRIPT_DATA_ESCAPED,this._emitChars(br);break}case X.EOF:{this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ee.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===X.SOLIDUS?this.state=ee.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ks(t)?(this._emitChars("<"),this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=ee.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Ks(t)?(this.state=ee.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=ee.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=ee.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(la.SCRIPT,!1)&&DB(this.preprocessor.peek(la.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<la.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=ee.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case X.HYPHEN_MINUS:{this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case X.LESS_THAN_SIGN:{this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case X.NULL:{this._err(be.unexpectedNullCharacter),this._emitChars(br);break}case X.EOF:{this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case X.HYPHEN_MINUS:{this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case X.LESS_THAN_SIGN:{this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case X.NULL:{this._err(be.unexpectedNullCharacter),this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(br);break}case X.EOF:{this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case X.HYPHEN_MINUS:{this._emitChars("-");break}case X.LESS_THAN_SIGN:{this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case X.GREATER_THAN_SIGN:{this.state=ee.SCRIPT_DATA,this._emitChars(">");break}case X.NULL:{this._err(be.unexpectedNullCharacter),this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(br);break}case X.EOF:{this._err(be.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===X.SOLIDUS?(this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(la.SCRIPT,!1)&&DB(this.preprocessor.peek(la.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<la.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=ee.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=ee.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:break;case X.SOLIDUS:case X.GREATER_THAN_SIGN:case X.EOF:{this.state=ee.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case X.EQUALS_SIGN:{this._err(be.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=ee.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=ee.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:case X.SOLIDUS:case X.GREATER_THAN_SIGN:case X.EOF:{this._leaveAttrName(),this.state=ee.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case X.EQUALS_SIGN:{this._leaveAttrName(),this.state=ee.BEFORE_ATTRIBUTE_VALUE;break}case X.QUOTATION_MARK:case X.APOSTROPHE:case X.LESS_THAN_SIGN:{this._err(be.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case X.NULL:{this._err(be.unexpectedNullCharacter),this.currentAttr.name+=br;break}default:this.currentAttr.name+=String.fromCodePoint(Rd(t)?Dg(t):t)}}_stateAfterAttributeName(t){switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:break;case X.SOLIDUS:{this.state=ee.SELF_CLOSING_START_TAG;break}case X.EQUALS_SIGN:{this.state=ee.BEFORE_ATTRIBUTE_VALUE;break}case X.GREATER_THAN_SIGN:{this.state=ee.DATA,this.emitCurrentTagToken();break}case X.EOF:{this._err(be.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=ee.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:break;case X.QUOTATION_MARK:{this.state=ee.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case X.APOSTROPHE:{this.state=ee.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case X.GREATER_THAN_SIGN:{this._err(be.missingAttributeValue),this.state=ee.DATA,this.emitCurrentTagToken();break}default:this.state=ee.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case X.QUOTATION_MARK:{this.state=ee.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case X.AMPERSAND:{this._startCharacterReference();break}case X.NULL:{this._err(be.unexpectedNullCharacter),this.currentAttr.value+=br;break}case X.EOF:{this._err(be.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case X.APOSTROPHE:{this.state=ee.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case X.AMPERSAND:{this._startCharacterReference();break}case X.NULL:{this._err(be.unexpectedNullCharacter),this.currentAttr.value+=br;break}case X.EOF:{this._err(be.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:{this._leaveAttrValue(),this.state=ee.BEFORE_ATTRIBUTE_NAME;break}case X.AMPERSAND:{this._startCharacterReference();break}case X.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=ee.DATA,this.emitCurrentTagToken();break}case X.NULL:{this._err(be.unexpectedNullCharacter),this.currentAttr.value+=br;break}case X.QUOTATION_MARK:case X.APOSTROPHE:case X.LESS_THAN_SIGN:case X.EQUALS_SIGN:case X.GRAVE_ACCENT:{this._err(be.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case X.EOF:{this._err(be.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:{this._leaveAttrValue(),this.state=ee.BEFORE_ATTRIBUTE_NAME;break}case X.SOLIDUS:{this._leaveAttrValue(),this.state=ee.SELF_CLOSING_START_TAG;break}case X.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=ee.DATA,this.emitCurrentTagToken();break}case X.EOF:{this._err(be.eofInTag),this._emitEOFToken();break}default:this._err(be.missingWhitespaceBetweenAttributes),this.state=ee.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case X.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=ee.DATA,this.emitCurrentTagToken();break}case X.EOF:{this._err(be.eofInTag),this._emitEOFToken();break}default:this._err(be.unexpectedSolidusInTag),this.state=ee.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case X.GREATER_THAN_SIGN:{this.state=ee.DATA,this.emitCurrentComment(r);break}case X.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case X.NULL:{this._err(be.unexpectedNullCharacter),r.data+=br;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(la.DASH_DASH,!0)?(this._createCommentToken(la.DASH_DASH.length+1),this.state=ee.COMMENT_START):this._consumeSequenceIfMatch(la.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(la.DOCTYPE.length+1),this.state=ee.DOCTYPE):this._consumeSequenceIfMatch(la.CDATA_START,!0)?this.inForeignNode?this.state=ee.CDATA_SECTION:(this._err(be.cdataInHtmlContent),this._createCommentToken(la.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=ee.BOGUS_COMMENT):this._ensureHibernation()||(this._err(be.incorrectlyOpenedComment),this._createCommentToken(2),this.state=ee.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case X.HYPHEN_MINUS:{this.state=ee.COMMENT_START_DASH;break}case X.GREATER_THAN_SIGN:{this._err(be.abruptClosingOfEmptyComment),this.state=ee.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=ee.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case X.HYPHEN_MINUS:{this.state=ee.COMMENT_END;break}case X.GREATER_THAN_SIGN:{this._err(be.abruptClosingOfEmptyComment),this.state=ee.DATA,this.emitCurrentComment(r);break}case X.EOF:{this._err(be.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=ee.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case X.HYPHEN_MINUS:{this.state=ee.COMMENT_END_DASH;break}case X.LESS_THAN_SIGN:{r.data+="<",this.state=ee.COMMENT_LESS_THAN_SIGN;break}case X.NULL:{this._err(be.unexpectedNullCharacter),r.data+=br;break}case X.EOF:{this._err(be.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case X.EXCLAMATION_MARK:{r.data+="!",this.state=ee.COMMENT_LESS_THAN_SIGN_BANG;break}case X.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=ee.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===X.HYPHEN_MINUS?this.state=ee.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=ee.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===X.HYPHEN_MINUS?this.state=ee.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=ee.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==X.GREATER_THAN_SIGN&&t!==X.EOF&&this._err(be.nestedComment),this.state=ee.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case X.HYPHEN_MINUS:{this.state=ee.COMMENT_END;break}case X.EOF:{this._err(be.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=ee.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case X.GREATER_THAN_SIGN:{this.state=ee.DATA,this.emitCurrentComment(r);break}case X.EXCLAMATION_MARK:{this.state=ee.COMMENT_END_BANG;break}case X.HYPHEN_MINUS:{r.data+="-";break}case X.EOF:{this._err(be.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=ee.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case X.HYPHEN_MINUS:{r.data+="--!",this.state=ee.COMMENT_END_DASH;break}case X.GREATER_THAN_SIGN:{this._err(be.incorrectlyClosedComment),this.state=ee.DATA,this.emitCurrentComment(r);break}case X.EOF:{this._err(be.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=ee.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:{this.state=ee.BEFORE_DOCTYPE_NAME;break}case X.GREATER_THAN_SIGN:{this.state=ee.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case X.EOF:{this._err(be.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(be.missingWhitespaceBeforeDoctypeName),this.state=ee.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Rd(t))this._createDoctypeToken(String.fromCharCode(Dg(t))),this.state=ee.DOCTYPE_NAME;else switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:break;case X.NULL:{this._err(be.unexpectedNullCharacter),this._createDoctypeToken(br),this.state=ee.DOCTYPE_NAME;break}case X.GREATER_THAN_SIGN:{this._err(be.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ee.DATA;break}case X.EOF:{this._err(be.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=ee.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:{this.state=ee.AFTER_DOCTYPE_NAME;break}case X.GREATER_THAN_SIGN:{this.state=ee.DATA,this.emitCurrentDoctype(r);break}case X.NULL:{this._err(be.unexpectedNullCharacter),r.name+=br;break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Rd(t)?Dg(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:break;case X.GREATER_THAN_SIGN:{this.state=ee.DATA,this.emitCurrentDoctype(r);break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(la.PUBLIC,!1)?this.state=ee.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(la.SYSTEM,!1)?this.state=ee.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(be.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=ee.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:{this.state=ee.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case X.QUOTATION_MARK:{this._err(be.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=ee.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case X.APOSTROPHE:{this._err(be.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=ee.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case X.GREATER_THAN_SIGN:{this._err(be.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=ee.DATA,this.emitCurrentDoctype(r);break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(be.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=ee.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:break;case X.QUOTATION_MARK:{r.publicId="",this.state=ee.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case X.APOSTROPHE:{r.publicId="",this.state=ee.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case X.GREATER_THAN_SIGN:{this._err(be.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=ee.DATA,this.emitCurrentDoctype(r);break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(be.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=ee.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case X.QUOTATION_MARK:{this.state=ee.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case X.NULL:{this._err(be.unexpectedNullCharacter),r.publicId+=br;break}case X.GREATER_THAN_SIGN:{this._err(be.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ee.DATA;break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case X.APOSTROPHE:{this.state=ee.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case X.NULL:{this._err(be.unexpectedNullCharacter),r.publicId+=br;break}case X.GREATER_THAN_SIGN:{this._err(be.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ee.DATA;break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:{this.state=ee.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case X.GREATER_THAN_SIGN:{this.state=ee.DATA,this.emitCurrentDoctype(r);break}case X.QUOTATION_MARK:{this._err(be.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=ee.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case X.APOSTROPHE:{this._err(be.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=ee.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ee.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:break;case X.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=ee.DATA;break}case X.QUOTATION_MARK:{r.systemId="",this.state=ee.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case X.APOSTROPHE:{r.systemId="",this.state=ee.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ee.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:{this.state=ee.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case X.QUOTATION_MARK:{this._err(be.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=ee.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case X.APOSTROPHE:{this._err(be.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=ee.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case X.GREATER_THAN_SIGN:{this._err(be.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ee.DATA,this.emitCurrentDoctype(r);break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ee.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:break;case X.QUOTATION_MARK:{r.systemId="",this.state=ee.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case X.APOSTROPHE:{r.systemId="",this.state=ee.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case X.GREATER_THAN_SIGN:{this._err(be.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ee.DATA,this.emitCurrentDoctype(r);break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(be.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=ee.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case X.QUOTATION_MARK:{this.state=ee.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case X.NULL:{this._err(be.unexpectedNullCharacter),r.systemId+=br;break}case X.GREATER_THAN_SIGN:{this._err(be.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ee.DATA;break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case X.APOSTROPHE:{this.state=ee.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case X.NULL:{this._err(be.unexpectedNullCharacter),r.systemId+=br;break}case X.GREATER_THAN_SIGN:{this._err(be.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=ee.DATA;break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case X.SPACE:case X.LINE_FEED:case X.TABULATION:case X.FORM_FEED:break;case X.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=ee.DATA;break}case X.EOF:{this._err(be.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(be.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=ee.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case X.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=ee.DATA;break}case X.NULL:{this._err(be.unexpectedNullCharacter);break}case X.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case X.RIGHT_SQUARE_BRACKET:{this.state=ee.CDATA_SECTION_BRACKET;break}case X.EOF:{this._err(be.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===X.RIGHT_SQUARE_BRACKET?this.state=ee.CDATA_SECTION_END:(this._emitChars("]"),this.state=ee.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case X.GREATER_THAN_SIGN:{this.state=ee.DATA;break}case X.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=ee.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(X.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&IB(this.preprocessor.peek(1))?ee.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){IB(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===X.SEMICOLON&&this._err(be.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const cK=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),LB=new Set([...cK,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),bv=new Set([T.APPLET,T.CAPTION,T.HTML,T.MARQUEE,T.OBJECT,T.TABLE,T.TD,T.TEMPLATE,T.TH]),D7e=new Set([...bv,T.OL,T.UL]),L7e=new Set([...bv,T.BUTTON]),jB=new Set([T.ANNOTATION_XML,T.MI,T.MN,T.MO,T.MS,T.MTEXT]),BB=new Set([T.DESC,T.FOREIGN_OBJECT,T.TITLE]),j7e=new Set([T.TR,T.TEMPLATE,T.HTML]),B7e=new Set([T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML]),z7e=new Set([T.TABLE,T.TEMPLATE,T.HTML]),H7e=new Set([T.TD,T.TH]);class F7e{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Ne.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const a=this._indexOf(t)+1;this.items.splice(a,0,r),this.tagIDs.splice(a,0,n),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 r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==Ne.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(SS,Ne.HTML)}popUntilTableCellPopped(){this.popUntilPopped(H7e,Ne.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(z7e,Ne.HTML)}clearBackToTableBodyContext(){this.clearBackTo(B7e,Ne.HTML)}clearBackToTableRowContext(){this.clearBackTo(j7e,Ne.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===T.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case Ne.HTML:{if(a===t)return!0;if(r.has(a))return!1;break}case Ne.SVG:{if(BB.has(a))return!1;break}case Ne.MATHML:{if(jB.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,bv)}hasInListItemScope(t){return this.hasInDynamicScope(t,D7e)}hasInButtonScope(t){return this.hasInDynamicScope(t,L7e)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case Ne.HTML:{if(SS.has(r))return!0;if(bv.has(r))return!1;break}case Ne.SVG:{if(BB.has(r))return!1;break}case Ne.MATHML:{if(jB.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===Ne.HTML)switch(this.tagIDs[r]){case t:return!0;case T.TABLE:case T.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Ne.HTML)switch(this.tagIDs[t]){case T.TBODY:case T.THEAD:case T.TFOOT:return!0;case T.TABLE:case T.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===Ne.HTML)switch(this.tagIDs[r]){case t:return!0;case T.OPTION:case T.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&cK.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&LB.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&LB.has(this.currentTagId);)this.pop()}}const L_=3;var Zi;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Zi||(Zi={}));const zB={type:Zi.Marker};class $7e{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],a=r.length,i=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){const u=this.entries[s];if(u.type===Zi.Marker)break;const{element:f}=u;if(this.treeAdapter.getTagName(f)===i&&this.treeAdapter.getNamespaceURI(f)===o){const h=this.treeAdapter.getAttrList(f);h.length===a&&n.push({idx:s,attrs:h})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<L_)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<L_)return;const a=new Map(r.map(o=>[o.name,o.value]));let i=0;for(let o=0;o<n.length;o++){const s=n[o];s.attrs.every(u=>a.get(u.name)===u.value)&&(i+=1,i>=L_&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(zB)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:Zi.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Zi.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(zB);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===Zi.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===Zi.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===Zi.Element&&r.element===t)}}const Xs={createDocument(){return{nodeName:"#document",mode:ri.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,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,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};Xs.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 r=e.childNodes[e.childNodes.length-1];if(Xs.isTextNode(r)){r.value+=t;return}}Xs.appendChild(e,Xs.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&Xs.isTextNode(n)?n.value+=t:Xs.insertBefore(e,Xs.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},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}}},fK="html",U7e="about:legacy-compat",q7e="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",dK=["+//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//"],V7e=[...dK,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],G7e=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),hK=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Y7e=[...hK,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function HB(e,t){return t.some(r=>e.startsWith(r))}function W7e(e){return e.name===fK&&e.publicId===null&&(e.systemId===null||e.systemId===U7e)}function K7e(e){if(e.name!==fK)return ri.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===q7e)return ri.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),G7e.has(r))return ri.QUIRKS;let n=t===null?V7e:dK;if(HB(r,n))return ri.QUIRKS;if(n=t===null?hK:Y7e,HB(r,n))return ri.LIMITED_QUIRKS}return ri.NO_QUIRKS}const FB={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},X7e="definitionurl",Q7e="definitionURL",Z7e=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])),J7e=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Ne.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Ne.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Ne.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Ne.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Ne.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Ne.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Ne.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Ne.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Ne.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Ne.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Ne.XMLNS}]]),eCe=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])),tCe=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function rCe(e){const t=e.tagID;return t===T.FONT&&e.attrs.some(({name:n})=>n===pu.COLOR||n===pu.SIZE||n===pu.FACE)||tCe.has(t)}function pK(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===X7e){e.attrs[t].name=Q7e;break}}function mK(e){for(let t=0;t<e.attrs.length;t++){const r=Z7e.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function S8(e){for(let t=0;t<e.attrs.length;t++){const r=J7e.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function nCe(e){const t=eCe.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=l0(e.tagName))}function aCe(e,t){return t===Ne.MATHML&&(e===T.MI||e===T.MO||e===T.MN||e===T.MS||e===T.MTEXT)}function iCe(e,t,r){if(t===Ne.MATHML&&e===T.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===pu.ENCODING){const a=r[n].value.toLowerCase();return a===FB.TEXT_HTML||a===FB.APPLICATION_XML}}return t===Ne.SVG&&(e===T.FOREIGN_OBJECT||e===T.DESC||e===T.TITLE)}function oCe(e,t,r,n){return(!n||n===Ne.HTML)&&iCe(e,t,r)||(!n||n===Ne.MATHML)&&aCe(e,t)}const sCe="hidden",lCe=8,uCe=3;var ie;(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"})(ie||(ie={}));const cCe={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},gK=new Set([T.TABLE,T.TBODY,T.TFOOT,T.THEAD,T.TR]),$B={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Xs,onParseError:null};class UB{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=ie.INITIAL,this.originalInsertionMode=ie.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...$B,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new I7e(this.options,this),this.activeFormattingElements=new $7e(this.treeAdapter),this.fragmentContextID=n?l0(this.treeAdapter.getTagName(n)):T.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new F7e(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n={...$B,...r};t??(t=n.treeAdapter.createElement(he.TEMPLATE,Ne.HTML,[]));const a=n.treeAdapter.createElement("documentmock",Ne.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===T.TEMPLATE&&i.tmplInsertionModeStack.unshift(ie.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:cCe,o={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,t,this.openElements.current),r){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,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===Ne.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,Ne.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=ie.TEXT}switchToPlaintextParsing(){this.insertionMode=ie.TEXT,this.originalInsertionMode=ie.IN_BODY,this.tokenizer.state=Lr.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)===he.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Ne.HTML))switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:{this.tokenizer.state=Lr.RCDATA;break}case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:{this.tokenizer.state=Lr.RAWTEXT;break}case T.SCRIPT:{this.tokenizer.state=Lr.SCRIPT_DATA;break}case T.PLAINTEXT:{this.tokenizer.state=Lr.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,Ne.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,Ne.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(he.HTML,Ne.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,T.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,o=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:u,endCol:f,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:u,endCol:f,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(t),i=r.type===vt.END_TAG&&a===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===T.SVG&&this.treeAdapter.getTagName(r)===he.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===Ne.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===T.MGLYPH||t.tagID===T.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,Ne.HTML)}_processToken(t){switch(t.type){case vt.CHARACTER:{this.onCharacter(t);break}case vt.NULL_CHARACTER:{this.onNullCharacter(t);break}case vt.COMMENT:{this.onComment(t);break}case vt.DOCTYPE:{this.onDoctype(t);break}case vt.START_TAG:{this._processStartTag(t);break}case vt.END_TAG:{this.onEndTag(t);break}case vt.EOF:{this.onEof(t);break}case vt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return oCe(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===Zi.Marker||this.openElements.contains(a.element)),n=r===-1?t-1:r-1;for(let a=n;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=ie.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case T.TR:{this.insertionMode=ie.IN_ROW;return}case T.TBODY:case T.THEAD:case T.TFOOT:{this.insertionMode=ie.IN_TABLE_BODY;return}case T.CAPTION:{this.insertionMode=ie.IN_CAPTION;return}case T.COLGROUP:{this.insertionMode=ie.IN_COLUMN_GROUP;return}case T.TABLE:{this.insertionMode=ie.IN_TABLE;return}case T.BODY:{this.insertionMode=ie.IN_BODY;return}case T.FRAMESET:{this.insertionMode=ie.IN_FRAMESET;return}case T.SELECT:{this._resetInsertionModeForSelect(t);return}case T.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case T.HTML:{this.insertionMode=this.headElement?ie.AFTER_HEAD:ie.BEFORE_HEAD;return}case T.TD:case T.TH:{if(t>0){this.insertionMode=ie.IN_CELL;return}break}case T.HEAD:{if(t>0){this.insertionMode=ie.IN_HEAD;return}break}}this.insertionMode=ie.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===T.TEMPLATE)break;if(n===T.TABLE){this.insertionMode=ie.IN_SELECT_IN_TABLE;return}}this.insertionMode=ie.IN_SELECT}_isElementCausesFosterParenting(t){return gK.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 r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case T.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===Ne.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case T.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return N7e[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){HOe(this,t);return}switch(this.insertionMode){case ie.INITIAL:{bd(this,t);break}case ie.BEFORE_HTML:{Gd(this,t);break}case ie.BEFORE_HEAD:{Yd(this,t);break}case ie.IN_HEAD:{Wd(this,t);break}case ie.IN_HEAD_NO_SCRIPT:{Kd(this,t);break}case ie.AFTER_HEAD:{Xd(this,t);break}case ie.IN_BODY:case ie.IN_CAPTION:case ie.IN_CELL:case ie.IN_TEMPLATE:{yK(this,t);break}case ie.TEXT:case ie.IN_SELECT:case ie.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case ie.IN_TABLE:case ie.IN_TABLE_BODY:case ie.IN_ROW:{j_(this,t);break}case ie.IN_TABLE_TEXT:{SK(this,t);break}case ie.IN_COLUMN_GROUP:{xv(this,t);break}case ie.AFTER_BODY:{Ev(this,t);break}case ie.AFTER_AFTER_BODY:{r1(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){zOe(this,t);return}switch(this.insertionMode){case ie.INITIAL:{bd(this,t);break}case ie.BEFORE_HTML:{Gd(this,t);break}case ie.BEFORE_HEAD:{Yd(this,t);break}case ie.IN_HEAD:{Wd(this,t);break}case ie.IN_HEAD_NO_SCRIPT:{Kd(this,t);break}case ie.AFTER_HEAD:{Xd(this,t);break}case ie.TEXT:{this._insertCharacters(t);break}case ie.IN_TABLE:case ie.IN_TABLE_BODY:case ie.IN_ROW:{j_(this,t);break}case ie.IN_COLUMN_GROUP:{xv(this,t);break}case ie.AFTER_BODY:{Ev(this,t);break}case ie.AFTER_AFTER_BODY:{r1(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){TS(this,t);return}switch(this.insertionMode){case ie.INITIAL:case ie.BEFORE_HTML:case ie.BEFORE_HEAD:case ie.IN_HEAD:case ie.IN_HEAD_NO_SCRIPT:case ie.AFTER_HEAD:case ie.IN_BODY:case ie.IN_TABLE:case ie.IN_CAPTION:case ie.IN_COLUMN_GROUP:case ie.IN_TABLE_BODY:case ie.IN_ROW:case ie.IN_CELL:case ie.IN_SELECT:case ie.IN_SELECT_IN_TABLE:case ie.IN_TEMPLATE:case ie.IN_FRAMESET:case ie.AFTER_FRAMESET:{TS(this,t);break}case ie.IN_TABLE_TEXT:{xd(this,t);break}case ie.AFTER_BODY:{vCe(this,t);break}case ie.AFTER_AFTER_BODY:case ie.AFTER_AFTER_FRAMESET:{yCe(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case ie.INITIAL:{bCe(this,t);break}case ie.BEFORE_HEAD:case ie.IN_HEAD:case ie.IN_HEAD_NO_SCRIPT:case ie.AFTER_HEAD:{this._err(t,be.misplacedDoctype);break}case ie.IN_TABLE_TEXT:{xd(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,be.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?FOe(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case ie.INITIAL:{bd(this,t);break}case ie.BEFORE_HTML:{xCe(this,t);break}case ie.BEFORE_HEAD:{_Ce(this,t);break}case ie.IN_HEAD:{Di(this,t);break}case ie.IN_HEAD_NO_SCRIPT:{TCe(this,t);break}case ie.AFTER_HEAD:{CCe(this,t);break}case ie.IN_BODY:{zn(this,t);break}case ie.IN_TABLE:{Uf(this,t);break}case ie.IN_TABLE_TEXT:{xd(this,t);break}case ie.IN_CAPTION:{wOe(this,t);break}case ie.IN_COLUMN_GROUP:{C8(this,t);break}case ie.IN_TABLE_BODY:{fb(this,t);break}case ie.IN_ROW:{db(this,t);break}case ie.IN_CELL:{AOe(this,t);break}case ie.IN_SELECT:{CK(this,t);break}case ie.IN_SELECT_IN_TABLE:{OOe(this,t);break}case ie.IN_TEMPLATE:{NOe(this,t);break}case ie.AFTER_BODY:{MOe(this,t);break}case ie.IN_FRAMESET:{POe(this,t);break}case ie.AFTER_FRAMESET:{DOe(this,t);break}case ie.AFTER_AFTER_BODY:{jOe(this,t);break}case ie.AFTER_AFTER_FRAMESET:{BOe(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?$Oe(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case ie.INITIAL:{bd(this,t);break}case ie.BEFORE_HTML:{ECe(this,t);break}case ie.BEFORE_HEAD:{wCe(this,t);break}case ie.IN_HEAD:{SCe(this,t);break}case ie.IN_HEAD_NO_SCRIPT:{ACe(this,t);break}case ie.AFTER_HEAD:{OCe(this,t);break}case ie.IN_BODY:{cb(this,t);break}case ie.TEXT:{hOe(this,t);break}case ie.IN_TABLE:{Kh(this,t);break}case ie.IN_TABLE_TEXT:{xd(this,t);break}case ie.IN_CAPTION:{SOe(this,t);break}case ie.IN_COLUMN_GROUP:{TOe(this,t);break}case ie.IN_TABLE_BODY:{AS(this,t);break}case ie.IN_ROW:{AK(this,t);break}case ie.IN_CELL:{COe(this,t);break}case ie.IN_SELECT:{OK(this,t);break}case ie.IN_SELECT_IN_TABLE:{kOe(this,t);break}case ie.IN_TEMPLATE:{ROe(this,t);break}case ie.AFTER_BODY:{NK(this,t);break}case ie.IN_FRAMESET:{IOe(this,t);break}case ie.AFTER_FRAMESET:{LOe(this,t);break}case ie.AFTER_AFTER_BODY:{r1(this,t);break}}}onEof(t){switch(this.insertionMode){case ie.INITIAL:{bd(this,t);break}case ie.BEFORE_HTML:{Gd(this,t);break}case ie.BEFORE_HEAD:{Yd(this,t);break}case ie.IN_HEAD:{Wd(this,t);break}case ie.IN_HEAD_NO_SCRIPT:{Kd(this,t);break}case ie.AFTER_HEAD:{Xd(this,t);break}case ie.IN_BODY:case ie.IN_TABLE:case ie.IN_CAPTION:case ie.IN_COLUMN_GROUP:case ie.IN_TABLE_BODY:case ie.IN_ROW:case ie.IN_CELL:case ie.IN_SELECT:case ie.IN_SELECT_IN_TABLE:{_K(this,t);break}case ie.TEXT:{pOe(this,t);break}case ie.IN_TABLE_TEXT:{xd(this,t);break}case ie.IN_TEMPLATE:{kK(this,t);break}case ie.AFTER_BODY:case ie.IN_FRAMESET:case ie.AFTER_FRAMESET:case ie.AFTER_AFTER_BODY:case ie.AFTER_AFTER_FRAMESET:{A8(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===X.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 ie.IN_HEAD:case ie.IN_HEAD_NO_SCRIPT:case ie.AFTER_HEAD:case ie.TEXT:case ie.IN_COLUMN_GROUP:case ie.IN_SELECT:case ie.IN_SELECT_IN_TABLE:case ie.IN_FRAMESET:case ie.AFTER_FRAMESET:{this._insertCharacters(t);break}case ie.IN_BODY:case ie.IN_CAPTION:case ie.IN_CELL:case ie.IN_TEMPLATE:case ie.AFTER_BODY:case ie.AFTER_AFTER_BODY:case ie.AFTER_AFTER_FRAMESET:{vK(this,t);break}case ie.IN_TABLE:case ie.IN_TABLE_BODY:case ie.IN_ROW:{j_(this,t);break}case ie.IN_TABLE_TEXT:{wK(this,t);break}}}}function fCe(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):EK(e,t),r}function dCe(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function hCe(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==r;i++,o=a){a=e.openElements.getCommonAncestor(o);const s=e.activeFormattingElements.getElementEntry(o),u=s&&i>=uCe;!s||u?(u&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=pCe(e,s),n===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(o,n),n=o)}return n}function pCe(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function mCe(e,t,r){const n=e.treeAdapter.getTagName(t),a=l0(n);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(r);else{const i=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&i===Ne.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function gCe(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,a.tagID)}function T8(e,t){for(let r=0;r<lCe;r++){const n=fCe(e,t);if(!n)break;const a=dCe(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=hCe(e,a,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),o&&mCe(e,o,i),gCe(e,a,n)}}function TS(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function vCe(e,t){e._appendCommentNode(t,e.openElements.items[0])}function yCe(e,t){e._appendCommentNode(t,e.document)}function A8(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&e._setEndLocation(i,t)}}}}function bCe(e,t){e._setDocumentType(t);const r=t.forceQuirks?ri.QUIRKS:K7e(t);W7e(t)||e._err(t,be.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=ie.BEFORE_HTML}function bd(e,t){e._err(t,be.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ri.QUIRKS),e.insertionMode=ie.BEFORE_HTML,e._processToken(t)}function xCe(e,t){t.tagID===T.HTML?(e._insertElement(t,Ne.HTML),e.insertionMode=ie.BEFORE_HEAD):Gd(e,t)}function ECe(e,t){const r=t.tagID;(r===T.HTML||r===T.HEAD||r===T.BODY||r===T.BR)&&Gd(e,t)}function Gd(e,t){e._insertFakeRootElement(),e.insertionMode=ie.BEFORE_HEAD,e._processToken(t)}function _Ce(e,t){switch(t.tagID){case T.HTML:{zn(e,t);break}case T.HEAD:{e._insertElement(t,Ne.HTML),e.headElement=e.openElements.current,e.insertionMode=ie.IN_HEAD;break}default:Yd(e,t)}}function wCe(e,t){const r=t.tagID;r===T.HEAD||r===T.BODY||r===T.HTML||r===T.BR?Yd(e,t):e._err(t,be.endTagWithoutMatchingOpenElement)}function Yd(e,t){e._insertFakeElement(he.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=ie.IN_HEAD,e._processToken(t)}function Di(e,t){switch(t.tagID){case T.HTML:{zn(e,t);break}case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:{e._appendElement(t,Ne.HTML),t.ackSelfClosing=!0;break}case T.TITLE:{e._switchToTextParsing(t,Lr.RCDATA);break}case T.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Lr.RAWTEXT):(e._insertElement(t,Ne.HTML),e.insertionMode=ie.IN_HEAD_NO_SCRIPT);break}case T.NOFRAMES:case T.STYLE:{e._switchToTextParsing(t,Lr.RAWTEXT);break}case T.SCRIPT:{e._switchToTextParsing(t,Lr.SCRIPT_DATA);break}case T.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=ie.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(ie.IN_TEMPLATE);break}case T.HEAD:{e._err(t,be.misplacedStartTagForHeadElement);break}default:Wd(e,t)}}function SCe(e,t){switch(t.tagID){case T.HEAD:{e.openElements.pop(),e.insertionMode=ie.AFTER_HEAD;break}case T.BODY:case T.BR:case T.HTML:{Wd(e,t);break}case T.TEMPLATE:{$u(e,t);break}default:e._err(t,be.endTagWithoutMatchingOpenElement)}}function $u(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,be.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,be.endTagWithoutMatchingOpenElement)}function Wd(e,t){e.openElements.pop(),e.insertionMode=ie.AFTER_HEAD,e._processToken(t)}function TCe(e,t){switch(t.tagID){case T.HTML:{zn(e,t);break}case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:{Di(e,t);break}case T.NOSCRIPT:{e._err(t,be.nestedNoscriptInHead);break}default:Kd(e,t)}}function ACe(e,t){switch(t.tagID){case T.NOSCRIPT:{e.openElements.pop(),e.insertionMode=ie.IN_HEAD;break}case T.BR:{Kd(e,t);break}default:e._err(t,be.endTagWithoutMatchingOpenElement)}}function Kd(e,t){const r=t.type===vt.EOF?be.openElementsLeftAfterEof:be.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=ie.IN_HEAD,e._processToken(t)}function CCe(e,t){switch(t.tagID){case T.HTML:{zn(e,t);break}case T.BODY:{e._insertElement(t,Ne.HTML),e.framesetOk=!1,e.insertionMode=ie.IN_BODY;break}case T.FRAMESET:{e._insertElement(t,Ne.HTML),e.insertionMode=ie.IN_FRAMESET;break}case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:{e._err(t,be.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),Di(e,t),e.openElements.remove(e.headElement);break}case T.HEAD:{e._err(t,be.misplacedStartTagForHeadElement);break}default:Xd(e,t)}}function OCe(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:{Xd(e,t);break}case T.TEMPLATE:{$u(e,t);break}default:e._err(t,be.endTagWithoutMatchingOpenElement)}}function Xd(e,t){e._insertFakeElement(he.BODY,T.BODY),e.insertionMode=ie.IN_BODY,ub(e,t)}function ub(e,t){switch(t.type){case vt.CHARACTER:{yK(e,t);break}case vt.WHITESPACE_CHARACTER:{vK(e,t);break}case vt.COMMENT:{TS(e,t);break}case vt.START_TAG:{zn(e,t);break}case vt.END_TAG:{cb(e,t);break}case vt.EOF:{_K(e,t);break}}}function vK(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function yK(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function kCe(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function NCe(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function RCe(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Ne.HTML),e.insertionMode=ie.IN_FRAMESET)}function MCe(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ne.HTML)}function PCe(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&SS.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Ne.HTML)}function ICe(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ne.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function DCe(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ne.HTML),r||(e.formElement=e.openElements.current))}function LCe(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const a=e.openElements.tagIDs[n];if(r===T.LI&&a===T.LI||(r===T.DD||r===T.DT)&&(a===T.DD||a===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==T.ADDRESS&&a!==T.DIV&&a!==T.P&&e._isSpecialElement(e.openElements.items[n],a))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ne.HTML)}function jCe(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ne.HTML),e.tokenizer.state=Lr.PLAINTEXT}function BCe(e,t){e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ne.HTML),e.framesetOk=!1}function zCe(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(he.A);r&&(T8(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ne.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function HCe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ne.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function FCe(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(T8(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Ne.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function $Ce(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ne.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function UCe(e,t){e.treeAdapter.getDocumentMode(e.document)!==ri.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ne.HTML),e.framesetOk=!1,e.insertionMode=ie.IN_TABLE}function bK(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ne.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function xK(e){const t=lK(e,pu.TYPE);return t!=null&&t.toLowerCase()===sCe}function qCe(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ne.HTML),xK(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function VCe(e,t){e._appendElement(t,Ne.HTML),t.ackSelfClosing=!0}function GCe(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,Ne.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function YCe(e,t){t.tagName=he.IMG,t.tagID=T.IMG,bK(e,t)}function WCe(e,t){e._insertElement(t,Ne.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Lr.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=ie.TEXT}function KCe(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Lr.RAWTEXT)}function XCe(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Lr.RAWTEXT)}function qB(e,t){e._switchToTextParsing(t,Lr.RAWTEXT)}function QCe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ne.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===ie.IN_TABLE||e.insertionMode===ie.IN_CAPTION||e.insertionMode===ie.IN_TABLE_BODY||e.insertionMode===ie.IN_ROW||e.insertionMode===ie.IN_CELL?ie.IN_SELECT_IN_TABLE:ie.IN_SELECT}function ZCe(e,t){e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Ne.HTML)}function JCe(e,t){e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Ne.HTML)}function eOe(e,t){e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,Ne.HTML)}function tOe(e,t){e._reconstructActiveFormattingElements(),pK(t),S8(t),t.selfClosing?e._appendElement(t,Ne.MATHML):e._insertElement(t,Ne.MATHML),t.ackSelfClosing=!0}function rOe(e,t){e._reconstructActiveFormattingElements(),mK(t),S8(t),t.selfClosing?e._appendElement(t,Ne.SVG):e._insertElement(t,Ne.SVG),t.ackSelfClosing=!0}function VB(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ne.HTML)}function zn(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:{HCe(e,t);break}case T.A:{zCe(e,t);break}case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:{PCe(e,t);break}case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SEARCH:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:{MCe(e,t);break}case T.LI:case T.DD:case T.DT:{LCe(e,t);break}case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:{bK(e,t);break}case T.HR:{GCe(e,t);break}case T.RB:case T.RTC:{JCe(e,t);break}case T.RT:case T.RP:{eOe(e,t);break}case T.PRE:case T.LISTING:{ICe(e,t);break}case T.XMP:{KCe(e,t);break}case T.SVG:{rOe(e,t);break}case T.HTML:{kCe(e,t);break}case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:{Di(e,t);break}case T.BODY:{NCe(e,t);break}case T.FORM:{DCe(e,t);break}case T.NOBR:{FCe(e,t);break}case T.MATH:{tOe(e,t);break}case T.TABLE:{UCe(e,t);break}case T.INPUT:{qCe(e,t);break}case T.PARAM:case T.TRACK:case T.SOURCE:{VCe(e,t);break}case T.IMAGE:{YCe(e,t);break}case T.BUTTON:{BCe(e,t);break}case T.APPLET:case T.OBJECT:case T.MARQUEE:{$Ce(e,t);break}case T.IFRAME:{XCe(e,t);break}case T.SELECT:{QCe(e,t);break}case T.OPTION:case T.OPTGROUP:{ZCe(e,t);break}case T.NOEMBED:case T.NOFRAMES:{qB(e,t);break}case T.FRAMESET:{RCe(e,t);break}case T.TEXTAREA:{WCe(e,t);break}case T.NOSCRIPT:{e.options.scriptingEnabled?qB(e,t):VB(e,t);break}case T.PLAINTEXT:{jCe(e,t);break}case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:VB(e,t)}}function nOe(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=ie.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function aOe(e,t){e.openElements.hasInScope(T.BODY)&&(e.insertionMode=ie.AFTER_BODY,NK(e,t))}function iOe(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function oOe(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):r&&e.openElements.remove(r))}function sOe(e){e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(he.P,T.P),e._closePElement()}function lOe(e){e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI))}function uOe(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function cOe(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function fOe(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function dOe(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(he.BR,T.BR),e.openElements.pop(),e.framesetOk=!1}function EK(e,t){const r=t.tagName,n=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],o=e.openElements.tagIDs[a];if(n===o&&(n!==T.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,o))break}}function cb(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:{T8(e,t);break}case T.P:{sOe(e);break}case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SEARCH:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:{iOe(e,t);break}case T.LI:{lOe(e);break}case T.DD:case T.DT:{uOe(e,t);break}case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:{cOe(e);break}case T.BR:{dOe(e);break}case T.BODY:{nOe(e,t);break}case T.HTML:{aOe(e,t);break}case T.FORM:{oOe(e);break}case T.APPLET:case T.OBJECT:case T.MARQUEE:{fOe(e,t);break}case T.TEMPLATE:{$u(e,t);break}default:EK(e,t)}}function _K(e,t){e.tmplInsertionModeStack.length>0?kK(e,t):A8(e,t)}function hOe(e,t){var r;t.tagID===T.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function pOe(e,t){e._err(t,be.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function j_(e,t){if(e.openElements.currentTagId!==void 0&&gK.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=ie.IN_TABLE_TEXT,t.type){case vt.CHARACTER:{SK(e,t);break}case vt.WHITESPACE_CHARACTER:{wK(e,t);break}}else kp(e,t)}function mOe(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Ne.HTML),e.insertionMode=ie.IN_CAPTION}function gOe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ne.HTML),e.insertionMode=ie.IN_COLUMN_GROUP}function vOe(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(he.COLGROUP,T.COLGROUP),e.insertionMode=ie.IN_COLUMN_GROUP,C8(e,t)}function yOe(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ne.HTML),e.insertionMode=ie.IN_TABLE_BODY}function bOe(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(he.TBODY,T.TBODY),e.insertionMode=ie.IN_TABLE_BODY,fb(e,t)}function xOe(e,t){e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function EOe(e,t){xK(t)?e._appendElement(t,Ne.HTML):kp(e,t),t.ackSelfClosing=!0}function _Oe(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Ne.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Uf(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:{bOe(e,t);break}case T.STYLE:case T.SCRIPT:case T.TEMPLATE:{Di(e,t);break}case T.COL:{vOe(e,t);break}case T.FORM:{_Oe(e,t);break}case T.TABLE:{xOe(e,t);break}case T.TBODY:case T.TFOOT:case T.THEAD:{yOe(e,t);break}case T.INPUT:{EOe(e,t);break}case T.CAPTION:{mOe(e,t);break}case T.COLGROUP:{gOe(e,t);break}default:kp(e,t)}}function Kh(e,t){switch(t.tagID){case T.TABLE:{e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break}case T.TEMPLATE:{$u(e,t);break}case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:kp(e,t)}}function kp(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ub(e,t),e.fosterParentingEnabled=r}function wK(e,t){e.pendingCharacterTokens.push(t)}function SK(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function xd(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)kp(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const TK=new Set([T.CAPTION,T.COL,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]);function wOe(e,t){const r=t.tagID;TK.has(r)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ie.IN_TABLE,Uf(e,t)):zn(e,t)}function SOe(e,t){const r=t.tagID;switch(r){case T.CAPTION:case T.TABLE:{e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ie.IN_TABLE,r===T.TABLE&&Kh(e,t));break}case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:cb(e,t)}}function C8(e,t){switch(t.tagID){case T.HTML:{zn(e,t);break}case T.COL:{e._appendElement(t,Ne.HTML),t.ackSelfClosing=!0;break}case T.TEMPLATE:{Di(e,t);break}default:xv(e,t)}}function TOe(e,t){switch(t.tagID){case T.COLGROUP:{e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=ie.IN_TABLE);break}case T.TEMPLATE:{$u(e,t);break}case T.COL:break;default:xv(e,t)}}function xv(e,t){e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=ie.IN_TABLE,e._processToken(t))}function fb(e,t){switch(t.tagID){case T.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Ne.HTML),e.insertionMode=ie.IN_ROW;break}case T.TH:case T.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(he.TR,T.TR),e.insertionMode=ie.IN_ROW,db(e,t);break}case T.CAPTION:case T.COL:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ie.IN_TABLE,Uf(e,t));break}default:Uf(e,t)}}function AS(e,t){const r=t.tagID;switch(t.tagID){case T.TBODY:case T.TFOOT:case T.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ie.IN_TABLE);break}case T.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=ie.IN_TABLE,Kh(e,t));break}case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TD:case T.TH:case T.TR:break;default:Kh(e,t)}}function db(e,t){switch(t.tagID){case T.TH:case T.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Ne.HTML),e.insertionMode=ie.IN_CELL,e.activeFormattingElements.insertMarker();break}case T.CAPTION:case T.COL:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:{e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ie.IN_TABLE_BODY,fb(e,t));break}default:Uf(e,t)}}function AK(e,t){switch(t.tagID){case T.TR:{e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ie.IN_TABLE_BODY);break}case T.TABLE:{e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ie.IN_TABLE_BODY,AS(e,t));break}case T.TBODY:case T.TFOOT:case T.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(T.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=ie.IN_TABLE_BODY,AS(e,t));break}case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TD:case T.TH:break;default:Kh(e,t)}}function AOe(e,t){const r=t.tagID;TK.has(r)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),db(e,t)):zn(e,t)}function COe(e,t){const r=t.tagID;switch(r){case T.TD:case T.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=ie.IN_ROW);break}case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),AK(e,t));break}case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:cb(e,t)}}function CK(e,t){switch(t.tagID){case T.HTML:{zn(e,t);break}case T.OPTION:{e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._insertElement(t,Ne.HTML);break}case T.OPTGROUP:{e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Ne.HTML);break}case T.HR:{e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Ne.HTML),t.ackSelfClosing=!0;break}case T.INPUT:case T.KEYGEN:case T.TEXTAREA:case T.SELECT:{e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),t.tagID!==T.SELECT&&e._processStartTag(t));break}case T.SCRIPT:case T.TEMPLATE:{Di(e,t);break}}}function OK(e,t){switch(t.tagID){case T.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break}case T.OPTION:{e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break}case T.SELECT:{e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break}case T.TEMPLATE:{$u(e,t);break}}}function OOe(e,t){const r=t.tagID;r===T.CAPTION||r===T.TABLE||r===T.TBODY||r===T.TFOOT||r===T.THEAD||r===T.TR||r===T.TD||r===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):CK(e,t)}function kOe(e,t){const r=t.tagID;r===T.CAPTION||r===T.TABLE||r===T.TBODY||r===T.TFOOT||r===T.THEAD||r===T.TR||r===T.TD||r===T.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):OK(e,t)}function NOe(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:{Di(e,t);break}case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:{e.tmplInsertionModeStack[0]=ie.IN_TABLE,e.insertionMode=ie.IN_TABLE,Uf(e,t);break}case T.COL:{e.tmplInsertionModeStack[0]=ie.IN_COLUMN_GROUP,e.insertionMode=ie.IN_COLUMN_GROUP,C8(e,t);break}case T.TR:{e.tmplInsertionModeStack[0]=ie.IN_TABLE_BODY,e.insertionMode=ie.IN_TABLE_BODY,fb(e,t);break}case T.TD:case T.TH:{e.tmplInsertionModeStack[0]=ie.IN_ROW,e.insertionMode=ie.IN_ROW,db(e,t);break}default:e.tmplInsertionModeStack[0]=ie.IN_BODY,e.insertionMode=ie.IN_BODY,zn(e,t)}}function ROe(e,t){t.tagID===T.TEMPLATE&&$u(e,t)}function kK(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):A8(e,t)}function MOe(e,t){t.tagID===T.HTML?zn(e,t):Ev(e,t)}function NK(e,t){var r;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=ie.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else Ev(e,t)}function Ev(e,t){e.insertionMode=ie.IN_BODY,ub(e,t)}function POe(e,t){switch(t.tagID){case T.HTML:{zn(e,t);break}case T.FRAMESET:{e._insertElement(t,Ne.HTML);break}case T.FRAME:{e._appendElement(t,Ne.HTML),t.ackSelfClosing=!0;break}case T.NOFRAMES:{Di(e,t);break}}}function IOe(e,t){t.tagID===T.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==T.FRAMESET&&(e.insertionMode=ie.AFTER_FRAMESET))}function DOe(e,t){switch(t.tagID){case T.HTML:{zn(e,t);break}case T.NOFRAMES:{Di(e,t);break}}}function LOe(e,t){t.tagID===T.HTML&&(e.insertionMode=ie.AFTER_AFTER_FRAMESET)}function jOe(e,t){t.tagID===T.HTML?zn(e,t):r1(e,t)}function r1(e,t){e.insertionMode=ie.IN_BODY,ub(e,t)}function BOe(e,t){switch(t.tagID){case T.HTML:{zn(e,t);break}case T.NOFRAMES:{Di(e,t);break}}}function zOe(e,t){t.chars=br,e._insertCharacters(t)}function HOe(e,t){e._insertCharacters(t),e.framesetOk=!1}function RK(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Ne.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function FOe(e,t){if(rCe(t))RK(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===Ne.MATHML?pK(t):n===Ne.SVG&&(nCe(t),mK(t)),S8(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function $Oe(e,t){if(t.tagID===T.P||t.tagID===T.BR){RK(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===Ne.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}he.AREA,he.BASE,he.BASEFONT,he.BGSOUND,he.BR,he.COL,he.EMBED,he.FRAME,he.HR,he.IMG,he.INPUT,he.KEYGEN,he.LINK,he.META,he.PARAM,he.SOURCE,he.TRACK,he.WBR;const UOe=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,qOe=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),GB={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function MK(e,t){const r=e9e(e),n=_8("type",{handlers:{root:VOe,element:GOe,text:YOe,comment:IK,doctype:WOe,raw:XOe},unknown:QOe}),a={parser:r?new UB(GB):UB.getFragmentParser(void 0,GB),handle(s){n(s,a)},stitches:!1,options:t||{}};n(e,a),u0(a,go());const i=r?a.parser.document:a.parser.getFragment(),o=G8e(i,{file:a.options.file});return a.stitches&&Tu(o,"comment",function(s,u,f){const h=s;if(h.value.stitch&&f&&u!==void 0){const d=f.children;return d[u]=h.value.stitch,u}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function PK(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function VOe(e,t){PK(e.children,t)}function GOe(e,t){ZOe(e,t),PK(e.children,t),JOe(e,t)}function YOe(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:vt.CHARACTER,chars:e.value,location:Np(e)};u0(t,go(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function WOe(e,t){const r={type:vt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Np(e)};u0(t,go(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function KOe(e,t){t.stitches=!0;const r=t9e(e);if("children"in e&&"children"in r){const n=MK({type:"root",children:e.children},t.options);r.children=n.children}IK({type:"comment",value:{stitch:r}},t)}function IK(e,t){const r=e.value,n={type:vt.COMMENT,data:r,location:Np(e)};u0(t,go(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function XOe(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,DK(t,go(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(UOe,"<$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 r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function QOe(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))KOe(r,t);else{let n="";throw qOe.has(r.type)&&(n=". 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 `"+r.type+"` node"+n)}}function u0(e,t){DK(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,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=Lr.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 DK(e,t){if(t&&t.offset!==void 0){const r={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=r}}function ZOe(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Lr.PLAINTEXT)return;u0(t,go(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:ro.html;a===ro.html&&r==="svg"&&(a=ro.svg);const i=s7e({...e,children:[]},{space:a===ro.svg?"svg":"html"}),o={type:vt.START_TAG,tagName:r,tagID:l0(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:Np(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function JOe(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&aK.includes(r)||t.parser.tokenizer.state===Lr.PLAINTEXT)return;u0(t,Qy(e));const n={type:vt.END_TAG,tagName:r,tagID:l0(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Np(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Lr.RCDATA||t.parser.tokenizer.state===Lr.RAWTEXT||t.parser.tokenizer.state===Lr.SCRIPT_DATA)&&(t.parser.tokenizer.state=Lr.DATA)}function e9e(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Np(e){const t=go(e)||{line:void 0,column:void 0,offset:void 0},r=Qy(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function t9e(e){return"children"in e?Ff({...e,children:[]}):Ff(e)}function r9e(e){return function(t,r){return MK(t,{...e,file:r})}}function _v(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}function n9e(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function a9e(e,t,r){const a=wp((r||{}).ignore||[]),i=i9e(t);let o=-1;for(;++o<i.length;)QA(e,"text",s);function s(f,h){let d=-1,m;
vendor: 11,748 bytes, lines 635-648
635for(;++d<h.length;){const v=h[d],y=m?m.children:void 0;if(a(v,y?y.indexOf(v):void 0,m))return;m=v}if(m)return u(f,h)}function u(f,h){const d=h[h.length-1],m=i[o][0],v=i[o][1];let y=0;const E=d.children.indexOf(f);let _=!1,A=[];m.lastIndex=0;let C=m.exec(f.value);for(;C;){const P=C.index,O={index:C.index,input:C.input,stack:[...h,f]};let k=v(...C,O);if(typeof k=="string"&&(k=k.length>0?{type:"text",value:k}:void 0),k===!1?m.lastIndex=P+1:(y!==P&&A.push({type:"text",value:f.value.slice(y,P)}),Array.isArray(k)?A.push(...k):k&&A.push(k),y=P+C[0].length,_=!0),!m.global)break;C=m.exec(f.value)}return _?(y<f.value.length&&A.push({type:"text",value:f.value.slice(y)}),d.children.splice(E,1,...A)):A=[f],E+A.length}}function i9e(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const a=r[n];t.push([o9e(a[0]),s9e(a[1])])}return t}function o9e(e){return typeof e=="string"?new RegExp(n9e(e),"g"):e}function s9e(e){return typeof e=="function"?e:function(){return e}}const B_="phrasing",z_=["autolink","link","image","label"];function l9e(){return{transforms:[m9e],enter:{literalAutolink:c9e,literalAutolinkEmail:H_,literalAutolinkHttp:H_,literalAutolinkWww:H_},exit:{literalAutolink:p9e,literalAutolinkEmail:h9e,literalAutolinkHttp:f9e,literalAutolinkWww:d9e}}}function u9e(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:B_,notInConstruct:z_},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:B_,notInConstruct:z_},{character:":",before:"[ps]",after:"\\/",inConstruct:B_,notInConstruct:z_}]}}function c9e(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function H_(e){this.config.enter.autolinkProtocol.call(this,e)}function f9e(e){this.config.exit.autolinkProtocol.call(this,e)}function d9e(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 h9e(e){this.config.exit.autolinkEmail.call(this,e)}function p9e(e){this.exit(e)}function m9e(e){a9e(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,g9e],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),v9e]],{ignore:["link","linkReference"]})}function g9e(e,t,r,n,a){let i="";if(!LK(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!y9e(r)))return!1;const o=b9e(r+n);if(!o[0])return!1;const s={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function v9e(e,t,r,n){return!LK(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function y9e(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 b9e(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=_v(e,"(");let i=_v(e,")");for(;n!==-1&&a>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}function LK(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||Su(r)||Zy(r))&&(!t||r!==47)}jK.peek=O9e;function x9e(){this.buffer()}function E9e(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function _9e(){this.buffer()}function w9e(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S9e(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ki(this.sliceSerialize(e)).toLowerCase(),r.label=t}function T9e(e){this.exit(e)}function A9e(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ki(this.sliceSerialize(e)).toLowerCase(),r.label=t}function C9e(e){this.exit(e)}function O9e(){return"["}function jK(e,t,r,n){const a=r.createTracker(n);let i=a.move("[^");const o=r.enter("footnoteReference"),s=r.enter("reference");return i+=a.move(r.safe(r.associationId(e),{after:"]",before:i})),s(),o(),i+=a.move("]"),i}function k9e(){return{enter:{gfmFootnoteCallString:x9e,gfmFootnoteCall:E9e,gfmFootnoteDefinitionLabelString:_9e,gfmFootnoteDefinition:w9e},exit:{gfmFootnoteCallString:S9e,gfmFootnoteCall:T9e,gfmFootnoteDefinitionLabelString:A9e,gfmFootnoteDefinition:C9e}}}function N9e(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:jK},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,o){const s=i.createTracker(o);let u=s.move("[^");const f=i.enter("footnoteDefinition"),h=i.enter("label");return u+=s.move(i.safe(i.associationId(n),{before:u,after:"]"})),h(),u+=s.move("]:"),n.children&&n.children.length>0&&(s.shift(4),u+=s.move((t?` 636`:" ")+i.indentLines(i.containerFlow(n,s.current()),t?BK:R9e))),f(),u}}function R9e(e,t,r){return t===0?e:BK(e,t,r)}function BK(e,t,r){return(r?"":" ")+e}const M9e=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];zK.peek=j9e;function P9e(){return{canContainEols:["delete"],enter:{strikethrough:D9e},exit:{strikethrough:L9e}}}function I9e(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:M9e}],handlers:{delete:zK}}}function D9e(e){this.enter({type:"delete",children:[]},e)}function L9e(e){this.exit(e)}function zK(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let o=a.move("~~");return o+=r.containerPhrasing(e,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),i(),o}function j9e(){return"~"}function B9e(e){return e.length}function z9e(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||B9e,i=[],o=[],s=[],u=[];let f=0,h=-1;for(;++h<e.length;){const b=[],E=[];let _=-1;for(e[h].length>f&&(f=e[h].length);++_<e[h].length;){const A=H9e(e[h][_]);if(r.alignDelimiters!==!1){const C=a(A);E[_]=C,(u[_]===void 0||C>u[_])&&(u[_]=C)}b.push(A)}o[h]=b,s[h]=E}let d=-1;if(typeof n=="object"&&"length"in n)for(;++d<f;)i[d]=YB(n[d]);else{const b=YB(n);for(;++d<f;)i[d]=b}d=-1;const m=[],v=[];for(;++d<f;){const b=i[d];let E="",_="";b===99?(E=":",_=":"):b===108?E=":":b===114&&(_=":");let A=r.alignDelimiters===!1?1:Math.max(1,u[d]-E.length-_.length);const C=E+"-".repeat(A)+_;r.alignDelimiters!==!1&&(A=E.length+A+_.length,A>u[d]&&(u[d]=A),v[d]=A),m[d]=C}o.splice(1,0,m),s.splice(1,0,v),h=-1;const y=[];for(;++h<o.length;){const b=o[h],E=s[h];d=-1;const _=[];for(;++d<f;){const A=b[d]||"";let C="",P="";if(r.alignDelimiters!==!1){const O=u[d]-(E[d]||0),k=i[d];k===114?C=" ".repeat(O):k===99?O%2?(C=" ".repeat(O/2+.5),P=" ".repeat(O/2-.5)):(C=" ".repeat(O/2),P=C):P=" ".repeat(O)}r.delimiterStart!==!1&&!d&&_.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&A==="")&&(r.delimiterStart!==!1||d)&&_.push(" "),r.alignDelimiters!==!1&&_.push(C),_.push(A),r.alignDelimiters!==!1&&_.push(P),r.padding!==!1&&_.push(" "),(r.delimiterEnd!==!1||d!==f-1)&&_.push("|")}y.push(r.delimiterEnd===!1?_.join("").replace(/ +$/,""):_.join(""))}return y.join(` 637`)}function H9e(e){return e==null?"":String(e)}function YB(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 F9e(e,t,r,n){const a=r.enter("blockquote"),i=r.createTracker(n);i.move("> "),i.shift(2);const o=r.indentLines(r.containerFlow(e,i.current()),$9e);return a(),o}function $9e(e,t,r){return">"+(r?"":" ")+e}function U9e(e,t){return WB(e,t.inConstruct,!0)&&!WB(e,t.notInConstruct,!1)}function WB(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function KB(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===` 638`&&U9e(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\ 639`}function HK(e,t){const r=String(e);let n=r.indexOf(t),a=n,i=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++i>o&&(o=i):i=1,a=n+t.length,n=r.indexOf(t,a);return o}function q9e(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 V9e(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 G9e(e,t,r,n){const a=V9e(r),i=e.value||"",o=a==="`"?"GraveAccent":"Tilde";if(q9e(e,r)){const d=r.enter("codeIndented"),m=r.indentLines(i,Y9e);return d(),m}const s=r.createTracker(n),u=a.repeat(Math.max(HK(i,a)+1,3)),f=r.enter("codeFenced");let h=s.move(u);if(e.lang){const d=r.enter(`codeFencedLang${o}`);h+=s.move(r.safe(e.lang,{before:h,after:" ",encode:["`"],...s.current()})),d()}if(e.lang&&e.meta){const d=r.enter(`codeFencedMeta${o}`);h+=s.move(" "),h+=s.move(r.safe(e.meta,{before:h,after:` 640`,encode:["`"],...s.current()})),d()}return h+=s.move(` 641`),i&&(h+=s.move(i+` 642`)),h+=s.move(u),f(),h}function Y9e(e,t,r){return(r?"":" ")+e}function O8(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 W9e(e,t,r,n){const a=O8(r),i=a==='"'?"Quote":"Apostrophe",o=r.enter("definition");let s=r.enter("label");const u=r.createTracker(n);let f=u.move("[");return f+=u.move(r.safe(r.associationId(e),{before:f,after:"]",...u.current()})),f+=u.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),f+=u.move("<"),f+=u.move(r.safe(e.url,{before:f,after:">",...u.current()})),f+=u.move(">")):(s=r.enter("destinationRaw"),f+=u.move(r.safe(e.url,{before:f,after:e.title?" ":` 643`,...u.current()}))),s(),e.title&&(s=r.enter(`title${i}`),f+=u.move(" "+a),f+=u.move(r.safe(e.title,{before:f,after:a,...u.current()})),f+=u.move(a),s()),o(),f}function K9e(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 Xh(e){return"&#x"+e.toString(16).toUpperCase()+";"}function wv(e,t,r){const n=Hf(e),a=Hf(t);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===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}}FK.peek=X9e;function FK(e,t,r,n){const a=K9e(r),i=r.enter("emphasis"),o=r.createTracker(n),s=o.move(a);let u=o.move(r.containerPhrasing(e,{after:a,before:s,...o.current()}));const f=u.charCodeAt(0),h=wv(n.before.charCodeAt(n.before.length-1),f,a);h.inside&&(u=Xh(f)+u.slice(1));const d=u.charCodeAt(u.length-1),m=wv(n.after.charCodeAt(0),d,a);m.inside&&(u=u.slice(0,-1)+Xh(d));const v=o.move(a);return i(),r.attentionEncodeSurroundingInfo={after:m.outside,before:h.outside},s+u+v}function X9e(e,t,r){return r.options.emphasis||"*"}function Q9e(e,t){let r=!1;return Tu(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,iS}),!!((!e.depth||e.depth<3)&&qA(e)&&(t.options.setext||r))}function Z9e(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(Q9e(e,r)){const h=r.enter("headingSetext"),d=r.enter("phrasing"),m=r.containerPhrasing(e,{...i.current(),before:` 644`,after:` 645`});return d(),h(),m+` 646`+(a===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(` 647`))+1))}const o="#".repeat(a),s=r.enter("headingAtx"),u=r.enter("phrasing");i.move(o+" ");let f=r.containerPhrasing(e,{before:"# ",after:` 648`,...i.current()});return/^[\t ]/.test(f)&&(f=Xh(f.charCodeAt(0))+f.slice(1)),f=f?o+" "+f:o,r.options.closeAtx&&(f+=" "+o),u(),s(),f}$K.peek=J9e;function $K(e){return e.value||""}
vendor: 7,036 bytes, line 648
648function J9e(){return"<"}UK.peek=eke;function UK(e,t,r,n){const a=O8(r),i=a==='"'?"Quote":"Apostrophe",o=r.enter("image");let s=r.enter("label");const u=r.createTracker(n);let f=u.move("![");return f+=u.move(r.safe(e.alt,{before:f,after:"]",...u.current()})),f+=u.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),f+=u.move("<"),f+=u.move(r.safe(e.url,{before:f,after:">",...u.current()})),f+=u.move(">")):(s=r.enter("destinationRaw"),f+=u.move(r.safe(e.url,{before:f,after:e.title?" ":")",...u.current()}))),s(),e.title&&(s=r.enter(`title${i}`),f+=u.move(" "+a),f+=u.move(r.safe(e.title,{before:f,after:a,...u.current()})),f+=u.move(a),s()),f+=u.move(")"),o(),f}function eke(){return"!"}qK.peek=tke;function qK(e,t,r,n){const a=e.referenceType,i=r.enter("imageReference");let o=r.enter("label");const s=r.createTracker(n);let u=s.move("![");const f=r.safe(e.alt,{before:u,after:"]",...s.current()});u+=s.move(f+"]["),o();const h=r.stack;r.stack=[],o=r.enter("reference");const d=r.safe(r.associationId(e),{before:u,after:"]",...s.current()});return o(),r.stack=h,i(),a==="full"||!f||f!==d?u+=s.move(d+"]"):a==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function tke(){return"!"}VK.peek=rke;function VK(e,t,r){let n=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const o=r.unsafe[i],s=r.compilePattern(o);let u;if(o.atBreak)for(;u=s.exec(n);){let f=u.index;n.charCodeAt(f)===10&&n.charCodeAt(f-1)===13&&f--,n=n.slice(0,f)+" "+n.slice(u.index+1)}}return a+n+a}function rke(){return"`"}function GK(e,t){const r=qA(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}YK.peek=nke;function YK(e,t,r,n){const a=O8(r),i=a==='"'?"Quote":"Apostrophe",o=r.createTracker(n);let s,u;if(GK(e,r)){const h=r.stack;r.stack=[],s=r.enter("autolink");let d=o.move("<");return d+=o.move(r.containerPhrasing(e,{before:d,after:">",...o.current()})),d+=o.move(">"),s(),r.stack=h,d}s=r.enter("link"),u=r.enter("label");let f=o.move("[");return f+=o.move(r.containerPhrasing(e,{before:f,after:"](",...o.current()})),f+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),f+=o.move("<"),f+=o.move(r.safe(e.url,{before:f,after:">",...o.current()})),f+=o.move(">")):(u=r.enter("destinationRaw"),f+=o.move(r.safe(e.url,{before:f,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=r.enter(`title${i}`),f+=o.move(" "+a),f+=o.move(r.safe(e.title,{before:f,after:a,...o.current()})),f+=o.move(a),u()),f+=o.move(")"),s(),f}function nke(e,t,r){return GK(e,r)?"<":"["}WK.peek=ake;function WK(e,t,r,n){const a=e.referenceType,i=r.enter("linkReference");let o=r.enter("label");const s=r.createTracker(n);let u=s.move("[");const f=r.containerPhrasing(e,{before:u,after:"]",...s.current()});u+=s.move(f+"]["),o();const h=r.stack;r.stack=[],o=r.enter("reference");const d=r.safe(r.associationId(e),{before:u,after:"]",...s.current()});return o(),r.stack=h,i(),a==="full"||!f||f!==d?u+=s.move(d+"]"):a==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function ake(){return"["}function k8(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 ike(e){const t=k8(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function oke(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 KK(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 ske(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let o=e.ordered?oke(r):k8(r);const s=e.ordered?o==="."?")":".":ike(r);let u=t&&r.bulletLastUsed?o===r.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&h&&(!h.children||!h.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(u=!0),KK(r)===o&&h){let d=-1;for(;++d<e.children.length;){const m=e.children[d];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=s),r.bulletCurrent=o;const f=r.containerFlow(e,n);return r.bulletLastUsed=o,r.bulletCurrent=i,a(),f}function lke(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 uke(e,t,r,n){const a=lke(r);let i=r.bulletCurrent||k8(r);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.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 s=r.createTracker(n);s.move(i+" ".repeat(o-i.length)),s.shift(o);const u=r.enter("listItem"),f=r.indentLines(r.containerFlow(e,s.current()),h);return u(),f;function h(d,m,v){return m?(v?"":" ".repeat(o))+d:(v?i:i+" ".repeat(o-i.length))+d}}function cke(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),o=r.containerPhrasing(e,n);return i(),a(),o}const fke=wp(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function dke(e,t,r,n){return(e.children.some(function(o){return fke(o)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function hke(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}XK.peek=pke;function XK(e,t,r,n){const a=hke(r),i=r.enter("strong"),o=r.createTracker(n),s=o.move(a+a);let u=o.move(r.containerPhrasing(e,{after:a,before:s,...o.current()}));const f=u.charCodeAt(0),h=wv(n.before.charCodeAt(n.before.length-1),f,a);h.inside&&(u=Xh(f)+u.slice(1));const d=u.charCodeAt(u.length-1),m=wv(n.after.charCodeAt(0),d,a);m.inside&&(u=u.slice(0,-1)+Xh(d));const v=o.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:m.outside,before:h.outside},s+u+v}function pke(e,t,r){return r.options.strong||"*"}
vendor: 4,136 bytes, lines 648-650
648function mke(e,t,r,n){return r.safe(e.value,n)}function gke(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 vke(e,t,r){const n=(KK(r)+(r.options.ruleSpaces?" ":"")).repeat(gke(r));return r.options.ruleSpaces?n.slice(0,-1):n}const QK={blockquote:F9e,break:KB,code:G9e,definition:W9e,emphasis:FK,hardBreak:KB,heading:Z9e,html:$K,image:UK,imageReference:qK,inlineCode:VK,link:YK,linkReference:WK,list:ske,listItem:uke,paragraph:cke,root:dke,strong:XK,text:mke,thematicBreak:vke};function yke(){return{enter:{table:bke,tableData:XB,tableHeader:XB,tableRow:Eke},exit:{codeText:_ke,table:xke,tableData:F_,tableHeader:F_,tableRow:F_}}}function bke(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function xke(e){this.exit(e),this.data.inTable=void 0}function Eke(e){this.enter({type:"tableRow",children:[]},e)}function F_(e){this.exit(e)}function XB(e){this.enter({type:"tableCell",children:[]},e)}function _ke(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,wke));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function wke(e,t){return t==="|"?t:e}function Ske(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 649`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:o,tableCell:u,tableRow:s}};function o(v,y,b,E){return f(h(v,b,E),v.align)}function s(v,y,b,E){const _=d(v,b,E),A=f([_]);return A.slice(0,A.indexOf(` 650`))}function u(v,y,b,E){const _=b.enter("tableCell"),A=b.enter("phrasing"),C=b.containerPhrasing(v,{...E,before:i,after:i});return A(),_(),C}function f(v,y){return z9e(v,{align:y,alignDelimiters:n,padding:r,stringLength:a})}function h(v,y,b){const E=v.children;let _=-1;const A=[],C=y.enter("table");for(;++_<E.length;)A[_]=d(E[_],y,b);return C(),A}function d(v,y,b){const E=v.children;let _=-1;const A=[],C=y.enter("tableRow");for(;++_<E.length;)A[_]=u(E[_],v,y,b);return C(),A}function m(v,y,b){let E=QK.inlineCode(v,y,b);return b.stack.includes("tableCell")&&(E=E.replace(/\|/g,"\\$&")),E}}function Tke(){return{exit:{taskListCheckValueChecked:QB,taskListCheckValueUnchecked:QB,paragraph:Cke}}}function Ake(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Oke}}}function QB(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Cke(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let i=-1,o;for(;++i<a.length;){const s=a[i];if(s.type==="paragraph"){o=s;break}}o===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Oke(e,t,r,n){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=r.createTracker(n);i&&s.move(o);let u=QK.listItem(e,t,r,{...n,...s.current()});return i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),u;function f(h){return h+o}}function kke(){return[l9e(),k9e(),P9e(),yke(),Tke()]}function Nke(e){return{extensions:[u9e(),N9e(e),I9e(),Ske(e),Ake()]}}const Rke={tokenize:jke,partial:!0},ZK={tokenize:Bke,partial:!0},JK={tokenize:zke,partial:!0},eX={tokenize:Hke,partial:!0},Mke={tokenize:Fke,partial:!0},tX={name:"wwwAutolink",tokenize:Dke,previous:nX},rX={name:"protocolAutolink",tokenize:Lke,previous:aX},vs={name:"emailAutolink",tokenize:Ike,previous:iX},xo={};function Pke(){return{text:xo}}let Kl=48;for(;Kl<123;)xo[Kl]=vs,Kl++,Kl===58?Kl=65:Kl===91&&(Kl=97);
vendor: 9,784 bytes, line 650
650xo[43]=vs;xo[45]=vs;xo[46]=vs;xo[95]=vs;xo[72]=[vs,rX];xo[104]=[vs,rX];xo[87]=[vs,tX];xo[119]=[vs,tX];function Ike(e,t,r){const n=this;let a,i;return o;function o(d){return!CS(d)||!iX.call(n,n.previous)||N8(n.events)?r(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(d))}function s(d){return CS(d)?(e.consume(d),s):d===64?(e.consume(d),u):r(d)}function u(d){return d===46?e.check(Mke,h,f)(d):d===45||d===95||jn(d)?(i=!0,e.consume(d),u):h(d)}function f(d){return e.consume(d),a=!0,u}function h(d){return i&&a&&Vn(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):r(d)}}function Dke(e,t,r){const n=this;return a;function a(o){return o!==87&&o!==119||!nX.call(n,n.previous)||N8(n.events)?r(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Rke,e.attempt(ZK,e.attempt(JK,i),r),r)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function Lke(e,t,r){const n=this;let a="",i=!1;return o;function o(d){return(d===72||d===104)&&aX.call(n,n.previous)&&!N8(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(d),e.consume(d),s):r(d)}function s(d){if(Vn(d)&&a.length<5)return a+=String.fromCodePoint(d),e.consume(d),s;if(d===58){const m=a.toLowerCase();if(m==="http"||m==="https")return e.consume(d),u}return r(d)}function u(d){return d===47?(e.consume(d),i?f:(i=!0,u)):r(d)}function f(d){return d===null||fv(d)||or(d)||Su(d)||Zy(d)?r(d):e.attempt(ZK,e.attempt(JK,h),r)(d)}function h(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function jke(e,t,r){let n=0;return a;function a(o){return(o===87||o===119)&&n<3?(n++,e.consume(o),a):o===46&&n===3?(e.consume(o),i):r(o)}function i(o){return o===null?r(o):t(o)}}function Bke(e,t,r){let n,a,i;return o;function o(f){return f===46||f===95?e.check(eX,u,s)(f):f===null||or(f)||Su(f)||f!==45&&Zy(f)?u(f):(i=!0,e.consume(f),o)}function s(f){return f===95?n=!0:(a=n,n=void 0),e.consume(f),o}function u(f){return a||n||!i?r(f):t(f)}}function zke(e,t){let r=0,n=0;return a;function a(o){return o===40?(r++,e.consume(o),a):o===41&&n<r?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(eX,t,i)(o):o===null||or(o)||Su(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&n++,e.consume(o),a}}function Hke(e,t,r){return n;function n(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),n):s===38?(e.consume(s),i):s===93?(e.consume(s),a):s===60||s===null||or(s)||Su(s)?t(s):r(s)}function a(s){return s===null||s===40||s===91||or(s)||Su(s)?t(s):n(s)}function i(s){return Vn(s)?o(s):r(s)}function o(s){return s===59?(e.consume(s),n):Vn(s)?(e.consume(s),o):r(s)}}function Fke(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return jn(i)?r(i):t(i)}}function nX(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||or(e)}function aX(e){return!Vn(e)}function iX(e){return!(e===47||CS(e))}function CS(e){return e===43||e===45||e===46||e===95||jn(e)}function N8(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const $ke={tokenize:Xke,partial:!0};function Uke(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Yke,continuation:{tokenize:Wke},exit:Kke}},text:{91:{name:"gfmFootnoteCall",tokenize:Gke},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:qke,resolveTo:Vke}}}}function qke(e,t,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o;for(;a--;){const u=n.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 s;function s(u){if(!o||!o._balanced)return r(u);const f=ki(n.sliceSerialize({start:o.end,end:n.now()}));return f.codePointAt(0)!==94||!i.includes(f.slice(1))?r(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function Vke(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+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)},s=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+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",n,t]];return e.splice(r,e.length-r+1,...s),e}function Gke(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,o;return s;function s(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),u}function u(d){return d!==94?r(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(d){if(i>999||d===93&&!o||d===null||d===91||or(d))return r(d);if(d===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return a.includes(ki(n.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(d)}return or(d)||(o=!0),i++,e.consume(d),d===92?h:f}function h(d){return d===91||d===92||d===93?(e.consume(d),i++,f):f(d)}}function Yke(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,o=0,s;return u;function u(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):r(y)}function h(y){if(o>999||y===93&&!s||y===null||y===91||or(y))return r(y);if(y===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return i=ki(n.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return or(y)||(s=!0),o++,e.consume(y),y===92?d:h}function d(y){return y===91||y===92||y===93?(e.consume(y),o++,h):h(y)}function m(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),a.includes(i)||a.push(i),bt(e,v,"gfmFootnoteDefinitionWhitespace")):r(y)}function v(y){return t(y)}}function Wke(e,t,r){return e.check(_p,t,e.attempt($ke,t,r))}function Kke(e){e.exit("gfmFootnoteDefinition")}function Xke(e,t,r){const n=this;return bt(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const o=n.events[n.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):r(i)}}function Qke(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(o,s){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let f=u;for(;f--;)if(o[f][0]==="exit"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[f][1].end.offset-o[f][1].start.offset){o[u][1].type="strikethroughSequence",o[f][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},o[f][1].start),end:Object.assign({},o[u][1].end)},d={type:"strikethroughText",start:Object.assign({},o[f][1].end),end:Object.assign({},o[u][1].start)},m=[["enter",h,s],["enter",o[f][1],s],["exit",o[f][1],s],["enter",d,s]],v=s.parser.constructs.insideSpan.null;v&&ja(m,m.length,0,Jy(v,o.slice(f+1,u),s)),ja(m,m.length,0,[["exit",d,s],["enter",o[u][1],s],["exit",o[u][1],s],["exit",h,s]]),ja(o,f-1,u-f+3,m),u=f+m.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}function i(o,s,u){const f=this.previous,h=this.events;let d=0;return m;function m(y){return f===126&&h[h.length-1][1].type!=="characterEscape"?u(y):(o.enter("strikethroughSequenceTemporary"),v(y))}function v(y){const b=Hf(f);if(y===126)return d>1?u(y):(o.consume(y),d++,v);if(d<2&&!r)return u(y);const E=o.exit("strikethroughSequenceTemporary"),_=Hf(y);return E._open=!_||_===2&&!!b,E._close=!b||b===2&&!!_,s(y)}}}class Zke{constructor(){this.map=[]}add(t,r,n){Jke(this,t,r,n)}consume(t){if(this.map.sort(function(i,o){return i[0]-o[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let a=n.pop();for(;a;){for(const i of a)t.push(i);a=n.pop()}this.map.length=0}}function Jke(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function eNe(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left"
vendor: 4,360 bytes, line 650
650:"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function tNe(){return{flow:{null:{name:"table",tokenize:rNe,resolveAll:nNe}}}}function rNe(e,t,r){const n=this;let a=0,i=0,o;return s;function s(F){let $=n.events.length-1;for(;$>-1;){const K=n.events[$][1].type;if(K==="lineEnding"||K==="linePrefix")$--;else break}const z=$>-1?n.events[$][1].type:null,W=z==="tableHead"||z==="tableRow"?k:u;return W===k&&n.parser.lazy[n.now().line]?r(F):W(F)}function u(F){return e.enter("tableHead"),e.enter("tableRow"),f(F)}function f(F){return F===124||(o=!0,i+=1),h(F)}function h(F){return F===null?r(F):Qe(F)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),v):r(F):wt(F)?bt(e,h,"whitespace")(F):(i+=1,o&&(o=!1,a+=1),F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),o=!0,h):(e.enter("data"),d(F)))}function d(F){return F===null||F===124||or(F)?(e.exit("data"),h(F)):(e.consume(F),F===92?m:d)}function m(F){return F===92||F===124?(e.consume(F),d):d(F)}function v(F){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(F):(e.enter("tableDelimiterRow"),o=!1,wt(F)?bt(e,y,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):y(F))}function y(F){return F===45||F===58?E(F):F===124?(o=!0,e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),b):O(F)}function b(F){return wt(F)?bt(e,E,"whitespace")(F):E(F)}function E(F){return F===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),_):F===45?(i+=1,_(F)):F===null||Qe(F)?P(F):O(F)}function _(F){return F===45?(e.enter("tableDelimiterFiller"),A(F)):O(F)}function A(F){return F===45?(e.consume(F),A):F===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),C):(e.exit("tableDelimiterFiller"),C(F))}function C(F){return wt(F)?bt(e,P,"whitespace")(F):P(F)}function P(F){return F===124?y(F):F===null||Qe(F)?!o||a!==i?O(F):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(F)):O(F)}function O(F){return r(F)}function k(F){return e.enter("tableRow"),M(F)}function M(F){return F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),M):F===null||Qe(F)?(e.exit("tableRow"),t(F)):wt(F)?bt(e,M,"whitespace")(F):(e.enter("data"),L(F))}function L(F){return F===null||F===124||or(F)?(e.exit("data"),M(F)):(e.consume(F),F===92?H:L)}function H(F){return F===92||F===124?(e.consume(F),L):L(F)}}function nNe(e,t){let r=-1,n=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],s=!1,u=0,f,h,d;const m=new Zke;for(;++r<e.length;){const v=e[r],y=v[1];v[0]==="enter"?y.type==="tableHead"?(s=!1,u!==0&&(ZB(m,t,u,f,h),h=void 0,u=0),f={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},m.add(r,0,[["enter",f,t]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(n=!0,d=void 0,i=[0,0,0,0],o=[0,r+1,0,0],s&&(s=!1,h={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},m.add(r,0,[["enter",h,t]])),a=y.type==="tableDelimiterRow"?2:h?3:1):a&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(n=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],d=Lg(m,t,i,a,void 0,d),i=[0,0,0,0]),o[2]=r)):y.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(o[0]=o[1],d=Lg(m,t,i,a,void 0,d)),i=o,o=[i[1],r,0,0])):y.type==="tableHead"?(s=!0,u=r):y.type==="tableRow"||y.type==="tableDelimiterRow"?(u=r,i[1]!==0?(o[0]=o[1],d=Lg(m,t,i,a,r,d)):o[1]!==0&&(d=Lg(m,t,o,a,r,d)),a=0):a&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(o[3]=r)}for(u!==0&&ZB(m,t,u,f,h),m.consume(t.events),r=-1;++r<t.events.length;){const v=t.events[r];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=eNe(t.events,r))}return e}function Lg(e,t,r,n,a,i){const o=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",s="tableContent";r[0]!==0&&(i.end=Object.assign({},Gc(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const u=Gc(t.events,r[1]);if(i={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(r[1],0,[["enter",i,t]]),r[2]!==0){const f=Gc(t.events,r[2]),h=Gc(t.events,r[3]),d={type:s,start:Object.assign({},f),end:Object.assign({},h)};
vendor: 5,398 bytes, lines 650-654
650if(e.add(r[2],0,[["enter",d,t]]),n!==2){const m=t.events[r[2]],v=t.events[r[3]];if(m[1].end=Object.assign({},v[1].end),m[1].type="chunkText",m[1].contentType="text",r[3]>r[2]+1){const y=r[2]+1,b=r[3]-r[2]-1;e.add(y,b,[])}}e.add(r[3]+1,0,[["exit",d,t]])}return a!==void 0&&(i.end=Object.assign({},Gc(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function ZB(e,t,r,n,a){const i=[],o=Gc(t.events,r);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),n.end=Object.assign({},o),i.push(["exit",n,t]),e.add(r+1,0,i)}function Gc(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const aNe={name:"tasklistCheck",tokenize:oNe};function iNe(){return{text:{91:aNe}}}function oNe(e,t,r){const n=this;return a;function a(u){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),i)}function i(u){return or(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):r(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):r(u)}function s(u){return Qe(u)?t(u):wt(u)?e.check({tokenize:sNe},t,r)(u):r(u)}}function sNe(e,t,r){return bt(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function lNe(e){return mY([Pke(),Uke(),Qke(e),tNe(),iNe()])}const uNe={};function cNe(e){const t=this,r=e||uNe,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(lNe(r)),i.push(kke()),o.push(Nke(r))}function fNe(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:s,mathText:o,mathTextData:s}};function e(u){const f={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[f]}},u)}function t(){this.buffer()}function r(){const u=this.resume(),f=this.stack[this.stack.length-1];f.type,f.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(u){const f=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),h=this.stack[this.stack.length-1];h.type,this.exit(u),h.value=f;const d=h.data.hChildren[0];d.type,d.tagName,d.children.push({type:"text",value:f}),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 f=this.resume(),h=this.stack[this.stack.length-1];h.type,this.exit(u),h.value=f,h.data.hChildren.push({type:"text",value:f})}function s(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function dNe(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` 651`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,o,s,u){const f=i.value||"",h=s.createTracker(u),d="$".repeat(Math.max(HK(f,"$")+1,2)),m=s.enter("mathFlow");let v=h.move(d);if(i.meta){const y=s.enter("mathFlowMeta");v+=h.move(s.safe(i.meta,{after:` 652`,before:v,encode:["$"],...h.current()})),y()}return v+=h.move(` 653`),f&&(v+=h.move(f+` 654`)),v+=h.move(d),m(),v}function n(i,o,s){let u=i.value||"",f=1;for(t||f++;new RegExp("(^|[^$])"+"\\$".repeat(f)+"([^$]|$)").test(u);)f++;const h="$".repeat(f);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let d=-1;for(;++d<s.unsafe.length;){const m=s.unsafe[d];if(!m.atBreak)continue;const v=s.compilePattern(m);let y;for(;y=v.exec(u);){let b=y.index;u.codePointAt(b)===10&&u.codePointAt(b-1)===13&&b--,u=u.slice(0,b)+" "+u.slice(y.index+1)}}return h+u+h}function a(){return"$"}}const hNe={tokenize:pNe,concrete:!0,name:"mathFlow"},JB={tokenize:mNe,partial:!0};function pNe(e,t,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let o=0;return s;function s(A){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(A)}function u(A){return A===36?(e.consume(A),o++,u):o<2?r(A):(e.exit("mathFlowFenceSequence"),bt(e,f,"whitespace")(A))}function f(A){return A===null||Qe(A)?d(A):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(A))}function h(A){return A===null||Qe(A)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),d(A)):A===36?r(A):(e.consume(A),h)}function d(A){return e.exit("mathFlowFence"),n.interrupt?t(A):e.attempt(JB,m,E)(A)}function m(A){return e.attempt({tokenize:_,partial:!0},E,v)(A)}function v(A){return(i?bt(e,y,"linePrefix",i+1):y)(A)}function y(A){return A===null?E(A):Qe(A)?e.attempt(JB,m,E)(A):(e.enter("mathFlowValue"),b(A))}function b(A){return A===null||Qe(A)?(e.exit("mathFlowValue"),y(A)):(e.consume(A),b)}function E(A){return e.exit("mathFlow"),t(A)}function _(A,C,P){let O=0;return bt(A,k,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);
654function k(H){return A.enter("mathFlowFence"),A.enter("mathFlowFenceSequence"),M(H)}function M(H){return H===36?(O++,A.consume(H),M):O<o?P(H):(A.exit("mathFlowFenceSequence"),bt(A,L,"whitespace")(H))}function L(H){return H===null||Qe(H)?(A.exit("mathFlowFence"),C(H)):P(H)}}}function mNe(e,t,r){const n=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 n.parser.lazy[n.now().line]?r(o):t(o)}}function gNe(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:vNe,previous:yNe,name:"mathText"};function n(a,i,o){let s=0,u,f;return h;function h(b){return a.enter("mathText"),a.enter("mathTextSequence"),d(b)}function d(b){return b===36?(a.consume(b),s++,d):s<2&&!r?o(b):(a.exit("mathTextSequence"),m(b))}function m(b){return b===null?o(b):b===36?(f=a.enter("mathTextSequence"),u=0,y(b)):b===32?(a.enter("space"),a.consume(b),a.exit("space"),m):Qe(b)?(a.enter("lineEnding"),a.consume(b),a.exit("lineEnding"),m):(a.enter("mathTextData"),v(b))}function v(b){return b===null||b===32||b===36||Qe(b)?(a.exit("mathTextData"),m(b)):(a.consume(b),v)}function y(b){return b===36?(a.consume(b),u++,y):u===s?(a.exit("mathTextSequence"),a.exit("mathText"),i(b)):(f.type="mathTextData",v(b))}}}function vNe(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function yNe(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function bNe(e){return{flow:{36:hNe},text:{36:gNe(e)}}}const xNe={};function ENe(e){const t=this,r=e||xNe,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(bNe(r)),i.push(fNe()),o.push(dNe(r))}function _Ne({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:r=[],allowDataImages:n=!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==="*"),s=r.length&&!r.every(u=>u==="*");if(!e&&(o||s))throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return u=>{const f=TNe(e,t,r,n,a,i);Tu(u,f)}}function ez(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 wNe(e){return typeof e!="string"?!1:e.startsWith("/")}const SNe=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:"]);function tz(e,t,r,n=!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&&n&&e.startsWith("data:image/")?e:null;const i=ez(e,r);if(!i||!SNe.has(i.protocol))return null;if(i.protocol==="mailto:")return i.href;const o=wNe(e);return i&&t.some(s=>{const u=ez(s,r);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 $_=Symbol("node-seen"),TNe=(e,t,r,n,a,i)=>{const o=(s,u,f)=>{if(s.type!=="element"||s[$_])return kd;if(s.tagName==="a"){const h=tz(s.properties.href,t,e,!1,!1);return h===null?(s[$_]=!0,Tu(s,o),f&&typeof u=="number"&&(f.children[u]={type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(s.properties.href),class:i},children:[...s.children,{type:"text",value:" [blocked]"}]}),hv):(s.properties.href=h,s.properties.target="_blank",s.properties.rel="noopener noreferrer",kd)}if(s.tagName==="img"){const h=tz(s.properties.src,r,e,n,!0);return h===null?(s[$_]=!0,Tu(s,o),f&&typeof u=="number"&&(f.children[u]={type:"element",tagName:"span",properties:{class:a},children:[{type:"text",value:"[Image blocked: "+String(s.properties.alt||"No description")+"]"}]}),hv):(s.properties.src=h,kd)}return kd};return o};/** 655 * @license lucide-react v0.542.0 - ISC 656 * 657 * This source code is licensed under the ISC license. 658 * See the LICENSE file in the root directory of this source tree. 659 */const ANe=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),CNe=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),rz=e=>{const t=CNe(e);return t.charAt(0).toUpperCase()+t.slice(1)},oX=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),ONe=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/** 660 * @license lucide-react v0.542.0 - ISC 661 * 662 * This source code is licensed under the ISC license. 663 * See the LICENSE file in the root directory of this source tree. 664 */var kNe={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"};/** 665 * @license lucide-react v0.542.0 - ISC 666 * 667 * This source code is licensed under the ISC license. 668 * See the LICENSE file in the root directory of this source tree.
vendor: 4,127 bytes, lines 669-689
669 */const NNe=R.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:i,iconNode:o,...s},u)=>R.createElement("svg",{ref:u,...kNe,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:oX("lucide",a),...!i&&!ONe(s)&&{"aria-hidden":"true"},...s},[...o.map(([f,h])=>R.createElement(f,h)),...Array.isArray(i)?i:[i]]));/** 670 * @license lucide-react v0.542.0 - ISC 671 * 672 * This source code is licensed under the ISC license. 673 * See the LICENSE file in the root directory of this source tree. 674 */const R8=(e,t)=>{const r=R.forwardRef(({className:n,...a},i)=>R.createElement(NNe,{ref:i,iconNode:t,className:oX(`lucide-${ANe(rz(e))}`,`lucide-${e}`,n),...a}));return r.displayName=rz(e),r};/** 675 * @license lucide-react v0.542.0 - ISC 676 * 677 * This source code is licensed under the ISC license. 678 * See the LICENSE file in the root directory of this source tree. 679 */const RNe=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],sX=R8("check",RNe);/** 680 * @license lucide-react v0.542.0 - ISC 681 * 682 * This source code is licensed under the ISC license. 683 * See the LICENSE file in the root directory of this source tree. 684 */const MNe=[["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"}]],lX=R8("copy",MNe);/** 685 * @license lucide-react v0.542.0 - ISC 686 * 687 * This source code is licensed under the ISC license. 688 * See the LICENSE file in the root directory of this source tree. 689 */const PNe=[["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"}]],M8=R8("download",PNe);let Yr=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function INe(e){return P8(e)}function P8(e){return Array.isArray(e)?DNe(e):e instanceof RegExp?e:typeof e=="object"?LNe(e):e}function DNe(e){let t=[];for(let r=0,n=e.length;r<n;r++)t[r]=P8(e[r]);return t}function LNe(e){let t={};for(let r in e)t[r]=P8(e[r]);return t}function uX(e,...t){return t.forEach(r=>{for(let n in r)e[n]=r[n]}),e}function cX(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?cX(e.substring(0,e.length-1)):e.substr(~t+1)}var U_=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,jg=class{static hasCaptures(e){return e===null?!1:(U_.lastIndex=0,U_.test(e))}static replaceCaptures(e,t,r){return e.replace(U_,(n,a,i,o)=>{let s=r[parseInt(a||i,10)];if(s){let u=t.substring(s.start,s.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 n})}};function fX(e,t){return e<t?-1:e>t?1:0}function dX(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let r=e.length,n=t.length;if(r===n){for(let a=0;a<r;a++){let i=fX(e[a],t[a]);if(i!==0)return i}return 0}return r-n}function nz(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 hX(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var pX=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}},Sv=class{constructor(e,t,r){this._colorMap=e,this._defaults=t,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(zNe(e),t)}static createFromParsedTheme(e,t){return FNe(e,t)}_cachedMatchRoot=new pX(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,n=this._cachedMatchRoot.get(t).find(a=>jNe(e.parent,a.parentScopes));return n?new mX(n.fontStyle,n.foreground,n.background):null}},q_=class n1{constructor(t,r){this.parent=t,this.scopeName=r}static push(t,r){for(const n of r)t=new n1(t,n);return t}static from(...t){let r=null;for(let n=0;n<t.length;n++)r=new n1(r,t[n]);return r}push(t){return new n1(this,t)}getSegments(){let t=this;const r=[];for(;t;)r.push(t.scopeName),t=t.parent;return r.reverse(),r}
vendor: 41,905 bytes, lines 689-691
689toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const r=[];let n=this;for(;n&&n!==t;)r.push(n.scopeName),n=n.parent;return n===t?r.reverse():void 0}};function jNe(e,t){if(t.length===0)return!0;for(let r=0;r<t.length;r++){let n=t[r],a=!1;if(n===">"){if(r===t.length-1)return!1;n=t[++r],a=!0}for(;e&&!BNe(e.scopeName,n);){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function BNe(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var mX=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}};function zNe(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,r=[],n=0;for(let a=0,i=t.length;a<i;a++){let o=t[a];if(!o.settings)continue;let s;if(typeof o.scope=="string"){let d=o.scope;d=d.replace(/^[,]+/,""),d=d.replace(/[,]+$/,""),s=d.split(",")}else Array.isArray(o.scope)?s=o.scope:s=[""];let u=-1;if(typeof o.settings.fontStyle=="string"){u=0;let d=o.settings.fontStyle.split(" ");for(let m=0,v=d.length;m<v;m++)switch(d[m]){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 f=null;typeof o.settings.foreground=="string"&&nz(o.settings.foreground)&&(f=o.settings.foreground);let h=null;typeof o.settings.background=="string"&&nz(o.settings.background)&&(h=o.settings.background);for(let d=0,m=s.length;d<m;d++){let y=s[d].trim().split(" "),b=y[y.length-1],E=null;y.length>1&&(E=y.slice(0,y.length-1),E.reverse()),r[n++]=new HNe(b,E,a,u,f,h)}}return r}var HNe=class{constructor(e,t,r,n,a,i){this.scope=e,this.parentScopes=t,this.index=r,this.fontStyle=n,this.foreground=a,this.background=i}},Ln=(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))(Ln||{});function FNe(e,t){e.sort((u,f)=>{let h=fX(u.scope,f.scope);return h!==0||(h=dX(u.parentScopes,f.parentScopes),h!==0)?h:u.index-f.index});let r=0,n="#000000",a="#ffffff";for(;e.length>=1&&e[0].scope==="";){let u=e.shift();u.fontStyle!==-1&&(r=u.fontStyle),u.foreground!==null&&(n=u.foreground),u.background!==null&&(a=u.background)}let i=new $Ne(t),o=new mX(r,i.getId(n),i.getId(a)),s=new qNe(new OS(0,null,-1,0,0),[]);for(let u=0,f=e.length;u<f;u++){let h=e[u];s.insert(0,h.scope,h.parentScopes,h.fontStyle,i.getId(h.foreground),i.getId(h.background))}return new Sv(i,o,s)}var $Ne=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,r=e.length;t<r;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)}},UNe=Object.freeze([]),OS=class gX{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,r,n,a,i){this.scopeDepth=t,this.parentScopes=r||UNe,this.fontStyle=n,this.foreground=a,this.background=i}clone(){return new gX(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let r=[];for(let n=0,a=t.length;n<a;n++)r[n]=t[n].clone();return r}acceptOverwrite(t,r,n,a){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,r!==-1&&(this.fontStyle=r),n!==0&&(this.foreground=n),a!==0&&(this.background=a)}},qNe=class kS{constructor(t,r=[],n={}){this._mainRule=t,this._children=n,this._rulesWithParentScopes=r}_rulesWithParentScopes;static _cmpBySpecificity(t,r){if(t.scopeDepth!==r.scopeDepth)return r.scopeDepth-t.scopeDepth;let n=0,a=0;for(;t.parentScopes[n]===">"&&n++,r.parentScopes[a]===">"&&a++,!(n>=t.parentScopes.length||a>=r.parentScopes.length);){const i=r.parentScopes[a].length-t.parentScopes[n].length;if(i!==0)return i;n++,a++}return r.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let n=t.indexOf("."),a,i;if(n===-1?(a=t,i=""):(a=t.substring(0,n),i=t.substring(n+1)),this._children.hasOwnProperty(a))return this._children[a].match(i)}const r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(kS._cmpBySpecificity),r}insert(t,r,n,a,i,o){if(r===""){this._doInsertHere(t,n,a,i,o);return}let s=r.indexOf("."),u,f;s===-1?(u=r,f=""):(u=r.substring(0,s),f=r.substring(s+1));let h;this._children.hasOwnProperty(u)?h=this._children[u]:(h=new kS(this._mainRule.clone(),OS.cloneArr(this._rulesWithParentScopes)),this._children[u]=h),h.insert(t+1,f,n,a,i,o)}_doInsertHere(t,r,n,a,i){if(r===null){this._mainRule.acceptOverwrite(t,n,a,i);return}for(let o=0,s=this._rulesWithParentScopes.length;o<s;o++){let u=this._rulesWithParentScopes[o];if(dX(u.parentScopes,r)===0){u.acceptOverwrite(t,n,a,i);return}}n===-1&&(n=this._mainRule.fontStyle),a===0&&(a=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new OS(t,r,n,a,i))}},qf=class Ja{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const r=Ja.getLanguageId(t),n=Ja.getTokenType(t),a=Ja.getFontStyle(t),i=Ja.getForeground(t),o=Ja.getBackground(t);console.log({languageId:r,tokenType:n,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,r,n,a,i,o,s){let u=Ja.getLanguageId(t),f=Ja.getTokenType(t),h=Ja.containsBalancedBrackets(t)?1:0,d=Ja.getFontStyle(t),m=Ja.getForeground(t),v=Ja.getBackground(t);return r!==0&&(u=r),n!==8&&(f=n),a!==null&&(h=a?1:0),i!==-1&&(d=i),o!==0&&(m=o),s!==0&&(v=s),(u<<0|f<<8|h<<10|d<<11|m<<15|v<<24)>>>0}};function Tv(e,t){const r=[],n=VNe(e);let a=n.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=n.next()}let f=o();if(r.push({matcher:f,priority:u}),a!==",")break;a=n.next()}return r;function i(){if(a==="-"){a=n.next();const u=i();return f=>!!u&&!u(f)}if(a==="("){a=n.next();const u=s();return a===")"&&(a=n.next()),u}if(az(a)){const u=[];do u.push(a),a=n.next();while(az(a));return f=>t(u,f)}return null}function o(){const u=[];let f=i();for(;f;)u.push(f),f=i();return h=>u.every(d=>d(h))}function s(){const u=[];let f=o();for(;f&&(u.push(f),a==="|"||a===",");){do a=n.next();while(a==="|"||a===",");f=o()}return h=>u.some(d=>d(h))}}function az(e){return!!e&&!!e.match(/[\w\.:]+/)}function VNe(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,r=t.exec(e);return{next:()=>{if(!r)return null;const n=r[0];return r=t.exec(e),n}}}function vX(e){typeof e.dispose=="function"&&e.dispose()}var Qh=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},GNe=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},YNe=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))}},WNe=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Qh(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new YNe;for(const r of e)KNe(r,this.initialScopeName,this.repo,t);for(const r of t.references)if(r instanceof Qh){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}};function KNe(e,t,r,n){const a=r.lookup(e.scopeName);if(!a){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=r.lookup(t);e instanceof Qh?a1({baseGrammar:i,selfGrammar:a},n):NS(e.ruleName,{baseGrammar:i,selfGrammar:a,repository:a.repository},n);const o=r.injections(e.scopeName);if(o)for(const s of o)n.add(new Qh(s))}function NS(e,t,r){if(t.repository&&t.repository[e]){const n=t.repository[e];Av([n],t,r)}}function a1(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Av(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Av(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Av(e,t,r){for(const n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);const a=n.repository?uX({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&Av(n.patterns,{...t,repository:a},r);const i=n.include;if(!i)continue;const o=yX(i);switch(o.kind){case 0:a1({...t,selfGrammar:t.baseGrammar},r);break;case 1:a1(t,r);break;case 2:NS(o.ruleName,{...t,repository:a},r);break;case 3:case 4:const s=o.scopeName===t.selfGrammar.scopeName?t.selfGrammar:o.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(s){const u={baseGrammar:t.baseGrammar,selfGrammar:s,repository:a};o.kind===4?NS(o.ruleName,u,r):a1(u,r)}else o.kind===4?r.add(new GNe(o.scopeName,o.ruleName)):r.add(new Qh(o.scopeName));break}}}var XNe=class{kind=0},QNe=class{kind=1},ZNe=class{constructor(e){this.ruleName=e}kind=2},JNe=class{constructor(e){this.scopeName=e}kind=3},eRe=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function yX(e){if(e==="$base")return new XNe;if(e==="$self")return new QNe;const t=e.indexOf("#");if(t===-1)return new JNe(e);if(t===0)return new ZNe(e.substring(1));{const r=e.substring(0,t),n=e.substring(t+1);return new eRe(r,n)}}var tRe=/\\(\d+)/,iz=/\\(\d+)/g,rRe=-1,bX=-2;var Rp=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,r,n){this.$location=e,this.id=t,this._name=r||null,this._nameIsCapturing=jg.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=jg.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${cX(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:jg.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:jg.replaceCaptures(this._contentName,e,t)}},nRe=class extends Rp{retokenizeCapturedWithRuleId;constructor(e,t,r,n,a){super(e,t,r,n),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,r,n){throw new Error("Not supported!")}},aRe=class extends Rp{_match;captures;_cachedCompiledPatterns;constructor(e,t,r,n,a){super(e,t,r,null),this._match=new Zh(n,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,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Jh,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},oz=class extends Rp{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,r,n,a){super(e,t,r,n),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 r of this.patterns)e.getRule(r).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Jh,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},RS=class extends Rp{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,r,n,a,i,o,s,u,f){super(e,t,r,n),this._begin=new Zh(a,this.id),this.beginCaptures=i,this._end=new Zh(o||"ï¿¿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e,t).compileAG(e,r,n)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Jh;for(const r of this.patterns)e.getRule(r).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}},Cv=class extends Rp{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,r,n,a,i,o,s,u){super(e,t,r,n),this._begin=new Zh(a,this.id),this.beginCaptures=i,this.whileCaptures=s,this._while=new Zh(o,bX),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,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Jh;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,r,n){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,r,n)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Jh,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"ï¿¿"),this._cachedCompiledWhilePatterns}},xX=class Rn{static createCaptureRule(t,r,n,a,i){return t.registerRule(o=>new nRe(r,o,n,a,i))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(a=>{if(t.id=a,t.match)return new aRe(t.$vscodeTextmateLocation,t.id,t.name,t.match,Rn._compileCaptures(t.captures,r,n));if(typeof t.begin>"u"){t.repository&&(n=uX({},n,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new oz(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Rn._compilePatterns(i,r,n))}return t.while?new Cv(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Rn._compileCaptures(t.beginCaptures||t.captures,r,n),t.while,Rn._compileCaptures(t.whileCaptures||t.captures,r,n),Rn._compilePatterns(t.patterns,r,n)):new RS(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Rn._compileCaptures(t.beginCaptures||t.captures,r,n),t.end,Rn._compileCaptures(t.endCaptures||t.captures,r,n),t.applyEndPatternLast,Rn._compilePatterns(t.patterns,r,n))}),t.id}static _compileCaptures(t,r,n){let a=[];if(t){let i=0;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const s=parseInt(o,10);s>i&&(i=s)}for(let o=0;o<=i;o++)a[o]=null;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const s=parseInt(o,10);let u=0;t[o].patterns&&(u=Rn.getCompiledRuleId(t[o],r,n)),a[s]=Rn.createCaptureRule(r,t[o].$vscodeTextmateLocation,t[o].name,t[o].contentName,u)}}return a}static _compilePatterns(t,r,n){let a=[];if(t)for(let i=0,o=t.length;i<o;i++){const s=t[i];let u=-1;if(s.include){const f=yX(s.include);switch(f.kind){case 0:case 1:u=Rn.getCompiledRuleId(n[s.include],r,n);break;case 2:let h=n[f.ruleName];h&&(u=Rn.getCompiledRuleId(h,r,n));break;case 3:case 4:const d=f.scopeName,m=f.kind===4?f.ruleName:null,v=r.getExternalGrammar(d,n);if(v)if(m){let y=v.repository[m];y&&(u=Rn.getCompiledRuleId(y,r,v.repository))}else u=Rn.getCompiledRuleId(v.repository.$self,r,v.repository);break}}else u=Rn.getCompiledRuleId(s,r,n);if(u!==-1){const f=r.getRule(u);let h=!1;if((f instanceof oz||f instanceof RS||f instanceof Cv)&&f.hasMissingPatterns&&f.patterns.length===0&&(h=!0),h)continue;a.push(u)}}return{patterns:a,hasMissingPatterns:(t?t.length:0)!==a.length}}},Zh=class EX{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,r){if(t&&typeof t=="string"){const n=t.length;let a=0,i=[],o=!1;for(let s=0;s<n;s++)if(t.charAt(s)==="\\"&&s+1<n){const f=t.charAt(s+1);f==="z"?(i.push(t.substring(a,s)),i.push("$(?!\\n)(?<!\\n)"),a=s+2):(f==="A"||f==="G")&&(o=!0),s++}this.hasAnchor=o,a===0?this.source=t:(i.push(t.substring(a,n)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=r,typeof this.source=="string"?this.hasBackReferences=tRe.test(this.source):this.hasBackReferences=!1}clone(){return new EX(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,r){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let n=r.map(a=>t.substring(a.start,a.end));return iz.lastIndex=0,this.source.replace(iz,(a,i)=>hX(n[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=[],r=[],n=[],a=[],i,o,s,u;for(i=0,o=this.source.length;i<o;i++)s=this.source.charAt(i),t[i]=s,r[i]=s,n[i]=s,a[i]=s,s==="\\"&&i+1<o&&(u=this.source.charAt(i+1),u==="A"?(t[i+1]="ï¿¿",r[i+1]="ï¿¿",n[i+1]="A",a[i+1]="A"):u==="G"?(t[i+1]="ï¿¿",r[i+1]="G",n[i+1]="ï¿¿",a[i+1]="G"):(t[i+1]=u,r[i+1]=u,n[i+1]=u,a[i+1]=u),i++);return{A0_G0:t.join(""),A0_G1:r.join(""),A1_G0:n.join(""),A1_G1:a.join("")}}resolveAnchors(t,r){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?r?this._anchorCache.A1_G1:this._anchorCache.A1_G0:r?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Jh=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(r=>r.source);this._cached=new sz(e,t,this._items.map(r=>r.ruleId))}return this._cached}compileAG(e,t,r){return this._hasAnchors?t?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,r){let n=this._items.map(a=>a.resolveAnchors(t,r));return new sz(e,n,this._items.map(a=>a.ruleId))}},sz=class{constructor(e,t,r){this.regExps=t,this.rules=r,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,r=this.rules.length;t<r;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(` 690`)}findNextMatchSync(e,t,r){const n=this.scanner.findNextMatchSync(e,t,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}},V_=class{constructor(e,t){this.languageId=e,this.tokenType=t}},iRe=class MS{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,r){this._defaultAttributes=new V_(t,8),this._embeddedLanguagesMatcher=new oRe(Object.entries(r||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?MS._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new V_(0,0);_getBasicScopeAttributes=new pX(t=>{const r=this._scopeToLanguage(t),n=this._toStandardTokenType(t);return new V_(r,n)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const r=t.match(MS.STANDARD_TOKEN_TYPE_REGEXP);if(!r)return 8;switch(r[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/},oRe=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(([r,n])=>hX(r));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])}},lz=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function _X(e,t,r,n,a,i,o,s){const u=t.content.length;let f=!1,h=-1;if(o){const v=sRe(e,t,r,n,a,i);a=v.stack,n=v.linePos,r=v.isFirstLine,h=v.anchorPosition}const d=Date.now();for(;!f;){if(s!==0&&Date.now()-d>s)return new lz(a,!0);m()}return new lz(a,!1);function m(){const v=lRe(e,t,r,n,a,h);if(!v){i.produce(a,u),f=!0;return}const y=v.captureIndices,b=v.matchedRuleId,E=y&&y.length>0?y[0].end>n:!1;if(b===rRe){const _=a.getRule(e);i.produce(a,y[0].start),a=a.withContentNameScopesList(a.nameScopesList),Md(e,t,r,a,i,_.endCaptures,y),i.produce(a,y[0].end);const A=a;if(a=a.parent,h=A.getAnchorPos(),!E&&A.getEnterPos()===n){a=A,i.produce(a,u),f=!0;return}}else{const _=e.getRule(b);i.produce(a,y[0].start);const A=a,C=_.getName(t.content,y),P=a.contentNameScopesList.pushAttributed(C,e);if(a=a.push(b,n,h,y[0].end===u,null,P,P),_ instanceof RS){const O=_;Md(e,t,r,a,i,O.beginCaptures,y),i.produce(a,y[0].end),h=y[0].end;const k=O.getContentName(t.content,y),M=P.pushAttributed(k,e);if(a=a.withContentNameScopesList(M),O.endHasBackReferences&&(a=a.withEndRule(O.getEndWithResolvedBackReferences(t.content,y))),!E&&A.hasSameRuleAs(a)){a=a.pop(),i.produce(a,u),f=!0;return}}else if(_ instanceof Cv){const O=_;Md(e,t,r,a,i,O.beginCaptures,y),i.produce(a,y[0].end),h=y[0].end;const k=O.getContentName(t.content,y),M=P.pushAttributed(k,e);if(a=a.withContentNameScopesList(M),O.whileHasBackReferences&&(a=a.withEndRule(O.getWhileWithResolvedBackReferences(t.content,y))),!E&&A.hasSameRuleAs(a)){a=a.pop(),i.produce(a,u),f=!0;return}}else if(Md(e,t,r,a,i,_.captures,y),i.produce(a,y[0].end),a=a.pop(),!E){a=a.safePop(),i.produce(a,u),f=!0;return}}y[0].end>n&&(n=y[0].end,r=!1)}}function sRe(e,t,r,n,a,i){let o=a.beginRuleCapturedEOL?0:-1;const s=[];for(let u=a;u;u=u.pop()){const f=u.getRule(e);f instanceof Cv&&s.push({rule:f,stack:u})}for(let u=s.pop();u;u=s.pop()){const{ruleScanner:f,findOptions:h}=fRe(u.rule,e,u.stack.endRule,r,n===o),d=f.findNextMatchSync(t,n,h);if(d){if(d.ruleId!==bX){a=u.stack.pop();break}d.captureIndices&&d.captureIndices.length&&(i.produce(u.stack,d.captureIndices[0].start),Md(e,t,r,u.stack,i,u.rule.whileCaptures,d.captureIndices),i.produce(u.stack,d.captureIndices[0].end),o=d.captureIndices[0].end,d.captureIndices[0].end>n&&(n=d.captureIndices[0].end,r=!1))}else{a=u.stack.pop();break}}return{stack:a,linePos:n,anchorPosition:o,isFirstLine:r}}function lRe(e,t,r,n,a,i){const o=uRe(e,t,r,n,a,i),s=e.getInjections();if(s.length===0)return o;const u=cRe(s,e,t,r,n,a,i);if(!u)return o;if(!o)return u;const f=o.captureIndices[0].start,h=u.captureIndices[0].start;return h<f||u.priorityMatch&&h===f?u:o}function uRe(e,t,r,n,a,i){const o=a.getRule(e),{ruleScanner:s,findOptions:u}=wX(o,e,a.endRule,r,n===i),f=s.findNextMatchSync(t,n,u);return f?{captureIndices:f.captureIndices,matchedRuleId:f.ruleId}:null}function cRe(e,t,r,n,a,i,o){let s=Number.MAX_VALUE,u=null,f,h=0;const d=i.contentNameScopesList.getScopeNames();for(let m=0,v=e.length;m<v;m++){const y=e[m];if(!y.matcher(d))continue;const b=t.getRule(y.ruleId),{ruleScanner:E,findOptions:_}=wX(b,t,null,n,a===o),A=E.findNextMatchSync(r,a,_);if(!A)continue;const C=A.captureIndices[0].start;if(!(C>=s)&&(s=C,u=A.captureIndices,f=A.ruleId,h=y.priority,s===a))break}return u?{priorityMatch:h===-1,captureIndices:u,matchedRuleId:f}:null}function wX(e,t,r,n,a){return{ruleScanner:e.compileAG(t,r,n,a),findOptions:0}}function fRe(e,t,r,n,a){return{ruleScanner:e.compileWhileAG(t,r,n,a),findOptions:0}}function Md(e,t,r,n,a,i,o){if(i.length===0)return;const s=t.content,u=Math.min(i.length,o.length),f=[],h=o[0].end;for(let d=0;d<u;d++){const m=i[d];if(m===null)continue;const v=o[d];if(v.length===0)continue;if(v.start>h)break;for(;f.length>0&&f[f.length-1].endPos<=v.start;)a.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop();if(f.length>0?a.produceFromScopes(f[f.length-1].scopes,v.start):a.produce(n,v.start),m.retokenizeCapturedWithRuleId){const b=m.getName(s,o),E=n.contentNameScopesList.pushAttributed(b,e),_=m.getContentName(s,o),A=E.pushAttributed(_,e),C=n.push(m.retokenizeCapturedWithRuleId,v.start,-1,!1,null,E,A),P=e.createOnigString(s.substring(0,v.end));_X(e,P,r&&v.start===0,v.start,C,a,!1,0),vX(P);continue}const y=m.getName(s,o);if(y!==null){const E=(f.length>0?f[f.length-1].scopes:n.contentNameScopesList).pushAttributed(y,e);f.push(new dRe(E,v.end))}}for(;f.length>0;)a.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop()}var dRe=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function hRe(e,t,r,n,a,i,o,s){return new mRe(e,t,r,n,a,i,o,s)}function uz(e,t,r,n,a){const i=Tv(t,Ov),o=xX.getCompiledRuleId(r,n,a.repository);for(const s of i)e.push({debugSelector:t,matcher:s.matcher,ruleId:o,grammar:a,priority:s.priority})}function Ov(e,t){if(t.length<e.length)return!1;let r=0;return e.every(n=>{for(let a=r;a<t.length;a++)if(pRe(t[a],n))return r=a+1,!0;return!1})}function pRe(e,t){if(!e)return!1;if(e===t)return!0;const r=t.length;return e.length>r&&e.substr(0,r)===t&&e[r]==="."}var mRe=class{constructor(e,t,r,n,a,i,o,s){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=s,this._basicScopeAttributesProvider=new iRe(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=cz(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const u of Object.keys(a)){const f=Tv(u,Ov);for(const h of f)this._tokenTypeMatchers.push({matcher:h.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=[],r=this._rootScopeName,n=e.lookup(r);if(n){const a=n.injections;if(a)for(let o in a)uz(t,o,a[o],this,n);const i=this._grammarRepository.injections(r);i&&i.forEach(o=>{const s=this.getExternalGrammar(o);if(s){const u=s.injectionSelector;u&&uz(t,u,s,this,s)}})}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,r=e(t);return this._ruleId2desc[t]=r,r}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const r=this._grammarRepository.lookup(e);if(r)return this._includedGrammars[e]=cz(r,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,r=0){const n=this._tokenize(e,t,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(e,t,r=0){const n=this._tokenize(e,t,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(e,t,r,n){this._rootId===-1&&(this._rootId=xX.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!t||t===PS.NULL){a=!0;const f=this._basicScopeAttributesProvider.getDefaultAttributes(),h=this.themeProvider.getDefaults(),d=qf.set(0,f.languageId,f.tokenType,null,h.fontStyle,h.foregroundId,h.backgroundId),m=this.getRule(this._rootId).getName(null,null);let v;m?v=Qd.createRootAndLookUpScopeName(m,d,this):v=Qd.createRoot("unknown",d),t=new PS(null,this._rootId,-1,-1,!1,null,v,v)}else a=!1,t.reset();e=e+` 691`;const i=this.createOnigString(e),o=i.content.length,s=new vRe(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),u=_X(this,i,a,0,t,s,!0,n);return vX(i),{lineLength:o,lineTokens:s,ruleStack:u.stack,stoppedEarly:u.stoppedEarly}}};function cz(e,t){return e=INe(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 Qd=class Vi{constructor(t,r,n){this.parent=t,this.scopePath=r,this.tokenAttributes=n}static fromExtension(t,r){let n=t,a=t?.scopePath??null;for(const i of r)a=q_.push(a,i.scopeNames),n=new Vi(n,a,i.encodedTokenAttributes);return n}static createRoot(t,r){return new Vi(null,new q_(null,t),r)}static createRootAndLookUpScopeName(t,r,n){const a=n.getMetadataForScope(t),i=new q_(null,t),o=n.themeProvider.themeMatch(i),s=Vi.mergeAttributes(r,a,o);return new Vi(null,i,s)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Vi.equals(this,t)}static equals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.scopeName!==r.scopeName||t.tokenAttributes!==r.tokenAttributes)return!1;t=t.parent,r=r.parent}while(!0)}static mergeAttributes(t,r,n){let a=-1,i=0,o=0;return n!==null&&(a=n.fontStyle,i=n.foregroundId,o=n.backgroundId),qf.set(t,r.languageId,r.tokenType,null,a,i,o)}pushAttributed(t,r){if(t===null)return this;if(t.indexOf(" ")===-1)return Vi._pushAttributed(this,t,r);const n=t.split(/ /g);let a=this;for(const i of n)a=Vi._pushAttributed(a,i,r);return a}static _pushAttributed(t,r,n){const a=n.getMetadataForScope(r),i=t.scopePath.push(r),o=n.themeProvider.themeMatch(i),s=Vi.mergeAttributes(t.tokenAttributes,a,o);return new Vi(t,i,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const r=[];let n=this;for(;n&&n!==t;)r.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(n.parent?.scopePath??null)}),n=n.parent;return n===t?r.reverse():void 0}},PS=class eu{constructor(t,r,n,a,i,o,s,u){this.parent=t,this.ruleId=r,this.beginRuleCapturedEOL=i,this.endRule=o,this.nameScopesList=s,this.contentNameScopesList=u,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=a}_stackElementBrand=void 0;static NULL=new eu(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:eu._equals(this,t)}static _equals(t,r){return t===r?!0:this._structuralEquals(t,r)?Qd.equals(t.contentNameScopesList,r.contentNameScopesList):!1}static _structuralEquals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.depth!==r.depth||t.ruleId!==r.ruleId||t.endRule!==r.endRule)return!1;t=t.parent,r=r.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){eu._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,r,n,a,i,o,s){return new eu(this,t,r,n,a,i,o,s)}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,r){return this.parent&&(r=this.parent._writeString(t,r)),t[r++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,r}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 eu(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let r=this;for(;r&&r._enterPos===t._enterPos;){if(r.ruleId===t.ruleId)return!0;r=r.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,r){const n=Qd.fromExtension(t?.nameScopesList??null,r.nameScopesList);return new eu(t,r.ruleId,r.enterPos??-1,r.anchorPos??-1,r.beginRuleCapturedEOL,r.endRule,n,Qd.fromExtension(n,r.contentNameScopesList))}},gRe=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(r=>r==="*"?(this.allowAny=!0,[]):Tv(r,Ov).map(n=>n.matcher)),this.unbalancedBracketScopes=t.flatMap(r=>Tv(r,Ov).map(n=>n.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}},vRe=class{constructor(e,t,r,n){this.balancedBracketSelectors=n,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,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 n=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)&&(n=qf.set(n,0,o.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(i))}if(a&&(n=qf.set(n,0,8,a,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}const r=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),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 r=new Uint32Array(this._binaryTokens.length);for(let n=0,a=this._binaryTokens.length;n<a;n++)r[n]=this._binaryTokens[n];return r}},yRe=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,r,n,a){if(!this._grammars.has(e)){let i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,hRe(e,i,t,r,n,a,this,this._onigLib))}return this._grammars.get(e)}},bRe=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new yRe(Sv.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,r){this._syncRegistry.setTheme(Sv.createFromRawTheme(t,r))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,r,n){return this.loadGrammarWithConfiguration(t,r,{embeddedLanguages:n})}loadGrammarWithConfiguration(t,r,n){return this._loadGrammar(t,r,n.embeddedLanguages,n.tokenTypes,new gRe(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,r,n,a,i){const o=new WNe(this._syncRegistry,t);for(;o.Q.length>0;)o.Q.map(s=>this._loadSingleGrammar(s.scopeName)),o.processQueue();return this._grammarForScopeName(t,r,n,a,i)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const r=this._options.loadGrammar(t);if(r){const n=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(r,n)}}addGrammar(t,r=[],n=0,a=null){return this._syncRegistry.addGrammar(t,r),this._grammarForScopeName(t.scopeName,n,a)}_grammarForScopeName(t,r=0,n=null,a=null,i=null){return this._syncRegistry.grammarForScopeName(t,r,n,a,i)}},IS=PS.NULL;const xRe=/["&'<>`]/g,ERe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,_Re=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,wRe=/[|\\{}()[\]^$+*?.]/g,fz=new WeakMap;function SRe(e,t){if(e=e.replace(t.subset?TRe(t.subset):xRe,n),t.subset||t.escapeOnly)return e;return e.replace(ERe,r).replace(_Re,n);function r(a,i,o){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,o.charCodeAt(i+2),t)}function n(a,i,o){return t.format(a.charCodeAt(0),o.charCodeAt(i+1),t)}}function TRe(e){let t=fz.get(e);return t||(t=ARe(e),fz.set(e,t)),t}function ARe(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(wRe,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const CRe=/[\dA-Fa-f]/;function ORe(e,t,r){const n="&#x"+e.toString(16).toUpperCase();return r&&t&&!CRe.test(String.fromCharCode(t))?n:n+";"}const kRe=/\d/;function NRe(e,t,r){const n="&#"+String(e);return r&&t&&!kRe.test(String.fromCharCode(t))?n:n+";"}const RRe=["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
691h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],G_={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: 16,420 bytes, lines 691-699
691:"â",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:"â¬"},MRe=["cent","copy","divide","gt","lt","not","para","times"],SX={}.hasOwnProperty,DS={};let Bg;for(Bg in G_)SX.call(G_,Bg)&&(DS[G_[Bg]]=Bg);const PRe=/[^\dA-Za-z]/;function IRe(e,t,r,n){const a=String.fromCharCode(e);if(SX.call(DS,a)){const i=DS[a],o="&"+i;return r&&RRe.includes(i)&&!MRe.includes(i)&&(!n||t&&t!==61&&PRe.test(String.fromCharCode(t)))?o:o+";"}return""}function DRe(e,t,r){let n=ORe(e,t,r.omitOptionalSemicolons),a;if((r.useNamedReferences||r.useShortestReferences)&&(a=IRe(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!a)&&r.useShortestReferences){const i=NRe(e,t,r.omitOptionalSemicolons);i.length<n.length&&(n=i)}return a&&(!r.useShortestReferences||a.length<n.length)?a:n}function ff(e,t){return SRe(e,Object.assign({format:DRe},t))}const LRe=/^>|^->|<!--|-->|--!>|<!-$/g,jRe=[">"],BRe=["<",">"];function zRe(e,t,r,n){return n.settings.bogusComments?"<?"+ff(e.value,Object.assign({},n.settings.characterReferences,{subset:jRe}))+">":"<!--"+e.value.replace(LRe,a)+"-->";function a(i){return ff(i,Object.assign({},n.settings.characterReferences,{subset:BRe}))}}function HRe(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}const on=AX(1),TX=AX(-1),FRe=[];function AX(e){return t;function t(r,n,a){const i=r?r.children:FRe;let o=(n||0)+e,s=i[o];if(!a)for(;s&&Ky(s);)o+=e,s=i[o];return s}}const $Re={}.hasOwnProperty;function CX(e){return t;function t(r,n,a){return $Re.call(e,r.tagName)&&e[r.tagName](r,n,a)}}const I8=CX({body:qRe,caption:Y_,colgroup:Y_,dd:WRe,dt:YRe,head:Y_,html:URe,li:GRe,optgroup:KRe,option:XRe,p:VRe,rp:dz,rt:dz,tbody:ZRe,td:hz,tfoot:JRe,th:hz,thead:QRe,tr:eMe});function Y_(e,t,r){const n=on(r,t,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&Ky(n.value.charAt(0)))}function URe(e,t,r){const n=on(r,t);return!n||n.type!=="comment"}function qRe(e,t,r){const n=on(r,t);return!n||n.type!=="comment"}function VRe(e,t,r){const n=on(r,t);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function GRe(e,t,r){const n=on(r,t);return!n||n.type==="element"&&n.tagName==="li"}function YRe(e,t,r){const n=on(r,t);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function WRe(e,t,r){const n=on(r,t);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function dz(e,t,r){const n=on(r,t);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function KRe(e,t,r){const n=on(r,t);return!n||n.type==="element"&&n.tagName==="optgroup"}function XRe(e,t,r){const n=on(r,t);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function QRe(e,t,r){const n=on(r,t);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function ZRe(e,t,r){const n=on(r,t);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function JRe(e,t,r){return!on(r,t)}function eMe(e,t,r){const n=on(r,t);return!n||n.type==="element"&&n.tagName==="tr"}function hz(e,t,r){const n=on(r,t);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const tMe=CX({body:aMe,colgroup:iMe,head:nMe,html:rMe,tbody:oMe});function rMe(e){const t=on(e,-1);return!t||t.type!=="comment"}function nMe(e){const t=new Set;for(const n of e.children)if(n.type==="element"&&(n.tagName==="base"||n.tagName==="title")){if(t.has(n.tagName))return!1;t.add(n.tagName)}const r=e.children[0];return!r||r.type==="element"}function aMe(e){const t=on(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Ky(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function iMe(e,t,r){const n=TX(r,t),a=on(e,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&I8(n,r.children.indexOf(n),r)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function oMe(e,t,r){const n=TX(r,t),a=on(e,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&I8(n,r.children.indexOf(n),r)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const zg={name:[[` 692\f\r &/=>`.split(""),` 693\f\r "&'/=>\``.split("")],[`\0 694\f\r "&'/<=>`.split(""),`\0 695\f\r "&'/<=>\``.split("")]],unquoted:[[` 696\f\r &>`.split(""),`\0 697\f\r "&'<=>\``.split("")],[`\0 698\f\r "&'<=>\``.split(""),`\0 699\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function sMe(e,t,r,n){const a=n.schema,i=a.space==="svg"?!1:n.settings.omitOptionalTags;let o=a.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase());const s=[];let u;a.space==="html"&&e.tagName==="svg"&&(n.schema=wl);const f=lMe(n,e.properties),h=n.all(a.space==="html"&&e.tagName==="template"?e.content:e);return n.schema=a,h&&(o=!1),(f||!i||!tMe(e,t,r))&&(s.push("<",e.tagName,f?" "+f:""),o&&(a.space==="svg"||n.settings.closeSelfClosing)&&(u=f.charAt(f.length-1),(!n.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&s.push(" "),s.push("/")),s.push(">")),s.push(h),!o&&(!i||!I8(e,t,r))&&s.push("</"+e.tagName+">"),s.join("")}function lMe(e,t){const r=[];let n=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const i=uMe(e,a,t[a]);i&&r.push(i)}}for(;++n<r.length;){const i=e.settings.tightAttributes?r[n].charAt(r[n].length-1):void 0;n!==r.length-1&&i!=='"'&&i!=="'"&&(r[n]+=" ")}return r.join("")}function uMe(e,t,r){const n=Xy(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let o=e.quote,s;if(n.overloadedBoolean&&(r===n.attribute||r==="")?r=!0:(n.boolean||n.overloadedBoolean)&&(typeof r!="string"||r===n.attribute||r==="")&&(r=!!r),r==null||r===!1||typeof r=="number"&&Number.isNaN(r))return"";const u=ff(n.attribute,Object.assign({},e.settings.characterReferences,{subset:zg.name[a][i]}));return r===!0||(r=Array.isArray(r)?(n.commaSeparated?BA:HA)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r)?u:(e.settings.preferUnquoted&&(s=ff(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:zg.unquoted[a][i]}))),s!==r&&(e.settings.quoteSmart&&_v(r,o)>_v(r,e.alternative)&&(o=e.alternative),s=o+ff(r,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?zg.single:zg.double)[a][i],attribute:!0}))+o),u+(s&&"="+s))}const cMe=["<","&"];function OX(e,t,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?e.value:ff(e.value,Object.assign({},n.settings.characterReferences,{subset:cMe}))}function fMe(e,t,r,n){return n.settings.allowDangerousHtml?e.value:OX(e,t,r,n)}function dMe(e,t,r,n){return n.all(e)}const hMe=_8("type",{invalid:pMe,unknown:mMe,handlers:{comment:zRe,doctype:HRe,element:sMe,raw:fMe,root:dMe,text:OX}});function pMe(e){throw new Error("Expected node, not `"+e+"`")}function mMe(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const gMe={},vMe={},yMe=[];function bMe(e,t){const r=t||gMe,n=r.quote||'"',a=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:xMe,all:EMe,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||aK,characterReferences:r.characterReferences||vMe,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?wl:Ep,quote:n,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function xMe(e,t,r){return hMe(e,t,r,this)}function EMe(e){const t=[],r=e&&e.children||yMe;let n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function kv(e,t){const r=typeof e=="string"?{}:{...e.colorReplacements},n=typeof e=="string"?e:e.name;for(const[a,i]of Object.entries(t?.colorReplacements||{}))typeof i=="string"?r[a]=i:a===n&&Object.assign(r,i);return r}function sl(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function _Me(e){return Array.isArray(e)?e:[e]}async function kX(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function D8(e){return!e||["plaintext","txt","text","plain"].includes(e)}function NX(e){return e==="ansi"||D8(e)}function L8(e){return e==="none"}function RX(e){return L8(e)}function MX(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 r=Array.isArray(t)?t:t.split(/\s+/g);for(const n of r)n&&!e.properties.class.includes(n)&&e.properties.class.push(n);return e}function hb(e,t=!1){const r=e.split(/(\r?\n)/g);let n=0;const a=[];for(let i=0;i<r.length;i+=2){const o=t?r[i]+(r[i+1]||""):r[i];a.push([o,n]),n+=r[i].length,n+=r[i+1]?.length||0}return a}function wMe(e){const t=hb(e,!0).map(([a])=>a);function r(a){if(a===e.length)return{line:t.length-1,character:t[t.length-1].length};let i=a,o=0;for(const s of t){if(i<s.length)break;i-=s.length,o++}return{line:o,character:i}}function n(a,i){let o=0;for(let s=0;s<a;s++)o+=t[s].length;return o+=i,o}return{lines:t,indexToPos:r,posToIndex:n}}const j8="light-dark()",SMe=["color","background-color"];function TMe(e,t){let r=0;const n=[];for(const a of t)a>r&&n.push({...e,content:e.content.slice(r,a),offset:e.offset+r}),r=a;return r<e.content.length&&n.push({...e,content:e.content.slice(r),offset:e.offset+r}),n}function AMe(e,t){const r=Array.from(t instanceof Set?t:new Set(t)).sort((n,a)=>n-a);return r.length?e.map(n=>n.flatMap(a=>{const i=r.filter(o=>a.offset<o&&o<a.offset+a.content.length).map(o=>o-a.offset).sort((o,s)=>o-s);return i.length?TMe(a,i):a})):e}function CMe(e,t,r,n,a="css-vars"){const i={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(h=>Nv(e.variants[h])),s=new Set(o.flatMap(h=>Object.keys(h))),u={},f=(h,d)=>{const m=d==="color"?"":d==="background-color"?"-bg":`-${d}`;return r+t[h]+(d==="color"?"":m)};return o.forEach((h,d)=>{for(const m of s){const v=h[m]||"inherit";if(d===0&&n&&SMe.includes(m))if(n===j8&&o.length>1){const y=t.findIndex(A=>A==="light"),b=t.findIndex(A=>A==="dark");if(y===-1||b===-1)throw new Yr('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const E=o[y][m]||"inherit",_=o[b][m]||"inherit";u[m]=`light-dark(${E}, ${_})`,a==="css-vars"&&(u[f(d,m)]=v)}else u[m]=v;else a==="css-vars"&&(u[f(d,m)]=v)}}),i.htmlStyle=u,i}function Nv(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Ln.Italic&&(t["font-style"]="italic"),e.fontStyle&Ln.Bold&&(t["font-weight"]="bold");const r=[];e.fontStyle&Ln.Underline&&r.push("underline"),e.fontStyle&Ln.Strikethrough&&r.push("line-through"),r.length&&(t["text-decoration"]=r.join(" "))}return t}function LS(e){return typeof e=="string"?e:Object.entries(e).map(([t,r])=>`${t}:${r}`).join(";")}const PX=new WeakMap;function pb(e,t){PX.set(e,t)}function ep(e){return PX.get(e)}class c0{_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,r){return new c0(Object.fromEntries(_Me(r).map(n=>[n,IS])),t)}constructor(...t){if(t.length===2){const[r,n]=t;this.lang=n,this._stacks=r}else{const[r,n,a]=t;this.lang=n,this._stacks={[a]:r}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return OMe(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function OMe(e){const t=[],r=new Set;function n(a){if(r.has(a))return;r.add(a);const i=a?.nameScopesList?.scopeName;i&&t.push(i),a.parent&&n(a.parent)}return n(e),t}function kMe(e,t){if(!(e instanceof c0))throw new Yr("Invalid grammar state");return e.getInternalStack(t)}function NMe(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let n=function(o){if(typeof o=="number"){if(o<0||o>r.source.length)throw new Yr(`Invalid decoration offset: ${o}. Code length: ${r.source.length}`);return{...a.indexToPos(o),offset:o}}else{const s=a.lines[o.line];if(s===void 0)throw new Yr(`Invalid decoration position ${JSON.stringify(o)}. Lines length: ${a.lines.length}`);let u=o.character;if(u<0&&(u=s.length+u),u<0||u>s.length)throw new Yr(`Invalid decoration position ${JSON.stringify(o)}. Line ${o.line} length: ${s.length}`);return{...o,character:u,offset:a.posToIndex(o.line,u)}}};const a=wMe(r.source),i=(r.options.decorations||[]).map(o=>({...o,start:n(o.start),end:n(o.end)}));RMe(i),e.set(r.meta,{decorations:i,converter:a,source:r.source})}return e.get(r.meta)}return{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const a=t(this).decorations.flatMap(o=>[o.start.offset,o.end.offset]);return AMe(r,a)},code(r){if(!this.options.decorations?.length)return;const n=t(this),a=Array.from(r.children).filter(h=>h.type==="element"&&h.tagName==="span");if(a.length!==n.converter.lines.length)throw new Yr(`Number of lines in code element (${a.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function i(h,d,m,v){const y=a[h];let b="",E=-1,_=-1;if(d===0&&(E=0),m===0&&(_=0),m===Number.POSITIVE_INFINITY&&(_=y.children.length),E===-1||_===-1)for(let C=0;C<y.children.length;C++)b+=IX(y.children[C]),E===-1&&b.length===d&&(E=C+1),_===-1&&b.length===m&&(_=C+1);if(E===-1)throw new Yr(`Failed to find start index for decoration ${JSON.stringify(v.start)}`);if(_===-1)throw new Yr(`Failed to find end index for decoration ${JSON.stringify(v.end)}`);const A=y.children.slice(E,_);if(!v.alwaysWrap&&A.length===y.children.length)s(y,v,"line");else if(!v.alwaysWrap&&A.length===1&&A[0].type==="element")s(A[0],v,"token");else{const C={type:"element",tagName:"span",properties:{},children:A};s(C,v,"wrapper"),y.children.splice(E,A.length,C)}}function o(h,d){a[h]=s(a[h],d,"line")}function s(h,d,m){const v=d.properties||{},y=d.transform||(b=>b);return h.tagName=d.tagName||"span",h.properties={...h.properties,...v,class:h.properties.class},d.properties?.class&&MX(h,d.properties.class),h=y(h,m)||h,h}const u=[],f=n.decorations.sort((h,d)=>d.start.offset-h.start.offset||h.end.offset-d.end.offset);for(const h of f){const{start:d,end:m}=h;if(d.line===m.line)i(d.line,d.character,m.character,h);else if(d.line<m.line){i(d.line,d.character,Number.POSITIVE_INFINITY,h);for(let v=d.line+1;v<m.line;v++)u.unshift(()=>o(v,h));i(m.line,0,m.character,h)}}u.forEach(h=>h())}}}function RMe(e){for(let t=0;t<e.length;t++){const r=e[t];if(r.start.offset>r.end.offset)throw new Yr(`Invalid decoration range: ${JSON.stringify(r.start)}
699 - ${JSON.stringify(r.end)}`);for(let n=t+1;n<e.length;n++){const a=e[n],i=r.start.offset<=a.start.offset&&a.start.offset<r.end.offset,o=r.start.offset<a.end.offset&&a.end.offset<=r.end.offset,s=a.start.offset<=r.start.offset&&r.start.offset<a.end.offset,u=a.start.offset<r.end.offset&&r.end.offset<=a.end.offset;if(i||o||s||u){if(i&&o||s&&u||s&&r.start.offset===r.end.offset||o&&a.start.offset===a.end.offset)continue;throw new Yr(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}function IX(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(IX).join(""):""}const MMe=[NMe()];function Rv(e){const t=PMe(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...MMe]}function PMe(e){const t=[],r=[],n=[];for(const a of e)switch(a.enforce){case"pre":t.push(a);break;case"post":r.push(a);break;default:n.push(a)}return{pre:t,post:r,normal:n}}var lu=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],W_={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function IMe(e,t){const r=e.indexOf("\x1B",t);if(r!==-1&&e[r+1]==="["){const n=e.indexOf("m",r);if(n!==-1)return{sequence:e.substring(r+2,n).split(";"),startPosition:r,position:n+1}}return{position:e.length}}function pz(e){const t=e.shift();if(t==="2"){const r=e.splice(0,3).map(n=>Number.parseInt(n));return r.length!==3||r.some(n=>Number.isNaN(n))?void 0:{type:"rgb",rgb:r}}else if(t==="5"){const r=e.shift();if(r)return{type:"table",index:Number(r)}}}function DMe(e){const t=[];for(;e.length>0;){const r=e.shift();if(!r)continue;const n=Number.parseInt(r);if(!Number.isNaN(n))if(n===0)t.push({type:"resetAll"});else if(n<=9)W_[n]&&t.push({type:"setDecoration",value:W_[n]});else if(n<=29){const a=W_[n-20];a&&(t.push({type:"resetDecoration",value:a}),a==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:lu[n-30]}});else if(n===38){const a=pz(e);a&&t.push({type:"setForegroundColor",value:a})}else if(n===39)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:lu[n-40]}});else if(n===48){const a=pz(e);a&&t.push({type:"setBackgroundColor",value:a})}else n===49?t.push({type:"resetBackgroundColor"}):n===53?t.push({type:"setDecoration",value:"overline"}):n===55?t.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:lu[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:lu[n-100+8]}})}return t}function LMe(){let e=null,t=null,r=new Set;return{parse(n){const a=[];let i=0;do{const o=IMe(n,i),s=o.sequence?n.substring(i,o.startPosition):n.substring(i);if(s.length>0&&a.push({value:s,foreground:e,background:t,decorations:new Set(r)}),o.sequence){const u=DMe(o.sequence);for(const f of u)f.type==="resetAll"?(e=null,t=null,r.clear()):f.type==="resetForegroundColor"?e=null:f.type==="resetBackgroundColor"?t=null:f.type==="resetDecoration"&&r.delete(f.value);for(const f of u)f.type==="setForegroundColor"?e=f.value:f.type==="setBackgroundColor"?t=f.value:f.type==="setDecoration"&&r.add(f.value)}i=o.position}while(i<n.length);return a}}}var jMe={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 BMe(e=jMe){function t(s){return e[s]}function r(s){return`#${s.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}let n;function a(){if(n)return n;n=[];for(let f=0;f<lu.length;f++)n.push(t(lu[f]));let s=[0,95,135,175,215,255];for(let f=0;f<6;f++)for(let h=0;h<6;h++)for(let d=0;d<6;d++)n.push(r([s[f],s[h],s[d]]));let u=8;for(let f=0;f<24;f++,u+=10)n.push(r([u,u,u]));return n}function i(s){return a()[s]}function o(s){switch(s.type){case"named":return t(s.name);case"rgb":return r(s.rgb);case"table":return i(s.index)}}return{value:o}}function zMe(e,t,r){const n=kv(e,r),a=hb(t),i=BMe(Object.fromEntries(lu.map(s=>[s,e.colors?.[`terminal.ansi${s[0].toUpperCase()}${s.substring(1)}`]]))),o=LMe();return a.map(s=>o.parse(s[0]).map(u=>{let f,h;u.decorations.has("reverse")?(f=u.background?i.value(u.background):e.bg,h=u.foreground?i.value(u.foreground):e.fg):(f=u.foreground?i.value(u.foreground):e.fg,h=u.background?i.value(u.background):void 0),f=sl(f,n),h=sl(h,n),u.decorations.has("dim")&&(f=HMe(f));let d=Ln.None;return u.decorations.has("bold")&&(d|=Ln.Bold),u.decorations.has("italic")&&(d|=Ln.Italic),u.decorations.has("underline")&&(d|=Ln.Underline),u.decorations.has("strikethrough")&&(d|=Ln.Strikethrough),{content:u.value,offset:s[1],color:f,bgColor:h,fontStyle:d}}))}function HMe(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const n=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${n}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(n=>`${n}${n}`).join("")}80`;const r=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return r?`var(${r[1]}-dim)`:e}function B8(e,t,r={}){const{lang:n="text",theme:a=e.getLoadedThemes()[0]}=r;if(D8(n)||L8(a))return hb(t).map(u=>[{content:u[0],offset:u[1]}]);const{theme:i,colorMap:o}=e.setTheme(a);if(n==="ansi")return zMe(i,t,r);const s=e.getLanguage(n);if(r.grammarState){if(r.grammarState.lang!==s.name)throw new Yr(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${s.name}"`);if(!r.grammarState.themes.includes(i.name))throw new Yr(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return $Me(t,s,i,o,r)}function FMe(...e){if(e.length===2)return ep(e[1]);const[t,r,n={}]=e,{lang:a="text",theme:i=t.getLoadedThemes()[0]}=n;if(D8(a)||L8(i))throw new Yr("Plain language does not have grammar state");if(a==="ansi")throw new Yr("ANSI language does not have grammar state");
vendor: 35,807 bytes, lines 699-700
699const{theme:o,colorMap:s}=t.setTheme(i),u=t.getLanguage(a);return new c0(Mv(r,u,o,s,n).stateStack,u.name,o.name)}function $Me(e,t,r,n,a){const i=Mv(e,t,r,n,a),o=new c0(Mv(e,t,r,n,a).stateStack,t.name,r.name);return pb(i.tokens,o),i.tokens}function Mv(e,t,r,n,a){const i=kv(r,a),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:s=500}=a,u=hb(e);let f=a.grammarState?kMe(a.grammarState,r.name)??IS:a.grammarContextCode!=null?Mv(a.grammarContextCode,t,r,n,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:IS,h=[];const d=[];for(let m=0,v=u.length;m<v;m++){const[y,b]=u[m];if(y===""){h=[],d.push([]);continue}if(o>0&&y.length>=o){h=[],d.push([{content:y,offset:b,color:"",fontStyle:0}]);continue}let E,_,A;a.includeExplanation&&(E=t.tokenizeLine(y,f,s),_=E.tokens,A=0);const C=t.tokenizeLine2(y,f,s),P=C.tokens.length/2;for(let O=0;O<P;O++){const k=C.tokens[2*O],M=O+1<P?C.tokens[2*O+2]:y.length;if(k===M)continue;const L=C.tokens[2*O+1],H=sl(n[qf.getForeground(L)],i),F=qf.getFontStyle(L),$={content:y.substring(k,M),offset:b+k,color:H,fontStyle:F};if(a.includeExplanation){const z=[];if(a.includeExplanation!=="scopeName")for(const K of r.settings){let te;switch(typeof K.scope){case"string":te=K.scope.split(/,/).map(U=>U.trim());break;case"object":te=K.scope;break;default:continue}z.push({settings:K,selectors:te.map(U=>U.split(/ /))})}$.explanation=[];let W=0;for(;k+W<M;){const K=_[A],te=y.substring(K.startIndex,K.endIndex);W+=te.length,$.explanation.push({content:te,scopes:a.includeExplanation==="scopeName"?UMe(K.scopes):qMe(z,K.scopes)}),A+=1}}h.push($)}d.push(h),h=[],f=C.ruleStack}return{tokens:d,stateStack:f}}function UMe(e){return e.map(t=>({scopeName:t}))}function qMe(e,t){const r=[];for(let n=0,a=t.length;n<a;n++){const i=t[n];r[n]={scopeName:i,themeMatches:GMe(e,i,t.slice(0,n))}}return r}function mz(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function VMe(e,t,r){if(!mz(e[e.length-1],t))return!1;let n=e.length-2,a=r.length-1;for(;n>=0&&a>=0;)mz(e[n],r[a])&&(n-=1),a-=1;return n===-1}function GMe(e,t,r){const n=[];for(const{selectors:a,settings:i}of e)for(const o of a)if(VMe(o,t,r)){n.push(i);break}return n}function DX(e,t,r){const n=Object.entries(r.themes).filter(u=>u[1]).map(u=>({color:u[0],theme:u[1]})),a=n.map(u=>{const f=B8(e,t,{...r,theme:u.theme}),h=ep(f),d=typeof u.theme=="string"?u.theme:u.theme.name;return{tokens:f,state:h,theme:d}}),i=YMe(...a.map(u=>u.tokens)),o=i[0].map((u,f)=>u.map((h,d)=>{const m={content:h.content,variants:{},offset:h.offset};return"includeExplanation"in r&&r.includeExplanation&&(m.explanation=h.explanation),i.forEach((v,y)=>{const{content:b,explanation:E,offset:_,...A}=v[f][d];m.variants[n[y].color]=A}),m})),s=a[0].state?new c0(Object.fromEntries(a.map(u=>[u.theme,u.state?.getInternalStack(u.theme)])),a[0].state.lang):void 0;return s&&pb(o,s),o}function YMe(...e){const t=e.map(()=>[]),r=e.length;for(let n=0;n<e[0].length;n++){const a=e.map(u=>u[n]),i=t.map(()=>[]);t.forEach((u,f)=>u.push(i[f]));const o=a.map(()=>0),s=a.map(u=>u[0]);for(;s.every(u=>u);){const u=Math.min(...s.map(f=>f.content.length));for(let f=0;f<r;f++){const h=s[f];h.content.length===u?(i[f].push(h),o[f]+=1,s[f]=a[f][o[f]]):(i[f].push({...h,content:h.content.slice(0,u)}),s[f]={...h,content:h.content.slice(u),offset:h.offset+u})}}}return t}function Pv(e,t,r){let n,a,i,o,s,u;if("themes"in r){const{defaultColor:f="light",cssVariablePrefix:h="--shiki-",colorsRendering:d="css-vars"}=r,m=Object.entries(r.themes).filter(_=>_[1]).map(_=>({color:_[0],theme:_[1]})).sort((_,A)=>_.color===f?-1:A.color===f?1:0);if(m.length===0)throw new Yr("`themes` option must not be empty");const v=DX(e,t,r);if(u=ep(v),f&&j8!==f&&!m.find(_=>_.color===f))throw new Yr(`\`themes\` option must contain the defaultColor key \`${f}\``);const y=m.map(_=>e.getTheme(_.theme)),b=m.map(_=>_.color);i=v.map(_=>_.map(A=>CMe(A,b,h,f,d))),u&&pb(i,u);const E=m.map(_=>kv(_.theme,r));a=gz(m,y,E,h,f,"fg",d),n=gz(m,y,E,h,f,"bg",d),o=`shiki-themes ${y.map(_=>_.name).join(" ")}`,s=f?void 0:[a,n].join(";")}else if("theme"in r){const f=kv(r.theme,r);i=B8(e,t,r);const h=e.getTheme(r.theme);n=sl(h.bg,f),a=sl(h.fg,f),o=h.name,u=ep(i)}else throw new Yr("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:a,bg:n,themeName:o,rootStyle:s,grammarState:u}}function gz(e,t,r,n,a,i,o){return e.map((s,u)=>{const f=sl(t[u][i],r[u])||"inherit",h=`${n+s.color}${i==="bg"?"-bg":""}:${f}`;if(u===0&&a){if(a===j8&&e.length>1){const d=e.findIndex(b=>b.color==="light"),m=e.findIndex(b=>b.color==="dark");if(d===-1||m===-1)throw new Yr('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const v=sl(t[d][i],r[d])||"inherit",y=sl(t[m][i],r[m])||"inherit";return`light-dark(${v}, ${y});${h}`}return f}return o==="css-vars"?h:null}).filter(s=>!!s).join(";")}function Iv(e,t,r,n={meta:{},options:r,codeToHast:(a,i)=>Iv(e,a,i),codeToTokens:(a,i)=>Pv(e,a,i)}){let a=t;for(const y of Rv(r))a=y.preprocess?.call(n,a,r)||a;let{tokens:i,fg:o,bg:s,themeName:u,rootStyle:f,grammarState:h}=Pv(e,a,r);const{mergeWhitespaces:d=!0,mergeSameStyleTokens:m=!1}=r;d===!0?i=KMe(i):d==="never"&&(i=XMe(i)),m&&(i=QMe(i));const v={...n,get source(){return a}};for(const y of Rv(r))i=y.tokens?.call(v,i)||i;return WMe(i,{...r,fg:o,bg:s,themeName:u,rootStyle:f},v,h)}function WMe(e,t,r,n=ep(e)){const a=Rv(t),i=[],o={type:"root",children:[]},{structure:s="classic",tabindex:u="0"}=t;let f={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(([y])=>!y.startsWith("_")))},children:[]},h={type:"element",tagName:"code",properties:{},children:i};const d=[],m={...r,structure:s,addClassToHast:MX,get source(){return r.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return f},get code(){return h},get lines(){return d}};if(e.forEach((y,b)=>{b&&(s==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):s==="classic"&&i.push({type:"text",value:` 700`}));let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},_=0;for(const A of y){let C={type:"element",tagName:"span",properties:{...A.htmlAttrs},children:[{type:"text",value:A.content}]};const P=LS(A.htmlStyle||Nv(A));P&&(C.properties.style=P);for(const O of a)C=O?.span?.call(m,C,b+1,_,E,A)||C;s==="inline"?o.children.push(C):s==="classic"&&E.children.push(C),_+=A.content.length}if(s==="classic"){for(const A of a)E=A?.line?.call(m,E,b+1)||E;d.push(E),i.push(E)}}),s==="classic"){for(const y of a)h=y?.code?.call(m,h)||h;f.children.push(h);for(const y of a)f=y?.pre?.call(m,f)||f;o.children.push(f)}let v=o;for(const y of a)v=y?.root?.call(m,v)||v;return n&&pb(v,n),v}function KMe(e){return e.map(t=>{const r=[];let n="",a=0;return t.forEach((i,o)=>{const u=!(i.fontStyle&&(i.fontStyle&Ln.Underline||i.fontStyle&Ln.Strikethrough));u&&i.content.match(/^\s+$/)&&t[o+1]?(a||(a=i.offset),n+=i.content):n?(u?r.push({...i,offset:a,content:n+i.content}):r.push({content:n,offset:a},i),a=0,n=""):r.push(i)}),r})}function XMe(e){return e.map(t=>t.flatMap(r=>{if(r.content.match(/^\s+$/))return r;const n=r.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return r;const[,a,i,o]=n;if(!a&&!o)return r;const s=[{...r,offset:r.offset+a.length,content:i}];return a&&s.unshift({content:a,offset:r.offset}),o&&s.push({content:o,offset:r.offset+a.length+i.length}),s}))}function QMe(e){return e.map(t=>{const r=[];for(const n of t){if(r.length===0){r.push({...n});continue}const a=r[r.length-1],i=LS(a.htmlStyle||Nv(a)),o=LS(n.htmlStyle||Nv(n)),s=a.fontStyle&&(a.fontStyle&Ln.Underline||a.fontStyle&Ln.Strikethrough),u=n.fontStyle&&(n.fontStyle&Ln.Underline||n.fontStyle&Ln.Strikethrough);!s&&!u&&i===o?a.content+=n.content:r.push({...n})}return r})}const ZMe=bMe;function JMe(e,t,r){const n={meta:{},options:r,codeToHast:(i,o)=>Iv(e,i,o),codeToTokens:(i,o)=>Pv(e,i,o)};let a=ZMe(Iv(e,t,r,n));for(const i of Rv(r))a=i.postprocess?.call(n,a,r)||a;return a}const vz={light:"#333333",dark:"#bbbbbb"},yz={light:"#fffffe",dark:"#1e1e1e"},bz="__shiki_resolved";function z8(e){if(e?.[bz])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:r,fg:n}=t;if(!r||!n){const s=t.settings?t.settings.find(u=>!u.name&&!u.scope):void 0;s?.settings?.foreground&&(n=s.settings.foreground),s?.settings?.background&&(r=s.settings.background),!n&&t?.colors?.["editor.foreground"]&&(n=t.colors["editor.foreground"]),!r&&t?.colors?.["editor.background"]&&(r=t.colors["editor.background"]),n||(n=t.type==="light"?vz.light:vz.dark),r||(r=t.type==="light"?yz.light:yz.dark),t.fg=n,t.bg=r}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(s){if(i.has(s))return i.get(s);a+=1;const u=`#${a.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${u}`]?o(s):(i.set(s,u),u)}t.settings=t.settings.map(s=>{const u=s.settings?.foreground&&!s.settings.foreground.startsWith("#"),f=s.settings?.background&&!s.settings.background.startsWith("#");if(!u&&!f)return s;const h={...s,settings:{...s.settings}};if(u){const d=o(s.settings.foreground);t.colorReplacements[d]=s.settings.foreground,h.settings.foreground=d}if(f){const d=o(s.settings.background);t.colorReplacements[d]=s.settings.background,h.settings.background=d}return h});for(const s of Object.keys(t.colors||{}))if((s==="editor.foreground"||s==="editor.background"||s.startsWith("terminal.ansi"))&&!t.colors[s]?.startsWith("#")){const u=o(t.colors[s]);t.colorReplacements[u]=t.colors[s],t.colors[s]=u}return Object.defineProperty(t,bz,{enumerable:!1,writable:!1,value:!0}),t}async function LX(e){return Array.from(new Set((await Promise.all(e.filter(t=>!NX(t)).map(async t=>await kX(t).then(r=>Array.isArray(r)?r:[r])))).flat()))}async function jX(e){return(await Promise.all(e.map(async r=>RX(r)?null:z8(await kX(r))))).filter(r=>!!r)}let ePe=3;function tPe(e,t=3){t>ePe||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let ef=class extends Error{constructor(t){super(t),this.name="ShikiError"}};class rPe extends bRe{constructor(t,r,n,a={}){super(t),this._resolver=t,this._themes=r,this._langs=n,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 r=z8(t);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let r=this._textmateThemeCache.get(t);r||(r=Sv.createFromRawTheme(t),this._textmateThemeCache.set(t,r)),this._syncRegistry.setTheme(r)}getGrammar(t){if(this._alias[t]){const r=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],r.has(t))throw new ef(`Circular alias \`${Array.from(r).join(" -> ")} -> ${t}\``);r.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const r=new Set([...this._langMap.values()].filter(i=>i.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const n={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const a=this.loadGrammarWithConfiguration(t.scopeName,1,n);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,r.size)for(const i of r)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 r=Array.from(this._langGraph.entries()),n=r.filter(([a,i])=>!i);if(n.length){const a=r.filter(([i,o])=>o&&o.embeddedLangs?.some(s=>n.map(([u])=>u).includes(s))).filter(i=>!n.includes(i));throw new ef(`Missing languages ${n.map(([i])=>`\`${i}\``).join(", ")}, required by ${a.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[a,i]of r)this._resolver.addLanguage(i);for(const[a,i]of r)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 r of t.embeddedLangs)this._langGraph.set(r,this._langMap.get(r))}}class nPe{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(t,r){this._onigLib={createOnigScanner:n=>t.createScanner(n),createOnigString:n=>t.createString(n)},r.forEach(n=>this.addLanguage(n))}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(r=>{this._langs.set(r,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(r=>{this._injections.get(r)||this._injections.set(r,[]),this._injections.get(r).push(t.scopeName)})}getInjections(t){const r=t.split(".");let n=[];for(let a=1;a<=r.length;a++){const i=r.slice(0,a).join(".");n=[...n,...this._injections.get(i)||[]]}return n}}let Ed=0;function aPe(e){Ed+=1,e.warnings!==!1&&Ed>=10&&Ed%10===0&&console.warn(`[Shiki] ${Ed} 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 ef("`engine` option is required for synchronous mode");const r=(e.langs||[]).flat(1),n=(e.themes||[]).flat(1).map(z8),a=new nPe(e.engine,r),i=new rPe(a,n,r,e.langAlias);let o;function s(A){E();const C=i.getGrammar(typeof A=="string"?A:A.name);if(!C)throw new ef(`Language \`${A}\` not found, you may need to load it first`);return C}function u(A){if(A==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};E();const C=i.getTheme(A);if(!C)throw new ef(`Theme \`${A}\` not found, you may need to load it first`);return C}function f(A){E();const C=u(A);o!==A&&(i.setTheme(C),o=A);const P=i.getColorMap();return{theme:C,colorMap:P}}function h(){return E(),i.getLoadedThemes()}function d(){return E(),i.getLoadedLanguages()}function m(...A){E(),i.loadLanguages(A.flat(1))}async function v(...A){return m(await LX(A))}function y(...A){E();for(const C of A.flat(1))i.loadTheme(C)}async function b(...A){return E(),y(await jX(A))}function E(){if(t)throw new ef("Shiki instance has been disposed")}function _(){t||(t=!0,i.dispose(),Ed-=1)}return{setTheme:f,getTheme:u,getLanguage:s,getLoadedThemes:h,getLoadedLanguages:d,loadLanguage:v,loadLanguageSync:m,loadTheme:b,loadThemeSync:y,dispose:_,[Symbol.dispose]:_}}async function iPe(e){e.engine||tPe("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,r,n]=await Promise.all([jX(e.themes||[]),LX(e.langs||[]),e.engine]);return aPe({...e,themes:t,langs:r,engine:n})}async function oPe(e){const t=await iPe(e);return{getLastGrammarState:(...r)=>FMe(t,...r),codeToTokensBase:(r,n)=>B8(t,r,n),codeToTokensWithThemes:(r,n)=>DX(t,r,n),codeToTokens:(r,n)=>Pv(t,r,n),codeToHast:(r,n)=>Iv(t,r,n),codeToHtml:(r,n)=>JMe(t,r,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function sPe(e){const t=e.langs,r=e.themes,n=e.engine;async function a(i){function o(d){if(typeof d=="string"){if(NX(d))return[];d=i.langAlias?.[d]||d;const m=t[d];if(!m)throw new Yr(`Language \`${d}\` is not included in this bundle. You may want to load it from external source.`);return m}return d}function s(d){if(RX(d))return"none";if(typeof d=="string"){const m=r[d];if(!m)throw new Yr(`Theme \`${d}\` is not included in this bundle. You may want to load it from external source.`);return m}return d}const u=(i.themes??[]).map(d=>s(d)),f=(i.langs??[]).map(d=>o(d)),h=await oPe({engine:i.engine??n(),...i,themes:u,langs:f});return{...h,loadLanguage(...d){return h.loadLanguage(...d.map(o))},loadTheme(...d){return h.loadTheme(...d.map(s))},getBundledLanguages(){return t},getBundledThemes(){return r}}}return a}const BX=[{id:"abap",name:"ABAP",import:(()=>Q(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",import:(()=>Q(()=>import("./actionscript-3-CfeIJUat.js"),[]))},{id:"ada",name:"Ada",import:(()=>Q(()=>import("./ada-bCR0ucgS.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>Q(()=>import("./angular-html-CU67Zn6k.js").then(e=>e.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>Q(()=>import("./angular-ts-BwZT4LLn.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>Q(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>Q(()=>import("./apex-C7Pw0Ztw.js"),[]))},{id:"apl",name:"APL",import:(()=>Q(()=>import("./apl-dKokRX4l.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>Q(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>Q(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>Q(()=>import("./asciidoc-Dv7Oe6Be.js"),[]))},{id:"asm",name:"Assembly",import:(()=>Q(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>Q(()=>import("./astro-CbQHKStN.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>Q(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>Q(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch"],import:(()=>Q(()=>import("./bat-BkioyH1T.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>Q(()=>import("./beancount-k_qm7-4y.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>Q(()=>import("./berry-D08WgyRC.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>Q(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>Q(()=>import("./bicep-6nHXG8SA.js"),[]))},{id:"blade",name:"Blade",import:(()=>Q(()=>import("./blade-DVc8C-J4.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>Q(()=>import("./bsl-BO_Y6i37.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>Q(()=>import("./c-BIGW1oBm.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>Q(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>Q(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"clarity",name:"Clarity",import:(()=>Q(()=>import("./clarity-D53aC0YG.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>Q(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>Q(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>Q(()=>import("./cobol-nwyudZeR.js"),__vite__mapDeps([21,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>Q(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>Q(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>Q(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([22,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>Q(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Coq",import:(()=>Q(()=>import("./coq-DkFqJrB1.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>Q(()=>import("./cpp-CofmeUqb.js"),__vite__mapDeps([23,24,25,26,16])))},{id:"crystal",name:"Crystal",import:(()=>Q(()=>import("./crystal-tKQVLTB8.js"),__vite__mapDeps([27,1,2,3,16,26,28])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>Q(()=>import("./csharp-CX12Zw3r.js"),[]))},{id:"css",name:"CSS",import:(()=>Q(()=>import("./css-DPfMkruS.js"),[]))},{id:"csv",name:"CSV",import:(()=>Q(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>Q(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>Q(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>Q(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>Q(()=>import("./dart-CF10PKvl.js"),[]))},{id:"dax",name:"DAX",import:(()=>Q(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>Q(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>Q(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>Q(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>Q(()=>import("./dotenv-Da5cRb03.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>Q(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>Q(()=>import("./edge-BkV0erSs.js"),__vite__mapDeps([29,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>Q(()=>import("./elixir-CDX3lj18.js"),__vite__mapDeps([30,1,2,3])))},{id:"elm",name:"Elm",import:(()=>Q(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([31,25,26])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>Q(()=>import("./emacs-lisp-C9XAeP06.js"),[]))},{id:"erb",name:"ERB",import:(()=>Q(()=>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:(()=>Q(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([39,40])))},{id:"fennel",name:"Fennel",import:(()=>Q(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>Q(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>Q(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>Q(()=>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:(()=>Q(()=>import("./fortran-free-form-D22FLkUw.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>Q(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([43,40])))},{id:"gdresource",name:"GDResource",import:(()=>Q(()=>import("./gdresource-B7Tvp0Sc.js"),__vite__mapDeps([44,45,46])))},{id:"gdscript",name:"GDScript",import:(()=>Q(()=>import("./gdscript-DTMYz4Jt.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>Q(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>Q(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>Q(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>Q(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([47,48])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>Q(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([49,28])))},{id:"gleam",name:"Gleam",import:(()=>Q(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>Q(()=>import("./glimmer-js-Rg0-pVw9.js"),__vite__mapDeps([50,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>Q(()=>import("./glimmer-ts-U6CK756n.js"),__vite__mapDeps([51,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>Q(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([25,26])))},{id:"gnuplot",name:"Gnuplot",import:(()=>Q(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>Q(()=>import("./go-Dn2_MT6a.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>Q(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([35,2,11,36,13])))},{id:"groovy",name:"Groovy",import:(()=>Q(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>Q(()=>import("./hack-CaT9iCJl.js"),__vite__mapDeps([52,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>Q(()=>import("./haml-B8DHNrY2.js"),__vite__mapDeps([34,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>Q(()=>import("./handlebars-BL8al0AC.js"),__vite__mapDeps([53,1,2,3,38])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>Q(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>Q(()=>import("./haxe-CzTSHFRz.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>Q(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>Q(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>Q(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>Q(()=>import("./html-GMplVEZG.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>Q(()=>import("./html-derivative-BFtXZ54Q.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>Q(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([54,28,9,7,8,35,2,11,36,13])))},{id:"hurl",name:"Hurl",import:(()=>Q(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([55,35,2,11,36,13,7,8,56])))},{id:"hxml",name:"HXML",import:(()=>Q(()=>import("./hxml-Bvhsp5Yf.js"),__vite__mapDeps([57,58])))},{id:"hy",name:"Hy",import:(()=>Q(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>Q(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>Q(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>Q(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>Q(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>Q(()=>import("./jinja-4LBKfQ-Z.js"),__vite__mapDeps([59,1,2,3])))},{id:"jison",name:"Jison",import:(()=>Q(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([60,2])))},{id:"json",name:"JSON",import:(()=>Q(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>Q(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>Q(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>Q(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>Q(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>Q(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>Q(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>Q(()=>import("./julia-C8NyazO9.js"),__vite__mapDeps([61,23,24,25,26,16,20,2,62])))},{id:"kdl",name:"KDL",import:(()=>Q(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>Q(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>Q(()=>import("./kusto-BvAqAH-y.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>Q(()=>import("./latex-BUKiar2Z.js"),__vite__mapDeps([63,64,62])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>Q(()=>import("./lean-DP1Csr6i.js"),[]))},{id:"less",name:"Less",import:(()=>Q(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>Q(()=>import("./liquid-DYVedYrR.js"),__vite__mapDeps([65,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>Q(()=>import("./llvm-BtvRca6l.js"),[]))},{id:"log",name:"Log file",import:(()=>Q(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>Q(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>Q(()=>import("./lua-BbnMAYS6.js"),__vite__mapDeps([37,26])))},{id:"luau",name:"Luau",import:(()=>Q(()=>import("./luau-CXu1NL6O.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>Q(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>Q(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>Q(()=>import("./marko-CPi9NSCl.js"),__vite__mapDeps([66,3,67,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>Q(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>Q(()=>import("./mdc-DUICxH0z.js"),__vite__mapDeps([68,40,38,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>Q(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>Q(()=>import("./mermaid-DKYwYmdq.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>Q(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>Q(()=>import("./mojo-1DNp92w6.js"),[]))},{id:"move",name:"Move",import:(()=>Q(()=>import("./move-Bu9oaDYs.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>Q(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>Q(()=>import("./nextflow-CUEJCptM.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>Q(()=>import("./nginx-DknmC5AR.js"),__vite__mapDeps([69,37,26])))},{id:"nim",name:"Nim",import:(()=>Q(()=>import("./nim-CVrawwO9.js"),__vite__mapDeps([70,26,1,2,3,7,8,25,40])))},{id:"nix",name:"Nix",import:(()=>Q(()=>import("./nix-BbRYJGeE.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>Q(()=>import("./nushell-C-sUppwS.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>Q(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>Q(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>Q(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"pascal",name:"Pascal",import:(()=>Q(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>Q(()=>import("./perl-C0TMdlhV.js"),__vite__mapDeps([71,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>Q(()=>import("./php-CDn_0X-4.js"),__vite__mapDeps([72,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>Q(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>Q(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>Q(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>Q(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>Q(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>Q(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:(()=>Q(()=>import("./powershell-Dpen1YoG.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>Q(()=>import("./prisma-Dd19v3D-.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>Q(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>Q(()=>import("./proto-DyJlTyXw.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>Q(()=>import("./pug-CGlum2m_.js"),__vite__mapDeps([73,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>Q(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>Q(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>Q(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>Q(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([74,2])))},{id:"qmldir",name:"QML Directory",import:(()=>Q(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>Q(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>Q(()=>import("./r-DiinP2Uv.js"),[]))},{id:"racket",name:"Racket",import:(()=>Q(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>Q(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>Q(()=>import("./razor-WgofotgN.js"),__vite__mapDeps([75,1,2,3,76])))},{id:"reg",name:"Windows Registry Script",import:(()=>Q(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>Q(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>Q(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>Q(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>Q(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>Q(()=>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:(()=>Q(()=>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:(()=>Q(()=>import("./rust-B1yitclQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>Q(()=>import("./sas-cz2c8ADy.js"),__vite__mapDeps([79,16])))},{id:"sass",name:"Sass",import:(()=>Q(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>Q(()=>import("./scala-C151Ov-r.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>Q(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>Q(()=>import("./scss-OYdSNvt2.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>Q(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>Q(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([80,81])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>Q(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>Q(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([82,28])))},{id:"smalltalk",name:"Smalltalk",import:(()=>Q(()=>import("./smalltalk-BERRCDM3.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>Q(()=>import("./solidity-BbcW6ACK.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>Q(()=>import("./soy-Brmx7dQM.js"),__vite__mapDeps([83,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>Q(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([84,85])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>Q(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>Q(()=>import("./sql-BLtJtn59.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>Q(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>Q(()=>import("./stata-BH5u7GGu.js"),__vite__mapDeps([86,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>Q(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"svelte",name:"Svelte",import:(()=>Q(()=>import("./svelte-3Dk4HxPD.js"),__vite__mapDeps([87,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>Q(()=>import("./swift-Dg5xB15N.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>Q(()=>import("./system-verilog-CnnmHF94.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>Q(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>Q(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>Q(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>Q(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>Q(()=>import("./templ-W15q3VgB.js"),__vite__mapDeps([88,89,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>Q(()=>import("./terraform-BETggiCN.js"),[]))}
700,{id:"tex",name:"TeX",import:(()=>Q(()=>import("./tex-Cppo0RY3.js"),__vite__mapDeps([64,62])))},{id:"toml",name:"TOML",import:(()=>Q(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>Q(()=>import("./ts-tags-zn1MmPIZ.js"),__vite__mapDeps([90,11,3,2,25,26,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>Q(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>Q(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>Q(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>Q(()=>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:(()=>Q(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>Q(()=>import("./typespec-Df68jz8_.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>Q(()=>import("./typst-DHCkPAjA.js"),[]))}
vendor: 5,484 bytes, line 700
700,{id:"v",name:"V",import:(()=>Q(()=>import("./v-BcVCzyr7.js"),[]))},{id:"vala",name:"Vala",import:(()=>Q(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:(()=>Q(()=>import("./vb-D17OF-Vu.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>Q(()=>import("./verilog-BQ8w6xss.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>Q(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>Q(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>Q(()=>import("./vue-CCoi5OLL.js"),__vite__mapDeps([92,3,2,11,9,15,1])))},{id:"vue-html",name:"Vue HTML",import:(()=>Q(()=>import("./vue-html-DAAvJJDi.js"),__vite__mapDeps([93,92,3,2,11,9,15,1])))},{id:"vue-vine",name:"Vue Vine",import:(()=>Q(()=>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:(()=>Q(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>Q(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["æè¨"],import:(()=>Q(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>Q(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>Q(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>Q(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>Q(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>Q(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>Q(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([96,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>Q(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>Q(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>Q(()=>import("./zig-VOosw3JB.js"),[]))}],lPe=Object.fromEntries(BX.map(e=>[e.id,e.import])),uPe=Object.fromEntries(BX.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),zX={...lPe,...uPe},cPe=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>Q(()=>import("./andromeeda-C-Jbm3Hp.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>Q(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>Q(()=>import("./ayu-dark-Cv9koXgw.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>Q(()=>import("./catppuccin-frappe-DFWUc33u.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>Q(()=>import("./catppuccin-latte-C9dUb6Cb.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>Q(()=>import("./catppuccin-macchiato-DQyhUUbL.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>Q(()=>import("./catppuccin-mocha-D87Tk5Gz.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>Q(()=>import("./dark-plus-eOWES_5F.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>Q(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>Q(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>Q(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>Q(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>Q(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>Q(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>Q(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>Q(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>Q(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>Q(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>Q(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>Q(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>Q(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>Q(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>Q(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>Q(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>Q(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>Q(()=>
700import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>Q(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>Q(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>Q(()=>import("./kanagawa-wave-DWedfzmr.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>Q(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>Q(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>Q(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>Q(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>Q(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>Q(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>Q(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>Q(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>Q(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>Q(()=>import("./monokai-D4h5O-jR.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>Q(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>Q(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>Q(()=>import("./one-dark-pro-DVMEJ2y_.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>Q(()=>import("./one-light-PoHY5YXO.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>Q(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>Q(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>Q(()=>import("./red-bN70gL4F.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>Q(()=>import("./rose-pine-BHrmToEH.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>Q(()=>import("./rose-pine-dawn-CnK8MTSM.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>Q(()=>import("./rose-pine-moon-NleAzG8P.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>Q(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>Q(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>Q(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>Q(()=>import("./solarized-dark-DXbdFlpD.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>Q(()=>import("./solarized-light-L9t79GZl.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>Q(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>Q(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>Q(()=>import("./vesper-DU1UobuO.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>Q(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>Q(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>Q(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],fPe=Object.fromEntries(cPe.map(e=>[e.id,e.import]));
vendor: 20,506 bytes, lines 700-732
700class H8 extends Error{constructor(t){super(t),this.name="ShikiError"}}function dPe(){return 2147483648}function hPe(){return typeof performance<"u"?performance.now():Date.now()}const pPe=(e,t)=>e+(t-e%t)%t;async function mPe(e){let t,r;const n={};function a(v){r=v,n.HEAPU8=new Uint8Array(v),n.HEAPU32=new Uint32Array(v)}function i(v,y,b){n.HEAPU8.copyWithin(v,y,y+b)}function o(v){try{return t.grow(v-r.byteLength+65535>>>16),a(t.buffer),1}catch{}}function s(v){const y=n.HEAPU8.length;v=v>>>0;const b=dPe();if(v>b)return!1;for(let E=1;E<=4;E*=2){let _=y*(1+.2/E);_=Math.min(_,v+100663296);const A=Math.min(b,pPe(Math.max(v,_),65536));if(o(A))return!0}return!1}const u=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(v,y,b=1024){const E=y+b;let _=y;for(;v[_]&&!(_>=E);)++_;if(_-y>16&&v.buffer&&u)return u.decode(v.subarray(y,_));let A="";for(;y<_;){let C=v[y++];if(!(C&128)){A+=String.fromCharCode(C);continue}const P=v[y++]&63;if((C&224)===192){A+=String.fromCharCode((C&31)<<6|P);continue}const O=v[y++]&63;if((C&240)===224?C=(C&15)<<12|P<<6|O:C=(C&7)<<18|P<<12|O<<6|v[y++]&63,C<65536)A+=String.fromCharCode(C);else{const k=C-65536;A+=String.fromCharCode(55296|k>>10,56320|k&1023)}}return A}function h(v,y){return v?f(n.HEAPU8,v,y):""}const d={emscripten_get_now:hPe,emscripten_memcpy_big:i,emscripten_resize_heap:s,fd_write:()=>0};async function m(){const y=await e({env:d,wasi_snapshot_preview1:d});t=y.memory,a(t.buffer),Object.assign(n,y),n.UTF8ToString=h}return await m(),n}var gPe=Object.defineProperty,vPe=(e,t,r)=>t in e?gPe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,en=(e,t,r)=>vPe(e,typeof t!="symbol"?t+"":t,r);let fn=null;function yPe(e){throw new H8(e.UTF8ToString(e.getLastOnigError()))}class mb{constructor(t){en(this,"utf16Length"),en(this,"utf8Length"),en(this,"utf16Value"),en(this,"utf8Value"),en(this,"utf16OffsetToUtf8"),en(this,"utf8OffsetToUtf16");const r=t.length,n=mb._utf8ByteLength(t),a=n!==r,i=a?new Uint32Array(r+1):null;a&&(i[r]=n);const o=a?new Uint32Array(n+1):null;a&&(o[n]=r);const s=new Uint8Array(n);let u=0;for(let f=0;f<r;f++){const h=t.charCodeAt(f);let d=h,m=!1;if(h>=55296&&h<=56319&&f+1<r){const v=t.charCodeAt(f+1);v>=56320&&v<=57343&&(d=(h-55296<<10)+65536|v-56320,m=!0)}a&&(i[f]=u,m&&(i[f+1]=u),d<=127?o[u+0]=f:d<=2047?(o[u+0]=f,o[u+1]=f):d<=65535?(o[u+0]=f,o[u+1]=f,o[u+2]=f):(o[u+0]=f,o[u+1]=f,o[u+2]=f,o[u+3]=f)),d<=127?s[u++]=d:d<=2047?(s[u++]=192|(d&1984)>>>6,s[u++]=128|(d&63)>>>0):d<=65535?(s[u++]=224|(d&61440)>>>12,s[u++]=128|(d&4032)>>>6,s[u++]=128|(d&63)>>>0):(s[u++]=240|(d&1835008)>>>18,s[u++]=128|(d&258048)>>>12,s[u++]=128|(d&4032)>>>6,s[u++]=128|(d&63)>>>0),m&&f++}this.utf16Length=r,this.utf8Length=n,this.utf16Value=t,this.utf8Value=s,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=o}static _utf8ByteLength(t){let r=0;for(let n=0,a=t.length;n<a;n++){const i=t.charCodeAt(n);let o=i,s=!1;if(i>=55296&&i<=56319&&n+1<a){const u=t.charCodeAt(n+1);u>=56320&&u<=57343&&(o=(i-55296<<10)+65536|u-56320,s=!0)}o<=127?r+=1:o<=2047?r+=2:o<=65535?r+=3:r+=4,s&&n++}return r}createString(t){const r=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,r),r}}const gb=class Gi{constructor(t){if(en(this,"id",++Gi.LAST_ID),en(this,"_onigBinding"),en(this,"content"),en(this,"utf16Length"),en(this,"utf8Length"),en(this,"utf16OffsetToUtf8"),en(this,"utf8OffsetToUtf16"),en(this,"ptr"),!fn)throw new H8("Must invoke loadWasm first.");this._onigBinding=fn,this.content=t;const r=new mb(t);this.utf16Length=r.utf16Length,this.utf8Length=r.utf8Length,this.utf16OffsetToUtf8=r.utf16OffsetToUtf8,this.utf8OffsetToUtf16=r.utf8OffsetToUtf16,this.utf8Length<1e4&&!Gi._sharedPtrInUse?(Gi._sharedPtr||(Gi._sharedPtr=fn.omalloc(1e4)),Gi._sharedPtrInUse=!0,fn.HEAPU8.set(r.utf8Value,Gi._sharedPtr),this.ptr=Gi._sharedPtr):this.ptr=r.createString(fn)}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===Gi._sharedPtr?Gi._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};en(gb,"LAST_ID",0);en(gb,"_sharedPtr",0);en(gb,"_sharedPtrInUse",!1);let HX=gb;class bPe{constructor(t){if(en(this,"_onigBinding"),en(this,"_ptr"),!fn)throw new H8("Must invoke loadWasm first.");const r=[],n=[];for(let s=0,u=t.length;s<u;s++){const f=new mb(t[s]);r[s]=f.createString(fn),n[s]=f.utf8Length}const a=fn.omalloc(4*t.length);fn.HEAPU32.set(r,a/4);const i=fn.omalloc(4*t.length);fn.HEAPU32.set(n,i/4);const o=fn.createOnigScanner(a,i,t.length);for(let s=0,u=t.length;s<u;s++)fn.ofree(r[s]);fn.ofree(i),fn.ofree(a),o===0&&yPe(fn),this._onigBinding=fn,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,r,n){let a=0;if(typeof n=="number"&&(a=n),typeof t=="string"){t=new HX(t);const i=this._findNextMatchSync(t,r,!1,a);return t.dispose(),i}return this._findNextMatchSync(t,r,!1,a)}_findNextMatchSync(t,r,n,a){const i=this._onigBinding,o=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(r),a);if(o===0)return null;const s=i.HEAPU32;let u=o/4;const f=s[u++],h=s[u++],d=[];for(let m=0;m<h;m++){const v=t.convertUtf8OffsetToUtf16(s[u++]),y=t.convertUtf8OffsetToUtf16(s[u++]);d[m]={start:v,end:y,length:y-v}}return{index:f,captureIndices:d}}}function xPe(e){return typeof e.instantiator=="function"}function EPe(e){return typeof e.default=="function"}function _Pe(e){return typeof e.data<"u"}function wPe(e){return typeof Response<"u"&&e instanceof Response}function SPe(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 Hg;function TPe(e){if(Hg)return Hg;async function t(){fn=await mPe(async r=>{let n=e;return n=await n,typeof n=="function"&&(n=await n(r)),typeof n=="function"&&(n=await n(r)),xPe(n)?n=await n.instantiator(r):EPe(n)?n=await n.default(r):(_Pe(n)&&(n=n.data),wPe(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await APe(n)(r):n=await CPe(n)(r):SPe(n)?n=await K_(n)(r):n instanceof WebAssembly.Module?n=await K_(n)(r):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await K_(n.default)(r))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return Hg=t(),Hg}function K_(e){return t=>WebAssembly.instantiate(e,t)}function APe(e){return t=>WebAssembly.instantiateStreaming(e,t)}function CPe(e){return async t=>{const r=await e.arrayBuffer();return WebAssembly.instantiate(r,t)}}async function OPe(e){return e&&await TPe(e),{createScanner(t){return new bPe(t.map(r=>typeof r=="string"?r:r.source))},createString(t){return new HX(t)}}}const xz=sPe({langs:zX,themes:fPe,engine:()=>OPe(Q(()=>import("./wasm-CG6Dc4jp.js"),[]))});function f0(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function kPe(e,t,r){return e.has(t)||e.set(t,r),e.get(t)}const F8=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),mn=String.raw;function d0(e,t){if(e==null)throw new Error(t??"Value expected");return e}const FX=mn`\[\^?`,$X=`c.? | C(?:-.?)?|${mn`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${mn`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${mn`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${mn`o\{[^\}]*\}?`}|${mn`\d{1,3}`}`,$8=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Fg=new RegExp(mn` 701 \\ (?: 702 ${$X} 703 | [gk]<[^>]*>? 704 | [gk]'[^']*'? 705 | . 706 ) 707 | \( (?: 708 \? (?: 709 [:=!>({] 710 | <[=!] 711 | <[^>]*> 712 | '[^']*' 713 | ~\|? 714 | #(?:[^)\\]|\\.?)* 715 | [^:)]*[:)] 716 )? 717 | \*[^\)]*\)? 718 )? 719 | (?:${$8.source})+ 720 | ${FX} 721 | . 722`.replace(/\s+/g,""),"gsu"),X_=new RegExp(mn` 723 \\ (?: 724 ${$X} 725 | . 726 ) 727 | \[:(?:\^?\p{Alpha}+|\^):\] 728 | ${FX} 729 | && 730 | . 731`.replace(/\s+/g,""),"gsu");function NPe(e,t={}){const r={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const n=KPe(r.flags),a=[n.extended],i={captureGroup:r.rules.captureGroup,getCurrentModX(){return a.at(-1)},numOpenGroups:0,popModX(){a.pop()},pushModX(d){a.push(d)},replaceCurrentModX(d){a[a.length-1]=d},singleline:r.rules.singleline};let o=[],s;for(Fg.lastIndex=0;s=Fg.exec(e);){const d=RPe(i,e,s[0],Fg.lastIndex);d.tokens?o.push(...d.tokens):d.token&&o.push(d.token),d.lastIndex!==void 0&&(Fg.lastIndex=d.lastIndex)}const u=[];let f=0;o.filter(d=>d.type==="GroupOpen").forEach(d=>{d.kind==="capturing"?d.number=++f:d.raw==="("&&u.push(d)}),f||u.forEach((d,m)=>{d.kind="capturing",d.number=m+1});const h=f||u.length;return{tokens:o.map(d=>d.type==="EscapedNumber"?QPe(d,h):d).flat(),flags:n}}function RPe(e,t,r,n){const[a,i]=r;if(r==="["||r==="[^"){const o=MPe(t,r,n);return{tokens:o.tokens,lastIndex:o.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(i))return{token:Ez(r,r)};if(/^\\g[<']/.test(r)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(r))throw new Error(`Invalid group name "${r}"`);return{token:$Pe(r)}}if(/^\\k[<']/.test(r)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(r))throw new Error(`Invalid group name "${r}"`);return{token:qX(r)}}if(i==="K")return{token:VX("keep",r)};if(i==="N"||i==="R")return{token:uu("newline",r,{negate:i==="N"})};if(i==="O")return{token:uu("any",r)};if(i==="X")return{token:uu("text_segment",r)};const o=UX(r,{inCharClass:!1});return Array.isArray(o)?{tokens:o}:{token:o}}if(a==="("){if(i==="*")return{token:GPe(r)};if(r==="(?{")throw new Error(`Unsupported callout "${r}"`);if(r.startsWith("(?#")){if(t[n]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:n+1}}if(/^\(\?[-imx]+[:)]$/.test(r))return{token:VPe(r,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,r==="("&&!e.captureGroup||r==="(?:")return{token:Yc("group",r)};if(r==="(?>")return{token:Yc("atomic",r)};if(r==="(?="||r==="(?!"||r==="(?<="||r==="(?<!")return{token:Yc(r[2]==="<"?"lookbehind":"lookahead",r,{negate:r.endsWith("!")})};if(r==="("&&e.captureGroup||r.startsWith("(?<")&&r.endsWith(">")||r.startsWith("(?'")&&r.endsWith("'"))return{token:Yc("capturing",r,{...r!=="("&&{name:r.slice(3,-1)}})};if(r.startsWith("(?~")){if(r==="(?~|")throw new Error(`Unsupported absence function kind "${r}"`);return{token:Yc("absence_repeater",r)}}throw r==="(?("?new Error(`Unsupported conditional "${r}"`):new Error(`Invalid or unsupported group option "${r}"`)}if(r===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:zPe(r)}}if(e.getCurrentModX()){if(r==="#"){const o=t.indexOf(` 732`,n);return{lastIndex:o===-1?t.length:o}}if(/^\s$/.test(r)){const o=/\s+/y;return o.lastIndex=n,{lastIndex:o.exec(t)?o.lastIndex:n}}}if(r===".")return{token:uu("dot",r)};if(r==="^"||r==="$"){const o=e.singleline?{"^":mn`\A`,$:mn`\Z`}[r]:r;return{token:Ez(o,r)}}return r==="|"?{token:IPe(r)}:$8.test(r)?{tokens:ZPe(r)}:{token:Xo(f0(r),r)}}function MPe(e,t,r){const n=[_z(t[1]==="^",t)];let a=1,i;for(X_.lastIndex=r;i=X_.exec(e);){const o=i[0];if(o[0]==="["&&o[1]!==":")a++,n.push(_z(o[1]==="^",o));else if(o==="]"){if(n.at(-1).type==="CharacterClassOpen")n.push(Xo(93,o));else if(a--,n.push(DPe(o)),!a)break}else{const s=PPe(o);Array.isArray(s)?n.push(...s):n.push(s)}}return{tokens:n,lastIndex:X_.lastIndex||e.length}}function PPe(e){if(e[0]==="\\")return UX(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!F8.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return uu("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?LPe(e):e==="&&"?jPe(e):Xo(f0(e),e)}function UX(e,{inCharClass:t}){const r=e[1];if(r==="c"||r==="C")return qPe(e);if("dDhHsSwW".includes(r))return YPe(e);if(e.startsWith(mn`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return WPe(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const n=e.split(/\\x/).slice(1).map(o=>parseInt(o,16)),a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(n)),i=new TextEncoder;return[...a].map(o=>{const s=[...i.encode(o)].map(u=>`\\x${u.toString(16)}`).join("");return Xo(f0(o),s)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(r==="u"||r==="x")return Xo(XPe(e),e);if(wz.has(r))return Xo(wz.get(r),e);if(/\d/.test(r))return BPe(t,e);if(e==="\\")throw new Error(mn`Incomplete escape "\"`);if(r==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return Xo(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function IPe(e){return{type:"Alternator",raw:e}}function Ez(e,t){return{type:"Assertion",kind:e,raw:t}}function qX(e){return{type:"Backreference",raw:e}}function Xo(e,t){return{type:"Character",value:e,raw:t}}function DPe(e){return{type:"CharacterClassClose",raw:e}}function LPe(e){return{type:"CharacterClassHyphen",raw:e}}function jPe(e){return{type:"CharacterClassIntersector",raw:e}}function _z(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function uu(e,t,r={}){return{type:"CharacterSet",kind:e,...r,raw:t}}function VX(e,t,r={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:d0(r.flags),raw:t}}function BPe(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function zPe(e){return{type:"GroupClose",raw:e}}function Yc(e,t,r={}){return{type:"GroupOpen",kind:e,...r,raw:t}}function HPe(e,t,r,n){return{type:"NamedCallout",kind:e,tag:t,arguments:r,raw:n}}function FPe(e,t,r,n){return{type:"Quantifier",kind:e,min:t,max:r,raw:n}}function $Pe(e){return{type:"Subroutine",raw:e}}const UPe=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),wz=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function qPe(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 Xo(f0(t.toUpperCase())-64,e)}function VPe(e,t){let{on:r,off:n}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;n??="";const a=(t.getCurrentModX()||r.includes("x"))&&!n.includes("x"),i=Tz(r),o=Tz(n),s={};if(i&&(s.enable=i),o&&(s.disable=o),e.endsWith(")"))return t.replaceCurrentModX(a),VX("flags",e,{flags:s});if(e.endsWith(":"))return t.pushModX(a),t.numOpenGroups++,Yc("group",e,{...(i||o)&&{flags:s}});throw new Error(`Unexpected flag modifier "${e}"`)}function GPe(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:r,tag:n,args:a}=t.groups;if(!r)throw new Error(`Invalid named callout "${e}"`);if(n==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const i=a?a.split(",").filter(h=>h!=="").map(h=>/^[+-]?\d+$/.test(h)?+h:h):[],[o,s,u]=i,f=UPe.has(r)?r.toLowerCase():"custom";switch(f){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 s=="number"||!/^[<>X]$/.test(s)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${s}"`);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 s=="number"||!/^(?:[<>!=]=|[<>])$/.test(s))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${s}"`);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 "${r}"`);default:throw new Error(`Unexpected named callout kind "${f}"`)}return HPe(f,n??null,a?.split(",")??null,e)}function Sz(e){let t=null,r,n;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(r=+a,n=i===void 0?+a:i===""?1/0:+i,r>n&&(t="possessive",[r,n]=[n,r]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else r=e[0]==="+"?1:0,n=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return FPe(t,r,n,e)}function YPe(e){const t=e[1].toLowerCase();return uu({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function WPe(e){const{p:t,neg:r,value:n}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return uu("property",e,{value:n,negate:t==="P"&&!r||t==="p"&&!!r})}function Tz(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 KPe(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let r=0;r<e.length;r++){const n=e[r];if(!"imxDPSWy".includes(n))throw new Error(`Invalid flag "${n}"`);if(n==="y"){if(!/^y{[gw]}/.test(e.slice(r)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[r+2]==="g"?"grapheme":"word",r+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[n]]=!0}return t}function XPe(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 QPe(e,t){const{raw:r,inCharClass:n}=e,a=r.slice(1);if(!n&&(a!=="0"&&a.length===1||a[0]!=="0"&&+a<=t))return[qX(r)];const i=[],o=a.match(/^[0-7]+|\d/g);for(let s=0;s<o.length;s++){const u=o[s];let f;if(s===0&&u!=="8"&&u!=="9"){if(f=parseInt(u,8),f>127)throw new Error(mn`Octal encoded byte above 177 unsupported "${r}"`)}else f=f0(u);i.push(Xo(f,(s===0?"\\":"")+u))}return i}function ZPe(e){const t=[],r=new RegExp($8,"gy");let n;for(;n=r.exec(e);){const a=n[0];if(a[0]==="{"){const i=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(a);if(i){const{min:o,max:s}=i.groups;if(+o>+s&&a.endsWith("?")){r.lastIndex--,t.push(Sz(a.slice(0,-1)));continue}}}t.push(Sz(a))}return t}function GX(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const r=e.body[0];return!t||Object.keys(t).every(n=>t[n]===r[n])}function JPe(e){return eIe.has(e.type)}const eIe=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function YX(e,t={}){const r={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},n=NPe(e,{flags:r.flags,rules:{captureGroup:r.rules.captureGroup,singleline:r.rules.singleline}}),a=(m,v)=>{const y=n.tokens[i.nextIndex];switch(i.parent=m,i.nextIndex++,y.type){case"Alternator":return Au();case"Assertion":return tIe(y);case"Backreference":return rIe(y,i);case"Character":return vb(y.value,{useLastValid:!!v.isCheckingRangeEnd});case"CharacterClassHyphen":return nIe(y,i,v);case"CharacterClassOpen":return aIe(y,i,v);case"CharacterSet":return iIe(y,i);case"Directive":return fIe(y.kind,{flags:y.flags});case"GroupOpen":return oIe(y,i,v);case"NamedCallout":return hIe(y.kind,y.tag,y.arguments);case"Quantifier":return sIe(y,i);
vendor: 7,423 bytes, line 732
732case"Subroutine":return lIe(y,i);default:throw new Error(`Unexpected token type "${y.type}"`)}},i={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:r.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:r.skipBackrefValidation,skipLookbehindValidation:r.skipLookbehindValidation,skipPropertyNameValidation:r.skipPropertyNameValidation,subroutines:[],tokens:n.tokens,unicodePropertyMap:r.unicodePropertyMap,walk:a},o=mIe(dIe(n.flags));let s=o.body[0];for(;i.nextIndex<n.tokens.length;){const m=a(s,{});m.type==="Alternative"?(o.body.push(m),s=m):s.body.push(m)}const{capturingGroups:u,hasNumberedRef:f,namedGroupsByName:h,subroutines:d}=i;if(f&&h.size&&!r.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:m}of d)if(typeof m=="number"){if(m>u.length)throw new Error("Subroutine uses a group number that's not defined");m&&(u[m-1].isSubroutined=!0)}else if(h.has(m)){if(h.get(m).length>1)throw new Error(mn`Subroutine uses a duplicate group name "\g<${m}>"`);h.get(m)[0].isSubroutined=!0}else throw new Error(mn`Subroutine uses a group name that's not defined "\g<${m}>"`);return o}function tIe({kind:e}){return jS(d0({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===mn`\B`||e===mn`\Y`})}function rIe({raw:e},t){const r=/^\\k[<']/.test(e),n=r?e.slice(3,-1):e.slice(1),a=(i,o=!1)=>{const s=t.capturingGroups.length;let u=!1;if(i>s)if(t.skipBackrefValidation)u=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,BS(o?s+1-i:i,{orphan:u})};if(r){const i=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(n);if(i)return a(+i.groups.num,!!i.groups.sign);if(/[-+]/.test(n))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(n))throw new Error(`Group name not defined to the left "${e}"`);return BS(n)}return a(+n)}function nIe(e,t,r){const{tokens:n,walk:a}=t,i=t.parent,o=i.body.at(-1),s=n[t.nextIndex];if(!r.isCheckingRangeEnd&&o&&o.type!=="CharacterClass"&&o.type!=="CharacterClassRange"&&s&&s.type!=="CharacterClassOpen"&&s.type!=="CharacterClassClose"&&s.type!=="CharacterClassIntersector"){const u=a(i,{...r,isCheckingRangeEnd:!0});if(o.type==="Character"&&u.type==="Character")return i.body.pop(),cIe(o,u);throw new Error("Invalid character class range")}return vb(f0("-"))}function aIe({negate:e},t,r){const{tokens:n,walk:a}=t,i=n[t.nextIndex],o=[i1()];let s=Oz(i);for(;s.type!=="CharacterClassClose";){if(s.type==="CharacterClassIntersector")o.push(i1()),t.nextIndex++;else{const f=o.at(-1);f.body.push(a(f,r))}s=Oz(n[t.nextIndex],i)}const u=i1({negate:e});return o.length===1?u.body=o[0].body:(u.kind="intersection",u.body=o.map(f=>f.body.length===1?f.body[0]:f)),t.nextIndex++,u}function iIe({kind:e,negate:t,value:r},n){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:o}=n;if(e==="property"){const s=yb(r);if(F8.has(s)&&!o?.has(s))e="posix",r=s;else return Wc(r,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:o})}return e==="posix"?pIe(r,{negate:t}):zS(e,{negate:t})}function oIe(e,t,r){const{tokens:n,capturingGroups:a,namedGroupsByName:i,skipLookbehindValidation:o,walk:s}=t,u=gIe(e),f=u.type==="AbsenceFunction",h=Cz(u),d=h&&u.negate;if(u.type==="CapturingGroup"&&(a.push(u),u.name&&kPe(i,u.name,[]).push(u)),f&&r.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let m=kz(n[t.nextIndex]);for(;m.type!=="GroupClose";){if(m.type==="Alternator")u.body.push(Au()),t.nextIndex++;else{const v=u.body.at(-1),y=s(v,{...r,isInAbsenceFunction:r.isInAbsenceFunction||f,isInLookbehind:r.isInLookbehind||h,isInNegLookbehind:r.isInNegLookbehind||d});if(v.body.push(y),(h||r.isInLookbehind)&&!o){const b="Lookbehind includes a pattern not allowed by Oniguruma";if(d||r.isInNegLookbehind){if(Az(y)||y.type==="CapturingGroup")throw new Error(b)}else if(Az(y)||Cz(y)&&y.negate)throw new Error(b)}}m=kz(n[t.nextIndex])}return t.nextIndex++,u}function sIe({kind:e,min:t,max:r},n){const a=n.parent,i=a.body.at(-1);if(!i||!JPe(i))throw new Error("Quantifier requires a repeatable token");const o=KX(e,t,r,i);return a.body.pop(),o}function lIe({raw:e},t){const{capturingGroups:r,subroutines:n}=t;let a=e.slice(3,-1);const i=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(a);if(i){const s=+i.groups.num,u=r.length;if(t.hasNumberedRef=!0,a={"":s,"+":u+s,"-":u+1-s}[i.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const o=XX(a);return n.push(o),o}function uIe(e,t){return{type:"AbsenceFunction",kind:e,body:Mp(t?.body)}}function Au(e){return{type:"Alternative",body:QX(e?.body)}}function jS(e,t){const r={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(r.negate=!!t?.negate),r}function BS(e,t){const r=!!t?.orphan;return{type:"Backreference",ref:e,...r&&{orphan:r}}}function WX(e,t){const r={name:void 0,isSubroutined:!1,...t};if(r.name!==void 0&&!vIe(r.name))throw new Error(`Group name "${r.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...r.name&&{name:r.name},...r.isSubroutined&&{isSubroutined:r.isSubroutined},body:Mp(t?.body)}}function vb(e,t){const r={useLastValid:!1,...t};if(e>1114111){const n=e.toString(16);if(r.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${n}}"`):new Error(`Invalid code point out of range in JS "\\x{${n}}"`)}return{type:"Character",value:e}}function i1(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:QX(e?.body)}}function cIe(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function zS(e,t){const r=!!t?.negate,n={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(n.negate=r),(e==="text_segment"||e==="newline"&&!r)&&(n.variableLength=!0),n}function fIe(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:d0(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function dIe(e){return{type:"Flags",...e}}function Ai(e){const t=e?.atomic,r=e?.flags;if(t&&r)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...r&&{flags:r},body:Mp(e?.body)}}function ru(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:Mp(e?.body)}}function hIe(e,t,r){return{type:"NamedCallout",kind:e,tag:t,arguments:r}}function pIe(e,t){const r=!!t?.negate;if(!F8.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:r}}function KX(e,t,r,n){if(t>r)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:r,body:n}}function mIe(e,t){return{type:"Regex",body:Mp(t?.body),flags:e}}function XX(e){return{type:"Subroutine",ref:e}}function Wc(e,t){const r={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let n=r.unicodePropertyMap?.get(yb(e));
vendor: 13,113 bytes, lines 732-829
732if(!n){if(r.normalizeUnknownPropertyNames)n=yIe(e);else if(r.unicodePropertyMap&&!r.skipPropertyNameValidation)throw new Error(mn`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:n??e,negate:r.negate}}function gIe({flags:e,kind:t,name:r,negate:n,number:a}){switch(t){case"absence_repeater":return uIe("repeater");case"atomic":return Ai({atomic:!0});case"capturing":return WX(a,{name:r});case"group":return Ai({flags:e});case"lookahead":case"lookbehind":return ru({behind:t==="lookbehind",negate:n});default:throw new Error(`Unexpected group kind "${t}"`)}}function Mp(e){if(e===void 0)e=[Au()];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 QX(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 Az(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function Cz(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function vIe(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function yIe(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 yb(e){return e.replace(/[- _]+/g,"").toLowerCase()}function Oz(e,t){return d0(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function kz(e){return d0(e,"Unclosed group")}function Zd(e,t,r=null){function n(i,o){for(let s=0;s<i.length;s++){const u=a(i[s],o,s,i);s=Math.max(-1,s+u)}}function a(i,o=null,s=null,u=null){let f=0,h=!1;const d={node:i,parent:o,key:s,container:u,root:e,remove(){$g(u).splice(Math.max(0,Uc(s)+f),1),f--,h=!0},removeAllNextSiblings(){return $g(u).splice(Uc(s)+1)},removeAllPrevSiblings(){const _=Uc(s)+f;return f-=_,$g(u).splice(0,Math.max(0,_))},replaceWith(_,A={}){const C=!!A.traverse;u?u[Math.max(0,Uc(s)+f)]=_:d0(o,"Can't replace root node")[s]=_,C&&a(_,o,s,u),h=!0},replaceWithMultiple(_,A={}){const C=!!A.traverse;if($g(u).splice(Math.max(0,Uc(s)+f),1,..._),f+=_.length-1,C){let P=0;for(let O=0;O<_.length;O++)P+=a(_[O],o,Uc(s)+O+P,u)}h=!0},skip(){h=!0}},{type:m}=i,v=t["*"],y=t[m],b=typeof v=="function"?v:v?.enter,E=typeof y=="function"?y:y?.enter;if(b?.(d,r),E?.(d,r),!h)switch(m){case"AbsenceFunction":case"CapturingGroup":case"Group":n(i.body,i);break;case"Alternative":case"CharacterClass":n(i.body,i);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":a(i.min,i,"min"),a(i.max,i,"max");break;case"LookaroundAssertion":n(i.body,i);break;case"Quantifier":a(i.body,i,"body");break;case"Regex":n(i.body,i),a(i.flags,i,"flags");break;default:throw new Error(`Unexpected node type "${m}"`)}return y?.exit?.(d,r),v?.exit?.(d,r),f}return a(e),e}function $g(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function Uc(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const bIe=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function xIe(e,t){for(let r=0;r<e.length;r++)e[r]>=t&&e[r]++}function EIe(e,t,r,n){return e.slice(0,t)+n+e.slice(t+r.length)}const si=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function U8(e,t,r,n){const a=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),i=[!1];let o=0,s="";for(const u of e.matchAll(a)){const{0:f,groups:{$skip:h}}=u;if(!h&&(!n||n===si.DEFAULT==!o)){r instanceof Function?s+=r(u,{context:o?si.CHAR_CLASS:si.DEFAULT,negated:i[i.length-1]}):s+=r;continue}f[0]==="["?(o++,i.push(f[1]==="^")):f==="]"&&o&&(o--,i.pop()),s+=f}return s}function ZX(e,t,r,n){U8(e,t,r,n)}function _Ie(e,t,r=0,n){if(!new RegExp(t,"su").test(e))return null;const a=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");a.lastIndex=r;let i=0,o;for(;o=a.exec(e);){const{0:s,groups:{$skip:u}}=o;if(!u&&(!n||n===si.DEFAULT==!i))return o;s==="["?i++:s==="]"&&i&&i--,a.lastIndex==o.index&&a.lastIndex++}return null}function Ug(e,t,r){return!!_Ie(e,t,0,r)}function wIe(e,t){const r=/\\?./gsu;r.lastIndex=t;let n=e.length,a=0,i=1,o;for(;o=r.exec(e);){const[s]=o;if(s==="[")a++;else if(a)s==="]"&&a--;else if(s==="(")i++;else if(s===")"&&(i--,!i)){n=o.index;break}}return e.slice(t,n)}const Nz=new RegExp(String.raw`(?<noncapturingStart>${bIe})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function SIe(e,t){const r=t?.hiddenCaptures??[];let n=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:n,hiddenCaptures:r};const a="(?>",i="(?:(?=(",o=[0],s=[];let u=0,f=0,h=NaN,d;do{d=!1;let m=0,v=0,y=!1,b;for(Nz.lastIndex=Number.isNaN(h)?0:h+i.length;b=Nz.exec(e);){const{0:E,index:_,groups:{capturingStart:A,noncapturingStart:C}}=b;if(E==="[")m++;else if(m)E==="]"&&m--;else if(E===a&&!y)h=_,y=!0;else if(y&&C)v++;else if(A)y?v++:(u++,o.push(u+f));else if(E===")"&&y){if(!v){f++;const P=u+f;if(e=`${e.slice(0,h)}${i}${e.slice(h+a.length,_)}))<$$${P}>)${e.slice(_+1)}`,d=!0,s.push(P),xIe(r,P),n.size){const O=new Map;n.forEach((k,M)=>{O.set(M>=P?M+1:M,k.map(L=>L>=P?L+1:L))}),n=O}break}v--}}}while(d);return r.push(...s),e=U8(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:m,groups:{backrefNum:v,wrappedBackrefNum:y}})=>{if(v){const b=+v;if(b>o.length-1)throw new Error(`Backref "${m}" greater than number of captures`);return`\\${o[b]}`}return`\\${y}`},si.DEFAULT),{pattern:e,captureTransfers:n,hiddenCaptures:r}}const JX=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,Q_=new RegExp(String.raw` 733\\(?: \d+ 734 | c[A-Za-z] 735 | [gk]<[^>]+> 736 | [pPu]\{[^\}]+\} 737 | u[A-Fa-f\d]{4} 738 | x[A-Fa-f\d]{2} 739 ) 740| \((?: \? (?: [:=!>] 741 | <(?:[=!]|[^>]+>) 742 | [A-Za-z\-]+: 743 | \(DEFINE\) 744 ))? 745| (?<qBase>${JX})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?) 746| \\?. 747`.replace(/\s+/g,""),"gsu");function TIe(e){if(!new RegExp(`${JX}\\+`).test(e))return{pattern:e};const t=[];let r=null,n=null,a="",i=0,o;for(Q_.lastIndex=0;o=Q_.exec(e);){const{0:s,index:u,groups:{qBase:f,qMod:h,invalidQ:d}}=o;if(s==="[")i||(n=u),i++;else if(s==="]")i?i--:n=null;else if(!i)if(h==="+"&&a&&!a.startsWith("(")){if(d)throw new Error(`Invalid quantifier "${s}"`);let m=-1;if(/^\{\d+\}$/.test(f))e=EIe(e,u+f.length,h,"");else{if(a===")"||a==="]"){const v=a===")"?r:n;if(v===null)throw new Error(`Invalid unmatched "${a}"`);e=`${e.slice(0,v)}(?>${e.slice(v,u)}${f})${e.slice(u+s.length)}`}else e=`${e.slice(0,u-a.length)}(?>${a}${f})${e.slice(u+s.length)}`;m+=4}Q_.lastIndex+=m}else s[0]==="("?t.push(u):s===")"&&(r=t.length?t.pop():null);a=s}return{pattern:e}}const ai=String.raw,AIe=ai`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,HS=ai`\(\?R=(?<rDepth>[^\)]+)\)|${AIe}`,bb=ai`\(\?<(?![=!])(?<captureName>[^>]+)>`,eQ=ai`${bb}|(?<unnamed>\()(?!\?)`,Xl=new RegExp(ai`${bb}|${HS}|\(\?|\\?.`,"gsu"),Z_="Cannot use multiple overlapping recursions";function CIe(e,t){const{hiddenCaptures:r,mode:n}={hiddenCaptures:[],mode:"plugin",...t};let a=t?.captureTransfers??new Map;if(!new RegExp(HS,"su").test(e))return{pattern:e,captureTransfers:a,hiddenCaptures:r};if(n==="plugin"&&Ug(e,ai`\(\?\(DEFINE\)`,si.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const i=[],o=Ug(e,ai`\\[1-9]`,si.DEFAULT),s=new Map,u=[];let f=!1,h=0,d=0,m;for(Xl.lastIndex=0;m=Xl.exec(e);){const{0:v,groups:{captureName:y,rDepth:b,gRNameOrNum:E,gRDepth:_}}=m;if(v==="[")h++;else if(h)v==="]"&&h--;else if(b){if(Rz(b),f)throw new Error(Z_);if(o)throw new Error(`${n==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const A=e.slice(0,m.index),C=e.slice(Xl.lastIndex);if(Ug(C,HS,si.DEFAULT))throw new Error(Z_);const P=+b-1;e=Mz(A,C,P,!1,r,i,d),a=Iz(a,A,P,i.length,0,d);break}else if(E){Rz(_);let A=!1;for(const z of u)if(z.name===E||z.num===+E){if(A=!0,z.hasRecursedWithin)throw new Error(Z_);break}if(!A)throw new Error(ai`Recursive \g cannot be used outside the referenced group "${n==="external"?E:ai`\g<${E}&R=${_}>`}"`);const C=s.get(E),P=wIe(e,C);if(o&&Ug(P,ai`${bb}|\((?!\?)`,si.DEFAULT))throw new Error(`${n==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const O=e.slice(C,m.index),k=P.slice(O.length+v.length),M=i.length,L=+_-1,H=Mz(O,k,L,!0,r,i,d);a=Iz(a,O,L,i.length-M,M,d);const F=e.slice(0,C),$=e.slice(C+P.length);e=`${F}${H}${$}`,Xl.lastIndex+=H.length-v.length-O.length-k.length,u.forEach(z=>z.hasRecursedWithin=!0),f=!0}else if(y)d++,s.set(String(d),Xl.lastIndex),s.set(y,Xl.lastIndex),u.push({num:d,name:y});else if(v[0]==="("){const A=v==="(";A&&(d++,s.set(String(d),Xl.lastIndex)),u.push(A?{num:d}:{})}else v===")"&&u.pop()}return r.push(...i),{pattern:e,captureTransfers:a,hiddenCaptures:r}}function Rz(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 Mz(e,t,r,n,a,i,o){const s=new Set;n&&ZX(e+t,bb,({groups:{captureName:f}})=>{s.add(f)},si.DEFAULT);const u=[r,n?s:null,a,i,o];return`${e}${Pz(`(?:${e}`,"forward",...u)}(?:)${Pz(`${t})`,"backward",...u)}${t}`}function Pz(e,t,r,n,a,i,o){const u=h=>t==="forward"?h+2:r-h+2-1;let f="";for(let h=0;h<r;h++){const d=u(h);f+=U8(e,ai`${eQ}|\\k<(?<backref>[^>]+)>`,({0:m,groups:{captureName:v,unnamed:y,backref:b}})=>{if(b&&n&&!n.has(b))return m;const E=`_$${d}`;if(y||v){const _=o+i.length+1;return i.push(_),OIe(a,_),y?m:`(?<${v}${E}>`}return ai`\k<${b}${E}>`},si.DEFAULT)}return f}function OIe(e,t){for(let r=0;r<e.length;r++)e[r]>=t&&e[r]++}function Iz(e,t,r,n,a,i){if(e.size&&n){let o=0;ZX(t,eQ,()=>o++,si.DEFAULT);const s=i-o+a,u=new Map;return e.forEach((f,h)=>{const d=(n-o*r)/r,m=o*r,v=h>s+o?h+n:h,y=[];for(const b of f)if(b<=s)y.push(b);else if(b>s+o+d)y.push(b+n);else if(b<=s+o)for(let E=0;E<=r;E++)y.push(b+o*E);else for(let E=0;E<=r;E++)y.push(b+m+d*E);u.set(v,y)}),u}return e}var tn=String.fromCodePoint,ut=String.raw,rs={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};rs.bugFlagVLiteralHyphenIsRange=rs.unicodeSets?(()=>{try{new RegExp(ut`[\d\-a]`,"v")}catch{return!0}return!1})():!1;rs.bugNestedClassIgnoresNegation=rs.unicodeSets&&new RegExp("[[^a]]","v").test("a");function Dv(e,{enable:t,disable:r}){return{dotAll:!r?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!r?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function tp(e,t,r){return e.has(t)||e.set(t,r),e.get(t)}function FS(e,t){return Dz[e]>=Dz[t]}function kIe(e,t){if(e==null)throw new Error(t??"Value expected");return e}var Dz={ES2025:2025,ES2024:2024,ES2018:2018},NIe={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function tQ(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!NIe[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=rs.flagGroups?"ES2025":rs.unicodeSets?"ES2024":"ES2018"),t}var RIe="[ -\r ]",MIe=new Set([tn(304),tn(305)]),$o=ut`[\p{L}\p{M}\p{N}\p{Pc}]`;function rQ(e){if(MIe.has(e))return[e];const t=new Set,r=e.toLowerCase(),n=r.toUpperCase(),a=DIe.get(r),i=PIe.get(r),o=IIe.get(r);return[...n].length===1&&t.add(n),o&&t.add(o),a&&t.add(a),t.add(r),i&&t.add(i),[...t]}var q8=new Map(`C Other 748Cc Control cntrl 749Cf Format 750Cn Unassigned 751Co Private_Use 752Cs Surrogate 753L Letter 754LC Cased_Letter 755Ll Lowercase_Letter 756Lm Modifier_Letter 757Lo Other_Letter 758Lt Titlecase_Letter 759Lu Uppercase_Letter 760M Mark Combining_Mark 761Mc Spacing_Mark 762Me Enclosing_Mark 763Mn Nonspacing_Mark 764N Number 765Nd Decimal_Number digit 766Nl Letter_Number 767No Other_Number 768P Punctuation punct 769Pc Connector_Punctuation 770Pd Dash_Punctuation 771Pe Close_Punctuation 772Pf Final_Punctuation 773Pi Initial_Punctuation 774Po Other_Punctuation 775Ps Open_Punctuation 776S Symbol 777Sc Currency_Symbol 778Sk Modifier_Symbol 779Sm Math_Symbol 780So Other_Symbol 781Z Separator 782Zl Line_Separator 783Zp Paragraph_Separator 784Zs Space_Separator 785ASCII 786ASCII_Hex_Digit AHex 787Alphabetic Alpha 788Any 789Assigned 790Bidi_Control Bidi_C 791Bidi_Mirrored Bidi_M 792Case_Ignorable CI 793Cased 794Changes_When_Casefolded CWCF 795Changes_When_Casemapped CWCM 796Changes_When_Lowercased CWL 797Changes_When_NFKC_Casefolded CWKCF 798Changes_When_Titlecased CWT 799Changes_When_Uppercased CWU 800Dash 801Default_Ignorable_Code_Point DI 802Deprecated Dep 803Diacritic Dia 804Emoji 805Emoji_Component EComp 806Emoji_Modifier EMod 807Emoji_Modifier_Base EBase 808Emoji_Presentation EPres 809Extended_Pictographic ExtPict 810Extender Ext 811Grapheme_Base Gr_Base 812Grapheme_Extend Gr_Ext 813Hex_Digit Hex 814IDS_Binary_Operator IDSB 815IDS_Trinary_Operator IDST 816ID_Continue IDC 817ID_Start IDS 818Ideographic Ideo 819Join_Control Join_C 820Logical_Order_Exception LOE 821Lowercase Lower 822Math 823Noncharacter_Code_Point NChar 824Pattern_Syntax Pat_Syn 825Pattern_White_Space Pat_WS 826Quotation_Mark QMark 827Radical 828Regional_Indicator RI 829Sentence_Terminal STerm
830Soft_Dotted SD 831Terminal_Punctuation Term 832Unified_Ideograph UIdeo 833Uppercase Upper 834Variation_Selector VS 835White_Space space 836XID_Continue XIDC 837XID_Start XIDS`.split(/\s/).map(e=>[yb(e),e])),PIe=new Map([["s",tn(383)],[tn(383),"s"]]),IIe=new Map([[tn(223),tn(7838)],[tn(107),tn(8490)],[tn(229),tn(8491)],[tn(969),tn(8486)]]),DIe=new Map([Qs(453),Qs(456),Qs(459),Qs(498),...J_(8072,8079),...J_(8088,8095),...J_(8104,8111),Qs(8124),Qs(8140),Qs(8188)]),LIe=new Map([["alnum",ut`[\p{Alpha}\p{Nd}]`],["alpha",ut`\p{Alpha}`],["ascii",ut`\p{ASCII}`],["blank",ut`[\p{Zs}\t]`],["cntrl",ut`\p{Cc}`],["digit",ut`\p{Nd}`],["graph",ut`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",ut`\p{Lower}`],["print",ut`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",ut`[\p{P}\p{S}]`],["space",ut`\p{space}`],["upper",ut`\p{Upper}`],["word",ut`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",ut`\p{AHex}`]]);function jIe(e,t){const r=[];for(let n=e;n<=t;n++)r.push(n);return r}function Qs(e){const t=tn(e);return[t.toLowerCase(),t]}function J_(e,t){return jIe(e,t).map(r=>Qs(r))}var nQ=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function BIe(e,t){const r={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};aQ(e);const n={accuracy:r.accuracy,asciiWordBoundaries:r.asciiWordBoundaries,avoidSubclass:r.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:FS(r.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};Zd(e,zIe,n);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:n.subroutineRefMap};Zd(e,HIe,i);const o={groupsByName:i.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:i.reffedNodesByReferencer};return Zd(e,FIe,o),e._originMap=i.groupOriginByCopy,e._strategy=n.strategy,e}var zIe={AbsenceFunction({node:e,parent:t,replaceWith:r}){const{body:n,kind:a}=e;if(a==="repeater"){const i=Ai();i.body[0].body.push(ru({negate:!0,body:n}),Wc("Any"));const o=Ai();o.body[0].body.push(KX("greedy",0,1/0,i)),r(Dr(o,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:r},{flagDirectivesByAlt:n}){const a=e.body.filter(i=>i.kind==="flags");for(let i=r+1;i<t.body.length;i++){const o=t.body[i];tp(n,o,[]).push(...a)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const r=oQ(t.get(e));if(r){const n=Ai({flags:r});n.body[0].body=e.body,e.body=[Dr(n,e)]}}}},Assertion({node:e,parent:t,key:r,container:n,root:a,remove:i,replaceWith:o},s){const{kind:u,negate:f}=e,{asciiWordBoundaries:h,avoidSubclass:d,supportedGNodes:m,wordIsAscii:v}=s;if(u==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${f?"Y":"y"}"`);if(u==="line_end")o(Dr(ru({body:[Au({body:[jS("string_end")]}),Au({body:[vb(10)]})]}),t));else if(u==="line_start")o(Dr(Uo(ut`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(u==="search_start")if(m.has(e))a.flags.sticky=!0,i();else{const y=n[r-1];if(y&&YIe(y))o(Dr(ru({negate:!0}),t));else{if(d)throw new Error(ut`Uses "\G" in a way that requires a subclass`);o(Zs(jS("string_start"),t)),s.strategy="clip_search"}}else if(!(u==="string_end"||u==="string_start"))if(u==="string_end_newline")o(Dr(Uo(ut`(?=\n?\z)`),t));else if(u==="word_boundary"){if(!v&&!h){const y=`(?:(?<=${$o})(?!${$o})|(?<!${$o})(?=${$o}))`,b=`(?:(?<=${$o})(?=${$o})|(?<!${$o})(?!${$o}))`;o(Dr(Uo(f?b:y),t))}}else throw new Error(`Unexpected assertion kind "${u}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:r}=e;typeof r=="string"&&!tw(r)&&(r=ew(r,t),e.ref=r)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:r}){let{name:n}=e;n&&!tw(n)&&(n=ew(n,t),e.name=n),r.set(e.number,e),n&&r.set(n,e)},CharacterClassRange({node:e,parent:t,replaceWith:r}){if(t.kind==="intersection"){const n=i1({body:[e]});r(Dr(n,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:r},{accuracy:n,minTargetEs2024:a,digitIsAscii:i,spaceIsAscii:o,wordIsAscii:s}){const{kind:u,negate:f,value:h}=e;if(i&&(u==="digit"||h==="digit")){r(Zs(zS("digit",{negate:f}),t));return}if(o&&(u==="space"||h==="space")){r(Dr(rw(Uo(RIe),f),t));return}if(s&&(u==="word"||h==="word")){r(Zs(zS("word",{negate:f}),t));return}if(u==="any")r(Zs(Wc("Any"),t));else if(u==="digit")r(Zs(Wc("Nd",{negate:f}),t));else if(u!=="dot")if(u==="text_segment"){if(n==="strict")throw new Error(ut`Use of "\X" requires non-strict accuracy`);const d="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",m=ut`\p{RI}{2}|${d}(?:\u200D${d})*`;r(Dr(Uo(ut`(?>\r\n|${a?ut`\p{RGI_Emoji}`:m}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}
vendor: 16,990 bytes, lines 837-840
837),t))}else if(u==="hex")r(Zs(Wc("AHex",{negate:f}),t));else if(u==="newline")r(Dr(Uo(f?`[^ 838]`:`(?>\r 839?|[ 840\v\f \u2028\u2029])`),t));else if(u==="posix")if(!a&&(h==="graph"||h==="print")){if(n==="strict")throw new Error(`POSIX class "${h}" requires min target ES2024 or non-strict accuracy`);let d={graph:"!-~",print:" -~"}[h];f&&(d=`\0-${tn(d.codePointAt(0)-1)}${tn(d.codePointAt(2)+1)}-ô¿¿`),r(Dr(Uo(`[${d}]`),t))}else r(Dr(rw(Uo(LIe.get(h)),f),t));else if(u==="property")q8.has(yb(h))||(e.key="sc");else if(u==="space")r(Zs(Wc("space",{negate:f}),t));else if(u==="word")r(Dr(rw(Uo($o),f),t));else throw new Error(`Unexpected character set kind "${u}"`)},Directive({node:e,parent:t,root:r,remove:n,replaceWith:a,removeAllPrevSiblings:i,removeAllNextSiblings:o}){const{kind:s,flags:u}=e;if(s==="flags")if(!u.enable&&!u.disable)n();else{const f=Ai({flags:u});f.body[0].body=o(),a(Dr(f,t),{traverse:!0})}else if(s==="keep"){const f=r.body[0],d=r.body.length===1&&GX(f,{type:"Group"})&&f.body[0].body.length===1?f.body[0]:r;if(t.parent!==d||d.body.length>1)throw new Error(ut`Uses "\K" in a way that's unsupported`);const m=ru({behind:!0});m.body[0].body=i(),a(Dr(m,t))}else throw new Error(`Unexpected directive kind "${s}"`)},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(r=>delete e[r]),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:r}=e.flags;t?.extended&&delete t.extended,r?.extended&&delete r.extended,t?.dotAll&&r?.dotAll&&delete t.dotAll,t?.ignoreCase&&r?.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,r&&!Object.keys(r).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:r}=e;r==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:r}){const{kind:n}=e;if(n==="fail")r(Dr(ru({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${n.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=Ai();t.body[0].body.push(e.body),e.body=Dr(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const r=[];let n=!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=lQ(i.body);o?(n=!0,Array.isArray(o)?r.push(...o):r.push(o)):a=!0}n&&!a&&r.forEach(i=>t.add(i))},exit(e,{accuracy:t,passedLookbehind:r,strategy:n}){if(t==="strict"&&r&&n)throw new Error(ut`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:r}=e;typeof r=="string"&&!tw(r)&&(r=ew(r,t),e.ref=r)}},HIe={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:r}){const{orphan:n,ref:a}=e;n||r.set(e,[...t.get(a).map(({node:i})=>i)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:r,skip:n},{groupOriginByCopy:a,groupsByName:i,multiplexCapturesToLeftByRef:o,openRefs:s,reffedNodesByReferencer:u}){const f=a.get(e);if(f&&s.has(e.number)){const d=Zs(Lz(e.number),t);u.set(d,s.get(e.number)),r(d);return}s.set(e.number,e),o.set(e.number,[]),e.name&&tp(o,e.name,[]);const h=o.get(e.name??e.number);for(let d=0;d<h.length;d++){const m=h[d];if(f===m.node||f&&f===m.origin||e===m.origin){h.splice(d,1);break}}if(o.get(e.number).push({node:e,origin:f}),e.name&&o.get(e.name).push({node:e,origin:f}),e.name){const d=tp(i,e.name,new Map);let m=!1;if(f)m=!0;else for(const v of d.values())if(!v.hasDuplicateNameToRemove){m=!0;break}i.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:m})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=Dv(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:r},n){const{isRecursive:a,ref:i}=e;if(a){let h=t;for(;(h=h.parent)&&!(h.type==="CapturingGroup"&&(h.name===i||h.number===i)););n.reffedNodesByReferencer.set(e,h);return}const o=n.subroutineRefMap.get(i),s=i===0,u=s?Lz(0):iQ(o,n.groupOriginByCopy,null);let f=u;if(!s){const h=oQ(qIe(o,m=>m.type==="Group"&&!!m.flags)),d=h?Dv(n.globalFlags,h):n.globalFlags;$Ie(d,n.currentFlags)||(f=Ai({flags:VIe(d)}),f.body[0].body.push(u))}r(Dr(f,t),{traverse:!s})}},FIe={Backreference({node:e,parent:t,replaceWith:r},n){if(e.orphan){n.highestOrphanBackref=Math.max(n.highestOrphanBackref,e.ref);return}const i=n.reffedNodesByReferencer.get(e).filter(o=>UIe(o,e));if(!i.length)r(Dr(ru({negate:!0}),t));else if(i.length>1){const o=Ai({atomic:!0,body:i.reverse().map(s=>Au({body:[BS(s.number)]}))});r(Dr(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 r=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let n=0;n<r;n++){const a=WX();e.body.at(-1).body.push(a)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function aQ(e){Zd(e,{"*"({node:t,parent:r}){t.parent=r}})}function $Ie(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function UIe(e,t){let r=t;do{if(r.type==="Regex")return!1;if(r.type==="Alternative")continue;if(r===e)return!1;const n=sQ(r.parent);for(const a of n){if(a===r)break;if(a===e||uQ(a,e))return!0}}while(r=r.parent);throw new Error("Unexpected path")}function iQ(e,t,r,n){const a=Array.isArray(e)?[]:{};for(const[i,o]of Object.entries(e))i==="parent"?a.parent=Array.isArray(r)?n:r:o&&typeof o=="object"?a[i]=iQ(o,t,a,r):(i==="type"&&o==="CapturingGroup"&&t.set(a,t.get(e)??e),a[i]=o);return a}function Lz(e){const t=XX(e);return t.isRecursive=!0,t}function qIe(e,t){const r=[];for(;e=e.parent;)(!t||t(e))&&r.push(e);return r}function ew(e,t){if(t.has(e))return t.get(e);const r=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,r),r}function oQ(e){const t=["dotAll","ignoreCase"],r={enable:{},disable:{}};return e.forEach(({flags:n})=>{t.forEach(a=>{n.enable?.[a]&&(delete r.disable[a],r.enable[a]=!0),n.disable?.[a]&&(r.disable[a]=!0)})}),Object.keys(r.enable).length||delete r.enable,Object.keys(r.disable).length||delete r.disable,r.enable||r.disable?r:null}function VIe({dotAll:e,ignoreCase:t}){const r={};return(e||t)&&(r.enable={},e&&(r.enable.dotAll=!0),t&&(r.enable.ignoreCase=!0)),(!e||!t)&&(r.disable={},!e&&(r.disable.dotAll=!0),!t&&(r.disable.ignoreCase=!0)),r}function sQ(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function lQ(e){const t=e.find(r=>r.kind==="search_start"||WIe(r,{negate:!1})||!GIe(r));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 r=[];for(const n of t.body){const a=lQ(n.body);if(!a)return null;Array.isArray(a)?r.push(...a):r.push(a)}return r}return null}function uQ(e,t){const r=sQ(e)??[];for(const n of r)if(n===t||uQ(n,t))return!0;return!1}function GIe({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function YIe(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function WIe(e,t){const r={negate:null,...t};return e.type==="LookaroundAssertion"&&(r.negate===null||e.negate===r.negate)&&e.body.length===1&&GX(e.body[0],{type:"Assertion",kind:"search_start"})}function tw(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Uo(e,t){const n=YX(e,{...t,unicodePropertyMap:q8}).body;return n.length>1||n[0].body.length>1?Ai({body:n}):n[0].body[0]}function rw(e,t){return e.negate=t,e}function Zs(e,t){return e.parent=t,e}function Dr(e,t){return aQ(e),e.parent=t,e}function KIe(e,t){const r=tQ(t),n=FS(r.target,"ES2024"),a=FS(r.target,"ES2025"),i=r.rules.recursionLimit;if(!Number.isInteger(i)||i<2||i>20)throw new Error("Invalid recursionLimit; use 2-20");let o=null,s=null;if(!a){const v=[e.flags.ignoreCase];Zd(e,XIe,{getCurrentModI:()=>v.at(-1),popModI(){v.pop()},pushModI(y){v.push(y)},setHasCasedChar(){v.at(-1)?o=!0:s=!0}})}const u={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||o)&&!s)};let f=e;const h={accuracy:r.accuracy,appliedGlobalFlags:u,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:f,originMap:e._originMap,recursionLimit:i,useAppliedIgnoreCase:!!(!a&&o&&s),useFlagMods:a,useFlagV:n,verbose:r.verbose};function d(v){return h.lastNode=f,f=v,kIe(QIe[v.type],`Unexpected node type "${v.type}"`)(v,h,d)}const m={pattern:e.body.map(d).join("|"),flags:d(e.flags),options:{...e.options}};return n||(delete m.options.force.v,m.options.disable.v=!0,m.options.unicodeSetsPlugin=null),m._captureTransfers=new Map,m._hiddenCaptures=[],h.captureMap.forEach((v,y)=>{v.hidden&&m._hiddenCaptures.push(y),v.transferTo&&tp(m._captureTransfers,v.transferTo,[]).push(y)}),m}var XIe={"*":{enter({node:e},t){if(Bz(e)){const r=t.getCurrentModI();t.pushModI(e.flags?Dv({ignoreCase:r},e.flags).ignoreCase:r)}},exit({node:e},t){Bz(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){V8(tn(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},r){t(),cQ(e,{firstOnly:!0}).length&&r.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&nQ.has(e.value)&&t.setHasCasedChar()}},QIe={Alternative({body:e},t,r){return e.map(r).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?ut`\B`:ut`\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,r){const{body:n,name:a,number:i}=e,o={ignoreCase:t.currentFlags.ignoreCase},s=t.originMap.get(e);return s&&(o.hidden=!0,i>s.number&&(o.transferTo=s.number)),t.captureMap.set(i,o),`(${a?`?<${a}>`:""}${n.map(r).join("|")})`},Character({value:e},t){const r=tn(e),n=qc(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(n!==r)return n;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&V8(r)){const a=rQ(r);return t.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return r},CharacterClass(e,t,r){const{kind:n,negate:a,parent:i}=e;let{body:o}=e;if(n==="intersection"&&!t.useFlagV)throw new Error("Use of class intersection requires min target ES2024");rs.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&o.some(zz)&&(o=[vb(45),...o.filter(f=>!zz(f))]);const s=()=>`[${a?"^":""}${o.map(r).join(n==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||rs.bugNestedClassIgnoresNegation)&&!a){const h=o.filter(d=>d.type==="CharacterClass"&&d.kind==="union"&&d.negate);if(h.length){const d=Ai(),m=d.body[0];return d.parent=i,m.parent=d,o=o.filter(v=>!h.includes(v)),e.body=o,o.length?(e.parent=m,m.body.push(e)):d.body.pop(),h.forEach(v=>{const y=Au({body:[v]});v.parent=y,y.parent=d,d.body.push(y)}),r(d)}}t.inCharClass=!0;const f=s();return t.inCharClass=!1,f}const u=o[0];if(n==="union"&&!a&&u&&((!t.useFlagV||!t.verbose)&&i.kind==="union"&&!(rs.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&i.kind==="intersection"&&o.length===1&&u.type!=="CharacterClassRange"))return o.map(r).join("");if(!t.useFlagV&&i.type==="CharacterClass")throw new Error("Use of nested character class requires min target ES2024");return s()},CharacterClassRange(e,t){const r=e.min.value,n=e.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},i=qc(r,a),o=qc(n,a),s=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const u=cQ(e);rDe(u).forEach(h=>{s.add(Array.isArray(h)?`${qc(h[0],a)}-${qc(h[1],a)}`:qc(h,a))})}return`${i}-${o}${[...s].join("")}`},CharacterSet({kind:e,negate:t,value:r,key:n},a){if(e==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":ut`[^\n]`;if(e==="digit")return t?ut`\D`:ut`\d`;if(e==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&nQ.has(r))throw new Error(`Unicode property "${r}" can't be case-insensitive when other chars have specific case`);return`${t?ut`\P`:ut`\p`}{${n?`${n}=`:""}${r}}`}if(e==="word")return t?ut`\W`:ut`\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:r,parent:n},a,i){const o=a.currentFlags;r&&(a.currentFlags=Dv(o,r));const s=t.map(i).join("|"),u=!a.verbose&&t.length===1&&n.type!=="Quantifier"&&!e&&(!a.useFlagMods||!r)?s:`(?${nDe(e,r,a.useFlagMods)}${s})`;return a.currentFlags=o,u},LookaroundAssertion({body:e,kind:t,negate:r},n,a){return`(?${`${t==="lookahead"?"":"<"}${r?"!":"="}`}${e.map(a).join("|")})`},Quantifier(e,t,r){return r(e.body)+aDe(e)},Subroutine({isRecursive:e,ref:t},r){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const n=r.recursionLimit;return t===0?`(?R=${n})`:ut`\g<${t}&R=${n}>`}},ZIe=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),JIe=new Set(["-","\\","]","^","["]),eDe=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),jz=new Map([[9,ut`\t`],[10,ut`\n`],[11,ut`\v`],[12,ut`\f`],[13,ut`\r`],[8232,ut`\u2028`],[8233,ut`\u2029`],[65279,ut`\uFEFF`]]),tDe=new RegExp("^\\p{Cased}$","u");function V8(e){return tDe.test(e)}function cQ(e,t){const r=!!t?.firstOnly,n=e.min.value,a=e.max.value,i=[];if(n<65&&(a===65535||a>=131071)||n===65536&&a>=131071)return i;for(let o=n;o<=a;o++){const s=tn(o);if(!V8(s))continue;const u=rQ(s).filter(f=>{const h=f.codePointAt(0);return h<n||h>a});if(u.length&&(i.push(...u),r))break}return i}function qc(e,{escDigit:t,inCharClass:r,useFlagV:n}){if(jz.has(e))return jz.get(e);if(e<32||e>126&&e<160||e>262143||t&&iDe(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const a=r?n?eDe:JIe:ZIe,i=tn(e);return(a.has(i)?"\\":"")+i}function rDe(e){const t=e.map(a=>a.codePointAt(0)).sort((a,i)=>a-i),r=[];let n=null;for(let a=0;a<t.length;a++)t[a+1]===t[a]+1?n??=t[a]:n===null?r.push(t[a]):(r.push([n,t[a]]),n=null);return r}function nDe(e,t,r){if(e)return">";let n="";if(t&&r){const{enable:a,disable:i}=t;n=(a?.ignoreCase?"i":"")+(a?.dotAll?"s":"")+(i?"-":"")+(i?.ignoreCase?"i":"")+(i?.dotAll?"s":"")}return`${n}:`}function aDe({kind:e,max:t,min:r}){let n;return!r&&t===1?n="?":!r&&t===1/0?n="*":r===1&&t===1/0?n="+":r===t?n=`{${r}}`:n=`{${r},${t===1/0?"":t}}`,n+{greedy:"",lazy:"?",possessive:"+"}[e]}function Bz({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function iDe(e){return e>47&&e<58}function zz({type:e,value:t}){return e==="Character"&&t===45}var oDe=class $S extends RegExp{#t=new Map;#e=null;#r;#a=null;#n=null;rawOptions={};get source(){return this.#r||"(?:)"}constructor(t,r,n){const a=!!n?.lazyCompile;if(t instanceof RegExp){if(n)throw new Error("Cannot provide options when copying a regexp");const i=t;super(i,r),this.#r=i.source,i instanceof $S&&(this.#t=i.#t,this.#a=i.#a,this.#n=i.#n,this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...n};super(a?"":t,r),this.#r=t,this.#t=lDe(i.hiddenCaptures,i.transfers),this.#n=i.strategy,this.rawOptions=n??{}}a||(this.#e=this)}exec(t){if(!this.#e){const{lazyCompile:a,...i}=this.rawOptions;this.#e=new $S(this.#r,this.flags,i)}const r=this.global||this.sticky,n=this.lastIndex;if(this.#n==="clip_search"&&r&&n){this.lastIndex=0;const a=this.#i(t.slice(n));return a&&(sDe(a,n,t,this.hasIndices),this.lastIndex+=n),a}return this.#i(t)}#i(t){this.#e.lastIndex=this.lastIndex;const r=super.exec.call(this.#e,t);if(this.lastIndex=this.#e.lastIndex,!r||!this.#t.size)return r;const n=[...r];r.length=1;let a;this.hasIndices&&(a=[...r.indices],r.indices.length=1);const i=[0];for(let o=1;o<n.length;o++){const{hidden:s,transferTo:u}=this.#t.get(o)??{};if(s?i.push(null):(i.push(r.length),r.push(n[o]),this.hasIndices&&r.indices.push(a[o])),u&&n[o]!==void 0){const f=i[u];if(!f)throw new Error(`Invalid capture transfer to "${f}"`);if(r[f]=n[o],this.hasIndices&&(r.indices[f]=a[o]),r.groups){this.#a||(this.#a=uDe(this.source));const h=this.#a.get(u);h&&(r.groups[h]=n[o],this.hasIndices&&(r.indices.groups[h]=a[o]))}}}return r}};function sDe(e,t,r,n){if(e.index+=t,e.input=r,n){const a=e.indices;for(let o=0;o<a.length;o++){const s=a[o];s&&(a[o]=[s[0]+t,s[1]+t])}const i=a.groups;
840i&&Object.keys(i).forEach(o=>{const s=i[o];s&&(i[o]=[s[0]+t,s[1]+t])})}}function lDe(e,t){const r=new Map;for(const n of e)r.set(n,{hidden:!0});for(const[n,a]of t)for(const i of a)tp(r,i,{}).transferTo=n;return r}function uDe(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,r=new Map;let n=0,a=0,i;for(;i=t.exec(e);){const{0:o,groups:{capture:s,name:u}}=i;o==="["?n++:n?o==="]"&&n--:s&&(a++,u&&r.set(a,u))}return r}function cDe(e,t){const r=fDe(e,t);return r.options?new oDe(r.pattern,r.flags,r.options):new RegExp(r.pattern,r.flags)}function fDe(e,t){const r=tQ(t),n=YX(e,{flags:r.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:r.rules.captureGroup,singleline:r.rules.singleline},skipBackrefValidation:r.rules.allowOrphanBackrefs,unicodePropertyMap:q8}),a=BIe(n,{accuracy:r.accuracy,asciiWordBoundaries:r.rules.asciiWordBoundaries,avoidSubclass:r.avoidSubclass,bestEffortTarget:r.target}),i=KIe(a,r),o=CIe(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),s=TIe(o.pattern),u=SIe(s.pattern,{captureTransfers:o.captureTransfers,hiddenCaptures:o.hiddenCaptures}),f={pattern:u.pattern,flags:`${r.hasIndices?"d":""}${r.global?"g":""}${i.flags}${i.options.disable.v?"u":"v"}`};if(r.avoidSubclass){if(r.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const h=u.hiddenCaptures.sort((y,b)=>y-b),d=Array.from(u.captureTransfers),m=a._strategy,v=f.pattern.length>=r.lazyCompileLength;(h.length||d.length||m||v)&&(f.options={...h.length&&{hiddenCaptures:h},...d.length&&{transfers:d},...m&&{strategy:m},...v&&{lazyCompile:v}})}return f}const Hz=4294967295;class dDe{constructor(t,r={}){this.patterns=t,this.options=r;const{forgiving:n=!1,cache:a,regexConstructor:i}=r;if(!i)throw new Error("Option `regexConstructor` is not provided");this.regexps=t.map(o=>{if(typeof o!="string")return o;const s=a?.get(o);if(s){if(s instanceof RegExp)return s;if(n)return null;throw s}try{const u=i(o);return a?.set(o,u),u}catch(u){if(a?.set(o,u),n)return null;throw u}})}regexps;findNextMatchSync(t,r,n){const a=typeof t=="string"?t:t.content,i=[];function o(s,u,f=0){return{index:s,captureIndices:u.indices.map(h=>h==null?{start:Hz,end:Hz,length:0}:{start:h[0]+f,end:h[1]+f,length:h[1]-h[0]})}}for(let s=0;s<this.regexps.length;s++){const u=this.regexps[s];if(u)try{u.lastIndex=r;const f=u.exec(a);if(!f)continue;if(f.index===r)return o(s,f,0);i.push([s,f,0])}catch(f){if(this.options.forgiving)continue;throw f}}if(i.length){const s=Math.min(...i.map(u=>u[1].index));for(const[u,f,h]of i)if(f.index===s)return o(u,f,h)}return null}}function hDe(e,t){return cDe(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function pDe(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=r=>hDe(r,{target:t.target}),{createScanner(r){return new dDe(r,t)},createString(r){return{content:r}}}}function G8(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Uu=G8();function fQ(e){Uu=e}var Jd={exec:()=>null};function zt(e,t=""){let r=typeof e=="string"?e:e.source,n={replace:(a,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace(Wn.caret,"$1"),r=r.replace(a,o),n},getRegex:()=>new RegExp(r,t)};return n}var Wn={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")},mDe=/^(?:[ \t]*(?:\n|$))+/,gDe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,vDe=/^ {0,3}(`{3,}
840(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Pp=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,yDe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Y8=/(?:[*+-]|\d{1,9}[.)])/,dQ=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,hQ=zt(dQ).replace(/bull/g,Y8).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(),bDe=zt(dQ).replace(/bull/g,Y8).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(),W8=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,xDe=/^[^\n]+/,K8=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,EDe=zt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",K8).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),_De=zt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Y8).getRegex(),xb="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",X8=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,wDe=zt("^ {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",X8).replace("tag",xb).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),pQ=zt(W8).replace("hr",Pp).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",xb).getRegex(),SDe=zt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",pQ).getRegex(),Q8={blockquote:SDe,code:gDe,def:EDe,fences:vDe,heading:yDe,hr:Pp,html:wDe,lheading:hQ,list:_De,newline:mDe,paragraph:pQ,table:Jd,text:xDe},Fz=zt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Pp).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",xb).getRegex(),TDe={...Q8,lheading:bDe,table:Fz,paragraph:zt(W8).replace("hr",Pp).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Fz).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",xb).getRegex()},ADe={...Q8,html:zt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",X8).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:Jd,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:zt(W8).replace("hr",Pp).replace("heading",` *#{1,6} *[^ 841]`).replace("lheading",hQ).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},CDe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ODe=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,mQ=/^( {2,}|\\)\n(?!\s*$)/,kDe=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Eb=/[\p{P}\p{S}]/u,Z8=/[\s\p{P}\p{S}]/u,gQ=/[^\s\p{P}\p{S}]/u,NDe=zt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Z8).getRegex(),vQ=/(?!~)[\p{P}\p{S}]/u,RDe=/(?!~)[\s\p{P}\p{S}]/u,MDe=/(?:[^\s\p{P}\p{S}
vendor: 6,385 bytes, lines 841-847
841]|~)/u,PDe=zt(/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(),yQ=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,IDe=zt(yQ,"u").replace(/punct/g,Eb).getRegex(),DDe=zt(yQ,"u").replace(/punct/g,vQ).getRegex(),bQ="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",LDe=zt(bQ,"gu").replace(/notPunctSpace/g,gQ).replace(/punctSpace/g,Z8).replace(/punct/g,Eb).getRegex(),jDe=zt(bQ,"gu").replace(/notPunctSpace/g,MDe).replace(/punctSpace/g,RDe).replace(/punct/g,vQ).getRegex(),BDe=zt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,gQ).replace(/punctSpace/g,Z8).replace(/punct/g,Eb).getRegex(),zDe=zt(/\\(punct)/,"gu").replace(/punct/g,Eb).getRegex(),HDe=zt(/^<(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(),FDe=zt(X8).replace("(?:-->|$)","-->").getRegex(),$De=zt("^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",FDe).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Lv=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,UDe=zt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Lv).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),xQ=zt(/^!?\[(label)\]\[(ref)\]/).replace("label",Lv).replace("ref",K8).getRegex(),EQ=zt(/^!?\[(ref)\](?:\[\])?/).replace("ref",K8).getRegex(),qDe=zt("reflink|nolink(?!\\()","g").replace("reflink",xQ).replace("nolink",EQ).getRegex(),$z=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,J8={_backpedal:Jd,anyPunctuation:zDe,autolink:HDe,blockSkip:PDe,br:mQ,code:ODe,del:Jd,emStrongLDelim:IDe,emStrongRDelimAst:LDe,emStrongRDelimUnd:BDe,escape:CDe,link:UDe,nolink:EQ,punctuation:NDe,reflink:xQ,reflinkSearch:qDe,tag:$De,text:kDe,url:Jd},VDe={...J8,link:zt(/^!?\[(label)\]\((.*?)\)/).replace("label",Lv).getRegex(),reflink:zt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Lv).getRegex()},US={...J8,emStrongRDelimAst:jDe,emStrongLDelim:DDe,url:zt(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",$z).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:zt(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",$z).getRegex()},GDe={...US,br:zt(mQ).replace("{2,}","*").getRegex(),text:zt(US.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},qg={normal:Q8,gfm:TDe,pedantic:ADe},_d={normal:J8,gfm:US,breaks:GDe,pedantic:VDe},YDe={"&":"&","<":"<",">":">",'"':""","'":"'"},Uz=e=>YDe[e];function Yi(e,t){if(t){if(Wn.escapeTest.test(e))return e.replace(Wn.escapeReplace,Uz)}else if(Wn.escapeTestNoEncode.test(e))return e.replace(Wn.escapeReplaceNoEncode,Uz);return e}function qz(e){try{e=encodeURI(e).replace(Wn.percentDecode,"%")}catch{return null}return e}function Vz(e,t){let r=e.replace(Wn.findPipe,(i,o,s)=>{let u=!1,f=o;for(;--f>=0&&s[f]==="\\";)u=!u;return u?"|":" |"}),n=r.split(Wn.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(Wn.slashPipe,"|");return n}function wd(e,t,r){let n=e.length;if(n===0)return"";let a=0;for(;a<n&&e.charAt(n-a-1)===t;)a++;return e.slice(0,n-a)}function WDe(e,t){if(e.indexOf(t[1])===-1)return-1;let r=0;for(let n=0;n<e.length;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}function Gz(e,t,r,n,a){let i=t.href,o=t.title||null,s=e[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let u={type:e[0].charAt(0)==="!"?"image":"link",raw:r,href:i,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,u}function KDe(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(n===null)return t;let a=n[1];return t.split(` 842`).map(i=>{let o=i.match(r.other.beginningSpace);if(o===null)return i;let[s]=o;return s.length>=a.length?i.slice(a.length):i}).join(` 843`)}var jv=class{options;rules;lexer;constructor(e){this.options=e||Uu}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 r=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:wd(r,` 844`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let r=t[0],n=KDe(r,t[3]||"",this.rules);return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let r=t[2].trim();if(this.rules.other.endingHash.test(r)){let n=wd(r,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:wd(t[0],` 845`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let r=wd(t[0],` 846`).split(` 847`),n="",a="",i=[];for(;r.length>0;){let o=!1,s=[],u;
vendor: 4,277 bytes, lines 847-864
847for(u=0;u<r.length;u++)if(this.rules.other.blockquoteStart.test(r[u]))s.push(r[u]),o=!0;else if(!o)s.push(r[u]);else break;r=r.slice(u);let f=s.join(` 848`),h=f.replace(this.rules.other.blockquoteSetextReplace,` 849 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n} 850${f}`:f,a=a?`${a} 851${h}`:h;let d=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,i,!0),this.lexer.state.top=d,r.length===0)break;let m=i.at(-1);if(m?.type==="code")break;if(m?.type==="blockquote"){let v=m,y=v.raw+` 852`+r.join(` 853`),b=this.blockquote(y);i[i.length-1]=b,n=n.substring(0,n.length-v.raw.length)+b.raw,a=a.substring(0,a.length-v.text.length)+b.text;break}else if(m?.type==="list"){let v=m,y=v.raw+` 854`+r.join(` 855`),b=this.list(y);i[i.length-1]=b,n=n.substring(0,n.length-m.raw.length)+b.raw,a=a.substring(0,a.length-v.raw.length)+b.raw,r=y.substring(i.at(-1).raw.length).split(` 856`);continue}}return{type:"blockquote",raw:n,tokens:i,text:a}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let i=this.rules.other.listItemRegex(r),o=!1;for(;e;){let u=!1,f="",h="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;f=t[0],e=e.substring(f.length);let d=t[2].split(` 857`,1)[0].replace(this.rules.other.listReplaceTabs,_=>" ".repeat(3*_.length)),m=e.split(` 858`,1)[0],v=!d.trim(),y=0;if(this.options.pedantic?(y=2,h=d.trimStart()):v?y=t[1].length+1:(y=t[2].search(this.rules.other.nonSpaceChar),y=y>4?1:y,h=d.slice(y),y+=t[1].length),v&&this.rules.other.blankLine.test(m)&&(f+=m+` 859`,e=e.substring(m.length+1),u=!0),!u){let _=this.rules.other.nextBulletRegex(y),A=this.rules.other.hrRegex(y),C=this.rules.other.fencesBeginRegex(y),P=this.rules.other.headingBeginRegex(y),O=this.rules.other.htmlBeginRegex(y);for(;e;){let k=e.split(` 860`,1)[0],M;if(m=k,this.options.pedantic?(m=m.replace(this.rules.other.listReplaceNesting," "),M=m):M=m.replace(this.rules.other.tabCharGlobal," "),C.test(m)||P.test(m)||O.test(m)||_.test(m)||A.test(m))break;if(M.search(this.rules.other.nonSpaceChar)>=y||!m.trim())h+=` 861`+M.slice(y);else{if(v||d.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||C.test(d)||P.test(d)||A.test(d))break;h+=` 862`+m}!v&&!m.trim()&&(v=!0),f+=k+` 863`,e=e.substring(k.length+1),d=M.slice(y)}}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(f)&&(o=!0));let b=null,E;this.options.gfm&&(b=this.rules.other.listIsTask.exec(h),b&&(E=b[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:f,task:!!b,checked:E,loose:!1,text:h,tokens:[]}),a.raw+=f}let s=a.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.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 f=a.items[u].tokens.filter(d=>d.type==="space"),h=f.length>0&&f.some(d=>this.rules.other.anyLine.test(d.raw));a.loose=h}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 r=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=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:r,raw:t[0],href:n,title:a}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let r=Vz(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(` 864`):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let o of n)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<r.length;
vendor: 5,317 bytes, lines 864-866
864o++)i.header.push({text:r[o],tokens:this.lexer.inline(r[o]),header:!0,align:i.align[o]});for(let o of a)i.rows.push(Vz(o,i.header.length).map((s,u)=>({text:s,tokens:this.lexer.inline(s),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 r=t[1].charAt(t[1].length-1)===` 865`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:r,tokens:this.lexer.inline(r)}}}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 r=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let i=wd(r.slice(0,-1),"\\");if((r.length-i.length)%2===0)return}else{let i=WDe(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 n=t[2],a="";if(this.options.pedantic){let i=this.rules.other.pedanticHrefTitle.exec(n);i&&(n=i[1],a=i[3])}else a=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?n=n.slice(1):n=n.slice(1,-1)),Gz(t,{href:n&&n.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 r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let n=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=t[n.toLowerCase()];if(!a){let i=r[0].charAt(0);return{type:"text",raw:i,text:i}}return Gz(r,a,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let a=[...n[0]].length-1,i,o,s=a,u=0,f=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,t=t.slice(-1*e.length+a);(n=f.exec(t))!=null;){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!i)continue;if(o=[...i].length,n[3]||n[4]){s+=o;continue}else if((n[5]||n[6])&&a%3&&!((a+o)%3)){u+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+u);let h=[...n[0]][0].length,d=e.slice(0,a+n.index+h+o);if(Math.min(a,o)%2){let v=d.slice(1,-1);return{type:"em",raw:d,text:v,tokens:this.lexer.inlineTokens(v)}}let m=d.slice(2,-2);return{type:"strong",raw:d,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let r=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(r),a=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return n&&a&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:t[0],text:r}}}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 r,n;return t[2]==="@"?(r=t[1],n="mailto:"+r):(r=t[1],n=r),{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let r,n;if(t[2]==="@")r=t[0],n="mailto:"+r;else{let a;do a=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(a!==t[0]);r=t[0],t[1]==="www."?n="http://"+t[0]:n=t[0]}return{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let r=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:r}}}},ni=class qS{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Uu,this.options.tokenizer=this.options.tokenizer||new jv,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 r={other:Wn,block:qg.normal,inline:_d.normal};this.options.pedantic?(r.block=qg.pedantic,r.inline=_d.pedantic):this.options.gfm&&(r.block=qg.gfm,this.options.breaks?r.inline=_d.breaks:r.inline=_d.gfm),this.tokenizer.rules=r}static get rules(){return{block:qg,inline:_d}}static lex(t,r){return new qS(r).lex(t)}static lexInline(t,r){return new qS(r).inlineTokens(t)}lex(t){t=t.replace(Wn.carriageReturn,` 866`),this.blockTokens(t,this.tokens);for(let r=0;
vendor: 11,918 bytes, lines 866-898
866r<this.inlineQueue.length;r++){let n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){for(this.options.pedantic&&(t=t.replace(Wn.tabCharGlobal," ").replace(Wn.spaceLine,""));t;){let a;if(this.options.extensions?.block?.some(o=>(a=o.call({lexer:this},t,r))?(t=t.substring(a.raw.length),r.push(a),!0):!1))continue;if(a=this.tokenizer.space(t)){t=t.substring(a.raw.length);let o=r.at(-1);a.raw.length===1&&o!==void 0?o.raw+=` 867`:r.push(a);continue}if(a=this.tokenizer.code(t)){t=t.substring(a.raw.length);let o=r.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(` 868`)?"":` 869`)+a.raw,o.text+=` 870`+a.text,this.inlineQueue.at(-1).src=o.text):r.push(a);continue}if(a=this.tokenizer.fences(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.heading(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.hr(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.blockquote(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.list(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.html(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.def(t)){t=t.substring(a.raw.length);let o=r.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(` 871`)?"":` 872`)+a.raw,o.text+=` 873`+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},r.push(a));continue}if(a=this.tokenizer.table(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.lheading(t)){t=t.substring(a.raw.length),r.push(a);continue}let i=t;if(this.options.extensions?.startBlock){let o=1/0,s=t.slice(1),u;this.options.extensions.startBlock.forEach(f=>{u=f.call({lexer:this},s),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=r.at(-1);n&&o?.type==="paragraph"?(o.raw+=(o.raw.endsWith(` 874`)?"":` 875`)+a.raw,o.text+=` 876`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):r.push(a),n=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=r.at(-1);o?.type==="text"?(o.raw+=(o.raw.endsWith(` 877`)?"":` 878`)+a.raw,o.text+=` 879`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):r.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,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){let n=t,a=null;if(this.tokens.links){let s=Object.keys(this.tokens.links);if(s.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)s.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,a.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(a=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let i=!1,o="";for(;t;){i||(o=""),i=!1;let s;if(this.options.extensions?.inline?.some(f=>(s=f.call({lexer:this},t,r))?(t=t.substring(s.raw.length),r.push(s),!0):!1))continue;if(s=this.tokenizer.escape(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.tag(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.link(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(s.raw.length);let f=r.at(-1);s.type==="text"&&f?.type==="text"?(f.raw+=s.raw,f.text+=s.text):r.push(s);continue}if(s=this.tokenizer.emStrong(t,n,o)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.codespan(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.br(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.del(t)){t=t.substring(s.raw.length),r.push(s);continue}if(s=this.tokenizer.autolink(t)){t=t.substring(s.raw.length),r.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(t))){t=t.substring(s.raw.length),r.push(s);continue}let u=t;if(this.options.extensions?.startInline){let f=1/0,h=t.slice(1),d;this.options.extensions.startInline.forEach(m=>{d=m.call({lexer:this},h),typeof d=="number"&&d>=0&&(f=Math.min(f,d))}),f<1/0&&f>=0&&(u=t.substring(0,f+1))}if(s=this.tokenizer.inlineText(u)){t=t.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(o=s.raw.slice(-1)),i=!0;let f=r.at(-1);f?.type==="text"?(f.raw+=s.raw,f.text+=s.text):r.push(s);continue}if(t){let f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return r}},Bv=class{options;parser;constructor(t){this.options=t||Uu}space(t){return""}code({text:t,lang:r,escaped:n}){let a=(r||"").match(Wn.notSpaceStart)?.[0],i=t.replace(Wn.endingNewline,"")+` 880`;return a?'<pre><code class="language-'+Yi(a)+'">'+(n?i:Yi(i,!0))+`</code></pre> 881`:"<pre><code>"+(n?i:Yi(i,!0))+`</code></pre> 882`}blockquote({tokens:t}){return`<blockquote> 883${this.parser.parse(t)}</blockquote> 884`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}> 885`}hr(t){return`<hr> 886`}list(t){let r=t.ordered,n=t.start,a="";for(let s=0;s<t.items.length;s++){let u=t.items[s];a+=this.listitem(u)}let i=r?"ol":"ul",o=r&&n!==1?' start="'+n+'"':"";return"<"+i+o+`> 887`+a+"</"+i+`> 888`}listitem(t){let r="";if(t.task){let n=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=n+" "+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=n+" "+Yi(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):r+=n+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`<li>${r}</li> 889`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p> 890`}table(t){let r="",n="";for(let i=0;i<t.header.length;i++)n+=this.tablecell(t.header[i]);r+=this.tablerow({text:n});let a="";for(let i=0;i<t.rows.length;i++){let o=t.rows[i];n="";for(let s=0;s<o.length;s++)n+=this.tablecell(o[s]);a+=this.tablerow({text:n})}return a&&(a=`<tbody>${a}</tbody>`),`<table> 891<thead> 892`+r+`</thead> 893`+a+`</table> 894`}tablerow({text:t}){return`<tr> 895${t}</tr> 896`}tablecell(t){let r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}> 897`}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>${Yi(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:r,tokens:n}){let a=this.parser.parseInline(n),i=qz(t);if(i===null)return a;t=i;let o='<a href="'+t+'"';return r&&(o+=' title="'+Yi(r)+'"'),o+=">"+a+"</a>",o}image({href:t,title:r,text:n,tokens:a}){a&&(n=this.parser.parseInline(a,this.parser.textRenderer));let i=qz(t);if(i===null)return Yi(n);t=i;let o=`<img src="${t}" alt="${n}"`;return r&&(o+=` title="${Yi(r)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:Yi(t.text)}},e7=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""}},Si=class VS{options;renderer;textRenderer;constructor(t){this.options=t||Uu,this.options.renderer=this.options.renderer||new Bv,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new e7}static parse(t,r){return new VS(r).parse(t)}static parseInline(t,r){return new VS(r).parseInline(t)}parse(t,r=!0){let n="";for(let a=0;a<t.length;a++){let i=t[a];if(this.options.extensions?.renderers?.[i.type]){let s=i,u=this.options.extensions.renderers[s.type].call({parser:this},s);if(u!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(s.type)){n+=u||"";continue}}let o=i;switch(o.type){case"space":{n+=this.renderer.space(o);continue}case"hr":{n+=this.renderer.hr(o);continue}case"heading":{n+=this.renderer.heading(o);continue}case"code":{n+=this.renderer.code(o);continue}case"table":{n+=this.renderer.table(o);continue}case"blockquote":{n+=this.renderer.blockquote(o);continue}case"list":{n+=this.renderer.list(o);continue}case"html":{n+=this.renderer.html(o);continue}case"def":{n+=this.renderer.def(o);continue}case"paragraph":{n+=this.renderer.paragraph(o);continue}case"text":{let s=o,u=this.renderer.text(s);for(;a+1<t.length&&t[a+1].type==="text";)s=t[++a],u+=` 898`+this.renderer.text(s);r?n+=this.renderer.paragraph({type:"paragraph",raw:u,text:u,tokens:[{type:"text",raw:u,text:u,escaped:!0}]}):n+=u;continue}default:{let s='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return n}parseInline(t,r=this.renderer){let n="";for(let a=0;a<t.length;a++){let i=t[a];if(this.options.extensions?.renderers?.[i.type]){let s=this.options.extensions.renderers[i.type].call({parser:this},i);if(s!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=s||"";continue}}let o=i;switch(o.type){case"escape":{n+=r.text(o);break}case"html":{n+=r.html(o);break}case"link":{n+=r.link(o);break}case"image":{n+=r.image(o);break}case"strong":{n+=r.strong(o);break}case"em":{n+=r.em(o);break}case"codespan":{n+=r.codespan(o);break}case"br":{n+=r.br(o);break}case"del":{n+=r.del(o);break}case"text":{n+=r.text(o);break}default:{let s='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return n}},Pd=class{options;block;constructor(e){this.options=e||Uu}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?ni.lex:ni.lexInline}provideParser(){return this.block?Si.parse:Si.parseInline}},XDe=class{defaults=G8();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Si;Renderer=Bv;TextRenderer=e7;Lexer=ni;Tokenizer=jv;Hooks=Pd;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":{let a=n;for(let i of a.header)r=r.concat(this.walkTokens(i.tokens,t));for(let i of a.rows)for(let o of i)r=r.concat(this.walkTokens(o.tokens,t));break}case"list":{let a=n;r=r.concat(this.walkTokens(a.items,t));break}default:{let a=n;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(i=>{let o=a[i].flat(1/0);r=r.concat(this.walkTokens(o,t))}):a.tokens&&(r=r.concat(this.walkTokens(a.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(r=>{let n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.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 s=a.renderer.apply(this,o);return s===!1&&(s=i.apply(this,o)),s}:t.renderers[a.name]=a.renderer}
898if("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)}),n.extensions=t),r.renderer){let a=this.defaults.renderer||new Bv(this.defaults);for(let i in r.renderer){if(!(i in a))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let o=i,s=r.renderer[o],u=a[o];a[o]=(...f)=>{let h=s.apply(a,f);return h===!1&&(h=u.apply(a,f)),h||""}}n.renderer=a}if(r.tokenizer){let a=this.defaults.tokenizer||new jv(this.defaults);for(let i in r.tokenizer){if(!(i in a))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let o=i,s=r.tokenizer[o],u=a[o];a[o]=(...f)=>{let h=s.apply(a,f);return h===!1&&(h=u.apply(a,f)),h}}n.tokenizer=a}if(r.hooks){let a=this.defaults.hooks||new Pd;for(let i in r.hooks){if(!(i in a))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let o=i,s=r.hooks[o],u=a[o];Pd.passThroughHooks.has(i)?a[o]=f=>{if(this.defaults.async&&Pd.passThroughHooksRespectAsync.has(i))return(async()=>{let d=await s.call(a,f);return u.call(a,d)})();let h=s.call(a,f);return u.call(a,h)}:a[o]=(...f)=>{if(this.defaults.async)return(async()=>{let d=await s.apply(a,f);return d===!1&&(d=await u.apply(a,f)),d})();let h=s.apply(a,f);return h===!1&&(h=u.apply(a,f)),h}}n.hooks=a}if(r.walkTokens){let a=this.defaults.walkTokens,i=r.walkTokens;n.walkTokens=function(o){let s=[];return s.push(i.call(this,o)),a&&(s=s.concat(a.call(this,o))),s}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return ni.lex(e,t??this.defaults)}parser(e,t){return Si.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},a={...this.defaults,...n},i=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&n.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,s=await(a.hooks?await a.hooks.provideLexer():e?ni.lex:ni.lexInline)(o,a),u=a.hooks?await a.hooks.processAllTokens(s):s;a.walkTokens&&await Promise.all(this.walkTokens(u,a.walkTokens));let f=await(a.hooks?await a.hooks.provideParser():e?Si.parse:Si.parseInline)(u,a);return a.hooks?await a.hooks.postprocess(f):f})().catch(i);try{a.hooks&&(t=a.hooks.preprocess(t));let o=(a.hooks?a.hooks.provideLexer():e?ni.lex:ni.lexInline)(t,a);a.hooks&&(o=a.hooks.processAllTokens(o)),a.walkTokens&&this.walkTokens(o,a.walkTokens);let s=(a.hooks?a.hooks.provideParser():e?Si.parse:Si.parseInline)(o,a);return a.hooks&&(s=a.hooks.postprocess(s)),s}catch(o){return i(o)}}}onError(e,t){return r=>{if(r.message+=` 899Please report this to https://github.com/markedjs/marked.`,e){let n="<p>An error occurred:</p><pre>"+Yi(r.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}},Cu=new XDe;function nr(e,t){return Cu.parse(e,t)}nr.options=nr.setOptions=function(e){return Cu.setOptions(e),nr.defaults=Cu.defaults,fQ(nr.defaults),nr};nr.getDefaults=G8;nr.defaults=Uu;nr.use=function(...e){return Cu.use(...e),nr.defaults=Cu.defaults,fQ(nr.defaults),nr};nr.walkTokens=function(e,t){return Cu.walkTokens(e,t)};nr.parseInline=Cu.parseInline;nr.Parser=Si;nr.parser=Si.parse;nr.Renderer=Bv;nr.TextRenderer=e7;nr.Lexer=ni;nr.lexer=ni.lex;nr.Tokenizer=jv;nr.Hooks=Pd;nr.parse=nr;nr.options;nr.setOptions;nr.use;nr.walkTokens;nr.parseInline;Si.parse;ni.lex;var Ct=(...e)=>JF(Nt(e)),t7=(e,t,r)=>{let n=typeof t=="string"?new Blob([t],{type:r}):t,a=URL.createObjectURL(n),i=document.createElement("a");i.href=a,i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)},QDe=/<pre(\s|>)/,r7=R.createContext({code:""}),ZDe=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(zX,e)}getFallbackLanguage(){return"text"}async ensureHighlightersInitialized(e,t){var r,n;let[a,i]=e,o=pDe({forgiving:!0}),s=!this.lightHighlighter||this.lightTheme!==a,u=!this.darkHighlighter||this.darkTheme!==i;(s||u)&&this.loadedLanguages.clear();let f=this.isLanguageSupported(t),h=!this.loadedLanguages.has(t)&&f;if(s?(this.lightHighlighter=await xz({themes:[a],langs:f?[t]:[],engine:o}),this.lightTheme=a,f&&this.loadedLanguages.add(t)):h&&await((r=this.lightHighlighter)==null?void 0:r.loadLanguage(t)),u){let d=h?[...this.loadedLanguages].concat(f?[t]:[]):Array.from(this.loadedLanguages);this.darkHighlighter=await xz({themes:[i],langs:d.length>0?d:f?[t]:[],engine:o}),this.darkTheme=i}else h&&await((n=this.darkHighlighter)==null?void 0:n.loadLanguage(t));h&&this.loadedLanguages.add(t)}async highlightCode(e,t,r,n){var a,i;this.initializationPromise&&await this.initializationPromise,this.initializationPromise=this.ensureHighlightersInitialized(r,t),await this.initializationPromise,this.initializationPromise=null;let[o,s]=r,u=this.isLanguageSupported(t)?t:this.getFallbackLanguage(),f=(a=this.lightHighlighter)==null?void 0:a.codeToHtml(e,{lang:u,theme:o}),h=(i=this.darkHighlighter)==null?void 0:i.codeToHtml(e,{lang:u,theme:s}),d=m=>n?m.replace(QDe,`<pre class="${n}"$1`):m;return[d(f),d(h)]}},JDe=new ZDe,eLe=({code:e,language:t,className:r,children:n,preClassName:a,...i})=>
899{let[o,s]=R.useState(""),[u,f]=R.useState(""),h=R.useRef(!1),[d,m]=R.useContext(XQ);return R.useEffect(()=>(h.current=!0,JDe.highlightCode(e,t,[d,m],a).then(([v,y])=>{h.current&&(s(v),f(y))}),()=>{h.current=!1}),[e,t,d,m,a]),S.jsx(r7.Provider,{value:{code:e},children:S.jsxs("div",{className:"my-4 w-full overflow-hidden rounded-xl border","data-code-block-container":!0,"data-language":t,children:[S.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:[S.jsx("span",{className:"ml-1 font-mono lowercase",children:t}),S.jsx("div",{className:"flex items-center gap-2",children:n})]}),S.jsx("div",{className:"w-full",children:S.jsxs("div",{className:"min-w-full",children:[S.jsx("div",{className:Ct("overflow-x-auto dark:hidden",r),dangerouslySetInnerHTML:{__html:o},"data-code-block":!0,"data-language":t,...i}),S.jsx("div",{className:Ct("hidden overflow-x-auto dark:block",r),dangerouslySetInnerHTML:{__html:u},"data-code-block":!0,"data-language":t,...i})]})})]})})},Yz={"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"},Wz=({onDownload:e,onError:t,language:r,children:n,className:a,code:i,...o})=>{let{code:s}=R.useContext(r7),{isAnimating:u}=R.useContext(Ip),f=i??s,h=`file.${r&&r in Yz?Yz[r]:"txt"}`,d="text/plain",m=()=>{try{t7(h,f,d),e?.()}catch(v){t?.(v)}};return S.jsx("button",{className:Ct("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:u,onClick:m,title:"Download file",type:"button",...o,children:n??S.jsx(M8,{size:14})})},Kz=({onCopy:e,onError:t,timeout:r=2e3,children:n,className:a,code:i,...o})=>{let[s,u]=R.useState(!1),f=R.useRef(0),{code:h}=R.useContext(r7),{isAnimating:d}=R.useContext(Ip),m=i??h,v=async()=>{var b;if(typeof window>"u"||!((b=navigator?.clipboard)!=null&&b.writeText)){t?.(new Error("Clipboard API not available"));return}try{s||(await navigator.clipboard.writeText(m),u(!0),e?.(),f.current=window.setTimeout(()=>u(!1),r))}catch(E){t?.(E)}};R.useEffect(()=>()=>{window.clearTimeout(f.current)},[]);let y=s?sX:lX;return S.jsx("button",{className:Ct("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:d,onClick:v,type:"button",...o,children:n??S.jsx(y,{size:14})})},tLe=({node:e,className:t,src:r,alt:n,...a})=>{let i=async()=>{var o;if(r)try{let s=await(await fetch(r)).blob(),u=new URL(r,window.location.origin).pathname.split("/").pop()||"",f=u.includes(".")&&((o=u.split(".").pop())==null?void 0:o.length)<=4,h="";if(f)h=u;else{let d=s.type,m="png";d.includes("jpeg")||d.includes("jpg")?m="jpg":d.includes("png")?m="png":d.includes("svg")?m="svg":d.includes("gif")?m="gif":d.includes("webp")&&(m="webp"),h=`${(n||u||"image").replace(/\.[^/.]+$/,"")}.${m}`}t7(h,s,s.type)}catch(s){console.error("Failed to download image:",s)}};return r?S.jsxs("div",{className:"group relative my-4 inline-block","data-streamdown":"image-wrapper",children:[S.jsx("img",{alt:n,className:Ct("max-w-full rounded-lg",t),"data-streamdown":"image",src:r,...a}),S.jsx("div",{className:"pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"}),S.jsx("button",{className:Ct("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:S.jsx(M8,{size:14})})]}):null},rLe=async e=>{let t={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0,...e},r=(await Q(async()=>{const{default:n}=await import("./mermaid.core-BXUDbJvs.js").then(a=>a.b8);return{default:n}},[])).default;return r.initialize(t),r},nLe=({chart:e,className:t,config:r})=>{let[n,a]=R.useState(null),[i,o]=R.useState(!0),[s,u]=R.useState(""),[f,h]=R.useState("");
899if(R.useEffect(()=>{(async()=>{try{a(null),o(!0);let m=await rLe(r),v=e.split("").reduce((E,_)=>(E<<5)-E+_.charCodeAt(0)|0,0),y=`mermaid-${Math.abs(v)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:b}=await m.render(y,e);u(b),h(b)}catch(m){if(!(f||s)){let v=m instanceof Error?m.message:"Failed to render Mermaid chart";a(v)}}finally{o(!1)}})()},[e,r]),i&&!s&&!f)return S.jsx("div",{className:Ct("my-4 flex justify-center p-4",t),children:S.jsxs("div",{className:"flex items-center space-x-2 text-muted-foreground",children:[S.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-current border-b-2"}),S.jsx("span",{className:"text-sm",children:"Loading diagram..."})]})});if(n&&!s&&!f)return S.jsxs("div",{className:Ct("rounded-lg border border-red-200 bg-red-50 p-4",t),children:[S.jsxs("p",{className:"font-mono text-red-700 text-sm",children:["Mermaid Error: ",n]}),S.jsxs("details",{className:"mt-2",children:[S.jsx("summary",{className:"cursor-pointer text-red-600 text-xs",children:"Show Code"}),S.jsx("pre",{className:"mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs",children:e})]})]});let d=s||f;return S.jsx("div",{"aria-label":"Mermaid chart",className:Ct("my-4 flex justify-center",t),dangerouslySetInnerHTML:{__html:d},role:"img"})};function _Q(e){var t,r;let n=[],a=[],i=e.querySelectorAll("thead th");for(let s of i)n.push(((t=s.textContent)==null?void 0:t.trim())||"");let o=e.querySelectorAll("tbody tr");for(let s of o){let u=[],f=s.querySelectorAll("td");for(let h of f)u.push(((r=h.textContent)==null?void 0:r.trim())||"");a.push(u)}return{headers:n,rows:a}}function wQ(e){let{headers:t,rows:r}=e,n=i=>i.includes(",")||i.includes('"')||i.includes(` 900`)?`"${i.replace(/"/g,'""')}"`:i,a=[];t.length>0&&a.push(t.map(n).join(","));for(let i of r)a.push(i.map(n).join(","));return a.join(` 901`)}function SQ(e){let{headers:t,rows:r}=e;if(t.length===0)return"";let n=[],a=t.map(i=>i.replace(/\|/g,"\\|"));n.push(`| ${a.join(" | ")} |`),n.push(`| ${t.map(()=>"---").join(" | ")} |`);for(let i of r){let o=[...i];for(;o.length<t.length;)o.push("");let s=o.map(u=>u.replace(/\|/g,"\\|"));n.push(`| ${s.join(" | ")} |`)}return n.join(` 902`)}var aLe=({children:e,className:t,onCopy:r,onError:n,timeout:a=2e3,format:i="markdown"})=>{let[o,s]=R.useState(!1),u=R.useRef(0),{isAnimating:f}=R.useContext(Ip),h=async m=>{var v;if(typeof window>"u"||!((v=navigator?.clipboard)!=null&&v.write)){n?.(new Error("Clipboard API not available"));return}try{if(!o){let y=m.currentTarget.closest('[data-streamdown="table-wrapper"]'),b=y?.querySelector("table");if(!b){n?.(new Error("Table not found"));return}let E=_Q(b),_=new ClipboardItem({"text/plain":i==="markdown"?SQ(E):wQ(E),"text/html":new Blob([b.outerHTML],{type:"text/html"})});await navigator.clipboard.write([_]),s(!0),r?.(),u.current=window.setTimeout(()=>s(!1),a)}}catch(y){n?.(y)}};R.useEffect(()=>()=>{window.clearTimeout(u.current)},[]);let d=o?sX:lX;return S.jsx("button",{className:Ct("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:f,onClick:h,title:`Copy table as ${i}`,type:"button",children:e??S.jsx(d,{size:14})})},iLe=({children:e,className:t,onDownload:r,onError:n})=>{let[a,i]=R.useState(!1),o=R.useRef(null),{isAnimating:s}=R.useContext(Ip),u=f=>{var h;try{let d=(h=o.current)==null?void 0:h.closest('[data-streamdown="table-wrapper"]'),m=d?.querySelector("table");if(!m){n?.(new Error("Table not found"));return}let v=_Q(m),y=f==="csv"?wQ(v):SQ(v);t7(`table.${f==="csv"?"csv":"md"}`,y,f==="csv"?"text/csv":"text/markdown"),i(!1),r?.(f)}catch(d){n?.(d)}};return R.useEffect(()=>{let f=h=>{o.current&&!o.current.contains(h.target)&&i(!1)};return document.addEventListener("mousedown",f),()=>{document.removeEventListener("mousedown",f)}},[]),S.jsxs("div",{className:"relative",ref:o,children:[S.jsx("button",{className:Ct("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:s,onClick:()=>i(!a),title:"Download table",type:"button",children:e??S.jsx(M8,{size:14})}),a&&S.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:[S.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"}),S.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"})]})]})},oLe=/language-([^\s]+)/;function _b(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;
902if(!(e!=null&&e.position&&t!=null&&t.position))return!1;let r=e.position.start,n=t.position.start,a=e.position.end,i=t.position.end;return r?.line===n?.line&&r?.column===n?.column&&a?.line===i?.line&&a?.column===i?.column}function Nr(e,t){return e.className===t.className&&_b(e.node,t.node)}var GS=(e,t)=>typeof e=="boolean"?e:e[t]!==!1,n7=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("ol",{className:Ct("ml-4 list-outside list-decimal whitespace-normal",t),"data-streamdown":"ordered-list",...n,children:e}),(e,t)=>Nr(e,t));n7.displayName="MarkdownOl";var TQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("li",{className:Ct("py-1",t),"data-streamdown":"list-item",...n,children:e}),(e,t)=>e.className===t.className&&_b(e.node,t.node));TQ.displayName="MarkdownLi";var AQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("ul",{className:Ct("ml-4 list-outside list-disc whitespace-normal",t),"data-streamdown":"unordered-list",...n,children:e}),(e,t)=>Nr(e,t));AQ.displayName="MarkdownUl";var CQ=R.memo(({className:e,node:t,...r})=>S.jsx("hr",{className:Ct("my-6 border-border",e),"data-streamdown":"horizontal-rule",...r}),(e,t)=>Nr(e,t));CQ.displayName="MarkdownHr";var OQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("span",{className:Ct("font-semibold",t),"data-streamdown":"strong",...n,children:e}),(e,t)=>Nr(e,t));OQ.displayName="MarkdownStrong";var kQ=R.memo(({children:e,className:t,href:r,node:n,...a})=>{let i=r==="streamdown:incomplete-link";return S.jsx("a",{className:Ct("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":i,"data-streamdown":"link",href:r,rel:"noreferrer",target:"_blank",...a,children:e})},(e,t)=>Nr(e,t)&&e.href===t.href);kQ.displayName="MarkdownA";var NQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("h1",{className:Ct("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...n,children:e}),(e,t)=>Nr(e,t));NQ.displayName="MarkdownH1";var RQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("h2",{className:Ct("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...n,children:e}),(e,t)=>Nr(e,t));RQ.displayName="MarkdownH2";var MQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("h3",{className:Ct("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...n,children:e}),(e,t)=>Nr(e,t));MQ.displayName="MarkdownH3";var PQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("h4",{className:Ct("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...n,children:e}),(e,t)=>Nr(e,t));PQ.displayName="MarkdownH4";var IQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("h5",{className:Ct("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...n,children:e}),(e,t)=>Nr(e,t));IQ.displayName="MarkdownH5";var DQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("h6",{className:Ct("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...n,children:e}),(e,t)=>Nr(e,t));DQ.displayName="MarkdownH6";var LQ=R.memo(({children:e,className:t,node:r,...n})=>{let a=R.useContext(a7),i=GS(a,"table");return S.jsxs("div",{className:"my-4 flex flex-col space-y-2","data-streamdown":"table-wrapper",children:[i&&S.jsxs("div",{className:"flex items-center justify-end gap-1",children:[S.jsx(aLe,{}),S.jsx(iLe,{})]}),S.jsx("div",{className:"overflow-x-auto",children:S.jsx("table",{className:Ct("w-full border-collapse border border-border",t),"data-streamdown":"table",...n,children:e})})]})},(e,t)=>Nr(e,t));LQ.displayName="MarkdownTable";var jQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("thead",{className:Ct("bg-muted/80",t),"data-streamdown":"table-header",...n,children:e}),(e,t)=>Nr(e,t));jQ.displayName="MarkdownThead";var BQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("tbody",{className:Ct("divide-y divide-border bg-muted/40",t),"data-streamdown":"table-body",...n,children:e}),(e,t)=>Nr(e,t));BQ.displayName="MarkdownTbody";var zQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("tr",{className:Ct("border-border border-b",t),"data-streamdown":"table-row",...n,children:e}),(e,t)=>Nr(e,t));zQ.displayName="MarkdownTr";var HQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("th",{className:Ct("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...n,children:e}),(e,t)=>Nr(e,t));HQ.displayName="MarkdownTh";var FQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("td",{className:Ct("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...n,children:e}),(e,t)=>Nr(e,t));FQ.displayName="MarkdownTd";var $Q=R.memo(({children:e,className:t,node:r,...n})=>
902S.jsx("blockquote",{className:Ct("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...n,children:e}),(e,t)=>Nr(e,t));$Q.displayName="MarkdownBlockquote";var UQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("sup",{className:Ct("text-sm",t),"data-streamdown":"superscript",...n,children:e}),(e,t)=>Nr(e,t));UQ.displayName="MarkdownSup";var qQ=R.memo(({children:e,className:t,node:r,...n})=>S.jsx("sub",{className:Ct("text-sm",t),"data-streamdown":"subscript",...n,children:e}),(e,t)=>Nr(e,t));qQ.displayName="MarkdownSub";var VQ=R.memo(({children:e,className:t,node:r,...n})=>{if("data-footnotes"in n){let a=o=>{var s,u;if(!R.isValidElement(o))return!1;let f=Array.isArray(o.props.children)?o.props.children:[o.props.children],h=!1,d=!1;for(let m of f)if(m){if(typeof m=="string")m.trim()!==""&&(h=!0);else if(R.isValidElement(m))if(((s=m.props)==null?void 0:s["data-footnote-backref"])!==void 0)d=!0;else{let v=Array.isArray(m.props.children)?m.props.children:[m.props.children];for(let y of v){if(typeof y=="string"&&y.trim()!==""){h=!0;break}if(R.isValidElement(y)&&((u=y.props)==null?void 0:u["data-footnote-backref"])===void 0){h=!0;break}}}}return d&&!h},i=Array.isArray(e)?e.map(o=>{if(!R.isValidElement(o))return o;if(o.type===n7){let s=(Array.isArray(o.props.children)?o.props.children:[o.props.children]).filter(u=>!a(u));return s.length===0?null:{...o,props:{...o.props,children:s}}}return o}):e;return(Array.isArray(i)?i.some(o=>o!==null):i!==null)?S.jsx("section",{className:t,...n,children:i}):null}return S.jsx("section",{className:t,...n,children:e})},(e,t)=>Nr(e,t));VQ.displayName="MarkdownSection";var sLe=({node:e,className:t,children:r,...n})=>{var a,i,o;let s=((a=e?.position)==null?void 0:a.start.line)===((i=e?.position)==null?void 0:i.end.line),u=R.useContext(QQ),f=R.useContext(a7);if(s)return S.jsx("code",{className:Ct("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...n,children:r});let h=t?.match(oLe),d=(o=h?.at(1))!=null?o:"",m="";if(R.isValidElement(r)&&r.props&&typeof r.props=="object"&&"children"in r.props&&typeof r.props.children=="string"?m=r.props.children:typeof r=="string"&&(m=r),d==="mermaid"){let y=GS(f,"mermaid");return S.jsxs("div",{className:Ct("group relative my-4 h-auto rounded-xl border p-4",t),"data-streamdown":"mermaid-block",children:[y&&S.jsxs("div",{className:"flex items-center justify-end gap-2",children:[S.jsx(Wz,{code:m,language:d}),S.jsx(Kz,{code:m})]}),S.jsx(nLe,{chart:m,config:u})]})}let v=GS(f,"code");return S.jsx(eLe,{className:Ct("overflow-x-auto border-t",t),code:m,"data-language":d,"data-streamdown":"code-block",language:d,preClassName:"overflow-x-auto font-mono text-xs p-4 bg-muted/40",children:v&&S.jsxs(S.Fragment,{children:[S.jsx(Wz,{code:m,language:d}),S.jsx(Kz,{})]})})},GQ=R.memo(sLe,(e,t)=>e.className===t.className&&_b(e.node,t.node));GQ.displayName="MarkdownCode";var YQ=R.memo(tLe,(e,t)=>e.className===t.className&&_b(e.node,t.node));YQ.displayName="MarkdownImg";var WQ=R.memo(({children:e,className:t,node:r,...n})=>{var a;let i=(Array.isArray(e)?e:[e]).filter(o=>o!=null&&o!=="");return i.length===1&&R.isValidElement(i[0])&&((a=i[0].props.node)==null?void 0:a.tagName)==="img"?S.jsx(S.Fragment,{children:e}):S.jsx("p",{className:t,...n,children:e})},(e,t)=>Nr(e,t));WQ.displayName="MarkdownParagraph";var lLe={ol:n7,li:TQ,ul:AQ,hr:CQ,strong:OQ,a:kQ,h1:NQ,h2:RQ,h3:MQ,h4:PQ,h5:IQ,h6:DQ,table:LQ,thead:jQ,tbody:BQ,tr:zQ,th:HQ,td:FQ,blockquote:$Q,code:GQ,img:YQ,pre:({children:e})=>e,sup:UQ,sub:qQ,p:WQ,section:VQ},uLe=e=>{let t=/\[\^[^\]\s]{1,200}\](?!:)/.test(e),r=/\[\^[^\]\s]{1,200}\]:/.test(e);if(t||r)return[e];let n=ni.lex(e,{gfm:!0}),a=[],i=[];for(let o=0;o<n.length;o++){let s=n[o],u=s.raw;if(i.length>0){if(a[a.length-1]+=u,s.type==="html"){let f=u.match(/<\/(\w+)>/);if(f){let h=f[1];i[i.length-1]===h&&i.pop()}}continue}if(s.type==="html"&&s.block){let f=u.match(/<(\w+)[\s>]/);if(f){let h=f[1];u.includes(`</${h}>`)||i.push(h)}}if(u.trim()==="$$"&&a.length>0){let f=a.at(-1);if(!f){a.push(u);continue}let h=f.trimStart().startsWith("$$"),d=(f.match(/\$\$/g)||[]).length;if(h&&d%2===1){a[a.length-1]=f+u;continue}}if(a.length>0&&u.trimEnd().endsWith("$$")){let f=a.at(-1);if(!f){a.push(u);continue}let h=f.trimStart().startsWith("$$"),d=(f.match(/\$\$/g)||[]).length,m=(u.match(/\$\$/g)||[]).length;if(h&&d%2===1&&!u.trimStart().startsWith("$$")&&m===1){a[a.length-1]=f+u;continue}}a.push(u)}return a},cLe=/(!?\[)([^\]]*?)$/,fLe=/(\*\*)([^*]*?)$/,dLe=/(__)([^_]*?)$/,hLe=
902/(\*\*\*)([^*]*?)$/,pLe=/(\*)([^*]*?)$/,mLe=/(_)([^_]*?)$/,gLe=/(`)([^`]*?)$/,vLe=/(~~)([^~]*?)$/,wb=e=>{let t=(e.match(/```/g)||[]).length;return t>0&&t%2===0&&e.includes(` 903`)},yLe=e=>{let t=/(!?)\[([^\]]+)\]\(([^)]+)$/,r=e.match(t);if(r){let a=r[1]==="!",i=r[2],o=r[3],s=e.lastIndexOf(`${a?"!":""}[${i}](${o}`),u=e.substring(0,s);return a?u:`${u}[${i}](streamdown:incomplete-link)`}let n=e.match(cLe);if(n){if(n[1].startsWith("!")){let a=e.lastIndexOf(n[1]);return e.substring(0,a)}return`${e}](streamdown:incomplete-link)`}return e},bLe=e=>{if(wb(e))return e;let t=e.match(fLe);if(t){let r=t[2];if(!r||/^[\s_~*`]*$/.test(r))return e;let n=e.lastIndexOf(t[1]),a=e.substring(0,n).lastIndexOf(` 904`),i=a===-1?0:a+1,o=e.substring(i,n);if(/^[\s]*[-*+][\s]+$/.test(o)&&r.includes(` 905`))return e;if((e.match(/\*\*/g)||[]).length%2===1)return`${e}**`}return e},xLe=e=>{let t=e.match(dLe);if(t){let r=t[2];if(!r||/^[\s_~*`]*$/.test(r))return e;let n=e.lastIndexOf(t[1]),a=e.substring(0,n).lastIndexOf(` 906`),i=a===-1?0:a+1,o=e.substring(i,n);if(/^[\s]*[-*+][\s]+$/.test(o)&&r.includes(` 907`))return e;if((e.match(/__/g)||[]).length%2===1)return`${e}__`}return e},ELe=e=>e.split("").reduce((t,r,n)=>{if(r==="*"){let a=e[n-1],i=e[n+1];if(a==="\\")return t;let o=n;for(let s=n-1;s>=0;s--){if(e[s]===` 908`){o=s+1;break}if(s===0){o=0;break}}if(e.substring(o,n).trim()===""&&(i===" "||i===" "))return t;if(a!=="*"&&i!=="*")return t+1}return t},0),_Le=e=>{if(wb(e))return e;if(e.match(pLe)){let t=-1;for(let n=0;n<e.length;n++)if(e[n]==="*"&&e[n-1]!=="*"&&e[n+1]!=="*"){t=n;break}if(t===-1)return e;let r=e.substring(t+1);if(!r||/^[\s_~*`]*$/.test(r))return e;if(ELe(e)%2===1)return`${e}*`}return e},KQ=(e,t)=>{let r=!1,n=!1;for(let a=0;a<e.length&&a<t;a++){if(e[a]==="\\"&&e[a+1]==="$"){a++;continue}e[a]==="$"&&(e[a+1]==="$"?(n=!n,a++,r=!1):n||(r=!r))}return r||n},wLe=e=>e.split("").reduce((t,r,n)=>{if(r==="_"){let a=e[n-1],i=e[n+1];if(a==="\\"||KQ(e,n)||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),SLe=e=>{if(wb(e))return e;if(e.match(mLe)){let t=-1;for(let n=0;n<e.length;n++)if(e[n]==="_"&&e[n-1]!=="_"&&e[n+1]!=="_"&&e[n-1]!=="\\"&&!KQ(e,n)){let a=n>0?e[n-1]:"",i=n<e.length-1?e[n+1]:"";if(a&&i&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(i))continue;t=n;break}if(t===-1)return e;let r=e.substring(t+1);if(!r||/^[\s_~*`]*$/.test(r))return e;if(wLe(e)%2===1){let n=e.match(/\n+$/);return n?`${e.slice(0,-n[0].length)}_${n[0]}`:`${e}_`}}return e},TLe=(e,t)=>{let r=e.substring(t,t+3)==="```",n=t>0&&e.substring(t-1,t+2)==="```",a=t>1&&e.substring(t-2,t+1)==="```";return r||n||a},ALe=e=>{let t=0;for(let r=0;r<e.length;r++)e[r]==="`"&&!TLe(e,r)&&t++;return t},CLe=e=>{if(e.match(/^```[^`\n]*```?$/)&&!e.includes(` 909`))return e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;let t=(e.match(/```/g)||[]).length,r=t%2===1;if(t>0&&t%2===0&&e.includes(` 910`)||(e.endsWith("```\n")||e.endsWith("```"))&&t%2===0)return e;let n=e.match(gLe);if(n&&!r){let a=n[2];if(!a||/^[\s_~*`]*$/.test(a))return e;if(ALe(e)%2===1)return`${e}\``}return e},OLe=e=>{let t=e.match(vLe);if(t){let r=t[2];if(!r||/^[\s_~*`]*$/.test(r))return e;if((e.match(/~~/g)||[]).length%2===1)return`${e}~~`}return e},kLe=e=>{if((e.match(/\$\$/g)||[]).length%2===0)return e;let t=e.indexOf("$$");return t!==-1&&e.indexOf(` 911`,t)!==-1&&!e.endsWith(` 912`)?`${e} 913$$`:`${e}$$`},NLe=e=>{let t=0,r=e.match(/\*+/g)||[];for(let n of r){let a=n.length;a>=3&&(t+=Math.floor(a/3))}return t},RLe=e=>{if(wb(e)||/^\*{4,}$/.test(e))return e;let t=e.match(hLe);if(t){let r=t[2];if(!r||/^[\s_~*`]*$/.test(r))return e;if(NLe(e)%2===1)return`${e}***`}return e},MLe=e=>{if(!e||typeof e!="string")return e;let t=e,r=yLe(t);return r.endsWith("](streamdown:incomplete-link)")?r:(t=r,t=RLe(t),t=bLe(t),t=xLe(t),t=_Le(t),t=SLe(t),t=CLe(t),t=OLe(t),t=kLe(t),t)},PLe={harden:[_Ne,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],defaultOrigin:void 0,allowDataImages:!0}],raw:r9e,katex:[U8e,{errorColor:"var(--color-muted-foreground)"}]},ILe={gfm:[cNe,{}],math:[ENe,{singleDollarTextMath:!1}]},XQ=R.createContext(["github-light","github-dark"]),QQ=R.createContext(void 0),a7=R.createContext(!0),Ip=R.createContext({isAnimating:!1}),ZQ=R.memo(({content:e,shouldParseIncompleteMarkdown:t,...r})=>{let n=R.useMemo(()=>typeof e=="string"&&t?MLe(e.trim()):e,[e,t]);return S.jsx(gTe,{...r,children:n})},(e,t)=>e.content===t.content);ZQ.displayName="Block";var JQ=R.memo(({children:e,parseIncompleteMarkdown:t=!0,components:r,rehypePlugins:n=Object.values(PLe),remarkPlugins:a=Object.values(ILe),className:i,shikiTheme:o=["github-light","github-dark"],mermaidConfig:s,controls:u=!0,isAnimating:f=!1,...h})=>{let d=R.useId(),m=R.useMemo(()=>uLe(typeof e=="string"?e:""),[e]);return S.jsx(XQ.Provider,{value:o,children:S.jsx(QQ.Provider,{value:s,children:S.jsx(a7.Provider,{value:u,children:S.jsx(Ip.Provider,{value:{isAnimating:f},children:S.jsx("div",{className:Ct("space-y-4",i),children:m.map((v,y)=>S.jsx(ZQ,{components:{...lLe,...r},content:v,rehypePlugins:n,remarkPlugins:a,shouldParseIncompleteMarkdown:t,...h},`${d}-block-${y}`))})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating);JQ.displayName="Streamdown";function DLe({messages:e,onSendMessage:t,isLoading:r=!1,placeholder:n="Type your message...",className:a,height:i="600px",emptyStateMessage:o="Start a conversation with AI",suggestedPrompts:s}){const[u,f]=R.useState(""),h=R.useRef(null),d=R.useRef(null),m=R.useRef(null),v=R.useRef(null),y=e.filter(P=>
913P.role!=="system"),[b,E]=R.useState(0);R.useEffect(()=>{if(d.current&&m.current){const P=d.current.offsetHeight,O=m.current.offsetHeight,L=P-O-32-56;E(Math.max(0,L))}},[]);const _=()=>{const P=h.current?.querySelector("[data-radix-scroll-area-viewport]");P&&requestAnimationFrame(()=>{P.scrollTo({top:P.scrollHeight,behavior:"smooth"})})},A=P=>{P.preventDefault();const O=u.trim();!O||r||(t(O),f(""),_(),v.current?.focus())},C=P=>{P.key==="Enter"&&!P.shiftKey&&(P.preventDefault(),A(P))};return S.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:191",ref:d,className:kt("flex flex-col bg-card text-card-foreground rounded-lg border shadow-sm",a),style:{height:i},children:[S.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:200",ref:h,className:"flex-1 overflow-hidden",children:y.length===0?S.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:202",className:"flex h-full flex-col p-4",children:S.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:203",className:"flex flex-1 flex-col items-center justify-center gap-6 text-muted-foreground",children:[S.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:204",className:"flex flex-col items-center gap-3",children:[S.jsx(Xx,{"data-loc":"client/src/components/AIChatBox.tsx:205",className:"size-12 opacity-20"}),S.jsx("p",{"data-loc":"client/src/components/AIChatBox.tsx:206",className:"text-sm",children:o})]}),s&&s.length>0&&S.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:210",className:"flex max-w-2xl flex-wrap justify-center gap-2",children:s.map((P,O)=>S.jsx("button",{"data-loc":"client/src/components/AIChatBox.tsx:212",onClick:()=>t(P),disabled:r,className:"rounded-lg border border-border bg-card px-4 py-2 text-sm transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-50",children:P},O))})]})}):S.jsx(u_e,{"data-loc":"client/src/components/AIChatBox.tsx:226",className:"h-full",children:S.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:227",className:"flex flex-col space-y-4 p-4",children:[y.map((P,O)=>{const M=O===y.length-1&&!r&&b>0;return S.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:235",className:kt("flex gap-3",P.role==="user"?"justify-end items-start":"justify-start items-start"),style:M?{minHeight:`${b}px`}:void 0,children:[P.role==="assistant"&&S.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:250",className:"size-8 shrink-0 mt-1 rounded-full bg-primary/10 flex items-center justify-center",children:S.jsx(Xx,{"data-loc":"client/src/components/AIChatBox.tsx:251",className:"size-4 text-primary"})}),S.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:255",className:kt("max-w-[80%] rounded-lg px-4 py-2.5",P.role==="user"?"bg-primary text-primary-foreground":"bg-muted text-foreground"),children:P.role==="assistant"?S.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:264",className:"prose prose-sm dark:prose-invert max-w-none",children:S.jsx(JQ,{"data-loc":"client/src/components/AIChatBox.tsx:265",children:P.content})}):S.jsx("p",{"data-loc":"client/src/components/AIChatBox.tsx:268",className:"whitespace-pre-wrap text-sm",children:P.content})}),P.role==="user"&&S.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:275",className:"size-8 shrink-0 mt-1 rounded-full bg-secondary flex items-center justify-center",children:S.jsx(sse,{"data-loc":"client/src/components/AIChatBox.tsx:276",className:"size-4 text-secondary-foreground"})})]},O)}),r&&S.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:284",className:"flex items-start gap-3",style:b>0?{minHeight:`${b}px`}:void 0,children:[S.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:292",className:"size-8 shrink-0 mt-1 rounded-full bg-primary/10 flex items-center justify-center",children:S.jsx(Xx,{"data-loc":"client/src/components/AIChatBox.tsx:293",className:"size-4 text-primary"})}),S.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:295",className:"rounded-lg bg-muted px-4 py-2.5",children:S.jsx(Wk,{"data-loc":"client/src/components/AIChatBox.tsx:296",className:"size-4 animate-spin text-muted-foreground"})})]})]})})}),S.jsxs("form",{"data-loc":"client/src/components/AIChatBox.tsx:306",ref:m,onSubmit:A,className:"flex gap-2 p-4 border-t bg-background/50 items-end",children:[S.jsx($G,{"data-loc":"client/src/components/AIChatBox.tsx:311",ref:v,value:u,onChange:P=>f(P.target.value),onKeyDown:C,placeholder:n,className:"flex-1 max-h-32 resize-none min-h-9",rows:1}),S.jsx(dl,{"data-loc":"client/src/components/AIChatBox.tsx:320",type:"submit",size:"icon",disabled:!u.trim()||r,className:"shrink-0 h-[38px] w-[38px]",children:r?S.jsx(Wk,{"data-loc":"client/src/components/AIChatBox.tsx:327",className:"size-4 animate-spin"}):S.jsx(i$,{"data-loc":"client/src/components/AIChatBox.tsx:329",className:"size-4"})})]})]})}const LLe={role:"assistant",content:"Soy **Chatbot RB**. Puedo orientarte sobre ubicación, superficie, potencial productivo y coordinación de una visita al Campo La Cesira."};
913function jLe(){const[e,t]=R.useState(!1),[r,n]=R.useState([LLe]),a=ha.field.chat.useMutation({onSuccess:({reply:o})=>n(s=>[...s,{role:"assistant",content:o}]),onError:()=>n(o=>[...o,{role:"assistant",content:"No pude procesar la consulta. Podés escribirle directamente a Rodrigo por WhatsApp para avanzar."}])}),i=o=>{const s=r.filter(u=>u.role!=="system").slice(-8);n(u=>[...u,{role:"user",content:o}]),a.mutate({message:o,history:s.map(u=>({role:u.role,content:u.content}))})};return S.jsx("div",{"data-loc":"client/src/components/ChatbotRB.tsx:26",className:"fixed bottom-5 right-5 z-50",children:e?S.jsxs("div",{"data-loc":"client/src/components/ChatbotRB.tsx:28",className:"w-[min(92vw,390px)] border border-[#d4af37]/50 bg-[#0d1b2a] p-3 shadow-2xl",children:[S.jsxs("div",{"data-loc":"client/src/components/ChatbotRB.tsx:29",className:"mb-3 flex items-center justify-between border-b border-white/10 px-2 pb-3",children:[S.jsxs("div",{"data-loc":"client/src/components/ChatbotRB.tsx:30",children:[S.jsx("p",{"data-loc":"client/src/components/ChatbotRB.tsx:31",className:"font-display text-sm font-bold tracking-[0.18em] text-[#d4af37]",children:"CHATBOT RB"}),S.jsx("p",{"data-loc":"client/src/components/ChatbotRB.tsx:32",className:"mt-1 text-xs text-slate-300",children:"Información general y coordinación de visita"})]}),S.jsx("button",{"data-loc":"client/src/components/ChatbotRB.tsx:34",onClick:()=>t(!1),className:"text-slate-300 transition hover:text-white","aria-label":"Cerrar Chatbot RB",children:S.jsx(Ld,{"data-loc":"client/src/components/ChatbotRB.tsx:34",className:"size-5"})})]}),S.jsx(DLe,{"data-loc":"client/src/components/ChatbotRB.tsx:36",messages:r,onSendMessage:i,isLoading:a.isPending,height:"420px",placeholder:"Escribà tu consulta...",suggestedPrompts:["¿Dónde se ubica el campo?","¿Qué cultivos se consideran?","Quiero coordinar una visita"],className:"border-[#d4af37]/30 bg-white text-slate-900 shadow-none"})]}):S.jsxs("button",{"data-loc":"client/src/components/ChatbotRB.tsx:47",onClick:()=>t(!0),className:"flex items-center gap-3 bg-[#d4af37] px-4 py-3 text-sm font-bold text-[#0d1b2a] shadow-xl transition hover:bg-[#e4c558]","aria-label":"Abrir Chatbot RB",children:[S.jsx(Iw,{"data-loc":"client/src/components/ChatbotRB.tsx:48",className:"size-5"}),S.jsx("span",{"data-loc":"client/src/components/ChatbotRB.tsx:49",children:"Chatbot RB"})]})})}const BLe="AxDiHa5fXffTEAbzQEHFgB",zLe="https://forge.manus.ai",HLe=`${zLe}/v1/maps/proxy`;function FLe(){return new Promise(e=>{const t=document.createElement("script");t.src=`${HLe}/maps/api/js?key=${BLe}&v=weekly&libraries=marker,places,geocoding,geometry`,t.async=!0,t.crossOrigin="anonymous",t.onload=()=>{e(null),t.remove()},t.onerror=()=>{console.error("Failed to load Google Maps script")},document.head.appendChild(t)})}function $Le({className:e,initialCenter:t={lat:37.7749,lng:-122.4194},initialZoom:r=12,onMapReady:n}){const a=R.useRef(null),i=R.useRef(null),o=Td(async()=>{if(await FLe(),!a.current){console.error("Map container not found");return}i.current=new window.google.maps.Map(a.current,{zoom:r,center:t,mapTypeControl:!0,fullscreenControl:!0,zoomControl:!0,streetViewControl:!0,mapId:"DEMO_MAP_ID"}),n&&n(i.current)});return R.useEffect(()=>{o()},[o]),S.jsx("div",{"data-loc":"client/src/components/Map.tsx:153",ref:a,className:kt("w-full h-[500px]",e)})}const Vg="https://api.whatsapp.com/send/?phone=5493534180928&text&type=phone_number&app_absent=0",ULe="https://api.whatsapp.com/send/?phone=5493534180928&text=",Xz="/manus-storage/aereo-referencial_684cd924.jpg",Qz="/manus-storage/aereo-contexto_829926a6.jpg",nw="/manus-storage/ubicacion-regional_36f589b1.jpg",qLe="/manus-storage/logo-rb-recortado_d5d9622e.webp",Gg={lat:-34.0185084,lng:-63.0442996},VLe=[{crop:"Soja",low:28,medium:36,high:42,unit:"qq/ha",volume:"5.112 t"},{crop:"MaÃz",low:70,medium:92,high:105,unit:"qq/ha",volume:"13.064 t"},{crop:"Trigo",low:32,medium:45,high:52,unit:"qq/ha",volume:"6.390 t"},{crop:"Girasol",low:20,medium:26,high:30,unit:"qq/ha",volume:"3.692 t"}],GLe=[["¿Cuál es la superficie informada?","La ficha comercial informa aproximadamente 1.420 hectáreas. La poligonal KML arroja una superficie geométrica aproximada de 1.422,34 ha; ambas referencias deben confirmarse con documentación y mensura aplicable."],["¿Dónde se ubica el campo?","La coordenada central de trabajo es -34.0185084, -63.0442996 (WG
913S84), en el entorno de La Cesira, Córdoba. El mapa de la sección Ubicación permite explorar el punto de referencia."],["¿Cuál es la aptitud agrÃcola?","La documentación recibida declara aptitud 100 % agrÃcola. La confirmación definitiva requiere muestreo georreferenciado, evaluación por ambientes y revisión de antecedentes productivos."],["¿Qué cultivos se contemplan?","El informe orientativo considera soja, maÃz, trigo y girasol. La decisión de rotación corresponde a un plan técnico definido luego de la debida diligencia agronómica."],["¿Qué mejoras están informadas?","La ficha menciona galpón, silos, casa y tanque australiano. Su capacidad, estado y funcionamiento deben validarse mediante visita e inventario."],["¿Cómo es el acceso?","La ficha comercial informa referencias de proximidad a la Ruta Provincial 3, La Cesira, Ruta Nacional 7, Rufino y Laboulaye. Las distancias deben corroborarse con recorrido vial y relevamiento operativo."],["¿Qué documentación técnica existe?","Se dispone de informe agronómico orientativo, descripción comercial, KML/KMZ con poligonal e imagen de localización. El estudio de tÃtulos, informes registrales y verificación catastral integran una etapa posterior."],["¿Cómo coordino una visita?","Podés completar el formulario de contacto, seleccionar coordinación de visita y proponer una fecha. El equipo de Rodrigo Berdasquera se comunicará para confirmar la agenda."]],Zz={name:"",email:"",phone:"",reason:"Solicitar más información",message:"",visitDate:""};function Vc(e){document.getElementById(e)?.scrollIntoView({behavior:"smooth",block:"start"})}function Jz({light:e=!1}){return S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:41",className:"flex items-center gap-3",children:[S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:41",className:e?"bg-[#fff9ea] px-1 py-1":"",children:S.jsx("img",{"data-loc":"client/src/pages/Home.tsx:41",src:qLe,alt:"Rodrigo Berdasquera · Negocios & Bienes RaÃces",className:"h-14 w-[86px] object-contain"})}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:41",className:"hidden sm:block",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:41",className:`font-display text-xs font-black tracking-[0.12em] ${e?"text-white":"text-[#173523]"}`,children:"RODRIGO BERDASQUERA"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:41",className:`mt-0.5 text-[10px] font-semibold tracking-[0.13em] ${e?"text-[#e2bd70]":"text-[#876329]"}`,children:"NEGOCIOS & BIENES RAÃCES"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:41",className:`mt-1 text-[9px] font-medium tracking-[0.11em] ${e?"text-white/65":"text-[#52634a]"}`,children:"VILLA MARÃA, CBA"})]})]})}function YLe(){const[e,t]=R.useState(!1),[r,n]=R.useState(null),[a,i]=R.useState(null),[o,s]=R.useState("photos"),[u,f]=R.useState(!1),[h,d]=R.useState(Zz),[m,v]=R.useState(!1),[y,b]=R.useState(!1),[E,_]=R.useState({navigation:0,clarity:0,experience:0}),A=ha.analytics.publicSummary.useQuery(void 0,{refetchInterval:3e4}),C=ha.analytics.track.useMutation(),P=ha.leads.submit.useMutation({onSuccess:()=>{v(!0),d(Zz)}}),O=ha.feedback.submit.useMutation({onSuccess:()=>b(!1)}),k=R.useMemo(()=>crypto.randomUUID(),[]),M=R.useRef(new Set),L=[Xz,Qz,nw];R.useEffect(()=>{C.mutate({sessionId:k,section:"hero"})},[k]),R.useEffect(()=>{const z=["el-campo","caracteristicas","galeria","potencial","ubicacion","faq","contacto"],W=new IntersectionObserver(K=>{for(const te of K)te.isIntersecting&&!M.current.has(te.target.id)&&(M.current.add(te.target.id),C.mutate({sessionId:k,section:te.target.id}))},{threshold:.35});return z.forEach(K=>document.getElementById(K)&&W.observe(document.getElementById(K))),()=>W.disconnect()},[k,C]),R.useEffect(()=>{const z=W=>{a!==null&&(W.key==="Escape"&&i(null),W.key==="ArrowRight"&&i((a+1)%L.length),W.key==="ArrowLeft"&&i((a-1+L.length)%L.length))};return window.addEventListener("keydown",z),()=>window.removeEventListener("keydown",z)},[a,L.length]),R.useEffect(()=>{const z=W=>{W.clientY<=0&&!sessionStorage.getItem("lacesira-exit-seen")&&(f(!0),sessionStorage.setItem("lacesira-exit-seen","1"))};return document.addEventListener("mouseout",z),()=>document.removeEventListener("mouseout",z)},[]);const H=z=>{z.preventDefault(),C.mutate({sessionId:k,section:"contact:formulario_consulta"}),P.mutate(h,{onSuccess:()=>{h.reason==="Coordinar visita al campo"&&h.visitDate&&window.open(`${ULe}${encodeURIComponent(`Hola Rodrigo, soy ${h.name}. Quiero coordinar una visita al Campo La Cesira para el ${h.visitDate}.`)}`,"_blank")}})},F=()=>window.open(`https://www.google.com/maps?q=${Gg.lat},${Gg.lng}`,"_blank","noopener,noreferrer"),$=z=>C.mutate({sessionId:k,section:`contact:${z}`});return S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:103",className:"min-h-screen overflow-x-hidden bg-[#fff8e7] font-sans text-slate-900",children:[S.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:104",className:"sticky top-0 z-40 border-b border-[#b79b6d]/35 bg-[#fffaf0]/95 backdrop-blur",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:104",className:"mx-auto flex h-20 max-w-7xl items-center justify-between px-5 lg:px-8",children:[S.jsx(Jz,{"data-loc":"client/src/pages/Home.tsx:104"}),S.jsx("nav",{"data-loc":"client/src/pages/Home.tsx:104",className:"hidden items-center gap-5 xl:flex",children:[["El Campo","el-campo"],["CaracterÃsticas","caracteristicas"],["GalerÃa","galeria"],["Potencial","potencial"],["Ubicación","ubicacion"],["FAQ","faq"],["Contacto","contacto"]].map(([z,W])=>S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:104",onClick:()=>Vc(W),className:"text-xs font-bold tracking-wide text-[#42553e] transition hover:text-[#a56f21]",children:z},W))}),S.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:104",href:Vg,target:"_blank",rel:"noreferrer",className:"hidden items-center gap-2 bg-[#1b3a2b] px-5 py-3 text-xs font-bold text-white transition hover:bg-[#31553e] sm:flex",children:[S.jsx(Iw,{"data-loc":"client/src/pages/Home.tsx:104",className:"size-4 text-[#e7bf64]"}),"Consultar"]}),S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:104",onClick:()=>t(!e),className:"xl:hidden","aria-label":"Abrir navegación",children:S.jsx(ese,{"data-loc":"client/src/pages/Home.tsx:104",className:"size-6 text-[#1b3a2b]"})})]}),e&&S.jsx("nav",{"data-loc":"client/src/pages/Home.tsx:104",className:"border-t border-[#b79b6d]/35 bg-[#fffaf0] px-5 py-4 xl:hidden",children:[["El Campo","el-campo"],["CaracterÃsticas","caracteristicas"],["GalerÃa","galeria"],["Potencial","potencial"],["Ubicación","ubicacion"],["FAQ","faq"],["Contacto","contacto"]].map(([z,W])=>S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:104",onClick:()=>{Vc(W),t(!1)},className:"block w-full border-b border-[#b79b6d]/25 py-3 text-left text-sm font-bold text-[#1b3a2b]",children:z},W))})]}),S.jsxs("main",{"data-loc":"client/src/pages/Home.tsx:106",children:[S.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:107",className:"relative isolate min-h-[720px] overflow-hidden bg-[#c9b071]",children:[S.jsx("img",{"data-loc":"client/src/pages/Home.tsx:107",src:Xz,alt:"Paisaje agrÃcola aéreo referencial",className:"absolute inset-0 -z-20 h-full w-full object-cover brightness-110 saturate-125"}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:107",className:"absolute inset-0 -z-10 bg-gradient-to-r from-[#264c36]/82 via-[#406c43]/42 to-[#f7d985]/10"}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:107",className:"mx-auto flex min-h-[720px] max-w-7xl flex-col justify-center px-5 py-24 lg:px-8",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:107",className:"max-w-4xl border-l-4 border-[#c89535] bg-[#fffaf0]/94 p-6 shadow-2xl sm:p-9",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:107",className:"mb-7 flex flex-wrap gap-3",children:[S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:107",className:"border border-[#a56f21]/55 bg-[#f9ecd0] px-3 py-2 text-[11px] font-bold tracking-[0.18em] text-[#7e571c]",children:"OPORTUNIDAD AGRÃCOLA · CÃRDOBA"}),A.data?.weeklyViews?S.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:107",className:"border border-[#77915e] bg-[#eff4df] px-3 py-2 text-[11px] font-bold tracking-wide text-[#264c36]",children:[A.data.weeklyViews," vistas registradas esta semana"]}):null,A.data?.activeVisitors?S.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:107",className:"border border-[#c89535]/65 bg-[#fff4c8] px-3 py-2 text-[11px] font-bold tracking-wide text-[#705018]",children:[A.data.activeVisitors," visitante",A.data.activeVisitors===1?"":"s"," activo",A.data.activeVisitors===1?"":"s"]}):null]}),S.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:107",className:"font-display text-5xl font-black leading-[0.96] tracking-[-0.04em] text-[#173523] sm:text-6xl lg:text-8xl",children:["Campo La Cesira",S.jsx("br",{"data-loc":"client/src/pages/Home.tsx:107"}),S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:107",className:"text-[#a56f21]",children:"1.420 ha agrÃcolas"})]}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:107",className:"mt-7 max-w-2xl text-lg leading-relaxed text-[#39523b] sm:text-xl",children:"Escala, localización regional y potencial productivo para una evaluación agropecuaria seria, ordenada y profesional."}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:107",className:"mt-10 flex flex-col gap-3 sm:flex-row",children:[S.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:107",href:Vg,onClick:()=>$("whatsapp_negociaciones"),target:"_blank",rel:"noreferrer",className:"inline-flex items-center justify-center gap-3 bg-[#b78229] px-6 py-4 text-sm font-black text-white transition hover:bg-[#97621d]",children:["Iniciar Negociaciones ",S.jsx(Kx,{"data-loc":"client/src/pages/Home.tsx:107",className:"size-4"})]}),S.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:107",onClick:()=>Vc("potencial"),className:"inline-flex items-center justify-center gap-3 border border-[#264c36] px-6 py-4 text-sm font-black text-[#264c36] transition hover:bg-[#264c36] hover:text-white",children:["Ver Potencial Productivo ",S.jsx(Rw,{"data-loc":"client/src/pages/Home.tsx:107",className:"size-4"})]})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:107",className:"mt-10 grid max-w-3xl grid-cols-2 gap-5 border-t border-[#b79b6d]/55 pt-7 sm:grid-cols-4",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:107",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:107",className:"text-2xl font-black text-[#a56f21]",children:"~1.420"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:107",className:"mt-1 text-xs font-semibold uppercase tracking-widest text-[#50624a]",children:"Hectáreas"})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:107",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:107",className:"text-2xl font-black text-[#a56f21]",children:"100%"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:107",className:"mt-1 text-xs font-semibold uppercase tracking-widest text-[#50624a]",children:"AgrÃcola declarada"})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:107",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:107",className:"text-2xl font-black text-[#a56f21]",children:"4"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:107",className:"mt-1 text-xs font-semibold uppercase tracking-widest text-[#50624a]",children:"Cultivos de referencia"})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:107",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:107",className:"text-2xl font-black text-[#a56f21]",children:"â"}),S.jsx("a",{"data-loc":"client/src/pages/Home.tsx:107",href:Vg,onClick:()=>$("whatsapp_consultar_precio"),target:"_blank",rel:"noreferrer",className:"mt-1 block text-xs font-semibold uppercase tracking-widest text-[#39523b] hover:text-[#a56f21]",children:"Consultar precio â"})]})]})]})})]}),S.jsx("section",{"data-loc":"client/src/pages/Home.tsx:109",id:"el-campo",className:"scroll-mt-24 bg-[#f5f1e8] py-20 lg:py-28",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:109",className:"mx-auto grid max-w-7xl gap-12 px-5 lg:grid-cols-[1.15fr_.85fr] lg:px-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:109",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:109",className:"eyebrow",children:"EL CAMPO"}),S.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:109",className:"section-title",children:"Una escala agrÃcola que merece una evaluación a la altura de la o
913portunidad."}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:109",className:"mt-6 max-w-2xl text-lg leading-8 text-slate-600",children:"Campo La Cesira combina una superficie agrÃcola de gran escala, geometrÃa técnica disponible y una localización regional conectada con el sur de Córdoba. La presentación parte de datos concretos y distingue lo informado de aquello que requiere validación antes de una decisión."}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:109",className:"mt-9 grid gap-5 sm:grid-cols-2",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:109",className:"border-t-2 border-[#d4af37] pt-4",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:109",className:"text-xs font-bold uppercase tracking-[0.17em] text-[#9a7b1f]",children:"Coordenada central WGS84"}),S.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:109",className:"mt-2 font-display text-xl font-black text-[#0d1b2a]",children:["-34.0185084",S.jsx("br",{"data-loc":"client/src/pages/Home.tsx:109"}),"-63.0442996"]})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:109",className:"border-t-2 border-[#d4af37] pt-4",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:109",className:"text-xs font-bold uppercase tracking-[0.17em] text-[#9a7b1f]",children:"GeometrÃa KML"}),S.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:109",className:"mt-2 font-display text-xl font-black text-[#0d1b2a]",children:["1.422,34 ha",S.jsx("br",{"data-loc":"client/src/pages/Home.tsx:109"}),"aproximadas"]})]})]})]}),S.jsxs("aside",{"data-loc":"client/src/pages/Home.tsx:109",className:"bg-[#0d1b2a] p-7 text-white lg:p-10",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:109",className:"text-xs font-bold tracking-[0.18em] text-[#d4af37]",children:"ENFOQUE PROFESIONAL"}),S.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:109",className:"mt-4 font-display text-3xl font-black",children:"Potencial no es promesa."}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:109",className:"mt-5 leading-7 text-slate-300",children:"La evaluación responsable integra diagnóstico por ambientes, revisión documental, comprobación operativa y análisis económico adaptado a la campaña y al modelo de explotación."}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:109",className:"mt-8 space-y-4",children:["Información productiva orientativa","CartografÃa y coordenadas disponibles","Visita técnica y auditorÃa recomendadas"].map(z=>S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:109",className:"flex gap-3 text-sm",children:[S.jsx(Woe,{"data-loc":"client/src/pages/Home.tsx:109",className:"mt-0.5 size-4 shrink-0 text-[#d4af37]"}),z]},z))})]})]})}),S.jsx("section",{"data-loc":"client/src/pages/Home.tsx:111",id:"caracteristicas",className:"scroll-mt-24 bg-[#e9e3d7] py-20 lg:py-28",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:111",className:"mx-auto max-w-7xl px-5 lg:px-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:111",className:"max-w-3xl",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:111",className:"eyebrow",children:"FICHA TÃCNICA"}),S.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:111",className:"section-title",children:"Información central para ordenar la primera conversación."})]}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:111",className:"mt-11 grid gap-px bg-[#0d1b2a]/15 md:grid-cols-2 xl:grid-cols-4",children:[{icon:ise,title:"Aptitud declarada",text:"100 % agrÃcola, sujeto a validación por ambientes."},{icon:Zoe,title:"Accesos informados",text:"1,6 km de RP 3; referencias sujetas a recorrido real."},{icon:use,title:"Mejoras informadas",text:"Galpón, silos, casa y tanque australiano."},{icon:Pw,title:"Entorno regional",text:"La Cesira, con referencias a RN 7, Rufino y Laboulaye."}].map(z=>S.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:111",className:"bg-[#e9e3d7] p-7",children:[S.jsx(z.icon,{"data-loc":"client/src/pages/Home.tsx:111",className:"size-7 text-[#9a7b1f]"}),S.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:111",className:"mt-8 font-display text-xl font-black text-[#0d1b2a]",children:z.title}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:111",className:"mt-3 leading-7 text-slate-600",children:z.text})]},z.title))}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:111",className:"mt-9 border-l-4 border-[#d4af37] bg-white/70 p-5 text-sm leading-6 text-slate-600",children:[S.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:111",className:"text-[#0d1b2a]",children:"Nota de alcance."})," Las mejoras, distancias, aptitud y superficies se presentan con el alcance de la información aportada. La etapa de compra exige constatación fÃsica, documentación respaldatoria y revisión jurÃdica, catastral y agronómica independiente."]})]})}),S.jsx("section",{"data-loc":"client/src/pages/Home.tsx:113",id:"galeria",className:"scroll-mt-24 bg-[#0d1b2a] py-20 text-white lg:py-28",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:113",className:"mx-auto max-w-7xl px-5 lg:px-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:113",className:"flex flex-col justify-between gap-6 md:flex-row md:items-end",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:113",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:113",className:"eyebrow text-[#d4af37]",children:"GALERÃA Y SOPORTES"}),S.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:113",className:"section-title text-white",children:"Una presentación visual con la trazabilidad correspondiente."})]}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:113",className:"flex border-b border-white/20 text-sm font-bold",children:[["photos","Fotos"],["videos","Videos"],["docs","Documentación"]].map(([z,W])=>S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:113",onClick:()=>s(z),className:`px-4 py-3 ${o===z?"border-b-2 border-[#d4af37] text-[#d4af37]":"text-slate-400"}`,children:W},z))})]}),o==="photos"&&S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-10 columns-1 gap-4 md:columns-2 lg:columns-3",children:L.map((z,W)=>S.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:113",onClick:()=>i(W),className:"group mb-4 block w-full break-inside-avoid overflow-hidden text-left",children:[S.jsx("img",{"data-loc":"client/src/pages/Home.tsx:113",src:z,alt:W===2?"Mapa regional aportado":"Vista aérea agrÃcola referencial",className:"w-full object-cover transition duration-500 group-hover:scale-[1.03]"}),S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-3 block text-xs font-semibold tracking-wide text-slate-400",children:W===2?"Referencia cartográfica regional aportada":"Imagen aérea contextual"})]},z))}),o==="videos"&&S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-10 grid gap-5 md:grid-cols-2",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:113",className:"flex min-h-64 flex-col justify-between bg-[#172
91363a] p-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:113",children:[S.jsx(rse,{"data-loc":"client/src/pages/Home.tsx:113",className:"size-8 text-[#d4af37]"}),S.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-8 font-display text-2xl font-black",children:"Recorrido audiovisual"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-3 max-w-md leading-7 text-slate-300",children:"Sección preparada para incorporar videos originales del establecimiento, recorridas de lotes e infraestructura."})]}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-6 text-xs font-semibold uppercase tracking-wider text-[#d4af37]",children:"Material a incorporar con autorización"})]}),S.jsx("img",{"data-loc":"client/src/pages/Home.tsx:113",src:Qz,alt:"Paisaje rural contextual",className:"h-64 w-full object-cover md:h-full"})]}),o==="docs"&&S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-10 grid gap-4 md:grid-cols-3",children:[{title:"Informe agronómico",text:"Rindes, ambiente y supuestos productivos con alcance orientativo."},{title:"Poligonal KML/KMZ",text:"GeometrÃa del área para exploración técnica y validación posterior."},{title:"Ficha de La Cesira",text:"Contexto de localidad, infraestructura y referencias regionales."}].map(z=>S.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:113",className:"border border-white/15 p-6",children:[S.jsx(Qoe,{"data-loc":"client/src/pages/Home.tsx:113",className:"size-7 text-[#d4af37]"}),S.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-6 font-display text-xl font-black",children:z.title}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-3 leading-7 text-slate-300",children:z.text}),S.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:113",onClick:()=>Vc("contacto"),className:"mt-6 inline-flex items-center gap-2 text-sm font-bold text-[#d4af37]",children:["Solicitar acceso ",S.jsx(Kx,{"data-loc":"client/src/pages/Home.tsx:113",className:"size-4"})]})]},z.title))}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:113",className:"mt-10 flex flex-wrap gap-3",children:[S.jsx("a",{"data-loc":"client/src/pages/Home.tsx:113",href:`https://api.whatsapp.com/send?text=${encodeURIComponent("Campo La Cesira · Rodrigo Berdasquera Negocios & Bienes RaÃces")}%20${encodeURIComponent(window.location.href)}`,target:"_blank",rel:"noreferrer",className:"border border-white/30 px-4 py-3 text-sm font-bold transition hover:bg-white hover:text-[#0d1b2a]",children:"Compartir en WhatsApp"}),S.jsx("a",{"data-loc":"client/src/pages/Home.tsx:113",href:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(window.location.href)}`,target:"_blank",rel:"noreferrer",className:"border border-white/30 px-4 py-3 text-sm font-bold transition hover:bg-white hover:text-[#0d1b2a]",children:"Compartir en Facebook"})]})]})}),S.jsx("section",{"data-loc":"client/src/pages/Home.tsx:115",id:"potencial",className:"scroll-mt-24 bg-[#f5f1e8] py-20 lg:py-28",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:115",className:"mx-auto max-w-7xl px-5 lg:px-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:115",className:"grid gap-10 lg:grid-cols-[.85fr_1.15fr]",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:115",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:115",className:"eyebrow",children:"POTENCIAL PRODUCTIVO"}),S.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:115",className:"section-title",children:"Escenarios fÃsicos para dimensionar la escala, no para prometer resultados."}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:115",className:"mt-6 leading-8 text-slate-600",children:"Los rangos surgen del informe agronómico aportado. El rendimiento real depende de agua útil, fertilidad, fecha de siembra, genética, sanidad, manejo, superficie efectiva y campaña climática."}),S.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:115",href:Vg,target:"_blank",rel:"noreferrer",className:"mt-8 inline-flex items-center gap-2 text-sm font-bold text-[#0d1b2a] underline decoration-[#d4af37] decoration-2 underline-offset-8",children:["Solicitar análisis técnico y condiciones ",S.jsx(Kx,{"data-loc":"client/src/pages/Home.tsx:115",className:"size-4 text-[#9a7b1f]"})]})]}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:115",className:"overflow-x-auto bg-white",children:S.jsxs("table",{"data-loc":"client/src/pages/Home.tsx:115",className:"w-full min-w-[600px] text-left",children:[S.jsx("thead",{"data-loc":"client/src/pages/Home.tsx:115",className:"bg-[#0d1b2a] text-white",children:S.jsxs("tr",{"data-loc":"client/src/pages/Home.tsx:115",children:[S.jsx("th",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-4 text-xs uppercase tracking-wider",children:"Cultivo"}),S.jsx("th",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-4 text-xs uppercase tracking-wider",children:"Bajo"}),S.jsx("th",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-4 text-xs uppercase tracking-wider",children:"Medio"}),S.jsx("th",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-4 text-xs uppercase tracking-wider",children:"Alto"}),S.jsx("th",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-4 text-xs uppercase tracking-wider",children:"Volumen medio*"})]})}),S.jsx("tbody",{"data-loc":"client/src/pages/Home.tsx:115",children:VLe.map(z=>S.jsxs("tr",{"data-loc":"client/src/pages/Home.tsx:115",className:"border-b border-slate-200",children:[S.jsx("td",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-5 font-display text-lg font-black text-[#0d1b2a]",children:z.crop}),S.jsxs("td",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-5 text-slate-600",children:[z.low," ",z.unit]}),S.jsxs("td",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-5 font-bold text-[#9a7b1f]",children:[z.medium," ",z.unit]}),S.jsxs("td",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-5 text-slate-600",children:[z.high," ",z.unit]}),S.jsx("td",{"data-loc":"client/src/pages/Home.tsx:115",className:"px-5 py-5 font-bold text-[#0d1b2a]",children:z.volume})]},z.crop))})]})})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:115",className:"mt-9 grid gap-4 md:grid-cols-3",children:[S.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:115",className:"border-t-2 border-[#d4af37] bg-white p-5",children:[S.jsx(cse,{"data-loc":"client/src/pages/Home.tsx:115",className:"size-6 text-[#9a7b1f]"}),S.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:115",className:"mt-5 font-display text-xl font-black text-[#0d1b2a]",children:"Bajo"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:115",className:"mt-2 text-sm leading-6 text-slate-600",children:"Escenario de referencia inferior para organizar sensibilidad agronómica."})]}),S.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:115",className:"border-t-2 border-[#d4af37] bg-white p-5",children:[S.jsx(Rw,{"data-loc":"client/src/pages/Home.tsx:115",className:"size-6 text-[#9a7b1f]"}),S.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:115",className:"mt-5 font-display text-xl font-black text-[#0d1b2a]",children:"Medio"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:115",className:"mt-2 text-sm leading-6 text-slate-600",children:"Referencia de volumen fÃsico teórico sobre 1.420 ha si un cultivo cubriera toda la superficie."})]}),S.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:115",className:"border-t-2 border-[#d4af37] bg-white p-5",children:[S.jsx(ase,{"data-loc":"client/src/pages/Home.tsx:115",className:"size-6 text-[#9a7b1f]"}),S.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:115",className:"mt-5 font-display text-xl font-black text-[#0d1b2a]",children:"Alto"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:115",className:"mt-2 text-sm leading-6 text-slate-600",children:"Escenario superior sujeto a ambiente, manejo técnico y comportamiento de la campaña."})]})]}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:115",className:"mt-5 text-xs leading-6 text-slate-500",children:"* Los volúmenes teóricos no contemplan rotación, caminos, instalaciones, pérdidas, humedad de recibo, fletes, costos, impuestos ni variables comerciales. No constituyen proyección económica ni garantÃa de producción."})]})}),S.jsx("section",{"data-loc":"client/src/pages/Home.tsx:117",id:"ubicacion",className:"scroll-mt-24 bg-[#e9e3d7] py-20 lg:py-28",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"mx-auto max-w-7xl px-5 lg:px-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"grid gap-10 lg:grid-cols-[.85fr_1.15fr]",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:117",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:117",className:"eyebrow",children:"UBICACIÃN ESTRATÃGICA"}),S.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:117",className:"section-title",children:"Sur de Córdoba, con una referencia geográfica concreta."}),S.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:117",className:"mt-6 leading-8 text-slate-600",children:["El centroide técnico de trabajo se ubica en ",S.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:117",className:"text-[#0d1b2a]",children:"-34.0185084, -63.0442996"}),". El archivo KML/KMZ permite seguir la geometrÃa declarada, mientras que la referencia regional ilustra la relación con La Cesira y localidades del entorno."]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"mt-8 space-y-4 border-y border-[#0d1b2a]/15 py-6 text-sm",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"flex justify-between gap-6",children:[S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:117",className:"text-slate-500",children:"Formato sexagesimal"}),S.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:117",className:"text-right text-[#0d1b2a]",children:"34° 01â² 06,63â³ S / 63° 02â² 39,48â³ O"})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"flex justify-between gap-6",children:[S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:117",className:"text-slate-500",children:"Distancias informadas"}),S.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:117",className:"text-right text-[#0d1b2a]",children:"RP 3 · La Cesira · RN 7 · Rufino · Laboulaye"})]})]}),S.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:117",onClick:F,className:"mt-8 inl
913ine-flex items-center gap-2 bg-[#0d1b2a] px-5 py-3 text-sm font-bold text-white transition hover:bg-[#1c324c]",children:["Abrir ubicación en Google Maps ",S.jsx(Xoe,{"data-loc":"client/src/pages/Home.tsx:117",className:"size-4 text-[#d4af37]"})]})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"relative min-h-[420px] overflow-hidden border border-[#0d1b2a]/15 bg-white",children:[S.jsx("img",{"data-loc":"client/src/pages/Home.tsx:117",src:nw,alt:"Mapa regional de respaldo",className:"absolute inset-0 h-full w-full object-cover"}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"absolute inset-0 bg-[#0d1b2a]/10"}),S.jsx($Le,{"data-loc":"client/src/pages/Home.tsx:117",initialCenter:Gg,initialZoom:11,className:"relative z-10 h-[420px] bg-transparent",onMapReady:z=>{new google.maps.marker.AdvancedMarkerElement({map:z,position:Gg,title:"Campo La Cesira · centroide de trabajo"}),z.setMapTypeId("hybrid")}}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"pointer-events-none absolute bottom-4 left-4 z-20 bg-[#0d1b2a]/90 px-4 py-3 text-xs font-bold tracking-wide text-white",children:"CENTROIDE WGS84 · -34.0185084, -63.0442996"})]})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"mt-10 grid gap-5 md:grid-cols-2",children:[S.jsx("img",{"data-loc":"client/src/pages/Home.tsx:117",src:nw,alt:"Mapa regional aportado con referencia de La Cesira",className:"h-[310px] w-full object-cover"}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:117",className:"bg-[#0d1b2a] p-7 text-white",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:117",className:"text-xs font-bold tracking-[0.18em] text-[#d4af37]",children:"ALCANCE CARTOGRÃFICO"}),S.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:117",className:"mt-4 font-display text-2xl font-black",children:"CartografÃa para orientar; verificación para decidir."}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:117",className:"mt-4 leading-7 text-slate-300",children:"La imagen de ubicación es una referencia regional. Las distancias, accesos, lÃmites, superficie efectiva, servidumbres y restricciones deben verificarse con relevamiento, plano, c
913atastro y documentación respaldatoria."})]})]})]})}),S.jsx("section",{"data-loc":"client/src/pages/Home.tsx:119",id:"faq",className:"scroll-mt-24 bg-[#f5f1e8] py-20 lg:py-28",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:119",className:"mx-auto grid max-w-7xl gap-10 px-5 lg:grid-cols-[.7fr_1.3fr] lg:px-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:119",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:119",className:"eyebrow",children:"PREGUNTAS FRECUENTES"}),S.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:119",className:"section-title",children:"Respuestas claras para una evaluación inicial responsable."}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:119",className:"mt-6 leading-8 text-slate-600",children:"Si necesitás información adicional, documentación de respaldo o coordinar una visita, el equipo puede acompañar la próxima etapa de análisis."})]}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:119",className:"border-t border-[#0d1b2a]/20",children:GLe.map(([z,W],K)=>S.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:119",className:"border-b border-[#0d1b2a]/20",children:[S.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:119",onClick:()=>n(r===K?null:K),className:"flex w-full items-center justify-between gap-4 py-5 text-left",children:[S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:119",className:"font-display text-lg font-black text-[#0d1b2a]",children:z}),S.jsx(Voe,{"data-loc":"client/src/pages/Home.tsx:119",className:`size-5 shrink-0 transition ${r===K?"rotate-180":""}`})]}),r===K&&S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:119",className:"max-w-3xl pb-6 leading-7 text-slate-600",children:W})]},z))})]})}),S.jsx("section",{"data-loc":"client/src/pages/Home.tsx:121",id:"contacto",className:"scroll-mt-24 bg-[#0d1b2a] py-20 text-white lg:py-28",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",className:"mx-auto grid max-w-7xl gap-12 px-5 lg:grid-cols-[.82fr_1.18fr] lg:px-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:121",className:"eyebrow text-[#d4af37]",children:"CONTACTO"}),S.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:121",className:"section-title text-white",children:"Conozca el potencial. Verifique la realidad. Inicie una negociación profesional."}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:121",className:"mt-6 max-w-xl leading-8 text-slate-300",children:"Solicite información, coordine una visita o inicie una conversación sobre la estructura de análisis necesaria para avanzar con criterio técnico, jurÃdico y comercial."}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",className:"mt-10 space-y-5 text-sm",children:[S.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:121",href:"https://api.whatsapp.com/send/?phone=5493534180928&text&type=phone_number&app_absent=0",onClick:()=>$("whatsapp_contacto"),target:"_blank",rel:"noreferrer",className:"flex items-center gap-4",children:[S.jsx(Iw,{"data-loc":"client/src/pages/Home.tsx:121",className:"size-5 text-[#d4af37]"}),S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:121",children:"+54 9 353 418-0928"})]}),S.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:121",href:"tel:+5493534210191",onClick:()=>$("telefono"),className:"flex items-center gap-4",children:[S.jsx(tse,{"data-loc":"client/src/pages/Home.tsx:121",className:"size-5 text-[#d4af37]"}),S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:121",children:"+54 9 353 421-0191"})]}),S.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:121",href:"mailto:[email protected]",onClick:()=>$("email"),className:"flex items-center gap-4",children:[S.jsx(Mw,{"data-loc":"client/src/pages/Home.tsx:121",className:"size-5 text-[#d4af37]"}),S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:121",children:"[email protected]"})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",className:"flex items-center gap-4",children:[S.jsx(Pw,{"data-loc":"client/src/pages/Home.tsx:121",className:"size-5 text-[#d4af37]"}),S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:121",children:"Berutti 781, Villa MarÃa · Córdoba"})]})]})]}),S.jsxs("form",{"data-loc":"client/src/pages/Home.tsx:121",onSubmit:H,className:"bg-white p-6 text-slate-900 md:p-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",className:"flex items-center justify-between border-b border-slate-200 pb-5",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:121",className:"text-xs font-bold tracking-[0.16em] text-[#9a7b1f]",children:"CONSULTA CONFIDENCIAL"}),S.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:121",className:"mt-2 font-display text-2xl font-black text-[#0d1b2a]",children:"Hablemos del campo"})]}),S.jsx(Uoe,{"data-loc":"client/src/pages/Home.tsx:121",className:"size-7 text-[#d4af37]"})]}),m&&S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:121",className:"mt-5 border-l-4 border-[#d4af37] bg-[#f5f1e8] p-4 text-sm text-[#0d1b2a]",children:"Gracias. La consulta fue registrada y el equipo se comunicará a la brevedad."}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",className:"mt-6 grid gap-4 sm:grid-cols-2",children:[S.jsx(lg,{"data-loc":"client/src/pages/Home.tsx:121",required:!0,placeholder:"Nombre completo",value:h.name,onChange:z=>d({...h,name:z.target.value})}),S.jsx(lg,{"data-loc":"client/src/pages/Home.tsx:121",required:!0,type:"email",placeholder:"Email",value:h.email,onChange:z=>d({...h,email:z.target.value})}),S.jsx(lg,{"data-loc":"client/src/pages/Home.tsx:121",required:!0,placeholder:"Teléfono",value:h.phone,onChange:z=>d({...h,phone:z.target.value})}),S.jsxs("select",{"data-loc":"client/src/pages/Home.tsx:121",value:h.reason,onChange:z=>d({...h,reason:z.target.value}),className:"h-10 border border-input bg-transparent px-3 text-sm outline-none",children:[S.jsx("option",{"data-loc":"client/src/pages/Home.tsx:121",children:"Solicitar más información"}),S.jsx("option",{"data-loc":"client/src/pages/Home.tsx:121",children:"Coordinar visita al campo"}),S.jsx("option",{"data-loc":"client/src/pages/Home.tsx:121",children:"Consulta sobre financiación"}),S.jsx("option",{"data-loc":"client/src/pages/Home.tsx:121",children:"Solicitar modelo de rentabilidad"})]})]}),h.reason==="Coordinar visita al campo"&&S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",className:"mt-4",children:[S.jsx("label",{"data-loc":"client/src/pages/Home.tsx:121",className:"text-xs font-bold uppercase tracking-wider text-slate-500",children:"Fecha propuesta"}),S.jsx(lg,{"data-loc":"client/src/pages/Home.tsx:121",required:!0,type:"date",min:new Date().toISOString().slice(0,10),value:h.visitDate,onChange:z=>d({...h,visitDate:z.target.value}),className:"mt-2"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:121",className:"mt-2 text-xs text-emerald-700",children:"Al confirmar, se abrirá WhatsApp con el detalle de la visita propuesta."})]}),S.jsx($G,{"data-loc":"client/src/pages/Home.tsx:121",placeholder:"¿Qué información necesitás?",value:h.message,onChange:z=>d({...h,message:z.target.value}),className:"mt-4 min-h-28"}),S.jsxs(dl,{"data-loc":"client/src/pages/Home.tsx:121",type:"submit",disabled:P.isPending,className:"mt-5 w-full bg-[#d4af37] font-black text-[#0d1b2a] hover:bg-[#e4c558]",children:[P.isPending?"Enviando consulta...":"Enviar consulta",S.jsx(i$,{"data-loc":"client/src/pages/Home.tsx:121",className:"ml-2 size-4"})]}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:121",className:"mt-4 text-center text-xs leading-5 text-slate-500",children:"Sus datos se utilizarán exclusivamente para responder esta consulta y coordinar el contacto profesional."})]})]})}),S.jsx("section",{"data-loc":"client/src/pages/Home.tsx:123",className:"bg-[#e9e3d7] py-12",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:123",className:"mx-auto flex max-w-7xl flex-col items-start justify-between gap-5 px-5 md:flex-row md:items-center lg:px-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:123",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:123",className:"text-xs font-bold tracking-[0.18em] text-[#9a7b1f]",children:"CALIFICACIÃN DEL SITIO"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:123",className:"mt-2 text-sm text-slate-600",children:"¿La información y la navegación te resultaron claras?"})]}),S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:123",onClick:()=>b(!0),className:"border border-[#0d1b2a] px-5 py-3 text-sm font-bold text-[#0d1b2a] transition hover:bg-[#0d1b2a] hover:text-white",children:"Calificar experiencia"})]})})]}),S.jsxs("footer",{"data-loc":"client/src/pages/Home.tsx:126",className:"bg-[#07121f] py-12 text-white",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:126",className:"mx-auto grid max-w-7xl gap-10 px-5 md:grid-cols-3 lg:px-8",children:[S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:126",children:[S.jsx(Jz,{"data-loc":"client/src/pages/Home.tsx:126",light:!0}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:126",className:"mt-6 max-w-xs text-sm leading-6 text-slate-400",children:"Asesoramiento y comercialización inmobiliaria con criterio jurÃdico, técnico y estratég
913ico."})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:126",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:126",className:"text-xs font-bold tracking-[0.17em] text-[#d4af37]",children:"NAVEGACIÃN"}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:126",className:"mt-5 grid grid-cols-2 gap-3 text-sm text-slate-300",children:[["El Campo","el-campo"],["Potencial","potencial"],["Ubicación","ubicacion"],["FAQ","faq"]].map(([z,W])=>S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:126",onClick:()=>Vc(W),className:"text-left transition hover:text-[#d4af37]",children:z},W))})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:126",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:126",className:"text-xs font-bold tracking-[0.17em] text-[#d4af37]",children:"CONTACTO"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:126",className:"mt-5 text-sm text-slate-300",children:"Berutti 781, Villa MarÃa · Cba"}),S.jsx("a",{"data-loc":"client/src/pages/Home.tsx:126",href:"mailto:[email protected]",className:"mt-2 block text-sm text-slate-300 hover:text-[#d4af37]",children:"[email protected]"}),S.jsx("a",{"data-loc":"client/src/pages/Home.tsx:126",href:"https://rberdasqueraestudio.com.ar",target:"_blank",rel:"noreferrer",className:"mt-2 block text-sm text-slate-300 hover:text-[#d4af37]",children:"rberdasqueraestudio.com.ar"}),S.jsx("a",{"data-loc":"client/src/pages/Home.tsx:126",href:"https://www.instagram.com/estudiojuridico.rberdasquera",target:"_blank",rel:"noreferrer",className:"mt-2 block text-sm text-slate-300 hover:text-[#d4af37]",children:"@estudiojuridico.rberdasquera"})]})]}),S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:126",className:"mx-auto mt-10 flex max-w-7xl flex-col justify-between gap-3 border-t border-white/10 px-5 pt-6 text-xs text-slate-500 sm:flex-row lg:px-8",children:[S.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:126",children:["© ",new Date().getFullYear()," Rodrigo Berdasquera · Negocios & Bienes RaÃces"]}),S.jsx("span",{"data-loc":"client/src/pages/Home.tsx:126",children:"Valor real. Compromiso profesional."})]})]}),S.jsx(jLe,{"data-loc":"client/src/pages/Home.tsx:127"}),a!==null&&S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:128",className:"fixed inset-0 z-[70] grid place-items-center bg-[#02070d]/95 p-5",role:"dialog","aria-modal":"true",children:[S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:128",onClick:()=>i(null),className:"absolute right-5 top-5 text-white","aria-label":"Cerrar imagen",children:S.jsx(Ld,{"data-loc":"client/src/pages/Home.tsx:128",className:"size-7"})}),S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:128",onClick:()=>i((a-1+L.length)%L.length),className:"absolute left-5 text-white","aria-label":"Imagen anterior",children:S.jsx(r$,{"data-loc":"client/src/pages/Home.tsx:128",className:"size-9"})}),S.jsx("img",{"data-loc":"client/src/pages/Home.tsx:128",src:L[a],alt:"Vista ampliada de la galerÃa",className:"max-h-[82vh] max-w-[84vw] object-contain"}),S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:128",onClick:()=>i((a+1)%L.length),className:"absolute right-5 text-white","aria-label":"Imagen siguiente",children:S.jsx(Goe,{"data-loc":"client/src/pages/Home.tsx:128",className:"size-9"})})]}),u&&S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:129",className:"fixed inset-0 z-[80] grid place-items-center bg-black/60 p-5",role:"dialog","aria-modal":"true",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:129",className:"max-w-md bg-[#f5f1e8] p-7",children:[S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:129",onClick:()=>f(!1),className:"float-right text-[#0d1b2a]","aria-label":"Cerrar",children:S.jsx(Ld,{"data-loc":"client/src/pages/Home.tsx:129",className:"size-5"})}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:129",className:"text-xs font-bold tracking-[0.17em] text-[#9a7b1f]",children:"ANTES DE IRTE"}),S.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:129",className:"mt-3 font-display text-3xl font-black text-[#0d1b2a]",children:"¿Querés recibir información técnica del campo?"}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:129",className:"mt-4 leading-7 text-slate-600",children:"Dejá tu consulta y coordiná una conversación profesional sobre el potencial, la ubicación y el proceso de evaluación."}),S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:129",onClick:()=>{f(!1),Vc("contacto")},className:"mt-6 bg-[#0d1b2a] px-5 py-3 text-sm font-bold text-white",children:"Dejar una consulta"})]})}),y&&S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:130",className:"fixed inset-0 z-[80] grid place-items-center bg-black/60 p-5",role:"dialog","aria-modal":"true",children:S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:130",className:"w-full max-w-md bg-white p-7",children:[S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:130",onClick:()=>b(!1),className:"float-right","aria-label":"Cerrar",children:S.jsx(Ld,{"data-loc":"client/src/pages/Home.tsx:130",className:"size-5"})}),S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:130",className:"text-xs font-bold tracking-[0.17em] text-[#9a7b1f]",children:"CALIFICACIÃN"}),S.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:130",className:"mt-3 font-display text-2xl font-black text-[#0d1b2a]",children:"Tu experiencia en el sitio"}),[["navigation","Navegación"],["clarity","Claridad"],["experience","Experiencia"]].map(([z,W])=>S.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:130",className:"mt-5",children:[S.jsx("p",{"data-loc":"client/src/pages/Home.tsx:130",className:"text-sm font-bold",children:W}),S.jsx("div",{"data-loc":"client/src/pages/Home.tsx:130",className:"mt-2 flex gap-2",children:[1,2,3,4,5].map(K=>S.jsx("button",{"data-loc":"client/src/pages/Home.tsx:130",onClick:()=>_({...E,[z]:K}),className:`grid size-9 place-items-center border text-sm font-bold ${E[z]>=K?"border-[#d4af37] bg-[#d4af37] text-[#0d1b2a]":"border-slate-300 text-slate-500"}`,children:K},K))})]},z)),S.jsx(dl,{"data-loc":"client/src/pages/Home.tsx:130",disabled:!E.navigation||!E.clarity||!E.experience||O.isPending,onClick:()=>O.mutate({sessionId:k,...E}),className:"mt-7 w-full bg-[#0d1b2a] text-white",children:"Enviar calificación"})]})})]})}function WLe(){return S.jsxs(Mse,{"data-loc":"client/src/App.tsx:11",children:[S.jsx(ng,{"data-loc":"client/src/App.tsx:11",path:"/",component:YLe}),S.jsx(ng,{"data-loc":"client/src/App.tsx:11",path:"/admin",component:YEe}),S.jsx(ng,{"data-loc":"client/src/App.tsx:11",path:"/404",component:rN}),S.jsx(ng,{"data-loc":"client/src/App.tsx:11",component:rN})]})}function KLe(){return S.jsx(Pse,{"data-loc":"client/src/App.tsx:15",children:S.jsx(Dse,{"data-loc":"client/src/App.tsx:15",defaultTheme:"light",children:S.jsxs(hT,{"data-loc":"client/src/App.tsx:15",children:[S.jsx(Hne,{"data-loc":"client/src/App.tsx:15"}),S.jsx(WLe,{"data-loc":"client/src/App.tsx:15"})]})})})}const zv=new zee,eZ=e=>{!(e instanceof df)||typeof window>"u"||!(e.message===Ere)||gT()};zv.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;eZ(t),console.error("[API Query Error]",t)}});zv.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;eZ(t),console.error("[API Mutation Error]",t)}});const XLe=ha.createClient({links:[Yte({url:"/api/trpc",transformer:fs,headers(){try{const e=sessionStorage.getItem("manus-cookie");if(e){const t=`${xre}=`,n=e.split(";").find(a=>a.trim().startsWith(t))?.trim().slice(t.length);if(n)return{Authorization:`Bearer ${n}`}}}catch{}return{}},fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});kre.createRoot(document.getElementById("root")).render(S.jsx(ha.Provider,{"data-loc":"client/src/main.tsx:76",client:XLe,queryClient:zv,children:S.jsx(Fee,{"data-loc":"client/src/main.tsx:77",client:zv,children:S.jsx(KLe,{"data-loc":"client/src/main.tsx:78"})})}));export{xh as $,sje as A,Y1e as B,vp as C,fI as D,cI as E,fV as F,gA as G,Oy as H,Dge as I,Ige as J,Sf as K,Pge as L,Mge as M,L1 as N,bp as O,pA as P,dA as Q,pa as R,ou as S,D1 as T,oA as U,ZU as V,b1 as W,R1 as X,xI as Y,oge as Z,Q as _,cr as a,J0e as a0,ede as a1,Z0e as a2,Q0e as a3,X0e as a4,K0e as a5,W0e as a6,xy as a7,M0e as a8,R0e as a9,Y0e as aa,G0e as ab,nr as ac,fje as ad,Ii as b,UU as c,eje as d,aje as e,tje as f,oje as g,LR as h,rje as i,ije as j,vh as k,I1 as l,nje as m,WU as n,V0e as o,vf as p,$T as q,tA as r,y1 as s,by as t,Yt as u,Wme as v,FT as w,rA as x,qq as y,Yq as z};
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.