287 lines
1.7 MiB
287 lines
1.7 MiB
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();const oA="modulepreload",aA=function(r){return"/__unocss/"+r},YO={},AD=function(e,t,n){let i=Promise.resolve();if(t&&t.length>0){const s=document.getElementsByTagName("link");i=Promise.all(t.map(a=>{if(a=aA(a),a in YO)return;YO[a]=!0;const l=a.endsWith(".css"),p=l?'[rel="stylesheet"]':"";if(!!n)for(let b=s.length-1;b>=0;b--){const S=s[b];if(S.href===a&&(!l||S.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${p}`))return;const g=document.createElement("link");if(g.rel=l?"stylesheet":oA,l||(g.as="script",g.crossOrigin=""),g.href=a,document.head.appendChild(g),l)return new Promise((b,S)=>{g.addEventListener("load",b),g.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${a}`)))})}))}return i.then(()=>e()).catch(s=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s})};function TD(r,e){const t=Object.create(null),n=r.split(",");for(let i=0;i<n.length;i++)t[n[i]]=!0;return e?i=>!!t[i.toLowerCase()]:i=>!!t[i]}const zs={},_p=[],dl=()=>{},uA=()=>!1,lA=/^on[^a-z]/,Eg=r=>lA.test(r),PD=r=>r.startsWith("onUpdate:"),Yo=Object.assign,kD=(r,e)=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)},cA=Object.prototype.hasOwnProperty,ms=(r,e)=>cA.call(r,e),Pi=Array.isArray,$p=r=>yd(r)==="[object Map]",wg=r=>yd(r)==="[object Set]",GO=r=>yd(r)==="[object Date]",Vi=r=>typeof r=="function",xo=r=>typeof r=="string",Up=r=>typeof r=="symbol",Ns=r=>r!==null&&typeof r=="object",Lv=r=>(Ns(r)||Vi(r))&&Vi(r.then)&&Vi(r.catch),Xv=Object.prototype.toString,yd=r=>Xv.call(r),hA=r=>yd(r).slice(8,-1),Vv=r=>yd(r)==="[object Object]",FD=r=>xo(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,mm=TD(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ag=r=>{const e=Object.create(null);return t=>e[t]||(e[t]=r(t))},pA=/-(\w)/g,bl=Ag(r=>r.replace(pA,(e,t)=>t?t.toUpperCase():"")),fA=/\B([A-Z])/g,Gh=Ag(r=>r.replace(fA,"-$1").toLowerCase()),Tg=Ag(r=>r.charAt(0).toUpperCase()+r.slice(1)),D0=Ag(r=>r?`on${Tg(r)}`:""),Xh=(r,e)=>!Object.is(r,e),gm=(r,e)=>{for(let t=0;t<r.length;t++)r[t](e)},Nm=(r,e,t)=>{Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value:t})},dA=r=>{const e=parseFloat(r);return isNaN(e)?r:e};let HO;const cy=()=>HO||(HO=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ml(r){if(Pi(r)){const e={};for(let t=0;t<r.length;t++){const n=r[t],i=xo(n)?DA(n):ml(n);if(i)for(const s in i)e[s]=i[s]}return e}else if(xo(r)||Ns(r))return r}const mA=/;(?![^(]*\))/g,gA=/:([^]+)/,yA=/\/\*[^]*?\*\//g;function DA(r){const e={};return r.replace(yA,"").split(mA).forEach(t=>{if(t){const n=t.split(gA);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Fa(r){let e="";if(xo(r))e=r;else if(Pi(r))for(let t=0;t<r.length;t++){const n=Fa(r[t]);n&&(e+=n+" ")}else if(Ns(r))for(const t in r)r[t]&&(e+=t+" ");return e.trim()}function OA(r){if(!r)return null;let{class:e,style:t}=r;return e&&!xo(e)&&(r.class=Fa(e)),t&&(r.style=ml(t)),r}const xA="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bA=TD(xA);function Uv(r){return!!r||r===""}function vA(r,e){if(r.length!==e.length)return!1;let t=!0;for(let n=0;t&&n<r.length;n++)t=Pg(r[n],e[n]);return t}function Pg(r,e){if(r===e)return!0;let t=GO(r),n=GO(e);if(t||n)return t&&n?r.getTime()===e.getTime():!1;if(t=Up(r),n=Up(e),t||n)return r===e;if(t=Pi(r),n=Pi(e),t||n)return t&&n?vA(r,e):!1;if(t=Ns(r),n=Ns(e),t||n){if(!t||!n)return!1;const i=Object.keys(r).length,s=Object.keys(e).length;if(i!==s)return!1;for(const a in r){const l=r.hasOwnProperty(a),p=e.hasOwnProperty(a);if(l&&!p||!l&&p||!Pg(r[a],e[a]))return!1}}return String(r)===String(e)}function qv(r,e){return r.findIndex(t=>Pg(t,e))}const Gs=r=>xo(r)?r:r==null?"":Pi(r)||Ns(r)&&(r.toString===Xv||!Vi(r.toString))?JSON.stringify(r,zv,2):String(r),zv=(r,e)=>e&&e.__v_isRef?zv(r,e.value):$p(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((t,[n,i])=>(t[`${n} =>`]=i,t),{})}:wg(e)?{[`Set(${e.size})`]:[...e.values()]}:Ns(e)&&!Pi(e)&&!Vv(e)?String(e):e;let Va;class CA{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Va,!e&&Va&&(this.index=(Va.scopes||(Va.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Va;try{return Va=this,e()}finally{Va=t}}}on(){Va=this}off(){Va=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function SA(r,e=Va){e&&e.active&&e.effects.push(r)}function Wv(){return Va}function EA(r){Va&&Va.cleanups.push(r)}const _D=r=>{const e=new Set(r);return e.w=0,e.n=0,e},Zv=r=>(r.w&Hc)>0,Yv=r=>(r.n&Hc)>0,wA=({deps:r})=>{if(r.length)for(let e=0;e<r.length;e++)r[e].w|=Hc},AA=r=>{const{deps:e}=r;if(e.length){let t=0;for(let n=0;n<e.length;n++){const i=e[n];Zv(i)&&!Yv(i)?i.delete(r):e[t++]=i,i.w&=~Hc,i.n&=~Hc}e.length=t}},Im=new WeakMap;let Cf=0,Hc=1;const hy=30;let xu;const Rh=Symbol(""),py=Symbol("");class $D{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,SA(this,n)}run(){if(!this.active)return this.fn();let e=xu,t=qc;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=xu,xu=this,qc=!0,Hc=1<<++Cf,Cf<=hy?wA(this):JO(this),this.fn()}finally{Cf<=hy&&AA(this),Hc=1<<--Cf,xu=this.parent,qc=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){xu===this?this.deferStop=!0:this.active&&(JO(this),this.onStop&&this.onStop(),this.active=!1)}}function JO(r){const{deps:e}=r;if(e.length){for(let t=0;t<e.length;t++)e[t].delete(r);e.length=0}}let qc=!0;const Gv=[];function rf(){Gv.push(qc),qc=!1}function nf(){const r=Gv.pop();qc=r===void 0?!0:r}function _a(r,e,t){if(qc&&xu){let n=Im.get(r);n||Im.set(r,n=new Map);let i=n.get(t);i||n.set(t,i=_D()),Hv(i)}}function Hv(r,e){let t=!1;Cf<=hy?Yv(r)||(r.n|=Hc,t=!Zv(r)):t=!r.has(xu),t&&(r.add(xu),xu.deps.push(r))}function Kl(r,e,t,n,i,s){const a=Im.get(r);if(!a)return;let l=[];if(e==="clear")l=[...a.values()];else if(t==="length"&&Pi(r)){const p=Number(n);a.forEach((m,g)=>{(g==="length"||!Up(g)&&g>=p)&&l.push(m)})}else switch(t!==void 0&&l.push(a.get(t)),e){case"add":Pi(r)?FD(t)&&l.push(a.get("length")):(l.push(a.get(Rh)),$p(r)&&l.push(a.get(py)));break;case"delete":Pi(r)||(l.push(a.get(Rh)),$p(r)&&l.push(a.get(py)));break;case"set":$p(r)&&l.push(a.get(Rh));break}if(l.length===1)l[0]&&fy(l[0]);else{const p=[];for(const m of l)m&&p.push(...m);fy(_D(p))}}function fy(r,e){const t=Pi(r)?r:[...r];for(const n of t)n.computed&&KO(n);for(const n of t)n.computed||KO(n)}function KO(r,e){(r!==xu||r.allowRecurse)&&(r.scheduler?r.scheduler():r.run())}function TA(r,e){var t;return(t=Im.get(r))==null?void 0:t.get(e)}const PA=TD("__proto__,__v_isRef,__isVue"),Jv=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(Up)),e1=kA();function kA(){const r={};return["includes","indexOf","lastIndexOf"].forEach(e=>{r[e]=function(...t){const n=Os(this);for(let s=0,a=this.length;s<a;s++)_a(n,"get",s+"");const i=n[e](...t);return i===-1||i===!1?n[e](...t.map(Os)):i}}),["push","pop","shift","unshift","splice"].forEach(e=>{r[e]=function(...t){rf();const n=Os(this)[e].apply(this,t);return nf(),n}}),r}function FA(r){const e=Os(this);return _a(e,"has",r),e.hasOwnProperty(r)}class Kv{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const i=this._isReadonly,s=this._shallow;if(t==="__v_isReactive")return!i;if(t==="__v_isReadonly")return i;if(t==="__v_isShallow")return s;if(t==="__v_raw"&&n===(i?s?UA:nC:s?rC:tC).get(e))return e;const a=Pi(e);if(!i){if(a&&ms(e1,t))return Reflect.get(e1,t,n);if(t==="hasOwnProperty")return FA}const l=Reflect.get(e,t,n);return(Up(t)?Jv.has(t):PA(t))||(i||_a(e,"get",t),s)?l:Hs(l)?a&&FD(t)?l:l.value:Ns(l)?i?Od(l):Dd(l):l}}class eC extends Kv{constructor(e=!1){super(!1,e)}set(e,t,n,i){let s=e[t];if(qp(s)&&Hs(s)&&!Hs(n))return!1;if(!this._shallow&&(!Mm(n)&&!qp(n)&&(s=Os(s),n=Os(n)),!Pi(e)&&Hs(s)&&!Hs(n)))return s.value=n,!0;const a=Pi(e)&&FD(t)?Number(t)<e.length:ms(e,t),l=Reflect.set(e,t,n,i);return e===Os(i)&&(a?Xh(n,s)&&Kl(e,"set",t,n):Kl(e,"add",t,n)),l}deleteProperty(e,t){const n=ms(e,t);e[t];const i=Reflect.deleteProperty(e,t);return i&&n&&Kl(e,"delete",t,void 0),i}has(e,t){const n=Reflect.has(e,t);return(!Up(t)||!Jv.has(t))&&_a(e,"has",t),n}ownKeys(e){return _a(e,"iterate",Pi(e)?"length":Rh),Reflect.ownKeys(e)}}class _A extends Kv{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const $A=new eC,BA=new _A,NA=new eC(!0),BD=r=>r,kg=r=>Reflect.getPrototypeOf(r);function Md(r,e,t=!1,n=!1){r=r.__v_raw;const i=Os(r),s=Os(e);t||(Xh(e,s)&&_a(i,"get",e),_a(i,"get",s));const{has:a}=kg(i),l=n?BD:t?MD:qf;if(a.call(i,e))return l(r.get(e));if(a.call(i,s))return l(r.get(s));r!==i&&r.get(e)}function Rd(r,e=!1){const t=this.__v_raw,n=Os(t),i=Os(r);return e||(Xh(r,i)&&_a(n,"has",r),_a(n,"has",i)),r===i?t.has(r):t.has(r)||t.has(i)}function Qd(r,e=!1){return r=r.__v_raw,!e&&_a(Os(r),"iterate",Rh),Reflect.get(r,"size",r)}function t1(r){r=Os(r);const e=Os(this);return kg(e).has.call(e,r)||(e.add(r),Kl(e,"add",r,r)),this}function r1(r,e){e=Os(e);const t=Os(this),{has:n,get:i}=kg(t);let s=n.call(t,r);s||(r=Os(r),s=n.call(t,r));const a=i.call(t,r);return t.set(r,e),s?Xh(e,a)&&Kl(t,"set",r,e):Kl(t,"add",r,e),this}function n1(r){const e=Os(this),{has:t,get:n}=kg(e);let i=t.call(e,r);i||(r=Os(r),i=t.call(e,r)),n&&n.call(e,r);const s=e.delete(r);return i&&Kl(e,"delete",r,void 0),s}function i1(){const r=Os(this),e=r.size!==0,t=r.clear();return e&&Kl(r,"clear",void 0,void 0),t}function jd(r,e){return function(n,i){const s=this,a=s.__v_raw,l=Os(a),p=e?BD:r?MD:qf;return!r&&_a(l,"iterate",Rh),a.forEach((m,g)=>n.call(i,p(m),p(g),s))}}function Ld(r,e,t){return function(...n){const i=this.__v_raw,s=Os(i),a=$p(s),l=r==="entries"||r===Symbol.iterator&&a,p=r==="keys"&&a,m=i[r](...n),g=t?BD:e?MD:qf;return!e&&_a(s,"iterate",p?py:Rh),{next(){const{value:b,done:S}=m.next();return S?{value:b,done:S}:{value:l?[g(b[0]),g(b[1])]:g(b),done:S}},[Symbol.iterator](){return this}}}}function kc(r){return function(...e){return r==="delete"?!1:r==="clear"?void 0:this}}function IA(){const r={get(s){return Md(this,s)},get size(){return Qd(this)},has:Rd,add:t1,set:r1,delete:n1,clear:i1,forEach:jd(!1,!1)},e={get(s){return Md(this,s,!1,!0)},get size(){return Qd(this)},has:Rd,add:t1,set:r1,delete:n1,clear:i1,forEach:jd(!1,!0)},t={get(s){return Md(this,s,!0)},get size(){return Qd(this,!0)},has(s){return Rd.call(this,s,!0)},add:kc("add"),set:kc("set"),delete:kc("delete"),clear:kc("clear"),forEach:jd(!0,!1)},n={get(s){return Md(this,s,!0,!0)},get size(){return Qd(this,!0)},has(s){return Rd.call(this,s,!0)},add:kc("add"),set:kc("set"),delete:kc("delete"),clear:kc("clear"),forEach:jd(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{r[s]=Ld(s,!1,!1),t[s]=Ld(s,!0,!1),e[s]=Ld(s,!1,!0),n[s]=Ld(s,!0,!0)}),[r,t,e,n]}const[MA,RA,QA,jA]=IA();function ND(r,e){const t=e?r?jA:QA:r?RA:MA;return(n,i,s)=>i==="__v_isReactive"?!r:i==="__v_isReadonly"?r:i==="__v_raw"?n:Reflect.get(ms(t,i)&&i in n?t:n,i,s)}const LA={get:ND(!1,!1)},XA={get:ND(!1,!0)},VA={get:ND(!0,!1)},tC=new WeakMap,rC=new WeakMap,nC=new WeakMap,UA=new WeakMap;function qA(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zA(r){return r.__v_skip||!Object.isExtensible(r)?0:qA(hA(r))}function Dd(r){return qp(r)?r:ID(r,!1,$A,LA,tC)}function iC(r){return ID(r,!1,NA,XA,rC)}function Od(r){return ID(r,!0,BA,VA,nC)}function ID(r,e,t,n,i){if(!Ns(r)||r.__v_raw&&!(e&&r.__v_isReactive))return r;const s=i.get(r);if(s)return s;const a=zA(r);if(a===0)return r;const l=new Proxy(r,a===2?n:t);return i.set(r,l),l}function Bp(r){return qp(r)?Bp(r.__v_raw):!!(r&&r.__v_isReactive)}function qp(r){return!!(r&&r.__v_isReadonly)}function Mm(r){return!!(r&&r.__v_isShallow)}function sC(r){return Bp(r)||qp(r)}function Os(r){const e=r&&r.__v_raw;return e?Os(e):r}function oC(r){return Nm(r,"__v_skip",!0),r}const qf=r=>Ns(r)?Dd(r):r,MD=r=>Ns(r)?Od(r):r;function RD(r){qc&&xu&&(r=Os(r),Hv(r.dep||(r.dep=_D())))}function QD(r,e){r=Os(r);const t=r.dep;t&&fy(t)}function Hs(r){return!!(r&&r.__v_isRef===!0)}function Zs(r){return aC(r,!1)}function Np(r){return aC(r,!0)}function aC(r,e){return Hs(r)?r:new WA(r,e)}class WA{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Os(e),this._value=t?e:qf(e)}get value(){return RD(this),this._value}set value(e){const t=this.__v_isShallow||Mm(e)||qp(e);e=t?e:Os(e),Xh(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:qf(e),QD(this))}}function wi(r){return Hs(r)?r.value:r}const ZA={get:(r,e,t)=>wi(Reflect.get(r,e,t)),set:(r,e,t,n)=>{const i=r[e];return Hs(i)&&!Hs(t)?(i.value=t,!0):Reflect.set(r,e,t,n)}};function uC(r){return Bp(r)?r:new Proxy(r,ZA)}class YA{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>RD(this),()=>QD(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function GA(r){return new YA(r)}function HA(r){const e=Pi(r)?new Array(r.length):{};for(const t in r)e[t]=lC(r,t);return e}class JA{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return TA(Os(this._object),this._key)}}class KA{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function eT(r,e,t){return Hs(r)?r:Vi(r)?new KA(r):Ns(r)&&arguments.length>1?lC(r,e,t):Zs(r)}function lC(r,e,t){const n=r[e];return Hs(n)?n:new JA(r,e,t)}class tT{constructor(e,t,n,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new $D(e,()=>{this._dirty||(this._dirty=!0,QD(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const e=Os(this);return RD(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function rT(r,e,t=!1){let n,i;const s=Vi(r);return s?(n=r,i=dl):(n=r.get,i=r.set),new tT(n,i,s||!i,t)}function zc(r,e,t,n){let i;try{i=n?r(...n):r()}catch(s){Fg(s,e,t)}return i}function Su(r,e,t,n){if(Vi(r)){const s=zc(r,e,t,n);return s&&Lv(s)&&s.catch(a=>{Fg(a,e,t)}),s}const i=[];for(let s=0;s<r.length;s++)i.push(Su(r[s],e,t,n));return i}function Fg(r,e,t,n=!0){const i=e?e.vnode:null;if(e){let s=e.parent;const a=e.proxy,l=t;for(;s;){const m=s.ec;if(m){for(let g=0;g<m.length;g++)if(m[g](r,a,l)===!1)return}s=s.parent}const p=e.appContext.config.errorHandler;if(p){zc(p,null,10,[r,a,l]);return}}nT(r,t,i,n)}function nT(r,e,t,n=!0){console.error(r)}let zf=!1,dy=!1;const oa=[];let ul=0;const Ip=[];let Hl=null,Fh=0;const cC=Promise.resolve();let jD=null;function Hh(r){const e=jD||cC;return r?e.then(this?r.bind(this):r):e}function iT(r){let e=ul+1,t=oa.length;for(;e<t;){const n=e+t>>>1,i=oa[n],s=Wf(i);s<r||s===r&&i.pre?e=n+1:t=n}return e}function LD(r){(!oa.length||!oa.includes(r,zf&&r.allowRecurse?ul+1:ul))&&(r.id==null?oa.push(r):oa.splice(iT(r.id),0,r),hC())}function hC(){!zf&&!dy&&(dy=!0,jD=cC.then(fC))}function sT(r){const e=oa.indexOf(r);e>ul&&oa.splice(e,1)}function oT(r){Pi(r)?Ip.push(...r):(!Hl||!Hl.includes(r,r.allowRecurse?Fh+1:Fh))&&Ip.push(r),hC()}function s1(r,e=zf?ul+1:0){for(;e<oa.length;e++){const t=oa[e];t&&t.pre&&(oa.splice(e,1),e--,t())}}function pC(r){if(Ip.length){const e=[...new Set(Ip)];if(Ip.length=0,Hl){Hl.push(...e);return}for(Hl=e,Hl.sort((t,n)=>Wf(t)-Wf(n)),Fh=0;Fh<Hl.length;Fh++)Hl[Fh]();Hl=null,Fh=0}}const Wf=r=>r.id==null?1/0:r.id,aT=(r,e)=>{const t=Wf(r)-Wf(e);if(t===0){if(r.pre&&!e.pre)return-1;if(e.pre&&!r.pre)return 1}return t};function fC(r){dy=!1,zf=!0,oa.sort(aT);try{for(ul=0;ul<oa.length;ul++){const e=oa[ul];e&&e.active!==!1&&zc(e,null,14)}}finally{ul=0,oa.length=0,pC(),zf=!1,jD=null,(oa.length||Ip.length)&&fC()}}function uT(r,e,...t){if(r.isUnmounted)return;const n=r.vnode.props||zs;let i=t;const s=e.startsWith("update:"),a=s&&e.slice(7);if(a&&a in n){const g=`${a==="modelValue"?"model":a}Modifiers`,{number:b,trim:S}=n[g]||zs;S&&(i=t.map($=>xo($)?$.trim():$)),b&&(i=t.map(dA))}let l,p=n[l=D0(e)]||n[l=D0(bl(e))];!p&&s&&(p=n[l=D0(Gh(e))]),p&&Su(p,r,6,i);const m=n[l+"Once"];if(m){if(!r.emitted)r.emitted={};else if(r.emitted[l])return;r.emitted[l]=!0,Su(m,r,6,i)}}function dC(r,e,t=!1){const n=e.emitsCache,i=n.get(r);if(i!==void 0)return i;const s=r.emits;let a={},l=!1;if(!Vi(r)){const p=m=>{const g=dC(m,e,!0);g&&(l=!0,Yo(a,g))};!t&&e.mixins.length&&e.mixins.forEach(p),r.extends&&p(r.extends),r.mixins&&r.mixins.forEach(p)}return!s&&!l?(Ns(r)&&n.set(r,null),null):(Pi(s)?s.forEach(p=>a[p]=null):Yo(a,s),Ns(r)&&n.set(r,a),a)}function _g(r,e){return!r||!Eg(e)?!1:(e=e.slice(2).replace(/Once$/,""),ms(r,e[0].toLowerCase()+e.slice(1))||ms(r,Gh(e))||ms(r,e))}let Wo=null,$g=null;function Rm(r){const e=Wo;return Wo=r,$g=r&&r.type.__scopeId||null,e}function lT(r){$g=r}function cT(){$g=null}const hT=r=>fa;function fa(r,e=Wo,t){if(!e||r._n)return r;const n=(...i)=>{n._d&&g1(-1);const s=Rm(e);let a;try{a=r(...i)}finally{Rm(s),n._d&&g1(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function O0(r){const{type:e,vnode:t,proxy:n,withProxy:i,props:s,propsOptions:[a],slots:l,attrs:p,emit:m,render:g,renderCache:b,data:S,setupState:$,ctx:G,inheritAttrs:be}=r;let ke,me;const Ve=Rm(r);try{if(t.shapeFlag&4){const ht=i||n,bt=ht;ke=ol(g.call(bt,ht,b,s,$,S,G)),me=p}else{const ht=e;ke=ol(ht.length>1?ht(s,{attrs:p,slots:l,emit:m}):ht(s,null)),me=e.props?p:pT(p)}}catch(ht){$f.length=0,Fg(ht,r,1),ke=bs(Jc)}let Dt=ke;if(me&&be!==!1){const ht=Object.keys(me),{shapeFlag:bt}=Dt;ht.length&&bt&7&&(a&&ht.some(PD)&&(me=fT(me,a)),Dt=zp(Dt,me))}return t.dirs&&(Dt=zp(Dt),Dt.dirs=Dt.dirs?Dt.dirs.concat(t.dirs):t.dirs),t.transition&&(Dt.transition=t.transition),ke=Dt,Rm(Ve),ke}const pT=r=>{let e;for(const t in r)(t==="class"||t==="style"||Eg(t))&&((e||(e={}))[t]=r[t]);return e},fT=(r,e)=>{const t={};for(const n in r)(!PD(n)||!(n.slice(9)in e))&&(t[n]=r[n]);return t};function dT(r,e,t){const{props:n,children:i,component:s}=r,{props:a,children:l,patchFlag:p}=e,m=s.emitsOptions;if(e.dirs||e.transition)return!0;if(t&&p>=0){if(p&1024)return!0;if(p&16)return n?o1(n,a,m):!!a;if(p&8){const g=e.dynamicProps;for(let b=0;b<g.length;b++){const S=g[b];if(a[S]!==n[S]&&!_g(m,S))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===a?!1:n?a?o1(n,a,m):!0:!!a;return!1}function o1(r,e,t){const n=Object.keys(e);if(n.length!==Object.keys(r).length)return!0;for(let i=0;i<n.length;i++){const s=n[i];if(e[s]!==r[s]&&!_g(t,s))return!0}return!1}function mT({vnode:r,parent:e},t){for(;e&&e.subTree===r;)(r=e.vnode).el=t,e=e.parent}const mC="components";function Vh(r,e){return yT(mC,r,!0,e)||r}const gT=Symbol.for("v-ndc");function yT(r,e,t=!0,n=!1){const i=Wo||Mo;if(i){const s=i.type;if(r===mC){const l=aP(s,!1);if(l&&(l===e||l===bl(e)||l===Tg(bl(e))))return s}const a=a1(i[r]||s[r],e)||a1(i.appContext[r],e);return!a&&n?s:a}}function a1(r,e){return r&&(r[e]||r[bl(e)]||r[Tg(bl(e))])}const DT=r=>r.__isSuspense;function OT(r,e){e&&e.pendingBranch?Pi(r)?e.effects.push(...r):e.effects.push(r):oT(r)}function gC(r,e){return XD(r,null,e)}const Xd={};function Ro(r,e,t){return XD(r,e,t)}function XD(r,e,{immediate:t,deep:n,flush:i,onTrack:s,onTrigger:a}=zs){var l;const p=Wv()===((l=Mo)==null?void 0:l.scope)?Mo:null;let m,g=!1,b=!1;if(Hs(r)?(m=()=>r.value,g=Mm(r)):Bp(r)?(m=()=>r,n=!0):Pi(r)?(b=!0,g=r.some(ht=>Bp(ht)||Mm(ht)),m=()=>r.map(ht=>{if(Hs(ht))return ht.value;if(Bp(ht))return Nh(ht);if(Vi(ht))return zc(ht,p,2)})):Vi(r)?e?m=()=>zc(r,p,2):m=()=>{if(!(p&&p.isUnmounted))return S&&S(),Su(r,p,3,[$])}:m=dl,e&&n){const ht=m;m=()=>Nh(ht())}let S,$=ht=>{S=Ve.onStop=()=>{zc(ht,p,4),S=Ve.onStop=void 0}},G;if(Yf)if($=dl,e?t&&Su(e,p,3,[m(),b?[]:void 0,$]):m(),i==="sync"){const ht=cP();G=ht.__watcherHandles||(ht.__watcherHandles=[])}else return dl;let be=b?new Array(r.length).fill(Xd):Xd;const ke=()=>{if(Ve.active)if(e){const ht=Ve.run();(n||g||(b?ht.some((bt,Yt)=>Xh(bt,be[Yt])):Xh(ht,be)))&&(S&&S(),Su(e,p,3,[ht,be===Xd?void 0:b&&be[0]===Xd?[]:be,$]),be=ht)}else Ve.run()};ke.allowRecurse=!!e;let me;i==="sync"?me=ke:i==="post"?me=()=>wa(ke,p&&p.suspense):(ke.pre=!0,p&&(ke.id=p.uid),me=()=>LD(ke));const Ve=new $D(m,me);e?t?ke():be=Ve.run():i==="post"?wa(Ve.run.bind(Ve),p&&p.suspense):Ve.run();const Dt=()=>{Ve.stop(),p&&p.scope&&kD(p.scope.effects,Ve)};return G&&G.push(Dt),Dt}function xT(r,e,t){const n=this.proxy,i=xo(r)?r.includes(".")?yC(n,r):()=>n[r]:r.bind(n,n);let s;Vi(e)?s=e:(s=e.handler,t=e);const a=Mo;Wp(this);const l=XD(i,s.bind(n),t);return a?Wp(a):Qh(),l}function yC(r,e){const t=e.split(".");return()=>{let n=r;for(let i=0;i<t.length&&n;i++)n=n[t[i]];return n}}function Nh(r,e){if(!Ns(r)||r.__v_skip||(e=e||new Set,e.has(r)))return r;if(e.add(r),Hs(r))Nh(r.value,e);else if(Pi(r))for(let t=0;t<r.length;t++)Nh(r[t],e);else if(wg(r)||$p(r))r.forEach(t=>{Nh(t,e)});else if(Vv(r))for(const t in r)Nh(r[t],e);return r}function bT(r,e){const t=Wo;if(t===null)return r;const n=Rg(t)||t.proxy,i=r.dirs||(r.dirs=[]);for(let s=0;s<e.length;s++){let[a,l,p,m=zs]=e[s];a&&(Vi(a)&&(a={mounted:a,updated:a}),a.deep&&Nh(l),i.push({dir:a,instance:n,value:l,oldValue:void 0,arg:p,modifiers:m}))}return r}function wh(r,e,t,n){const i=r.dirs,s=e&&e.dirs;for(let a=0;a<i.length;a++){const l=i[a];s&&(l.oldValue=s[a].value);let p=l.dir[n];p&&(rf(),Su(p,t,8,[r.el,l,r,e]),nf())}}/*! #__NO_SIDE_EFFECTS__ */function vo(r,e){return Vi(r)?Yo({name:r.name},e,{setup:r}):r}const Ff=r=>!!r.type.__asyncLoader,DC=r=>r.type.__isKeepAlive;function vT(r,e){OC(r,"a",e)}function CT(r,e){OC(r,"da",e)}function OC(r,e,t=Mo){const n=r.__wdc||(r.__wdc=()=>{let i=t;for(;i;){if(i.isDeactivated)return;i=i.parent}return r()});if(Bg(e,n,t),t){let i=t.parent;for(;i&&i.parent;)DC(i.parent.vnode)&&ST(n,e,t,i),i=i.parent}}function ST(r,e,t,n){const i=Bg(e,r,n,!0);xC(()=>{kD(n[e],i)},t)}function Bg(r,e,t=Mo,n=!1){if(t){const i=t[r]||(t[r]=[]),s=e.__weh||(e.__weh=(...a)=>{if(t.isUnmounted)return;rf(),Wp(t);const l=Su(e,t,r,a);return Qh(),nf(),l});return n?i.unshift(s):i.push(s),s}}const ac=r=>(e,t=Mo)=>(!Yf||r==="sp")&&Bg(r,(...n)=>e(...n),t),ET=ac("bm"),Ng=ac("m"),wT=ac("bu"),AT=ac("u"),TT=ac("bum"),xC=ac("um"),PT=ac("sp"),kT=ac("rtg"),FT=ac("rtc");function _T(r,e=Mo){Bg("ec",r,e)}function Lc(r,e,t,n){let i;const s=t&&t[n];if(Pi(r)||xo(r)){i=new Array(r.length);for(let a=0,l=r.length;a<l;a++)i[a]=e(r[a],a,void 0,s&&s[a])}else if(typeof r=="number"){i=new Array(r);for(let a=0;a<r;a++)i[a]=e(a+1,a,void 0,s&&s[a])}else if(Ns(r))if(r[Symbol.iterator])i=Array.from(r,(a,l)=>e(a,l,void 0,s&&s[l]));else{const a=Object.keys(r);i=new Array(a.length);for(let l=0,p=a.length;l<p;l++){const m=a[l];i[l]=e(r[m],m,l,s&&s[l])}}else i=[];return t&&(t[n]=i),i}function tc(r,e,t={},n,i){if(Wo.isCE||Wo.parent&&Ff(Wo.parent)&&Wo.parent.isCE)return e!=="default"&&(t.name=e),bs("slot",t,n&&n());let s=r[e];s&&s._c&&(s._d=!1),bi();const a=s&&bC(s(t)),l=Zo(ho,{key:t.key||a&&a.key||`_${e}`},a||(n?n():[]),a&&r._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function bC(r){return r.some(e=>Lm(e)?!(e.type===Jc||e.type===ho&&!bC(e.children)):!0)?r:null}const my=r=>r?$C(r)?Rg(r)||r.proxy:my(r.parent):null,_f=Yo(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>my(r.parent),$root:r=>my(r.root),$emit:r=>r.emit,$options:r=>VD(r),$forceUpdate:r=>r.f||(r.f=()=>LD(r.update)),$nextTick:r=>r.n||(r.n=Hh.bind(r.proxy)),$watch:r=>xT.bind(r)}),x0=(r,e)=>r!==zs&&!r.__isScriptSetup&&ms(r,e),$T={get({_:r},e){const{ctx:t,setupState:n,data:i,props:s,accessCache:a,type:l,appContext:p}=r;let m;if(e[0]!=="$"){const $=a[e];if($!==void 0)switch($){case 1:return n[e];case 2:return i[e];case 4:return t[e];case 3:return s[e]}else{if(x0(n,e))return a[e]=1,n[e];if(i!==zs&&ms(i,e))return a[e]=2,i[e];if((m=r.propsOptions[0])&&ms(m,e))return a[e]=3,s[e];if(t!==zs&&ms(t,e))return a[e]=4,t[e];gy&&(a[e]=0)}}const g=_f[e];let b,S;if(g)return e==="$attrs"&&_a(r,"get",e),g(r);if((b=l.__cssModules)&&(b=b[e]))return b;if(t!==zs&&ms(t,e))return a[e]=4,t[e];if(S=p.config.globalProperties,ms(S,e))return S[e]},set({_:r},e,t){const{data:n,setupState:i,ctx:s}=r;return x0(i,e)?(i[e]=t,!0):n!==zs&&ms(n,e)?(n[e]=t,!0):ms(r.props,e)||e[0]==="$"&&e.slice(1)in r?!1:(s[e]=t,!0)},has({_:{data:r,setupState:e,accessCache:t,ctx:n,appContext:i,propsOptions:s}},a){let l;return!!t[a]||r!==zs&&ms(r,a)||x0(e,a)||(l=s[0])&&ms(l,a)||ms(n,a)||ms(_f,a)||ms(i.config.globalProperties,a)},defineProperty(r,e,t){return t.get!=null?r._.accessCache[e]=0:ms(t,"value")&&this.set(r,e,t.value,null),Reflect.defineProperty(r,e,t)}};function u1(r){return Pi(r)?r.reduce((e,t)=>(e[t]=null,e),{}):r}let gy=!0;function BT(r){const e=VD(r),t=r.proxy,n=r.ctx;gy=!1,e.beforeCreate&&l1(e.beforeCreate,r,"bc");const{data:i,computed:s,methods:a,watch:l,provide:p,inject:m,created:g,beforeMount:b,mounted:S,beforeUpdate:$,updated:G,activated:be,deactivated:ke,beforeDestroy:me,beforeUnmount:Ve,destroyed:Dt,unmounted:ht,render:bt,renderTracked:Yt,renderTriggered:ir,errorCaptured:qr,serverPrefetch:yr,expose:kr,inheritAttrs:Zr,components:zn,directives:Gn,filters:Ii}=e;if(m&&NT(m,n,null),a)for(const Wn in a){const jn=a[Wn];Vi(jn)&&(n[Wn]=jn.bind(t))}if(i){const Wn=i.call(t,t);Ns(Wn)&&(r.data=Dd(Wn))}if(gy=!0,s)for(const Wn in s){const jn=s[Wn],Bn=Vi(jn)?jn.bind(t,t):Vi(jn.get)?jn.get.bind(t,t):dl,$i=!Vi(jn)&&Vi(jn.set)?jn.set.bind(t):dl,Ui=as({get:Bn,set:$i});Object.defineProperty(n,Wn,{enumerable:!0,configurable:!0,get:()=>Ui.value,set:os=>Ui.value=os})}if(l)for(const Wn in l)vC(l[Wn],n,t,Wn);if(p){const Wn=Vi(p)?p.call(t):p;Reflect.ownKeys(Wn).forEach(jn=>{ym(jn,Wn[jn])})}g&&l1(g,r,"c");function Sn(Wn,jn){Pi(jn)?jn.forEach(Bn=>Wn(Bn.bind(t))):jn&&Wn(jn.bind(t))}if(Sn(ET,b),Sn(Ng,S),Sn(wT,$),Sn(AT,G),Sn(vT,be),Sn(CT,ke),Sn(_T,qr),Sn(FT,Yt),Sn(kT,ir),Sn(TT,Ve),Sn(xC,ht),Sn(PT,yr),Pi(kr))if(kr.length){const Wn=r.exposed||(r.exposed={});kr.forEach(jn=>{Object.defineProperty(Wn,jn,{get:()=>t[jn],set:Bn=>t[jn]=Bn})})}else r.exposed||(r.exposed={});bt&&r.render===dl&&(r.render=bt),Zr!=null&&(r.inheritAttrs=Zr),zn&&(r.components=zn),Gn&&(r.directives=Gn)}function NT(r,e,t=dl){Pi(r)&&(r=yy(r));for(const n in r){const i=r[n];let s;Ns(i)?"default"in i?s=gl(i.from||n,i.default,!0):s=gl(i.from||n):s=gl(i),Hs(s)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):e[n]=s}}function l1(r,e,t){Su(Pi(r)?r.map(n=>n.bind(e.proxy)):r.bind(e.proxy),e,t)}function vC(r,e,t,n){const i=n.includes(".")?yC(t,n):()=>t[n];if(xo(r)){const s=e[r];Vi(s)&&Ro(i,s)}else if(Vi(r))Ro(i,r.bind(t));else if(Ns(r))if(Pi(r))r.forEach(s=>vC(s,e,t,n));else{const s=Vi(r.handler)?r.handler.bind(t):e[r.handler];Vi(s)&&Ro(i,s,r)}}function VD(r){const e=r.type,{mixins:t,extends:n}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:a}}=r.appContext,l=s.get(e);let p;return l?p=l:!i.length&&!t&&!n?p=e:(p={},i.length&&i.forEach(m=>Qm(p,m,a,!0)),Qm(p,e,a)),Ns(e)&&s.set(e,p),p}function Qm(r,e,t,n=!1){const{mixins:i,extends:s}=e;s&&Qm(r,s,t,!0),i&&i.forEach(a=>Qm(r,a,t,!0));for(const a in e)if(!(n&&a==="expose")){const l=IT[a]||t&&t[a];r[a]=l?l(r[a],e[a]):e[a]}return r}const IT={data:c1,props:h1,emits:h1,methods:Sf,computed:Sf,beforeCreate:ha,created:ha,beforeMount:ha,mounted:ha,beforeUpdate:ha,updated:ha,beforeDestroy:ha,beforeUnmount:ha,destroyed:ha,unmounted:ha,activated:ha,deactivated:ha,errorCaptured:ha,serverPrefetch:ha,components:Sf,directives:Sf,watch:RT,provide:c1,inject:MT};function c1(r,e){return e?r?function(){return Yo(Vi(r)?r.call(this,this):r,Vi(e)?e.call(this,this):e)}:e:r}function MT(r,e){return Sf(yy(r),yy(e))}function yy(r){if(Pi(r)){const e={};for(let t=0;t<r.length;t++)e[r[t]]=r[t];return e}return r}function ha(r,e){return r?[...new Set([].concat(r,e))]:e}function Sf(r,e){return r?Yo(Object.create(null),r,e):e}function h1(r,e){return r?Pi(r)&&Pi(e)?[...new Set([...r,...e])]:Yo(Object.create(null),u1(r),u1(e??{})):e}function RT(r,e){if(!r)return e;if(!e)return r;const t=Yo(Object.create(null),r);for(const n in e)t[n]=ha(r[n],e[n]);return t}function CC(){return{app:null,config:{isNativeTag:uA,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let QT=0;function jT(r,e){return function(n,i=null){Vi(n)||(n=Yo({},n)),i!=null&&!Ns(i)&&(i=null);const s=CC(),a=new WeakSet;let l=!1;const p=s.app={_uid:QT++,_component:n,_props:i,_container:null,_context:s,_instance:null,version:hP,get config(){return s.config},set config(m){},use(m,...g){return a.has(m)||(m&&Vi(m.install)?(a.add(m),m.install(p,...g)):Vi(m)&&(a.add(m),m(p,...g))),p},mixin(m){return s.mixins.includes(m)||s.mixins.push(m),p},component(m,g){return g?(s.components[m]=g,p):s.components[m]},directive(m,g){return g?(s.directives[m]=g,p):s.directives[m]},mount(m,g,b){if(!l){const S=bs(n,i);return S.appContext=s,g&&e?e(S,m):r(S,m,b),l=!0,p._container=m,m.__vue_app__=p,Rg(S.component)||S.component.proxy}},unmount(){l&&(r(null,p._container),delete p._container.__vue_app__)},provide(m,g){return s.provides[m]=g,p},runWithContext(m){jm=p;try{return m()}finally{jm=null}}};return p}}let jm=null;function ym(r,e){if(Mo){let t=Mo.provides;const n=Mo.parent&&Mo.parent.provides;n===t&&(t=Mo.provides=Object.create(n)),t[r]=e}}function gl(r,e,t=!1){const n=Mo||Wo;if(n||jm){const i=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:jm._context.provides;if(i&&r in i)return i[r];if(arguments.length>1)return t&&Vi(e)?e.call(n&&n.proxy):e}}function LT(r,e,t,n=!1){const i={},s={};Nm(s,Mg,1),r.propsDefaults=Object.create(null),SC(r,e,i,s);for(const a in r.propsOptions[0])a in i||(i[a]=void 0);t?r.props=n?i:iC(i):r.type.props?r.props=i:r.props=s,r.attrs=s}function XT(r,e,t,n){const{props:i,attrs:s,vnode:{patchFlag:a}}=r,l=Os(i),[p]=r.propsOptions;let m=!1;if((n||a>0)&&!(a&16)){if(a&8){const g=r.vnode.dynamicProps;for(let b=0;b<g.length;b++){let S=g[b];if(_g(r.emitsOptions,S))continue;const $=e[S];if(p)if(ms(s,S))$!==s[S]&&(s[S]=$,m=!0);else{const G=bl(S);i[G]=Dy(p,l,G,$,r,!1)}else $!==s[S]&&(s[S]=$,m=!0)}}}else{SC(r,e,i,s)&&(m=!0);let g;for(const b in l)(!e||!ms(e,b)&&((g=Gh(b))===b||!ms(e,g)))&&(p?t&&(t[b]!==void 0||t[g]!==void 0)&&(i[b]=Dy(p,l,b,void 0,r,!0)):delete i[b]);if(s!==l)for(const b in s)(!e||!ms(e,b))&&(delete s[b],m=!0)}m&&Kl(r,"set","$attrs")}function SC(r,e,t,n){const[i,s]=r.propsOptions;let a=!1,l;if(e)for(let p in e){if(mm(p))continue;const m=e[p];let g;i&&ms(i,g=bl(p))?!s||!s.includes(g)?t[g]=m:(l||(l={}))[g]=m:_g(r.emitsOptions,p)||(!(p in n)||m!==n[p])&&(n[p]=m,a=!0)}if(s){const p=Os(t),m=l||zs;for(let g=0;g<s.length;g++){const b=s[g];t[b]=Dy(i,p,b,m[b],r,!ms(m,b))}}return a}function Dy(r,e,t,n,i,s){const a=r[t];if(a!=null){const l=ms(a,"default");if(l&&n===void 0){const p=a.default;if(a.type!==Function&&!a.skipFactory&&Vi(p)){const{propsDefaults:m}=i;t in m?n=m[t]:(Wp(i),n=m[t]=p.call(null,e),Qh())}else n=p}a[0]&&(s&&!l?n=!1:a[1]&&(n===""||n===Gh(t))&&(n=!0))}return n}function EC(r,e,t=!1){const n=e.propsCache,i=n.get(r);if(i)return i;const s=r.props,a={},l=[];let p=!1;if(!Vi(r)){const g=b=>{p=!0;const[S,$]=EC(b,e,!0);Yo(a,S),$&&l.push(...$)};!t&&e.mixins.length&&e.mixins.forEach(g),r.extends&&g(r.extends),r.mixins&&r.mixins.forEach(g)}if(!s&&!p)return Ns(r)&&n.set(r,_p),_p;if(Pi(s))for(let g=0;g<s.length;g++){const b=bl(s[g]);p1(b)&&(a[b]=zs)}else if(s)for(const g in s){const b=bl(g);if(p1(b)){const S=s[g],$=a[b]=Pi(S)||Vi(S)?{type:S}:Yo({},S);if($){const G=m1(Boolean,$.type),be=m1(String,$.type);$[0]=G>-1,$[1]=be<0||G<be,(G>-1||ms($,"default"))&&l.push(b)}}}const m=[a,l];return Ns(r)&&n.set(r,m),m}function p1(r){return r[0]!=="$"}function f1(r){const e=r&&r.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:r===null?"null":""}function d1(r,e){return f1(r)===f1(e)}function m1(r,e){return Pi(e)?e.findIndex(t=>d1(t,r)):Vi(e)&&d1(e,r)?0:-1}const wC=r=>r[0]==="_"||r==="$stable",UD=r=>Pi(r)?r.map(ol):[ol(r)],VT=(r,e,t)=>{if(e._n)return e;const n=fa((...i)=>UD(e(...i)),t);return n._c=!1,n},AC=(r,e,t)=>{const n=r._ctx;for(const i in r){if(wC(i))continue;const s=r[i];if(Vi(s))e[i]=VT(i,s,n);else if(s!=null){const a=UD(s);e[i]=()=>a}}},TC=(r,e)=>{const t=UD(e);r.slots.default=()=>t},UT=(r,e)=>{if(r.vnode.shapeFlag&32){const t=e._;t?(r.slots=Os(e),Nm(e,"_",t)):AC(e,r.slots={})}else r.slots={},e&&TC(r,e);Nm(r.slots,Mg,1)},qT=(r,e,t)=>{const{vnode:n,slots:i}=r;let s=!0,a=zs;if(n.shapeFlag&32){const l=e._;l?t&&l===1?s=!1:(Yo(i,e),!t&&l===1&&delete i._):(s=!e.$stable,AC(e,i)),a=e}else e&&(TC(r,e),a={default:1});if(s)for(const l in i)!wC(l)&&a[l]==null&&delete i[l]};function Oy(r,e,t,n,i=!1){if(Pi(r)){r.forEach((S,$)=>Oy(S,e&&(Pi(e)?e[$]:e),t,n,i));return}if(Ff(n)&&!i)return;const s=n.shapeFlag&4?Rg(n.component)||n.component.proxy:n.el,a=i?null:s,{i:l,r:p}=r,m=e&&e.r,g=l.refs===zs?l.refs={}:l.refs,b=l.setupState;if(m!=null&&m!==p&&(xo(m)?(g[m]=null,ms(b,m)&&(b[m]=null)):Hs(m)&&(m.value=null)),Vi(p))zc(p,l,12,[a,g]);else{const S=xo(p),$=Hs(p);if(S||$){const G=()=>{if(r.f){const be=S?ms(b,p)?b[p]:g[p]:p.value;i?Pi(be)&&kD(be,s):Pi(be)?be.includes(s)||be.push(s):S?(g[p]=[s],ms(b,p)&&(b[p]=g[p])):(p.value=[s],r.k&&(g[r.k]=p.value))}else S?(g[p]=a,ms(b,p)&&(b[p]=a)):$&&(p.value=a,r.k&&(g[r.k]=a))};a?(G.id=-1,wa(G,t)):G()}}}const wa=OT;function zT(r){return WT(r)}function WT(r,e){const t=cy();t.__VUE__=!0;const{insert:n,remove:i,patchProp:s,createElement:a,createText:l,createComment:p,setText:m,setElementText:g,parentNode:b,nextSibling:S,setScopeId:$=dl,insertStaticContent:G}=r,be=(tt,gt,Zt,dr=null,Fr=null,Lr=null,yn=!1,Jr=null,on=!!gt.dynamicChildren)=>{if(tt===gt)return;tt&&!mf(tt,gt)&&(dr=Sr(tt),os(tt,Fr,Lr,!0),tt=null),gt.patchFlag===-2&&(on=!1,gt.dynamicChildren=null);const{type:Xr,ref:ei,shapeFlag:xn}=gt;switch(Xr){case Ig:ke(tt,gt,Zt,dr);break;case Jc:me(tt,gt,Zt,dr);break;case b0:tt==null&&Ve(gt,Zt,dr,yn);break;case ho:zn(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on);break;default:xn&1?bt(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on):xn&6?Gn(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on):(xn&64||xn&128)&&Xr.process(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on,zr)}ei!=null&&Fr&&Oy(ei,tt&&tt.ref,Lr,gt||tt,!gt)},ke=(tt,gt,Zt,dr)=>{if(tt==null)n(gt.el=l(gt.children),Zt,dr);else{const Fr=gt.el=tt.el;gt.children!==tt.children&&m(Fr,gt.children)}},me=(tt,gt,Zt,dr)=>{tt==null?n(gt.el=p(gt.children||""),Zt,dr):gt.el=tt.el},Ve=(tt,gt,Zt,dr)=>{[tt.el,tt.anchor]=G(tt.children,gt,Zt,dr,tt.el,tt.anchor)},Dt=({el:tt,anchor:gt},Zt,dr)=>{let Fr;for(;tt&&tt!==gt;)Fr=S(tt),n(tt,Zt,dr),tt=Fr;n(gt,Zt,dr)},ht=({el:tt,anchor:gt})=>{let Zt;for(;tt&&tt!==gt;)Zt=S(tt),i(tt),tt=Zt;i(gt)},bt=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{yn=yn||gt.type==="svg",tt==null?Yt(gt,Zt,dr,Fr,Lr,yn,Jr,on):yr(tt,gt,Fr,Lr,yn,Jr,on)},Yt=(tt,gt,Zt,dr,Fr,Lr,yn,Jr)=>{let on,Xr;const{type:ei,props:xn,shapeFlag:ti,transition:Ai,dirs:ji}=tt;if(on=tt.el=a(tt.type,Lr,xn&&xn.is,xn),ti&8?g(on,tt.children):ti&16&&qr(tt.children,on,null,dr,Fr,Lr&&ei!=="foreignObject",yn,Jr),ji&&wh(tt,null,dr,"created"),ir(on,tt,tt.scopeId,yn,dr),xn){for(const is in xn)is!=="value"&&!mm(is)&&s(on,is,null,xn[is],Lr,tt.children,dr,Fr,Ts);"value"in xn&&s(on,"value",null,xn.value),(Xr=xn.onVnodeBeforeMount)&&tl(Xr,dr,tt)}ji&&wh(tt,null,dr,"beforeMount");const ls=ZT(Fr,Ai);ls&&Ai.beforeEnter(on),n(on,gt,Zt),((Xr=xn&&xn.onVnodeMounted)||ls||ji)&&wa(()=>{Xr&&tl(Xr,dr,tt),ls&&Ai.enter(on),ji&&wh(tt,null,dr,"mounted")},Fr)},ir=(tt,gt,Zt,dr,Fr)=>{if(Zt&&$(tt,Zt),dr)for(let Lr=0;Lr<dr.length;Lr++)$(tt,dr[Lr]);if(Fr){let Lr=Fr.subTree;if(gt===Lr){const yn=Fr.vnode;ir(tt,yn,yn.scopeId,yn.slotScopeIds,Fr.parent)}}},qr=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on=0)=>{for(let Xr=on;Xr<tt.length;Xr++){const ei=tt[Xr]=Jr?Ic(tt[Xr]):ol(tt[Xr]);be(null,ei,gt,Zt,dr,Fr,Lr,yn,Jr)}},yr=(tt,gt,Zt,dr,Fr,Lr,yn)=>{const Jr=gt.el=tt.el;let{patchFlag:on,dynamicChildren:Xr,dirs:ei}=gt;on|=tt.patchFlag&16;const xn=tt.props||zs,ti=gt.props||zs;let Ai;Zt&&Ah(Zt,!1),(Ai=ti.onVnodeBeforeUpdate)&&tl(Ai,Zt,gt,tt),ei&&wh(gt,tt,Zt,"beforeUpdate"),Zt&&Ah(Zt,!0);const ji=Fr&>.type!=="foreignObject";if(Xr?kr(tt.dynamicChildren,Xr,Jr,Zt,dr,ji,Lr):yn||jn(tt,gt,Jr,null,Zt,dr,ji,Lr,!1),on>0){if(on&16)Zr(Jr,gt,xn,ti,Zt,dr,Fr);else if(on&2&&xn.class!==ti.class&&s(Jr,"class",null,ti.class,Fr),on&4&&s(Jr,"style",xn.style,ti.style,Fr),on&8){const ls=gt.dynamicProps;for(let is=0;is<ls.length;is++){const Ps=ls[is],Co=xn[Ps],ya=ti[Ps];(ya!==Co||Ps==="value")&&s(Jr,Ps,Co,ya,Fr,tt.children,Zt,dr,Ts)}}on&1&&tt.children!==gt.children&&g(Jr,gt.children)}else!yn&&Xr==null&&Zr(Jr,gt,xn,ti,Zt,dr,Fr);((Ai=ti.onVnodeUpdated)||ei)&&wa(()=>{Ai&&tl(Ai,Zt,gt,tt),ei&&wh(gt,tt,Zt,"updated")},dr)},kr=(tt,gt,Zt,dr,Fr,Lr,yn)=>{for(let Jr=0;Jr<gt.length;Jr++){const on=tt[Jr],Xr=gt[Jr],ei=on.el&&(on.type===ho||!mf(on,Xr)||on.shapeFlag&70)?b(on.el):Zt;be(on,Xr,ei,null,dr,Fr,Lr,yn,!0)}},Zr=(tt,gt,Zt,dr,Fr,Lr,yn)=>{if(Zt!==dr){if(Zt!==zs)for(const Jr in Zt)!mm(Jr)&&!(Jr in dr)&&s(tt,Jr,Zt[Jr],null,yn,gt.children,Fr,Lr,Ts);for(const Jr in dr){if(mm(Jr))continue;const on=dr[Jr],Xr=Zt[Jr];on!==Xr&&Jr!=="value"&&s(tt,Jr,Xr,on,yn,gt.children,Fr,Lr,Ts)}"value"in dr&&s(tt,"value",Zt.value,dr.value)}},zn=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{const Xr=gt.el=tt?tt.el:l(""),ei=gt.anchor=tt?tt.anchor:l("");let{patchFlag:xn,dynamicChildren:ti,slotScopeIds:Ai}=gt;Ai&&(Jr=Jr?Jr.concat(Ai):Ai),tt==null?(n(Xr,Zt,dr),n(ei,Zt,dr),qr(gt.children,Zt,ei,Fr,Lr,yn,Jr,on)):xn>0&&xn&64&&ti&&tt.dynamicChildren?(kr(tt.dynamicChildren,ti,Zt,Fr,Lr,yn,Jr),(gt.key!=null||Fr&>===Fr.subTree)&&PC(tt,gt,!0)):jn(tt,gt,Zt,ei,Fr,Lr,yn,Jr,on)},Gn=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{gt.slotScopeIds=Jr,tt==null?gt.shapeFlag&512?Fr.ctx.activate(gt,Zt,dr,yn,on):Ii(gt,Zt,dr,Fr,Lr,yn,on):ii(tt,gt,on)},Ii=(tt,gt,Zt,dr,Fr,Lr,yn)=>{const Jr=tt.component=rP(tt,dr,Fr);if(DC(tt)&&(Jr.ctx.renderer=zr),nP(Jr),Jr.asyncDep){if(Fr&&Fr.registerDep(Jr,Sn),!tt.el){const on=Jr.subTree=bs(Jc);me(null,on,gt,Zt)}return}Sn(Jr,tt,gt,Zt,Fr,Lr,yn)},ii=(tt,gt,Zt)=>{const dr=gt.component=tt.component;if(dT(tt,gt,Zt))if(dr.asyncDep&&!dr.asyncResolved){Wn(dr,gt,Zt);return}else dr.next=gt,sT(dr.update),dr.update();else gt.el=tt.el,dr.vnode=gt},Sn=(tt,gt,Zt,dr,Fr,Lr,yn)=>{const Jr=()=>{if(tt.isMounted){let{next:ei,bu:xn,u:ti,parent:Ai,vnode:ji}=tt,ls=ei,is;Ah(tt,!1),ei?(ei.el=ji.el,Wn(tt,ei,yn)):ei=ji,xn&&gm(xn),(is=ei.props&&ei.props.onVnodeBeforeUpdate)&&tl(is,Ai,ei,ji),Ah(tt,!0);const Ps=O0(tt),Co=tt.subTree;tt.subTree=Ps,be(Co,Ps,b(Co.el),Sr(Co),tt,Fr,Lr),ei.el=Ps.el,ls===null&&mT(tt,Ps.el),ti&&wa(ti,Fr),(is=ei.props&&ei.props.onVnodeUpdated)&&wa(()=>tl(is,Ai,ei,ji),Fr)}else{let ei;const{el:xn,props:ti}=gt,{bm:Ai,m:ji,parent:ls}=tt,is=Ff(gt);if(Ah(tt,!1),Ai&&gm(Ai),!is&&(ei=ti&&ti.onVnodeBeforeMount)&&tl(ei,ls,gt),Ah(tt,!0),xn&&Ki){const Ps=()=>{tt.subTree=O0(tt),Ki(xn,tt.subTree,tt,Fr,null)};is?gt.type.__asyncLoader().then(()=>!tt.isUnmounted&&Ps()):Ps()}else{const Ps=tt.subTree=O0(tt);be(null,Ps,Zt,dr,tt,Fr,Lr),gt.el=Ps.el}if(ji&&wa(ji,Fr),!is&&(ei=ti&&ti.onVnodeMounted)){const Ps=gt;wa(()=>tl(ei,ls,Ps),Fr)}(gt.shapeFlag&256||ls&&Ff(ls.vnode)&&ls.vnode.shapeFlag&256)&&tt.a&&wa(tt.a,Fr),tt.isMounted=!0,gt=Zt=dr=null}},on=tt.effect=new $D(Jr,()=>LD(Xr),tt.scope),Xr=tt.update=()=>on.run();Xr.id=tt.uid,Ah(tt,!0),Xr()},Wn=(tt,gt,Zt)=>{gt.component=tt;const dr=tt.vnode.props;tt.vnode=gt,tt.next=null,XT(tt,gt.props,dr,Zt),qT(tt,gt.children,Zt),rf(),s1(),nf()},jn=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on=!1)=>{const Xr=tt&&tt.children,ei=tt?tt.shapeFlag:0,xn=gt.children,{patchFlag:ti,shapeFlag:Ai}=gt;if(ti>0){if(ti&128){$i(Xr,xn,Zt,dr,Fr,Lr,yn,Jr,on);return}else if(ti&256){Bn(Xr,xn,Zt,dr,Fr,Lr,yn,Jr,on);return}}Ai&8?(ei&16&&Ts(Xr,Fr,Lr),xn!==Xr&&g(Zt,xn)):ei&16?Ai&16?$i(Xr,xn,Zt,dr,Fr,Lr,yn,Jr,on):Ts(Xr,Fr,Lr,!0):(ei&8&&g(Zt,""),Ai&16&&qr(xn,Zt,dr,Fr,Lr,yn,Jr,on))},Bn=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{tt=tt||_p,gt=gt||_p;const Xr=tt.length,ei=gt.length,xn=Math.min(Xr,ei);let ti;for(ti=0;ti<xn;ti++){const Ai=gt[ti]=on?Ic(gt[ti]):ol(gt[ti]);be(tt[ti],Ai,Zt,null,Fr,Lr,yn,Jr,on)}Xr>ei?Ts(tt,Fr,Lr,!0,!1,xn):qr(gt,Zt,dr,Fr,Lr,yn,Jr,on,xn)},$i=(tt,gt,Zt,dr,Fr,Lr,yn,Jr,on)=>{let Xr=0;const ei=gt.length;let xn=tt.length-1,ti=ei-1;for(;Xr<=xn&&Xr<=ti;){const Ai=tt[Xr],ji=gt[Xr]=on?Ic(gt[Xr]):ol(gt[Xr]);if(mf(Ai,ji))be(Ai,ji,Zt,null,Fr,Lr,yn,Jr,on);else break;Xr++}for(;Xr<=xn&&Xr<=ti;){const Ai=tt[xn],ji=gt[ti]=on?Ic(gt[ti]):ol(gt[ti]);if(mf(Ai,ji))be(Ai,ji,Zt,null,Fr,Lr,yn,Jr,on);else break;xn--,ti--}if(Xr>xn){if(Xr<=ti){const Ai=ti+1,ji=Ai<ei?gt[Ai].el:dr;for(;Xr<=ti;)be(null,gt[Xr]=on?Ic(gt[Xr]):ol(gt[Xr]),Zt,ji,Fr,Lr,yn,Jr,on),Xr++}}else if(Xr>ti)for(;Xr<=xn;)os(tt[Xr],Fr,Lr,!0),Xr++;else{const Ai=Xr,ji=Xr,ls=new Map;for(Xr=ji;Xr<=ti;Xr++){const so=gt[Xr]=on?Ic(gt[Xr]):ol(gt[Xr]);so.key!=null&&ls.set(so.key,Xr)}let is,Ps=0;const Co=ti-ji+1;let ya=!1,Go=0;const Da=new Array(Co);for(Xr=0;Xr<Co;Xr++)Da[Xr]=0;for(Xr=Ai;Xr<=xn;Xr++){const so=tt[Xr];if(Ps>=Co){os(so,Fr,Lr,!0);continue}let Hr;if(so.key!=null)Hr=ls.get(so.key);else for(is=ji;is<=ti;is++)if(Da[is-ji]===0&&mf(so,gt[is])){Hr=is;break}Hr===void 0?os(so,Fr,Lr,!0):(Da[Hr-ji]=Xr+1,Hr>=Go?Go=Hr:ya=!0,be(so,gt[Hr],Zt,null,Fr,Lr,yn,Jr,on),Ps++)}const Fu=ya?YT(Da):_p;for(is=Fu.length-1,Xr=Co-1;Xr>=0;Xr--){const so=ji+Xr,Hr=gt[so],Kt=so+1<ei?gt[so+1].el:dr;Da[Xr]===0?be(null,Hr,Zt,Kt,Fr,Lr,yn,Jr,on):ya&&(is<0||Xr!==Fu[is]?Ui(Hr,Zt,Kt,2):is--)}}},Ui=(tt,gt,Zt,dr,Fr=null)=>{const{el:Lr,type:yn,transition:Jr,children:on,shapeFlag:Xr}=tt;if(Xr&6){Ui(tt.component.subTree,gt,Zt,dr);return}if(Xr&128){tt.suspense.move(gt,Zt,dr);return}if(Xr&64){yn.move(tt,gt,Zt,zr);return}if(yn===ho){n(Lr,gt,Zt);for(let xn=0;xn<on.length;xn++)Ui(on[xn],gt,Zt,dr);n(tt.anchor,gt,Zt);return}if(yn===b0){Dt(tt,gt,Zt);return}if(dr!==2&&Xr&1&&Jr)if(dr===0)Jr.beforeEnter(Lr),n(Lr,gt,Zt),wa(()=>Jr.enter(Lr),Fr);else{const{leave:xn,delayLeave:ti,afterLeave:Ai}=Jr,ji=()=>n(Lr,gt,Zt),ls=()=>{xn(Lr,()=>{ji(),Ai&&Ai()})};ti?ti(Lr,ji,ls):ls()}else n(Lr,gt,Zt)},os=(tt,gt,Zt,dr=!1,Fr=!1)=>{const{type:Lr,props:yn,ref:Jr,children:on,dynamicChildren:Xr,shapeFlag:ei,patchFlag:xn,dirs:ti}=tt;if(Jr!=null&&Oy(Jr,null,Zt,tt,!0),ei&256){gt.ctx.deactivate(tt);return}const Ai=ei&1&&ti,ji=!Ff(tt);let ls;if(ji&&(ls=yn&&yn.onVnodeBeforeUnmount)&&tl(ls,gt,tt),ei&6)Xs(tt.component,Zt,dr);else{if(ei&128){tt.suspense.unmount(Zt,dr);return}Ai&&wh(tt,null,gt,"beforeUnmount"),ei&64?tt.type.remove(tt,gt,Zt,Fr,zr,dr):Xr&&(Lr!==ho||xn>0&&xn&64)?Ts(Xr,gt,Zt,!1,!0):(Lr===ho&&xn&384||!Fr&&ei&16)&&Ts(on,gt,Zt),dr&&ds(tt)}(ji&&(ls=yn&&yn.onVnodeUnmounted)||Ai)&&wa(()=>{ls&&tl(ls,gt,tt),Ai&&wh(tt,null,gt,"unmounted")},Zt)},ds=tt=>{const{type:gt,el:Zt,anchor:dr,transition:Fr}=tt;if(gt===ho){us(Zt,dr);return}if(gt===b0){ht(tt);return}const Lr=()=>{i(Zt),Fr&&!Fr.persisted&&Fr.afterLeave&&Fr.afterLeave()};if(tt.shapeFlag&1&&Fr&&!Fr.persisted){const{leave:yn,delayLeave:Jr}=Fr,on=()=>yn(Zt,Lr);Jr?Jr(tt.el,Lr,on):on()}else Lr()},us=(tt,gt)=>{let Zt;for(;tt!==gt;)Zt=S(tt),i(tt),tt=Zt;i(gt)},Xs=(tt,gt,Zt)=>{const{bum:dr,scope:Fr,update:Lr,subTree:yn,um:Jr}=tt;dr&&gm(dr),Fr.stop(),Lr&&(Lr.active=!1,os(yn,tt,gt,Zt)),Jr&&wa(Jr,gt),wa(()=>{tt.isUnmounted=!0},gt),gt&>.pendingBranch&&!gt.isUnmounted&&tt.asyncDep&&!tt.asyncResolved&&tt.suspenseId===gt.pendingId&&(gt.deps--,gt.deps===0&>.resolve())},Ts=(tt,gt,Zt,dr=!1,Fr=!1,Lr=0)=>{for(let yn=Lr;yn<tt.length;yn++)os(tt[yn],gt,Zt,dr,Fr)},Sr=tt=>tt.shapeFlag&6?Sr(tt.component.subTree):tt.shapeFlag&128?tt.suspense.next():S(tt.anchor||tt.el),cn=(tt,gt,Zt)=>{tt==null?gt._vnode&&os(gt._vnode,null,null,!0):be(gt._vnode||null,tt,gt,null,null,null,Zt),s1(),pC(),gt._vnode=tt},zr={p:be,um:os,m:Ui,r:ds,mt:Ii,mc:qr,pc:jn,pbc:kr,n:Sr,o:r};let In,Ki;return e&&([In,Ki]=e(zr)),{render:cn,hydrate:In,createApp:jT(cn,In)}}function Ah({effect:r,update:e},t){r.allowRecurse=e.allowRecurse=t}function ZT(r,e){return(!r||r&&!r.pendingBranch)&&e&&!e.persisted}function PC(r,e,t=!1){const n=r.children,i=e.children;if(Pi(n)&&Pi(i))for(let s=0;s<n.length;s++){const a=n[s];let l=i[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[s]=Ic(i[s]),l.el=a.el),t||PC(a,l)),l.type===Ig&&(l.el=a.el)}}function YT(r){const e=r.slice(),t=[0];let n,i,s,a,l;const p=r.length;for(n=0;n<p;n++){const m=r[n];if(m!==0){if(i=t[t.length-1],r[i]<m){e[n]=i,t.push(n);continue}for(s=0,a=t.length-1;s<a;)l=s+a>>1,r[t[l]]<m?s=l+1:a=l;m<r[t[s]]&&(s>0&&(e[n]=t[s-1]),t[s]=n)}}for(s=t.length,a=t[s-1];s-- >0;)t[s]=a,a=e[a];return t}const GT=r=>r.__isTeleport,ho=Symbol.for("v-fgt"),Ig=Symbol.for("v-txt"),Jc=Symbol.for("v-cmt"),b0=Symbol.for("v-stc"),$f=[];let vu=null;function bi(r=!1){$f.push(vu=r?null:[])}function HT(){$f.pop(),vu=$f[$f.length-1]||null}let Zf=1;function g1(r){Zf+=r}function kC(r){return r.dynamicChildren=Zf>0?vu||_p:null,HT(),Zf>0&&vu&&vu.push(r),r}function ns(r,e,t,n,i,s){return kC(sn(r,e,t,n,i,s,!0))}function Zo(r,e,t,n,i){return kC(bs(r,e,t,n,i,!0))}function Lm(r){return r?r.__v_isVNode===!0:!1}function mf(r,e){return r.type===e.type&&r.key===e.key}const Mg="__vInternal",FC=({key:r})=>r??null,Dm=({ref:r,ref_key:e,ref_for:t})=>(typeof r=="number"&&(r=""+r),r!=null?xo(r)||Hs(r)||Vi(r)?{i:Wo,r,k:e,f:!!t}:r:null);function sn(r,e=null,t=null,n=0,i=null,s=r===ho?0:1,a=!1,l=!1){const p={__v_isVNode:!0,__v_skip:!0,type:r,props:e,key:e&&FC(e),ref:e&&Dm(e),scopeId:$g,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Wo};return l?(qD(p,t),s&128&&r.normalize(p)):t&&(p.shapeFlag|=xo(t)?8:16),Zf>0&&!a&&vu&&(p.patchFlag>0||s&6)&&p.patchFlag!==32&&vu.push(p),p}const bs=JT;function JT(r,e=null,t=null,n=0,i=null,s=!1){if((!r||r===gT)&&(r=Jc),Lm(r)){const l=zp(r,e,!0);return t&&qD(l,t),Zf>0&&!s&&vu&&(l.shapeFlag&6?vu[vu.indexOf(r)]=l:vu.push(l)),l.patchFlag|=-2,l}if(uP(r)&&(r=r.__vccOpts),e){e=_C(e);let{class:l,style:p}=e;l&&!xo(l)&&(e.class=Fa(l)),Ns(p)&&(sC(p)&&!Pi(p)&&(p=Yo({},p)),e.style=ml(p))}const a=xo(r)?1:DT(r)?128:GT(r)?64:Ns(r)?4:Vi(r)?2:0;return sn(r,e,t,n,i,a,s,!0)}function _C(r){return r?sC(r)||Mg in r?Yo({},r):r:null}function zp(r,e,t=!1){const{props:n,ref:i,patchFlag:s,children:a}=r,l=e?KT(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:l,key:l&&FC(l),ref:e&&e.ref?t&&i?Pi(i)?i.concat(Dm(e)):[i,Dm(e)]:Dm(e):i,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:a,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:e&&r.type!==ho?s===-1?16:s|16:s,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&zp(r.ssContent),ssFallback:r.ssFallback&&zp(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function pa(r=" ",e=0){return bs(Ig,null,r,e)}function Eu(r="",e=!1){return e?(bi(),Zo(Jc,null,r)):bs(Jc,null,r)}function ol(r){return r==null||typeof r=="boolean"?bs(Jc):Pi(r)?bs(ho,null,r.slice()):typeof r=="object"?Ic(r):bs(Ig,null,String(r))}function Ic(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:zp(r)}function qD(r,e){let t=0;const{shapeFlag:n}=r;if(e==null)e=null;else if(Pi(e))t=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),qD(r,i()),i._c&&(i._d=!0));return}else{t=32;const i=e._;!i&&!(Mg in e)?e._ctx=Wo:i===3&&Wo&&(Wo.slots._===1?e._=1:(e._=2,r.patchFlag|=1024))}else Vi(e)?(e={default:e,_ctx:Wo},t=32):(e=String(e),n&64?(t=16,e=[pa(e)]):t=8);r.children=e,r.shapeFlag|=t}function KT(...r){const e={};for(let t=0;t<r.length;t++){const n=r[t];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=Fa([e.class,n.class]));else if(i==="style")e.style=ml([e.style,n.style]);else if(Eg(i)){const s=e[i],a=n[i];a&&s!==a&&!(Pi(s)&&s.includes(a))&&(e[i]=s?[].concat(s,a):a)}else i!==""&&(e[i]=n[i])}return e}function tl(r,e,t,n=null){Su(r,e,7,[t,n])}const eP=CC();let tP=0;function rP(r,e,t){const n=r.type,i=(e?e.appContext:r.appContext)||eP,s={uid:tP++,vnode:r,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new CA(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:EC(n,i),emitsOptions:dC(n,i),emit:null,emitted:null,propsDefaults:zs,inheritAttrs:n.inheritAttrs,ctx:zs,data:zs,props:zs,attrs:zs,slots:zs,refs:zs,setupState:zs,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=uT.bind(null,s),r.ce&&r.ce(s),s}let Mo=null;const zD=()=>Mo||Wo;let WD,vp,y1="__VUE_INSTANCE_SETTERS__";(vp=cy()[y1])||(vp=cy()[y1]=[]),vp.push(r=>Mo=r),WD=r=>{vp.length>1?vp.forEach(e=>e(r)):vp[0](r)};const Wp=r=>{WD(r),r.scope.on()},Qh=()=>{Mo&&Mo.scope.off(),WD(null)};function $C(r){return r.vnode.shapeFlag&4}let Yf=!1;function nP(r,e=!1){Yf=e;const{props:t,children:n}=r.vnode,i=$C(r);LT(r,t,i,e),UT(r,n);const s=i?iP(r,e):void 0;return Yf=!1,s}function iP(r,e){const t=r.type;r.accessCache=Object.create(null),r.proxy=oC(new Proxy(r.ctx,$T));const{setup:n}=t;if(n){const i=r.setupContext=n.length>1?oP(r):null;Wp(r),rf();const s=zc(n,r,0,[r.props,i]);if(nf(),Qh(),Lv(s)){if(s.then(Qh,Qh),e)return s.then(a=>{D1(r,a,e)}).catch(a=>{Fg(a,r,0)});r.asyncDep=s}else D1(r,s,e)}else BC(r,e)}function D1(r,e,t){Vi(e)?r.type.__ssrInlineRender?r.ssrRender=e:r.render=e:Ns(e)&&(r.setupState=uC(e)),BC(r,t)}let O1;function BC(r,e,t){const n=r.type;if(!r.render){if(!e&&O1&&!n.render){const i=n.template||VD(r).template;if(i){const{isCustomElement:s,compilerOptions:a}=r.appContext.config,{delimiters:l,compilerOptions:p}=n,m=Yo(Yo({isCustomElement:s,delimiters:l},a),p);n.render=O1(i,m)}}r.render=n.render||dl}{Wp(r),rf();try{BT(r)}finally{nf(),Qh()}}}function sP(r){return r.attrsProxy||(r.attrsProxy=new Proxy(r.attrs,{get(e,t){return _a(r,"get","$attrs"),e[t]}}))}function oP(r){const e=t=>{r.exposed=t||{}};return{get attrs(){return sP(r)},slots:r.slots,emit:r.emit,expose:e}}function Rg(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(uC(oC(r.exposed)),{get(e,t){if(t in e)return e[t];if(t in _f)return _f[t](r)},has(e,t){return t in e||t in _f}}))}function aP(r,e=!0){return Vi(r)?r.displayName||r.name:r.name||e&&r.__name}function uP(r){return Vi(r)&&"__vccOpts"in r}const as=(r,e)=>rT(r,e,Yf);function ZD(r,e,t){const n=arguments.length;return n===2?Ns(e)&&!Pi(e)?Lm(e)?bs(r,null,[e]):bs(r,e):bs(r,null,e):(n>3?t=Array.prototype.slice.call(arguments,2):n===3&&Lm(t)&&(t=[t]),bs(r,e,t))}const lP=Symbol.for("v-scx"),cP=()=>gl(lP),hP="3.3.9",pP="http://www.w3.org/2000/svg",_h=typeof document<"u"?document:null,x1=_h&&_h.createElement("template"),fP={insert:(r,e,t)=>{e.insertBefore(r,t||null)},remove:r=>{const e=r.parentNode;e&&e.removeChild(r)},createElement:(r,e,t,n)=>{const i=e?_h.createElementNS(pP,r):_h.createElement(r,t?{is:t}:void 0);return r==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:r=>_h.createTextNode(r),createComment:r=>_h.createComment(r),setText:(r,e)=>{r.nodeValue=e},setElementText:(r,e)=>{r.textContent=e},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>_h.querySelector(r),setScopeId(r,e){r.setAttribute(e,"")},insertStaticContent(r,e,t,n,i,s){const a=t?t.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),t),!(i===s||!(i=i.nextSibling)););else{x1.innerHTML=n?`<svg>${r}</svg>`:r;const l=x1.content;if(n){const p=l.firstChild;for(;p.firstChild;)l.appendChild(p.firstChild);l.removeChild(p)}e.insertBefore(l,t)}return[a?a.nextSibling:e.firstChild,t?t.previousSibling:e.lastChild]}},dP=Symbol("_vtc");function mP(r,e,t){const n=r[dP];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?r.removeAttribute("class"):t?r.setAttribute("class",e):r.className=e}const gP=Symbol("_vod");function yP(r,e,t){const n=r.style,i=xo(t);if(t&&!i){if(e&&!xo(e))for(const s in e)t[s]==null&&xy(n,s,"");for(const s in t)xy(n,s,t[s])}else{const s=n.display;i?e!==t&&(n.cssText=t):e&&r.removeAttribute("style"),gP in r&&(n.display=s)}}const b1=/\s*!important$/;function xy(r,e,t){if(Pi(t))t.forEach(n=>xy(r,e,n));else if(t==null&&(t=""),e.startsWith("--"))r.setProperty(e,t);else{const n=DP(r,e);b1.test(t)?r.setProperty(Gh(n),t.replace(b1,""),"important"):r[n]=t}}const v1=["Webkit","Moz","ms"],v0={};function DP(r,e){const t=v0[e];if(t)return t;let n=bl(e);if(n!=="filter"&&n in r)return v0[e]=n;n=Tg(n);for(let i=0;i<v1.length;i++){const s=v1[i]+n;if(s in r)return v0[e]=s}return e}const C1="http://www.w3.org/1999/xlink";function OP(r,e,t,n,i){if(n&&e.startsWith("xlink:"))t==null?r.removeAttributeNS(C1,e.slice(6,e.length)):r.setAttributeNS(C1,e,t);else{const s=bA(e);t==null||s&&!Uv(t)?r.removeAttribute(e):r.setAttribute(e,s?"":t)}}function xP(r,e,t,n,i,s,a){if(e==="innerHTML"||e==="textContent"){n&&a(n,i,s),r[e]=t??"";return}const l=r.tagName;if(e==="value"&&l!=="PROGRESS"&&!l.includes("-")){r._value=t;const m=l==="OPTION"?r.getAttribute("value"):r.value,g=t??"";m!==g&&(r.value=g),t==null&&r.removeAttribute(e);return}let p=!1;if(t===""||t==null){const m=typeof r[e];m==="boolean"?t=Uv(t):t==null&&m==="string"?(t="",p=!0):m==="number"&&(t=0,p=!0)}try{r[e]=t}catch{}p&&r.removeAttribute(e)}function NC(r,e,t,n){r.addEventListener(e,t,n)}function bP(r,e,t,n){r.removeEventListener(e,t,n)}const S1=Symbol("_vei");function vP(r,e,t,n,i=null){const s=r[S1]||(r[S1]={}),a=s[e];if(n&&a)a.value=n;else{const[l,p]=CP(e);if(n){const m=s[e]=wP(n,i);NC(r,l,m,p)}else a&&(bP(r,l,a,p),s[e]=void 0)}}const E1=/(?:Once|Passive|Capture)$/;function CP(r){let e;if(E1.test(r)){e={};let n;for(;n=r.match(E1);)r=r.slice(0,r.length-n[0].length),e[n[0].toLowerCase()]=!0}return[r[2]===":"?r.slice(3):Gh(r.slice(2)),e]}let C0=0;const SP=Promise.resolve(),EP=()=>C0||(SP.then(()=>C0=0),C0=Date.now());function wP(r,e){const t=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=t.attached)return;Su(AP(n,t.value),e,5,[n])};return t.value=r,t.attached=EP(),t}function AP(r,e){if(Pi(e)){const t=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{t.call(r),r._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const w1=/^on[a-z]/,TP=(r,e,t,n,i=!1,s,a,l,p)=>{e==="class"?mP(r,n,i):e==="style"?yP(r,t,n):Eg(e)?PD(e)||vP(r,e,t,n,a):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):PP(r,e,n,i))?xP(r,e,n,s,a,l,p):(e==="true-value"?r._trueValue=n:e==="false-value"&&(r._falseValue=n),OP(r,e,n,i))};function PP(r,e,t,n){return n?!!(e==="innerHTML"||e==="textContent"||e in r&&w1.test(e)&&Vi(t)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&r.tagName==="INPUT"||e==="type"&&r.tagName==="TEXTAREA"||w1.test(e)&&xo(t)?!1:e in r}const A1=r=>{const e=r.props["onUpdate:modelValue"]||!1;return Pi(e)?t=>gm(e,t):e},S0=Symbol("_assign"),kP={deep:!0,created(r,e,t){r[S0]=A1(t),NC(r,"change",()=>{const n=r._modelValue,i=FP(r),s=r.checked,a=r[S0];if(Pi(n)){const l=qv(n,i),p=l!==-1;if(s&&!p)a(n.concat(i));else if(!s&&p){const m=[...n];m.splice(l,1),a(m)}}else if(wg(n)){const l=new Set(n);s?l.add(i):l.delete(i),a(l)}else a(IC(r,s))})},mounted:T1,beforeUpdate(r,e,t){r[S0]=A1(t),T1(r,e,t)}};function T1(r,{value:e,oldValue:t},n){r._modelValue=e,Pi(e)?r.checked=qv(e,n.props.value)>-1:wg(e)?r.checked=e.has(n.props.value):e!==t&&(r.checked=Pg(e,IC(r,!0)))}function FP(r){return"_value"in r?r._value:r.value}function IC(r,e){const t=e?"_trueValue":"_falseValue";return t in r?r[t]:e}const _P={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$P=(r,e)=>t=>{if(!("key"in t))return;const n=Gh(t.key);if(e.some(i=>i===n||_P[i]===n))return r(t)},BP=Yo({patchProp:TP},fP);let P1;function NP(){return P1||(P1=zT(BP))}const IP=(...r)=>{const e=NP().createApp(...r),{mount:t}=e;return e.mount=n=>{const i=MP(n);if(!i)return;const s=e._component;!Vi(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const a=t(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},e};function MP(r){return xo(r)?document.querySelector(r):r}function Vd(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const RP=/^\[(.+?)~?="(.*)"\]$/,QP=/[\w\u00A0-\uFFFF-_:%-?]/;function MC(r){return r.match(RP)}function z7(r=""){return QP.test(r)}const jP=/([\\:]?[\s"'`;<>]|:\(|\)"|\)\s)/g;var rc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qg(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var k1={exports:{}};(function(r,e){(function(t,n){n(e)})(rc,function(t){const s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(64),l=new Uint8Array(128);for(let me=0;me<s.length;me++){const Ve=s.charCodeAt(me);a[me]=Ve,l[Ve]=me}const p=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(me){return Buffer.from(me.buffer,me.byteOffset,me.byteLength).toString()}}:{decode(me){let Ve="";for(let Dt=0;Dt<me.length;Dt++)Ve+=String.fromCharCode(me[Dt]);return Ve}};function m(me){const Ve=new Int32Array(5),Dt=[];let ht=0;do{const bt=g(me,ht),Yt=[];let ir=!0,qr=0;Ve[0]=0;for(let yr=ht;yr<bt;yr++){let kr;yr=b(me,yr,Ve,0);const Zr=Ve[0];Zr<qr&&(ir=!1),qr=Zr,S(me,yr,bt)?(yr=b(me,yr,Ve,1),yr=b(me,yr,Ve,2),yr=b(me,yr,Ve,3),S(me,yr,bt)?(yr=b(me,yr,Ve,4),kr=[Zr,Ve[1],Ve[2],Ve[3],Ve[4]]):kr=[Zr,Ve[1],Ve[2],Ve[3]]):kr=[Zr],Yt.push(kr)}ir||$(Yt),Dt.push(Yt),ht=bt+1}while(ht<=me.length);return Dt}function g(me,Ve){const Dt=me.indexOf(";",Ve);return Dt===-1?me.length:Dt}function b(me,Ve,Dt,ht){let bt=0,Yt=0,ir=0;do{const yr=me.charCodeAt(Ve++);ir=l[yr],bt|=(ir&31)<<Yt,Yt+=5}while(ir&32);const qr=bt&1;return bt>>>=1,qr&&(bt=-2147483648|-bt),Dt[ht]+=bt,Ve}function S(me,Ve,Dt){return Ve>=Dt?!1:me.charCodeAt(Ve)!==44}function $(me){me.sort(G)}function G(me,Ve){return me[0]-Ve[0]}function be(me){const Ve=new Int32Array(5),Dt=1024*16,ht=Dt-36,bt=new Uint8Array(Dt),Yt=bt.subarray(0,ht);let ir=0,qr="";for(let yr=0;yr<me.length;yr++){const kr=me[yr];if(yr>0&&(ir===Dt&&(qr+=p.decode(bt),ir=0),bt[ir++]=59),kr.length!==0){Ve[0]=0;for(let Zr=0;Zr<kr.length;Zr++){const zn=kr[Zr];ir>ht&&(qr+=p.decode(Yt),bt.copyWithin(0,ht,ir),ir-=ht),Zr>0&&(bt[ir++]=44),ir=ke(bt,ir,Ve,zn,0),zn.length!==1&&(ir=ke(bt,ir,Ve,zn,1),ir=ke(bt,ir,Ve,zn,2),ir=ke(bt,ir,Ve,zn,3),zn.length!==4&&(ir=ke(bt,ir,Ve,zn,4)))}}}return qr+p.decode(bt.subarray(0,ir))}function ke(me,Ve,Dt,ht,bt){const Yt=ht[bt];let ir=Yt-Dt[bt];Dt[bt]=Yt,ir=ir<0?-ir<<1|1:ir<<1;do{let qr=ir&31;ir>>>=5,ir>0&&(qr|=32),me[Ve++]=a[qr]}while(ir>0);return Ve}t.decode=m,t.encode=be,Object.defineProperty(t,"__esModule",{value:!0})})})(k1,k1.exports);const LP=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,XP=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g;function VP(r,e,t){const n=[];return e.forEach(i=>{if(i.includes(":"))i===r&&n.push([t,t+i.length,i]);else{const a=new RegExp(`.(${i})[.#=s(]|.(${i})$`).exec(r);a?n.push([t+a.index+1,t+a.index+i.length+1,i]):i===r&&n.push([t,t+i.length,i])}}),n}function UP(r,e,t=[],n={}){const i=[],s=[],a=new Set,l=[],p=[];if(n.includeRegex)for(const b of n.includeRegex)for(const S of r.matchAll(b))l.push([S.index,S.index+S[0].length]);else l.push([0,r.length]);if(n.excludeRegex)for(const b of n.excludeRegex)for(const S of r.matchAll(b))p.push([S.index,S.index+S[0].length]);Array.from(e).forEach(b=>{const S=MC(b);S?S[2]?s.push(S):(m(S[1]),a.add(S[1])):(m(b),a.add(b))});function m(b){if(/[><]/.test(b))for(const S of r.matchAll(new RegExp(Vd(b),"g"))){const $=S.index,G=$+S[0].length;i.push([$,G,S[0]])}}let g=0;r.split(jP).forEach(b=>{const S=g+b.length;n.isPug?i.push(...VP(b,a,g)):a.has(b)&&i.push([g,S,b]),g=S});for(const b of r.matchAll(LP)){const S=b.index,$=S+b[0].length;a.has(b[0])&&i.push([S,$,b[0]])}for(const b of r.matchAll(XP)){const S=b.index,$=S+b[0].length;a.has(b[0])&&i.findIndex(([be,ke])=>be===S&&ke===$)<0&&i.push([S,$,b[0]])}return s.forEach(([,b,S])=>{const $=new RegExp(`(${Vd(b)}=)(['"])[^\\2]*?${Vd(S)}[^\\2]*?\\2`,"g");Array.from(r.matchAll($)).forEach(G=>{var ht;const be=G[1],ke=G[0].slice(be.length);let me=((ht=ke.match(`[\\b\\s'"]${Vd(S)}[\\b\\s'"]`))==null?void 0:ht.index)??-1;if(/[\s'"]/.test(ke[me]??"")&&me++,me<0)return;const Ve=G.index+be.length+me,Dt=Ve+S.length;i.push([Ve,Dt,`[${b}="${S}"]`])})}),i.push(...t.map(b=>[b.offset,b.offset+b.length,b.className])),i.filter(([b,S])=>p.some(([$,G])=>b>=$&&S<=G)?!1:!!l.some(([$,G])=>b>=$&&S<=G)).sort((b,S)=>b[0]-S[0])}class Ds{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){let i=[];return this.decompose(0,e,i,2),n.length&&n.decompose(0,n.length,i,3),this.decompose(t,this.length,i,1),ll.from(i,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){let n=[];return this.decompose(e,t,n,0),ll.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),i=new Bf(this),s=new Bf(e);for(let a=t,l=t;;){if(i.next(a),s.next(a),a=0,i.lineBreak!=s.lineBreak||i.done!=s.done||i.value!=s.value)return!1;if(l+=i.value.length,i.done||l>=n)return!0}}iter(e=1){return new Bf(this,e)}iterRange(e,t=this.length){return new RC(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let i=this.line(e).from;n=this.iterRange(i,Math.max(i,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new QC(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?Ds.empty:e.length<=32?new co(e):ll.from(co.split(e,[]))}}class co extends Ds{constructor(e,t=qP(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,i){for(let s=0;;s++){let a=this.text[s],l=i+a.length;if((t?n:l)>=e)return new zP(i,l,n,a);i=l+1,n++}}decompose(e,t,n,i){let s=e<=0&&t>=this.length?this:new co(F1(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(i&1){let a=n.pop(),l=Om(s.text,a.text.slice(),0,s.length);if(l.length<=32)n.push(new co(l,a.length+s.length));else{let p=l.length>>1;n.push(new co(l.slice(0,p)),new co(l.slice(p)))}}else n.push(s)}replace(e,t,n){if(!(n instanceof co))return super.replace(e,t,n);let i=Om(this.text,Om(n.text,F1(this.text,0,e)),t),s=this.length+n.length-(t-e);return i.length<=32?new co(i,s):ll.from(co.split(i,[]),s)}sliceString(e,t=this.length,n=`
|
||
`){let i="";for(let s=0,a=0;s<=t&&a<this.text.length;a++){let l=this.text[a],p=s+l.length;s>e&&a&&(i+=n),e<p&&t>s&&(i+=l.slice(Math.max(0,e-s),t-s)),s=p+1}return i}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let n=[],i=-1;for(let s of e)n.push(s),i+=s.length+1,n.length==32&&(t.push(new co(n,i)),n=[],i=-1);return i>-1&&t.push(new co(n,i)),t}}class ll extends Ds{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,i){for(let s=0;;s++){let a=this.children[s],l=i+a.length,p=n+a.lines-1;if((t?p:l)>=e)return a.lineInner(e,t,n,i);i=l+1,n=p+1}}decompose(e,t,n,i){for(let s=0,a=0;a<=t&&s<this.children.length;s++){let l=this.children[s],p=a+l.length;if(e<=p&&t>=a){let m=i&((a<=e?1:0)|(p>=t?2:0));a>=e&&p<=t&&!m?n.push(l):l.decompose(e-a,t-a,n,m)}a=p+1}}replace(e,t,n){if(n.lines<this.lines)for(let i=0,s=0;i<this.children.length;i++){let a=this.children[i],l=s+a.length;if(e>=s&&t<=l){let p=a.replace(e-s,t-s,n),m=this.lines-a.lines+p.lines;if(p.lines<m>>4&&p.lines>m>>6){let g=this.children.slice();return g[i]=p,new ll(g,this.length-(t-e)+n.length)}return super.replace(s,l,p)}s=l+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n=`
|
||
`){let i="";for(let s=0,a=0;s<this.children.length&&a<=t;s++){let l=this.children[s],p=a+l.length;a>e&&s&&(i+=n),e<p&&t>a&&(i+=l.sliceString(e-a,t-a,n)),a=p+1}return i}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof ll))return 0;let n=0,[i,s,a,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=t,s+=t){if(i==a||s==l)return n;let p=this.children[i],m=e.children[s];if(p!=m)return n+p.scanIdentical(m,t);n+=p.length+1}}static from(e,t=e.reduce((n,i)=>n+i.length+1,-1)){let n=0;for(let $ of e)n+=$.lines;if(n<32){let $=[];for(let G of e)G.flatten($);return new co($,t)}let i=Math.max(32,n>>5),s=i<<1,a=i>>1,l=[],p=0,m=-1,g=[];function b($){let G;if($.lines>s&&$ instanceof ll)for(let be of $.children)b(be);else $.lines>a&&(p>a||!p)?(S(),l.push($)):$ instanceof co&&p&&(G=g[g.length-1])instanceof co&&$.lines+G.lines<=32?(p+=$.lines,m+=$.length+1,g[g.length-1]=new co(G.text.concat($.text),G.length+1+$.length)):(p+$.lines>i&&S(),p+=$.lines,m+=$.length+1,g.push($))}function S(){p!=0&&(l.push(g.length==1?g[0]:ll.from(g,m)),m=-1,p=g.length=0)}for(let $ of e)b($);return S(),l.length==1?l[0]:new ll(l,t)}}Ds.empty=new co([""],0);function qP(r){let e=-1;for(let t of r)e+=t.length+1;return e}function Om(r,e,t=0,n=1e9){for(let i=0,s=0,a=!0;s<r.length&&i<=n;s++){let l=r[s],p=i+l.length;p>=t&&(p>n&&(l=l.slice(0,n-i)),i<t&&(l=l.slice(t-i)),a?(e[e.length-1]+=l,a=!1):e.push(l)),i=p+1}return e}function F1(r,e,t){return Om(r,[""],e,t)}class Bf{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof co?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,i=this.nodes[n],s=this.offsets[n],a=s>>1,l=i instanceof co?i.text.length:i.children.length;if(a==(t>0?l:0)){if(n==0)return this.done=!0,this.value="",this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=`
|
||
`,this;e--}else if(i instanceof co){let p=i.text[a+(t<0?-1:0)];if(this.offsets[n]+=t,p.length>Math.max(0,e))return this.value=e==0?p:t>0?p.slice(e):p.slice(0,p.length-e),this;e-=p.length}else{let p=i.children[a+(t<0?-1:0)];e>p.length?(e-=p.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,this.nodes.push(p),this.offsets.push(t>0?1:(p instanceof co?p.text.length:p.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class RC{constructor(e,t,n){this.value="",this.done=!1,this.cursor=new Bf(e,t>n?-1:1),this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*t,this.value=i.length<=n?i:t<0?i.slice(i.length-n):i.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class QC{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:n,value:i}=this.inner.next(e);return t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Ds.prototype[Symbol.iterator]=function(){return this.iter()},Bf.prototype[Symbol.iterator]=RC.prototype[Symbol.iterator]=QC.prototype[Symbol.iterator]=function(){return this});class zP{constructor(e,t,n,i){this.from=e,this.to=t,this.number=n,this.text=i}get length(){return this.to-this.from}}let Mp="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(r=>r?parseInt(r,36):1);for(let r=1;r<Mp.length;r++)Mp[r]+=Mp[r-1];function WP(r){for(let e=1;e<Mp.length;e+=2)if(Mp[e]>r)return Mp[e-1]<=r;return!1}function _1(r){return r>=127462&&r<=127487}const $1=8205;function ua(r,e,t=!0,n=!0){return(t?jC:ZP)(r,e,n)}function jC(r,e,t){if(e==r.length)return e;e&&LC(r.charCodeAt(e))&&XC(r.charCodeAt(e-1))&&e--;let n=Uo(r,e);for(e+=Ha(n);e<r.length;){let i=Uo(r,e);if(n==$1||i==$1||t&&WP(i))e+=Ha(i),n=i;else if(_1(i)){let s=0,a=e-2;for(;a>=0&&_1(Uo(r,a));)s++,a-=2;if(s%2==0)break;e+=2}else break}return e}function ZP(r,e,t){for(;e>0;){let n=jC(r,e-2,t);if(n<e)return n;e--}return 0}function LC(r){return r>=56320&&r<57344}function XC(r){return r>=55296&&r<56320}function Uo(r,e){let t=r.charCodeAt(e);if(!XC(t)||e+1==r.length)return t;let n=r.charCodeAt(e+1);return LC(n)?(t-55296<<10)+(n-56320)+65536:t}function YD(r){return r<=65535?String.fromCharCode(r):(r-=65536,String.fromCharCode((r>>10)+55296,(r&1023)+56320))}function Ha(r){return r<65536?1:2}const by=/\r\n?|\n/;var zo=function(r){return r[r.Simple=0]="Simple",r[r.TrackDel=1]="TrackDel",r[r.TrackBefore=2]="TrackBefore",r[r.TrackAfter=3]="TrackAfter",r}(zo||(zo={}));class yl{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(e){for(let t=0,n=0,i=0;t<this.sections.length;){let s=this.sections[t++],a=this.sections[t++];a<0?(e(n,i,s),i+=s):i+=a,n+=s}}iterChangedRanges(e,t=!1){vy(this,e,t)}get invertedDesc(){let e=[];for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];i<0?e.push(n,i):e.push(i,n)}return new yl(e)}composeDesc(e){return this.empty?e:e.empty?this:VC(this,e)}mapDesc(e,t=!1){return e.empty?this:Cy(this,e,t)}mapPos(e,t=-1,n=zo.Simple){let i=0,s=0;for(let a=0;a<this.sections.length;){let l=this.sections[a++],p=this.sections[a++],m=i+l;if(p<0){if(m>e)return s+(e-i);s+=l}else{if(n!=zo.Simple&&m>=e&&(n==zo.TrackDel&&i<e&&m>e||n==zo.TrackBefore&&i<e||n==zo.TrackAfter&&m>e))return null;if(m>e||m==e&&t<0&&!l)return e==i||t<0?s:s+p;s+=p}i=m}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return s}touchesRange(e,t=e){for(let n=0,i=0;n<this.sections.length&&i<=t;){let s=this.sections[n++],a=this.sections[n++],l=i+s;if(a>=0&&i<=t&&l>=e)return i<e&&l>t?"cover":!0;i=l}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let n=this.sections[t++],i=this.sections[t++];e+=(e?" ":"")+n+(i>=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new yl(e)}static create(e){return new yl(e)}}class Ao extends yl{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return vy(this,(t,n,i,s,a)=>e=e.replace(i,i+(n-t),a),!1),e}mapDesc(e,t=!1){return Cy(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[];for(let i=0,s=0;i<t.length;i+=2){let a=t[i],l=t[i+1];if(l>=0){t[i]=l,t[i+1]=a;let p=i>>1;for(;n.length<p;)n.push(Ds.empty);n.push(a?e.slice(s,s+a):Ds.empty)}s+=a}return new Ao(t,n)}compose(e){return this.empty?e:e.empty?this:VC(this,e,!0)}map(e,t=!1){return e.empty?this:Cy(this,e,t,!0)}iterChanges(e,t=!1){vy(this,e,t)}get desc(){return yl.create(this.sections)}filter(e){let t=[],n=[],i=[],s=new Gf(this);e:for(let a=0,l=0;;){let p=a==e.length?1e9:e[a++];for(;l<p||l==p&&s.len==0;){if(s.done)break e;let g=Math.min(s.len,p-l);sa(i,g,-1);let b=s.ins==-1?-1:s.off==0?s.ins:0;sa(t,g,b),b>0&&Xc(n,t,s.text),s.forward(g),l+=g}let m=e[a++];for(;l<m;){if(s.done)break e;let g=Math.min(s.len,m-l);sa(t,g,-1),sa(i,g,s.ins==-1?-1:s.off==0?s.ins:0),s.forward(g),l+=g}}return{changes:new Ao(t,n),filtered:yl.create(i)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let n=this.sections[t],i=this.sections[t+1];i<0?e.push(n):i==0?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))}return e}static of(e,t,n){let i=[],s=[],a=0,l=null;function p(g=!1){if(!g&&!i.length)return;a<t&&sa(i,t-a,-1);let b=new Ao(i,s);l=l?l.compose(b.map(l)):b,i=[],s=[],a=0}function m(g){if(Array.isArray(g))for(let b of g)m(b);else if(g instanceof Ao){if(g.length!=t)throw new RangeError(`Mismatched change set length (got ${g.length}, expected ${t})`);p(),l=l?l.compose(g.map(l)):g}else{let{from:b,to:S=b,insert:$}=g;if(b>S||b<0||S>t)throw new RangeError(`Invalid change range ${b} to ${S} (in doc of length ${t})`);let G=$?typeof $=="string"?Ds.of($.split(n||by)):$:Ds.empty,be=G.length;if(b==S&&be==0)return;b<a&&p(),b>a&&sa(i,b-a,-1),sa(i,S-b,be),Xc(s,i,G),a=S}}return m(e),p(!l),l}static empty(e){return new Ao(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],n=[];for(let i=0;i<e.length;i++){let s=e[i];if(typeof s=="number")t.push(s,-1);else{if(!Array.isArray(s)||typeof s[0]!="number"||s.some((a,l)=>l&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)t.push(s[0],0);else{for(;n.length<i;)n.push(Ds.empty);n[i]=Ds.of(s.slice(1)),t.push(s[0],n[i].length)}}}return new Ao(t,n)}static createSet(e,t){return new Ao(e,t)}}function sa(r,e,t,n=!1){if(e==0&&t<=0)return;let i=r.length-2;i>=0&&t<=0&&t==r[i+1]?r[i]+=e:e==0&&r[i]==0?r[i+1]+=t:n?(r[i]+=e,r[i+1]+=t):r.push(e,t)}function Xc(r,e,t){if(t.length==0)return;let n=e.length-2>>1;if(n<r.length)r[r.length-1]=r[r.length-1].append(t);else{for(;r.length<n;)r.push(Ds.empty);r.push(t)}}function vy(r,e,t){let n=r.inserted;for(let i=0,s=0,a=0;a<r.sections.length;){let l=r.sections[a++],p=r.sections[a++];if(p<0)i+=l,s+=l;else{let m=i,g=s,b=Ds.empty;for(;m+=l,g+=p,p&&n&&(b=b.append(n[a-2>>1])),!(t||a==r.sections.length||r.sections[a+1]<0);)l=r.sections[a++],p=r.sections[a++];e(i,m,s,g,b),i=m,s=g}}}function Cy(r,e,t,n=!1){let i=[],s=n?[]:null,a=new Gf(r),l=new Gf(e);for(let p=-1;;)if(a.ins==-1&&l.ins==-1){let m=Math.min(a.len,l.len);sa(i,m,-1),a.forward(m),l.forward(m)}else if(l.ins>=0&&(a.ins<0||p==a.i||a.off==0&&(l.len<a.len||l.len==a.len&&!t))){let m=l.len;for(sa(i,l.ins,-1);m;){let g=Math.min(a.len,m);a.ins>=0&&p<a.i&&a.len<=g&&(sa(i,0,a.ins),s&&Xc(s,i,a.text),p=a.i),a.forward(g),m-=g}l.next()}else if(a.ins>=0){let m=0,g=a.len;for(;g;)if(l.ins==-1){let b=Math.min(g,l.len);m+=b,g-=b,l.forward(b)}else if(l.ins==0&&l.len<g)g-=l.len,l.next();else break;sa(i,m,p<a.i?a.ins:0),s&&p<a.i&&Xc(s,i,a.text),p=a.i,a.forward(a.len-g)}else{if(a.done&&l.done)return s?Ao.createSet(i,s):yl.create(i);throw new Error("Mismatched change set lengths")}}function VC(r,e,t=!1){let n=[],i=t?[]:null,s=new Gf(r),a=new Gf(e);for(let l=!1;;){if(s.done&&a.done)return i?Ao.createSet(n,i):yl.create(n);if(s.ins==0)sa(n,s.len,0,l),s.next();else if(a.len==0&&!a.done)sa(n,0,a.ins,l),i&&Xc(i,n,a.text),a.next();else{if(s.done||a.done)throw new Error("Mismatched change set lengths");{let p=Math.min(s.len2,a.len),m=n.length;if(s.ins==-1){let g=a.ins==-1?-1:a.off?0:a.ins;sa(n,p,g,l),i&&g&&Xc(i,n,a.text)}else a.ins==-1?(sa(n,s.off?0:s.len,p,l),i&&Xc(i,n,s.textBit(p))):(sa(n,s.off?0:s.len,a.off?0:a.ins,l),i&&!a.off&&Xc(i,n,a.text));l=(s.ins>p||a.ins>=0&&a.len>p)&&(l||n.length>m),s.forward2(p),a.forward(p)}}}}class Gf{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?Ds.empty:e[t]}textBit(e){let{inserted:t}=this.set,n=this.i-2>>1;return n>=t.length&&!e?Ds.empty:t[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Ih{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}get anchor(){return this.flags&16?this.to:this.from}get head(){return this.flags&16?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&4?-1:this.flags&8?1:0}get bidiLevel(){let e=this.flags&3;return e==3?null:e}get goalColumn(){let e=this.flags>>5;return e==33554431?void 0:e}map(e,t=-1){let n,i;return this.empty?n=i=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),n==this.from&&i==this.to?this:new Ih(n,i,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return Pr.range(e,t);let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return Pr.range(this.anchor,n)}eq(e){return this.anchor==e.anchor&&this.head==e.head}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Pr.range(e.anchor,e.head)}static create(e,t,n){return new Ih(e,t,n)}}class Pr{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:Pr.create(this.ranges.map(n=>n.map(e,t)),this.mainIndex)}eq(e){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let t=0;t<this.ranges.length;t++)if(!this.ranges[t].eq(e.ranges[t]))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new Pr([this.main],0)}addRange(e,t=!0){return Pr.create([e].concat(this.ranges),t?0:this.mainIndex+1)}replaceRange(e,t=this.mainIndex){let n=this.ranges.slice();return n[t]=e,Pr.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Pr(e.ranges.map(t=>Ih.fromJSON(t)),e.main)}static single(e,t=e){return new Pr([Pr.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;i<e.length;i++){let s=e[i];if(s.empty?s.from<=n:s.from<n)return Pr.normalized(e.slice(),t);n=s.to}return new Pr(e,t)}static cursor(e,t=0,n,i){return Ih.create(e,e,(t==0?0:t<0?4:8)|(n==null?3:Math.min(2,n))|(i??33554431)<<5)}static range(e,t,n,i){let s=(n??33554431)<<5|(i==null?3:Math.min(2,i));return t<e?Ih.create(t,e,24|s):Ih.create(e,t,(t>e?4:0)|s)}static normalized(e,t=0){let n=e[t];e.sort((i,s)=>i.from-s.from),t=e.indexOf(n);for(let i=1;i<e.length;i++){let s=e[i],a=e[i-1];if(s.empty?s.from<=a.to:s.from<a.to){let l=a.from,p=Math.max(s.to,a.to);i<=t&&t--,e.splice(--i,2,s.anchor>s.head?Pr.range(p,l):Pr.range(l,p))}}return new Pr(e,t)}}function UC(r,e){for(let t of r.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let GD=0;class qn{constructor(e,t,n,i,s){this.combine=e,this.compareInput=t,this.compare=n,this.isStatic=i,this.id=GD++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}static define(e={}){return new qn(e.combine||(t=>t),e.compareInput||((t,n)=>t===n),e.compare||(e.combine?(t,n)=>t===n:HD),!!e.static,e.enables)}of(e){return new xm([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new xm(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new xm(e,this,2,t)}from(e,t){return t||(t=n=>n),this.compute([e],n=>t(n.field(e)))}}function HD(r,e){return r==e||r.length==e.length&&r.every((t,n)=>t===e[n])}class xm{constructor(e,t,n,i){this.dependencies=e,this.facet=t,this.type=n,this.value=i,this.id=GD++}dynamicSlot(e){var t;let n=this.value,i=this.facet.compareInput,s=this.id,a=e[s]>>1,l=this.type==2,p=!1,m=!1,g=[];for(let b of this.dependencies)b=="doc"?p=!0:b=="selection"?m=!0:((t=e[b.id])!==null&&t!==void 0?t:1)&1||g.push(e[b.id]);return{create(b){return b.values[a]=n(b),1},update(b,S){if(p&&S.docChanged||m&&(S.docChanged||S.selection)||Sy(b,g)){let $=n(b);if(l?!B1($,b.values[a],i):!i($,b.values[a]))return b.values[a]=$,1}return 0},reconfigure:(b,S)=>{let $,G=S.config.address[s];if(G!=null){let be=Vm(S,G);if(this.dependencies.every(ke=>ke instanceof qn?S.facet(ke)===b.facet(ke):ke instanceof Po?S.field(ke,!1)==b.field(ke,!1):!0)||(l?B1($=n(b),be,i):i($=n(b),be)))return b.values[a]=be,0}else $=n(b);return b.values[a]=$,1}}}}function B1(r,e,t){if(r.length!=e.length)return!1;for(let n=0;n<r.length;n++)if(!t(r[n],e[n]))return!1;return!0}function Sy(r,e){let t=!1;for(let n of e)Nf(r,n)&1&&(t=!0);return t}function YP(r,e,t){let n=t.map(p=>r[p.id]),i=t.map(p=>p.type),s=n.filter(p=>!(p&1)),a=r[e.id]>>1;function l(p){let m=[];for(let g=0;g<n.length;g++){let b=Vm(p,n[g]);if(i[g]==2)for(let S of b)m.push(S);else m.push(b)}return e.combine(m)}return{create(p){for(let m of n)Nf(p,m);return p.values[a]=l(p),1},update(p,m){if(!Sy(p,s))return 0;let g=l(p);return e.compare(g,p.values[a])?0:(p.values[a]=g,1)},reconfigure(p,m){let g=Sy(p,n),b=m.config.facets[e.id],S=m.facet(e);if(b&&!g&&HD(t,b))return p.values[a]=S,0;let $=l(p);return e.compare($,S)?(p.values[a]=S,0):(p.values[a]=$,1)}}}const N1=qn.define({static:!0});class Po{constructor(e,t,n,i,s){this.id=e,this.createF=t,this.updateF=n,this.compareF=i,this.spec=s,this.provides=void 0}static define(e){let t=new Po(GD++,e.create,e.update,e.compare||((n,i)=>n===i),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(N1).find(n=>n.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:n=>(n.values[t]=this.create(n),1),update:(n,i)=>{let s=n.values[t],a=this.updateF(s,i);return this.compareF(s,a)?0:(n.values[t]=a,1)},reconfigure:(n,i)=>i.config.address[this.id]!=null?(n.values[t]=i.field(this),0):(n.values[t]=this.create(n),1)}}init(e){return[this,N1.of({field:this,create:e})]}get extension(){return this}}const $h={lowest:4,low:3,default:2,high:1,highest:0};function gf(r){return e=>new qC(e,r)}const Jh={highest:gf($h.highest),high:gf($h.high),default:gf($h.default),low:gf($h.low),lowest:gf($h.lowest)};class qC{constructor(e,t){this.inner=e,this.prec=t}}class jg{of(e){return new Ey(this,e)}reconfigure(e){return jg.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Ey{constructor(e,t){this.compartment=e,this.inner=t}}class Xm{constructor(e,t,n,i,s,a){for(this.base=e,this.compartments=t,this.dynamicSlots=n,this.address=i,this.staticValues=s,this.facets=a,this.statusTemplate=[];this.statusTemplate.length<n.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return t==null?e.default:this.staticValues[t>>1]}static resolve(e,t,n){let i=[],s=Object.create(null),a=new Map;for(let S of GP(e,t,a))S instanceof Po?i.push(S):(s[S.facet.id]||(s[S.facet.id]=[])).push(S);let l=Object.create(null),p=[],m=[];for(let S of i)l[S.id]=m.length<<1,m.push($=>S.slot($));let g=n==null?void 0:n.config.facets;for(let S in s){let $=s[S],G=$[0].facet,be=g&&g[S]||[];if($.every(ke=>ke.type==0))if(l[G.id]=p.length<<1|1,HD(be,$))p.push(n.facet(G));else{let ke=G.combine($.map(me=>me.value));p.push(n&&G.compare(ke,n.facet(G))?n.facet(G):ke)}else{for(let ke of $)ke.type==0?(l[ke.id]=p.length<<1|1,p.push(ke.value)):(l[ke.id]=m.length<<1,m.push(me=>ke.dynamicSlot(me)));l[G.id]=m.length<<1,m.push(ke=>YP(ke,G,$))}}let b=m.map(S=>S(l));return new Xm(e,a,b,l,p,s)}}function GP(r,e,t){let n=[[],[],[],[],[]],i=new Map;function s(a,l){let p=i.get(a);if(p!=null){if(p<=l)return;let m=n[p].indexOf(a);m>-1&&n[p].splice(m,1),a instanceof Ey&&t.delete(a.compartment)}if(i.set(a,l),Array.isArray(a))for(let m of a)s(m,l);else if(a instanceof Ey){if(t.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let m=e.get(a.compartment)||a.inner;t.set(a.compartment,m),s(m,l)}else if(a instanceof qC)s(a.inner,a.prec);else if(a instanceof Po)n[l].push(a),a.provides&&s(a.provides,l);else if(a instanceof xm)n[l].push(a),a.facet.extensions&&s(a.facet.extensions,$h.default);else{let m=a.extension;if(!m)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(m,l)}}return s(r,$h.default),n.reduce((a,l)=>a.concat(l))}function Nf(r,e){if(e&1)return 2;let t=e>>1,n=r.status[t];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;r.status[t]=4;let i=r.computeSlot(r,r.config.dynamicSlots[t]);return r.status[t]=2|i}function Vm(r,e){return e&1?r.config.staticValues[e>>1]:r.values[e>>1]}const zC=qn.define(),WC=qn.define({combine:r=>r.some(e=>e),static:!0}),ZC=qn.define({combine:r=>r.length?r[0]:void 0,static:!0}),YC=qn.define(),GC=qn.define(),HC=qn.define(),JC=qn.define({combine:r=>r.length?r[0]:!1});class uc{constructor(e,t){this.type=e,this.value=t}static define(){return new HP}}class HP{of(e){return new uc(this,e)}}class JP{constructor(e){this.map=e}of(e){return new Qi(this,e)}}class Qi{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new Qi(this.type,t)}is(e){return this.type==e}static define(e={}){return new JP(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let n=[];for(let i of e){let s=i.map(t);s&&n.push(s)}return n}}Qi.reconfigure=Qi.define();Qi.appendConfig=Qi.define();class To{constructor(e,t,n,i,s,a){this.startState=e,this.changes=t,this.selection=n,this.effects=i,this.annotations=s,this.scrollIntoView=a,this._doc=null,this._state=null,n&&UC(n,t.newLength),s.some(l=>l.type==To.time)||(this.annotations=s.concat(To.time.of(Date.now())))}static create(e,t,n,i,s,a){return new To(e,t,n,i,s,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(To.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}To.time=uc.define();To.userEvent=uc.define();To.addToHistory=uc.define();To.remote=uc.define();function KP(r,e){let t=[];for(let n=0,i=0;;){let s,a;if(n<r.length&&(i==e.length||e[i]>=r[n]))s=r[n++],a=r[n++];else if(i<e.length)s=e[i++],a=e[i++];else return t;!t.length||t[t.length-1]<s?t.push(s,a):t[t.length-1]<a&&(t[t.length-1]=a)}}function KC(r,e,t){var n;let i,s,a;return t?(i=e.changes,s=Ao.empty(e.changes.length),a=r.changes.compose(e.changes)):(i=e.changes.map(r.changes),s=r.changes.mapDesc(e.changes,!0),a=r.changes.compose(i)),{changes:a,selection:e.selection?e.selection.map(s):(n=r.selection)===null||n===void 0?void 0:n.map(i),effects:Qi.mapEffects(r.effects,i).concat(Qi.mapEffects(e.effects,s)),annotations:r.annotations.length?r.annotations.concat(e.annotations):e.annotations,scrollIntoView:r.scrollIntoView||e.scrollIntoView}}function wy(r,e,t){let n=e.selection,i=Rp(e.annotations);return e.userEvent&&(i=i.concat(To.userEvent.of(e.userEvent))),{changes:e.changes instanceof Ao?e.changes:Ao.of(e.changes||[],t,r.facet(ZC)),selection:n&&(n instanceof Pr?n:Pr.single(n.anchor,n.head)),effects:Rp(e.effects),annotations:i,scrollIntoView:!!e.scrollIntoView}}function eS(r,e,t){let n=wy(r,e.length?e[0]:{},r.doc.length);e.length&&e[0].filter===!1&&(t=!1);for(let s=1;s<e.length;s++){e[s].filter===!1&&(t=!1);let a=!!e[s].sequential;n=KC(n,wy(r,e[s],a?n.changes.newLength:r.doc.length),a)}let i=To.create(r,n.changes,n.selection,n.effects,n.annotations,n.scrollIntoView);return tk(t?ek(i):i)}function ek(r){let e=r.startState,t=!0;for(let i of e.facet(YC)){let s=i(r);if(s===!1){t=!1;break}Array.isArray(s)&&(t=t===!0?s:KP(t,s))}if(t!==!0){let i,s;if(t===!1)s=r.changes.invertedDesc,i=Ao.empty(e.doc.length);else{let a=r.changes.filter(t);i=a.changes,s=a.filtered.mapDesc(a.changes).invertedDesc}r=To.create(e,i,r.selection&&r.selection.map(s),Qi.mapEffects(r.effects,s),r.annotations,r.scrollIntoView)}let n=e.facet(GC);for(let i=n.length-1;i>=0;i--){let s=n[i](r);s instanceof To?r=s:Array.isArray(s)&&s.length==1&&s[0]instanceof To?r=s[0]:r=eS(e,Rp(s),!1)}return r}function tk(r){let e=r.startState,t=e.facet(HC),n=r;for(let i=t.length-1;i>=0;i--){let s=t[i](r);s&&Object.keys(s).length&&(n=KC(n,wy(e,s,r.changes.newLength),!0))}return n==r?r:To.create(e,r.changes,r.selection,n.effects,n.annotations,n.scrollIntoView)}const rk=[];function Rp(r){return r==null?rk:Array.isArray(r)?r:[r]}var Js=function(r){return r[r.Word=0]="Word",r[r.Space=1]="Space",r[r.Other=2]="Other",r}(Js||(Js={}));const nk=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Ay;try{Ay=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function ik(r){if(Ay)return Ay.test(r);for(let e=0;e<r.length;e++){let t=r[e];if(/\w/.test(t)||t>""&&(t.toUpperCase()!=t.toLowerCase()||nk.test(t)))return!0}return!1}function sk(r){return e=>{if(!/\S/.test(e))return Js.Space;if(ik(e))return Js.Word;for(let t=0;t<r.length;t++)if(e.indexOf(r[t])>-1)return Js.Word;return Js.Other}}class gs{constructor(e,t,n,i,s,a){this.config=e,this.doc=t,this.selection=n,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=s,a&&(a._state=this);for(let l=0;l<this.config.dynamicSlots.length;l++)Nf(this,l<<1);this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id];if(n==null){if(t)throw new RangeError("Field is not present in this state");return}return Nf(this,n),Vm(this,n)}update(...e){return eS(this,e,!0)}applyTransaction(e){let t=this.config,{base:n,compartments:i}=t;for(let a of e.effects)a.is(jg.reconfigure)?(t&&(i=new Map,t.compartments.forEach((l,p)=>i.set(p,l)),t=null),i.set(a.value.compartment,a.value.extension)):a.is(Qi.reconfigure)?(t=null,n=a.value):a.is(Qi.appendConfig)&&(t=null,n=Rp(n).concat(a.value));let s;t?s=e.startState.values.slice():(t=Xm.resolve(n,i,this),s=new gs(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(l,p)=>p.reconfigure(l,this),null).values),new gs(t,e.newDoc,e.newSelection,s,(a,l)=>l.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:Pr.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,n=e(t.ranges[0]),i=this.changes(n.changes),s=[n.range],a=Rp(n.effects);for(let l=1;l<t.ranges.length;l++){let p=e(t.ranges[l]),m=this.changes(p.changes),g=m.map(i);for(let S=0;S<l;S++)s[S]=s[S].map(g);let b=i.mapDesc(m,!0);s.push(p.range.map(b)),i=i.compose(g),a=Qi.mapEffects(a,g).concat(Qi.mapEffects(Rp(p.effects),b))}return{changes:i,selection:Pr.create(s,t.mainIndex),effects:a}}changes(e=[]){return e instanceof Ao?e:Ao.of(e,this.doc.length,this.facet(gs.lineSeparator))}toText(e){return Ds.of(e.split(this.facet(gs.lineSeparator)||by))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return t==null?e.default:(Nf(this,t),Vm(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){let i=e[n];i instanceof Po&&this.config.address[i.id]!=null&&(t[n]=i.spec.toJSON(this.field(e[n]),this))}return t}static fromJSON(e,t={},n){if(!e||typeof e.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let i=[];if(n){for(let s in n)if(Object.prototype.hasOwnProperty.call(e,s)){let a=n[s],l=e[s];i.push(a.init(p=>a.spec.fromJSON(l,p)))}}return gs.create({doc:e.doc,selection:Pr.fromJSON(e.selection),extensions:t.extensions?i.concat([t.extensions]):i})}static create(e={}){let t=Xm.resolve(e.extensions||[],new Map),n=e.doc instanceof Ds?e.doc:Ds.of((e.doc||"").split(t.staticFacet(gs.lineSeparator)||by)),i=e.selection?e.selection instanceof Pr?e.selection:Pr.single(e.selection.anchor,e.selection.head):Pr.single(0);return UC(i,n.length),t.staticFacet(WC)||(i=i.asSingle()),new gs(t,n,i,t.dynamicSlots.map(()=>null),(s,a)=>a.create(s),null)}get tabSize(){return this.facet(gs.tabSize)}get lineBreak(){return this.facet(gs.lineSeparator)||`
|
||
`}get readOnly(){return this.facet(JC)}phrase(e,...t){for(let n of this.facet(gs.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,(n,i)=>{if(i=="$")return"$";let s=+(i||1);return!s||s>t.length?n:t[s-1]})),e}languageDataAt(e,t,n=-1){let i=[];for(let s of this.facet(zC))for(let a of s(this,t,n))Object.prototype.hasOwnProperty.call(a,e)&&i.push(a[e]);return i}charCategorizer(e){return sk(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:n,length:i}=this.doc.lineAt(e),s=this.charCategorizer(e),a=e-n,l=e-n;for(;a>0;){let p=ua(t,a,!1);if(s(t.slice(p,a))!=Js.Word)break;a=p}for(;l<i;){let p=ua(t,l);if(s(t.slice(l,p))!=Js.Word)break;l=p}return a==l?null:Pr.range(a+n,l+n)}}gs.allowMultipleSelections=WC;gs.tabSize=qn.define({combine:r=>r.length?r[0]:4});gs.lineSeparator=ZC;gs.readOnly=JC;gs.phrases=qn.define({compare(r,e){let t=Object.keys(r),n=Object.keys(e);return t.length==n.length&&t.every(i=>r[i]==e[i])}});gs.languageData=zC;gs.changeFilter=YC;gs.transactionFilter=GC;gs.transactionExtender=HC;jg.reconfigure=Qi.define();function Sl(r,e,t={}){let n={};for(let i of r)for(let s of Object.keys(i)){let a=i[s],l=n[s];if(l===void 0)n[s]=a;else if(!(l===a||a===void 0))if(Object.hasOwnProperty.call(t,s))n[s]=t[s](l,a);else throw new Error("Config merge conflict for field "+s)}for(let i in e)n[i]===void 0&&(n[i]=e[i]);return n}class Uh{eq(e){return this==e}range(e,t=e){return Ty.create(e,t,this)}}Uh.prototype.startSide=Uh.prototype.endSide=0;Uh.prototype.point=!1;Uh.prototype.mapMode=zo.TrackDel;let Ty=class tS{constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(e,t,n){return new tS(e,t,n)}};function Py(r,e){return r.from-e.from||r.value.startSide-e.value.startSide}class JD{constructor(e,t,n,i){this.from=e,this.to=t,this.value=n,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,t,n,i=0){let s=n?this.to:this.from;for(let a=i,l=s.length;;){if(a==l)return a;let p=a+l>>1,m=s[p]-e||(n?this.value[p].endSide:this.value[p].startSide)-t;if(p==a)return m>=0?a:l;m>=0?l=p:a=p+1}}between(e,t,n,i){for(let s=this.findIndex(t,-1e9,!0),a=this.findIndex(n,1e9,!1,s);s<a;s++)if(i(this.from[s]+e,this.to[s]+e,this.value[s])===!1)return!1}map(e,t){let n=[],i=[],s=[],a=-1,l=-1;for(let p=0;p<this.value.length;p++){let m=this.value[p],g=this.from[p]+e,b=this.to[p]+e,S,$;if(g==b){let G=t.mapPos(g,m.startSide,m.mapMode);if(G==null||(S=$=G,m.startSide!=m.endSide&&($=t.mapPos(g,m.endSide),$<S)))continue}else if(S=t.mapPos(g,m.startSide),$=t.mapPos(b,m.endSide),S>$||S==$&&m.startSide>0&&m.endSide<=0)continue;($-S||m.endSide-m.startSide)<0||(a<0&&(a=S),m.point&&(l=Math.max(l,$-S)),n.push(m),i.push(S-a),s.push($-a))}return{mapped:n.length?new JD(i,s,n,l):null,pos:a}}}class Ss{constructor(e,t,n,i){this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=i}static create(e,t,n,i){return new Ss(e,t,n,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:t=[],sort:n=!1,filterFrom:i=0,filterTo:s=this.length}=e,a=e.filter;if(t.length==0&&!a)return this;if(n&&(t=t.slice().sort(Py)),this.isEmpty)return t.length?Ss.of(t):this;let l=new rS(this,null,-1).goto(0),p=0,m=[],g=new Kc;for(;l.value||p<t.length;)if(p<t.length&&(l.from-t[p].from||l.startSide-t[p].value.startSide)>=0){let b=t[p++];g.addInner(b.from,b.to,b.value)||m.push(b)}else l.rangeIndex==1&&l.chunkIndex<this.chunk.length&&(p==t.length||this.chunkEnd(l.chunkIndex)<t[p].from)&&(!a||i>this.chunkEnd(l.chunkIndex)||s<this.chunkPos[l.chunkIndex])&&g.addChunk(this.chunkPos[l.chunkIndex],this.chunk[l.chunkIndex])?l.nextChunk():((!a||i>l.to||s<l.from||a(l.from,l.to,l.value))&&(g.addInner(l.from,l.to,l.value)||m.push(Ty.create(l.from,l.to,l.value))),l.next());return g.finishInner(this.nextLayer.isEmpty&&!m.length?Ss.empty:this.nextLayer.update({add:m,filter:a,filterFrom:i,filterTo:s}))}map(e){if(e.empty||this.isEmpty)return this;let t=[],n=[],i=-1;for(let a=0;a<this.chunk.length;a++){let l=this.chunkPos[a],p=this.chunk[a],m=e.touchesRange(l,l+p.length);if(m===!1)i=Math.max(i,p.maxPoint),t.push(p),n.push(e.mapPos(l));else if(m===!0){let{mapped:g,pos:b}=p.map(l,e);g&&(i=Math.max(i,g.maxPoint),t.push(g),n.push(b))}}let s=this.nextLayer.map(e);return t.length==0?s:new Ss(n,t,s||Ss.empty,i)}between(e,t,n){if(!this.isEmpty){for(let i=0;i<this.chunk.length;i++){let s=this.chunkPos[i],a=this.chunk[i];if(t>=s&&e<=s+a.length&&a.between(s,e-s,t-s,n)===!1)return}this.nextLayer.between(e,t,n)}}iter(e=0){return Hf.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Hf.from(e).goto(t)}static compare(e,t,n,i,s=-1){let a=e.filter(b=>b.maxPoint>0||!b.isEmpty&&b.maxPoint>=s),l=t.filter(b=>b.maxPoint>0||!b.isEmpty&&b.maxPoint>=s),p=I1(a,l,n),m=new yf(a,p,s),g=new yf(l,p,s);n.iterGaps((b,S,$)=>M1(m,b,g,S,$,i)),n.empty&&n.length==0&&M1(m,0,g,0,0,i)}static eq(e,t,n=0,i){i==null&&(i=999999999);let s=e.filter(g=>!g.isEmpty&&t.indexOf(g)<0),a=t.filter(g=>!g.isEmpty&&e.indexOf(g)<0);if(s.length!=a.length)return!1;if(!s.length)return!0;let l=I1(s,a),p=new yf(s,l,0).goto(n),m=new yf(a,l,0).goto(n);for(;;){if(p.to!=m.to||!ky(p.active,m.active)||p.point&&(!m.point||!p.point.eq(m.point)))return!1;if(p.to>i)return!0;p.next(),m.next()}}static spans(e,t,n,i,s=-1){let a=new yf(e,null,s).goto(t),l=t,p=a.openStart;for(;;){let m=Math.min(a.to,n);if(a.point){let g=a.activeForPoint(a.to),b=a.pointFrom<t?g.length+1:Math.min(g.length,p);i.point(l,m,a.point,g,b,a.pointRank),p=Math.min(a.openEnd(m),g.length)}else m>l&&(i.span(l,m,a.active,p),p=a.openEnd(m));if(a.to>n)return p+(a.point&&a.to>n?1:0);l=a.to,a.next()}}static of(e,t=!1){let n=new Kc;for(let i of e instanceof Ty?[e]:t?ok(e):e)n.add(i.from,i.to,i.value);return n.finish()}}Ss.empty=new Ss([],[],null,-1);function ok(r){if(r.length>1)for(let e=r[0],t=1;t<r.length;t++){let n=r[t];if(Py(e,n)>0)return r.slice().sort(Py);e=n}return r}Ss.empty.nextLayer=Ss.empty;class Kc{finishChunk(e){this.chunks.push(new JD(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,t,n){this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new Kc)).add(e,t,n)}addInner(e,t,n){let i=e-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}finish(){return this.finishInner(Ss.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let t=Ss.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}}function I1(r,e,t){let n=new Map;for(let s of r)for(let a=0;a<s.chunk.length;a++)s.chunk[a].maxPoint<=0&&n.set(s.chunk[a],s.chunkPos[a]);let i=new Set;for(let s of e)for(let a=0;a<s.chunk.length;a++){let l=n.get(s.chunk[a]);l!=null&&(t?t.mapPos(l):l)==s.chunkPos[a]&&!(t!=null&&t.touchesRange(l,l+s.chunk[a].length))&&i.add(s.chunk[a])}return i}class rS{constructor(e,t,n,i=0){this.layer=e,this.skip=t,this.minPoint=n,this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){let i=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(i)||this.layer.chunkEnd(this.chunkIndex)<e||i.maxPoint<this.minPoint))break;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!n||this.rangeIndex<i)&&this.setRangeIndex(i)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex];if(this.from=n,this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}}class Hf{constructor(e){this.heap=e}static from(e,t=null,n=-1){let i=[];for(let s=0;s<e.length;s++)for(let a=e[s];!a.isEmpty;a=a.nextLayer)a.maxPoint>=n&&i.push(new rS(a,t,n,s));return i.length==1?i[0]:new Hf(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let n of this.heap)n.goto(e,t);for(let n=this.heap.length>>1;n>=0;n--)E0(this.heap,n);return this.next(),this}forward(e,t){for(let n of this.heap)n.forward(e,t);for(let n=this.heap.length>>1;n>=0;n--)E0(this.heap,n);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),E0(this.heap,0)}}}function E0(r,e){for(let t=r[e];;){let n=(e<<1)+1;if(n>=r.length)break;let i=r[n];if(n+1<r.length&&i.compare(r[n+1])>=0&&(i=r[n+1],n++),t.compare(i)<0)break;r[n]=t,r[e]=i,e=n}}class yf{constructor(e,t,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Hf.from(e,t,n)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Ud(this.active,e),Ud(this.activeTo,e),Ud(this.activeRank,e),this.minActive=R1(this.active,this.activeTo)}addActive(e){let t=0,{value:n,to:i,rank:s}=this.cursor;for(;t<this.activeRank.length&&this.activeRank[t]<=s;)t++;qd(this.active,t,n),qd(this.activeTo,t,i),qd(this.activeRank,t,s),e&&qd(e,t,this.cursor.from),this.minActive=R1(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),n&&Ud(n,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=s,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=s.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(n){this.openStart=0;for(let i=n.length-1;i>=0&&n[i]<e;i--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n]);return t.reverse()}openEnd(e){let t=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}function M1(r,e,t,n,i,s){r.goto(e),t.goto(n);let a=n+i,l=n,p=n-e;for(;;){let m=r.to+p-t.to||r.endSide-t.endSide,g=m<0?r.to+p:t.to,b=Math.min(g,a);if(r.point||t.point?r.point&&t.point&&(r.point==t.point||r.point.eq(t.point))&&ky(r.activeForPoint(r.to),t.activeForPoint(t.to))||s.comparePoint(l,b,r.point,t.point):b>l&&!ky(r.active,t.active)&&s.compareRange(l,b,r.active,t.active),g>a)break;l=g,m<=0&&r.next(),m>=0&&t.next()}}function ky(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++)if(r[t]!=e[t]&&!r[t].eq(e[t]))return!1;return!0}function Ud(r,e){for(let t=e,n=r.length-1;t<n;t++)r[t]=r[t+1];r.pop()}function qd(r,e,t){for(let n=r.length-1;n>=e;n--)r[n+1]=r[n];r[e]=t}function R1(r,e){let t=-1,n=1e9;for(let i=0;i<e.length;i++)(e[i]-n||r[i].endSide-r[t].endSide)<0&&(t=i,n=e[i]);return t}function xd(r,e,t=r.length){let n=0;for(let i=0;i<t;)r.charCodeAt(i)==9?(n+=e-n%e,i++):(n++,i=ua(r,i));return n}function Fy(r,e,t,n){for(let i=0,s=0;;){if(s>=e)return i;if(i==r.length)break;s+=r.charCodeAt(i)==9?t-s%t:1,i=ua(r,i)}return n===!0?-1:r.length}const _y="ͼ",Q1=typeof Symbol>"u"?"__"+_y:Symbol.for(_y),$y=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),j1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class eh{constructor(e,t){this.rules=[];let{finish:n}=t||{};function i(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function s(a,l,p,m){let g=[],b=/^@(\w+)\b/.exec(a[0]),S=b&&b[1]=="keyframes";if(b&&l==null)return p.push(a[0]+";");for(let $ in l){let G=l[$];if(/&/.test($))s($.split(/,\s*/).map(be=>a.map(ke=>be.replace(/&/,ke))).reduce((be,ke)=>be.concat(ke)),G,p);else if(G&&typeof G=="object"){if(!b)throw new RangeError("The value of a property ("+$+") should be a primitive value.");s(i($),G,g,S)}else G!=null&&g.push($.replace(/_.*/,"").replace(/[A-Z]/g,be=>"-"+be.toLowerCase())+": "+G+";")}(g.length||S)&&p.push((n&&!b&&!m?a.map(n):a).join(", ")+" {"+g.join(" ")+"}")}for(let a in e)s(i(a),e[a],this.rules)}getRules(){return this.rules.join(`
|
||
`)}static newName(){let e=j1[Q1]||1;return j1[Q1]=e+1,_y+e.toString(36)}static mount(e,t,n){let i=e[$y],s=n&&n.nonce;i?s&&i.setNonce(s):i=new ak(e,s),i.mount(Array.isArray(t)?t:[t])}}let L1=new Map;class ak{constructor(e,t){let n=e.ownerDocument||e,i=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let s=L1.get(n);if(s)return e.adoptedStyleSheets=[s.sheet,...e.adoptedStyleSheets],e[$y]=s;this.sheet=new i.CSSStyleSheet,e.adoptedStyleSheets=[this.sheet,...e.adoptedStyleSheets],L1.set(n,this)}else{this.styleTag=n.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);let s=e.head||e;s.insertBefore(this.styleTag,s.firstChild)}this.modules=[],e[$y]=this}mount(e){let t=this.sheet,n=0,i=0;for(let s=0;s<e.length;s++){let a=e[s],l=this.modules.indexOf(a);if(l<i&&l>-1&&(this.modules.splice(l,1),i--,l=-1),l==-1){if(this.modules.splice(i++,0,a),t)for(let p=0;p<a.rules.length;p++)t.insertRule(a.rules[p],n++)}else{for(;i<l;)n+=this.modules[i++].rules.length;n+=a.rules.length,i++}}if(!t){let s="";for(let a=0;a<this.modules.length;a++)s+=this.modules[a].getRules()+`
|
||
`;this.styleTag.textContent=s}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}var th={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Jf={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},uk=typeof navigator<"u"&&/Mac/.test(navigator.platform),lk=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var qo=0;qo<10;qo++)th[48+qo]=th[96+qo]=String(qo);for(var qo=1;qo<=24;qo++)th[qo+111]="F"+qo;for(var qo=65;qo<=90;qo++)th[qo]=String.fromCharCode(qo+32),Jf[qo]=String.fromCharCode(qo);for(var w0 in th)Jf.hasOwnProperty(w0)||(Jf[w0]=th[w0]);function ck(r){var e=uk&&r.metaKey&&r.shiftKey&&!r.ctrlKey&&!r.altKey||lk&&r.shiftKey&&r.key&&r.key.length==1||r.key=="Unidentified",t=!e&&r.key||(r.shiftKey?Jf:th)[r.keyCode]||r.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}function Um(r){let e;return r.nodeType==11?e=r.getSelection?r:r.ownerDocument:e=r,e.getSelection()}function By(r,e){return e?r==e||r.contains(e.nodeType!=1?e.parentNode:e):!1}function hk(r){let e=r.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function bm(r,e){if(!e.anchorNode)return!1;try{return By(r,e.anchorNode)}catch{return!1}}function Kf(r){return r.nodeType==3?qh(r,0,r.nodeValue.length).getClientRects():r.nodeType==1?r.getClientRects():[]}function qm(r,e,t,n){return t?X1(r,e,t,n,-1)||X1(r,e,t,n,1):!1}function zm(r){for(var e=0;;e++)if(r=r.previousSibling,!r)return e}function X1(r,e,t,n,i){for(;;){if(r==t&&e==n)return!0;if(e==(i<0?0:rh(r))){if(r.nodeName=="DIV")return!1;let s=r.parentNode;if(!s||s.nodeType!=1)return!1;e=zm(r)+(i<0?0:1),r=s}else if(r.nodeType==1){if(r=r.childNodes[e+(i<0?-1:0)],r.nodeType==1&&r.contentEditable=="false")return!1;e=i<0?rh(r):0}else return!1}}function rh(r){return r.nodeType==3?r.nodeValue.length:r.childNodes.length}function KD(r,e){let t=e?r.left:r.right;return{left:t,right:t,top:r.top,bottom:r.bottom}}function pk(r){return{left:0,right:r.innerWidth,top:0,bottom:r.innerHeight}}function fk(r,e,t,n,i,s,a,l){let p=r.ownerDocument,m=p.defaultView||window;for(let g=r,b=!1;g&&!b;)if(g.nodeType==1){let S,$=g==p.body,G=1,be=1;if($)S=pk(m);else{if(/^(fixed|sticky)$/.test(getComputedStyle(g).position)&&(b=!0),g.scrollHeight<=g.clientHeight&&g.scrollWidth<=g.clientWidth){g=g.assignedSlot||g.parentNode;continue}let Ve=g.getBoundingClientRect();G=Ve.width/g.offsetWidth,be=Ve.height/g.offsetHeight,S={left:Ve.left,right:Ve.left+g.clientWidth*G,top:Ve.top,bottom:Ve.top+g.clientHeight*be}}let ke=0,me=0;if(i=="nearest")e.top<S.top?(me=-(S.top-e.top+a),t>0&&e.bottom>S.bottom+me&&(me=e.bottom-S.bottom+me+a)):e.bottom>S.bottom&&(me=e.bottom-S.bottom+a,t<0&&e.top-me<S.top&&(me=-(S.top+me-e.top+a)));else{let Ve=e.bottom-e.top,Dt=S.bottom-S.top;me=(i=="center"&&Ve<=Dt?e.top+Ve/2-Dt/2:i=="start"||i=="center"&&t<0?e.top-a:e.bottom-Dt+a)-S.top}if(n=="nearest"?e.left<S.left?(ke=-(S.left-e.left+s),t>0&&e.right>S.right+ke&&(ke=e.right-S.right+ke+s)):e.right>S.right&&(ke=e.right-S.right+s,t<0&&e.left<S.left+ke&&(ke=-(S.left+ke-e.left+s))):ke=(n=="center"?e.left+(e.right-e.left)/2-(S.right-S.left)/2:n=="start"==l?e.left-s:e.right-(S.right-S.left)+s)-S.left,ke||me)if($)m.scrollBy(ke,me);else{let Ve=0,Dt=0;if(me){let ht=g.scrollTop;g.scrollTop+=me/be,Dt=(g.scrollTop-ht)*be}if(ke){let ht=g.scrollLeft;g.scrollLeft+=ke/G,Ve=(g.scrollLeft-ht)*G}e={left:e.left-Ve,top:e.top-Dt,right:e.right-Ve,bottom:e.bottom-Dt},Ve&&Math.abs(Ve-ke)<1&&(n="nearest"),Dt&&Math.abs(Dt-me)<1&&(i="nearest")}if($)break;g=g.assignedSlot||g.parentNode}else if(g.nodeType==11)g=g.host;else break}function dk(r){let e=r.ownerDocument;for(let t=r.parentNode;t&&t!=e.body;)if(t.nodeType==1){if(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)return t;t=t.assignedSlot||t.parentNode}else if(t.nodeType==11)t=t.host;else break;return null}class mk{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:n}=e;this.set(t,Math.min(e.anchorOffset,t?rh(t):0),n,Math.min(e.focusOffset,n?rh(n):0))}set(e,t,n,i){this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=i}}let Cp=null;function nS(r){if(r.setActive)return r.setActive();if(Cp)return r.focus(Cp);let e=[];for(let t=r;t&&(e.push(t,t.scrollTop,t.scrollLeft),t!=t.ownerDocument);t=t.parentNode);if(r.focus(Cp==null?{get preventScroll(){return Cp={preventScroll:!0},!0}}:void 0),!Cp){Cp=!1;for(let t=0;t<e.length;){let n=e[t++],i=e[t++],s=e[t++];n.scrollTop!=i&&(n.scrollTop=i),n.scrollLeft!=s&&(n.scrollLeft=s)}}}let V1;function qh(r,e,t=e){let n=V1||(V1=document.createRange());return n.setEnd(r,t),n.setStart(r,e),n}function Qp(r,e,t){let n={key:e,code:e,keyCode:t,which:t,cancelable:!0},i=new KeyboardEvent("keydown",n);i.synthetic=!0,r.dispatchEvent(i);let s=new KeyboardEvent("keyup",n);return s.synthetic=!0,r.dispatchEvent(s),i.defaultPrevented||s.defaultPrevented}function gk(r){for(;r;){if(r&&(r.nodeType==9||r.nodeType==11&&r.host))return r;r=r.assignedSlot||r.parentNode}return null}function iS(r){for(;r.attributes.length;)r.removeAttributeNode(r.attributes[0])}function yk(r,e){let t=e.focusNode,n=e.focusOffset;if(!t||e.anchorNode!=t||e.anchorOffset!=n)return!1;for(n=Math.min(n,rh(t));;)if(n){if(t.nodeType!=1)return!1;let i=t.childNodes[n-1];i.contentEditable=="false"?n--:(t=i,n=rh(t))}else{if(t==r)return!0;n=zm(t),t=t.parentNode}}function sS(r){return r.scrollTop>Math.max(1,r.scrollHeight-r.clientHeight-4)}class aa{constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}static before(e,t){return new aa(e.parentNode,zm(e),t)}static after(e,t){return new aa(e.parentNode,zm(e)+1,t)}}const eO=[];class Ws{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let n of this.children){if(n==e)return t;t+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(this.flags&2){let n=this.dom,i=null,s;for(let a of this.children){if(a.flags&7){if(!a.dom&&(s=i?i.nextSibling:n.firstChild)){let l=Ws.get(s);(!l||!l.parent&&l.canReuseDOM(a))&&a.reuseDOM(s)}a.sync(e,t),a.flags&=-8}if(s=i?i.nextSibling:n.firstChild,t&&!t.written&&t.node==n&&s!=a.dom&&(t.written=!0),a.dom.parentNode==n)for(;s&&s!=a.dom;)s=U1(s);else n.insertBefore(a.dom,s);i=a.dom}for(s=i?i.nextSibling:n.firstChild,s&&t&&t.node==n&&(t.written=!0);s;)s=U1(s)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,t),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let n;if(e==this.dom)n=this.dom.childNodes[t];else{let i=rh(e)==0?0:t==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;i==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?i=-1:i=1),e=s}i<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!Ws.get(n);)n=n.nextSibling;if(!n)return this.length;for(let i=0,s=0;;i++){let a=this.children[i];if(a.dom==n)return s;s+=a.length+a.breakAfter}}domBoundsAround(e,t,n=0){let i=-1,s=-1,a=-1,l=-1;for(let p=0,m=n,g=n;p<this.children.length;p++){let b=this.children[p],S=m+b.length;if(m<e&&S>t)return b.domBoundsAround(e,t,m);if(S>=e&&i==-1&&(i=p,s=m),m>t&&b.dom.parentNode==this.dom){a=p,l=g;break}g=S,m=S+b.breakAfter}return{from:s,to:l<0?n+this.length:l,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a<this.children.length&&a>=0?this.children[a].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),t.flags&1)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,n=eO){this.markDirty();for(let i=e;i<t;i++){let s=this.children[i];s.parent==this&&s.destroy()}this.children.splice(e,t-e,...n);for(let i=0;i<n.length;i++)n[i].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new oS(this.children,e,this.children.length)}childPos(e,t=1){return this.childCursor().findPos(e,t)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+(e=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,t,n,i,s,a){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!((this.flags|e.flags)&8)}getSide(){return 0}destroy(){this.parent=null}}Ws.prototype.breakAfter=0;function U1(r){let e=r.nextSibling;return r.parentNode.removeChild(r),e}class oS{constructor(e,t,n){this.children=e,this.pos=t,this.i=n,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function aS(r,e,t,n,i,s,a,l,p){let{children:m}=r,g=m.length?m[e]:null,b=s.length?s[s.length-1]:null,S=b?b.breakAfter:a;if(!(e==n&&g&&!a&&!S&&s.length<2&&g.merge(t,i,s.length?b:null,t==0,l,p))){if(n<m.length){let $=m[n];$&&i<$.length?(e==n&&($=$.split(i),i=0),!S&&b&&$.merge(0,i,b,!0,0,p)?s[s.length-1]=$:(i&&$.merge(0,i,null,!1,0,p),s.push($))):$!=null&&$.breakAfter&&(b?b.breakAfter=1:a=1),n++}for(g&&(g.breakAfter=a,t>0&&(!a&&s.length&&g.merge(t,g.length,s[0],!1,l,0)?g.breakAfter=s.shift().breakAfter:(t<g.length||g.children.length&&g.children[g.children.length-1].length==0)&&g.merge(t,g.length,null,!1,l,0),e++));e<n&&s.length;)if(m[n-1].become(s[s.length-1]))n--,s.pop(),p=s.length?0:l;else if(m[e].become(s[0]))e++,s.shift(),l=s.length?0:p;else break;!s.length&&e&&n<m.length&&!m[e-1].breakAfter&&m[n].merge(0,0,m[e-1],!1,l,p)&&e--,(e<n||s.length)&&r.replaceChildren(e,n,s)}}function uS(r,e,t,n,i,s){let a=r.childCursor(),{i:l,off:p}=a.findPos(t,1),{i:m,off:g}=a.findPos(e,-1),b=e-t;for(let S of n)b+=S.length;r.length+=b,aS(r,m,g,l,p,n,0,i,s)}let za=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},Ny=typeof document<"u"?document:{documentElement:{style:{}}};const Iy=/Edge\/(\d+)/.exec(za.userAgent),lS=/MSIE \d/.test(za.userAgent),My=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(za.userAgent),Lg=!!(lS||My||Iy),q1=!Lg&&/gecko\/(\d+)/i.test(za.userAgent),A0=!Lg&&/Chrome\/(\d+)/.exec(za.userAgent),z1="webkitFontSmoothing"in Ny.documentElement.style,cS=!Lg&&/Apple Computer/.test(za.vendor),W1=cS&&(/Mobile\/\w+/.test(za.userAgent)||za.maxTouchPoints>2);var oi={mac:W1||/Mac/.test(za.platform),windows:/Win/.test(za.platform),linux:/Linux|X11/.test(za.platform),ie:Lg,ie_version:lS?Ny.documentMode||6:My?+My[1]:Iy?+Iy[1]:0,gecko:q1,gecko_version:q1?+(/Firefox\/(\d+)/.exec(za.userAgent)||[0,0])[1]:0,chrome:!!A0,chrome_version:A0?+A0[1]:0,ios:W1,android:/Android\b/.test(za.userAgent),webkit:z1,safari:cS,webkit_version:z1?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:Ny.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const Dk=256;class nc extends Ws{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,t,n){return this.flags&8||n&&(!(n instanceof nc)||this.length-(t-e)+n.length>Dk||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),this.markDirty(),!0)}split(e){let t=new nc(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),t.flags|=this.flags&8,t}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new aa(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return Ok(this.dom,e,t)}}class ic extends Ws{constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n;for(let i of t)i.setParent(this)}setAttrs(e){if(iS(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(e,t,n,i,s,a){return n&&(!(n instanceof ic&&n.mark.eq(this.mark))||e&&s<=0||t<this.length&&a<=0)?!1:(uS(this,e,t,n?n.children:[],s-1,a-1),this.markDirty(),!0)}split(e){let t=[],n=0,i=-1,s=0;for(let l of this.children){let p=n+l.length;p>e&&t.push(n<e?l.split(e-n):l),i<0&&n>=e&&(i=s),n=p,s++}let a=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new ic(this.mark,t,a)}domAtPos(e){return hS(this,e)}coordsAt(e,t){return fS(this,e,t)}}function Ok(r,e,t){let n=r.nodeValue.length;e>n&&(e=n);let i=e,s=e,a=0;e==0&&t<0||e==n&&t>=0?oi.chrome||oi.gecko||(e?(i--,a=1):s<n&&(s++,a=-1)):t<0?i--:s<n&&s++;let l=qh(r,i,s).getClientRects();if(!l.length)return null;let p=l[(a?a<0:t>=0)?0:l.length-1];return oi.safari&&!a&&p.width==0&&(p=Array.prototype.find.call(l,m=>m.width)||p),a?KD(p,a<0):p||null}class Vc extends Ws{static create(e,t,n){return new Vc(e,t,n)}constructor(e,t,n){super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(e){let t=Vc.create(this.widget,this.length-e,this.side);return this.length-=e,t}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}getSide(){return this.side}merge(e,t,n,i,s,a){return n&&(!(n instanceof Vc)||!this.widget.compare(n.widget)||e>0&&s<=0||t<this.length&&a<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-t),!0)}become(e){return e instanceof Vc&&e.side==this.side&&this.widget.constructor==e.widget.constructor?(this.widget.compare(e.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(this.length==0)return Ds.empty;let e=this;for(;e.parent;)e=e.parent;let{view:t}=e,n=t&&t.state.doc,i=this.posAtStart;return n?n.slice(i,i+this.length):Ds.empty}domAtPos(e){return(this.length?e==0:this.side>0)?aa.before(this.dom):aa.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let n=this.widget.coordsAt(this.dom,e,t);if(n)return n;let i=this.dom.getClientRects(),s=null;if(!i.length)return null;let a=this.side?this.side<0:e>0;for(let l=a?i.length-1:0;s=i[l],!(e>0?l==0:l==i.length-1||s.top<s.bottom);l+=a?-1:1);return KD(s,!a)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class Zp extends Ws{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(e){return e instanceof Zp&&e.side==this.side}split(){return new Zp(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?aa.before(this.dom):aa.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Ds.empty}get isHidden(){return!0}}nc.prototype.children=Vc.prototype.children=Zp.prototype.children=eO;function hS(r,e){let t=r.dom,{children:n}=r,i=0;for(let s=0;i<n.length;i++){let a=n[i],l=s+a.length;if(!(l==s&&a.getSide()<=0)){if(e>s&&e<l&&a.dom.parentNode==t)return a.domAtPos(e-s);if(e<=s)break;s=l}}for(let s=i;s>0;s--){let a=n[s-1];if(a.dom.parentNode==t)return a.domAtPos(a.length)}for(let s=i;s<n.length;s++){let a=n[s];if(a.dom.parentNode==t)return a.domAtPos(0)}return new aa(t,0)}function pS(r,e,t){let n,{children:i}=r;t>0&&e instanceof ic&&i.length&&(n=i[i.length-1])instanceof ic&&n.mark.eq(e.mark)?pS(n,e.children[0],t-1):(i.push(e),e.setParent(r)),r.length+=e.length}function fS(r,e,t){let n=null,i=-1,s=null,a=-1;function l(m,g){for(let b=0,S=0;b<m.children.length&&S<=g;b++){let $=m.children[b],G=S+$.length;G>=g&&($.children.length?l($,g-S):(!s||s.isHidden&&t>0)&&(G>g||S==G&&$.getSide()>0)?(s=$,a=g-S):(S<g||S==G&&$.getSide()<0&&!$.isHidden)&&(n=$,i=g-S)),S=G}}l(r,e);let p=(t<0?n:s)||n||s;return p?p.coordsAt(Math.max(0,p==n?i:a),t):xk(r)}function xk(r){let e=r.dom.lastChild;if(!e)return r.dom.getBoundingClientRect();let t=Kf(e);return t[t.length-1]||null}function Ry(r,e){for(let t in r)t=="class"&&e.class?e.class+=" "+r.class:t=="style"&&e.style?e.style+=";"+r.style:e[t]=r[t];return e}const Z1=Object.create(null);function tO(r,e,t){if(r==e)return!0;r||(r=Z1),e||(e=Z1);let n=Object.keys(r),i=Object.keys(e);if(n.length-(t&&n.indexOf(t)>-1?1:0)!=i.length-(t&&i.indexOf(t)>-1?1:0))return!1;for(let s of n)if(s!=t&&(i.indexOf(s)==-1||r[s]!==e[s]))return!1;return!0}function Qy(r,e,t){let n=!1;if(e)for(let i in e)t&&i in t||(n=!0,i=="style"?r.style.cssText="":r.removeAttribute(i));if(t)for(let i in t)e&&e[i]==t[i]||(n=!0,i=="style"?r.style.cssText=t[i]:r.setAttribute(i,t[i]));return n}function bk(r){let e=Object.create(null);for(let t=0;t<r.attributes.length;t++){let n=r.attributes[t];e[n.name]=n.value}return e}class wo extends Ws{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,i,s,a){if(n){if(!(n instanceof wo))return!1;this.dom||n.transferDOM(this)}return i&&this.setDeco(n?n.attrs:null),uS(this,e,t,n?n.children:[],s,a),!0}split(e){let t=new wo;if(t.breakAfter=this.breakAfter,this.length==0)return t;let{i:n,off:i}=this.childPos(e);i&&(t.append(this.children[n].split(i),0),this.children[n].merge(i,this.children[n].length,null,!1,0,0),n++);for(let s=n;s<this.children.length;s++)t.append(this.children[s],0);for(;n>0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,t}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){tO(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){pS(this,e,t)}addLineDeco(e){let t=e.spec.attributes,n=e.spec.class;t&&(this.attrs=Ry(t,this.attrs||{})),n&&(this.attrs=Ry({class:n},this.attrs||{}))}domAtPos(e){return hS(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n;this.dom?this.flags&4&&(iS(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(Qy(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let i=this.dom.lastChild;for(;i&&Ws.get(i)instanceof ic;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((n=Ws.get(i))===null||n===void 0?void 0:n.isEditable)==!1&&(!oi.ios||!this.children.some(s=>s instanceof nc))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,t;for(let n of this.children){if(!(n instanceof nc)||/[^ -~]/.test(n.text))return null;let i=Kf(n.dom);if(i.length!=1)return null;e+=i[0].width,t=i[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:t}:null}coordsAt(e,t){let n=fS(this,e,t);if(!this.children.length&&n&&this.parent){let{heightOracle:i}=this.parent.view.viewState,s=n.bottom-n.top;if(Math.abs(s-i.lineHeight)<2&&i.textHeight<s){let a=(s-i.textHeight)/2;return{top:n.top+a,bottom:n.bottom-a,left:n.left,right:n.left}}}return n}become(e){return!1}covers(){return!0}static find(e,t){for(let n=0,i=0;n<e.children.length;n++){let s=e.children[n],a=i+s.length;if(a>=t){if(s instanceof wo)return s;if(a>t)break}i=a+s.breakAfter}return null}}class jh extends Ws{constructor(e,t,n){super(),this.widget=e,this.length=t,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,t,n,i,s,a){return n&&(!(n instanceof jh)||!this.widget.compare(n.widget)||e>0&&s<=0||t<this.length&&a<=0)?!1:(this.length=e+(n?n.length:0)+(this.length-t),!0)}domAtPos(e){return e==0?aa.before(this.dom):aa.after(this.dom,e==this.length)}split(e){let t=this.length-e;this.length=e;let n=new jh(this.widget,t,this.deco);return n.breakAfter=this.breakAfter,n}get children(){return eO}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.dom.contentEditable="false")}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):Ds.empty}domBoundsAround(){return null}become(e){return e instanceof jh&&e.widget.constructor==this.widget.constructor?(e.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=e.widget,this.length=e.length,this.deco=e.deco,this.breakAfter=e.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,t){return this.widget.coordsAt(this.dom,e,t)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:t,endSide:n}=this.deco;return t==n?!1:e<0?t<0:n>0}}class oh{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,n){return null}get isHidden(){return!1}destroy(e){}}var da=function(r){return r[r.Text=0]="Text",r[r.WidgetBefore=1]="WidgetBefore",r[r.WidgetAfter=2]="WidgetAfter",r[r.WidgetRange=3]="WidgetRange",r}(da||(da={}));class _i extends Uh{constructor(e,t,n,i){super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=i}get heightRelevant(){return!1}static mark(e){return new bd(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new nh(e,t,t,n,e.widget||null,!1)}static replace(e){let t=!!e.block,n,i;if(e.isBlockGap)n=-5e8,i=4e8;else{let{start:s,end:a}=dS(e,t);n=(s?t?-3e8:-1:5e8)-1,i=(a?t?2e8:1:-6e8)+1}return new nh(e,n,i,t,e.widget||null,!0)}static line(e){return new vd(e)}static set(e,t=!1){return Ss.of(e,t)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}_i.none=Ss.empty;class bd extends _i{constructor(e){let{start:t,end:n}=dS(e);super(t?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var t,n;return this==e||e instanceof bd&&this.tagName==e.tagName&&(this.class||((t=this.attrs)===null||t===void 0?void 0:t.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&tO(this.attrs,e.attrs,"class")}range(e,t=e){if(e>=t)throw new RangeError("Mark decorations may not be empty");return super.range(e,t)}}bd.prototype.point=!1;class vd extends _i{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof vd&&this.spec.class==e.spec.class&&tO(this.spec.attributes,e.spec.attributes)}range(e,t=e){if(t!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}}vd.prototype.mapMode=zo.TrackBefore;vd.prototype.point=!0;class nh extends _i{constructor(e,t,n,i,s,a){super(t,n,s,e),this.block=i,this.isReplace=a,this.mapMode=i?t<=0?zo.TrackBefore:zo.TrackAfter:zo.TrackDel}get type(){return this.startSide!=this.endSide?da.WidgetRange:this.startSide<=0?da.WidgetBefore:da.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof nh&&vk(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}}nh.prototype.point=!0;function dS(r,e=!1){let{inclusiveStart:t,inclusiveEnd:n}=r;return t==null&&(t=r.inclusive),n==null&&(n=r.inclusive),{start:t??e,end:n??e}}function vk(r,e){return r==e||!!(r&&e&&r.compare(e))}function jy(r,e,t,n=0){let i=t.length-1;i>=0&&t[i]+n>=r?t[i]=Math.max(t[i],e):t.push(r,e)}class If{constructor(e,t,n,i){this.doc=e,this.pos=t,this.end=n,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof jh&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new wo),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(zd(new Zp(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!e&&!this.posCovered()&&this.getLine()}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:a,done:l}=this.cursor.next(this.skip);if(this.skip=0,l)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-n)),this.getLine().append(zd(new nc(this.text.slice(this.textOff,this.textOff+i)),t),n),this.atCursorPos=!0,this.textOff+=i,e-=i,n=0}}span(e,t,n,i){this.buildText(t-e,n,i),this.pos=t,this.openStart<0&&(this.openStart=i)}point(e,t,n,i,s,a){if(this.disallowBlockEffectsFor[a]&&n instanceof nh){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let l=t-e;if(n instanceof nh)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new jh(n.widget||new Y1("div"),l,n));else{let p=Vc.create(n.widget||new Y1("span"),l,l?0:n.startSide),m=this.atCursorPos&&!p.isEditable&&s<=i.length&&(e<t||n.startSide>0),g=!p.isEditable&&(e<t||s>i.length||n.startSide<=0),b=this.getLine();this.pendingBuffer==2&&!m&&!p.isEditable&&(this.pendingBuffer=0),this.flushBuffer(i),m&&(b.append(zd(new Zp(1),i),s),s=i.length+Math.max(0,s-i.length)),b.append(zd(p,i),s),this.atCursorPos=g,this.pendingBuffer=g?e<t||s>i.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);l&&(this.textOff+l<=this.text.length?this.textOff+=l:(this.skip+=l-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=s)}static build(e,t,n,i,s){let a=new If(e,t,n,s);return a.openEnd=Ss.spans(i,t,n,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}function zd(r,e){for(let t of e)r=new ic(t,[r],r.length);return r}class Y1 extends oh{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}const mS=qn.define(),gS=qn.define(),yS=qn.define(),DS=qn.define(),Ly=qn.define(),OS=qn.define(),xS=qn.define(),bS=qn.define({combine:r=>r.some(e=>e)}),vS=qn.define({combine:r=>r.some(e=>e)});class Wm{constructor(e,t="nearest",n="nearest",i=5,s=5){this.range=e,this.y=t,this.x=n,this.yMargin=i,this.xMargin=s}map(e){return e.empty?this:new Wm(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin)}}const G1=Qi.define({map:(r,e)=>r.map(e)});function wu(r,e,t){let n=r.facet(DS);n.length?n[0](e):window.onerror?window.onerror(String(e),t,void 0,void 0,e):t?console.error(t+":",e):console.error(e)}const Xg=qn.define({combine:r=>r.length?r[0]:!0});let Ck=0;const Ef=qn.define();class bo{constructor(e,t,n,i,s){this.id=e,this.create=t,this.domEventHandlers=n,this.domEventObservers=i,this.extension=s(this)}static define(e,t){const{eventHandlers:n,eventObservers:i,provide:s,decorations:a}=t||{};return new bo(Ck++,e,n,i,l=>{let p=[Ef.of(l)];return a&&p.push(ed.of(m=>{let g=m.plugin(l);return g?a(g):_i.none})),s&&p.push(s(l)),p})}static fromClass(e,t){return bo.define(n=>new e(n),t)}}class T0{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let t=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(t)}catch(n){if(wu(t.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){wu(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var t;if(!((t=this.value)===null||t===void 0)&&t.destroy)try{this.value.destroy()}catch(n){wu(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const CS=qn.define(),rO=qn.define(),ed=qn.define(),nO=qn.define(),SS=qn.define();function H1(r,e,t){let n=r.state.facet(SS);if(!n.length)return n;let i=n.map(a=>a instanceof Function?a(r):a),s=[];return Ss.spans(i,e,t,{point(){},span(a,l,p,m){let g=s;for(let b=p.length-1;b>=0;b--,m--){let S=p[b].spec.bidiIsolate,$;if(S!=null)if(m>0&&g.length&&($=g[g.length-1]).to==a&&$.direction==S)$.to=l,g=$.inner;else{let G={from:a,to:l,direction:S,inner:[]};g.push(G),g=G.inner}}}}),s}const ES=qn.define();function wS(r){let e=0,t=0,n=0,i=0;for(let s of r.state.facet(ES)){let a=s(r);a&&(a.left!=null&&(e=Math.max(e,a.left)),a.right!=null&&(t=Math.max(t,a.right)),a.top!=null&&(n=Math.max(n,a.top)),a.bottom!=null&&(i=Math.max(i,a.bottom)))}return{left:e,right:t,top:n,bottom:i}}const wf=qn.define();class tu{constructor(e,t,n,i){this.fromA=e,this.toA=t,this.fromB=n,this.toB=i}join(e){return new tu(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let t=e.length,n=this;for(;t>0;t--){let i=e[t-1];if(!(i.fromA>n.toA)){if(i.toA<n.fromA)break;n=n.join(i),e.splice(t-1,1)}}return e.splice(t,0,n),e}static extendWithRanges(e,t){if(t.length==0)return e;let n=[];for(let i=0,s=0,a=0,l=0;;i++){let p=i==e.length?null:e[i],m=a-l,g=p?p.fromB:1e9;for(;s<t.length&&t[s]<g;){let b=t[s],S=t[s+1],$=Math.max(l,b),G=Math.min(g,S);if($<=G&&new tu($+m,G+m,$,G).addToSet(n),S>g)break;s+=2}if(!p)return n;new tu(p.fromA,p.toA,p.fromB,p.toB).addToSet(n),a=p.toA,l=p.toB}}}class Zm{constructor(e,t,n){this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Ao.empty(this.startState.doc.length);for(let s of n)this.changes=this.changes.compose(s.changes);let i=[];this.changes.iterChangedRanges((s,a,l,p)=>i.push(new tu(s,a,l,p))),this.changedRanges=i}static create(e,t,n){return new Zm(e,t,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}var no=function(r){return r[r.LTR=0]="LTR",r[r.RTL=1]="RTL",r}(no||(no={}));const td=no.LTR,AS=no.RTL;function TS(r){let e=[];for(let t=0;t<r.length;t++)e.push(1<<+r[t]);return e}const Sk=TS("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),Ek=TS("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Xy=Object.create(null),rl=[];for(let r of["()","[]","{}"]){let e=r.charCodeAt(0),t=r.charCodeAt(1);Xy[e]=t,Xy[t]=-e}function wk(r){return r<=247?Sk[r]:1424<=r&&r<=1524?2:1536<=r&&r<=1785?Ek[r-1536]:1774<=r&&r<=2220?4:8192<=r&&r<=8203?256:64336<=r&&r<=65023?4:r==8204?256:1}const Ak=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class Uc{get dir(){return this.level%2?AS:td}constructor(e,t,n){this.from=e,this.to=t,this.level=n}side(e,t){return this.dir==t==e?this.to:this.from}static find(e,t,n,i){let s=-1;for(let a=0;a<e.length;a++){let l=e[a];if(l.from<=t&&l.to>=t){if(l.level==n)return a;(s<0||(i!=0?i<0?l.from<t:l.to>t:e[s].level>l.level))&&(s=a)}}if(s<0)throw new RangeError("Index out of range");return s}}function PS(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++){let n=r[t],i=e[t];if(n.from!=i.from||n.to!=i.to||n.direction!=i.direction||!PS(n.inner,i.inner))return!1}return!0}const Bs=[];function Tk(r,e,t,n,i){for(let s=0;s<=n.length;s++){let a=s?n[s-1].to:e,l=s<n.length?n[s].from:t,p=s?256:i;for(let m=a,g=p,b=p;m<l;m++){let S=wk(r.charCodeAt(m));S==512?S=g:S==8&&b==4&&(S=16),Bs[m]=S==4?2:S,S&7&&(b=S),g=S}for(let m=a,g=p,b=p;m<l;m++){let S=Bs[m];if(S==128)m<l-1&&g==Bs[m+1]&&g&24?S=Bs[m]=g:Bs[m]=256;else if(S==64){let $=m+1;for(;$<l&&Bs[$]==64;)$++;let G=m&&g==8||$<t&&Bs[$]==8?b==1?1:8:256;for(let be=m;be<$;be++)Bs[be]=G;m=$-1}else S==8&&b==1&&(Bs[m]=1);g=S,S&7&&(b=S)}}}function Pk(r,e,t,n,i){let s=i==1?2:1;for(let a=0,l=0,p=0;a<=n.length;a++){let m=a?n[a-1].to:e,g=a<n.length?n[a].from:t;for(let b=m,S,$,G;b<g;b++)if($=Xy[S=r.charCodeAt(b)])if($<0){for(let be=l-3;be>=0;be-=3)if(rl[be+1]==-$){let ke=rl[be+2],me=ke&2?i:ke&4?ke&1?s:i:0;me&&(Bs[b]=Bs[rl[be]]=me),l=be;break}}else{if(rl.length==189)break;rl[l++]=b,rl[l++]=S,rl[l++]=p}else if((G=Bs[b])==2||G==1){let be=G==i;p=be?0:1;for(let ke=l-3;ke>=0;ke-=3){let me=rl[ke+2];if(me&2)break;if(be)rl[ke+2]|=2;else{if(me&4)break;rl[ke+2]|=4}}}}}function kk(r,e,t,n){for(let i=0,s=n;i<=t.length;i++){let a=i?t[i-1].to:r,l=i<t.length?t[i].from:e;for(let p=a;p<l;){let m=Bs[p];if(m==256){let g=p+1;for(;;)if(g==l){if(i==t.length)break;g=t[i++].to,l=i<t.length?t[i].from:e}else if(Bs[g]==256)g++;else break;let b=s==1,S=(g<e?Bs[g]:n)==1,$=b==S?b?1:2:n;for(let G=g,be=i,ke=be?t[be-1].to:r;G>p;)G==ke&&(G=t[--be].from,ke=be?t[be-1].to:r),Bs[--G]=$;p=g}else s=m,p++}}}function Vy(r,e,t,n,i,s,a){let l=n%2?2:1;if(n%2==i%2)for(let p=e,m=0;p<t;){let g=!0,b=!1;if(m==s.length||p<s[m].from){let be=Bs[p];be!=l&&(g=!1,b=be==16)}let S=!g&&l==1?[]:null,$=g?n:n+1,G=p;e:for(;;)if(m<s.length&&G==s[m].from){if(b)break e;let be=s[m];if(!g)for(let ke=be.to,me=m+1;;){if(ke==t)break e;if(me<s.length&&s[me].from==ke)ke=s[me++].to;else{if(Bs[ke]==l)break e;break}}if(m++,S)S.push(be);else{be.from>p&&a.push(new Uc(p,be.from,$));let ke=be.direction==td!=!($%2);Uy(r,ke?n+1:n,i,be.inner,be.from,be.to,a),p=be.to}G=be.to}else{if(G==t||(g?Bs[G]!=l:Bs[G]==l))break;G++}S?Vy(r,p,G,n+1,i,S,a):p<G&&a.push(new Uc(p,G,$)),p=G}else for(let p=t,m=s.length;p>e;){let g=!0,b=!1;if(!m||p>s[m-1].to){let be=Bs[p-1];be!=l&&(g=!1,b=be==16)}let S=!g&&l==1?[]:null,$=g?n:n+1,G=p;e:for(;;)if(m&&G==s[m-1].to){if(b)break e;let be=s[--m];if(!g)for(let ke=be.from,me=m;;){if(ke==e)break e;if(me&&s[me-1].to==ke)ke=s[--me].from;else{if(Bs[ke-1]==l)break e;break}}if(S)S.push(be);else{be.to<p&&a.push(new Uc(be.to,p,$));let ke=be.direction==td!=!($%2);Uy(r,ke?n+1:n,i,be.inner,be.from,be.to,a),p=be.from}G=be.from}else{if(G==e||(g?Bs[G-1]!=l:Bs[G-1]==l))break;G--}S?Vy(r,G,p,n+1,i,S,a):G<p&&a.push(new Uc(G,p,$)),p=G}}function Uy(r,e,t,n,i,s,a){let l=e%2?2:1;Tk(r,i,s,n,l),Pk(r,i,s,n,l),kk(i,s,n,l),Vy(r,i,s,e,t,n,a)}function Fk(r,e,t){if(!r)return[new Uc(0,0,e==AS?1:0)];if(e==td&&!t.length&&!Ak.test(r))return kS(r.length);if(t.length)for(;r.length>Bs.length;)Bs[Bs.length]=256;let n=[],i=e==td?0:1;return Uy(r,i,i,t,0,r.length,n),n}function kS(r){return[new Uc(0,r,0)]}let FS="";function _k(r,e,t,n,i){var s;let a=n.head-r.from,l=-1;if(a==0){if(!i||!r.length)return null;e[0].level!=t&&(a=e[0].side(!1,t),l=0)}else if(a==r.length){if(i)return null;let S=e[e.length-1];S.level!=t&&(a=S.side(!0,t),l=e.length-1)}l<0&&(l=Uc.find(e,a,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc));let p=e[l];a==p.side(i,t)&&(p=e[l+=i?1:-1],a=p.side(!i,t));let m=i==(p.dir==t),g=ua(r.text,a,m);if(FS=r.text.slice(Math.min(a,g),Math.max(a,g)),g!=p.side(i,t))return Pr.cursor(g+r.from,m?-1:1,p.level);let b=l==(i?e.length-1:0)?null:e[l+(i?1:-1)];return!b&&p.level!=t?Pr.cursor(i?r.to:r.from,i?-1:1,t):b&&b.level<p.level?Pr.cursor(b.side(!i,t)+r.from,i?1:-1,b.level):Pr.cursor(g+r.from,i?-1:1,p.level)}class J1 extends Ws{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new wo],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new tu(0,0,0,e.state.doc.length)],0,null)}update(e){var t;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:m,toA:g})=>g<this.minWidthFrom||m>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let i=-1;this.view.inputState.composing>=0&&(!((t=this.domChanged)===null||t===void 0)&&t.newSel?i=this.domChanged.newSel.head:!Qk(e.changes,this.hasComposition)&&!e.selectionSet&&(i=e.state.selection.main.head));let s=i>-1?Bk(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:m,to:g}=this.hasComposition;n=new tu(m,g,e.changes.mapPos(m,-1),e.changes.mapPos(g,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(oi.ie||oi.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,l=this.updateDeco(),p=Mk(a,l,e.changes);return n=tu.extendWithRanges(n,p),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let a=oi.chrome||oi.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,a),this.flags&=-8,a&&(a.written||i.selectionRange.focusNode!=a.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(a=>a.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let a of this.children)a instanceof jh&&a.widget instanceof K1&&s.push(a.dom);i.updateGaps(s)}updateChildren(e,t,n){let i=n?n.range.addToSet(e.slice()):e,s=this.childCursor(t);for(let a=i.length-1;;a--){let l=a>=0?i[a]:null;if(!l)break;let{fromA:p,toA:m,fromB:g,toB:b}=l,S,$,G,be;if(n&&n.range.fromB<b&&n.range.toB>g){let ht=If.build(this.view.state.doc,g,n.range.fromB,this.decorations,this.dynamicDecorationMap),bt=If.build(this.view.state.doc,n.range.toB,b,this.decorations,this.dynamicDecorationMap);$=ht.breakAtStart,G=ht.openStart,be=bt.openEnd;let Yt=this.compositionView(n);bt.breakAtStart?Yt.breakAfter=1:bt.content.length&&Yt.merge(Yt.length,Yt.length,bt.content[0],!1,bt.openStart,0)&&(Yt.breakAfter=bt.content[0].breakAfter,bt.content.shift()),ht.content.length&&Yt.merge(0,0,ht.content[ht.content.length-1],!0,0,ht.openEnd)&&ht.content.pop(),S=ht.content.concat(Yt).concat(bt.content)}else({content:S,breakAtStart:$,openStart:G,openEnd:be}=If.build(this.view.state.doc,g,b,this.decorations,this.dynamicDecorationMap));let{i:ke,off:me}=s.findPos(m,1),{i:Ve,off:Dt}=s.findPos(p,-1);aS(this,Ve,Dt,ke,me,S,$,G,be)}n&&this.fixCompositionDOM(n)}compositionView(e){let t=new nc(e.text.nodeValue);t.flags|=8;for(let{deco:i}of e.marks)t=new ic(i,[t],t.length);let n=new wo;return n.append(t,0),n}fixCompositionDOM(e){let t=(s,a)=>{a.flags|=8|(a.children.some(p=>p.flags&7)?1:0),this.markedForComposition.add(a);let l=Ws.get(s);l&&l!=a&&(l.dom=null),a.setDOM(s)},n=this.childPos(e.range.fromB,1),i=this.children[n.i];t(e.line,i);for(let s=e.marks.length-1;s>=-1;s--)n=i.childPos(n.off,1),i=i.children[n.i],t(s>=0?e.marks[s].node:e.text,i)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,i=n==this.dom,s=!i&&bm(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(i||t||s))return;let a=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,p=this.moveToLine(this.domAtPos(l.anchor)),m=l.empty?p:this.moveToLine(this.domAtPos(l.head));if(oi.gecko&&l.empty&&!this.hasComposition&&$k(p)){let b=document.createTextNode("");this.view.observer.ignore(()=>p.node.insertBefore(b,p.node.childNodes[p.offset]||null)),p=m=new aa(b,0),a=!0}let g=this.view.observer.selectionRange;(a||!g.focusNode||!qm(p.node,p.offset,g.anchorNode,g.anchorOffset)||!qm(m.node,m.offset,g.focusNode,g.focusOffset))&&(this.view.observer.ignore(()=>{oi.android&&oi.chrome&&this.dom.contains(g.focusNode)&&Rk(g.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let b=Um(this.view.root);if(b)if(l.empty){if(oi.gecko){let S=Nk(p.node,p.offset);if(S&&S!=3){let $=$S(p.node,p.offset,S==1?1:-1);$&&(p=new aa($.node,$.offset))}}b.collapse(p.node,p.offset),l.bidiLevel!=null&&b.caretBidiLevel!==void 0&&(b.caretBidiLevel=l.bidiLevel)}else if(b.extend){b.collapse(p.node,p.offset);try{b.extend(m.node,m.offset)}catch{}}else{let S=document.createRange();l.anchor>l.head&&([p,m]=[m,p]),S.setEnd(m.node,m.offset),S.setStart(p.node,p.offset),b.removeAllRanges(),b.addRange(S)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(p,m)),this.impreciseAnchor=p.precise?null:new aa(g.anchorNode,g.anchorOffset),this.impreciseHead=m.precise?null:new aa(g.focusNode,g.focusOffset)}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,n=Um(e.root),{anchorNode:i,anchorOffset:s}=e.observer.selectionRange;if(!n||!t.empty||!t.assoc||!n.modify)return;let a=wo.find(this,t.head);if(!a)return;let l=a.posAtStart;if(t.head==l||t.head==l+a.length)return;let p=this.coordsAt(t.head,-1),m=this.coordsAt(t.head,1);if(!p||!m||p.bottom>m.top)return;let g=this.domAtPos(t.head+t.assoc);n.collapse(g.node,g.offset),n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let b=e.observer.selectionRange;e.docView.posFromDOM(b.anchorNode,b.anchorOffset)!=t.from&&n.collapse(i,s)}moveToLine(e){let t=this.dom,n;if(e.node!=t)return e;for(let i=e.offset;!n&&i<t.childNodes.length;i++){let s=Ws.get(t.childNodes[i]);s instanceof wo&&(n=s.domAtPos(0))}for(let i=e.offset-1;!n&&i>=0;i--){let s=Ws.get(t.childNodes[i]);s instanceof wo&&(n=s.domAtPos(s.length))}return n?new aa(n.node,n.offset,!0):e}nearest(e){for(let t=e;t;){let n=Ws.get(t);if(n&&n.rootView==this)return n;t=t.parentNode}return null}posFromDOM(e,t){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let i=this.children[t];if(n<i.length||i instanceof wo)break;t++,n=0}return this.children[t].domAtPos(n)}coordsAt(e,t){let n=null,i=0;for(let s=this.length,a=this.children.length-1;a>=0;a--){let l=this.children[a],p=s-l.breakAfter,m=p-l.length;if(p<e)break;m<=e&&(m<e||l.covers(-1))&&(p>e||l.covers(1))&&(!n||l instanceof wo&&!(n instanceof wo&&t>=0))&&(n=l,i=m),s=m}return n?n.coordsAt(e-i,t):null}coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),i=this.children[t];if(!(i instanceof wo))return null;for(;i.children.length;){let{i:l,off:p}=i.childPos(n,1);for(;;l++){if(l==i.children.length)return null;if((i=i.children[l]).length)break}n=p}if(!(i instanceof nc))return null;let s=ua(i.text,n);if(s==n)return null;let a=qh(i.dom,n,s).getClientRects();return!a.length||a[0].top>=a[0].bottom?null:a[0]}measureVisibleLineHeights(e){let t=[],{from:n,to:i}=e,s=this.view.contentDOM.clientWidth,a=s>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,p=this.view.textDirection==no.LTR;for(let m=0,g=0;g<this.children.length;g++){let b=this.children[g],S=m+b.length;if(S>i)break;if(m>=n){let $=b.dom.getBoundingClientRect();if(t.push($.height),a){let G=b.dom.lastChild,be=G?Kf(G):[];if(be.length){let ke=be[be.length-1],me=p?ke.right-$.left:$.right-ke.left;me>l&&(l=me,this.minWidth=s,this.minWidthFrom=m,this.minWidthTo=S)}}}m=S+b.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return getComputedStyle(this.children[t].dom).direction=="rtl"?no.RTL:no.LTR}measureTextSize(){for(let s of this.children)if(s instanceof wo){let a=s.measureTextSize();if(a)return a}let e=document.createElement("div"),t,n,i;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=Kf(e.firstChild)[0];t=e.getBoundingClientRect().height,n=s?s.width/27:7,i=s?s.height:t,e.remove()}),{lineHeight:t,charWidth:n,textHeight:i}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new oS(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,i=0;;i++){let s=i==t.viewports.length?null:t.viewports[i],a=s?s.from-1:this.length;if(a>n){let l=(t.lineBlockAt(a).bottom-t.lineBlockAt(n).top)/this.view.scaleY;e.push(_i.replace({widget:new K1(l),block:!0,inclusive:!0,isBlockGap:!0}).range(n,a))}if(!s)break;n=s.to+1}return _i.set(e)}updateDeco(){let e=this.view.state.facet(ed).map((t,n)=>(this.dynamicDecorationMap[n]=typeof t=="function")?t(this.view):t);for(let t=e.length;t<e.length+3;t++)this.dynamicDecorationMap[t]=!1;return this.decorations=[...e,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco]}scrollIntoView(e){let{range:t}=e,n=this.coordsAt(t.head,t.empty?t.assoc:t.head>t.anchor?-1:1),i;if(!n)return;!t.empty&&(i=this.coordsAt(t.anchor,t.anchor>t.head?-1:1))&&(n={left:Math.min(n.left,i.left),top:Math.min(n.top,i.top),right:Math.max(n.right,i.right),bottom:Math.max(n.bottom,i.bottom)});let s=wS(this.view),a={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom};fk(this.view.scrollDOM,a,t.head<t.anchor?-1:1,e.x,e.y,e.xMargin,e.yMargin,this.view.textDirection==no.LTR)}}function $k(r){return r.node.nodeType==1&&r.node.firstChild&&(r.offset==0||r.node.childNodes[r.offset-1].contentEditable=="false")&&(r.offset==r.node.childNodes.length||r.node.childNodes[r.offset].contentEditable=="false")}class K1 extends oh{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get estimatedHeight(){return this.height}}function _S(r,e){let t=r.observer.selectionRange,n=t.focusNode&&$S(t.focusNode,t.focusOffset,0);if(!n)return null;let i=e-n.offset;return{from:i,to:i+n.node.nodeValue.length,node:n.node}}function Bk(r,e,t){let n=_S(r,t);if(!n)return null;let{node:i,from:s,to:a}=n,l=i.nodeValue;if(/[\n\r]/.test(l)||r.state.doc.sliceString(n.from,n.to)!=l)return null;let p=e.invertedDesc,m=new tu(p.mapPos(s),p.mapPos(a),s,a),g=[];for(let b=i.parentNode;;b=b.parentNode){let S=Ws.get(b);if(S instanceof ic)g.push({node:b,deco:S.mark});else{if(S instanceof wo||b.nodeName=="DIV"&&b.parentNode==r.contentDOM)return{range:m,text:i,marks:g,line:b};if(b!=r.contentDOM)g.push({node:b,deco:new bd({inclusive:!0,attributes:bk(b),tagName:b.tagName.toLowerCase()})});else return null}}}function $S(r,e,t){if(t<=0)for(let n=r,i=e;;){if(n.nodeType==3)return{node:n,offset:i};if(n.nodeType==1&&i>0)n=n.childNodes[i-1],i=rh(n);else break}if(t>=0)for(let n=r,i=e;;){if(n.nodeType==3)return{node:n,offset:i};if(n.nodeType==1&&i<n.childNodes.length&&t>=0)n=n.childNodes[i],i=0;else break}return null}function Nk(r,e){return r.nodeType!=1?0:(e&&r.childNodes[e-1].contentEditable=="false"?1:0)|(e<r.childNodes.length&&r.childNodes[e].contentEditable=="false"?2:0)}let Ik=class{constructor(){this.changes=[]}compareRange(e,t){jy(e,t,this.changes)}comparePoint(e,t){jy(e,t,this.changes)}};function Mk(r,e,t){let n=new Ik;return Ss.compare(r,e,t,n),n.changes}function Rk(r,e){for(let t=r;t&&t!=e;t=t.assignedSlot||t.parentNode)if(t.nodeType==1&&t.contentEditable=="false")return!0;return!1}function Qk(r,e){let t=!1;return e&&r.iterChangedRanges((n,i)=>{n<e.to&&i>e.from&&(t=!0)}),t}function jk(r,e,t=1){let n=r.charCategorizer(e),i=r.doc.lineAt(e),s=e-i.from;if(i.length==0)return Pr.cursor(e);s==0?t=1:s==i.length&&(t=-1);let a=s,l=s;t<0?a=ua(i.text,s,!1):l=ua(i.text,s);let p=n(i.text.slice(a,l));for(;a>0;){let m=ua(i.text,a,!1);if(n(i.text.slice(m,a))!=p)break;a=m}for(;l<i.length;){let m=ua(i.text,l);if(n(i.text.slice(l,m))!=p)break;l=m}return Pr.range(a+i.from,l+i.from)}function Lk(r,e){return e.left>r?e.left-r:Math.max(0,r-e.right)}function Xk(r,e){return e.top>r?e.top-r:Math.max(0,r-e.bottom)}function P0(r,e){return r.top<e.bottom-1&&r.bottom>e.top+1}function ex(r,e){return e<r.top?{top:e,left:r.left,right:r.right,bottom:r.bottom}:r}function tx(r,e){return e>r.bottom?{top:r.top,left:r.left,right:r.right,bottom:e}:r}function qy(r,e,t){let n,i,s,a,l=!1,p,m,g,b;for(let G=r.firstChild;G;G=G.nextSibling){let be=Kf(G);for(let ke=0;ke<be.length;ke++){let me=be[ke];i&&P0(i,me)&&(me=ex(tx(me,i.bottom),i.top));let Ve=Lk(e,me),Dt=Xk(t,me);if(Ve==0&&Dt==0)return G.nodeType==3?rx(G,e,t):qy(G,e,t);if(!n||a>Dt||a==Dt&&s>Ve){n=G,i=me,s=Ve,a=Dt;let ht=Dt?t<me.top?-1:1:Ve?e<me.left?-1:1:0;l=!ht||(ht>0?ke<be.length-1:ke>0)}Ve==0?t>me.bottom&&(!g||g.bottom<me.bottom)?(p=G,g=me):t<me.top&&(!b||b.top>me.top)&&(m=G,b=me):g&&P0(g,me)?g=tx(g,me.bottom):b&&P0(b,me)&&(b=ex(b,me.top))}}if(g&&g.bottom>=t?(n=p,i=g):b&&b.top<=t&&(n=m,i=b),!n)return{node:r,offset:0};let S=Math.max(i.left,Math.min(i.right,e));if(n.nodeType==3)return rx(n,S,t);if(l&&n.contentEditable!="false")return qy(n,S,t);let $=Array.prototype.indexOf.call(r.childNodes,n)+(e>=(i.left+i.right)/2?1:0);return{node:r,offset:$}}function rx(r,e,t){let n=r.nodeValue.length,i=-1,s=1e9,a=0;for(let l=0;l<n;l++){let p=qh(r,l,l+1).getClientRects();for(let m=0;m<p.length;m++){let g=p[m];if(g.top==g.bottom)continue;a||(a=e-g.left);let b=(g.top>t?g.top-t:t-g.bottom)-1;if(g.left-1<=e&&g.right+1>=e&&b<s){let S=e>=(g.left+g.right)/2,$=S;if((oi.chrome||oi.gecko)&&qh(r,l).getBoundingClientRect().left==g.right&&($=!S),b<=0)return{node:r,offset:l+($?1:0)};i=l+($?1:0),s=b}}}return{node:r,offset:i>-1?i:a>0?r.nodeValue.length:0}}function BS(r,e,t,n=-1){var i,s;let a=r.contentDOM.getBoundingClientRect(),l=a.top+r.viewState.paddingTop,p,{docHeight:m}=r.viewState,{x:g,y:b}=e,S=b-l;if(S<0)return 0;if(S>m)return r.state.doc.length;for(let ht=r.viewState.heightOracle.textHeight/2,bt=!1;p=r.elementAtHeight(S),p.type!=da.Text;)for(;S=n>0?p.bottom+ht:p.top-ht,!(S>=0&&S<=m);){if(bt)return t?null:0;bt=!0,n=-n}b=l+S;let $=p.from;if($<r.viewport.from)return r.viewport.from==0?0:t?null:nx(r,a,p,g,b);if($>r.viewport.to)return r.viewport.to==r.state.doc.length?r.state.doc.length:t?null:nx(r,a,p,g,b);let G=r.dom.ownerDocument,be=r.root.elementFromPoint?r.root:G,ke=be.elementFromPoint(g,b);ke&&!r.contentDOM.contains(ke)&&(ke=null),ke||(g=Math.max(a.left+1,Math.min(a.right-1,g)),ke=be.elementFromPoint(g,b),ke&&!r.contentDOM.contains(ke)&&(ke=null));let me,Ve=-1;if(ke&&((i=r.docView.nearest(ke))===null||i===void 0?void 0:i.isEditable)!=!1){if(G.caretPositionFromPoint){let ht=G.caretPositionFromPoint(g,b);ht&&({offsetNode:me,offset:Ve}=ht)}else if(G.caretRangeFromPoint){let ht=G.caretRangeFromPoint(g,b);ht&&({startContainer:me,startOffset:Ve}=ht,(!r.contentDOM.contains(me)||oi.safari&&Vk(me,Ve,g)||oi.chrome&&Uk(me,Ve,g))&&(me=void 0))}}if(!me||!r.docView.dom.contains(me)){let ht=wo.find(r.docView,$);if(!ht)return S>p.top+p.height/2?p.to:p.from;({node:me,offset:Ve}=qy(ht.dom,g,b))}let Dt=r.docView.nearest(me);if(!Dt)return null;if(Dt.isWidget&&((s=Dt.dom)===null||s===void 0?void 0:s.nodeType)==1){let ht=Dt.dom.getBoundingClientRect();return e.y<ht.top||e.y<=ht.bottom&&e.x<=(ht.left+ht.right)/2?Dt.posAtStart:Dt.posAtEnd}else return Dt.localPosFromDOM(me,Ve)+Dt.posAtStart}function nx(r,e,t,n,i){let s=Math.round((n-e.left)*r.defaultCharacterWidth);if(r.lineWrapping&&t.height>r.defaultLineHeight*1.5){let l=r.viewState.heightOracle.textHeight,p=Math.floor((i-t.top-(r.defaultLineHeight-l)*.5)/l);s+=p*r.viewState.heightOracle.lineLength}let a=r.state.sliceDoc(t.from,t.to);return t.from+Fy(a,s,r.state.tabSize)}function Vk(r,e,t){let n;if(r.nodeType!=3||e!=(n=r.nodeValue.length))return!1;for(let i=r.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return qh(r,n-1,n).getBoundingClientRect().left>t}function Uk(r,e,t){if(e!=0)return!1;for(let i=r;;){let s=i.parentNode;if(!s||s.nodeType!=1||s.firstChild!=i)return!1;if(s.classList.contains("cm-line"))break;i=s}let n=r.nodeType==1?r.getBoundingClientRect():qh(r,0,Math.max(r.nodeValue.length,1)).getBoundingClientRect();return t-n.left>5}function zy(r,e){let t=r.lineBlockAt(e);if(Array.isArray(t.type)){for(let n of t.type)if(n.to>e||n.to==e&&(n.to==t.to||n.type==da.Text))return n}return t}function qk(r,e,t,n){let i=zy(r,e.head),s=!n||i.type!=da.Text||!(r.lineWrapping||i.widgetLineBreaks)?null:r.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(s){let a=r.dom.getBoundingClientRect(),l=r.textDirectionAt(i.from),p=r.posAtCoords({x:t==(l==no.LTR)?a.right-1:a.left+1,y:(s.top+s.bottom)/2});if(p!=null)return Pr.cursor(p,t?-1:1)}return Pr.cursor(t?i.to:i.from,t?-1:1)}function ix(r,e,t,n){let i=r.state.doc.lineAt(e.head),s=r.bidiSpans(i),a=r.textDirectionAt(i.from);for(let l=e,p=null;;){let m=_k(i,s,a,l,t),g=FS;if(!m){if(i.number==(t?r.state.doc.lines:1))return l;g=`
|
||
`,i=r.state.doc.line(i.number+(t?1:-1)),s=r.bidiSpans(i),m=Pr.cursor(t?i.from:i.to)}if(p){if(!p(g))return l}else{if(!n)return m;p=n(g)}l=m}}function zk(r,e,t){let n=r.state.charCategorizer(e),i=n(t);return s=>{let a=n(s);return i==Js.Space&&(i=a),i==a}}function Wk(r,e,t,n){let i=e.head,s=t?1:-1;if(i==(t?r.state.doc.length:0))return Pr.cursor(i,e.assoc);let a=e.goalColumn,l,p=r.contentDOM.getBoundingClientRect(),m=r.coordsAtPos(i),g=r.documentTop;if(m)a==null&&(a=m.left-p.left),l=s<0?m.top:m.bottom;else{let $=r.viewState.lineBlockAt(i);a==null&&(a=Math.min(p.right-p.left,r.defaultCharacterWidth*(i-$.from))),l=(s<0?$.top:$.bottom)+g}let b=p.left+a,S=n??r.viewState.heightOracle.textHeight>>1;for(let $=0;;$+=10){let G=l+(S+$)*s,be=BS(r,{x:b,y:G},!1,s);if(G<p.top||G>p.bottom||(s<0?be<i:be>i))return Pr.cursor(be,e.assoc,void 0,a)}}function vm(r,e,t){for(;;){let n=0;for(let i of r)i.between(e-1,e+1,(s,a,l)=>{if(e>s&&e<a){let p=n||t||(e-s<a-e?-1:1);e=p<0?s:a,n=p}});if(!n)return e}}function k0(r,e,t){let n=vm(r.state.facet(nO).map(i=>i(r)),t.from,e.head>t.from?-1:1);return n==t.from?t:Pr.cursor(n,n<t.from?1:-1)}class Zk{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.handleEvent=this.handleEvent.bind(this),e.scrollDOM.addEventListener("mousedown",t=>{if(t.target==e.scrollDOM&&t.clientY>e.contentDOM.getBoundingClientRect().bottom&&(this.handleEvent(t),!t.defaultPrevented&&t.button==2)){let n=e.contentDOM.style.minHeight;e.contentDOM.style.minHeight="100%",setTimeout(()=>e.contentDOM.style.minHeight=n,200)}}),e.scrollDOM.addEventListener("drop",t=>{t.target==e.scrollDOM&&t.clientY>e.contentDOM.getBoundingClientRect().bottom&&this.handleEvent(t)}),this.notifiedFocused=e.hasFocus,oi.safari&&e.contentDOM.addEventListener("input",()=>null),oi.gecko&&cF(e.contentDOM.ownerDocument)}handleEvent(e){!rF(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,t){let n=this.handlers[e];if(n){for(let i of n.observers)i(this.view,t);for(let i of n.handlers){if(t.defaultPrevented)break;if(i(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=Yk(e),n=this.handlers,i=this.view.contentDOM;for(let s in t)if(s!="scroll"){let a=!t[s].handlers.length,l=n[s];l&&a!=!l.handlers.length&&(i.removeEventListener(s,this.handleEvent),l=null),l||i.addEventListener(s,this.handleEvent,{passive:a})}for(let s in n)s!="scroll"&&!t[s]&&i.removeEventListener(s,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()<this.lastEscPress+2e3)return!0;if(e.keyCode!=27&&IS.indexOf(e.keyCode)<0&&(this.view.inputState.lastEscPress=0),oi.android&&oi.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return oi.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((t=NS.find(n=>n.keyCode==e.keyCode))&&!e.ctrlKey||Gk.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,Qp(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:oi.safari&&!oi.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function sx(r,e){return(t,n)=>{try{return e.call(r,n,t)}catch(i){wu(t.state,i)}}}function Yk(r){let e=Object.create(null);function t(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of r){let i=n.spec;if(i&&i.domEventHandlers)for(let s in i.domEventHandlers){let a=i.domEventHandlers[s];a&&t(s).handlers.push(sx(n.value,a))}if(i&&i.domEventObservers)for(let s in i.domEventObservers){let a=i.domEventObservers[s];a&&t(s).observers.push(sx(n.value,a))}}for(let n in vl)t(n).handlers.push(vl[n]);for(let n in Tu)t(n).observers.push(Tu[n]);return e}const NS=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Gk="dthko",IS=[16,17,18,20,91,92,224,225],Wd=6;function Zd(r){return Math.max(0,r)*.7+8}function Hk(r,e){return Math.max(Math.abs(r.clientX-e.clientX),Math.abs(r.clientY-e.clientY))}class Jk{constructor(e,t,n,i){this.view=e,this.startEvent=t,this.style=n,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParent=dk(e.contentDOM),this.atoms=e.state.facet(nO).map(a=>a(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(gs.allowMultipleSelections)&&Kk(e,t),this.dragging=tF(e,t)&&jS(t)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var t;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&Hk(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,i=0,s=((t=this.scrollParent)===null||t===void 0?void 0:t.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},a=wS(this.view);e.clientX-a.left<=s.left+Wd?n=-Zd(s.left-e.clientX):e.clientX+a.right>=s.right-Wd&&(n=Zd(e.clientX-s.right)),e.clientY-a.top<=s.top+Wd?i=-Zd(s.top-e.clientY):e.clientY+a.bottom>=s.bottom-Wd&&(i=Zd(e.clientY-s.bottom)),this.setScrollSpeed(n,i)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let n=0;n<e.ranges.length;n++){let i=e.ranges[n],s=null;if(i.empty){let a=vm(this.atoms,i.from,0);a!=i.from&&(s=Pr.cursor(a,-1))}else{let a=vm(this.atoms,i.from,-1),l=vm(this.atoms,i.to,1);(a!=i.from||l!=i.to)&&(s=Pr.range(i.from==i.anchor?a:l,i.from==i.head?a:l))}s&&(t||(t=e.ranges.slice()),t[n]=s)}return t?Pr.create(t,e.mainIndex):e}select(e){let{view:t}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!n.eq(t.state.selection)||n.main.assoc!=t.state.selection.main.assoc&&this.dragging===!1)&&this.view.dispatch({selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.docChanged&&this.dragging&&(this.dragging=this.dragging.map(e.changes)),this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function Kk(r,e){let t=r.state.facet(mS);return t.length?t[0](e):oi.mac?e.metaKey:e.ctrlKey}function eF(r,e){let t=r.state.facet(gS);return t.length?t[0](e):oi.mac?!e.altKey:!e.ctrlKey}function tF(r,e){let{main:t}=r.state.selection;if(t.empty)return!1;let n=Um(r.root);if(!n||n.rangeCount==0)return!0;let i=n.getRangeAt(0).getClientRects();for(let s=0;s<i.length;s++){let a=i[s];if(a.left<=e.clientX&&a.right>=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}function rF(r,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target,n;t!=r.contentDOM;t=t.parentNode)if(!t||t.nodeType==11||(n=Ws.get(t))&&n.ignoreEvent(e))return!1;return!0}const vl=Object.create(null),Tu=Object.create(null),MS=oi.ie&&oi.ie_version<15||oi.ios&&oi.webkit_version<604;function nF(r){let e=r.dom.parentNode;if(!e)return;let t=e.appendChild(document.createElement("textarea"));t.style.cssText="position: fixed; left: -10000px; top: 10px",t.focus(),setTimeout(()=>{r.focus(),t.remove(),RS(r,t.value)},50)}function RS(r,e){let{state:t}=r,n,i=1,s=t.toText(e),a=s.lines==t.selection.ranges.length;if(Wy!=null&&t.selection.ranges.every(p=>p.empty)&&Wy==s.toString()){let p=-1;n=t.changeByRange(m=>{let g=t.doc.lineAt(m.from);if(g.from==p)return{range:m};p=g.from;let b=t.toText((a?s.line(i++).text:e)+t.lineBreak);return{changes:{from:g.from,insert:b},range:Pr.cursor(m.from+b.length)}})}else a?n=t.changeByRange(p=>{let m=s.line(i++);return{changes:{from:p.from,to:p.to,insert:m.text},range:Pr.cursor(p.from+m.length)}}):n=t.replaceSelection(s);r.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}Tu.scroll=r=>{r.inputState.lastScrollTop=r.scrollDOM.scrollTop,r.inputState.lastScrollLeft=r.scrollDOM.scrollLeft};vl.keydown=(r,e)=>(r.inputState.setSelectionOrigin("select"),e.keyCode==27&&(r.inputState.lastEscPress=Date.now()),!1);Tu.touchstart=(r,e)=>{r.inputState.lastTouchTime=Date.now(),r.inputState.setSelectionOrigin("select.pointer")};Tu.touchmove=r=>{r.inputState.setSelectionOrigin("select.pointer")};vl.mousedown=(r,e)=>{if(r.observer.flush(),r.inputState.lastTouchTime>Date.now()-2e3)return!1;let t=null;for(let n of r.state.facet(yS))if(t=n(r,e),t)break;if(!t&&e.button==0&&(t=oF(r,e)),t){let n=!r.hasFocus;r.inputState.startMouseSelection(new Jk(r,e,t,n)),n&&r.observer.ignore(()=>nS(r.contentDOM));let i=r.inputState.mouseSelection;if(i)return i.start(e),!i.dragging}return!1};function ox(r,e,t,n){if(n==1)return Pr.cursor(e,t);if(n==2)return jk(r.state,e,t);{let i=wo.find(r.docView,e),s=r.state.doc.lineAt(i?i.posAtEnd:e),a=i?i.posAtStart:s.from,l=i?i.posAtEnd:s.to;return l<r.state.doc.length&&l==s.to&&l++,Pr.range(a,l)}}let QS=(r,e)=>r>=e.top&&r<=e.bottom,ax=(r,e,t)=>QS(e,t)&&r>=t.left&&r<=t.right;function iF(r,e,t,n){let i=wo.find(r.docView,e);if(!i)return 1;let s=e-i.posAtStart;if(s==0)return 1;if(s==i.length)return-1;let a=i.coordsAt(s,-1);if(a&&ax(t,n,a))return-1;let l=i.coordsAt(s,1);return l&&ax(t,n,l)?1:a&&QS(n,a)?-1:1}function ux(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:t,bias:iF(r,t,e.clientX,e.clientY)}}const sF=oi.ie&&oi.ie_version<=11;let lx=null,cx=0,hx=0;function jS(r){if(!sF)return r.detail;let e=lx,t=hx;return lx=r,hx=Date.now(),cx=!e||t>Date.now()-400&&Math.abs(e.clientX-r.clientX)<2&&Math.abs(e.clientY-r.clientY)<2?(cx+1)%3:1}function oF(r,e){let t=ux(r,e),n=jS(e),i=r.state.selection;return{update(s){s.docChanged&&(t.pos=s.changes.mapPos(t.pos),i=i.map(s.changes))},get(s,a,l){let p=ux(r,s),m,g=ox(r,p.pos,p.bias,n);if(t.pos!=p.pos&&!a){let b=ox(r,t.pos,t.bias,n),S=Math.min(b.from,g.from),$=Math.max(b.to,g.to);g=S<g.from?Pr.range(S,$):Pr.range($,S)}return a?i.replaceRange(i.main.extend(g.from,g.to)):l&&n==1&&i.ranges.length>1&&(m=aF(i,p.pos))?m:l?i.addRange(g):Pr.create([g])}}}function aF(r,e){for(let t=0;t<r.ranges.length;t++){let{from:n,to:i}=r.ranges[t];if(n<=e&&i>=e)return Pr.create(r.ranges.slice(0,t).concat(r.ranges.slice(t+1)),r.mainIndex==t?0:r.mainIndex-(r.mainIndex>t?1:0))}return null}vl.dragstart=(r,e)=>{let{selection:{main:t}}=r.state,{mouseSelection:n}=r.inputState;return n&&(n.dragging=t),e.dataTransfer&&(e.dataTransfer.setData("Text",r.state.sliceDoc(t.from,t.to)),e.dataTransfer.effectAllowed="copyMove"),!1};function px(r,e,t,n){if(!t)return;let i=r.posAtCoords({x:e.clientX,y:e.clientY},!1),{mouseSelection:s}=r.inputState,a=n&&s&&s.dragging&&eF(r,e)?{from:s.dragging.from,to:s.dragging.to}:null,l={from:i,insert:t},p=r.state.changes(a?[a,l]:l);r.focus(),r.dispatch({changes:p,selection:{anchor:p.mapPos(i,-1),head:p.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"})}vl.drop=(r,e)=>{if(!e.dataTransfer)return!1;if(r.state.readOnly)return!0;let t=e.dataTransfer.files;if(t&&t.length){let n=Array(t.length),i=0,s=()=>{++i==t.length&&px(r,e,n.filter(a=>a!=null).join(r.state.lineBreak),!1)};for(let a=0;a<t.length;a++){let l=new FileReader;l.onerror=s,l.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(n[a]=l.result),s()},l.readAsText(t[a])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return px(r,e,n,!0),!0}return!1};vl.paste=(r,e)=>{if(r.state.readOnly)return!0;r.observer.flush();let t=MS?null:e.clipboardData;return t?(RS(r,t.getData("text/plain")||t.getData("text/uri-text")),!0):(nF(r),!1)};function uF(r,e){let t=r.dom.parentNode;if(!t)return;let n=t.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),r.focus()},50)}function lF(r){let e=[],t=[],n=!1;for(let i of r.selection.ranges)i.empty||(e.push(r.sliceDoc(i.from,i.to)),t.push(i));if(!e.length){let i=-1;for(let{from:s}of r.selection.ranges){let a=r.doc.lineAt(s);a.number>i&&(e.push(a.text),t.push({from:a.from,to:Math.min(r.doc.length,a.to+1)})),i=a.number}n=!0}return{text:e.join(r.lineBreak),ranges:t,linewise:n}}let Wy=null;vl.copy=vl.cut=(r,e)=>{let{text:t,ranges:n,linewise:i}=lF(r.state);if(!t&&!i)return!1;Wy=i?t:null,e.type=="cut"&&!r.state.readOnly&&r.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=MS?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",t),!0):(uF(r,t),!1)};const LS=uc.define();function XS(r,e){let t=[];for(let n of r.facet(xS)){let i=n(r,e);i&&t.push(i)}return t?r.update({effects:t,annotations:LS.of(!0)}):null}function VS(r){setTimeout(()=>{let e=r.hasFocus;if(e!=r.inputState.notifiedFocused){let t=XS(r.state,e);t?r.dispatch(t):r.update([])}},10)}Tu.focus=r=>{r.inputState.lastFocusTime=Date.now(),!r.scrollDOM.scrollTop&&(r.inputState.lastScrollTop||r.inputState.lastScrollLeft)&&(r.scrollDOM.scrollTop=r.inputState.lastScrollTop,r.scrollDOM.scrollLeft=r.inputState.lastScrollLeft),VS(r)};Tu.blur=r=>{r.observer.clearSelectionRange(),VS(r)};Tu.compositionstart=Tu.compositionupdate=r=>{r.inputState.compositionFirstChange==null&&(r.inputState.compositionFirstChange=!0),r.inputState.composing<0&&(r.inputState.composing=0)};Tu.compositionend=r=>{r.inputState.composing=-1,r.inputState.compositionEndedAt=Date.now(),r.inputState.compositionPendingKey=!0,r.inputState.compositionPendingChange=r.observer.pendingRecords().length>0,r.inputState.compositionFirstChange=null,oi.chrome&&oi.android?r.observer.flushSoon():r.inputState.compositionPendingChange?Promise.resolve().then(()=>r.observer.flush()):setTimeout(()=>{r.inputState.composing<0&&r.docView.hasComposition&&r.update([])},50)};Tu.contextmenu=r=>{r.inputState.lastContextMenu=Date.now()};vl.beforeinput=(r,e)=>{var t;let n;if(oi.chrome&&oi.android&&(n=NS.find(i=>i.inputType==e.inputType))&&(r.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let i=((t=window.visualViewport)===null||t===void 0?void 0:t.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>i+10&&r.hasFocus&&(r.contentDOM.blur(),r.focus())},100)}return!1};const fx=new Set;function cF(r){fx.has(r)||(fx.add(r),r.addEventListener("copy",()=>{}),r.addEventListener("cut",()=>{}))}const dx=["pre-wrap","normal","pre-line","break-spaces"];class hF{constructor(e){this.lineWrapping=e,this.doc=Ds.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,t){let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return dx.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let n=0;n<e.length;n++){let i=e[n];i<0?n++:this.heightSamples[Math.floor(i*10)]||(t=!0,this.heightSamples[Math.floor(i*10)]=!0)}return t}refresh(e,t,n,i,s,a){let l=dx.indexOf(e)>-1,p=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=l;if(this.lineWrapping=l,this.lineHeight=t,this.charWidth=n,this.textHeight=i,this.lineLength=s,p){this.heightSamples={};for(let m=0;m<a.length;m++){let g=a[m];g<0?m++:this.heightSamples[Math.floor(g*10)]=!0}}return p}}class pF{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}}class cl{constructor(e,t,n,i,s){this.from=e,this.length=t,this.top=n,this.height=i,this._content=s}get type(){return typeof this._content=="number"?da.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof nh?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(e){let t=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(e._content)?e._content:[e]);return new cl(this.from,this.length+e.length,this.top,this.height+e.height,t)}}var qs=function(r){return r[r.ByPos=0]="ByPos",r[r.ByHeight=1]="ByHeight",r[r.ByPosNoHeight=2]="ByPosNoHeight",r}(qs||(qs={}));const Cm=.001;class ma{constructor(e,t,n=2){this.length=e,this.height=t,this.flags=n}get outdated(){return(this.flags&2)>0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,t){this.height!=t&&(Math.abs(this.height-t)>Cm&&(e.heightChanged=!0),this.height=t)}replace(e,t,n){return ma.of(n)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,i){let s=this,a=n.doc;for(let l=i.length-1;l>=0;l--){let{fromA:p,toA:m,fromB:g,toB:b}=i[l],S=s.lineAt(p,qs.ByPosNoHeight,n.setDoc(t),0,0),$=S.to>=m?S:s.lineAt(m,qs.ByPosNoHeight,n,0,0);for(b+=$.to-m,m=$.to;l>0&&S.from<=i[l-1].toA;)p=i[l-1].fromA,g=i[l-1].fromB,l--,p<S.from&&(S=s.lineAt(p,qs.ByPosNoHeight,n,0,0));g+=S.from-p,p=S.from;let G=iO.build(n.setDoc(a),e,g,b);s=s.replace(p,m,G)}return s.updateHeight(n,0)}static empty(){return new Ua(0,0)}static of(e){if(e.length==1)return e[0];let t=0,n=e.length,i=0,s=0;for(;;)if(t==n)if(i>s*2){let l=e[t-1];l.break?e.splice(--t,1,l.left,null,l.right):e.splice(--t,1,l.left,l.right),n+=1+l.break,i-=l.size}else if(s>i*2){let l=e[n];l.break?e.splice(n,1,l.left,null,l.right):e.splice(n,1,l.left,l.right),n+=2+l.break,s-=l.size}else break;else if(i<s){let l=e[t++];l&&(i+=l.size)}else{let l=e[--n];l&&(s+=l.size)}let a=0;return e[t-1]==null?(a=1,t--):e[t]==null&&(a=1,n++),new fF(ma.of(e.slice(0,t)),a,ma.of(e.slice(n)))}}ma.prototype.size=1;class US extends ma{constructor(e,t,n){super(e,t),this.deco=n}blockAt(e,t,n,i){return new cl(i,this.length,n,this.height,this.deco||0)}lineAt(e,t,n,i,s){return this.blockAt(0,n,i,s)}forEachLine(e,t,n,i,s,a){e<=s+this.length&&t>=s&&a(this.blockAt(0,n,i,s))}updateHeight(e,t=0,n=!1,i){return i&&i.from<=t&&i.more&&this.setHeight(e,i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Ua extends US{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,n,i){return new cl(i,this.length,n,this.height,this.breaks)}replace(e,t,n){let i=n[0];return n.length==1&&(i instanceof Ua||i instanceof Xo&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof Xo?i=new Ua(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):ma.of(n)}updateHeight(e,t=0,n=!1,i){return i&&i.from<=t&&i.more?this.setHeight(e,i.heights[i.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Xo extends ma{constructor(e){super(e,0)}heightMetrics(e,t){let n=e.doc.lineAt(t).number,i=e.doc.lineAt(t+this.length).number,s=i-n+1,a,l=0;if(e.lineWrapping){let p=Math.min(this.height,e.lineHeight*s);a=p/s,this.length>s+1&&(l=(this.height-p)/(this.length-s-1))}else a=this.height/s;return{firstLine:n,lastLine:i,perLine:a,perChar:l}}blockAt(e,t,n,i){let{firstLine:s,lastLine:a,perLine:l,perChar:p}=this.heightMetrics(t,i);if(t.lineWrapping){let m=i+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),g=t.doc.lineAt(m),b=l+g.length*p,S=Math.max(n,e-b/2);return new cl(g.from,g.length,S,b,0)}else{let m=Math.max(0,Math.min(a-s,Math.floor((e-n)/l))),{from:g,length:b}=t.doc.line(s+m);return new cl(g,b,n+l*m,l,0)}}lineAt(e,t,n,i,s){if(t==qs.ByHeight)return this.blockAt(e,n,i,s);if(t==qs.ByPosNoHeight){let{from:$,to:G}=n.doc.lineAt(e);return new cl($,G-$,0,0,0)}let{firstLine:a,perLine:l,perChar:p}=this.heightMetrics(n,s),m=n.doc.lineAt(e),g=l+m.length*p,b=m.number-a,S=i+l*b+p*(m.from-s-b);return new cl(m.from,m.length,Math.max(i,Math.min(S,i+this.height-g)),g,0)}forEachLine(e,t,n,i,s,a){e=Math.max(e,s),t=Math.min(t,s+this.length);let{firstLine:l,perLine:p,perChar:m}=this.heightMetrics(n,s);for(let g=e,b=i;g<=t;){let S=n.doc.lineAt(g);if(g==e){let G=S.number-l;b+=p*G+m*(e-s-G)}let $=p+m*S.length;a(new cl(S.from,S.length,b,$,0)),b+=$,g=S.to+1}}replace(e,t,n){let i=this.length-t;if(i>0){let s=n[n.length-1];s instanceof Xo?n[n.length-1]=new Xo(s.length+i):n.push(null,new Xo(i-1))}if(e>0){let s=n[0];s instanceof Xo?n[0]=new Xo(e+s.length):n.unshift(new Xo(e-1),null)}return ma.of(n)}decomposeLeft(e,t){t.push(new Xo(e-1),null)}decomposeRight(e,t){t.push(null,new Xo(this.length-e-1))}updateHeight(e,t=0,n=!1,i){let s=t+this.length;if(i&&i.from<=t+this.length&&i.more){let a=[],l=Math.max(t,i.from),p=-1;for(i.from>t&&a.push(new Xo(i.from-t-1).updateHeight(e,t));l<=s&&i.more;){let g=e.doc.lineAt(l).length;a.length&&a.push(null);let b=i.heights[i.index++];p==-1?p=b:Math.abs(b-p)>=Cm&&(p=-2);let S=new Ua(g,b);S.outdated=!1,a.push(S),l+=g+1}l<=s&&a.push(null,new Xo(s-l).updateHeight(e,l));let m=ma.of(a);return(p<0||Math.abs(m.height-this.height)>=Cm||Math.abs(p-this.heightMetrics(e,t).perLine)>=Cm)&&(e.heightChanged=!0),m}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(t,t+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class fF extends ma{constructor(e,t,n){super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,t,n,i){let s=n+this.left.height;return e<s?this.left.blockAt(e,t,n,i):this.right.blockAt(e,t,s,i+this.left.length+this.break)}lineAt(e,t,n,i,s){let a=i+this.left.height,l=s+this.left.length+this.break,p=t==qs.ByHeight?e<a:e<l,m=p?this.left.lineAt(e,t,n,i,s):this.right.lineAt(e,t,n,a,l);if(this.break||(p?m.to<l:m.from>l))return m;let g=t==qs.ByPosNoHeight?qs.ByPosNoHeight:qs.ByPos;return p?m.join(this.right.lineAt(l,g,n,a,l)):this.left.lineAt(l,g,n,i,s).join(m)}forEachLine(e,t,n,i,s,a){let l=i+this.left.height,p=s+this.left.length+this.break;if(this.break)e<p&&this.left.forEachLine(e,t,n,i,s,a),t>=p&&this.right.forEachLine(e,t,n,l,p,a);else{let m=this.lineAt(p,qs.ByPos,n,i,s);e<m.from&&this.left.forEachLine(e,m.from-1,n,i,s,a),m.to>=e&&m.from<=t&&a(m),t>m.to&&this.right.forEachLine(m.to+1,t,n,l,p,a)}}replace(e,t,n){let i=this.left.length+this.break;if(t<i)return this.balanced(this.left.replace(e,t,n),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-i,t-i,n));let s=[];e>0&&this.decomposeLeft(e,s);let a=s.length;for(let l of n)s.push(l);if(e>0&&mx(s,a-1),t<this.length){let l=s.length;this.decomposeRight(t,s),mx(s,l)}return ma.of(s)}decomposeLeft(e,t){let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}decomposeRight(e,t){let n=this.left.length,i=n+this.break;if(e>=i)return this.right.decomposeRight(e-i,t);e<n&&this.left.decomposeRight(e,t),this.break&&e<i&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?ma.of(this.break?[e,null,t]:[e,t]):(this.left=e,this.right=t,this.height=e.height+t.height,this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,n=!1,i){let{left:s,right:a}=this,l=t+s.length+this.break,p=null;return i&&i.from<=t+s.length&&i.more?p=s=s.updateHeight(e,t,n,i):s.updateHeight(e,t,n),i&&i.from<=l+a.length&&i.more?p=a=a.updateHeight(e,l,n,i):a.updateHeight(e,l,n),p?this.balanced(s,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function mx(r,e){let t,n;r[e]==null&&(t=r[e-1])instanceof Xo&&(n=r[e+1])instanceof Xo&&r.splice(e-1,3,new Xo(t.length+1+n.length))}const dF=5;class iO{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let n=Math.min(t,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof Ua?i.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Ua(n-this.pos,-1)),this.writtenTo=n,t>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){let i=n.widget?n.widget.estimatedHeight:0,s=n.widget?n.widget.lineBreaks:0;i<0&&(i=this.oracle.lineHeight);let a=t-e;n.block?this.addBlock(new US(a,i,n)):(a||s||i>=dF)&&this.addLineDeco(i,s,a)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new Ua(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let n=new Xo(t-e);return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Ua)return e;let t=new Ua(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,n){let i=this.ensureLine();i.length+=n,i.collapsed+=n,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=t,this.writtenTo=this.pos=this.pos+n}finish(e){let t=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(t instanceof Ua)&&!this.isCovered?this.nodes.push(new Ua(0,-1)):(this.writtenTo<this.pos||t==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let n=e;for(let i of this.nodes)i instanceof Ua&&i.updateHeight(this.oracle,n),n+=i?i.length:1;return this.nodes}static build(e,t,n,i){let s=new iO(n,e);return Ss.spans(t,n,i,s,0),s.finish(n)}}function mF(r,e,t){let n=new gF;return Ss.compare(r,e,t,n,0),n.changes}class gF{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,n,i){(e<t||n&&n.heightRelevant||i&&i.heightRelevant)&&jy(e,t,this.changes,5)}}function yF(r,e){let t=r.getBoundingClientRect(),n=r.ownerDocument,i=n.defaultView||window,s=Math.max(0,t.left),a=Math.min(i.innerWidth,t.right),l=Math.max(0,t.top),p=Math.min(i.innerHeight,t.bottom);for(let m=r.parentNode;m&&m!=n.body;)if(m.nodeType==1){let g=m,b=window.getComputedStyle(g);if((g.scrollHeight>g.clientHeight||g.scrollWidth>g.clientWidth)&&b.overflow!="visible"){let S=g.getBoundingClientRect();s=Math.max(s,S.left),a=Math.min(a,S.right),l=Math.max(l,S.top),p=m==r.parentNode?S.bottom:Math.min(p,S.bottom)}m=b.position=="absolute"||b.position=="fixed"?g.offsetParent:g.parentNode}else if(m.nodeType==11)m=m.host;else break;return{left:s-t.left,right:Math.max(s,a)-t.left,top:l-(t.top+e),bottom:Math.max(l,p)-(t.top+e)}}function DF(r,e){let t=r.getBoundingClientRect();return{left:0,right:t.right-t.left,top:e,bottom:t.bottom-(t.top+e)}}class F0{constructor(e,t,n){this.from=e,this.to=t,this.size=n}static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],s=t[n];if(i.from!=s.from||i.to!=s.to||i.size!=s.size)return!1}return!0}draw(e,t){return _i.replace({widget:new OF(this.size*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}}class OF extends oh{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}}class gx{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!0,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=yx,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=no.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let t=e.facet(rO).some(n=>typeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new hF(t),this.stateDeco=e.facet(ed).filter(n=>typeof n!="function"),this.heightMap=ma.empty().applyChanges(this.stateDeco,Ds.empty,this.heightOracle.setDoc(e.doc),[new tu(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=_i.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){let i=n?t.head:t.anchor;if(!e.some(({from:s,to:a})=>i>=s&&i<=a)){let{from:s,to:a}=this.lineBlockAt(i);e.push(new Yd(s,a))}}this.viewports=e.sort((n,i)=>n.from-i.from),this.scaler=this.heightMap.height<=7e6?yx:new vF(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Af(e,this.scaler))})}update(e,t=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(ed).filter(g=>typeof g!="function");let i=e.changedRanges,s=tu.extendWithRanges(i,mF(n,this.stateDeco,e?e.changes:Ao.empty(this.state.doc.length))),a=this.heightMap.height,l=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=a&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let p=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<p.from||t.range.head>p.to)||!this.viewportIsAppropriate(p))&&(p=this.getViewport(0,t));let m=!e.changes.empty||e.flags&2||p.from!=this.viewport.from||p.to!=this.viewport.to;this.viewport=p,this.updateForViewport(),m&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(vS)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,n=window.getComputedStyle(t),i=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?no.RTL:no.LTR;let a=this.heightOracle.mustRefreshForWrapping(s),l=t.getBoundingClientRect(),p=a||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let m=0,g=0;if(l.width&&l.height){let ht=l.width/t.offsetWidth,bt=l.height/t.offsetHeight;ht>.995&&ht<1.005&&(ht=1),bt>.995&&bt<1.005&&(bt=1),(this.scaleX!=ht||this.scaleY!=bt)&&(this.scaleX=ht,this.scaleY=bt,m|=8,a=p=!0)}let b=(parseInt(n.paddingTop)||0)*this.scaleY,S=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=b||this.paddingBottom!=S)&&(this.paddingTop=b,this.paddingBottom=S,m|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(p=!0),this.editorWidth=e.scrollDOM.clientWidth,m|=8);let $=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=$&&(this.scrollAnchorHeight=-1,this.scrollTop=$),this.scrolledToBottom=sS(e.scrollDOM);let G=(this.printing?DF:yF)(t,this.paddingTop),be=G.top-this.pixelViewport.top,ke=G.bottom-this.pixelViewport.bottom;this.pixelViewport=G;let me=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(me!=this.inView&&(this.inView=me,me&&(p=!0)),!this.inView&&!this.scrollTarget)return 0;let Ve=l.width;if((this.contentDOMWidth!=Ve||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,m|=8),p){let ht=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(ht)&&(a=!0),a||i.lineWrapping&&Math.abs(Ve-this.contentDOMWidth)>i.charWidth){let{lineHeight:bt,charWidth:Yt,textHeight:ir}=e.docView.measureTextSize();a=bt>0&&i.refresh(s,bt,Yt,ir,Ve/Yt,ht),a&&(e.docView.minWidth=0,m|=8)}be>0&&ke>0?g=Math.max(be,ke):be<0&&ke<0&&(g=Math.min(be,ke)),i.heightChanged=!1;for(let bt of this.viewports){let Yt=bt.from==this.viewport.from?ht:e.docView.measureVisibleLineHeights(bt);this.heightMap=(a?ma.empty().applyChanges(this.stateDeco,Ds.empty,this.heightOracle,[new tu(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,a,new pF(bt.from,Yt))}i.heightChanged&&(m|=2)}let Dt=!this.viewportIsAppropriate(this.viewport,g)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return Dt&&(this.viewport=this.getViewport(g,this.scrollTarget)),this.updateForViewport(),(m&2||Dt)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),m|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),m}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,s=this.heightOracle,{visibleTop:a,visibleBottom:l}=this,p=new Yd(i.lineAt(a-n*1e3,qs.ByHeight,s,0,0).from,i.lineAt(l+(1-n)*1e3,qs.ByHeight,s,0,0).to);if(t){let{head:m}=t.range;if(m<p.from||m>p.to){let g=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),b=i.lineAt(m,qs.ByPos,s,0,0),S;t.y=="center"?S=(b.top+b.bottom)/2-g/2:t.y=="start"||t.y=="nearest"&&m<p.from?S=b.top:S=b.bottom-g,p=new Yd(i.lineAt(S-1e3/2,qs.ByHeight,s,0,0).from,i.lineAt(S+g+1e3/2,qs.ByHeight,s,0,0).to)}}return p}mapViewport(e,t){let n=t.mapPos(e.from,-1),i=t.mapPos(e.to,1);return new Yd(this.heightMap.lineAt(n,qs.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(i,qs.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0;let{top:i}=this.heightMap.lineAt(e,qs.ByPos,this.heightOracle,0,0),{bottom:s}=this.heightMap.lineAt(t,qs.ByPos,this.heightOracle,0,0),{visibleTop:a,visibleBottom:l}=this;return(e==0||i<=a-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||s>=l+Math.max(10,Math.min(n,250)))&&i>a-2*1e3&&s<l+2*1e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[];for(let i of e)t.touchesRange(i.from,i.to)||n.push(new F0(t.mapPos(i.from),t.mapPos(i.to),i.size));return n}ensureLineGaps(e,t){let n=this.heightOracle.lineWrapping,i=n?1e4:2e3,s=i>>1,a=i<<1;if(this.defaultTextDirection!=no.LTR&&!n)return[];let l=[],p=(m,g,b,S)=>{if(g-m<s)return;let $=this.state.selection.main,G=[$.from];$.empty||G.push($.to);for(let ke of G)if(ke>m&&ke<g){p(m,ke-10,b,S),p(ke+10,g,b,S);return}let be=bF(e,ke=>ke.from>=b.from&&ke.to<=b.to&&Math.abs(ke.from-m)<s&&Math.abs(ke.to-g)<s&&!G.some(me=>ke.from<me&&ke.to>me));if(!be){if(g<b.to&&t&&n&&t.visibleRanges.some(ke=>ke.from<=g&&ke.to>=g)){let ke=t.moveToLineBoundary(Pr.cursor(g),!1,!0).head;ke>m&&(g=ke)}be=new F0(m,g,this.gapSize(b,m,g,S))}l.push(be)};for(let m of this.viewportLines){if(m.length<a)continue;let g=xF(m.from,m.to,this.stateDeco);if(g.total<a)continue;let b=this.scrollTarget?this.scrollTarget.range.head:null,S,$;if(n){let G=i/this.heightOracle.lineLength*this.heightOracle.lineHeight,be,ke;if(b!=null){let me=Hd(g,b),Ve=((this.visibleBottom-this.visibleTop)/2+G)/m.height;be=me-Ve,ke=me+Ve}else be=(this.visibleTop-m.top-G)/m.height,ke=(this.visibleBottom-m.top+G)/m.height;S=Gd(g,be),$=Gd(g,ke)}else{let G=g.total*this.heightOracle.charWidth,be=i*this.heightOracle.charWidth,ke,me;if(b!=null){let Ve=Hd(g,b),Dt=((this.pixelViewport.right-this.pixelViewport.left)/2+be)/G;ke=Ve-Dt,me=Ve+Dt}else ke=(this.pixelViewport.left-be)/G,me=(this.pixelViewport.right+be)/G;S=Gd(g,ke),$=Gd(g,me)}S>m.from&&p(m.from,S,m,g),$<m.to&&p($,m.to,m,g)}return l}gapSize(e,t,n,i){let s=Hd(i,n)-Hd(i,t);return this.heightOracle.lineWrapping?e.height*s:i.total*this.heightOracle.charWidth*s}updateLineGaps(e){F0.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=_i.set(e.map(t=>t.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];Ss.spans(e,this.viewport.from,this.viewport.to,{span(i,s){t.push({from:i,to:s})},point(){}},20);let n=t.length!=this.visibleRanges.length||this.visibleRanges.some((i,s)=>i.from!=t[s].from||i.to!=t[s].to);return this.visibleRanges=t,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||Af(this.heightMap.lineAt(e,qs.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Af(this.heightMap.lineAt(this.scaler.fromDOM(e),qs.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return Af(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class Yd{constructor(e,t){this.from=e,this.to=t}}function xF(r,e,t){let n=[],i=r,s=0;return Ss.spans(t,r,e,{span(){},point(a,l){a>i&&(n.push({from:i,to:a}),s+=a-i),i=l}},20),i<e&&(n.push({from:i,to:e}),s+=e-i),{total:s,ranges:n}}function Gd({total:r,ranges:e},t){if(t<=0)return e[0].from;if(t>=1)return e[e.length-1].to;let n=Math.floor(r*t);for(let i=0;;i++){let{from:s,to:a}=e[i],l=a-s;if(n<=l)return s+n;n-=l}}function Hd(r,e){let t=0;for(let{from:n,to:i}of r.ranges){if(e<=i){t+=e-n;break}t+=i-n}return t/r.total}function bF(r,e){for(let t of r)if(e(t))return t}const yx={toDOM(r){return r},fromDOM(r){return r},scale:1};class vF{constructor(e,t,n){let i=0,s=0,a=0;this.viewports=n.map(({from:l,to:p})=>{let m=t.lineAt(l,qs.ByPos,e,0,0).top,g=t.lineAt(p,qs.ByPos,e,0,0).bottom;return i+=g-m,{from:l,to:p,top:m,bottom:g,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(t.height-i);for(let l of this.viewports)l.domTop=a+(l.top-s)*this.scale,a=l.domBottom=l.domTop+(l.bottom-l.top),s=l.bottom}toDOM(e){for(let t=0,n=0,i=0;;t++){let s=t<this.viewports.length?this.viewports[t]:null;if(!s||e<s.top)return i+(e-n)*this.scale;if(e<=s.bottom)return s.domTop+(e-s.top);n=s.bottom,i=s.domBottom}}fromDOM(e){for(let t=0,n=0,i=0;;t++){let s=t<this.viewports.length?this.viewports[t]:null;if(!s||e<s.domTop)return n+(e-i)/this.scale;if(e<=s.domBottom)return s.top+(e-s.domTop);n=s.bottom,i=s.domBottom}}}function Af(r,e){if(e.scale==1)return r;let t=e.toDOM(r.top),n=e.toDOM(r.bottom);return new cl(r.from,r.length,t,n-t,Array.isArray(r._content)?r._content.map(i=>Af(i,e)):r._content)}const Jd=qn.define({combine:r=>r.join(" ")}),Zy=qn.define({combine:r=>r.indexOf(!0)>-1}),Yy=eh.newName(),qS=eh.newName(),zS=eh.newName(),WS={"&light":"."+qS,"&dark":"."+zS};function Gy(r,e,t){return new eh(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,i=>{if(i=="&")return r;if(!t||!t[i])throw new RangeError(`Unsupported selector: ${i}`);return t[i]}):r+" "+n}})}const CF=Gy("."+Yy,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},WS),Tf="";class SF{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(gs.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Tf}readRange(e,t){if(!e)return this;let n=e.parentNode;for(let i=e;;){this.findPointBefore(n,i);let s=this.text.length;this.readNode(i);let a=i.nextSibling;if(a==t)break;let l=Ws.get(i),p=Ws.get(a);(l&&p?l.breakAfter:(l?l.breakAfter:Dx(i))||Dx(a)&&(i.nodeName!="BR"||i.cmIgnore)&&this.text.length>s)&&this.lineBreak(),i=a}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length));for(let n=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,a=1,l;if(this.lineSeparator?(s=t.indexOf(this.lineSeparator,n),a=this.lineSeparator.length):(l=i.exec(t))&&(s=l.index,a=l[0].length),this.append(t.slice(n,s<0?t.length:s)),s<0)break;if(this.lineBreak(),a>1)for(let p of this.points)p.node==e&&p.pos>this.text.length&&(p.pos-=a-1);n=s+a}}readNode(e){if(e.cmIgnore)return;let t=Ws.get(e),n=t&&t.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let i=n.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)}findPointInside(e,t){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+Math.min(t,n.offset))}}function Dx(r){return r.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(r.nodeName)}class Ox{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}}class EF{constructor(e,t,n,i){this.typeOver=i,this.bounds=null,this.text="";let{impreciseHead:s,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){let l=s||a?[]:TF(e),p=new SF(l,e.state);p.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=p.text,this.newSel=PF(l,this.bounds.from)}else{let l=e.observer.selectionRange,p=s&&s.node==l.focusNode&&s.offset==l.focusOffset||!By(e.contentDOM,l.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),m=a&&a.node==l.anchorNode&&a.offset==l.anchorOffset||!By(e.contentDOM,l.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset);this.newSel=Pr.single(m,p)}}}function ZS(r,e){let t,{newSel:n}=e,i=r.state.selection.main,s=r.inputState.lastKeyTime>Date.now()-100?r.inputState.lastKeyCode:-1;if(e.bounds){let{from:a,to:l}=e.bounds,p=i.from,m=null;(s===8||oi.android&&e.text.length<l-a)&&(p=i.to,m="end");let g=AF(r.state.doc.sliceString(a,l,Tf),e.text,p-a,m);g&&(oi.chrome&&s==13&&g.toB==g.from+2&&e.text.slice(g.from,g.toB)==Tf+Tf&&g.toB--,t={from:a+g.from,to:a+g.toA,insert:Ds.of(e.text.slice(g.from,g.toB).split(Tf))})}else n&&(!r.hasFocus&&r.state.facet(Xg)||n.main.eq(i))&&(n=null);if(!t&&!n)return!1;if(!t&&e.typeOver&&!i.empty&&n&&n.main.empty?t={from:i.from,to:i.to,insert:r.state.doc.slice(i.from,i.to)}:t&&t.from>=i.from&&t.to<=i.to&&(t.from!=i.from||t.to!=i.to)&&i.to-i.from-(t.to-t.from)<=4?t={from:i.from,to:i.to,insert:r.state.doc.slice(i.from,t.from).append(t.insert).append(r.state.doc.slice(t.to,i.to))}:(oi.mac||oi.android)&&t&&t.from==t.to&&t.from==i.head-1&&/^\. ?$/.test(t.insert.toString())&&r.contentDOM.getAttribute("autocorrect")=="off"?(n&&t.insert.length==2&&(n=Pr.single(n.main.anchor-1,n.main.head-1)),t={from:i.from,to:i.to,insert:Ds.of([" "])}):oi.chrome&&t&&t.from==t.to&&t.from==i.head&&t.insert.toString()==`
|
||
`&&r.lineWrapping&&(n&&(n=Pr.single(n.main.anchor-1,n.main.head-1)),t={from:i.from,to:i.to,insert:Ds.of([" "])}),t){if(oi.ios&&r.inputState.flushIOSKey()||oi.android&&(t.from==i.from&&t.to==i.to&&t.insert.length==1&&t.insert.lines==2&&Qp(r.contentDOM,"Enter",13)||(t.from==i.from-1&&t.to==i.to&&t.insert.length==0||s==8&&t.insert.length<t.to-t.from&&t.to>i.head)&&Qp(r.contentDOM,"Backspace",8)||t.from==i.from&&t.to==i.to+1&&t.insert.length==0&&Qp(r.contentDOM,"Delete",46)))return!0;let a=t.insert.toString();r.inputState.composing>=0&&r.inputState.composing++;let l,p=()=>l||(l=wF(r,t,n));return r.state.facet(OS).some(m=>m(r,t.from,t.to,a,p))||r.dispatch(p()),!0}else if(n&&!n.main.eq(i)){let a=!1,l="select";return r.inputState.lastSelectionTime>Date.now()-50&&(r.inputState.lastSelectionOrigin=="select"&&(a=!0),l=r.inputState.lastSelectionOrigin),r.dispatch({selection:n,scrollIntoView:a,userEvent:l}),!0}else return!1}function wF(r,e,t){let n,i=r.state,s=i.selection.main;if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!t||t.main.empty&&t.main.from==e.from+e.insert.length)&&r.inputState.composing<0){let l=s.from<e.from?i.sliceDoc(s.from,e.from):"",p=s.to>e.to?i.sliceDoc(e.to,s.to):"";n=i.replaceSelection(r.state.toText(l+e.insert.sliceString(0,void 0,r.state.lineBreak)+p))}else{let l=i.changes(e),p=t&&t.main.to<=l.newLength?t.main:void 0;if(i.selection.ranges.length>1&&r.inputState.composing>=0&&e.to<=s.to&&e.to>=s.to-10){let m=r.state.sliceDoc(e.from,e.to),g,b=t&&_S(r,t.main.head);if(b){let G=e.insert.length-(e.to-e.from);g={from:b.from,to:b.to-G}}else g=r.state.doc.lineAt(s.head);let S=s.to-e.to,$=s.to-s.from;n=i.changeByRange(G=>{if(G.from==s.from&&G.to==s.to)return{changes:l,range:p||G.map(l)};let be=G.to-S,ke=be-m.length;if(G.to-G.from!=$||r.state.sliceDoc(ke,be)!=m||G.to>=g.from&&G.from<=g.to)return{range:G};let me=i.changes({from:ke,to:be,insert:e.insert}),Ve=G.to-s.to;return{changes:me,range:p?Pr.range(Math.max(0,p.anchor+Ve),Math.max(0,p.head+Ve)):G.map(me)}})}else n={changes:l,selection:p&&i.selection.replaceRange(p)}}let a="input.type";return(r.composing||r.inputState.compositionPendingChange&&r.inputState.compositionEndedAt>Date.now()-50)&&(r.inputState.compositionPendingChange=!1,a+=".compose",r.inputState.compositionFirstChange&&(a+=".start",r.inputState.compositionFirstChange=!1)),i.update(n,{userEvent:a,scrollIntoView:!0})}function AF(r,e,t,n){let i=Math.min(r.length,e.length),s=0;for(;s<i&&r.charCodeAt(s)==e.charCodeAt(s);)s++;if(s==i&&r.length==e.length)return null;let a=r.length,l=e.length;for(;a>0&&l>0&&r.charCodeAt(a-1)==e.charCodeAt(l-1);)a--,l--;if(n=="end"){let p=Math.max(0,s-Math.min(a,l));t-=a+p-s}if(a<s&&r.length<e.length){let p=t<=s&&t>=a?s-t:0;s-=p,l=s+(l-a),a=s}else if(l<s){let p=t<=s&&t>=l?s-t:0;s-=p,a=s+(a-l),l=s}return{from:s,toA:a,toB:l}}function TF(r){let e=[];if(r.root.activeElement!=r.contentDOM)return e;let{anchorNode:t,anchorOffset:n,focusNode:i,focusOffset:s}=r.observer.selectionRange;return t&&(e.push(new Ox(t,n)),(i!=t||s!=n)&&e.push(new Ox(i,s))),e}function PF(r,e){if(r.length==0)return null;let t=r[0].pos,n=r.length==2?r[1].pos:t;return t>-1&&n>-1?Pr.single(t+e,n+e):null}const kF={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},_0=oi.ie&&oi.ie_version<=11;class FF{constructor(e){this.view=e,this.active=!1,this.selectionRange=new mk,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.resizeContent=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let n of t)this.queue.push(n);(oi.ie&&oi.ie_version<=11||oi.ios&&e.composing)&&t.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),_0&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var t;((t=this.view.docView)===null||t===void 0?void 0:t.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM),this.resizeContent=new ResizeObserver(()=>this.view.requestMeasure()),this.resizeContent.observe(e.contentDOM)),this.addWindowListeners(this.win=e.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(t=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),t.length>0&&t[t.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(t=>{t.length>0&&t[t.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,n)=>t!=e[n]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,i=this.selectionRange;if(n.state.facet(Xg)?n.root.activeElement!=this.dom:!bm(n.dom,i))return;let s=i.anchorNode&&n.docView.nearest(i.anchorNode);if(s&&s.ignoreEvent(e)){t||(this.selectionChanged=!1);return}(oi.ie&&oi.ie_version<=11||oi.android&&oi.chrome)&&!n.state.selection.main.empty&&i.focusNode&&qm(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=oi.safari&&e.root.nodeType==11&&hk(this.dom.ownerDocument)==this.dom&&_F(this.view)||Um(e.root);if(!t||this.selectionRange.eq(t))return!1;let n=bm(this.dom,t);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&yk(this.dom,t)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(t),n&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let n=this.dom;n;)if(n.nodeType==1)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),t&&t.push(n),n=n.assignedSlot||n.parentNode;else if(n.nodeType==11)n=n.host;else break;if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let n of this.scrollTargets)n.removeEventListener("scroll",this.onScroll);for(let n of this.scrollTargets=t)n.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,kF),_0&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),_0&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let i=()=>{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&Qp(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!(!((n=this.delayedAndroidKey)===null||n===void 0)&&n.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,n=-1,i=!1;for(let s of e){let a=this.readMutation(s);a&&(a.typeOver&&(i=!0),t==-1?{from:t,to:n}=a:(t=Math.min(a.from,t),n=Math.max(a.to,n)))}return{from:t,to:n,typeOver:i}}readChange(){let{from:e,to:t,typeOver:n}=this.processRecords(),i=this.selectionChanged&&bm(this.dom,this.selectionRange);if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new EF(this.view,e,t,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return!1;let n=this.view.state,i=ZS(this.view,t);return this.view.state==n&&this.view.update([]),i}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty(e.type=="attributes"),e.type=="attributes"&&(t.flags|=4),e.type=="childList"){let n=xx(t,e.previousSibling||e.target.previousSibling,-1),i=xx(t,e.nextSibling||e.target.nextSibling,1);return{from:n?t.posAfter(n):t.posAtStart,to:i?t.posBefore(i):t.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,t,n,i;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(t=this.gapIntersection)===null||t===void 0||t.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect(),(i=this.resizeContent)===null||i===void 0||i.disconnect();for(let s of this.scrollTargets)s.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function xx(r,e,t){for(;e;){let n=Ws.get(e);if(n&&n.parent==r)return n;let i=e.parentNode;e=i!=r.dom?i:t>0?e.nextSibling:e.previousSibling}return null}function _F(r){let e=null;function t(p){p.preventDefault(),p.stopImmediatePropagation(),e=p.getTargetRanges()[0]}if(r.contentDOM.addEventListener("beforeinput",t,!0),r.dom.ownerDocument.execCommand("indent"),r.contentDOM.removeEventListener("beforeinput",t,!0),!e)return null;let n=e.startContainer,i=e.startOffset,s=e.endContainer,a=e.endOffset,l=r.docView.domAtPos(r.state.selection.main.anchor);return qm(l.node,l.offset,s,a)&&([n,i,s,a]=[s,a,n,i]),{anchorNode:n,anchorOffset:i,focusNode:s,focusOffset:a}}class Qn{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.style.cssText="position: fixed; top: -10000px",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM);let{dispatch:t}=e;this.dispatchTransactions=e.dispatchTransactions||t&&(n=>n.forEach(i=>t(i,this)))||(n=>this.update(n)),this.dispatch=this.dispatch.bind(this),this._root=e.root||gk(e.parent)||document,this.viewState=new gx(e.state||gs.create(e)),this.plugins=this.state.facet(Ef).map(n=>new T0(n));for(let n of this.plugins)n.update(this);this.observer=new FF(this),this.inputState=new Zk(this),this.inputState.ensureHandlers(this.plugins),this.docView=new J1(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),e.parent&&e.parent.appendChild(this.dom)}dispatch(...e){let t=e.length==1&&e[0]instanceof To?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let t=!1,n=!1,i,s=this.state;for(let S of e){if(S.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=S.state}if(this.destroyed){this.viewState.state=s;return}let a=this.hasFocus,l=0,p=null;e.some(S=>S.annotation(LS))?(this.inputState.notifiedFocused=a,l=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,p=XS(s,a),p||(l=1));let m=this.observer.delayedAndroidKey,g=null;if(m?(this.observer.clearDelayedAndroidKey(),g=this.observer.readChange(),(g&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(g=null)):this.observer.clear(),s.facet(gs.phrases)!=this.state.facet(gs.phrases))return this.setState(s);i=Zm.create(this,s,e),i.flags|=l;let b=this.viewState.scrollTarget;try{this.updateState=2;for(let S of e){if(b&&(b=b.map(S.changes)),S.scrollIntoView){let{main:$}=S.state.selection;b=new Wm($.empty?$:Pr.cursor($.head,$.head>$.anchor?-1:1))}for(let $ of S.effects)$.is(G1)&&(b=$.value)}this.viewState.update(i,b),this.bidiCache=Ym.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),t=this.docView.update(i),this.state.facet(wf)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(t,e.some(S=>S.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(Jd)!=i.state.facet(Jd)&&(this.viewState.mustMeasureContent=!0),(t||n||b||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!i.empty)for(let S of this.state.facet(Ly))S(i);(p||g)&&Promise.resolve().then(()=>{p&&this.state==p.startState&&this.dispatch(p),g&&!ZS(this,g)&&m.force&&Qp(this.contentDOM,m.key,m.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let t=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new gx(e),this.plugins=e.facet(Ef).map(n=>new T0(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView=new J1(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(Ef),n=e.state.facet(Ef);if(t!=n){let i=[];for(let s of n){let a=t.indexOf(s);if(a<0)i.push(new T0(s));else{let l=this.plugins[a];l.mustUpdate=e,i.push(l)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=i,this.pluginMap.clear(),this.inputState.ensureHandlers(this.plugins)}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i<this.plugins.length;i++)this.plugins[i].update(this)}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,n=this.scrollDOM,i=n.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:a}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(a<0)if(sS(n))s=-1,a=this.viewState.heightMap.height;else{let $=this.viewState.scrollAnchorAt(i);s=$.from,a=$.top}this.updateState=1;let p=this.viewState.measure(this);if(!p&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let m=[];p&4||([this.measureRequests,m]=[m,this.measureRequests]);let g=m.map($=>{try{return $.read(this)}catch(G){return wu(this.state,G),bx}}),b=Zm.create(this,this.state,[]),S=!1;b.flags|=p,t?t.flags|=p:t=b,this.updateState=2,b.empty||(this.updatePlugins(b),this.inputState.update(b),this.updateAttrs(),S=this.docView.update(b));for(let $=0;$<m.length;$++)if(g[$]!=bx)try{let G=m[$];G.write&&G.write(g[$],this)}catch(G){wu(this.state,G)}if(S&&this.docView.updateSelection(!0),!b.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null;continue}else{let G=(s<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(s).top)-a;if(G>1||G<-1){i=i+G,n.scrollTop=i/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let l of this.state.facet(Ly))l(t)}get themeClasses(){return Yy+" "+(this.state.facet(Zy)?zS:qS)+" "+this.state.facet(Jd)}updateAttrs(){let e=vx(this,CS,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Xg)?"true":"false",class:"cm-content",style:`${oi.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),vx(this,rO,t);let n=this.observer.ignore(()=>{let i=Qy(this.contentDOM,this.contentAttrs,t),s=Qy(this.dom,this.editorAttrs,e);return i||s});return this.editorAttrs=e,this.contentAttrs=t,n}showAnnouncements(e){let t=!0;for(let n of e)for(let i of n.effects)if(i.is(Qn.announce)){t&&(this.announceDOM.textContent=""),t=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(wf);let e=this.state.facet(Qn.cspNonce);eh.mount(this.root,this.styleModules.concat(CF).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key){this.measureRequests[t]=e;return}}this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(t===void 0||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find(n=>n.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,n){return k0(this,e,ix(this,e,t,n))}moveByGroup(e,t){return k0(this,e,ix(this,e,t,n=>zk(this,e.head,n)))}moveToLineBoundary(e,t,n=!0){return qk(this,e,t,n)}moveVertically(e,t,n){return k0(this,e,Wk(this,e,t,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),BS(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n;let i=this.state.doc.lineAt(e),s=this.bidiSpans(i),a=s[Uc.find(s,e-i.from,-1,t)];return KD(n,a.dir==no.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(bS)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>$F)return kS(e.length);let t=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==t&&(s.fresh||PS(s.isolates,n=H1(this,e.from,e.to))))return s.order;n||(n=H1(this,e.from,e.to));let i=Fk(e.text,t,n);return this.bidiCache.push(new Ym(e.from,e.to,t,n,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||oi.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{nS(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return G1.of(new Wm(typeof e=="number"?Pr.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}static domEventHandlers(e){return bo.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return bo.define(()=>({}),{eventObservers:e})}static theme(e,t){let n=eh.newName(),i=[Jd.of(n),wf.of(Gy(`.${n}`,e))];return t&&t.dark&&i.push(Zy.of(!0)),i}static baseTheme(e){return Jh.lowest(wf.of(Gy("."+Yy,e,WS)))}static findFromDOM(e){var t;let n=e.querySelector(".cm-content"),i=n&&Ws.get(n)||Ws.get(e);return((t=i==null?void 0:i.rootView)===null||t===void 0?void 0:t.view)||null}}Qn.styleModule=wf;Qn.inputHandler=OS;Qn.focusChangeEffect=xS;Qn.perLineTextDirection=bS;Qn.exceptionSink=DS;Qn.updateListener=Ly;Qn.editable=Xg;Qn.mouseSelectionStyle=yS;Qn.dragMovesSelection=gS;Qn.clickAddsSelectionRange=mS;Qn.decorations=ed;Qn.atomicRanges=nO;Qn.bidiIsolatedRanges=SS;Qn.scrollMargins=ES;Qn.darkTheme=Zy;Qn.cspNonce=qn.define({combine:r=>r.length?r[0]:""});Qn.contentAttributes=rO;Qn.editorAttributes=CS;Qn.lineWrapping=Qn.contentAttributes.of({class:"cm-lineWrapping"});Qn.announce=Qi.define();const $F=4096,bx={};class Ym{constructor(e,t,n,i,s,a){this.from=e,this.to=t,this.dir=n,this.isolates=i,this.fresh=s,this.order=a}static update(e,t){if(t.empty&&!e.some(s=>s.fresh))return e;let n=[],i=e.length?e[e.length-1].dir:no.LTR;for(let s=Math.max(0,e.length-10);s<e.length;s++){let a=e[s];a.dir==i&&!t.touchesRange(a.from,a.to)&&n.push(new Ym(t.mapPos(a.from,1),t.mapPos(a.to,-1),a.dir,a.isolates,!1,a.order))}return n}}function vx(r,e,t){for(let n=r.state.facet(e),i=n.length-1;i>=0;i--){let s=n[i],a=typeof s=="function"?s(r):s;a&&Ry(a,t)}return t}const BF=oi.mac?"mac":oi.windows?"win":oi.linux?"linux":"key";function NF(r,e){const t=r.split(/-(?!$)/);let n=t[t.length-1];n=="Space"&&(n=" ");let i,s,a,l;for(let p=0;p<t.length-1;++p){const m=t[p];if(/^(cmd|meta|m)$/i.test(m))l=!0;else if(/^a(lt)?$/i.test(m))i=!0;else if(/^(c|ctrl|control)$/i.test(m))s=!0;else if(/^s(hift)?$/i.test(m))a=!0;else if(/^mod$/i.test(m))e=="mac"?l=!0:s=!0;else throw new Error("Unrecognized modifier name: "+m)}return i&&(n="Alt-"+n),s&&(n="Ctrl-"+n),l&&(n="Meta-"+n),a&&(n="Shift-"+n),n}function Kd(r,e,t){return e.altKey&&(r="Alt-"+r),e.ctrlKey&&(r="Ctrl-"+r),e.metaKey&&(r="Meta-"+r),t!==!1&&e.shiftKey&&(r="Shift-"+r),r}const IF=Jh.default(Qn.domEventHandlers({keydown(r,e){return GS(YS(e.state),r,e,"editor")}})),Cd=qn.define({enables:IF}),Cx=new WeakMap;function YS(r){let e=r.facet(Cd),t=Cx.get(e);return t||Cx.set(e,t=QF(e.reduce((n,i)=>n.concat(i),[]))),t}function MF(r,e,t){return GS(YS(r.state),e,r,t)}let jc=null;const RF=4e3;function QF(r,e=BF){let t=Object.create(null),n=Object.create(null),i=(a,l)=>{let p=n[a];if(p==null)n[a]=l;else if(p!=l)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},s=(a,l,p,m,g)=>{var b,S;let $=t[a]||(t[a]=Object.create(null)),G=l.split(/ (?!$)/).map(me=>NF(me,e));for(let me=1;me<G.length;me++){let Ve=G.slice(0,me).join(" ");i(Ve,!0),$[Ve]||($[Ve]={preventDefault:!0,stopPropagation:!1,run:[Dt=>{let ht=jc={view:Dt,prefix:Ve,scope:a};return setTimeout(()=>{jc==ht&&(jc=null)},RF),!0}]})}let be=G.join(" ");i(be,!1);let ke=$[be]||($[be]={preventDefault:!1,stopPropagation:!1,run:((S=(b=$._any)===null||b===void 0?void 0:b.run)===null||S===void 0?void 0:S.slice())||[]});p&&ke.run.push(p),m&&(ke.preventDefault=!0),g&&(ke.stopPropagation=!0)};for(let a of r){let l=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let m of l){let g=t[m]||(t[m]=Object.create(null));g._any||(g._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let b in g)g[b].run.push(a.any)}let p=a[e]||a.key;if(p)for(let m of l)s(m,p,a.run,a.preventDefault,a.stopPropagation),a.shift&&s(m,"Shift-"+p,a.shift,a.preventDefault,a.stopPropagation)}return t}function GS(r,e,t,n){let i=ck(e),s=Uo(i,0),a=Ha(s)==i.length&&i!=" ",l="",p=!1,m=!1,g=!1;jc&&jc.view==t&&jc.scope==n&&(l=jc.prefix+" ",IS.indexOf(e.keyCode)<0&&(m=!0,jc=null));let b=new Set,S=ke=>{if(ke){for(let me of ke.run)if(!b.has(me)&&(b.add(me),me(t,e)))return ke.stopPropagation&&(g=!0),!0;ke.preventDefault&&(ke.stopPropagation&&(g=!0),m=!0)}return!1},$=r[n],G,be;return $&&(S($[l+Kd(i,e,!a)])?p=!0:a&&(e.altKey||e.metaKey||e.ctrlKey)&&!(oi.windows&&e.ctrlKey&&e.altKey)&&(G=th[e.keyCode])&&G!=i?(S($[l+Kd(G,e,!0)])||e.shiftKey&&(be=Jf[e.keyCode])!=i&&be!=G&&S($[l+Kd(be,e,!1)]))&&(p=!0):a&&e.shiftKey&&S($[l+Kd(i,e,!0)])&&(p=!0),!p&&S($._any)&&(p=!0)),m&&(p=!0),p&&g&&e.stopPropagation(),p}class Sd{constructor(e,t,n,i,s){this.className=e,this.left=t,this.top=n,this.width=i,this.height=s}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,t){return t.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,t,n){if(n.empty){let i=e.coordsAtPos(n.head,n.assoc||1);if(!i)return[];let s=HS(e);return[new Sd(t,i.left-s.left,i.top-s.top,null,i.bottom-i.top)]}else return jF(e,t,n)}}function HS(r){let e=r.scrollDOM.getBoundingClientRect();return{left:(r.textDirection==no.LTR?e.left:e.right-r.scrollDOM.clientWidth*r.scaleX)-r.scrollDOM.scrollLeft*r.scaleX,top:e.top-r.scrollDOM.scrollTop*r.scaleY}}function Sx(r,e,t){let n=Pr.cursor(e);return{from:Math.max(t.from,r.moveToLineBoundary(n,!1,!0).from),to:Math.min(t.to,r.moveToLineBoundary(n,!0,!0).from),type:da.Text}}function jF(r,e,t){if(t.to<=r.viewport.from||t.from>=r.viewport.to)return[];let n=Math.max(t.from,r.viewport.from),i=Math.min(t.to,r.viewport.to),s=r.textDirection==no.LTR,a=r.contentDOM,l=a.getBoundingClientRect(),p=HS(r),m=a.querySelector(".cm-line"),g=m&&window.getComputedStyle(m),b=l.left+(g?parseInt(g.paddingLeft)+Math.min(0,parseInt(g.textIndent)):0),S=l.right-(g?parseInt(g.paddingRight):0),$=zy(r,n),G=zy(r,i),be=$.type==da.Text?$:null,ke=G.type==da.Text?G:null;if(be&&(r.lineWrapping||$.widgetLineBreaks)&&(be=Sx(r,n,be)),ke&&(r.lineWrapping||G.widgetLineBreaks)&&(ke=Sx(r,i,ke)),be&&ke&&be.from==ke.from)return Ve(Dt(t.from,t.to,be));{let bt=be?Dt(t.from,null,be):ht($,!1),Yt=ke?Dt(null,t.to,ke):ht(G,!0),ir=[];return(be||$).to<(ke||G).from-(be&&ke?1:0)||$.widgetLineBreaks>1&&bt.bottom+r.defaultLineHeight/2<Yt.top?ir.push(me(b,bt.bottom,S,Yt.top)):bt.bottom<Yt.top&&r.elementAtHeight((bt.bottom+Yt.top)/2).type==da.Text&&(bt.bottom=Yt.top=(bt.bottom+Yt.top)/2),Ve(bt).concat(ir).concat(Ve(Yt))}function me(bt,Yt,ir,qr){return new Sd(e,bt-p.left,Yt-p.top-.01,ir-bt,qr-Yt+.01)}function Ve({top:bt,bottom:Yt,horizontal:ir}){let qr=[];for(let yr=0;yr<ir.length;yr+=2)qr.push(me(ir[yr],bt,ir[yr+1],Yt));return qr}function Dt(bt,Yt,ir){let qr=1e9,yr=-1e9,kr=[];function Zr(Ii,ii,Sn,Wn,jn){let Bn=r.coordsAtPos(Ii,Ii==ir.to?-2:2),$i=r.coordsAtPos(Sn,Sn==ir.from?2:-2);!Bn||!$i||(qr=Math.min(Bn.top,$i.top,qr),yr=Math.max(Bn.bottom,$i.bottom,yr),jn==no.LTR?kr.push(s&&ii?b:Bn.left,s&&Wn?S:$i.right):kr.push(!s&&Wn?b:$i.left,!s&&ii?S:Bn.right))}let zn=bt??ir.from,Gn=Yt??ir.to;for(let Ii of r.visibleRanges)if(Ii.to>zn&&Ii.from<Gn)for(let ii=Math.max(Ii.from,zn),Sn=Math.min(Ii.to,Gn);;){let Wn=r.state.doc.lineAt(ii);for(let jn of r.bidiSpans(Wn)){let Bn=jn.from+Wn.from,$i=jn.to+Wn.from;if(Bn>=Sn)break;$i>ii&&Zr(Math.max(Bn,ii),bt==null&&Bn<=zn,Math.min($i,Sn),Yt==null&&$i>=Gn,jn.dir)}if(ii=Wn.to+1,ii>=Sn)break}return kr.length==0&&Zr(zn,bt==null,Gn,Yt==null,r.textDirection),{top:qr,bottom:yr,horizontal:kr}}function ht(bt,Yt){let ir=l.top+(Yt?bt.top:bt.bottom);return{top:ir,bottom:ir,horizontal:[]}}}function LF(r,e){return r.constructor==e.constructor&&r.eq(e)}class XF{constructor(e,t){this.view=e,this.layer=t,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),t.above&&this.dom.classList.add("cm-layer-above"),t.class&&this.dom.classList.add(t.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),t.mount&&t.mount(this.dom,e)}update(e){e.startState.facet(Sm)!=e.state.facet(Sm)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}setOrder(e){let t=0,n=e.facet(Sm);for(;t<n.length&&n[t]!=this.layer;)t++;this.dom.style.zIndex=String((this.layer.above?150:-1)-t)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:e,scaleY:t}=this.view;(e!=this.scaleX||t!=this.scaleY)&&(this.scaleX=e,this.scaleY=t,this.dom.style.transform=`scale(${1/e}, ${1/t})`)}draw(e){if(e.length!=this.drawn.length||e.some((t,n)=>!LF(t,this.drawn[n]))){let t=this.dom.firstChild,n=0;for(let i of e)i.update&&t&&i.constructor&&this.drawn[n].constructor&&i.update(t,this.drawn[n])?(t=t.nextSibling,n++):this.dom.insertBefore(i.draw(),t);for(;t;){let i=t.nextSibling;t.remove(),t=i}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const Sm=qn.define();function JS(r){return[bo.define(e=>new XF(e,r)),Sm.of(r)]}const KS=!oi.ios,rd=qn.define({combine(r){return Sl(r,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,t)=>Math.min(e,t),drawRangeCursor:(e,t)=>e||t})}});function VF(r={}){return[rd.of(r),UF,qF,zF,vS.of(!0)]}function e2(r){return r.startState.facet(rd)!=r.state.facet(rd)}const UF=JS({above:!0,markers(r){let{state:e}=r,t=e.facet(rd),n=[];for(let i of e.selection.ranges){let s=i==e.selection.main;if(i.empty?!s||KS:t.drawRangeCursor){let a=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",l=i.empty?i:Pr.cursor(i.head,i.head>i.anchor?-1:1);for(let p of Sd.forRange(r,a,l))n.push(p)}}return n},update(r,e){r.transactions.some(n=>n.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let t=e2(r);return t&&Ex(r.state,e),r.docChanged||r.selectionSet||t},mount(r,e){Ex(e.state,r)},class:"cm-cursorLayer"});function Ex(r,e){e.style.animationDuration=r.facet(rd).cursorBlinkRate+"ms"}const qF=JS({above:!1,markers(r){return r.state.selection.ranges.map(e=>e.empty?[]:Sd.forRange(r,"cm-selectionBackground",e)).reduce((e,t)=>e.concat(t))},update(r,e){return r.docChanged||r.selectionSet||r.viewportChanged||e2(r)},class:"cm-selectionLayer"}),t2={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};KS&&(t2[".cm-line"].caretColor="transparent !important");const zF=Jh.highest(Qn.theme(t2)),r2=Qi.define({map(r,e){return r==null?null:e.mapPos(r)}}),Pf=Po.define({create(){return null},update(r,e){return r!=null&&(r=e.changes.mapPos(r)),e.effects.reduce((t,n)=>n.is(r2)?n.value:t,r)}}),WF=bo.fromClass(class{constructor(r){this.view=r,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(r){var e;let t=r.state.field(Pf);t==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(r.startState.field(Pf)!=t||r.docChanged||r.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:r}=this,e=r.state.field(Pf),t=e!=null&&r.coordsAtPos(e);if(!t)return null;let n=r.scrollDOM.getBoundingClientRect();return{left:t.left-n.left+r.scrollDOM.scrollLeft*r.scaleX,top:t.top-n.top+r.scrollDOM.scrollTop*r.scaleY,height:t.bottom-t.top}}drawCursor(r){if(this.cursor){let{scaleX:e,scaleY:t}=this.view;r?(this.cursor.style.left=r.left/e+"px",this.cursor.style.top=r.top/t+"px",this.cursor.style.height=r.height/t+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(r){this.view.state.field(Pf)!=r&&this.view.dispatch({effects:r2.of(r)})}},{eventObservers:{dragover(r){this.setDropPos(this.view.posAtCoords({x:r.clientX,y:r.clientY}))},dragleave(r){(r.target==this.view.contentDOM||!this.view.contentDOM.contains(r.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function ZF(){return[Pf,WF]}function wx(r,e,t,n,i){e.lastIndex=0;for(let s=r.iterRange(t,n),a=t,l;!s.next().done;a+=s.value.length)if(!s.lineBreak)for(;l=e.exec(s.value);)i(a+l.index,l)}function YF(r,e){let t=r.visibleRanges;if(t.length==1&&t[0].from==r.viewport.from&&t[0].to==r.viewport.to)return t;let n=[];for(let{from:i,to:s}of t)i=Math.max(r.state.doc.lineAt(i).from,i-e),s=Math.min(r.state.doc.lineAt(s).to,s+e),n.length&&n[n.length-1].to>=i?n[n.length-1].to=s:n.push({from:i,to:s});return n}class GF{constructor(e){const{regexp:t,decoration:n,decorate:i,boundary:s,maxLength:a=1e3}=e;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,i)this.addMatch=(l,p,m,g)=>i(g,m,m+l[0].length,l,p);else if(typeof n=="function")this.addMatch=(l,p,m,g)=>{let b=n(l,p,m);b&&g(m,m+l[0].length,b)};else if(n)this.addMatch=(l,p,m,g)=>g(m,m+l[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=a}createDeco(e){let t=new Kc,n=t.add.bind(t);for(let{from:i,to:s}of YF(e,this.maxLength))wx(e.state.doc,this.regexp,i,s,(a,l)=>this.addMatch(l,e,a,n));return t.finish()}updateDeco(e,t){let n=1e9,i=-1;return e.docChanged&&e.changes.iterChanges((s,a,l,p)=>{p>e.view.viewport.from&&l<e.view.viewport.to&&(n=Math.min(l,n),i=Math.max(p,i))}),e.viewportChanged||i-n>1e3?this.createDeco(e.view):i>-1?this.updateRange(e.view,t.map(e.changes),n,i):t}updateRange(e,t,n,i){for(let s of e.visibleRanges){let a=Math.max(s.from,n),l=Math.min(s.to,i);if(l>a){let p=e.state.doc.lineAt(a),m=p.to<l?e.state.doc.lineAt(l):p,g=Math.max(s.from,p.from),b=Math.min(s.to,m.to);if(this.boundary){for(;a>p.from;a--)if(this.boundary.test(p.text[a-1-p.from])){g=a;break}for(;l<m.to;l++)if(this.boundary.test(m.text[l-m.from])){b=l;break}}let S=[],$,G=(be,ke,me)=>S.push(me.range(be,ke));if(p==m)for(this.regexp.lastIndex=g-p.from;($=this.regexp.exec(p.text))&&$.index<b-p.from;)this.addMatch($,e,$.index+p.from,G);else wx(e.state.doc,this.regexp,g,b,(be,ke)=>this.addMatch(ke,e,be,G));t=t.update({filterFrom:g,filterTo:b,filter:(be,ke)=>be<g||ke>b,add:S})}}return t}}const Hy=/x/.unicode!=null?"gu":"g",HF=new RegExp(`[\0-\b
|
||
--\u2028\u2029\uFEFF-]`,Hy),JF={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let $0=null;function KF(){var r;if($0==null&&typeof document<"u"&&document.body){let e=document.body.style;$0=((r=e.tabSize)!==null&&r!==void 0?r:e.MozTabSize)!=null}return $0||!1}const Em=qn.define({combine(r){let e=Sl(r,{render:null,specialChars:HF,addSpecialChars:null});return(e.replaceTabs=!KF())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,Hy)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,Hy)),e}});function e3(r={}){return[Em.of(r),t3()]}let Ax=null;function t3(){return Ax||(Ax=bo.fromClass(class{constructor(r){this.view=r,this.decorations=_i.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(r.state.facet(Em)),this.decorations=this.decorator.createDeco(r)}makeDecorator(r){return new GF({regexp:r.specialChars,decoration:(e,t,n)=>{let{doc:i}=t.state,s=Uo(e[0],0);if(s==9){let a=i.lineAt(n),l=t.state.tabSize,p=xd(a.text,l,n-a.from);return _i.replace({widget:new s3((l-p%l)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=_i.replace({widget:new i3(r,s)}))},boundary:r.replaceTabs?void 0:/[^]/})}update(r){let e=r.state.facet(Em);r.startState.facet(Em)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(r.view)):this.decorations=this.decorator.updateDeco(r,this.decorations)}},{decorations:r=>r.decorations}))}const r3="•";function n3(r){return r>=32?r3:r==10?"":String.fromCharCode(9216+r)}class i3 extends oh{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=n3(this.code),n=e.state.phrase("Control character")+" "+(JF[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,n,t);if(i)return i;let s=document.createElement("span");return s.textContent=t,s.title=n,s.setAttribute("aria-label",n),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class s3 extends oh{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function o3(){return u3}const a3=_i.line({class:"cm-activeLine"}),u3=bo.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.docChanged||r.selectionSet)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=-1,t=[];for(let n of r.state.selection.ranges){let i=r.lineBlockAt(n.head);i.from>e&&(t.push(a3.range(i.from)),e=i.from)}return _i.set(t)}},{decorations:r=>r.decorations}),Jy=2e3;function l3(r,e,t){let n=Math.min(e.line,t.line),i=Math.max(e.line,t.line),s=[];if(e.off>Jy||t.off>Jy||e.col<0||t.col<0){let a=Math.min(e.off,t.off),l=Math.max(e.off,t.off);for(let p=n;p<=i;p++){let m=r.doc.line(p);m.length<=l&&s.push(Pr.range(m.from+a,m.to+l))}}else{let a=Math.min(e.col,t.col),l=Math.max(e.col,t.col);for(let p=n;p<=i;p++){let m=r.doc.line(p),g=Fy(m.text,a,r.tabSize,!0);if(g<0)s.push(Pr.cursor(m.to));else{let b=Fy(m.text,l,r.tabSize);s.push(Pr.range(m.from+g,m.from+b))}}}return s}function c3(r,e){let t=r.coordsAtPos(r.viewport.from);return t?Math.round(Math.abs((t.left-e)/r.defaultCharacterWidth)):-1}function Tx(r,e){let t=r.posAtCoords({x:e.clientX,y:e.clientY},!1),n=r.state.doc.lineAt(t),i=t-n.from,s=i>Jy?-1:i==n.length?c3(r,e.clientX):xd(n.text,r.state.tabSize,t-n.from);return{line:n.number,col:s,off:i}}function h3(r,e){let t=Tx(r,e),n=r.state.selection;return t?{update(i){if(i.docChanged){let s=i.changes.mapPos(i.startState.doc.line(t.line).from),a=i.state.doc.lineAt(s);t={line:a.number,col:t.col,off:Math.min(t.off,a.length)},n=n.map(i.changes)}},get(i,s,a){let l=Tx(r,i);if(!l)return n;let p=l3(r.state,t,l);return p.length?a?Pr.create(p.concat(n.ranges)):Pr.create(p):n}}:null}function p3(r){let e=(r==null?void 0:r.eventFilter)||(t=>t.altKey&&t.button==0);return Qn.mouseSelectionStyle.of((t,n)=>e(n)?h3(t,n):null)}const f3={Alt:[18,r=>!!r.altKey],Control:[17,r=>!!r.ctrlKey],Shift:[16,r=>!!r.shiftKey],Meta:[91,r=>!!r.metaKey]},d3={style:"cursor: crosshair"};function m3(r={}){let[e,t]=f3[r.key||"Alt"],n=bo.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventObservers:{keydown(i){this.set(i.keyCode==e||t(i))},keyup(i){(i.keyCode==e||!t(i))&&this.set(!1)},mousemove(i){this.set(t(i))}}});return[n,Qn.contentAttributes.of(i=>{var s;return!((s=i.plugin(n))===null||s===void 0)&&s.isDown?d3:null})]}const em="-10000px";class n2{constructor(e,t,n){this.facet=t,this.createTooltipView=n,this.input=e.state.facet(t),this.tooltips=this.input.filter(i=>i),this.tooltipViews=this.tooltips.map(n)}update(e){var t;let n=e.state.facet(this.facet),i=n.filter(a=>a);if(n===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let s=[];for(let a=0;a<i.length;a++){let l=i[a],p=-1;if(l){for(let m=0;m<this.tooltips.length;m++){let g=this.tooltips[m];g&&g.create==l.create&&(p=m)}if(p<0)s[a]=this.createTooltipView(l);else{let m=s[a]=this.tooltipViews[p];m.update&&m.update(e)}}}for(let a of this.tooltipViews)s.indexOf(a)<0&&(a.dom.remove(),(t=a.destroy)===null||t===void 0||t.call(a));return this.input=n,this.tooltips=i,this.tooltipViews=s,!0}}function g3(r){let{win:e}=r;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const B0=qn.define({combine:r=>{var e,t,n;return{position:oi.ios?"absolute":((e=r.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((t=r.find(i=>i.parent))===null||t===void 0?void 0:t.parent)||null,tooltipSpace:((n=r.find(i=>i.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||g3}}}),Px=new WeakMap,i2=bo.fromClass(class{constructor(r){this.view=r,this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=r.state.facet(B0);this.position=e.position,this.parent=e.parent,this.classes=r.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new n2(r,sO,t=>this.createTooltip(t)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(t=>{Date.now()>this.lastTransaction-50&&t.length>0&&t[t.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),r.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let r of this.manager.tooltipViews)this.intersectionObserver.observe(r.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(r){r.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(r);e&&this.observeIntersection();let t=e||r.geometryChanged,n=r.state.facet(B0);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;t=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);t=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);t&&this.maybeMeasure()}createTooltip(r){let e=r.create(this.view);if(e.dom.classList.add("cm-tooltip"),r.arrow&&!e.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let t=document.createElement("div");t.className="cm-tooltip-arrow",e.dom.appendChild(t)}return e.dom.style.position=this.position,e.dom.style.top=em,this.container.appendChild(e.dom),e.mount&&e.mount(this.view),e}destroy(){var r,e;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),(r=t.destroy)===null||r===void 0||r.call(t);(e=this.intersectionObserver)===null||e===void 0||e.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let r=this.view.dom.getBoundingClientRect(),e=1,t=1,n=!1;if(this.position=="fixed"){let i=this.manager.tooltipViews;n=i.length>0&&i[0].dom.offsetParent!=this.container.ownerDocument.body}if(n||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(e=i.width/this.parent.offsetWidth,t=i.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);return{editor:r,parent:this.parent?this.container.getBoundingClientRect():r,pos:this.manager.tooltips.map((i,s)=>{let a=this.manager.tooltipViews[s];return a.getCoords?a.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(B0).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:n}}writeMeasure(r){var e;if(r.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{editor:t,space:n,scaleX:i,scaleY:s}=r,a=[];for(let l=0;l<this.manager.tooltips.length;l++){let p=this.manager.tooltips[l],m=this.manager.tooltipViews[l],{dom:g}=m,b=r.pos[l],S=r.size[l];if(!b||b.bottom<=Math.max(t.top,n.top)||b.top>=Math.min(t.bottom,n.bottom)||b.right<Math.max(t.left,n.left)-.1||b.left>Math.min(t.right,n.right)+.1){g.style.top=em;continue}let $=p.arrow?m.dom.querySelector(".cm-tooltip-arrow"):null,G=$?7:0,be=S.right-S.left,ke=(e=Px.get(m))!==null&&e!==void 0?e:S.bottom-S.top,me=m.offset||D3,Ve=this.view.textDirection==no.LTR,Dt=S.width>n.right-n.left?Ve?n.left:n.right-S.width:Ve?Math.min(b.left-($?14:0)+me.x,n.right-be):Math.max(n.left,b.left-be+($?14:0)-me.x),ht=!!p.above;!p.strictSide&&(ht?b.top-(S.bottom-S.top)-me.y<n.top:b.bottom+(S.bottom-S.top)+me.y>n.bottom)&&ht==n.bottom-b.bottom>b.top-n.top&&(ht=!ht);let bt=(ht?b.top-n.top:n.bottom-b.bottom)-G;if(bt<ke&&m.resize!==!1){if(bt<this.view.defaultLineHeight){g.style.top=em;continue}Px.set(m,ke),g.style.height=(ke=bt)/s+"px"}else g.style.height&&(g.style.height="");let Yt=ht?b.top-ke-G-me.y:b.bottom+G+me.y,ir=Dt+be;if(m.overlap!==!0)for(let qr of a)qr.left<ir&&qr.right>Dt&&qr.top<Yt+ke&&qr.bottom>Yt&&(Yt=ht?qr.top-ke-2-G:qr.bottom+G+2);if(this.position=="absolute"?(g.style.top=(Yt-r.parent.top)/s+"px",g.style.left=(Dt-r.parent.left)/i+"px"):(g.style.top=Yt/s+"px",g.style.left=Dt/i+"px"),$){let qr=b.left+(Ve?me.x:-me.x)-(Dt+14-7);$.style.left=qr/i+"px"}m.overlap!==!0&&a.push({left:Dt,top:Yt,right:ir,bottom:Yt+ke}),g.classList.toggle("cm-tooltip-above",ht),g.classList.toggle("cm-tooltip-below",!ht),m.positioned&&m.positioned(r.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let r of this.manager.tooltipViews)r.dom.style.top=em}},{eventObservers:{scroll(){this.maybeMeasure()}}}),y3=Qn.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),D3={x:0,y:0},sO=qn.define({enables:[i2,y3]}),Gm=qn.define();class oO{static create(e){return new oO(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new n2(e,Gm,t=>this.createHostedView(t))}createHostedView(e){let t=e.create(this.view);return t.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(t.dom),this.mounted&&t.mount&&t.mount(this.view),t}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)(e=t.destroy)===null||e===void 0||e.call(t)}}const O3=sO.compute([Gm],r=>{let e=r.facet(Gm).filter(t=>t);return e.length===0?null:{pos:Math.min(...e.map(t=>t.pos)),end:Math.max(...e.filter(t=>t.end!=null).map(t=>t.end)),create:oO.create,above:e[0].above,arrow:e.some(t=>t.arrow)}});class x3{constructor(e,t,n,i,s){this.view=e,this.source=t,this.field=n,this.setHover=i,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:t}=this,n=e.docView.nearest(t.target);if(!n)return;let i,s=1;if(n instanceof Vc)i=n.posAtStart;else{if(i=e.posAtCoords(t),i==null)return;let l=e.coordsAtPos(i);if(!l||t.y<l.top||t.y>l.bottom||t.x<l.left-e.defaultCharacterWidth||t.x>l.right+e.defaultCharacterWidth)return;let p=e.bidiSpans(e.state.doc.lineAt(i)).find(g=>g.from<=i&&g.to>=i),m=p&&p.dir==no.RTL?-1:1;s=t.x<l.left?-m:m}let a=this.source(e,i,s);if(a!=null&&a.then){let l=this.pending={pos:i};a.then(p=>{this.pending==l&&(this.pending=null,p&&e.dispatch({effects:this.setHover.of(p)}))},p=>wu(e.state,p,"hover tooltip"))}else a&&e.dispatch({effects:this.setHover.of(a)})}mousemove(e){var t;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let n=this.active;if(n&&!kx(this.lastMove.target)||this.pending){let{pos:i}=n||this.pending,s=(t=n==null?void 0:n.end)!==null&&t!==void 0?t:i;(i==s?this.view.posAtCoords(this.lastMove)!=i:!b3(this.view,i,s,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1,this.active&&!kx(e.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}function kx(r){for(let e=r;e;e=e.parentNode)if(e.nodeType==1&&e.classList.contains("cm-tooltip"))return!0;return!1}function b3(r,e,t,n,i,s){let a=r.scrollDOM.getBoundingClientRect(),l=r.documentTop+r.documentPadding.top+r.contentHeight;if(a.left>n||a.right<n||a.top>i||Math.min(a.bottom,l)<i)return!1;let p=r.posAtCoords({x:n,y:i},!1);return p>=e&&p<=t}function v3(r,e={}){let t=Qi.define(),n=Po.define({create(){return null},update(i,s){if(i&&(e.hideOnChange&&(s.docChanged||s.selection)||e.hideOn&&e.hideOn(s,i)))return null;if(i&&s.docChanged){let a=s.changes.mapPos(i.pos,-1,zo.TrackDel);if(a==null)return null;let l=Object.assign(Object.create(null),i);l.pos=a,i.end!=null&&(l.end=s.changes.mapPos(i.end)),i=l}for(let a of s.effects)a.is(t)&&(i=a.value),a.is(C3)&&(i=null);return i},provide:i=>Gm.from(i)});return[n,bo.define(i=>new x3(i,r,n,t,e.hoverTime||300)),O3]}function s2(r,e){let t=r.plugin(i2);if(!t)return null;let n=t.manager.tooltips.indexOf(e);return n<0?null:t.manager.tooltipViews[n]}const C3=Qi.define(),Fx=qn.define({combine(r){let e,t;for(let n of r)e=e||n.topContainer,t=t||n.bottomContainer;return{topContainer:e,bottomContainer:t}}});function nd(r,e){let t=r.plugin(o2),n=t?t.specs.indexOf(e):-1;return n>-1?t.panels[n]:null}const o2=bo.fromClass(class{constructor(r){this.input=r.state.facet(id),this.specs=this.input.filter(t=>t),this.panels=this.specs.map(t=>t(r));let e=r.state.facet(Fx);this.top=new tm(r,!0,e.topContainer),this.bottom=new tm(r,!1,e.bottomContainer),this.top.sync(this.panels.filter(t=>t.top)),this.bottom.sync(this.panels.filter(t=>!t.top));for(let t of this.panels)t.dom.classList.add("cm-panel"),t.mount&&t.mount()}update(r){let e=r.state.facet(Fx);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new tm(r.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new tm(r.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let t=r.state.facet(id);if(t!=this.input){let n=t.filter(p=>p),i=[],s=[],a=[],l=[];for(let p of n){let m=this.specs.indexOf(p),g;m<0?(g=p(r.view),l.push(g)):(g=this.panels[m],g.update&&g.update(r)),i.push(g),(g.top?s:a).push(g)}this.specs=n,this.panels=i,this.top.sync(s),this.bottom.sync(a);for(let p of l)p.dom.classList.add("cm-panel"),p.mount&&p.mount()}else for(let n of this.panels)n.update&&n.update(r)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:r=>Qn.scrollMargins.of(e=>{let t=e.plugin(r);return t&&{top:t.top.scrollMargin(),bottom:t.bottom.scrollMargin()}})});class tm{constructor(e,t,n){this.view=e,this.top=t,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let t=this.container||this.view.dom;t.insertBefore(this.dom,this.top?t.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=_x(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=_x(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function _x(r){let e=r.nextSibling;return r.remove(),e}const id=qn.define({enables:o2});class sc extends Uh{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}sc.prototype.elementClass="";sc.prototype.toDOM=void 0;sc.prototype.mapMode=zo.TrackBefore;sc.prototype.startSide=sc.prototype.endSide=-1;sc.prototype.point=!0;const wm=qn.define(),S3={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Ss.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Mf=qn.define();function E3(r){return[a2(),Mf.of(Object.assign(Object.assign({},S3),r))]}const Ky=qn.define({combine:r=>r.some(e=>e)});function a2(r){let e=[w3];return r&&r.fixed===!1&&e.push(Ky.of(!0)),e}const w3=bo.fromClass(class{constructor(r){this.view=r,this.prevViewport=r.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=r.state.facet(Mf).map(e=>new Bx(r,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!r.state.facet(Ky),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),r.scrollDOM.insertBefore(this.dom,r.contentDOM)}update(r){if(this.updateGutters(r)){let e=this.prevViewport,t=r.view.viewport,n=Math.min(e.to,t.to)-Math.max(e.from,t.from);this.syncGutters(n<(t.to-t.from)*.8)}r.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Ky)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=r.view.viewport}syncGutters(r){let e=this.dom.nextSibling;r&&this.dom.remove();let t=Ss.iter(this.view.state.facet(wm),this.view.viewport.from),n=[],i=this.gutters.map(s=>new A3(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(s.type)){let a=!0;for(let l of s.type)if(l.type==da.Text&&a){eD(t,n,l.from);for(let p of i)p.line(this.view,l,n);a=!1}else if(l.widget)for(let p of i)p.widget(this.view,l)}else if(s.type==da.Text){eD(t,n,s.from);for(let a of i)a.line(this.view,s,n)}else if(s.widget)for(let a of i)a.widget(this.view,s);for(let s of i)s.finish();r&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(r){let e=r.startState.facet(Mf),t=r.state.facet(Mf),n=r.docChanged||r.heightChanged||r.viewportChanged||!Ss.eq(r.startState.facet(wm),r.state.facet(wm),r.view.viewport.from,r.view.viewport.to);if(e==t)for(let i of this.gutters)i.update(r)&&(n=!0);else{n=!0;let i=[];for(let s of t){let a=e.indexOf(s);a<0?i.push(new Bx(this.view,s)):(this.gutters[a].update(r),i.push(this.gutters[a]))}for(let s of this.gutters)s.dom.remove(),i.indexOf(s)<0&&s.destroy();for(let s of i)this.dom.appendChild(s.dom);this.gutters=i}return n}destroy(){for(let r of this.gutters)r.destroy();this.dom.remove()}},{provide:r=>Qn.scrollMargins.of(e=>{let t=e.plugin(r);return!t||t.gutters.length==0||!t.fixed?null:e.textDirection==no.LTR?{left:t.dom.offsetWidth*e.scaleX}:{right:t.dom.offsetWidth*e.scaleX}})});function $x(r){return Array.isArray(r)?r:[r]}function eD(r,e,t){for(;r.value&&r.from<=t;)r.from==t&&e.push(r.value),r.next()}class A3{constructor(e,t,n){this.gutter=e,this.height=n,this.i=0,this.cursor=Ss.iter(e.markers,t.from)}addElement(e,t,n){let{gutter:i}=this,s=t.top-this.height;if(this.i==i.elements.length){let a=new u2(e,t.height,s,n);i.elements.push(a),i.dom.appendChild(a.dom)}else i.elements[this.i].update(e,t.height,s,n);this.height=t.bottom,this.i++}line(e,t,n){let i=[];eD(this.cursor,i,t.from),n.length&&(i=i.concat(n));let s=this.gutter.config.lineMarker(e,t,i);s&&i.unshift(s);let a=this.gutter;i.length==0&&!a.config.renderEmptyElements||this.addElement(e,t,i)}widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t);n&&this.addElement(e,t,[n])}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}}class Bx{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in t.domEventHandlers)this.dom.addEventListener(n,i=>{let s=i.target,a;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let p=s.getBoundingClientRect();a=(p.top+p.bottom)/2}else a=i.clientY;let l=e.lineBlockAtHeight(a-e.documentTop);t.domEventHandlers[n](e,l,i)&&i.preventDefault()});this.markers=$x(t.markers(e)),t.initialSpacer&&(this.spacer=new u2(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=$x(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let n=e.view.viewport;return!Ss.eq(this.markers,t,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class u2{constructor(e,t,n,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,n,i)}update(e,t,n,i){this.height!=t&&(this.height=t,this.dom.style.height=t/e.scaleY+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n/e.scaleY+"px":""),T3(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,t){let n="cm-gutterElement",i=this.dom.firstChild;for(let s=0,a=0;;){let l=a,p=s<t.length?t[s++]:null,m=!1;if(p){let g=p.elementClass;g&&(n+=" "+g);for(let b=a;b<this.markers.length;b++)if(this.markers[b].compare(p)){l=b,m=!0;break}}else l=this.markers.length;for(;a<l;){let g=this.markers[a++];if(g.toDOM){g.destroy(i);let b=i.nextSibling;i.remove(),i=b}}if(!p)break;p.toDOM&&(m?i=i.nextSibling:this.dom.insertBefore(p.toDOM(e),i)),m&&a++}this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}function T3(r,e){if(r.length!=e.length)return!1;for(let t=0;t<r.length;t++)if(!r[t].compare(e[t]))return!1;return!0}const P3=qn.define(),Pp=qn.define({combine(r){return Sl(r,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let n=Object.assign({},e);for(let i in t){let s=n[i],a=t[i];n[i]=s?(l,p,m)=>s(l,p,m)||a(l,p,m):a}return n}})}});class N0 extends sc{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function I0(r,e){return r.state.facet(Pp).formatNumber(e,r.state)}const k3=Mf.compute([Pp],r=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(P3)},lineMarker(e,t,n){return n.some(i=>i.toDOM)?null:new N0(I0(e,e.state.doc.lineAt(t.from).number))},widgetMarker:()=>null,lineMarkerChange:e=>e.startState.facet(Pp)!=e.state.facet(Pp),initialSpacer(e){return new N0(I0(e,Nx(e.state.doc.lines)))},updateSpacer(e,t){let n=I0(t.view,Nx(t.view.state.doc.lines));return n==e.number?e:new N0(n)},domEventHandlers:r.facet(Pp).domEventHandlers}));function F3(r={}){return[Pp.of(r),a2(),k3]}function Nx(r){let e=9;for(;e<r;)e=e*10+9;return e}const _3=new class extends sc{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},$3=wm.compute(["selection"],r=>{let e=[],t=-1;for(let n of r.selection.ranges){let i=r.doc.lineAt(n.head).from;i>t&&(t=i,e.push(_3.range(i)))}return Ss.of(e)});function B3(){return $3}function Ed(r){return Wv()?(EA(r),!0):!1}function Rf(){const r=new Set,e=i=>{r.delete(i)};return{on:i=>{r.add(i);const s=()=>e(i);return Ed(s),{off:s}},off:e,trigger:(...i)=>Promise.all(Array.from(r).map(s=>s(...i)))}}function Oo(r){return typeof r=="function"?r():wi(r)}const aO=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const N3=r=>typeof r<"u",I3=Object.prototype.toString,M3=r=>I3.call(r)==="[object Object]",zh=()=>{};function uO(r,e){function t(...n){return new Promise((i,s)=>{Promise.resolve(r(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})).then(i).catch(s)})}return t}const l2=r=>r();function R3(r,e={}){let t,n,i=zh;const s=l=>{clearTimeout(l),i(),i=zh};return l=>{const p=Oo(r),m=Oo(e.maxWait);return t&&s(t),p<=0||m!==void 0&&m<=0?(n&&(s(n),n=null),Promise.resolve(l())):new Promise((g,b)=>{i=e.rejectOnCancel?b:g,m&&!n&&(n=setTimeout(()=>{t&&s(t),n=null,g(l())},m)),t=setTimeout(()=>{n&&s(n),n=null,g(l())},p)})}}function Q3(r,e=!0,t=!0,n=!1){let i=0,s,a=!0,l=zh,p;const m=()=>{s&&(clearTimeout(s),s=void 0,l(),l=zh)};return b=>{const S=Oo(r),$=Date.now()-i,G=()=>p=b();return m(),S<=0?(i=Date.now(),G()):($>S&&(t||!a)?(i=Date.now(),G()):e&&(p=new Promise((be,ke)=>{l=n?ke:be,s=setTimeout(()=>{i=Date.now(),a=!0,be(G()),m()},Math.max(0,S-$))})),!t&&!s&&(s=setTimeout(()=>a=!0,S)),a=!1,p)}}function j3(r=l2){const e=Zs(!0);function t(){e.value=!1}function n(){e.value=!0}const i=(...s)=>{e.value&&r(...s)};return{isActive:Od(e),pause:t,resume:n,eventFilter:i}}function Ix(r,e=!1,t="Timeout"){return new Promise((n,i)=>{setTimeout(e?()=>i(t):n,r)})}function L3(r){let e;function t(){return e||(e=r()),e}return t.reset=async()=>{const n=e;e=void 0,n&&await n},t}function X3(r,...e){return e.some(t=>t in r)}function V3(r){return r||zD()}function Am(...r){if(r.length!==1)return eT(...r);const e=r[0];return typeof e=="function"?Od(GA(()=>({get:e,set:zh}))):Zs(e)}function U3(r,e=200,t={}){return uO(R3(e,t),r)}function q3(r,e=200,t={}){const n=Zs(r.value),i=U3(()=>{n.value=r.value},e,t);return Ro(r,()=>i()),n}function z3(r,e=200,t=!1,n=!0,i=!1){return uO(Q3(e,t,n,i),r)}function W3(r,e,t={}){const{eventFilter:n=l2,...i}=t;return Ro(r,uO(n,e),i)}function Z3(r,e,t={}){const{eventFilter:n,...i}=t,{eventFilter:s,pause:a,resume:l,isActive:p}=j3(n);return{stop:W3(r,e,{...i,eventFilter:s}),pause:a,resume:l,isActive:p}}function c2(r,e=!0,t){V3()?Ng(r,t):e?r():Hh(r)}function tD(r,e=!1){function t(b,{flush:S="sync",deep:$=!1,timeout:G,throwOnTimeout:be}={}){let ke=null;const Ve=[new Promise(Dt=>{ke=Ro(r,ht=>{b(ht)!==e&&(ke==null||ke(),Dt(ht))},{flush:S,deep:$,immediate:!0})})];return G!=null&&Ve.push(Ix(G,be).then(()=>Oo(r)).finally(()=>ke==null?void 0:ke())),Promise.race(Ve)}function n(b,S){if(!Hs(b))return t(ht=>ht===b,S);const{flush:$="sync",deep:G=!1,timeout:be,throwOnTimeout:ke}=S??{};let me=null;const Dt=[new Promise(ht=>{me=Ro([r,b],([bt,Yt])=>{e!==(bt===Yt)&&(me==null||me(),ht(bt))},{flush:$,deep:G,immediate:!0})})];return be!=null&&Dt.push(Ix(be,ke).then(()=>Oo(r)).finally(()=>(me==null||me(),Oo(r)))),Promise.race(Dt)}function i(b){return t(S=>!!S,b)}function s(b){return n(null,b)}function a(b){return n(void 0,b)}function l(b){return t(Number.isNaN,b)}function p(b,S){return t($=>{const G=Array.from($);return G.includes(b)||G.includes(Oo(b))},S)}function m(b){return g(1,b)}function g(b=1,S){let $=-1;return t(()=>($+=1,$>=b),S)}return Array.isArray(Oo(r))?{toMatch:t,toContains:p,changed:m,changedTimes:g,get not(){return tD(r,!e)}}:{toMatch:t,toBe:n,toBeTruthy:i,toBeNull:s,toBeNaN:l,toBeUndefined:a,changed:m,changedTimes:g,get not(){return tD(r,!e)}}}function Y3(r){return tD(r)}function h2(r,e,t={}){const{immediate:n=!0}=t,i=Zs(!1);let s=null;function a(){s&&(clearTimeout(s),s=null)}function l(){i.value=!1,a()}function p(...m){a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,r(...m)},Oo(e))}return n&&(i.value=!0,aO&&p()),Ed(l),{isPending:Od(i),start:p,stop:l}}function Z7(r,e,t){let n;Hs(t)?n={evaluating:t}:n=t||{};const{lazy:i=!1,evaluating:s=void 0,shallow:a=!0,onError:l=zh}=n,p=Zs(!i),m=a?Np(e):Zs(e);let g=0;return gC(async b=>{if(!p.value)return;g++;const S=g;let $=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const G=await r(be=>{b(()=>{s&&(s.value=!1),$||be()})});S===g&&(m.value=G)}catch(G){l(G)}finally{s&&S===g&&(s.value=!1),$=!0}}),i?as(()=>(p.value=!0,m.value)):m}function sd(r){var e;const t=Oo(r);return(e=t==null?void 0:t.$el)!=null?e:t}const oc=aO?window:void 0,p2=aO?window.navigator:void 0;function od(...r){let e,t,n,i;if(typeof r[0]=="string"||Array.isArray(r[0])?([t,n,i]=r,e=oc):[e,t,n,i]=r,!e)return zh;Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);const s=[],a=()=>{s.forEach(g=>g()),s.length=0},l=(g,b,S,$)=>(g.addEventListener(b,S,$),()=>g.removeEventListener(b,S,$)),p=Ro(()=>[sd(e),Oo(i)],([g,b])=>{if(a(),!g)return;const S=M3(b)?{...b}:b;s.push(...t.flatMap($=>n.map(G=>l(g,$,G,S))))},{immediate:!0,flush:"post"}),m=()=>{p(),a()};return Ed(m),m}function G3(){const r=Zs(!1);return zD()&&Ng(()=>{r.value=!0}),r}function Vg(r){const e=G3();return as(()=>(e.value,!!r()))}function H3(r,e={}){const{window:t=oc}=e,n=Vg(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let i;const s=Zs(!1),a=m=>{s.value=m.matches},l=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",a):i.removeListener(a))},p=gC(()=>{n.value&&(l(),i=t.matchMedia(Oo(r)),"addEventListener"in i?i.addEventListener("change",a):i.addListener(a),s.value=i.matches)});return Ed(()=>{p(),l(),i=void 0}),s}function Mx(r,e={}){const{controls:t=!1,navigator:n=p2}=e,i=Vg(()=>n&&"permissions"in n);let s;const a=typeof r=="string"?{name:r}:r,l=Zs(),p=()=>{s&&(l.value=s.state)},m=L3(async()=>{if(i.value){if(!s)try{s=await n.permissions.query(a),od(s,"change",p),p()}catch{l.value="prompt"}return s}});return m(),t?{state:l,isSupported:i,query:m}:l}function J3(r={}){const{navigator:e=p2,read:t=!1,source:n,copiedDuring:i=1500,legacy:s=!1}=r,a=Vg(()=>e&&"clipboard"in e),l=Mx("clipboard-read"),p=Mx("clipboard-write"),m=as(()=>a.value||s),g=Zs(""),b=Zs(!1),S=h2(()=>b.value=!1,i);function $(){a.value&&l.value!=="denied"?e.clipboard.readText().then(me=>{g.value=me}):g.value=ke()}m.value&&t&&od(["copy","cut"],$);async function G(me=Oo(n)){m.value&&me!=null&&(a.value&&p.value!=="denied"?await e.clipboard.writeText(me):be(me),g.value=me,b.value=!0,S.start())}function be(me){const Ve=document.createElement("textarea");Ve.value=me??"",Ve.style.position="absolute",Ve.style.opacity="0",document.body.appendChild(Ve),Ve.select(),document.execCommand("copy"),Ve.remove()}function ke(){var me,Ve,Dt;return(Dt=(Ve=(me=document==null?void 0:document.getSelection)==null?void 0:me.call(document))==null?void 0:Ve.toString())!=null?Dt:""}return{isSupported:m,text:g,copied:b,copy:G}}function K3(r){return JSON.parse(JSON.stringify(r))}const rm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},nm="__vueuse_ssr_handlers__",e_=t_();function t_(){return nm in rm||(rm[nm]=rm[nm]||{}),rm[nm]}function f2(r,e){return e_[r]||e}function r_(r){return r==null?"any":r instanceof Set?"set":r instanceof Map?"map":r instanceof Date?"date":typeof r=="boolean"?"boolean":typeof r=="string"?"string":typeof r=="object"?"object":Number.isNaN(r)?"any":"number"}const n_={boolean:{read:r=>r==="true",write:r=>String(r)},object:{read:r=>JSON.parse(r),write:r=>JSON.stringify(r)},number:{read:r=>Number.parseFloat(r),write:r=>String(r)},any:{read:r=>r,write:r=>String(r)},string:{read:r=>r,write:r=>String(r)},map:{read:r=>new Map(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r.entries()))},set:{read:r=>new Set(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r))},date:{read:r=>new Date(r),write:r=>r.toISOString()}},Rx="vueuse-storage";function d2(r,e,t,n={}){var i;const{flush:s="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:p=!0,mergeDefaults:m=!1,shallow:g,window:b=oc,eventFilter:S,onError:$=yr=>{console.error(yr)},initOnMounted:G}=n,be=(g?Np:Zs)(typeof e=="function"?e():e);if(!t)try{t=f2("getDefaultStorage",()=>{var yr;return(yr=oc)==null?void 0:yr.localStorage})()}catch(yr){$(yr)}if(!t)return be;const ke=Oo(e),me=r_(ke),Ve=(i=n.serializer)!=null?i:n_[me],{pause:Dt,resume:ht}=Z3(be,()=>bt(be.value),{flush:s,deep:a,eventFilter:S});return b&&l&&c2(()=>{od(b,"storage",qr),od(b,Rx,ir),G&&qr()}),G||qr(),be;function bt(yr){try{if(yr==null)t.removeItem(r);else{const kr=Ve.write(yr),Zr=t.getItem(r);Zr!==kr&&(t.setItem(r,kr),b&&b.dispatchEvent(new CustomEvent(Rx,{detail:{key:r,oldValue:Zr,newValue:kr,storageArea:t}})))}}catch(kr){$(kr)}}function Yt(yr){const kr=yr?yr.newValue:t.getItem(r);if(kr==null)return p&&ke!=null&&t.setItem(r,Ve.write(ke)),ke;if(!yr&&m){const Zr=Ve.read(kr);return typeof m=="function"?m(Zr,ke):me==="object"&&!Array.isArray(Zr)?{...ke,...Zr}:Zr}else return typeof kr!="string"?kr:Ve.read(kr)}function ir(yr){qr(yr.detail)}function qr(yr){if(!(yr&&yr.storageArea!==t)){if(yr&&yr.key==null){be.value=ke;return}if(!(yr&&yr.key!==r)){Dt();try{(yr==null?void 0:yr.newValue)!==Ve.write(be.value)&&(be.value=Yt(yr))}catch(kr){$(kr)}finally{yr?Hh(ht):ht()}}}}}function m2(r){return H3("(prefers-color-scheme: dark)",r)}function i_(r={}){const{selector:e="html",attribute:t="class",initialValue:n="auto",window:i=oc,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:p,emitAuto:m,disableTransition:g=!0}=r,b={auto:"",light:"light",dark:"dark",...r.modes||{}},S=m2({window:i}),$=as(()=>S.value?"dark":"light"),G=p||(a==null?Am(n):d2(a,n,s,{window:i,listenToStorageChanges:l})),be=as(()=>G.value==="auto"?$.value:G.value),ke=f2("updateHTMLAttrs",(ht,bt,Yt)=>{const ir=typeof ht=="string"?i==null?void 0:i.document.querySelector(ht):sd(ht);if(!ir)return;let qr;if(g){qr=i.document.createElement("style");const yr="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";qr.appendChild(document.createTextNode(yr)),i.document.head.appendChild(qr)}if(bt==="class"){const yr=Yt.split(/\s/g);Object.values(b).flatMap(kr=>(kr||"").split(/\s/g)).filter(Boolean).forEach(kr=>{yr.includes(kr)?ir.classList.add(kr):ir.classList.remove(kr)})}else ir.setAttribute(bt,Yt);g&&(i.getComputedStyle(qr).opacity,document.head.removeChild(qr))});function me(ht){var bt;ke(e,t,(bt=b[ht])!=null?bt:ht)}function Ve(ht){r.onChanged?r.onChanged(ht,me):me(ht)}Ro(be,Ve,{flush:"post",immediate:!0}),c2(()=>Ve(be.value));const Dt=as({get(){return m?G.value:be.value},set(ht){G.value=ht}});try{return Object.assign(Dt,{store:G,system:$,state:be})}catch{return Dt}}function s_(r={}){const{valueDark:e="dark",valueLight:t="",window:n=oc}=r,i=i_({...r,onChanged:(l,p)=>{var m;r.onChanged?(m=r.onChanged)==null||m.call(r,l==="dark",p,l):p(l)},modes:{dark:e,light:t}}),s=as(()=>i.system?i.system.value:m2({window:n}).value?"dark":"light");return as({get(){return i.value==="dark"},set(l){const p=l?"dark":"light";s.value===p?i.value="auto":i.value=p}})}function o_(r,e,t={}){const{window:n=oc,...i}=t;let s;const a=Vg(()=>n&&"ResizeObserver"in n),l=()=>{s&&(s.disconnect(),s=void 0)},p=as(()=>Array.isArray(r)?r.map(b=>sd(b)):[sd(r)]),m=Ro(p,b=>{if(l(),a.value&&n){s=new ResizeObserver(e);for(const S of b)S&&s.observe(S,i)}},{immediate:!0,flush:"post",deep:!0}),g=()=>{l(),m()};return Ed(g),{isSupported:a,stop:g}}const a_={json:"application/json",text:"text/plain"};function Qx(r){return r&&X3(r,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function M0(r){return typeof Headers<"u"&&r instanceof Headers?Object.fromEntries([...r.entries()]):r}function Ug(r,...e){var t;const n=typeof AbortController=="function";let i={},s={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const a={method:"GET",type:"text",payload:void 0};e.length>0&&(Qx(e[0])?s={...s,...e[0]}:i=e[0]),e.length>1&&Qx(e[1])&&(s={...s,...e[1]});const{fetch:l=(t=oc)==null?void 0:t.fetch,initialData:p,timeout:m}=s,g=Rf(),b=Rf(),S=Rf(),$=Zs(!1),G=Zs(!1),be=Zs(!1),ke=Zs(null),me=Np(null),Ve=Np(null),Dt=Np(p||null),ht=as(()=>n&&G.value);let bt,Yt;const ir=()=>{n&&(bt==null||bt.abort(),bt=new AbortController,bt.signal.onabort=()=>be.value=!0,i={...i,signal:bt.signal})},qr=Sn=>{G.value=Sn,$.value=!Sn};m&&(Yt=h2(ir,m,{immediate:!1}));let yr=0;const kr=async(Sn=!1)=>{var Wn,jn;ir(),qr(!0),Ve.value=null,ke.value=null,be.value=!1,yr+=1;const Bn=yr,$i={method:a.method,headers:{}};if(a.payload){const us=M0($i.headers),Xs=Oo(a.payload);!a.payloadType&&Xs&&Object.getPrototypeOf(Xs)===Object.prototype&&!(Xs instanceof FormData)&&(a.payloadType="json"),a.payloadType&&(us["Content-Type"]=(Wn=a_[a.payloadType])!=null?Wn:a.payloadType),$i.body=a.payloadType==="json"?JSON.stringify(Xs):Xs}let Ui=!1;const os={url:Oo(r),options:{...$i,...i},cancel:()=>{Ui=!0}};if(s.beforeFetch&&Object.assign(os,await s.beforeFetch(os)),Ui||!l)return qr(!1),Promise.resolve(null);let ds=null;return Yt&&Yt.start(),l(os.url,{...$i,...os.options,headers:{...M0($i.headers),...M0((jn=os.options)==null?void 0:jn.headers)}}).then(async us=>{if(me.value=us,ke.value=us.status,ds=await us.clone()[a.type](),!us.ok)throw Dt.value=p||null,new Error(us.statusText);return s.afterFetch&&({data:ds}=await s.afterFetch({data:ds,response:us})),Dt.value=ds,g.trigger(us),us}).catch(async us=>{let Xs=us.message||us.name;if(s.onFetchError&&({error:Xs,data:ds}=await s.onFetchError({data:ds,error:us,response:me.value})),Ve.value=Xs,s.updateDataOnError&&(Dt.value=ds),b.trigger(us),Sn)throw us;return null}).finally(()=>{Bn===yr&&qr(!1),Yt&&Yt.stop(),S.trigger(null)})},Zr=Am(s.refetch);Ro([Zr,Am(r)],([Sn])=>Sn&&kr(),{deep:!0});const zn={isFinished:$,statusCode:ke,response:me,error:Ve,data:Dt,isFetching:G,canAbort:ht,aborted:be,abort:ir,execute:kr,onFetchResponse:g.on,onFetchError:b.on,onFetchFinally:S.on,get:Gn("GET"),put:Gn("PUT"),post:Gn("POST"),delete:Gn("DELETE"),patch:Gn("PATCH"),head:Gn("HEAD"),options:Gn("OPTIONS"),json:ii("json"),text:ii("text"),blob:ii("blob"),arrayBuffer:ii("arrayBuffer"),formData:ii("formData")};function Gn(Sn){return(Wn,jn)=>{if(!G.value)return a.method=Sn,a.payload=Wn,a.payloadType=jn,Hs(a.payload)&&Ro([Zr,Am(a.payload)],([Bn])=>Bn&&kr(),{deep:!0}),{...zn,then(Bn,$i){return Ii().then(Bn,$i)}}}}function Ii(){return new Promise((Sn,Wn)=>{Y3($).toBe(!0).then(()=>Sn(zn)).catch(jn=>Wn(jn))})}function ii(Sn){return()=>{if(!G.value)return a.type=Sn,{...zn,then(Wn,jn){return Ii().then(Wn,jn)}}}}return s.immediate&&Promise.resolve().then(()=>kr()),{...zn,then(Sn,Wn){return Ii().then(Sn,Wn)}}}function Y7(r,e,t={}){const{window:n=oc}=t;return d2(r,e,n==null?void 0:n.localStorage,t)}function lO(r,e,t,n={}){var i,s,a;const{clone:l=!1,passive:p=!1,eventName:m,deep:g=!1,defaultValue:b,shouldEmit:S}=n,$=zD(),G=t||($==null?void 0:$.emit)||((i=$==null?void 0:$.$emit)==null?void 0:i.bind($))||((a=(s=$==null?void 0:$.proxy)==null?void 0:s.$emit)==null?void 0:a.bind($==null?void 0:$.proxy));let be=m;e||(e="modelValue"),be=be||`update:${e.toString()}`;const ke=Dt=>l?typeof l=="function"?l(Dt):K3(Dt):Dt,me=()=>N3(r[e])?ke(r[e]):b,Ve=Dt=>{S?S(Dt)&&G(be,Dt):G(be,Dt)};if(p){const Dt=me(),ht=Zs(Dt);let bt=!1;return Ro(()=>r[e],Yt=>{bt||(bt=!0,ht.value=ke(Yt),Hh(()=>bt=!1))}),Ro(ht,Yt=>{!bt&&(Yt!==r[e]||g)&&Ve(Yt)},{deep:g}),ht}else return as({get(){return me()},set(Dt){Ve(Dt)}})}const g2=1024;let u_=0;class Ja{constructor(e,t){this.from=e,this.to=t}}class Gi{constructor(e={}){this.id=u_++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=ga.match(e)),t=>{let n=e(t);return n===void 0?null:[this,n]}}}Gi.closedBy=new Gi({deserialize:r=>r.split(" ")});Gi.openedBy=new Gi({deserialize:r=>r.split(" ")});Gi.group=new Gi({deserialize:r=>r.split(" ")});Gi.contextHash=new Gi({perNode:!0});Gi.lookAhead=new Gi({perNode:!0});Gi.mounted=new Gi({perNode:!0});class l_{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}}const c_=Object.create(null);class ga{constructor(e,t,n,i=0){this.name=e,this.props=t,this.id=n,this.flags=i}static define(e){let t=e.props&&e.props.length?Object.create(null):c_,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new ga(e.name||"",t,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(i)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[s[0].id]=s[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let t=this.prop(Gi.group);return t?t.indexOf(e)>-1:!1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let i of n.split(" "))t[i]=e[n];return n=>{for(let i=n.prop(Gi.group),s=-1;s<(i?i.length:0);s++){let a=t[s<0?n.name:i[s]];if(a)return a}}}}ga.none=new ga("",Object.create(null),0,8);class cO{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...e){let t=[];for(let n of this.types){let i=null;for(let s of e){let a=s(n);a&&(i||(i=Object.assign({},n.props)),i[a[0].id]=a[1])}t.push(i?new ga(n.name,i,n.id,n.flags):n)}return new cO(t)}}const im=new WeakMap,jx=new WeakMap;var Ls;(function(r){r[r.ExcludeBuffers=1]="ExcludeBuffers",r[r.IncludeAnonymous=2]="IncludeAnonymous",r[r.IgnoreMounts=4]="IgnoreMounts",r[r.IgnoreOverlays=8]="IgnoreOverlays"})(Ls||(Ls={}));class io{constructor(e,t,n,i,s){if(this.type=e,this.children=t,this.positions=n,this.length=i,this.props=null,s&&s.length){this.props=Object.create(null);for(let[a,l]of s)this.props[typeof a=="number"?a:a.id]=l}}toString(){let e=this.prop(Gi.mounted);if(e&&!e.overlay)return e.tree.toString();let t="";for(let n of this.children){let i=n.toString();i&&(t&&(t+=","),t+=i)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new ad(this.topNode,e)}cursorAt(e,t=0,n=0){let i=im.get(this)||this.topNode,s=new ad(i);return s.moveTo(e,t),im.set(this,s._tree),s}get topNode(){return new ru(this,0,0,null)}resolve(e,t=0){let n=Yp(im.get(this)||this.topNode,e,t,!1);return im.set(this,n),n}resolveInner(e,t=0){let n=Yp(jx.get(this)||this.topNode,e,t,!0);return jx.set(this,n),n}iterate(e){let{enter:t,leave:n,from:i=0,to:s=this.length}=e,a=e.mode||0,l=(a&Ls.IncludeAnonymous)>0;for(let p=this.cursor(a|Ls.IncludeAnonymous);;){let m=!1;if(p.from<=s&&p.to>=i&&(!l&&p.type.isAnonymous||t(p)!==!1)){if(p.firstChild())continue;m=!0}for(;m&&n&&(l||!p.type.isAnonymous)&&n(p),!p.nextSibling();){if(!p.parent())return;m=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:fO(ga.none,this.children,this.positions,0,this.children.length,0,this.length,(t,n,i)=>new io(this.type,t,n,i,this.propValues),e.makeTree||((t,n,i)=>new io(ga.none,t,n,i)))}static build(e){return p_(e)}}io.empty=new io(ga.none,[],[],0);class hO{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new hO(this.buffer,this.index)}}class Kh{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return ga.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],n=this.buffer[e+3],i=this.set.types[t],s=i.name;if(/\W/.test(s)&&!i.isError&&(s=JSON.stringify(s)),e+=4,n==e)return s;let a=[];for(;e<n;)a.push(this.childString(e)),e=this.buffer[e+3];return s+"("+a.join(",")+")"}findChild(e,t,n,i,s){let{buffer:a}=this,l=-1;for(let p=e;p!=t&&!(y2(s,i,a[p+1],a[p+2])&&(l=p,n>0));p=a[p+3]);return l}slice(e,t,n){let i=this.buffer,s=new Uint16Array(t-e),a=0;for(let l=e,p=0;l<t;){s[p++]=i[l++],s[p++]=i[l++]-n;let m=s[p++]=i[l++]-n;s[p++]=i[l++]-e,a=Math.max(a,m)}return new Kh(s,a,this.set)}}function y2(r,e,t,n){switch(r){case-2:return t<e;case-1:return n>=e&&t<e;case 0:return t<e&&n>e;case 1:return t<=e&&n>e;case 2:return n>e;case 4:return!0}}function D2(r,e){let t=r.childBefore(e);for(;t;){let n=t.lastChild;if(!n||n.to!=t.to)break;n.type.isError&&n.from==n.to?(r=t,t=n.prevSibling):t=n}return r}function Yp(r,e,t,n){for(var i;r.from==r.to||(t<1?r.from>=e:r.from>e)||(t>-1?r.to<=e:r.to<e);){let a=!n&&r instanceof ru&&r.index<0?null:r.parent;if(!a)return r;r=a}let s=n?0:Ls.IgnoreOverlays;if(n)for(let a=r,l=a.parent;l;a=l,l=a.parent)a instanceof ru&&a.index<0&&((i=l.enter(e,t,s))===null||i===void 0?void 0:i.from)!=a.from&&(r=l);for(;;){let a=r.enter(e,t,s);if(!a)return r;r=a}}class ru{constructor(e,t,n,i){this._tree=e,this.from=t,this.index=n,this._parent=i}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(e,t,n,i,s=0){for(let a=this;;){for(let{children:l,positions:p}=a._tree,m=t>0?l.length:-1;e!=m;e+=t){let g=l[e],b=p[e]+a.from;if(y2(i,n,b,b+g.length)){if(g instanceof Kh){if(s&Ls.ExcludeBuffers)continue;let S=g.findChild(0,g.buffer.length,t,n-b,i);if(S>-1)return new hl(new h_(a,g,e,b),null,S)}else if(s&Ls.IncludeAnonymous||!g.type.isAnonymous||pO(g)){let S;if(!(s&Ls.IgnoreMounts)&&g.props&&(S=g.prop(Gi.mounted))&&!S.overlay)return new ru(S.tree,b,e,a);let $=new ru(g,b,e,a);return s&Ls.IncludeAnonymous||!$.type.isAnonymous?$:$.nextChild(t<0?g.children.length-1:0,t,n,i)}}}if(s&Ls.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+t:e=t<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,t,n=0){let i;if(!(n&Ls.IgnoreOverlays)&&(i=this._tree.prop(Gi.mounted))&&i.overlay){let s=e-this.from;for(let{from:a,to:l}of i.overlay)if((t>0?a<=s:a<s)&&(t<0?l>=s:l>s))return new ru(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,t,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}cursor(e=0){return new ad(this,e)}get tree(){return this._tree}toTree(){return this._tree}resolve(e,t=0){return Yp(this,e,t,!1)}resolveInner(e,t=0){return Yp(this,e,t,!0)}enterUnfinishedNodesBefore(e){return D2(this,e)}getChild(e,t=null,n=null){let i=Hm(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return Hm(this,e,t,n)}toString(){return this._tree.toString()}get node(){return this}matchContext(e){return Jm(this,e)}}function Hm(r,e,t,n){let i=r.cursor(),s=[];if(!i.firstChild())return s;if(t!=null){for(;!i.type.is(t);)if(!i.nextSibling())return s}for(;;){if(n!=null&&i.type.is(n))return s;if(i.type.is(e)&&s.push(i.node),!i.nextSibling())return n==null?s:[]}}function Jm(r,e,t=e.length-1){for(let n=r.parent;t>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[t]&&e[t]!=n.name)return!1;t--}}return!0}class h_{constructor(e,t,n,i){this.parent=e,this.buffer=t,this.index=n,this.start=i}}class hl{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.context.start,n);return s<0?null:new hl(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,t,n=0){if(n&Ls.ExcludeBuffers)return null;let{buffer:i}=this.context,s=i.findChild(this.index+4,i.buffer[this.index+3],t>0?1:-1,e-this.context.start,t);return s<0?null:new hl(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new hl(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new hl(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}cursor(e=0){return new ad(this,e)}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,i=this.index+4,s=n.buffer[this.index+3];if(s>i){let a=n.buffer[this.index+1];e.push(n.slice(i,s,a)),t.push(0)}return new io(this.type,e,t,this.to-this.from)}resolve(e,t=0){return Yp(this,e,t,!1)}resolveInner(e,t=0){return Yp(this,e,t,!0)}enterUnfinishedNodesBefore(e){return D2(this,e)}toString(){return this.context.buffer.childString(this.index)}getChild(e,t=null,n=null){let i=Hm(this,e,t,n);return i.length?i[0]:null}getChildren(e,t=null,n=null){return Hm(this,e,t,n)}get node(){return this}matchContext(e){return Jm(this,e)}}class ad{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof ru)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,t){this.index=e;let{start:n,buffer:i}=this.buffer;return this.type=t||i.set.types[i.buffer[e]],this.from=n+i.buffer[e+1],this.to=n+i.buffer[e+2],!0}yield(e){return e?e instanceof ru?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode));let{buffer:i}=this.buffer,s=i.findChild(this.index+4,i.buffer[this.index+3],e,t-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){return this.buffer?n&Ls.ExcludeBuffers?!1:this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Ls.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Ls.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:t}=this.buffer,n=this.stack.length-1;if(e<0){let i=n<0?0:this.stack[n]+4;if(this.index!=i)return this.yieldBuf(t.findChild(i,this.index,-1,0,4))}else{let i=t.buffer[this.index+3];if(i<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(i)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,n,{buffer:i}=this;if(i){if(e>0){if(this.index<i.buffer.buffer.length)return!1}else for(let s=0;s<this.index;s++)if(i.buffer.buffer[s+3]<this.index)return!1;({index:t,parent:n}=i)}else({index:t,_parent:n}=this._tree);for(;n;{index:t,_parent:n}=n)if(t>-1)for(let s=t+e,a=e<0?-1:n._tree.children.length;s!=a;s+=e){let l=n._tree.children[s];if(this.mode&Ls.IncludeAnonymous||l instanceof Kh||!l.type.isAnonymous||pO(l))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0;if(e&&e.context==this.buffer)e:for(let i=this.index,s=this.stack.length;s>=0;){for(let a=e;a;a=a._parent)if(a.index==i){if(i==this.index)return a;t=a,n=s+1;break e}i=this.stack[--s]}for(let i=n;i<this.stack.length;i++)t=new hl(this.buffer,t,this.stack[i]);return this.bufferNode=new hl(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let i=!1;if(this.type.isAnonymous||e(this)!==!1){if(this.firstChild()){n++;continue}this.type.isAnonymous||(i=!0)}for(;i&&t&&t(this),i=this.type.isAnonymous,!this.nextSibling();){if(!n)return;this.parent(),n--,i=!0}}}matchContext(e){if(!this.buffer)return Jm(this.node,e);let{buffer:t}=this.buffer,{types:n}=t.set;for(let i=e.length-1,s=this.stack.length-1;i>=0;s--){if(s<0)return Jm(this.node,e,i);let a=n[t.buffer[this.stack[s]]];if(!a.isAnonymous){if(e[i]&&e[i]!=a.name)return!1;i--}}return!0}}function pO(r){return r.children.some(e=>e instanceof Kh||!e.type.isAnonymous||pO(e))}function p_(r){var e;let{buffer:t,nodeSet:n,maxBufferLength:i=g2,reused:s=[],minRepeatType:a=n.types.length}=r,l=Array.isArray(t)?new hO(t,t.length):t,p=n.types,m=0,g=0;function b(ht,bt,Yt,ir,qr){let{id:yr,start:kr,end:Zr,size:zn}=l,Gn=g;for(;zn<0;)if(l.next(),zn==-1){let jn=s[yr];Yt.push(jn),ir.push(kr-ht);return}else if(zn==-3){m=yr;return}else if(zn==-4){g=yr;return}else throw new RangeError(`Unrecognized record size: ${zn}`);let Ii=p[yr],ii,Sn,Wn=kr-ht;if(Zr-kr<=i&&(Sn=be(l.pos-bt,qr))){let jn=new Uint16Array(Sn.size-Sn.skip),Bn=l.pos-Sn.size,$i=jn.length;for(;l.pos>Bn;)$i=ke(Sn.start,jn,$i);ii=new Kh(jn,Zr-Sn.start,n),Wn=Sn.start-ht}else{let jn=l.pos-zn;l.next();let Bn=[],$i=[],Ui=yr>=a?yr:-1,os=0,ds=Zr;for(;l.pos>jn;)Ui>=0&&l.id==Ui&&l.size>=0?(l.end<=ds-i&&($(Bn,$i,kr,os,l.end,ds,Ui,Gn),os=Bn.length,ds=l.end),l.next()):b(kr,jn,Bn,$i,Ui);if(Ui>=0&&os>0&&os<Bn.length&&$(Bn,$i,kr,os,kr,ds,Ui,Gn),Bn.reverse(),$i.reverse(),Ui>-1&&os>0){let us=S(Ii);ii=fO(Ii,Bn,$i,0,Bn.length,0,Zr-kr,us,us)}else ii=G(Ii,Bn,$i,Zr-kr,Gn-Zr)}Yt.push(ii),ir.push(Wn)}function S(ht){return(bt,Yt,ir)=>{let qr=0,yr=bt.length-1,kr,Zr;if(yr>=0&&(kr=bt[yr])instanceof io){if(!yr&&kr.type==ht&&kr.length==ir)return kr;(Zr=kr.prop(Gi.lookAhead))&&(qr=Yt[yr]+kr.length+Zr)}return G(ht,bt,Yt,ir,qr)}}function $(ht,bt,Yt,ir,qr,yr,kr,Zr){let zn=[],Gn=[];for(;ht.length>ir;)zn.push(ht.pop()),Gn.push(bt.pop()+Yt-qr);ht.push(G(n.types[kr],zn,Gn,yr-qr,Zr-yr)),bt.push(qr-Yt)}function G(ht,bt,Yt,ir,qr=0,yr){if(m){let kr=[Gi.contextHash,m];yr=yr?[kr].concat(yr):[kr]}if(qr>25){let kr=[Gi.lookAhead,qr];yr=yr?[kr].concat(yr):[kr]}return new io(ht,bt,Yt,ir,yr)}function be(ht,bt){let Yt=l.fork(),ir=0,qr=0,yr=0,kr=Yt.end-i,Zr={size:0,start:0,skip:0};e:for(let zn=Yt.pos-ht;Yt.pos>zn;){let Gn=Yt.size;if(Yt.id==bt&&Gn>=0){Zr.size=ir,Zr.start=qr,Zr.skip=yr,yr+=4,ir+=4,Yt.next();continue}let Ii=Yt.pos-Gn;if(Gn<0||Ii<zn||Yt.start<kr)break;let ii=Yt.id>=a?4:0,Sn=Yt.start;for(Yt.next();Yt.pos>Ii;){if(Yt.size<0)if(Yt.size==-3)ii+=4;else break e;else Yt.id>=a&&(ii+=4);Yt.next()}qr=Sn,ir+=Gn,yr+=ii}return(bt<0||ir==ht)&&(Zr.size=ir,Zr.start=qr,Zr.skip=yr),Zr.size>4?Zr:void 0}function ke(ht,bt,Yt){let{id:ir,start:qr,end:yr,size:kr}=l;if(l.next(),kr>=0&&ir<a){let Zr=Yt;if(kr>4){let zn=l.pos-(kr-4);for(;l.pos>zn;)Yt=ke(ht,bt,Yt)}bt[--Yt]=Zr,bt[--Yt]=yr-ht,bt[--Yt]=qr-ht,bt[--Yt]=ir}else kr==-3?m=ir:kr==-4&&(g=ir);return Yt}let me=[],Ve=[];for(;l.pos>0;)b(r.start||0,r.bufferStart||0,me,Ve,-1);let Dt=(e=r.length)!==null&&e!==void 0?e:me.length?Ve[0]+me[0].length:0;return new io(p[r.topID],me.reverse(),Ve.reverse(),Dt)}const Lx=new WeakMap;function Tm(r,e){if(!r.isAnonymous||e instanceof Kh||e.type!=r)return 1;let t=Lx.get(e);if(t==null){t=1;for(let n of e.children){if(n.type!=r||!(n instanceof io)){t=1;break}t+=Tm(r,n)}Lx.set(e,t)}return t}function fO(r,e,t,n,i,s,a,l,p){let m=0;for(let G=n;G<i;G++)m+=Tm(r,e[G]);let g=Math.ceil(m*1.5/8),b=[],S=[];function $(G,be,ke,me,Ve){for(let Dt=ke;Dt<me;){let ht=Dt,bt=be[Dt],Yt=Tm(r,G[Dt]);for(Dt++;Dt<me;Dt++){let ir=Tm(r,G[Dt]);if(Yt+ir>=g)break;Yt+=ir}if(Dt==ht+1){if(Yt>g){let ir=G[ht];$(ir.children,ir.positions,0,ir.children.length,be[ht]+Ve);continue}b.push(G[ht])}else{let ir=be[Dt-1]+G[Dt-1].length-bt;b.push(fO(r,G,be,ht,Dt,bt,ir,null,p))}S.push(bt+Ve-s)}}return $(e,t,n,i,0),(l||p)(b,S,a)}class O2{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof hl?this.setBuffer(e.context.buffer,e.index,t):e instanceof ru&&this.map.set(e.tree,t)}get(e){return e instanceof hl?this.getBuffer(e.context.buffer,e.index):e instanceof ru?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class ec{constructor(e,t,n,i,s=!1,a=!1){this.from=e,this.to=t,this.tree=n,this.offset=i,this.open=(s?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,t=[],n=!1){let i=[new ec(0,e.length,e,0,!1,n)];for(let s of t)s.to>e.length&&i.push(s);return i}static applyChanges(e,t,n=128){if(!t.length)return e;let i=[],s=1,a=e.length?e[0]:null;for(let l=0,p=0,m=0;;l++){let g=l<t.length?t[l]:null,b=g?g.fromA:1e9;if(b-p>=n)for(;a&&a.from<b;){let S=a;if(p>=S.from||b<=S.to||m){let $=Math.max(S.from,p)-m,G=Math.min(S.to,b)-m;S=$>=G?null:new ec($,G,S.tree,S.offset+m,l>0,!!g)}if(S&&i.push(S),a.to>b)break;a=s<e.length?e[s++]:null}if(!g)break;p=g.toA,m=g.toA-g.toB}return i}}class x2{startParse(e,t,n){return typeof e=="string"&&(e=new f_(e)),n=n?n.length?n.map(i=>new Ja(i.from,i.to)):[new Ja(0,0)]:[new Ja(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let i=this.startParse(e,t,n);for(;;){let s=i.advance();if(s)return s}}}class f_{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}}function d_(r){return(e,t,n,i)=>new g_(e,r,t,n,i)}class Xx{constructor(e,t,n,i,s){if(this.parser=e,this.parse=t,this.overlay=n,this.target=i,this.ranges=s,!s.length||s.some(a=>a.from>=a.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(s))}}class m_{constructor(e,t,n,i,s,a,l){this.parser=e,this.predicate=t,this.mounts=n,this.index=i,this.start=s,this.target=a,this.prev=l,this.depth=0,this.ranges=[]}}const rD=new Gi({perNode:!0});class g_{constructor(e,t,n,i,s){this.nest=t,this.input=n,this.fragments=i,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let i of this.inner)i.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new io(n.type,n.children,n.positions,n.length,n.propValues.concat([[rD,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[Gi.mounted.id]=new l_(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].ranges[0].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new O_(this.fragments),t=null,n=null,i=new ad(new ru(this.baseTree,this.ranges[0].from,0,null),Ls.IncludeAnonymous|Ls.IgnoreMounts);e:for(let s,a;this.stoppedAt==null||i.from<this.stoppedAt;){let l=!0,p;if(e.hasNode(i)){if(t){let m=t.mounts.find(g=>g.frag.from<=i.from&&g.frag.to>=i.to&&g.mount.overlay);if(m)for(let g of m.mount.overlay){let b=g.from+m.pos,S=g.to+m.pos;b>=i.from&&S<=i.to&&!t.ranges.some($=>$.from<S&&$.to>b)&&t.ranges.push({from:b,to:S})}}l=!1}else if(n&&(a=y_(n.ranges,i.from,i.to)))l=a!=2;else if(!i.type.isAnonymous&&i.from<i.to&&(s=this.nest(i,this.input))){i.tree||D_(i);let m=e.findMounts(i.from,s.parser);if(typeof s.overlay=="function")t=new m_(s.parser,s.overlay,m,this.inner.length,i.from,i.tree,t);else{let g=qx(this.ranges,s.overlay||[new Ja(i.from,i.to)]);g.length&&this.inner.push(new Xx(s.parser,s.parser.startParse(this.input,zx(m,g),g),s.overlay?s.overlay.map(b=>new Ja(b.from-i.from,b.to-i.from)):null,i.tree,g)),s.overlay?g.length&&(n={ranges:g,depth:0,prev:n}):l=!1}}else t&&(p=t.predicate(i))&&(p===!0&&(p=new Ja(i.from,i.to)),p.from<p.to&&t.ranges.push(p));if(l&&i.firstChild())t&&t.depth++,n&&n.depth++;else for(;!i.nextSibling();){if(!i.parent())break e;if(t&&!--t.depth){let m=qx(this.ranges,t.ranges);m.length&&this.inner.splice(t.index,0,new Xx(t.parser,t.parser.startParse(this.input,zx(t.mounts,m),m),t.ranges.map(g=>new Ja(g.from-t.start,g.to-t.start)),t.target,m)),t=t.prev}n&&!--n.depth&&(n=n.prev)}}}}function y_(r,e,t){for(let n of r){if(n.from>=t)break;if(n.to>e)return n.from<=e&&n.to>=t?2:1}return 0}function Vx(r,e,t,n,i,s){if(e<t){let a=r.buffer[e+1];n.push(r.slice(e,t,a)),i.push(a-s)}}function D_(r){let{node:e}=r,t=0;do r.parent(),t++;while(!r.tree);let n=0,i=r.tree,s=0;for(;s=i.positions[n]+r.from,!(s<=e.from&&s+i.children[n].length>=e.to);n++);let a=i.children[n],l=a.buffer;function p(m,g,b,S,$){let G=m;for(;l[G+2]+s<=e.from;)G=l[G+3];let be=[],ke=[];Vx(a,m,G,be,ke,S);let me=l[G+1],Ve=l[G+2],Dt=me+s==e.from&&Ve+s==e.to&&l[G]==e.type.id;return be.push(Dt?e.toTree():p(G+4,l[G+3],a.set.types[l[G]],me,Ve-me)),ke.push(me-S),Vx(a,l[G+3],g,be,ke,S),new io(b,be,ke,$)}i.children[n]=p(0,l.length,ga.none,0,a.length);for(let m=0;m<=t;m++)r.childAfter(e.from)}class Ux{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Ls.IncludeAnonymous|Ls.IgnoreMounts)}moveTo(e){let{cursor:t}=this,n=e-this.offset;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,Ls.IgnoreOverlays|Ls.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(t.children.length&&t.positions[0]==0&&t.children[0]instanceof io)t=t.children[0];else break}return!1}}let O_=class{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(t=n.tree.prop(rD))!==null&&t!==void 0?t:n.to,this.inner=new Ux(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=(e=t.tree.prop(rD))!==null&&e!==void 0?e:t.to,this.inner=new Ux(t.tree,-t.offset)}}findMounts(e,t){var n;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let a=(n=s.tree)===null||n===void 0?void 0:n.prop(Gi.mounted);if(a&&a.parser==t)for(let l=this.fragI;l<this.fragments.length;l++){let p=this.fragments[l];if(p.from>=s.to)break;p.tree==this.curFrag.tree&&i.push({frag:p,pos:s.from-p.offset,mount:a})}}}return i}};function qx(r,e){let t=null,n=e;for(let i=1,s=0;i<r.length;i++){let a=r[i-1].to,l=r[i].from;for(;s<n.length;s++){let p=n[s];if(p.from>=l)break;p.to<=a||(t||(n=t=e.slice()),p.from<a?(t[s]=new Ja(p.from,a),p.to>l&&t.splice(s+1,0,new Ja(l,p.to))):p.to>l?t[s--]=new Ja(l,p.to):t.splice(s--,1))}}return n}function x_(r,e,t,n){let i=0,s=0,a=!1,l=!1,p=-1e9,m=[];for(;;){let g=i==r.length?1e9:a?r[i].to:r[i].from,b=s==e.length?1e9:l?e[s].to:e[s].from;if(a!=l){let S=Math.max(p,t),$=Math.min(g,b,n);S<$&&m.push(new Ja(S,$))}if(p=Math.min(g,b),p==1e9)break;g==p&&(a?(a=!1,i++):a=!0),b==p&&(l?(l=!1,s++):l=!0)}return m}function zx(r,e){let t=[];for(let{pos:n,mount:i,frag:s}of r){let a=n+(i.overlay?i.overlay[0].from:0),l=a+i.tree.length,p=Math.max(s.from,a),m=Math.min(s.to,l);if(i.overlay){let g=i.overlay.map(S=>new Ja(S.from+n,S.to+n)),b=x_(e,g,p,m);for(let S=0,$=p;;S++){let G=S==b.length,be=G?m:b[S].from;if(be>$&&t.push(new ec($,be,i.tree,-a,s.from>=$||s.openStart,s.to<=be||s.openEnd)),G)break;$=b[S].to}}else t.push(new ec(p,m,i.tree,-a,s.from>=a||s.openStart,s.to<=l||s.openEnd))}return t}let b_=0;class al{constructor(e,t,n){this.set=e,this.base=t,this.modified=n,this.id=b_++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let t=new al([],null,[]);if(t.set.push(t),e)for(let n of e.set)t.set.push(n);return t}static defineModifier(){let e=new Km;return t=>t.modified.indexOf(e)>-1?t:Km.get(t.base||t,t.modified.concat(e).sort((n,i)=>n.id-i.id))}}let v_=0;class Km{constructor(){this.instances=[],this.id=v_++}static get(e,t){if(!t.length)return e;let n=t[0].instances.find(l=>l.base==e&&C_(t,l.modified));if(n)return n;let i=[],s=new al(i,e,t);for(let l of t)l.instances.push(s);let a=S_(t);for(let l of e.set)if(!l.modified.length)for(let p of a)i.push(Km.get(l,p));return s}}function C_(r,e){return r.length==e.length&&r.every((t,n)=>t==e[n])}function S_(r){let e=[[]];for(let t=0;t<r.length;t++)for(let n=0,i=e.length;n<i;n++)e.push(e[n].concat(r[t]));return e.sort((t,n)=>n.length-t.length)}function wd(r){let e=Object.create(null);for(let t in r){let n=r[t];Array.isArray(n)||(n=[n]);for(let i of t.split(" "))if(i){let s=[],a=2,l=i;for(let b=0;;){if(l=="..."&&b>0&&b+3==i.length){a=1;break}let S=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!S)throw new RangeError("Invalid path: "+i);if(s.push(S[0]=="*"?"":S[0][0]=='"'?JSON.parse(S[0]):S[0]),b+=S[0].length,b==i.length)break;let $=i[b++];if(b==i.length&&$=="!"){a=0;break}if($!="/")throw new RangeError("Invalid path: "+i);l=i.slice(b)}let p=s.length-1,m=s[p];if(!m)throw new RangeError("Invalid path: "+i);let g=new eg(n,a,p>0?s.slice(0,p):null);e[m]=g.sort(e[m])}}return b2.add(e)}const b2=new Gi;class eg{constructor(e,t,n,i){this.tags=e,this.mode=t,this.context=n,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}}eg.empty=new eg([],2,null);function v2(r,e){let t=Object.create(null);for(let s of r)if(!Array.isArray(s.tag))t[s.tag.id]=s.class;else for(let a of s.tag)t[a.id]=s.class;let{scope:n,all:i=null}=e||{};return{style:s=>{let a=i;for(let l of s)for(let p of l.set){let m=t[p.id];if(m){a=a?a+" "+m:m;break}}return a},scope:n}}function E_(r,e){let t=null;for(let n of r){let i=n.style(e);i&&(t=t?t+" "+i:i)}return t}function w_(r,e,t,n=0,i=r.length){let s=new A_(n,Array.isArray(e)?e:[e],t);s.highlightRange(r.cursor(),n,i,"",s.highlighters),s.flush(i)}class A_{constructor(e,t,n){this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,n,i,s){let{type:a,from:l,to:p}=e;if(l>=n||p<=t)return;a.isTop&&(s=this.highlighters.filter($=>!$.scope||$.scope(a)));let m=i,g=T_(e)||eg.empty,b=E_(s,g.tags);if(b&&(m&&(m+=" "),m+=b,g.mode==1&&(i+=(i?" ":"")+b)),this.startSpan(Math.max(t,l),m),g.opaque)return;let S=e.tree&&e.tree.prop(Gi.mounted);if(S&&S.overlay){let $=e.node.enter(S.overlay[0].from+l,1),G=this.highlighters.filter(ke=>!ke.scope||ke.scope(S.tree.type)),be=e.firstChild();for(let ke=0,me=l;;ke++){let Ve=ke<S.overlay.length?S.overlay[ke]:null,Dt=Ve?Ve.from+l:p,ht=Math.max(t,me),bt=Math.min(n,Dt);if(ht<bt&&be)for(;e.from<bt&&(this.highlightRange(e,ht,bt,i,s),this.startSpan(Math.min(bt,e.to),m),!(e.to>=Dt||!e.nextSibling())););if(!Ve||Dt>n)break;me=Ve.to+l,me>t&&(this.highlightRange($.cursor(),Math.max(t,Ve.from+l),Math.min(n,me),"",G),this.startSpan(Math.min(n,me),m))}be&&e.parent()}else if(e.firstChild()){S&&(i="");do if(!(e.to<=t)){if(e.from>=n)break;this.highlightRange(e,t,n,i,s),this.startSpan(Math.min(n,e.to),m)}while(e.nextSibling());e.parent()}}}function T_(r){let e=r.type.prop(b2);for(;e&&e.context&&!r.matchContext(e.context);)e=e.next;return e||null}const On=al.define,sm=On(),Mc=On(),Wx=On(Mc),Zx=On(Mc),Rc=On(),om=On(Rc),R0=On(Rc),sl=On(),Th=On(sl),nl=On(),il=On(),nD=On(),Df=On(nD),am=On(),He={comment:sm,lineComment:On(sm),blockComment:On(sm),docComment:On(sm),name:Mc,variableName:On(Mc),typeName:Wx,tagName:On(Wx),propertyName:Zx,attributeName:On(Zx),className:On(Mc),labelName:On(Mc),namespace:On(Mc),macroName:On(Mc),literal:Rc,string:om,docString:On(om),character:On(om),attributeValue:On(om),number:R0,integer:On(R0),float:On(R0),bool:On(Rc),regexp:On(Rc),escape:On(Rc),color:On(Rc),url:On(Rc),keyword:nl,self:On(nl),null:On(nl),atom:On(nl),unit:On(nl),modifier:On(nl),operatorKeyword:On(nl),controlKeyword:On(nl),definitionKeyword:On(nl),moduleKeyword:On(nl),operator:il,derefOperator:On(il),arithmeticOperator:On(il),logicOperator:On(il),bitwiseOperator:On(il),compareOperator:On(il),updateOperator:On(il),definitionOperator:On(il),typeOperator:On(il),controlOperator:On(il),punctuation:nD,separator:On(nD),bracket:Df,angleBracket:On(Df),squareBracket:On(Df),paren:On(Df),brace:On(Df),content:sl,heading:Th,heading1:On(Th),heading2:On(Th),heading3:On(Th),heading4:On(Th),heading5:On(Th),heading6:On(Th),contentSeparator:On(sl),list:On(sl),quote:On(sl),emphasis:On(sl),strong:On(sl),link:On(sl),monospace:On(sl),strikethrough:On(sl),inserted:On(),deleted:On(),changed:On(),invalid:On(),meta:am,documentMeta:On(am),annotation:On(am),processingInstruction:On(am),definition:al.defineModifier(),constant:al.defineModifier(),function:al.defineModifier(),standard:al.defineModifier(),local:al.defineModifier(),special:al.defineModifier()};v2([{tag:He.link,class:"tok-link"},{tag:He.heading,class:"tok-heading"},{tag:He.emphasis,class:"tok-emphasis"},{tag:He.strong,class:"tok-strong"},{tag:He.keyword,class:"tok-keyword"},{tag:He.atom,class:"tok-atom"},{tag:He.bool,class:"tok-bool"},{tag:He.url,class:"tok-url"},{tag:He.labelName,class:"tok-labelName"},{tag:He.inserted,class:"tok-inserted"},{tag:He.deleted,class:"tok-deleted"},{tag:He.literal,class:"tok-literal"},{tag:He.string,class:"tok-string"},{tag:He.number,class:"tok-number"},{tag:[He.regexp,He.escape,He.special(He.string)],class:"tok-string2"},{tag:He.variableName,class:"tok-variableName"},{tag:He.local(He.variableName),class:"tok-variableName tok-local"},{tag:He.definition(He.variableName),class:"tok-variableName tok-definition"},{tag:He.special(He.variableName),class:"tok-variableName2"},{tag:He.definition(He.propertyName),class:"tok-propertyName tok-definition"},{tag:He.typeName,class:"tok-typeName"},{tag:He.namespace,class:"tok-namespace"},{tag:He.className,class:"tok-className"},{tag:He.macroName,class:"tok-macroName"},{tag:He.propertyName,class:"tok-propertyName"},{tag:He.operator,class:"tok-operator"},{tag:He.comment,class:"tok-comment"},{tag:He.meta,class:"tok-meta"},{tag:He.invalid,class:"tok-invalid"},{tag:He.punctuation,class:"tok-punctuation"}]);var Q0;const kp=new Gi;function C2(r){return qn.define({combine:r?e=>e.concat(r):void 0})}const dO=new Gi;class Cu{constructor(e,t,n=[],i=""){this.data=e,this.name=i,gs.prototype.hasOwnProperty("tree")||Object.defineProperty(gs.prototype,"tree",{get(){return po(this)}}),this.parser=t,this.extension=[ih.of(this),gs.languageData.of((s,a,l)=>{let p=Yx(s,a,l),m=p.type.prop(kp);if(!m)return[];let g=s.facet(m),b=p.type.prop(dO);if(b){let S=p.resolve(a-p.from,l);for(let $ of b)if($.test(S,s)){let G=s.facet($.facet);return $.type=="replace"?G:G.concat(g)}}return g})].concat(n)}isActiveAt(e,t,n=-1){return Yx(e,t,n).type.prop(kp)==this.data}findRegions(e){let t=e.facet(ih);if((t==null?void 0:t.data)==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],i=(s,a)=>{if(s.prop(kp)==this.data){n.push({from:a,to:a+s.length});return}let l=s.prop(Gi.mounted);if(l){if(l.tree.prop(kp)==this.data){if(l.overlay)for(let p of l.overlay)n.push({from:p.from+a,to:p.to+a});else n.push({from:a,to:a+s.length});return}else if(l.overlay){let p=n.length;if(i(l.tree,l.overlay[0].from+a),n.length>p)return}}for(let p=0;p<s.children.length;p++){let m=s.children[p];m instanceof io&&i(m,s.positions[p]+a)}};return i(po(e),0),n}get allowsNesting(){return!0}}Cu.setState=Qi.define();function Yx(r,e,t){let n=r.facet(ih),i=po(r).topNode;if(!n||n.allowsNesting)for(let s=i;s;s=s.enter(e,t,Ls.ExcludeBuffers))s.type.isTop&&(i=s);return i}class Wh extends Cu{constructor(e,t,n){super(e,t,[],n),this.parser=t}static define(e){let t=C2(e.languageData);return new Wh(t,e.parser.configure({props:[kp.add(n=>n.isTop?t:void 0)]}),e.name)}configure(e,t){return new Wh(this.data,this.parser.configure(e),t||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function po(r){let e=r.field(Cu.state,!1);return e?e.tree:io.empty}class P_{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let n=this.cursorPos-this.string.length;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)}}let Of=null;class tg{constructor(e,t,n=[],i,s,a,l,p){this.parser=e,this.state=t,this.fragments=n,this.tree=i,this.treeLen=s,this.viewport=a,this.skipped=l,this.scheduleOn=p,this.parse=null,this.tempSkipped=[]}static create(e,t,n){return new tg(e,t,[],io.empty,0,n,[],null)}startParse(){return this.parser.startParse(new P_(this.state.doc),this.fragments)}work(e,t){return t!=null&&t>=this.state.doc.length&&(t=void 0),this.tree!=io.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),t!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let i=this.parse.advance();if(i)if(this.fragments=this.withoutTempSkipped(ec.addTree(i,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(n=this.parse.stoppedAt)!==null&&n!==void 0?n:this.state.doc.length,this.tree=i,this.parse=null,this.treeLen<(t??this.state.doc.length))this.parse=this.startParse();else return!0;if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(ec.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=Of;Of=this;try{return e()}finally{Of=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Gx(e,t.from,t.to);return e}changes(e,t){let{fragments:n,tree:i,treeLen:s,viewport:a,skipped:l}=this;if(this.takeTree(),!e.empty){let p=[];if(e.iterChangedRanges((m,g,b,S)=>p.push({fromA:m,toA:g,fromB:b,toB:S})),n=ec.applyChanges(n,p),i=io.empty,s=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){l=[];for(let m of this.skipped){let g=e.mapPos(m.from,1),b=e.mapPos(m.to,-1);g<b&&l.push({from:g,to:b})}}}return new tg(this.parser,t,n,i,s,a,l,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:i,to:s}=this.skipped[n];i<e.to&&s>e.from&&(this.fragments=Gx(this.fragments,i,s),this.skipped.splice(n--,1))}return this.skipped.length>=t?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends x2{createParse(t,n,i){let s=i[0].from,a=i[i.length-1].to;return{parsedPos:s,advance(){let p=Of;if(p){for(let m of i)p.tempSkipped.push(m);e&&(p.scheduleOn=p.scheduleOn?Promise.all([p.scheduleOn,e]):e)}return this.parsedPos=a,new io(ga.none,[],[],a-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&t[0].from==0&&t[0].to>=e}static get(){return Of}}function Gx(r,e,t){return ec.applyChanges(r,[{fromA:e,toA:t,fromB:e,toB:t}])}class Gp{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let t=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to);return t.work(20,n)||t.takeTree(),new Gp(t)}static init(e){let t=Math.min(3e3,e.doc.length),n=tg.create(e.facet(ih).parser,e,{from:0,to:t});return n.work(20,t)||n.takeTree(),new Gp(n)}}Cu.state=Po.define({create:Gp.init,update(r,e){for(let t of e.effects)if(t.is(Cu.setState))return t.value;return e.startState.facet(ih)!=e.state.facet(ih)?Gp.init(e.state):r.apply(e)}});let S2=r=>{let e=setTimeout(()=>r(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(S2=r=>{let e=-1,t=setTimeout(()=>{e=requestIdleCallback(r,{timeout:400})},100);return()=>e<0?clearTimeout(t):cancelIdleCallback(e)});const j0=typeof navigator<"u"&&(!((Q0=navigator.scheduling)===null||Q0===void 0)&&Q0.isInputPending)?()=>navigator.scheduling.isInputPending():null,k_=bo.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Cu.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),e.docChanged&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Cu.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=S2(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:n,viewport:{to:i}}=this.view,s=n.field(Cu.state);if(s.tree==s.context.tree&&s.context.isDone(i+1e5))return;let a=Date.now()+Math.min(this.chunkBudget,100,e&&!j0?Math.max(25,e.timeRemaining()-5):1e9),l=s.context.treeLen<i&&n.doc.length>i+1e3,p=s.context.work(()=>j0&&j0()||Date.now()>a,i+(l?0:1e5));this.chunkBudget-=Date.now()-t,(p||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Cu.setState.of(new Gp(s.context))})),this.chunkBudget>0&&!(p&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>wu(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),ih=qn.define({combine(r){return r.length?r[0]:null},enables:r=>[Cu.state,k_,Qn.contentAttributes.compute([r],e=>{let t=e.facet(r);return t&&t.name?{"data-language":t.name}:{}})]});class mO{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}const F_=qn.define(),qg=qn.define({combine:r=>{if(!r.length)return" ";let e=r[0];if(!e||/\S/.test(e)||Array.from(e).some(t=>t!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(r[0]));return e}});function rg(r){let e=r.facet(qg);return e.charCodeAt(0)==9?r.tabSize*e.length:e.length}function ud(r,e){let t="",n=r.tabSize,i=r.facet(qg)[0];if(i==" "){for(;e>=n;)t+=" ",e-=n;i=" "}for(let s=0;s<e;s++)t+=i;return t}function gO(r,e){r instanceof gs&&(r=new zg(r));for(let n of r.state.facet(F_)){let i=n(r,e);if(i!==void 0)return i}let t=po(r.state);return t?__(r,t,e):null}class zg{constructor(e,t={}){this.state=e,this.options=t,this.unit=rg(e)}lineAt(e,t=1){let n=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:s}=this.options;return i!=null&&i>=n.from&&i<=n.to?s&&i==e?{text:"",from:e}:(t<0?i<e:i<=e)?{text:n.text.slice(i-n.from),from:i}:{text:n.text.slice(0,i-n.from),from:n.from}:n}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:n,from:i}=this.lineAt(e,t);return n.slice(e-i,Math.min(n.length,e+100-i))}column(e,t=1){let{text:n,from:i}=this.lineAt(e,t),s=this.countColumn(n,e-i),a=this.options.overrideIndentation?this.options.overrideIndentation(i):-1;return a>-1&&(s+=a-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,t=e.length){return xd(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:n,from:i}=this.lineAt(e,t),s=this.options.overrideIndentation;if(s){let a=s(i);if(a>-1)return a}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Ad=new Gi;function __(r,e,t){return E2(e.resolveInner(t).enterUnfinishedNodesBefore(t),t,r)}function $_(r){return r.pos==r.options.simulateBreak&&r.options.simulateDoubleBreak}function B_(r){let e=r.type.prop(Ad);if(e)return e;let t=r.firstChild,n;if(t&&(n=t.type.prop(Gi.closedBy))){let i=r.lastChild,s=i&&n.indexOf(i.name)>-1;return a=>w2(a,!0,1,void 0,s&&!$_(a)?i.from:void 0)}return r.parent==null?N_:null}function E2(r,e,t){for(;r;r=r.parent){let n=B_(r);if(n)return n(yO.create(t,e,r))}return null}function N_(){return 0}class yO extends zg{constructor(e,t,n){super(e.state,e.options),this.base=e,this.pos=t,this.node=n}static create(e,t,n){return new yO(e,t,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(I_(n,e))break;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){let e=this.node.parent;return e?E2(e,this.pos,this.base):0}}function I_(r,e){for(let t=e;t;t=t.parent)if(r==t)return!0;return!1}function M_(r){let e=r.node,t=e.childAfter(e.from),n=e.lastChild;if(!t)return null;let i=r.options.simulateBreak,s=r.state.doc.lineAt(t.from),a=i==null||i<=s.from?s.to:Math.min(s.to,i);for(let l=t.to;;){let p=e.childAfter(l);if(!p||p==n)return null;if(!p.type.isSkipped)return p.from<a?t:null;l=p.to}}function R_({closing:r,align:e=!0,units:t=1}){return n=>w2(n,e,t,r)}function w2(r,e,t,n,i){let s=r.textAfter,a=s.match(/^\s*/)[0].length,l=n&&s.slice(a,a+n.length)==n||i==r.pos+a,p=e?M_(r):null;return p?l?r.column(p.from):r.column(p.to):r.baseIndent+(l?0:r.unit*t)}const Q_=r=>r.baseIndent;function Pm({except:r,units:e=1}={}){return t=>{let n=r&&r.test(t.textAfter);return t.baseIndent+(n?0:e*t.unit)}}const j_=200;function L_(){return gs.transactionFilter.of(r=>{if(!r.docChanged||!r.isUserEvent("input.type")&&!r.isUserEvent("input.complete"))return r;let e=r.startState.languageDataAt("indentOnInput",r.startState.selection.main.head);if(!e.length)return r;let t=r.newDoc,{head:n}=r.newSelection.main,i=t.lineAt(n);if(n>i.from+j_)return r;let s=t.sliceString(i.from,n);if(!e.some(m=>m.test(s)))return r;let{state:a}=r,l=-1,p=[];for(let{head:m}of a.selection.ranges){let g=a.doc.lineAt(m);if(g.from==l)continue;l=g.from;let b=gO(a,g.from);if(b==null)continue;let S=/^\s*/.exec(g.text)[0],$=ud(a,b);S!=$&&p.push({from:g.from,to:g.from+S.length,insert:$})}return p.length?[r,{changes:p,sequential:!0}]:r})}const X_=qn.define(),Td=new Gi;function A2(r){let e=r.firstChild,t=r.lastChild;return e&&e.to<t.from?{from:e.to,to:t.type.isError?r.to:t.from}:null}function V_(r,e,t){let n=po(r);if(n.length<t)return null;let i=n.resolveInner(t,1),s=null;for(let a=i;a;a=a.parent){if(a.to<=t||a.from>t)continue;if(s&&a.from<e)break;let l=a.type.prop(Td);if(l&&(a.to<n.length-50||n.length==r.doc.length||!U_(a))){let p=l(a,r);p&&p.from<=t&&p.from>=e&&p.to>t&&(s=p)}}return s}function U_(r){let e=r.lastChild;return e&&e.to==r.to&&e.type.isError}function ng(r,e,t){for(let n of r.facet(X_)){let i=n(r,e,t);if(i)return i}return V_(r,e,t)}function T2(r,e){let t=e.mapPos(r.from,1),n=e.mapPos(r.to,-1);return t>=n?void 0:{from:t,to:n}}const Wg=Qi.define({map:T2}),Pd=Qi.define({map:T2});function P2(r){let e=[];for(let{head:t}of r.state.selection.ranges)e.some(n=>n.from<=t&&n.to>=t)||e.push(r.lineBlockAt(t));return e}const Zh=Po.define({create(){return _i.none},update(r,e){r=r.map(e.changes);for(let t of e.effects)t.is(Wg)&&!q_(r,t.value.from,t.value.to)?r=r.update({add:[Hx.range(t.value.from,t.value.to)]}):t.is(Pd)&&(r=r.update({filter:(n,i)=>t.value.from!=n||t.value.to!=i,filterFrom:t.value.from,filterTo:t.value.to}));if(e.selection){let t=!1,{head:n}=e.selection.main;r.between(n,n,(i,s)=>{i<n&&s>n&&(t=!0)}),t&&(r=r.update({filterFrom:n,filterTo:n,filter:(i,s)=>s<=n||i>=n}))}return r},provide:r=>Qn.decorations.from(r),toJSON(r,e){let t=[];return r.between(0,e.doc.length,(n,i)=>{t.push(n,i)}),t},fromJSON(r){if(!Array.isArray(r)||r.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let t=0;t<r.length;){let n=r[t++],i=r[t++];if(typeof n!="number"||typeof i!="number")throw new RangeError("Invalid JSON for fold state");e.push(Hx.range(n,i))}return _i.set(e,!0)}});function ig(r,e,t){var n;let i=null;return(n=r.field(Zh,!1))===null||n===void 0||n.between(e,t,(s,a)=>{(!i||i.from>s)&&(i={from:s,to:a})}),i}function q_(r,e,t){let n=!1;return r.between(e,e,(i,s)=>{i==e&&s==t&&(n=!0)}),n}function k2(r,e){return r.field(Zh,!1)?e:e.concat(Qi.appendConfig.of($2()))}const z_=r=>{for(let e of P2(r)){let t=ng(r.state,e.from,e.to);if(t)return r.dispatch({effects:k2(r.state,[Wg.of(t),F2(r,t)])}),!0}return!1},W_=r=>{if(!r.state.field(Zh,!1))return!1;let e=[];for(let t of P2(r)){let n=ig(r.state,t.from,t.to);n&&e.push(Pd.of(n),F2(r,n,!1))}return e.length&&r.dispatch({effects:e}),e.length>0};function F2(r,e,t=!0){let n=r.state.doc.lineAt(e.from).number,i=r.state.doc.lineAt(e.to).number;return Qn.announce.of(`${r.state.phrase(t?"Folded lines":"Unfolded lines")} ${n} ${r.state.phrase("to")} ${i}.`)}const Z_=r=>{let{state:e}=r,t=[];for(let n=0;n<e.doc.length;){let i=r.lineBlockAt(n),s=ng(e,i.from,i.to);s&&t.push(Wg.of(s)),n=(s?r.lineBlockAt(s.to):i).to+1}return t.length&&r.dispatch({effects:k2(r.state,t)}),!!t.length},Y_=r=>{let e=r.state.field(Zh,!1);if(!e||!e.size)return!1;let t=[];return e.between(0,r.state.doc.length,(n,i)=>{t.push(Pd.of({from:n,to:i}))}),r.dispatch({effects:t}),!0},G_=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:z_},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:W_},{key:"Ctrl-Alt-[",run:Z_},{key:"Ctrl-Alt-]",run:Y_}],H_={placeholderDOM:null,placeholderText:"…"},_2=qn.define({combine(r){return Sl(r,H_)}});function $2(r){let e=[Zh,e$];return r&&e.push(_2.of(r)),e}const Hx=_i.replace({widget:new class extends oh{toDOM(r){let{state:e}=r,t=e.facet(_2),n=s=>{let a=r.lineBlockAt(r.posAtDOM(s.target)),l=ig(r.state,a.from,a.to);l&&r.dispatch({effects:Pd.of(l)}),s.preventDefault()};if(t.placeholderDOM)return t.placeholderDOM(r,n);let i=document.createElement("span");return i.textContent=t.placeholderText,i.setAttribute("aria-label",e.phrase("folded code")),i.title=e.phrase("unfold"),i.className="cm-foldPlaceholder",i.onclick=n,i}}}),J_={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class L0 extends sc{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}}function K_(r={}){let e=Object.assign(Object.assign({},J_),r),t=new L0(e,!0),n=new L0(e,!1),i=bo.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(ih)!=a.state.facet(ih)||a.startState.field(Zh,!1)!=a.state.field(Zh,!1)||po(a.startState)!=po(a.state)||e.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let l=new Kc;for(let p of a.viewportLineBlocks){let m=ig(a.state,p.from,p.to)?n:ng(a.state,p.from,p.to)?t:null;m&&l.add(p.from,p.from,m)}return l.finish()}}),{domEventHandlers:s}=e;return[i,E3({class:"cm-foldGutter",markers(a){var l;return((l=a.plugin(i))===null||l===void 0?void 0:l.markers)||Ss.empty},initialSpacer(){return new L0(e,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(a,l,p)=>{if(s.click&&s.click(a,l,p))return!0;let m=ig(a.state,l.from,l.to);if(m)return a.dispatch({effects:Pd.of(m)}),!0;let g=ng(a.state,l.from,l.to);return g?(a.dispatch({effects:Wg.of(g)}),!0):!1}})}),$2()]}const e$=Qn.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class kd{constructor(e,t){this.specs=e;let n;function i(l){let p=eh.newName();return(n||(n=Object.create(null)))["."+p]=l,p}const s=typeof t.all=="string"?t.all:t.all?i(t.all):void 0,a=t.scope;this.scope=a instanceof Cu?l=>l.prop(kp)==a.data:a?l=>l==a:void 0,this.style=v2(e.map(l=>({tag:l.tag,class:l.class||i(Object.assign({},l,{tag:null}))})),{all:s}).style,this.module=n?new eh(n):null,this.themeType=t.themeType}static define(e,t){return new kd(e,t||{})}}const iD=qn.define(),B2=qn.define({combine(r){return r.length?[r[0]]:null}});function X0(r){let e=r.facet(iD);return e.length?e:r.facet(B2)}function N2(r,e){let t=[r$],n;return r instanceof kd&&(r.module&&t.push(Qn.styleModule.of(r.module)),n=r.themeType),e!=null&&e.fallback?t.push(B2.of(r)):n?t.push(iD.computeN([Qn.darkTheme],i=>i.facet(Qn.darkTheme)==(n=="dark")?[r]:[])):t.push(iD.of(r)),t}class t${constructor(e){this.markCache=Object.create(null),this.tree=po(e.state),this.decorations=this.buildDeco(e,X0(e.state))}update(e){let t=po(e.state),n=X0(e.state),i=n!=X0(e.startState);t.length<e.view.viewport.to&&!i&&t.type==this.tree.type?this.decorations=this.decorations.map(e.changes):(t!=this.tree||e.viewportChanged||i)&&(this.tree=t,this.decorations=this.buildDeco(e.view,n))}buildDeco(e,t){if(!t||!this.tree.length)return _i.none;let n=new Kc;for(let{from:i,to:s}of e.visibleRanges)w_(this.tree,t,(a,l,p)=>{n.add(a,l,this.markCache[p]||(this.markCache[p]=_i.mark({class:p})))},i,s);return n.finish()}}const r$=Jh.high(bo.fromClass(t$,{decorations:r=>r.decorations})),n$=kd.define([{tag:He.meta,color:"#404740"},{tag:He.link,textDecoration:"underline"},{tag:He.heading,textDecoration:"underline",fontWeight:"bold"},{tag:He.emphasis,fontStyle:"italic"},{tag:He.strong,fontWeight:"bold"},{tag:He.strikethrough,textDecoration:"line-through"},{tag:He.keyword,color:"#708"},{tag:[He.atom,He.bool,He.url,He.contentSeparator,He.labelName],color:"#219"},{tag:[He.literal,He.inserted],color:"#164"},{tag:[He.string,He.deleted],color:"#a11"},{tag:[He.regexp,He.escape,He.special(He.string)],color:"#e40"},{tag:He.definition(He.variableName),color:"#00f"},{tag:He.local(He.variableName),color:"#30a"},{tag:[He.typeName,He.namespace],color:"#085"},{tag:He.className,color:"#167"},{tag:[He.special(He.variableName),He.macroName],color:"#256"},{tag:He.definition(He.propertyName),color:"#00c"},{tag:He.comment,color:"#940"},{tag:He.invalid,color:"#f00"}]),i$=Qn.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),I2=1e4,M2="()[]{}",R2=qn.define({combine(r){return Sl(r,{afterCursor:!0,brackets:M2,maxScanDistance:I2,renderMatch:a$})}}),s$=_i.mark({class:"cm-matchingBracket"}),o$=_i.mark({class:"cm-nonmatchingBracket"});function a$(r){let e=[],t=r.matched?s$:o$;return e.push(t.range(r.start.from,r.start.to)),r.end&&e.push(t.range(r.end.from,r.end.to)),e}const u$=Po.define({create(){return _i.none},update(r,e){if(!e.docChanged&&!e.selection)return r;let t=[],n=e.state.facet(R2);for(let i of e.state.selection.ranges){if(!i.empty)continue;let s=pl(e.state,i.head,-1,n)||i.head>0&&pl(e.state,i.head-1,1,n)||n.afterCursor&&(pl(e.state,i.head,1,n)||i.head<e.state.doc.length&&pl(e.state,i.head+1,-1,n));s&&(t=t.concat(n.renderMatch(s,e.state)))}return _i.set(t,!0)},provide:r=>Qn.decorations.from(r)}),l$=[u$,i$];function c$(r={}){return[R2.of(r),l$]}const DO=new Gi;function sD(r,e,t){let n=r.prop(e<0?Gi.openedBy:Gi.closedBy);if(n)return n;if(r.name.length==1){let i=t.indexOf(r.name);if(i>-1&&i%2==(e<0?1:0))return[t[i+e]]}return null}function oD(r){let e=r.type.prop(DO);return e?e(r.node):r}function pl(r,e,t,n={}){let i=n.maxScanDistance||I2,s=n.brackets||M2,a=po(r),l=a.resolveInner(e,t);for(let p=l;p;p=p.parent){let m=sD(p.type,t,s);if(m&&p.from<p.to){let g=oD(p);if(g&&(t>0?e>=g.from&&e<g.to:e>g.from&&e<=g.to))return h$(r,e,t,p,g,m,s)}}return p$(r,e,t,a,l.type,i,s)}function h$(r,e,t,n,i,s,a){let l=n.parent,p={from:i.from,to:i.to},m=0,g=l==null?void 0:l.cursor();if(g&&(t<0?g.childBefore(n.from):g.childAfter(n.to)))do if(t<0?g.to<=n.from:g.from>=n.to){if(m==0&&s.indexOf(g.type.name)>-1&&g.from<g.to){let b=oD(g);return{start:p,end:b?{from:b.from,to:b.to}:void 0,matched:!0}}else if(sD(g.type,t,a))m++;else if(sD(g.type,-t,a)){if(m==0){let b=oD(g);return{start:p,end:b&&b.from<b.to?{from:b.from,to:b.to}:void 0,matched:!1}}m--}}while(t<0?g.prevSibling():g.nextSibling());return{start:p,matched:!1}}function p$(r,e,t,n,i,s,a){let l=t<0?r.sliceDoc(e-1,e):r.sliceDoc(e,e+1),p=a.indexOf(l);if(p<0||p%2==0!=t>0)return null;let m={from:t<0?e-1:e,to:t>0?e+1:e},g=r.doc.iterRange(e,t>0?r.doc.length:0),b=0;for(let S=0;!g.next().done&&S<=s;){let $=g.value;t<0&&(S+=$.length);let G=e+S*t;for(let be=t>0?0:$.length-1,ke=t>0?$.length:-1;be!=ke;be+=t){let me=a.indexOf($[be]);if(!(me<0||n.resolveInner(G+be,1).type!=i))if(me%2==0==t>0)b++;else{if(b==1)return{start:m,end:{from:G+be,to:G+be+1},matched:me>>1==p>>1};b--}}t>0&&(S+=$.length)}return g.done?{start:m,matched:!1}:null}const f$=Object.create(null),Jx=[ga.none],Kx=[],d$=Object.create(null);for(let[r,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])d$[r]=m$(f$,e);function V0(r,e){Kx.indexOf(r)>-1||(Kx.push(r),console.warn(e))}function m$(r,e){let t=null;for(let s of e.split(".")){let a=r[s]||He[s];a?typeof a=="function"?t?t=a(t):V0(s,`Modifier ${s} used at start of tag`):t?V0(s,`Tag ${s} used as modifier`):t=a:V0(s,`Unknown highlighting tag ${s}`)}if(!t)return 0;let n=e.replace(/ /g,"_"),i=ga.define({id:Jx.length,name:n,props:[wd({[n]:t})]});return Jx.push(i),i.id}const g$=r=>{let{state:e}=r,t=e.doc.lineAt(e.selection.main.from),n=xO(r.state,t.from);return n.line?y$(r):n.block?O$(r):!1};function OO(r,e){return({state:t,dispatch:n})=>{if(t.readOnly)return!1;let i=r(e,t);return i?(n(t.update(i)),!0):!1}}const y$=OO(v$,0),D$=OO(Q2,0),O$=OO((r,e)=>Q2(r,e,b$(e)),0);function xO(r,e){let t=r.languageDataAt("commentTokens",e);return t.length?t[0]:{}}const xf=50;function x$(r,{open:e,close:t},n,i){let s=r.sliceDoc(n-xf,n),a=r.sliceDoc(i,i+xf),l=/\s*$/.exec(s)[0].length,p=/^\s*/.exec(a)[0].length,m=s.length-l;if(s.slice(m-e.length,m)==e&&a.slice(p,p+t.length)==t)return{open:{pos:n-l,margin:l&&1},close:{pos:i+p,margin:p&&1}};let g,b;i-n<=2*xf?g=b=r.sliceDoc(n,i):(g=r.sliceDoc(n,n+xf),b=r.sliceDoc(i-xf,i));let S=/^\s*/.exec(g)[0].length,$=/\s*$/.exec(b)[0].length,G=b.length-$-t.length;return g.slice(S,S+e.length)==e&&b.slice(G,G+t.length)==t?{open:{pos:n+S+e.length,margin:/\s/.test(g.charAt(S+e.length))?1:0},close:{pos:i-$-t.length,margin:/\s/.test(b.charAt(G-1))?1:0}}:null}function b$(r){let e=[];for(let t of r.selection.ranges){let n=r.doc.lineAt(t.from),i=t.to<=n.to?n:r.doc.lineAt(t.to),s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=i.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:i.to})}return e}function Q2(r,e,t=e.selection.ranges){let n=t.map(s=>xO(e,s.from).block);if(!n.every(s=>s))return null;let i=t.map((s,a)=>x$(e,n[a],s.from,s.to));if(r!=2&&!i.every(s=>s))return{changes:e.changes(t.map((s,a)=>i[a]?[]:[{from:s.from,insert:n[a].open+" "},{from:s.to,insert:" "+n[a].close}]))};if(r!=1&&i.some(s=>s)){let s=[];for(let a=0,l;a<i.length;a++)if(l=i[a]){let p=n[a],{open:m,close:g}=l;s.push({from:m.pos-p.open.length,to:m.pos+m.margin},{from:g.pos-g.margin,to:g.pos+p.close.length})}return{changes:s}}return null}function v$(r,e,t=e.selection.ranges){let n=[],i=-1;for(let{from:s,to:a}of t){let l=n.length,p=1e9,m=xO(e,s).line;if(m){for(let g=s;g<=a;){let b=e.doc.lineAt(g);if(b.from>i&&(s==a||a>b.from)){i=b.from;let S=/^\s*/.exec(b.text)[0].length,$=S==b.length,G=b.text.slice(S,S+m.length)==m?S:-1;S<b.text.length&&S<p&&(p=S),n.push({line:b,comment:G,token:m,indent:S,empty:$,single:!1})}g=b.to+1}if(p<1e9)for(let g=l;g<n.length;g++)n[g].indent<n[g].line.text.length&&(n[g].indent=p);n.length==l+1&&(n[l].single=!0)}}if(r!=2&&n.some(s=>s.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:l,token:p,indent:m,empty:g,single:b}of n)(b||!g)&&s.push({from:l.from+m,insert:p+" "});let a=e.changes(s);return{changes:a,selection:e.selection.map(a,1)}}else if(r!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:a,comment:l,token:p}of n)if(l>=0){let m=a.from+l,g=m+p.length;a.text[g-a.from]==" "&&g++,s.push({from:m,to:g})}return{changes:s}}return null}const aD=uc.define(),C$=uc.define(),S$=qn.define(),j2=qn.define({combine(r){return Sl(r,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,i)=>e(n,i)||t(n,i)})}});function E$(r){let e=0;return r.iterChangedRanges((t,n)=>e=n),e}const L2=Po.define({create(){return fl.empty},update(r,e){let t=e.state.facet(j2),n=e.annotation(aD);if(n){let p=e.docChanged?Pr.single(E$(e.changes)):void 0,m=Pa.fromTransaction(e,p),g=n.side,b=g==0?r.undone:r.done;return m?b=sg(b,b.length,t.minDepth,m):b=U2(b,e.startState.selection),new fl(g==0?n.rest:b,g==0?b:n.rest)}let i=e.annotation(C$);if((i=="full"||i=="before")&&(r=r.isolate()),e.annotation(To.addToHistory)===!1)return e.changes.empty?r:r.addMapping(e.changes.desc);let s=Pa.fromTransaction(e),a=e.annotation(To.time),l=e.annotation(To.userEvent);return s?r=r.addChanges(s,a,l,t,e):e.selection&&(r=r.addSelection(e.startState.selection,a,l,t.newGroupDelay)),(i=="full"||i=="after")&&(r=r.isolate()),r},toJSON(r){return{done:r.done.map(e=>e.toJSON()),undone:r.undone.map(e=>e.toJSON())}},fromJSON(r){return new fl(r.done.map(Pa.fromJSON),r.undone.map(Pa.fromJSON))}});function w$(r={}){return[L2,j2.of(r),Qn.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?X2:e.inputType=="historyRedo"?uD:null;return n?(e.preventDefault(),n(t)):!1}})]}function Zg(r,e){return function({state:t,dispatch:n}){if(!e&&t.readOnly)return!1;let i=t.field(L2,!1);if(!i)return!1;let s=i.pop(r,t,e);return s?(n(s),!0):!1}}const X2=Zg(0,!1),uD=Zg(1,!1),A$=Zg(0,!0),T$=Zg(1,!0);class Pa{constructor(e,t,n,i,s){this.changes=e,this.effects=t,this.mapped=n,this.startSelection=i,this.selectionsAfter=s}setSelAfter(e){return new Pa(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new Pa(e.changes&&Ao.fromJSON(e.changes),[],e.mapped&&yl.fromJSON(e.mapped),e.startSelection&&Pr.fromJSON(e.startSelection),e.selectionsAfter.map(Pr.fromJSON))}static fromTransaction(e,t){let n=Ka;for(let i of e.startState.facet(S$)){let s=i(e);s.length&&(n=n.concat(s))}return!n.length&&e.changes.empty?null:new Pa(e.changes.invert(e.startState.doc),n,void 0,t||e.startState.selection,Ka)}static selection(e){return new Pa(void 0,Ka,void 0,void 0,e)}}function sg(r,e,t,n){let i=e+1>t+20?e-t-1:0,s=r.slice(i,e);return s.push(n),s}function P$(r,e){let t=[],n=!1;return r.iterChangedRanges((i,s)=>t.push(i,s)),e.iterChangedRanges((i,s,a,l)=>{for(let p=0;p<t.length;){let m=t[p++],g=t[p++];l>=m&&a<=g&&(n=!0)}}),n}function k$(r,e){return r.ranges.length==e.ranges.length&&r.ranges.filter((t,n)=>t.empty!=e.ranges[n].empty).length===0}function V2(r,e){return r.length?e.length?r.concat(e):r:e}const Ka=[],F$=200;function U2(r,e){if(r.length){let t=r[r.length-1],n=t.selectionsAfter.slice(Math.max(0,t.selectionsAfter.length-F$));return n.length&&n[n.length-1].eq(e)?r:(n.push(e),sg(r,r.length-1,1e9,t.setSelAfter(n)))}else return[Pa.selection([e])]}function _$(r){let e=r[r.length-1],t=r.slice();return t[r.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),t}function U0(r,e){if(!r.length)return r;let t=r.length,n=Ka;for(;t;){let i=$$(r[t-1],e,n);if(i.changes&&!i.changes.empty||i.effects.length){let s=r.slice(0,t);return s[t-1]=i,s}else e=i.mapped,t--,n=i.selectionsAfter}return n.length?[Pa.selection(n)]:Ka}function $$(r,e,t){let n=V2(r.selectionsAfter.length?r.selectionsAfter.map(l=>l.map(e)):Ka,t);if(!r.changes)return Pa.selection(n);let i=r.changes.map(e),s=e.mapDesc(r.changes,!0),a=r.mapped?r.mapped.composeDesc(s):s;return new Pa(i,Qi.mapEffects(r.effects,e),a,r.startSelection.map(s),n)}const B$=/^(input\.type|delete)($|\.)/;class fl{constructor(e,t,n=0,i=void 0){this.done=e,this.undone=t,this.prevTime=n,this.prevUserEvent=i}isolate(){return this.prevTime?new fl(this.done,this.undone):this}addChanges(e,t,n,i,s){let a=this.done,l=a[a.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!n||B$.test(n))&&(!l.selectionsAfter.length&&t-this.prevTime<i.newGroupDelay&&i.joinToEvent(s,P$(l.changes,e.changes))||n=="input.type.compose")?a=sg(a,a.length-1,i.minDepth,new Pa(e.changes.compose(l.changes),V2(e.effects,l.effects),l.mapped,l.startSelection,Ka)):a=sg(a,a.length,i.minDepth,e),new fl(a,Ka,t,n)}addSelection(e,t,n,i){let s=this.done.length?this.done[this.done.length-1].selectionsAfter:Ka;return s.length>0&&t-this.prevTime<i&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&k$(s[s.length-1],e)?this:new fl(U2(this.done,e),this.undone,t,n)}addMapping(e){return new fl(U0(this.done,e),U0(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let i=e==0?this.done:this.undone;if(i.length==0)return null;let s=i[i.length-1];if(n&&s.selectionsAfter.length)return t.update({selection:s.selectionsAfter[s.selectionsAfter.length-1],annotations:aD.of({side:e,rest:_$(i)}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:!0});if(s.changes){let a=i.length==1?Ka:i.slice(0,i.length-1);return s.mapped&&(a=U0(a,s.mapped)),t.update({changes:s.changes,selection:s.startSelection,effects:s.effects,annotations:aD.of({side:e,rest:a}),filter:!1,userEvent:e==0?"undo":"redo",scrollIntoView:!0})}else return null}}fl.empty=new fl(Ka,Ka);const N$=[{key:"Mod-z",run:X2,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:uD,preventDefault:!0},{linux:"Ctrl-Shift-z",run:uD,preventDefault:!0},{key:"Mod-u",run:A$,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:T$,preventDefault:!0}];function sf(r,e){return Pr.create(r.ranges.map(e),r.mainIndex)}function El(r,e){return r.update({selection:e,scrollIntoView:!0,userEvent:"select"})}function ku({state:r,dispatch:e},t){let n=sf(r.selection,t);return n.eq(r.selection)?!1:(e(El(r,n)),!0)}function Yg(r,e){return Pr.cursor(e?r.to:r.from)}function q2(r,e){return ku(r,t=>t.empty?r.moveByChar(t,e):Yg(t,e))}function la(r){return r.textDirectionAt(r.state.selection.main.head)==no.LTR}const z2=r=>q2(r,!la(r)),W2=r=>q2(r,la(r));function Z2(r,e){return ku(r,t=>t.empty?r.moveByGroup(t,e):Yg(t,e))}const I$=r=>Z2(r,!la(r)),M$=r=>Z2(r,la(r));function R$(r,e,t){if(e.type.prop(t))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(r.sliceDoc(e.from,e.to)))||e.firstChild}function Gg(r,e,t){let n=po(r).resolveInner(e.head),i=t?Gi.closedBy:Gi.openedBy;for(let p=e.head;;){let m=t?n.childAfter(p):n.childBefore(p);if(!m)break;R$(r,m,i)?n=m:p=t?m.to:m.from}let s=n.type.prop(i),a,l;return s&&(a=t?pl(r,n.from,1):pl(r,n.to,-1))&&a.matched?l=t?a.end.to:a.end.from:l=t?n.to:n.from,Pr.cursor(l,t?-1:1)}const Q$=r=>ku(r,e=>Gg(r.state,e,!la(r))),j$=r=>ku(r,e=>Gg(r.state,e,la(r)));function Y2(r,e){return ku(r,t=>{if(!t.empty)return Yg(t,e);let n=r.moveVertically(t,e);return n.head!=t.head?n:r.moveToLineBoundary(t,e)})}const G2=r=>Y2(r,!1),H2=r=>Y2(r,!0);function J2(r){let e=r.scrollDOM.clientHeight<r.scrollDOM.scrollHeight-2,t=0,n=0,i;if(e){for(let s of r.state.facet(Qn.scrollMargins)){let a=s(r);a!=null&&a.top&&(t=Math.max(a==null?void 0:a.top,t)),a!=null&&a.bottom&&(n=Math.max(a==null?void 0:a.bottom,n))}i=r.scrollDOM.clientHeight-t-n}else i=(r.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:t,marginBottom:n,selfScroll:e,height:Math.max(r.defaultLineHeight,i-5)}}function K2(r,e){let t=J2(r),{state:n}=r,i=sf(n.selection,a=>a.empty?r.moveVertically(a,e,t.height):Yg(a,e));if(i.eq(n.selection))return!1;let s;if(t.selfScroll){let a=r.coordsAtPos(n.selection.main.head),l=r.scrollDOM.getBoundingClientRect(),p=l.top+t.marginTop,m=l.bottom-t.marginBottom;a&&a.top>p&&a.bottom<m&&(s=Qn.scrollIntoView(i.main.head,{y:"start",yMargin:a.top-p}))}return r.dispatch(El(n,i),{effects:s}),!0}const eb=r=>K2(r,!1),lD=r=>K2(r,!0);function ah(r,e,t){let n=r.lineBlockAt(e.head),i=r.moveToLineBoundary(e,t);if(i.head==e.head&&i.head!=(t?n.to:n.from)&&(i=r.moveToLineBoundary(e,t,!1)),!t&&i.head==n.from&&n.length){let s=/^\s*/.exec(r.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(i=Pr.cursor(n.from+s))}return i}const L$=r=>ku(r,e=>ah(r,e,!0)),X$=r=>ku(r,e=>ah(r,e,!1)),V$=r=>ku(r,e=>ah(r,e,!la(r))),U$=r=>ku(r,e=>ah(r,e,la(r))),q$=r=>ku(r,e=>Pr.cursor(r.lineBlockAt(e.head).from,1)),z$=r=>ku(r,e=>Pr.cursor(r.lineBlockAt(e.head).to,-1));function W$(r,e,t){let n=!1,i=sf(r.selection,s=>{let a=pl(r,s.head,-1)||pl(r,s.head,1)||s.head>0&&pl(r,s.head-1,1)||s.head<r.doc.length&&pl(r,s.head+1,-1);if(!a||!a.end)return s;n=!0;let l=a.start.from==s.head?a.end.to:a.end.from;return t?Pr.range(s.anchor,l):Pr.cursor(l)});return n?(e(El(r,i)),!0):!1}const Z$=({state:r,dispatch:e})=>W$(r,e,!1);function nu(r,e){let t=sf(r.state.selection,n=>{let i=e(n);return Pr.range(n.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return t.eq(r.state.selection)?!1:(r.dispatch(El(r.state,t)),!0)}function eE(r,e){return nu(r,t=>r.moveByChar(t,e))}const tE=r=>eE(r,!la(r)),rE=r=>eE(r,la(r));function nE(r,e){return nu(r,t=>r.moveByGroup(t,e))}const Y$=r=>nE(r,!la(r)),G$=r=>nE(r,la(r)),H$=r=>nu(r,e=>Gg(r.state,e,!la(r))),J$=r=>nu(r,e=>Gg(r.state,e,la(r)));function iE(r,e){return nu(r,t=>r.moveVertically(t,e))}const sE=r=>iE(r,!1),oE=r=>iE(r,!0);function aE(r,e){return nu(r,t=>r.moveVertically(t,e,J2(r).height))}const tb=r=>aE(r,!1),rb=r=>aE(r,!0),K$=r=>nu(r,e=>ah(r,e,!0)),eB=r=>nu(r,e=>ah(r,e,!1)),tB=r=>nu(r,e=>ah(r,e,!la(r))),rB=r=>nu(r,e=>ah(r,e,la(r))),nB=r=>nu(r,e=>Pr.cursor(r.lineBlockAt(e.head).from)),iB=r=>nu(r,e=>Pr.cursor(r.lineBlockAt(e.head).to)),nb=({state:r,dispatch:e})=>(e(El(r,{anchor:0})),!0),ib=({state:r,dispatch:e})=>(e(El(r,{anchor:r.doc.length})),!0),sb=({state:r,dispatch:e})=>(e(El(r,{anchor:r.selection.main.anchor,head:0})),!0),ob=({state:r,dispatch:e})=>(e(El(r,{anchor:r.selection.main.anchor,head:r.doc.length})),!0),sB=({state:r,dispatch:e})=>(e(r.update({selection:{anchor:0,head:r.doc.length},userEvent:"select"})),!0),oB=({state:r,dispatch:e})=>{let t=Jg(r).map(({from:n,to:i})=>Pr.range(n,Math.min(i+1,r.doc.length)));return e(r.update({selection:Pr.create(t),userEvent:"select"})),!0},aB=({state:r,dispatch:e})=>{let t=sf(r.selection,n=>{var i;let s=po(r).resolveInner(n.head,1);for(;!(s.from<n.from&&s.to>=n.to||s.to>n.to&&s.from<=n.from||!(!((i=s.parent)===null||i===void 0)&&i.parent));)s=s.parent;return Pr.range(s.to,s.from)});return e(El(r,t)),!0},uB=({state:r,dispatch:e})=>{let t=r.selection,n=null;return t.ranges.length>1?n=Pr.create([t.main]):t.main.empty||(n=Pr.create([Pr.cursor(t.main.head)])),n?(e(El(r,n)),!0):!1};function Hg(r,e){if(r.state.readOnly)return!1;let t="delete.selection",{state:n}=r,i=n.changeByRange(s=>{let{from:a,to:l}=s;if(a==l){let p=e(a);p<a?(t="delete.backward",p=um(r,p,!1)):p>a&&(t="delete.forward",p=um(r,p,!0)),a=Math.min(a,p),l=Math.max(l,p)}else a=um(r,a,!1),l=um(r,l,!0);return a==l?{range:s}:{changes:{from:a,to:l},range:Pr.cursor(a)}});return i.changes.empty?!1:(r.dispatch(n.update(i,{scrollIntoView:!0,userEvent:t,effects:t=="delete.selection"?Qn.announce.of(n.phrase("Selection deleted")):void 0})),!0)}function um(r,e,t){if(r instanceof Qn)for(let n of r.state.facet(Qn.atomicRanges).map(i=>i(r)))n.between(e,e,(i,s)=>{i<e&&s>e&&(e=t?s:i)});return e}const uE=(r,e)=>Hg(r,t=>{let{state:n}=r,i=n.doc.lineAt(t),s,a;if(!e&&t>i.from&&t<i.from+200&&!/[^ \t]/.test(s=i.text.slice(0,t-i.from))){if(s[s.length-1]==" ")return t-1;let l=xd(s,n.tabSize),p=l%rg(n)||rg(n);for(let m=0;m<p&&s[s.length-1-m]==" ";m++)t--;a=t}else a=ua(i.text,t-i.from,e,e)+i.from,a==t&&i.number!=(e?n.doc.lines:1)&&(a+=e?1:-1);return a}),cD=r=>uE(r,!1),lE=r=>uE(r,!0),cE=(r,e)=>Hg(r,t=>{let n=t,{state:i}=r,s=i.doc.lineAt(n),a=i.charCategorizer(n);for(let l=null;;){if(n==(e?s.to:s.from)){n==t&&s.number!=(e?i.doc.lines:1)&&(n+=e?1:-1);break}let p=ua(s.text,n-s.from,e)+s.from,m=s.text.slice(Math.min(n,p)-s.from,Math.max(n,p)-s.from),g=a(m);if(l!=null&&g!=l)break;(m!=" "||n!=t)&&(l=g),n=p}return n}),hE=r=>cE(r,!1),lB=r=>cE(r,!0),pE=r=>Hg(r,e=>{let t=r.lineBlockAt(e).to;return e<t?t:Math.min(r.state.doc.length,e+1)}),cB=r=>Hg(r,e=>{let t=r.lineBlockAt(e).from;return e>t?t:Math.max(0,e-1)}),hB=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:Ds.of(["",""])},range:Pr.cursor(n.from)}));return e(r.update(t,{scrollIntoView:!0,userEvent:"input"})),!0},pB=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=r.changeByRange(n=>{if(!n.empty||n.from==0||n.from==r.doc.length)return{range:n};let i=n.from,s=r.doc.lineAt(i),a=i==s.from?i-1:ua(s.text,i-s.from,!1)+s.from,l=i==s.to?i+1:ua(s.text,i-s.from,!0)+s.from;return{changes:{from:a,to:l,insert:r.doc.slice(i,l).append(r.doc.slice(a,i))},range:Pr.cursor(l)}});return t.changes.empty?!1:(e(r.update(t,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Jg(r){let e=[],t=-1;for(let n of r.selection.ranges){let i=r.doc.lineAt(n.from),s=r.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=r.doc.lineAt(n.to-1)),t>=i.number){let a=e[e.length-1];a.to=s.to,a.ranges.push(n)}else e.push({from:i.from,to:s.to,ranges:[n]});t=s.number+1}return e}function fE(r,e,t){if(r.readOnly)return!1;let n=[],i=[];for(let s of Jg(r)){if(t?s.to==r.doc.length:s.from==0)continue;let a=r.doc.lineAt(t?s.to+1:s.from-1),l=a.length+1;if(t){n.push({from:s.to,to:a.to},{from:s.from,insert:a.text+r.lineBreak});for(let p of s.ranges)i.push(Pr.range(Math.min(r.doc.length,p.anchor+l),Math.min(r.doc.length,p.head+l)))}else{n.push({from:a.from,to:s.from},{from:s.to,insert:r.lineBreak+a.text});for(let p of s.ranges)i.push(Pr.range(p.anchor-l,p.head-l))}}return n.length?(e(r.update({changes:n,scrollIntoView:!0,selection:Pr.create(i,r.selection.mainIndex),userEvent:"move.line"})),!0):!1}const fB=({state:r,dispatch:e})=>fE(r,e,!1),dB=({state:r,dispatch:e})=>fE(r,e,!0);function dE(r,e,t){if(r.readOnly)return!1;let n=[];for(let i of Jg(r))t?n.push({from:i.from,insert:r.doc.slice(i.from,i.to)+r.lineBreak}):n.push({from:i.to,insert:r.lineBreak+r.doc.slice(i.from,i.to)});return e(r.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const mB=({state:r,dispatch:e})=>dE(r,e,!1),gB=({state:r,dispatch:e})=>dE(r,e,!0),yB=r=>{if(r.state.readOnly)return!1;let{state:e}=r,t=e.changes(Jg(e).map(({from:i,to:s})=>(i>0?i--:s<e.doc.length&&s++,{from:i,to:s}))),n=sf(e.selection,i=>r.moveVertically(i,!0)).map(t);return r.dispatch({changes:t,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function DB(r,e){if(/\(\)|\[\]|\{\}/.test(r.sliceDoc(e-1,e+1)))return{from:e,to:e};let t=po(r).resolveInner(e),n=t.childBefore(e),i=t.childAfter(e),s;return n&&i&&n.to<=e&&i.from>=e&&(s=n.type.prop(Gi.closedBy))&&s.indexOf(i.name)>-1&&r.doc.lineAt(n.to).from==r.doc.lineAt(i.from).from?{from:n.to,to:i.from}:null}const OB=mE(!1),xB=mE(!0);function mE(r){return({state:e,dispatch:t})=>{if(e.readOnly)return!1;let n=e.changeByRange(i=>{let{from:s,to:a}=i,l=e.doc.lineAt(s),p=!r&&s==a&&DB(e,s);r&&(s=a=(a<=l.to?l:e.doc.lineAt(a)).to);let m=new zg(e,{simulateBreak:s,simulateDoubleBreak:!!p}),g=gO(m,s);for(g==null&&(g=/^\s*/.exec(e.doc.lineAt(s).text)[0].length);a<l.to&&/\s/.test(l.text[a-l.from]);)a++;p?{from:s,to:a}=p:s>l.from&&s<l.from+100&&!/\S/.test(l.text.slice(0,s))&&(s=l.from);let b=["",ud(e,g)];return p&&b.push(ud(e,m.lineIndent(l.from,-1))),{changes:{from:s,to:a,insert:Ds.of(b)},range:Pr.cursor(s+1+b[1].length)}});return t(e.update(n,{scrollIntoView:!0,userEvent:"input"})),!0}}function bO(r,e){let t=-1;return r.changeByRange(n=>{let i=[];for(let a=n.from;a<=n.to;){let l=r.doc.lineAt(a);l.number>t&&(n.empty||n.to>l.from)&&(e(l,i,n),t=l.number),a=l.to+1}let s=r.changes(i);return{changes:i,range:Pr.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const bB=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let t=Object.create(null),n=new zg(r,{overrideIndentation:s=>{let a=t[s];return a??-1}}),i=bO(r,(s,a,l)=>{let p=gO(n,s.from);if(p==null)return;/\S/.test(s.text)||(p=0);let m=/^\s*/.exec(s.text)[0],g=ud(r,p);(m!=g||l.from<s.from+m.length)&&(t[s.from]=p,a.push({from:s.from,to:s.from+m.length,insert:g}))});return i.changes.empty||e(r.update(i,{userEvent:"indent"})),!0},vB=({state:r,dispatch:e})=>r.readOnly?!1:(e(r.update(bO(r,(t,n)=>{n.push({from:t.from,insert:r.facet(qg)})}),{userEvent:"input.indent"})),!0),CB=({state:r,dispatch:e})=>r.readOnly?!1:(e(r.update(bO(r,(t,n)=>{let i=/^\s*/.exec(t.text)[0];if(!i)return;let s=xd(i,r.tabSize),a=0,l=ud(r,Math.max(0,s-rg(r)));for(;a<i.length&&a<l.length&&i.charCodeAt(a)==l.charCodeAt(a);)a++;n.push({from:t.from+a,to:t.from+i.length,insert:l.slice(a)})}),{userEvent:"delete.dedent"})),!0),SB=[{key:"Ctrl-b",run:z2,shift:tE,preventDefault:!0},{key:"Ctrl-f",run:W2,shift:rE},{key:"Ctrl-p",run:G2,shift:sE},{key:"Ctrl-n",run:H2,shift:oE},{key:"Ctrl-a",run:q$,shift:nB},{key:"Ctrl-e",run:z$,shift:iB},{key:"Ctrl-d",run:lE},{key:"Ctrl-h",run:cD},{key:"Ctrl-k",run:pE},{key:"Ctrl-Alt-h",run:hE},{key:"Ctrl-o",run:hB},{key:"Ctrl-t",run:pB},{key:"Ctrl-v",run:lD}],EB=[{key:"ArrowLeft",run:z2,shift:tE,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:I$,shift:Y$,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:V$,shift:tB,preventDefault:!0},{key:"ArrowRight",run:W2,shift:rE,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:M$,shift:G$,preventDefault:!0},{mac:"Cmd-ArrowRight",run:U$,shift:rB,preventDefault:!0},{key:"ArrowUp",run:G2,shift:sE,preventDefault:!0},{mac:"Cmd-ArrowUp",run:nb,shift:sb},{mac:"Ctrl-ArrowUp",run:eb,shift:tb},{key:"ArrowDown",run:H2,shift:oE,preventDefault:!0},{mac:"Cmd-ArrowDown",run:ib,shift:ob},{mac:"Ctrl-ArrowDown",run:lD,shift:rb},{key:"PageUp",run:eb,shift:tb},{key:"PageDown",run:lD,shift:rb},{key:"Home",run:X$,shift:eB,preventDefault:!0},{key:"Mod-Home",run:nb,shift:sb},{key:"End",run:L$,shift:K$,preventDefault:!0},{key:"Mod-End",run:ib,shift:ob},{key:"Enter",run:OB},{key:"Mod-a",run:sB},{key:"Backspace",run:cD,shift:cD},{key:"Delete",run:lE},{key:"Mod-Backspace",mac:"Alt-Backspace",run:hE},{key:"Mod-Delete",mac:"Alt-Delete",run:lB},{mac:"Mod-Backspace",run:cB},{mac:"Mod-Delete",run:pE}].concat(SB.map(r=>({mac:r.key,run:r.run,shift:r.shift}))),wB=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Q$,shift:H$},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:j$,shift:J$},{key:"Alt-ArrowUp",run:fB},{key:"Shift-Alt-ArrowUp",run:mB},{key:"Alt-ArrowDown",run:dB},{key:"Shift-Alt-ArrowDown",run:gB},{key:"Escape",run:uB},{key:"Mod-Enter",run:xB},{key:"Alt-l",mac:"Ctrl-l",run:oB},{key:"Mod-i",run:aB,preventDefault:!0},{key:"Mod-[",run:CB},{key:"Mod-]",run:vB},{key:"Mod-Alt-\\",run:bB},{key:"Shift-Mod-k",run:yB},{key:"Shift-Mod-\\",run:Z$},{key:"Mod-/",run:g$},{key:"Alt-A",run:D$}].concat(EB);function js(){var r=arguments[0];typeof r=="string"&&(r=document.createElement(r));var e=1,t=arguments[1];if(t&&typeof t=="object"&&t.nodeType==null&&!Array.isArray(t)){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];typeof i=="string"?r.setAttribute(n,i):i!=null&&(r[n]=i)}e++}for(;e<arguments.length;e++)gE(r,arguments[e]);return r}function gE(r,e){if(typeof e=="string")r.appendChild(document.createTextNode(e));else if(e!=null)if(e.nodeType!=null)r.appendChild(e);else if(Array.isArray(e))for(var t=0;t<e.length;t++)gE(r,e[t]);else throw new RangeError("Unsupported child node: "+e)}const ab=typeof String.prototype.normalize=="function"?r=>r.normalize("NFKD"):r=>r;class Hp{constructor(e,t,n=0,i=e.length,s,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,i),this.bufferStart=n,this.normalize=s?l=>s(ab(l)):ab,this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Uo(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let t=YD(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=Ha(e);let i=this.normalize(t);for(let s=0,a=n;;s++){let l=i.charCodeAt(s),p=this.match(l,a);if(s==i.length-1){if(p)return this.value=p,this;break}a==n&&s<t.length&&t.charCodeAt(s)==l&&a++}}}match(e,t){let n=null;for(let i=0;i<this.matches.length;i+=2){let s=this.matches[i],a=!1;this.query.charCodeAt(s)==e&&(s==this.query.length-1?n={from:this.matches[i+1],to:t+1}:(this.matches[i]++,a=!0)),a||(this.matches.splice(i,2),i-=2)}return this.query.charCodeAt(0)==e&&(this.query.length==1?n={from:t,to:t+1}:this.matches.push(1,t)),n&&this.test&&!this.test(n.from,n.to,this.buffer,this.bufferPos)&&(n=null),n}}typeof Symbol<"u"&&(Hp.prototype[Symbol.iterator]=function(){return this});const yE={from:-1,to:-1,match:/.*/.exec("")},vO="gm"+(/x/.unicode==null?"":"u");class DE{constructor(e,t,n,i=0,s=e.length){if(this.text=e,this.to=s,this.curLine="",this.done=!1,this.value=yE,/\\[sWDnr]|\n|\r|\[\^/.test(t))return new OE(e,t,n,i,s);this.re=new RegExp(t,vO+(n!=null&&n.ignoreCase?"i":"")),this.test=n==null?void 0:n.test,this.iter=e.iter();let a=e.lineAt(i);this.curLineStart=a.from,this.matchPos=og(e,i),this.getLine(this.curLineStart)}getLine(e){this.iter.next(e),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let n=this.curLineStart+t.index,i=n+t[0].length;if(this.matchPos=og(this.text,i+(n==i?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(n<i||n>this.value.to)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),e=0;else return this.done=!0,this}}}const q0=new WeakMap;class jp{constructor(e,t){this.from=e,this.text=t}get to(){return this.from+this.text.length}static get(e,t,n){let i=q0.get(e);if(!i||i.from>=n||i.to<=t){let l=new jp(t,e.sliceString(t,n));return q0.set(e,l),l}if(i.from==t&&i.to==n)return i;let{text:s,from:a}=i;return a>t&&(s=e.sliceString(t,a)+s,a=t),i.to<n&&(s+=e.sliceString(i.to,n)),q0.set(e,new jp(a,s)),new jp(t,s.slice(t-a,n-a))}}class OE{constructor(e,t,n,i,s){this.text=e,this.to=s,this.done=!1,this.value=yE,this.matchPos=og(e,i),this.re=new RegExp(t,vO+(n!=null&&n.ignoreCase?"i":"")),this.test=n==null?void 0:n.test,this.flat=jp.get(e,i,this.chunkEnd(i+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e&&(this.re.lastIndex=e+1,t=this.re.exec(this.flat.text)),t){let n=this.flat.from+t.index,i=n+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,i,t)))return this.value={from:n,to:i,match:t},this.matchPos=og(this.text,i+(n==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=jp.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(DE.prototype[Symbol.iterator]=OE.prototype[Symbol.iterator]=function(){return this});function AB(r){try{return new RegExp(r,vO),!0}catch{return!1}}function og(r,e){if(e>=r.length)return e;let t=r.lineAt(e),n;for(;e<t.to&&(n=t.text.charCodeAt(e-t.from))>=56320&&n<57344;)e++;return e}function hD(r){let e=js("input",{class:"cm-textfield",name:"line"}),t=js("form",{class:"cm-gotoLine",onkeydown:i=>{i.keyCode==27?(i.preventDefault(),r.dispatch({effects:ag.of(!1)}),r.focus()):i.keyCode==13&&(i.preventDefault(),n())},onsubmit:i=>{i.preventDefault(),n()}},js("label",r.state.phrase("Go to line"),": ",e)," ",js("button",{class:"cm-button",type:"submit"},r.state.phrase("go")));function n(){let i=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(e.value);if(!i)return;let{state:s}=r,a=s.doc.lineAt(s.selection.main.head),[,l,p,m,g]=i,b=m?+m.slice(1):0,S=p?+p:a.number;if(p&&g){let be=S/100;l&&(be=be*(l=="-"?-1:1)+a.number/s.doc.lines),S=Math.round(s.doc.lines*be)}else p&&l&&(S=S*(l=="-"?-1:1)+a.number);let $=s.doc.line(Math.max(1,Math.min(s.doc.lines,S))),G=Pr.cursor($.from+Math.max(0,Math.min(b,$.length)));r.dispatch({effects:[ag.of(!1),Qn.scrollIntoView(G.from,{y:"center"})],selection:G}),r.focus()}return{dom:t}}const ag=Qi.define(),ub=Po.define({create(){return!0},update(r,e){for(let t of e.effects)t.is(ag)&&(r=t.value);return r},provide:r=>id.from(r,e=>e?hD:null)}),TB=r=>{let e=nd(r,hD);if(!e){let t=[ag.of(!0)];r.state.field(ub,!1)==null&&t.push(Qi.appendConfig.of([ub,PB])),r.dispatch({effects:t}),e=nd(r,hD)}return e&&e.dom.querySelector("input").focus(),!0},PB=Qn.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),kB={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},xE=qn.define({combine(r){return Sl(r,kB,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function FB(r){let e=[IB,NB];return r&&e.push(xE.of(r)),e}const _B=_i.mark({class:"cm-selectionMatch"}),$B=_i.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function lb(r,e,t,n){return(t==0||r(e.sliceDoc(t-1,t))!=Js.Word)&&(n==e.doc.length||r(e.sliceDoc(n,n+1))!=Js.Word)}function BB(r,e,t,n){return r(e.sliceDoc(t,t+1))==Js.Word&&r(e.sliceDoc(n-1,n))==Js.Word}const NB=bo.fromClass(class{constructor(r){this.decorations=this.getDeco(r)}update(r){(r.selectionSet||r.docChanged||r.viewportChanged)&&(this.decorations=this.getDeco(r.view))}getDeco(r){let e=r.state.facet(xE),{state:t}=r,n=t.selection;if(n.ranges.length>1)return _i.none;let i=n.main,s,a=null;if(i.empty){if(!e.highlightWordAroundCursor)return _i.none;let p=t.wordAt(i.head);if(!p)return _i.none;a=t.charCategorizer(i.head),s=t.sliceDoc(p.from,p.to)}else{let p=i.to-i.from;if(p<e.minSelectionLength||p>200)return _i.none;if(e.wholeWords){if(s=t.sliceDoc(i.from,i.to),a=t.charCategorizer(i.head),!(lb(a,t,i.from,i.to)&&BB(a,t,i.from,i.to)))return _i.none}else if(s=t.sliceDoc(i.from,i.to).trim(),!s)return _i.none}let l=[];for(let p of r.visibleRanges){let m=new Hp(t.doc,s,p.from,p.to);for(;!m.next().done;){let{from:g,to:b}=m.value;if((!a||lb(a,t,g,b))&&(i.empty&&g<=i.from&&b>=i.to?l.push($B.range(g,b)):(g>=i.to||b<=i.from)&&l.push(_B.range(g,b)),l.length>e.maxMatches))return _i.none}}return _i.set(l)}},{decorations:r=>r.decorations}),IB=Qn.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),MB=({state:r,dispatch:e})=>{let{selection:t}=r,n=Pr.create(t.ranges.map(i=>r.wordAt(i.head)||Pr.cursor(i.head)),t.mainIndex);return n.eq(t)?!1:(e(r.update({selection:n})),!0)};function RB(r,e){let{main:t,ranges:n}=r.selection,i=r.wordAt(t.head),s=i&&i.from==t.from&&i.to==t.to;for(let a=!1,l=new Hp(r.doc,e,n[n.length-1].to);;)if(l.next(),l.done){if(a)return null;l=new Hp(r.doc,e,0,Math.max(0,n[n.length-1].from-1)),a=!0}else{if(a&&n.some(p=>p.from==l.value.from))continue;if(s){let p=r.wordAt(l.value.from);if(!p||p.from!=l.value.from||p.to!=l.value.to)continue}return l.value}}const QB=({state:r,dispatch:e})=>{let{ranges:t}=r.selection;if(t.some(s=>s.from===s.to))return MB({state:r,dispatch:e});let n=r.sliceDoc(t[0].from,t[0].to);if(r.selection.ranges.some(s=>r.sliceDoc(s.from,s.to)!=n))return!1;let i=RB(r,n);return i?(e(r.update({selection:r.selection.addRange(Pr.range(i.from,i.to),!1),effects:Qn.scrollIntoView(i.to)})),!0):!1},of=qn.define({combine(r){return Sl(r,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new HB(e),scrollToMatch:e=>Qn.scrollIntoView(e)})}});class bE{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||AB(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(t,n)=>n=="n"?`
|
||
`:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new VB(this):new LB(this)}getCursor(e,t=0,n){let i=e.doc?e:gs.create({doc:e});return n==null&&(n=i.doc.length),this.regexp?Ap(this,i,t,n):wp(this,i,t,n)}}class vE{constructor(e){this.spec=e}}function wp(r,e,t,n){return new Hp(e.doc,r.unquoted,t,n,r.caseSensitive?void 0:i=>i.toLowerCase(),r.wholeWord?jB(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function jB(r,e){return(t,n,i,s)=>((s>t||s+i.length<n)&&(s=Math.max(0,t-2),i=r.sliceString(s,Math.min(r.length,n+2))),(e(ug(i,t-s))!=Js.Word||e(lg(i,t-s))!=Js.Word)&&(e(lg(i,n-s))!=Js.Word||e(ug(i,n-s))!=Js.Word))}class LB extends vE{constructor(e){super(e)}nextMatch(e,t,n){let i=wp(this.spec,e,n,e.doc.length).nextOverlapping();return i.done&&(i=wp(this.spec,e,0,t).nextOverlapping()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=n;;){let s=Math.max(t,i-1e4-this.spec.unquoted.length),a=wp(this.spec,e,s,i),l=null;for(;!a.nextOverlapping().done;)l=a.value;if(l)return l;if(s==t)return null;i-=1e4}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let n=wp(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let s=wp(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}function Ap(r,e,t,n){return new DE(e.doc,r.search,{ignoreCase:!r.caseSensitive,test:r.wholeWord?XB(e.charCategorizer(e.selection.main.head)):void 0},t,n)}function ug(r,e){return r.slice(ua(r,e,!1),e)}function lg(r,e){return r.slice(e,ua(r,e))}function XB(r){return(e,t,n)=>!n[0].length||(r(ug(n.input,n.index))!=Js.Word||r(lg(n.input,n.index))!=Js.Word)&&(r(lg(n.input,n.index+n[0].length))!=Js.Word||r(ug(n.input,n.index+n[0].length))!=Js.Word)}class VB extends vE{nextMatch(e,t,n){let i=Ap(this.spec,e,n,e.doc.length).next();return i.done&&(i=Ap(this.spec,e,0,t).next()),i.done?null:i.value}prevMatchInRange(e,t,n){for(let i=1;;i++){let s=Math.max(t,n-i*1e4),a=Ap(this.spec,e,s,n),l=null;for(;!a.next().done;)l=a.value;if(l&&(s==t||l.from>s+10))return l;if(s==t)return null}}prevMatch(e,t,n){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace.replace(/\$([$&\d+])/g,(t,n)=>n=="$"?"$":n=="&"?e.match[0]:n!="0"&&+n<e.match.length?e.match[n]:t))}matchAll(e,t){let n=Ap(this.spec,e,0,e.doc.length),i=[];for(;!n.next().done;){if(i.length>=t)return null;i.push(n.value)}return i}highlight(e,t,n,i){let s=Ap(this.spec,e,Math.max(0,t-250),Math.min(n+250,e.doc.length));for(;!s.next().done;)i(s.value.from,s.value.to)}}const ld=Qi.define(),CO=Qi.define(),Wc=Po.define({create(r){return new z0(pD(r).create(),null)},update(r,e){for(let t of e.effects)t.is(ld)?r=new z0(t.value.create(),r.panel):t.is(CO)&&(r=new z0(r.query,t.value?SO:null));return r},provide:r=>id.from(r,e=>e.panel)});class z0{constructor(e,t){this.query=e,this.panel=t}}const UB=_i.mark({class:"cm-searchMatch"}),qB=_i.mark({class:"cm-searchMatch cm-searchMatch-selected"}),zB=bo.fromClass(class{constructor(r){this.view=r,this.decorations=this.highlight(r.state.field(Wc))}update(r){let e=r.state.field(Wc);(e!=r.startState.field(Wc)||r.docChanged||r.selectionSet||r.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:r,panel:e}){if(!e||!r.spec.valid)return _i.none;let{view:t}=this,n=new Kc;for(let i=0,s=t.visibleRanges,a=s.length;i<a;i++){let{from:l,to:p}=s[i];for(;i<a-1&&p>s[i+1].from-2*250;)p=s[++i].to;r.highlight(t.state,l,p,(m,g)=>{let b=t.state.selection.ranges.some(S=>S.from==m&&S.to==g);n.add(m,g,b?qB:UB)})}return n.finish()}},{decorations:r=>r.decorations});function Fd(r){return e=>{let t=e.state.field(Wc,!1);return t&&t.query.spec.valid?r(e,t):EE(e)}}const cg=Fd((r,{query:e})=>{let{to:t}=r.state.selection.main,n=e.nextMatch(r.state,t,t);if(!n)return!1;let i=Pr.single(n.from,n.to),s=r.state.facet(of);return r.dispatch({selection:i,effects:[EO(r,n),s.scrollToMatch(i.main,r)],userEvent:"select.search"}),SE(r),!0}),hg=Fd((r,{query:e})=>{let{state:t}=r,{from:n}=t.selection.main,i=e.prevMatch(t,n,n);if(!i)return!1;let s=Pr.single(i.from,i.to),a=r.state.facet(of);return r.dispatch({selection:s,effects:[EO(r,i),a.scrollToMatch(s.main,r)],userEvent:"select.search"}),SE(r),!0}),WB=Fd((r,{query:e})=>{let t=e.matchAll(r.state,1e3);return!t||!t.length?!1:(r.dispatch({selection:Pr.create(t.map(n=>Pr.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),ZB=({state:r,dispatch:e})=>{let t=r.selection;if(t.ranges.length>1||t.main.empty)return!1;let{from:n,to:i}=t.main,s=[],a=0;for(let l=new Hp(r.doc,r.sliceDoc(n,i));!l.next().done;){if(s.length>1e3)return!1;l.value.from==n&&(a=s.length),s.push(Pr.range(l.value.from,l.value.to))}return e(r.update({selection:Pr.create(s,a),userEvent:"select.search.matches"})),!0},cb=Fd((r,{query:e})=>{let{state:t}=r,{from:n,to:i}=t.selection.main;if(t.readOnly)return!1;let s=e.nextMatch(t,n,n);if(!s)return!1;let a=[],l,p,m=[];if(s.from==n&&s.to==i&&(p=t.toText(e.getReplacement(s)),a.push({from:s.from,to:s.to,insert:p}),s=e.nextMatch(t,s.from,s.to),m.push(Qn.announce.of(t.phrase("replaced match on line $",t.doc.lineAt(n).number)+"."))),s){let g=a.length==0||a[0].from>=s.to?0:s.to-s.from-p.length;l=Pr.single(s.from-g,s.to-g),m.push(EO(r,s)),m.push(t.facet(of).scrollToMatch(l.main,r))}return r.dispatch({changes:a,selection:l,effects:m,userEvent:"input.replace"}),!0}),YB=Fd((r,{query:e})=>{if(r.state.readOnly)return!1;let t=e.matchAll(r.state,1e9).map(i=>{let{from:s,to:a}=i;return{from:s,to:a,insert:e.getReplacement(i)}});if(!t.length)return!1;let n=r.state.phrase("replaced $ matches",t.length)+".";return r.dispatch({changes:t,effects:Qn.announce.of(n),userEvent:"input.replace.all"}),!0});function SO(r){return r.state.facet(of).createPanel(r)}function pD(r,e){var t,n,i,s,a;let l=r.selection.main,p=l.empty||l.to>l.from+100?"":r.sliceDoc(l.from,l.to);if(e&&!p)return e;let m=r.facet(of);return new bE({search:((t=e==null?void 0:e.literal)!==null&&t!==void 0?t:m.literal)?p:p.replace(/\n/g,"\\n"),caseSensitive:(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:m.caseSensitive,literal:(i=e==null?void 0:e.literal)!==null&&i!==void 0?i:m.literal,regexp:(s=e==null?void 0:e.regexp)!==null&&s!==void 0?s:m.regexp,wholeWord:(a=e==null?void 0:e.wholeWord)!==null&&a!==void 0?a:m.wholeWord})}function CE(r){let e=nd(r,SO);return e&&e.dom.querySelector("[main-field]")}function SE(r){let e=CE(r);e&&e==r.root.activeElement&&e.select()}const EE=r=>{let e=r.state.field(Wc,!1);if(e&&e.panel){let t=CE(r);if(t&&t!=r.root.activeElement){let n=pD(r.state,e.query.spec);n.valid&&r.dispatch({effects:ld.of(n)}),t.focus(),t.select()}}else r.dispatch({effects:[CO.of(!0),e?ld.of(pD(r.state,e.query.spec)):Qi.appendConfig.of(KB)]});return!0},wE=r=>{let e=r.state.field(Wc,!1);if(!e||!e.panel)return!1;let t=nd(r,SO);return t&&t.dom.contains(r.root.activeElement)&&r.focus(),r.dispatch({effects:CO.of(!1)}),!0},GB=[{key:"Mod-f",run:EE,scope:"editor search-panel"},{key:"F3",run:cg,shift:hg,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:cg,shift:hg,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:wE,scope:"editor search-panel"},{key:"Mod-Shift-l",run:ZB},{key:"Alt-g",run:TB},{key:"Mod-d",run:QB,preventDefault:!0}];class HB{constructor(e){this.view=e;let t=this.query=e.state.field(Wc).query.spec;this.commit=this.commit.bind(this),this.searchField=js("input",{value:t.search,placeholder:Xa(e,"Find"),"aria-label":Xa(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=js("input",{value:t.replace,placeholder:Xa(e,"Replace"),"aria-label":Xa(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=js("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit}),this.reField=js("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit}),this.wordField=js("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function n(i,s,a){return js("button",{class:"cm-button",name:i,onclick:s,type:"button"},a)}this.dom=js("div",{onkeydown:i=>this.keydown(i),class:"cm-search"},[this.searchField,n("next",()=>cg(e),[Xa(e,"next")]),n("prev",()=>hg(e),[Xa(e,"previous")]),n("select",()=>WB(e),[Xa(e,"all")]),js("label",null,[this.caseField,Xa(e,"match case")]),js("label",null,[this.reField,Xa(e,"regexp")]),js("label",null,[this.wordField,Xa(e,"by word")]),...e.state.readOnly?[]:[js("br"),this.replaceField,n("replace",()=>cb(e),[Xa(e,"replace")]),n("replaceAll",()=>YB(e),[Xa(e,"replace all")])],js("button",{name:"close",onclick:()=>wE(e),"aria-label":Xa(e,"close"),type:"button"},["×"])])}commit(){let e=new bE({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:ld.of(e)}))}keydown(e){MF(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?hg:cg)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),cb(this.view))}update(e){for(let t of e.transactions)for(let n of t.effects)n.is(ld)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(of).top}}function Xa(r,e){return r.state.phrase(e)}const lm=30,cm=/[\s\.,:;?!]/;function EO(r,{from:e,to:t}){let n=r.state.doc.lineAt(e),i=r.state.doc.lineAt(t).to,s=Math.max(n.from,e-lm),a=Math.min(i,t+lm),l=r.state.sliceDoc(s,a);if(s!=n.from){for(let p=0;p<lm;p++)if(!cm.test(l[p+1])&&cm.test(l[p])){l=l.slice(p);break}}if(a!=i){for(let p=l.length-1;p>l.length-lm;p--)if(!cm.test(l[p-1])&&cm.test(l[p])){l=l.slice(0,p);break}}return Qn.announce.of(`${r.state.phrase("current match")}. ${l} ${r.state.phrase("on line")} ${n.number}.`)}const JB=Qn.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),KB=[Wc,Jh.lowest(zB),JB];class AE{constructor(e,t,n){this.state=e,this.pos=t,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let t=po(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),i=t.text.slice(n-t.from,this.pos-t.from),s=i.search(PE(e,!1));return s<0?null:{from:n+s,to:this.pos,text:i.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,t){e=="abort"&&this.abortListeners&&this.abortListeners.push(t)}}function hb(r){let e=Object.keys(r).join(""),t=/\w/.test(e);return t&&(e=e.replace(/\w/g,"")),`[${t?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function eN(r){let e=Object.create(null),t=Object.create(null);for(let{label:i}of r){e[i[0]]=!0;for(let s=1;s<i.length;s++)t[i[s]]=!0}let n=hb(e)+hb(t)+"*$";return[new RegExp("^"+n),new RegExp(n)]}function TE(r){let e=r.map(i=>typeof i=="string"?{label:i}:i),[t,n]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:eN(e);return i=>{let s=i.matchBefore(n);return s||i.explicit?{from:s?s.from:i.pos,options:e,validFor:t}:null}}function tN(r,e){return t=>{for(let n=po(t.state).resolveInner(t.pos,-1);n;n=n.parent){if(r.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(t)}}class pb{constructor(e,t,n,i){this.completion=e,this.source=t,this.match=n,this.score=i}}function Zc(r){return r.selection.main.from}function PE(r,e){var t;let{source:n}=r,i=e&&n[0]!="^",s=n[n.length-1]!="$";return!i&&!s?r:new RegExp(`${i?"^":""}(?:${n})${s?"$":""}`,(t=r.flags)!==null&&t!==void 0?t:r.ignoreCase?"i":"")}const kE=uc.define();function rN(r,e,t,n){let{main:i}=r.selection,s=t-i.from,a=n-i.from;return Object.assign(Object.assign({},r.changeByRange(l=>l!=i&&t!=n&&r.sliceDoc(l.from+s,l.from+a)!=r.sliceDoc(t,n)?{range:l}:{changes:{from:l.from+s,to:n==i.from?l.to:l.from+a,insert:e},range:Pr.cursor(l.from+s+e.length)})),{userEvent:"input.complete"})}const fb=new WeakMap;function nN(r){if(!Array.isArray(r))return r;let e=fb.get(r);return e||fb.set(r,e=TE(r)),e}const wO=Qi.define(),cd=Qi.define();class iN{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=Uo(e,t),i=Ha(n);this.chars.push(n);let s=e.slice(t,t+i),a=s.toUpperCase();this.folded.push(Uo(a==s?s.toLowerCase():a,0)),t+=i}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,!0}match(e){if(this.pattern.length==0)return this.ret(-100,[]);if(e.length<this.pattern.length)return!1;let{chars:t,folded:n,any:i,precise:s,byWord:a}=this;if(t.length==1){let Ve=Uo(e,0),Dt=Ha(Ve),ht=Dt==e.length?0:-100;if(Ve!=t[0])if(Ve==n[0])ht+=-200;else return!1;return this.ret(ht,[0,Dt])}let l=e.indexOf(this.pattern);if(l==0)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let p=t.length,m=0;if(l<0){for(let Ve=0,Dt=Math.min(e.length,200);Ve<Dt&&m<p;){let ht=Uo(e,Ve);(ht==t[m]||ht==n[m])&&(i[m++]=Ve),Ve+=Ha(ht)}if(m<p)return!1}let g=0,b=0,S=!1,$=0,G=-1,be=-1,ke=/[a-z]/.test(e),me=!0;for(let Ve=0,Dt=Math.min(e.length,200),ht=0;Ve<Dt&&b<p;){let bt=Uo(e,Ve);l<0&&(g<p&&bt==t[g]&&(s[g++]=Ve),$<p&&(bt==t[$]||bt==n[$]?($==0&&(G=Ve),be=Ve+1,$++):$=0));let Yt,ir=bt<255?bt>=48&&bt<=57||bt>=97&&bt<=122?2:bt>=65&&bt<=90?1:0:(Yt=YD(bt))!=Yt.toLowerCase()?1:Yt!=Yt.toUpperCase()?2:0;(!Ve||ir==1&&ke||ht==0&&ir!=0)&&(t[b]==bt||n[b]==bt&&(S=!0)?a[b++]=Ve:a.length&&(me=!1)),ht=ir,Ve+=Ha(bt)}return b==p&&a[0]==0&&me?this.result(-100+(S?-200:0),a,e):$==p&&G==0?this.ret(-200-e.length+(be==e.length?0:-100),[0,be]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):$==p?this.ret(-900-e.length,[G,be]):b==p?this.result(-100+(S?-200:0)+-700+(me?0:-1100),a,e):t.length==2?!1:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,t,n){let i=[],s=0;for(let a of t){let l=a+(this.astral?Ha(Uo(n,a)):1);s&&i[s-1]==a?i[s-1]=l:(i[s++]=a,i[s++]=l)}return this.ret(e-n.length,i)}}const ka=qn.define({combine(r){return Sl(r,{activateOnTyping:!0,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:sN,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>n=>db(e(n),t(n)),optionClass:(e,t)=>n=>db(e(n),t(n)),addToOptions:(e,t)=>e.concat(t)})}});function db(r,e){return r?e?r+" "+e:r:e}function sN(r,e,t,n,i){let s=r.textDirection==no.RTL,a=s,l=!1,p="top",m,g,b=e.left-i.left,S=i.right-e.right,$=n.right-n.left,G=n.bottom-n.top;if(a&&b<Math.min($,S)?a=!1:!a&&S<Math.min($,b)&&(a=!0),$<=(a?b:S))m=Math.max(i.top,Math.min(t.top,i.bottom-G))-e.top,g=Math.min(400,a?b:S);else{l=!0,g=Math.min(400,(s?e.right:i.right-e.left)-30);let be=i.bottom-e.bottom;be>=G||be>e.top?m=t.bottom-e.top:(p="bottom",m=e.bottom-t.top)}return{style:`${p}: ${m}px; max-width: ${g}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function oN(r){let e=r.addToOptions.slice();return r.icons&&e.push({render(t){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),t.type&&n.classList.add(...t.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(t,n,i){let s=document.createElement("span");s.className="cm-completionLabel";let a=t.displayLabel||t.label,l=0;for(let p=0;p<i.length;){let m=i[p++],g=i[p++];m>l&&s.appendChild(document.createTextNode(a.slice(l,m)));let b=s.appendChild(document.createElement("span"));b.appendChild(document.createTextNode(a.slice(m,g))),b.className="cm-completionMatchedText",l=g}return l<a.length&&s.appendChild(document.createTextNode(a.slice(l))),s},position:50},{render(t){if(!t.detail)return null;let n=document.createElement("span");return n.className="cm-completionDetail",n.textContent=t.detail,n},position:80}),e.sort((t,n)=>t.position-n.position).map(t=>t.render)}function mb(r,e,t){if(r<=t)return{from:0,to:r};if(e<0&&(e=0),e<=r>>1){let i=Math.floor(e/t);return{from:i*t,to:(i+1)*t}}let n=Math.floor((r-e)/t);return{from:r-(n+1)*t,to:r-n*t}}class aN{constructor(e,t,n){this.view=e,this.stateField=t,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:p=>this.placeInfo(p),key:this},this.space=null,this.currentClass="";let i=e.state.field(t),{options:s,selected:a}=i.open,l=e.state.facet(ka);this.optionContent=oN(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=mb(s.length,a,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",p=>{for(let m=p.target,g;m&&m!=this.dom;m=m.parentNode)if(m.nodeName=="LI"&&(g=/-(\d+)$/.exec(m.id))&&+g[1]<s.length){this.applyCompletion(e,s[+g[1]]),p.preventDefault();return}}),this.dom.addEventListener("focusout",p=>{let m=e.state.field(this.stateField,!1);m&&m.tooltip&&e.state.facet(ka).closeOnBlur&&p.relatedTarget!=e.contentDOM&&e.dispatch({effects:cd.of(null)})}),this.list=this.dom.appendChild(this.createListBox(s,i.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}mount(){this.updateSel()}update(e){var t,n,i;let s=e.state.field(this.stateField),a=e.startState.field(this.stateField);this.updateTooltipClass(e.state),s!=a&&(this.updateSel(),((t=s.open)===null||t===void 0?void 0:t.disabled)!=((n=a.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!(!((i=s.open)===null||i===void 0)&&i.disabled)))}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of t.split(" "))n&&this.dom.classList.add(n);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=mb(t.options.length,t.selected,this.view.state.facet(ka).maxRenderedOptions),this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t.options,e.id,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:n}=t.options[t.selected],{info:i}=n;if(!i)return;let s=typeof i=="string"?document.createTextNode(i):i(n);if(!s)return;"then"in s?s.then(a=>{a&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(a,n)}).catch(a=>wu(this.view.state,a,"completion info")):this.addInfoPane(s,n)}}addInfoPane(e,t){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:i,destroy:s}=e;n.appendChild(i),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let n=this.list.firstChild,i=this.range.from;n;n=n.nextSibling,i++)n.nodeName!="LI"||!n.id?i--:i==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return t&&lN(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),s=this.space;if(!s){let a=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:a.innerWidth,bottom:a.innerHeight}}return i.top>Math.min(s.bottom,t.bottom)-10||i.bottom<Math.max(s.top,t.top)+10?null:this.view.state.facet(ka).positionInfo(this.view,t,i,n,s)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,n){const i=document.createElement("ul");i.id=t,i.setAttribute("role","listbox"),i.setAttribute("aria-expanded","true"),i.setAttribute("aria-label",this.view.state.phrase("Completions"));let s=null;for(let a=n.from;a<n.to;a++){let{completion:l,match:p}=e[a],{section:m}=l;if(m){let S=typeof m=="string"?m:m.name;if(S!=s&&(a>n.from||n.from==0))if(s=S,typeof m!="string"&&m.header)i.appendChild(m.header(m));else{let $=i.appendChild(document.createElement("completion-section"));$.textContent=S}}const g=i.appendChild(document.createElement("li"));g.id=t+"-"+a,g.setAttribute("role","option");let b=this.optionClass(l);b&&(g.className=b);for(let S of this.optionContent){let $=S(l,this.view.state,p);$&&g.appendChild($)}}return n.from&&i.classList.add("cm-completionListIncompleteTop"),n.to<e.length&&i.classList.add("cm-completionListIncompleteBottom"),i}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function uN(r,e){return t=>new aN(t,r,e)}function lN(r,e){let t=r.getBoundingClientRect(),n=e.getBoundingClientRect();n.top<t.top?r.scrollTop-=t.top-n.top:n.bottom>t.bottom&&(r.scrollTop+=n.bottom-t.bottom)}function gb(r){return(r.boost||0)*100+(r.apply?10:0)+(r.info?5:0)+(r.type?1:0)}function cN(r,e){let t=[],n=null,i=p=>{t.push(p);let{section:m}=p.completion;if(m){n||(n=[]);let g=typeof m=="string"?m:m.name;n.some(b=>b.name==g)||n.push(typeof m=="string"?{name:g}:m)}};for(let p of r)if(p.hasResult()){let m=p.result.getMatch;if(p.result.filter===!1)for(let g of p.result.options)i(new pb(g,p.source,m?m(g):[],1e9-t.length));else{let g=new iN(e.sliceDoc(p.from,p.to));for(let b of p.result.options)if(g.match(b.label)){let S=b.displayLabel?m?m(b,g.matched):[]:g.matched;i(new pb(b,p.source,S,g.score+(b.boost||0)))}}}if(n){let p=Object.create(null),m=0,g=(b,S)=>{var $,G;return(($=b.rank)!==null&&$!==void 0?$:1e9)-((G=S.rank)!==null&&G!==void 0?G:1e9)||(b.name<S.name?-1:1)};for(let b of n.sort(g))m-=1e5,p[b.name]=m;for(let b of t){let{section:S}=b.completion;S&&(b.score+=p[typeof S=="string"?S:S.name])}}let s=[],a=null,l=e.facet(ka).compareCompletions;for(let p of t.sort((m,g)=>g.score-m.score||l(m.completion,g.completion))){let m=p.completion;!a||a.label!=m.label||a.detail!=m.detail||a.type!=null&&m.type!=null&&a.type!=m.type||a.apply!=m.apply||a.boost!=m.boost?s.push(p):gb(p.completion)>gb(a)&&(s[s.length-1]=p),a=p.completion}return s}class Fp{constructor(e,t,n,i,s,a){this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=i,this.selected=s,this.disabled=a}setSelected(e,t){return e==this.selected||e>=this.options.length?this:new Fp(this.options,yb(t,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,t,n,i,s){let a=cN(e,t);if(!a.length)return i&&e.some(p=>p.state==1)?new Fp(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let l=t.facet(ka).selectOnOpen?0:-1;if(i&&i.selected!=l&&i.selected!=-1){let p=i.options[i.selected].completion;for(let m=0;m<a.length;m++)if(a[m].completion==p){l=m;break}}return new Fp(a,yb(n,l),{pos:e.reduce((p,m)=>m.hasResult()?Math.min(p,m.from):p,1e8),create:uN(qa,$E),above:s.aboveCursor},i?i.timestamp:Date.now(),l,!1)}map(e){return new Fp(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class pg{constructor(e,t,n){this.active=e,this.id=t,this.open=n}static start(){return new pg(fN,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:t}=e,n=t.facet(ka),s=(n.override||t.languageDataAt("autocomplete",Zc(t)).map(nN)).map(l=>(this.active.find(m=>m.source==l)||new Ta(l,this.active.some(m=>m.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((l,p)=>l==this.active[p])&&(s=this.active);let a=this.open;a&&e.docChanged&&(a=a.map(e.changes)),e.selection||s.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!hN(s,this.active)?a=Fp.build(s,t,this.id,a,n):a&&a.disabled&&!s.some(l=>l.state==1)&&(a=null),!a&&s.every(l=>l.state!=1)&&s.some(l=>l.hasResult())&&(s=s.map(l=>l.hasResult()?new Ta(l.source,0):l));for(let l of e.effects)l.is(_E)&&(a=a&&a.setSelected(l.value,this.id));return s==this.active&&a==this.open?this:new pg(s,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:pN}}function hN(r,e){if(r==e)return!0;for(let t=0,n=0;;){for(;t<r.length&&!r[t].hasResult;)t++;for(;n<e.length&&!e[n].hasResult;)n++;let i=t==r.length,s=n==e.length;if(i||s)return i==s;if(r[t++].result!=e[n++].result)return!1}}const pN={"aria-autocomplete":"list"};function yb(r,e){let t={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":r};return e>-1&&(t["aria-activedescendant"]=r+"-"+e),t}const fN=[];function fD(r){return r.isUserEvent("input.type")?"input":r.isUserEvent("delete.backward")?"delete":null}class Ta{constructor(e,t,n=-1){this.source=e,this.state=t,this.explicitPos=n}hasResult(){return!1}update(e,t){let n=fD(e),i=this;n?i=i.handleUserEvent(e,n,t):e.docChanged?i=i.handleChange(e):e.selection&&i.state!=0&&(i=new Ta(i.source,0));for(let s of e.effects)if(s.is(wO))i=new Ta(i.source,1,s.value?Zc(e.state):-1);else if(s.is(cd))i=new Ta(i.source,0);else if(s.is(FE))for(let a of s.value)a.source==i.source&&(i=a);return i}handleUserEvent(e,t,n){return t=="delete"||!n.activateOnTyping?this.map(e.changes):new Ta(this.source,1)}handleChange(e){return e.changes.touchesRange(Zc(e.startState))?new Ta(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Ta(this.source,this.state,e.mapPos(this.explicitPos))}}class Lp extends Ta{constructor(e,t,n,i,s){super(e,2,t),this.result=n,this.from=i,this.to=s}hasResult(){return!0}handleUserEvent(e,t,n){var i;let s=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),l=Zc(e.state);if((this.explicitPos<0?l<=s:l<this.from)||l>a||t=="delete"&&Zc(e.startState)==this.from)return new Ta(this.source,t=="input"&&n.activateOnTyping?1:0);let p=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),m;return dN(this.result.validFor,e.state,s,a)?new Lp(this.source,p,this.result,s,a):this.result.update&&(m=this.result.update(this.result,s,a,new AE(e.state,l,p>=0)))?new Lp(this.source,p,m,m.from,(i=m.to)!==null&&i!==void 0?i:Zc(e.state)):new Ta(this.source,1,p)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new Ta(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Lp(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function dN(r,e,t,n){if(!r)return!1;let i=e.sliceDoc(t,n);return typeof r=="function"?r(i,t,n,e):PE(r,!0).test(i)}const FE=Qi.define({map(r,e){return r.map(t=>t.map(e))}}),_E=Qi.define(),qa=Po.define({create(){return pg.start()},update(r,e){return r.update(e)},provide:r=>[sO.from(r,e=>e.tooltip),Qn.contentAttributes.from(r,e=>e.attrs)]});function $E(r,e){const t=e.completion.apply||e.completion.label;let n=r.state.field(qa).active.find(i=>i.source==e.source);return n instanceof Lp?(typeof t=="string"?r.dispatch(Object.assign(Object.assign({},rN(r.state,t,n.from,n.to)),{annotations:kE.of(e.completion)})):t(r,e.completion,n.from,n.to),!0):!1}function hm(r,e="option"){return t=>{let n=t.state.field(qa,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp<t.state.facet(ka).interactionDelay)return!1;let i=1,s;e=="page"&&(s=s2(t,n.open.tooltip))&&(i=Math.max(2,Math.floor(s.dom.offsetHeight/s.dom.querySelector("li").offsetHeight)-1));let{length:a}=n.open.options,l=n.open.selected>-1?n.open.selected+i*(r?1:-1):r?0:a-1;return l<0?l=e=="page"?0:a-1:l>=a&&(l=e=="page"?a-1:0),t.dispatch({effects:_E.of(l)}),!0}}const BE=r=>{let e=r.state.field(qa,!1);return r.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<r.state.facet(ka).interactionDelay?!1:$E(r,e.open.options[e.open.selected])},mN=r=>r.state.field(qa,!1)?(r.dispatch({effects:wO.of(!0)}),!0):!1,gN=r=>{let e=r.state.field(qa,!1);return!e||!e.active.some(t=>t.state!=0)?!1:(r.dispatch({effects:cd.of(null)}),!0)};class yN{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}}const Db=50,DN=50,ON=1e3,xN=bo.fromClass(class{constructor(r){this.view=r,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.composing=0;for(let e of r.state.field(qa).active)e.state==1&&this.startQuery(e)}update(r){let e=r.state.field(qa);if(!r.selectionSet&&!r.docChanged&&r.startState.field(qa)==e)return;let t=r.transactions.some(n=>(n.selection||n.docChanged)&&!fD(n));for(let n=0;n<this.running.length;n++){let i=this.running[n];if(t||i.updates.length+r.transactions.length>DN&&Date.now()-i.time>ON){for(let s of i.context.abortListeners)try{s()}catch(a){wu(this.view.state,a)}i.context.abortListeners=null,this.running.splice(n--,1)}else i.updates.push(...r.transactions)}if(this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),this.debounceUpdate=e.active.some(n=>n.state==1&&!this.running.some(i=>i.active.source==n.source))?setTimeout(()=>this.startUpdate(),Db):-1,this.composing!=0)for(let n of r.transactions)fD(n)=="input"?this.composing=2:this.composing==2&&n.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1;let{state:r}=this.view,e=r.field(qa);for(let t of e.active)t.state==1&&!this.running.some(n=>n.active.source==t.source)&&this.startQuery(t)}startQuery(r){let{state:e}=this.view,t=Zc(e),n=new AE(e,t,r.explicitPos==t),i=new yN(r,n);this.running.push(i),Promise.resolve(r.source(n)).then(s=>{i.context.aborted||(i.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:cd.of(null)}),wu(this.view.state,s)})}scheduleAccept(){this.running.every(r=>r.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),Db))}accept(){var r;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(ka);for(let n=0;n<this.running.length;n++){let i=this.running[n];if(i.done===void 0)continue;if(this.running.splice(n--,1),i.done){let a=new Lp(i.active.source,i.active.explicitPos,i.done,i.done.from,(r=i.done.to)!==null&&r!==void 0?r:Zc(i.updates.length?i.updates[0].startState:this.view.state));for(let l of i.updates)a=a.update(l,t);if(a.hasResult()){e.push(a);continue}}let s=this.view.state.field(qa).active.find(a=>a.source==i.active.source);if(s&&s.state==1)if(i.done==null){let a=new Ta(i.active.source,0);for(let l of i.updates)a=a.update(l,t);a.state!=1&&e.push(a)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:FE.of(e)})}},{eventHandlers:{blur(r){let e=this.view.state.field(qa,!1);if(e&&e.tooltip&&this.view.state.facet(ka).closeOnBlur){let t=e.open&&s2(this.view,e.open.tooltip);(!t||!t.dom.contains(r.relatedTarget))&&this.view.dispatch({effects:cd.of(null)})}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:wO.of(!1)}),20),this.composing=0}}}),NE=Qn.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class bN{constructor(e,t,n,i){this.field=e,this.line=t,this.from=n,this.to=i}}class AO{constructor(e,t,n){this.field=e,this.from=t,this.to=n}map(e){let t=e.mapPos(this.from,-1,zo.TrackDel),n=e.mapPos(this.to,1,zo.TrackDel);return t==null||n==null?null:new AO(this.field,t,n)}}class TO{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let n=[],i=[t],s=e.doc.lineAt(t),a=/^\s*/.exec(s.text)[0];for(let p of this.lines){if(n.length){let m=a,g=/^\t*/.exec(p)[0].length;for(let b=0;b<g;b++)m+=e.facet(qg);i.push(t+m.length-g),p=m+p.slice(g)}n.push(p),t+=p.length+1}let l=this.fieldPositions.map(p=>new AO(p.field,i[p.line]+p.from,i[p.line]+p.to));return{text:n,ranges:l}}static parse(e){let t=[],n=[],i=[],s;for(let a of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(a);){let l=s[1]?+s[1]:null,p=s[2]||s[3]||"",m=-1;for(let g=0;g<t.length;g++)(l!=null?t[g].seq==l:p&&t[g].name==p)&&(m=g);if(m<0){let g=0;for(;g<t.length&&(l==null||t[g].seq!=null&&t[g].seq<l);)g++;t.splice(g,0,{seq:l,name:p}),m=g;for(let b of i)b.field>=m&&b.field++}i.push(new bN(m,n.length,s.index,s.index+p.length)),a=a.slice(0,s.index)+p+a.slice(s.index+s[0].length)}for(let l;l=/\\([{}])/.exec(a);){a=a.slice(0,l.index)+l[1]+a.slice(l.index+l[0].length);for(let p of i)p.line==n.length&&p.from>l.index&&(p.from--,p.to--)}n.push(a)}return new TO(n,i)}}let vN=_i.widget({widget:new class extends oh{toDOM(){let r=document.createElement("span");return r.className="cm-snippetFieldPosition",r}ignoreEvent(){return!1}}}),CN=_i.mark({class:"cm-snippetField"});class af{constructor(e,t){this.ranges=e,this.active=t,this.deco=_i.set(e.map(n=>(n.from==n.to?vN:CN).range(n.from,n.to)))}map(e){let t=[];for(let n of this.ranges){let i=n.map(e);if(!i)return null;t.push(i)}return new af(t,this.active)}selectionInsideField(e){return e.ranges.every(t=>this.ranges.some(n=>n.field==this.active&&n.from<=t.from&&n.to>=t.to))}}const _d=Qi.define({map(r,e){return r&&r.map(e)}}),SN=Qi.define(),hd=Po.define({create(){return null},update(r,e){for(let t of e.effects){if(t.is(_d))return t.value;if(t.is(SN)&&r)return new af(r.ranges,t.value)}return r&&e.docChanged&&(r=r.map(e.changes)),r&&e.selection&&!r.selectionInsideField(e.selection)&&(r=null),r},provide:r=>Qn.decorations.from(r,e=>e?e.deco:_i.none)});function PO(r,e){return Pr.create(r.filter(t=>t.field==e).map(t=>Pr.range(t.from,t.to)))}function EN(r){let e=TO.parse(r);return(t,n,i,s)=>{let{text:a,ranges:l}=e.instantiate(t.state,i),p={changes:{from:i,to:s,insert:Ds.of(a)},scrollIntoView:!0,annotations:n?kE.of(n):void 0};if(l.length&&(p.selection=PO(l,0)),l.length>1){let m=new af(l,0),g=p.effects=[_d.of(m)];t.state.field(hd,!1)===void 0&&g.push(Qi.appendConfig.of([hd,kN,FN,NE]))}t.dispatch(t.state.update(p))}}function IE(r){return({state:e,dispatch:t})=>{let n=e.field(hd,!1);if(!n||r<0&&n.active==0)return!1;let i=n.active+r,s=r>0&&!n.ranges.some(a=>a.field==i+r);return t(e.update({selection:PO(n.ranges,i),effects:_d.of(s?null:new af(n.ranges,i))})),!0}}const wN=({state:r,dispatch:e})=>r.field(hd,!1)?(e(r.update({effects:_d.of(null)})),!0):!1,AN=IE(1),TN=IE(-1),PN=[{key:"Tab",run:AN,shift:TN},{key:"Escape",run:wN}],Ob=qn.define({combine(r){return r.length?r[0]:PN}}),kN=Jh.highest(Cd.compute([Ob],r=>r.facet(Ob)));function Aa(r,e){return Object.assign(Object.assign({},e),{apply:EN(r)})}const FN=Qn.domEventHandlers({mousedown(r,e){let t=e.state.field(hd,!1),n;if(!t||(n=e.posAtCoords({x:r.clientX,y:r.clientY}))==null)return!1;let i=t.ranges.find(s=>s.from<=n&&s.to>=n);return!i||i.field==t.active?!1:(e.dispatch({selection:PO(t.ranges,i.field),effects:_d.of(t.ranges.some(s=>s.field>i.field)?new af(t.ranges,i.field):null)}),!0)}}),pd={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Mh=Qi.define({map(r,e){let t=e.mapPos(r,-1,zo.TrackAfter);return t??void 0}}),kO=new class extends Uh{};kO.startSide=1;kO.endSide=-1;const ME=Po.define({create(){return Ss.empty},update(r,e){if(e.selection){let t=e.state.doc.lineAt(e.selection.main.head).from,n=e.startState.doc.lineAt(e.startState.selection.main.head).from;t!=e.changes.mapPos(n,-1)&&(r=Ss.empty)}r=r.map(e.changes);for(let t of e.effects)t.is(Mh)&&(r=r.update({add:[kO.range(t.value,t.value+1)]}));return r}});function _N(){return[BN,ME]}const W0="()[]{}<>";function RE(r){for(let e=0;e<W0.length;e+=2)if(W0.charCodeAt(e)==r)return W0.charAt(e+1);return YD(r<128?r:r+1)}function QE(r,e){return r.languageDataAt("closeBrackets",e)[0]||pd}const $N=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),BN=Qn.inputHandler.of((r,e,t,n)=>{if(($N?r.composing:r.compositionStarted)||r.state.readOnly)return!1;let i=r.state.selection.main;if(n.length>2||n.length==2&&Ha(Uo(n,0))==1||e!=i.from||t!=i.to)return!1;let s=MN(r.state,n);return s?(r.dispatch(s),!0):!1}),NN=({state:r,dispatch:e})=>{if(r.readOnly)return!1;let n=QE(r,r.selection.main.head).brackets||pd.brackets,i=null,s=r.changeByRange(a=>{if(a.empty){let l=RN(r.doc,a.head);for(let p of n)if(p==l&&Kg(r.doc,a.head)==RE(Uo(p,0)))return{changes:{from:a.head-p.length,to:a.head+p.length},range:Pr.cursor(a.head-p.length)}}return{range:i=a}});return i||e(r.update(s,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},IN=[{key:"Backspace",run:NN}];function MN(r,e){let t=QE(r,r.selection.main.head),n=t.brackets||pd.brackets;for(let i of n){let s=RE(Uo(i,0));if(e==i)return s==i?LN(r,i,n.indexOf(i+i+i)>-1,t):QN(r,i,s,t.before||pd.before);if(e==s&&jE(r,r.selection.main.from))return jN(r,i,s)}return null}function jE(r,e){let t=!1;return r.field(ME).between(0,r.doc.length,n=>{n==e&&(t=!0)}),t}function Kg(r,e){let t=r.sliceString(e,e+2);return t.slice(0,Ha(Uo(t,0)))}function RN(r,e){let t=r.sliceString(e-2,e);return Ha(Uo(t,0))==t.length?t:t.slice(1)}function QN(r,e,t,n){let i=null,s=r.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:t,from:a.to}],effects:Mh.of(a.to+e.length),range:Pr.range(a.anchor+e.length,a.head+e.length)};let l=Kg(r.doc,a.head);return!l||/\s/.test(l)||n.indexOf(l)>-1?{changes:{insert:e+t,from:a.head},effects:Mh.of(a.head+e.length),range:Pr.cursor(a.head+e.length)}:{range:i=a}});return i?null:r.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function jN(r,e,t){let n=null,i=r.changeByRange(s=>s.empty&&Kg(r.doc,s.head)==t?{changes:{from:s.head,to:s.head+t.length,insert:t},range:Pr.cursor(s.head+t.length)}:n={range:s});return n?null:r.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function LN(r,e,t,n){let i=n.stringPrefixes||pd.stringPrefixes,s=null,a=r.changeByRange(l=>{if(!l.empty)return{changes:[{insert:e,from:l.from},{insert:e,from:l.to}],effects:Mh.of(l.to+e.length),range:Pr.range(l.anchor+e.length,l.head+e.length)};let p=l.head,m=Kg(r.doc,p),g;if(m==e){if(xb(r,p))return{changes:{insert:e+e,from:p},effects:Mh.of(p+e.length),range:Pr.cursor(p+e.length)};if(jE(r,p)){let S=t&&r.sliceDoc(p,p+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:p,to:p+S.length,insert:S},range:Pr.cursor(p+S.length)}}}else{if(t&&r.sliceDoc(p-2*e.length,p)==e+e&&(g=bb(r,p-2*e.length,i))>-1&&xb(r,g))return{changes:{insert:e+e+e+e,from:p},effects:Mh.of(p+e.length),range:Pr.cursor(p+e.length)};if(r.charCategorizer(p)(m)!=Js.Word&&bb(r,p,i)>-1&&!XN(r,p,e,i))return{changes:{insert:e+e,from:p},effects:Mh.of(p+e.length),range:Pr.cursor(p+e.length)}}return{range:s=l}});return s?null:r.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function xb(r,e){let t=po(r).resolveInner(e+1);return t.parent&&t.from==e}function XN(r,e,t,n){let i=po(r).resolveInner(e,-1),s=n.reduce((a,l)=>Math.max(a,l.length),0);for(let a=0;a<5;a++){let l=r.sliceDoc(i.from,Math.min(i.to,i.from+t.length+s)),p=l.indexOf(t);if(!p||p>-1&&n.indexOf(l.slice(0,p))>-1){let g=i.firstChild;for(;g&&g.from==i.from&&g.to-g.from>t.length+p;){if(r.sliceDoc(g.to-t.length,g.to)==t)return!1;g=g.firstChild}return!0}let m=i.to==e&&i.parent;if(!m)break;i=m}return!1}function bb(r,e,t){let n=r.charCategorizer(e);if(n(r.sliceDoc(e-1,e))!=Js.Word)return e;for(let i of t){let s=e-i.length;if(r.sliceDoc(s,e)==i&&n(r.sliceDoc(s-1,s))!=Js.Word)return s}return-1}function VN(r={}){return[qa,ka.of(r),xN,UN,NE]}const FO=[{key:"Ctrl-Space",run:mN},{key:"Escape",run:gN},{key:"ArrowDown",run:hm(!0)},{key:"ArrowUp",run:hm(!1)},{key:"PageDown",run:hm(!0,"page")},{key:"PageUp",run:hm(!1,"page")},{key:"Enter",run:BE}],UN=Jh.highest(Cd.computeN([ka],r=>r.facet(ka).defaultKeymap?[FO]:[]));class qN{constructor(e,t,n){this.from=e,this.to=t,this.diagnostic=n}}class Bh{constructor(e,t,n){this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){let i=e,s=n.facet(VE).markerFilter;s&&(i=s(i));let a=_i.set(i.map(l=>l.from==l.to||l.from==l.to-1&&n.doc.lineAt(l.from).to==l.from?_i.widget({widget:new e8(l),diagnostic:l}).range(l.from):_i.mark({attributes:{class:"cm-lintRange cm-lintRange-"+l.severity+(l.markClass?" "+l.markClass:"")},diagnostic:l}).range(l.from,l.to)),!0);return new Bh(a,t,Jp(a))}}function Jp(r,e=null,t=0){let n=null;return r.between(t,1e9,(i,s,{spec:a})=>{if(!(e&&a.diagnostic!=e))return n=new qN(i,s,a.diagnostic),!1}),n}function zN(r,e){let t=r.startState.doc.lineAt(e.pos);return!!(r.effects.some(n=>n.is(LE))||r.changes.touchesRange(t.from,t.to))}function WN(r,e){return r.field(Wa,!1)?e:e.concat(Qi.appendConfig.of(n8))}const LE=Qi.define(),_O=Qi.define(),XE=Qi.define(),Wa=Po.define({create(){return new Bh(_i.none,null,null)},update(r,e){if(e.docChanged){let t=r.diagnostics.map(e.changes),n=null;if(r.selected){let i=e.changes.mapPos(r.selected.from,1);n=Jp(t,r.selected.diagnostic,i)||Jp(t,null,i)}r=new Bh(t,r.panel,n)}for(let t of e.effects)t.is(LE)?r=Bh.init(t.value,r.panel,e.state):t.is(_O)?r=new Bh(r.diagnostics,t.value?e0.open:null,r.selected):t.is(XE)&&(r=new Bh(r.diagnostics,r.panel,t.value));return r},provide:r=>[id.from(r,e=>e.panel),Qn.decorations.from(r,e=>e.diagnostics)]}),ZN=_i.mark({class:"cm-lintRange cm-lintRange-active"});function YN(r,e,t){let{diagnostics:n}=r.state.field(Wa),i=[],s=2e8,a=0;n.between(e-(t<0?1:0),e+(t>0?1:0),(p,m,{spec:g})=>{e>=p&&e<=m&&(p==m||(e>p||t>0)&&(e<m||t<0))&&(i.push(g.diagnostic),s=Math.min(p,s),a=Math.max(m,a))});let l=r.state.facet(VE).tooltipFilter;return l&&(i=l(i)),i.length?{pos:s,end:a,above:r.state.doc.lineAt(s).to<a,create(){return{dom:GN(r,i)}}}:null}function GN(r,e){return js("ul",{class:"cm-tooltip-lint"},e.map(t=>qE(r,t,!1)))}const HN=r=>{let e=r.state.field(Wa,!1);(!e||!e.panel)&&r.dispatch({effects:WN(r.state,[_O.of(!0)])});let t=nd(r,e0.open);return t&&t.dom.querySelector(".cm-panel-lint ul").focus(),!0},vb=r=>{let e=r.state.field(Wa,!1);return!e||!e.panel?!1:(r.dispatch({effects:_O.of(!1)}),!0)},JN=r=>{let e=r.state.field(Wa,!1);if(!e)return!1;let t=r.state.selection.main,n=e.diagnostics.iter(t.to+1);return!n.value&&(n=e.diagnostics.iter(0),!n.value||n.from==t.from&&n.to==t.to)?!1:(r.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},KN=[{key:"Mod-Shift-m",run:HN,preventDefault:!0},{key:"F8",run:JN}],VE=qn.define({combine(r){return Object.assign({sources:r.map(e=>e.source)},Sl(r.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))}});function UE(r){let e=[];if(r)e:for(let{name:t}of r){for(let n=0;n<t.length;n++){let i=t[n];if(/[a-zA-Z]/.test(i)&&!e.some(s=>s.toLowerCase()==i.toLowerCase())){e.push(i);continue e}}e.push("")}return e}function qE(r,e,t){var n;let i=t?UE(e.actions):[];return js("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},js("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage():e.message),(n=e.actions)===null||n===void 0?void 0:n.map((s,a)=>{let l=!1,p=S=>{if(S.preventDefault(),l)return;l=!0;let $=Jp(r.state.field(Wa).diagnostics,e);$&&s.apply(r,$.from,$.to)},{name:m}=s,g=i[a]?m.indexOf(i[a]):-1,b=g<0?m:[m.slice(0,g),js("u",m.slice(g,g+1)),m.slice(g+1)];return js("button",{type:"button",class:"cm-diagnosticAction",onclick:p,onmousedown:p,"aria-label":` Action: ${m}${g<0?"":` (access key "${i[a]})"`}.`},b)}),e.source&&js("div",{class:"cm-diagnosticSource"},e.source))}class e8 extends oh{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return js("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class Cb{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=qE(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class e0{constructor(e){this.view=e,this.items=[];let t=i=>{if(i.keyCode==27)vb(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],a=UE(s.actions);for(let l=0;l<a.length;l++)if(a[l].toUpperCase().charCodeAt(0)==i.keyCode){let p=Jp(this.view.state.field(Wa).diagnostics,s);p&&s.actions[l].apply(e,p.from,p.to)}}else return;i.preventDefault()},n=i=>{for(let s=0;s<this.items.length;s++)this.items[s].dom.contains(i.target)&&this.moveSelection(s)};this.list=js("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t,onclick:n}),this.dom=js("div",{class:"cm-panel-lint"},this.list,js("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>vb(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(Wa).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(Wa),n=0,i=!1,s=null;for(e.between(0,this.view.state.doc.length,(a,l,{spec:p})=>{let m=-1,g;for(let b=n;b<this.items.length;b++)if(this.items[b].diagnostic==p.diagnostic){m=b;break}m<0?(g=new Cb(this.view,p.diagnostic),this.items.splice(n,0,g),i=!0):(g=this.items[m],m>n&&(this.items.splice(n,m-n),i=!0)),t&&g.diagnostic==t.diagnostic?g.dom.hasAttribute("aria-selected")||(g.dom.setAttribute("aria-selected","true"),s=g):g.dom.hasAttribute("aria-selected")&&g.dom.removeAttribute("aria-selected"),n++});n<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)i=!0,this.items.pop();this.items.length==0&&(this.items.push(new Cb(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),i=!0),s?(this.list.setAttribute("aria-activedescendant",s.id),this.view.requestMeasure({key:this,read:()=>({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:a,panel:l})=>{a.top<l.top?this.list.scrollTop-=l.top-a.top:a.bottom>l.bottom&&(this.list.scrollTop+=a.bottom-l.bottom)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function t(){let n=e;e=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t();e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=this.view.state.field(Wa),n=Jp(t.diagnostics,this.items[e].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:XE.of(n)})}static open(e){return new e0(e)}}function t8(r,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${e}>${encodeURIComponent(r)}</svg>')`}function pm(r){return t8(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${r}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const r8=Qn.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:pm("#d11")},".cm-lintRange-warning":{backgroundImage:pm("orange")},".cm-lintRange-info":{backgroundImage:pm("#999")},".cm-lintRange-hint":{backgroundImage:pm("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),n8=[Wa,Qn.decorations.compute([Wa],r=>{let{selected:e,panel:t}=r.field(Wa);return!e||!t||e.from==e.to?_i.none:_i.set([ZN.range(e.from,e.to)])}),v3(YN,{hideOn:zN}),r8],i8=[F3(),B3(),e3(),w$(),K_(),VF(),ZF(),gs.allowMultipleSelections.of(!0),L_(),N2(n$,{fallback:!0}),c$(),_N(),VN(),p3(),m3(),o3(),FB(),Cd.of([...IN,...wB,...GB,...N$,...G_,...FO,...KN])];var Sb={};class fg{constructor(e,t,n,i,s,a,l,p,m,g=0,b){this.p=e,this.stack=t,this.state=n,this.reducePos=i,this.pos=s,this.score=a,this.buffer=l,this.bufferBase=p,this.curContext=m,this.lookAhead=g,this.parent=b}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let i=e.parser.context;return new fg(e,[],t,n,n,0,[],0,i?new Eb(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,i=e&65535,{parser:s}=this.p,a=s.dynamicPrecedence(i);if(a&&(this.score+=a),n==0){this.pushState(s.getGoto(this.state,i,!0),this.reducePos),i<s.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,4,!0),this.reduceContext(i,this.reducePos);return}let l=this.stack.length-(n-1)*3-(e&262144?6:0),p=l?this.stack[l-2]:this.p.ranges[0].from,m=this.reducePos-p;m>=2e3&&!(!((t=this.p.parser.nodeSet.types[i])===null||t===void 0)&&t.isAnonymous)&&(p==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=m):this.p.lastBigReductionSize<m&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=p,this.p.lastBigReductionSize=m));let g=l?this.stack[l-1]:0,b=this.bufferBase+this.buffer.length-g;if(i<s.minRepeatTerm||e&131072){let S=s.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,p,S,b+4,!0)}if(e&262144)this.state=this.stack[l];else{let S=this.stack[l-3];this.state=s.getGoto(S,i,!0)}for(;this.stack.length>l;)this.stack.pop();this.reduceContext(i,p)}storeNode(e,t,n,i=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let a=this,l=this.buffer.length;if(l==0&&a.parent&&(l=a.bufferBase-a.parent.bufferBase,a=a.parent),l>0&&a.buffer[l-4]==0&&a.buffer[l-1]>-1){if(t==n)return;if(a.buffer[l-2]>=t){a.buffer[l-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,t,n,i);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0)for(;a>0&&this.buffer[a-2]>n;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4);this.buffer[a]=e,this.buffer[a+1]=t,this.buffer[a+2]=n,this.buffer[a+3]=i}}shift(e,t,n){let i=this.pos;if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=n,this.shiftContext(t,i),t<=this.p.parser.maxNode&&this.buffer.push(t,i,n,4);else{let s=e,{parser:a}=this.p;(n>this.pos||t<=a.maxNode)&&(this.pos=n,a.stateFlag(s,1)||(this.reducePos=n)),this.pushState(s,i),this.shiftContext(t,i),t<=a.maxNode&&this.buffer.push(t,i,n,4)}}apply(e,t,n){e&65536?this.reduce(e):this.shift(e,t,n)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(n,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new fg(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new s8(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(n==0)return!1;if(!(n&65536))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let i=[];for(let s=0,a;s<t.length;s+=2)(a=t[s+1])!=this.state&&this.p.parser.hasAction(a,e)&&i.push(t[s],a);if(this.stack.length<120)for(let s=0;i.length<8&&s<t.length;s+=2){let a=t[s+1];i.some((l,p)=>p&1&&l==a)||i.push(t[s],a)}t=i}let n=[];for(let i=0;i<t.length&&n.length<4;i+=2){let s=t[i+1];if(s==this.state)continue;let a=this.split();a.pushState(s,this.pos),a.storeNode(0,a.pos,a.pos,4,!0),a.shiftContext(t[i],this.pos),a.score-=200,n.push(a)}return n}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(t&65536))return!1;if(!e.validAction(this.state,t)){let n=t>>19,i=t&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],i,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;t=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(i,s)=>{if(!t.includes(i))return t.push(i),e.allActions(i,a=>{if(!(a&393216))if(a&65536){let l=(a>>19)-s;if(l>1){let p=a&65535,m=this.stack.length-l*3;if(m>=0&&e.getGoto(this.stack[m],p,!1)>=0)return l<<19|65536|p}}else{let l=n(a,s+1);if(l!=null)return l}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||this.buffer[e]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new Eb(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class Eb{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}var wb;(function(r){r[r.Insert=200]="Insert",r[r.Delete=190]="Delete",r[r.Reduce=100]="Reduce",r[r.MaxNext=4]="MaxNext",r[r.MaxInsertStackDepth=300]="MaxInsertStackDepth",r[r.DampenInsertStackDepth=120]="DampenInsertStackDepth",r[r.MinBigReduction=2e3]="MinBigReduction"})(wb||(wb={}));class s8{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=i}}class dg{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new dg(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new dg(this.stack,this.pos,this.index)}}function kf(r,e=Uint16Array){if(typeof r!="string")return r;let t=null;for(let n=0,i=0;n<r.length;){let s=0;for(;;){let a=r.charCodeAt(n++),l=!1;if(a==126){s=65535;break}a>=92&&a--,a>=34&&a--;let p=a-32;if(p>=46&&(p-=46,l=!0),s+=p,l)break;s*=46}t?t[i++]=s:t=new e(s)}return t}class km{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Ab=new km;class o8{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Ab,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,i=this.rangeIndex,s=this.pos+e;for(;s<n.from;){if(!i)return null;let a=this.ranges[--i];s-=n.from-a.to,n=a}for(;t<0?s>n.to:s>=n.to;){if(i==this.ranges.length-1)return null;let a=this.ranges[++i];s+=a.from-n.to,n=a}return s}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t=this.chunkOff+e,n,i;if(t>=0&&t<this.chunk.length)n=this.pos+e,i=this.chunk.charCodeAt(t);else{let s=this.resolveOffset(e,1);if(s==null)return-1;if(n=s,n>=this.chunk2Pos&&n<this.chunk2Pos+this.chunk2.length)i=this.chunk2.charCodeAt(n-this.chunk2Pos);else{let a=this.rangeIndex,l=this.range;for(;l.to<=n;)l=this.ranges[++a];this.chunk2=this.input.chunk(this.chunk2Pos=n),n+this.chunk2.length>l.to&&(this.chunk2=this.chunk2.slice(0,l.to-n)),i=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),i}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(n==null||n<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=n}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=Ab,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(n+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return n}}class Xp{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;zE(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}Xp.prototype.contextual=Xp.prototype.fallback=Xp.prototype.extend=!1;class mg{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data=typeof e=="string"?kf(e):e}token(e,t){let n=e.pos,i=0;for(;;){let s=e.next<0,a=e.resolveOffset(1,1);if(zE(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||i++,a==null)break;e.reset(a,e.token)}i&&(e.reset(n,e.token),e.acceptToken(this.elseToken,i))}}mg.prototype.contextual=Xp.prototype.fallback=Xp.prototype.extend=!1;class iu{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function zE(r,e,t,n,i,s){let a=0,l=1<<n,{dialect:p}=t.p.parser;e:for(;l&r[a];){let m=r[a+1];for(let $=a+3;$<m;$+=2)if((r[$+1]&l)>0){let G=r[$];if(p.allows(G)&&(e.token.value==-1||e.token.value==G||a8(G,e.token.value,i,s))){e.acceptToken(G);break}}let g=e.next,b=0,S=r[a+2];if(e.next<0&&S>b&&r[m+S*3-3]==65535&&r[m+S*3-3]==65535){a=r[m+S*3-1];continue e}for(;b<S;){let $=b+S>>1,G=m+$+($<<1),be=r[G],ke=r[G+1]||65536;if(g<be)S=$;else if(g>=ke)b=$+1;else{a=r[G+2],e.advance();continue e}}break}}function Tb(r,e,t){for(let n=e,i;(i=r[n])!=65535;n++)if(i==t)return n-e;return-1}function a8(r,e,t,n){let i=Tb(t,n,e);return i<0||Tb(t,n,r)<i}const Ou=typeof process<"u"&&Sb&&/\bparse\b/.test(Sb.LOG);let Z0=null;var Pb;(function(r){r[r.Margin=25]="Margin"})(Pb||(Pb={}));function kb(r,e,t){let n=r.cursor(Ls.IncludeAnonymous);for(n.moveTo(e);;)if(!(t<0?n.childBefore(e):n.childAfter(e)))for(;;){if((t<0?n.to<e:n.from>e)&&!n.type.isError)return t<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(r.length,Math.max(n.from+1,e+25));if(t<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return t<0?0:r.length}}class u8{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?kb(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?kb(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let n=this.trees[t],i=this.index[t];if(i==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let s=n.children[i],a=this.start[t]+n.positions[i];if(a>e)return this.nextStart=a,null;if(s instanceof io){if(a==e){if(a<this.safeFrom)return null;let l=a+s.length;if(l<=this.safeTo){let p=s.prop(Gi.lookAhead);if(!p||l+p<this.fragment.to)return s}}this.index[t]++,a+s.length>=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+s.length}}}class l8{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new km)}getActions(e){let t=0,n=null,{parser:i}=e.p,{tokenizers:s}=i,a=i.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,p=0;for(let m=0;m<s.length;m++){if(!(1<<m&a))continue;let g=s[m],b=this.tokens[m];if(!(n&&!g.fallback)&&((g.contextual||b.start!=e.pos||b.mask!=a||b.context!=l)&&(this.updateCachedToken(b,g,e),b.mask=a,b.context=l),b.lookAhead>b.end+25&&(p=Math.max(b.lookAhead,p)),b.value!=0)){let S=t;if(b.extended>-1&&(t=this.addActions(e,b.extended,b.end,t)),t=this.addActions(e,b.value,b.end,t),!g.extend&&(n=b,t>S))break}}for(;this.actions.length>t;)this.actions.pop();return p&&e.setLookAhead(p),!n&&e.pos==this.stream.end&&(n=new km,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new km,{pos:n,p:i}=e;return t.start=n,t.end=Math.min(n+1,i.stream.end),t.value=n==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,n){let i=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(i,e),n),e.value>-1){let{parser:s}=n.p;for(let a=0;a<s.specialized.length;a++)if(s.specialized[a]==e.value){let l=s.specializers[a](this.stream.read(e.start,e.end),n);if(l>=0&&n.p.parser.dialect.allows(l>>1)){l&1?e.extended=l>>1:e.value=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,n,i){for(let s=0;s<i;s+=3)if(this.actions[s]==e)return i;return this.actions[i++]=e,this.actions[i++]=t,this.actions[i++]=n,i}addActions(e,t,n,i){let{state:s}=e,{parser:a}=e.p,{data:l}=a;for(let p=0;p<2;p++)for(let m=a.stateSlot(s,p?2:1);;m+=3){if(l[m]==65535)if(l[m+1]==1)m=Jl(l,m+2);else{i==0&&l[m+1]==2&&(i=this.putAction(Jl(l,m+2),t,n,i));break}l[m]==t&&(i=this.putAction(Jl(l,m+1),t,n,i))}return i}}var Fb;(function(r){r[r.Distance=5]="Distance",r[r.MaxRemainingPerStep=3]="MaxRemainingPerStep",r[r.MinBufferLengthPrune=500]="MinBufferLengthPrune",r[r.ForceReduceLimit=10]="ForceReduceLimit",r[r.CutDepth=15e3]="CutDepth",r[r.CutTo=9e3]="CutTo",r[r.MaxLeftAssociativeReductionCount=300]="MaxLeftAssociativeReductionCount",r[r.MaxStackCount=12]="MaxStackCount"})(Fb||(Fb={}));class c8{constructor(e,t,n,i){this.parser=e,this.input=t,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new o8(t,i),this.tokens=new l8(e,this.stream),this.topTerm=e.top[1];let{from:s}=i[0];this.stacks=[fg.start(this,e.top[0],s)],this.fragments=n.length&&this.stream.end-s>e.bufferLength*4?new u8(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,t=this.minStackPos,n=this.stacks=[],i,s;if(this.bigReductionCount>300&&e.length==1){let[a]=e;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<e.length;a++){let l=e[a];for(;;){if(this.tokens.mainToken=null,l.pos>t)n.push(l);else{if(this.advanceStack(l,n,e))continue;{i||(i=[],s=[]),i.push(l);let p=this.tokens.getMainToken(l);s.push(p.value,p.end)}}break}}if(!n.length){let a=i&&p8(i);if(a)return this.stackToTree(a);if(this.parser.strict)throw Ou&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+t);this.recovering||(this.recovering=5)}if(this.recovering&&i){let a=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,s,n);if(a)return this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(n.length>a)for(n.sort((l,p)=>p.score-l.score);n.length>a;)n.pop();n.some(l=>l.reducePos>t)&&this.recovering--}else if(n.length>1){e:for(let a=0;a<n.length-1;a++){let l=n[a];for(let p=a+1;p<n.length;p++){let m=n[p];if(l.sameState(m)||l.buffer.length>500&&m.buffer.length>500)if((l.score-m.score||l.buffer.length-m.buffer.length)>0)n.splice(p--,1);else{n.splice(a--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let a=1;a<n.length;a++)n[a].pos<this.minStackPos&&(this.minStackPos=n[a].pos);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,n){let i=e.pos,{parser:s}=this,a=Ou?this.stackID(e)+" -> ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let m=e.curContext&&e.curContext.tracker.strict,g=m?e.curContext.hash:0;for(let b=this.fragments.nodeAt(i);b;){let S=this.parser.nodeSet.types[b.type.id]==b.type?s.getGoto(e.state,b.type.id):-1;if(S>-1&&b.length&&(!m||(b.prop(Gi.contextHash)||0)==g))return e.useNode(b,S),Ou&&console.log(a+this.stackID(e)+` (via reuse of ${s.getName(b.type.id)})`),!0;if(!(b instanceof io)||b.children.length==0||b.positions[0]>0)break;let $=b.children[0];if($ instanceof io&&b.positions[0]==0)b=$;else break}}let l=s.stateSlot(e.state,4);if(l>0)return e.reduce(l),Ou&&console.log(a+this.stackID(e)+` (via always-reduce ${s.getName(l&65535)})`),!0;if(e.stack.length>=15e3)for(;e.stack.length>9e3&&e.forceReduce(););let p=this.tokens.getActions(e);for(let m=0;m<p.length;){let g=p[m++],b=p[m++],S=p[m++],$=m==p.length||!n,G=$?e:e.split();if(G.apply(g,b,S),Ou&&console.log(a+this.stackID(G)+` (via ${g&65536?`reduce of ${s.getName(g&65535)}`:"shift"} for ${s.getName(b)} @ ${i}${G==e?"":", split"})`),$)return!0;G.pos>i?t.push(G):n.push(G)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return _b(e,t),!0}}runRecovery(e,t,n){let i=null,s=!1;for(let a=0;a<e.length;a++){let l=e[a],p=t[a<<1],m=t[(a<<1)+1],g=Ou?this.stackID(l)+" -> ":"";if(l.deadEnd&&(s||(s=!0,l.restart(),Ou&&console.log(g+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let b=l.split(),S=g;for(let $=0;b.forceReduce()&&$<10&&(Ou&&console.log(S+this.stackID(b)+" (via force-reduce)"),!this.advanceFully(b,n));$++)Ou&&(S=this.stackID(b)+" -> ");for(let $ of l.recoverByInsert(p))Ou&&console.log(g+this.stackID($)+" (via recover-insert)"),this.advanceFully($,n);this.stream.end>l.pos?(m==l.pos&&(m++,p=0),l.recoverByDelete(p,m),Ou&&console.log(g+this.stackID(l)+` (via recover-delete ${this.parser.getName(p)})`),_b(l,n)):(!i||i.score<l.score)&&(i=l)}return i}stackToTree(e){return e.close(),io.build({buffer:dg.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(Z0||(Z0=new WeakMap)).get(e);return t||Z0.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function _b(r,e){for(let t=0;t<e.length;t++){let n=e[t];if(n.pos==r.pos&&n.sameState(r)){e[t].score<r.score&&(e[t]=r);return}}e.push(r)}class h8{constructor(e,t,n){this.source=e,this.flags=t,this.disabled=n}allows(e){return!this.disabled||this.disabled[e]==0}}const Y0=r=>r;class $O{constructor(e){this.start=e.start,this.shift=e.shift||Y0,this.reduce=e.reduce||Y0,this.reuse=e.reuse||Y0,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class Yh extends x2{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let l=0;l<e.repeatNodeCount;l++)t.push("");let n=Object.keys(e.topRules).map(l=>e.topRules[l][1]),i=[];for(let l=0;l<t.length;l++)i.push([]);function s(l,p,m){i[l].push([p,p.deserialize(String(m))])}if(e.nodeProps)for(let l of e.nodeProps){let p=l[0];typeof p=="string"&&(p=Gi[p]);for(let m=1;m<l.length;){let g=l[m++];if(g>=0)s(g,p,l[m++]);else{let b=l[m+-g];for(let S=-g;S>0;S--)s(l[m++],p,b);m++}}}this.nodeSet=new cO(t.map((l,p)=>ga.define({name:p>=this.minRepeatTerm?void 0:l,id:p,props:i[p],top:n.indexOf(p)>-1,error:p==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(p)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=g2;let a=kf(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;l<this.specializerSpecs.length;l++)this.specialized[l]=this.specializerSpecs[l].term;this.specializers=this.specializerSpecs.map($b),this.states=kf(e.states,Uint32Array),this.data=kf(e.stateData),this.goto=kf(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(l=>typeof l=="number"?new Xp(a,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let i=new c8(this,e,t,n);for(let s of this.wrappers)i=s(i,e,t,n);return i}getGoto(e,t,n=!1){let i=this.goto;if(t>=i[0])return-1;for(let s=i[t+1];;){let a=i[s++],l=a&1,p=i[s++];if(l&&n)return p;for(let m=s+(a>>1);s<m;s++)if(i[s]==e)return p;if(l)return-1}}hasAction(e,t){let n=this.data;for(let i=0;i<2;i++)for(let s=this.stateSlot(e,i?2:1),a;;s+=3){if((a=n[s])==65535)if(n[s+1]==1)a=n[s=Jl(n,s+2)];else{if(n[s+1]==2)return Jl(n,s+2);break}if(a==t||a==0)return Jl(n,s+1)}return 0}stateSlot(e,t){return this.states[e*6+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,n=>n==t?!0:null)}allActions(e,t){let n=this.stateSlot(e,4),i=n?t(n):void 0;for(let s=this.stateSlot(e,1);i==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=Jl(this.data,s+2);else break;i=t(Jl(this.data,s+1))}return i}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=Jl(this.data,n+2);else break;if(!(this.data[n+2]&1)){let i=this.data[n+1];t.some((s,a)=>a&1&&s==i)||t.push(this.data[n],i)}}return t}configure(e){let t=Object.assign(Object.create(Yh.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(n=>{let i=e.tokenizers.find(s=>s.from==n);return i?i.to:n})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((n,i)=>{let s=e.specializers.find(l=>l.from==n.external);if(!s)return n;let a=Object.assign(Object.assign({},n),{external:s.to});return t.specializers[i]=$b(a),a})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),e.bufferLength!=null&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return t==null?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map(()=>!1);if(e)for(let s of e.split(" ")){let a=t.indexOf(s);a>=0&&(n[a]=!0)}let i=null;for(let s=0;s<t.length;s++)if(!n[s])for(let a=this.dialects[t[s]],l;(l=this.data[a++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[l]=1;return new h8(e,n,i)}static deserialize(e){return new Yh(e)}}function Jl(r,e){return r[e]|r[e+1]<<16}function p8(r){let e=null;for(let t of r){let n=t.p.stoppedAt;(t.pos==t.p.stream.end||n!=null&&t.pos>n)&&t.p.parser.stateFlag(t.state,2)&&(!e||e.score<t.score)&&(e=t)}return e}function $b(r){if(r.external){let e=r.extend?1:0;return(t,n)=>r.external(t,n)<<1|e}return r.get}const f8=303,Bb=1,d8=2,m8=304,g8=306,y8=307,D8=3,O8=4,x8=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],WE=125,b8=59,Nb=47,v8=42,C8=43,S8=45,E8=new $O({start:!1,shift(r,e){return e==D8||e==O8||e==g8?r:e==y8},strict:!1}),w8=new iu((r,e)=>{let{next:t}=r;(t==WE||t==-1||e.context)&&r.acceptToken(m8)},{contextual:!0,fallback:!0}),A8=new iu((r,e)=>{let{next:t}=r,n;x8.indexOf(t)>-1||t==Nb&&((n=r.peek(1))==Nb||n==v8)||t!=WE&&t!=b8&&t!=-1&&!e.context&&r.acceptToken(f8)},{contextual:!0}),T8=new iu((r,e)=>{let{next:t}=r;if((t==C8||t==S8)&&(r.advance(),t==r.next)){r.advance();let n=!e.context&&e.canShift(Bb);r.acceptToken(n?Bb:d8)}},{contextual:!0}),P8=wd({"get set async static":He.modifier,"for while do if else switch try catch finally return throw break continue default case":He.controlKeyword,"in of await yield void typeof delete instanceof":He.operatorKeyword,"let var const function class extends":He.definitionKeyword,"import export from":He.moduleKeyword,"with debugger as new":He.keyword,TemplateString:He.special(He.string),super:He.atom,BooleanLiteral:He.bool,this:He.self,null:He.null,Star:He.modifier,VariableName:He.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":He.function(He.variableName),VariableDefinition:He.definition(He.variableName),Label:He.labelName,PropertyName:He.propertyName,PrivatePropertyName:He.special(He.propertyName),"CallExpression/MemberExpression/PropertyName":He.function(He.propertyName),"FunctionDeclaration/VariableDefinition":He.function(He.definition(He.variableName)),"ClassDeclaration/VariableDefinition":He.definition(He.className),PropertyDefinition:He.definition(He.propertyName),PrivatePropertyDefinition:He.definition(He.special(He.propertyName)),UpdateOp:He.updateOperator,LineComment:He.lineComment,BlockComment:He.blockComment,Number:He.number,String:He.string,Escape:He.escape,ArithOp:He.arithmeticOperator,LogicOp:He.logicOperator,BitOp:He.bitwiseOperator,CompareOp:He.compareOperator,RegExp:He.regexp,Equals:He.definitionOperator,Arrow:He.function(He.punctuation),": Spread":He.punctuation,"( )":He.paren,"[ ]":He.squareBracket,"{ }":He.brace,"InterpolationStart InterpolationEnd":He.special(He.brace),".":He.derefOperator,", ;":He.separator,"@":He.meta,TypeName:He.typeName,TypeDefinition:He.definition(He.typeName),"type enum interface implements namespace module declare":He.definitionKeyword,"abstract global Privacy readonly override":He.modifier,"is keyof unique infer":He.operatorKeyword,JSXAttributeValue:He.attributeValue,JSXText:He.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":He.angleBracket,"JSXIdentifier JSXNameSpacedName":He.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":He.attributeName,"JSXBuiltin/JSXIdentifier":He.standard(He.tagName)}),k8={__proto__:null,export:14,as:19,from:27,default:30,async:35,function:36,extends:46,this:50,true:58,false:58,null:70,void:74,typeof:78,super:96,new:130,delete:146,yield:155,await:159,class:164,public:221,private:221,protected:221,readonly:223,instanceof:242,satisfies:245,in:246,const:248,import:280,keyof:335,unique:339,infer:345,is:381,abstract:401,implements:403,type:405,let:408,var:410,using:413,interface:419,enum:423,namespace:429,module:431,declare:435,global:439,for:458,of:467,while:470,with:474,do:478,if:482,else:484,switch:488,case:494,try:500,catch:504,finally:508,return:512,throw:516,break:520,continue:524,debugger:528},F8={__proto__:null,async:117,get:119,set:121,declare:181,public:183,private:183,protected:183,static:185,abstract:187,override:189,readonly:195,accessor:197,new:385},_8={__proto__:null,"<":137},$8=Yh.deserialize({version:14,states:"$6tO`QUOOO%TQUOOO'WQWOOP(eOSOOO*sQ(CjO'#CfO*zOpO'#CgO+YO!bO'#CgO+hO07`O'#DZO-yQUO'#DaO.ZQUO'#DlO%TQUO'#DvO0_QUO'#EOOOQ(CY'#EW'#EWO0xQSO'#ETOOQO'#Ei'#EiOOQO'#Ic'#IcO1QQSO'#GkO1]QSO'#EhO1bQSO'#EhO3dQ(CjO'#JdO6TQ(CjO'#JeO6qQSO'#FWO6vQ#tO'#FoOOQ(CY'#F`'#F`O7RO&jO'#F`O7aQ,UO'#FvO8wQSO'#FuOOQ(CY'#Je'#JeOOQ(CW'#Jd'#JdO8|QSO'#GoOOQQ'#KP'#KPO9XQSO'#IPO9^Q(C[O'#IQOOQQ'#JQ'#JQOOQQ'#IU'#IUQ`QUOOO%TQUO'#DnO9fQUO'#DzO9mQUO'#D|O9SQSO'#GkO9tQ,UO'#ClO:SQSO'#EgO:_QSO'#ErO:dQ,UO'#F_O;RQSO'#GkOOQO'#KQ'#KQO;WQSO'#KQO;fQSO'#GsO;fQSO'#GtO;fQSO'#GvO9SQSO'#GyO<]QSO'#G|O=tQSO'#CbO>UQSO'#HYO>^QSO'#H`O>^QSO'#HbO`QUO'#HdO>^QSO'#HfO>^QSO'#HiO>cQSO'#HoO>hQ(C]O'#HuO%TQUO'#HwO>sQ(C]O'#HyO?OQ(C]O'#H{O9^Q(C[O'#H}O?ZQ(CjO'#CfO@]QWO'#DfQOQSOOO%TQUO'#D|O@sQSO'#EPO9tQ,UO'#EgOAOQSO'#EgOAZQ`O'#F_OOQQ'#Cd'#CdOOQ(CW'#Dk'#DkOOQ(CW'#Jh'#JhO%TQUO'#JhOOQO'#Jl'#JlOOQO'#I`'#I`OBZQWO'#E`OOQ(CW'#E_'#E_OCVQ(C`O'#E`OCaQWO'#ESOOQO'#Jk'#JkOCuQWO'#JlOESQWO'#ESOCaQWO'#E`PEaO?MpO'#C`POOO)CDo)CDoOOOO'#IV'#IVOElOpO,59ROOQ(CY,59R,59ROOOO'#IW'#IWOEzO!bO,59RO%TQUO'#D]OOOO'#IY'#IYOFYO07`O,59uOOQ(CY,59u,59uOFhQUO'#IZOF{QSO'#JfOH}QbO'#JfO+vQUO'#JfOIUQSO,59{OIlQSO'#EiOIyQSO'#JtOJUQSO'#JsOJUQSO'#JsOJ^QSO,5;VOJcQSO'#JrOOQ(CY,5:W,5:WOJjQUO,5:WOLkQ(CjO,5:bOM[QSO,5:jOMuQ(C[O'#JqOM|QSO'#JpO8|QSO'#JpONbQSO'#JpONjQSO,5;UONoQSO'#JpO!!wQbO'#JeOOQ(CY'#Cf'#CfO%TQUO'#EOO!#gQ`O,5:oOOQO'#Jm'#JmOOQO-E<a-E<aO9SQSO,5=VO!#}QSO,5=VO!$SQUO,5;SO!&VQ,UO'#EdO!'jQSO,5;SO!)SQ,UO'#DpO!)ZQUO'#DuO!)eQWO,5;]O!)mQWO,5;]O%TQUO,5;]OOQQ'#FO'#FOOOQQ'#FQ'#FQO%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^O%TQUO,5;^OOQQ'#FU'#FUO!){QUO,5;oOOQ(CY,5;t,5;tOOQ(CY,5;u,5;uO!,OQSO,5;uOOQ(CY,5;v,5;vO%TQUO'#IgO!,WQ(C[O,5<cO!&VQ,UO,5;^O!,uQ,UO,5;^O%TQUO,5;rO!,|Q#tO'#FeO!-yQ#tO'#JxO!-eQ#tO'#JxO!.QQ#tO'#JxOOQO'#Jx'#JxO!.fQ#tO,5;}OOOO,5<Z,5<ZO!.wQUO'#FqOOOO'#If'#IfO7RO&jO,5;zO!/OQ#tO'#FsOOQ(CY,5;z,5;zO!/oQ7[O'#CrOOQ(CY'#Cv'#CvO!0SQSO'#CvO!0XO07`O'#CzO!0uQ,UO,5<`O!0|QSO,5<bO!2cQMhO'#GQO!2pQSO'#GRO!2uQSO'#GRO!2zQMhO'#GVO!3yQWO'#GZO!4lQ7[O'#J_OOQ(CY'#J_'#J_O!4vQSO'#J^O!5UQSO'#J]O!5^QSO'#CqOOQ(CY'#Ct'#CtOOQ(CY'#DO'#DOOOQ(CY'#DQ'#DQO0{QSO'#DSO!'oQ,UO'#FxO!'oQ,UO'#FzO!5fQSO'#F|O!5kQSO'#F}O!2uQSO'#GTO!'oQ,UO'#GYO!5pQSO'#EjO!6_QSO,5<aOOQ(CW'#Co'#CoO!6gQSO'#EkO!7aQWO'#ElOOQ(CW'#Jr'#JrO!7hQ(C[O'#KRO9^Q(C[O,5=ZO`QUO,5>kOOQQ'#JY'#JYOOQQ,5>l,5>lOOQQ-E<S-E<SO!9jQ(CjO,5:YO!<WQ(CjO,5:fO%TQUO,5:fO!>qQ(CjO,5:hOOQO,5@l,5@lO!?bQ,UO,5=VO!?pQ(C[O'#JZO8wQSO'#JZO!@RQ(C[O,59WO!@^QWO,59WO!@fQ,UO,59WO9tQ,UO,59WO!@qQSO,5;SO!@yQSO'#HXO!A[QSO'#KUO%TQUO,5;wO!7[QWO,5;yO!AdQSO,5=rO!AiQSO,5=rO!AnQSO,5=rO9^Q(C[O,5=rO;fQSO,5=bOOQO'#Cr'#CrO!A|QWO,5=_O!BUQ,UO,5=`O!BaQSO,5=bO!BfQ`O,5=eO!BnQSO'#KQO>cQSO'#HOO9SQSO'#HQO!BsQSO'#HQO9tQ,UO'#HSO!BxQSO'#HSOOQQ,5=h,5=hO!B}QSO'#HTO!CVQSO'#ClO!C[QSO,58|O!CfQSO,58|O!EkQUO,58|OOQQ,58|,58|O!E{Q(C[O,58|O%TQUO,58|O!HWQUO'#H[OOQQ'#H]'#H]OOQQ'#H^'#H^O`QUO,5=tO!HnQSO,5=tO`QUO,5=zO`QUO,5=|O!HsQSO,5>OO`QUO,5>QO!HxQSO,5>TO!H}QUO,5>ZOOQQ,5>a,5>aO%TQUO,5>aO9^Q(C[O,5>cOOQQ,5>e,5>eO!MXQSO,5>eOOQQ,5>g,5>gO!MXQSO,5>gOOQQ,5>i,5>iO!M^QWO'#DXO%TQUO'#JhO!M{QWO'#JhO!NjQWO'#DgO!N{QWO'#DgO##^QUO'#DgO##eQSO'#JgO##mQSO,5:QO##rQSO'#EmO#$QQSO'#JuO#$YQSO,5;WO#$_QWO'#DgO#$lQWO'#EROOQ(CY,5:k,5:kO%TQUO,5:kO#$sQSO,5:kO>cQSO,5;RO!@^QWO,5;RO!@fQ,UO,5;RO9tQ,UO,5;RO#${QSO,5@SO#%QQ!LQO,5:oOOQO-E<^-E<^O#&WQ(C`O,5:zOCaQWO,5:nO#&bQWO,5:nOCaQWO,5:zO!@RQ(C[O,5:nOOQ(CW'#Ec'#EcOOQO,5:z,5:zO%TQUO,5:zO#&oQ(C[O,5:zO#&zQ(C[O,5:zO!@^QWO,5:nOOQO,5;Q,5;QO#'YQ(C[O,5:zPOOO'#IT'#ITP#'nO?MpO,58zPOOO,58z,58zOOOO-E<T-E<TOOQ(CY1G.m1G.mOOOO-E<U-E<UO#'yQ`O,59wOOOO-E<W-E<WOOQ(CY1G/a1G/aO#(OQbO,5>uO+vQUO,5>uOOQO,5>{,5>{O#(YQUO'#IZOOQO-E<X-E<XO#(gQSO,5@QO#(oQbO,5@QO#(vQSO,5@_OOQ(CY1G/g1G/gO%TQUO,5@`O#)OQSO'#IaOOQO-E<_-E<_O#(vQSO,5@_OOQ(CW1G0q1G0qOOQ(CY1G/r1G/rOOQ(CY1G0U1G0UO%TQUO,5@]O#)dQ(C[O,5@]O#)uQ(C[O,5@]O#)|QSO,5@[O8|QSO,5@[O#*UQSO,5@[O#*dQSO'#IdO#)|QSO,5@[OOQ(CW1G0p1G0pO!)eQWO,5:qO!)pQWO,5:qOOQO,5:s,5:sO#+UQSO,5:sO#+^Q,UO1G2qO9SQSO1G2qOOQ(CY1G0n1G0nO#+lQ(CjO1G0nO#,qQ(ChO,5;OOOQ(CY'#GP'#GPO#-_Q(CjO'#J_O!$SQUO1G0nO#/gQ,UO'#JiO#/qQSO,5:[O#/vQbO'#JjO%TQUO'#JjO#0QQSO,5:aOOQ(CY'#DX'#DXOOQ(CY1G0w1G0wO%TQUO1G0wOOQ(CY1G1a1G1aO#0VQSO1G0wO#2nQ(CjO1G0xO#2uQ(CjO1G0xO#5`Q(CjO1G0xO#5gQ(CjO1G0xO#7qQ(CjO1G0xO#8XQ(CjO1G0xO#;RQ(CjO1G0xO#;YQ(CjO1G0xO#=sQ(CjO1G0xO#=zQ(CjO1G0xO#?rQ(CjO1G0xO#BrQ$IUO'#CfO#DpQ$IUO1G1ZO#DwQ$IUO'#JeO!,RQSO1G1aO#EXQ(CjO,5?ROOQ(CW-E<e-E<eO#E{Q(CjO1G0xOOQ(CY1G0x1G0xO#HWQ(CjO1G1^O#HzQ#tO,5<RO#ISQ#tO,5<SO#I[Q#tO'#FjO#IsQSO'#FiOOQO'#Jy'#JyOOQO'#Ie'#IeO#IxQ#tO1G1iOOQ(CY1G1i1G1iOOOO1G1t1G1tO#JZQ$IUO'#JdO#JeQSO,5<]O!){QUO,5<]OOOO-E<d-E<dOOQ(CY1G1f1G1fO#JjQWO'#JxOOQ(CY,5<_,5<_O#JrQWO,5<_OOQ(CY,59b,59bO!&VQ,UO'#C|OOOO'#IX'#IXO#JwO07`O,59fOOQ(CY,59f,59fO%TQUO1G1zO!5kQSO'#IiO#KSQ,UO,5<sOOQ(CY,5<p,5<pOOQO'#Gf'#GfO!'oQ,UO,5=POOQO'#Gh'#GhO!'oQ,UO,5=RO!&VQ,UO,5=TOOQO1G1|1G1|O#KZQ`O'#CoO#KnQ`O,5<lO#KuQSO'#J|O9SQSO'#J|O#LTQSO,5<nO!'oQ,UO,5<mO#LYQSO'#GSO#LeQSO,5<mO#LjQ`O'#GPO#LwQ`O'#J}O#MRQSO'#J}O!&VQ,UO'#J}O#MWQSO,5<qO#M]QWO'#G[O!3tQWO'#G[O#MnQSO'#G^O#MsQSO'#G`O!2uQSO'#GcO#MxQ(C[O'#IkO#NTQWO,5<uOOQ(CY,5<u,5<uO#N[QWO'#G[O#NjQWO'#G]O#NrQWO'#G]OOQ(CY,5=U,5=UO!'oQ,UO,5?xO!'oQ,UO,5?xO#NwQSO'#IlO$ SQSO,5?wO$ [QSO,59]O$ {Q,UO,59nOOQ(CY,59n,59nO$!nQ,UO,5<dO$#aQ,UO,5<fO@TQSO,5<hOOQ(CY,5<i,5<iO$#kQSO,5<oO$#pQ,UO,5<tO$$QQSO'#JpO!$SQUO1G1{O$$VQSO1G1{O8|QSO'#JsO8|QSO'#EmO%TQUO'#EmO8|QSO'#InO$$[Q(C[O,5@mOOQQ1G2u1G2uOOQQ1G4V1G4VOOQ(CY1G/t1G/tO!,OQSO1G/tO$&aQ(CjO1G0QOOQQ1G2q1G2qO!&VQ,UO1G2qO%TQUO1G2qO$'QQSO1G2qO$']Q,UO'#EdOOQ(CW,5?u,5?uO$'gQ(C[O,5?uOOQQ1G.r1G.rO!@RQ(C[O1G.rO!@^QWO1G.rO!@fQ,UO1G.rO$'xQSO1G0nO$'}QSO'#CfO$(YQSO'#KVO$(bQSO,5=sO$(gQSO'#KVO$(lQSO'#KVO$(wQSO'#ItO$)VQSO,5@pO$)_QbO1G1cOOQ(CY1G1e1G1eO9SQSO1G3^O@TQSO1G3^O$)fQSO1G3^O$)kQSO1G3^OOQQ1G3^1G3^O!BaQSO1G2|O!&VQ,UO1G2yO$)pQSO1G2yOOQQ1G2z1G2zO!&VQ,UO1G2zO$)uQSO1G2zO$)}QWO'#GxOOQQ1G2|1G2|O!3tQWO'#IpO!BfQ`O1G3POOQQ1G3P1G3POOQQ,5=j,5=jO$*VQ,UO,5=lO9SQSO,5=lO#MsQSO,5=nO8wQSO,5=nO!@^QWO,5=nO!@fQ,UO,5=nO9tQ,UO,5=nO$*eQSO'#KTO$*pQSO,5=oOOQQ1G.h1G.hO$*uQ(C[O1G.hO@TQSO1G.hO$+QQSO1G.hO9^Q(C[O1G.hO$-VQbO,5@rO$-gQSO,5@rO8|QSO,5@rO$-rQUO,5=vO$-yQSO,5=vOOQQ1G3`1G3`O`QUO1G3`OOQQ1G3f1G3fOOQQ1G3h1G3hO>^QSO1G3jO$.OQUO1G3lO$2SQUO'#HkOOQQ1G3o1G3oO$2aQSO'#HqO>cQSO'#HsOOQQ1G3u1G3uO$2iQUO1G3uO9^Q(C[O1G3{OOQQ1G3}1G3}OOQ(CW'#GW'#GWO9^Q(C[O1G4PO9^Q(C[O1G4RO$6pQSO,5@SO!){QUO,5;XO8|QSO,5;XO>cQSO,5:RO!){QUO,5:RO!@^QWO,5:RO$6uQ$IUO,5:ROOQO,5;X,5;XO$7PQWO'#I[O$7gQSO,5@ROOQ(CY1G/l1G/lO$7oQWO'#IbO$7yQSO,5@aOOQ(CW1G0r1G0rO!N{QWO,5:ROOQO'#I_'#I_O$8RQWO,5:mOOQ(CY,5:m,5:mO#$vQSO1G0VOOQ(CY1G0V1G0VO%TQUO1G0VOOQ(CY1G0m1G0mO>cQSO1G0mO!@^QWO1G0mO!@fQ,UO1G0mOOQ(CW1G5n1G5nO!@RQ(C[O1G0YOOQO1G0f1G0fO%TQUO1G0fO$8YQ(C[O1G0fO$8eQ(C[O1G0fO!@^QWO1G0YOCaQWO1G0YO$8sQ(C[O1G0fOOQO1G0Y1G0YO$9XQ(CjO1G0fPOOO-E<R-E<RPOOO1G.f1G.fOOOO1G/c1G/cO$9cQ`O,5<cO$9kQbO1G4aOOQO1G4g1G4gO%TQUO,5>uO$9uQSO1G5lO$9}QSO1G5yO$:VQbO1G5zO8|QSO,5>{O$:aQ(CjO1G5wO%TQUO1G5wO$:qQ(C[O1G5wO$;SQSO1G5vO$;SQSO1G5vO8|QSO1G5vO$;[QSO,5?OO8|QSO,5?OOOQO,5?O,5?OO$;pQSO,5?OO$$QQSO,5?OOOQO-E<b-E<bOOQO1G0]1G0]OOQO1G0_1G0_O!,RQSO1G0_OOQQ7+(]7+(]O!&VQ,UO7+(]O%TQUO7+(]O$<OQSO7+(]O$<ZQ,UO7+(]O$<iQ(CjO,59nO$>qQ(CjO,5<dO$@|Q(CjO,5<fO$CXQ(CjO,5<tOOQ(CY7+&Y7+&YO$EjQ(CjO7+&YO$F^Q,UO'#I]O$FhQSO,5@TOOQ(CY1G/v1G/vO$FpQUO'#I^O$F}QSO,5@UO$GVQbO,5@UOOQ(CY1G/{1G/{O$GaQSO7+&cOOQ(CY7+&c7+&cO$GfQ$IUO,5:bO%TQUO7+&uO$GpQ$IUO,5:YO$G}Q$IUO,5:fO$HXQ$IUO,5:hOOQ(CY7+&{7+&{OOQO1G1m1G1mOOQO1G1n1G1nO$HcQ#tO,5<UO!){QUO,5<TOOQO-E<c-E<cOOQ(CY7+'T7+'TOOOO7+'`7+'`OOOO1G1w1G1wO$HnQSO1G1wOOQ(CY1G1y1G1yO$HsQ`O,59hOOOO-E<V-E<VOOQ(CY1G/Q1G/QO$HzQ(CjO7+'fOOQ(CY,5?T,5?TO$InQ`O,5?TOOQ(CY1G2_1G2_P!&VQ,UO'#IiPOQ(CY-E<g-E<gO$J^Q,UO1G2kO$KPQ,UO1G2mO$KZQ`O1G2oOOQ(CY1G2W1G2WO$KbQSO'#IhO$KpQSO,5@hO$KpQSO,5@hO$KxQSO,5@hO$LTQSO,5@hOOQO1G2Y1G2YO$LcQ,UO1G2XO!'oQ,UO1G2XO$LsQMhO'#IjO$MTQSO,5@iO!&VQ,UO,5@iO$M]Q`O,5@iOOQ(CY1G2]1G2]OOQ(CW,5<v,5<vOOQ(CW,5<w,5<wO$$QQSO,5<wOCQQSO,5<wO!@^QWO,5<vOOQO'#G_'#G_O$MgQSO,5<xOOQ(CW,5<z,5<zO$$QQSO,5<}OOQO,5?V,5?VOOQO-E<i-E<iOOQ(CY1G2a1G2aO!3tQWO,5<vO$MoQSO,5<wO#MnQSO,5<xO!3tQWO,5<wO$MzQ,UO1G5dO$NUQ,UO1G5dOOQO,5?W,5?WOOQO-E<j-E<jOOQO1G.w1G.wO!7[QWO,59pO%TQUO,59pO$NcQSO1G2SO!'oQ,UO1G2ZO$NhQ(CjO7+'gOOQ(CY7+'g7+'gO!$SQUO7+'gO% [QSO,5;XOOQ(CW,5?Y,5?YOOQ(CW-E<l-E<lOOQ(CY7+%`7+%`O% aQ`O'#KOO#$vQSO7+(]O% kQbO7+(]O$<RQSO7+(]O% rQ(ChO'#CfO%!VQ(ChO,5<{O%!wQSO,5<{OOQ(CW1G5a1G5aOOQQ7+$^7+$^O!@RQ(C[O7+$^O!@^QWO7+$^O!$SQUO7+&YO%!|QSO'#IsO%#bQSO,5@qOOQO1G3_1G3_O9SQSO,5@qO%#bQSO,5@qO%#jQSO,5@qOOQO,5?`,5?`OOQO-E<r-E<rOOQ(CY7+&}7+&}O%#oQSO7+(xO9^Q(C[O7+(xO9SQSO7+(xO@TQSO7+(xOOQQ7+(h7+(hO%#tQ(ChO7+(eO!&VQ,UO7+(eO%$OQ`O7+(fOOQQ7+(f7+(fO!&VQ,UO7+(fO%$VQSO'#KSO%$bQSO,5=dOOQO,5?[,5?[OOQO-E<n-E<nOOQQ7+(k7+(kO%%qQWO'#HROOQQ1G3W1G3WO!&VQ,UO1G3WO%TQUO1G3WO%%xQSO1G3WO%&TQ,UO1G3WO9^Q(C[O1G3YO#MsQSO1G3YO8wQSO1G3YO!@^QWO1G3YO!@fQ,UO1G3YO%&cQSO'#IrO%&nQSO,5@oO%&vQWO,5@oOOQ(CW1G3Z1G3ZOOQQ7+$S7+$SO@TQSO7+$SO9^Q(C[O7+$SO%'RQSO7+$SO%TQUO1G6^O%TQUO1G6_O%'WQ(C[O1G6^O%'bQUO1G3bO%'iQSO1G3bO%'nQUO1G3bOOQQ7+(z7+(zO9^Q(C[O7+)UO`QUO7+)WOOQQ'#KY'#KYOOQQ'#Iu'#IuO%'uQUO,5>VOOQQ,5>V,5>VO%TQUO'#HlO%(SQSO'#HnOOQQ,5>],5>]O8|QSO,5>]OOQQ,5>_,5>_OOQQ7+)a7+)aOOQQ7+)g7+)gOOQQ7+)k7+)kOOQQ7+)m7+)mO%(XQWO1G5nO%(mQ$IUO1G0sO%(wQSO1G0sOOQO1G/m1G/mO%)SQ$IUO1G/mO>cQSO1G/mO!){QUO'#DgOOQO,5>v,5>vOOQO-E<Y-E<YOOQO,5>|,5>|OOQO-E<`-E<`O!@^QWO1G/mOOQO-E<]-E<]OOQ(CY1G0X1G0XOOQ(CY7+%q7+%qO#$vQSO7+%qOOQ(CY7+&X7+&XO>cQSO7+&XO!@^QWO7+&XOOQO7+%t7+%tO$9XQ(CjO7+&QOOQO7+&Q7+&QO%TQUO7+&QO%)^Q(C[O7+&QO!@RQ(C[O7+%tO!@^QWO7+%tO%)iQ(C[O7+&QO%)wQ(CjO7++cO%TQUO7++cO%*XQSO7++bO%*XQSO7++bOOQO1G4j1G4jO8|QSO1G4jO%*aQSO1G4jOOQO7+%y7+%yO#$vQSO<<KwO% kQbO<<KwO%*oQSO<<KwOOQQ<<Kw<<KwO!&VQ,UO<<KwO%TQUO<<KwO%*wQSO<<KwO%+SQ(CjO1G2kO%-_Q(CjO1G2mO%/jQ(CjO1G2XO%1{Q,UO,5>wOOQO-E<Z-E<ZO%2VQbO,5>xO%TQUO,5>xOOQO-E<[-E<[O%2aQSO1G5pOOQ(CY<<I}<<I}O%2iQ$IUO1G0nO%4sQ$IUO1G0xO%4zQ$IUO1G0xO%7OQ$IUO1G0xO%7VQ$IUO1G0xO%8zQ$IUO1G0xO%9bQ$IUO1G0xO%;uQ$IUO1G0xO%;|Q$IUO1G0xO%>QQ$IUO1G0xO%>XQ$IUO1G0xO%@PQ$IUO1G0xO%@dQ(CjO<<JaO%AiQ$IUO1G0xO%C_Q$IUO'#J_O%EbQ$IUO1G1^O%EoQ$IUO1G0QO!){QUO'#FlOOQO'#Jz'#JzOOQO1G1p1G1pO%EyQSO1G1oO%FOQ$IUO,5?ROOOO7+'c7+'cOOOO1G/S1G/SOOQ(CY1G4o1G4oO!'oQ,UO7+(ZO%FYQSO,5?SO9SQSO,5?SOOQO-E<f-E<fO%FhQSO1G6SO%FhQSO1G6SO%FpQSO1G6SO%F{Q,UO7+'sO%G]Q`O,5?UO%GgQSO,5?UO!&VQ,UO,5?UOOQO-E<h-E<hO%GlQ`O1G6TO%GvQSO1G6TOOQ(CW1G2c1G2cO$$QQSO1G2cOOQ(CW1G2b1G2bO%HOQSO1G2dO!&VQ,UO1G2dOOQ(CW1G2i1G2iO!@^QWO1G2bOCQQSO1G2cO%HTQSO1G2dO%H]QSO1G2cO!'oQ,UO7++OOOQ(CY1G/[1G/[O%HhQSO1G/[OOQ(CY7+'n7+'nO%HmQ,UO7+'uO%H}Q(CjO<<KROOQ(CY<<KR<<KRO%IqQSO1G0sO!&VQ,UO'#ImO%IvQSO,5@jO!&VQ,UO1G2gOOQQ<<Gx<<GxO!@RQ(C[O<<GxO%JOQ(CjO<<ItOOQ(CY<<It<<ItOOQO,5?_,5?_O%JrQSO,5?_O$(lQSO,5?_OOQO-E<q-E<qO%JwQSO1G6]O%JwQSO1G6]O9SQSO1G6]O@TQSO<<LdOOQQ<<Ld<<LdO%KPQSO<<LdO9^Q(C[O<<LdOOQQ<<LP<<LPO%#tQ(ChO<<LPOOQQ<<LQ<<LQO%$OQ`O<<LQO%KUQWO'#IoO%KaQSO,5@nO!){QUO,5@nOOQQ1G3O1G3OO%KiQUO'#JhOOQO'#Iq'#IqO9^Q(C[O'#IqO%KsQWO,5=mOOQQ,5=m,5=mO%KzQWO'#E`O%L`QSO7+(rO%LeQSO7+(rOOQQ7+(r7+(rO!&VQ,UO7+(rO%TQUO7+(rO%LmQSO7+(rOOQQ7+(t7+(tO9^Q(C[O7+(tO#MsQSO7+(tO8wQSO7+(tO!@^QWO7+(tO%LxQSO,5?^OOQO-E<p-E<pOOQO'#HU'#HUO%MTQSO1G6ZO9^Q(C[O<<GnOOQQ<<Gn<<GnO@TQSO<<GnO%M]QSO7++xO%MbQSO7++yO%TQUO7++xO%TQUO7++yOOQQ7+(|7+(|O%MgQSO7+(|O%MlQUO7+(|O%MsQSO7+(|OOQQ<<Lp<<LpOOQQ<<Lr<<LrOOQQ-E<s-E<sOOQQ1G3q1G3qO%MxQSO,5>WOOQQ,5>Y,5>YO%M}QSO1G3wO8|QSO7+&_O!){QUO7+&_OOQO7+%X7+%XO%NSQ$IUO1G5zO>cQSO7+%XOOQ(CY<<I]<<I]OOQ(CY<<Is<<IsO>cQSO<<IsOOQO<<Il<<IlO$9XQ(CjO<<IlO%TQUO<<IlOOQO<<I`<<I`O!@RQ(C[O<<I`O%N^Q(C[O<<IlO%NiQ(CjO<<N}O%NyQSO<<N|OOQO7+*U7+*UO8|QSO7+*UOOQQANAcANAcO& RQSOANAcO!&VQ,UOANAcO#$vQSOANAcO% kQbOANAcO%TQUOANAcO& ZQ(CjO7+'sO&#lQ(CjO7+'uO&%}QbO1G4dO&&XQ$IUO7+&YO&&fQ$IUO,59nO&(iQ$IUO,5<dO&*lQ$IUO,5<fO&,oQ$IUO,5<tO&.eQ$IUO7+'fO&.rQ$IUO7+'gO&/PQSO,5<WOOQO7+'Z7+'ZO&/UQ,UO<<KuOOQO1G4n1G4nO&/]QSO1G4nO&/hQSO1G4nO&/vQSO7++nO&/vQSO7++nO!&VQ,UO1G4pO&0OQ`O1G4pO&0YQSO7++oOOQ(CW7+'}7+'}O$$QQSO7+(OO&0bQ`O7+(OOOQ(CW7+'|7+'|O$$QQSO7+'}O&0iQSO7+(OO!&VQ,UO7+(OOCQQSO7+'}O&0nQ,UO<<NjOOQ(CY7+$v7+$vO&0xQ`O,5?XOOQO-E<k-E<kO&1SQ(ChO7+(ROOQQAN=dAN=dO9SQSO1G4yOOQO1G4y1G4yO&1dQSO1G4yO&1iQSO7++wO&1iQSO7++wO9^Q(C[OANBOO@TQSOANBOOOQQANBOANBOOOQQANAkANAkOOQQANAlANAlO&1qQSO,5?ZOOQO-E<m-E<mO&1|Q$IUO1G6YO&4^QbO'#CfOOQO,5?],5?]OOQO-E<o-E<oOOQQ1G3X1G3XO%KiQUO,5<xOOQQ<<L^<<L^O!&VQ,UO<<L^O%L`QSO<<L^O&4hQSO<<L^O%TQUO<<L^OOQQ<<L`<<L`O9^Q(C[O<<L`O#MsQSO<<L`O8wQSO<<L`O&4pQWO1G4xO&4{QSO7++uOOQQAN=YAN=YO9^Q(C[OAN=YOOQQ<= d<= dOOQQ<= e<= eO&5TQSO<= dO&5YQSO<= eOOQQ<<Lh<<LhO&5_QSO<<LhO&5dQUO<<LhOOQQ1G3r1G3rO>cQSO7+)cO&5kQSO<<IyO&5vQ$IUO<<IyOOQO<<Hs<<HsOOQ(CYAN?_AN?_OOQOAN?WAN?WO$9XQ(CjOAN?WOOQOAN>zAN>zO%TQUOAN?WOOQO<<Mp<<MpOOQQG26}G26}O!&VQ,UOG26}O#$vQSOG26}O&6QQSOG26}O% kQbOG26}O&6YQ$IUO<<JaO&6gQ$IUO1G2XO&8]Q$IUO1G2kO&:`Q$IUO1G2mO&<cQ$IUO<<KRO&<pQ$IUO<<ItOOQO1G1r1G1rO!'oQ,UOANAaOOQO7+*Y7+*YO&<}QSO7+*YO&=YQSO<= YO&=bQ`O7+*[OOQ(CW<<Kj<<KjO$$QQSO<<KjOOQ(CW<<Ki<<KiO&=lQ`O<<KjO$$QQSO<<KiOOQO7+*e7+*eO9SQSO7+*eO&=sQSO<= cOOQQG27jG27jO9^Q(C[OG27jO!){QUO1G4uO&={QSO7++tO%L`QSOANAxOOQQANAxANAxO!&VQ,UOANAxO&>TQSOANAxOOQQANAzANAzO9^Q(C[OANAzO#MsQSOANAzOOQO'#HV'#HVOOQO7+*d7+*dOOQQG22tG22tOOQQANEOANEOOOQQANEPANEPOOQQANBSANBSO&>]QSOANBSOOQQ<<L}<<L}O!){QUOAN?eOOQOG24rG24rO$9XQ(CjOG24rO#$vQSOLD,iOOQQLD,iLD,iO!&VQ,UOLD,iO&>bQSOLD,iO&>jQ$IUO7+'sO&@`Q$IUO7+'uO&BUQ,UOG26{OOQO<<Mt<<MtOOQ(CWANAUANAUO$$QQSOANAUOOQ(CWANATANATOOQO<<NP<<NPOOQQLD-ULD-UO&BfQ$IUO7+*aOOQQG27dG27dO%L`QSOG27dO!&VQ,UOG27dOOQQG27fG27fO9^Q(C[OG27fOOQQG27nG27nO&BpQ$IUOG25POOQOLD*^LD*^OOQQ!$(!T!$(!TO#$vQSO!$(!TO!&VQ,UO!$(!TO&BzQ(CjOG26{OOQ(CWG26pG26pOOQQLD-OLD-OO%L`QSOLD-OOOQQLD-QLD-QOOQQ!)9Eo!)9EoO#$vQSO!)9EoOOQQ!$(!j!$(!jOOQQ!.K;Z!.K;ZO&E]Q$IUOG26{O!){QUO'#DvO0xQSO'#ETO&GRQbO'#JdO!){QUO'#DnO&GYQUO'#DzO&GaQbO'#CfO&IwQbO'#CfO!){QUO'#D|O&JXQUO,5;SO!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO,5;^O!){QUO'#IgO&L[QSO,5<cO&LdQ,UO,5;^O&MwQ,UO,5;^O!){QUO,5;rO0{QSO'#DSO0{QSO'#DSO!&VQ,UO'#FxO&LdQ,UO'#FxO!&VQ,UO'#FzO&LdQ,UO'#FzO!&VQ,UO'#GYO&LdQ,UO'#GYO!){QUO,5:fO!){QUO,5@`O&JXQUO1G0nO&NOQ$IUO'#CfO!){QUO1G1zO!&VQ,UO,5=PO&LdQ,UO,5=PO!&VQ,UO,5=RO&LdQ,UO,5=RO!&VQ,UO,5<mO&LdQ,UO,5<mO&JXQUO1G1{O!){QUO7+&uO!&VQ,UO1G2XO&LdQ,UO1G2XO!&VQ,UO1G2ZO&LdQ,UO1G2ZO&JXQUO7+'gO&JXQUO7+&YO!&VQ,UOANAaO&LdQ,UOANAaO&NYQSO'#EhO&N_QSO'#EhO&NgQSO'#FWO&NlQSO'#ErO&NqQSO'#JtO&N|QSO'#JrO' XQSO,5;SO' ^Q,UO,5<`O' eQSO'#GRO' jQSO'#GRO' oQSO,5<aO' wQSO,5;SO'!PQ$IUO1G1ZO'!WQSO,5<mO'!]QSO,5<mO'!bQSO,5<oO'!gQSO,5<oO'!lQSO1G1{O'!qQSO1G0nO'!vQ,UO<<KuO'!}Q,UO<<KuO7aQ,UO'#FvO8wQSO'#FuOAOQSO'#EgO!){QUO,5;oO!2uQSO'#GRO!2uQSO'#GRO!2uQSO'#GTO!2uQSO'#GTO!'oQ,UO7+(ZO!'oQ,UO7+(ZO$KZQ`O1G2oO$KZQ`O1G2oO!&VQ,UO,5=TO!&VQ,UO,5=T",stateData:"'$W~O'nOS'oOSROS'pRQ~OPYOQYOV!UO^qOayObxOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!XXO!ctO!hZO!kYO!lYO!mYO!ouO!qvO!twO!x]O#p!OO$Q{O$UfO%`|O%b!PO%d}O%e}O%f}O%i!QO%k!RO%n!SO%o!SO%q!TO%}!VO&T!WO&V!XO&X!YO&Z!ZO&^![O&d!]O&j!^O&l!_O&n!`O&p!aO&r!bO'uSO'wTO'zUO(SVO(b[O(oiO~OPYOQYOa!iOb!hOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!dO!ctO!hZO!kYO!lYO!mYO!ouO!q!fO!t!gO$Q!jO$UfO'u!cO'wTO'zUO(SVO(b[O(oiO~O^!uOl!mO|!nO![!wO!]!tO!^!tO!x9qO!|!oO!}!oO#O!vO#P!oO#Q!oO#T!xO#U!xO'v!kO'wTO'zUO(V!lO(b!rO~O'p!yO~OPYXXYX^YXkYXyYXzYX|YX!VYX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX'lYX(SYX(cYX(jYX(kYX~O!a$zX~P(jO[!{O'w!}O'x!{O'y!}O~O[#OO'y!}O'z!}O'{#OO~Oq#QO!O#RO(T#RO(U#TO~OPYOQYOa!iOb!hOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!dO!ctO!hZO!kYO!lYO!mYO!ouO!q!fO!t!gO$Q!jO$UfO'u9uO'wTO'zUO(SVO(b[O(oiO~O!U#XO!V#UO!S(YP!S(gP~P+vO!W#aO~P`OPYOQYOa!iOb!hOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!dO!ctO!hZO!kYO!lYO!mYO!ouO!q!fO!t!gO$Q!jO$UfO'wTO'zUO(SVO(b[O(oiO~Oi#kO!U#gO!x]O#b#jO#c#gO'u9vO!g(dP~P.bO!h#mO'u#lO~O!t#qO!x]O%`#rO~O#d#sO~O!a#tO#d#sO~OP$[OX$cOk$POy#xOz#yO|#zO!V$`O!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO#s$UO#u$WO#v$XO(SVO(c$YO(j#{O(k#|O~O^(WX'l(WX'j(WX!g(WX!S(WX!X(WX%a(WX!a(WX~P1jO#X$dO#{$dOP(XXX(XXk(XXy(XXz(XX|(XX!V(XX!e(XX!h(XX!l(XX#g(XX#h(XX#i(XX#j(XX#k(XX#l(XX#m(XX#n(XX#o(XX#q(XX#s(XX#u(XX#v(XX(S(XX(c(XX(j(XX(k(XX!X(XX%a(XX~O^(XX!f(XX'l(XX'j(XX!S(XX!g(XXo(XX!a(XX~P4QO#X$dO~O$W$fO$Y$eO$a$kO~O!X$lO$UfO$d$mO$f$oO~Oi%ROk$sOl$rOm$rOs%SOu%TOw%UO|$zO!X${O!c%ZO!h$wO#c%[O$Q%XO$m%VO$o%WO$r%YO'u$qO'wTO'zUO(O%QO(S$tOd(PP~O!h%]O~O|%`O!X%aO'u%_O~O!a%eO~O^%fO'l%fO~O'v!kO~P%TO%f%mO~P%TO!h%]O'u%_O'v!kO(O%QO~Ob%tO!h%]O'u%_O~O#o$RO~Oy%yO!X%vO!h%xO%b%|O'u%_O'v!kO'wTO'zUO](xP~O!t#qO~O%k&OO|(tX!X(tX'u(tX~O'u&PO~O!q&UO#p!OO%b!PO%d}O%e}O%f}O%i!QO%k!RO%n!SO%o!SO~Oa&ZOb&YO!t&WO%`&XO%s&VO~P;kOa&^ObxO!X&]O!q&UO!twO!x]O#p!OO%`|O%d}O%e}O%f}O%i!QO%k!RO%n!SO%o!SO%q!TO~O_&aO#X&dO%b&_O'v!kO~P<pO!h&eO!q&iO~O!h#mO~O!XXO~O^%fO'k&qO'l%fO~O^%fO'k&tO'l%fO~O^%fO'k&vO'l%fO~O'jYX!SYXoYX!gYX&RYX!XYX%aYX!aYX~P(jO!['TO!]&|O!^&|O'v!kO'wTO'zUO~Ol&zO|&yO!U&}O(V&xO!W(ZP!W(iP~P?wOg'WO!X'UO'u%_O~Ob']O!h%]O'u%_O~Oy%yO!h%xO~Ol!mO|!nO!x9qO!|!oO!}!oO#P!oO#Q!oO'v!kO'wTO'zUO(V!lO(b!rO~O!['cO!]'bO!^'bO#O!oO#T'dO#U'dO~PAcO^%fO!a#tO!h%]O'l%fO(O%QO(c'fO~O!l'jO#X'hO~PBqOl!mO|!nO'wTO'zUO(V!lO(b!rO~O!XXOl(`X|(`XTO'wTO'zUO(SVO(b[O(o;_O~Oz)WO!h#wO~O!V$`O^$ka'l$ka'j$ka!g$ka!S$ka!X$ka%a$ka!a$ka~O#p)[O~P!&VOy)_O!a)^O!X$XX$T$XX$W$XX$Y$XX$a$XX~O!a)^O!X(lX$T(lX$W(lX$Y(lX$a(lX~Oy)_O~P!-eOy)_O!X(lX$T(lX$W(lX$Y(lX$a(lX~O!X)aO$T)eO$W)`O$Y)`O$a)fO~O!U)iO~P!){O$W$fO$Y$eO$a)mO~Og$sXy$sX|$sX!f$sX(j$sX(k$sX~OdfXd$sXgfX!VfX#XfX~P!/ZOl)oO~Oq)pO(T)qO(U)sO~Og)|Oy)uO|)vO(j)xO(k)zO~Od)tO~P!0dOd)}O~Oi%ROk$sOl$rOm$rOs%SOu%TOw:ZO|$zO!X${O!c;eO!h$wO#c:aO$Q%XO$m:]O$o:_O$r%YO'wTO'zUO(O%QO(S$tO~O!U*RO'u*OO!g(pP~P!1RO#d*TO~O!h*UO~O!U*ZO'u*WO!S(qP~P!1ROk*gO|*_O![*eO!]*^O!^*^O!h*UO#T*fO%W*aO'v!kO(V!lO~O!W*dO~P!3XO!f#vOg(RXy(RX|(RX(j(RX(k(RX!V(RX#X(RX~Od(RX#y(RX~P!4QOg*jO#X*iOd(QX!V(QX~O!V*kOd(PX~O'u&POd(PP~O!h*rO~O'u(kO~Oi*vO|%`O!U#gO!X%aO!x]O#b#jO#c#gO'u%_O!g(dP~O!a#tO#d*wO~O|%`O!U*yO!V(RO!X%aO'u%_O!S(gP~Ol'QO|*{O!U*zO'wTO'zUO(V(sO~O!W(iP~P!6{O!V*|O^(uX'l(uX~OP$[OX$cOk$POy#xOz#yO|#zO!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO#s$UO#u$WO#v$XO(SVO(c$YO(j#{O(k#|O~O^!ba!V!ba'l!ba'j!ba!S!ba!g!bao!ba!X!ba%a!ba!a!ba~P!7sOy#xOz#yO|#zO!f#vO!h#wO(SVOP!naX!nak!na!V!na!e!na!l!na#g!na#h!na#i!na#j!na#k!na#l!na#m!na#n!na#o!na#q!na#s!na#u!na#v!na(c!na(j!na(k!na~O^!na'l!na'j!na!S!na!g!nao!na!X!na%a!na!a!na~P!:^Oy#xOz#yO|#zO!f#vO!h#wO(SVOP!paX!pak!pa!V!pa!e!pa!l!pa#g!pa#h!pa#i!pa#j!pa#k!pa#l!pa#m!pa#n!pa#o!pa#q!pa#s!pa#u!pa#v!pa(c!pa(j!pa(k!pa~O^!pa'l!pa'j!pa!S!pa!g!pao!pa!X!pa%a!pa!a!pa~P!<wOg+VO!X'UO%a+UO(O%QO~O!a+XO^'}X!X'}X'l'}X!V'}X~O^%fO!XXO'l%fO~O!h%]O(O%QO~O!h%]O'u%_O(O%QO~O!a#tO#d(mO~O%b+eO'u+aO'wTO'zUO!W(yP~O!V+fO](xX~OX+jO~O]+kO~O!X%vO'u%_O'v!kO](xP~O#X+pO(O%QO~Og+sO!X${O(O%QO~O!X+uO~Oy+wO!XXO~O%f%mO~O!t+|O~Ob,RO~O'u#lO!W(wP~Ob%tO~O%b!PO'u&PO~P<pOX,XO],WO~OPYOQYOayObxOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!ctO!hZO!kYO!lYO!mYO!ouO!twO!x]O$UfO%`|O'wTO'zUO(SVO(b[O(oiO~O!X!dO!q!fO$Q!jO'u!cO~P!CnO],WO^%fO'l%fO~OPYOQYOa!iOb!hOikOkYOlkOmkOskOuYOwYO|WO!QkO!RkO!X!dO!ctO!hZO!kYO!lYO!mYO!ouO!t!gO$Q!jO$UfO'u!cO'wTO'zUO(SVO(b[O(oiO~O^,^O!qvO#p}O%d}O%e}O%f}O~P!FWO!h&eO~O&T,dO~O!X,fO~O&f,hO&h,iOP&caQ&caV&ca^&caa&cab&cai&cak&cal&cam&cas&cau&caw&ca|&ca!Q&ca!R&ca!X&ca!c&ca!h&ca!k&ca!l&ca!m&ca!o&ca!q&ca!t&ca!x&ca#p&ca$Q&ca$U&ca%`&ca%b&ca%d&ca%e&ca%f&ca%i&ca%k&ca%n&ca%o&ca%q&ca%}&ca&T&ca&V&ca&X&ca&Z&ca&^&ca&d&ca&j&ca&l&ca&n&ca&p&ca&r&ca'j&ca'u&ca'w&ca'z&ca(S&ca(b&ca(o&ca!W&ca&[&ca_&ca&a&ca~O'u,nO~O!V{X!V!_X!W{X!W!_X!a{X!a!_X!h!_X#X{X(O!_X~O!a,sO#X,rO!V#aX!V([X!W#aX!W([X!a([X!h([X(O([X~O!a,uO!h%]O(O%QO!V!ZX!W!ZX~Ol!mO|!nO'wTO'zUO(V!lO~OP9pOQ9pOa;aOb!hOikOk9pOlkOmkOskOu9pOw9pO|WO!QkO!RkO!X!dO!c9sO!hZO!k9pO!l9pO!m9pO!o9tO!q9wO!t!gO$Q!jO$UfO'wTO'zUO(SVO(b[O(o;_O~O'u:fO~P# ^O!V,yO!W(ZX~O!W,{O~O!a,sO#X,rO!V#aX!W#aX~O!V,|O!W(iX~O!W-OO~O!]-PO!^-PO'v!kO~P!N{O!W-SO~P'WOg-VO!X'UO~O!S-[O~Ol!wa![!wa!]!wa!^!wa!|!wa!}!wa#O!wa#P!wa#Q!wa#T!wa#U!wa'v!wa'w!wa'z!wa(V!wa(b!wa~P!#RO!l-aO#X-_O~PBqO!]-cO!^-cO'v!kO~PCaO^%fO#X-_O'l%fO~O^%fO!a#tO#X-_O'l%fO~O^%fO!a#tO!l-aO#X-_O'l%fO(c'fO~O'q'nO'r'nO's-hO~Oo-iO~O!S&}a!V&}a~P!7sO!U-mO!S&}X!V&}X~P%TO!V'zO!S(Ya~O!S(Ya~PGTO!V(RO!S(ga~O|%`O!U-qO!X%aO'u%_O!S'TX!V'TX~O#X-sO!V(ea!g(ea^(ea'l(ea~O!a#tO~P#)dO!V(_O!g(da~O|%`O!X%aO#c-wO'u%_O~Oi-|O|%`O!U-yO!X%aO!x]O#b-{O#c-yO'u%_O!V'WX!g'WX~Oz.QO!h#wO~Og.TO!X'UO%a.SO(O%QO~O^#[i!V#[i'l#[i'j#[i!S#[i!g#[io#[i!X#[i%a#[i!a#[i~P!7sOg;kOy)uO|)vO(j)xO(k)zO~O#d#Wa^#Wa#X#Wa'l#Wa!V#Wa!g#Wa!X#Wa!S#Wa~P#,`O#d(RXP(RXX(RX^(RXk(RXz(RX!e(RX!h(RX!l(RX#g(RX#h(RX#i(RX#j(RX#k(RX#l(RX#m(RX#n(RX#o(RX#q(RX#s(RX#u(RX#v(RX'l(RX(S(RX(c(RX!g(RX!S(RX'j(RXo(RX!X(RX%a(RX!a(RX~P!4QO!V.^Od(]X~P!0dOd.`O~O!V.aO!g(^X~P!7sO!g.dO~O!S.fO~OP$[Oy#xOz#yO|#zO!f#vO!h#wO!l$[O(SVOX#fi^#fik#fi!V#fi!e#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'l#fi(c#fi(j#fi(k#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~O#g#fi~P#0[O#g#}O~P#0[OP$[Oy#xOz#yO|#zO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO(SVOX#fi^#fi!V#fi!e#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'l#fi(c#fi(j#fi(k#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~Ok#fi~P#2|Ok$PO~P#2|OP$[Ok$POy#xOz#yO|#zO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO(SVO^#fi!V#fi#q#fi#s#fi#u#fi#v#fi'l#fi(c#fi(j#fi(k#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~OX#fi!e#fi#l#fi#m#fi#n#fi#o#fi~P#5nOX$cO!e$RO#l$RO#m$RO#n$bO#o$RO~P#5nOP$[OX$cOk$POy#xOz#yO|#zO!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO(SVO^#fi!V#fi#s#fi#u#fi#v#fi'l#fi(c#fi(k#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~O(j#fi~P#8oO(j#{O~P#8oOP$[OX$cOk$POy#xOz#yO|#zO!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO#s$UO(SVO(j#{O^#fi!V#fi#u#fi#v#fi'l#fi(c#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~O(k#fi~P#;aO(k#|O~P#;aOP$[OX$cOk$POy#xOz#yO|#zO!e$RO!f#vO!h#wO!l$[O#g#}O#h$OO#i$OO#j$OO#k$QO#l$RO#m$RO#n$bO#o$RO#q$SO#s$UO#u$WO(SVO(j#{O(k#|O~O^#fi!V#fi#v#fi'l#fi(c#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~P#>ROPYXXYXkYXyYXzYX|YX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX!VYX!WYX~O#yYX~P#@lOP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO#s:QO#u:SO#v:TO(SVO(c$YO(j#{O(k#|O~O#y.hO~P#ByO#X:YO#{:YO#y(XX!W(XX~PN}O^'Za!V'Za'l'Za'j'Za!g'Za!S'Zao'Za!X'Za%a'Za!a'Za~P!7sOP#fiX#fi^#fik#fiz#fi!V#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi'l#fi(S#fi(c#fi'j#fi!S#fi!g#fio#fi!X#fi%a#fi!a#fi~P#,`O^#zi!V#zi'l#zi'j#zi!S#zi!g#zio#zi!X#zi%a#zi!a#zi~P!7sO$W.mO$Y.mO~O$W.nO$Y.nO~O!a)^O#X.oO!X$^X$T$^X$W$^X$Y$^X$a$^X~O!U.pO~O!X)aO$T.rO$W)`O$Y)`O$a.sO~O!V:UO!W(WX~P#ByO!W.tO~O!a)^O$a(lX~O$a.vO~Oq)pO(T)qO(U.yO~O!S.}O~P!&VO!VcX!acX!gcX!g$sX(ccX~P!/ZO!g/TO~P#,`O!V/UO!a#tO(c'fO!g(pX~O!g/ZO~O!U*RO'u%_O!g(pP~O#d/]O~O!S$sX!V$sX!a$zX~P!/ZO!V/^O!S(qX~P#,`O!a/`O~O!S/bO~Ok/fO!a#tO!h%]O(O%QO(c'fO~O'u/hO~O!a+XO~O^%fO!V/lO'l%fO~O!W/nO~P!3XO!]/oO!^/oO'v!kO(V!lO~O|/qO(V!lO~O#T/rO~O'u&POd'`X!V'`X~O!V*kOd(Pa~Od/wO~Oy/xOz/xO|/yOgva(jva(kva!Vva#Xva~Odva#yva~P$ aOy)uO|)vOg$la(j$la(k$la!V$la#X$la~Od$la#y$la~P$!VOy)uO|)vOg$na(j$na(k$na!V$na#X$na~Od$na#y$na~P$!xO#d/{O~Od$|a!V$|a#X$|a#y$|a~P!0dO!a#tO~O#d0OO~O!V*|O^(ua'l(ua~Oy#xOz#yO|#zO!f#vO!h#wO(SVOP!niX!nik!ni!V!ni!e!ni!l!ni#g!ni#h!ni#i!ni#j!ni#k!ni#l!ni#m!ni#n!ni#o!ni#q!ni#s!ni#u!ni#v!ni(c!ni(j!ni(k!ni~O^!ni'l!ni'j!ni!S!ni!g!nio!ni!X!ni%a!ni!a!ni~P$$gOg.TO!X'UO%a.SO~Oi0YO'u0XO~P!1UO!a+XO^'}a!X'}a'l'}a!V'}a~O#d0`O~OXYX!VcX!WcX~O!V0aO!W(yX~O!W0cO~OX0dO~O'u+aO'wTO'zUO~O!X%vO'u%_O]'hX!V'hX~O!V+fO](xa~O!g0iO~P!7sOX0lO~O]0mO~O#X0pO~Og0sO!X${O~O(V(sO!W(vP~Og0|O!X0yO%a0{O(O%QO~OX1WO!V1UO!W(wX~O!W1XO~O]1ZO^%fO'l%fO~O'u#lO'wTO'zUO~O#X$dO#{$dOP(XXX(XXk(XXy(XXz(XX|(XX!V(XX!e(XX!h(XX!l(XX#g(XX#h(XX#i(XX#j(XX#k(XX#l(XX#m(XX#n(XX#q(XX#s(XX#u(XX#v(XX(S(XX(c(XX(j(XX(k(XX~O#o1^O&R1_O^(XX!f(XX~P$+]O#X$dO#o1^O&R1_O~O^1aO~P%TO^1cO~O&[1fOP&YiQ&YiV&Yi^&Yia&Yib&Yii&Yik&Yil&Yim&Yis&Yiu&Yiw&Yi|&Yi!Q&Yi!R&Yi!X&Yi!c&Yi!h&Yi!k&Yi!l&Yi!m&Yi!o&Yi!q&Yi!t&Yi!x&Yi#p&Yi$Q&Yi$U&Yi%`&Yi%b&Yi%d&Yi%e&Yi%f&Yi%i&Yi%k&Yi%n&Yi%o&Yi%q&Yi%}&Yi&T&Yi&V&Yi&X&Yi&Z&Yi&^&Yi&d&Yi&j&Yi&l&Yi&n&Yi&p&Yi&r&Yi'j&Yi'u&Yi'w&Yi'z&Yi(S&Yi(b&Yi(o&Yi!W&Yi_&Yi&a&Yi~O_1lO!W1jO&a1kO~P`O!XXO!h1nO~O&h,iOP&ciQ&ciV&ci^&cia&cib&cii&cik&cil&cim&cis&ciu&ciw&ci|&ci!Q&ci!R&ci!X&ci!c&ci!h&ci!k&ci!l&ci!m&ci!o&ci!q&ci!t&ci!x&ci#p&ci$Q&ci$U&ci%`&ci%b&ci%d&ci%e&ci%f&ci%i&ci%k&ci%n&ci%o&ci%q&ci%}&ci&T&ci&V&ci&X&ci&Z&ci&^&ci&d&ci&j&ci&l&ci&n&ci&p&ci&r&ci'j&ci'u&ci'w&ci'z&ci(S&ci(b&ci(o&ci!W&ci&[&ci_&ci&a&ci~O!S1tO~O!V!Za!W!Za~P#ByOl!mO|!nO!U1zO(V!lO!V'OX!W'OX~P?wO!V,yO!W(Za~O!V'UX!W'UX~P!6{O!V,|O!W(ia~O!W2RO~P'WO^%fO#X2[O'l%fO~O^%fO!a#tO#X2[O'l%fO~O^%fO!a#tO!l2`O#X2[O'l%fO(c'fO~O^%fO'l%fO~P!7sO!V$`Oo$ka~O!S&}i!V&}i~P!7sO!V'zO!S(Yi~O!V(RO!S(gi~O!S(hi!V(hi~P!7sO!V(ei!g(ei^(ei'l(ei~P!7sO#X2bO!V(ei!g(ei^(ei'l(ei~O!V(_O!g(di~O|%`O!X%aO!x]O#b2gO#c2fO'u%_O~O|%`O!X%aO#c2fO'u%_O~Og2nO!X'UO%a2mO~Og2nO!X'UO%a2mO(O%QO~O#dvaPvaXva^vakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva'lva(Sva(cva!gva!Sva'jvaova!Xva%ava!ava~P$ aO#d$laP$laX$la^$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la'l$la(S$la(c$la!g$la!S$la'j$lao$la!X$la%a$la!a$la~P$!VO#d$naP$naX$na^$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na'l$na(S$na(c$na!g$na!S$na'j$nao$na!X$na%a$na!a$na~P$!xO#d$|aP$|aX$|a^$|ak$|az$|a!V$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a'l$|a(S$|a(c$|a!g$|a!S$|a'j$|a#X$|ao$|a!X$|a%a$|a!a$|a~P#,`O^#[q!V#[q'l#[q'j#[q!S#[q!g#[qo#[q!X#[q%a#[q!a#[q~P!7sOd'PX!V'PX~P!'oO!V.^Od(]a~O!U2vO!V'QX!g'QX~P%TO!V.aO!g(^a~O!V.aO!g(^a~P!7sO!S2yO~O#y!ja!W!ja~PJqO#y!ba!V!ba!W!ba~P#ByO#y!na!W!na~P!:^O#y!pa!W!pa~P!<wO!X3]O$UfO$_3^O~O!W3bO~Oo3cO~P#,`O^$hq!V$hq'l$hq'j$hq!S$hq!g$hqo$hq!X$hq%a$hq!a$hq~P!7sO!S3dO~P#,`Oy)uO|)vO(k)zOg%Xi(j%Xi!V%Xi#X%Xi~Od%Xi#y%Xi~P$IuOy)uO|)vOg%Zi(j%Zi(k%Zi!V%Zi#X%Zi~Od%Zi#y%Zi~P$JhO(c$YO~P#,`O!U3gO'u%_O!V'[X!g'[X~O!V/UO!g(pa~O!V/UO!a#tO!g(pa~O!V/UO!a#tO(c'fO!g(pa~Od$ui!V$ui#X$ui#y$ui~P!0dO!U3oO'u*WO!S'^X!V'^X~P!1RO!V/^O!S(qa~O!V/^O!S(qa~P#,`O!a#tO#o3wO~Ok3zO!a#tO(c'fO~Od(Qi!V(Qi~P!0dO#X3}Od(Qi!V(Qi~P!0dO!g4QO~O^$iq!V$iq'l$iq'j$iq!S$iq!g$iqo$iq!X$iq%a$iq!a$iq~P!7sO!S4UO~O!V4VO!X(rX~P#,`O!f#vO~P4QO^$sX!X$sX%UYX'l$sX!V$sX~P!/ZO%U4XO^hXghXyhX|hX!XhX'lhX(jhX(khX!VhX~O%U4XO~O%b4`O'u+aO'wTO'zUO!V'gX!W'gX~O!V0aO!W(ya~OX4dO~O]4eO~O^%fO'l%fO~P#,`O!X${O~P#,`O!V4mO#X4oO!W(vX~O!W4pO~Ol!mO|4qO![!wO!]!tO!^!tO!x9qO!|!oO!}!oO#O!oO#P!oO#Q!oO#T4vO#U!xO'v!kO'wTO'zUO(V!lO(b!rO~O!W4uO~P%$gOg4{O!X0yO%a4zO~Og4{O!X0yO%a4zO(O%QO~O'u#lO!V'fX!W'fX~O!V1UO!W(wa~O'wTO'zUO(V5UO~O]5YO~O#o5]O&R5^O~PMaO!g5_O~P%TO^5aO~O^5aO~P%TO_1lO!W5fO&a1kO~P`O!a5hO~O!a5jO!V([i!W([i!a([i!h([i(O([i~O!V#ai!W#ai~P#ByO#X5kO!V#ai!W#ai~O!V!Zi!W!Zi~P#ByO^%fO#X5tO'l%fO~O^%fO!a#tO#X5tO'l%fO~O!V(eq!g(eq^(eq'l(eq~P!7sO!V(_O!g(dq~O|%`O!X%aO#c5{O'u%_O~O!X'UO%a6OO~Og6RO!X'UO%a6OO~O#d%XiP%XiX%Xi^%Xik%Xiz%Xi!e%Xi!f%Xi!h%Xi!l%Xi#g%Xi#h%Xi#i%Xi#j%Xi#k%Xi#l%Xi#m%Xi#n%Xi#o%Xi#q%Xi#s%Xi#u%Xi#v%Xi'l%Xi(S%Xi(c%Xi!g%Xi!S%Xi'j%Xio%Xi!X%Xi%a%Xi!a%Xi~P$IuO#d%ZiP%ZiX%Zi^%Zik%Ziz%Zi!e%Zi!f%Zi!h%Zi!l%Zi#g%Zi#h%Zi#i%Zi#j%Zi#k%Zi#l%Zi#m%Zi#n%Zi#o%Zi#q%Zi#s%Zi#u%Zi#v%Zi'l%Zi(S%Zi(c%Zi!g%Zi!S%Zi'j%Zio%Zi!X%Zi%a%Zi!a%Zi~P$JhO#d$uiP$uiX$ui^$uik$uiz$ui!V$ui!e$ui!f$ui!h$ui!l$ui#g$ui#h$ui#i$ui#j$ui#k$ui#l$ui#m$ui#n$ui#o$ui#q$ui#s$ui#u$ui#v$ui'l$ui(S$ui(c$ui!g$ui!S$ui'j$ui#X$uio$ui!X$ui%a$ui!a$ui~P#,`Od'Pa!V'Pa~P!0dO!V'Qa!g'Qa~P!7sO!V.aO!g(^i~O#y#[i!V#[i!W#[i~P#ByOP$[Oy#xOz#yO|#zO!f#vO!h#wO!l$[O(SVOX#fik#fi!e#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(c#fi(j#fi(k#fi!V#fi!W#fi~O#g#fi~P%2vO#g9yO~P%2vOP$[Oy#xOz#yO|#zO!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO(SVOX#fi!e#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(c#fi(j#fi(k#fi!V#fi!W#fi~Ok#fi~P%5ROk9{O~P%5ROP$[Ok9{Oy#xOz#yO|#zO!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O(SVO#q#fi#s#fi#u#fi#v#fi#y#fi(c#fi(j#fi(k#fi!V#fi!W#fi~OX#fi!e#fi#l#fi#m#fi#n#fi#o#fi~P%7^OX:XO!e9}O#l9}O#m9}O#n:WO#o9}O~P%7^OP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO(SVO#s#fi#u#fi#v#fi#y#fi(c#fi(k#fi!V#fi!W#fi~O(j#fi~P%9xO(j#{O~P%9xOP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO#s:QO(SVO(j#{O#u#fi#v#fi#y#fi(c#fi!V#fi!W#fi~O(k#fi~P%<TO(k#|O~P%<TOP$[OX:XOk9{Oy#xOz#yO|#zO!e9}O!f#vO!h#wO!l$[O#g9yO#h9zO#i9zO#j9zO#k9|O#l9}O#m9}O#n:WO#o9}O#q:OO#s:QO#u:SO(SVO(j#{O(k#|O~O#v#fi#y#fi(c#fi!V#fi!W#fi~P%>`O^#wy!V#wy'l#wy'j#wy!S#wy!g#wyo#wy!X#wy%a#wy!a#wy~P!7sOg;lOy)uO|)vO(j)xO(k)zO~OP#fiX#fik#fiz#fi!e#fi!f#fi!h#fi!l#fi#g#fi#h#fi#i#fi#j#fi#k#fi#l#fi#m#fi#n#fi#o#fi#q#fi#s#fi#u#fi#v#fi#y#fi(S#fi(c#fi!V#fi!W#fi~P%AWO!f#vOP(RXX(RXg(RXk(RXy(RXz(RX|(RX!e(RX!h(RX!l(RX#g(RX#h(RX#i(RX#j(RX#k(RX#l(RX#m(RX#n(RX#o(RX#q(RX#s(RX#u(RX#v(RX#y(RX(S(RX(c(RX(j(RX(k(RX!V(RX!W(RX~O#y#zi!V#zi!W#zi~P#ByO#y!ni!W!ni~P$$gO!W6_O~O!V'Za!W'Za~P#ByO!a#tO(c'fO!V'[a!g'[a~O!V/UO!g(pi~O!V/UO!a#tO!g(pi~Od$uq!V$uq#X$uq#y$uq~P!0dO!S'^a!V'^a~P#,`O!a6fO~O!V/^O!S(qi~P#,`O!V/^O!S(qi~O!S6jO~O!a#tO#o6oO~Ok6pO!a#tO(c'fO~O!S6rO~Od$wq!V$wq#X$wq#y$wq~P!0dO^$iy!V$iy'l$iy'j$iy!S$iy!g$iyo$iy!X$iy%a$iy!a$iy~P!7sO!a5jO~O!V4VO!X(ra~O^#[y!V#[y'l#[y'j#[y!S#[y!g#[yo#[y!X#[y%a#[y!a#[y~P!7sOX6wO~O!V0aO!W(yi~O]6}O~O(V(sO!V'cX!W'cX~O!V4mO!W(va~OikO'u7UO~P.bO!W7XO~P%$gOl!mO|7YO'wTO'zUO(V!lO(b!rO~O!X0yO~O!X0yO%a7[O~Og7_O!X0yO%a7[O~OX7dO!V'fa!W'fa~O!V1UO!W(wi~O!g7hO~O!g7iO~O!g7lO~O!g7lO~P%TO^7nO~O!a7oO~O!g7pO~O!V(hi!W(hi~P#ByO^%fO#X7xO'l%fO~O!V(ey!g(ey^(ey'l(ey~P!7sO!V(_O!g(dy~O!X'UO%a7{O~O#d$uqP$uqX$uq^$uqk$uqz$uq!V$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq'l$uq(S$uq(c$uq!g$uq!S$uq'j$uq#X$uqo$uq!X$uq%a$uq!a$uq~P#,`O#d$wqP$wqX$wq^$wqk$wqz$wq!V$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq'l$wq(S$wq(c$wq!g$wq!S$wq'j$wq#X$wqo$wq!X$wq%a$wq!a$wq~P#,`O!V'Qi!g'Qi~P!7sO#y#[q!V#[q!W#[q~P#ByOy/xOz/xO|/yOPvaXvagvakva!eva!fva!hva!lva#gva#hva#iva#jva#kva#lva#mva#nva#ova#qva#sva#uva#vva#yva(Sva(cva(jva(kva!Vva!Wva~Oy)uO|)vOP$laX$lag$lak$laz$la!e$la!f$la!h$la!l$la#g$la#h$la#i$la#j$la#k$la#l$la#m$la#n$la#o$la#q$la#s$la#u$la#v$la#y$la(S$la(c$la(j$la(k$la!V$la!W$la~Oy)uO|)vOP$naX$nag$nak$naz$na!e$na!f$na!h$na!l$na#g$na#h$na#i$na#j$na#k$na#l$na#m$na#n$na#o$na#q$na#s$na#u$na#v$na#y$na(S$na(c$na(j$na(k$na!V$na!W$na~OP$|aX$|ak$|az$|a!e$|a!f$|a!h$|a!l$|a#g$|a#h$|a#i$|a#j$|a#k$|a#l$|a#m$|a#n$|a#o$|a#q$|a#s$|a#u$|a#v$|a#y$|a(S$|a(c$|a!V$|a!W$|a~P%AWO#y$hq!V$hq!W$hq~P#ByO#y$iq!V$iq!W$iq~P#ByO!W8VO~O#y8WO~P!0dO!a#tO!V'[i!g'[i~O!a#tO(c'fO!V'[i!g'[i~O!V/UO!g(pq~O!S'^i!V'^i~P#,`O!V/^O!S(qq~O!S8^O~P#,`O!S8^O~Od(Qy!V(Qy~P!0dO!V'aa!X'aa~P#,`O^%Tq!X%Tq'l%Tq!V%Tq~P#,`OX8cO~O!V0aO!W(yq~O#X8gO!V'ca!W'ca~O!V4mO!W(vi~P#ByOPYXXYXkYXyYXzYX|YX!SYX!VYX!eYX!fYX!hYX!lYX#XYX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX~O!a%RX#o%RX~P&2WO!X0yO%a8kO~O'wTO'zUO(V8pO~O!V1UO!W(wq~O!g8sO~O!g8tO~O!g8uO~O!g8uO~P%TO#X8xO!V#ay!W#ay~O!V#ay!W#ay~P#ByO!X'UO%a8}O~O#y#wy!V#wy!W#wy~P#ByOP$uiX$uik$uiz$ui!e$ui!f$ui!h$ui!l$ui#g$ui#h$ui#i$ui#j$ui#k$ui#l$ui#m$ui#n$ui#o$ui#q$ui#s$ui#u$ui#v$ui#y$ui(S$ui(c$ui!V$ui!W$ui~P%AWOy)uO|)vO(k)zOP%XiX%Xig%Xik%Xiz%Xi!e%Xi!f%Xi!h%Xi!l%Xi#g%Xi#h%Xi#i%Xi#j%Xi#k%Xi#l%Xi#m%Xi#n%Xi#o%Xi#q%Xi#s%Xi#u%Xi#v%Xi#y%Xi(S%Xi(c%Xi(j%Xi!V%Xi!W%Xi~Oy)uO|)vOP%ZiX%Zig%Zik%Ziz%Zi!e%Zi!f%Zi!h%Zi!l%Zi#g%Zi#h%Zi#i%Zi#j%Zi#k%Zi#l%Zi#m%Zi#n%Zi#o%Zi#q%Zi#s%Zi#u%Zi#v%Zi#y%Zi(S%Zi(c%Zi(j%Zi(k%Zi!V%Zi!W%Zi~O#y$iy!V$iy!W$iy~P#ByO#y#[y!V#[y!W#[y~P#ByO!a#tO!V'[q!g'[q~O!V/UO!g(py~O!S'^q!V'^q~P#,`O!S9UO~P#,`O!V0aO!W(yy~O!V4mO!W(vq~O!X0yO%a9]O~O!g9`O~O!X'UO%a9eO~OP$uqX$uqk$uqz$uq!e$uq!f$uq!h$uq!l$uq#g$uq#h$uq#i$uq#j$uq#k$uq#l$uq#m$uq#n$uq#o$uq#q$uq#s$uq#u$uq#v$uq#y$uq(S$uq(c$uq!V$uq!W$uq~P%AWOP$wqX$wqk$wqz$wq!e$wq!f$wq!h$wq!l$wq#g$wq#h$wq#i$wq#j$wq#k$wq#l$wq#m$wq#n$wq#o$wq#q$wq#s$wq#u$wq#v$wq#y$wq(S$wq(c$wq!V$wq!W$wq~P%AWOd%]!Z!V%]!Z#X%]!Z#y%]!Z~P!0dO!V'cq!W'cq~P#ByO!V#a!Z!W#a!Z~P#ByO#d%]!ZP%]!ZX%]!Z^%]!Zk%]!Zz%]!Z!V%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z'l%]!Z(S%]!Z(c%]!Z!g%]!Z!S%]!Z'j%]!Z#X%]!Zo%]!Z!X%]!Z%a%]!Z!a%]!Z~P#,`OP%]!ZX%]!Zk%]!Zz%]!Z!e%]!Z!f%]!Z!h%]!Z!l%]!Z#g%]!Z#h%]!Z#i%]!Z#j%]!Z#k%]!Z#l%]!Z#m%]!Z#n%]!Z#o%]!Z#q%]!Z#s%]!Z#u%]!Z#v%]!Z#y%]!Z(S%]!Z(c%]!Z!V%]!Z!W%]!Z~P%AWOo(WX~P1jO'v!kO~P!){O!ScX!VcX#XcX~P&2WOPYXXYXkYXyYXzYX|YX!VYX!VcX!eYX!fYX!hYX!lYX#XYX#XcX#dcX#gYX#hYX#iYX#jYX#kYX#lYX#mYX#nYX#oYX#qYX#sYX#uYX#vYX#{YX(SYX(cYX(jYX(kYX~O!acX!gYX!gcX(ccX~P&GnOP9pOQ9pOa;aOb!hOikOk9pOlkOmkOskOu9pOw9pO|WO!QkO!RkO!XXO!c9sO!hZO!k9pO!l9pO!m9pO!o9tO!q9wO!t!gO$Q!jO$UfO'u)TO'wTO'zUO(SVO(b[O(o;_O~O!V:UO!W$ka~Oi%ROk$sOl$rOm$rOs%SOu%TOw:[O|$zO!X${O!c;fO!h$wO#c:bO$Q%XO$m:^O$o:`O$r%YO'u(kO'wTO'zUO(O%QO(S$tO~O#p)[O~P&LdO!WYX!WcX~P&GnO#d9xO~O!a#tO#d9xO~O#X:YO~O#o9}O~O#X:dO!V(hX!W(hX~O#X:YO!V(fX!W(fX~O#d:eO~Od:gO~P!0dO#d:lO~O#d:mO~O!a#tO#d:nO~O!a#tO#d:eO~O#y:oO~P#ByO#d:pO~O#d:qO~O#d:rO~O#d:sO~O#d:tO~O#d:uO~O#y:vO~P!0dO#y:wO~P!0dO$U~!f!|!}#P#Q#T#b#c#n(o$m$o$r%U%`%a%b%i%k%n%o%q%s~'pR$U(o#h!R'n'v#il#g#jky'o(V'o'u$W$Y$W~",goto:"$&a(}PPPP)OP)RP)cP*r.uPPPP5UPP5kP;f>mP?QP?QPPP?QP@rP?QP?QP?QP@vPP@{PAfPF]PPPFaPPPPFaIaPPPIgJbPFaPLoPPPPN}FaPPPFaPFaP!#]FaP!&p!'r!'{P!(n!(r!(nPPPPP!+|!'rPP!,j!-dP!0WFaFa!0]!3f!7z!7z!;oPPP!;vFaPPPPPPPPPPP!?SP!@ePPFa!ArPFaPFaFaFaFaPFa!CUPP!F]P!I`P!Id!In!Ir!IrP!FYP!Iv!IvP!LyP!L}FaFa!MT#!V?QP?QP?Q?QP##a?Q?Q#%]?Q#'l?Q#)b?Q?Q#*O#+|#+|#,Q#,Y#+|#,bP#+|P?Q#,z?Q#.T?Q?Q5UPPP#/aPPP#/y#/yP#/yP#0`#/yPP#0fP#0]P#0]#0x#0]#1d#1j5R)R#1m)RP#1t#1t#1tP)RP)RP)RP)RPP)RP#1z#1}P#1})RP#2RP#2UP)RP)RP)RP)RP)RP)R)RPP#2[#2b#2l#2r#2x#3O#3U#3d#3j#3p#3z#4Q#4[#4k#4q#5b#5t#5z#6Q#6`#6u#8W#8f#8l#8r#8x#9O#9Y#9`#9f#9p#:S#:YPPPPPPPPPP#:`PPPPPPP#;S#>ZP#?j#?q#?yPPPP#DX#F}#Me#Mh#Mk#Nd#Ng#Nj#Nq#NyPP$ P$ T$ {$!z$#O$#dPP$#h$#n$#rP$#u$#y$#|$$r$%Y$%p$%t$%w$%z$&Q$&T$&X$&]R!zRmqOXs!Y#b%e&h&j&k&m,a,f1f1iY!tQ'U-R0y4tQ%kuQ%sxQ%z{Q&`!US&|!d,yQ'[!hS'b!q!wS*^${*cQ+_%tQ+l%|Q,Q&YQ-P'TQ-Z']Q-c'cQ/o*eQ1T,RR:c9t$|dOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{,^,a,f-V-_-m-s.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2v4q4{5]5^5a5t7Y7_7n7xS#o]9q!r)V$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ*n%UQ+d%vQ,S&]Q,Z&eQ.W:ZQ0V+VQ0Z+XQ0f+eQ1],XQ2j.TQ4_0aQ5S1UQ6Q2nQ6W:[Q6y4`R8O6R&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bt!mQ!q!t!w!x&|'T'U'b'c'd,y-P-R-c0y4t4v$^$ri#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lQ%}{Q&z!dS'Q%a,|Q+d%vQ/z*rQ0f+eQ0k+kQ1[,WQ1],XQ4_0aQ4h0mQ5V1WQ5W1ZQ6y4`Q6|4eQ7g5YQ8f6}R8q7dpnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iR,U&a&t^OPXYstuvy!Y!_!f!i!n#Q#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y'W'h'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;a;b[#ZWZ#U#X&}'x!S%bm#f#g#j%]%`(R(](^(_*y*z*|,],s-q-w-x-y-{1n2f2g5j5{Q%nwQ%rxS%w{%|Q&T!SQ'X!gQ'Z!hQ(f#qS*Q$w*US+^%s%tQ+b%vQ+{&WQ,P&YS-Y'[']Q.V(gQ/Y*RQ0_+_Q0e+eQ0g+fQ0j+jQ1O+|S1S,Q,RQ2W-ZQ3f/UQ4^0aQ4b0dQ4g0lQ5R1TQ6c3gQ6x4`Q6{4dQ8b6wR9W8cv$yi#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h!S%px!h!s%r%s%t&{'Z'[']'a'k*]+^+_,v-Y-Z-b/g0_2P2W2_3yQ+W%nQ+q&QQ+t&RQ,O&YQ.U(fQ0}+{U1R,P,Q,RQ2o.VQ4|1OS5Q1S1TQ7c5R#O;c#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lg;d:W:X:^:`:b:i:k:m:q:s:wW%Oi%Q*k;_S&Q!P&_Q&R!QQ&S!RR+o&O$_$}i#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lT)q$t)rV*o%U:Z:[U'Q!d%a,|S(t#x#yQ+i%yS.O(b(cQ0t+uQ4O/xR7R4m&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;b$i$_c#W#c%i%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.i.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;UT#RV#S&{kOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ'O!dR1{,yv!mQ!d!q!t!w!x&|'T'U'b'c'd,y-P-R-c0y4t4vS*]${*cS/g*^*eQ/p*fQ0v+wQ3y/oR3|/rlqOXs!Y#b%e&h&j&k&m,a,f1f1iQ&o!]Q'l!vS(h#s9xQ+[%qQ+y&TQ+z&VQ-W'YQ-e'eS.[(m:eS/}*w:nQ0]+]Q0x+xQ1m,hQ1o,iQ1w,tQ2U-XQ2X-]S4T0O:tQ4Y0^S4]0`:uQ5l1yQ5p2VQ5u2^Q6v4ZQ7s5nQ7t5qQ7w5vR8w7p$d$^c#W#c%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;US(e#n'_U*h$|(l3YS+R%i.iQ2k0VQ5}2jQ7}6QR9O8O$d$]c#W#c%j%l'w'}(i(p(x(y(z({(|(})O)P)Q)R)S)U)X)])g+S+h,w-f-k-p-r.].c.g.j.k.z/|1u1x2Y2a2u2z2{2|2}3O3P3Q3R3S3T3U3V3W3Z3[3a4S4[5m5s5x6U6V6[6]7T7r7v8P8T8U8z9Y9a9r;US(d#n'_S(v#y$^S+Q%i.iS.P(c(eQ.l)WQ0S+RR2h.Q&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bS#o]9qQ&j!WQ&k!XQ&m!ZQ&n![R1e,dQ'V!gQ+T%nQ-U'XS.R(f+WQ2S-TW2l.U.V0U0WQ5o2TU5|2i2k2oS7z5}6PS8|7|7}S9c8{9OQ9k9dR9n9lU!uQ'U-RT4r0y4t!O_OXZ`s!U!Y#b#f%]%e&_&a&h&j&k&m(_,a,f-x1f1i]!oQ!q'U-R0y4tT#o]9q%WzOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xS(t#x#yS.O(b(c!s:{$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bY!sQ'U-R0y4tQ'a!qS'k!t!wS'm!x4vS-b'b'cQ-d'dR2_-cQ'j!sS(Z#e1`S-a'a'mQ/X*QQ/e*]Q2`-dQ3k/YS3t/f/pQ6b3fS6m3z3|Q8Y6cR8a6pQ#ubQ'i!sS(Y#e1`S([#k*vQ*x%^Q+Y%oQ+`%uU-`'a'j'mQ-t(ZQ/W*QQ/d*]Q/j*`Q0[+ZQ1P+}S2]-a-dQ2e-|S3j/X/YS3s/e/pQ3v/iQ3x/kQ5O1QQ5w2`Q6a3fQ6e3kS6i3t3|Q6n3{Q7a5PS8X6b6cQ8]6jQ8_6mQ8n7bQ9S8YQ9T8^Q9V8aQ9_8oQ9g9UQ;O:yQ;Z;SR;[;TV!uQ'U-R%WaOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xS#uy!i!r:x$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bR;O;a%WbOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xQ%^j!S%ox!h!s%r%s%t&{'Z'[']'a'k*]+^+_,v-Y-Z-b/g0_2P2W2_3yS%uy!iQ+Z%pQ+}&YW1Q,O,P,Q,RU5P1R1S1TS7b5Q5RQ8o7c!r:y$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ;S;`R;T;a$zeOPXYstuv!Y!_!f!n#Q#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7xY#`WZ#U#X'x!S%bm#f#g#j%]%`(R(](^(_*y*z*|,],s-q-w-x-y-{1n2f2g5j5{Q,[&e!p:z$Z$l)i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bR:}&}S'R!d%aR1},|$|dOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{,^,a,f-V-_-m-s.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2v4q4{5]5^5a5t7Y7_7n7x!r)V$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bQ,Z&eQ0V+VQ2j.TQ6Q2nR8O6R!f$Tc#W%i'w'}(i(p)P)Q)R)S)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9r!T:P)U)g,w.i1u1x2z3S3T3U3V3Z3a5m6V6[6]7T7r8P8T8U9Y9a;U!b$Vc#W%i'w'}(i(p)R)S)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9r!P:R)U)g,w.i1u1x2z3U3V3Z3a5m6V6[6]7T7r8P8T8U9Y9a;U!^$Zc#W%i'w'}(i(p)X)]+h-f-k-p-r.].c.z/|2Y2a2u3W4S4[5s5x6U7v8z9rQ3e/Sz;b)U)g,w.i1u1x2z3Z3a5m6V6[6]7T7r8P8T8U9Y9a;UQ;g;iR;h;j&zkOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bS$mh$nR3^.o'RgOPWXYZhstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l$n%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.o.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bT$if$oQ$gfS)`$j)dR)l$oT$hf$oT)b$j)d'RhOPWXYZhstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$Z$`$d$l$n%e%k%x&a&d&e&h&j&k&m&q&y&}'W'h'x'z(Q(X(m(q(u)i)t*w*{+V,^,a,f,r,u-V-_-m-s.T.a.h.o.p/y0O0`0|1^1_1a1c1f1i1k1z2[2b2n2v3]4o4q4{5]5^5a5k5t6R7Y7_7n7x8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;bT$mh$nQ$phR)k$n%WjOPWXYZstuv!Y!_!f!n#Q#U#X#b#m#s#w#z#}$O$P$Q$R$S$T$U$V$W$X$`$d%e%k%x&a&d&e&h&j&k&m&q&y'W'h'x'z(Q(X(m(q(u)t*w*{+V,^,a,f-V-_-m-s.T.a.h/y0O0`0|1^1_1a1c1f1i1k2[2b2n2v4q4{5]5^5a5t6R7Y7_7n7x!s;`$Z$l&})i,r,u.p1z3]4o5k8g8x9p9s9t9w9x9y9z9{9|9}:O:P:Q:R:S:T:U:Y:c:d:e:g:n:o:t:u;b#alOPXZs!Y!_!n#Q#b#m#z$l%e&a&d&e&h&j&k&m&q&y'W(u)i*{+V,^,a,f-V.T.p/y0|1^1_1a1c1f1i1k2n3]4q4{5]5^5a6R7Y7_7nv$|i#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h#O(l#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lQ*s%YQ.{)ug3Y:W:X:^:`:b:i:k:m:q:s:wv$xi#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;hQ*V$yS*`${*cQ*t%ZQ/k*a#O;Q#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lf;R:W:X:^:`:b:i:k:m:q:s:wQ;V;cQ;W;dQ;X;eR;Y;fv$|i#v%V%W%[)y){*T*i*j.^/]/{3e3}8W;_;g;h#O(l#t$b$c$w$z)p)v)|*Z+U+X+p+s.S/O/^/`0p0s0{2m3o3w4V4X4z6O6f6o7[7{8k8}9]9e:]:_:a:h:j:l:p:r:v;k;lg3Y:W:X:^:`:b:i:k:m:q:s:wloOXs!Y#b%e&h&j&k&m,a,f1f1iQ*Y$zQ,o&tQ,p&vR3n/^$^$}i#t#v$b$c$w$z%V%W%[)p)v)y){)|*T*Z*i*j+U+X+p+s.S.^/O/]/^/`/{0p0s0{2m3e3o3w3}4V4X4z6O6f6o7[7{8W8k8}9]9e:W:X:]:^:_:`:a:b:h:i:j:k:l:m:p:q:r:s:v:w;_;g;h;k;lQ+r&RQ0r+tQ4k0qR7Q4lT*b${*cS*b${*cT4s0y4tS/i*_4qT3{/q7YQ+Y%oQ/j*`Q0[+ZQ1P+}Q5O1QQ7a5PQ8n7bR9_8on)y$u(n*u/[/s/t2s3l4R6`6q9R;P;];^!Y:h(j)Z*P*X.Z.w.|/S/a0T0o0q2r3m3q4j4l6S6T6g6k6s6u8[8`9f;i;j]:i3X6Z8Q9P9Q9op){$u(n*u/Q/[/s/t2s3l4R6`6q9R;P;];^![:j(j)Z*P*X.Z.w.|/S/a0T0o0q2p2r3m3q4j4l6S6T6g6k6s6u8[8`9f;i;j_:k3X6Z8Q8R9P9Q9opnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iQ&[!TR,^&epnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iR&[!TQ+v&SR0n+oqnOXs!U!Y#b%e&_&h&j&k&m,a,f1f1iQ0z+{S4y0}1OU7Z4w4x4|S8j7]7^S9Z8i8lQ9h9[R9m9iQ&c!UR,V&_R5V1WS%w{%|R0g+fQ&h!VR,a&iR,g&nT1g,f1iR,k&oQ,j&oR1p,kQ'o!yR-g'oQsOQ#bXT%hs#bQ!|TR'q!|Q#PUR's#PQ)r$tR.x)rQ#SVR'u#SQ#VWU'{#V'|-nQ'|#WR-n'}Q,z'OR1|,zQ._(nR2t._Q.b(pS2w.b2xR2x.cQ-R'UR2Q-RY!qQ'U-R0y4tR'`!qS#]W%`U(S#](T-oQ(T#^R-o(OQ,}'RR2O,}r`OXs!U!Y#b%e&_&a&h&j&k&m,a,f1f1iS#fZ%]U#p`#f-xR-x(_Q(`#hQ-u([W-}(`-u2c5yQ2c-vR5y2dQ)d$jR.q)dQ$nhR)j$nQ$acU)Y$a-j:VQ-j9rR:V)gQ/V*QW3h/V3i6d8ZU3i/W/X/YS6d3j3kR8Z6e#o)w$u(j(n)Z*P*X*p*q*u.X.Y.Z.w.|/Q/R/S/[/a/s/t0T0o0q2p2q2r2s3X3l3m3q4R4j4l6S6T6X6Y6Z6`6g6k6q6s6u8Q8R8S8[8`9P9Q9R9f9o;P;];^;i;jQ/_*XU3p/_3r6hQ3r/aR6h3qQ*c${R/m*cQ*l%PR/v*lQ4W0TR6t4WQ*}%cR0R*}Q4n0tS7S4n8hR8h7TQ+x&TR0w+xQ4t0yR7W4tQ1V,SS5T1V7eR7e5VQ0b+bW4a0b4c6z8dQ4c0eQ6z4bR8d6{Q+g%wR0h+gQ1i,fR5e1iWrOXs#bQ&l!YQ+P%eQ,`&hQ,b&jQ,c&kQ,e&mQ1d,aS1g,f1iR5d1fQ%gpQ&p!^Q&s!`Q&u!aQ&w!bQ'g!sQ+O%dQ+[%qQ+n%}Q,U&cQ,m&rW-^'a'i'j'mQ-e'eQ/l*bQ0]+]S1Y,V,YQ1q,lQ1r,oQ1s,pQ2X-]W2Z-`-a-d-fQ4Y0^Q4f0kQ4i0oQ4}1PQ5X1[Q5c1eU5r2Y2]2`Q5u2^Q6v4ZQ7O4hQ7P4jQ7V4sQ7`5OQ7f5WS7u5s5wQ7w5vQ8e6|Q8m7aQ8r7gQ8y7vQ9X8fQ9^8nQ9b8zR9j9_Q%qxQ'Y!hQ'e!sU+]%r%s%tQ,t&{U-X'Z'[']S-]'a'kQ/c*]S0^+^+_Q1y,vS2V-Y-ZQ2^-bQ3u/gQ4Z0_Q5n2PQ5q2WQ5v2_R6l3yS$vi;_R*m%QU%Pi%Q;_R/u*kQ$uiS(j#t+XQ(n#vS)Z$b$cQ*P$wQ*X$zQ*p%VQ*q%WQ*u%[Q.X:]Q.Y:_Q.Z:aQ.w)pS.|)v/OQ/Q)yQ/R){Q/S)|Q/[*TQ/a*ZQ/s*iQ/t*jh0T+U.S0{2m4z6O7[7{8k8}9]9eQ0o+pQ0q+sQ2p:hQ2q:jQ2r:lQ2s.^S3X:W:XQ3l/]Q3m/^Q3q/`Q4R/{Q4j0pQ4l0sQ6S:pQ6T:rQ6X:^Q6Y:`Q6Z:bQ6`3eQ6g3oQ6k3wQ6q3}Q6s4VQ6u4XQ8Q:mQ8R:iQ8S:kQ8[6fQ8`6oQ9P:qQ9Q:sQ9R8WQ9f:vQ9o:wQ;P;_Q;];gQ;^;hQ;i;kR;j;llpOXs!Y#b%e&h&j&k&m,a,f1f1iQ!ePS#dZ#mQ&r!_U'^!n4q7YQ't#QQ(w#zQ)h$lS,Y&a&dQ,_&eQ,l&qQ,q&yQ-T'WQ.e(uQ.u)iQ0P*{Q0W+VQ1b,^Q2T-VQ2k.TQ3`.pQ4P/yQ4x0|Q5Z1^Q5[1_Q5`1aQ5b1cQ5g1kQ5}2nQ6^3]Q7^4{Q7j5]Q7k5^Q7m5aQ7}6RQ8l7_R8v7n#UcOPXZs!Y!_!n#b#m#z%e&a&d&e&h&j&k&m&q&y'W(u*{+V,^,a,f-V.T/y0|1^1_1a1c1f1i1k2n4q4{5]5^5a6R7Y7_7nQ#WWQ#cYQ%itQ%juS%lv!fS'w#U'zQ'}#XQ(i#sQ(p#wQ(x#}Q(y$OQ(z$PQ({$QQ(|$RQ(}$SQ)O$TQ)P$UQ)Q$VQ)R$WQ)S$XQ)U$ZQ)X$`Q)]$dW)g$l)i.p3]Q+S%kQ+h%xS,w&}1zQ-f'hS-k'x-mQ-p(QQ-r(XQ.](mQ.c(qQ.g9pQ.i9sQ.j9tQ.k9wQ.z)tQ/|*wQ1u,rQ1x,uQ2Y-_Q2a-sQ2u.aQ2z9xQ2{9yQ2|9zQ2}9{Q3O9|Q3P9}Q3Q:OQ3R:PQ3S:QQ3T:RQ3U:SQ3V:TQ3W.hQ3Z:YQ3[:cQ3a:UQ4S0OQ4[0`Q5m:dQ5s2[Q5x2bQ6U2vQ6V:eQ6[:gQ6]:nQ7T4oQ7r5kQ7v5tQ8P:oQ8T:tQ8U:uQ8z7xQ9Y8gQ9a8xQ9r#QR;U;bR#YWR'P!dY!sQ'U-R0y4tS&{!d,yQ'a!qS'k!t!wS'm!x4vS,v&|'TS-b'b'cQ-d'dQ2P-PR2_-cR(o#vR(r#wQ!eQT-Q'U-R]!pQ!q'U-R0y4tQ#n]R'_9qT#iZ%]S#hZ%]S%cm,]U([#f#g#jS-v(](^Q-z(_Q0Q*|Q2d-wU2e-x-y-{S5z2f2gR7y5{`#[W#U#X%`'x(R*y-qr#eZm#f#g#j%](](^(_*|-w-x-y-{2f2g5{Q1`,]Q1v,sQ5i1nQ7q5jT:|&}*zT#_W%`S#^W%`S'y#U(RS(O#X*yS,x&}*zT-l'x-qT'S!d%aQ$jfR)n$oT)c$j)dR3_.oT*S$w*UR*[$zQ0U+UQ2i.SQ4w0{Q6P2mQ7]4zQ7|6OQ8i7[Q8{7{Q9[8kQ9d8}Q9i9]R9l9elqOXs!Y#b%e&h&j&k&m,a,f1f1iQ&b!UR,U&_rmOXs!T!U!Y#b%e&_&h&j&k&m,a,f1f1iR,]&eT%dm,]R0u+uR,T&]Q%{{R+m%|R+c%vT&f!V&iT&g!V&iT1h,f1i",nodeNames:"⚠ ArithOp ArithOp LineComment BlockComment Script ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXStartTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:366,context:E8,nodeProps:[["group",-26,6,14,16,62,199,203,207,208,210,213,216,226,228,234,236,238,240,243,249,255,257,259,261,263,265,266,"Statement",-32,10,11,25,28,29,35,45,48,49,51,56,64,72,76,78,80,81,103,104,113,114,131,134,136,137,138,139,141,142,162,163,165,"Expression",-23,24,26,30,34,36,38,166,168,170,171,173,174,175,177,178,179,181,182,183,193,195,197,198,"Type",-3,84,96,102,"ClassItem"],["openedBy",31,"InterpolationStart",50,"[",54,"{",69,"(",143,"JSXStartTag",155,"JSXStartTag JSXStartCloseTag"],["closedBy",33,"InterpolationEnd",44,"]",55,"}",70,")",144,"JSXSelfCloseEndTag JSXEndTag",160,"JSXEndTag"]],propSources:[P8],skippedNodes:[0,3,4,269],repeatNodeCount:33,tokenData:"$>y(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tu>PuvBavwDxwxGgxyMvyz! Qz{!![{|!%O|}!&]}!O!%O!O!P!'g!P!Q!1w!Q!R#0t!R![#3T![!]#@T!]!^#Aa!^!_#Bk!_!`#GS!`!a#In!a!b#N{!b!c$$z!c!}>P!}#O$&U#O#P$'`#P#Q$,w#Q#R$.R#R#S>P#S#T$/`#T#o$0j#o#p$4z#p#q$5p#q#r$7Q#r#s$8^#s$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$I|>P$I|$I}$<s$I}$JO$<s$JO$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(n%d_$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$d&j'{!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU'{!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$d&j'xpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU'xpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$d&j'xp'{!b'n(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST'y#S$d&j'o(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$d&j'xp'{!b'o(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$d&j!l$Ip'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#q$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#q$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2b3l_'w$(n$d&j'{!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k*r4r_$d&j'{!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k)`5vX$d&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q)`6jT$_#t$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#t6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y#t7bO$_#t#t7eP;=`<%l6y)`7kP;=`<%l5q*r7w]$_#t$d&j'{!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}%W8uZ'{!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p%W9oU$_#t'{!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}%W:UP;=`<%l8p*r:[P;=`<%l4k#%|:hg$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}st%Ztu<Puw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}<P!}#O%Z#O#P&c#P#R%Z#R#S<P#S#T%Z#T#o<P#o#p*g#p$g%Z$g;'S<P;'S;=`=y<%lO<P#%|<[i$d&j(b!L^'xp'{!bOY%ZYZ&cZr%Zrs&}st%Ztu<Puw%Zwx(rx!Q%Z!Q![<P![!^%Z!^!_*g!_!c%Z!c!}<P!}#O%Z#O#P&c#P#R%Z#R#S<P#S#T%Z#T#o<P#o#p*g#p$g%Z$g;'S<P;'S;=`=y<%lO<P#%|=|P;=`<%l<P(CS>`k$d&j'xp'{!b(V!LY'u&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P+d@`k$d&j'xp'{!b$W#tOY%ZYZ&cZr%Zrs&}st%Ztu@Tuw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![@T![!^%Z!^!_*g!_!c%Z!c!}@T!}#O%Z#O#P&c#P#R%Z#R#S@T#S#T%Z#T#o@T#o#p*g#p$g%Z$g;'S@T;'S;=`BT<%lO@T+dBWP;=`<%l@T(CSB^P;=`<%l>P%#SBl`$d&j'xp'{!b#i$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SCy_$d&j#{$Id'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%DfETa(k%<v$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sv%ZvwFYwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#SFe`$d&j#u$Id'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$2bGp_'z$)`$d&j'xpOYHoYZIuZrHorsIuswHowxKVx!^Ho!^!_LX!_#OHo#O#PIu#P#oHo#o#pLX#p;'SHo;'S;=`Mp<%lOHo*QHv_$d&j'xpOYHoYZIuZrHorsIuswHowxKVx!^Ho!^!_LX!_#OHo#O#PIu#P#oHo#o#pLX#p;'SHo;'S;=`Mp<%lOHo)`IzX$d&jOwIuwx6cx!^Iu!^!_Jg!_#oIu#o#pJg#p;'SIu;'S;=`KP<%lOIu#tJjTOwJgwx7]x;'SJg;'S;=`Jy<%lOJg#tJ|P;=`<%lJg)`KSP;=`<%lIu*QK`]$_#t$d&j'xpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r$fL^Z'xpOYLXYZJgZrLXrsJgswLXwxMPx#OLX#O#PJg#P;'SLX;'S;=`Mj<%lOLX$fMWU$_#t'xpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r$fMmP;=`<%lLX*QMsP;=`<%lHo(*QNR_!h(!b$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'l! ]_!gM|$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+h!!ib$d&j'xp'{!b'v#)d#j$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!#q{!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S!#|`$d&j'xp'{!b#g$IdOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&-O!%Z`$d&j'xp'{!bk&%`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&C[!&h_!V&;l$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS!'rc$d&j'xp'{!by'<nOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!(}!P!Q%Z!Q![!+g![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!)Wa$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!*]!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z!'d!*h_!UMt$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!+rg$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!+g![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S!+g#S#X%Z#X#Y!-Z#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!-dg$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!.{|}%Z}!O!.{!O!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!/Uc$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l!0lc$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!0a![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!0a#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS!2Sf$d&j'xp'{!b#h$IdOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}xz!3hz{#$s{!P!3h!P!Q#&Y!Q!^!3h!^!_!Mh!_!`#-x!`!a#/_!a!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(r!3sb$d&j'xp'{!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(Q!5U`$d&j'{!b!RSOY!4{YZ&cZw!4{wx!6Wx!P!4{!P!Q!=o!Q!^!4{!^!_!?g!_!}!4{!}#O!Bn#O#P!<w#P#o!4{#o#p!?g#p;'S!4{;'S;=`!Cw<%lO!4{&n!6_^$d&j!RSOY!6WYZ&cZ!P!6W!P!Q!7Z!Q!^!6W!^!_!8g!_!}!6W!}#O!;U#O#P!<w#P#o!6W#o#p!8g#p;'S!6W;'S;=`!=i<%lO!6W&n!7ba$d&j!RSO!^&c!_#Z&c#Z#[!7Z#[#]&c#]#^!7Z#^#a&c#a#b!7Z#b#g&c#g#h!7Z#h#i&c#i#j!7Z#j#m&c#m#n!7Z#n#o&c#p;'S&c;'S;=`&w<%lO&cS!8lX!RSOY!8gZ!P!8g!P!Q!9X!Q!}!8g!}#O!9p#O#P!:o#P;'S!8g;'S;=`!;O<%lO!8gS!9^U!RS#Z#[!9X#]#^!9X#a#b!9X#g#h!9X#i#j!9X#m#n!9XS!9sVOY!9pZ#O!9p#O#P!:Y#P#Q!8g#Q;'S!9p;'S;=`!:i<%lO!9pS!:]SOY!9pZ;'S!9p;'S;=`!:i<%lO!9pS!:lP;=`<%l!9pS!:rSOY!8gZ;'S!8g;'S;=`!;O<%lO!8gS!;RP;=`<%l!8g&n!;Z[$d&jOY!;UYZ&cZ!^!;U!^!_!9p!_#O!;U#O#P!<P#P#Q!6W#Q#o!;U#o#p!9p#p;'S!;U;'S;=`!<q<%lO!;U&n!<UX$d&jOY!;UYZ&cZ!^!;U!^!_!9p!_#o!;U#o#p!9p#p;'S!;U;'S;=`!<q<%lO!;U&n!<tP;=`<%l!;U&n!<|X$d&jOY!6WYZ&cZ!^!6W!^!_!8g!_#o!6W#o#p!8g#p;'S!6W;'S;=`!=i<%lO!6W&n!=lP;=`<%l!6W(Q!=xi$d&j'{!b!RSOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!=o#[#]&}#]#^!=o#^#a&}#a#b!=o#b#g&}#g#h!=o#h#i&}#i#j!=o#j#m&}#m#n!=o#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!?nZ'{!b!RSOY!?gZw!?gwx!8gx!P!?g!P!Q!@a!Q!}!?g!}#O!Ap#O#P!:o#P;'S!?g;'S;=`!Bh<%lO!?g!f!@hb'{!b!RSOY'}Zw'}x#O'}#P#Z'}#Z#[!@a#[#]'}#]#^!@a#^#a'}#a#b!@a#b#g'}#g#h!@a#h#i'}#i#j!@a#j#m'}#m#n!@a#n;'S'};'S;=`(f<%lO'}!f!AuX'{!bOY!ApZw!Apwx!9px#O!Ap#O#P!:Y#P#Q!?g#Q;'S!Ap;'S;=`!Bb<%lO!Ap!f!BeP;=`<%l!Ap!f!BkP;=`<%l!?g(Q!Bu^$d&j'{!bOY!BnYZ&cZw!Bnwx!;Ux!^!Bn!^!_!Ap!_#O!Bn#O#P!<P#P#Q!4{#Q#o!Bn#o#p!Ap#p;'S!Bn;'S;=`!Cq<%lO!Bn(Q!CtP;=`<%l!Bn(Q!CzP;=`<%l!4{'`!DW`$d&j'xp!RSOY!C}YZ&cZr!C}rs!6Ws!P!C}!P!Q!EY!Q!^!C}!^!_!GQ!_!}!C}!}#O!JX#O#P!<w#P#o!C}#o#p!GQ#p;'S!C};'S;=`!Kb<%lO!C}'`!Eci$d&j'xp!RSOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#Z(r#Z#[!EY#[#](r#]#^!EY#^#a(r#a#b!EY#b#g(r#g#h!EY#h#i(r#i#j!EY#j#m(r#m#n!EY#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rt!GXZ'xp!RSOY!GQZr!GQrs!8gs!P!GQ!P!Q!Gz!Q!}!GQ!}#O!IZ#O#P!:o#P;'S!GQ;'S;=`!JR<%lO!GQt!HRb'xp!RSOY)rZr)rs#O)r#P#Z)r#Z#[!Gz#[#])r#]#^!Gz#^#a)r#a#b!Gz#b#g)r#g#h!Gz#h#i)r#i#j!Gz#j#m)r#m#n!Gz#n;'S)r;'S;=`*Z<%lO)rt!I`X'xpOY!IZZr!IZrs!9ps#O!IZ#O#P!:Y#P#Q!GQ#Q;'S!IZ;'S;=`!I{<%lO!IZt!JOP;=`<%l!IZt!JUP;=`<%l!GQ'`!J`^$d&j'xpOY!JXYZ&cZr!JXrs!;Us!^!JX!^!_!IZ!_#O!JX#O#P!<P#P#Q!C}#Q#o!JX#o#p!IZ#p;'S!JX;'S;=`!K[<%lO!JX'`!K_P;=`<%l!JX'`!KeP;=`<%l!C}(r!Ksk$d&j'xp'{!b!RSOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#Z%Z#Z#[!Kh#[#]%Z#]#^!Kh#^#a%Z#a#b!Kh#b#g%Z#g#h!Kh#h#i%Z#i#j!Kh#j#m%Z#m#n!Kh#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#W!Mq]'xp'{!b!RSOY!MhZr!Mhrs!?gsw!Mhwx!GQx!P!Mh!P!Q!Nj!Q!}!Mh!}#O#!U#O#P!:o#P;'S!Mh;'S;=`##U<%lO!Mh#W!Nse'xp'{!b!RSOY*gZr*grs'}sw*gwx)rx#O*g#P#Z*g#Z#[!Nj#[#]*g#]#^!Nj#^#a*g#a#b!Nj#b#g*g#g#h!Nj#h#i*g#i#j!Nj#j#m*g#m#n!Nj#n;'S*g;'S;=`+Z<%lO*g#W#!]Z'xp'{!bOY#!UZr#!Urs!Apsw#!Uwx!IZx#O#!U#O#P!:Y#P#Q!Mh#Q;'S#!U;'S;=`##O<%lO#!U#W##RP;=`<%l#!U#W##XP;=`<%l!Mh(r##e`$d&j'xp'{!bOY##[YZ&cZr##[rs!Bnsw##[wx!JXx!^##[!^!_#!U!_#O##[#O#P!<P#P#Q!3h#Q#o##[#o#p#!U#p;'S##[;'S;=`#$g<%lO##[(r#$jP;=`<%l##[(r#$pP;=`<%l!3h(CS#%Qb$d&j'xp'{!b'p(;d!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h(CS#&e_$d&j'xp'{!bR(;dOY#&YYZ&cZr#&Yrs#'dsw#&Ywx#*tx!^#&Y!^!_#,s!_#O#&Y#O#P#(f#P#o#&Y#o#p#,s#p;'S#&Y;'S;=`#-r<%lO#&Y(Bb#'m]$d&j'{!bR(;dOY#'dYZ&cZw#'dwx#(fx!^#'d!^!_#)w!_#O#'d#O#P#(f#P#o#'d#o#p#)w#p;'S#'d;'S;=`#*n<%lO#'d(AO#(mX$d&jR(;dOY#(fYZ&cZ!^#(f!^!_#)Y!_#o#(f#o#p#)Y#p;'S#(f;'S;=`#)q<%lO#(f(;d#)_SR(;dOY#)YZ;'S#)Y;'S;=`#)k<%lO#)Y(;d#)nP;=`<%l#)Y(AO#)tP;=`<%l#(f(<v#*OW'{!bR(;dOY#)wZw#)wwx#)Yx#O#)w#O#P#)Y#P;'S#)w;'S;=`#*h<%lO#)w(<v#*kP;=`<%l#)w(Bb#*qP;=`<%l#'d(Ap#*}]$d&j'xpR(;dOY#*tYZ&cZr#*trs#(fs!^#*t!^!_#+v!_#O#*t#O#P#(f#P#o#*t#o#p#+v#p;'S#*t;'S;=`#,m<%lO#*t(<U#+}W'xpR(;dOY#+vZr#+vrs#)Ys#O#+v#O#P#)Y#P;'S#+v;'S;=`#,g<%lO#+v(<U#,jP;=`<%l#+v(Ap#,pP;=`<%l#*t(=h#,|Y'xp'{!bR(;dOY#,sZr#,srs#)wsw#,swx#+vx#O#,s#O#P#)Y#P;'S#,s;'S;=`#-l<%lO#,s(=h#-oP;=`<%l#,s(CS#-uP;=`<%l#&Y%#W#.Vb$d&j#{$Id'xp'{!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h+h#/lb$T#t$d&j'xp'{!b!RSOY!3hYZ&cZr!3hrs!4{sw!3hwx!C}x!P!3h!P!Q!Kh!Q!^!3h!^!_!Mh!_!}!3h!}#O##[#O#P!<w#P#o!3h#o#p!Mh#p;'S!3h;'S;=`#$m<%lO!3h$/l#1Pp$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!+g!P!Q%Z!Q![#3T![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S#3T#S#U%Z#U#V#6_#V#X%Z#X#Y!-Z#Y#b%Z#b#c#5T#c#d#9g#d#l%Z#l#m#<i#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#3`k$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!+g!P!Q%Z!Q![#3T![!^%Z!^!_*g!_!g%Z!g!h!-Z!h#O%Z#O#P&c#P#R%Z#R#S#3T#S#X%Z#X#Y!-Z#Y#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#5`_$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#6hd$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#7v!R!S#7v!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#7v#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#8Rf$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#7v!R!S#7v!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#7v#S#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#9pc$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#:{!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#:{#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#;We$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#:{!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#:{#S#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#<rg$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#>fi$d&j'xp'{!bl$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#>Z![!^%Z!^!_*g!_!c%Z!c!i#>Z!i#O%Z#O#P&c#P#R%Z#R#S#>Z#S#T%Z#T#Z#>Z#Z#b%Z#b#c#5T#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#@b_!a$b$d&j#y%<f'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Al_^l$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS#Bz^(O!*v!e'.r'xp'{!b$U)d(oSOY*gZr*grs'}sw*gwx)rx!P*g!P!Q#Cv!Q!^*g!^!_#Dl!_!`#F^!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#DPX$f&j'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#DuZ#k$Id'xp'{!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Eh!`#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#EqX#{$Id'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g$Kh#FgX#l$Id'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Gh#G_a#X%?x$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a#Hd!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#W#Ho_#d$Ih$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%Gh#I}adBf#l$Id$a#|$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`#KS!`!a#L^!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#K__#l$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#Lia#k$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`!a#Mn!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S#My`#k$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+h$ Wc(c$Ip$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P$!c!P!^%Z!^!_*g!_!a%Z!a!b$#m!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'+`$!n_z'#p$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$#x`$d&j#v$Id'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&^$%V_!x!Ln$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(@^$&a_|(8n$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$'eZ$d&jO!^$(W!^!_$(n!_#i$(W#i#j$(s#j#l$(W#l#m$*f#m#o$(W#o#p$(n#p;'S$(W;'S;=`$,q<%lO$(W(n$(_T[#S$d&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$(sO[#S(n$(x[$d&jO!Q&c!Q![$)n![!^&c!_!c&c!c!i$)n!i#T&c#T#Z$)n#Z#o&c#o#p$,U#p;'S&c;'S;=`&w<%lO&c(n$)sZ$d&jO!Q&c!Q![$*f![!^&c!_!c&c!c!i$*f!i#T&c#T#Z$*f#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$*kZ$d&jO!Q&c!Q![$+^![!^&c!_!c&c!c!i$+^!i#T&c#T#Z$+^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$+cZ$d&jO!Q&c!Q![$(W![!^&c!_!c&c!c!i$(W!i#T&c#T#Z$(W#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$,XR!Q![$,b!c!i$,b#T#Z$,b#S$,eS!Q![$,b!c!i$,b#T#Z$,b#q#r$(n(n$,tP;=`<%l$(W!2r$-S_!S!+S$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S$.^`#s$Id$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&,v$/k_$d&j'xp'{!b(S&%WOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS$0yk$d&j'xp'{!b(V!LY'u&;d$Y#tOY%ZYZ&cZr%Zrs&}st%Ztu$0juw%Zwx(rx}%Z}!O$2n!O!Q%Z!Q![$0j![!^%Z!^!_*g!_!c%Z!c!}$0j!}#O%Z#O#P&c#P#R%Z#R#S$0j#S#T%Z#T#o$0j#o#p*g#p$g%Z$g;'S$0j;'S;=`$4t<%lO$0j+d$2yk$d&j'xp'{!b$Y#tOY%ZYZ&cZr%Zrs&}st%Ztu$2nuw%Zwx(rx}%Z}!O$2n!O!Q%Z!Q![$2n![!^%Z!^!_*g!_!c%Z!c!}$2n!}#O%Z#O#P&c#P#R%Z#R#S$2n#S#T%Z#T#o$2n#o#p*g#p$g%Z$g;'S$2n;'S;=`$4n<%lO$2n+d$4qP;=`<%l$2n(CS$4wP;=`<%l$0j!5p$5TX!X!3l'xp'{!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g%Df$5{a(j%<v$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Cn!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$#m#q;'S%Z;'S;=`+a<%lO%Z%#`$7__!W$I`o`$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(r$8i_!mS$d&j'xp'{!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(CS$9y|$d&j'xp'{!b'n(;d(V!LY'u&;d$W#tOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$f%Z$f$g+g$g#BY>P#BY#BZ$9h#BZ$IS>P$IS$I_$9h$I_$JT>P$JT$JU$9h$JU$KV>P$KV$KW$9h$KW&FU>P&FU&FV$9h&FV;'S>P;'S;=`BZ<%l?HT>P?HT?HU$9h?HUO>P(CS$=Uk$d&j'xp'{!b'o(;d(V!LY'u&;d$W#tOY%ZYZ&cZr%Zrs&}st%Ztu>Puw%Zwx(rx}%Z}!O@T!O!Q%Z!Q![>P![!^%Z!^!_*g!_!c%Z!c!}>P!}#O%Z#O#P&c#P#R%Z#R#S>P#S#T%Z#T#o>P#o#p*g#p$g%Z$g;'S>P;'S;=`BZ<%lO>P",tokenizers:[A8,T8,2,3,4,5,6,7,8,9,10,11,12,13,w8,new mg("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOq~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!O~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(U~~",141,327),new mg("j~RQYZXz{^~^O'r~~aP!P!Qd~iO's~~",25,309)],topRules:{Script:[0,5],SingleExpression:[1,267],SingleClassItem:[2,268]},dialects:{jsx:12794,ts:12796},dynamicPrecedences:{76:1,78:1,163:1,191:1},specialized:[{term:313,get:r=>k8[r]||-1},{term:329,get:r=>F8[r]||-1},{term:67,get:r=>_8[r]||-1}],tokenPrec:12820}),ZE=[Aa("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Aa("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Aa("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Aa("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Aa("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Aa(`try {
|
||
\${}
|
||
} catch (\${error}) {
|
||
\${}
|
||
}`,{label:"try",detail:"/ catch block",type:"keyword"}),Aa("if (${}) {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),Aa(`if (\${}) {
|
||
\${}
|
||
} else {
|
||
\${}
|
||
}`,{label:"if",detail:"/ else block",type:"keyword"}),Aa(`class \${name} {
|
||
constructor(\${params}) {
|
||
\${}
|
||
}
|
||
}`,{label:"class",detail:"definition",type:"keyword"}),Aa('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Aa('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],B8=ZE.concat([Aa("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Aa("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Aa("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),Ib=new O2,YE=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function bf(r){return(e,t)=>{let n=e.node.getChild("VariableDefinition");return n&&t(n,r),!0}}const N8=["FunctionDeclaration"],I8={FunctionDeclaration:bf("function"),ClassDeclaration:bf("class"),ClassExpression:()=>!0,EnumDeclaration:bf("constant"),TypeAliasDeclaration:bf("type"),NamespaceDeclaration:bf("namespace"),VariableDefinition(r,e){r.matchContext(N8)||e(r,"variable")},TypeDefinition(r,e){e(r,"type")},__proto__:null};function GE(r,e){let t=Ib.get(e);if(t)return t;let n=[],i=!0;function s(a,l){let p=r.sliceString(a.from,a.to);n.push({label:p,type:l})}return e.cursor(Ls.IncludeAnonymous).iterate(a=>{if(i)i=!1;else if(a.name){let l=I8[a.name];if(l&&l(a,s)||YE.has(a.name))return!1}else if(a.to-a.from>8192){for(let l of GE(r,a.node))n.push(l);return!1}}),Ib.set(e,n),n}const Mb=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,HE=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function M8(r){let e=po(r.state).resolveInner(r.pos,-1);if(HE.indexOf(e.name)>-1)return null;let t=e.name=="VariableName"||e.to-e.from<20&&Mb.test(r.state.sliceDoc(e.from,e.to));if(!t&&!r.explicit)return null;let n=[];for(let i=e;i;i=i.parent)YE.has(i.name)&&(n=n.concat(GE(r.state.doc,i)));return{options:n,from:t?e.from:r.pos,validFor:Mb}}const Dl=Wh.define({name:"javascript",parser:$8.configure({props:[Ad.add({IfStatement:Pm({except:/^\s*({|else\b)/}),TryStatement:Pm({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Q_,SwitchBody:r=>{let e=r.textAfter,t=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return r.baseIndent+(t?0:n?1:2)*r.unit},Block:R_({closing:"}"}),ArrowFunction:r=>r.baseIndent+r.unit,"TemplateString BlockComment":()=>null,"Statement Property":Pm({except:/^{/}),JSXElement(r){let e=/^\s*<\//.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},JSXEscape(r){let e=/\s*\}/.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},"JSXOpenTag JSXSelfClosingTag"(r){return r.column(r.node.from)+r.unit}}),Td.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":A2,BlockComment(r){return{from:r.from+2,to:r.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),JE={test:r=>/^JSX/.test(r.name),facet:C2({commentTokens:{block:{open:"{/*",close:"*/}"}}})},KE=Dl.configure({dialect:"ts"},"typescript"),ew=Dl.configure({dialect:"jsx",props:[dO.add(r=>r.isTop?[JE]:void 0)]}),tw=Dl.configure({dialect:"jsx ts",props:[dO.add(r=>r.isTop?[JE]:void 0)]},"typescript");let rw=r=>({label:r,type:"keyword"});const nw="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(rw),R8=nw.concat(["declare","implements","private","protected","public"].map(rw));function Fc(r={}){let e=r.jsx?r.typescript?tw:ew:r.typescript?KE:Dl,t=r.typescript?B8.concat(R8):ZE.concat(nw);return new mO(e,[Dl.data.of({autocomplete:tN(HE,TE(t))}),Dl.data.of({autocomplete:M8}),r.jsx?L8:[]])}function Q8(r){for(;;){if(r.name=="JSXOpenTag"||r.name=="JSXSelfClosingTag"||r.name=="JSXFragmentTag")return r;if(r.name=="JSXEscape"||!r.parent)return null;r=r.parent}}function Rb(r,e,t=r.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return r.sliceString(n.from,Math.min(n.to,t));return""}const j8=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),L8=Qn.inputHandler.of((r,e,t,n,i)=>{if((j8?r.composing:r.compositionStarted)||r.state.readOnly||e!=t||n!=">"&&n!="/"||!Dl.isActiveAt(r.state,e,-1))return!1;let s=i(),{state:a}=s,l=a.changeByRange(p=>{var m;let{head:g}=p,b=po(a).resolveInner(g-1,-1),S;if(b.name=="JSXStartTag"&&(b=b.parent),!(a.doc.sliceString(g-1,g)!=n||b.name=="JSXAttributeValue"&&b.to>g)){if(n==">"&&b.name=="JSXFragmentTag")return{range:p,changes:{from:g,insert:"</>"}};if(n=="/"&&b.name=="JSXStartCloseTag"){let $=b.parent,G=$.parent;if(G&&$.from==g-2&&((S=Rb(a.doc,G.firstChild,g))||((m=G.firstChild)===null||m===void 0?void 0:m.name)=="JSXFragmentTag")){let be=`${S}>`;return{range:Pr.cursor(g+be.length,-1),changes:{from:g,insert:be}}}}else if(n==">"){let $=Q8(b);if($&&!/^\/?>|^<\//.test(a.doc.sliceString(g,g+2))&&(S=Rb(a.doc,$,g)))return{range:p,changes:{from:g,insert:`</${S}>`}}}}return{range:p}});return l.changes.empty?!1:(r.dispatch([s,a.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),X8=96,Qb=1,V8=97,U8=98,jb=2,iw=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],q8=58,z8=40,sw=95,W8=91,Fm=45,Z8=46,Y8=35,G8=37;function gg(r){return r>=65&&r<=90||r>=97&&r<=122||r>=161}function H8(r){return r>=48&&r<=57}const J8=new iu((r,e)=>{for(let t=!1,n=0,i=0;;i++){let{next:s}=r;if(gg(s)||s==Fm||s==sw||t&&H8(s))!t&&(s!=Fm||i>0)&&(t=!0),n===i&&s==Fm&&n++,r.advance();else{t&&r.acceptToken(s==z8?V8:n==2&&e.canShift(jb)?jb:U8);break}}}),K8=new iu(r=>{if(iw.includes(r.peek(-1))){let{next:e}=r;(gg(e)||e==sw||e==Y8||e==Z8||e==W8||e==q8||e==Fm)&&r.acceptToken(X8)}}),eI=new iu(r=>{if(!iw.includes(r.peek(-1))){let{next:e}=r;if(e==G8&&(r.advance(),r.acceptToken(Qb)),gg(e)){do r.advance();while(gg(r.next));r.acceptToken(Qb)}}}),tI=wd({"AtKeyword import charset namespace keyframes media supports":He.definitionKeyword,"from to selector":He.keyword,NamespaceName:He.namespace,KeyframeName:He.labelName,KeyframeRangeName:He.operatorKeyword,TagName:He.tagName,ClassName:He.className,PseudoClassName:He.constant(He.className),IdName:He.labelName,"FeatureName PropertyName":He.propertyName,AttributeName:He.attributeName,NumberLiteral:He.number,KeywordQuery:He.keyword,UnaryQueryOp:He.operatorKeyword,"CallTag ValueName":He.atom,VariableName:He.variableName,Callee:He.operatorKeyword,Unit:He.unit,"UniversalSelector NestingSelector":He.definitionOperator,MatchOp:He.compareOperator,"ChildOp SiblingOp, LogicOp":He.logicOperator,BinOp:He.arithmeticOperator,Important:He.modifier,Comment:He.blockComment,ColorLiteral:He.color,"ParenthesizedContent StringLiteral":He.string,":":He.punctuation,"PseudoOp #":He.derefOperator,"; ,":He.separator,"( )":He.paren,"[ ]":He.squareBracket,"{ }":He.brace}),rI={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:134},nI={__proto__:null,"@import":114,"@media":138,"@charset":142,"@namespace":146,"@keyframes":152,"@supports":164},iI={__proto__:null,not:128,only:128},sI=Yh.deserialize({version:14,states:"9bQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DPO$vQ[O'#DTOOQP'#Ej'#EjO${QdO'#DeO%gQ[O'#DrO${QdO'#DtO%xQ[O'#DvO&TQ[O'#DyO&]Q[O'#EPO&kQ[O'#EROOQS'#Ei'#EiOOQS'#EU'#EUQYQ[OOO&rQXO'#CdO'gQWO'#DaO'lQWO'#EpO'wQ[O'#EpQOQWOOP(RO#tO'#C_POOO)C@X)C@XOOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(^Q[O'#EXO(xQWO,58{O)QQ[O,59SO$qQ[O,59kO$vQ[O,59oO(^Q[O,59sO(^Q[O,59uO(^Q[O,59vO)]Q[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)dQWO,59SO)iQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)nQ`O,59oOOQS'#Cp'#CpO${QdO'#CqO)vQvO'#CsO+TQtO,5:POOQO'#Cx'#CxO)iQWO'#CwO+iQWO'#CyOOQS'#Em'#EmOOQO'#Dh'#DhO+nQ[O'#DoO+|QWO'#EqO&]Q[O'#DmO,[QWO'#DpOOQO'#Er'#ErO({QWO,5:^O,aQpO,5:`OOQS'#Dx'#DxO,iQWO,5:bO,nQ[O,5:bOOQO'#D{'#D{O,vQWO,5:eO,{QWO,5:kO-TQWO,5:mOOQS-E8S-E8SO${QdO,59{O-]Q[O'#EZO-jQWO,5;[O-jQWO,5;[POOO'#ET'#ETP-uO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.lQXO,5:sOOQO-E8V-E8VOOQS1G.g1G.gOOQP1G.n1G.nO)dQWO1G.nO)iQWO1G.nOOQP1G/V1G/VO.yQ`O1G/ZO/dQXO1G/_O/zQXO1G/aO0bQXO1G/bO0xQWO,59zO0}Q[O'#DOO1UQdO'#CoOOQP1G/Z1G/ZO${QdO1G/ZO1]QpO,59]OOQS,59_,59_O${QdO,59aO1eQWO1G/kOOQS,59c,59cO1jQ!bO,59eO1rQWO'#DhO1}QWO,5:TO2SQWO,5:ZO&]Q[O,5:VO&]Q[O'#E[O2[QWO,5;]O2gQWO,5:XO(^Q[O,5:[OOQS1G/x1G/xOOQS1G/z1G/zOOQS1G/|1G/|O2xQWO1G/|O2}QdO'#D|OOQS1G0P1G0POOQS1G0V1G0VOOQS1G0X1G0XO3YQtO1G/gOOQO,5:u,5:uO3pQ[O,5:uOOQO-E8X-E8XO3}QWO1G0vPOOO-E8R-E8RPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$u7+$uO${QdO7+$uOOQS1G/f1G/fO4YQXO'#EoO4aQWO,59jO4fQtO'#EVO5ZQdO'#ElO5eQWO,59ZO5jQpO7+$uOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%V7+%VO5rQWO1G/PO${QdO1G/oOOQO1G/u1G/uOOQO1G/q1G/qO5wQWO,5:vOOQO-E8Y-E8YO6VQXO1G/vOOQS7+%h7+%hO6^QYO'#CsOOQO'#EO'#EOO6iQ`O'#D}OOQO'#D}'#D}O6tQWO'#E]O6|QdO,5:hOOQS,5:h,5:hO7XQtO'#EYO${QdO'#EYO8VQdO7+%ROOQO7+%R7+%ROOQO1G0a1G0aO8jQpO<<HaO8rQWO,5;ZOOQP1G/U1G/UOOQS-E8T-E8TO${QdO'#EWO8zQWO,5;WOOQT1G.u1G.uOOQP<<Ha<<HaOOQS7+$k7+$kO9SQdO7+%ZOOQO7+%b7+%bOOQO,5:i,5:iO3QQdO'#E^O6tQWO,5:wOOQS,5:w,5:wOOQS-E8Z-E8ZOOQS1G0S1G0SO9ZQtO,5:tOOQS-E8W-E8WOOQO<<Hm<<HmOOQPAN={AN={O:XQdO,5:rOOQO-E8U-E8UOOQO<<Hu<<HuOOQO,5:x,5:xOOQO-E8[-E8[OOQS1G0c1G0c",stateData:":k~O#WOS#XQQ~OUYOXYO]VO^VOtWOxXO!YaO!ZZO!g[O!i]O!k^O!n_O!t`O#URO#_TO~OQfOUYOXYO]VO^VOtWOxXO!YaO!ZZO!g[O!i]O!k^O!n_O!t`O#UeO#_TO~O#R#dP~P!ZO#XjO~O#UlO~O]qO^qOpoOtrOxsO|tO!PvO#SuO#_nO~O!RwO~P#pO`}O#TzO#UyO~O#U!OO~O#U!QO~OQ!ZOb!TOf!ZOh!ZOn!YO#T!WO#U!SO#b!UO~Ob!]O!b!_O!e!`O#U![O!R#eP~Oh!eOn!YO#U!dO~Oh!gO#U!gO~Ob!]O!b!_O!e!`O#U![O~O!W#eP~P%gO]WX]!UX^WXpWXtWXxWX|WX!PWX!RWX#SWX#_WX~O]!lO~O!W!mO#R#dX!Q#dX~O#R#dX!Q#dX~P!ZO#Y!pO#Z!pO#[!rO~OUYOXYO]VO^VOtWOxXO#URO#_TO~OpoO!RwO~O`!yO#TzO#UyO~O!Q#dP~P!ZOb#QO~Ob#RO~Ov#SOz#TO~OP#VObgXjgX!WgX!bgX!egX#UgXagXQgXfgXhgXngXpgX!VgX#RgX#TgX#bgXvgX!QgX~Ob!]Oj#WO!b!_O!e!`O#U![O!W#eP~Ob#ZO~Ob!]O!b!_O!e!`O#U#[O~Op#`O!`#_O!R#eX!W#eX~Ob#cO~Oj#WO!W#eO~O!W#fO~Oh#gOn!YO~O!R#hO~O!RwO!`#_O~O!RwO!W#kO~O!W!}X#R!}X!Q!}X~P!ZO!W!mO#R#da!Q#da~O#Y!pO#Z!pO#[#rO~O]qO^qOtrOxsO|tO!PvO#SuO#_nO~Op!{a!R!{aa!{a~P.QOv#tOz#uO~O]qO^qOtrOxsO#_nO~Op{i|{i!P{i!R{i#S{ia{i~P/ROp}i|}i!P}i!R}i#S}ia}i~P/ROp!Oi|!Oi!P!Oi!R!Oi#S!Oia!Oi~P/RO!Q#vO~Oa#cP~P(^Oa#`P~P${Oa#}Oj#WO~O!W$PO~Oh$QOo$QO~O]!^Xa![X!`![X~O]$RO~Oa$SO!`#_O~Op#`O!R#ea!W#ea~O!`#_Op!aa!R!aa!W!aaa!aa~O!W$XO~O!Q$`O#U$ZO#b$YO~Oj#WOp$bO!V$dO!W!Ti#R!Ti!Q!Ti~P${O!W!}a#R!}a!Q!}a~P!ZO!W!mO#R#di!Q#di~Oa#cX~P#pOa$hO~Oj#WOQ!yXa!yXb!yXf!yXh!yXn!yXp!yX#T!yX#U!yX#b!yX~Op$jOa#`X~P${Oa$lO~Oj#WOv$mO~Oa$nO~O!`#_Op#Oa!R#Oa!W#Oa~Oa$pO~P.QOP#VOpgX!RgX~O#b$YOp!qX!R!qX~Op$rO!RwO~O!Q$vO#U$ZO#b$YO~Oj#WOQ!|Xb!|Xf!|Xh!|Xn!|Xp!|X!V!|X!W!|X#R!|X#T!|X#U!|X#b!|X!Q!|X~Op$bO!V$yO!W!Tq#R!Tq!Q!Tq~P${Oj#WOv$zO~OpoOa#ca~Op$jOa#`a~Oa$}O~P${Oj#WOQ!|ab!|af!|ah!|an!|ap!|a!V!|a!W!|a#R!|a#T!|a#U!|a#b!|a!Q!|a~Oa!zap!za~P${O#Wo#X#bj!P#b~",goto:"-Y#gPPP#hP#kP#t$TP#t$d#tPP$jPPP$p$y$yP%]P$yP$y%w&ZPPP&s&y#tP'PP#tP'VP#tP#t#tPPP']'r(PPP#kPP(W(W(b(WP(WP(W(WP#kP#kP#kP(e#kP(h(k(n(u#kP#kP(z)Q)a)o)u*P*V*a*g*mPPPPPPPPPP*s*|P+i+lP,b,e,k,tRkQ_bOPdhw!m#nkYOPdhotuvw!m#Q#c#nkSOPdhotuvw!m#Q#c#nQmTR!snQ{VR!wqQ!w}Q#Y!XR#s!yq!ZZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${p!ZZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${U$]#h$_$rR$q$[q!XZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${p!ZZ]!T!l#R#T#W#l#u#z$R$b$c$j$o${Q!e^R#g!fQ|VR!xqQ!w|R#s!xQ!PWR!zrQ!RXR!{sQxUQ!vpQ#d!bQ#j!iQ#k!jQ$t$^R%Q$sSgPwQ!ohQ#m!mR$e#nZfPhw!m#na!a[`a!V!]!_#_#`R#]!]R!f^R!h_R#i!hS$^#h$_R%O$rV$[#h$_$rQ!qjR#q!qQdOShPwU!kdh#nR#n!mQ#z#RU$i#z$o${Q$o$RR${$jQ$k#zR$|$kQpUS!up$gR$g#wQ$c#lR$x$cQ!ngS#o!n#pR#p!oQ#a!^R$V#aQ$_#hR$u$_Q$s$^R%P$s_cOPdhw!m#n^UOPdhw!m#nQ!toQ!|tQ!}uQ#OvQ#w#QR$W#cR#{#RQ!VZQ!c]Q#U!TQ#l!l[#y#R#z$R$j$o${Q#|#TQ$O#WS$a#l$cQ$f#uR$w$bR#x#QQiPR#PwQ!b[Q!jaR#X!VU!^[a!VQ!i`Q#^!]Q#b!_Q$T#_R$U#`",nodeNames:"⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent , PseudoClassName ArgList IdSelector # IdName ] AttributeSelector [ AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:114,nodeProps:[["openedBy",17,"(",48,"{"],["closedBy",18,")",49,"}"]],propSources:[tI],skippedNodes:[0,3,85],repeatNodeCount:10,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#W~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#W~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[Uo`Oy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^l*sUo`Oy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^l+[Uo`Oy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^l+sUo`Oy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^l,[Uo`Oy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^l,sUo`Oy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^l-[Uo`Oy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^l-uS!V[o`Oy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYtQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^l0oYo`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^l1dYo`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^l2ZYf[o`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^l3QYf[o`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^l3uYo`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^l4lYf[o`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^l5aYo`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^l6WSf[o`Oy%^z;'S%^;'S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^d7QSzSo`Oy%^z;'S%^;'S;=`%o<%lO%^b7cSXQOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSb^Oy%^z;'S%^;'S;=`%o<%lO%^~9tOa~n9{UUQjWOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^n:fWjW!PQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#b[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l<cYo`Oy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=WUo`Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=qUo`#b[Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l>[[o`#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSp^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#_QOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#X~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#b[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!W^Oy%^z;'S%^;'S;=`%o<%lO%^dCoSzSOy%^z;'S%^;'S;=`%o<%lO%^bDQU|QOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS|Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[!YQo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bFfSxQOy%^z;'S%^;'S;=`%o<%lO%^lFwSv[Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!`Qo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!RUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!Q^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!PQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[K8,eI,J8,1,2,3,4,new mg("m~RRYZ[z{a~~g~aO#Z~~dP!P!Qg~lO#[~~",28,102)],topRules:{StyleSheet:[0,4],Styles:[1,84]},specialized:[{term:97,get:r=>rI[r]||-1},{term:56,get:r=>nI[r]||-1},{term:98,get:r=>iI[r]||-1}],tokenPrec:1169});let G0=null;function H0(){if(!G0&&typeof document=="object"&&document.body){let{style:r}=document.body,e=[],t=new Set;for(let n in r)n!="cssText"&&n!="cssFloat"&&typeof r[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),t.has(n)||(e.push(n),t.add(n)));G0=e.sort().map(n=>({type:"property",label:n}))}return G0||[]}const Lb=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(r=>({type:"class",label:r})),Xb=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(r=>({type:"keyword",label:r})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(r=>({type:"constant",label:r}))),oI=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(r=>({type:"type",label:r})),_c=/^(\w[\w-]*|-\w[\w-]*|)$/,aI=/^-(-[\w-]*)?$/;function uI(r,e){var t;if((r.name=="("||r.type.isError)&&(r=r.parent||r),r.name!="ArgList")return!1;let n=(t=r.parent)===null||t===void 0?void 0:t.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const Vb=new O2,lI=["Declaration"];function cI(r){for(let e=r;;){if(e.type.isTop)return e;if(!(e=e.parent))return r}}function ow(r,e,t){if(e.to-e.from>4096){let n=Vb.get(e);if(n)return n;let i=[],s=new Set,a=e.cursor(Ls.IncludeAnonymous);if(a.firstChild())do for(let l of ow(r,a.node,t))s.has(l.label)||(s.add(l.label),i.push(l));while(a.nextSibling());return Vb.set(e,i),i}else{let n=[],i=new Set;return e.cursor().iterate(s=>{var a;if(t(s)&&s.matchContext(lI)&&((a=s.node.nextSibling)===null||a===void 0?void 0:a.name)==":"){let l=r.sliceString(s.from,s.to);i.has(l)||(i.add(l),n.push({label:l,type:"variable"}))}}),n}}const hI=r=>e=>{let{state:t,pos:n}=e,i=po(t).resolveInner(n,-1),s=i.type.isError&&i.from==i.to-1&&t.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(s||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:H0(),validFor:_c};if(i.name=="ValueName")return{from:i.from,options:Xb,validFor:_c};if(i.name=="PseudoClassName")return{from:i.from,options:Lb,validFor:_c};if(r(i)||(e.explicit||s)&&uI(i,t.doc))return{from:r(i)||s?i.from:n,options:ow(t.doc,cI(i),r),validFor:aI};if(i.name=="TagName"){for(let{parent:p}=i;p;p=p.parent)if(p.name=="Block")return{from:i.from,options:H0(),validFor:_c};return{from:i.from,options:oI,validFor:_c}}if(!e.explicit)return null;let a=i.resolve(n),l=a.childBefore(n);return l&&l.name==":"&&a.name=="PseudoClassSelector"?{from:n,options:Lb,validFor:_c}:l&&l.name==":"&&a.name=="Declaration"||a.name=="ArgList"?{from:n,options:Xb,validFor:_c}:a.name=="Block"||a.name=="Styles"?{from:n,options:H0(),validFor:_c}:null},pI=hI(r=>r.name=="VariableName"),yg=Wh.define({name:"css",parser:sI.configure({props:[Ad.add({Declaration:Pm()}),Td.add({"Block KeyframeList":A2})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function fI(){return new mO(yg,yg.data.of({autocomplete:pI}))}const dD=1,dI=2,mI=3,gI=4,yI=5,DI=35,OI=36,xI=37,bI=11,vI=13;function CI(r){return r==45||r==46||r==58||r>=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function SI(r){return r==9||r==10||r==13||r==32}let Ub=null,qb=null,zb=0;function mD(r,e){let t=r.pos+e;if(qb==r&&zb==t)return Ub;for(;SI(r.peek(e));)e++;let n="";for(;;){let i=r.peek(e);if(!CI(i))break;n+=String.fromCharCode(i),e++}return qb=r,zb=t,Ub=n||null}function Wb(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t<r.length;t++)this.hash+=(this.hash<<4)+r.charCodeAt(t)+(r.charCodeAt(t)<<8)}const EI=new $O({start:null,shift(r,e,t,n){return e==dD?new Wb(mD(n,1)||"",r):r},reduce(r,e){return e==bI&&r?r.parent:r},reuse(r,e,t,n){let i=e.type.id;return i==dD||i==vI?new Wb(mD(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),wI=new iu((r,e)=>{if(r.next==60){if(r.advance(),r.next==47){r.advance();let t=mD(r,0);if(!t)return r.acceptToken(yI);if(e.context&&t==e.context.name)return r.acceptToken(dI);for(let n=e.context;n;n=n.parent)if(n.name==t)return r.acceptToken(mI,-2);r.acceptToken(gI)}else if(r.next!=33&&r.next!=63)return r.acceptToken(dD)}},{contextual:!0});function BO(r,e){return new iu(t=>{for(let n=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(r);break}if(t.next==e.charCodeAt(n)){if(n++,n==e.length){i>=e.length&&t.acceptToken(r,1-e.length);break}}else n=t.next==e.charCodeAt(0)?1:0;t.advance()}})}const AI=BO(DI,"-->"),TI=BO(OI,"?>"),PI=BO(xI,"]]>"),kI=wd({Text:He.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":He.angleBracket,TagName:He.tagName,"MismatchedCloseTag/Tagname":[He.tagName,He.invalid],AttributeName:He.attributeName,AttributeValue:He.attributeValue,Is:He.definitionOperator,"EntityReference CharacterReference":He.character,Comment:He.blockComment,ProcessingInst:He.processingInstruction,DoctypeDecl:He.documentMeta,Cdata:He.special(He.string)}),FI=Yh.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:47,context:EI,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"]],propSources:[kI],skippedNodes:[0],repeatNodeCount:8,tokenData:"IX~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O*l!O!P$n!P!Q,{!Q![$n![!].e!]!^$n!^!_1v!_!`Cz!`!aDm!a!bE`!b!c$n!c!}.e!}#P$n#P#QFx#Q#R$n#R#S.e#S#T$n#T#o.e#o%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U$n4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ'zTzYVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_~(^VOp(sqs(sst)ht!](s!^;'S(s;'S;=`)b<%lO(s~(vVOp(sqs(st!](s!]!^)]!^;'S(s;'S;=`)b<%lO(s~)bOW~~)eP;=`<%l(s~)kTOp)zq!])z!^;'S)z;'S;=`*f<%lO)z~)}UOp)zq!])z!]!^*a!^;'S)z;'S;=`*f<%lO)z~*fOX~~*iP;=`<%l)zZ*sYVP{WOr$nrs%_sv$nw}$n}!O+c!O!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ+jYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a,Y!a;'S$n;'S;=`&e<%lO$nZ,cW|QVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n]-SYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a-r!a;'S$n;'S;=`&e<%lO$n]-{WdSVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_.p!O`S^QVP{WOr$nrs%_sv$nw}$n}!O.e!O!P.e!P!Q$n!Q![.e![!].e!]!^$n!^!_%y!_!c$n!c!}.e!}#R$n#R#S.e#S#T$n#T#o.e#o$}$n$}%O.e%O%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U.e4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Je$n$Je$Jg.e$Jg$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$n_1sP;=`<%l.eX1{W{WOq%yqr2esv%yw!a%y!a!bCd!b;'S%y;'S;=`&_<%lO%yX2j]{WOr%ysv%yw}%y}!O3c!O!f%y!f!g4e!g!}%y!}#O9t#O#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX3hV{WOr%ysv%yw}%y}!O3}!O;'S%y;'S;=`&_<%lO%yX4UT}P{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX4jV{WOr%ysv%yw!q%y!q!r5P!r;'S%y;'S;=`&_<%lO%yX5UV{WOr%ysv%yw!e%y!e!f5k!f;'S%y;'S;=`&_<%lO%yX5pV{WOr%ysv%yw!v%y!v!w6V!w;'S%y;'S;=`&_<%lO%yX6[V{WOr%ysv%yw!{%y!{!|6q!|;'S%y;'S;=`&_<%lO%yX6vV{WOr%ysv%yw!r%y!r!s7]!s;'S%y;'S;=`&_<%lO%yX7bV{WOr%ysv%yw!g%y!g!h7w!h;'S%y;'S;=`&_<%lO%yX7|X{WOr7wrs8isv7wvw8iw!`7w!`!a9W!a;'S7w;'S;=`9n<%lO7wP8lTO!`8i!`!a8{!a;'S8i;'S;=`9Q<%lO8iP9QOiPP9TP;=`<%l8iX9_TiP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX9qP;=`<%l7wX9yX{WOr%ysv%yw!e%y!e!f:f!f#V%y#V#W=t#W;'S%y;'S;=`&_<%lO%yX:kV{WOr%ysv%yw!f%y!f!g;Q!g;'S%y;'S;=`&_<%lO%yX;VV{WOr%ysv%yw!c%y!c!d;l!d;'S%y;'S;=`&_<%lO%yX;qV{WOr%ysv%yw!v%y!v!w<W!w;'S%y;'S;=`&_<%lO%yX<]V{WOr%ysv%yw!c%y!c!d<r!d;'S%y;'S;=`&_<%lO%yX<wV{WOr%ysv%yw!}%y!}#O=^#O;'S%y;'S;=`&_<%lO%yX=eT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX=yV{WOr%ysv%yw#W%y#W#X>`#X;'S%y;'S;=`&_<%lO%yX>eV{WOr%ysv%yw#T%y#T#U>z#U;'S%y;'S;=`&_<%lO%yX?PV{WOr%ysv%yw#h%y#h#i?f#i;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#T%y#T#U<r#U;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#c%y#c#d@l#d;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#V%y#V#WAW#W;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#h%y#h#iAr#i;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#m%y#m#nB^#n;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#d%y#d#eBx#e;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#X%y#X#Y7w#Y;'S%y;'S;=`&_<%lO%yXCkT!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZDTWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_DvW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZEgYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aFV!a;'S$n;'S;=`&e<%lO$nZF`W!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGPYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QGo#Q;'S$n;'S;=`&e<%lO$nZGvYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aHf!a;'S$n;'S;=`&e<%lO$nZHoWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[wI,AI,TI,PI,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function _m(r,e){let t=e&&e.getChild("TagName");return t?r.sliceString(t.from,t.to):""}function J0(r,e){let t=e&&e.firstChild;return!t||t.name!="OpenTag"?"":_m(r,t)}function _I(r,e,t){let n=e&&e.getChildren("Attribute").find(s=>s.from<=t&&s.to>=t),i=n&&n.getChild("AttributeName");return i?r.sliceString(i.from,i.to):""}function K0(r){for(let e=r&&r.parent;e;e=e.parent)if(e.name=="Element")return e;return null}function $I(r,e){var t;let n=po(r).resolveInner(e,-1),i=null;for(let s=n;!i&&s.parent;s=s.parent)(s.name=="OpenTag"||s.name=="CloseTag"||s.name=="SelfClosingTag"||s.name=="MismatchedCloseTag")&&(i=s);if(i&&(i.to>e||i.lastChild.type.isError)){let s=i.parent;if(n.name=="TagName")return i.name=="CloseTag"||i.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:s}:{type:"openTag",from:n.from,context:K0(s)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:i};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:i};let a=n==i||n.name=="Attribute"?n.childBefore(e):n;return(a==null?void 0:a.name)=="StartTag"?{type:"openTag",from:e,context:K0(s)}:(a==null?void 0:a.name)=="StartCloseTag"&&a.to<=e?{type:"closeTag",from:e,context:s}:(a==null?void 0:a.name)=="Is"?{type:"attrValue",from:e,context:i}:a?{type:"attrName",from:e,context:i}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:e,context:n.parent};for(;n.parent&&n.to==e&&!(!((t=n.lastChild)===null||t===void 0)&&t.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:e,context:n.name=="Element"?n:K0(n)}:null}let BI=class{constructor(e,t,n){this.attrs=t,this.attrValues=n,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(i=>({label:i,type:"text"})):[]}};const ey=/^[:\-\.\w\u00b7-\uffff]*$/;function Zb(r){return Object.assign(Object.assign({type:"property"},r.completion||{}),{label:r.name})}function Yb(r){return typeof r=="string"?{label:`"${r}"`,type:"constant"}:/^"/.test(r.label)?r:Object.assign(Object.assign({},r),{label:`"${r.label}"`})}function NI(r,e){let t=[],n=[],i=Object.create(null);for(let p of e){let m=Zb(p);t.push(m),p.global&&n.push(m),p.values&&(i[p.name]=p.values.map(Yb))}let s=[],a=[],l=Object.create(null);for(let p of r){let m=n,g=i;p.attributes&&(m=m.concat(p.attributes.map(S=>typeof S=="string"?t.find($=>$.label==S)||{label:S,type:"property"}:(S.values&&(g==i&&(g=Object.create(g)),g[S.name]=S.values.map(Yb)),Zb(S)))));let b=new BI(p,m,g);l[b.name]=b,s.push(b),p.top&&a.push(b)}a.length||(a=s);for(let p=0;p<s.length;p++){let m=r[p],g=s[p];if(m.children)for(let b of m.children)l[b]&&g.children.push(l[b]);else g.children=s}return p=>{var m;let{doc:g}=p.state,b=$I(p.state,p.pos);if(!b||b.type=="tag"&&!p.explicit)return null;let{type:S,from:$,context:G}=b;if(S=="openTag"){let be=a,ke=J0(g,G);if(ke){let me=l[ke];be=(me==null?void 0:me.children)||s}return{from:$,options:be.map(me=>me.completion),validFor:ey}}else if(S=="closeTag"){let be=J0(g,G);return be?{from:$,to:p.pos+(g.sliceString(p.pos,p.pos+1)==">"?1:0),options:[((m=l[be])===null||m===void 0?void 0:m.closeNameCompletion)||{label:be+">",type:"type"}],validFor:ey}:null}else if(S=="attrName"){let be=l[_m(g,G)];return{from:$,options:(be==null?void 0:be.attrs)||n,validFor:ey}}else if(S=="attrValue"){let be=_I(g,G,$);if(!be)return null;let ke=l[_m(g,G)],me=((ke==null?void 0:ke.attrValues)||i)[be];return!me||!me.length?null:{from:$,to:p.pos+(g.sliceString(p.pos,p.pos+1)=='"'?1:0),options:me,validFor:/^"[^"]*"?$/}}else if(S=="tag"){let be=J0(g,G),ke=l[be],me=[],Ve=G&&G.lastChild;be&&(!Ve||Ve.name!="CloseTag"||_m(g,Ve)!=be)&&me.push(ke?ke.closeCompletion:{label:"</"+be+">",type:"type",boost:2});let Dt=me.concat(((ke==null?void 0:ke.children)||(G?s:a)).map(ht=>ht.openCompletion));if(G&&(ke!=null&&ke.text.length)){let ht=G.firstChild;ht.to>p.pos-20&&!/\S/.test(p.state.sliceDoc(ht.to,p.pos))&&(Dt=Dt.concat(ke.text))}return{from:$,options:Dt,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const Gb=Wh.define({name:"xml",parser:FI.configure({props:[Ad.add({Element(r){let e=/^\s*<\//.test(r.textAfter);return r.lineIndent(r.node.from)+(e?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit}}),Td.add({Element(r){let e=r.firstChild,t=r.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:t.name=="CloseTag"?t.from:r.to}}}),DO.add({"OpenTag CloseTag":r=>r.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/$/}});function II(r={}){return new mO(Gb,Gb.data.of({autocomplete:NI(r.elements||[],r.attributes||[])}))}const MI=54,RI=1,QI=55,jI=2,LI=56,XI=3,Hb=4,VI=5,Dg=6,aw=7,uw=8,lw=9,cw=10,UI=11,qI=12,zI=13,ty=57,WI=14,Jb=58,hw=20,ZI=22,pw=23,YI=24,gD=26,fw=27,GI=28,HI=31,JI=34,KI=36,e5=37,t5=0,r5=1,n5={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},i5={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Kb={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function s5(r){return r==45||r==46||r==58||r>=65&&r<=90||r==95||r>=97&&r<=122||r>=161}function dw(r){return r==9||r==10||r==13||r==32}let ev=null,tv=null,rv=0;function yD(r,e){let t=r.pos+e;if(rv==t&&tv==r)return ev;let n=r.peek(e);for(;dw(n);)n=r.peek(++e);let i="";for(;s5(n);)i+=String.fromCharCode(n),n=r.peek(++e);return tv=r,rv=t,ev=i?i.toLowerCase():n==o5||n==a5?void 0:null}const mw=60,Og=62,NO=47,o5=63,a5=33,u5=45;function nv(r,e){this.name=r,this.parent=e,this.hash=e?e.hash:0;for(let t=0;t<r.length;t++)this.hash+=(this.hash<<4)+r.charCodeAt(t)+(r.charCodeAt(t)<<8)}const l5=[Dg,cw,aw,uw,lw],c5=new $O({start:null,shift(r,e,t,n){return l5.indexOf(e)>-1?new nv(yD(n,1)||"",r):r},reduce(r,e){return e==hw&&r?r.parent:r},reuse(r,e,t,n){let i=e.type.id;return i==Dg||i==KI?new nv(yD(n,1)||"",r):r},hash(r){return r?r.hash:0},strict:!1}),h5=new iu((r,e)=>{if(r.next!=mw){r.next<0&&e.context&&r.acceptToken(ty);return}r.advance();let t=r.next==NO;t&&r.advance();let n=yD(r,0);if(n===void 0)return;if(!n)return r.acceptToken(t?WI:Dg);let i=e.context?e.context.name:null;if(t){if(n==i)return r.acceptToken(UI);if(i&&i5[i])return r.acceptToken(ty,-2);if(e.dialectEnabled(t5))return r.acceptToken(qI);for(let s=e.context;s;s=s.parent)if(s.name==n)return;r.acceptToken(zI)}else{if(n=="script")return r.acceptToken(aw);if(n=="style")return r.acceptToken(uw);if(n=="textarea")return r.acceptToken(lw);if(n5.hasOwnProperty(n))return r.acceptToken(cw);i&&Kb[i]&&Kb[i][n]?r.acceptToken(ty,-1):r.acceptToken(Dg)}},{contextual:!0}),p5=new iu(r=>{for(let e=0,t=0;;t++){if(r.next<0){t&&r.acceptToken(Jb);break}if(r.next==u5)e++;else if(r.next==Og&&e>=2){t>3&&r.acceptToken(Jb,-2);break}else e=0;r.advance()}});function f5(r){for(;r;r=r.parent)if(r.name=="svg"||r.name=="math")return!0;return!1}const d5=new iu((r,e)=>{if(r.next==NO&&r.peek(1)==Og){let t=e.dialectEnabled(r5)||f5(e.context);r.acceptToken(t?VI:Hb,2)}else r.next==Og&&r.acceptToken(Hb,1)});function IO(r,e,t){let n=2+r.length;return new iu(i=>{for(let s=0,a=0,l=0;;l++){if(i.next<0){l&&i.acceptToken(e);break}if(s==0&&i.next==mw||s==1&&i.next==NO||s>=2&&s<n&&i.next==r.charCodeAt(s-2))s++,a++;else if((s==2||s==n)&&dw(i.next))a++;else if(s==n&&i.next==Og){l>a?i.acceptToken(e,-a):i.acceptToken(t,-(a-2));break}else if((i.next==10||i.next==13)&&l){i.acceptToken(e,1);break}else s=a=0;i.advance()}})}const m5=IO("script",MI,RI),g5=IO("style",QI,jI),y5=IO("textarea",LI,XI),D5=wd({"Text RawText":He.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":He.angleBracket,TagName:He.tagName,"MismatchedCloseTag/TagName":[He.tagName,He.invalid],AttributeName:He.attributeName,"AttributeValue UnquotedAttributeValue":He.attributeValue,Is:He.definitionOperator,"EntityReference CharacterReference":He.character,Comment:He.blockComment,ProcessingInst:He.processingInstruction,DoctypeDecl:He.documentMeta}),O5=Yh.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO,59iO%hQ&rO,59lO%sQ&rO,59nOOOa'#D^'#D^O%{OaO'#CxO&WOaO,59[OOOb'#D_'#D_O&`ObO'#C{O&kObO,59[OOOd'#D`'#D`O&sOdO'#DOO'OOdO,59[OOO`'#Da'#DaO'WO!rO,59[O'_Q#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'dO$fO,59oOOO`,59o,59oO'lQ#|O,59qO'qQ#|O,59rOOO`-E7W-E7WO'vQ&rO'#CsOOQW'#DZ'#DZO(UQ&rO1G.wOOOa1G.w1G.wO(^Q&rO1G/QOOOb1G/Q1G/QO(fQ&rO1G/TOOOd1G/T1G/TO(nQ&rO1G/WOOO`1G/W1G/WOOO`1G/Y1G/YO(yQ&rO1G/YOOOa-E7[-E7[O)RQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)WQ#tO'#C|OOOd-E7^-E7^O)]Q#tO'#DPOOO`-E7_-E7_O)bQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O)gQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rOOO`7+$t7+$tO)rQ#|O,59eO)wQ#|O,59hO)|Q#|O,59kOOO`1G/X1G/XO*RO7[O'#CvO*dOMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O*uO7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+WOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:"+s~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{}!P!R!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ}bQ!PcQ!RdQ!UeZ!e{}!P!R!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:c5,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"]],propSources:[D5],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebhSkWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!`h`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WihSkWc!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[m5,g5,y5,d5,h5,p5,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:485},tokenPrec:487});function gw(r,e){let t=Object.create(null);for(let n of r.getChildren(pw)){let i=n.getChild(YI),s=n.getChild(gD)||n.getChild(fw);i&&(t[e.read(i.from,i.to)]=s?s.type.id==gD?e.read(s.from+1,s.to-1):e.read(s.from,s.to):"")}return t}function iv(r,e){let t=r.getChild(ZI);return t?e.read(t.from,t.to):" "}function ry(r,e,t){let n;for(let i of t)if(!i.attrs||i.attrs(n||(n=gw(r.node.parent.firstChild,e))))return{parser:i.parser};return null}function x5(r=[],e=[]){let t=[],n=[],i=[],s=[];for(let l of r)(l.tag=="script"?t:l.tag=="style"?n:l.tag=="textarea"?i:s).push(l);let a=e.length?Object.create(null):null;for(let l of e)(a[l.name]||(a[l.name]=[])).push(l);return d_((l,p)=>{let m=l.type.id;if(m==GI)return ry(l,p,t);if(m==HI)return ry(l,p,n);if(m==JI)return ry(l,p,i);if(m==hw&&s.length){let g=l.node,b=g.firstChild,S=b&&iv(b,p),$;if(S){for(let G of s)if(G.tag==S&&(!G.attrs||G.attrs($||($=gw(g,p))))){let be=g.lastChild;return{parser:G.parser,overlay:[{from:b.to,to:be.type.id==e5?be.from:g.to}]}}}}if(a&&m==pw){let g=l.node,b;if(b=g.firstChild){let S=a[p.read(b.from,b.to)];if(S)for(let $ of S){if($.tagName&&$.tagName!=iv(g.parent,p))continue;let G=g.lastChild;if(G.type.id==gD){let be=G.from+1,ke=G.lastChild,me=G.to-(ke&&ke.isError?0:1);if(me>be)return{parser:$.parser,overlay:[{from:be,to:me}]}}else if(G.type.id==fw)return{parser:$.parser,overlay:[{from:G.from,to:G.to}]}}}}return null})}const yw="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(r=>"on"+r);for(let r of yw);const b5=Dl.parser.configure({top:"SingleExpression"}),v5=[{tag:"script",attrs:r=>r.type=="text/typescript"||r.lang=="ts",parser:KE.parser},{tag:"script",attrs:r=>r.type=="text/babel"||r.type=="text/jsx",parser:ew.parser},{tag:"script",attrs:r=>r.type=="text/typescript-jsx",parser:tw.parser},{tag:"script",attrs(r){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(r.type)},parser:b5},{tag:"script",attrs(r){return!r.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(r.type)},parser:Dl.parser},{tag:"style",attrs(r){return(!r.lang||r.lang=="css")&&(!r.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(r.type))},parser:yg.parser}],C5=[{name:"style",parser:yg.parser.configure({top:"Styles"})}].concat(yw.map(r=>({name:r,parser:Dl.parser}))),S5=Wh.define({name:"html",parser:O5.configure({props:[Ad.add({Element(r){let e=/^(\s*)(<\/)?/.exec(r.textAfter);return r.node.to<=r.pos+e[0].length?r.continue():r.lineIndent(r.node.from)+(e[2]?0:r.unit)},"OpenTag CloseTag SelfClosingTag"(r){return r.column(r.node.from)+r.unit},Document(r){if(r.pos+/\s*/.exec(r.textAfter)[0].length<r.node.to)return r.continue();let e=null,t;for(let n=r.node;;){let i=n.lastChild;if(!i||i.name!="Element"||i.to!=n.to)break;e=n=i}return e&&!((t=e.lastChild)&&(t.name=="CloseTag"||t.name=="SelfClosingTag"))?r.lineIndent(e.from)+r.unit:null}}),Td.add({Element(r){let e=r.firstChild,t=r.lastChild;return!e||e.name!="OpenTag"?null:{from:e.to,to:t.name=="CloseTag"?t.from:r.to}}}),DO.add({"OpenTag CloseTag":r=>r.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"<!--",close:"-->"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),$m=S5.configure({wrap:x5(v5,C5)}),E5="var(--cm-keyword)",sv="var(--cm-property)",w5="var(--cm-punctuation)",A5="#ffffff",DD="var(--cm-foreground)",Dw="var(--cm-line-number)",T5="var(--cm-comment)",P5="var(--cm-variable)",k5="var(--cm-string)",F5="var(--cm-background)",_5="var(--cm-line-highlight-background)",ov="var(--cm-background)",ny="#242222",$5="var(--cm-selection-background)",av="#888",B5=Qn.theme({"&":{color:DD,backgroundColor:ov},"& div":{flexDirection:"initial"},"&.cm-focused":{outline:"none"},".cm-content":{caretColor:av},".cm-completionIcon":{display:"none"},".cm-cursor, .cm-dropCursor":{borderLeftColor:av},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:$5},".cm-panels":{backgroundColor:F5,color:DD},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-line":{border:"1px solid transparent"},".cm-activeLine":{backgroundColor:_5,border:"1px solid var(--cm-line-highlight-border)"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"transparent"},".cm-gutters":{backgroundColor:ov,color:Dw,border:"none"},".cm-activeLineGutter":{backgroundColor:"transparent",color:"#bfbaaa"},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:ny,color:"#c2beb3"},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:ny,borderBottomColor:ny},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:"#ffffff14",color:"#c2beb3"}}},{dark:!0}),N5=kd.define([{tag:[He.variableName,He.regexp],color:"var(--cm-decorator)"},{tag:[He.name,He.deleted,He.character,He.propertyName,He.macroName],color:sv},{tag:[He.function(He.variableName),He.labelName],color:P5},{tag:[He.color,He.constant(He.name),He.standard(He.name)],color:"#c99076"},{tag:[He.definition(He.name),He.separator],color:DD},{tag:[He.angleBracket],color:"#666666"},{tag:[He.brace],color:"#5eaab5"},{tag:[He.bracket],color:"#4d9375"},{tag:[He.typeName,He.className,He.number,He.changed,He.annotation,He.modifier,He.self,He.namespace,He.keyword,He.atom,He.bool,He.special(He.variableName)],color:E5},{tag:[He.definitionKeyword],color:"var(--cm-definition-keyword)"},{tag:[He.operator,He.operatorKeyword,He.url,He.escape,He.link,He.special(He.string)],color:w5},{tag:[He.meta,He.comment],color:T5},{tag:He.strong,fontWeight:"bold"},{tag:He.emphasis,fontStyle:"italic"},{tag:He.strikethrough,textDecoration:"line-through"},{tag:He.link,color:Dw,textDecoration:"underline"},{tag:He.heading,fontWeight:"bold",color:sv},{tag:[He.processingInstruction,He.string,He.inserted],color:k5},{tag:He.invalid,color:A5}]),I5=[B5,N2(N5)],Ow=Qi.define(),xw=Qi.define(),M5=Po.define({create(){return _i.none},update(r,e){r=r.map(e.changes);for(const t of e.effects)t.is(Ow)?r=r.update({add:t.value,sort:!0}):t.is(xw)&&(r=r.update({filter:t.value}));return r},provide:r=>Qn.decorations.from(r)}),R5={xml:II,css:fI,html:()=>$m.extension,vue:()=>$m.extension,svelte:()=>$m.extension,js:Fc,mjs:Fc,cjs:Fc,ts:()=>Fc({typescript:!0}),mts:()=>Fc({typescript:!0}),cts:()=>Fc({typescript:!0}),jsx:()=>Fc({jsx:!0}),tsx:()=>Fc({typescript:!0,jsx:!0})};function Q5(r,e,t={}){const n=[...FO];n.push({key:"Tab",run:BE});const i=as(()=>{const{mode:l="html",readOnly:p,autocomplete:m}=wi(t);return[i8,I5,M5,R5[l](),l==="html"&&m&&$m.data.of({autocomplete:m}),p&&gs.readOnly.of(!0),Cd.of(n)].filter(Boolean)});let s=!1;const a=new Qn({parent:r.value,doc:e.value,extensions:i.value,dispatch(l){a.update([l]);const p=a.state.selection.main;if(p.from!==p.to?(a.contentDOM.style.setProperty("--cm-line-highlight-background","transparent"),a.contentDOM.style.setProperty("--cm-line-highlight-border","transparent")):(a.contentDOM.style.removeProperty("--cm-line-highlight-background"),a.contentDOM.style.removeProperty("--cm-line-highlight-border")),l.docChanged){if(s){s=!1;return}e.value=a.state.doc.toString()}},...wi(t)});return Ro(t,()=>{a.dispatch({effects:Qi.reconfigure.of(i.value)})}),Ro(e,l=>{if(l!==a.state.doc.toString()){s=!0;const p=a.state.selection.ranges;a.dispatch({changes:{from:0,to:a.state.doc.length,insert:l},selection:Pr.create(p)})}},{immediate:!0}),a}const j5=vo({__name:"CodeMirror",props:{modelValue:{},mode:{},readOnly:{type:Boolean},matched:{},annotations:{},getHint:{type:Function}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=Zs(),s=lO(t,"modelValue",n,{passive:!0});return Ng(async()=>{const a=Q5(i,s,Dd({autocomplete:t.getHint,...HA(t)}));od(a.contentDOM.parentElement,"scroll",z3(()=>{a.requestMeasure()},50,!0));function l(g,b){const S=_i.mark({class:"highlighted"});a.dispatch({effects:Ow.of([S.range(g,b)])})}function p(){a.dispatch({effects:xw.of((g,b)=>b<=0||g>=a.state.doc.toString().length)}),UP(t.modelValue,Array.from(t.matched||[]),t.annotations||[]).forEach(g=>l(g[0],g[1]))}let m=0;Ro(()=>[t.modelValue,t.matched],async()=>{clearTimeout(m),t.matched&&(m=setTimeout(p,200))},{immediate:!0})}),(a,l)=>(bi(),ns("div",{ref_key:"el",ref:i,relative:"","font-mono":"","text-sm":"","data-enable-grammarly":"false","h-full":""},null,512))}}),bw=(r,e)=>{const t=r.__vccOpts||r;for(const[n,i]of e)t[n]=i;return t},L5={},X5={"bg-active":"","p-5":"",border:"b main",text:"sm gray5 dark:gray3"};function V5(r,e){return bi(),ns("div",X5,[tc(r.$slots,"default")])}const U5=bw(L5,[["render",V5]]),q5={style:{"background-color":"var(--cm-background)"},border:"l y gray/20",text:"gray/80","min-h-30px":"","max-h-30px":"","select-none":"",flex:"","all:my-auto":""},z5={"mr-2":"","op-60":"","shrink-0":""},W5={px1:"",flex:"","gap-2":"","flex-auto":"","h-full":""},Z5=vo({__name:"TitleBar",props:{title:{}},emits:["titleClick"],setup(r,{emit:e}){const t=e;return(n,i)=>(bi(),ns("div",q5,[sn("div",{p1:"",flex:"",onClick:i[0]||(i[0]=s=>t("titleClick",s))},[tc(n.$slots,"before"),sn("div",z5,Gs(n.title),1)]),sn("div",W5,[tc(n.$slots,"default")])]))}}),Y5={flex:"",border:"t main"},G5=["onClick"],H5=vo({__name:"Tabs",props:{modelValue:{},items:{}},emits:["update:modelValue"],setup(r,{emit:e}){var s,a;const t=r,i=lO(t,"modelValue",e,{passive:!0,defaultValue:(a=(s=t.items)==null?void 0:s[0])==null?void 0:a.value});return(l,p)=>(bi(),ns("ul",Y5,[(bi(!0),ns(ho,null,Lc(l.items,({label:m,value:g,icon:b})=>(bi(),ns("li",{key:g,"cursor-pointer":"","px-4":"","py-3":"","whitespace-nowrap":"","select-none":"",class:Fa(wi(i)===g?"bg-active dark:text-white text-black":"text-dark:50 dark:text-white:50"),onClick:S=>i.value=g},[sn("div",{class:Fa(b)},null,2),pa(" "+Gs(m),1)],10,G5))),128))]))}}),J5=vo({__name:"OverviewTabs",props:{modelValue:{}},emits:["update:modelValue"],setup(r,{emit:e}){const t=r,n=e,i=Zs([{label:"Source",value:"source",icon:"i-carbon-cics-program"},{label:"Analyzer",value:"analyzer",icon:"i-carbon-align-horizontal-left"}]),s=lO(t,"modelValue",n);return(a,l)=>{const p=H5;return bi(),Zo(p,{modelValue:wi(s),"onUpdate:modelValue":l[0]||(l[0]=m=>Hs(s)?s.value=m:null),items:wi(i)},null,8,["modelValue","items"])}}}),K5="/@vite/client",vw=Rf(),Cw=Rf(),e6=vw.on,Sw=Cw.on;AD(()=>import(K5),__vite__mapDeps([])).then(r=>{const e=r.createHotContext("/");e.on("vite:beforeUpdate",t=>{t.updates.forEach(n=>{vw.trigger(n)})}),e.on("unocss:config-changed",()=>{Cw.trigger()})}).catch(r=>{console.error("failed to connect to client vite server, you might need to do manual refresh to see the updates"),console.error(r)});const t0="/__unocss_api",Ew=Ug(t0).json(),MO=Ug(`${t0}/overview`,{immediate:!1}).json(),Vo=Ew.data,Sp=MO.data;Sw(()=>{Ew.execute(),MO.execute()});function K7(r){const e=Ug(as(()=>`${t0}/module?id=${encodeURIComponent(wi(r))}`),{refetch:!0}).json();return Sw(()=>e.execute()),e6(t=>{var n;(t.path===wi(r)||t.path===wi(r).slice(((n=Vo.value)==null?void 0:n.root.length)||0))&&setTimeout(()=>{e.execute()},50)}),e}function eM(r,e){const t=q3(r,500);return Ug(as(()=>`${t0}/repl?token=${encodeURIComponent(t.value)}&safelist=${e.value}`),{refetch:!0}).json()}const Ep=as(()=>{if(!Vo.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]},nodeModules:{children:{},items:[]}};const r=[],e=[],t=[];return Vo.value.modules.map(n=>({full:n,path:n})).forEach(n=>{n.full.includes("node_modules")?t.push(n):n.full.startsWith(Vo.value.root)?r.push(n):e.push(n)}),r.forEach(n=>n.path=n.path.slice(Vo.value.root.length+1)),{workspace:iy(r,"Project Root"),nodeModules:iy(t,"Node Modules"),root:iy(e,"Disk Root")}});function iy(r,e){const t={name:e,children:{},items:[]};function n(s,a,l=t){if(!s)return;if(a.length<=1){l.items.push(s);return}const p=a.shift();l.children[p]||(l.children[p]={name:p,children:{},items:[]}),n(s,a,l.children[p])}r.forEach(s=>{const a=s.path.split(/\//g).filter(Boolean);n(s,a)});function i(s){if(!s)return;const a=Object.values(s.children);if(a.length===1&&!s.items.length){const l=a[0];s.name=s.name?`${s.name}/${l.name}`:l.name,s.items=l.items,s.children=l.children,i(s)}else a.forEach(i)}return Object.values(t.children).forEach(i),t}const t6={key:0,"ws-wrap":""},r6=sn("span",{op80:""},".",-1),n6={key:1},ww=vo({__name:"ModuleId",props:{id:{}},setup(r){return(e,t)=>e.id&&wi(Vo)?(bi(),ns("span",t6,[e.id.startsWith(wi(Vo).root)?(bi(),ns(ho,{key:0},[r6,sn("span",null,Gs(e.id.slice(wi(Vo).root.length)),1)],64)):(bi(),ns("span",n6,Gs(e.id),1))])):Eu("",!0)}});function i6(r,e){const t=Zs(null);return o_(r,()=>{var i;const n=(i=sd(r))==null?void 0:i.clientHeight;t.value=n?`--${e}: calc(100vh - ${n}px - 2px);`:null}),t}var Aw={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(ge,le)=>()=>(le||ge((le={exports:{}}).exports,le),le.exports),n=t((ge,le)=>{var ae=function(Ee){return Ee&&Ee.Math==Math&&Ee};le.exports=ae(typeof globalThis=="object"&&globalThis)||ae(typeof window=="object"&&window)||ae(typeof self=="object"&&self)||ae(typeof rc=="object"&&rc)||function(){return this}()||Function("return this")()}),i=t((ge,le)=>{le.exports=function(ae){try{return!!ae()}catch{return!0}}}),s=t((ge,le)=>{var ae=i();le.exports=!ae(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((ge,le)=>{var ae=i();le.exports=!ae(function(){var Ee=(function(){}).bind();return typeof Ee!="function"||Ee.hasOwnProperty("prototype")})}),l=t((ge,le)=>{var ae=a(),Ee=Function.prototype.call;le.exports=ae?Ee.bind(Ee):function(){return Ee.apply(Ee,arguments)}}),p=t(ge=>{var le={}.propertyIsEnumerable,ae=Object.getOwnPropertyDescriptor,Ee=ae&&!le.call({1:2},1);ge.f=Ee?function(xe){var Le=ae(this,xe);return!!Le&&Le.enumerable}:le}),m=t((ge,le)=>{le.exports=function(ae,Ee){return{enumerable:!(ae&1),configurable:!(ae&2),writable:!(ae&4),value:Ee}}}),g=t((ge,le)=>{var ae=a(),Ee=Function.prototype,xe=Ee.call,Le=ae&&Ee.bind.bind(xe,xe);le.exports=ae?Le:function(nt){return function(){return xe.apply(nt,arguments)}}}),b=t((ge,le)=>{var ae=g(),Ee=ae({}.toString),xe=ae("".slice);le.exports=function(Le){return xe(Ee(Le),8,-1)}}),S=t((ge,le)=>{var ae=g(),Ee=i(),xe=b(),Le=Object,nt=ae("".split);le.exports=Ee(function(){return!Le("z").propertyIsEnumerable(0)})?function(dt){return xe(dt)=="String"?nt(dt,""):Le(dt)}:Le}),$=t((ge,le)=>{le.exports=function(ae){return ae==null}}),G=t((ge,le)=>{var ae=$(),Ee=TypeError;le.exports=function(xe){if(ae(xe))throw Ee("Can't call method on "+xe);return xe}}),be=t((ge,le)=>{var ae=S(),Ee=G();le.exports=function(xe){return ae(Ee(xe))}}),ke=t((ge,le)=>{var ae=typeof document=="object"&&document.all,Ee=typeof ae>"u"&&ae!==void 0;le.exports={all:ae,IS_HTMLDDA:Ee}}),me=t((ge,le)=>{var ae=ke(),Ee=ae.all;le.exports=ae.IS_HTMLDDA?function(xe){return typeof xe=="function"||xe===Ee}:function(xe){return typeof xe=="function"}}),Ve=t((ge,le)=>{var ae=me(),Ee=ke(),xe=Ee.all;le.exports=Ee.IS_HTMLDDA?function(Le){return typeof Le=="object"?Le!==null:ae(Le)||Le===xe}:function(Le){return typeof Le=="object"?Le!==null:ae(Le)}}),Dt=t((ge,le)=>{var ae=n(),Ee=me(),xe=function(Le){return Ee(Le)?Le:void 0};le.exports=function(Le,nt){return arguments.length<2?xe(ae[Le]):ae[Le]&&ae[Le][nt]}}),ht=t((ge,le)=>{var ae=g();le.exports=ae({}.isPrototypeOf)}),bt=t((ge,le)=>{var ae=Dt();le.exports=ae("navigator","userAgent")||""}),Yt=t((ge,le)=>{var ae=n(),Ee=bt(),xe=ae.process,Le=ae.Deno,nt=xe&&xe.versions||Le&&Le.version,dt=nt&&nt.v8,Ge,Ct;dt&&(Ge=dt.split("."),Ct=Ge[0]>0&&Ge[0]<4?1:+(Ge[0]+Ge[1])),!Ct&&Ee&&(Ge=Ee.match(/Edge\/(\d+)/),(!Ge||Ge[1]>=74)&&(Ge=Ee.match(/Chrome\/(\d+)/),Ge&&(Ct=+Ge[1]))),le.exports=Ct}),ir=t((ge,le)=>{var ae=Yt(),Ee=i();le.exports=!!Object.getOwnPropertySymbols&&!Ee(function(){var xe=Symbol();return!String(xe)||!(Object(xe)instanceof Symbol)||!Symbol.sham&&ae&&ae<41})}),qr=t((ge,le)=>{var ae=ir();le.exports=ae&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),yr=t((ge,le)=>{var ae=Dt(),Ee=me(),xe=ht(),Le=qr(),nt=Object;le.exports=Le?function(dt){return typeof dt=="symbol"}:function(dt){var Ge=ae("Symbol");return Ee(Ge)&&xe(Ge.prototype,nt(dt))}}),kr=t((ge,le)=>{var ae=String;le.exports=function(Ee){try{return ae(Ee)}catch{return"Object"}}}),Zr=t((ge,le)=>{var ae=me(),Ee=kr(),xe=TypeError;le.exports=function(Le){if(ae(Le))return Le;throw xe(Ee(Le)+" is not a function")}}),zn=t((ge,le)=>{var ae=Zr(),Ee=$();le.exports=function(xe,Le){var nt=xe[Le];return Ee(nt)?void 0:ae(nt)}}),Gn=t((ge,le)=>{var ae=l(),Ee=me(),xe=Ve(),Le=TypeError;le.exports=function(nt,dt){var Ge,Ct;if(dt==="string"&&Ee(Ge=nt.toString)&&!xe(Ct=ae(Ge,nt))||Ee(Ge=nt.valueOf)&&!xe(Ct=ae(Ge,nt))||dt!=="string"&&Ee(Ge=nt.toString)&&!xe(Ct=ae(Ge,nt)))return Ct;throw Le("Can't convert object to primitive value")}}),Ii=t((ge,le)=>{le.exports=!1}),ii=t((ge,le)=>{var ae=n(),Ee=Object.defineProperty;le.exports=function(xe,Le){try{Ee(ae,xe,{value:Le,configurable:!0,writable:!0})}catch{ae[xe]=Le}return Le}}),Sn=t((ge,le)=>{var ae=n(),Ee=ii(),xe="__core-js_shared__",Le=ae[xe]||Ee(xe,{});le.exports=Le}),Wn=t((ge,le)=>{var ae=Ii(),Ee=Sn();(le.exports=function(xe,Le){return Ee[xe]||(Ee[xe]=Le!==void 0?Le:{})})("versions",[]).push({version:"3.26.1",mode:ae?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),jn=t((ge,le)=>{var ae=G(),Ee=Object;le.exports=function(xe){return Ee(ae(xe))}}),Bn=t((ge,le)=>{var ae=g(),Ee=jn(),xe=ae({}.hasOwnProperty);le.exports=Object.hasOwn||function(Le,nt){return xe(Ee(Le),nt)}}),$i=t((ge,le)=>{var ae=g(),Ee=0,xe=Math.random(),Le=ae(1 .toString);le.exports=function(nt){return"Symbol("+(nt===void 0?"":nt)+")_"+Le(++Ee+xe,36)}}),Ui=t((ge,le)=>{var ae=n(),Ee=Wn(),xe=Bn(),Le=$i(),nt=ir(),dt=qr(),Ge=Ee("wks"),Ct=ae.Symbol,or=Ct&&Ct.for,er=dt?Ct:Ct&&Ct.withoutSetter||Le;le.exports=function(Or){if(!xe(Ge,Or)||!(nt||typeof Ge[Or]=="string")){var Cr="Symbol."+Or;nt&&xe(Ct,Or)?Ge[Or]=Ct[Or]:dt&&or?Ge[Or]=or(Cr):Ge[Or]=er(Cr)}return Ge[Or]}}),os=t((ge,le)=>{var ae=l(),Ee=Ve(),xe=yr(),Le=zn(),nt=Gn(),dt=Ui(),Ge=TypeError,Ct=dt("toPrimitive");le.exports=function(or,er){if(!Ee(or)||xe(or))return or;var Or=Le(or,Ct),Cr;if(Or){if(er===void 0&&(er="default"),Cr=ae(Or,or,er),!Ee(Cr)||xe(Cr))return Cr;throw Ge("Can't convert object to primitive value")}return er===void 0&&(er="number"),nt(or,er)}}),ds=t((ge,le)=>{var ae=os(),Ee=yr();le.exports=function(xe){var Le=ae(xe,"string");return Ee(Le)?Le:Le+""}}),us=t((ge,le)=>{var ae=n(),Ee=Ve(),xe=ae.document,Le=Ee(xe)&&Ee(xe.createElement);le.exports=function(nt){return Le?xe.createElement(nt):{}}}),Xs=t((ge,le)=>{var ae=s(),Ee=i(),xe=us();le.exports=!ae&&!Ee(function(){return Object.defineProperty(xe("div"),"a",{get:function(){return 7}}).a!=7})}),Ts=t(ge=>{var le=s(),ae=l(),Ee=p(),xe=m(),Le=be(),nt=ds(),dt=Bn(),Ge=Xs(),Ct=Object.getOwnPropertyDescriptor;ge.f=le?Ct:function(or,er){if(or=Le(or),er=nt(er),Ge)try{return Ct(or,er)}catch{}if(dt(or,er))return xe(!ae(Ee.f,or,er),or[er])}}),Sr=t((ge,le)=>{var ae=s(),Ee=i();le.exports=ae&&Ee(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),cn=t((ge,le)=>{var ae=Ve(),Ee=String,xe=TypeError;le.exports=function(Le){if(ae(Le))return Le;throw xe(Ee(Le)+" is not an object")}}),zr=t(ge=>{var le=s(),ae=Xs(),Ee=Sr(),xe=cn(),Le=ds(),nt=TypeError,dt=Object.defineProperty,Ge=Object.getOwnPropertyDescriptor,Ct="enumerable",or="configurable",er="writable";ge.f=le?Ee?function(Or,Cr,Oe){if(xe(Or),Cr=Le(Cr),xe(Oe),typeof Or=="function"&&Cr==="prototype"&&"value"in Oe&&er in Oe&&!Oe[er]){var pn=Ge(Or,Cr);pn&&pn[er]&&(Or[Cr]=Oe.value,Oe={configurable:or in Oe?Oe[or]:pn[or],enumerable:Ct in Oe?Oe[Ct]:pn[Ct],writable:!1})}return dt(Or,Cr,Oe)}:dt:function(Or,Cr,Oe){if(xe(Or),Cr=Le(Cr),xe(Oe),ae)try{return dt(Or,Cr,Oe)}catch{}if("get"in Oe||"set"in Oe)throw nt("Accessors not supported");return"value"in Oe&&(Or[Cr]=Oe.value),Or}}),In=t((ge,le)=>{var ae=s(),Ee=zr(),xe=m();le.exports=ae?function(Le,nt,dt){return Ee.f(Le,nt,xe(1,dt))}:function(Le,nt,dt){return Le[nt]=dt,Le}}),Ki=t((ge,le)=>{var ae=s(),Ee=Bn(),xe=Function.prototype,Le=ae&&Object.getOwnPropertyDescriptor,nt=Ee(xe,"name"),dt=nt&&(function(){}).name==="something",Ge=nt&&(!ae||ae&&Le(xe,"name").configurable);le.exports={EXISTS:nt,PROPER:dt,CONFIGURABLE:Ge}}),tt=t((ge,le)=>{var ae=g(),Ee=me(),xe=Sn(),Le=ae(Function.toString);Ee(xe.inspectSource)||(xe.inspectSource=function(nt){return Le(nt)}),le.exports=xe.inspectSource}),gt=t((ge,le)=>{var ae=n(),Ee=me(),xe=ae.WeakMap;le.exports=Ee(xe)&&/native code/.test(String(xe))}),Zt=t((ge,le)=>{var ae=Wn(),Ee=$i(),xe=ae("keys");le.exports=function(Le){return xe[Le]||(xe[Le]=Ee(Le))}}),dr=t((ge,le)=>{le.exports={}}),Fr=t((ge,le)=>{var ae=gt(),Ee=n(),xe=Ve(),Le=In(),nt=Bn(),dt=Sn(),Ge=Zt(),Ct=dr(),or="Object already initialized",er=Ee.TypeError,Or=Ee.WeakMap,Cr,Oe,pn,mn=function(Ye){return pn(Ye)?Oe(Ye):Cr(Ye,{})},ui=function(Ye){return function(Es){var ko;if(!xe(Es)||(ko=Oe(Es)).type!==Ye)throw er("Incompatible receiver, "+Ye+" required");return ko}};ae||dt.state?(Oi=dt.state||(dt.state=new Or),Oi.get=Oi.get,Oi.has=Oi.has,Oi.set=Oi.set,Cr=function(Ye,Es){if(Oi.has(Ye))throw er(or);return Es.facade=Ye,Oi.set(Ye,Es),Es},Oe=function(Ye){return Oi.get(Ye)||{}},pn=function(Ye){return Oi.has(Ye)}):(Yi=Ge("state"),Ct[Yi]=!0,Cr=function(Ye,Es){if(nt(Ye,Yi))throw er(or);return Es.facade=Ye,Le(Ye,Yi,Es),Es},Oe=function(Ye){return nt(Ye,Yi)?Ye[Yi]:{}},pn=function(Ye){return nt(Ye,Yi)});var Oi,Yi;le.exports={set:Cr,get:Oe,has:pn,enforce:mn,getterFor:ui}}),Lr=t((ge,le)=>{var ae=i(),Ee=me(),xe=Bn(),Le=s(),nt=Ki().CONFIGURABLE,dt=tt(),Ge=Fr(),Ct=Ge.enforce,or=Ge.get,er=Object.defineProperty,Or=Le&&!ae(function(){return er(function(){},"length",{value:8}).length!==8}),Cr=String(String).split("String"),Oe=le.exports=function(pn,mn,ui){String(mn).slice(0,7)==="Symbol("&&(mn="["+String(mn).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),ui&&ui.getter&&(mn="get "+mn),ui&&ui.setter&&(mn="set "+mn),(!xe(pn,"name")||nt&&pn.name!==mn)&&(Le?er(pn,"name",{value:mn,configurable:!0}):pn.name=mn),Or&&ui&&xe(ui,"arity")&&pn.length!==ui.arity&&er(pn,"length",{value:ui.arity});try{ui&&xe(ui,"constructor")&&ui.constructor?Le&&er(pn,"prototype",{writable:!1}):pn.prototype&&(pn.prototype=void 0)}catch{}var Oi=Ct(pn);return xe(Oi,"source")||(Oi.source=Cr.join(typeof mn=="string"?mn:"")),pn};Function.prototype.toString=Oe(function(){return Ee(this)&&or(this).source||dt(this)},"toString")}),yn=t((ge,le)=>{var ae=me(),Ee=zr(),xe=Lr(),Le=ii();le.exports=function(nt,dt,Ge,Ct){Ct||(Ct={});var or=Ct.enumerable,er=Ct.name!==void 0?Ct.name:dt;if(ae(Ge)&&xe(Ge,er,Ct),Ct.global)or?nt[dt]=Ge:Le(dt,Ge);else{try{Ct.unsafe?nt[dt]&&(or=!0):delete nt[dt]}catch{}or?nt[dt]=Ge:Ee.f(nt,dt,{value:Ge,enumerable:!1,configurable:!Ct.nonConfigurable,writable:!Ct.nonWritable})}return nt}}),Jr=t((ge,le)=>{var ae=Math.ceil,Ee=Math.floor;le.exports=Math.trunc||function(xe){var Le=+xe;return(Le>0?Ee:ae)(Le)}}),on=t((ge,le)=>{var ae=Jr();le.exports=function(Ee){var xe=+Ee;return xe!==xe||xe===0?0:ae(xe)}}),Xr=t((ge,le)=>{var ae=on(),Ee=Math.max,xe=Math.min;le.exports=function(Le,nt){var dt=ae(Le);return dt<0?Ee(dt+nt,0):xe(dt,nt)}}),ei=t((ge,le)=>{var ae=on(),Ee=Math.min;le.exports=function(xe){return xe>0?Ee(ae(xe),9007199254740991):0}}),xn=t((ge,le)=>{var ae=ei();le.exports=function(Ee){return ae(Ee.length)}}),ti=t((ge,le)=>{var ae=be(),Ee=Xr(),xe=xn(),Le=function(nt){return function(dt,Ge,Ct){var or=ae(dt),er=xe(or),Or=Ee(Ct,er),Cr;if(nt&&Ge!=Ge){for(;er>Or;)if(Cr=or[Or++],Cr!=Cr)return!0}else for(;er>Or;Or++)if((nt||Or in or)&&or[Or]===Ge)return nt||Or||0;return!nt&&-1}};le.exports={includes:Le(!0),indexOf:Le(!1)}}),Ai=t((ge,le)=>{var ae=g(),Ee=Bn(),xe=be(),Le=ti().indexOf,nt=dr(),dt=ae([].push);le.exports=function(Ge,Ct){var or=xe(Ge),er=0,Or=[],Cr;for(Cr in or)!Ee(nt,Cr)&&Ee(or,Cr)&&dt(Or,Cr);for(;Ct.length>er;)Ee(or,Cr=Ct[er++])&&(~Le(Or,Cr)||dt(Or,Cr));return Or}}),ji=t((ge,le)=>{le.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),ls=t(ge=>{var le=Ai(),ae=ji(),Ee=ae.concat("length","prototype");ge.f=Object.getOwnPropertyNames||function(xe){return le(xe,Ee)}}),is=t(ge=>{ge.f=Object.getOwnPropertySymbols}),Ps=t((ge,le)=>{var ae=Dt(),Ee=g(),xe=ls(),Le=is(),nt=cn(),dt=Ee([].concat);le.exports=ae("Reflect","ownKeys")||function(Ge){var Ct=xe.f(nt(Ge)),or=Le.f;return or?dt(Ct,or(Ge)):Ct}}),Co=t((ge,le)=>{var ae=Bn(),Ee=Ps(),xe=Ts(),Le=zr();le.exports=function(nt,dt,Ge){for(var Ct=Ee(dt),or=Le.f,er=xe.f,Or=0;Or<Ct.length;Or++){var Cr=Ct[Or];!ae(nt,Cr)&&!(Ge&&ae(Ge,Cr))&&or(nt,Cr,er(dt,Cr))}}}),ya=t((ge,le)=>{var ae=i(),Ee=me(),xe=/#|\.prototype\./,Le=function(or,er){var Or=dt[nt(or)];return Or==Ct?!0:Or==Ge?!1:Ee(er)?ae(er):!!er},nt=Le.normalize=function(or){return String(or).replace(xe,".").toLowerCase()},dt=Le.data={},Ge=Le.NATIVE="N",Ct=Le.POLYFILL="P";le.exports=Le}),Go=t((ge,le)=>{var ae=n(),Ee=Ts().f,xe=In(),Le=yn(),nt=ii(),dt=Co(),Ge=ya();le.exports=function(Ct,or){var er=Ct.target,Or=Ct.global,Cr=Ct.stat,Oe,pn,mn,ui,Oi,Yi;if(Or?pn=ae:Cr?pn=ae[er]||nt(er,{}):pn=(ae[er]||{}).prototype,pn)for(mn in or){if(Oi=or[mn],Ct.dontCallGetSet?(Yi=Ee(pn,mn),ui=Yi&&Yi.value):ui=pn[mn],Oe=Ge(Or?mn:er+(Cr?".":"#")+mn,Ct.forced),!Oe&&ui!==void 0){if(typeof Oi==typeof ui)continue;dt(Oi,ui)}(Ct.sham||ui&&ui.sham)&&xe(Oi,"sham",!0),Le(pn,mn,Oi,Ct)}}}),Da=t((ge,le)=>{var ae=b();le.exports=Array.isArray||function(Ee){return ae(Ee)=="Array"}}),Fu=t((ge,le)=>{var ae=TypeError,Ee=9007199254740991;le.exports=function(xe){if(xe>Ee)throw ae("Maximum allowed index exceeded");return xe}}),so=t((ge,le)=>{var ae=b(),Ee=g();le.exports=function(xe){if(ae(xe)==="Function")return Ee(xe)}}),Hr=t((ge,le)=>{var ae=so(),Ee=Zr(),xe=a(),Le=ae(ae.bind);le.exports=function(nt,dt){return Ee(nt),dt===void 0?nt:xe?Le(nt,dt):function(){return nt.apply(dt,arguments)}}}),Kt=t((ge,le)=>{var ae=Da(),Ee=xn(),xe=Fu(),Le=Hr(),nt=function(dt,Ge,Ct,or,er,Or,Cr,Oe){for(var pn=er,mn=0,ui=Cr?Le(Cr,Oe):!1,Oi,Yi;mn<or;)mn in Ct&&(Oi=ui?ui(Ct[mn],mn,Ge):Ct[mn],Or>0&&ae(Oi)?(Yi=Ee(Oi),pn=nt(dt,Ge,Oi,Yi,pn,Or-1)-1):(xe(pn+1),dt[pn]=Oi),pn++),mn++;return pn};le.exports=nt}),Ht=t((ge,le)=>{var ae=Ui(),Ee=ae("toStringTag"),xe={};xe[Ee]="z",le.exports=String(xe)==="[object z]"}),lr=t((ge,le)=>{var ae=Ht(),Ee=me(),xe=b(),Le=Ui(),nt=Le("toStringTag"),dt=Object,Ge=xe(function(){return arguments}())=="Arguments",Ct=function(or,er){try{return or[er]}catch{}};le.exports=ae?xe:function(or){var er,Or,Cr;return or===void 0?"Undefined":or===null?"Null":typeof(Or=Ct(er=dt(or),nt))=="string"?Or:Ge?xe(er):(Cr=xe(er))=="Object"&&Ee(er.callee)?"Arguments":Cr}}),cr=t((ge,le)=>{var ae=g(),Ee=i(),xe=me(),Le=lr(),nt=Dt(),dt=tt(),Ge=function(){},Ct=[],or=nt("Reflect","construct"),er=/^\s*(?:class|function)\b/,Or=ae(er.exec),Cr=!er.exec(Ge),Oe=function(mn){if(!xe(mn))return!1;try{return or(Ge,Ct,mn),!0}catch{return!1}},pn=function(mn){if(!xe(mn))return!1;switch(Le(mn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Cr||!!Or(er,dt(mn))}catch{return!0}};pn.sham=!0,le.exports=!or||Ee(function(){var mn;return Oe(Oe.call)||!Oe(Object)||!Oe(function(){mn=!0})||mn})?pn:Oe}),vr=t((ge,le)=>{var ae=Da(),Ee=cr(),xe=Ve(),Le=Ui(),nt=Le("species"),dt=Array;le.exports=function(Ge){var Ct;return ae(Ge)&&(Ct=Ge.constructor,Ee(Ct)&&(Ct===dt||ae(Ct.prototype))?Ct=void 0:xe(Ct)&&(Ct=Ct[nt],Ct===null&&(Ct=void 0))),Ct===void 0?dt:Ct}}),Kr=t((ge,le)=>{var ae=vr();le.exports=function(Ee,xe){return new(ae(Ee))(xe===0?0:xe)}}),Rt=t(()=>{var ge=Go(),le=Kt(),ae=Zr(),Ee=jn(),xe=xn(),Le=Kr();ge({target:"Array",proto:!0},{flatMap:function(nt){var dt=Ee(this),Ge=xe(dt),Ct;return ae(nt),Ct=Le(dt,0),Ct.length=le(Ct,dt,dt,Ge,0,1,nt,arguments.length>1?arguments[1]:void 0),Ct}})}),En=t((ge,le)=>{le.exports={}}),$n=t((ge,le)=>{var ae=Ui(),Ee=En(),xe=ae("iterator"),Le=Array.prototype;le.exports=function(nt){return nt!==void 0&&(Ee.Array===nt||Le[xe]===nt)}}),Hn=t((ge,le)=>{var ae=lr(),Ee=zn(),xe=$(),Le=En(),nt=Ui(),dt=nt("iterator");le.exports=function(Ge){if(!xe(Ge))return Ee(Ge,dt)||Ee(Ge,"@@iterator")||Le[ae(Ge)]}}),qt=t((ge,le)=>{var ae=l(),Ee=Zr(),xe=cn(),Le=kr(),nt=Hn(),dt=TypeError;le.exports=function(Ge,Ct){var or=arguments.length<2?nt(Ge):Ct;if(Ee(or))return xe(ae(or,Ge));throw dt(Le(Ge)+" is not iterable")}}),ai=t((ge,le)=>{var ae=l(),Ee=cn(),xe=zn();le.exports=function(Le,nt,dt){var Ge,Ct;Ee(Le);try{if(Ge=xe(Le,"return"),!Ge){if(nt==="throw")throw dt;return dt}Ge=ae(Ge,Le)}catch(or){Ct=!0,Ge=or}if(nt==="throw")throw dt;if(Ct)throw Ge;return Ee(Ge),dt}}),mi=t((ge,le)=>{var ae=Hr(),Ee=l(),xe=cn(),Le=kr(),nt=$n(),dt=xn(),Ge=ht(),Ct=qt(),or=Hn(),er=ai(),Or=TypeError,Cr=function(pn,mn){this.stopped=pn,this.result=mn},Oe=Cr.prototype;le.exports=function(pn,mn,ui){var Oi=ui&&ui.that,Yi=!!(ui&&ui.AS_ENTRIES),Ye=!!(ui&&ui.IS_RECORD),Es=!!(ui&&ui.IS_ITERATOR),ko=!!(ui&&ui.INTERRUPTED),Ho=ae(mn,Oi),vs,fo,Cs,Jo,ao,Ks,_u,So=function(mo){return vs&&er(vs,"normal",mo),new Cr(!0,mo)},Ys=function(mo){return Yi?(xe(mo),ko?Ho(mo[0],mo[1],So):Ho(mo[0],mo[1])):ko?Ho(mo,So):Ho(mo)};if(Ye)vs=pn.iterator;else if(Es)vs=pn;else{if(fo=or(pn),!fo)throw Or(Le(pn)+" is not iterable");if(nt(fo)){for(Cs=0,Jo=dt(pn);Jo>Cs;Cs++)if(ao=Ys(pn[Cs]),ao&&Ge(Oe,ao))return ao;return new Cr(!1)}vs=Ct(pn,fo)}for(Ks=Ye?pn.next:vs.next;!(_u=Ee(Ks,vs)).done;){try{ao=Ys(_u.value)}catch(mo){er(vs,"throw",mo)}if(typeof ao=="object"&&ao&&Ge(Oe,ao))return ao}return new Cr(!1)}}),Dr=t((ge,le)=>{var ae=ds(),Ee=zr(),xe=m();le.exports=function(Le,nt,dt){var Ge=ae(nt);Ge in Le?Ee.f(Le,Ge,xe(0,dt)):Le[Ge]=dt}}),xt=t(()=>{var ge=Go(),le=mi(),ae=Dr();ge({target:"Object",stat:!0},{fromEntries:function(Ee){var xe={};return le(Ee,function(Le,nt){ae(xe,Le,nt)},{AS_ENTRIES:!0}),xe}})}),Ot=t((ge,le)=>{var ae=Lr(),Ee=zr();le.exports=function(xe,Le,nt){return nt.get&&ae(nt.get,Le,{getter:!0}),nt.set&&ae(nt.set,Le,{setter:!0}),Ee.f(xe,Le,nt)}}),At=t((ge,le)=>{var ae=cn();le.exports=function(){var Ee=ae(this),xe="";return Ee.hasIndices&&(xe+="d"),Ee.global&&(xe+="g"),Ee.ignoreCase&&(xe+="i"),Ee.multiline&&(xe+="m"),Ee.dotAll&&(xe+="s"),Ee.unicode&&(xe+="u"),Ee.unicodeSets&&(xe+="v"),Ee.sticky&&(xe+="y"),xe}}),vt=t(()=>{var ge=n(),le=s(),ae=Ot(),Ee=At(),xe=i(),Le=ge.RegExp,nt=Le.prototype,dt=le&&xe(function(){var Ge=!0;try{Le(".","d")}catch{Ge=!1}var Ct={},or="",er=Ge?"dgimsy":"gimsy",Or=function(mn,ui){Object.defineProperty(Ct,mn,{get:function(){return or+=ui,!0}})},Cr={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Ge&&(Cr.hasIndices="d");for(var Oe in Cr)Or(Oe,Cr[Oe]);var pn=Object.getOwnPropertyDescriptor(nt,"flags").get.call(Ct);return pn!==er||or!==er});dt&&ae(nt,"flags",{configurable:!0,get:Ee})}),Ke=t(()=>{var ge=Go(),le=n();ge({global:!0,forced:le.globalThis!==le},{globalThis:le})}),$e=t(()=>{Ke()}),Ie=t(()=>{var ge=Go(),le=Kt(),ae=jn(),Ee=xn(),xe=on(),Le=Kr();ge({target:"Array",proto:!0},{flat:function(){var nt=arguments.length?arguments[0]:void 0,dt=ae(this),Ge=Ee(dt),Ct=Le(dt,0);return Ct.length=le(Ct,dt,dt,Ge,0,nt===void 0?1:xe(nt)),Ct}})}),Ze=t((ge,le)=>{var ae=["cliName","cliCategory","cliDescription"],Ee=["_"],xe=["languageId"];function Le(u,h){if(u==null)return{};var f=nt(u,h),d,y;if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(u);for(y=0;y<D.length;y++)d=D[y],!(h.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(u,d)&&(f[d]=u[d])}return f}function nt(u,h){if(u==null)return{};var f={},d=Object.keys(u),y,D;for(D=0;D<d.length;D++)y=d[D],!(h.indexOf(y)>=0)&&(f[y]=u[y]);return f}Rt(),xt(),vt(),$e(),Ie();var dt=Object.create,Ge=Object.defineProperty,Ct=Object.getOwnPropertyDescriptor,or=Object.getOwnPropertyNames,er=Object.getPrototypeOf,Or=Object.prototype.hasOwnProperty,Cr=(u,h)=>function(){return u&&(h=(0,u[or(u)[0]])(u=0)),h},Oe=(u,h)=>function(){return h||(0,u[or(u)[0]])((h={exports:{}}).exports,h),h.exports},pn=(u,h)=>{for(var f in h)Ge(u,f,{get:h[f],enumerable:!0})},mn=(u,h,f,d)=>{if(h&&typeof h=="object"||typeof h=="function")for(let y of or(h))!Or.call(u,y)&&y!==f&&Ge(u,y,{get:()=>h[y],enumerable:!(d=Ct(h,y))||d.enumerable});return u},ui=(u,h,f)=>(f=u!=null?dt(er(u)):{},mn(h||!u||!u.__esModule?Ge(f,"default",{value:u,enumerable:!0}):f,u)),Oi=u=>mn(Ge({},"__esModule",{value:!0}),u),Yi,Ye=Cr({"<define:process>"(){Yi={env:{},argv:[]}}}),Es=Oe({"package.json"(u,h){h.exports={version:"2.8.8"}}}),ko=Oe({"node_modules/diff/lib/diff/base.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.default=h;function h(){}h.prototype={diff:function(y,D){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},x=O.callback;typeof O=="function"&&(x=O,O={}),this.options=O;var v=this;function E(L){return x?(setTimeout(function(){x(void 0,L)},0),!0):L}y=this.castInput(y),D=this.castInput(D),y=this.removeEmpty(this.tokenize(y)),D=this.removeEmpty(this.tokenize(D));var F=D.length,k=y.length,I=1,T=F+k,_=[{newPos:-1,components:[]}],R=this.extractCommon(_[0],D,y,0);if(_[0].newPos+1>=F&&R+1>=k)return E([{value:this.join(D),count:D.length}]);function W(){for(var L=-1*I;L<=I;L+=2){var re=void 0,z=_[L-1],ue=_[L+1],ie=(ue?ue.newPos:0)-L;z&&(_[L-1]=void 0);var Be=z&&z.newPos+1<F,N=ue&&0<=ie&&ie<k;if(!Be&&!N){_[L]=void 0;continue}if(!Be||N&&z.newPos<ue.newPos?(re=d(ue),v.pushComponent(re.components,void 0,!0)):(re=z,re.newPos++,v.pushComponent(re.components,!0,void 0)),ie=v.extractCommon(re,D,y,L),re.newPos+1>=F&&ie+1>=k)return E(f(v,re.components,D,y,v.useLongestToken));_[L]=re}I++}if(x)(function L(){setTimeout(function(){if(I>T)return x();W()||L()},0)})();else for(;I<=T;){var ne=W();if(ne)return ne}},pushComponent:function(y,D,O){var x=y[y.length-1];x&&x.added===D&&x.removed===O?y[y.length-1]={count:x.count+1,added:D,removed:O}:y.push({count:1,added:D,removed:O})},extractCommon:function(y,D,O,x){for(var v=D.length,E=O.length,F=y.newPos,k=F-x,I=0;F+1<v&&k+1<E&&this.equals(D[F+1],O[k+1]);)F++,k++,I++;return I&&y.components.push({count:I}),y.newPos=F,k},equals:function(y,D){return this.options.comparator?this.options.comparator(y,D):y===D||this.options.ignoreCase&&y.toLowerCase()===D.toLowerCase()},removeEmpty:function(y){for(var D=[],O=0;O<y.length;O++)y[O]&&D.push(y[O]);return D},castInput:function(y){return y},tokenize:function(y){return y.split("")},join:function(y){return y.join("")}};function f(y,D,O,x,v){for(var E=0,F=D.length,k=0,I=0;E<F;E++){var T=D[E];if(T.removed){if(T.value=y.join(x.slice(I,I+T.count)),I+=T.count,E&&D[E-1].added){var _=D[E-1];D[E-1]=D[E],D[E]=_}}else{if(!T.added&&v){var R=O.slice(k,k+T.count);R=R.map(function(ne,L){var re=x[I+L];return re.length>ne.length?re:ne}),T.value=y.join(R)}else T.value=y.join(O.slice(k,k+T.count));k+=T.count,T.added||(I+=T.count)}}var W=D[F-1];return F>1&&typeof W.value=="string"&&(W.added||W.removed)&&y.equals("",W.value)&&(D[F-2].value+=W.value,D.pop()),D}function d(y){return{newPos:y.newPos,components:y.components.slice(0)}}}}),Ho=Oe({"node_modules/diff/lib/diff/array.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.diffArrays=y,u.arrayDiff=void 0;var h=f(ko());function f(D){return D&&D.__esModule?D:{default:D}}var d=new h.default;u.arrayDiff=d,d.tokenize=function(D){return D.slice()},d.join=d.removeEmpty=function(D){return D};function y(D,O,x){return d.diff(D,O,x)}}}),vs=Oe({"src/document/doc-builders.js"(u,h){Ye();function f(j){return{type:"concat",parts:j}}function d(j){return{type:"indent",contents:j}}function y(j,A){return{type:"align",contents:A,n:j}}function D(j){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:A.id,contents:j,break:!!A.shouldBreak,expandedStates:A.expandedStates}}function O(j){return y(Number.NEGATIVE_INFINITY,j)}function x(j){return y({type:"root"},j)}function v(j){return y(-1,j)}function E(j,A){return D(j[0],Object.assign(Object.assign({},A),{},{expandedStates:j}))}function F(j){return{type:"fill",parts:j}}function k(j,A){let M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:j,flatContents:A,groupId:M.groupId}}function I(j,A){return{type:"indent-if-break",contents:j,groupId:A.groupId,negate:A.negate}}function T(j){return{type:"line-suffix",contents:j}}var _={type:"line-suffix-boundary"},R={type:"break-parent"},W={type:"trim"},ne={type:"line",hard:!0},L={type:"line",hard:!0,literal:!0},re={type:"line"},z={type:"line",soft:!0},ue=f([ne,R]),ie=f([L,R]),Be={type:"cursor",placeholder:Symbol("cursor")};function N(j,A){let M=[];for(let Q=0;Q<A.length;Q++)Q!==0&&M.push(j),M.push(A[Q]);return f(M)}function Z(j,A,M){let Q=j;if(A>0){for(let U=0;U<Math.floor(A/M);++U)Q=d(Q);Q=y(A%M,Q),Q=y(Number.NEGATIVE_INFINITY,Q)}return Q}function B(j,A){return{type:"label",label:j,contents:A}}h.exports={concat:f,join:N,line:re,softline:z,hardline:ue,literalline:ie,group:D,conditionalGroup:E,fill:F,lineSuffix:T,lineSuffixBoundary:_,cursor:Be,breakParent:R,ifBreak:k,trim:W,indent:d,indentIfBreak:I,align:y,addAlignmentToDoc:Z,markAsRoot:x,dedentToRoot:O,dedent:v,hardlineWithoutBreakParent:ne,literallineWithoutBreakParent:L,label:B}}}),fo=Oe({"src/common/end-of-line.js"(u,h){Ye();function f(O){let x=O.indexOf("\r");return x>=0?O.charAt(x+1)===`
|
||
`?"crlf":"cr":"lf"}function d(O){switch(O){case"cr":return"\r";case"crlf":return`\r
|
||
`;default:return`
|
||
`}}function y(O,x){let v;switch(x){case`
|
||
`:v=/\n/g;break;case"\r":v=/\r/g;break;case`\r
|
||
`:v=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(x)}.`)}let E=O.match(v);return E?E.length:0}function D(O){return O.replace(/\r\n?/g,`
|
||
`)}h.exports={guessEndOfLine:f,convertEndOfLineToChars:d,countEndOfLineChars:y,normalizeEndOfLine:D}}}),Cs=Oe({"src/utils/get-last.js"(u,h){Ye();var f=d=>d[d.length-1];h.exports=f}});function Jo(){let{onlyFirst:u=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(h,u?void 0:"g")}var ao=Cr({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Ye()}});function Ks(u){if(typeof u!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof u}\``);return u.replace(Jo(),"")}var _u=Cr({"node_modules/strip-ansi/index.js"(){Ye(),ao()}});function So(u){return Number.isInteger(u)?u>=4352&&(u<=4447||u===9001||u===9002||11904<=u&&u<=12871&&u!==12351||12880<=u&&u<=19903||19968<=u&&u<=42182||43360<=u&&u<=43388||44032<=u&&u<=55203||63744<=u&&u<=64255||65040<=u&&u<=65049||65072<=u&&u<=65131||65281<=u&&u<=65376||65504<=u&&u<=65510||110592<=u&&u<=110593||127488<=u&&u<=127569||131072<=u&&u<=262141):!1}var Ys=Cr({"node_modules/is-fullwidth-code-point/index.js"(){Ye()}}),mo=Oe({"node_modules/emoji-regex/index.js"(u,h){Ye(),h.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),wl={};pn(wl,{default:()=>Al});function Al(u){if(typeof u!="string"||u.length===0||(u=Ks(u),u.length===0))return 0;u=u.replace((0,$u.default)()," ");let h=0;for(let f=0;f<u.length;f++){let d=u.codePointAt(f);d<=31||d>=127&&d<=159||d>=768&&d<=879||(d>65535&&f++,h+=So(d)?2:1)}return h}var $u,Tl=Cr({"node_modules/string-width/index.js"(){Ye(),_u(),Ys(),$u=ui(mo())}}),su=Oe({"src/utils/get-string-width.js"(u,h){Ye();var f=(Tl(),Oi(wl)).default,d=/[^\x20-\x7F]/;function y(D){return D?d.test(D)?f(D):D.length:0}h.exports=y}}),$a=Oe({"src/document/doc-utils.js"(u,h){Ye();var f=Cs(),{literalline:d,join:y}=vs(),D=A=>Array.isArray(A)||A&&A.type==="concat",O=A=>{if(Array.isArray(A))return A;if(A.type!=="concat"&&A.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return A.parts},x={};function v(A,M,Q,U){let q=[A];for(;q.length>0;){let K=q.pop();if(K===x){Q(q.pop());continue}if(Q&&q.push(K,x),!M||M(K)!==!1)if(D(K)||K.type==="fill"){let he=O(K);for(let Te=he.length,_e=Te-1;_e>=0;--_e)q.push(he[_e])}else if(K.type==="if-break")K.flatContents&&q.push(K.flatContents),K.breakContents&&q.push(K.breakContents);else if(K.type==="group"&&K.expandedStates)if(U)for(let he=K.expandedStates.length,Te=he-1;Te>=0;--Te)q.push(K.expandedStates[Te]);else q.push(K.contents);else K.contents&&q.push(K.contents)}}function E(A,M){let Q=new Map;return U(A);function U(K){if(Q.has(K))return Q.get(K);let he=q(K);return Q.set(K,he),he}function q(K){if(Array.isArray(K))return M(K.map(U));if(K.type==="concat"||K.type==="fill"){let he=K.parts.map(U);return M(Object.assign(Object.assign({},K),{},{parts:he}))}if(K.type==="if-break"){let he=K.breakContents&&U(K.breakContents),Te=K.flatContents&&U(K.flatContents);return M(Object.assign(Object.assign({},K),{},{breakContents:he,flatContents:Te}))}if(K.type==="group"&&K.expandedStates){let he=K.expandedStates.map(U),Te=he[0];return M(Object.assign(Object.assign({},K),{},{contents:Te,expandedStates:he}))}if(K.contents){let he=U(K.contents);return M(Object.assign(Object.assign({},K),{},{contents:he}))}return M(K)}}function F(A,M,Q){let U=Q,q=!1;function K(he){let Te=M(he);if(Te!==void 0&&(q=!0,U=Te),q)return!1}return v(A,K),U}function k(A){if(A.type==="group"&&A.break||A.type==="line"&&A.hard||A.type==="break-parent")return!0}function I(A){return F(A,k,!1)}function T(A){if(A.length>0){let M=f(A);!M.expandedStates&&!M.break&&(M.break="propagated")}return null}function _(A){let M=new Set,Q=[];function U(K){if(K.type==="break-parent"&&T(Q),K.type==="group"){if(Q.push(K),M.has(K))return!1;M.add(K)}}function q(K){K.type==="group"&&Q.pop().break&&T(Q)}v(A,U,q,!0)}function R(A){return A.type==="line"&&!A.hard?A.soft?"":" ":A.type==="if-break"?A.flatContents||"":A}function W(A){return E(A,R)}var ne=(A,M)=>A&&A.type==="line"&&A.hard&&M&&M.type==="break-parent";function L(A){if(!A)return A;if(D(A)||A.type==="fill"){let M=O(A);for(;M.length>1&&ne(...M.slice(-2));)M.length-=2;if(M.length>0){let Q=L(f(M));M[M.length-1]=Q}return Array.isArray(A)?M:Object.assign(Object.assign({},A),{},{parts:M})}switch(A.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let M=L(A.contents);return Object.assign(Object.assign({},A),{},{contents:M})}case"if-break":{let M=L(A.breakContents),Q=L(A.flatContents);return Object.assign(Object.assign({},A),{},{breakContents:M,flatContents:Q})}}return A}function re(A){return L(ue(A))}function z(A){switch(A.type){case"fill":if(A.parts.every(Q=>Q===""))return"";break;case"group":if(!A.contents&&!A.id&&!A.break&&!A.expandedStates)return"";if(A.contents.type==="group"&&A.contents.id===A.id&&A.contents.break===A.break&&A.contents.expandedStates===A.expandedStates)return A.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!A.contents)return"";break;case"if-break":if(!A.flatContents&&!A.breakContents)return"";break}if(!D(A))return A;let M=[];for(let Q of O(A)){if(!Q)continue;let[U,...q]=D(Q)?O(Q):[Q];typeof U=="string"&&typeof f(M)=="string"?M[M.length-1]+=U:M.push(U),M.push(...q)}return M.length===0?"":M.length===1?M[0]:Array.isArray(A)?M:Object.assign(Object.assign({},A),{},{parts:M})}function ue(A){return E(A,M=>z(M))}function ie(A){let M=[],Q=A.filter(Boolean);for(;Q.length>0;){let U=Q.shift();if(U){if(D(U)){Q.unshift(...O(U));continue}if(M.length>0&&typeof f(M)=="string"&&typeof U=="string"){M[M.length-1]+=U;continue}M.push(U)}}return M}function Be(A){return E(A,M=>Array.isArray(M)?ie(M):M.parts?Object.assign(Object.assign({},M),{},{parts:ie(M.parts)}):M)}function N(A){return E(A,M=>typeof M=="string"&&M.includes(`
|
||
`)?Z(M):M)}function Z(A){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d;return y(M,A.split(`
|
||
`)).parts}function B(A){if(A.type==="line")return!0}function j(A){return F(A,B,!1)}h.exports={isConcat:D,getDocParts:O,willBreak:I,traverseDoc:v,findInDoc:F,mapDoc:E,propagateBreaks:_,removeLines:W,stripTrailingHardline:re,normalizeParts:ie,normalizeDoc:Be,cleanDoc:ue,replaceTextEndOfLine:Z,replaceEndOfLine:N,canBreak:j}}}),lc=Oe({"src/document/doc-printer.js"(u,h){Ye();var{convertEndOfLineToChars:f}=fo(),d=Cs(),y=su(),{fill:D,cursor:O,indent:x}=vs(),{isConcat:v,getDocParts:E}=$a(),F,k=1,I=2;function T(){return{value:"",length:0,queue:[]}}function _(z,ue){return W(z,{type:"indent"},ue)}function R(z,ue,ie){return ue===Number.NEGATIVE_INFINITY?z.root||T():ue<0?W(z,{type:"dedent"},ie):ue?ue.type==="root"?Object.assign(Object.assign({},z),{},{root:z}):W(z,{type:typeof ue=="string"?"stringAlign":"numberAlign",n:ue},ie):z}function W(z,ue,ie){let Be=ue.type==="dedent"?z.queue.slice(0,-1):[...z.queue,ue],N="",Z=0,B=0,j=0;for(let he of Be)switch(he.type){case"indent":Q(),ie.useTabs?A(1):M(ie.tabWidth);break;case"stringAlign":Q(),N+=he.n,Z+=he.n.length;break;case"numberAlign":B+=1,j+=he.n;break;default:throw new Error(`Unexpected type '${he.type}'`)}return q(),Object.assign(Object.assign({},z),{},{value:N,length:Z,queue:Be});function A(he){N+=" ".repeat(he),Z+=ie.tabWidth*he}function M(he){N+=" ".repeat(he),Z+=he}function Q(){ie.useTabs?U():q()}function U(){B>0&&A(B),K()}function q(){j>0&&M(j),K()}function K(){B=0,j=0}}function ne(z){if(z.length===0)return 0;let ue=0;for(;z.length>0&&typeof d(z)=="string"&&/^[\t ]*$/.test(d(z));)ue+=z.pop().length;if(z.length>0&&typeof d(z)=="string"){let ie=d(z).replace(/[\t ]*$/,"");ue+=d(z).length-ie.length,z[z.length-1]=ie}return ue}function L(z,ue,ie,Be,N){let Z=ue.length,B=[z],j=[];for(;ie>=0;){if(B.length===0){if(Z===0)return!0;B.push(ue[--Z]);continue}let{mode:A,doc:M}=B.pop();if(typeof M=="string")j.push(M),ie-=y(M);else if(v(M)||M.type==="fill"){let Q=E(M);for(let U=Q.length-1;U>=0;U--)B.push({mode:A,doc:Q[U]})}else switch(M.type){case"indent":case"align":case"indent-if-break":case"label":B.push({mode:A,doc:M.contents});break;case"trim":ie+=ne(j);break;case"group":{if(N&&M.break)return!1;let Q=M.break?k:A,U=M.expandedStates&&Q===k?d(M.expandedStates):M.contents;B.push({mode:Q,doc:U});break}case"if-break":{let Q=(M.groupId?F[M.groupId]||I:A)===k?M.breakContents:M.flatContents;Q&&B.push({mode:A,doc:Q});break}case"line":if(A===k||M.hard)return!0;M.soft||(j.push(" "),ie--);break;case"line-suffix":Be=!0;break;case"line-suffix-boundary":if(Be)return!1;break}}return!1}function re(z,ue){F={};let ie=ue.printWidth,Be=f(ue.endOfLine),N=0,Z=[{ind:T(),mode:k,doc:z}],B=[],j=!1,A=[];for(;Z.length>0;){let{ind:Q,mode:U,doc:q}=Z.pop();if(typeof q=="string"){let K=Be!==`
|
||
`?q.replace(/\n/g,Be):q;B.push(K),N+=y(K)}else if(v(q)){let K=E(q);for(let he=K.length-1;he>=0;he--)Z.push({ind:Q,mode:U,doc:K[he]})}else switch(q.type){case"cursor":B.push(O.placeholder);break;case"indent":Z.push({ind:_(Q,ue),mode:U,doc:q.contents});break;case"align":Z.push({ind:R(Q,q.n,ue),mode:U,doc:q.contents});break;case"trim":N-=ne(B);break;case"group":switch(U){case I:if(!j){Z.push({ind:Q,mode:q.break?k:I,doc:q.contents});break}case k:{j=!1;let K={ind:Q,mode:I,doc:q.contents},he=ie-N,Te=A.length>0;if(!q.break&&L(K,Z,he,Te))Z.push(K);else if(q.expandedStates){let _e=d(q.expandedStates);if(q.break){Z.push({ind:Q,mode:k,doc:_e});break}else for(let Pe=1;Pe<q.expandedStates.length+1;Pe++)if(Pe>=q.expandedStates.length){Z.push({ind:Q,mode:k,doc:_e});break}else{let ze=q.expandedStates[Pe],ye={ind:Q,mode:I,doc:ze};if(L(ye,Z,he,Te)){Z.push(ye);break}}}else Z.push({ind:Q,mode:k,doc:q.contents});break}}q.id&&(F[q.id]=d(Z).mode);break;case"fill":{let K=ie-N,{parts:he}=q;if(he.length===0)break;let[Te,_e]=he,Pe={ind:Q,mode:I,doc:Te},ze={ind:Q,mode:k,doc:Te},ye=L(Pe,[],K,A.length>0,!0);if(he.length===1){ye?Z.push(Pe):Z.push(ze);break}let ct={ind:Q,mode:I,doc:_e},Fe={ind:Q,mode:k,doc:_e};if(he.length===2){ye?Z.push(ct,Pe):Z.push(Fe,ze);break}he.splice(0,2);let Se={ind:Q,mode:U,doc:D(he)},lt=he[0];L({ind:Q,mode:I,doc:[Te,_e,lt]},[],K,A.length>0,!0)?Z.push(Se,ct,Pe):ye?Z.push(Se,Fe,Pe):Z.push(Se,Fe,ze);break}case"if-break":case"indent-if-break":{let K=q.groupId?F[q.groupId]:U;if(K===k){let he=q.type==="if-break"?q.breakContents:q.negate?q.contents:x(q.contents);he&&Z.push({ind:Q,mode:U,doc:he})}if(K===I){let he=q.type==="if-break"?q.flatContents:q.negate?x(q.contents):q.contents;he&&Z.push({ind:Q,mode:U,doc:he})}break}case"line-suffix":A.push({ind:Q,mode:U,doc:q.contents});break;case"line-suffix-boundary":A.length>0&&Z.push({ind:Q,mode:U,doc:{type:"line",hard:!0}});break;case"line":switch(U){case I:if(q.hard)j=!0;else{q.soft||(B.push(" "),N+=1);break}case k:if(A.length>0){Z.push({ind:Q,mode:U,doc:q},...A.reverse()),A.length=0;break}q.literal?Q.root?(B.push(Be,Q.root.value),N=Q.root.length):(B.push(Be),N=0):(N-=ne(B),B.push(Be+Q.value),N=Q.length);break}break;case"label":Z.push({ind:Q,mode:U,doc:q.contents});break}Z.length===0&&A.length>0&&(Z.push(...A.reverse()),A.length=0)}let M=B.indexOf(O.placeholder);if(M!==-1){let Q=B.indexOf(O.placeholder,M+1),U=B.slice(0,M).join(""),q=B.slice(M+1,Q).join(""),K=B.slice(Q+1).join("");return{formatted:U+q+K,cursorNodeStart:U.length,cursorNodeText:q}}return{formatted:B.join("")}}h.exports={printDocToString:re}}}),cc=Oe({"src/document/doc-debug.js"(u,h){Ye();var{isConcat:f,getDocParts:d}=$a();function y(O){if(!O)return"";if(f(O)){let x=[];for(let v of d(O))if(f(v))x.push(...y(v).parts);else{let E=y(v);E!==""&&x.push(E)}return{type:"concat",parts:x}}return O.type==="if-break"?Object.assign(Object.assign({},O),{},{breakContents:y(O.breakContents),flatContents:y(O.flatContents)}):O.type==="group"?Object.assign(Object.assign({},O),{},{contents:y(O.contents),expandedStates:O.expandedStates&&O.expandedStates.map(y)}):O.type==="fill"?{type:"fill",parts:O.parts.map(y)}:O.contents?Object.assign(Object.assign({},O),{},{contents:y(O.contents)}):O}function D(O){let x=Object.create(null),v=new Set;return E(y(O));function E(k,I,T){if(typeof k=="string")return JSON.stringify(k);if(f(k)){let _=d(k).map(E).filter(Boolean);return _.length===1?_[0]:`[${_.join(", ")}]`}if(k.type==="line"){let _=Array.isArray(T)&&T[I+1]&&T[I+1].type==="break-parent";return k.literal?_?"literalline":"literallineWithoutBreakParent":k.hard?_?"hardline":"hardlineWithoutBreakParent":k.soft?"softline":"line"}if(k.type==="break-parent")return Array.isArray(T)&&T[I-1]&&T[I-1].type==="line"&&T[I-1].hard?void 0:"breakParent";if(k.type==="trim")return"trim";if(k.type==="indent")return"indent("+E(k.contents)+")";if(k.type==="align")return k.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+E(k.contents)+")":k.n<0?"dedent("+E(k.contents)+")":k.n.type==="root"?"markAsRoot("+E(k.contents)+")":"align("+JSON.stringify(k.n)+", "+E(k.contents)+")";if(k.type==="if-break")return"ifBreak("+E(k.breakContents)+(k.flatContents?", "+E(k.flatContents):"")+(k.groupId?(k.flatContents?"":', ""')+`, { groupId: ${F(k.groupId)} }`:"")+")";if(k.type==="indent-if-break"){let _=[];k.negate&&_.push("negate: true"),k.groupId&&_.push(`groupId: ${F(k.groupId)}`);let R=_.length>0?`, { ${_.join(", ")} }`:"";return`indentIfBreak(${E(k.contents)}${R})`}if(k.type==="group"){let _=[];k.break&&k.break!=="propagated"&&_.push("shouldBreak: true"),k.id&&_.push(`id: ${F(k.id)}`);let R=_.length>0?`, { ${_.join(", ")} }`:"";return k.expandedStates?`conditionalGroup([${k.expandedStates.map(W=>E(W)).join(",")}]${R})`:`group(${E(k.contents)}${R})`}if(k.type==="fill")return`fill([${k.parts.map(_=>E(_)).join(", ")}])`;if(k.type==="line-suffix")return"lineSuffix("+E(k.contents)+")";if(k.type==="line-suffix-boundary")return"lineSuffixBoundary";if(k.type==="label")return`label(${JSON.stringify(k.label)}, ${E(k.contents)})`;throw new Error("Unknown doc type "+k.type)}function F(k){if(typeof k!="symbol")return JSON.stringify(String(k));if(k in x)return x[k];let I=String(k).slice(7,-1)||"symbol";for(let T=0;;T++){let _=I+(T>0?` #${T}`:"");if(!v.has(_))return v.add(_),x[k]=`Symbol.for(${JSON.stringify(_)})`}}}h.exports={printDocToDebug:D}}}),Ln=Oe({"src/document/index.js"(u,h){Ye(),h.exports={builders:vs(),printer:lc(),utils:$a(),debug:cc()}}}),Pl={};pn(Pl,{default:()=>hc});function hc(u){if(typeof u!="string")throw new TypeError("Expected a string");return u.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var pc=Cr({"node_modules/escape-string-regexp/index.js"(){Ye()}}),kl=Oe({"node_modules/semver/internal/debug.js"(u,h){Ye();var f=typeof Yi=="object"&&Yi.env&&Yi.env.NODE_DEBUG&&/\bsemver\b/i.test(Yi.env.NODE_DEBUG)?function(){for(var d=arguments.length,y=new Array(d),D=0;D<d;D++)y[D]=arguments[D];return console.error("SEMVER",...y)}:()=>{};h.exports=f}}),Bu=Oe({"node_modules/semver/internal/constants.js"(u,h){Ye();var f="2.0.0",d=256,y=Number.MAX_SAFE_INTEGER||9007199254740991,D=16;h.exports={SEMVER_SPEC_VERSION:f,MAX_LENGTH:d,MAX_SAFE_INTEGER:y,MAX_SAFE_COMPONENT_LENGTH:D}}}),Fl=Oe({"node_modules/semver/internal/re.js"(u,h){Ye();var{MAX_SAFE_COMPONENT_LENGTH:f}=Bu(),d=kl();u=h.exports={};var y=u.re=[],D=u.src=[],O=u.t={},x=0,v=(E,F,k)=>{let I=x++;d(E,I,F),O[E]=I,D[I]=F,y[I]=new RegExp(F,k?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*"),v("NUMERICIDENTIFIERLOOSE","[0-9]+"),v("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),v("MAINVERSION",`(${D[O.NUMERICIDENTIFIER]})\\.(${D[O.NUMERICIDENTIFIER]})\\.(${D[O.NUMERICIDENTIFIER]})`),v("MAINVERSIONLOOSE",`(${D[O.NUMERICIDENTIFIERLOOSE]})\\.(${D[O.NUMERICIDENTIFIERLOOSE]})\\.(${D[O.NUMERICIDENTIFIERLOOSE]})`),v("PRERELEASEIDENTIFIER",`(?:${D[O.NUMERICIDENTIFIER]}|${D[O.NONNUMERICIDENTIFIER]})`),v("PRERELEASEIDENTIFIERLOOSE",`(?:${D[O.NUMERICIDENTIFIERLOOSE]}|${D[O.NONNUMERICIDENTIFIER]})`),v("PRERELEASE",`(?:-(${D[O.PRERELEASEIDENTIFIER]}(?:\\.${D[O.PRERELEASEIDENTIFIER]})*))`),v("PRERELEASELOOSE",`(?:-?(${D[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${D[O.PRERELEASEIDENTIFIERLOOSE]})*))`),v("BUILDIDENTIFIER","[0-9A-Za-z-]+"),v("BUILD",`(?:\\+(${D[O.BUILDIDENTIFIER]}(?:\\.${D[O.BUILDIDENTIFIER]})*))`),v("FULLPLAIN",`v?${D[O.MAINVERSION]}${D[O.PRERELEASE]}?${D[O.BUILD]}?`),v("FULL",`^${D[O.FULLPLAIN]}$`),v("LOOSEPLAIN",`[v=\\s]*${D[O.MAINVERSIONLOOSE]}${D[O.PRERELEASELOOSE]}?${D[O.BUILD]}?`),v("LOOSE",`^${D[O.LOOSEPLAIN]}$`),v("GTLT","((?:<|>)?=?)"),v("XRANGEIDENTIFIERLOOSE",`${D[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),v("XRANGEIDENTIFIER",`${D[O.NUMERICIDENTIFIER]}|x|X|\\*`),v("XRANGEPLAIN",`[v=\\s]*(${D[O.XRANGEIDENTIFIER]})(?:\\.(${D[O.XRANGEIDENTIFIER]})(?:\\.(${D[O.XRANGEIDENTIFIER]})(?:${D[O.PRERELEASE]})?${D[O.BUILD]}?)?)?`),v("XRANGEPLAINLOOSE",`[v=\\s]*(${D[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${D[O.XRANGEIDENTIFIERLOOSE]})(?:${D[O.PRERELEASELOOSE]})?${D[O.BUILD]}?)?)?`),v("XRANGE",`^${D[O.GTLT]}\\s*${D[O.XRANGEPLAIN]}$`),v("XRANGELOOSE",`^${D[O.GTLT]}\\s*${D[O.XRANGEPLAINLOOSE]}$`),v("COERCE",`(^|[^\\d])(\\d{1,${f}})(?:\\.(\\d{1,${f}}))?(?:\\.(\\d{1,${f}}))?(?:$|[^\\d])`),v("COERCERTL",D[O.COERCE],!0),v("LONETILDE","(?:~>?)"),v("TILDETRIM",`(\\s*)${D[O.LONETILDE]}\\s+`,!0),u.tildeTrimReplace="$1~",v("TILDE",`^${D[O.LONETILDE]}${D[O.XRANGEPLAIN]}$`),v("TILDELOOSE",`^${D[O.LONETILDE]}${D[O.XRANGEPLAINLOOSE]}$`),v("LONECARET","(?:\\^)"),v("CARETTRIM",`(\\s*)${D[O.LONECARET]}\\s+`,!0),u.caretTrimReplace="$1^",v("CARET",`^${D[O.LONECARET]}${D[O.XRANGEPLAIN]}$`),v("CARETLOOSE",`^${D[O.LONECARET]}${D[O.XRANGEPLAINLOOSE]}$`),v("COMPARATORLOOSE",`^${D[O.GTLT]}\\s*(${D[O.LOOSEPLAIN]})$|^$`),v("COMPARATOR",`^${D[O.GTLT]}\\s*(${D[O.FULLPLAIN]})$|^$`),v("COMPARATORTRIM",`(\\s*)${D[O.GTLT]}\\s*(${D[O.LOOSEPLAIN]}|${D[O.XRANGEPLAIN]})`,!0),u.comparatorTrimReplace="$1$2$3",v("HYPHENRANGE",`^\\s*(${D[O.XRANGEPLAIN]})\\s+-\\s+(${D[O.XRANGEPLAIN]})\\s*$`),v("HYPHENRANGELOOSE",`^\\s*(${D[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${D[O.XRANGEPLAINLOOSE]})\\s*$`),v("STAR","(<|>)?=?\\s*\\*"),v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),uh=Oe({"node_modules/semver/internal/parse-options.js"(u,h){Ye();var f=["includePrerelease","loose","rtl"],d=y=>y?typeof y!="object"?{loose:!0}:f.filter(D=>y[D]).reduce((D,O)=>(D[O]=!0,D),{}):{};h.exports=d}}),fc=Oe({"node_modules/semver/internal/identifiers.js"(u,h){Ye();var f=/^[0-9]+$/,d=(D,O)=>{let x=f.test(D),v=f.test(O);return x&&v&&(D=+D,O=+O),D===O?0:x&&!v?-1:v&&!x?1:D<O?-1:1},y=(D,O)=>d(O,D);h.exports={compareIdentifiers:d,rcompareIdentifiers:y}}}),dc=Oe({"node_modules/semver/classes/semver.js"(u,h){Ye();var f=kl(),{MAX_LENGTH:d,MAX_SAFE_INTEGER:y}=Bu(),{re:D,t:O}=Fl(),x=uh(),{compareIdentifiers:v}=fc(),E=class{constructor(F,k){if(k=x(k),F instanceof E){if(F.loose===!!k.loose&&F.includePrerelease===!!k.includePrerelease)return F;F=F.version}else if(typeof F!="string")throw new TypeError(`Invalid Version: ${F}`);if(F.length>d)throw new TypeError(`version is longer than ${d} characters`);f("SemVer",F,k),this.options=k,this.loose=!!k.loose,this.includePrerelease=!!k.includePrerelease;let I=F.trim().match(k.loose?D[O.LOOSE]:D[O.FULL]);if(!I)throw new TypeError(`Invalid Version: ${F}`);if(this.raw=F,this.major=+I[1],this.minor=+I[2],this.patch=+I[3],this.major>y||this.major<0)throw new TypeError("Invalid major version");if(this.minor>y||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>y||this.patch<0)throw new TypeError("Invalid patch version");I[4]?this.prerelease=I[4].split(".").map(T=>{if(/^[0-9]+$/.test(T)){let _=+T;if(_>=0&&_<y)return _}return T}):this.prerelease=[],this.build=I[5]?I[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(F){if(f("SemVer.compare",this.version,this.options,F),!(F instanceof E)){if(typeof F=="string"&&F===this.version)return 0;F=new E(F,this.options)}return F.version===this.version?0:this.compareMain(F)||this.comparePre(F)}compareMain(F){return F instanceof E||(F=new E(F,this.options)),v(this.major,F.major)||v(this.minor,F.minor)||v(this.patch,F.patch)}comparePre(F){if(F instanceof E||(F=new E(F,this.options)),this.prerelease.length&&!F.prerelease.length)return-1;if(!this.prerelease.length&&F.prerelease.length)return 1;if(!this.prerelease.length&&!F.prerelease.length)return 0;let k=0;do{let I=this.prerelease[k],T=F.prerelease[k];if(f("prerelease compare",k,I,T),I===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(I===void 0)return-1;if(I!==T)return v(I,T)}while(++k)}compareBuild(F){F instanceof E||(F=new E(F,this.options));let k=0;do{let I=this.build[k],T=F.build[k];if(f("prerelease compare",k,I,T),I===void 0&&T===void 0)return 0;if(T===void 0)return 1;if(I===void 0)return-1;if(I!==T)return v(I,T)}while(++k)}inc(F,k){switch(F){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",k);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",k);break;case"prepatch":this.prerelease.length=0,this.inc("patch",k),this.inc("pre",k);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",k),this.inc("pre",k);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let I=this.prerelease.length;for(;--I>=0;)typeof this.prerelease[I]=="number"&&(this.prerelease[I]++,I=-2);I===-1&&this.prerelease.push(0)}k&&(v(this.prerelease[0],k)===0?isNaN(this.prerelease[1])&&(this.prerelease=[k,0]):this.prerelease=[k,0]);break;default:throw new Error(`invalid increment argument: ${F}`)}return this.format(),this.raw=this.version,this}};h.exports=E}}),Oa=Oe({"node_modules/semver/functions/compare.js"(u,h){Ye();var f=dc(),d=(y,D,O)=>new f(y,O).compare(new f(D,O));h.exports=d}}),Nu=Oe({"node_modules/semver/functions/lt.js"(u,h){Ye();var f=Oa(),d=(y,D,O)=>f(y,D,O)<0;h.exports=d}}),xa=Oe({"node_modules/semver/functions/gte.js"(u,h){Ye();var f=Oa(),d=(y,D,O)=>f(y,D,O)>=0;h.exports=d}}),mc=Oe({"src/utils/arrayify.js"(u,h){Ye(),h.exports=(f,d)=>Object.entries(f).map(y=>{let[D,O]=y;return Object.assign({[d]:D},O)})}}),gc=Oe({"node_modules/outdent/lib/index.js"(u,h){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.outdent=void 0;function f(){for(var L=[],re=0;re<arguments.length;re++)L[re]=arguments[re]}function d(){return typeof WeakMap<"u"?new WeakMap:y()}function y(){return{add:f,delete:f,get:f,set:f,has:function(L){return!1}}}var D=Object.prototype.hasOwnProperty,O=function(L,re){return D.call(L,re)};function x(L,re){for(var z in re)O(re,z)&&(L[z]=re[z]);return L}var v=/^[ \t]*(?:\r\n|\r|\n)/,E=/(?:\r\n|\r|\n)[ \t]*$/,F=/^(?:[\r\n]|$)/,k=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,I=/^[ \t]*[\r\n][ \t\r\n]*$/;function T(L,re,z){var ue=0,ie=L[0].match(k);ie&&(ue=ie[1].length);var Be="(\\r\\n|\\r|\\n).{0,"+ue+"}",N=new RegExp(Be,"g");re&&(L=L.slice(1));var Z=z.newline,B=z.trimLeadingNewline,j=z.trimTrailingNewline,A=typeof Z=="string",M=L.length,Q=L.map(function(U,q){return U=U.replace(N,"$1"),q===0&&B&&(U=U.replace(v,"")),q===M-1&&j&&(U=U.replace(E,"")),A&&(U=U.replace(/\r\n|\n|\r/g,function(K){return Z})),U});return Q}function _(L,re){for(var z="",ue=0,ie=L.length;ue<ie;ue++)z+=L[ue],ue<ie-1&&(z+=re[ue]);return z}function R(L){return O(L,"raw")&&O(L,"length")}function W(L){var re=d(),z=d();function ue(Be){for(var N=[],Z=1;Z<arguments.length;Z++)N[Z-1]=arguments[Z];if(R(Be)){var B=Be,j=(N[0]===ue||N[0]===ne)&&I.test(B[0])&&F.test(B[1]),A=j?z:re,M=A.get(B);if(M||(M=T(B,j,L),A.set(B,M)),N.length===0)return M[0];var Q=_(M,j?N.slice(1):N);return Q}else return W(x(x({},L),Be||{}))}var ie=x(ue,{string:function(Be){return T([Be],!1,L)[0]}});return ie}var ne=W({trimLeadingNewline:!0,trimTrailingNewline:!0});if(u.outdent=ne,u.default=ne,typeof h<"u")try{h.exports=ne,Object.defineProperty(ne,"__esModule",{value:!0}),ne.default=ne,ne.outdent=ne}catch{}}}),lh=Oe({"src/main/core-options.js"(u,h){Ye();var{outdent:f}=gc(),d="Config",y="Editor",D="Format",O="Other",x="Output",v="Global",E="Special",F={cursorOffset:{since:"1.4.0",category:E,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:f`
|
||
Print (to stderr) where a cursor at the given position would move to after formatting.
|
||
This option cannot be used with --range-start and --range-end.
|
||
`,cliCategory:y},endOfLine:{since:"1.15.0",category:v,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:f`
|
||
Maintain existing
|
||
(mixed values within one file are normalised by looking at what's used after the first line)
|
||
`}]},filepath:{since:"1.4.0",category:E,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:O,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:E,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:O},parser:{since:"0.0.10",category:v,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:k=>typeof k=="string"||typeof k=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:v,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:k=>typeof k=="string"||typeof k=="object",cliName:"plugin",cliCategory:d},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:v,description:f`
|
||
Custom directory that contains prettier plugins in node_modules subdirectory.
|
||
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
||
Multiple values are accepted.
|
||
`,exception:k=>typeof k=="string"||typeof k=="object",cliName:"plugin-search-dir",cliCategory:d},printWidth:{since:"0.0.0",category:v,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:E,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:f`
|
||
Format code ending at a given character offset (exclusive).
|
||
The range will extend forwards to the end of the selected statement.
|
||
This option cannot be used with --cursor-offset.
|
||
`,cliCategory:y},rangeStart:{since:"1.4.0",category:E,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:f`
|
||
Format code starting at a given character offset.
|
||
The range will extend backwards to the start of the first line containing the selected statement.
|
||
This option cannot be used with --cursor-offset.
|
||
`,cliCategory:y},requirePragma:{since:"1.7.0",category:E,type:"boolean",default:!1,description:f`
|
||
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
||
in order for it to be formatted.
|
||
`,cliCategory:O},tabWidth:{type:"int",category:v,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:v,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:v,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};h.exports={CATEGORY_CONFIG:d,CATEGORY_EDITOR:y,CATEGORY_FORMAT:D,CATEGORY_OTHER:O,CATEGORY_OUTPUT:x,CATEGORY_GLOBAL:v,CATEGORY_SPECIAL:E,options:F}}}),Iu=Oe({"src/main/support.js"(u,h){Ye();var f={compare:Oa(),lt:Nu(),gte:xa()},d=mc(),y=Es().version,D=lh().options;function O(){let{plugins:v=[],showUnreleased:E=!1,showDeprecated:F=!1,showInternal:k=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=y.split("-",1)[0],T=v.flatMap(L=>L.languages||[]).filter(R),_=d(Object.assign({},...v.map(L=>{let{options:re}=L;return re}),D),"name").filter(L=>R(L)&&W(L)).sort((L,re)=>L.name===re.name?0:L.name<re.name?-1:1).map(ne).map(L=>{L=Object.assign({},L),Array.isArray(L.default)&&(L.default=L.default.length===1?L.default[0].value:L.default.filter(R).sort((z,ue)=>f.compare(ue.since,z.since))[0].value),Array.isArray(L.choices)&&(L.choices=L.choices.filter(z=>R(z)&&W(z)),L.name==="parser"&&x(L,T,v));let re=Object.fromEntries(v.filter(z=>z.defaultOptions&&z.defaultOptions[L.name]!==void 0).map(z=>[z.name,z.defaultOptions[L.name]]));return Object.assign(Object.assign({},L),{},{pluginDefaults:re})});return{languages:T,options:_};function R(L){return E||!("since"in L)||L.since&&f.gte(I,L.since)}function W(L){return F||!("deprecated"in L)||L.deprecated&&f.lt(I,L.deprecated)}function ne(L){return k?L:Le(L,ae)}}function x(v,E,F){let k=new Set(v.choices.map(I=>I.value));for(let I of E)if(I.parsers){for(let T of I.parsers)if(!k.has(T)){k.add(T);let _=F.find(W=>W.parsers&&W.parsers[T]),R=I.name;_&&_.name&&(R+=` (plugin: ${_.name})`),v.choices.push({value:T,description:R})}}}h.exports={getSupportInfo:O}}}),Mu=Oe({"src/utils/is-non-empty-array.js"(u,h){Ye();function f(d){return Array.isArray(d)&&d.length>0}h.exports=f}}),go=Oe({"src/utils/text/skip.js"(u,h){Ye();function f(x){return(v,E,F)=>{let k=F&&F.backwards;if(E===!1)return!1;let{length:I}=v,T=E;for(;T>=0&&T<I;){let _=v.charAt(T);if(x instanceof RegExp){if(!x.test(_))return T}else if(!x.includes(_))return T;k?T--:T++}return T===-1||T===I?T:!1}}var d=f(/\s/),y=f(" "),D=f(",; "),O=f(/[^\n\r]/);h.exports={skipWhitespace:d,skipSpaces:y,skipToLineEnd:D,skipEverythingButNewLine:O}}}),Ko=Oe({"src/utils/text/skip-inline-comment.js"(u,h){Ye();function f(d,y){if(y===!1)return!1;if(d.charAt(y)==="/"&&d.charAt(y+1)==="*"){for(let D=y+2;D<d.length;++D)if(d.charAt(D)==="*"&&d.charAt(D+1)==="/")return D+2}return y}h.exports=f}}),ea=Oe({"src/utils/text/skip-trailing-comment.js"(u,h){Ye();var{skipEverythingButNewLine:f}=go();function d(y,D){return D===!1?!1:y.charAt(D)==="/"&&y.charAt(D+1)==="/"?f(y,D):D}h.exports=d}}),Qo=Oe({"src/utils/text/skip-newline.js"(u,h){Ye();function f(d,y,D){let O=D&&D.backwards;if(y===!1)return!1;let x=d.charAt(y);if(O){if(d.charAt(y-1)==="\r"&&x===`
|
||
`)return y-2;if(x===`
|
||
`||x==="\r"||x==="\u2028"||x==="\u2029")return y-1}else{if(x==="\r"&&d.charAt(y+1)===`
|
||
`)return y+2;if(x===`
|
||
`||x==="\r"||x==="\u2028"||x==="\u2029")return y+1}return y}h.exports=f}}),Fo=Oe({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(u,h){Ye();var f=Ko(),d=Qo(),y=ea(),{skipSpaces:D}=go();function O(x,v){let E=null,F=v;for(;F!==E;)E=F,F=D(x,F),F=f(x,F),F=y(x,F),F=d(x,F);return F}h.exports=O}}),fi=Oe({"src/common/util.js"(u,h){Ye();var{default:f}=(pc(),Oi(Pl)),d=Cs(),{getSupportInfo:y}=Iu(),D=Mu(),O=su(),{skipWhitespace:x,skipSpaces:v,skipToLineEnd:E,skipEverythingButNewLine:F}=go(),k=Ko(),I=ea(),T=Qo(),_=Fo(),R=Fe=>Fe[Fe.length-2];function W(Fe){return(Se,lt,kt)=>{let ft=kt&&kt.backwards;if(lt===!1)return!1;let{length:jt}=Se,Ne=lt;for(;Ne>=0&&Ne<jt;){let Je=Se.charAt(Ne);if(Fe instanceof RegExp){if(!Fe.test(Je))return Ne}else if(!Fe.includes(Je))return Ne;ft?Ne--:Ne++}return Ne===-1||Ne===jt?Ne:!1}}function ne(Fe,Se){let lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},kt=v(Fe,lt.backwards?Se-1:Se,lt),ft=T(Fe,kt,lt);return kt!==ft}function L(Fe,Se,lt){for(let kt=Se;kt<lt;++kt)if(Fe.charAt(kt)===`
|
||
`)return!0;return!1}function re(Fe,Se,lt){let kt=lt(Se)-1;kt=v(Fe,kt,{backwards:!0}),kt=T(Fe,kt,{backwards:!0}),kt=v(Fe,kt,{backwards:!0});let ft=T(Fe,kt,{backwards:!0});return kt!==ft}function z(Fe,Se){let lt=null,kt=Se;for(;kt!==lt;)lt=kt,kt=E(Fe,kt),kt=k(Fe,kt),kt=v(Fe,kt);return kt=I(Fe,kt),kt=T(Fe,kt),kt!==!1&&ne(Fe,kt)}function ue(Fe,Se,lt){return z(Fe,lt(Se))}function ie(Fe,Se,lt){return _(Fe,lt(Se))}function Be(Fe,Se,lt){return Fe.charAt(ie(Fe,Se,lt))}function N(Fe,Se){let lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v(Fe,lt.backwards?Se-1:Se,lt)!==Se}function Z(Fe,Se){let lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,kt=0;for(let ft=lt;ft<Fe.length;++ft)Fe[ft]===" "?kt=kt+Se-kt%Se:kt++;return kt}function B(Fe,Se){let lt=Fe.lastIndexOf(`
|
||
`);return lt===-1?0:Z(Fe.slice(lt+1).match(/^[\t ]*/)[0],Se)}function j(Fe,Se){let lt={quote:'"',regex:/"/g,escaped:"""},kt={quote:"'",regex:/'/g,escaped:"'"},ft=Se==="'"?kt:lt,jt=ft===kt?lt:kt,Ne=ft;if(Fe.includes(ft.quote)||Fe.includes(jt.quote)){let Je=(Fe.match(ft.regex)||[]).length,It=(Fe.match(jt.regex)||[]).length;Ne=Je>It?jt:ft}return Ne}function A(Fe,Se){let lt=Fe.slice(1,-1),kt=Se.parser==="json"||Se.parser==="json5"&&Se.quoteProps==="preserve"&&!Se.singleQuote?'"':Se.__isInHtmlAttribute?"'":j(lt,Se.singleQuote?"'":'"').quote;return M(lt,kt,!(Se.parser==="css"||Se.parser==="less"||Se.parser==="scss"||Se.__embeddedInHtml))}function M(Fe,Se,lt){let kt=Se==='"'?"'":'"',ft=/\\(.)|(["'])/gs,jt=Fe.replace(ft,(Ne,Je,It)=>Je===kt?Je:It===Se?"\\"+It:It||(lt&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Je)?Je:"\\"+Je));return Se+jt+Se}function Q(Fe){return Fe.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function U(Fe,Se){let lt=Fe.match(new RegExp(`(${f(Se)})+`,"g"));return lt===null?0:lt.reduce((kt,ft)=>Math.max(kt,ft.length/Se.length),0)}function q(Fe,Se){let lt=Fe.match(new RegExp(`(${f(Se)})+`,"g"));if(lt===null)return 0;let kt=new Map,ft=0;for(let jt of lt){let Ne=jt.length/Se.length;kt.set(Ne,!0),Ne>ft&&(ft=Ne)}for(let jt=1;jt<ft;jt++)if(!kt.get(jt))return jt;return ft+1}function K(Fe,Se){(Fe.comments||(Fe.comments=[])).push(Se),Se.printed=!1,Se.nodeDescription=ct(Fe)}function he(Fe,Se){Se.leading=!0,Se.trailing=!1,K(Fe,Se)}function Te(Fe,Se,lt){Se.leading=!1,Se.trailing=!1,lt&&(Se.marker=lt),K(Fe,Se)}function _e(Fe,Se){Se.leading=!1,Se.trailing=!0,K(Fe,Se)}function Pe(Fe,Se){let{languages:lt}=y({plugins:Se.plugins}),kt=lt.find(ft=>{let{name:jt}=ft;return jt.toLowerCase()===Fe})||lt.find(ft=>{let{aliases:jt}=ft;return Array.isArray(jt)&&jt.includes(Fe)})||lt.find(ft=>{let{extensions:jt}=ft;return Array.isArray(jt)&&jt.includes(`.${Fe}`)});return kt&&kt.parsers[0]}function ze(Fe){return Fe&&Fe.type==="front-matter"}function ye(Fe){let Se=new WeakMap;return function(lt){return Se.has(lt)||Se.set(lt,Symbol(Fe)),Se.get(lt)}}function ct(Fe){let Se=Fe.type||Fe.kind||"(unknown type)",lt=String(Fe.name||Fe.id&&(typeof Fe.id=="object"?Fe.id.name:Fe.id)||Fe.key&&(typeof Fe.key=="object"?Fe.key.name:Fe.key)||Fe.value&&(typeof Fe.value=="object"?"":String(Fe.value))||Fe.operator||"");return lt.length>20&&(lt=lt.slice(0,19)+"…"),Se+(lt?" "+lt:"")}h.exports={inferParserByLanguage:Pe,getStringWidth:O,getMaxContinuousCount:U,getMinNotPresentContinuousCount:q,getPenultimate:R,getLast:d,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:_,getNextNonSpaceNonCommentCharacterIndex:ie,getNextNonSpaceNonCommentCharacter:Be,skip:W,skipWhitespace:x,skipSpaces:v,skipToLineEnd:E,skipEverythingButNewLine:F,skipInlineComment:k,skipTrailingComment:I,skipNewline:T,isNextLineEmptyAfterIndex:z,isNextLineEmpty:ue,isPreviousLineEmpty:re,hasNewline:ne,hasNewlineInRange:L,hasSpaces:N,getAlignmentSize:Z,getIndentSize:B,getPreferredQuote:j,printString:A,printNumber:Q,makeString:M,addLeadingComment:he,addDanglingComment:Te,addTrailingComment:_e,isFrontMatterNode:ze,isNonEmptyArray:D,createGroupIdMapper:ye}}}),Ba={};pn(Ba,{basename:()=>Lu,default:()=>Nr,delimiter:()=>mr,dirname:()=>au,extname:()=>$l,isAbsolute:()=>Na,join:()=>Qu,normalize:()=>Ru,relative:()=>ju,resolve:()=>ou,sep:()=>Ar});function _l(u,h){for(var f=0,d=u.length-1;d>=0;d--){var y=u[d];y==="."?u.splice(d,1):y===".."?(u.splice(d,1),f++):f&&(u.splice(d,1),f--)}if(h)for(;f--;f)u.unshift("..");return u}function ou(){for(var u="",h=!1,f=arguments.length-1;f>=-1&&!h;f--){var d=f>=0?arguments[f]:"/";if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");d&&(u=d+"/"+u,h=d.charAt(0)==="/")}return u=_l(bn(u.split("/"),function(y){return!!y}),!h).join("/"),(h?"/":"")+u||"."}function Ru(u){var h=Na(u),f=rr(u,-1)==="/";return u=_l(bn(u.split("/"),function(d){return!!d}),!h).join("/"),!u&&!h&&(u="."),u&&f&&(u+="/"),(h?"/":"")+u}function Na(u){return u.charAt(0)==="/"}function Qu(){var u=Array.prototype.slice.call(arguments,0);return Ru(bn(u,function(h,f){if(typeof h!="string")throw new TypeError("Arguments to path.join must be strings");return h}).join("/"))}function ju(u,h){u=ou(u).substr(1),h=ou(h).substr(1);function f(E){for(var F=0;F<E.length&&E[F]==="";F++);for(var k=E.length-1;k>=0&&E[k]==="";k--);return F>k?[]:E.slice(F,k-F+1)}for(var d=f(u.split("/")),y=f(h.split("/")),D=Math.min(d.length,y.length),O=D,x=0;x<D;x++)if(d[x]!==y[x]){O=x;break}for(var v=[],x=O;x<d.length;x++)v.push("..");return v=v.concat(y.slice(O)),v.join("/")}function au(u){var h=Vr(u),f=h[0],d=h[1];return!f&&!d?".":(d&&(d=d.substr(0,d.length-1)),f+d)}function Lu(u,h){var f=Vr(u)[2];return h&&f.substr(-1*h.length)===h&&(f=f.substr(0,f.length-h.length)),f}function $l(u){return Vr(u)[3]}function bn(u,h){if(u.filter)return u.filter(h);for(var f=[],d=0;d<u.length;d++)h(u[d],d,u)&&f.push(u[d]);return f}var Ur,Vr,Ar,mr,Nr,rr,vn=Cr({"node-modules-polyfills:path"(){Ye(),Ur=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Vr=function(u){return Ur.exec(u).slice(1)},Ar="/",mr=":",Nr={extname:$l,basename:Lu,dirname:au,sep:Ar,delimiter:mr,relative:ju,join:Qu,isAbsolute:Na,normalize:Ru,resolve:ou},rr="ab".substr(-1)==="b"?function(u,h,f){return u.substr(h,f)}:function(u,h,f){return h<0&&(h=u.length+h),u.substr(h,f)}}}),li=Oe({"node-modules-polyfills-commonjs:path"(u,h){Ye();var f=(vn(),Oi(Ba));if(f&&f.default){h.exports=f.default;for(let d in f)h.exports[d]=f[d]}else f&&(h.exports=f)}}),vi=Oe({"src/common/errors.js"(u,h){Ye();var f=class extends Error{},d=class extends Error{},y=class extends Error{},D=class extends Error{};h.exports={ConfigError:f,DebugError:d,UndefinedParserError:y,ArgExpansionBailout:D}}}),gi={};pn(gi,{__assign:()=>Vt,__asyncDelegator:()=>Pt,__asyncGenerator:()=>at,__asyncValues:()=>qe,__await:()=>ot,__awaiter:()=>Xn,__classPrivateFieldGet:()=>tn,__classPrivateFieldSet:()=>it,__createBinding:()=>xs,__decorate:()=>Qr,__exportStar:()=>Ni,__extends:()=>kn,__generator:()=>ki,__importDefault:()=>Gt,__importStar:()=>Lt,__makeTemplateObject:()=>ut,__metadata:()=>Fs,__param:()=>Bi,__read:()=>eo,__rest:()=>Ti,__spread:()=>te,__spreadArrays:()=>Re,__values:()=>Hi});function kn(u,h){wt(u,h);function f(){this.constructor=u}u.prototype=h===null?Object.create(h):(f.prototype=h.prototype,new f)}function Ti(u,h){var f={};for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&h.indexOf(d)<0&&(f[d]=u[d]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,d=Object.getOwnPropertySymbols(u);y<d.length;y++)h.indexOf(d[y])<0&&Object.prototype.propertyIsEnumerable.call(u,d[y])&&(f[d[y]]=u[d[y]]);return f}function Qr(u,h,f,d){var y=arguments.length,D=y<3?h:d===null?d=Object.getOwnPropertyDescriptor(h,f):d,O;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")D=Reflect.decorate(u,h,f,d);else for(var x=u.length-1;x>=0;x--)(O=u[x])&&(D=(y<3?O(D):y>3?O(h,f,D):O(h,f))||D);return y>3&&D&&Object.defineProperty(h,f,D),D}function Bi(u,h){return function(f,d){h(f,d,u)}}function Fs(u,h){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(u,h)}function Xn(u,h,f,d){function y(D){return D instanceof f?D:new f(function(O){O(D)})}return new(f||(f=Promise))(function(D,O){function x(F){try{E(d.next(F))}catch(k){O(k)}}function v(F){try{E(d.throw(F))}catch(k){O(k)}}function E(F){F.done?D(F.value):y(F.value).then(x,v)}E((d=d.apply(u,h||[])).next())})}function ki(u,h){var f={label:0,sent:function(){if(D[0]&1)throw D[1];return D[1]},trys:[],ops:[]},d,y,D,O;return O={next:x(0),throw:x(1),return:x(2)},typeof Symbol=="function"&&(O[Symbol.iterator]=function(){return this}),O;function x(E){return function(F){return v([E,F])}}function v(E){if(d)throw new TypeError("Generator is already executing.");for(;f;)try{if(d=1,y&&(D=E[0]&2?y.return:E[0]?y.throw||((D=y.return)&&D.call(y),0):y.next)&&!(D=D.call(y,E[1])).done)return D;switch(y=0,D&&(E=[E[0]&2,D.value]),E[0]){case 0:case 1:D=E;break;case 4:return f.label++,{value:E[1],done:!1};case 5:f.label++,y=E[1],E=[0];continue;case 7:E=f.ops.pop(),f.trys.pop();continue;default:if(D=f.trys,!(D=D.length>0&&D[D.length-1])&&(E[0]===6||E[0]===2)){f=0;continue}if(E[0]===3&&(!D||E[1]>D[0]&&E[1]<D[3])){f.label=E[1];break}if(E[0]===6&&f.label<D[1]){f.label=D[1],D=E;break}if(D&&f.label<D[2]){f.label=D[2],f.ops.push(E);break}D[2]&&f.ops.pop(),f.trys.pop();continue}E=h.call(u,f)}catch(F){E=[6,F],y=0}finally{d=D=0}if(E[0]&5)throw E[1];return{value:E[0]?E[1]:void 0,done:!0}}}function xs(u,h,f,d){d===void 0&&(d=f),u[d]=h[f]}function Ni(u,h){for(var f in u)f!=="default"&&!h.hasOwnProperty(f)&&(h[f]=u[f])}function Hi(u){var h=typeof Symbol=="function"&&Symbol.iterator,f=h&&u[h],d=0;if(f)return f.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}function eo(u,h){var f=typeof Symbol=="function"&&u[Symbol.iterator];if(!f)return u;var d=f.call(u),y,D=[],O;try{for(;(h===void 0||h-- >0)&&!(y=d.next()).done;)D.push(y.value)}catch(x){O={error:x}}finally{try{y&&!y.done&&(f=d.return)&&f.call(d)}finally{if(O)throw O.error}}return D}function te(){for(var u=[],h=0;h<arguments.length;h++)u=u.concat(eo(arguments[h]));return u}function Re(){for(var u=0,h=0,f=arguments.length;h<f;h++)u+=arguments[h].length;for(var d=Array(u),y=0,h=0;h<f;h++)for(var D=arguments[h],O=0,x=D.length;O<x;O++,y++)d[y]=D[O];return d}function ot(u){return this instanceof ot?(this.v=u,this):new ot(u)}function at(u,h,f){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=f.apply(u,h||[]),y,D=[];return y={},O("next"),O("throw"),O("return"),y[Symbol.asyncIterator]=function(){return this},y;function O(I){d[I]&&(y[I]=function(T){return new Promise(function(_,R){D.push([I,T,_,R])>1||x(I,T)})})}function x(I,T){try{v(d[I](T))}catch(_){k(D[0][3],_)}}function v(I){I.value instanceof ot?Promise.resolve(I.value.v).then(E,F):k(D[0][2],I)}function E(I){x("next",I)}function F(I){x("throw",I)}function k(I,T){I(T),D.shift(),D.length&&x(D[0][0],D[0][1])}}function Pt(u){var h,f;return h={},d("next"),d("throw",function(y){throw y}),d("return"),h[Symbol.iterator]=function(){return this},h;function d(y,D){h[y]=u[y]?function(O){return(f=!f)?{value:ot(u[y](O)),done:y==="return"}:D?D(O):O}:D}}function qe(u){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var h=u[Symbol.asyncIterator],f;return h?h.call(u):(u=typeof Hi=="function"?Hi(u):u[Symbol.iterator](),f={},d("next"),d("throw"),d("return"),f[Symbol.asyncIterator]=function(){return this},f);function d(D){f[D]=u[D]&&function(O){return new Promise(function(x,v){O=u[D](O),y(x,v,O.done,O.value)})}}function y(D,O,x,v){Promise.resolve(v).then(function(E){D({value:E,done:x})},O)}}function ut(u,h){return Object.defineProperty?Object.defineProperty(u,"raw",{value:h}):u.raw=h,u}function Lt(u){if(u&&u.__esModule)return u;var h={};if(u!=null)for(var f in u)Object.hasOwnProperty.call(u,f)&&(h[f]=u[f]);return h.default=u,h}function Gt(u){return u&&u.__esModule?u:{default:u}}function tn(u,h){if(!h.has(u))throw new TypeError("attempted to get private field on non-instance");return h.get(u)}function it(u,h,f){if(!h.has(u))throw new TypeError("attempted to set private field on non-instance");return h.set(u,f),f}var wt,Vt,ar=Cr({"node_modules/tslib/tslib.es6.js"(){Ye(),wt=function(u,h){return wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,d){f.__proto__=d}||function(f,d){for(var y in d)d.hasOwnProperty(y)&&(f[y]=d[y])},wt(u,h)},Vt=function(){return Vt=Object.assign||function(u){for(var h,f=1,d=arguments.length;f<d;f++){h=arguments[f];for(var y in h)Object.prototype.hasOwnProperty.call(h,y)&&(u[y]=h[y])}return u},Vt.apply(this,arguments)}}}),tr=Oe({"node_modules/vnopts/lib/descriptors/api.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.apiDescriptor={key:h=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(h)?h:JSON.stringify(h),value(h){if(h===null||typeof h!="object")return JSON.stringify(h);if(Array.isArray(h))return`[${h.map(d=>u.apiDescriptor.value(d)).join(", ")}]`;let f=Object.keys(h);return f.length===0?"{}":`{ ${f.map(d=>`${u.apiDescriptor.key(d)}: ${u.apiDescriptor.value(h[d])}`).join(", ")} }`},pair:h=>{let{key:f,value:d}=h;return u.apiDescriptor.value({[f]:d})}}}}),fr=Oe({"node_modules/vnopts/lib/descriptors/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(tr(),u)}}),rn=Oe({"scripts/build/shims/chalk.cjs"(u,h){Ye();var f=d=>d;f.grey=f,f.red=f,f.bold=f,f.yellow=f,f.blue=f,f.default=f,h.exports=f}}),Mn=Oe({"node_modules/vnopts/lib/handlers/deprecated/common.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=rn();u.commonDeprecatedHandler=(f,d,y)=>{let{descriptor:D}=y,O=[`${h.default.yellow(typeof f=="string"?D.key(f):D.pair(f))} is deprecated`];return d&&O.push(`we now treat it as ${h.default.blue(typeof d=="string"?D.key(d):D.pair(d))}`),O.join("; ")+"."}}}),jr=Oe({"node_modules/vnopts/lib/handlers/deprecated/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(Mn(),u)}}),Nn=Oe({"node_modules/vnopts/lib/handlers/invalid/common.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=rn();u.commonInvalidHandler=(f,d,y)=>[`Invalid ${h.default.red(y.descriptor.key(f))} value.`,`Expected ${h.default.blue(y.schemas[f].expected(y))},`,`but received ${h.default.red(y.descriptor.value(d))}.`].join(" ")}}),ri=Oe({"node_modules/vnopts/lib/handlers/invalid/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(Nn(),u)}}),ts=Oe({"node_modules/vnopts/node_modules/leven/index.js"(u,h){Ye();var f=[],d=[];h.exports=function(y,D){if(y===D)return 0;var O=y;y.length>D.length&&(y=D,D=O);var x=y.length,v=D.length;if(x===0)return v;if(v===0)return x;for(;x>0&&y.charCodeAt(~-x)===D.charCodeAt(~-v);)x--,v--;if(x===0)return v;for(var E=0;E<x&&y.charCodeAt(E)===D.charCodeAt(E);)E++;if(x-=E,v-=E,x===0)return v;for(var F,k,I,T,_=0,R=0;_<x;)d[E+_]=y.charCodeAt(E+_),f[_]=++_;for(;R<v;)for(F=D.charCodeAt(E+R),I=R++,k=R,_=0;_<x;_++)T=F===d[E+_]?I:I+1,I=f[_],k=f[_]=I>k?T>k?k+1:T:T>I?I+1:T;return k}}}),Er=Oe({"node_modules/vnopts/lib/handlers/unknown/leven.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=rn(),f=ts();u.levenUnknownHandler=(d,y,D)=>{let{descriptor:O,logger:x,schemas:v}=D,E=[`Ignored unknown option ${h.default.yellow(O.pair({key:d,value:y}))}.`],F=Object.keys(v).sort().find(k=>f(d,k)<3);F&&E.push(`Did you mean ${h.default.blue(O.key(F))}?`),x.warn(E.join(" "))}}}),Zn=Oe({"node_modules/vnopts/lib/handlers/unknown/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(Er(),u)}}),Jn=Oe({"node_modules/vnopts/lib/handlers/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(jr(),u),h.__exportStar(ri(),u),h.__exportStar(Zn(),u)}}),xi=Oe({"node_modules/vnopts/lib/schema.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function f(D,O){let x=new D(O),v=Object.create(x);for(let E of h)E in O&&(v[E]=y(O[E],x,d.prototype[E].length));return v}u.createSchema=f;var d=class{constructor(D){this.name=D.name}static create(D){return f(this,D)}default(D){}expected(D){return"nothing"}validate(D,O){return!1}deprecated(D,O){return!1}forward(D,O){}redirect(D,O){}overlap(D,O,x){return D}preprocess(D,O){return D}postprocess(D,O){return D}};u.Schema=d;function y(D,O,x){return typeof D=="function"?function(){for(var v=arguments.length,E=new Array(v),F=0;F<v;F++)E[F]=arguments[F];return D(...E.slice(0,x-1),O,...E.slice(x-1))}:()=>D}}}),Ei=Oe({"node_modules/vnopts/lib/schemas/alias.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{constructor(d){super(d),this._sourceName=d.sourceName}expected(d){return d.schemas[this._sourceName].expected(d)}validate(d,y){return y.schemas[this._sourceName].validate(d,y)}redirect(d,y){return this._sourceName}};u.AliasSchema=f}}),Me=Oe({"node_modules/vnopts/lib/schemas/any.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{expected(){return"anything"}validate(){return!0}};u.AnySchema=f}}),st=Oe({"node_modules/vnopts/lib/schemas/array.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi)),f=xi(),d=class extends f.Schema{constructor(D){var{valueSchema:O,name:x=O.name}=D,v=h.__rest(D,["valueSchema","name"]);super(Object.assign({},v,{name:x})),this._valueSchema=O}expected(D){return`an array of ${this._valueSchema.expected(D)}`}validate(D,O){if(!Array.isArray(D))return!1;let x=[];for(let v of D){let E=O.normalizeValidateResult(this._valueSchema.validate(v,O),v);E!==!0&&x.push(E.value)}return x.length===0?!0:{value:x}}deprecated(D,O){let x=[];for(let v of D){let E=O.normalizeDeprecatedResult(this._valueSchema.deprecated(v,O),v);E!==!1&&x.push(...E.map(F=>{let{value:k}=F;return{value:[k]}}))}return x}forward(D,O){let x=[];for(let v of D){let E=O.normalizeForwardResult(this._valueSchema.forward(v,O),v);x.push(...E.map(y))}return x}redirect(D,O){let x=[],v=[];for(let E of D){let F=O.normalizeRedirectResult(this._valueSchema.redirect(E,O),E);"remain"in F&&x.push(F.remain),v.push(...F.redirect.map(y))}return x.length===0?{redirect:v}:{redirect:v,remain:x}}overlap(D,O){return D.concat(O)}};u.ArraySchema=d;function y(D){let{from:O,to:x}=D;return{from:[O],to:x}}}}),sr=Oe({"node_modules/vnopts/lib/schemas/boolean.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{expected(){return"true or false"}validate(d){return typeof d=="boolean"}};u.BooleanSchema=f}}),Xt=Oe({"node_modules/vnopts/lib/utils.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});function h(T,_){let R=Object.create(null);for(let W of T){let ne=W[_];if(R[ne])throw new Error(`Duplicate ${_} ${JSON.stringify(ne)}`);R[ne]=W}return R}u.recordFromArray=h;function f(T,_){let R=new Map;for(let W of T){let ne=W[_];if(R.has(ne))throw new Error(`Duplicate ${_} ${JSON.stringify(ne)}`);R.set(ne,W)}return R}u.mapFromArray=f;function d(){let T=Object.create(null);return _=>{let R=JSON.stringify(_);return T[R]?!0:(T[R]=!0,!1)}}u.createAutoChecklist=d;function y(T,_){let R=[],W=[];for(let ne of T)_(ne)?R.push(ne):W.push(ne);return[R,W]}u.partition=y;function D(T){return T===Math.floor(T)}u.isInt=D;function O(T,_){if(T===_)return 0;let R=typeof T,W=typeof _,ne=["undefined","object","boolean","number","string"];return R!==W?ne.indexOf(R)-ne.indexOf(W):R!=="string"?Number(T)-Number(_):T.localeCompare(_)}u.comparePrimitive=O;function x(T){return T===void 0?{}:T}u.normalizeDefaultResult=x;function v(T,_){return T===!0?!0:T===!1?{value:_}:T}u.normalizeValidateResult=v;function E(T,_){let R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return T===!1?!1:T===!0?R?!0:[{value:_}]:"value"in T?[T]:T.length===0?!1:T}u.normalizeDeprecatedResult=E;function F(T,_){return typeof T=="string"||"key"in T?{from:_,to:T}:"from"in T?{from:T.from,to:T.to}:{from:_,to:T.to}}u.normalizeTransferResult=F;function k(T,_){return T===void 0?[]:Array.isArray(T)?T.map(R=>F(R,_)):[F(T,_)]}u.normalizeForwardResult=k;function I(T,_){let R=k(typeof T=="object"&&"redirect"in T?T.redirect:T,_);return R.length===0?{remain:_,redirect:R}:typeof T=="object"&&"remain"in T?{remain:T.remain,redirect:R}:{redirect:R}}u.normalizeRedirectResult=I}}),Ir=Oe({"node_modules/vnopts/lib/schemas/choice.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=Xt(),d=class extends h.Schema{constructor(y){super(y),this._choices=f.mapFromArray(y.choices.map(D=>D&&typeof D=="object"?D:{value:D}),"value")}expected(y){let{descriptor:D}=y,O=Array.from(this._choices.keys()).map(E=>this._choices.get(E)).filter(E=>!E.deprecated).map(E=>E.value).sort(f.comparePrimitive).map(D.value),x=O.slice(0,-2),v=O.slice(-2);return x.concat(v.join(" or ")).join(", ")}validate(y){return this._choices.has(y)}deprecated(y){let D=this._choices.get(y);return D&&D.deprecated?{value:y}:!1}forward(y){let D=this._choices.get(y);return D?D.forward:void 0}redirect(y){let D=this._choices.get(y);return D?D.redirect:void 0}};u.ChoiceSchema=d}}),Ci=Oe({"node_modules/vnopts/lib/schemas/number.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{expected(){return"a number"}validate(d,y){return typeof d=="number"}};u.NumberSchema=f}}),Ji=Oe({"node_modules/vnopts/lib/schemas/integer.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=Xt(),f=Ci(),d=class extends f.NumberSchema{expected(){return"an integer"}validate(y,D){return D.normalizeValidateResult(super.validate(y,D),y)===!0&&h.isInt(y)}};u.IntegerSchema=d}}),to=Oe({"node_modules/vnopts/lib/schemas/string.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=xi(),f=class extends h.Schema{expected(){return"a string"}validate(d){return typeof d=="string"}};u.StringSchema=f}}),Is=Oe({"node_modules/vnopts/lib/schemas/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(Ei(),u),h.__exportStar(Me(),u),h.__exportStar(st(),u),h.__exportStar(sr(),u),h.__exportStar(Ir(),u),h.__exportStar(Ji(),u),h.__exportStar(Ci(),u),h.__exportStar(to(),u)}}),yo=Oe({"node_modules/vnopts/lib/defaults.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=tr(),f=Mn(),d=ri(),y=Er();u.defaultDescriptor=h.apiDescriptor,u.defaultUnknownHandler=y.levenUnknownHandler,u.defaultInvalidHandler=d.commonInvalidHandler,u.defaultDeprecatedHandler=f.commonDeprecatedHandler}}),Do=Oe({"node_modules/vnopts/lib/normalize.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=yo(),f=Xt();u.normalize=(y,D,O)=>new d(D,O).normalize(y);var d=class{constructor(y,D){let{logger:O=console,descriptor:x=h.defaultDescriptor,unknown:v=h.defaultUnknownHandler,invalid:E=h.defaultInvalidHandler,deprecated:F=h.defaultDeprecatedHandler}=D||{};this._utils={descriptor:x,logger:O||{warn:()=>{}},schemas:f.recordFromArray(y,"name"),normalizeDefaultResult:f.normalizeDefaultResult,normalizeDeprecatedResult:f.normalizeDeprecatedResult,normalizeForwardResult:f.normalizeForwardResult,normalizeRedirectResult:f.normalizeRedirectResult,normalizeValidateResult:f.normalizeValidateResult},this._unknownHandler=v,this._invalidHandler=E,this._deprecatedHandler=F,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=f.createAutoChecklist()}normalize(y){let D={},O=[y],x=()=>{for(;O.length!==0;){let v=O.shift(),E=this._applyNormalization(v,D);O.push(...E)}};x();for(let v of Object.keys(this._utils.schemas)){let E=this._utils.schemas[v];if(!(v in D)){let F=f.normalizeDefaultResult(E.default(this._utils));"value"in F&&O.push({[v]:F.value})}}x();for(let v of Object.keys(this._utils.schemas)){let E=this._utils.schemas[v];v in D&&(D[v]=E.postprocess(D[v],this._utils))}return D}_applyNormalization(y,D){let O=[],[x,v]=f.partition(Object.keys(y),E=>E in this._utils.schemas);for(let E of x){let F=this._utils.schemas[E],k=F.preprocess(y[E],this._utils),I=f.normalizeValidateResult(F.validate(k,this._utils),k);if(I!==!0){let{value:W}=I,ne=this._invalidHandler(E,W,this._utils);throw typeof ne=="string"?new Error(ne):ne}let T=W=>{let{from:ne,to:L}=W;O.push(typeof L=="string"?{[L]:ne}:{[L.key]:L.value})},_=W=>{let{value:ne,redirectTo:L}=W,re=f.normalizeDeprecatedResult(F.deprecated(ne,this._utils),k,!0);if(re!==!1)if(re===!0)this._hasDeprecationWarned(E)||this._utils.logger.warn(this._deprecatedHandler(E,L,this._utils));else for(let{value:z}of re){let ue={key:E,value:z};if(!this._hasDeprecationWarned(ue)){let ie=typeof L=="string"?{key:L,value:z}:L;this._utils.logger.warn(this._deprecatedHandler(ue,ie,this._utils))}}};f.normalizeForwardResult(F.forward(k,this._utils),k).forEach(T);let R=f.normalizeRedirectResult(F.redirect(k,this._utils),k);if(R.redirect.forEach(T),"remain"in R){let W=R.remain;D[E]=E in D?F.overlap(D[E],W,this._utils):W,_({value:W})}for(let{from:W,to:ne}of R.redirect)_({value:W,redirectTo:ne})}for(let E of v){let F=y[E],k=this._unknownHandler(E,F,this._utils);if(k)for(let I of Object.keys(k)){let T={[I]:k[I]};I in this._utils.schemas?O.push(T):Object.assign(D,T)}}return O}};u.Normalizer=d}}),_o=Oe({"node_modules/vnopts/lib/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=(ar(),Oi(gi));h.__exportStar(fr(),u),h.__exportStar(Jn(),u),h.__exportStar(Is(),u),h.__exportStar(Do(),u),h.__exportStar(xi(),u)}}),$o=Oe({"src/main/options-normalizer.js"(u,h){Ye();var f=_o(),d=Cs(),y={key:I=>I.length===1?`-${I}`:`--${I}`,value:I=>f.apiDescriptor.value(I),pair:I=>{let{key:T,value:_}=I;return _===!1?`--no-${T}`:_===!0?y.key(T):_===""?`${y.key(T)} without an argument`:`${y.key(T)}=${_}`}},D=I=>{let{colorsModule:T,levenshteinDistance:_}=I;return class extends f.ChoiceSchema{constructor(R){let{name:W,flags:ne}=R;super({name:W,choices:ne}),this._flags=[...ne].sort()}preprocess(R,W){if(typeof R=="string"&&R.length>0&&!this._flags.includes(R)){let ne=this._flags.find(L=>_(L,R)<3);if(ne)return W.logger.warn([`Unknown flag ${T.yellow(W.descriptor.value(R))},`,`did you mean ${T.blue(W.descriptor.value(ne))}?`].join(" ")),ne}return R}expected(){return"a flag"}}},O;function x(I,T){let{logger:_=!1,isCLI:R=!1,passThrough:W=!1,colorsModule:ne=null,levenshteinDistance:L=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},re=W?Array.isArray(W)?(Z,B)=>W.includes(Z)?{[Z]:B}:void 0:(Z,B)=>({[Z]:B}):(Z,B,j)=>{let A=j.schemas,M=Le(A,Ee);return f.levenUnknownHandler(Z,B,Object.assign(Object.assign({},j),{},{schemas:M}))},z=R?y:f.apiDescriptor,ue=v(T,{isCLI:R,colorsModule:ne,levenshteinDistance:L}),ie=new f.Normalizer(ue,{logger:_,unknown:re,descriptor:z}),Be=_!==!1;Be&&O&&(ie._hasDeprecationWarned=O);let N=ie.normalize(I);return Be&&(O=ie._hasDeprecationWarned),R&&N["plugin-search"]===!1&&(N["plugin-search-dir"]=!1),N}function v(I,T){let{isCLI:_,colorsModule:R,levenshteinDistance:W}=T,ne=[];_&&ne.push(f.AnySchema.create({name:"_"}));for(let L of I)ne.push(E(L,{isCLI:_,optionInfos:I,colorsModule:R,levenshteinDistance:W})),L.alias&&_&&ne.push(f.AliasSchema.create({name:L.alias,sourceName:L.name}));return ne}function E(I,T){let{isCLI:_,optionInfos:R,colorsModule:W,levenshteinDistance:ne}=T,{name:L}=I;if(L==="plugin-search-dir"||L==="pluginSearchDirs")return f.AnySchema.create({name:L,preprocess(ie){return ie===!1||(ie=Array.isArray(ie)?ie:[ie]),ie},validate(ie){return ie===!1?!0:ie.every(Be=>typeof Be=="string")},expected(){return"false or paths to plugin search dir"}});let re={name:L},z,ue={};switch(I.type){case"int":z=f.IntegerSchema,_&&(re.preprocess=Number);break;case"string":z=f.StringSchema;break;case"choice":z=f.ChoiceSchema,re.choices=I.choices.map(ie=>typeof ie=="object"&&ie.redirect?Object.assign(Object.assign({},ie),{},{redirect:{to:{key:I.name,value:ie.redirect}}}):ie);break;case"boolean":z=f.BooleanSchema;break;case"flag":z=D({colorsModule:W,levenshteinDistance:ne}),re.flags=R.flatMap(ie=>[ie.alias,ie.description&&ie.name,ie.oppositeDescription&&`no-${ie.name}`].filter(Boolean));break;case"path":z=f.StringSchema;break;default:throw new Error(`Unexpected type ${I.type}`)}if(I.exception?re.validate=(ie,Be,N)=>I.exception(ie)||Be.validate(ie,N):re.validate=(ie,Be,N)=>ie===void 0||Be.validate(ie,N),I.redirect&&(ue.redirect=ie=>ie?{to:{key:I.redirect.option,value:I.redirect.value}}:void 0),I.deprecated&&(ue.deprecated=!0),_&&!I.array){let ie=re.preprocess||(Be=>Be);re.preprocess=(Be,N,Z)=>N.preprocess(ie(Array.isArray(Be)?d(Be):Be),Z)}return I.array?f.ArraySchema.create(Object.assign(Object.assign(Object.assign({},_?{preprocess:ie=>Array.isArray(ie)?ie:[ie]}:{}),ue),{},{valueSchema:z.create(re)})):z.create(Object.assign(Object.assign({},re),ue))}function F(I,T,_){return x(I,T,_)}function k(I,T,_){return x(I,T,Object.assign({isCLI:!0},_))}h.exports={normalizeApiOptions:F,normalizeCliOptions:k}}}),zi=Oe({"src/language-js/loc.js"(u,h){Ye();var f=Mu();function d(v){var E,F;let k=v.range?v.range[0]:v.start,I=(E=(F=v.declaration)===null||F===void 0?void 0:F.decorators)!==null&&E!==void 0?E:v.decorators;return f(I)?Math.min(d(I[0]),k):k}function y(v){return v.range?v.range[1]:v.end}function D(v,E){let F=d(v);return Number.isInteger(F)&&F===d(E)}function O(v,E){let F=y(v);return Number.isInteger(F)&&F===y(E)}function x(v,E){return D(v,E)&&O(v,E)}h.exports={locStart:d,locEnd:y,hasSameLocStart:D,hasSameLoc:x}}}),Qe=Oe({"src/main/load-parser.js"(u,h){Ye(),h.exports=()=>{}}}),an=Oe({"scripts/build/shims/babel-highlight.cjs"(u,h){Ye();var f=rn(),d={shouldHighlight:()=>!1,getChalk:()=>f};h.exports=d}}),Fn=Oe({"node_modules/@babel/code-frame/lib/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.codeFrameColumns=O,u.default=x;var h=an(),f=!1;function d(v){return{gutter:v.grey,marker:v.red.bold,message:v.red.bold}}var y=/\r\n|[\n\r\u2028\u2029]/;function D(v,E,F){let k=Object.assign({column:0,line:-1},v.start),I=Object.assign({},k,v.end),{linesAbove:T=2,linesBelow:_=3}=F||{},R=k.line,W=k.column,ne=I.line,L=I.column,re=Math.max(R-(T+1),0),z=Math.min(E.length,ne+_);R===-1&&(re=0),ne===-1&&(z=E.length);let ue=ne-R,ie={};if(ue)for(let Be=0;Be<=ue;Be++){let N=Be+R;if(!W)ie[N]=!0;else if(Be===0){let Z=E[N-1].length;ie[N]=[W,Z-W+1]}else if(Be===ue)ie[N]=[0,L];else{let Z=E[N-Be].length;ie[N]=[0,Z]}}else W===L?W?ie[R]=[W,0]:ie[R]=!0:ie[R]=[W,L-W];return{start:re,end:z,markerLines:ie}}function O(v,E){let F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},k=(F.highlightCode||F.forceColor)&&(0,h.shouldHighlight)(F),I=(0,h.getChalk)(F),T=d(I),_=(ie,Be)=>k?ie(Be):Be,R=v.split(y),{start:W,end:ne,markerLines:L}=D(E,R,F),re=E.start&&typeof E.start.column=="number",z=String(ne).length,ue=(k?(0,h.default)(v,F):v).split(y,ne).slice(W,ne).map((ie,Be)=>{let N=W+1+Be,Z=` ${` ${N}`.slice(-z)} |`,B=L[N],j=!L[N+1];if(B){let A="";if(Array.isArray(B)){let M=ie.slice(0,Math.max(B[0]-1,0)).replace(/[^\t]/g," "),Q=B[1]||1;A=[`
|
||
`,_(T.gutter,Z.replace(/\d/g," "))," ",M,_(T.marker,"^").repeat(Q)].join(""),j&&F.message&&(A+=" "+_(T.message,F.message))}return[_(T.marker,">"),_(T.gutter,Z),ie.length>0?` ${ie}`:"",A].join("")}else return` ${_(T.gutter,Z)}${ie.length>0?` ${ie}`:""}`}).join(`
|
||
`);return F.message&&!re&&(ue=`${" ".repeat(z+1)}${F.message}
|
||
${ue}`),k?I.reset(ue):ue}function x(v,E,F){let k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!f){f=!0;let I="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Yi.emitWarning)Yi.emitWarning(I,"DeprecationWarning");else{let T=new Error(I);T.name="DeprecationWarning",console.warn(new Error(I))}}return F=Math.max(F,0),O(v,{start:{column:F,line:E}},k)}}}),Cn=Oe({"src/main/parser.js"(u,h){Ye();var{ConfigError:f}=vi(),d=zi();Qe();var{locStart:y,locEnd:D}=d,O=Object.getOwnPropertyNames,x=Object.getOwnPropertyDescriptor;function v(k){let I={};for(let T of k.plugins)if(T.parsers)for(let _ of O(T.parsers))Object.defineProperty(I,_,x(T.parsers,_));return I}function E(k){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v(k);if(typeof k.parser=="function")return{parse:k.parser,astFormat:"estree",locStart:y,locEnd:D};if(typeof k.parser=="string"){if(Object.prototype.hasOwnProperty.call(I,k.parser))return I[k.parser];throw new f(`Couldn't resolve parser "${k.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function F(k,I){let T=v(I),_=Object.defineProperties({},Object.fromEntries(Object.keys(T).map(W=>[W,{enumerable:!0,get(){return T[W].parse}}]))),R=E(I,T);try{return R.preprocess&&(k=R.preprocess(k,I)),{text:k,ast:R.parse(k,_,I)}}catch(W){let{loc:ne}=W;if(ne){let{codeFrameColumns:L}=Fn();throw W.codeFrame=L(k,ne,{highlightCode:!0}),W.message+=`
|
||
`+W.codeFrame,W}throw W}}h.exports={parse:F,resolveParser:E}}}),yi=Oe({"src/main/options.js"(u,h){Ye();var f=li(),{UndefinedParserError:d}=vi(),{getSupportInfo:y}=Iu(),D=$o(),{resolveParser:O}=Cn(),x={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function v(k){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=Object.assign({},k),_=y({plugins:k.plugins,showUnreleased:!0,showDeprecated:!0}).options,R=Object.assign(Object.assign({},x),Object.fromEntries(_.filter(z=>z.default!==void 0).map(z=>[z.name,z.default])));if(!T.parser){if(!T.filepath)(I.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),T.parser="babel";else if(T.parser=F(T.filepath,T.plugins),!T.parser)throw new d(`No parser could be inferred for file: ${T.filepath}`)}let W=O(D.normalizeApiOptions(T,[_.find(z=>z.name==="parser")],{passThrough:!0,logger:!1}));T.astFormat=W.astFormat,T.locEnd=W.locEnd,T.locStart=W.locStart;let ne=E(T);T.printer=ne.printers[T.astFormat];let L=Object.fromEntries(_.filter(z=>z.pluginDefaults&&z.pluginDefaults[ne.name]!==void 0).map(z=>[z.name,z.pluginDefaults[ne.name]])),re=Object.assign(Object.assign({},R),L);for(let[z,ue]of Object.entries(re))(T[z]===null||T[z]===void 0)&&(T[z]=ue);return T.parser==="json"&&(T.trailingComma="none"),D.normalizeApiOptions(T,_,Object.assign({passThrough:Object.keys(x)},I))}function E(k){let{astFormat:I}=k;if(!I)throw new Error("getPlugin() requires astFormat to be set");let T=k.plugins.find(_=>_.printers&&_.printers[I]);if(!T)throw new Error(`Couldn't find plugin for AST format "${I}"`);return T}function F(k,I){let T=f.basename(k).toLowerCase(),_=y({plugins:I}).languages.filter(R=>R.since!==null).find(R=>R.extensions&&R.extensions.some(W=>T.endsWith(W))||R.filenames&&R.filenames.some(W=>W.toLowerCase()===T));return _&&_.parsers[0]}h.exports={normalize:v,hiddenDefaults:x,inferParser:F}}}),rs=Oe({"src/main/massage-ast.js"(u,h){Ye();function f(d,y,D){if(Array.isArray(d))return d.map(E=>f(E,y,D)).filter(Boolean);if(!d||typeof d!="object")return d;let O=y.printer.massageAstNode,x;O&&O.ignoredProperties?x=O.ignoredProperties:x=new Set;let v={};for(let[E,F]of Object.entries(d))!x.has(E)&&typeof F!="function"&&(v[E]=f(F,y,d));if(O){let E=O(d,v,D);if(E===null)return;if(E)return E}return v}h.exports=f}}),cs=Oe({"scripts/build/shims/assert.cjs"(u,h){Ye();var f=()=>{};f.ok=f,f.strictEqual=f,h.exports=f}}),Wi=Oe({"src/main/comments.js"(u,h){Ye();var f=cs(),{builders:{line:d,hardline:y,breakParent:D,indent:O,lineSuffix:x,join:v,cursor:E}}=Ln(),{hasNewline:F,skipNewline:k,skipSpaces:I,isPreviousLineEmpty:T,addLeadingComment:_,addDanglingComment:R,addTrailingComment:W}=fi(),ne=new WeakMap;function L(he,Te,_e){if(!he)return;let{printer:Pe,locStart:ze,locEnd:ye}=Te;if(_e){if(Pe.canAttachComment&&Pe.canAttachComment(he)){let Fe;for(Fe=_e.length-1;Fe>=0&&!(ze(_e[Fe])<=ze(he)&&ye(_e[Fe])<=ye(he));--Fe);_e.splice(Fe+1,0,he);return}}else if(ne.has(he))return ne.get(he);let ct=Pe.getCommentChildNodes&&Pe.getCommentChildNodes(he,Te)||typeof he=="object"&&Object.entries(he).filter(Fe=>{let[Se]=Fe;return Se!=="enclosingNode"&&Se!=="precedingNode"&&Se!=="followingNode"&&Se!=="tokens"&&Se!=="comments"&&Se!=="parent"}).map(Fe=>{let[,Se]=Fe;return Se});if(ct){_e||(_e=[],ne.set(he,_e));for(let Fe of ct)L(Fe,Te,_e);return _e}}function re(he,Te,_e,Pe){let{locStart:ze,locEnd:ye}=_e,ct=ze(Te),Fe=ye(Te),Se=L(he,_e),lt,kt,ft=0,jt=Se.length;for(;ft<jt;){let Ne=ft+jt>>1,Je=Se[Ne],It=ze(Je),Mt=ye(Je);if(It<=ct&&Fe<=Mt)return re(Je,Te,_e,Je);if(Mt<=ct){lt=Je,ft=Ne+1;continue}if(Fe<=It){kt=Je,jt=Ne;continue}throw new Error("Comment location overlaps with node location")}if(Pe&&Pe.type==="TemplateLiteral"){let{quasis:Ne}=Pe,Je=j(Ne,Te,_e);lt&&j(Ne,lt,_e)!==Je&&(lt=null),kt&&j(Ne,kt,_e)!==Je&&(kt=null)}return{enclosingNode:Pe,precedingNode:lt,followingNode:kt}}var z=()=>!1;function ue(he,Te,_e,Pe){if(!Array.isArray(he))return;let ze=[],{locStart:ye,locEnd:ct,printer:{handleComments:Fe={}}}=Pe,{avoidAstMutation:Se,ownLine:lt=z,endOfLine:kt=z,remaining:ft=z}=Fe,jt=he.map((Ne,Je)=>Object.assign(Object.assign({},re(Te,Ne,Pe)),{},{comment:Ne,text:_e,options:Pe,ast:Te,isLastComment:he.length-1===Je}));for(let[Ne,Je]of jt.entries()){let{comment:It,precedingNode:Mt,enclosingNode:Rr,followingNode:rt,text:Ue,options:mt,ast:Et,isLastComment:zt}=Je;if(mt.parser==="json"||mt.parser==="json5"||mt.parser==="__js_expression"||mt.parser==="__vue_expression"||mt.parser==="__vue_ts_expression"){if(ye(It)-ye(Et)<=0){_(Et,It);continue}if(ct(It)-ct(Et)>=0){W(Et,It);continue}}let ur;if(Se?ur=[Je]:(It.enclosingNode=Rr,It.precedingNode=Mt,It.followingNode=rt,ur=[It,Ue,mt,Et,zt]),Be(Ue,mt,jt,Ne))It.placement="ownLine",lt(...ur)||(rt?_(rt,It):Mt?W(Mt,It):R(Rr||Et,It));else if(N(Ue,mt,jt,Ne))It.placement="endOfLine",kt(...ur)||(Mt?W(Mt,It):rt?_(rt,It):R(Rr||Et,It));else if(It.placement="remaining",!ft(...ur))if(Mt&&rt){let xr=ze.length;xr>0&&ze[xr-1].followingNode!==rt&&Z(ze,Ue,mt),ze.push(Je)}else Mt?W(Mt,It):rt?_(rt,It):R(Rr||Et,It)}if(Z(ze,_e,Pe),!Se)for(let Ne of he)delete Ne.precedingNode,delete Ne.enclosingNode,delete Ne.followingNode}var ie=he=>!/[\S\n\u2028\u2029]/.test(he);function Be(he,Te,_e,Pe){let{comment:ze,precedingNode:ye}=_e[Pe],{locStart:ct,locEnd:Fe}=Te,Se=ct(ze);if(ye)for(let lt=Pe-1;lt>=0;lt--){let{comment:kt,precedingNode:ft}=_e[lt];if(ft!==ye||!ie(he.slice(Fe(kt),Se)))break;Se=ct(kt)}return F(he,Se,{backwards:!0})}function N(he,Te,_e,Pe){let{comment:ze,followingNode:ye}=_e[Pe],{locStart:ct,locEnd:Fe}=Te,Se=Fe(ze);if(ye)for(let lt=Pe+1;lt<_e.length;lt++){let{comment:kt,followingNode:ft}=_e[lt];if(ft!==ye||!ie(he.slice(Se,ct(kt))))break;Se=Fe(kt)}return F(he,Se)}function Z(he,Te,_e){let Pe=he.length;if(Pe===0)return;let{precedingNode:ze,followingNode:ye,enclosingNode:ct}=he[0],Fe=_e.printer.getGapRegex&&_e.printer.getGapRegex(ct)||/^[\s(]*$/,Se=_e.locStart(ye),lt;for(lt=Pe;lt>0;--lt){let{comment:kt,precedingNode:ft,followingNode:jt}=he[lt-1];f.strictEqual(ft,ze),f.strictEqual(jt,ye);let Ne=Te.slice(_e.locEnd(kt),Se);if(Fe.test(Ne))Se=_e.locStart(kt);else break}for(let[kt,{comment:ft}]of he.entries())kt<lt?W(ze,ft):_(ye,ft);for(let kt of[ze,ye])kt.comments&&kt.comments.length>1&&kt.comments.sort((ft,jt)=>_e.locStart(ft)-_e.locStart(jt));he.length=0}function B(he,Te){let _e=he.getValue();return _e.printed=!0,Te.printer.printComment(he,Te)}function j(he,Te,_e){let Pe=_e.locStart(Te)-1;for(let ze=1;ze<he.length;++ze)if(Pe<_e.locStart(he[ze]))return ze-1;return 0}function A(he,Te){let _e=he.getValue(),Pe=[B(he,Te)],{printer:ze,originalText:ye,locStart:ct,locEnd:Fe}=Te;if(ze.isBlockComment&&ze.isBlockComment(_e)){let lt=F(ye,Fe(_e))?F(ye,ct(_e),{backwards:!0})?y:d:" ";Pe.push(lt)}else Pe.push(y);let Se=k(ye,I(ye,Fe(_e)));return Se!==!1&&F(ye,Se)&&Pe.push(y),Pe}function M(he,Te){let _e=he.getValue(),Pe=B(he,Te),{printer:ze,originalText:ye,locStart:ct}=Te,Fe=ze.isBlockComment&&ze.isBlockComment(_e);if(F(ye,ct(_e),{backwards:!0})){let lt=T(ye,_e,ct);return x([y,lt?y:"",Pe])}let Se=[" ",Pe];return Fe||(Se=[x(Se),D]),Se}function Q(he,Te,_e,Pe){let ze=[],ye=he.getValue();return!ye||!ye.comments||(he.each(()=>{let ct=he.getValue();!ct.leading&&!ct.trailing&&(!Pe||Pe(ct))&&ze.push(B(he,Te))},"comments"),ze.length===0)?"":_e?v(y,ze):O([y,v(y,ze)])}function U(he,Te,_e){let Pe=he.getValue();if(!Pe)return{};let ze=Pe.comments||[];_e&&(ze=ze.filter(Se=>!_e.has(Se)));let ye=Pe===Te.cursorNode;if(ze.length===0){let Se=ye?E:"";return{leading:Se,trailing:Se}}let ct=[],Fe=[];return he.each(()=>{let Se=he.getValue();if(_e&&_e.has(Se))return;let{leading:lt,trailing:kt}=Se;lt?ct.push(A(he,Te)):kt&&Fe.push(M(he,Te))},"comments"),ye&&(ct.unshift(E),Fe.push(E)),{leading:ct,trailing:Fe}}function q(he,Te,_e,Pe){let{leading:ze,trailing:ye}=U(he,_e,Pe);return!ze&&!ye?Te:[ze,Te,ye]}function K(he){if(he)for(let Te of he){if(!Te.printed)throw new Error('Comment "'+Te.value.trim()+'" was not printed. Please report this error!');delete Te.printed}}h.exports={attach:ue,printComments:q,printCommentsSeparately:U,printDanglingComments:Q,getSortedChildNodes:L,ensureAllCommentsPrinted:K}}}),Eo=Oe({"src/common/ast-path.js"(u,h){Ye();var f=Cs();function d(O,x){let v=y(O.stack,x);return v===-1?null:O.stack[v]}function y(O,x){for(let v=O.length-1;v>=0;v-=2){let E=O[v];if(E&&!Array.isArray(E)&&--x<0)return v}return-1}var D=class{constructor(O){this.stack=[O]}getName(){let{stack:O}=this,{length:x}=O;return x>1?O[x-2]:null}getValue(){return f(this.stack)}getNode(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return d(this,O)}getParentNode(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return d(this,O+1)}call(O){let{stack:x}=this,{length:v}=x,E=f(x);for(var F=arguments.length,k=new Array(F>1?F-1:0),I=1;I<F;I++)k[I-1]=arguments[I];for(let _ of k)E=E[_],x.push(_,E);let T=O(this);return x.length=v,T}callParent(O){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,v=y(this.stack,x+1),E=this.stack.splice(v+1),F=O(this);return this.stack.push(...E),F}each(O){let{stack:x}=this,{length:v}=x,E=f(x);for(var F=arguments.length,k=new Array(F>1?F-1:0),I=1;I<F;I++)k[I-1]=arguments[I];for(let T of k)E=E[T],x.push(T,E);for(let T=0;T<E.length;++T)x.push(T,E[T]),O(this,T,E),x.length-=2;x.length=v}map(O){let x=[];for(var v=arguments.length,E=new Array(v>1?v-1:0),F=1;F<v;F++)E[F-1]=arguments[F];return this.each((k,I,T)=>{x[I]=O(k,I,T)},...E),x}try(O){let{stack:x}=this,v=[...x];try{return O()}finally{x.length=0,x.push(...v)}}match(){let O=this.stack.length-1,x=null,v=this.stack[O--];for(var E=arguments.length,F=new Array(E),k=0;k<E;k++)F[k]=arguments[k];for(let I of F){if(v===void 0)return!1;let T=null;if(typeof x=="number"&&(T=x,x=this.stack[O--],v=this.stack[O--]),I&&!I(v,x,T))return!1;x=this.stack[O--],v=this.stack[O--]}return!0}findAncestor(O){let x=this.stack.length-1,v=null,E=this.stack[x--];for(;E;){let F=null;if(typeof v=="number"&&(F=v,v=this.stack[x--],E=this.stack[x--]),v!==null&&O(E,v,F))return E;v=this.stack[x--],E=this.stack[x--]}}};h.exports=D}}),Za=Oe({"src/main/multiparser.js"(u,h){Ye();var{utils:{stripTrailingHardline:f}}=Ln(),{normalize:d}=yi(),y=Wi();function D(x,v,E,F){if(E.printer.embed&&E.embeddedLanguageFormatting==="auto")return E.printer.embed(x,v,(k,I,T)=>O(k,I,E,F,T),E)}function O(x,v,E,F){let{stripTrailingHardline:k=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},I=d(Object.assign(Object.assign(Object.assign({},E),v),{},{parentParser:E.parser,originalText:x}),{passThrough:!0}),T=Cn().parse(x,I),{ast:_}=T;x=T.text;let R=_.comments;delete _.comments,y.attach(R,_,x,I),I[Symbol.for("comments")]=R||[],I[Symbol.for("tokens")]=_.tokens||[];let W=F(_,I);return y.ensureAllCommentsPrinted(R),k?typeof W=="string"?W.replace(/(?:\r?\n)*$/,""):f(W):W}h.exports={printSubtree:D}}}),uu=Oe({"src/main/ast-to-doc.js"(u,h){Ye();var f=Eo(),{builders:{hardline:d,addAlignmentToDoc:y},utils:{propagateBreaks:D}}=Ln(),{printComments:O}=Wi(),x=Za();function v(k,I){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:_}=I;_.preprocess&&(k=_.preprocess(k,I));let R=new Map,W=new f(k),ne=L();return T>0&&(ne=y([d,ne],T,I.tabWidth)),D(ne),ne;function L(z,ue){return z===void 0||z===W?re(ue):Array.isArray(z)?W.call(()=>re(ue),...z):W.call(()=>re(ue),z)}function re(z){let ue=W.getValue(),ie=ue&&typeof ue=="object"&&z===void 0;if(ie&&R.has(ue))return R.get(ue);let Be=F(W,I,L,z);return ie&&R.set(ue,Be),Be}}function E(k,I){let{originalText:T,[Symbol.for("comments")]:_,locStart:R,locEnd:W}=I,ne=R(k),L=W(k),re=new Set;for(let z of _)R(z)>=ne&&W(z)<=L&&(z.printed=!0,re.add(z));return{doc:T.slice(ne,L),printedComments:re}}function F(k,I,T,_){let R=k.getValue(),{printer:W}=I,ne,L;if(W.hasPrettierIgnore&&W.hasPrettierIgnore(k))({doc:ne,printedComments:L}=E(R,I));else{if(R)try{ne=x.printSubtree(k,T,I,v)}catch(re){if(globalThis.PRETTIER_DEBUG)throw re}ne||(ne=W.print(k,I,T,_))}return(!W.willPrintOwnComments||!W.willPrintOwnComments(k,I))&&(ne=O(k,ne,I,L)),ne}h.exports=v}}),lu=Oe({"src/main/range-util.js"(u,h){Ye();var f=cs(),d=Wi(),y=_=>{let{parser:R}=_;return R==="json"||R==="json5"||R==="json-stringify"};function D(_,R){let W=[_.node,..._.parentNodes],ne=new Set([R.node,...R.parentNodes]);return W.find(L=>F.has(L.type)&&ne.has(L))}function O(_){let R=_.length-1;for(;;){let W=_[R];if(W&&(W.type==="Program"||W.type==="File"))R--;else break}return _.slice(0,R+1)}function x(_,R,W){let{locStart:ne,locEnd:L}=W,re=_.node,z=R.node;if(re===z)return{startNode:re,endNode:z};let ue=ne(_.node);for(let Be of O(R.parentNodes))if(ne(Be)>=ue)z=Be;else break;let ie=L(R.node);for(let Be of O(_.parentNodes)){if(L(Be)<=ie)re=Be;else break;if(re===z)break}return{startNode:re,endNode:z}}function v(_,R,W,ne){let L=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],re=arguments.length>5?arguments[5]:void 0,{locStart:z,locEnd:ue}=W,ie=z(_),Be=ue(_);if(!(R>Be||R<ie||re==="rangeEnd"&&R===ie||re==="rangeStart"&&R===Be)){for(let N of d.getSortedChildNodes(_,W)){let Z=v(N,R,W,ne,[_,...L],re);if(Z)return Z}if(!ne||ne(_,L[0]))return{node:_,parentNodes:L}}}function E(_,R){return R!=="DeclareExportDeclaration"&&_!=="TypeParameterDeclaration"&&(_==="Directive"||_==="TypeAlias"||_==="TSExportAssignment"||_.startsWith("Declare")||_.startsWith("TSDeclare")||_.endsWith("Statement")||_.endsWith("Declaration"))}var F=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),k=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function I(_,R,W){if(!R)return!1;switch(_.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return E(R.type,W&&W.type);case"json":case"json5":case"json-stringify":return F.has(R.type);case"graphql":return k.has(R.kind);case"vue":return R.tag!=="root"}return!1}function T(_,R,W){let{rangeStart:ne,rangeEnd:L,locStart:re,locEnd:z}=R;f.ok(L>ne);let ue=_.slice(ne,L).search(/\S/),ie=ue===-1;if(!ie)for(ne+=ue;L>ne&&!/\S/.test(_[L-1]);--L);let Be=v(W,ne,R,(j,A)=>I(R,j,A),[],"rangeStart"),N=ie?Be:v(W,L,R,j=>I(R,j),[],"rangeEnd");if(!Be||!N)return{rangeStart:0,rangeEnd:0};let Z,B;if(y(R)){let j=D(Be,N);Z=j,B=j}else({startNode:Z,endNode:B}=x(Be,N,R));return{rangeStart:Math.min(re(Z),re(B)),rangeEnd:Math.max(z(Z),z(B))}}h.exports={calculateRange:T,findNodeAtOffset:v}}}),jo=Oe({"src/main/core.js"(u,h){Ye();var{diffArrays:f}=Ho(),{printer:{printDocToString:d},debug:{printDocToDebug:y}}=Ln(),{getAlignmentSize:D}=fi(),{guessEndOfLine:O,convertEndOfLineToChars:x,countEndOfLineChars:v,normalizeEndOfLine:E}=fo(),F=yi().normalize,k=rs(),I=Wi(),T=Cn(),_=uu(),R=lu(),W="\uFEFF",ne=Symbol("cursor");function L(B,j,A){let M=j.comments;return M&&(delete j.comments,I.attach(M,j,B,A)),A[Symbol.for("comments")]=M||[],A[Symbol.for("tokens")]=j.tokens||[],A.originalText=B,M}function re(B,j){let A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!B||B.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:M,text:Q}=T.parse(B,j);if(j.cursorOffset>=0){let he=R.findNodeAtOffset(M,j.cursorOffset,j);he&&he.node&&(j.cursorNode=he.node)}let U=L(Q,M,j),q=_(M,j,A),K=d(q,j);if(I.ensureAllCommentsPrinted(U),A>0){let he=K.formatted.trim();K.cursorNodeStart!==void 0&&(K.cursorNodeStart-=K.formatted.indexOf(he)),K.formatted=he+x(j.endOfLine)}if(j.cursorOffset>=0){let he,Te,_e,Pe,ze;if(j.cursorNode&&K.cursorNodeText?(he=j.locStart(j.cursorNode),Te=Q.slice(he,j.locEnd(j.cursorNode)),_e=j.cursorOffset-he,Pe=K.cursorNodeStart,ze=K.cursorNodeText):(he=0,Te=Q,_e=j.cursorOffset,Pe=0,ze=K.formatted),Te===ze)return{formatted:K.formatted,cursorOffset:Pe+_e,comments:U};let ye=[...Te];ye.splice(_e,0,ne);let ct=[...ze],Fe=f(ye,ct),Se=Pe;for(let lt of Fe)if(lt.removed){if(lt.value.includes(ne))break}else Se+=lt.count;return{formatted:K.formatted,cursorOffset:Se,comments:U}}return{formatted:K.formatted,cursorOffset:-1,comments:U}}function z(B,j){let{ast:A,text:M}=T.parse(B,j),{rangeStart:Q,rangeEnd:U}=R.calculateRange(M,j,A),q=M.slice(Q,U),K=Math.min(Q,M.lastIndexOf(`
|
||
`,Q)+1),he=M.slice(K,Q).match(/^\s*/)[0],Te=D(he,j.tabWidth),_e=re(q,Object.assign(Object.assign({},j),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:j.cursorOffset>Q&&j.cursorOffset<=U?j.cursorOffset-Q:-1,endOfLine:"lf"}),Te),Pe=_e.formatted.trimEnd(),{cursorOffset:ze}=j;ze>U?ze+=Pe.length-q.length:_e.cursorOffset>=0&&(ze=_e.cursorOffset+Q);let ye=M.slice(0,Q)+Pe+M.slice(U);if(j.endOfLine!=="lf"){let ct=x(j.endOfLine);ze>=0&&ct===`\r
|
||
`&&(ze+=v(ye.slice(0,ze),`
|
||
`)),ye=ye.replace(/\n/g,ct)}return{formatted:ye,cursorOffset:ze,comments:_e.comments}}function ue(B,j,A){return typeof j!="number"||Number.isNaN(j)||j<0||j>B.length?A:j}function ie(B,j){let{cursorOffset:A,rangeStart:M,rangeEnd:Q}=j;return A=ue(B,A,-1),M=ue(B,M,0),Q=ue(B,Q,B.length),Object.assign(Object.assign({},j),{},{cursorOffset:A,rangeStart:M,rangeEnd:Q})}function Be(B,j){let{cursorOffset:A,rangeStart:M,rangeEnd:Q,endOfLine:U}=ie(B,j),q=B.charAt(0)===W;if(q&&(B=B.slice(1),A--,M--,Q--),U==="auto"&&(U=O(B)),B.includes("\r")){let K=he=>v(B.slice(0,Math.max(he,0)),`\r
|
||
`);A-=K(A),M-=K(M),Q-=K(Q),B=E(B)}return{hasBOM:q,text:B,options:ie(B,Object.assign(Object.assign({},j),{},{cursorOffset:A,rangeStart:M,rangeEnd:Q,endOfLine:U}))}}function N(B,j){let A=T.resolveParser(j);return!A.hasPragma||A.hasPragma(B)}function Z(B,j){let{hasBOM:A,text:M,options:Q}=Be(B,F(j));if(Q.rangeStart>=Q.rangeEnd&&M!==""||Q.requirePragma&&!N(M,Q))return{formatted:B,cursorOffset:j.cursorOffset,comments:[]};let U;return Q.rangeStart>0||Q.rangeEnd<M.length?U=z(M,Q):(!Q.requirePragma&&Q.insertPragma&&Q.printer.insertPragma&&!N(M,Q)&&(M=Q.printer.insertPragma(M)),U=re(M,Q)),A&&(U.formatted=W+U.formatted,U.cursorOffset>=0&&U.cursorOffset++),U}h.exports={formatWithCursor:Z,parse(B,j,A){let{text:M,options:Q}=Be(B,F(j)),U=T.parse(M,Q);return A&&(U.ast=k(U.ast,Q)),U},formatAST(B,j){j=F(j);let A=_(B,j);return d(A,j)},formatDoc(B,j){return Z(y(B),Object.assign(Object.assign({},j),{},{parser:"__js_expression"})).formatted},printToDoc(B,j){j=F(j);let{ast:A,text:M}=T.parse(B,j);return L(M,A,j),_(A,j)},printDocToString(B,j){return d(B,F(j))}}}}),ba=Oe({"src/common/util-shared.js"(u,h){Ye();var{getMaxContinuousCount:f,getStringWidth:d,getAlignmentSize:y,getIndentSize:D,skip:O,skipWhitespace:x,skipSpaces:v,skipNewline:E,skipToLineEnd:F,skipEverythingButNewLine:k,skipInlineComment:I,skipTrailingComment:T,hasNewline:_,hasNewlineInRange:R,hasSpaces:W,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:L,isPreviousLineEmpty:re,getNextNonSpaceNonCommentCharacterIndex:z,makeString:ue,addLeadingComment:ie,addDanglingComment:Be,addTrailingComment:N}=fi();h.exports={getMaxContinuousCount:f,getStringWidth:d,getAlignmentSize:y,getIndentSize:D,skip:O,skipWhitespace:x,skipSpaces:v,skipNewline:E,skipToLineEnd:F,skipEverythingButNewLine:k,skipInlineComment:I,skipTrailingComment:T,hasNewline:_,hasNewlineInRange:R,hasSpaces:W,isNextLineEmpty:ne,isNextLineEmptyAfterIndex:L,isPreviousLineEmpty:re,getNextNonSpaceNonCommentCharacterIndex:z,makeString:ue,addLeadingComment:ie,addDanglingComment:Be,addTrailingComment:N}}}),Ms=Oe({"src/utils/create-language.js"(u,h){Ye(),h.exports=function(f,d){let{languageId:y}=f,D=Le(f,xe);return Object.assign(Object.assign({linguistLanguageId:y},D),d(f))}}}),ta=Oe({"node_modules/esutils/lib/ast.js"(u,h){Ye(),function(){function f(v){if(v==null)return!1;switch(v.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function d(v){if(v==null)return!1;switch(v.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function y(v){if(v==null)return!1;switch(v.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function D(v){return y(v)||v!=null&&v.type==="FunctionDeclaration"}function O(v){switch(v.type){case"IfStatement":return v.alternate!=null?v.alternate:v.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return v.body}return null}function x(v){var E;if(v.type!=="IfStatement"||v.alternate==null)return!1;E=v.consequent;do{if(E.type==="IfStatement"&&E.alternate==null)return!0;E=O(E)}while(E);return!1}h.exports={isExpression:f,isStatement:y,isIterationStatement:d,isSourceElement:D,isProblematicIfStatement:x,trailingStatement:O}}()}}),Ia=Oe({"node_modules/esutils/lib/code.js"(u,h){Ye(),function(){var f,d,y,D,O,x;d={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},f={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function v(L){return 48<=L&&L<=57}function E(L){return 48<=L&&L<=57||97<=L&&L<=102||65<=L&&L<=70}function F(L){return L>=48&&L<=55}y=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function k(L){return L===32||L===9||L===11||L===12||L===160||L>=5760&&y.indexOf(L)>=0}function I(L){return L===10||L===13||L===8232||L===8233}function T(L){if(L<=65535)return String.fromCharCode(L);var re=String.fromCharCode(Math.floor((L-65536)/1024)+55296),z=String.fromCharCode((L-65536)%1024+56320);return re+z}for(D=new Array(128),x=0;x<128;++x)D[x]=x>=97&&x<=122||x>=65&&x<=90||x===36||x===95;for(O=new Array(128),x=0;x<128;++x)O[x]=x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===36||x===95;function _(L){return L<128?D[L]:d.NonAsciiIdentifierStart.test(T(L))}function R(L){return L<128?O[L]:d.NonAsciiIdentifierPart.test(T(L))}function W(L){return L<128?D[L]:f.NonAsciiIdentifierStart.test(T(L))}function ne(L){return L<128?O[L]:f.NonAsciiIdentifierPart.test(T(L))}h.exports={isDecimalDigit:v,isHexDigit:E,isOctalDigit:F,isWhiteSpace:k,isLineTerminator:I,isIdentifierStartES5:_,isIdentifierPartES5:R,isIdentifierStartES6:W,isIdentifierPartES6:ne}}()}}),tp=Oe({"node_modules/esutils/lib/keyword.js"(u,h){Ye(),function(){var f=Ia();function d(_){switch(_){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function y(_,R){return!R&&_==="yield"?!1:D(_,R)}function D(_,R){if(R&&d(_))return!0;switch(_.length){case 2:return _==="if"||_==="in"||_==="do";case 3:return _==="var"||_==="for"||_==="new"||_==="try";case 4:return _==="this"||_==="else"||_==="case"||_==="void"||_==="with"||_==="enum";case 5:return _==="while"||_==="break"||_==="catch"||_==="throw"||_==="const"||_==="yield"||_==="class"||_==="super";case 6:return _==="return"||_==="typeof"||_==="delete"||_==="switch"||_==="export"||_==="import";case 7:return _==="default"||_==="finally"||_==="extends";case 8:return _==="function"||_==="continue"||_==="debugger";case 10:return _==="instanceof";default:return!1}}function O(_,R){return _==="null"||_==="true"||_==="false"||y(_,R)}function x(_,R){return _==="null"||_==="true"||_==="false"||D(_,R)}function v(_){return _==="eval"||_==="arguments"}function E(_){var R,W,ne;if(_.length===0||(ne=_.charCodeAt(0),!f.isIdentifierStartES5(ne)))return!1;for(R=1,W=_.length;R<W;++R)if(ne=_.charCodeAt(R),!f.isIdentifierPartES5(ne))return!1;return!0}function F(_,R){return(_-55296)*1024+(R-56320)+65536}function k(_){var R,W,ne,L,re;if(_.length===0)return!1;for(re=f.isIdentifierStartES6,R=0,W=_.length;R<W;++R){if(ne=_.charCodeAt(R),55296<=ne&&ne<=56319){if(++R,R>=W||(L=_.charCodeAt(R),!(56320<=L&&L<=57343)))return!1;ne=F(ne,L)}if(!re(ne))return!1;re=f.isIdentifierPartES6}return!0}function I(_,R){return E(_)&&!O(_,R)}function T(_,R){return k(_)&&!x(_,R)}h.exports={isKeywordES5:y,isKeywordES6:D,isReservedWordES5:O,isReservedWordES6:x,isRestrictedWord:v,isIdentifierNameES5:E,isIdentifierNameES6:k,isIdentifierES5:I,isIdentifierES6:T}}()}}),ch=Oe({"node_modules/esutils/lib/utils.js"(u){Ye(),function(){u.ast=ta(),u.code=Ia(),u.keyword=tp()}()}}),Ya=Oe({"src/language-js/utils/is-block-comment.js"(u,h){Ye();var f=new Set(["Block","CommentBlock","MultiLine"]),d=y=>f.has(y==null?void 0:y.type);h.exports=d}}),rp=Oe({"src/language-js/utils/is-node-matches.js"(u,h){Ye();function f(y,D){let O=D.split(".");for(let x=O.length-1;x>=0;x--){let v=O[x];if(x===0)return y.type==="Identifier"&&y.name===v;if(y.type!=="MemberExpression"||y.optional||y.computed||y.property.type!=="Identifier"||y.property.name!==v)return!1;y=y.object}}function d(y,D){return D.some(O=>f(y,O))}h.exports=d}}),ss=Oe({"src/language-js/utils/index.js"(u,h){Ye();var f=ch().keyword.isIdentifierNameES5,{getLast:d,hasNewline:y,skipWhitespace:D,isNonEmptyArray:O,isNextLineEmptyAfterIndex:x,getStringWidth:v}=fi(),{locStart:E,locEnd:F,hasSameLocStart:k}=zi(),I=Ya(),T=rp(),_="(?:(?=.)\\s)",R=new RegExp(`^${_}*:`),W=new RegExp(`^${_}*::`);function ne(Ce){var Wt,Pn;return((Wt=Ce.extra)===null||Wt===void 0?void 0:Wt.parenthesized)&&I((Pn=Ce.trailingComments)===null||Pn===void 0?void 0:Pn[0])&&R.test(Ce.trailingComments[0].value)}function L(Ce){let Wt=Ce==null?void 0:Ce[0];return I(Wt)&&W.test(Wt.value)}function re(Ce,Wt){if(!Ce||typeof Ce!="object")return!1;if(Array.isArray(Ce))return Ce.some(Li=>re(Li,Wt));let Pn=Wt(Ce);return typeof Pn=="boolean"?Pn:Object.values(Ce).some(Li=>re(Li,Wt))}function z(Ce){return Ce.type==="AssignmentExpression"||Ce.type==="BinaryExpression"||Ce.type==="LogicalExpression"||Ce.type==="NGPipeExpression"||Ce.type==="ConditionalExpression"||It(Ce)||Mt(Ce)||Ce.type==="SequenceExpression"||Ce.type==="TaggedTemplateExpression"||Ce.type==="BindExpression"||Ce.type==="UpdateExpression"&&!Ce.prefix||ja(Ce)||Ce.type==="TSNonNullExpression"}function ue(Ce){var Wt,Pn,Li,Xi,Ea,Qs;return Ce.expressions?Ce.expressions[0]:(Wt=(Pn=(Li=(Xi=(Ea=(Qs=Ce.left)!==null&&Qs!==void 0?Qs:Ce.test)!==null&&Ea!==void 0?Ea:Ce.callee)!==null&&Xi!==void 0?Xi:Ce.object)!==null&&Li!==void 0?Li:Ce.tag)!==null&&Pn!==void 0?Pn:Ce.argument)!==null&&Wt!==void 0?Wt:Ce.expression}function ie(Ce,Wt){if(Wt.expressions)return["expressions",0];if(Wt.left)return["left"];if(Wt.test)return["test"];if(Wt.object)return["object"];if(Wt.callee)return["callee"];if(Wt.tag)return["tag"];if(Wt.argument)return["argument"];if(Wt.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function Be(Ce){return Ce=new Set(Ce),Wt=>Ce.has(Wt==null?void 0:Wt.type)}var N=Be(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),Z=Be(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function B(Ce){let Wt=Ce.getParentNode();return Ce.getName()==="declaration"&&Z(Wt)?Wt:null}var j=Be(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function A(Ce){return Ce.type==="NumericLiteral"||Ce.type==="Literal"&&typeof Ce.value=="number"}function M(Ce){return Ce.type==="UnaryExpression"&&(Ce.operator==="+"||Ce.operator==="-")&&A(Ce.argument)}function Q(Ce){return Ce.type==="StringLiteral"||Ce.type==="Literal"&&typeof Ce.value=="string"}var U=Be(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),q=Be(["FunctionExpression","ArrowFunctionExpression"]);function K(Ce){return Ce.type==="FunctionExpression"||Ce.type==="ArrowFunctionExpression"&&Ce.body.type==="BlockStatement"}function he(Ce){return It(Ce)&&Ce.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(Ce.callee.name)}var Te=Be(["JSXElement","JSXFragment"]);function _e(Ce,Wt){if(Ce.parentParser!=="markdown"&&Ce.parentParser!=="mdx")return!1;let Pn=Wt.getNode();if(!Pn.expression||!Te(Pn.expression))return!1;let Li=Wt.getParentNode();return Li.type==="Program"&&Li.body.length===1}function Pe(Ce){return Ce.kind==="get"||Ce.kind==="set"}function ze(Ce){return Pe(Ce)||k(Ce,Ce.value)}function ye(Ce){return(Ce.type==="ObjectTypeProperty"||Ce.type==="ObjectTypeInternalSlot")&&Ce.value.type==="FunctionTypeAnnotation"&&!Ce.static&&!ze(Ce)}function ct(Ce){return(Ce.type==="TypeAnnotation"||Ce.type==="TSTypeAnnotation")&&Ce.typeAnnotation.type==="FunctionTypeAnnotation"&&!Ce.static&&!k(Ce,Ce.typeAnnotation)}var Fe=Be(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Se(Ce){return Mt(Ce)||Ce.type==="BindExpression"&&!!Ce.object}var lt=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function kt(Ce){return Ce?!!((Ce.type==="GenericTypeAnnotation"||Ce.type==="TSTypeReference")&&!Ce.typeParameters||lt.has(Ce.type)):!1}function ft(Ce){let Wt=/^(?:before|after)(?:Each|All)$/;return Ce.callee.type==="Identifier"&&Wt.test(Ce.callee.name)&&Ce.arguments.length===1}var jt=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Ne(Ce){return T(Ce,jt)}function Je(Ce,Wt){if(Ce.type!=="CallExpression")return!1;if(Ce.arguments.length===1){if(he(Ce)&&Wt&&Je(Wt))return q(Ce.arguments[0]);if(ft(Ce))return he(Ce.arguments[0])}else if((Ce.arguments.length===2||Ce.arguments.length===3)&&(Ce.arguments[0].type==="TemplateLiteral"||Q(Ce.arguments[0]))&&Ne(Ce.callee))return Ce.arguments[2]&&!A(Ce.arguments[2])?!1:(Ce.arguments.length===2?q(Ce.arguments[1]):K(Ce.arguments[1])&&br(Ce.arguments[1]).length<=1)||he(Ce.arguments[1]);return!1}var It=Be(["CallExpression","OptionalCallExpression"]),Mt=Be(["MemberExpression","OptionalMemberExpression"]);function Rr(Ce){let Wt="expressions";Ce.type==="TSTemplateLiteralType"&&(Wt="types");let Pn=Ce[Wt];return Pn.length===0?!1:Pn.every(Li=>{if(ni(Li))return!1;if(Li.type==="Identifier"||Li.type==="ThisExpression")return!0;if(Mt(Li)){let Xi=Li;for(;Mt(Xi);)if(Xi.property.type!=="Identifier"&&Xi.property.type!=="Literal"&&Xi.property.type!=="StringLiteral"&&Xi.property.type!=="NumericLiteral"||(Xi=Xi.object,ni(Xi)))return!1;return Xi.type==="Identifier"||Xi.type==="ThisExpression"}return!1})}function rt(Ce,Wt){return Ce==="+"||Ce==="-"?Ce+Wt:Wt}function Ue(Ce,Wt){let Pn=E(Wt),Li=D(Ce,F(Wt));return Li!==!1&&Ce.slice(Pn,Pn+2)==="/*"&&Ce.slice(Li,Li+2)==="*/"}function mt(Ce,Wt){return Te(Wt)?Di(Wt):ni(Wt,ln.Leading,Pn=>y(Ce,F(Pn)))}function Et(Ce,Wt){return Wt.parser!=="json"&&Q(Ce.key)&&$t(Ce.key).slice(1,-1)===Ce.key.value&&(f(Ce.key.value)&&!(Wt.parser==="babel-ts"&&Ce.type==="ClassProperty"||Wt.parser==="typescript"&&Ce.type==="PropertyDefinition")||zt(Ce.key.value)&&String(Number(Ce.key.value))===Ce.key.value&&(Wt.parser==="babel"||Wt.parser==="acorn"||Wt.parser==="espree"||Wt.parser==="meriyah"||Wt.parser==="__babel_estree"))}function zt(Ce){return/^(?:\d+|\d+\.\d+)$/.test(Ce)}function ur(Ce,Wt){let Pn=/^[fx]?(?:describe|it|test)$/;return Wt.type==="TaggedTemplateExpression"&&Wt.quasi===Ce&&Wt.tag.type==="MemberExpression"&&Wt.tag.property.type==="Identifier"&&Wt.tag.property.name==="each"&&(Wt.tag.object.type==="Identifier"&&Pn.test(Wt.tag.object.name)||Wt.tag.object.type==="MemberExpression"&&Wt.tag.object.property.type==="Identifier"&&(Wt.tag.object.property.name==="only"||Wt.tag.object.property.name==="skip")&&Wt.tag.object.object.type==="Identifier"&&Pn.test(Wt.tag.object.object.name))}function xr(Ce){return Ce.quasis.some(Wt=>Wt.value.raw.includes(`
|
||
`))}function gn(Ce,Wt){return(Ce.type==="TemplateLiteral"&&xr(Ce)||Ce.type==="TaggedTemplateExpression"&&xr(Ce.quasi))&&!y(Wt,E(Ce),{backwards:!0})}function Si(Ce){if(!ni(Ce))return!1;let Wt=d(Bt(Ce,ln.Dangling));return Wt&&!I(Wt)}function di(Ce){if(Ce.length<=1)return!1;let Wt=0;for(let Pn of Ce)if(q(Pn)){if(Wt+=1,Wt>1)return!0}else if(It(Pn)){for(let Li of Pn.arguments)if(q(Li))return!0}return!1}function dn(Ce){let Wt=Ce.getValue(),Pn=Ce.getParentNode();return It(Wt)&&It(Pn)&&Pn.callee===Wt&&Wt.arguments.length>Pn.arguments.length&&Pn.arguments.length>0}function _n(Ce,Wt){if(Wt>=2)return!1;let Pn=Qs=>_n(Qs,Wt+1),Li=Ce.type==="Literal"&&"regex"in Ce&&Ce.regex.pattern||Ce.type==="RegExpLiteral"&&Ce.pattern;if(Li&&v(Li)>5)return!1;if(Ce.type==="Literal"||Ce.type==="BigIntLiteral"||Ce.type==="DecimalLiteral"||Ce.type==="BooleanLiteral"||Ce.type==="NullLiteral"||Ce.type==="NumericLiteral"||Ce.type==="RegExpLiteral"||Ce.type==="StringLiteral"||Ce.type==="Identifier"||Ce.type==="ThisExpression"||Ce.type==="Super"||Ce.type==="PrivateName"||Ce.type==="PrivateIdentifier"||Ce.type==="ArgumentPlaceholder"||Ce.type==="Import")return!0;if(Ce.type==="TemplateLiteral")return Ce.quasis.every(Qs=>!Qs.value.raw.includes(`
|
||
`))&&Ce.expressions.every(Pn);if(Ce.type==="ObjectExpression")return Ce.properties.every(Qs=>!Qs.computed&&(Qs.shorthand||Qs.value&&Pn(Qs.value)));if(Ce.type==="ArrayExpression")return Ce.elements.every(Qs=>Qs===null||Pn(Qs));if(Io(Ce))return(Ce.type==="ImportExpression"||_n(Ce.callee,Wt))&&ws(Ce).every(Pn);if(Mt(Ce))return _n(Ce.object,Wt)&&_n(Ce.property,Wt);let Xi={"!":!0,"-":!0,"+":!0,"~":!0};if(Ce.type==="UnaryExpression"&&Xi[Ce.operator])return _n(Ce.argument,Wt);let Ea={"++":!0,"--":!0};return Ce.type==="UpdateExpression"&&Ea[Ce.operator]?_n(Ce.argument,Wt):Ce.type==="TSNonNullExpression"?_n(Ce.expression,Wt):!1}function $t(Ce){var Wt,Pn;return(Wt=(Pn=Ce.extra)===null||Pn===void 0?void 0:Pn.raw)!==null&&Wt!==void 0?Wt:Ce.raw}function je(Ce){return Ce}function Qt(Ce){return Ce.filepath&&/\.tsx$/i.test(Ce.filepath)}function et(Ce){let Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return Ce.trailingComma==="es5"&&Wt==="es5"||Ce.trailingComma==="all"&&(Wt==="all"||Wt==="es5")}function Nt(Ce,Wt){switch(Ce.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return Nt(Ce.left,Wt);case"MemberExpression":case"OptionalMemberExpression":return Nt(Ce.object,Wt);case"TaggedTemplateExpression":return Ce.tag.type==="FunctionExpression"?!1:Nt(Ce.tag,Wt);case"CallExpression":case"OptionalCallExpression":return Ce.callee.type==="FunctionExpression"?!1:Nt(Ce.callee,Wt);case"ConditionalExpression":return Nt(Ce.test,Wt);case"UpdateExpression":return!Ce.prefix&&Nt(Ce.argument,Wt);case"BindExpression":return Ce.object&&Nt(Ce.object,Wt);case"SequenceExpression":return Nt(Ce.expressions[0],Wt);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return Nt(Ce.expression,Wt);default:return Wt(Ce)}}var Wr={"==":!0,"!=":!0,"===":!0,"!==":!0},$r={"*":!0,"/":!0,"%":!0},Ut={">>":!0,">>>":!0,"<<":!0};function X(Ce,Wt){return!(_t(Wt)!==_t(Ce)||Ce==="**"||Wr[Ce]&&Wr[Wt]||Wt==="%"&&$r[Ce]||Ce==="%"&&$r[Wt]||Wt!==Ce&&$r[Wt]&&$r[Ce]||Ut[Ce]&&Ut[Wt])}var We=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((Ce,Wt)=>Ce.map(Pn=>[Pn,Wt])));function _t(Ce){return We.get(Ce)}function gr(Ce){return!!Ut[Ce]||Ce==="|"||Ce==="^"||Ce==="&"}function wr(Ce){var Wt;if(Ce.rest)return!0;let Pn=br(Ce);return((Wt=d(Pn))===null||Wt===void 0?void 0:Wt.type)==="RestElement"}var hn=new WeakMap;function br(Ce){if(hn.has(Ce))return hn.get(Ce);let Wt=[];return Ce.this&&Wt.push(Ce.this),Array.isArray(Ce.parameters)?Wt.push(...Ce.parameters):Array.isArray(Ce.params)&&Wt.push(...Ce.params),Ce.rest&&Wt.push(Ce.rest),hn.set(Ce,Wt),Wt}function $s(Ce,Wt){let Pn=Ce.getValue(),Li=0,Xi=Ea=>Wt(Ea,Li++);Pn.this&&Ce.call(Xi,"this"),Array.isArray(Pn.parameters)?Ce.each(Xi,"parameters"):Array.isArray(Pn.params)&&Ce.each(Xi,"params"),Pn.rest&&Ce.call(Xi,"rest")}var nn=new WeakMap;function ws(Ce){if(nn.has(Ce))return nn.get(Ce);let Wt=Ce.arguments;return Ce.type==="ImportExpression"&&(Wt=[Ce.source],Ce.attributes&&Wt.push(Ce.attributes)),nn.set(Ce,Wt),Wt}function en(Ce,Wt){let Pn=Ce.getValue();Pn.type==="ImportExpression"?(Ce.call(Li=>Wt(Li,0),"source"),Pn.attributes&&Ce.call(Li=>Wt(Li,1),"attributes")):Ce.each(Wt,"arguments")}function Yn(Ce){return Ce.value.trim()==="prettier-ignore"&&!Ce.unignore}function Di(Ce){return Ce&&(Ce.prettierIgnore||ni(Ce,ln.PrettierIgnore))}function ps(Ce){let Wt=Ce.getValue();return Di(Wt)}var ln={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},pi=(Ce,Wt)=>{if(typeof Ce=="function"&&(Wt=Ce,Ce=0),Ce||Wt)return(Pn,Li,Xi)=>!(Ce&ln.Leading&&!Pn.leading||Ce&ln.Trailing&&!Pn.trailing||Ce&ln.Dangling&&(Pn.leading||Pn.trailing)||Ce&ln.Block&&!I(Pn)||Ce&ln.Line&&!N(Pn)||Ce&ln.First&&Li!==0||Ce&ln.Last&&Li!==Xi.length-1||Ce&ln.PrettierIgnore&&!Yn(Pn)||Wt&&!Wt(Pn))};function ni(Ce,Wt,Pn){if(!O(Ce==null?void 0:Ce.comments))return!1;let Li=pi(Wt,Pn);return Li?Ce.comments.some(Li):!0}function Bt(Ce,Wt,Pn){if(!Array.isArray(Ce==null?void 0:Ce.comments))return[];let Li=pi(Wt,Pn);return Li?Ce.comments.filter(Li):Ce.comments}var Qa=(Ce,Wt)=>{let{originalText:Pn}=Wt;return x(Pn,F(Ce))};function Io(Ce){return It(Ce)||Ce.type==="NewExpression"||Ce.type==="ImportExpression"}function Mi(Ce){return Ce&&(Ce.type==="ObjectProperty"||Ce.type==="Property"&&!Ce.method&&Ce.kind==="init")}function Ri(Ce){return!!Ce.__isUsingHackPipeline}var ys=Symbol("ifWithoutBlockAndSameLineComment");function ja(Ce){return Ce.type==="TSAsExpression"||Ce.type==="TSSatisfiesExpression"}h.exports={getFunctionParameters:br,iterateFunctionParametersPath:$s,getCallArguments:ws,iterateCallArgumentsPath:en,hasRestParameter:wr,getLeftSide:ue,getLeftSidePathName:ie,getParentExportDeclaration:B,getTypeScriptMappedTypeModifier:rt,hasFlowAnnotationComment:L,hasFlowShorthandAnnotationComment:ne,hasLeadingOwnLineComment:mt,hasNakedLeftSide:z,hasNode:re,hasIgnoreComment:ps,hasNodeIgnoreComment:Di,identity:je,isBinaryish:Fe,isCallLikeExpression:Io,isEnabledHackPipeline:Ri,isLineComment:N,isPrettierIgnoreComment:Yn,isCallExpression:It,isMemberExpression:Mt,isExportDeclaration:Z,isFlowAnnotationComment:Ue,isFunctionCompositionArgs:di,isFunctionNotation:ze,isFunctionOrArrowExpression:q,isGetterOrSetter:Pe,isJestEachTemplateLiteral:ur,isJsxNode:Te,isLiteral:j,isLongCurriedCallExpression:dn,isSimpleCallArgument:_n,isMemberish:Se,isNumericLiteral:A,isSignedNumericLiteral:M,isObjectProperty:Mi,isObjectType:U,isObjectTypePropertyAFunction:ye,isSimpleType:kt,isSimpleNumber:zt,isSimpleTemplateLiteral:Rr,isStringLiteral:Q,isStringPropSafeToUnquote:Et,isTemplateOnItsOwnLine:gn,isTestCall:Je,isTheOnlyJsxElementInMarkdown:_e,isTSXFile:Qt,isTypeAnnotationAFunction:ct,isNextLineEmpty:Qa,needsHardlineAfterDanglingComment:Si,rawText:$t,shouldPrintComma:et,isBitwiseOperator:gr,shouldFlatten:X,startsWithNoLookaheadToken:Nt,getPrecedence:_t,hasComment:ni,getComments:Bt,CommentCheckFlags:ln,markerForIfWithoutBlockAndSameLineComment:ys,isTSTypeExpression:ja}}}),Xu=Oe({"src/language-js/print/template-literal.js"(u,h){Ye();var f=Cs(),{getStringWidth:d,getIndentSize:y}=fi(),{builders:{join:D,hardline:O,softline:x,group:v,indent:E,align:F,lineSuffixBoundary:k,addAlignmentToDoc:I},printer:{printDocToString:T},utils:{mapDoc:_}}=Ln(),{isBinaryish:R,isJestEachTemplateLiteral:W,isSimpleTemplateLiteral:ne,hasComment:L,isMemberExpression:re,isTSTypeExpression:z}=ss();function ue(j,A,M){let Q=j.getValue();if(Q.type==="TemplateLiteral"&&W(Q,j.getParentNode())){let Te=ie(j,M,A);if(Te)return Te}let U="expressions";Q.type==="TSTemplateLiteralType"&&(U="types");let q=[],K=j.map(A,U),he=ne(Q);return he&&(K=K.map(Te=>T(Te,Object.assign(Object.assign({},M),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),q.push(k,"`"),j.each(Te=>{let _e=Te.getName();if(q.push(A()),_e<K.length){let{tabWidth:Pe}=M,ze=Te.getValue(),ye=y(ze.value.raw,Pe),ct=K[_e];if(!he){let Se=Q[U][_e];(L(Se)||re(Se)||Se.type==="ConditionalExpression"||Se.type==="SequenceExpression"||z(Se)||R(Se))&&(ct=[E([x,ct]),x])}let Fe=ye===0&&ze.value.raw.endsWith(`
|
||
`)?F(Number.NEGATIVE_INFINITY,ct):I(ct,ye,Pe);q.push(v(["${",Fe,k,"}"]))}},"quasis"),q.push("`"),q}function ie(j,A,M){let Q=j.getNode(),U=Q.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(U.length>1||U.some(q=>q.length>0)){A.__inJestEach=!0;let q=j.map(M,"expressions");A.__inJestEach=!1;let K=[],he=q.map(ye=>"${"+T(ye,Object.assign(Object.assign({},A),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),Te=[{hasLineBreak:!1,cells:[]}];for(let ye=1;ye<Q.quasis.length;ye++){let ct=f(Te),Fe=he[ye-1];ct.cells.push(Fe),Fe.includes(`
|
||
`)&&(ct.hasLineBreak=!0),Q.quasis[ye].value.raw.includes(`
|
||
`)&&Te.push({hasLineBreak:!1,cells:[]})}let _e=Math.max(U.length,...Te.map(ye=>ye.cells.length)),Pe=Array.from({length:_e}).fill(0),ze=[{cells:U},...Te.filter(ye=>ye.cells.length>0)];for(let{cells:ye}of ze.filter(ct=>!ct.hasLineBreak))for(let[ct,Fe]of ye.entries())Pe[ct]=Math.max(Pe[ct],d(Fe));return K.push(k,"`",E([O,D(O,ze.map(ye=>D(" | ",ye.cells.map((ct,Fe)=>ye.hasLineBreak?ct:ct+" ".repeat(Pe[Fe]-d(ct))))))]),O,"`"),K}}function Be(j,A){let M=j.getValue(),Q=A();return L(M)&&(Q=v([E([x,Q]),x])),["${",Q,k,"}"]}function N(j,A){return j.map(M=>Be(M,A),"expressions")}function Z(j,A){return _(j,M=>typeof M=="string"?A?M.replace(/(\\*)`/g,"$1$1\\`"):B(M):M)}function B(j){return j.replace(/([\\`]|\${)/g,"\\$1")}h.exports={printTemplateLiteral:ue,printTemplateExpressions:N,escapeTemplateCharacters:Z,uncookTemplateElementValue:B}}}),uf=Oe({"src/language-js/embed/markdown.js"(u,h){Ye();var{builders:{indent:f,softline:d,literalline:y,dedentToRoot:D}}=Ln(),{escapeTemplateCharacters:O}=Xu();function x(E,F,k){let I=E.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(W,ne)=>"\\".repeat(ne.length/2)+"`"),T=v(I),_=T!=="";_&&(I=I.replace(new RegExp(`^${T}`,"gm"),""));let R=O(k(I,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",_?f([d,R]):[y,D(R)],d,"`"]}function v(E){let F=E.match(/^([^\S\n]*)\S/m);return F===null?"":F[1]}h.exports=x}}),np=Oe({"src/language-js/embed/css.js"(u,h){Ye();var{isNonEmptyArray:f}=fi(),{builders:{indent:d,hardline:y,softline:D},utils:{mapDoc:O,replaceEndOfLine:x,cleanDoc:v}}=Ln(),{printTemplateExpressions:E}=Xu();function F(T,_,R){let W=T.getValue(),ne=W.quasis.map(ie=>ie.value.raw),L=0,re=ne.reduce((ie,Be,N)=>N===0?Be:ie+"@prettier-placeholder-"+L+++"-id"+Be,""),z=R(re,{parser:"scss"},{stripTrailingHardline:!0}),ue=E(T,_);return k(z,W,ue)}function k(T,_,R){if(_.quasis.length===1&&!_.quasis[0].value.raw.trim())return"``";let W=I(T,R);if(!W)throw new Error("Couldn't insert all the expressions");return["`",d([y,W]),D,"`"]}function I(T,_){if(!f(_))return T;let R=0,W=O(v(T),ne=>typeof ne!="string"||!ne.includes("@prettier-placeholder")?ne:ne.split(/@prettier-placeholder-(\d+)-id/).map((L,re)=>re%2===0?x(L):(R++,_[L])));return _.length===R?W:null}h.exports=F}}),ip=Oe({"src/language-js/embed/graphql.js"(u,h){Ye();var{builders:{indent:f,join:d,hardline:y}}=Ln(),{escapeTemplateCharacters:D,printTemplateExpressions:O}=Xu();function x(E,F,k){let I=E.getValue(),T=I.quasis.length;if(T===1&&I.quasis[0].value.raw.trim()==="")return"``";let _=O(E,F),R=[];for(let W=0;W<T;W++){let ne=I.quasis[W],L=W===0,re=W===T-1,z=ne.value.cooked,ue=z.split(`
|
||
`),ie=ue.length,Be=_[W],N=ie>2&&ue[0].trim()===""&&ue[1].trim()==="",Z=ie>2&&ue[ie-1].trim()===""&&ue[ie-2].trim()==="",B=ue.every(A=>/^\s*(?:#[^\n\r]*)?$/.test(A));if(!re&&/#[^\n\r]*$/.test(ue[ie-1]))return null;let j=null;B?j=v(ue):j=k(z,{parser:"graphql"},{stripTrailingHardline:!0}),j?(j=D(j,!1),!L&&N&&R.push(""),R.push(j),!re&&Z&&R.push("")):!L&&!re&&N&&R.push(""),Be&&R.push(Be)}return["`",f([y,d(y,R)]),y,"`"]}function v(E){let F=[],k=!1,I=E.map(T=>T.trim());for(let[T,_]of I.entries())_!==""&&(I[T-1]===""&&k?F.push([y,_]):F.push(_),k=!0);return F.length===0?null:d(y,F)}h.exports=x}}),Vu=Oe({"src/language-js/embed/html.js"(u,h){Ye();var{builders:{indent:f,line:d,hardline:y,group:D},utils:{mapDoc:O}}=Ln(),{printTemplateExpressions:x,uncookTemplateElementValue:v}=Xu(),E=0;function F(k,I,T,_,R){let{parser:W}=R,ne=k.getValue(),L=E;E=E+1>>>0;let re=M=>`PRETTIER_HTML_PLACEHOLDER_${M}_${L}_IN_JS`,z=ne.quasis.map((M,Q,U)=>Q===U.length-1?M.value.cooked:M.value.cooked+re(Q)).join(""),ue=x(k,I);if(ue.length===0&&z.trim().length===0)return"``";let ie=new RegExp(re("(\\d+)"),"g"),Be=0,N=T(z,{parser:W,__onHtmlRoot(M){Be=M.children.length}},{stripTrailingHardline:!0}),Z=O(N,M=>{if(typeof M!="string")return M;let Q=[],U=M.split(ie);for(let q=0;q<U.length;q++){let K=U[q];if(q%2===0){K&&(K=v(K),_.__embeddedInHtml&&(K=K.replace(/<\/(script)\b/gi,"<\\/$1")),Q.push(K));continue}let he=Number(K);Q.push(ue[he])}return Q}),B=/^\s/.test(z)?" ":"",j=/\s$/.test(z)?" ":"",A=_.htmlWhitespaceSensitivity==="ignore"?y:B&&j?d:null;return D(A?["`",f([A,D(Z)]),A,"`"]:["`",B,Be>1?f(D(Z)):D(Z),j,"`"])}h.exports=F}}),Uu=Oe({"src/language-js/embed.js"(u,h){Ye();var{hasComment:f,CommentCheckFlags:d,isObjectProperty:y}=ss(),D=uf(),O=np(),x=ip(),v=Vu();function E(N){if(I(N)||W(N)||ne(N)||T(N))return"css";if(z(N))return"graphql";if(ie(N))return"html";if(_(N))return"angular";if(k(N))return"markdown"}function F(N,Z,B,j){let A=N.getValue();if(A.type!=="TemplateLiteral"||Be(A))return;let M=E(N);if(M){if(M==="markdown")return D(N,Z,B);if(M==="css")return O(N,Z,B);if(M==="graphql")return x(N,Z,B);if(M==="html"||M==="angular")return v(N,Z,B,j,{parser:M})}}function k(N){let Z=N.getValue(),B=N.getParentNode();return B&&B.type==="TaggedTemplateExpression"&&Z.quasis.length===1&&B.tag.type==="Identifier"&&(B.tag.name==="md"||B.tag.name==="markdown")}function I(N){let Z=N.getValue(),B=N.getParentNode(),j=N.getParentNode(1);return j&&Z.quasis&&B.type==="JSXExpressionContainer"&&j.type==="JSXElement"&&j.openingElement.name.name==="style"&&j.openingElement.attributes.some(A=>A.name.name==="jsx")||B&&B.type==="TaggedTemplateExpression"&&B.tag.type==="Identifier"&&B.tag.name==="css"||B&&B.type==="TaggedTemplateExpression"&&B.tag.type==="MemberExpression"&&B.tag.object.name==="css"&&(B.tag.property.name==="global"||B.tag.property.name==="resolve")}function T(N){return N.match(Z=>Z.type==="TemplateLiteral",(Z,B)=>Z.type==="ArrayExpression"&&B==="elements",(Z,B)=>y(Z)&&Z.key.type==="Identifier"&&Z.key.name==="styles"&&B==="value",...R)}function _(N){return N.match(Z=>Z.type==="TemplateLiteral",(Z,B)=>y(Z)&&Z.key.type==="Identifier"&&Z.key.name==="template"&&B==="value",...R)}var R=[(N,Z)=>N.type==="ObjectExpression"&&Z==="properties",(N,Z)=>N.type==="CallExpression"&&N.callee.type==="Identifier"&&N.callee.name==="Component"&&Z==="arguments",(N,Z)=>N.type==="Decorator"&&Z==="expression"];function W(N){let Z=N.getParentNode();if(!Z||Z.type!=="TaggedTemplateExpression")return!1;let B=Z.tag.type==="ParenthesizedExpression"?Z.tag.expression:Z.tag;switch(B.type){case"MemberExpression":return L(B.object)||re(B);case"CallExpression":return L(B.callee)||B.callee.type==="MemberExpression"&&(B.callee.object.type==="MemberExpression"&&(L(B.callee.object.object)||re(B.callee.object))||B.callee.object.type==="CallExpression"&&L(B.callee.object.callee));case"Identifier":return B.name==="css";default:return!1}}function ne(N){let Z=N.getParentNode(),B=N.getParentNode(1);return B&&Z.type==="JSXExpressionContainer"&&B.type==="JSXAttribute"&&B.name.type==="JSXIdentifier"&&B.name.name==="css"}function L(N){return N.type==="Identifier"&&N.name==="styled"}function re(N){return/^[A-Z]/.test(N.object.name)&&N.property.name==="extend"}function z(N){let Z=N.getValue(),B=N.getParentNode();return ue(Z,"GraphQL")||B&&(B.type==="TaggedTemplateExpression"&&(B.tag.type==="MemberExpression"&&B.tag.object.name==="graphql"&&B.tag.property.name==="experimental"||B.tag.type==="Identifier"&&(B.tag.name==="gql"||B.tag.name==="graphql"))||B.type==="CallExpression"&&B.callee.type==="Identifier"&&B.callee.name==="graphql")}function ue(N,Z){return f(N,d.Block|d.Leading,B=>{let{value:j}=B;return j===` ${Z} `})}function ie(N){return ue(N.getValue(),"HTML")||N.match(Z=>Z.type==="TemplateLiteral",(Z,B)=>Z.type==="TaggedTemplateExpression"&&Z.tag.type==="Identifier"&&Z.tag.name==="html"&&B==="quasi")}function Be(N){let{quasis:Z}=N;return Z.some(B=>{let{value:{cooked:j}}=B;return j===null})}h.exports=F}}),va=Oe({"src/language-js/clean.js"(u,h){Ye();var f=Ya(),d=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),y=O=>{for(let x of O.quasis)delete x.value};function D(O,x,v){if(O.type==="Program"&&delete x.sourceType,(O.type==="BigIntLiteral"||O.type==="BigIntLiteralTypeAnnotation")&&x.value&&(x.value=x.value.toLowerCase()),(O.type==="BigIntLiteral"||O.type==="Literal")&&x.bigint&&(x.bigint=x.bigint.toLowerCase()),O.type==="DecimalLiteral"&&(x.value=Number(x.value)),O.type==="Literal"&&x.decimal&&(x.decimal=Number(x.decimal)),O.type==="EmptyStatement"||O.type==="JSXText"||O.type==="JSXExpressionContainer"&&(O.expression.type==="Literal"||O.expression.type==="StringLiteral")&&O.expression.value===" ")return null;if((O.type==="Property"||O.type==="ObjectProperty"||O.type==="MethodDefinition"||O.type==="ClassProperty"||O.type==="ClassMethod"||O.type==="PropertyDefinition"||O.type==="TSDeclareMethod"||O.type==="TSPropertySignature"||O.type==="ObjectTypeProperty")&&typeof O.key=="object"&&O.key&&(O.key.type==="Literal"||O.key.type==="NumericLiteral"||O.key.type==="StringLiteral"||O.key.type==="Identifier")&&delete x.key,O.type==="JSXElement"&&O.openingElement.name.name==="style"&&O.openingElement.attributes.some(k=>k.name.name==="jsx"))for(let{type:k,expression:I}of x.children)k==="JSXExpressionContainer"&&I.type==="TemplateLiteral"&&y(I);O.type==="JSXAttribute"&&O.name.name==="css"&&O.value.type==="JSXExpressionContainer"&&O.value.expression.type==="TemplateLiteral"&&y(x.value.expression),O.type==="JSXAttribute"&&O.value&&O.value.type==="Literal"&&/["']|"|'/.test(O.value.value)&&(x.value.value=x.value.value.replace(/["']|"|'/g,'"'));let E=O.expression||O.callee;if(O.type==="Decorator"&&E.type==="CallExpression"&&E.callee.name==="Component"&&E.arguments.length===1){let k=O.expression.arguments[0].properties;for(let[I,T]of x.expression.arguments[0].properties.entries())switch(k[I].key.name){case"styles":T.value.type==="ArrayExpression"&&y(T.value.elements[0]);break;case"template":T.value.type==="TemplateLiteral"&&y(T.value);break}}if(O.type==="TaggedTemplateExpression"&&(O.tag.type==="MemberExpression"||O.tag.type==="Identifier"&&(O.tag.name==="gql"||O.tag.name==="graphql"||O.tag.name==="css"||O.tag.name==="md"||O.tag.name==="markdown"||O.tag.name==="html")||O.tag.type==="CallExpression")&&y(x.quasi),O.type==="TemplateLiteral"){var F;(!((F=O.leadingComments)===null||F===void 0)&&F.some(k=>f(k)&&["GraphQL","HTML"].some(I=>k.value===` ${I} `))||v.type==="CallExpression"&&v.callee.name==="graphql"||!O.leadingComments)&&y(x)}if(O.type==="InterpreterDirective"&&(x.value=x.value.trimEnd()),(O.type==="TSIntersectionType"||O.type==="TSUnionType")&&O.types.length===1)return x.types[0]}D.ignoredProperties=d,h.exports=D}}),Bl={};pn(Bl,{EOL:()=>Ml,arch:()=>Zu,cpus:()=>Wu,default:()=>Oc,endianness:()=>qu,freemem:()=>zu,getNetworkInterfaces:()=>ca,hostname:()=>cu,loadavg:()=>Nl,networkInterfaces:()=>yc,platform:()=>Dc,release:()=>Ca,tmpDir:()=>hu,tmpdir:()=>Il,totalmem:()=>Ga,type:()=>ra,uptime:()=>Ma});function qu(){if(typeof pu>"u"){var u=new ArrayBuffer(2),h=new Uint8Array(u),f=new Uint16Array(u);if(h[0]=1,h[1]=2,f[0]===258)pu="BE";else if(f[0]===513)pu="LE";else throw new Error("unable to figure out endianess")}return pu}function cu(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Nl(){return[]}function Ma(){return 0}function zu(){return Number.MAX_VALUE}function Ga(){return Number.MAX_VALUE}function Wu(){return[]}function ra(){return"Browser"}function Ca(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function yc(){}function ca(){}function Zu(){return"javascript"}function Dc(){return"browser"}function hu(){return"/tmp"}var pu,Il,Ml,Oc,Rl=Cr({"node-modules-polyfills:os"(){Ye(),Il=hu,Ml=`
|
||
`,Oc={EOL:Ml,tmpdir:Il,tmpDir:hu,networkInterfaces:yc,getNetworkInterfaces:ca,release:Ca,type:ra,cpus:Wu,totalmem:Ga,freemem:zu,uptime:Ma,loadavg:Nl,hostname:cu,endianness:qu}}}),Ql=Oe({"node-modules-polyfills-commonjs:os"(u,h){Ye();var f=(Rl(),Oi(Bl));if(f&&f.default){h.exports=f.default;for(let d in f)h.exports[d]=f[d]}else f&&(h.exports=f)}}),sp=Oe({"node_modules/detect-newline/index.js"(u,h){Ye();var f=d=>{if(typeof d!="string")throw new TypeError("Expected a string");let y=d.match(/(?:\r?\n)/g)||[];if(y.length===0)return;let D=y.filter(x=>x===`\r
|
||
`).length,O=y.length-D;return D>O?`\r
|
||
`:`
|
||
`};h.exports=f,h.exports.graceful=d=>typeof d=="string"&&f(d)||`
|
||
`}}),Ra=Oe({"node_modules/jest-docblock/build/index.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.extract=T,u.parse=R,u.parseWithComments=W,u.print=ne,u.strip=_;function h(){let re=Ql();return h=function(){return re},re}function f(){let re=d(sp());return f=function(){return re},re}function d(re){return re&&re.__esModule?re:{default:re}}var y=/\*\/$/,D=/^\/\*\*?/,O=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,x=/(^|\s+)\/\/([^\r\n]*)/g,v=/^(\r?\n)+/,E=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,F=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,k=/(\r?\n|^) *\* ?/g,I=[];function T(re){let z=re.match(O);return z?z[0].trimLeft():""}function _(re){let z=re.match(O);return z&&z[0]?re.substring(z[0].length):re}function R(re){return W(re).pragmas}function W(re){let z=(0,f().default)(re)||h().EOL;re=re.replace(D,"").replace(y,"").replace(k,"$1");let ue="";for(;ue!==re;)ue=re,re=re.replace(E,`${z}$1 $2${z}`);re=re.replace(v,"").trimRight();let ie=Object.create(null),Be=re.replace(F,"").replace(v,"").trimRight(),N;for(;N=F.exec(re);){let Z=N[2].replace(x,"");typeof ie[N[1]]=="string"||Array.isArray(ie[N[1]])?ie[N[1]]=I.concat(ie[N[1]],Z):ie[N[1]]=Z}return{comments:Be,pragmas:ie}}function ne(re){let{comments:z="",pragmas:ue={}}=re,ie=(0,f().default)(z)||h().EOL,Be="/**",N=" *",Z=" */",B=Object.keys(ue),j=B.map(M=>L(M,ue[M])).reduce((M,Q)=>M.concat(Q),[]).map(M=>`${N} ${M}${ie}`).join("");if(!z){if(B.length===0)return"";if(B.length===1&&!Array.isArray(ue[B[0]])){let M=ue[B[0]];return`${Be} ${L(B[0],M)[0]}${Z}`}}let A=z.split(ie).map(M=>`${N} ${M}`).join(ie)+ie;return Be+ie+(z?A:"")+(z&&B.length?N+ie:"")+j+Z}function L(re,z){return I.concat(z).map(ue=>`@${re} ${ue}`.trim())}}}),xc=Oe({"src/language-js/utils/get-shebang.js"(u,h){Ye();function f(d){if(!d.startsWith("#!"))return"";let y=d.indexOf(`
|
||
`);return y===-1?d:d.slice(0,y)}h.exports=f}}),Yu=Oe({"src/language-js/pragma.js"(u,h){Ye();var{parseWithComments:f,strip:d,extract:y,print:D}=Ra(),{normalizeEndOfLine:O}=fo(),x=xc();function v(k){let I=x(k);I&&(k=k.slice(I.length+1));let T=y(k),{pragmas:_,comments:R}=f(T);return{shebang:I,text:k,pragmas:_,comments:R}}function E(k){let I=Object.keys(v(k).pragmas);return I.includes("prettier")||I.includes("format")}function F(k){let{shebang:I,text:T,pragmas:_,comments:R}=v(k),W=d(T),ne=D({pragmas:Object.assign({format:""},_),comments:R.trimStart()});return(I?`${I}
|
||
`:"")+O(ne)+(W.startsWith(`
|
||
`)?`
|
||
`:`
|
||
|
||
`)+W}h.exports={hasPragma:E,insertPragma:F}}}),bc=Oe({"src/language-js/utils/is-type-cast-comment.js"(u,h){Ye();var f=Ya();function d(y){return f(y)&&y.value[0]==="*"&&/@(?:type|satisfies)\b/.test(y.value)}h.exports=d}}),jl=Oe({"src/language-js/comments.js"(u,h){Ye();var{getLast:f,hasNewline:d,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:y,getNextNonSpaceNonCommentCharacter:D,hasNewlineInRange:O,addLeadingComment:x,addTrailingComment:v,addDanglingComment:E,getNextNonSpaceNonCommentCharacterIndex:F,isNonEmptyArray:k}=fi(),{getFunctionParameters:I,isPrettierIgnoreComment:T,isJsxNode:_,hasFlowShorthandAnnotationComment:R,hasFlowAnnotationComment:W,hasIgnoreComment:ne,isCallLikeExpression:L,getCallArguments:re,isCallExpression:z,isMemberExpression:ue,isObjectProperty:ie,isLineComment:Be,getComments:N,CommentCheckFlags:Z,markerForIfWithoutBlockAndSameLineComment:B}=ss(),{locStart:j,locEnd:A}=zi(),M=Ya(),Q=bc();function U(Ut){return[je,Rr,ct,Pe,ze,ye,kt,xr,Et,ur,gn,Si,jt,rt,Ue].some(X=>X(Ut))}function q(Ut){return[_e,Rr,Fe,gn,Pe,ze,ye,kt,rt,mt,zt,ur,_n,Ue,et].some(X=>X(Ut))}function K(Ut){return[je,Pe,ze,Se,Mt,jt,ur,It,Je,Qt,Ue,$t].some(X=>X(Ut))}function he(Ut,X){let We=(Ut.body||Ut.properties).find(_t=>{let{type:gr}=_t;return gr!=="EmptyStatement"});We?x(We,X):E(Ut,X)}function Te(Ut,X){Ut.type==="BlockStatement"?he(Ut,X):x(Ut,X)}function _e(Ut){let{comment:X,followingNode:We}=Ut;return We&&Q(X)?(x(We,X),!0):!1}function Pe(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr,text:wr}=Ut;if((_t==null?void 0:_t.type)!=="IfStatement"||!gr)return!1;if(D(wr,X,A)===")")return v(We,X),!0;if(We===_t.consequent&&gr===_t.alternate){if(We.type==="BlockStatement")v(We,X);else{let hn=X.type==="SingleLine"||X.loc.start.line===X.loc.end.line,br=X.loc.start.line===We.loc.start.line;hn&&br?E(We,X,B):E(_t,X)}return!0}return gr.type==="BlockStatement"?(he(gr,X),!0):gr.type==="IfStatement"?(Te(gr.consequent,X),!0):_t.consequent===gr?(x(gr,X),!0):!1}function ze(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr,text:wr}=Ut;return(_t==null?void 0:_t.type)!=="WhileStatement"||!gr?!1:D(wr,X,A)===")"?(v(We,X),!0):gr.type==="BlockStatement"?(he(gr,X),!0):_t.body===gr?(x(gr,X),!0):!1}function ye(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr}=Ut;return(_t==null?void 0:_t.type)!=="TryStatement"&&(_t==null?void 0:_t.type)!=="CatchClause"||!gr?!1:_t.type==="CatchClause"&&We?(v(We,X),!0):gr.type==="BlockStatement"?(he(gr,X),!0):gr.type==="TryStatement"?(Te(gr.finalizer,X),!0):gr.type==="CatchClause"?(Te(gr.body,X),!0):!1}function ct(Ut){let{comment:X,enclosingNode:We,followingNode:_t}=Ut;return ue(We)&&(_t==null?void 0:_t.type)==="Identifier"?(x(We,X),!0):!1}function Fe(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr,text:wr}=Ut,hn=We&&!O(wr,A(We),j(X));return(!We||!hn)&&((_t==null?void 0:_t.type)==="ConditionalExpression"||(_t==null?void 0:_t.type)==="TSConditionalType")&&gr?(x(gr,X),!0):!1}function Se(Ut){let{comment:X,precedingNode:We,enclosingNode:_t}=Ut;return ie(_t)&&_t.shorthand&&_t.key===We&&_t.value.type==="AssignmentPattern"?(v(_t.value.left,X),!0):!1}var lt=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function kt(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr}=Ut;if(lt.has(_t==null?void 0:_t.type)){if(k(_t.decorators)&&!(gr&&gr.type==="Decorator"))return v(f(_t.decorators),X),!0;if(_t.body&&gr===_t.body)return he(_t.body,X),!0;if(gr){if(_t.superClass&&gr===_t.superClass&&We&&(We===_t.id||We===_t.typeParameters))return v(We,X),!0;for(let wr of["implements","extends","mixins"])if(_t[wr]&&gr===_t[wr][0])return We&&(We===_t.id||We===_t.typeParameters||We===_t.superClass)?v(We,X):E(_t,X,wr),!0}}return!1}var ft=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function jt(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,text:gr}=Ut;return _t&&We&&D(gr,X,A)==="("&&(_t.type==="Property"||_t.type==="TSDeclareMethod"||_t.type==="TSAbstractMethodDefinition")&&We.type==="Identifier"&&_t.key===We&&D(gr,We,A)!==":"||(We==null?void 0:We.type)==="Decorator"&&ft.has(_t==null?void 0:_t.type)?(v(We,X),!0):!1}var Ne=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Je(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,text:gr}=Ut;return D(gr,X,A)!=="("?!1:We&&Ne.has(_t==null?void 0:_t.type)?(v(We,X),!0):!1}function It(Ut){let{comment:X,enclosingNode:We,text:_t}=Ut;if((We==null?void 0:We.type)!=="ArrowFunctionExpression")return!1;let gr=F(_t,X,A);return gr!==!1&&_t.slice(gr,gr+2)==="=>"?(E(We,X),!0):!1}function Mt(Ut){let{comment:X,enclosingNode:We,text:_t}=Ut;return D(_t,X,A)!==")"?!1:We&&(Nt(We)&&I(We).length===0||L(We)&&re(We).length===0)?(E(We,X),!0):((We==null?void 0:We.type)==="MethodDefinition"||(We==null?void 0:We.type)==="TSAbstractMethodDefinition")&&I(We.value).length===0?(E(We.value,X),!0):!1}function Rr(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr,text:wr}=Ut;if((We==null?void 0:We.type)==="FunctionTypeParam"&&(_t==null?void 0:_t.type)==="FunctionTypeAnnotation"&&(gr==null?void 0:gr.type)!=="FunctionTypeParam"||((We==null?void 0:We.type)==="Identifier"||(We==null?void 0:We.type)==="AssignmentPattern")&&_t&&Nt(_t)&&D(wr,X,A)===")")return v(We,X),!0;if((_t==null?void 0:_t.type)==="FunctionDeclaration"&&(gr==null?void 0:gr.type)==="BlockStatement"){let hn=(()=>{let br=I(_t);if(br.length>0)return y(wr,A(f(br)));let $s=y(wr,A(_t.id));return $s!==!1&&y(wr,$s+1)})();if(j(X)>hn)return he(gr,X),!0}return!1}function rt(Ut){let{comment:X,enclosingNode:We}=Ut;return(We==null?void 0:We.type)==="LabeledStatement"?(x(We,X),!0):!1}function Ue(Ut){let{comment:X,enclosingNode:We}=Ut;return((We==null?void 0:We.type)==="ContinueStatement"||(We==null?void 0:We.type)==="BreakStatement")&&!We.label?(v(We,X),!0):!1}function mt(Ut){let{comment:X,precedingNode:We,enclosingNode:_t}=Ut;return z(_t)&&We&&_t.callee===We&&_t.arguments.length>0?(x(_t.arguments[0],X),!0):!1}function Et(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr}=Ut;return(_t==null?void 0:_t.type)==="UnionTypeAnnotation"||(_t==null?void 0:_t.type)==="TSUnionType"?(T(X)&&(gr.prettierIgnore=!0,X.unignore=!0),We?(v(We,X),!0):!1):(((gr==null?void 0:gr.type)==="UnionTypeAnnotation"||(gr==null?void 0:gr.type)==="TSUnionType")&&T(X)&&(gr.types[0].prettierIgnore=!0,X.unignore=!0),!1)}function zt(Ut){let{comment:X,enclosingNode:We}=Ut;return ie(We)?(x(We,X),!0):!1}function ur(Ut){let{comment:X,enclosingNode:We,followingNode:_t,ast:gr,isLastComment:wr}=Ut;return gr&&gr.body&&gr.body.length===0?(wr?E(gr,X):x(gr,X),!0):(We==null?void 0:We.type)==="Program"&&(We==null?void 0:We.body.length)===0&&!k(We.directives)?(wr?E(We,X):x(We,X),!0):(_t==null?void 0:_t.type)==="Program"&&(_t==null?void 0:_t.body.length)===0&&(We==null?void 0:We.type)==="ModuleExpression"?(E(_t,X),!0):!1}function xr(Ut){let{comment:X,enclosingNode:We}=Ut;return(We==null?void 0:We.type)==="ForInStatement"||(We==null?void 0:We.type)==="ForOfStatement"?(x(We,X),!0):!1}function gn(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,text:gr}=Ut;if((_t==null?void 0:_t.type)==="ImportSpecifier"||(_t==null?void 0:_t.type)==="ExportSpecifier")return x(_t,X),!0;let wr=(We==null?void 0:We.type)==="ImportSpecifier"&&(_t==null?void 0:_t.type)==="ImportDeclaration",hn=(We==null?void 0:We.type)==="ExportSpecifier"&&(_t==null?void 0:_t.type)==="ExportNamedDeclaration";return(wr||hn)&&d(gr,A(X))?(v(We,X),!0):!1}function Si(Ut){let{comment:X,enclosingNode:We}=Ut;return(We==null?void 0:We.type)==="AssignmentPattern"?(x(We,X),!0):!1}var di=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),dn=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function _n(Ut){let{comment:X,enclosingNode:We,followingNode:_t}=Ut;return di.has(We==null?void 0:We.type)&&_t&&(dn.has(_t.type)||M(X))?(x(_t,X),!0):!1}function $t(Ut){let{comment:X,enclosingNode:We,followingNode:_t,text:gr}=Ut;return!_t&&((We==null?void 0:We.type)==="TSMethodSignature"||(We==null?void 0:We.type)==="TSDeclareFunction"||(We==null?void 0:We.type)==="TSAbstractMethodDefinition")&&D(gr,X,A)===";"?(v(We,X),!0):!1}function je(Ut){let{comment:X,enclosingNode:We,followingNode:_t}=Ut;if(T(X)&&(We==null?void 0:We.type)==="TSMappedType"&&(_t==null?void 0:_t.type)==="TSTypeParameter"&&_t.constraint)return We.prettierIgnore=!0,X.unignore=!0,!0}function Qt(Ut){let{comment:X,precedingNode:We,enclosingNode:_t,followingNode:gr}=Ut;return(_t==null?void 0:_t.type)!=="TSMappedType"?!1:(gr==null?void 0:gr.type)==="TSTypeParameter"&&gr.name?(x(gr.name,X),!0):(We==null?void 0:We.type)==="TSTypeParameter"&&We.constraint?(v(We.constraint,X),!0):!1}function et(Ut){let{comment:X,enclosingNode:We,followingNode:_t}=Ut;return!We||We.type!=="SwitchCase"||We.test||!_t||_t!==We.consequent[0]?!1:(_t.type==="BlockStatement"&&Be(X)?he(_t,X):E(We,X),!0)}function Nt(Ut){return Ut.type==="ArrowFunctionExpression"||Ut.type==="FunctionExpression"||Ut.type==="FunctionDeclaration"||Ut.type==="ObjectMethod"||Ut.type==="ClassMethod"||Ut.type==="TSDeclareFunction"||Ut.type==="TSCallSignatureDeclaration"||Ut.type==="TSConstructSignatureDeclaration"||Ut.type==="TSMethodSignature"||Ut.type==="TSConstructorType"||Ut.type==="TSFunctionType"||Ut.type==="TSDeclareMethod"}function Wr(Ut,X){if((X.parser==="typescript"||X.parser==="flow"||X.parser==="acorn"||X.parser==="espree"||X.parser==="meriyah"||X.parser==="__babel_estree")&&Ut.type==="MethodDefinition"&&Ut.value&&Ut.value.type==="FunctionExpression"&&I(Ut.value).length===0&&!Ut.value.returnType&&!k(Ut.value.typeParameters)&&Ut.value.body)return[...Ut.decorators||[],Ut.key,Ut.value.body]}function $r(Ut){let X=Ut.getValue(),We=Ut.getParentNode(),_t=gr=>W(N(gr,Z.Leading))||W(N(gr,Z.Trailing));return(X&&(_(X)||R(X)||z(We)&&_t(X))||We&&(We.type==="JSXSpreadAttribute"||We.type==="JSXSpreadChild"||We.type==="UnionTypeAnnotation"||We.type==="TSUnionType"||(We.type==="ClassDeclaration"||We.type==="ClassExpression")&&We.superClass===X))&&(!ne(Ut)||We.type==="UnionTypeAnnotation"||We.type==="TSUnionType")}h.exports={handleOwnLineComment:U,handleEndOfLineComment:q,handleRemainingComment:K,getCommentChildNodes:Wr,willPrintOwnComments:$r}}}),fu=Oe({"src/language-js/needs-parens.js"(u,h){Ye();var f=Cs(),d=Mu(),{getFunctionParameters:y,getLeftSidePathName:D,hasFlowShorthandAnnotationComment:O,hasNakedLeftSide:x,hasNode:v,isBitwiseOperator:E,startsWithNoLookaheadToken:F,shouldFlatten:k,getPrecedence:I,isCallExpression:T,isMemberExpression:_,isObjectProperty:R,isTSTypeExpression:W}=ss();function ne(N,Z){let B=N.getParentNode();if(!B)return!1;let j=N.getName(),A=N.getNode();if(Z.__isInHtmlInterpolation&&!Z.bracketSpacing&&ue(A)&&ie(N))return!0;if(L(A))return!1;if(Z.parser!=="flow"&&O(N.getValue()))return!0;if(A.type==="Identifier"){if(A.extra&&A.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(A.name)||j==="left"&&(A.name==="async"&&!B.await||A.name==="let")&&B.type==="ForOfStatement")return!0;if(A.name==="let"){var M;let U=(M=N.findAncestor(q=>q.type==="ForOfStatement"))===null||M===void 0?void 0:M.left;if(U&&F(U,q=>q===A))return!0}if(j==="object"&&A.name==="let"&&B.type==="MemberExpression"&&B.computed&&!B.optional){let U=N.findAncestor(K=>K.type==="ExpressionStatement"||K.type==="ForStatement"||K.type==="ForInStatement"),q=U?U.type==="ExpressionStatement"?U.expression:U.type==="ForStatement"?U.init:U.left:void 0;if(q&&F(q,K=>K===A))return!0}return!1}if(A.type==="ObjectExpression"||A.type==="FunctionExpression"||A.type==="ClassExpression"||A.type==="DoExpression"){var Q;let U=(Q=N.findAncestor(q=>q.type==="ExpressionStatement"))===null||Q===void 0?void 0:Q.expression;if(U&&F(U,q=>q===A))return!0}switch(B.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(j==="superClass"&&(A.type==="ArrowFunctionExpression"||A.type==="AssignmentExpression"||A.type==="AwaitExpression"||A.type==="BinaryExpression"||A.type==="ConditionalExpression"||A.type==="LogicalExpression"||A.type==="NewExpression"||A.type==="ObjectExpression"||A.type==="SequenceExpression"||A.type==="TaggedTemplateExpression"||A.type==="UnaryExpression"||A.type==="UpdateExpression"||A.type==="YieldExpression"||A.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return Be(N,Z)||A.type==="SequenceExpression";case"Decorator":{if(j==="expression"){if(_(A)&&A.computed)return!0;let U=!1,q=!1,K=A;for(;K;)switch(K.type){case"MemberExpression":q=!0,K=K.object;break;case"CallExpression":if(q||U)return Z.parser!=="typescript";U=!0,K=K.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return Z.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(j==="body"&&A.type!=="SequenceExpression"&&F(A,U=>U.type==="ObjectExpression"))return!0;break}}switch(A.type){case"UpdateExpression":if(B.type==="UnaryExpression")return A.prefix&&(A.operator==="++"&&B.operator==="+"||A.operator==="--"&&B.operator==="-");case"UnaryExpression":switch(B.type){case"UnaryExpression":return A.operator===B.operator&&(A.operator==="+"||A.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return j==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"BinaryExpression":return j==="left"&&B.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(B.type==="UpdateExpression"||A.operator==="in"&&re(N))return!0;if(A.operator==="|>"&&A.extra&&A.extra.parenthesized){let U=N.getParentNode(1);if(U.type==="BinaryExpression"&&U.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(B.type){case"TSSatisfiesExpression":case"TSAsExpression":return!W(A);case"ConditionalExpression":return W(A);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return j==="callee";case"ClassExpression":case"ClassDeclaration":return j==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return j==="object";case"AssignmentExpression":case"AssignmentPattern":return j==="left"&&(A.type==="TSTypeAssertion"||W(A));case"LogicalExpression":if(A.type==="LogicalExpression")return B.operator!==A.operator;case"BinaryExpression":{let{operator:U,type:q}=A;if(!U&&q!=="TSTypeAssertion")return!0;let K=I(U),he=B.operator,Te=I(he);return Te>K||j==="right"&&Te===K||Te===K&&!k(he,U)?!0:Te<K&&U==="%"?he==="+"||he==="-":!!E(he)}default:return!1}case"SequenceExpression":switch(B.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return j!=="expression";case"ArrowFunctionExpression":return j!=="body";default:return!0}case"YieldExpression":if(B.type==="UnaryExpression"||B.type==="AwaitExpression"||W(B)||B.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(B.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return j==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"ConditionalExpression":return j==="test";case"BinaryExpression":return!(!A.argument&&B.operator==="|>");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(j==="extendsType"&&B.type==="TSConditionalType"){if(A.type==="TSConditionalType")return!0;let{typeAnnotation:U}=A.returnType||A.typeAnnotation;if(U.type==="TSTypePredicate"&&U.typeAnnotation&&(U=U.typeAnnotation.typeAnnotation),U.type==="TSInferType"&&U.typeParameter.constraint)return!0}if(j==="checkType"&&B.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((B.type==="TSUnionType"||B.type==="TSIntersectionType")&&B.types.length>1&&(!A.types||A.types.length>1))return!0;case"TSInferType":if(A.type==="TSInferType"&&B.type==="TSRestType")return!1;case"TSTypeOperator":return B.type==="TSArrayType"||B.type==="TSOptionalType"||B.type==="TSRestType"||j==="objectType"&&B.type==="TSIndexedAccessType"||B.type==="TSTypeOperator"||B.type==="TSTypeAnnotation"&&N.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return j==="objectType"&&B.type==="TSIndexedAccessType"||j==="elementType"&&B.type==="TSArrayType";case"TypeofTypeAnnotation":return j==="objectType"&&(B.type==="IndexedAccessType"||B.type==="OptionalIndexedAccessType")||j==="elementType"&&B.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return B.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return B.type==="ArrayTypeAnnotation"||B.type==="NullableTypeAnnotation"||B.type==="IntersectionTypeAnnotation"||B.type==="UnionTypeAnnotation"||j==="objectType"&&(B.type==="IndexedAccessType"||B.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return B.type==="ArrayTypeAnnotation"||j==="objectType"&&(B.type==="IndexedAccessType"||B.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let U=B.type==="NullableTypeAnnotation"?N.getParentNode(1):B;return U.type==="UnionTypeAnnotation"||U.type==="IntersectionTypeAnnotation"||U.type==="ArrayTypeAnnotation"||j==="objectType"&&(U.type==="IndexedAccessType"||U.type==="OptionalIndexedAccessType")||U.type==="NullableTypeAnnotation"||B.type==="FunctionTypeParam"&&B.name===null&&y(A).some(q=>q.typeAnnotation&&q.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return j==="objectType"&&B.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof A.value=="string"&&B.type==="ExpressionStatement"&&!B.directive){let U=N.getParentNode(1);return U.type==="Program"||U.type==="BlockStatement"}return j==="object"&&B.type==="MemberExpression"&&typeof A.value=="number";case"AssignmentExpression":{let U=N.getParentNode(1);return j==="body"&&B.type==="ArrowFunctionExpression"?!0:j==="key"&&(B.type==="ClassProperty"||B.type==="PropertyDefinition")&&B.computed||(j==="init"||j==="update")&&B.type==="ForStatement"?!1:B.type==="ExpressionStatement"?A.left.type==="ObjectPattern":!(j==="key"&&B.type==="TSPropertySignature"||B.type==="AssignmentExpression"||B.type==="SequenceExpression"&&U&&U.type==="ForStatement"&&(U.init===B||U.update===B)||j==="value"&&B.type==="Property"&&U&&U.type==="ObjectPattern"&&U.properties.includes(B)||B.type==="NGChainedExpression")}case"ConditionalExpression":switch(B.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"ConditionalExpression":return j==="test";case"MemberExpression":case"OptionalMemberExpression":return j==="object";default:return!1}case"FunctionExpression":switch(B.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(B.type){case"BinaryExpression":return B.operator!=="|>"||A.extra&&A.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return j==="callee";case"MemberExpression":case"OptionalMemberExpression":return j==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return j==="test";default:return!1}case"ClassExpression":if(d(A.decorators))return!0;switch(B.type){case"NewExpression":return j==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let U=N.getParentNode(1);if(j==="object"&&B.type==="MemberExpression"||j==="callee"&&(B.type==="CallExpression"||B.type==="NewExpression")||B.type==="TSNonNullExpression"&&U.type==="MemberExpression"&&U.object===B)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(j==="callee"&&(B.type==="BindExpression"||B.type==="NewExpression")){let U=A;for(;U;)switch(U.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":U=U.object;break;case"TaggedTemplateExpression":U=U.tag;break;case"TSNonNullExpression":U=U.expression;break;default:return!1}}return!1;case"BindExpression":return j==="callee"&&(B.type==="BindExpression"||B.type==="NewExpression")||j==="object"&&_(B);case"NGPipeExpression":return!(B.type==="NGRoot"||B.type==="NGMicrosyntaxExpression"||B.type==="ObjectProperty"&&!(A.extra&&A.extra.parenthesized)||B.type==="ArrayExpression"||T(B)&&B.arguments[j]===A||j==="right"&&B.type==="NGPipeExpression"||j==="property"&&B.type==="MemberExpression"||B.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return j==="callee"||j==="left"&&B.type==="BinaryExpression"&&B.operator==="<"||B.type!=="ArrayExpression"&&B.type!=="ArrowFunctionExpression"&&B.type!=="AssignmentExpression"&&B.type!=="AssignmentPattern"&&B.type!=="BinaryExpression"&&B.type!=="NewExpression"&&B.type!=="ConditionalExpression"&&B.type!=="ExpressionStatement"&&B.type!=="JsExpressionRoot"&&B.type!=="JSXAttribute"&&B.type!=="JSXElement"&&B.type!=="JSXExpressionContainer"&&B.type!=="JSXFragment"&&B.type!=="LogicalExpression"&&!T(B)&&!R(B)&&B.type!=="ReturnStatement"&&B.type!=="ThrowStatement"&&B.type!=="TypeCastExpression"&&B.type!=="VariableDeclarator"&&B.type!=="YieldExpression";case"TypeAnnotation":return j==="returnType"&&B.type==="ArrowFunctionExpression"&&z(A)}return!1}function L(N){return N.type==="BlockStatement"||N.type==="BreakStatement"||N.type==="ClassBody"||N.type==="ClassDeclaration"||N.type==="ClassMethod"||N.type==="ClassProperty"||N.type==="PropertyDefinition"||N.type==="ClassPrivateProperty"||N.type==="ContinueStatement"||N.type==="DebuggerStatement"||N.type==="DeclareClass"||N.type==="DeclareExportAllDeclaration"||N.type==="DeclareExportDeclaration"||N.type==="DeclareFunction"||N.type==="DeclareInterface"||N.type==="DeclareModule"||N.type==="DeclareModuleExports"||N.type==="DeclareVariable"||N.type==="DoWhileStatement"||N.type==="EnumDeclaration"||N.type==="ExportAllDeclaration"||N.type==="ExportDefaultDeclaration"||N.type==="ExportNamedDeclaration"||N.type==="ExpressionStatement"||N.type==="ForInStatement"||N.type==="ForOfStatement"||N.type==="ForStatement"||N.type==="FunctionDeclaration"||N.type==="IfStatement"||N.type==="ImportDeclaration"||N.type==="InterfaceDeclaration"||N.type==="LabeledStatement"||N.type==="MethodDefinition"||N.type==="ReturnStatement"||N.type==="SwitchStatement"||N.type==="ThrowStatement"||N.type==="TryStatement"||N.type==="TSDeclareFunction"||N.type==="TSEnumDeclaration"||N.type==="TSImportEqualsDeclaration"||N.type==="TSInterfaceDeclaration"||N.type==="TSModuleDeclaration"||N.type==="TSNamespaceExportDeclaration"||N.type==="TypeAlias"||N.type==="VariableDeclaration"||N.type==="WhileStatement"||N.type==="WithStatement"}function re(N){let Z=0,B=N.getValue();for(;B;){let j=N.getParentNode(Z++);if(j&&j.type==="ForStatement"&&j.init===B)return!0;B=j}return!1}function z(N){return v(N,Z=>Z.type==="ObjectTypeAnnotation"&&v(Z,B=>B.type==="FunctionTypeAnnotation"||void 0)||void 0)}function ue(N){switch(N.type){case"ObjectExpression":return!0;default:return!1}}function ie(N){let Z=N.getValue(),B=N.getParentNode(),j=N.getName();switch(B.type){case"NGPipeExpression":if(typeof j=="number"&&B.arguments[j]===Z&&B.arguments.length-1===j)return N.callParent(ie);break;case"ObjectProperty":if(j==="value"){let A=N.getParentNode(1);return f(A.properties)===B}break;case"BinaryExpression":case"LogicalExpression":if(j==="right")return N.callParent(ie);break;case"ConditionalExpression":if(j==="alternate")return N.callParent(ie);break;case"UnaryExpression":if(B.prefix)return N.callParent(ie);break}return!1}function Be(N,Z){let B=N.getValue(),j=N.getParentNode();return B.type==="FunctionExpression"||B.type==="ClassExpression"?j.type==="ExportDefaultDeclaration"||!ne(N,Z):!x(B)||j.type!=="ExportDefaultDeclaration"&&ne(N,Z)?!1:N.call(A=>Be(A,Z),...D(N,B))}h.exports=ne}}),Ll=Oe({"src/language-js/print-preprocess.js"(u,h){Ye();function f(d,y){switch(y.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},d),{},{type:y.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:d,comments:[],rootMarker:y.rootMarker});default:return d}}h.exports=f}}),hh=Oe({"src/language-js/print/html-binding.js"(u,h){Ye();var{builders:{join:f,line:d,group:y,softline:D,indent:O}}=Ln();function x(E,F,k){let I=E.getValue();if(F.__onHtmlBindingRoot&&E.getName()===null&&F.__onHtmlBindingRoot(I,F),I.type==="File"){if(F.__isVueForBindingLeft)return E.call(T=>{let _=f([",",d],T.map(k,"params")),{params:R}=T.getValue();return R.length===1?_:["(",O([D,y(_)]),D,")"]},"program","body",0);if(F.__isVueBindings)return E.call(T=>f([",",d],T.map(k,"params")),"program","body",0)}}function v(E){switch(E.type){case"MemberExpression":switch(E.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return v(E.object)}return!1;case"Identifier":return!0;default:return!1}}h.exports={isVueEventBindingExpression:v,printHtmlBinding:x}}}),Sa=Oe({"src/language-js/print/binaryish.js"(u,h){Ye();var{printComments:f}=Wi(),{getLast:d}=fi(),{builders:{join:y,line:D,softline:O,group:x,indent:v,align:E,indentIfBreak:F},utils:{cleanDoc:k,getDocParts:I,isConcat:T}}=Ln(),{hasLeadingOwnLineComment:_,isBinaryish:R,isJsxNode:W,shouldFlatten:ne,hasComment:L,CommentCheckFlags:re,isCallExpression:z,isMemberExpression:ue,isObjectProperty:ie,isEnabledHackPipeline:Be}=ss(),N=0;function Z(A,M,Q){let U=A.getValue(),q=A.getParentNode(),K=A.getParentNode(1),he=U!==q.body&&(q.type==="IfStatement"||q.type==="WhileStatement"||q.type==="SwitchStatement"||q.type==="DoWhileStatement"),Te=Be(M)&&U.operator==="|>",_e=B(A,Q,M,!1,he);if(he)return _e;if(Te)return x(_e);if(z(q)&&q.callee===U||q.type==="UnaryExpression"||ue(q)&&!q.computed)return x([v([O,..._e]),O]);let Pe=q.type==="ReturnStatement"||q.type==="ThrowStatement"||q.type==="JSXExpressionContainer"&&K.type==="JSXAttribute"||U.operator!=="|"&&q.type==="JsExpressionRoot"||U.type!=="NGPipeExpression"&&(q.type==="NGRoot"&&M.parser==="__ng_binding"||q.type==="NGMicrosyntaxExpression"&&K.type==="NGMicrosyntax"&&K.body.length===1)||U===q.body&&q.type==="ArrowFunctionExpression"||U!==q.body&&q.type==="ForStatement"||q.type==="ConditionalExpression"&&K.type!=="ReturnStatement"&&K.type!=="ThrowStatement"&&!z(K)||q.type==="TemplateLiteral",ze=q.type==="AssignmentExpression"||q.type==="VariableDeclarator"||q.type==="ClassProperty"||q.type==="PropertyDefinition"||q.type==="TSAbstractPropertyDefinition"||q.type==="ClassPrivateProperty"||ie(q),ye=R(U.left)&&ne(U.operator,U.left.operator);if(Pe||j(U)&&!ye||!j(U)&&ze)return x(_e);if(_e.length===0)return"";let ct=W(U.right),Fe=_e.findIndex(Ne=>typeof Ne!="string"&&!Array.isArray(Ne)&&Ne.type==="group"),Se=_e.slice(0,Fe===-1?1:Fe+1),lt=_e.slice(Se.length,ct?-1:void 0),kt=Symbol("logicalChain-"+ ++N),ft=x([...Se,v(lt)],{id:kt});if(!ct)return ft;let jt=d(_e);return x([ft,F(jt,{groupId:kt})])}function B(A,M,Q,U,q){let K=A.getValue();if(!R(K))return[x(M())];let he=[];ne(K.operator,K.left.operator)?he=A.call(lt=>B(lt,M,Q,!0,q),"left"):he.push(x(M("left")));let Te=j(K),_e=(K.operator==="|>"||K.type==="NGPipeExpression"||K.operator==="|"&&Q.parser==="__vue_expression")&&!_(Q.originalText,K.right),Pe=K.type==="NGPipeExpression"?"|":K.operator,ze=K.type==="NGPipeExpression"&&K.arguments.length>0?x(v([D,": ",y([D,": "],A.map(M,"arguments").map(lt=>E(2,x(lt))))])):"",ye;if(Te)ye=[Pe," ",M("right"),ze];else{let lt=Be(Q)&&Pe==="|>"?A.call(kt=>B(kt,M,Q,!0,q),"right"):M("right");ye=[_e?D:"",Pe,_e?" ":D,lt,ze]}let ct=A.getParentNode(),Fe=L(K.left,re.Trailing|re.Line),Se=Fe||!(q&&K.type==="LogicalExpression")&&ct.type!==K.type&&K.left.type!==K.type&&K.right.type!==K.type;if(he.push(_e?"":" ",Se?x(ye,{shouldBreak:Fe}):ye),U&&L(K)){let lt=k(f(A,he,Q));return T(lt)||lt.type==="fill"?I(lt):[lt]}return he}function j(A){return A.type!=="LogicalExpression"?!1:!!(A.right.type==="ObjectExpression"&&A.right.properties.length>0||A.right.type==="ArrayExpression"&&A.right.elements.length>0||W(A.right))}h.exports={printBinaryishExpression:Z,shouldInlineLogicalExpression:j}}}),op=Oe({"src/language-js/print/angular.js"(u,h){Ye();var{builders:{join:f,line:d,group:y}}=Ln(),{hasNode:D,hasComment:O,getComments:x}=ss(),{printBinaryishExpression:v}=Sa();function E(I,T,_){let R=I.getValue();if(R.type.startsWith("NG"))switch(R.type){case"NGRoot":return[_("node"),O(R.node)?" //"+x(R.node)[0].value.trimEnd():""];case"NGPipeExpression":return v(I,T,_);case"NGChainedExpression":return y(f([";",d],I.map(W=>k(W)?_():["(",_(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[R.prefix,": ",R.value.trim()];case"NGMicrosyntax":return I.map((W,ne)=>[ne===0?"":F(W.getValue(),ne,R)?" ":[";",d],_()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(R.name)?R.name:JSON.stringify(R.name);case"NGMicrosyntaxExpression":return[_("expression"),R.alias===null?"":[" as ",_("alias")]];case"NGMicrosyntaxKeyedExpression":{let W=I.getName(),ne=I.getParentNode(),L=F(R,W,ne)||(W===1&&(R.key.name==="then"||R.key.name==="else")||W===2&&R.key.name==="else"&&ne.body[W-1].type==="NGMicrosyntaxKeyedExpression"&&ne.body[W-1].key.name==="then")&&ne.body[0].type==="NGMicrosyntaxExpression";return[_("key"),L?" ":": ",_("expression")]}case"NGMicrosyntaxLet":return["let ",_("key"),R.value===null?"":[" = ",_("value")]];case"NGMicrosyntaxAs":return[_("key")," as ",_("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(R.type)}.`)}}function F(I,T,_){return I.type==="NGMicrosyntaxKeyedExpression"&&I.key.name==="of"&&T===1&&_.body[0].type==="NGMicrosyntaxLet"&&_.body[0].value===null}function k(I){return D(I.getValue(),T=>{switch(T.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}h.exports={printAngular:E}}}),vc=Oe({"src/language-js/print/jsx.js"(u,h){Ye();var{printComments:f,printDanglingComments:d,printCommentsSeparately:y}=Wi(),{builders:{line:D,hardline:O,softline:x,group:v,indent:E,conditionalGroup:F,fill:k,ifBreak:I,lineSuffixBoundary:T,join:_},utils:{willBreak:R}}=Ln(),{getLast:W,getPreferredQuote:ne}=fi(),{isJsxNode:L,rawText:re,isCallExpression:z,isStringLiteral:ue,isBinaryish:ie,hasComment:Be,CommentCheckFlags:N,hasNodeIgnoreComment:Z}=ss(),B=fu(),{willPrintOwnComments:j}=jl(),A=Ue=>Ue===""||Ue===D||Ue===O||Ue===x;function M(Ue,mt,Et){let zt=Ue.getValue();if(zt.type==="JSXElement"&&It(zt))return[Et("openingElement"),Et("closingElement")];let ur=zt.type==="JSXElement"?Et("openingElement"):Et("openingFragment"),xr=zt.type==="JSXElement"?Et("closingElement"):Et("closingFragment");if(zt.children.length===1&&zt.children[0].type==="JSXExpressionContainer"&&(zt.children[0].expression.type==="TemplateLiteral"||zt.children[0].expression.type==="TaggedTemplateExpression"))return[ur,...Ue.map(Et,"children"),xr];zt.children=zt.children.map(X=>Rr(X)?{type:"JSXText",value:" ",raw:" "}:X);let gn=zt.children.some(L),Si=zt.children.filter(X=>X.type==="JSXExpressionContainer").length>1,di=zt.type==="JSXElement"&&zt.openingElement.attributes.length>1,dn=R(ur)||gn||di||Si,_n=Ue.getParentNode().rootMarker==="mdx",$t=mt.singleQuote?"{' '}":'{" "}',je=_n?" ":I([$t,x]," "),Qt=zt.openingElement&&zt.openingElement.name&&zt.openingElement.name.name==="fbt",et=Q(Ue,mt,Et,je,Qt),Nt=zt.children.some(X=>Mt(X));for(let X=et.length-2;X>=0;X--){let We=et[X]===""&&et[X+1]==="",_t=et[X]===O&&et[X+1]===""&&et[X+2]===O,gr=(et[X]===x||et[X]===O)&&et[X+1]===""&&et[X+2]===je,wr=et[X]===je&&et[X+1]===""&&(et[X+2]===x||et[X+2]===O),hn=et[X]===je&&et[X+1]===""&&et[X+2]===je,br=et[X]===x&&et[X+1]===""&&et[X+2]===O||et[X]===O&&et[X+1]===""&&et[X+2]===x;_t&&Nt||We||gr||hn||br?et.splice(X,2):wr&&et.splice(X+1,2)}for(;et.length>0&&A(W(et));)et.pop();for(;et.length>1&&A(et[0])&&A(et[1]);)et.shift(),et.shift();let Wr=[];for(let[X,We]of et.entries()){if(We===je){if(X===1&&et[X-1]===""){if(et.length===2){Wr.push($t);continue}Wr.push([$t,O]);continue}else if(X===et.length-1){Wr.push($t);continue}else if(et[X-1]===""&&et[X-2]===O){Wr.push($t);continue}}Wr.push(We),R(We)&&(dn=!0)}let $r=Nt?k(Wr):v(Wr,{shouldBreak:!0});if(_n)return $r;let Ut=v([ur,E([O,$r]),O,xr]);return dn?Ut:F([v([ur,...et,xr]),Ut])}function Q(Ue,mt,Et,zt,ur){let xr=[];return Ue.each((gn,Si,di)=>{let dn=gn.getValue();if(dn.type==="JSXText"){let _n=re(dn);if(Mt(dn)){let $t=_n.split(jt);if($t[0]===""){if(xr.push(""),$t.shift(),/\n/.test($t[0])){let Qt=di[Si+1];xr.push(q(ur,$t[1],dn,Qt))}else xr.push(zt);$t.shift()}let je;if(W($t)===""&&($t.pop(),je=$t.pop()),$t.length===0)return;for(let[Qt,et]of $t.entries())Qt%2===1?xr.push(D):xr.push(et);if(je!==void 0)if(/\n/.test(je)){let Qt=di[Si+1];xr.push(q(ur,W(xr),dn,Qt))}else xr.push(zt);else{let Qt=di[Si+1];xr.push(U(ur,W(xr),dn,Qt))}}else/\n/.test(_n)?_n.match(/\n/g).length>1&&xr.push("",O):xr.push("",zt)}else{let _n=Et();xr.push(_n);let $t=di[Si+1];if($t&&Mt($t)){let je=Je(re($t)).split(jt)[0];xr.push(U(ur,je,dn,$t))}else xr.push(O)}},"children"),xr}function U(Ue,mt,Et,zt){return Ue?"":Et.type==="JSXElement"&&!Et.closingElement||zt&&zt.type==="JSXElement"&&!zt.closingElement?mt.length===1?x:O:x}function q(Ue,mt,Et,zt){return Ue?O:mt.length===1?Et.type==="JSXElement"&&!Et.closingElement||zt&&zt.type==="JSXElement"&&!zt.closingElement?O:x:O}function K(Ue,mt,Et){let zt=Ue.getParentNode();if(!zt||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[zt.type])return mt;let ur=Ue.match(void 0,gn=>gn.type==="ArrowFunctionExpression",z,gn=>gn.type==="JSXExpressionContainer"),xr=B(Ue,Et);return v([xr?"":I("("),E([x,mt]),x,xr?"":I(")")],{shouldBreak:ur})}function he(Ue,mt,Et){let zt=Ue.getValue(),ur=[];if(ur.push(Et("name")),zt.value){let xr;if(ue(zt.value)){let gn=re(zt.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:Si,quote:di,regex:dn}=ne(gn,mt.jsxSingleQuote?"'":'"');gn=gn.replace(dn,Si);let{leading:_n,trailing:$t}=Ue.call(()=>y(Ue,mt),"value");xr=[_n,di,gn,di,$t]}else xr=Et("value");ur.push("=",xr)}return ur}function Te(Ue,mt,Et){let zt=Ue.getValue(),ur=(xr,gn)=>xr.type==="JSXEmptyExpression"||!Be(xr)&&(xr.type==="ArrayExpression"||xr.type==="ObjectExpression"||xr.type==="ArrowFunctionExpression"||xr.type==="AwaitExpression"&&(ur(xr.argument,xr)||xr.argument.type==="JSXElement")||z(xr)||xr.type==="FunctionExpression"||xr.type==="TemplateLiteral"||xr.type==="TaggedTemplateExpression"||xr.type==="DoExpression"||L(gn)&&(xr.type==="ConditionalExpression"||ie(xr)));return ur(zt.expression,Ue.getParentNode(0))?v(["{",Et("expression"),T,"}"]):v(["{",E([x,Et("expression")]),x,T,"}"])}function _e(Ue,mt,Et){let zt=Ue.getValue(),ur=zt.name&&Be(zt.name)||zt.typeParameters&&Be(zt.typeParameters);if(zt.selfClosing&&zt.attributes.length===0&&!ur)return["<",Et("name"),Et("typeParameters")," />"];if(zt.attributes&&zt.attributes.length===1&&zt.attributes[0].value&&ue(zt.attributes[0].value)&&!zt.attributes[0].value.value.includes(`
|
||
`)&&!ur&&!Be(zt.attributes[0]))return v(["<",Et("name"),Et("typeParameters")," ",...Ue.map(Et,"attributes"),zt.selfClosing?" />":">"]);let xr=zt.attributes&&zt.attributes.some(Si=>Si.value&&ue(Si.value)&&Si.value.value.includes(`
|
||
`)),gn=mt.singleAttributePerLine&&zt.attributes.length>1?O:D;return v(["<",Et("name"),Et("typeParameters"),E(Ue.map(()=>[gn,Et()],"attributes")),...Pe(zt,mt,ur)],{shouldBreak:xr})}function Pe(Ue,mt,Et){return Ue.selfClosing?[D,"/>"]:ze(Ue,mt,Et)?[">"]:[x,">"]}function ze(Ue,mt,Et){let zt=Ue.attributes.length>0&&Be(W(Ue.attributes),N.Trailing);return Ue.attributes.length===0&&!Et||(mt.bracketSameLine||mt.jsxBracketSameLine)&&(!Et||Ue.attributes.length>0)&&!zt}function ye(Ue,mt,Et){let zt=Ue.getValue(),ur=[];ur.push("</");let xr=Et("name");return Be(zt.name,N.Leading|N.Line)?ur.push(E([O,xr]),O):Be(zt.name,N.Leading|N.Block)?ur.push(" ",xr):ur.push(xr),ur.push(">"),ur}function ct(Ue,mt){let Et=Ue.getValue(),zt=Be(Et),ur=Be(Et,N.Line),xr=Et.type==="JSXOpeningFragment";return[xr?"<":"</",E([ur?O:zt&&!xr?" ":"",d(Ue,mt,!0)]),ur?O:"",">"]}function Fe(Ue,mt,Et){let zt=f(Ue,M(Ue,mt,Et),mt);return K(Ue,zt,mt)}function Se(Ue,mt){let Et=Ue.getValue(),zt=Be(Et,N.Line);return[d(Ue,mt,!zt),zt?O:""]}function lt(Ue,mt,Et){let zt=Ue.getValue();return["{",Ue.call(ur=>{let xr=["...",Et()],gn=ur.getValue();return!Be(gn)||!j(ur)?xr:[E([x,f(ur,xr,mt)]),x]},zt.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function kt(Ue,mt,Et){let zt=Ue.getValue();if(zt.type.startsWith("JSX"))switch(zt.type){case"JSXAttribute":return he(Ue,mt,Et);case"JSXIdentifier":return String(zt.name);case"JSXNamespacedName":return _(":",[Et("namespace"),Et("name")]);case"JSXMemberExpression":return _(".",[Et("object"),Et("property")]);case"JSXSpreadAttribute":return lt(Ue,mt,Et);case"JSXSpreadChild":return lt(Ue,mt,Et);case"JSXExpressionContainer":return Te(Ue,mt,Et);case"JSXFragment":case"JSXElement":return Fe(Ue,mt,Et);case"JSXOpeningElement":return _e(Ue,mt,Et);case"JSXClosingElement":return ye(Ue,mt,Et);case"JSXOpeningFragment":case"JSXClosingFragment":return ct(Ue,mt);case"JSXEmptyExpression":return Se(Ue,mt);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(zt.type)}.`)}}var ft=`
|
||
\r `,jt=new RegExp("(["+ft+"]+)"),Ne=new RegExp("[^"+ft+"]"),Je=Ue=>Ue.replace(new RegExp("(?:^"+jt.source+"|"+jt.source+"$)"),"");function It(Ue){if(Ue.children.length===0)return!0;if(Ue.children.length>1)return!1;let mt=Ue.children[0];return mt.type==="JSXText"&&!Mt(mt)}function Mt(Ue){return Ue.type==="JSXText"&&(Ne.test(re(Ue))||!/\n/.test(re(Ue)))}function Rr(Ue){return Ue.type==="JSXExpressionContainer"&&ue(Ue.expression)&&Ue.expression.value===" "&&!Be(Ue.expression)}function rt(Ue){let mt=Ue.getValue(),Et=Ue.getParentNode();if(!Et||!mt||!L(mt)||!L(Et))return!1;let zt=Et.children.indexOf(mt),ur=null;for(let xr=zt;xr>0;xr--){let gn=Et.children[xr-1];if(!(gn.type==="JSXText"&&!Mt(gn))){ur=gn;break}}return ur&&ur.type==="JSXExpressionContainer"&&ur.expression.type==="JSXEmptyExpression"&&Z(ur.expression)}h.exports={hasJsxIgnoreComment:rt,printJsx:kt}}}),Bo=Oe({"src/language-js/print/misc.js"(u,h){Ye();var{isNonEmptyArray:f}=fi(),{builders:{indent:d,join:y,line:D}}=Ln(),{isFlowAnnotationComment:O}=ss();function x(W){let ne=W.getValue();return!ne.optional||ne.type==="Identifier"&&ne===W.getParentNode().key?"":ne.type==="OptionalCallExpression"||ne.type==="OptionalMemberExpression"&&ne.computed?"?.":"?"}function v(W){return W.getValue().definite||W.match(void 0,(ne,L)=>L==="id"&&ne.type==="VariableDeclarator"&&ne.definite)?"!":""}function E(W,ne,L){let re=W.getValue();return re.typeArguments?L("typeArguments"):re.typeParameters?L("typeParameters"):""}function F(W,ne,L){let re=W.getValue();if(!re.typeAnnotation)return"";let z=W.getParentNode(),ue=z.type==="DeclareFunction"&&z.id===re;return O(ne.originalText,re.typeAnnotation)?[" /*: ",L("typeAnnotation")," */"]:[ue?"":": ",L("typeAnnotation")]}function k(W,ne,L){return["::",L("callee")]}function I(W,ne,L){let re=W.getValue();return f(re.modifiers)?[y(" ",W.map(L,"modifiers"))," "]:""}function T(W,ne,L){return W.type==="EmptyStatement"?";":W.type==="BlockStatement"||L?[" ",ne]:d([D,ne])}function _(W,ne,L){return["...",L("argument"),F(W,ne,L)]}function R(W,ne){let L=W.slice(1,-1);if(L.includes('"')||L.includes("'"))return W;let re=ne.singleQuote?"'":'"';return re+L+re}h.exports={printOptionalToken:x,printDefiniteToken:v,printFunctionTypeParameters:E,printBindExpressionCallee:k,printTypeScriptModifiers:I,printTypeAnnotation:F,printRestSpread:_,adjustClause:T,printDirective:R}}}),Gu=Oe({"src/language-js/print/array.js"(u,h){Ye();var{printDanglingComments:f}=Wi(),{builders:{line:d,softline:y,hardline:D,group:O,indent:x,ifBreak:v,fill:E}}=Ln(),{getLast:F,hasNewline:k}=fi(),{shouldPrintComma:I,hasComment:T,CommentCheckFlags:_,isNextLineEmpty:R,isNumericLiteral:W,isSignedNumericLiteral:ne}=ss(),{locStart:L}=zi(),{printOptionalToken:re,printTypeAnnotation:z}=Bo();function ue(Z,B,j){let A=Z.getValue(),M=[],Q=A.type==="TupleExpression"?"#[":"[",U="]";if(A.elements.length===0)T(A,_.Dangling)?M.push(O([Q,f(Z,B),y,U])):M.push(Q,U);else{let q=F(A.elements),K=!(q&&q.type==="RestElement"),he=q===null,Te=Symbol("array"),_e=!B.__inJestEach&&A.elements.length>1&&A.elements.every((ye,ct,Fe)=>{let Se=ye&&ye.type;if(Se!=="ArrayExpression"&&Se!=="ObjectExpression")return!1;let lt=Fe[ct+1];if(lt&&Se!==lt.type)return!1;let kt=Se==="ArrayExpression"?"elements":"properties";return ye[kt]&&ye[kt].length>1}),Pe=ie(A,B),ze=K?he?",":I(B)?Pe?v(",","",{groupId:Te}):v(","):"":"";M.push(O([Q,x([y,Pe?N(Z,B,j,ze):[Be(Z,B,"elements",j),ze],f(Z,B,!0)]),y,U],{shouldBreak:_e,id:Te}))}return M.push(re(Z),z(Z,B,j)),M}function ie(Z,B){return Z.elements.length>1&&Z.elements.every(j=>j&&(W(j)||ne(j)&&!T(j.argument))&&!T(j,_.Trailing|_.Line,A=>!k(B.originalText,L(A),{backwards:!0})))}function Be(Z,B,j,A){let M=[],Q=[];return Z.each(U=>{M.push(Q,O(A())),Q=[",",d],U.getValue()&&R(U.getValue(),B)&&Q.push(y)},j),M}function N(Z,B,j,A){let M=[];return Z.each((Q,U,q)=>{let K=U===q.length-1;M.push([j(),K?A:","]),K||M.push(R(Q.getValue(),B)?[D,D]:T(q[U+1],_.Leading|_.Line)?D:d)},"elements"),E(M)}h.exports={printArray:ue,printArrayItems:Be,isConciselyPrintedArray:ie}}}),ap=Oe({"src/language-js/print/call-arguments.js"(u,h){Ye();var{printDanglingComments:f}=Wi(),{getLast:d,getPenultimate:y}=fi(),{getFunctionParameters:D,hasComment:O,CommentCheckFlags:x,isFunctionCompositionArgs:v,isJsxNode:E,isLongCurriedCallExpression:F,shouldPrintComma:k,getCallArguments:I,iterateCallArgumentsPath:T,isNextLineEmpty:_,isCallExpression:R,isStringLiteral:W,isObjectProperty:ne,isTSTypeExpression:L}=ss(),{builders:{line:re,hardline:z,softline:ue,group:ie,indent:Be,conditionalGroup:N,ifBreak:Z,breakParent:B},utils:{willBreak:j}}=Ln(),{ArgExpansionBailout:A}=vi(),{isConciselyPrintedArray:M}=Gu();function Q(Pe,ze,ye){let ct=Pe.getValue(),Fe=ct.type==="ImportExpression",Se=I(ct);if(Se.length===0)return["(",f(Pe,ze,!0),")"];if(he(Se))return["(",ye(["arguments",0]),", ",ye(["arguments",1]),")"];let lt=!1,kt=!1,ft=Se.length-1,jt=[];T(Pe,(rt,Ue)=>{let mt=rt.getNode(),Et=[ye()];Ue===ft||(_(mt,ze)?(Ue===0&&(kt=!0),lt=!0,Et.push(",",z,z)):Et.push(",",re)),jt.push(Et)});let Ne=!(Fe||ct.callee&&ct.callee.type==="Import")&&k(ze,"all")?",":"";function Je(){return ie(["(",Be([re,...jt]),Ne,re,")"],{shouldBreak:!0})}if(lt||Pe.getParentNode().type!=="Decorator"&&v(Se))return Je();let It=K(Se),Mt=q(Se,ze);if(It||Mt){if(It?jt.slice(1).some(j):jt.slice(0,-1).some(j))return Je();let rt=[];try{Pe.try(()=>{T(Pe,(Ue,mt)=>{It&&mt===0&&(rt=[[ye([],{expandFirstArg:!0}),jt.length>1?",":"",kt?z:re,kt?z:""],...jt.slice(1)]),Mt&&mt===ft&&(rt=[...jt.slice(0,-1),ye([],{expandLastArg:!0})])})})}catch(Ue){if(Ue instanceof A)return Je();throw Ue}return[jt.some(j)?B:"",N([["(",...rt,")"],It?["(",ie(rt[0],{shouldBreak:!0}),...rt.slice(1),")"]:["(",...jt.slice(0,-1),ie(d(rt),{shouldBreak:!0}),")"],Je()])]}let Rr=["(",Be([ue,...jt]),Z(Ne),ue,")"];return F(Pe)?Rr:ie(Rr,{shouldBreak:jt.some(j)||lt})}function U(Pe){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Pe.type==="ObjectExpression"&&(Pe.properties.length>0||O(Pe))||Pe.type==="ArrayExpression"&&(Pe.elements.length>0||O(Pe))||Pe.type==="TSTypeAssertion"&&U(Pe.expression)||L(Pe)&&U(Pe.expression)||Pe.type==="FunctionExpression"||Pe.type==="ArrowFunctionExpression"&&(!Pe.returnType||!Pe.returnType.typeAnnotation||Pe.returnType.typeAnnotation.type!=="TSTypeReference"||Te(Pe.body))&&(Pe.body.type==="BlockStatement"||Pe.body.type==="ArrowFunctionExpression"&&U(Pe.body,!0)||Pe.body.type==="ObjectExpression"||Pe.body.type==="ArrayExpression"||!ze&&(R(Pe.body)||Pe.body.type==="ConditionalExpression")||E(Pe.body))||Pe.type==="DoExpression"||Pe.type==="ModuleExpression"}function q(Pe,ze){let ye=d(Pe),ct=y(Pe);return!O(ye,x.Leading)&&!O(ye,x.Trailing)&&U(ye)&&(!ct||ct.type!==ye.type)&&(Pe.length!==2||ct.type!=="ArrowFunctionExpression"||ye.type!=="ArrayExpression")&&!(Pe.length>1&&ye.type==="ArrayExpression"&&M(ye,ze))}function K(Pe){if(Pe.length!==2)return!1;let[ze,ye]=Pe;return ze.type==="ModuleExpression"&&_e(ye)?!0:!O(ze)&&(ze.type==="FunctionExpression"||ze.type==="ArrowFunctionExpression"&&ze.body.type==="BlockStatement")&&ye.type!=="FunctionExpression"&&ye.type!=="ArrowFunctionExpression"&&ye.type!=="ConditionalExpression"&&!U(ye)}function he(Pe){return Pe.length===2&&Pe[0].type==="ArrowFunctionExpression"&&D(Pe[0]).length===0&&Pe[0].body.type==="BlockStatement"&&Pe[1].type==="ArrayExpression"&&!Pe.some(ze=>O(ze))}function Te(Pe){return Pe.type==="BlockStatement"&&(Pe.body.some(ze=>ze.type!=="EmptyStatement")||O(Pe,x.Dangling))}function _e(Pe){return Pe.type==="ObjectExpression"&&Pe.properties.length===1&&ne(Pe.properties[0])&&Pe.properties[0].key.type==="Identifier"&&Pe.properties[0].key.name==="type"&&W(Pe.properties[0].value)&&Pe.properties[0].value.value==="module"}h.exports=Q}}),Xl=Oe({"src/language-js/print/member.js"(u,h){Ye();var{builders:{softline:f,group:d,indent:y,label:D}}=Ln(),{isNumericLiteral:O,isMemberExpression:x,isCallExpression:v}=ss(),{printOptionalToken:E}=Bo();function F(I,T,_){let R=I.getValue(),W=I.getParentNode(),ne,L=0;do ne=I.getParentNode(L),L++;while(ne&&(x(ne)||ne.type==="TSNonNullExpression"));let re=_("object"),z=k(I,T,_),ue=ne&&(ne.type==="NewExpression"||ne.type==="BindExpression"||ne.type==="AssignmentExpression"&&ne.left.type!=="Identifier")||R.computed||R.object.type==="Identifier"&&R.property.type==="Identifier"&&!x(W)||(W.type==="AssignmentExpression"||W.type==="VariableDeclarator")&&(v(R.object)&&R.object.arguments.length>0||R.object.type==="TSNonNullExpression"&&v(R.object.expression)&&R.object.expression.arguments.length>0||re.label==="member-chain");return D(re.label==="member-chain"?"member-chain":"member",[re,ue?z:d(y([f,z]))])}function k(I,T,_){let R=_("property"),W=I.getValue(),ne=E(I);return W.computed?!W.property||O(W.property)?[ne,"[",R,"]"]:d([ne,"[",y([f,R]),f,"]"]):[ne,".",R]}h.exports={printMemberExpression:F,printMemberLookup:k}}}),ph=Oe({"src/language-js/print/member-chain.js"(u,h){Ye();var{printComments:f}=Wi(),{getLast:d,isNextLineEmptyAfterIndex:y,getNextNonSpaceNonCommentCharacterIndex:D}=fi(),O=fu(),{isCallExpression:x,isMemberExpression:v,isFunctionOrArrowExpression:E,isLongCurriedCallExpression:F,isMemberish:k,isNumericLiteral:I,isSimpleCallArgument:T,hasComment:_,CommentCheckFlags:R,isNextLineEmpty:W}=ss(),{locEnd:ne}=zi(),{builders:{join:L,hardline:re,group:z,indent:ue,conditionalGroup:ie,breakParent:Be,label:N},utils:{willBreak:Z}}=Ln(),B=ap(),{printMemberLookup:j}=Xl(),{printOptionalToken:A,printFunctionTypeParameters:M,printBindExpressionCallee:Q}=Bo();function U(q,K,he){let Te=q.getParentNode(),_e=!Te||Te.type==="ExpressionStatement",Pe=[];function ze(dn){let{originalText:_n}=K,$t=D(_n,dn,ne);return _n.charAt($t)===")"?$t!==!1&&y(_n,$t+1):W(dn,K)}function ye(dn){let _n=dn.getValue();x(_n)&&(k(_n.callee)||x(_n.callee))?(Pe.unshift({node:_n,printed:[f(dn,[A(dn),M(dn,K,he),B(dn,K,he)],K),ze(_n)?re:""]}),dn.call($t=>ye($t),"callee")):k(_n)?(Pe.unshift({node:_n,needsParens:O(dn,K),printed:f(dn,v(_n)?j(dn,K,he):Q(dn,K,he),K)}),dn.call($t=>ye($t),"object")):_n.type==="TSNonNullExpression"?(Pe.unshift({node:_n,printed:f(dn,"!",K)}),dn.call($t=>ye($t),"expression")):Pe.unshift({node:_n,printed:he()})}let ct=q.getValue();Pe.unshift({node:ct,printed:[A(q),M(q,K,he),B(q,K,he)]}),ct.callee&&q.call(dn=>ye(dn),"callee");let Fe=[],Se=[Pe[0]],lt=1;for(;lt<Pe.length&&(Pe[lt].node.type==="TSNonNullExpression"||x(Pe[lt].node)||v(Pe[lt].node)&&Pe[lt].node.computed&&I(Pe[lt].node.property));++lt)Se.push(Pe[lt]);if(!x(Pe[0].node))for(;lt+1<Pe.length&&k(Pe[lt].node)&&k(Pe[lt+1].node);++lt)Se.push(Pe[lt]);Fe.push(Se),Se=[];let kt=!1;for(;lt<Pe.length;++lt){if(kt&&k(Pe[lt].node)){if(Pe[lt].node.computed&&I(Pe[lt].node.property)){Se.push(Pe[lt]);continue}Fe.push(Se),Se=[],kt=!1}(x(Pe[lt].node)||Pe[lt].node.type==="ImportExpression")&&(kt=!0),Se.push(Pe[lt]),_(Pe[lt].node,R.Trailing)&&(Fe.push(Se),Se=[],kt=!1)}Se.length>0&&Fe.push(Se);function ft(dn){return/^[A-Z]|^[$_]+$/.test(dn)}function jt(dn){return dn.length<=K.tabWidth}function Ne(dn){let _n=dn[1].length>0&&dn[1][0].node.computed;if(dn[0].length===1){let je=dn[0][0].node;return je.type==="ThisExpression"||je.type==="Identifier"&&(ft(je.name)||_e&&jt(je.name)||_n)}let $t=d(dn[0]).node;return v($t)&&$t.property.type==="Identifier"&&(ft($t.property.name)||_n)}let Je=Fe.length>=2&&!_(Fe[1][0].node)&&Ne(Fe);function It(dn){let _n=dn.map($t=>$t.printed);return dn.length>0&&d(dn).needsParens?["(",..._n,")"]:_n}function Mt(dn){return dn.length===0?"":ue(z([re,L(re,dn.map(It))]))}let Rr=Fe.map(It),rt=Rr,Ue=Je?3:2,mt=Fe.flat(),Et=mt.slice(1,-1).some(dn=>_(dn.node,R.Leading))||mt.slice(0,-1).some(dn=>_(dn.node,R.Trailing))||Fe[Ue]&&_(Fe[Ue][0].node,R.Leading);if(Fe.length<=Ue&&!Et)return F(q)?rt:z(rt);let zt=d(Fe[Je?1:0]).node,ur=!x(zt)&&ze(zt),xr=[It(Fe[0]),Je?Fe.slice(1,2).map(It):"",ur?re:"",Mt(Fe.slice(Je?2:1))],gn=Pe.map(dn=>{let{node:_n}=dn;return _n}).filter(x);function Si(){let dn=d(d(Fe)).node,_n=d(Rr);return x(dn)&&Z(_n)&&gn.slice(0,-1).some($t=>$t.arguments.some(E))}let di;return Et||gn.length>2&&gn.some(dn=>!dn.arguments.every(_n=>T(_n,0)))||Rr.slice(0,-1).some(Z)||Si()?di=z(xr):di=[Z(rt)||ur?Be:"",ie([rt,xr])],N("member-chain",di)}h.exports=U}}),Vl=Oe({"src/language-js/print/call-expression.js"(u,h){Ye();var{builders:{join:f,group:d}}=Ln(),y=fu(),{getCallArguments:D,hasFlowAnnotationComment:O,isCallExpression:x,isMemberish:v,isStringLiteral:E,isTemplateOnItsOwnLine:F,isTestCall:k,iterateCallArgumentsPath:I}=ss(),T=ph(),_=ap(),{printOptionalToken:R,printFunctionTypeParameters:W}=Bo();function ne(re,z,ue){let ie=re.getValue(),Be=re.getParentNode(),N=ie.type==="NewExpression",Z=ie.type==="ImportExpression",B=R(re),j=D(ie);if(j.length>0&&(!Z&&!N&&L(ie,Be)||j.length===1&&F(j[0],z.originalText)||!N&&k(ie,Be))){let Q=[];return I(re,()=>{Q.push(ue())}),[N?"new ":"",ue("callee"),B,W(re,z,ue),"(",f(", ",Q),")"]}let A=(z.parser==="babel"||z.parser==="babel-flow")&&ie.callee&&ie.callee.type==="Identifier"&&O(ie.callee.trailingComments);if(A&&(ie.callee.trailingComments[0].printed=!0),!Z&&!N&&v(ie.callee)&&!re.call(Q=>y(Q,z),"callee"))return T(re,z,ue);let M=[N?"new ":"",Z?"import":ue("callee"),B,A?`/*:: ${ie.callee.trailingComments[0].value.slice(2).trim()} */`:"",W(re,z,ue),_(re,z,ue)];return Z||x(ie.callee)?d(M):M}function L(re,z){if(re.callee.type!=="Identifier")return!1;if(re.callee.name==="require")return!0;if(re.callee.name==="define"){let ue=D(re);return z.type==="ExpressionStatement"&&(ue.length===1||ue.length===2&&ue[0].type==="ArrayExpression"||ue.length===3&&E(ue[0])&&ue[1].type==="ArrayExpression")}return!1}h.exports={printCallExpression:ne}}}),du=Oe({"src/language-js/print/assignment.js"(u,h){Ye();var{isNonEmptyArray:f,getStringWidth:d}=fi(),{builders:{line:y,group:D,indent:O,indentIfBreak:x,lineSuffixBoundary:v},utils:{cleanDoc:E,willBreak:F,canBreak:k}}=Ln(),{hasLeadingOwnLineComment:I,isBinaryish:T,isStringLiteral:_,isLiteral:R,isNumericLiteral:W,isCallExpression:ne,isMemberExpression:L,getCallArguments:re,rawText:z,hasComment:ue,isSignedNumericLiteral:ie,isObjectProperty:Be}=ss(),{shouldInlineLogicalExpression:N}=Sa(),{printCallExpression:Z}=Vl();function B(Ne,Je,It,Mt,Rr,rt){let Ue=M(Ne,Je,It,Mt,rt),mt=It(rt,{assignmentLayout:Ue});switch(Ue){case"break-after-operator":return D([D(Mt),Rr,D(O([y,mt]))]);case"never-break-after-operator":return D([D(Mt),Rr," ",mt]);case"fluid":{let Et=Symbol("assignment");return D([D(Mt),Rr,D(O(y),{id:Et}),v,x(mt,{groupId:Et})])}case"break-lhs":return D([Mt,Rr," ",D(mt)]);case"chain":return[D(Mt),Rr,y,mt];case"chain-tail":return[D(Mt),Rr,O([y,mt])];case"chain-tail-arrow-chain":return[D(Mt),Rr,mt];case"only-left":return Mt}}function j(Ne,Je,It){let Mt=Ne.getValue();return B(Ne,Je,It,It("left"),[" ",Mt.operator],"right")}function A(Ne,Je,It){return B(Ne,Je,It,It("id")," =","init")}function M(Ne,Je,It,Mt,Rr){let rt=Ne.getValue(),Ue=rt[Rr];if(!Ue)return"only-left";let mt=!q(Ue);if(Ne.match(q,K,zt=>!mt||zt.type!=="ExpressionStatement"&&zt.type!=="VariableDeclaration"))return mt?Ue.type==="ArrowFunctionExpression"&&Ue.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!mt&&q(Ue.right)||I(Je.originalText,Ue))return"break-after-operator";if(Ue.type==="CallExpression"&&Ue.callee.name==="require"||Je.parser==="json5"||Je.parser==="json")return"never-break-after-operator";if(U(rt)||he(rt)||Pe(rt)||ze(rt)&&k(Mt))return"break-lhs";let Et=kt(rt,Mt,Je);return Ne.call(()=>Q(Ne,Je,It,Et),Rr)?"break-after-operator":Et||Ue.type==="TemplateLiteral"||Ue.type==="TaggedTemplateExpression"||Ue.type==="BooleanLiteral"||W(Ue)||Ue.type==="ClassExpression"?"never-break-after-operator":"fluid"}function Q(Ne,Je,It,Mt){let Rr=Ne.getValue();if(T(Rr)&&!N(Rr))return!0;switch(Rr.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:mt}=Rr;return T(mt)&&!N(mt)}case"ClassExpression":return f(Rr.decorators)}if(Mt)return!1;let rt=Rr,Ue=[];for(;;)if(rt.type==="UnaryExpression")rt=rt.argument,Ue.push("argument");else if(rt.type==="TSNonNullExpression")rt=rt.expression,Ue.push("expression");else break;return!!(_(rt)||Ne.call(()=>Fe(Ne,Je,It),...Ue))}function U(Ne){if(K(Ne)){let Je=Ne.left||Ne.id;return Je.type==="ObjectPattern"&&Je.properties.length>2&&Je.properties.some(It=>Be(It)&&(!It.shorthand||It.value&&It.value.type==="AssignmentPattern"))}return!1}function q(Ne){return Ne.type==="AssignmentExpression"}function K(Ne){return q(Ne)||Ne.type==="VariableDeclarator"}function he(Ne){let Je=Te(Ne);if(f(Je)){let It=Ne.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(Je.length>1&&Je.some(Mt=>Mt[It]||Mt.default))return!0}return!1}function Te(Ne){return _e(Ne)&&Ne.typeParameters&&Ne.typeParameters.params?Ne.typeParameters.params:null}function _e(Ne){return Ne.type==="TSTypeAliasDeclaration"||Ne.type==="TypeAlias"}function Pe(Ne){if(Ne.type!=="VariableDeclarator")return!1;let{typeAnnotation:Je}=Ne.id;if(!Je||!Je.typeAnnotation)return!1;let It=ye(Je.typeAnnotation);return f(It)&&It.length>1&&It.some(Mt=>f(ye(Mt))||Mt.type==="TSConditionalType")}function ze(Ne){return Ne.type==="VariableDeclarator"&&Ne.init&&Ne.init.type==="ArrowFunctionExpression"}function ye(Ne){return ct(Ne)&&Ne.typeParameters&&Ne.typeParameters.params?Ne.typeParameters.params:null}function ct(Ne){return Ne.type==="TSTypeReference"||Ne.type==="GenericTypeAnnotation"}function Fe(Ne,Je,It){let Mt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Rr=Ne.getValue(),rt=()=>Fe(Ne,Je,It,!0);if(Rr.type==="TSNonNullExpression")return Ne.call(rt,"expression");if(ne(Rr)){if(Z(Ne,Je,It).label==="member-chain")return!1;let Ue=re(Rr);return!(Ue.length===0||Ue.length===1&<(Ue[0],Je))||ft(Rr,It)?!1:Ne.call(rt,"callee")}return L(Rr)?Ne.call(rt,"object"):Mt&&(Rr.type==="Identifier"||Rr.type==="ThisExpression")}var Se=.25;function lt(Ne,Je){let{printWidth:It}=Je;if(ue(Ne))return!1;let Mt=It*Se;if(Ne.type==="ThisExpression"||Ne.type==="Identifier"&&Ne.name.length<=Mt||ie(Ne)&&!ue(Ne.argument))return!0;let Rr=Ne.type==="Literal"&&"regex"in Ne&&Ne.regex.pattern||Ne.type==="RegExpLiteral"&&Ne.pattern;return Rr?Rr.length<=Mt:_(Ne)?z(Ne).length<=Mt:Ne.type==="TemplateLiteral"?Ne.expressions.length===0&&Ne.quasis[0].value.raw.length<=Mt&&!Ne.quasis[0].value.raw.includes(`
|
||
`):R(Ne)}function kt(Ne,Je,It){if(!Be(Ne))return!1;Je=E(Je);let Mt=3;return typeof Je=="string"&&d(Je)<It.tabWidth+Mt}function ft(Ne,Je){let It=jt(Ne);if(f(It)){if(It.length>1)return!0;if(It.length===1){let Rr=It[0];if(Rr.type==="TSUnionType"||Rr.type==="UnionTypeAnnotation"||Rr.type==="TSIntersectionType"||Rr.type==="IntersectionTypeAnnotation"||Rr.type==="TSTypeLiteral"||Rr.type==="ObjectTypeAnnotation")return!0}let Mt=Ne.typeParameters?"typeParameters":"typeArguments";if(F(Je(Mt)))return!0}return!1}function jt(Ne){return Ne.typeParameters&&Ne.typeParameters.params||Ne.typeArguments&&Ne.typeArguments.params}h.exports={printVariableDeclarator:A,printAssignmentExpression:j,printAssignment:B,isArrowFunctionVariableDeclarator:ze}}}),Cc=Oe({"src/language-js/print/function-parameters.js"(u,h){Ye();var{getNextNonSpaceNonCommentCharacter:f}=fi(),{printDanglingComments:d}=Wi(),{builders:{line:y,hardline:D,softline:O,group:x,indent:v,ifBreak:E},utils:{removeLines:F,willBreak:k}}=Ln(),{getFunctionParameters:I,iterateFunctionParametersPath:T,isSimpleType:_,isTestCall:R,isTypeAnnotationAFunction:W,isObjectType:ne,isObjectTypePropertyAFunction:L,hasRestParameter:re,shouldPrintComma:z,hasComment:ue,isNextLineEmpty:ie}=ss(),{locEnd:Be}=zi(),{ArgExpansionBailout:N}=vi(),{printFunctionTypeParameters:Z}=Bo();function B(Q,U,q,K,he){let Te=Q.getValue(),_e=I(Te),Pe=he?Z(Q,q,U):"";if(_e.length===0)return[Pe,"(",d(Q,q,!0,lt=>f(q.originalText,lt,Be)===")"),")"];let ze=Q.getParentNode(),ye=R(ze),ct=j(Te),Fe=[];if(T(Q,(lt,kt)=>{let ft=kt===_e.length-1;ft&&Te.rest&&Fe.push("..."),Fe.push(U()),!ft&&(Fe.push(","),ye||ct?Fe.push(" "):ie(_e[kt],q)?Fe.push(D,D):Fe.push(y))}),K){if(k(Pe)||k(Fe))throw new N;return x([F(Pe),"(",F(Fe),")"])}let Se=_e.every(lt=>!lt.decorators);return ct&&Se?[Pe,"(",...Fe,")"]:ye?[Pe,"(",...Fe,")"]:(L(ze)||W(ze)||ze.type==="TypeAlias"||ze.type==="UnionTypeAnnotation"||ze.type==="TSUnionType"||ze.type==="IntersectionTypeAnnotation"||ze.type==="FunctionTypeAnnotation"&&ze.returnType===Te)&&_e.length===1&&_e[0].name===null&&Te.this!==_e[0]&&_e[0].typeAnnotation&&Te.typeParameters===null&&_(_e[0].typeAnnotation)&&!Te.rest?q.arrowParens==="always"?["(",...Fe,")"]:Fe:[Pe,"(",v([O,...Fe]),E(!re(Te)&&z(q,"all")?",":""),O,")"]}function j(Q){if(!Q)return!1;let U=I(Q);if(U.length!==1)return!1;let[q]=U;return!ue(q)&&(q.type==="ObjectPattern"||q.type==="ArrayPattern"||q.type==="Identifier"&&q.typeAnnotation&&(q.typeAnnotation.type==="TypeAnnotation"||q.typeAnnotation.type==="TSTypeAnnotation")&&ne(q.typeAnnotation.typeAnnotation)||q.type==="FunctionTypeParam"&&ne(q.typeAnnotation)||q.type==="AssignmentPattern"&&(q.left.type==="ObjectPattern"||q.left.type==="ArrayPattern")&&(q.right.type==="Identifier"||q.right.type==="ObjectExpression"&&q.right.properties.length===0||q.right.type==="ArrayExpression"&&q.right.elements.length===0))}function A(Q){let U;return Q.returnType?(U=Q.returnType,U.typeAnnotation&&(U=U.typeAnnotation)):Q.typeAnnotation&&(U=Q.typeAnnotation),U}function M(Q,U){let q=A(Q);if(!q)return!1;let K=Q.typeParameters&&Q.typeParameters.params;if(K){if(K.length>1)return!1;if(K.length===1){let he=K[0];if(he.constraint||he.default)return!1}}return I(Q).length===1&&(ne(q)||k(U))}h.exports={printFunctionParameters:B,shouldHugFunctionParameters:j,shouldGroupFunctionParameters:M}}}),Hu=Oe({"src/language-js/print/type-annotation.js"(u,h){Ye();var{printComments:f,printDanglingComments:d}=Wi(),{isNonEmptyArray:y}=fi(),{builders:{group:D,join:O,line:x,softline:v,indent:E,align:F,ifBreak:k}}=Ln(),I=fu(),{locStart:T}=zi(),{isSimpleType:_,isObjectType:R,hasLeadingOwnLineComment:W,isObjectTypePropertyAFunction:ne,shouldPrintComma:L}=ss(),{printAssignment:re}=du(),{printFunctionParameters:z,shouldGroupFunctionParameters:ue}=Cc(),{printArrayItems:ie}=Gu();function Be(q){if(_(q)||R(q))return!0;if(q.type==="UnionTypeAnnotation"||q.type==="TSUnionType"){let K=q.types.filter(Te=>Te.type==="VoidTypeAnnotation"||Te.type==="TSVoidKeyword"||Te.type==="NullLiteralTypeAnnotation"||Te.type==="TSNullKeyword").length,he=q.types.some(Te=>Te.type==="ObjectTypeAnnotation"||Te.type==="TSTypeLiteral"||Te.type==="GenericTypeAnnotation"||Te.type==="TSTypeReference");if(q.types.length-1===K&&he)return!0}return!1}function N(q,K,he){let Te=K.semi?";":"",_e=q.getValue(),Pe=[];return Pe.push("opaque type ",he("id"),he("typeParameters")),_e.supertype&&Pe.push(": ",he("supertype")),_e.impltype&&Pe.push(" = ",he("impltype")),Pe.push(Te),Pe}function Z(q,K,he){let Te=K.semi?";":"",_e=q.getValue(),Pe=[];_e.declare&&Pe.push("declare "),Pe.push("type ",he("id"),he("typeParameters"));let ze=_e.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[re(q,K,he,Pe," =",ze),Te]}function B(q,K,he){let Te=q.getValue(),_e=q.map(he,"types"),Pe=[],ze=!1;for(let ye=0;ye<_e.length;++ye)ye===0?Pe.push(_e[ye]):R(Te.types[ye-1])&&R(Te.types[ye])?Pe.push([" & ",ze?E(_e[ye]):_e[ye]]):!R(Te.types[ye-1])&&!R(Te.types[ye])?Pe.push(E([" &",x,_e[ye]])):(ye>1&&(ze=!0),Pe.push(" & ",ye>1?E(_e[ye]):_e[ye]));return D(Pe)}function j(q,K,he){let Te=q.getValue(),_e=q.getParentNode(),Pe=_e.type!=="TypeParameterInstantiation"&&_e.type!=="TSTypeParameterInstantiation"&&_e.type!=="GenericTypeAnnotation"&&_e.type!=="TSTypeReference"&&_e.type!=="TSTypeAssertion"&&_e.type!=="TupleTypeAnnotation"&&_e.type!=="TSTupleType"&&!(_e.type==="FunctionTypeParam"&&!_e.name&&q.getParentNode(1).this!==_e)&&!((_e.type==="TypeAlias"||_e.type==="VariableDeclarator"||_e.type==="TSTypeAliasDeclaration")&&W(K.originalText,Te)),ze=Be(Te),ye=q.map(Se=>{let lt=he();return ze||(lt=F(2,lt)),f(Se,lt,K)},"types");if(ze)return O(" | ",ye);let ct=Pe&&!W(K.originalText,Te),Fe=[k([ct?x:"","| "]),O([x,"| "],ye)];return I(q,K)?D([E(Fe),v]):_e.type==="TupleTypeAnnotation"&&_e.types.length>1||_e.type==="TSTupleType"&&_e.elementTypes.length>1?D([E([k(["(",v]),Fe]),v,k(")")]):D(Pe?E(Fe):Fe)}function A(q,K,he){let Te=q.getValue(),_e=[],Pe=q.getParentNode(0),ze=q.getParentNode(1),ye=q.getParentNode(2),ct=Te.type==="TSFunctionType"||!((Pe.type==="ObjectTypeProperty"||Pe.type==="ObjectTypeInternalSlot")&&!Pe.variance&&!Pe.optional&&T(Pe)===T(Te)||Pe.type==="ObjectTypeCallProperty"||ye&&ye.type==="DeclareFunction"),Fe=ct&&(Pe.type==="TypeAnnotation"||Pe.type==="TSTypeAnnotation"),Se=Fe&&ct&&(Pe.type==="TypeAnnotation"||Pe.type==="TSTypeAnnotation")&&ze.type==="ArrowFunctionExpression";ne(Pe)&&(ct=!0,Fe=!0),Se&&_e.push("(");let lt=z(q,he,K,!1,!0),kt=Te.returnType||Te.predicate||Te.typeAnnotation?[ct?" => ":": ",he("returnType"),he("predicate"),he("typeAnnotation")]:"",ft=ue(Te,kt);return _e.push(ft?D(lt):lt),kt&&_e.push(kt),Se&&_e.push(")"),D(_e)}function M(q,K,he){let Te=q.getValue(),_e=Te.type==="TSTupleType"?"elementTypes":"types",Pe=Te[_e],ze=y(Pe),ye=ze?v:"";return D(["[",E([ye,ie(q,K,_e,he)]),k(ze&&L(K,"all")?",":""),d(q,K,!0),ye,"]"])}function Q(q,K,he){let Te=q.getValue(),_e=Te.type==="OptionalIndexedAccessType"&&Te.optional?"?.[":"[";return[he("objectType"),_e,he("indexType"),"]"]}function U(q,K,he){let Te=q.getValue();return[Te.postfix?"":he,K("typeAnnotation"),Te.postfix?he:""]}h.exports={printOpaqueType:N,printTypeAlias:Z,printIntersectionType:B,printUnionType:j,printFunctionType:A,printTupleType:M,printIndexedAccessType:Q,shouldHugType:Be,printJSDocType:U}}}),Sc=Oe({"src/language-js/print/type-parameters.js"(u,h){Ye();var{printDanglingComments:f}=Wi(),{builders:{join:d,line:y,hardline:D,softline:O,group:x,indent:v,ifBreak:E}}=Ln(),{isTestCall:F,hasComment:k,CommentCheckFlags:I,isTSXFile:T,shouldPrintComma:_,getFunctionParameters:R,isObjectType:W,getTypeScriptMappedTypeModifier:ne}=ss(),{createGroupIdMapper:L}=fi(),{shouldHugType:re}=Hu(),{isArrowFunctionVariableDeclarator:z}=du(),ue=L("typeParameters");function ie(Z,B,j,A){let M=Z.getValue();if(!M[A])return"";if(!Array.isArray(M[A]))return j(A);let Q=Z.getNode(2),U=Q&&F(Q),q=Z.match(he=>!(he[A].length===1&&W(he[A][0])),void 0,(he,Te)=>Te==="typeAnnotation",he=>he.type==="Identifier",z);if(M[A].length===0||!q&&(U||M[A].length===1&&(M[A][0].type==="NullableTypeAnnotation"||re(M[A][0]))))return["<",d(", ",Z.map(j,A)),Be(Z,B),">"];let K=M.type==="TSTypeParameterInstantiation"?"":R(M).length===1&&T(B)&&!M[A][0].constraint&&Z.getParentNode().type==="ArrowFunctionExpression"?",":_(B,"all")?E(","):"";return x(["<",v([O,d([",",y],Z.map(j,A))]),K,O,">"],{id:ue(M)})}function Be(Z,B){let j=Z.getValue();if(!k(j,I.Dangling))return"";let A=!k(j,I.Line),M=f(Z,B,A);return A?M:[M,D]}function N(Z,B,j){let A=Z.getValue(),M=[A.type==="TSTypeParameter"&&A.const?"const ":""],Q=Z.getParentNode();return Q.type==="TSMappedType"?(Q.readonly&&M.push(ne(Q.readonly,"readonly")," "),M.push("[",j("name")),A.constraint&&M.push(" in ",j("constraint")),Q.nameType&&M.push(" as ",Z.callParent(()=>j("nameType"))),M.push("]"),M):(A.variance&&M.push(j("variance")),A.in&&M.push("in "),A.out&&M.push("out "),M.push(j("name")),A.bound&&M.push(": ",j("bound")),A.constraint&&M.push(" extends ",j("constraint")),A.default&&M.push(" = ",j("default")),M)}h.exports={printTypeParameter:N,printTypeParameters:ie,getTypeParametersGroupId:ue}}}),Ul=Oe({"src/language-js/print/property.js"(u,h){Ye();var{printComments:f}=Wi(),{printString:d,printNumber:y}=fi(),{isNumericLiteral:D,isSimpleNumber:O,isStringLiteral:x,isStringPropSafeToUnquote:v,rawText:E}=ss(),{printAssignment:F}=du(),k=new WeakMap;function I(_,R,W){let ne=_.getNode();if(ne.computed)return["[",W("key"),"]"];let L=_.getParentNode(),{key:re}=ne;if(R.quoteProps==="consistent"&&!k.has(L)){let z=(L.properties||L.body||L.members).some(ue=>!ue.computed&&ue.key&&x(ue.key)&&!v(ue,R));k.set(L,z)}if((re.type==="Identifier"||D(re)&&O(y(E(re)))&&String(re.value)===y(E(re))&&!(R.parser==="typescript"||R.parser==="babel-ts"))&&(R.parser==="json"||R.quoteProps==="consistent"&&k.get(L))){let z=d(JSON.stringify(re.type==="Identifier"?re.name:re.value.toString()),R);return _.call(ue=>f(ue,z,R),"key")}return v(ne,R)&&(R.quoteProps==="as-needed"||R.quoteProps==="consistent"&&!k.get(L))?_.call(z=>f(z,/^\d/.test(re.value)?y(re.value):re.value,R),"key"):W("key")}function T(_,R,W){return _.getValue().shorthand?W("value"):F(_,R,W,I(_,R,W),":","value")}h.exports={printProperty:T,printPropertyKey:I}}}),Ju=Oe({"src/language-js/print/function.js"(u,h){Ye();var f=cs(),{printDanglingComments:d,printCommentsSeparately:y}=Wi(),D=Cs(),{getNextNonSpaceNonCommentCharacterIndex:O}=fi(),{builders:{line:x,softline:v,group:E,indent:F,ifBreak:k,hardline:I,join:T,indentIfBreak:_},utils:{removeLines:R,willBreak:W}}=Ln(),{ArgExpansionBailout:ne}=vi(),{getFunctionParameters:L,hasLeadingOwnLineComment:re,isFlowAnnotationComment:z,isJsxNode:ue,isTemplateOnItsOwnLine:ie,shouldPrintComma:Be,startsWithNoLookaheadToken:N,isBinaryish:Z,isLineComment:B,hasComment:j,getComments:A,CommentCheckFlags:M,isCallLikeExpression:Q,isCallExpression:U,getCallArguments:q,hasNakedLeftSide:K,getLeftSide:he}=ss(),{locEnd:Te}=zi(),{printFunctionParameters:_e,shouldGroupFunctionParameters:Pe}=Cc(),{printPropertyKey:ze}=Ul(),{printFunctionTypeParameters:ye}=Bo();function ct(Ue,mt,Et,zt){let ur=Ue.getValue(),xr=!1;if((ur.type==="FunctionDeclaration"||ur.type==="FunctionExpression")&&zt&&zt.expandLastArg){let _n=Ue.getParentNode();U(_n)&&q(_n).length>1&&(xr=!0)}let gn=[];ur.type==="TSDeclareFunction"&&ur.declare&&gn.push("declare "),ur.async&&gn.push("async "),ur.generator?gn.push("function* "):gn.push("function "),ur.id&&gn.push(mt("id"));let Si=_e(Ue,mt,Et,xr),di=Je(Ue,mt,Et),dn=Pe(ur,di);return gn.push(ye(Ue,Et,mt),E([dn?E(Si):Si,di]),ur.body?" ":"",mt("body")),Et.semi&&(ur.declare||!ur.body)&&gn.push(";"),gn}function Fe(Ue,mt,Et){let zt=Ue.getNode(),{kind:ur}=zt,xr=zt.value||zt,gn=[];return!ur||ur==="init"||ur==="method"||ur==="constructor"?xr.async&&gn.push("async "):(f.ok(ur==="get"||ur==="set"),gn.push(ur," ")),xr.generator&&gn.push("*"),gn.push(ze(Ue,mt,Et),zt.optional||zt.key.optional?"?":""),zt===xr?gn.push(Se(Ue,mt,Et)):xr.type==="FunctionExpression"?gn.push(Ue.call(Si=>Se(Si,mt,Et),"value")):gn.push(Et("value")),gn}function Se(Ue,mt,Et){let zt=Ue.getNode(),ur=_e(Ue,Et,mt),xr=Je(Ue,Et,mt),gn=Pe(zt,xr),Si=[ye(Ue,mt,Et),E([gn?E(ur):ur,xr])];return zt.body?Si.push(" ",Et("body")):Si.push(mt.semi?";":""),Si}function lt(Ue,mt,Et,zt){let ur=Ue.getValue(),xr=[];if(ur.async&&xr.push("async "),Ne(Ue,mt))xr.push(Et(["params",0]));else{let Si=zt&&(zt.expandLastArg||zt.expandFirstArg),di=Je(Ue,Et,mt);if(Si){if(W(di))throw new ne;di=E(R(di))}xr.push(E([_e(Ue,Et,mt,Si,!0),di]))}let gn=d(Ue,mt,!0,Si=>{let di=O(mt.originalText,Si,Te);return di!==!1&&mt.originalText.slice(di,di+2)==="=>"});return gn&&xr.push(" ",gn),xr}function kt(Ue,mt,Et,zt,ur,xr){let gn=Ue.getName(),Si=Ue.getParentNode(),di=Q(Si)&&gn==="callee",dn=!!(mt&&mt.assignmentLayout),_n=xr.body.type!=="BlockStatement"&&xr.body.type!=="ObjectExpression"&&xr.body.type!=="SequenceExpression",$t=di&&_n||mt&&mt.assignmentLayout==="chain-tail-arrow-chain",je=Symbol("arrow-chain");return xr.body.type==="SequenceExpression"&&(ur=E(["(",F([v,ur]),v,")"])),E([E(F([di||dn?v:"",E(T([" =>",x],Et),{shouldBreak:zt})]),{id:je,shouldBreak:$t})," =>",_(_n?F([x,ur]):[" ",ur],{groupId:je}),di?k(v,"",{groupId:je}):""])}function ft(Ue,mt,Et,zt){let ur=Ue.getValue(),xr=[],gn=[],Si=!1;if(function je(){let Qt=lt(Ue,mt,Et,zt);if(xr.length===0)xr.push(Qt);else{let{leading:et,trailing:Nt}=y(Ue,mt);xr.push([et,Qt]),gn.unshift(Nt)}Si=Si||ur.returnType&&L(ur).length>0||ur.typeParameters||L(ur).some(et=>et.type!=="Identifier"),ur.body.type!=="ArrowFunctionExpression"||zt&&zt.expandLastArg?gn.unshift(Et("body",zt)):(ur=ur.body,Ue.call(je,"body"))}(),xr.length>1)return kt(Ue,zt,xr,Si,gn,ur);let di=xr;if(di.push(" =>"),!re(mt.originalText,ur.body)&&(ur.body.type==="ArrayExpression"||ur.body.type==="ObjectExpression"||ur.body.type==="BlockStatement"||ue(ur.body)||ie(ur.body,mt.originalText)||ur.body.type==="ArrowFunctionExpression"||ur.body.type==="DoExpression"))return E([...di," ",gn]);if(ur.body.type==="SequenceExpression")return E([...di,E([" (",F([v,gn]),v,")"])]);let dn=(zt&&zt.expandLastArg||Ue.getParentNode().type==="JSXExpressionContainer")&&!j(ur),_n=zt&&zt.expandLastArg&&Be(mt,"all"),$t=ur.body.type==="ConditionalExpression"&&!N(ur.body,je=>je.type==="ObjectExpression");return E([...di,E([F([x,$t?k("","("):"",gn,$t?k("",")"):""]),dn?[k(_n?",":""),v]:""])])}function jt(Ue){let mt=L(Ue);return mt.length===1&&!Ue.typeParameters&&!j(Ue,M.Dangling)&&mt[0].type==="Identifier"&&!mt[0].typeAnnotation&&!j(mt[0])&&!mt[0].optional&&!Ue.predicate&&!Ue.returnType}function Ne(Ue,mt){if(mt.arrowParens==="always")return!1;if(mt.arrowParens==="avoid"){let Et=Ue.getValue();return jt(Et)}return!1}function Je(Ue,mt,Et){let zt=Ue.getValue(),ur=mt("returnType");if(zt.returnType&&z(Et.originalText,zt.returnType))return[" /*: ",ur," */"];let xr=[ur];return zt.returnType&&zt.returnType.typeAnnotation&&xr.unshift(": "),zt.predicate&&xr.push(zt.returnType?" ":": ",mt("predicate")),xr}function It(Ue,mt,Et){let zt=Ue.getValue(),ur=mt.semi?";":"",xr=[];zt.argument&&(rt(mt,zt.argument)?xr.push([" (",F([I,Et("argument")]),I,")"]):Z(zt.argument)||zt.argument.type==="SequenceExpression"?xr.push(E([k(" ("," "),F([v,Et("argument")]),v,k(")")])):xr.push(" ",Et("argument")));let gn=A(zt),Si=D(gn),di=Si&&B(Si);return di&&xr.push(ur),j(zt,M.Dangling)&&xr.push(" ",d(Ue,mt,!0)),di||xr.push(ur),xr}function Mt(Ue,mt,Et){return["return",It(Ue,mt,Et)]}function Rr(Ue,mt,Et){return["throw",It(Ue,mt,Et)]}function rt(Ue,mt){if(re(Ue.originalText,mt))return!0;if(K(mt)){let Et=mt,zt;for(;zt=he(Et);)if(Et=zt,re(Ue.originalText,Et))return!0}return!1}h.exports={printFunction:ct,printArrowFunction:ft,printMethod:Fe,printReturnStatement:Mt,printThrowStatement:Rr,printMethodInternal:Se,shouldPrintParamsWithoutParens:Ne}}}),ql=Oe({"src/language-js/print/decorators.js"(u,h){Ye();var{isNonEmptyArray:f,hasNewline:d}=fi(),{builders:{line:y,hardline:D,join:O,breakParent:x,group:v}}=Ln(),{locStart:E,locEnd:F}=zi(),{getParentExportDeclaration:k}=ss();function I(ne,L,re){let z=ne.getValue();return v([O(y,ne.map(re,"decorators")),R(z,L)?D:y])}function T(ne,L,re){return[O(D,ne.map(re,"declaration","decorators")),D]}function _(ne,L,re){let z=ne.getValue(),{decorators:ue}=z;if(!f(ue)||W(ne.getParentNode()))return;let ie=z.type==="ClassExpression"||z.type==="ClassDeclaration"||R(z,L);return[k(ne)?D:ie?x:"",O(y,ne.map(re,"decorators")),y]}function R(ne,L){return ne.decorators.some(re=>d(L.originalText,F(re)))}function W(ne){if(ne.type!=="ExportDefaultDeclaration"&&ne.type!=="ExportNamedDeclaration"&&ne.type!=="DeclareExportDeclaration")return!1;let L=ne.declaration&&ne.declaration.decorators;return f(L)&&E(ne)===E(L[0])}h.exports={printDecorators:_,printClassMemberDecorators:I,printDecoratorsBeforeExport:T,hasDecoratorsBeforeExport:W}}}),mu=Oe({"src/language-js/print/class.js"(u,h){Ye();var{isNonEmptyArray:f,createGroupIdMapper:d}=fi(),{printComments:y,printDanglingComments:D}=Wi(),{builders:{join:O,line:x,hardline:v,softline:E,group:F,indent:k,ifBreak:I}}=Ln(),{hasComment:T,CommentCheckFlags:_}=ss(),{getTypeParametersGroupId:R}=Sc(),{printMethod:W}=Ju(),{printOptionalToken:ne,printTypeAnnotation:L,printDefiniteToken:re}=Bo(),{printPropertyKey:z}=Ul(),{printAssignment:ue}=du(),{printClassMemberDecorators:ie}=ql();function Be(q,K,he){let Te=q.getValue(),_e=[];Te.declare&&_e.push("declare "),Te.abstract&&_e.push("abstract "),_e.push("class");let Pe=Te.id&&T(Te.id,_.Trailing)||Te.typeParameters&&T(Te.typeParameters,_.Trailing)||Te.superClass&&T(Te.superClass)||f(Te.extends)||f(Te.mixins)||f(Te.implements),ze=[],ye=[];if(Te.id&&ze.push(" ",he("id")),ze.push(he("typeParameters")),Te.superClass){let ct=[M(q,K,he),he("superTypeParameters")],Fe=q.call(Se=>["extends ",y(Se,ct,K)],"superClass");Pe?ye.push(x,F(Fe)):ye.push(" ",Fe)}else ye.push(A(q,K,he,"extends"));if(ye.push(A(q,K,he,"mixins"),A(q,K,he,"implements")),Pe){let ct;j(Te)?ct=[...ze,k(ye)]:ct=k([...ze,ye]),_e.push(F(ct,{id:N(Te)}))}else _e.push(...ze,...ye);return _e.push(" ",he("body")),_e}var N=d("heritageGroup");function Z(q){return I(v,"",{groupId:N(q)})}function B(q){return["superClass","extends","mixins","implements"].filter(K=>!!q[K]).length>1}function j(q){return q.typeParameters&&!T(q.typeParameters,_.Trailing|_.Line)&&!B(q)}function A(q,K,he,Te){let _e=q.getValue();if(!f(_e[Te]))return"";let Pe=D(q,K,!0,ze=>{let{marker:ye}=ze;return ye===Te});return[j(_e)?I(" ",x,{groupId:R(_e.typeParameters)}):x,Pe,Pe&&v,Te,F(k([x,O([",",x],q.map(he,Te))]))]}function M(q,K,he){let Te=he("superClass");return q.getParentNode().type==="AssignmentExpression"?F(I(["(",k([E,Te]),E,")"],Te)):Te}function Q(q,K,he){let Te=q.getValue(),_e=[];return f(Te.decorators)&&_e.push(ie(q,K,he)),Te.accessibility&&_e.push(Te.accessibility+" "),Te.readonly&&_e.push("readonly "),Te.declare&&_e.push("declare "),Te.static&&_e.push("static "),(Te.type==="TSAbstractMethodDefinition"||Te.abstract)&&_e.push("abstract "),Te.override&&_e.push("override "),_e.push(W(q,K,he)),_e}function U(q,K,he){let Te=q.getValue(),_e=[],Pe=K.semi?";":"";return f(Te.decorators)&&_e.push(ie(q,K,he)),Te.accessibility&&_e.push(Te.accessibility+" "),Te.declare&&_e.push("declare "),Te.static&&_e.push("static "),(Te.type==="TSAbstractPropertyDefinition"||Te.type==="TSAbstractAccessorProperty"||Te.abstract)&&_e.push("abstract "),Te.override&&_e.push("override "),Te.readonly&&_e.push("readonly "),Te.variance&&_e.push(he("variance")),(Te.type==="ClassAccessorProperty"||Te.type==="AccessorProperty"||Te.type==="TSAbstractAccessorProperty")&&_e.push("accessor "),_e.push(z(q,K,he),ne(q),re(q),L(q,K,he)),[ue(q,K,he,_e," =","value"),Pe]}h.exports={printClass:Be,printClassMethod:Q,printClassProperty:U,printHardlineAfterHeritage:Z}}}),up=Oe({"src/language-js/print/interface.js"(u,h){Ye();var{isNonEmptyArray:f}=fi(),{builders:{join:d,line:y,group:D,indent:O,ifBreak:x}}=Ln(),{hasComment:v,identity:E,CommentCheckFlags:F}=ss(),{getTypeParametersGroupId:k}=Sc(),{printTypeScriptModifiers:I}=Bo();function T(_,R,W){let ne=_.getValue(),L=[];ne.declare&&L.push("declare "),ne.type==="TSInterfaceDeclaration"&&L.push(ne.abstract?"abstract ":"",I(_,R,W)),L.push("interface");let re=[],z=[];ne.type!=="InterfaceTypeAnnotation"&&re.push(" ",W("id"),W("typeParameters"));let ue=ne.typeParameters&&!v(ne.typeParameters,F.Trailing|F.Line);return f(ne.extends)&&z.push(ue?x(" ",y,{groupId:k(ne.typeParameters)}):y,"extends ",(ne.extends.length===1?E:O)(d([",",y],_.map(W,"extends")))),ne.id&&v(ne.id,F.Trailing)||f(ne.extends)?ue?L.push(D([...re,O(z)])):L.push(D(O([...re,...z]))):L.push(...re,...z),L.push(" ",W("body")),D(L)}h.exports={printInterface:T}}}),lp=Oe({"src/language-js/print/module.js"(u,h){Ye();var{isNonEmptyArray:f}=fi(),{builders:{softline:d,group:y,indent:D,join:O,line:x,ifBreak:v,hardline:E}}=Ln(),{printDanglingComments:F}=Wi(),{hasComment:k,CommentCheckFlags:I,shouldPrintComma:T,needsHardlineAfterDanglingComment:_,isStringLiteral:R,rawText:W}=ss(),{locStart:ne,hasSameLoc:L}=zi(),{hasDecoratorsBeforeExport:re,printDecoratorsBeforeExport:z}=ql();function ue(U,q,K){let he=U.getValue(),Te=q.semi?";":"",_e=[],{importKind:Pe}=he;return _e.push("import"),Pe&&Pe!=="value"&&_e.push(" ",Pe),_e.push(B(U,q,K),Z(U,q,K),A(U,q,K),Te),_e}function ie(U,q,K){let he=U.getValue(),Te=[];re(he)&&Te.push(z(U,q,K));let{type:_e,exportKind:Pe,declaration:ze}=he;return Te.push("export"),(he.default||_e==="ExportDefaultDeclaration")&&Te.push(" default"),k(he,I.Dangling)&&(Te.push(" ",F(U,q,!0)),_(he)&&Te.push(E)),ze?Te.push(" ",K("declaration")):Te.push(Pe==="type"?" type":"",B(U,q,K),Z(U,q,K),A(U,q,K)),N(he,q)&&Te.push(";"),Te}function Be(U,q,K){let he=U.getValue(),Te=q.semi?";":"",_e=[],{exportKind:Pe,exported:ze}=he;return _e.push("export"),Pe==="type"&&_e.push(" type"),_e.push(" *"),ze&&_e.push(" as ",K("exported")),_e.push(Z(U,q,K),A(U,q,K),Te),_e}function N(U,q){if(!q.semi)return!1;let{type:K,declaration:he}=U,Te=U.default||K==="ExportDefaultDeclaration";if(!he)return!0;let{type:_e}=he;return!!(Te&&_e!=="ClassDeclaration"&&_e!=="FunctionDeclaration"&&_e!=="TSInterfaceDeclaration"&&_e!=="DeclareClass"&&_e!=="DeclareFunction"&&_e!=="TSDeclareFunction"&&_e!=="EnumDeclaration")}function Z(U,q,K){let he=U.getValue();if(!he.source)return"";let Te=[];return j(he,q)||Te.push(" from"),Te.push(" ",K("source")),Te}function B(U,q,K){let he=U.getValue();if(j(he,q))return"";let Te=[" "];if(f(he.specifiers)){let _e=[],Pe=[];U.each(()=>{let ze=U.getValue().type;if(ze==="ExportNamespaceSpecifier"||ze==="ExportDefaultSpecifier"||ze==="ImportNamespaceSpecifier"||ze==="ImportDefaultSpecifier")_e.push(K());else if(ze==="ExportSpecifier"||ze==="ImportSpecifier")Pe.push(K());else throw new Error(`Unknown specifier type ${JSON.stringify(ze)}`)},"specifiers"),Te.push(O(", ",_e)),Pe.length>0&&(_e.length>0&&Te.push(", "),Pe.length>1||_e.length>0||he.specifiers.some(ze=>k(ze))?Te.push(y(["{",D([q.bracketSpacing?x:d,O([",",x],Pe)]),v(T(q)?",":""),q.bracketSpacing?x:d,"}"])):Te.push(["{",q.bracketSpacing?" ":"",...Pe,q.bracketSpacing?" ":"","}"]))}else Te.push("{}");return Te}function j(U,q){let{type:K,importKind:he,source:Te,specifiers:_e}=U;return K!=="ImportDeclaration"||f(_e)||he==="type"?!1:!/{\s*}/.test(q.originalText.slice(ne(U),ne(Te)))}function A(U,q,K){let he=U.getNode();return f(he.assertions)?[" assert {",q.bracketSpacing?" ":"",O(", ",U.map(K,"assertions")),q.bracketSpacing?" ":"","}"]:""}function M(U,q,K){let he=U.getNode(),{type:Te}=he,_e=[],Pe=Te==="ImportSpecifier"?he.importKind:he.exportKind;Pe&&Pe!=="value"&&_e.push(Pe," ");let ze=Te.startsWith("Import"),ye=ze?"imported":"local",ct=ze?"local":"exported",Fe=he[ye],Se=he[ct],lt="",kt="";return Te==="ExportNamespaceSpecifier"||Te==="ImportNamespaceSpecifier"?lt="*":Fe&&(lt=K(ye)),Se&&!Q(he)&&(kt=K(ct)),_e.push(lt,lt&&kt?" as ":"",kt),_e}function Q(U){if(U.type!=="ImportSpecifier"&&U.type!=="ExportSpecifier")return!1;let{local:q,[U.type==="ImportSpecifier"?"imported":"exported"]:K}=U;if(q.type!==K.type||!L(q,K))return!1;if(R(q))return q.value===K.value&&W(q)===W(K);switch(q.type){case"Identifier":return q.name===K.name;default:return!1}}h.exports={printImportDeclaration:ue,printExportDeclaration:ie,printExportAllDeclaration:Be,printModuleSpecifier:M}}}),fh=Oe({"src/language-js/print/object.js"(u,h){Ye();var{printDanglingComments:f}=Wi(),{builders:{line:d,softline:y,group:D,indent:O,ifBreak:x,hardline:v}}=Ln(),{getLast:E,hasNewlineInRange:F,hasNewline:k,isNonEmptyArray:I}=fi(),{shouldPrintComma:T,hasComment:_,getComments:R,CommentCheckFlags:W,isNextLineEmpty:ne}=ss(),{locStart:L,locEnd:re}=zi(),{printOptionalToken:z,printTypeAnnotation:ue}=Bo(),{shouldHugFunctionParameters:ie}=Cc(),{shouldHugType:Be}=Hu(),{printHardlineAfterHeritage:N}=mu();function Z(B,j,A){let M=j.semi?";":"",Q=B.getValue(),U;Q.type==="TSTypeLiteral"?U="members":Q.type==="TSInterfaceBody"?U="body":U="properties";let q=Q.type==="ObjectTypeAnnotation",K=[U];q&&K.push("indexers","callProperties","internalSlots");let he=K.map(Ne=>Q[Ne][0]).sort((Ne,Je)=>L(Ne)-L(Je))[0],Te=B.getParentNode(0),_e=q&&Te&&(Te.type==="InterfaceDeclaration"||Te.type==="DeclareInterface"||Te.type==="DeclareClass")&&B.getName()==="body",Pe=Q.type==="TSInterfaceBody"||_e||Q.type==="ObjectPattern"&&Te.type!=="FunctionDeclaration"&&Te.type!=="FunctionExpression"&&Te.type!=="ArrowFunctionExpression"&&Te.type!=="ObjectMethod"&&Te.type!=="ClassMethod"&&Te.type!=="ClassPrivateMethod"&&Te.type!=="AssignmentPattern"&&Te.type!=="CatchClause"&&Q.properties.some(Ne=>Ne.value&&(Ne.value.type==="ObjectPattern"||Ne.value.type==="ArrayPattern"))||Q.type!=="ObjectPattern"&&he&&F(j.originalText,L(Q),L(he)),ze=_e?";":Q.type==="TSInterfaceBody"||Q.type==="TSTypeLiteral"?x(M,";"):",",ye=Q.type==="RecordExpression"?"#{":Q.exact?"{|":"{",ct=Q.exact?"|}":"}",Fe=[];for(let Ne of K)B.each(Je=>{let It=Je.getValue();Fe.push({node:It,printed:A(),loc:L(It)})},Ne);K.length>1&&Fe.sort((Ne,Je)=>Ne.loc-Je.loc);let Se=[],lt=Fe.map(Ne=>{let Je=[...Se,D(Ne.printed)];return Se=[ze,d],(Ne.node.type==="TSPropertySignature"||Ne.node.type==="TSMethodSignature"||Ne.node.type==="TSConstructSignatureDeclaration")&&_(Ne.node,W.PrettierIgnore)&&Se.shift(),ne(Ne.node,j)&&Se.push(v),Je});if(Q.inexact){let Ne;if(_(Q,W.Dangling)){let Je=_(Q,W.Line);Ne=[f(B,j,!0),Je||k(j.originalText,re(E(R(Q))))?v:d,"..."]}else Ne=["..."];lt.push([...Se,...Ne])}let kt=E(Q[U]),ft=!(Q.inexact||kt&&kt.type==="RestElement"||kt&&(kt.type==="TSPropertySignature"||kt.type==="TSCallSignatureDeclaration"||kt.type==="TSMethodSignature"||kt.type==="TSConstructSignatureDeclaration")&&_(kt,W.PrettierIgnore)),jt;if(lt.length===0){if(!_(Q,W.Dangling))return[ye,ct,ue(B,j,A)];jt=D([ye,f(B,j),y,ct,z(B),ue(B,j,A)])}else jt=[_e&&I(Q.properties)?N(Te):"",ye,O([j.bracketSpacing?d:y,...lt]),x(ft&&(ze!==","||T(j))?ze:""),j.bracketSpacing?d:y,ct,z(B),ue(B,j,A)];return B.match(Ne=>Ne.type==="ObjectPattern"&&!Ne.decorators,(Ne,Je,It)=>ie(Ne)&&(Je==="params"||Je==="parameters"||Je==="this"||Je==="rest")&&It===0)||B.match(Be,(Ne,Je)=>Je==="typeAnnotation",(Ne,Je)=>Je==="typeAnnotation",(Ne,Je,It)=>ie(Ne)&&(Je==="params"||Je==="parameters"||Je==="this"||Je==="rest")&&It===0)||!Pe&&B.match(Ne=>Ne.type==="ObjectPattern",Ne=>Ne.type==="AssignmentExpression"||Ne.type==="VariableDeclarator")?jt:D(jt,{shouldBreak:Pe})}h.exports={printObject:Z}}}),cp=Oe({"src/language-js/print/flow.js"(u,h){Ye();var f=cs(),{printDanglingComments:d}=Wi(),{printString:y,printNumber:D}=fi(),{builders:{hardline:O,softline:x,group:v,indent:E}}=Ln(),{getParentExportDeclaration:F,isFunctionNotation:k,isGetterOrSetter:I,rawText:T,shouldPrintComma:_}=ss(),{locStart:R,locEnd:W}=zi(),{replaceTextEndOfLine:ne}=$a(),{printClass:L}=mu(),{printOpaqueType:re,printTypeAlias:z,printIntersectionType:ue,printUnionType:ie,printFunctionType:Be,printTupleType:N,printIndexedAccessType:Z}=Hu(),{printInterface:B}=up(),{printTypeParameter:j,printTypeParameters:A}=Sc(),{printExportDeclaration:M,printExportAllDeclaration:Q}=lp(),{printArrayItems:U}=Gu(),{printObject:q}=fh(),{printPropertyKey:K}=Ul(),{printOptionalToken:he,printTypeAnnotation:Te,printRestSpread:_e}=Bo();function Pe(ye,ct,Fe){let Se=ye.getValue(),lt=ct.semi?";":"",kt=[];switch(Se.type){case"DeclareClass":return ze(ye,L(ye,ct,Fe));case"DeclareFunction":return ze(ye,["function ",Fe("id"),Se.predicate?" ":"",Fe("predicate"),lt]);case"DeclareModule":return ze(ye,["module ",Fe("id")," ",Fe("body")]);case"DeclareModuleExports":return ze(ye,["module.exports",": ",Fe("typeAnnotation"),lt]);case"DeclareVariable":return ze(ye,["var ",Fe("id"),lt]);case"DeclareOpaqueType":return ze(ye,re(ye,ct,Fe));case"DeclareInterface":return ze(ye,B(ye,ct,Fe));case"DeclareTypeAlias":return ze(ye,z(ye,ct,Fe));case"DeclareExportDeclaration":return ze(ye,M(ye,ct,Fe));case"DeclareExportAllDeclaration":return ze(ye,Q(ye,ct,Fe));case"OpaqueType":return re(ye,ct,Fe);case"TypeAlias":return z(ye,ct,Fe);case"IntersectionTypeAnnotation":return ue(ye,ct,Fe);case"UnionTypeAnnotation":return ie(ye,ct,Fe);case"FunctionTypeAnnotation":return Be(ye,ct,Fe);case"TupleTypeAnnotation":return N(ye,ct,Fe);case"GenericTypeAnnotation":return[Fe("id"),A(ye,ct,Fe,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return Z(ye,ct,Fe);case"TypeAnnotation":return Fe("typeAnnotation");case"TypeParameter":return j(ye,ct,Fe);case"TypeofTypeAnnotation":return["typeof ",Fe("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[Fe("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(Se.value);case"EnumDeclaration":return["enum ",Fe("id")," ",Fe("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(Se.type==="EnumSymbolBody"||Se.explicitType){let ft=null;switch(Se.type){case"EnumBooleanBody":ft="boolean";break;case"EnumNumberBody":ft="number";break;case"EnumStringBody":ft="string";break;case"EnumSymbolBody":ft="symbol";break}kt.push("of ",ft," ")}if(Se.members.length===0&&!Se.hasUnknownMembers)kt.push(v(["{",d(ye,ct),x,"}"]));else{let ft=Se.members.length>0?[O,U(ye,ct,"members",Fe),Se.hasUnknownMembers||_(ct)?",":""]:[];kt.push(v(["{",E([...ft,...Se.hasUnknownMembers?[O,"..."]:[]]),d(ye,ct,!0),O,"}"]))}return kt}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[Fe("id")," = ",typeof Se.init=="object"?Fe("init"):String(Se.init)];case"EnumDefaultedMember":return Fe("id");case"FunctionTypeParam":{let ft=Se.name?Fe("name"):ye.getParentNode().this===Se?"this":"";return[ft,he(ye),ft?": ":"",Fe("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return B(ye,ct,Fe);case"ClassImplements":case"InterfaceExtends":return[Fe("id"),Fe("typeParameters")];case"NullableTypeAnnotation":return["?",Fe("typeAnnotation")];case"Variance":{let{kind:ft}=Se;return f.ok(ft==="plus"||ft==="minus"),ft==="plus"?"+":"-"}case"ObjectTypeCallProperty":return Se.static&&kt.push("static "),kt.push(Fe("value")),kt;case"ObjectTypeIndexer":return[Se.static?"static ":"",Se.variance?Fe("variance"):"","[",Fe("id"),Se.id?": ":"",Fe("key"),"]: ",Fe("value")];case"ObjectTypeProperty":{let ft="";return Se.proto?ft="proto ":Se.static&&(ft="static "),[ft,I(Se)?Se.kind+" ":"",Se.variance?Fe("variance"):"",K(ye,ct,Fe),he(ye),k(Se)?"":": ",Fe("value")]}case"ObjectTypeAnnotation":return q(ye,ct,Fe);case"ObjectTypeInternalSlot":return[Se.static?"static ":"","[[",Fe("id"),"]]",he(ye),Se.method?"":": ",Fe("value")];case"ObjectTypeSpreadProperty":return _e(ye,ct,Fe);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[Fe("qualification"),".",Fe("id")];case"StringLiteralTypeAnnotation":return ne(y(T(Se),ct));case"NumberLiteralTypeAnnotation":f.strictEqual(typeof Se.value,"number");case"BigIntLiteralTypeAnnotation":return Se.extra?D(Se.extra.raw):D(Se.raw);case"TypeCastExpression":return["(",Fe("expression"),Te(ye,ct,Fe),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let ft=A(ye,ct,Fe,"params");if(ct.parser==="flow"){let jt=R(Se),Ne=W(Se),Je=ct.originalText.lastIndexOf("/*",jt),It=ct.originalText.indexOf("*/",Ne);if(Je!==-1&&It!==-1){let Mt=ct.originalText.slice(Je+2,It).trim();if(Mt.startsWith("::")&&!Mt.includes("/*")&&!Mt.includes("*/"))return["/*:: ",ft," */"]}}return ft}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",Fe("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(Se.type))}}function ze(ye,ct){let Fe=F(ye);return Fe?(f.strictEqual(Fe.type,"DeclareExportDeclaration"),ct):["declare ",ct]}h.exports={printFlow:Pe}}}),lf=Oe({"src/language-js/utils/is-ts-keyword-type.js"(u,h){Ye();function f(d){let{type:y}=d;return y.startsWith("TS")&&y.endsWith("Keyword")}h.exports=f}}),Ku=Oe({"src/language-js/print/ternary.js"(u,h){Ye();var{hasNewlineInRange:f}=fi(),{isJsxNode:d,getComments:y,isCallExpression:D,isMemberExpression:O,isTSTypeExpression:x}=ss(),{locStart:v,locEnd:E}=zi(),F=Ya(),{builders:{line:k,softline:I,group:T,indent:_,align:R,ifBreak:W,dedent:ne,breakParent:L}}=Ln();function re(N){let Z=[N];for(let B=0;B<Z.length;B++){let j=Z[B];for(let A of["test","consequent","alternate"]){let M=j[A];if(d(M))return!0;M.type==="ConditionalExpression"&&Z.push(M)}}return!1}function z(N,Z,B){let j=N.getValue(),A=j.type==="ConditionalExpression",M=A?"alternate":"falseType",Q=N.getParentNode(),U=A?B("test"):[B("checkType")," ","extends"," ",B("extendsType")];return Q.type===j.type&&Q[M]===j?R(2,U):U}var ue=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function ie(N){let Z=N.getValue();if(Z.type!=="ConditionalExpression")return!1;let B,j=Z;for(let A=0;!B;A++){let M=N.getParentNode(A);if(D(M)&&M.callee===j||O(M)&&M.object===j||M.type==="TSNonNullExpression"&&M.expression===j){j=M;continue}M.type==="NewExpression"&&M.callee===j||x(M)&&M.expression===j?(B=N.getParentNode(A+1),j=M):B=M}return j===Z?!1:B[ue.get(B.type)]===j}function Be(N,Z,B){let j=N.getValue(),A=j.type==="ConditionalExpression",M=A?"consequent":"trueType",Q=A?"alternate":"falseType",U=A?["test"]:["checkType","extendsType"],q=j[M],K=j[Q],he=[],Te=!1,_e=N.getParentNode(),Pe=_e.type===j.type&&U.some(It=>_e[It]===j),ze=_e.type===j.type&&!Pe,ye,ct,Fe=0;do ct=ye||j,ye=N.getParentNode(Fe),Fe++;while(ye&&ye.type===j.type&&U.every(It=>ye[It]!==ct));let Se=ye||_e,lt=ct;if(A&&(d(j[U[0]])||d(q)||d(K)||re(lt))){Te=!0,ze=!0;let It=Rr=>[W("("),_([I,Rr]),I,W(")")],Mt=Rr=>Rr.type==="NullLiteral"||Rr.type==="Literal"&&Rr.value===null||Rr.type==="Identifier"&&Rr.name==="undefined";he.push(" ? ",Mt(q)?B(M):It(B(M))," : ",K.type===j.type||Mt(K)?B(Q):It(B(Q)))}else{let It=[k,"? ",q.type===j.type?W("","("):"",R(2,B(M)),q.type===j.type?W("",")"):"",k,": ",K.type===j.type?B(Q):R(2,B(Q))];he.push(_e.type!==j.type||_e[Q]===j||Pe?It:Z.useTabs?ne(_(It)):R(Math.max(0,Z.tabWidth-2),It))}let kt=[...U.map(It=>y(j[It])),y(q),y(K)].flat().some(It=>F(It)&&f(Z.originalText,v(It),E(It))),ft=It=>_e===Se?T(It,{shouldBreak:kt}):kt?[It,L]:It,jt=!Te&&(O(_e)||_e.type==="NGPipeExpression"&&_e.left===j)&&!_e.computed,Ne=ie(N),Je=ft([z(N,Z,B),ze?he:_(he),A&&jt&&!Ne?I:""]);return Pe||Ne?T([_([I,Je]),I]):Je}h.exports={printTernary:Be}}}),el=Oe({"src/language-js/print/statement.js"(u,h){Ye();var{builders:{hardline:f}}=Ln(),d=fu(),{getLeftSidePathName:y,hasNakedLeftSide:D,isJsxNode:O,isTheOnlyJsxElementInMarkdown:x,hasComment:v,CommentCheckFlags:E,isNextLineEmpty:F}=ss(),{shouldPrintParamsWithoutParens:k}=Ju();function I(z,ue,ie,Be){let N=z.getValue(),Z=[],B=N.type==="ClassBody",j=T(N[Be]);return z.each((A,M,Q)=>{let U=A.getValue();if(U.type==="EmptyStatement")return;let q=ie();!ue.semi&&!B&&!x(ue,A)&&_(A,ue)?v(U,E.Leading)?Z.push(ie([],{needsSemi:!0})):Z.push(";",q):Z.push(q),!ue.semi&&B&&L(U)&&re(U,Q[M+1])&&Z.push(";"),U!==j&&(Z.push(f),F(U,ue)&&Z.push(f))},Be),Z}function T(z){for(let ue=z.length-1;ue>=0;ue--){let ie=z[ue];if(ie.type!=="EmptyStatement")return ie}}function _(z,ue){return z.getNode().type!=="ExpressionStatement"?!1:z.call(ie=>R(ie,ue),"expression")}function R(z,ue){let ie=z.getValue();switch(ie.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!k(z,ue))return!0;break}case"UnaryExpression":{let{prefix:Be,operator:N}=ie;if(Be&&(N==="+"||N==="-"))return!0;break}case"BindExpression":{if(!ie.object)return!0;break}case"Literal":{if(ie.regex)return!0;break}default:if(O(ie))return!0}return d(z,ue)?!0:D(ie)?z.call(Be=>R(Be,ue),...y(z,ie)):!1}function W(z,ue,ie){return I(z,ue,ie,"body")}function ne(z,ue,ie){return I(z,ue,ie,"consequent")}var L=z=>{let{type:ue}=z;return ue==="ClassProperty"||ue==="PropertyDefinition"||ue==="ClassPrivateProperty"||ue==="ClassAccessorProperty"||ue==="AccessorProperty"||ue==="TSAbstractPropertyDefinition"||ue==="TSAbstractAccessorProperty"};function re(z,ue){let{type:ie,name:Be}=z.key;if(!z.computed&&ie==="Identifier"&&(Be==="static"||Be==="get"||Be==="set"||Be==="accessor")&&!z.value&&!z.typeAnnotation)return!0;if(!ue||ue.static||ue.accessibility)return!1;if(!ue.computed){let N=ue.key&&ue.key.name;if(N==="in"||N==="instanceof")return!0}if(L(ue)&&ue.variance&&!ue.static&&!ue.declare)return!0;switch(ue.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return ue.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((ue.value?ue.value.async:ue.async)||ue.kind==="get"||ue.kind==="set")return!1;let N=ue.value?ue.value.generator:ue.generator;return!!(ue.computed||N)}case"TSIndexSignature":return!0}return!1}h.exports={printBody:W,printSwitchCaseConsequent:ne}}}),hp=Oe({"src/language-js/print/block.js"(u,h){Ye();var{printDanglingComments:f}=Wi(),{isNonEmptyArray:d}=fi(),{builders:{hardline:y,indent:D}}=Ln(),{hasComment:O,CommentCheckFlags:x,isNextLineEmpty:v}=ss(),{printHardlineAfterHeritage:E}=mu(),{printBody:F}=el();function k(T,_,R){let W=T.getValue(),ne=[];if(W.type==="StaticBlock"&&ne.push("static "),W.type==="ClassBody"&&d(W.body)){let re=T.getParentNode();ne.push(E(re))}ne.push("{");let L=I(T,_,R);if(L)ne.push(D([y,L]),y);else{let re=T.getParentNode(),z=T.getParentNode(1);re.type==="ArrowFunctionExpression"||re.type==="FunctionExpression"||re.type==="FunctionDeclaration"||re.type==="ObjectMethod"||re.type==="ClassMethod"||re.type==="ClassPrivateMethod"||re.type==="ForStatement"||re.type==="WhileStatement"||re.type==="DoWhileStatement"||re.type==="DoExpression"||re.type==="CatchClause"&&!z.finalizer||re.type==="TSModuleDeclaration"||re.type==="TSDeclareFunction"||W.type==="StaticBlock"||W.type==="ClassBody"||ne.push(y)}return ne.push("}"),ne}function I(T,_,R){let W=T.getValue(),ne=d(W.directives),L=W.body.some(ue=>ue.type!=="EmptyStatement"),re=O(W,x.Dangling);if(!ne&&!L&&!re)return"";let z=[];if(ne&&T.each((ue,ie,Be)=>{z.push(R()),(ie<Be.length-1||L||re)&&(z.push(y),v(ue.getValue(),_)&&z.push(y))},"directives"),L&&z.push(F(T,_,R)),re&&z.push(f(T,_,!0)),W.type==="Program"){let ue=T.getParentNode();(!ue||ue.type!=="ModuleExpression")&&z.push(y)}return z}h.exports={printBlock:k,printBlockBody:I}}}),dh=Oe({"src/language-js/print/typescript.js"(u,h){Ye();var{printDanglingComments:f}=Wi(),{hasNewlineInRange:d}=fi(),{builders:{join:y,line:D,hardline:O,softline:x,group:v,indent:E,conditionalGroup:F,ifBreak:k}}=Ln(),{isStringLiteral:I,getTypeScriptMappedTypeModifier:T,shouldPrintComma:_,isCallExpression:R,isMemberExpression:W}=ss(),ne=lf(),{locStart:L,locEnd:re}=zi(),{printOptionalToken:z,printTypeScriptModifiers:ue}=Bo(),{printTernary:ie}=Ku(),{printFunctionParameters:Be,shouldGroupFunctionParameters:N}=Cc(),{printTemplateLiteral:Z}=Xu(),{printArrayItems:B}=Gu(),{printObject:j}=fh(),{printClassProperty:A,printClassMethod:M}=mu(),{printTypeParameter:Q,printTypeParameters:U}=Sc(),{printPropertyKey:q}=Ul(),{printFunction:K,printMethodInternal:he}=Ju(),{printInterface:Te}=up(),{printBlock:_e}=hp(),{printTypeAlias:Pe,printIntersectionType:ze,printUnionType:ye,printFunctionType:ct,printTupleType:Fe,printIndexedAccessType:Se,printJSDocType:lt}=Hu();function kt(ft,jt,Ne){let Je=ft.getValue();if(!Je.type.startsWith("TS"))return;if(ne(Je))return Je.type.slice(2,-7).toLowerCase();let It=jt.semi?";":"",Mt=[];switch(Je.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Rr=!(Je.expression.type==="ArrayExpression"||Je.expression.type==="ObjectExpression"),rt=v(["<",E([x,Ne("typeAnnotation")]),x,">"]),Ue=[k("("),E([x,Ne("expression")]),x,k(")")];return Rr?F([[rt,Ne("expression")],[rt,v(Ue,{shouldBreak:!0})],[rt,Ne("expression")]]):v([rt,Ne("expression")])}case"TSDeclareFunction":return K(ft,Ne,jt);case"TSExportAssignment":return["export = ",Ne("expression"),It];case"TSModuleBlock":return _e(ft,jt,Ne);case"TSInterfaceBody":case"TSTypeLiteral":return j(ft,jt,Ne);case"TSTypeAliasDeclaration":return Pe(ft,jt,Ne);case"TSQualifiedName":return y(".",[Ne("left"),Ne("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return M(ft,jt,Ne);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return A(ft,jt,Ne);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Mt.push(Ne("expression")),Je.typeParameters&&Mt.push(Ne("typeParameters")),Mt;case"TSTemplateLiteralType":return Z(ft,Ne,jt);case"TSNamedTupleMember":return[Ne("label"),Je.optional?"?":"",": ",Ne("elementType")];case"TSRestType":return["...",Ne("typeAnnotation")];case"TSOptionalType":return[Ne("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Te(ft,jt,Ne);case"TSClassImplements":return[Ne("expression"),Ne("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return U(ft,jt,Ne,"params");case"TSTypeParameter":return Q(ft,jt,Ne);case"TSSatisfiesExpression":case"TSAsExpression":{let Rr=Je.type==="TSAsExpression"?"as":"satisfies";Mt.push(Ne("expression"),` ${Rr} `,Ne("typeAnnotation"));let rt=ft.getParentNode();return R(rt)&&rt.callee===Je||W(rt)&&rt.object===Je?v([E([x,...Mt]),x]):Mt}case"TSArrayType":return[Ne("elementType"),"[]"];case"TSPropertySignature":return Je.readonly&&Mt.push("readonly "),Mt.push(q(ft,jt,Ne),z(ft)),Je.typeAnnotation&&Mt.push(": ",Ne("typeAnnotation")),Je.initializer&&Mt.push(" = ",Ne("initializer")),Mt;case"TSParameterProperty":return Je.accessibility&&Mt.push(Je.accessibility+" "),Je.export&&Mt.push("export "),Je.static&&Mt.push("static "),Je.override&&Mt.push("override "),Je.readonly&&Mt.push("readonly "),Mt.push(Ne("parameter")),Mt;case"TSTypeQuery":return["typeof ",Ne("exprName"),Ne("typeParameters")];case"TSIndexSignature":{let Rr=ft.getParentNode(),rt=Je.parameters.length>1?k(_(jt)?",":""):"",Ue=v([E([x,y([", ",x],ft.map(Ne,"parameters"))]),rt,x]);return[Je.export?"export ":"",Je.accessibility?[Je.accessibility," "]:"",Je.static?"static ":"",Je.readonly?"readonly ":"",Je.declare?"declare ":"","[",Je.parameters?Ue:"",Je.typeAnnotation?"]: ":"]",Je.typeAnnotation?Ne("typeAnnotation"):"",Rr.type==="ClassBody"?It:""]}case"TSTypePredicate":return[Je.asserts?"asserts ":"",Ne("parameterName"),Je.typeAnnotation?[" is ",Ne("typeAnnotation")]:""];case"TSNonNullExpression":return[Ne("expression"),"!"];case"TSImportType":return[Je.isTypeOf?"typeof ":"","import(",Ne(Je.parameter?"parameter":"argument"),")",Je.qualifier?[".",Ne("qualifier")]:"",U(ft,jt,Ne,"typeParameters")];case"TSLiteralType":return Ne("literal");case"TSIndexedAccessType":return Se(ft,jt,Ne);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(Je.type==="TSConstructorType"&&Je.abstract&&Mt.push("abstract "),Je.type!=="TSCallSignatureDeclaration"&&Mt.push("new "),Mt.push(v(Be(ft,Ne,jt,!1,!0))),Je.returnType||Je.typeAnnotation){let Rr=Je.type==="TSConstructorType";Mt.push(Rr?" => ":": ",Ne("returnType"),Ne("typeAnnotation"))}return Mt}case"TSTypeOperator":return[Je.operator," ",Ne("typeAnnotation")];case"TSMappedType":{let Rr=d(jt.originalText,L(Je),re(Je));return v(["{",E([jt.bracketSpacing?D:x,Ne("typeParameter"),Je.optional?T(Je.optional,"?"):"",Je.typeAnnotation?": ":"",Ne("typeAnnotation"),k(It)]),f(ft,jt,!0),jt.bracketSpacing?D:x,"}"],{shouldBreak:Rr})}case"TSMethodSignature":{let Rr=Je.kind&&Je.kind!=="method"?`${Je.kind} `:"";Mt.push(Je.accessibility?[Je.accessibility," "]:"",Rr,Je.export?"export ":"",Je.static?"static ":"",Je.readonly?"readonly ":"",Je.abstract?"abstract ":"",Je.declare?"declare ":"",Je.computed?"[":"",Ne("key"),Je.computed?"]":"",z(ft));let rt=Be(ft,Ne,jt,!1,!0),Ue=Je.returnType?"returnType":"typeAnnotation",mt=Je[Ue],Et=mt?Ne(Ue):"",zt=N(Je,Et);return Mt.push(zt?v(rt):rt),mt&&Mt.push(": ",v(Et)),v(Mt)}case"TSNamespaceExportDeclaration":return Mt.push("export as namespace ",Ne("id")),jt.semi&&Mt.push(";"),v(Mt);case"TSEnumDeclaration":return Je.declare&&Mt.push("declare "),Je.modifiers&&Mt.push(ue(ft,jt,Ne)),Je.const&&Mt.push("const "),Mt.push("enum ",Ne("id")," "),Je.members.length===0?Mt.push(v(["{",f(ft,jt),x,"}"])):Mt.push(v(["{",E([O,B(ft,jt,"members",Ne),_(jt,"es5")?",":""]),f(ft,jt,!0),O,"}"])),Mt;case"TSEnumMember":return Je.computed?Mt.push("[",Ne("id"),"]"):Mt.push(Ne("id")),Je.initializer&&Mt.push(" = ",Ne("initializer")),Mt;case"TSImportEqualsDeclaration":return Je.isExport&&Mt.push("export "),Mt.push("import "),Je.importKind&&Je.importKind!=="value"&&Mt.push(Je.importKind," "),Mt.push(Ne("id")," = ",Ne("moduleReference")),jt.semi&&Mt.push(";"),v(Mt);case"TSExternalModuleReference":return["require(",Ne("expression"),")"];case"TSModuleDeclaration":{let Rr=ft.getParentNode(),rt=I(Je.id),Ue=Rr.type==="TSModuleDeclaration",mt=Je.body&&Je.body.type==="TSModuleDeclaration";if(Ue)Mt.push(".");else{Je.declare&&Mt.push("declare "),Mt.push(ue(ft,jt,Ne));let Et=jt.originalText.slice(L(Je),L(Je.id));Je.id.type==="Identifier"&&Je.id.name==="global"&&!/namespace|module/.test(Et)||Mt.push(rt||/(?:^|\s)module(?:\s|$)/.test(Et)?"module ":"namespace ")}return Mt.push(Ne("id")),mt?Mt.push(Ne("body")):Je.body?Mt.push(" ",v(Ne("body"))):Mt.push(It),Mt}case"TSConditionalType":return ie(ft,jt,Ne);case"TSInferType":return["infer"," ",Ne("typeParameter")];case"TSIntersectionType":return ze(ft,jt,Ne);case"TSUnionType":return ye(ft,jt,Ne);case"TSFunctionType":return ct(ft,jt,Ne);case"TSTupleType":return Fe(ft,jt,Ne);case"TSTypeReference":return[Ne("typeName"),U(ft,jt,Ne,"typeParameters")];case"TSTypeAnnotation":return Ne("typeAnnotation");case"TSEmptyBodyFunctionExpression":return he(ft,jt,Ne);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return lt(ft,Ne,"?");case"TSJSDocNonNullableType":return lt(ft,Ne,"!");case"TSInstantiationExpression":return[Ne("expression"),Ne("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(Je.type)}.`)}}h.exports={printTypescript:kt}}}),Ec=Oe({"src/language-js/print/comment.js"(u,h){Ye();var{hasNewline:f}=fi(),{builders:{join:d,hardline:y},utils:{replaceTextEndOfLine:D}}=Ln(),{isLineComment:O}=ss(),{locStart:x,locEnd:v}=zi(),E=Ya();function F(T,_){let R=T.getValue();if(O(R))return _.originalText.slice(x(R),v(R)).trimEnd();if(E(R)){if(k(R)){let L=I(R);return R.trailing&&!f(_.originalText,x(R),{backwards:!0})?[y,L]:L}let W=v(R),ne=_.originalText.slice(W-3,W)==="*-/";return["/*",D(R.value),ne?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(R))}function k(T){let _=`*${T.value}*`.split(`
|
||
`);return _.length>1&&_.every(R=>R.trim()[0]==="*")}function I(T){let _=T.value.split(`
|
||
`);return["/*",d(y,_.map((R,W)=>W===0?R.trimEnd():" "+(W<_.length-1?R.trim():R.trimStart()))),"*/"]}h.exports={printComment:F}}}),zl=Oe({"src/language-js/print/literal.js"(u,h){Ye();var{printString:f,printNumber:d}=fi(),{replaceTextEndOfLine:y}=$a(),{printDirective:D}=Bo();function O(F,k){let I=F.getNode();switch(I.type){case"RegExpLiteral":return E(I);case"BigIntLiteral":return v(I.bigint||I.extra.raw);case"NumericLiteral":return d(I.extra.raw);case"StringLiteral":return y(f(I.extra.raw,k));case"NullLiteral":return"null";case"BooleanLiteral":return String(I.value);case"DecimalLiteral":return d(I.value)+"m";case"Literal":{if(I.regex)return E(I.regex);if(I.bigint)return v(I.raw);if(I.decimal)return d(I.decimal)+"m";let{value:T}=I;return typeof T=="number"?d(I.raw):typeof T=="string"?x(F)?D(I.raw,k):y(f(I.raw,k)):String(T)}}}function x(F){if(F.getName()!=="expression")return;let k=F.getParentNode();return k.type==="ExpressionStatement"&&k.directive}function v(F){return F.toLowerCase()}function E(F){let{pattern:k,flags:I}=F;return I=[...I].sort().join(""),`/${k}/${I}`}h.exports={printLiteral:O}}}),Wl=Oe({"src/language-js/printer-estree.js"(u,h){Ye();var{printDanglingComments:f}=Wi(),{hasNewline:d}=fi(),{builders:{join:y,line:D,hardline:O,softline:x,group:v,indent:E},utils:{replaceTextEndOfLine:F}}=Ln(),k=Uu(),I=va(),{insertPragma:T}=Yu(),_=jl(),R=fu(),W=Ll(),{hasFlowShorthandAnnotationComment:ne,hasComment:L,CommentCheckFlags:re,isTheOnlyJsxElementInMarkdown:z,isLineComment:ue,isNextLineEmpty:ie,needsHardlineAfterDanglingComment:Be,hasIgnoreComment:N,isCallExpression:Z,isMemberExpression:B,markerForIfWithoutBlockAndSameLineComment:j}=ss(),{locStart:A,locEnd:M}=zi(),Q=Ya(),{printHtmlBinding:U,isVueEventBindingExpression:q}=hh(),{printAngular:K}=op(),{printJsx:he,hasJsxIgnoreComment:Te}=vc(),{printFlow:_e}=cp(),{printTypescript:Pe}=dh(),{printOptionalToken:ze,printBindExpressionCallee:ye,printTypeAnnotation:ct,adjustClause:Fe,printRestSpread:Se,printDefiniteToken:lt,printDirective:kt}=Bo(),{printImportDeclaration:ft,printExportDeclaration:jt,printExportAllDeclaration:Ne,printModuleSpecifier:Je}=lp(),{printTernary:It}=Ku(),{printTemplateLiteral:Mt}=Xu(),{printArray:Rr}=Gu(),{printObject:rt}=fh(),{printClass:Ue,printClassMethod:mt,printClassProperty:Et}=mu(),{printProperty:zt}=Ul(),{printFunction:ur,printArrowFunction:xr,printMethod:gn,printReturnStatement:Si,printThrowStatement:di}=Ju(),{printCallExpression:dn}=Vl(),{printVariableDeclarator:_n,printAssignmentExpression:$t}=du(),{printBinaryishExpression:je}=Sa(),{printSwitchCaseConsequent:Qt}=el(),{printMemberExpression:et}=Xl(),{printBlock:Nt,printBlockBody:Wr}=hp(),{printComment:$r}=Ec(),{printLiteral:Ut}=zl(),{printDecorators:X}=ql();function We(wr,hn,br,$s){let nn=_t(wr,hn,br,$s);if(!nn)return"";let ws=wr.getValue(),{type:en}=ws;if(en==="ClassMethod"||en==="ClassPrivateMethod"||en==="ClassProperty"||en==="ClassAccessorProperty"||en==="AccessorProperty"||en==="TSAbstractAccessorProperty"||en==="PropertyDefinition"||en==="TSAbstractPropertyDefinition"||en==="ClassPrivateProperty"||en==="MethodDefinition"||en==="TSAbstractMethodDefinition"||en==="TSDeclareMethod")return nn;let Yn=[nn],Di=X(wr,hn,br),ps=ws.type==="ClassExpression"&&Di;if(Di&&(Yn=[...Di,nn],!ps))return v(Yn);if(!R(wr,hn))return $s&&$s.needsSemi&&Yn.unshift(";"),Yn.length===1&&Yn[0]===nn?nn:Yn;if(ps&&(Yn=[E([D,...Yn])]),Yn.unshift("("),$s&&$s.needsSemi&&Yn.unshift(";"),ne(ws)){let[ln]=ws.trailingComments;Yn.push(" /*",ln.value.trimStart(),"*/"),ln.printed=!0}return ps&&Yn.push(D),Yn.push(")"),Yn}function _t(wr,hn,br,$s){let nn=wr.getValue(),ws=hn.semi?";":"";if(!nn)return"";if(typeof nn=="string")return nn;for(let Yn of[Ut,U,K,he,_e,Pe]){let Di=Yn(wr,hn,br);if(typeof Di<"u")return Di}let en=[];switch(nn.type){case"JsExpressionRoot":return br("node");case"JsonRoot":return[br("node"),O];case"File":return nn.program&&nn.program.interpreter&&en.push(br(["program","interpreter"])),en.push(br("program")),en;case"Program":return Wr(wr,hn,br);case"EmptyStatement":return"";case"ExpressionStatement":{if(hn.parser==="__vue_event_binding"||hn.parser==="__vue_ts_event_binding"){let Di=wr.getParentNode();if(Di.type==="Program"&&Di.body.length===1&&Di.body[0]===nn)return[br("expression"),q(nn.expression)?";":""]}let Yn=f(wr,hn,!0,Di=>{let{marker:ps}=Di;return ps===j});return[br("expression"),z(hn,wr)?"":ws,Yn?[" ",Yn]:""]}case"ParenthesizedExpression":return!L(nn.expression)&&(nn.expression.type==="ObjectExpression"||nn.expression.type==="ArrayExpression")?["(",br("expression"),")"]:v(["(",E([x,br("expression")]),x,")"]);case"AssignmentExpression":return $t(wr,hn,br);case"VariableDeclarator":return _n(wr,hn,br);case"BinaryExpression":case"LogicalExpression":return je(wr,hn,br);case"AssignmentPattern":return[br("left")," = ",br("right")];case"OptionalMemberExpression":case"MemberExpression":return et(wr,hn,br);case"MetaProperty":return[br("meta"),".",br("property")];case"BindExpression":return nn.object&&en.push(br("object")),en.push(v(E([x,ye(wr,hn,br)]))),en;case"Identifier":return[nn.name,ze(wr),lt(wr),ct(wr,hn,br)];case"V8IntrinsicIdentifier":return["%",nn.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Se(wr,hn,br);case"FunctionDeclaration":case"FunctionExpression":return ur(wr,br,hn,$s);case"ArrowFunctionExpression":return xr(wr,hn,br,$s);case"YieldExpression":return en.push("yield"),nn.delegate&&en.push("*"),nn.argument&&en.push(" ",br("argument")),en;case"AwaitExpression":{if(en.push("await"),nn.argument){en.push(" ",br("argument"));let Yn=wr.getParentNode();if(Z(Yn)&&Yn.callee===nn||B(Yn)&&Yn.object===nn){en=[E([x,...en]),x];let Di=wr.findAncestor(ps=>ps.type==="AwaitExpression"||ps.type==="BlockStatement");if(!Di||Di.type!=="AwaitExpression")return v(en)}}return en}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return jt(wr,hn,br);case"ExportAllDeclaration":return Ne(wr,hn,br);case"ImportDeclaration":return ft(wr,hn,br);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Je(wr,hn,br);case"ImportAttribute":return[br("key"),": ",br("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Nt(wr,hn,br);case"ThrowStatement":return di(wr,hn,br);case"ReturnStatement":return Si(wr,hn,br);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return dn(wr,hn,br);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return rt(wr,hn,br);case"ObjectProperty":case"Property":return nn.method||nn.kind==="get"||nn.kind==="set"?gn(wr,hn,br):zt(wr,hn,br);case"ObjectMethod":return gn(wr,hn,br);case"Decorator":return["@",br("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Rr(wr,hn,br);case"SequenceExpression":{let Yn=wr.getParentNode(0);if(Yn.type==="ExpressionStatement"||Yn.type==="ForStatement"){let Di=[];return wr.each((ps,ln)=>{ln===0?Di.push(br()):Di.push(",",E([D,br()]))},"expressions"),v(Di)}return v(y([",",D],wr.map(br,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[br("value"),ws];case"DirectiveLiteral":return kt(nn.extra.raw,hn);case"UnaryExpression":return en.push(nn.operator),/[a-z]$/.test(nn.operator)&&en.push(" "),L(nn.argument)?en.push(v(["(",E([x,br("argument")]),x,")"])):en.push(br("argument")),en;case"UpdateExpression":return en.push(br("argument"),nn.operator),nn.prefix&&en.reverse(),en;case"ConditionalExpression":return It(wr,hn,br);case"VariableDeclaration":{let Yn=wr.map(br,"declarations"),Di=wr.getParentNode(),ps=Di.type==="ForStatement"||Di.type==="ForInStatement"||Di.type==="ForOfStatement",ln=nn.declarations.some(ni=>ni.init),pi;return Yn.length===1&&!L(nn.declarations[0])?pi=Yn[0]:Yn.length>0&&(pi=E(Yn[0])),en=[nn.declare?"declare ":"",nn.kind,pi?[" ",pi]:"",E(Yn.slice(1).map(ni=>[",",ln&&!ps?O:D,ni]))],ps&&Di.body!==nn||en.push(ws),v(en)}case"WithStatement":return v(["with (",br("object"),")",Fe(nn.body,br("body"))]);case"IfStatement":{let Yn=Fe(nn.consequent,br("consequent")),Di=v(["if (",v([E([x,br("test")]),x]),")",Yn]);if(en.push(Di),nn.alternate){let ps=L(nn.consequent,re.Trailing|re.Line)||Be(nn),ln=nn.consequent.type==="BlockStatement"&&!ps;en.push(ln?" ":O),L(nn,re.Dangling)&&en.push(f(wr,hn,!0),ps?O:" "),en.push("else",v(Fe(nn.alternate,br("alternate"),nn.alternate.type==="IfStatement")))}return en}case"ForStatement":{let Yn=Fe(nn.body,br("body")),Di=f(wr,hn,!0),ps=Di?[Di,x]:"";return!nn.init&&!nn.test&&!nn.update?[ps,v(["for (;;)",Yn])]:[ps,v(["for (",v([E([x,br("init"),";",D,br("test"),";",D,br("update")]),x]),")",Yn])]}case"WhileStatement":return v(["while (",v([E([x,br("test")]),x]),")",Fe(nn.body,br("body"))]);case"ForInStatement":return v(["for (",br("left")," in ",br("right"),")",Fe(nn.body,br("body"))]);case"ForOfStatement":return v(["for",nn.await?" await":""," (",br("left")," of ",br("right"),")",Fe(nn.body,br("body"))]);case"DoWhileStatement":{let Yn=Fe(nn.body,br("body"));return en=[v(["do",Yn])],nn.body.type==="BlockStatement"?en.push(" "):en.push(O),en.push("while (",v([E([x,br("test")]),x]),")",ws),en}case"DoExpression":return[nn.async?"async ":"","do ",br("body")];case"BreakStatement":return en.push("break"),nn.label&&en.push(" ",br("label")),en.push(ws),en;case"ContinueStatement":return en.push("continue"),nn.label&&en.push(" ",br("label")),en.push(ws),en;case"LabeledStatement":return nn.body.type==="EmptyStatement"?[br("label"),":;"]:[br("label"),": ",br("body")];case"TryStatement":return["try ",br("block"),nn.handler?[" ",br("handler")]:"",nn.finalizer?[" finally ",br("finalizer")]:""];case"CatchClause":if(nn.param){let Yn=L(nn.param,ps=>!Q(ps)||ps.leading&&d(hn.originalText,M(ps))||ps.trailing&&d(hn.originalText,A(ps),{backwards:!0})),Di=br("param");return["catch ",Yn?["(",E([x,Di]),x,") "]:["(",Di,") "],br("body")]}return["catch ",br("body")];case"SwitchStatement":return[v(["switch (",E([x,br("discriminant")]),x,")"])," {",nn.cases.length>0?E([O,y(O,wr.map((Yn,Di,ps)=>{let ln=Yn.getValue();return[br(),Di!==ps.length-1&&ie(ln,hn)?O:""]},"cases"))]):"",O,"}"];case"SwitchCase":{nn.test?en.push("case ",br("test"),":"):en.push("default:"),L(nn,re.Dangling)&&en.push(" ",f(wr,hn,!0));let Yn=nn.consequent.filter(Di=>Di.type!=="EmptyStatement");if(Yn.length>0){let Di=Qt(wr,hn,br);en.push(Yn.length===1&&Yn[0].type==="BlockStatement"?[" ",Di]:E([O,Di]))}return en}case"DebuggerStatement":return["debugger",ws];case"ClassDeclaration":case"ClassExpression":return Ue(wr,hn,br);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return mt(wr,hn,br);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Et(wr,hn,br);case"TemplateElement":return F(nn.value.raw);case"TemplateLiteral":return Mt(wr,br,hn);case"TaggedTemplateExpression":return[br("tag"),br("typeParameters"),br("quasi")];case"PrivateIdentifier":return["#",br("name")];case"PrivateName":return["#",br("id")];case"InterpreterDirective":return en.push("#!",nn.value,O),ie(nn,hn)&&en.push(O),en;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{en.push("module {");let Yn=br("body");return Yn&&en.push(E([O,Yn]),O),en.push("}"),en}default:throw new Error("unknown type: "+JSON.stringify(nn.type))}}function gr(wr){return wr.type&&!Q(wr)&&!ue(wr)&&wr.type!=="EmptyStatement"&&wr.type!=="TemplateElement"&&wr.type!=="Import"&&wr.type!=="TSEmptyBodyFunctionExpression"}h.exports={preprocess:W,print:We,embed:k,insertPragma:T,massageAstNode:I,hasPrettierIgnore(wr){return N(wr)||Te(wr)},willPrintOwnComments:_.willPrintOwnComments,canAttachComment:gr,printComment:$r,isBlockComment:Q,handleComments:{avoidAstMutation:!0,ownLine:_.handleOwnLineComment,endOfLine:_.handleEndOfLineComment,remaining:_.handleRemainingComment},getCommentChildNodes:_.getCommentChildNodes}}}),cf=Oe({"src/language-js/printer-estree-json.js"(u,h){Ye();var{builders:{hardline:f,indent:d,join:y}}=Ln(),D=Ll();function O(F,k,I){let T=F.getValue();switch(T.type){case"JsonRoot":return[I("node"),f];case"ArrayExpression":{if(T.elements.length===0)return"[]";let _=F.map(()=>F.getValue()===null?"null":I(),"elements");return["[",d([f,y([",",f],_)]),f,"]"]}case"ObjectExpression":return T.properties.length===0?"{}":["{",d([f,y([",",f],F.map(I,"properties"))]),f,"}"];case"ObjectProperty":return[I("key"),": ",I("value")];case"UnaryExpression":return[T.operator==="+"?"":T.operator,I("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return T.value?"true":"false";case"StringLiteral":return JSON.stringify(T.value);case"NumericLiteral":return x(F)?JSON.stringify(String(T.value)):JSON.stringify(T.value);case"Identifier":return x(F)?JSON.stringify(T.name):T.name;case"TemplateLiteral":return I(["quasis",0]);case"TemplateElement":return JSON.stringify(T.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(T.type))}}function x(F){return F.getName()==="key"&&F.getParentNode().type==="ObjectProperty"}var v=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function E(F,k){let{type:I}=F;if(I==="ObjectProperty"){let{key:T}=F;T.type==="Identifier"?k.key={type:"StringLiteral",value:T.name}:T.type==="NumericLiteral"&&(k.key={type:"StringLiteral",value:String(T.value)});return}if(I==="UnaryExpression"&&F.operator==="+")return k.argument;if(I==="ArrayExpression"){for(let[T,_]of F.elements.entries())_===null&&k.elements.splice(T,0,{type:"NullLiteral"});return}if(I==="TemplateLiteral")return{type:"StringLiteral",value:F.quasis[0].value.cooked}}E.ignoredProperties=v,h.exports={preprocess:D,print:O,massageAstNode:E}}}),gu=Oe({"src/common/common-options.js"(u,h){Ye();var f="Common";h.exports={bracketSpacing:{since:"0.0.0",category:f,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:f,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:f,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:f,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:f,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),hf=Oe({"src/language-js/options.js"(u,h){Ye();var f=gu(),d="JavaScript";h.exports={arrowParens:{since:"1.9.0",category:d,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:f.bracketSameLine,bracketSpacing:f.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:d,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:d,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:f.singleQuote,jsxSingleQuote:{since:"1.15.0",category:d,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:d,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:d,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:f.singleAttributePerLine}}}),pp=Oe({"src/language-js/parse/parsers.js"(){Ye()}}),mh=Oe({"node_modules/linguist-languages/data/JavaScript.json"(u,h){h.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),fp=Oe({"node_modules/linguist-languages/data/TypeScript.json"(u,h){h.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),wc=Oe({"node_modules/linguist-languages/data/TSX.json"(u,h){h.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),gh=Oe({"node_modules/linguist-languages/data/JSON.json"(u,h){h.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),yh=Oe({"node_modules/linguist-languages/data/JSON with Comments.json"(u,h){h.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),dp=Oe({"node_modules/linguist-languages/data/JSON5.json"(u,h){h.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Dh=Oe({"src/language-js/index.js"(u,h){Ye();var f=Ms(),d=Wl(),y=cf(),D=hf(),O=pp(),x=[f(mh(),E=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...E.interpreters,"zx"],extensions:[...E.extensions.filter(F=>F!==".jsx"),".wxs"]})),f(mh(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),f(mh(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),f(fp(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),f(wc(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),f(gh(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),f(gh(),E=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:E.extensions.filter(F=>F!==".jsonl")})),f(yh(),E=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...E.filenames,".eslintrc",".swcrc"]})),f(dp(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],v={estree:d,"estree-json":y};h.exports={languages:x,options:D,printers:v,parsers:O}}}),mp=Oe({"src/language-css/clean.js"(u,h){Ye();var{isFrontMatterNode:f}=fi(),d=Cs(),y=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function D(x,v,E){if(f(x)&&x.lang==="yaml"&&delete v.value,x.type==="css-comment"&&E.type==="css-root"&&E.nodes.length>0&&((E.nodes[0]===x||f(E.nodes[0])&&E.nodes[1]===x)&&(delete v.text,/^\*\s*@(?:format|prettier)\s*$/.test(x.text))||E.type==="css-root"&&d(E.nodes)===x))return null;if(x.type==="value-root"&&delete v.text,(x.type==="media-query"||x.type==="media-query-list"||x.type==="media-feature-expression")&&delete v.value,x.type==="css-rule"&&delete v.params,x.type==="selector-combinator"&&(v.value=v.value.replace(/\s+/g," ")),x.type==="media-feature"&&(v.value=v.value.replace(/ /g,"")),(x.type==="value-word"&&(x.isColor&&x.isHex||["initial","inherit","unset","revert"].includes(v.value.replace().toLowerCase()))||x.type==="media-feature"||x.type==="selector-root-invalid"||x.type==="selector-pseudo")&&(v.value=v.value.toLowerCase()),x.type==="css-decl"&&(v.prop=v.prop.toLowerCase()),(x.type==="css-atrule"||x.type==="css-import")&&(v.name=v.name.toLowerCase()),x.type==="value-number"&&(v.unit=v.unit.toLowerCase()),(x.type==="media-feature"||x.type==="media-keyword"||x.type==="media-type"||x.type==="media-unknown"||x.type==="media-url"||x.type==="media-value"||x.type==="selector-attribute"||x.type==="selector-string"||x.type==="selector-class"||x.type==="selector-combinator"||x.type==="value-string")&&v.value&&(v.value=O(v.value)),x.type==="selector-attribute"&&(v.attribute=v.attribute.trim(),v.namespace&&typeof v.namespace=="string"&&(v.namespace=v.namespace.trim(),v.namespace.length===0&&(v.namespace=!0)),v.value&&(v.value=v.value.trim().replace(/^["']|["']$/g,""),delete v.quoted)),(x.type==="media-value"||x.type==="media-type"||x.type==="value-number"||x.type==="selector-root-invalid"||x.type==="selector-class"||x.type==="selector-combinator"||x.type==="selector-tag")&&v.value&&(v.value=v.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(F,k,I)=>{let T=Number(k);return Number.isNaN(T)?F:T+I.toLowerCase()})),x.type==="selector-tag"){let F=x.value.toLowerCase();["from","to"].includes(F)&&(v.value=F)}if(x.type==="css-atrule"&&x.name.toLowerCase()==="supports"&&delete v.value,x.type==="selector-unknown"&&delete v.value,x.type==="value-comma_group"){let F=x.groups.findIndex(k=>k.type==="value-number"&&k.unit==="...");F!==-1&&(v.groups[F].unit="",v.groups.splice(F+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(x.type==="value-comma_group"&&x.groups.some(F=>F.type==="value-atword"&&F.value.endsWith("[")||F.type==="value-word"&&F.value.startsWith("]")))return{type:"value-atword",value:x.groups.map(F=>F.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}D.ignoredProperties=y;function O(x){return x.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}h.exports=D}}),Ac=Oe({"src/utils/front-matter/print.js"(u,h){Ye();var{builders:{hardline:f,markAsRoot:d}}=Ln();function y(D,O){if(D.lang==="yaml"){let x=D.value.trim(),v=x?O(x,{parser:"yaml"},{stripTrailingHardline:!0}):"";return d([D.startDelimiter,f,v,v?f:"",D.endDelimiter])}}h.exports=y}}),pf=Oe({"src/language-css/embed.js"(u,h){Ye();var{builders:{hardline:f}}=Ln(),d=Ac();function y(D,O,x){let v=D.getValue();if(v.type==="front-matter"){let E=d(v,x);return E?[E,f]:""}}h.exports=y}}),gp=Oe({"src/utils/front-matter/parse.js"(u,h){Ye();var f=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function d(y){let D=y.match(f);if(!D)return{content:y};let{startDelimiter:O,language:x,value:v="",endDelimiter:E}=D.groups,F=x.trim()||"yaml";if(O==="+++"&&(F="toml"),F!=="yaml"&&O!==E)return{content:y};let[k]=D;return{frontMatter:{type:"front-matter",lang:F,value:v,startDelimiter:O,endDelimiter:E,raw:k.replace(/\n$/,"")},content:k.replace(/[^\n]/g," ")+y.slice(k.length)}}h.exports=d}}),Zl=Oe({"src/language-css/pragma.js"(u,h){Ye();var f=Yu(),d=gp();function y(O){return f.hasPragma(d(O).content)}function D(O){let{frontMatter:x,content:v}=d(O);return(x?x.raw+`
|
||
|
||
`:"")+f.insertPragma(v)}h.exports={hasPragma:y,insertPragma:D}}}),Oh=Oe({"src/language-css/utils/index.js"(u,h){Ye();var f=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function d(rt,Ue){let mt=Array.isArray(Ue)?Ue:[Ue],Et=-1,zt;for(;zt=rt.getParentNode(++Et);)if(mt.includes(zt.type))return Et;return-1}function y(rt,Ue){let mt=d(rt,Ue);return mt===-1?null:rt.getParentNode(mt)}function D(rt){var Ue;let mt=y(rt,"css-decl");return mt==null||(Ue=mt.prop)===null||Ue===void 0?void 0:Ue.toLowerCase()}var O=new Set(["initial","inherit","unset","revert"]);function x(rt){return O.has(rt.toLowerCase())}function v(rt,Ue){let mt=y(rt,"css-atrule");return(mt==null?void 0:mt.name)&&mt.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Ue.toLowerCase())}function E(rt){return rt.includes("$")||rt.includes("@")||rt.includes("#")||rt.startsWith("%")||rt.startsWith("--")||rt.startsWith(":--")||rt.includes("(")&&rt.includes(")")?rt:rt.toLowerCase()}function F(rt,Ue){var mt;let Et=y(rt,"value-func");return(Et==null||(mt=Et.value)===null||mt===void 0?void 0:mt.toLowerCase())===Ue}function k(rt){var Ue;let mt=y(rt,"css-rule"),Et=mt==null||(Ue=mt.raws)===null||Ue===void 0?void 0:Ue.selector;return Et&&(Et.startsWith(":import")||Et.startsWith(":export"))}function I(rt,Ue){let mt=Array.isArray(Ue)?Ue:[Ue],Et=y(rt,"css-atrule");return Et&&mt.includes(Et.name.toLowerCase())}function T(rt){let Ue=rt.getValue(),mt=y(rt,"css-atrule");return(mt==null?void 0:mt.name)==="import"&&Ue.groups[0].value==="url"&&Ue.groups.length===2}function _(rt){return rt.type==="value-func"&&rt.value.toLowerCase()==="url"}function R(rt,Ue){var mt;let Et=(mt=rt.getParentNode())===null||mt===void 0?void 0:mt.nodes;return Et&&Et.indexOf(Ue)===Et.length-1}function W(rt){let{selector:Ue}=rt;return Ue?typeof Ue=="string"&&/^@.+:.*$/.test(Ue)||Ue.value&&/^@.+:.*$/.test(Ue.value):!1}function ne(rt){return rt.type==="value-word"&&["from","through","end"].includes(rt.value)}function L(rt){return rt.type==="value-word"&&["and","or","not"].includes(rt.value)}function re(rt){return rt.type==="value-word"&&rt.value==="in"}function z(rt){return rt.type==="value-operator"&&rt.value==="*"}function ue(rt){return rt.type==="value-operator"&&rt.value==="/"}function ie(rt){return rt.type==="value-operator"&&rt.value==="+"}function Be(rt){return rt.type==="value-operator"&&rt.value==="-"}function N(rt){return rt.type==="value-operator"&&rt.value==="%"}function Z(rt){return z(rt)||ue(rt)||ie(rt)||Be(rt)||N(rt)}function B(rt){return rt.type==="value-word"&&["==","!="].includes(rt.value)}function j(rt){return rt.type==="value-word"&&["<",">","<=",">="].includes(rt.value)}function A(rt){return rt.type==="css-atrule"&&["if","else","for","each","while"].includes(rt.name)}function M(rt){var Ue;return((Ue=rt.raws)===null||Ue===void 0?void 0:Ue.params)&&/^\(\s*\)$/.test(rt.raws.params)}function Q(rt){return rt.name.startsWith("prettier-placeholder")}function U(rt){return rt.prop.startsWith("@prettier-placeholder")}function q(rt,Ue){return rt.value==="$$"&&rt.type==="value-func"&&(Ue==null?void 0:Ue.type)==="value-word"&&!Ue.raws.before}function K(rt){var Ue,mt;return((Ue=rt.value)===null||Ue===void 0?void 0:Ue.type)==="value-root"&&((mt=rt.value.group)===null||mt===void 0?void 0:mt.type)==="value-value"&&rt.prop.toLowerCase()==="composes"}function he(rt){var Ue,mt,Et;return((Ue=rt.value)===null||Ue===void 0||(mt=Ue.group)===null||mt===void 0||(Et=mt.group)===null||Et===void 0?void 0:Et.type)==="value-paren_group"&&rt.value.group.group.open!==null&&rt.value.group.group.close!==null}function Te(rt){var Ue;return((Ue=rt.raws)===null||Ue===void 0?void 0:Ue.before)===""}function _e(rt){var Ue,mt;return rt.type==="value-comma_group"&&((Ue=rt.groups)===null||Ue===void 0||(mt=Ue[1])===null||mt===void 0?void 0:mt.type)==="value-colon"}function Pe(rt){var Ue;return rt.type==="value-paren_group"&&((Ue=rt.groups)===null||Ue===void 0?void 0:Ue[0])&&_e(rt.groups[0])}function ze(rt){var Ue;let mt=rt.getValue();if(mt.groups.length===0)return!1;let Et=rt.getParentNode(1);if(!Pe(mt)&&!(Et&&Pe(Et)))return!1;let zt=y(rt,"css-decl");return!!(zt!=null&&(Ue=zt.prop)!==null&&Ue!==void 0&&Ue.startsWith("$")||Pe(Et)||Et.type==="value-func")}function ye(rt){return rt.type==="value-comment"&&rt.inline}function ct(rt){return rt.type==="value-word"&&rt.value==="#"}function Fe(rt){return rt.type==="value-word"&&rt.value==="{"}function Se(rt){return rt.type==="value-word"&&rt.value==="}"}function lt(rt){return["value-word","value-atword"].includes(rt.type)}function kt(rt){return(rt==null?void 0:rt.type)==="value-colon"}function ft(rt,Ue){if(!_e(Ue))return!1;let{groups:mt}=Ue,Et=mt.indexOf(rt);return Et===-1?!1:kt(mt[Et+1])}function jt(rt){return rt.value&&["not","and","or"].includes(rt.value.toLowerCase())}function Ne(rt){return rt.type!=="value-func"?!1:f.has(rt.value.toLowerCase())}function Je(rt){return/\/\//.test(rt.split(/[\n\r]/).pop())}function It(rt){return(rt==null?void 0:rt.type)==="value-atword"&&rt.value.startsWith("prettier-placeholder-")}function Mt(rt,Ue){var mt,Et;if(((mt=rt.open)===null||mt===void 0?void 0:mt.value)!=="("||((Et=rt.close)===null||Et===void 0?void 0:Et.value)!==")"||rt.groups.some(zt=>zt.type!=="value-comma_group"))return!1;if(Ue.type==="value-comma_group"){let zt=Ue.groups.indexOf(rt)-1,ur=Ue.groups[zt];if((ur==null?void 0:ur.type)==="value-word"&&ur.value==="with")return!0}return!1}function Rr(rt){var Ue,mt;return rt.type==="value-paren_group"&&((Ue=rt.open)===null||Ue===void 0?void 0:Ue.value)==="("&&((mt=rt.close)===null||mt===void 0?void 0:mt.value)===")"}h.exports={getAncestorCounter:d,getAncestorNode:y,getPropOfDeclNode:D,maybeToLowerCase:E,insideValueFunctionNode:F,insideICSSRuleNode:k,insideAtRuleNode:I,insideURLFunctionInImportAtRuleNode:T,isKeyframeAtRuleKeywords:v,isWideKeywords:x,isLastNode:R,isSCSSControlDirectiveNode:A,isDetachedRulesetDeclarationNode:W,isRelationalOperatorNode:j,isEqualityOperatorNode:B,isMultiplicationNode:z,isDivisionNode:ue,isAdditionNode:ie,isSubtractionNode:Be,isModuloNode:N,isMathOperatorNode:Z,isEachKeywordNode:re,isForKeywordNode:ne,isURLFunctionNode:_,isIfElseKeywordNode:L,hasComposesNode:K,hasParensAroundNode:he,hasEmptyRawBefore:Te,isDetachedRulesetCallNode:M,isTemplatePlaceholderNode:Q,isTemplatePropNode:U,isPostcssSimpleVarNode:q,isKeyValuePairNode:_e,isKeyValuePairInParenGroupNode:Pe,isKeyInValuePairNode:ft,isSCSSMapItemNode:ze,isInlineValueCommentNode:ye,isHashNode:ct,isLeftCurlyBraceNode:Fe,isRightCurlyBraceNode:Se,isWordNode:lt,isColonNode:kt,isMediaAndSupportsKeywords:jt,isColorAdjusterFuncNode:Ne,lastLineHasInlineComment:Je,isAtWordPlaceholderNode:It,isConfigurationNode:Mt,isParenGroupNode:Rr}}}),na=Oe({"src/utils/line-column-to-index.js"(u,h){Ye(),h.exports=function(f,d){let y=0;for(let D=0;D<f.line-1;++D)y=d.indexOf(`
|
||
`,y)+1;return y+f.column}}}),yp=Oe({"src/language-css/loc.js"(u,h){Ye();var{skipEverythingButNewLine:f}=go(),d=Cs(),y=na();function D(T,_){return typeof T.sourceIndex=="number"?T.sourceIndex:T.source?y(T.source.start,_)-1:null}function O(T,_){if(T.type==="css-comment"&&T.inline)return f(_,T.source.startOffset);let R=T.nodes&&d(T.nodes);return R&&T.source&&!T.source.end&&(T=R),T.source&&T.source.end?y(T.source.end,_):null}function x(T,_){T.source&&(T.source.startOffset=D(T,_),T.source.endOffset=O(T,_));for(let R in T){let W=T[R];R==="source"||!W||typeof W!="object"||(W.type==="value-root"||W.type==="value-unknown"?v(W,E(T),W.text||W.value):x(W,_))}}function v(T,_,R){T.source&&(T.source.startOffset=D(T,R)+_,T.source.endOffset=O(T,R)+_);for(let W in T){let ne=T[W];W==="source"||!ne||typeof ne!="object"||v(ne,_,R)}}function E(T){let _=T.source.startOffset;return typeof T.prop=="string"&&(_+=T.prop.length),T.type==="css-atrule"&&typeof T.name=="string"&&(_+=1+T.name.length+T.raws.afterName.match(/^\s*:?\s*/)[0].length),T.type!=="css-atrule"&&T.raws&&typeof T.raws.between=="string"&&(_+=T.raws.between.length),_}function F(T){let _="initial",R="initial",W,ne=!1,L=[];for(let re=0;re<T.length;re++){let z=T[re];switch(_){case"initial":if(z==="'"){_="single-quotes";continue}if(z==='"'){_="double-quotes";continue}if((z==="u"||z==="U")&&T.slice(re,re+4).toLowerCase()==="url("){_="url",re+=3;continue}if(z==="*"&&T[re-1]==="/"){_="comment-block";continue}if(z==="/"&&T[re-1]==="/"){_="comment-inline",W=re-1;continue}continue;case"single-quotes":if(z==="'"&&T[re-1]!=="\\"&&(_=R,R="initial"),z===`
|
||
`||z==="\r")return T;continue;case"double-quotes":if(z==='"'&&T[re-1]!=="\\"&&(_=R,R="initial"),z===`
|
||
`||z==="\r")return T;continue;case"url":if(z===")"&&(_="initial"),z===`
|
||
`||z==="\r")return T;if(z==="'"){_="single-quotes",R="url";continue}if(z==='"'){_="double-quotes",R="url";continue}continue;case"comment-block":z==="/"&&T[re-1]==="*"&&(_="initial");continue;case"comment-inline":(z==='"'||z==="'"||z==="*")&&(ne=!0),(z===`
|
||
`||z==="\r")&&(ne&&L.push([W,re]),_="initial",ne=!1);continue}}for(let[re,z]of L)T=T.slice(0,re)+T.slice(re,z).replace(/["'*]/g," ")+T.slice(z);return T}function k(T){return T.source.startOffset}function I(T){return T.source.endOffset}h.exports={locStart:k,locEnd:I,calculateLoc:x,replaceQuotesInInlineComments:F}}}),Dp=Oe({"src/language-css/utils/is-less-parser.js"(u,h){Ye();function f(d){return d.parser==="css"||d.parser==="less"}h.exports=f}}),yu=Oe({"src/language-css/utils/is-scss.js"(u,h){Ye();function f(d,y){return d==="less"||d==="scss"?d==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(y)}h.exports=f}}),Du=Oe({"src/language-css/utils/css-units.evaluate.js"(u,h){h.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Op=Oe({"src/language-css/utils/print-unit.js"(u,h){Ye();var f=Du();function d(y){let D=y.toLowerCase();return Object.prototype.hasOwnProperty.call(f,D)?f[D]:y}h.exports=d}}),xh=Oe({"src/language-css/printer-postcss.js"(u,h){Ye();var f=Cs(),{printNumber:d,printString:y,hasNewline:D,isFrontMatterNode:O,isNextLineEmpty:x,isNonEmptyArray:v}=fi(),{builders:{join:E,line:F,hardline:k,softline:I,group:T,fill:_,indent:R,dedent:W,ifBreak:ne,breakParent:L},utils:{removeLines:re,getDocParts:z}}=Ln(),ue=mp(),ie=pf(),{insertPragma:Be}=Zl(),{getAncestorNode:N,getPropOfDeclNode:Z,maybeToLowerCase:B,insideValueFunctionNode:j,insideICSSRuleNode:A,insideAtRuleNode:M,insideURLFunctionInImportAtRuleNode:Q,isKeyframeAtRuleKeywords:U,isWideKeywords:q,isLastNode:K,isSCSSControlDirectiveNode:he,isDetachedRulesetDeclarationNode:Te,isRelationalOperatorNode:_e,isEqualityOperatorNode:Pe,isMultiplicationNode:ze,isDivisionNode:ye,isAdditionNode:ct,isSubtractionNode:Fe,isMathOperatorNode:Se,isEachKeywordNode:lt,isForKeywordNode:kt,isURLFunctionNode:ft,isIfElseKeywordNode:jt,hasComposesNode:Ne,hasParensAroundNode:Je,hasEmptyRawBefore:It,isKeyValuePairNode:Mt,isKeyInValuePairNode:Rr,isDetachedRulesetCallNode:rt,isTemplatePlaceholderNode:Ue,isTemplatePropNode:mt,isPostcssSimpleVarNode:Et,isSCSSMapItemNode:zt,isInlineValueCommentNode:ur,isHashNode:xr,isLeftCurlyBraceNode:gn,isRightCurlyBraceNode:Si,isWordNode:di,isColonNode:dn,isMediaAndSupportsKeywords:_n,isColorAdjusterFuncNode:$t,lastLineHasInlineComment:je,isAtWordPlaceholderNode:Qt,isConfigurationNode:et,isParenGroupNode:Nt}=Oh(),{locStart:Wr,locEnd:$r}=yp(),Ut=Dp(),X=yu(),We=Op();function _t(ln){return ln.trailingComma==="es5"||ln.trailingComma==="all"}function gr(ln,pi,ni){let Bt=ln.getValue();if(!Bt)return"";if(typeof Bt=="string")return Bt;switch(Bt.type){case"front-matter":return[Bt.raw,k];case"css-root":{let Mi=wr(ln,pi,ni),Ri=Bt.raws.after.trim();return Ri.startsWith(";")&&(Ri=Ri.slice(1).trim()),[Mi,Ri?` ${Ri}`:"",z(Mi).length>0?k:""]}case"css-comment":{let Mi=Bt.inline||Bt.raws.inline,Ri=pi.originalText.slice(Wr(Bt),$r(Bt));return Mi?Ri.trimEnd():Ri}case"css-rule":return[ni("selector"),Bt.important?" !important":"",Bt.nodes?[Bt.selector&&Bt.selector.type==="selector-unknown"&&je(Bt.selector.value)?F:" ","{",Bt.nodes.length>0?R([k,wr(ln,pi,ni)]):"",k,"}",Te(Bt)?";":""]:";"];case"css-decl":{let Mi=ln.getParentNode(),{between:Ri}=Bt.raws,ys=Ri.trim(),ja=ys===":",Ce=Ne(Bt)?re(ni("value")):ni("value");return!ja&&je(ys)&&(Ce=R([k,W(Ce)])),[Bt.raws.before.replace(/[\s;]/g,""),Mi.type==="css-atrule"&&Mi.variable||A(ln)?Bt.prop:B(Bt.prop),ys.startsWith("//")?" ":"",ys,Bt.extend?"":" ",Ut(pi)&&Bt.extend&&Bt.selector?["extend(",ni("selector"),")"]:"",Ce,Bt.raws.important?Bt.raws.important.replace(/\s*!\s*important/i," !important"):Bt.important?" !important":"",Bt.raws.scssDefault?Bt.raws.scssDefault.replace(/\s*!default/i," !default"):Bt.scssDefault?" !default":"",Bt.raws.scssGlobal?Bt.raws.scssGlobal.replace(/\s*!global/i," !global"):Bt.scssGlobal?" !global":"",Bt.nodes?[" {",R([I,wr(ln,pi,ni)]),I,"}"]:mt(Bt)&&!Mi.raws.semicolon&&pi.originalText[$r(Bt)-1]!==";"?"":pi.__isHTMLStyleAttribute&&K(ln,Bt)?ne(";"):";"]}case"css-atrule":{let Mi=ln.getParentNode(),Ri=Ue(Bt)&&!Mi.raws.semicolon&&pi.originalText[$r(Bt)-1]!==";";if(Ut(pi)){if(Bt.mixin)return[ni("selector"),Bt.important?" !important":"",Ri?"":";"];if(Bt.function)return[Bt.name,ni("params"),Ri?"":";"];if(Bt.variable)return["@",Bt.name,": ",Bt.value?ni("value"):"",Bt.raws.between.trim()?Bt.raws.between.trim()+" ":"",Bt.nodes?["{",R([Bt.nodes.length>0?I:"",wr(ln,pi,ni)]),I,"}"]:"",Ri?"":";"]}return["@",rt(Bt)||Bt.name.endsWith(":")?Bt.name:B(Bt.name),Bt.params?[rt(Bt)?"":Ue(Bt)?Bt.raws.afterName===""?"":Bt.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Bt.raws.afterName)?[k,k]:/^\s*\n/.test(Bt.raws.afterName)?k:" ":" ",ni("params")]:"",Bt.selector?R([" ",ni("selector")]):"",Bt.value?T([" ",ni("value"),he(Bt)?Je(Bt)?" ":F:""]):Bt.name==="else"?" ":"",Bt.nodes?[he(Bt)?"":Bt.selector&&!Bt.selector.nodes&&typeof Bt.selector.value=="string"&&je(Bt.selector.value)||!Bt.selector&&typeof Bt.params=="string"&&je(Bt.params)?F:" ","{",R([Bt.nodes.length>0?I:"",wr(ln,pi,ni)]),I,"}"]:Ri?"":";"]}case"media-query-list":{let Mi=[];return ln.each(Ri=>{let ys=Ri.getValue();ys.type==="media-query"&&ys.value===""||Mi.push(ni())},"nodes"),T(R(E(F,Mi)))}case"media-query":return[E(" ",ln.map(ni,"nodes")),K(ln,Bt)?"":","];case"media-type":return Di(en(Bt.value,pi));case"media-feature-expression":return Bt.nodes?["(",...ln.map(ni,"nodes"),")"]:Bt.value;case"media-feature":return B(en(Bt.value.replace(/ +/g," "),pi));case"media-colon":return[Bt.value," "];case"media-value":return Di(en(Bt.value,pi));case"media-keyword":return en(Bt.value,pi);case"media-url":return en(Bt.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),pi);case"media-unknown":return Bt.value;case"selector-root":return T([M(ln,"custom-selector")?[N(ln,"css-atrule").customSelector,F]:"",E([",",M(ln,["extend","custom-selector","nest"])?F:k],ln.map(ni,"nodes"))]);case"selector-selector":return T(R(ln.map(ni,"nodes")));case"selector-comment":return Bt.value;case"selector-string":return en(Bt.value,pi);case"selector-tag":{let Mi=ln.getParentNode(),Ri=Mi&&Mi.nodes.indexOf(Bt),ys=Ri&&Mi.nodes[Ri-1];return[Bt.namespace?[Bt.namespace===!0?"":Bt.namespace.trim(),"|"]:"",ys.type==="selector-nesting"?Bt.value:Di(U(ln,Bt.value)?Bt.value.toLowerCase():Bt.value)]}case"selector-id":return["#",Bt.value];case"selector-class":return[".",Di(en(Bt.value,pi))];case"selector-attribute":{var Qa;return["[",Bt.namespace?[Bt.namespace===!0?"":Bt.namespace.trim(),"|"]:"",Bt.attribute.trim(),(Qa=Bt.operator)!==null&&Qa!==void 0?Qa:"",Bt.value?Yn(en(Bt.value.trim(),pi),pi):"",Bt.insensitive?" i":"","]"]}case"selector-combinator":{if(Bt.value==="+"||Bt.value===">"||Bt.value==="~"||Bt.value===">>>"){let ys=ln.getParentNode();return[ys.type==="selector-selector"&&ys.nodes[0]===Bt?"":F,Bt.value,K(ln,Bt)?"":" "]}let Mi=Bt.value.trim().startsWith("(")?F:"",Ri=Di(en(Bt.value.trim(),pi))||F;return[Mi,Ri]}case"selector-universal":return[Bt.namespace?[Bt.namespace===!0?"":Bt.namespace.trim(),"|"]:"",Bt.value];case"selector-pseudo":return[B(Bt.value),v(Bt.nodes)?T(["(",R([I,E([",",F],ln.map(ni,"nodes"))]),I,")"]):""];case"selector-nesting":return Bt.value;case"selector-unknown":{let Mi=N(ln,"css-rule");if(Mi&&Mi.isSCSSNesterProperty)return Di(en(B(Bt.value),pi));let Ri=ln.getParentNode();if(Ri.raws&&Ri.raws.selector){let ja=Wr(Ri),Ce=ja+Ri.raws.selector.length;return pi.originalText.slice(ja,Ce).trim()}let ys=ln.getParentNode(1);if(Ri.type==="value-paren_group"&&ys&&ys.type==="value-func"&&ys.value==="selector"){let ja=$r(Ri.open)+1,Ce=Wr(Ri.close),Wt=pi.originalText.slice(ja,Ce).trim();return je(Wt)?[L,Wt]:Wt}return Bt.value}case"value-value":case"value-root":return ni("group");case"value-comment":return pi.originalText.slice(Wr(Bt),$r(Bt));case"value-comma_group":{let Mi=ln.getParentNode(),Ri=ln.getParentNode(1),ys=Z(ln),ja=ys&&Mi.type==="value-value"&&(ys==="grid"||ys.startsWith("grid-template")),Ce=N(ln,"css-atrule"),Wt=Ce&&he(Ce),Pn=Bt.groups.some(La=>ur(La)),Li=ln.map(ni,"groups"),Xi=[],Ea=j(ln,"url"),Qs=!1,Lo=!1;for(let La=0;La<Bt.groups.length;++La){var Io;Xi.push(Li[La]);let lo=Bt.groups[La-1],si=Bt.groups[La],Fi=Bt.groups[La+1],Id=Bt.groups[La+2];if(Ea){(Fi&&ct(Fi)||ct(si))&&Xi.push(" ");continue}if(M(ln,"forward")&&si.type==="value-word"&&si.value&&lo!==void 0&&lo.type==="value-word"&&lo.value==="as"&&Fi.type==="value-operator"&&Fi.value==="*"||!Fi||si.type==="value-word"&&si.value.endsWith("-")&&Qt(Fi))continue;if(si.type==="value-string"&&si.quoted){let g0=si.value.lastIndexOf("#{"),y0=si.value.lastIndexOf("}");g0!==-1&&y0!==-1?Qs=g0>y0:g0!==-1?Qs=!0:y0!==-1&&(Qs=!1)}if(Qs||dn(si)||dn(Fi)||si.type==="value-atword"&&(si.value===""||si.value.endsWith("["))||Fi.type==="value-word"&&Fi.value.startsWith("]")||si.value==="~"||si.value&&si.value.includes("\\")&&Fi&&Fi.type!=="value-comment"||lo&&lo.value&&lo.value.indexOf("\\")===lo.value.length-1&&si.type==="value-operator"&&si.value==="/"||si.value==="\\"||Et(si,Fi)||xr(si)||gn(si)||Si(Fi)||gn(Fi)&&It(Fi)||Si(si)&&It(Fi)||si.value==="--"&&xr(Fi))continue;let m0=Se(si),zO=Se(Fi);if((m0&&xr(Fi)||zO&&Si(si))&&It(Fi)||!lo&&ye(si)||j(ln,"calc")&&(ct(si)||ct(Fi)||Fe(si)||Fe(Fi))&&It(Fi))continue;let sA=(ct(si)||Fe(si))&&La===0&&(Fi.type==="value-number"||Fi.isHex)&&Ri&&$t(Ri)&&!It(Fi),WO=Id&&Id.type==="value-func"||Id&&di(Id)||si.type==="value-func"||di(si),ZO=Fi.type==="value-func"||di(Fi)||lo&&lo.type==="value-func"||lo&&di(lo);if(!(!(ze(Fi)||ze(si))&&!j(ln,"calc")&&!sA&&(ye(Fi)&&!WO||ye(si)&&!ZO||ct(Fi)&&!WO||ct(si)&&!ZO||Fe(Fi)||Fe(si))&&(It(Fi)||m0&&(!lo||lo&&Se(lo))))&&!((pi.parser==="scss"||pi.parser==="less")&&m0&&si.value==="-"&&Nt(Fi)&&$r(si)===Wr(Fi.open)&&Fi.open.value==="(")){if(ur(si)){if(Mi.type==="value-paren_group"){Xi.push(W(k));continue}Xi.push(k);continue}if(Wt&&(Pe(Fi)||_e(Fi)||jt(Fi)||lt(si)||kt(si))){Xi.push(" ");continue}if(Ce&&Ce.name.toLowerCase()==="namespace"){Xi.push(" ");continue}if(ja){si.source&&Fi.source&&si.source.start.line!==Fi.source.start.line?(Xi.push(k),Lo=!0):Xi.push(" ");continue}if(zO){Xi.push(" ");continue}if(!(Fi&&Fi.value==="...")&&!(Qt(si)&&Qt(Fi)&&$r(si)===Wr(Fi))){if(Qt(si)&&Nt(Fi)&&$r(si)===Wr(Fi.open)){Xi.push(I);continue}if(si.value==="with"&&Nt(Fi)){Xi.push(" ");continue}(Io=si.value)!==null&&Io!==void 0&&Io.endsWith("#")&&Fi.value==="{"&&Nt(Fi.group)||Xi.push(F)}}}return Pn&&Xi.push(L),Lo&&Xi.unshift(k),Wt?T(R(Xi)):Q(ln)?T(_(Xi)):T(R(_(Xi)))}case"value-paren_group":{let Mi=ln.getParentNode();if(Mi&&ft(Mi)&&(Bt.groups.length===1||Bt.groups.length>0&&Bt.groups[0].type==="value-comma_group"&&Bt.groups[0].groups.length>0&&Bt.groups[0].groups[0].type==="value-word"&&Bt.groups[0].groups[0].value.startsWith("data:")))return[Bt.open?ni("open"):"",E(",",ln.map(ni,"groups")),Bt.close?ni("close"):""];if(!Bt.open){let Ea=ln.map(ni,"groups"),Qs=[];for(let Lo=0;Lo<Ea.length;Lo++)Lo!==0&&Qs.push([",",F]),Qs.push(Ea[Lo]);return T(R(_(Qs)))}let Ri=zt(ln),ys=f(Bt.groups),ja=ys&&ys.type==="value-comment",Ce=Rr(Bt,Mi),Wt=et(Bt,Mi),Pn=Wt||Ri&&!Ce,Li=Wt||Ce,Xi=T([Bt.open?ni("open"):"",R([I,E([F],ln.map((Ea,Qs)=>{let Lo=Ea.getValue(),La=Qs===Bt.groups.length-1,lo=[ni(),La?"":","];if(Mt(Lo)&&Lo.type==="value-comma_group"&&Lo.groups&&Lo.groups[0].type!=="value-paren_group"&&Lo.groups[2]&&Lo.groups[2].type==="value-paren_group"){let si=z(lo[0].contents.contents);si[1]=T(si[1]),lo=[T(W(lo))]}if(!La&&Lo.type==="value-comma_group"&&v(Lo.groups)){let si=f(Lo.groups);!si.source&&si.close&&(si=si.close),si.source&&x(pi.originalText,si,$r)&&lo.push(k)}return lo},"groups"))]),ne(!ja&&X(pi.parser,pi.originalText)&&Ri&&_t(pi)?",":""),I,Bt.close?ni("close"):""],{shouldBreak:Pn});return Li?W(Xi):Xi}case"value-func":return[Bt.value,M(ln,"supports")&&_n(Bt)?" ":"",ni("group")];case"value-paren":return Bt.value;case"value-number":return[ps(Bt.value),We(Bt.unit)];case"value-operator":return Bt.value;case"value-word":return Bt.isColor&&Bt.isHex||q(Bt.value)?Bt.value.toLowerCase():Bt.value;case"value-colon":{let Mi=ln.getParentNode(),Ri=Mi&&Mi.groups.indexOf(Bt),ys=Ri&&Mi.groups[Ri-1];return[Bt.value,ys&&typeof ys.value=="string"&&f(ys.value)==="\\"||j(ln,"url")?"":F]}case"value-comma":return[Bt.value," "];case"value-string":return y(Bt.raws.quote+Bt.value+Bt.raws.quote,pi);case"value-atword":return["@",Bt.value];case"value-unicode-range":return Bt.value;case"value-unknown":return Bt.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(Bt.type)}`)}}function wr(ln,pi,ni){let Bt=[];return ln.each((Qa,Io,Mi)=>{let Ri=Mi[Io-1];if(Ri&&Ri.type==="css-comment"&&Ri.text.trim()==="prettier-ignore"){let ys=Qa.getValue();Bt.push(pi.originalText.slice(Wr(ys),$r(ys)))}else Bt.push(ni());Io!==Mi.length-1&&(Mi[Io+1].type==="css-comment"&&!D(pi.originalText,Wr(Mi[Io+1]),{backwards:!0})&&!O(Mi[Io])||Mi[Io+1].type==="css-atrule"&&Mi[Io+1].name==="else"&&Mi[Io].type!=="css-comment"?Bt.push(" "):(Bt.push(pi.__isHTMLStyleAttribute?F:k),x(pi.originalText,Qa.getValue(),$r)&&!O(Mi[Io])&&Bt.push(k)))},"nodes"),Bt}var hn=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,br=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,$s=/[A-Za-z]+/g,nn=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,ws=new RegExp(hn.source+`|(${nn.source})?(${br.source})(${$s.source})?`,"g");function en(ln,pi){return ln.replace(hn,ni=>y(ni,pi))}function Yn(ln,pi){let ni=pi.singleQuote?"'":'"';return ln.includes('"')||ln.includes("'")?ln:ni+ln+ni}function Di(ln){return ln.replace(ws,(pi,ni,Bt,Qa,Io)=>!Bt&&Qa?ps(Qa)+B(Io||""):pi)}function ps(ln){return d(ln).replace(/\.0(?=$|e)/,"")}h.exports={print:gr,embed:ie,insertPragma:Be,massageAstNode:ue}}}),xp=Oe({"src/language-css/options.js"(u,h){Ye();var f=gu();h.exports={singleQuote:f.singleQuote}}}),Yl=Oe({"src/language-css/parsers.js"(){Ye()}}),bh=Oe({"node_modules/linguist-languages/data/CSS.json"(u,h){h.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),ff=Oe({"node_modules/linguist-languages/data/PostCSS.json"(u,h){h.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),vh=Oe({"node_modules/linguist-languages/data/Less.json"(u,h){h.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Ch=Oe({"node_modules/linguist-languages/data/SCSS.json"(u,h){h.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Sh=Oe({"src/language-css/index.js"(u,h){Ye();var f=Ms(),d=xh(),y=xp(),D=Yl(),O=[f(bh(),v=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...v.extensions,".wxss"]})),f(ff(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),f(vh(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),f(Ch(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],x={postcss:d};h.exports={languages:O,options:y,printers:x,parsers:D}}}),w=Oe({"src/language-handlebars/loc.js"(u,h){Ye();function f(y){return y.loc.start.offset}function d(y){return y.loc.end.offset}h.exports={locStart:f,locEnd:d}}}),ee=Oe({"src/language-handlebars/clean.js"(u,h){Ye();function f(d,y){if(d.type==="TextNode"){let D=d.chars.trim();if(!D)return null;y.chars=D.replace(/[\t\n\f\r ]+/g," ")}d.type==="AttrNode"&&d.name.toLowerCase()==="class"&&delete y.value}f.ignoredProperties=new Set(["loc","selfClosing"]),h.exports=f}}),Y=Oe({"src/language-handlebars/html-void-elements.evaluate.js"(u,h){h.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),H=Oe({"src/language-handlebars/utils.js"(u,h){Ye();var f=Cs(),d=Y();function y(z){let ue=z.getValue(),ie=z.getParentNode(0);return!!(I(z,["ElementNode"])&&f(ie.children)===ue||I(z,["Block"])&&f(ie.body)===ue)}function D(z){return z.toUpperCase()===z}function O(z){return k(z,["ElementNode"])&&typeof z.tag=="string"&&!z.tag.startsWith(":")&&(D(z.tag[0])||z.tag.includes("."))}var x=new Set(d);function v(z){return x.has(z.toLowerCase())&&!D(z[0])}function E(z){return z.selfClosing===!0||v(z.tag)||O(z)&&z.children.every(ue=>F(ue))}function F(z){return k(z,["TextNode"])&&!/\S/.test(z.chars)}function k(z,ue){return z&&ue.includes(z.type)}function I(z,ue){let ie=z.getParentNode(0);return k(ie,ue)}function T(z,ue){let ie=W(z);return k(ie,ue)}function _(z,ue){let ie=ne(z);return k(ie,ue)}function R(z,ue){var ie,Be,N,Z;let B=z.getValue(),j=(ie=z.getParentNode(0))!==null&&ie!==void 0?ie:{},A=(Be=(N=(Z=j.children)!==null&&Z!==void 0?Z:j.body)!==null&&N!==void 0?N:j.parts)!==null&&Be!==void 0?Be:[],M=A.indexOf(B);return M!==-1&&A[M+ue]}function W(z){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return R(z,-ue)}function ne(z){return R(z,1)}function L(z){return k(z,["MustacheCommentStatement"])&&typeof z.value=="string"&&z.value.trim()==="prettier-ignore"}function re(z){let ue=z.getValue(),ie=W(z,2);return L(ue)||L(ie)}h.exports={getNextNode:ne,getPreviousNode:W,hasPrettierIgnore:re,isLastNodeOfSiblings:y,isNextNodeOfSomeType:_,isNodeOfSomeType:k,isParentOfSomeType:I,isPreviousNodeOfSomeType:T,isVoid:E,isWhitespaceNode:F}}}),oe=Oe({"src/language-handlebars/printer-glimmer.js"(u,h){Ye();var{builders:{dedent:f,fill:d,group:y,hardline:D,ifBreak:O,indent:x,join:v,line:E,softline:F},utils:{getDocParts:k,replaceTextEndOfLine:I}}=Ln(),{getPreferredQuote:T,isNonEmptyArray:_}=fi(),{locStart:R,locEnd:W}=w(),ne=ee(),{getNextNode:L,getPreviousNode:re,hasPrettierIgnore:z,isLastNodeOfSiblings:ue,isNextNodeOfSomeType:ie,isNodeOfSomeType:Be,isParentOfSomeType:N,isPreviousNodeOfSomeType:Z,isVoid:B,isWhitespaceNode:j}=H(),A=2;function M(je,Qt,et){let Nt=je.getValue();if(!Nt)return"";if(z(je))return Qt.originalText.slice(R(Nt),W(Nt));let Wr=Qt.singleQuote?"'":'"';switch(Nt.type){case"Block":case"Program":case"Template":return y(je.map(et,"body"));case"ElementNode":{let $r=y(U(je,et)),Ut=Qt.htmlWhitespaceSensitivity==="ignore"&&ie(je,["ElementNode"])?F:"";if(B(Nt))return[$r,Ut];let X=["</",Nt.tag,">"];return Nt.children.length===0?[$r,x(X),Ut]:Qt.htmlWhitespaceSensitivity==="ignore"?[$r,x(q(je,Qt,et)),D,x(X),Ut]:[$r,x(y(q(je,Qt,et))),x(X),Ut]}case"BlockStatement":{let $r=je.getParentNode(1);return $r&&$r.inverse&&$r.inverse.body.length===1&&$r.inverse.body[0]===Nt&&$r.inverse.body[0].path.parts[0]===$r.path.parts[0]?[kt(je,et,$r.inverse.body[0].path.parts[0]),It(je,et,Qt),Mt(je,et,Qt)]:[Se(je,et),y([It(je,et,Qt),Mt(je,et,Qt),ft(je,et,Qt)])]}case"ElementModifierStatement":return y(["{{",di(je,et),"}}"]);case"MustacheStatement":return y([he(Nt),di(je,et),Te(Nt)]);case"SubExpression":return y(["(",Si(je,et),F,")"]);case"AttrNode":{let $r=Nt.value.type==="TextNode";if($r&&Nt.value.chars===""&&R(Nt.value)===W(Nt.value))return Nt.name;let Ut=$r?T(Nt.value.chars,Wr).quote:Nt.value.type==="ConcatStatement"?T(Nt.value.parts.filter(We=>We.type==="TextNode").map(We=>We.chars).join(""),Wr).quote:"",X=et("value");return[Nt.name,"=",Ut,Nt.name==="class"&&Ut?y(x(X)):X,Ut]}case"ConcatStatement":return je.map(et,"parts");case"Hash":return v(E,je.map(et,"pairs"));case"HashPair":return[Nt.key,"=",et("value")];case"TextNode":{let $r=Nt.chars.replace(/{{/g,"\\{{"),Ut=Ue(je);if(Ut){if(Ut==="class"){let nn=$r.trim().split(/\s+/).join(" "),ws=!1,en=!1;return N(je,["ConcatStatement"])&&(Z(je,["MustacheStatement"])&&/^\s/.test($r)&&(ws=!0),ie(je,["MustacheStatement"])&&/\s$/.test($r)&&nn!==""&&(en=!0)),[ws?E:"",nn,en?E:""]}return I($r)}let X=/^[\t\n\f\r ]*$/.test($r),We=!re(je),_t=!L(je);if(Qt.htmlWhitespaceSensitivity!=="ignore"){let nn=/^[\t\n\f\r ]*/,ws=/[\t\n\f\r ]*$/,en=_t&&N(je,["Template"]),Yn=We&&N(je,["Template"]);if(X){if(Yn||en)return"";let ni=[E],Bt=mt($r);return Bt&&(ni=ur(Bt)),ue(je)&&(ni=ni.map(Qa=>f(Qa))),ni}let[Di]=$r.match(nn),[ps]=$r.match(ws),ln=[];if(Di){ln=[E];let ni=mt(Di);ni&&(ln=ur(ni)),$r=$r.replace(nn,"")}let pi=[];if(ps){if(!en){pi=[E];let ni=mt(ps);ni&&(pi=ur(ni)),ue(je)&&(pi=pi.map(Bt=>f(Bt)))}$r=$r.replace(ws,"")}return[...ln,d(Rr($r)),...pi]}let gr=mt($r),wr=Et($r),hn=zt($r);if((We||_t)&&X&&N(je,["Block","ElementNode","Template"]))return"";X&&gr?(wr=Math.min(gr,A),hn=0):(ie(je,["BlockStatement","ElementNode"])&&(hn=Math.max(hn,1)),Z(je,["BlockStatement","ElementNode"])&&(wr=Math.max(wr,1)));let br="",$s="";return hn===0&&ie(je,["MustacheStatement"])&&($s=" "),wr===0&&Z(je,["MustacheStatement"])&&(br=" "),We&&(wr=0,br=""),_t&&(hn=0,$s=""),$r=$r.replace(/^[\t\n\f\r ]+/g,br).replace(/[\t\n\f\r ]+$/,$s),[...ur(wr),d(Rr($r)),...ur(hn)]}case"MustacheCommentStatement":{let $r=R(Nt),Ut=W(Nt),X=Qt.originalText.charAt($r+2)==="~",We=Qt.originalText.charAt(Ut-3)==="~",_t=Nt.value.includes("}}")?"--":"";return["{{",X?"~":"","!",_t,Nt.value,_t,We?"~":"","}}"]}case"PathExpression":return Nt.original;case"BooleanLiteral":return String(Nt.value);case"CommentStatement":return["<!--",Nt.value,"-->"];case"StringLiteral":{if(gn(je)){let $r=Qt.singleQuote?'"':"'";return xr(Nt.value,$r)}return xr(Nt.value,Wr)}case"NumberLiteral":return String(Nt.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(Nt.type))}}function Q(je,Qt){return R(je)-R(Qt)}function U(je,Qt){let et=je.getValue(),Nt=["attributes","modifiers","comments"].filter($r=>_(et[$r])),Wr=Nt.flatMap($r=>et[$r]).sort(Q);for(let $r of Nt)je.each(Ut=>{let X=Wr.indexOf(Ut.getValue());Wr.splice(X,1,[E,Qt()])},$r);return _(et.blockParams)&&Wr.push(E,$t(et)),["<",et.tag,x(Wr),K(et)]}function q(je,Qt,et){let Nt=je.getValue().children.every(Wr=>j(Wr));return Qt.htmlWhitespaceSensitivity==="ignore"&&Nt?"":je.map((Wr,$r)=>{let Ut=et();return $r===0&&Qt.htmlWhitespaceSensitivity==="ignore"?[F,Ut]:Ut},"children")}function K(je){return B(je)?O([F,"/>"],[" />",F]):O([F,">"],">")}function he(je){let Qt=je.escaped===!1?"{{{":"{{",et=je.strip&&je.strip.open?"~":"";return[Qt,et]}function Te(je){let Qt=je.escaped===!1?"}}}":"}}";return[je.strip&&je.strip.close?"~":"",Qt]}function _e(je){let Qt=he(je),et=je.openStrip.open?"~":"";return[Qt,et,"#"]}function Pe(je){let Qt=Te(je);return[je.openStrip.close?"~":"",Qt]}function ze(je){let Qt=he(je),et=je.closeStrip.open?"~":"";return[Qt,et,"/"]}function ye(je){let Qt=Te(je);return[je.closeStrip.close?"~":"",Qt]}function ct(je){let Qt=he(je),et=je.inverseStrip.open?"~":"";return[Qt,et]}function Fe(je){let Qt=Te(je);return[je.inverseStrip.close?"~":"",Qt]}function Se(je,Qt){let et=je.getValue(),Nt=[],Wr=_n(je,Qt);return Wr&&Nt.push(y(Wr)),_(et.program.blockParams)&&Nt.push($t(et.program)),y([_e(et),dn(je,Qt),Nt.length>0?x([E,v(E,Nt)]):"",F,Pe(et)])}function lt(je,Qt){return[Qt.htmlWhitespaceSensitivity==="ignore"?D:"",ct(je),"else",Fe(je)]}function kt(je,Qt,et){let Nt=je.getValue(),Wr=je.getParentNode(1);return y([ct(Wr),["else"," ",et],x([E,y(_n(je,Qt)),..._(Nt.program.blockParams)?[E,$t(Nt.program)]:[]]),F,Fe(Wr)])}function ft(je,Qt,et){let Nt=je.getValue();return et.htmlWhitespaceSensitivity==="ignore"?[jt(Nt)?F:D,ze(Nt),Qt("path"),ye(Nt)]:[ze(Nt),Qt("path"),ye(Nt)]}function jt(je){return Be(je,["BlockStatement"])&&je.program.body.every(Qt=>j(Qt))}function Ne(je){return Je(je)&&je.inverse.body.length===1&&Be(je.inverse.body[0],["BlockStatement"])&&je.inverse.body[0].path.parts[0]===je.path.parts[0]}function Je(je){return Be(je,["BlockStatement"])&&je.inverse}function It(je,Qt,et){let Nt=je.getValue();if(jt(Nt))return"";let Wr=Qt("program");return et.htmlWhitespaceSensitivity==="ignore"?x([D,Wr]):x(Wr)}function Mt(je,Qt,et){let Nt=je.getValue(),Wr=Qt("inverse"),$r=et.htmlWhitespaceSensitivity==="ignore"?[D,Wr]:Wr;return Ne(Nt)?$r:Je(Nt)?[lt(Nt,et),x($r)]:""}function Rr(je){return k(v(E,rt(je)))}function rt(je){return je.split(/[\t\n\f\r ]+/)}function Ue(je){for(let Qt=0;Qt<2;Qt++){let et=je.getParentNode(Qt);if(et&&et.type==="AttrNode")return et.name.toLowerCase()}}function mt(je){return je=typeof je=="string"?je:"",je.split(`
|
||
`).length-1}function Et(je){je=typeof je=="string"?je:"";let Qt=(je.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return mt(Qt)}function zt(je){je=typeof je=="string"?je:"";let Qt=(je.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return mt(Qt)}function ur(){let je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(je,A)}).fill(D)}function xr(je,Qt){let{quote:et,regex:Nt}=T(je,Qt);return[et,je.replace(Nt,`\\${et}`),et]}function gn(je){let Qt=0,et=je.getParentNode(Qt);for(;et&&Be(et,["SubExpression"]);)Qt++,et=je.getParentNode(Qt);return!!(et&&Be(je.getParentNode(Qt+1),["ConcatStatement"])&&Be(je.getParentNode(Qt+2),["AttrNode"]))}function Si(je,Qt){let et=dn(je,Qt),Nt=_n(je,Qt);return Nt?x([et,E,y(Nt)]):et}function di(je,Qt){let et=dn(je,Qt),Nt=_n(je,Qt);return Nt?[x([et,E,Nt]),F]:et}function dn(je,Qt){return Qt("path")}function _n(je,Qt){let et=je.getValue(),Nt=[];if(et.params.length>0){let Wr=je.map(Qt,"params");Nt.push(...Wr)}if(et.hash&&et.hash.pairs.length>0){let Wr=Qt("hash");Nt.push(Wr)}return Nt.length===0?"":v(E,Nt)}function $t(je){return["as |",je.blockParams.join(" "),"|"]}h.exports={print:M,massageAstNode:ne}}}),pe=Oe({"src/language-handlebars/parsers.js"(){Ye()}}),ce=Oe({"node_modules/linguist-languages/data/Handlebars.json"(u,h){h.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),de=Oe({"src/language-handlebars/index.js"(u,h){Ye();var f=Ms(),d=oe(),y=pe(),D=[f(ce(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],O={glimmer:d};h.exports={languages:D,printers:O,parsers:y}}}),se=Oe({"src/language-graphql/pragma.js"(u,h){Ye();function f(y){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(y)}function d(y){return`# @format
|
||
|
||
`+y}h.exports={hasPragma:f,insertPragma:d}}}),fe=Oe({"src/language-graphql/loc.js"(u,h){Ye();function f(y){return typeof y.start=="number"?y.start:y.loc&&y.loc.start}function d(y){return typeof y.end=="number"?y.end:y.loc&&y.loc.end}h.exports={locStart:f,locEnd:d}}}),P=Oe({"src/language-graphql/printer-graphql.js"(u,h){Ye();var{builders:{join:f,hardline:d,line:y,softline:D,group:O,indent:x,ifBreak:v}}=Ln(),{isNextLineEmpty:E,isNonEmptyArray:F}=fi(),{insertPragma:k}=se(),{locStart:I,locEnd:T}=fe();function _(ie,Be,N){let Z=ie.getValue();if(!Z)return"";if(typeof Z=="string")return Z;switch(Z.kind){case"Document":{let B=[];return ie.each((j,A,M)=>{B.push(N()),A!==M.length-1&&(B.push(d),E(Be.originalText,j.getValue(),T)&&B.push(d))},"definitions"),[...B,d]}case"OperationDefinition":{let B=Be.originalText[I(Z)]!=="{",j=!!Z.name;return[B?Z.operation:"",B&&j?[" ",N("name")]:"",B&&!j&&F(Z.variableDefinitions)?" ":"",F(Z.variableDefinitions)?O(["(",x([D,f([v("",", "),D],ie.map(N,"variableDefinitions"))]),D,")"]):"",R(ie,N,Z),Z.selectionSet?!B&&!j?"":" ":"",N("selectionSet")]}case"FragmentDefinition":return["fragment ",N("name"),F(Z.variableDefinitions)?O(["(",x([D,f([v("",", "),D],ie.map(N,"variableDefinitions"))]),D,")"]):""," on ",N("typeCondition"),R(ie,N,Z)," ",N("selectionSet")];case"SelectionSet":return["{",x([d,f(d,W(ie,Be,N,"selections"))]),d,"}"];case"Field":return O([Z.alias?[N("alias"),": "]:"",N("name"),Z.arguments.length>0?O(["(",x([D,f([v("",", "),D],W(ie,Be,N,"arguments"))]),D,")"]):"",R(ie,N,Z),Z.selectionSet?" ":"",N("selectionSet")]);case"Name":return Z.value;case"StringValue":{if(Z.block){let B=Z.value.replace(/"""/g,"\\$&").split(`
|
||
`);return B.length===1&&(B[0]=B[0].trim()),B.every(j=>j==="")&&(B.length=0),f(d,['"""',...B,'"""'])}return['"',Z.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return Z.value;case"BooleanValue":return Z.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",N("name")];case"ListValue":return O(["[",x([D,f([v("",", "),D],ie.map(N,"values"))]),D,"]"]);case"ObjectValue":return O(["{",Be.bracketSpacing&&Z.fields.length>0?" ":"",x([D,f([v("",", "),D],ie.map(N,"fields"))]),D,v("",Be.bracketSpacing&&Z.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[N("name"),": ",N("value")];case"Directive":return["@",N("name"),Z.arguments.length>0?O(["(",x([D,f([v("",", "),D],W(ie,Be,N,"arguments"))]),D,")"]):""];case"NamedType":return N("name");case"VariableDefinition":return[N("variable"),": ",N("type"),Z.defaultValue?[" = ",N("defaultValue")]:"",R(ie,N,Z)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[N("description"),Z.description?d:"",Z.kind==="ObjectTypeExtension"?"extend ":"","type ",N("name"),Z.interfaces.length>0?[" implements ",...re(ie,Be,N)]:"",R(ie,N,Z),Z.fields.length>0?[" {",x([d,f(d,W(ie,Be,N,"fields"))]),d,"}"]:""];case"FieldDefinition":return[N("description"),Z.description?d:"",N("name"),Z.arguments.length>0?O(["(",x([D,f([v("",", "),D],W(ie,Be,N,"arguments"))]),D,")"]):"",": ",N("type"),R(ie,N,Z)];case"DirectiveDefinition":return[N("description"),Z.description?d:"","directive ","@",N("name"),Z.arguments.length>0?O(["(",x([D,f([v("",", "),D],W(ie,Be,N,"arguments"))]),D,")"]):"",Z.repeatable?" repeatable":""," on ",f(" | ",ie.map(N,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[N("description"),Z.description?d:"",Z.kind==="EnumTypeExtension"?"extend ":"","enum ",N("name"),R(ie,N,Z),Z.values.length>0?[" {",x([d,f(d,W(ie,Be,N,"values"))]),d,"}"]:""];case"EnumValueDefinition":return[N("description"),Z.description?d:"",N("name"),R(ie,N,Z)];case"InputValueDefinition":return[N("description"),Z.description?Z.description.block?d:y:"",N("name"),": ",N("type"),Z.defaultValue?[" = ",N("defaultValue")]:"",R(ie,N,Z)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[N("description"),Z.description?d:"",Z.kind==="InputObjectTypeExtension"?"extend ":"","input ",N("name"),R(ie,N,Z),Z.fields.length>0?[" {",x([d,f(d,W(ie,Be,N,"fields"))]),d,"}"]:""];case"SchemaExtension":return["extend schema",R(ie,N,Z),...Z.operationTypes.length>0?[" {",x([d,f(d,W(ie,Be,N,"operationTypes"))]),d,"}"]:[]];case"SchemaDefinition":return[N("description"),Z.description?d:"","schema",R(ie,N,Z)," {",Z.operationTypes.length>0?x([d,f(d,W(ie,Be,N,"operationTypes"))]):"",d,"}"];case"OperationTypeDefinition":return[N("operation"),": ",N("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[N("description"),Z.description?d:"",Z.kind==="InterfaceTypeExtension"?"extend ":"","interface ",N("name"),Z.interfaces.length>0?[" implements ",...re(ie,Be,N)]:"",R(ie,N,Z),Z.fields.length>0?[" {",x([d,f(d,W(ie,Be,N,"fields"))]),d,"}"]:""];case"FragmentSpread":return["...",N("name"),R(ie,N,Z)];case"InlineFragment":return["...",Z.typeCondition?[" on ",N("typeCondition")]:"",R(ie,N,Z)," ",N("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return O([N("description"),Z.description?d:"",O([Z.kind==="UnionTypeExtension"?"extend ":"","union ",N("name"),R(ie,N,Z),Z.types.length>0?[" =",v(""," "),x([v([y," "]),f([y,"| "],ie.map(N,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[N("description"),Z.description?d:"",Z.kind==="ScalarTypeExtension"?"extend ":"","scalar ",N("name"),R(ie,N,Z)];case"NonNullType":return[N("type"),"!"];case"ListType":return["[",N("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(Z.kind))}}function R(ie,Be,N){if(N.directives.length===0)return"";let Z=f(y,ie.map(Be,"directives"));return N.kind==="FragmentDefinition"||N.kind==="OperationDefinition"?O([y,Z]):[" ",O(x([D,Z]))]}function W(ie,Be,N,Z){return ie.map((B,j,A)=>{let M=N();return j<A.length-1&&E(Be.originalText,B.getValue(),T)?[M,d]:M},Z)}function ne(ie){return ie.kind&&ie.kind!=="Comment"}function L(ie){let Be=ie.getValue();if(Be.kind==="Comment")return"#"+Be.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(Be))}function re(ie,Be,N){let Z=ie.getNode(),B=[],{interfaces:j}=Z,A=ie.map(M=>N(M),"interfaces");for(let M=0;M<j.length;M++){let Q=j[M];B.push(A[M]);let U=j[M+1];if(U){let q=Be.originalText.slice(Q.loc.end,U.loc.start),K=q.includes("#"),he=q.replace(/#.*/g,"").trim();B.push(he===","?",":" &",K?y:" ")}}return B}function z(ie,Be){ie.kind==="StringValue"&&ie.block&&!ie.value.includes(`
|
||
`)&&(Be.value=Be.value.trim())}z.ignoredProperties=new Set(["loc","comments"]);function ue(ie){var Be;let N=ie.getValue();return N==null||(Be=N.comments)===null||Be===void 0?void 0:Be.some(Z=>Z.value.trim()==="prettier-ignore")}h.exports={print:_,massageAstNode:z,hasPrettierIgnore:ue,insertPragma:k,printComment:L,canAttachComment:ne}}}),C=Oe({"src/language-graphql/options.js"(u,h){Ye();var f=gu();h.exports={bracketSpacing:f.bracketSpacing}}}),J=Oe({"src/language-graphql/parsers.js"(){Ye()}}),V=Oe({"node_modules/linguist-languages/data/GraphQL.json"(u,h){h.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),we=Oe({"src/language-graphql/index.js"(u,h){Ye();var f=Ms(),d=P(),y=C(),D=J(),O=[f(V(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],x={graphql:d};h.exports={languages:O,options:y,printers:x,parsers:D}}}),De=Oe({"node_modules/collapse-white-space/index.js"(u,h){Ye(),h.exports=f;function f(d){return String(d).replace(/\s+/g," ")}}}),Xe=Oe({"src/language-markdown/loc.js"(u,h){Ye();function f(y){return y.position.start.offset}function d(y){return y.position.end.offset}h.exports={locStart:f,locEnd:d}}}),ve=Oe({"src/language-markdown/constants.evaluate.js"(u,h){h.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Ae=Oe({"src/language-markdown/utils.js"(u,h){Ye();var{getLast:f}=fi(),{locStart:d,locEnd:y}=Xe(),{cjkPattern:D,kPattern:O,punctuationPattern:x}=ve(),v=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],E=[...v,"tableCell","paragraph","heading"],F=new RegExp(O),k=new RegExp(x);function I(L,re){let z="non-cjk",ue="cj-letter",ie="k-letter",Be="cjk-punctuation",N=[],Z=(re.proseWrap==="preserve"?L:L.replace(new RegExp(`(${D})
|
||
(${D})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[j,A]of Z.entries()){if(j%2===1){N.push({type:"whitespace",value:/\n/.test(A)?`
|
||
`:" "});continue}if((j===0||j===Z.length-1)&&A==="")continue;let M=A.split(new RegExp(`(${D})`));for(let[Q,U]of M.entries())if(!((Q===0||Q===M.length-1)&&U==="")){if(Q%2===0){U!==""&&B({type:"word",value:U,kind:z,hasLeadingPunctuation:k.test(U[0]),hasTrailingPunctuation:k.test(f(U))});continue}B(k.test(U)?{type:"word",value:U,kind:Be,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:U,kind:F.test(U)?ie:ue,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return N;function B(j){let A=f(N);A&&A.type==="word"&&(A.kind===z&&j.kind===ue&&!A.hasTrailingPunctuation||A.kind===ue&&j.kind===z&&!j.hasLeadingPunctuation?N.push({type:"whitespace",value:" "}):!M(z,Be)&&![A.value,j.value].some(Q=>/\u3000/.test(Q))&&N.push({type:"whitespace",value:""})),N.push(j);function M(Q,U){return A.kind===Q&&j.kind===U||A.kind===U&&j.kind===Q}}}function T(L,re){let[,z,ue,ie]=re.slice(L.position.start.offset,L.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:z,marker:ue,leadingSpaces:ie}}function _(L,re){if(!L.ordered||L.children.length<2)return!1;let z=Number(T(L.children[0],re.originalText).numberText),ue=Number(T(L.children[1],re.originalText).numberText);if(z===0&&L.children.length>2){let ie=Number(T(L.children[2],re.originalText).numberText);return ue===1&&ie===1}return ue===1}function R(L,re){let{value:z}=L;return L.position.end.offset===re.length&&z.endsWith(`
|
||
`)&&re.endsWith(`
|
||
`)?z.slice(0,-1):z}function W(L,re){return function z(ue,ie,Be){let N=Object.assign({},re(ue,ie,Be));return N.children&&(N.children=N.children.map((Z,B)=>z(Z,B,[N,...Be]))),N}(L,null,[])}function ne(L){if((L==null?void 0:L.type)!=="link"||L.children.length!==1)return!1;let[re]=L.children;return d(L)===d(re)&&y(L)===y(re)}h.exports={mapAst:W,splitText:I,punctuationPattern:x,getFencedCodeBlockValue:R,getOrderedListItemInfo:T,hasGitDiffFriendlyOrderedList:_,INLINE_NODE_TYPES:v,INLINE_NODE_WRAPPER_TYPES:E,isAutolink:ne}}}),pt=Oe({"src/language-markdown/embed.js"(u,h){Ye();var{inferParserByLanguage:f,getMaxContinuousCount:d}=fi(),{builders:{hardline:y,markAsRoot:D},utils:{replaceEndOfLine:O}}=Ln(),x=Ac(),{getFencedCodeBlockValue:v}=Ae();function E(F,k,I,T){let _=F.getValue();if(_.type==="code"&&_.lang!==null){let R=f(_.lang,T);if(R){let W=T.__inJsTemplate?"~":"`",ne=W.repeat(Math.max(3,d(_.value,W)+1)),L={parser:R};_.lang==="tsx"&&(L.filepath="dummy.tsx");let re=I(v(_,T.originalText),L,{stripTrailingHardline:!0});return D([ne,_.lang,_.meta?" "+_.meta:"",y,O(re),y,ne])}}switch(_.type){case"front-matter":return x(_,I);case"importExport":return[I(_.value,{parser:"babel"},{stripTrailingHardline:!0}),y];case"jsx":return I(`<$>${_.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}h.exports=E}}),yt=Oe({"src/language-markdown/pragma.js"(u,h){Ye();var f=gp(),d=["format","prettier"];function y(D){let O=`@(${d.join("|")})`,x=new RegExp([`<!--\\s*${O}\\s*-->`,`{\\s*\\/\\*\\s*${O}\\s*\\*\\/\\s*}`,`<!--.*\r?
|
||
[\\s\\S]*(^|
|
||
)[^\\S
|
||
]*${O}[^\\S
|
||
]*($|
|
||
)[\\s\\S]*
|
||
.*-->`].join("|"),"m"),v=D.match(x);return(v==null?void 0:v.index)===0}h.exports={startWithPragma:y,hasPragma:D=>y(f(D).content.trimStart()),insertPragma:D=>{let O=f(D),x=`<!-- @${d[0]} -->`;return O.frontMatter?`${O.frontMatter.raw}
|
||
|
||
${x}
|
||
|
||
${O.content}`:`${x}
|
||
|
||
${O.content}`}}}}),Ft=Oe({"src/language-markdown/print-preprocess.js"(u,h){Ye();var f=Cs(),{getOrderedListItemInfo:d,mapAst:y,splitText:D}=Ae(),O=/^.$/su;function x(ne,L){return ne=F(ne,L),ne=T(ne),ne=E(ne,L),ne=R(ne,L),ne=W(ne,L),ne=_(ne,L),ne=v(ne),ne=k(ne),ne}function v(ne){return y(ne,L=>L.type!=="import"&&L.type!=="export"?L:Object.assign(Object.assign({},L),{},{type:"importExport"}))}function E(ne,L){return y(ne,re=>re.type!=="inlineCode"||L.proseWrap==="preserve"?re:Object.assign(Object.assign({},re),{},{value:re.value.replace(/\s+/g," ")}))}function F(ne,L){return y(ne,re=>re.type!=="text"||re.value==="*"||re.value==="_"||!O.test(re.value)||re.position.end.offset-re.position.start.offset===re.value.length?re:Object.assign(Object.assign({},re),{},{value:L.originalText.slice(re.position.start.offset,re.position.end.offset)}))}function k(ne){return I(ne,(L,re)=>L.type==="importExport"&&re.type==="importExport",(L,re)=>({type:"importExport",value:L.value+`
|
||
|
||
`+re.value,position:{start:L.position.start,end:re.position.end}}))}function I(ne,L,re){return y(ne,z=>{if(!z.children)return z;let ue=z.children.reduce((ie,Be)=>{let N=f(ie);return N&&L(N,Be)?ie.splice(-1,1,re(N,Be)):ie.push(Be),ie},[]);return Object.assign(Object.assign({},z),{},{children:ue})})}function T(ne){return I(ne,(L,re)=>L.type==="text"&&re.type==="text",(L,re)=>({type:"text",value:L.value+re.value,position:{start:L.position.start,end:re.position.end}}))}function _(ne,L){return y(ne,(re,z,ue)=>{let[ie]=ue;if(re.type!=="text")return re;let{value:Be}=re;return ie.type==="paragraph"&&(z===0&&(Be=Be.trimStart()),z===ie.children.length-1&&(Be=Be.trimEnd())),{type:"sentence",position:re.position,children:D(Be,L)}})}function R(ne,L){return y(ne,(re,z,ue)=>{if(re.type==="code"){let ie=/^\n?(?: {4,}|\t)/.test(L.originalText.slice(re.position.start.offset,re.position.end.offset));if(re.isIndented=ie,ie)for(let Be=0;Be<ue.length;Be++){let N=ue[Be];if(N.hasIndentedCodeblock)break;N.type==="list"&&(N.hasIndentedCodeblock=!0)}}return re})}function W(ne,L){return y(ne,(ue,ie,Be)=>{if(ue.type==="list"&&ue.children.length>0){for(let N=0;N<Be.length;N++){let Z=Be[N];if(Z.type==="list"&&!Z.isAligned)return ue.isAligned=!1,ue}ue.isAligned=z(ue)}return ue});function re(ue){return ue.children.length===0?-1:ue.children[0].position.start.column-1}function z(ue){if(!ue.ordered)return!0;let[ie,Be]=ue.children;if(d(ie,L.originalText).leadingSpaces.length>1)return!0;let N=re(ie);if(N===-1)return!1;if(ue.children.length===1)return N%L.tabWidth===0;let Z=re(Be);return N!==Z?!1:N%L.tabWidth===0?!0:d(Be,L.originalText).leadingSpaces.length>1}}h.exports=x}}),Tr=Oe({"src/language-markdown/clean.js"(u,h){Ye();var f=De(),{isFrontMatterNode:d}=fi(),{startWithPragma:y}=yt(),D=new Set(["position","raw"]);function O(x,v,E){if((x.type==="front-matter"||x.type==="code"||x.type==="yaml"||x.type==="import"||x.type==="export"||x.type==="jsx")&&delete v.value,x.type==="list"&&delete v.isAligned,(x.type==="list"||x.type==="listItem")&&(delete v.spread,delete v.loose),x.type==="text"||(x.type==="inlineCode"&&(v.value=x.value.replace(/[\t\n ]+/g," ")),x.type==="wikiLink"&&(v.value=x.value.trim().replace(/[\t\n]+/g," ")),(x.type==="definition"||x.type==="linkReference"||x.type==="imageReference")&&(v.label=f(x.label)),(x.type==="definition"||x.type==="link"||x.type==="image")&&x.title&&(v.title=x.title.replace(/\\(["')])/g,"$1")),E&&E.type==="root"&&E.children.length>0&&(E.children[0]===x||d(E.children[0])&&E.children[1]===x)&&x.type==="html"&&y(x.value)))return null}O.ignoredProperties=D,h.exports=O}}),Yr=Oe({"src/language-markdown/printer-markdown.js"(u,h){Ye();var f=De(),{getLast:d,getMinNotPresentContinuousCount:y,getMaxContinuousCount:D,getStringWidth:O,isNonEmptyArray:x}=fi(),{builders:{breakParent:v,join:E,line:F,literalline:k,markAsRoot:I,hardline:T,softline:_,ifBreak:R,fill:W,align:ne,indent:L,group:re,hardlineWithoutBreakParent:z},utils:{normalizeDoc:ue,replaceTextEndOfLine:ie},printer:{printDocToString:Be}}=Ln(),N=pt(),{insertPragma:Z}=yt(),{locStart:B,locEnd:j}=Xe(),A=Ft(),M=Tr(),{getFencedCodeBlockValue:Q,hasGitDiffFriendlyOrderedList:U,splitText:q,punctuationPattern:K,INLINE_NODE_TYPES:he,INLINE_NODE_WRAPPER_TYPES:Te,isAutolink:_e}=Ae(),Pe=new Set(["importExport"]),ze=["heading","tableCell","link","wikiLink"],ye=new Set(["listItem","definition","footnoteDefinition"]);function ct($t,je,Qt){let et=$t.getValue();if(ur($t))return q(je.originalText.slice(et.position.start.offset,et.position.end.offset),je).map(Nt=>Nt.type==="word"?Nt.value:Nt.value===""?"":Ne($t,Nt.value,je));switch(et.type){case"front-matter":return je.originalText.slice(et.position.start.offset,et.position.end.offset);case"root":return et.children.length===0?"":[ue(It($t,je,Qt)),Pe.has(rt(et).type)?"":T];case"paragraph":return Mt($t,je,Qt,{postprocessor:W});case"sentence":return Mt($t,je,Qt);case"word":{let Nt=et.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${K})(_+)`,`(_+)(${K}|$)`].join("|"),"g"),(Ut,X,We,_t,gr)=>(We?`${X}${We}`:`${_t}${gr}`).replace(/_/g,"\\_")),Wr=(Ut,X,We)=>Ut.type==="sentence"&&We===0,$r=(Ut,X,We)=>_e(Ut.children[We-1]);return Nt!==et.value&&($t.match(void 0,Wr,$r)||$t.match(void 0,Wr,(Ut,X,We)=>Ut.type==="emphasis"&&We===0,$r))&&(Nt=Nt.replace(/^(\\?[*_])+/,Ut=>Ut.replace(/\\/g,""))),Nt}case"whitespace":{let Nt=$t.getParentNode(),Wr=Nt.children.indexOf(et),$r=Nt.children[Wr+1],Ut=$r&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test($r.value)?"never":je.proseWrap;return Ne($t,et.value,{proseWrap:Ut})}case"emphasis":{let Nt;if(_e(et.children[0]))Nt=je.originalText[et.position.start.offset];else{let Wr=$t.getParentNode(),$r=Wr.children.indexOf(et),Ut=Wr.children[$r-1],X=Wr.children[$r+1];Nt=Ut&&Ut.type==="sentence"&&Ut.children.length>0&&d(Ut.children).type==="word"&&!d(Ut.children).hasTrailingPunctuation||X&&X.type==="sentence"&&X.children.length>0&&X.children[0].type==="word"&&!X.children[0].hasLeadingPunctuation||jt($t,"emphasis")?"*":"_"}return[Nt,Mt($t,je,Qt),Nt]}case"strong":return["**",Mt($t,je,Qt),"**"];case"delete":return["~~",Mt($t,je,Qt),"~~"];case"inlineCode":{let Nt=y(et.value,"`"),Wr="`".repeat(Nt||1),$r=Nt&&!/^\s/.test(et.value)?" ":"";return[Wr,$r,et.value,$r,Wr]}case"wikiLink":{let Nt="";return je.proseWrap==="preserve"?Nt=et.value:Nt=et.value.replace(/[\t\n]+/g," "),["[[",Nt,"]]"]}case"link":switch(je.originalText[et.position.start.offset]){case"<":{let Nt="mailto:";return["<",et.url.startsWith(Nt)&&je.originalText.slice(et.position.start.offset+1,et.position.start.offset+1+Nt.length)!==Nt?et.url.slice(Nt.length):et.url,">"]}case"[":return["[",Mt($t,je,Qt),"](",xr(et.url,")"),gn(et.title,je),")"];default:return je.originalText.slice(et.position.start.offset,et.position.end.offset)}case"image":return[""),gn(et.title,je),")"];case"blockquote":return["> ",ne("> ",Mt($t,je,Qt))];case"heading":return["#".repeat(et.depth)+" ",Mt($t,je,Qt)];case"code":{if(et.isIndented){let $r=" ".repeat(4);return ne($r,[$r,...ie(et.value,T)])}let Nt=je.__inJsTemplate?"~":"`",Wr=Nt.repeat(Math.max(3,D(et.value,Nt)+1));return[Wr,et.lang||"",et.meta?" "+et.meta:"",T,...ie(Q(et,je.originalText),T),T,Wr]}case"html":{let Nt=$t.getParentNode(),Wr=Nt.type==="root"&&d(Nt.children)===et?et.value.trimEnd():et.value,$r=/^<!--.*-->$/s.test(Wr);return ie(Wr,$r?T:I(k))}case"list":{let Nt=lt(et,$t.getParentNode()),Wr=U(et,je);return Mt($t,je,Qt,{processor:($r,Ut)=>{let X=_t(),We=$r.getValue();if(We.children.length===2&&We.children[1].type==="html"&&We.children[0].position.start.column!==We.children[1].position.start.column)return[X,Fe($r,je,Qt,X)];return[X,ne(" ".repeat(X.length),Fe($r,je,Qt,X))];function _t(){let gr=et.ordered?(Ut===0?et.start:Wr?1:et.start+Ut)+(Nt%2===0?". ":") "):Nt%2===0?"- ":"* ";return et.isAligned||et.hasIndentedCodeblock?Se(gr,je):gr}}})}case"thematicBreak":{let Nt=ft($t,"list");return Nt===-1?"---":lt($t.getParentNode(Nt),$t.getParentNode(Nt+1))%2===0?"***":"---"}case"linkReference":return["[",Mt($t,je,Qt),"]",et.referenceType==="full"?dn(et):et.referenceType==="collapsed"?"[]":""];case"imageReference":switch(et.referenceType){case"full":return["![",et.alt||"","]",dn(et)];default:return["![",et.alt,"]",et.referenceType==="collapsed"?"[]":""]}case"definition":{let Nt=je.proseWrap==="always"?F:" ";return re([dn(et),":",L([Nt,xr(et.url),et.title===null?"":[Nt,gn(et.title,je,!1)]])])}case"footnote":return["[^",Mt($t,je,Qt),"]"];case"footnoteReference":return _n(et);case"footnoteDefinition":{let Nt=$t.getParentNode().children[$t.getName()+1],Wr=et.children.length===1&&et.children[0].type==="paragraph"&&(je.proseWrap==="never"||je.proseWrap==="preserve"&&et.children[0].position.start.line===et.children[0].position.end.line);return[_n(et),": ",Wr?Mt($t,je,Qt):re([ne(" ".repeat(4),Mt($t,je,Qt,{processor:($r,Ut)=>Ut===0?re([_,Qt()]):Qt()})),Nt&&Nt.type==="footnoteDefinition"?_:""])]}case"table":return Je($t,je,Qt);case"tableCell":return Mt($t,je,Qt);case"break":return/\s/.test(je.originalText[et.position.start.offset])?[" ",I(k)]:["\\",T];case"liquidNode":return ie(et.value,T);case"importExport":return[et.value,T];case"esComment":return["{/* ",et.value," */}"];case"jsx":return et.value;case"math":return["$$",T,et.value?[...ie(et.value,T),T]:"","$$"];case"inlineMath":return je.originalText.slice(B(et),j(et));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(et.type)}`)}}function Fe($t,je,Qt,et){let Nt=$t.getValue(),Wr=Nt.checked===null?"":Nt.checked?"[x] ":"[ ] ";return[Wr,Mt($t,je,Qt,{processor:($r,Ut)=>{if(Ut===0&&$r.getValue().type!=="list")return ne(" ".repeat(Wr.length),Qt());let X=" ".repeat(Si(je.tabWidth-et.length,0,3));return[X,ne(X,Qt())]}})]}function Se($t,je){let Qt=et();return $t+" ".repeat(Qt>=4?0:Qt);function et(){let Nt=$t.length%je.tabWidth;return Nt===0?0:je.tabWidth-Nt}}function lt($t,je){return kt($t,je,Qt=>Qt.ordered===$t.ordered)}function kt($t,je,Qt){let et=-1;for(let Nt of je.children)if(Nt.type===$t.type&&Qt(Nt)?et++:et=-1,Nt===$t)return et}function ft($t,je){let Qt=Array.isArray(je)?je:[je],et=-1,Nt;for(;Nt=$t.getParentNode(++et);)if(Qt.includes(Nt.type))return et;return-1}function jt($t,je){let Qt=ft($t,je);return Qt===-1?null:$t.getParentNode(Qt)}function Ne($t,je,Qt){if(Qt.proseWrap==="preserve"&&je===`
|
||
`)return T;let et=Qt.proseWrap==="always"&&!jt($t,ze);return je!==""?et?F:" ":et?_:""}function Je($t,je,Qt){let et=$t.getValue(),Nt=[],Wr=$t.map(gr=>gr.map((wr,hn)=>{let br=Be(Qt(),je).formatted,$s=O(br);return Nt[hn]=Math.max(Nt[hn]||3,$s),{text:br,width:$s}},"children"),"children"),$r=X(!1);if(je.proseWrap!=="never")return[v,$r];let Ut=X(!0);return[v,re(R(Ut,$r))];function X(gr){let wr=[_t(Wr[0],gr),We(gr)];return Wr.length>1&&wr.push(E(z,Wr.slice(1).map(hn=>_t(hn,gr)))),E(z,wr)}function We(gr){return`| ${Nt.map((wr,hn)=>{let br=et.align[hn],$s=br==="center"||br==="left"?":":"-",nn=br==="center"||br==="right"?":":"-",ws=gr?"-":"-".repeat(wr-2);return`${$s}${ws}${nn}`}).join(" | ")} |`}function _t(gr,wr){return`| ${gr.map((hn,br)=>{let{text:$s,width:nn}=hn;if(wr)return $s;let ws=Nt[br]-nn,en=et.align[br],Yn=0;en==="right"?Yn=ws:en==="center"&&(Yn=Math.floor(ws/2));let Di=ws-Yn;return`${" ".repeat(Yn)}${$s}${" ".repeat(Di)}`}).join(" | ")} |`}}function It($t,je,Qt){let et=[],Nt=null,{children:Wr}=$t.getValue();for(let[$r,Ut]of Wr.entries())switch(Ue(Ut)){case"start":Nt===null&&(Nt={index:$r,offset:Ut.position.end.offset});break;case"end":Nt!==null&&(et.push({start:Nt,end:{index:$r,offset:Ut.position.start.offset}}),Nt=null);break}return Mt($t,je,Qt,{processor:($r,Ut)=>{if(et.length>0){let X=et[0];if(Ut===X.start.index)return[Rr(Wr[X.start.index]),je.originalText.slice(X.start.offset,X.end.offset),Rr(Wr[X.end.index])];if(X.start.index<Ut&&Ut<X.end.index)return!1;if(Ut===X.end.index)return et.shift(),!1}return Qt()}})}function Mt($t,je,Qt){let et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Nt}=et,Wr=et.processor||(()=>Qt()),$r=$t.getValue(),Ut=[],X;return $t.each((We,_t)=>{let gr=We.getValue(),wr=Wr(We,_t);if(wr!==!1){let hn={parts:Ut,prevNode:X,parentNode:$r,options:je};mt(gr,hn)&&(Ut.push(T),X&&Pe.has(X.type)||(Et(gr,hn)||zt(gr,hn))&&Ut.push(T),zt(gr,hn)&&Ut.push(T)),Ut.push(wr),X=gr}},"children"),Nt?Nt(Ut):Ut}function Rr($t){if($t.type==="html")return $t.value;if($t.type==="paragraph"&&Array.isArray($t.children)&&$t.children.length===1&&$t.children[0].type==="esComment")return["{/* ",$t.children[0].value," */}"]}function rt($t){let je=$t;for(;x(je.children);)je=d(je.children);return je}function Ue($t){let je;if($t.type==="html")je=$t.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Qt;$t.type==="esComment"?Qt=$t:$t.type==="paragraph"&&$t.children.length===1&&$t.children[0].type==="esComment"&&(Qt=$t.children[0]),Qt&&(je=Qt.value.match(/^prettier-ignore(?:-(start|end))?$/))}return je?je[1]||"next":!1}function mt($t,je){let Qt=je.parts.length===0,et=he.includes($t.type),Nt=$t.type==="html"&&Te.includes(je.parentNode.type);return!Qt&&!et&&!Nt}function Et($t,je){var Qt,et,Nt;let Wr=(je.prevNode&&je.prevNode.type)===$t.type&&ye.has($t.type),$r=je.parentNode.type==="listItem"&&!je.parentNode.loose,Ut=((Qt=je.prevNode)===null||Qt===void 0?void 0:Qt.type)==="listItem"&&je.prevNode.loose,X=Ue(je.prevNode)==="next",We=$t.type==="html"&&((et=je.prevNode)===null||et===void 0?void 0:et.type)==="html"&&je.prevNode.position.end.line+1===$t.position.start.line,_t=$t.type==="html"&&je.parentNode.type==="listItem"&&((Nt=je.prevNode)===null||Nt===void 0?void 0:Nt.type)==="paragraph"&&je.prevNode.position.end.line+1===$t.position.start.line;return Ut||!(Wr||$r||X||We||_t)}function zt($t,je){let Qt=je.prevNode&&je.prevNode.type==="list",et=$t.type==="code"&&$t.isIndented;return Qt&&et}function ur($t){let je=jt($t,["linkReference","imageReference"]);return je&&(je.type!=="linkReference"||je.referenceType!=="full")}function xr($t){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Qt=[" ",...Array.isArray(je)?je:[je]];return new RegExp(Qt.map(et=>`\\${et}`).join("|")).test($t)?`<${$t}>`:$t}function gn($t,je){let Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!$t)return"";if(Qt)return" "+gn($t,je,!1);if($t=$t.replace(/\\(["')])/g,"$1"),$t.includes('"')&&$t.includes("'")&&!$t.includes(")"))return`(${$t})`;let et=$t.split("'").length-1,Nt=$t.split('"').length-1,Wr=et>Nt?'"':Nt>et||je.singleQuote?"'":'"';return $t=$t.replace(/\\/,"\\\\"),$t=$t.replace(new RegExp(`(${Wr})`,"g"),"\\$1"),`${Wr}${$t}${Wr}`}function Si($t,je,Qt){return $t<je?je:$t>Qt?Qt:$t}function di($t){let je=Number($t.getName());if(je===0)return!1;let Qt=$t.getParentNode().children[je-1];return Ue(Qt)==="next"}function dn($t){return`[${f($t.label)}]`}function _n($t){return`[^${$t.label}]`}h.exports={preprocess:A,print:ct,embed:N,massageAstNode:M,hasPrettierIgnore:di,insertPragma:Z}}}),un=Oe({"src/language-markdown/options.js"(u,h){Ye();var f=gu();h.exports={proseWrap:f.proseWrap,singleQuote:f.singleQuote}}}),Vn=Oe({"src/language-markdown/parsers.js"(){Ye()}}),wn=Oe({"node_modules/linguist-languages/data/Markdown.json"(u,h){h.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),Rn=Oe({"src/language-markdown/index.js"(u,h){Ye();var f=Ms(),d=Yr(),y=un(),D=Vn(),O=[f(wn(),v=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...v.filenames,"README"],extensions:v.extensions.filter(E=>E!==".mdx")})),f(wn(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],x={mdast:d};h.exports={languages:O,options:y,printers:x,parsers:D}}}),Tn=Oe({"src/language-html/clean.js"(u,h){Ye();var{isFrontMatterNode:f}=fi(),d=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function y(D,O){if(D.type==="text"||D.type==="comment"||f(D)||D.type==="yaml"||D.type==="toml")return null;D.type==="attribute"&&delete O.value,D.type==="docType"&&delete O.value}y.ignoredProperties=d,h.exports=y}}),Un=Oe({"src/language-html/constants.evaluate.js"(u,h){h.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),Br=Oe({"src/language-html/utils/is-unknown-namespace.js"(u,h){Ye();function f(d){return d.type==="element"&&!d.hasExplicitNamespace&&!["html","svg"].includes(d.namespace)}h.exports=f}}),hr=Oe({"src/language-html/utils/index.js"(u,h){Ye();var{inferParserByLanguage:f,isFrontMatterNode:d}=fi(),{builders:{line:y,hardline:D,join:O},utils:{getDocParts:x,replaceTextEndOfLine:v}}=Ln(),{CSS_DISPLAY_TAGS:E,CSS_DISPLAY_DEFAULT:F,CSS_WHITE_SPACE_TAGS:k,CSS_WHITE_SPACE_DEFAULT:I}=Un(),T=Br(),_=new Set([" ",`
|
||
`,"\f","\r"," "]),R=X=>X.replace(/^[\t\n\f\r ]+/,""),W=X=>X.replace(/[\t\n\f\r ]+$/,""),ne=X=>R(W(X)),L=X=>X.replace(/^[\t\f\r ]*\n/g,""),re=X=>L(W(X)),z=X=>X.split(/[\t\n\f\r ]+/),ue=X=>X.match(/^[\t\n\f\r ]*/)[0],ie=X=>{let[,We,_t,gr]=X.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:We,trailingWhitespace:gr,text:_t}},Be=X=>/[\t\n\f\r ]/.test(X);function N(X,We){return!!(X.type==="ieConditionalComment"&&X.lastChild&&!X.lastChild.isSelfClosing&&!X.lastChild.endSourceSpan||X.type==="ieConditionalComment"&&!X.complete||Et(X)&&X.children.some(_t=>_t.type!=="text"&&_t.type!=="interpolation")||et(X,We)&&!A(X)&&X.type!=="interpolation")}function Z(X){return X.type==="attribute"||!X.parent||!X.prev?!1:B(X.prev)}function B(X){return X.type==="comment"&&X.value.trim()==="prettier-ignore"}function j(X){return X.type==="text"||X.type==="comment"}function A(X){return X.type==="element"&&(X.fullName==="script"||X.fullName==="style"||X.fullName==="svg:style"||T(X)&&(X.name==="script"||X.name==="style"))}function M(X){return X.children&&!A(X)}function Q(X){return A(X)||X.type==="interpolation"||U(X)}function U(X){return gn(X).startsWith("pre")}function q(X,We){let _t=gr();if(_t&&!X.prev&&X.parent&&X.parent.tagDefinition&&X.parent.tagDefinition.ignoreFirstLf)return X.type==="interpolation";return _t;function gr(){return d(X)?!1:(X.type==="text"||X.type==="interpolation")&&X.prev&&(X.prev.type==="text"||X.prev.type==="interpolation")?!0:!X.parent||X.parent.cssDisplay==="none"?!1:Et(X.parent)?!0:!(!X.prev&&(X.parent.type==="root"||Et(X)&&X.parent||A(X.parent)||je(X.parent,We)||!Mt(X.parent.cssDisplay))||X.prev&&!Ue(X.prev.cssDisplay))}}function K(X,We){return d(X)?!1:(X.type==="text"||X.type==="interpolation")&&X.next&&(X.next.type==="text"||X.next.type==="interpolation")?!0:!X.parent||X.parent.cssDisplay==="none"?!1:Et(X.parent)?!0:!(!X.next&&(X.parent.type==="root"||Et(X)&&X.parent||A(X.parent)||je(X.parent,We)||!Rr(X.parent.cssDisplay))||X.next&&!rt(X.next.cssDisplay))}function he(X){return mt(X.cssDisplay)&&!A(X)}function Te(X){return d(X)||X.next&&X.sourceSpan.end&&X.sourceSpan.end.line+1<X.next.sourceSpan.start.line}function _e(X){return Pe(X)||X.type==="element"&&X.children.length>0&&(["body","script","style"].includes(X.name)||X.children.some(We=>ft(We)))||X.firstChild&&X.firstChild===X.lastChild&&X.firstChild.type!=="text"&&Fe(X.firstChild)&&(!X.lastChild.isTrailingSpaceSensitive||Se(X.lastChild))}function Pe(X){return X.type==="element"&&X.children.length>0&&(["html","head","ul","ol","select"].includes(X.name)||X.cssDisplay.startsWith("table")&&X.cssDisplay!=="table-cell")}function ze(X){return lt(X)||X.prev&&ye(X.prev)||ct(X)}function ye(X){return lt(X)||X.type==="element"&&X.fullName==="br"||ct(X)}function ct(X){return Fe(X)&&Se(X)}function Fe(X){return X.hasLeadingSpaces&&(X.prev?X.prev.sourceSpan.end.line<X.sourceSpan.start.line:X.parent.type==="root"||X.parent.startSourceSpan.end.line<X.sourceSpan.start.line)}function Se(X){return X.hasTrailingSpaces&&(X.next?X.next.sourceSpan.start.line>X.sourceSpan.end.line:X.parent.type==="root"||X.parent.endSourceSpan&&X.parent.endSourceSpan.start.line>X.sourceSpan.end.line)}function lt(X){switch(X.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(X.name)}return!1}function kt(X){return X.lastChild?kt(X.lastChild):X}function ft(X){return X.children&&X.children.some(We=>We.type!=="text")}function jt(X){let{type:We,lang:_t}=X.attrMap;if(We==="module"||We==="text/javascript"||We==="text/babel"||We==="application/javascript"||_t==="jsx")return"babel";if(We==="application/x-typescript"||_t==="ts"||_t==="tsx")return"typescript";if(We==="text/markdown")return"markdown";if(We==="text/html")return"html";if(We&&(We.endsWith("json")||We.endsWith("importmap"))||We==="speculationrules")return"json";if(We==="text/x-handlebars-template")return"glimmer"}function Ne(X,We){let{lang:_t}=X.attrMap;if(!_t||_t==="postcss"||_t==="css")return"css";if(_t==="scss")return"scss";if(_t==="less")return"less";if(_t==="stylus")return f("stylus",We)}function Je(X,We){if(X.name==="script"&&!X.attrMap.src)return!X.attrMap.lang&&!X.attrMap.type?"babel":jt(X);if(X.name==="style")return Ne(X,We);if(We&&et(X,We))return jt(X)||!("src"in X.attrMap)&&f(X.attrMap.lang,We)}function It(X){return X==="block"||X==="list-item"||X.startsWith("table")}function Mt(X){return!It(X)&&X!=="inline-block"}function Rr(X){return!It(X)&&X!=="inline-block"}function rt(X){return!It(X)}function Ue(X){return!It(X)}function mt(X){return!It(X)&&X!=="inline-block"}function Et(X){return gn(X).startsWith("pre")}function zt(X,We){let _t=0;for(let gr=X.stack.length-1;gr>=0;gr--){let wr=X.stack[gr];wr&&typeof wr=="object"&&!Array.isArray(wr)&&We(wr)&&_t++}return _t}function ur(X,We){let _t=X;for(;_t;){if(We(_t))return!0;_t=_t.parent}return!1}function xr(X,We){if(X.prev&&X.prev.type==="comment"){let gr=X.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(gr)return gr[1]}let _t=!1;if(X.type==="element"&&X.namespace==="svg")if(ur(X,gr=>gr.fullName==="svg:foreignObject"))_t=!0;else return X.name==="svg"?"inline-block":"block";switch(We.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return We.parser==="vue"&&X.parent&&X.parent.type==="root"?"block":X.type==="element"&&(!X.namespace||_t||T(X))&&E[X.name]||F}}function gn(X){return X.type==="element"&&(!X.namespace||T(X))&&k[X.name]||I}function Si(X){let We=Number.POSITIVE_INFINITY;for(let _t of X.split(`
|
||
`)){if(_t.length===0)continue;if(!_.has(_t[0]))return 0;let gr=ue(_t).length;_t.length!==gr&&gr<We&&(We=gr)}return We===Number.POSITIVE_INFINITY?0:We}function di(X){let We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Si(X);return We===0?X:X.split(`
|
||
`).map(_t=>_t.slice(We)).join(`
|
||
`)}function dn(X,We){let _t=0;for(let gr=0;gr<X.length;gr++)X[gr]===We&&_t++;return _t}function _n(X){return X.replace(/'/g,"'").replace(/"/g,'"')}var $t=new Set(["template","style","script"]);function je(X,We){return Qt(X,We)&&!$t.has(X.fullName)}function Qt(X,We){return We.parser==="vue"&&X.type==="element"&&X.parent.type==="root"&&X.fullName.toLowerCase()!=="html"}function et(X,We){return Qt(X,We)&&(je(X,We)||X.attrMap.lang&&X.attrMap.lang!=="html")}function Nt(X){let We=X.fullName;return We.charAt(0)==="#"||We==="slot-scope"||We==="v-slot"||We.startsWith("v-slot:")}function Wr(X,We){let _t=X.parent;if(!Qt(_t,We))return!1;let gr=_t.fullName,wr=X.fullName;return gr==="script"&&wr==="setup"||gr==="style"&&wr==="vars"}function $r(X){let We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X.value;return X.parent.isWhitespaceSensitive?X.parent.isIndentationSensitive?v(We):v(di(re(We)),D):x(O(y,z(We)))}function Ut(X,We){return Qt(X,We)&&X.name==="script"}h.exports={htmlTrim:ne,htmlTrimPreserveIndentation:re,hasHtmlWhitespace:Be,getLeadingAndTrailingHtmlWhitespace:ie,canHaveInterpolation:M,countChars:dn,countParents:zt,dedentString:di,forceBreakChildren:Pe,forceBreakContent:_e,forceNextEmptyLine:Te,getLastDescendant:kt,getNodeCssStyleDisplay:xr,getNodeCssStyleWhiteSpace:gn,hasPrettierIgnore:Z,inferScriptParser:Je,isVueCustomBlock:je,isVueNonHtmlBlock:et,isVueScriptTag:Ut,isVueSlotAttribute:Nt,isVueSfcBindingsAttribute:Wr,isVueSfcBlock:Qt,isDanglingSpaceSensitiveNode:he,isIndentationSensitiveNode:U,isLeadingSpaceSensitiveNode:q,isPreLikeNode:Et,isScriptLikeTag:A,isTextLikeNode:j,isTrailingSpaceSensitiveNode:K,isWhitespaceSensitiveNode:Q,isUnknownNamespace:T,preferHardlineAsLeadingSpaces:ze,preferHardlineAsTrailingSpaces:ye,shouldPreserveContent:N,unescapeQuoteEntities:_n,getTextValueParts:$r}}}),Mr=Oe({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0}),u.$EOF=0,u.$BSPACE=8,u.$TAB=9,u.$LF=10,u.$VTAB=11,u.$FF=12,u.$CR=13,u.$SPACE=32,u.$BANG=33,u.$DQ=34,u.$HASH=35,u.$$=36,u.$PERCENT=37,u.$AMPERSAND=38,u.$SQ=39,u.$LPAREN=40,u.$RPAREN=41,u.$STAR=42,u.$PLUS=43,u.$COMMA=44,u.$MINUS=45,u.$PERIOD=46,u.$SLASH=47,u.$COLON=58,u.$SEMICOLON=59,u.$LT=60,u.$EQ=61,u.$GT=62,u.$QUESTION=63,u.$0=48,u.$7=55,u.$9=57,u.$A=65,u.$E=69,u.$F=70,u.$X=88,u.$Z=90,u.$LBRACKET=91,u.$BACKSLASH=92,u.$RBRACKET=93,u.$CARET=94,u.$_=95,u.$a=97,u.$b=98,u.$e=101,u.$f=102,u.$n=110,u.$r=114,u.$t=116,u.$u=117,u.$v=118,u.$x=120,u.$z=122,u.$LBRACE=123,u.$BAR=124,u.$RBRACE=125,u.$NBSP=160,u.$PIPE=124,u.$TILDA=126,u.$AT=64,u.$BT=96;function h(x){return x>=u.$TAB&&x<=u.$SPACE||x==u.$NBSP}u.isWhitespace=h;function f(x){return u.$0<=x&&x<=u.$9}u.isDigit=f;function d(x){return x>=u.$a&&x<=u.$z||x>=u.$A&&x<=u.$Z}u.isAsciiLetter=d;function y(x){return x>=u.$a&&x<=u.$f||x>=u.$A&&x<=u.$F||f(x)}u.isAsciiHexDigit=y;function D(x){return x===u.$LF||x===u.$CR}u.isNewLine=D;function O(x){return u.$0<=x&&x<=u.$7}u.isOctalDigit=O}}),pr=Oe({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=class{constructor(d,y,D){this.filePath=d,this.name=y,this.members=D}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};u.StaticSymbol=h;var f=class{constructor(){this.cache=new Map}get(d,y,D){D=D||[];let O=D.length?`.${D.join(".")}`:"",x=`"${d}".${y}${O}`,v=this.cache.get(x);return v||(v=new h(d,y,D),this.cache.set(x,v)),v}};u.StaticSymbolCache=f}}),_s=Oe({"node_modules/angular-html-parser/lib/compiler/src/util.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=/-+([a-z0-9])/g;function f(A){return A.replace(h,function(){for(var M=arguments.length,Q=new Array(M),U=0;U<M;U++)Q[U]=arguments[U];return Q[1].toUpperCase()})}u.dashCaseToCamelCase=f;function d(A,M){return D(A,":",M)}u.splitAtColon=d;function y(A,M){return D(A,".",M)}u.splitAtPeriod=y;function D(A,M,Q){let U=A.indexOf(M);return U==-1?Q:[A.slice(0,U).trim(),A.slice(U+1).trim()]}function O(A,M,Q){return Array.isArray(A)?M.visitArray(A,Q):L(A)?M.visitStringMap(A,Q):A==null||typeof A=="string"||typeof A=="number"||typeof A=="boolean"?M.visitPrimitive(A,Q):M.visitOther(A,Q)}u.visitValue=O;function x(A){return A!=null}u.isDefined=x;function v(A){return A===void 0?null:A}u.noUndefined=v;var E=class{visitArray(A,M){return A.map(Q=>O(Q,this,M))}visitStringMap(A,M){let Q={};return Object.keys(A).forEach(U=>{Q[U]=O(A[U],this,M)}),Q}visitPrimitive(A,M){return A}visitOther(A,M){return A}};u.ValueTransformer=E,u.SyncAsync={assertSync:A=>{if(ie(A))throw new Error("Illegal state: value cannot be a promise");return A},then:(A,M)=>ie(A)?A.then(M):M(A),all:A=>A.some(ie)?Promise.all(A):A};function F(A){throw new Error(`Internal Error: ${A}`)}u.error=F;function k(A,M){let Q=Error(A);return Q[I]=!0,M&&(Q[T]=M),Q}u.syntaxError=k;var I="ngSyntaxError",T="ngParseErrors";function _(A){return A[I]}u.isSyntaxError=_;function R(A){return A[T]||[]}u.getParseErrors=R;function W(A){return A.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}u.escapeRegExp=W;var ne=Object.getPrototypeOf({});function L(A){return typeof A=="object"&&A!==null&&Object.getPrototypeOf(A)===ne}function re(A){let M="";for(let Q=0;Q<A.length;Q++){let U=A.charCodeAt(Q);if(U>=55296&&U<=56319&&A.length>Q+1){let q=A.charCodeAt(Q+1);q>=56320&&q<=57343&&(Q++,U=(U-55296<<10)+q-56320+65536)}U<=127?M+=String.fromCharCode(U):U<=2047?M+=String.fromCharCode(U>>6&31|192,U&63|128):U<=65535?M+=String.fromCharCode(U>>12|224,U>>6&63|128,U&63|128):U<=2097151&&(M+=String.fromCharCode(U>>18&7|240,U>>12&63|128,U>>6&63|128,U&63|128))}return M}u.utf8Encode=re;function z(A){if(typeof A=="string")return A;if(A instanceof Array)return"["+A.map(z).join(", ")+"]";if(A==null)return""+A;if(A.overriddenName)return`${A.overriddenName}`;if(A.name)return`${A.name}`;if(!A.toString)return"object";let M=A.toString();if(M==null)return""+M;let Q=M.indexOf(`
|
||
`);return Q===-1?M:M.substring(0,Q)}u.stringify=z;function ue(A){return typeof A=="function"&&A.hasOwnProperty("__forward_ref__")?A():A}u.resolveForwardRef=ue;function ie(A){return!!A&&typeof A.then=="function"}u.isPromise=ie;var Be=class{constructor(A){this.full=A;let M=A.split(".");this.major=M[0],this.minor=M[1],this.patch=M.slice(2).join(".")}};u.Version=Be;var N=typeof window<"u"&&window,Z=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,B=typeof globalThis<"u"&&globalThis,j=B||N||Z;u.global=j}}),es=Oe({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=pr(),f=_s(),d=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function y(Q){return Q.replace(/\W/g,"_")}u.sanitizeIdentifier=y;var D=0;function O(Q){if(!Q||!Q.reference)return null;let U=Q.reference;if(U instanceof h.StaticSymbol)return U.name;if(U.__anonymousType)return U.__anonymousType;let q=f.stringify(U);return q.indexOf("(")>=0?(q=`anonymous_${D++}`,U.__anonymousType=q):q=y(q),q}u.identifierName=O;function x(Q){let U=Q.reference;return U instanceof h.StaticSymbol?U.filePath:`./${f.stringify(U)}`}u.identifierModuleUrl=x;function v(Q,U){return`View_${O({reference:Q})}_${U}`}u.viewClassName=v;function E(Q){return`RenderType_${O({reference:Q})}`}u.rendererTypeName=E;function F(Q){return`HostView_${O({reference:Q})}`}u.hostViewClassName=F;function k(Q){return`${O({reference:Q})}NgFactory`}u.componentFactoryName=k;var I;(function(Q){Q[Q.Pipe=0]="Pipe",Q[Q.Directive=1]="Directive",Q[Q.NgModule=2]="NgModule",Q[Q.Injectable=3]="Injectable"})(I=u.CompileSummaryKind||(u.CompileSummaryKind={}));function T(Q){return Q.value!=null?y(Q.value):O(Q.identifier)}u.tokenName=T;function _(Q){return Q.identifier!=null?Q.identifier.reference:Q.value}u.tokenReference=_;var R=class{constructor(){let{moduleUrl:Q,styles:U,styleUrls:q}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Q||null,this.styles=ie(U),this.styleUrls=ie(q)}};u.CompileStylesheetMetadata=R;var W=class{constructor(Q){let{encapsulation:U,template:q,templateUrl:K,htmlAst:he,styles:Te,styleUrls:_e,externalStylesheets:Pe,animations:ze,ngContentSelectors:ye,interpolation:ct,isInline:Fe,preserveWhitespaces:Se}=Q;if(this.encapsulation=U,this.template=q,this.templateUrl=K,this.htmlAst=he,this.styles=ie(Te),this.styleUrls=ie(_e),this.externalStylesheets=ie(Pe),this.animations=ze?N(ze):[],this.ngContentSelectors=ye||[],ct&&ct.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=ct,this.isInline=Fe,this.preserveWhitespaces=Se}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};u.CompileTemplateMetadata=W;var ne=class{static create(Q){let{isHost:U,type:q,isComponent:K,selector:he,exportAs:Te,changeDetection:_e,inputs:Pe,outputs:ze,host:ye,providers:ct,viewProviders:Fe,queries:Se,guards:lt,viewQueries:kt,entryComponents:ft,template:jt,componentViewType:Ne,rendererType:Je,componentFactory:It}=Q,Mt={},Rr={},rt={};ye!=null&&Object.keys(ye).forEach(Et=>{let zt=ye[Et],ur=Et.match(d);ur===null?rt[Et]=zt:ur[1]!=null?Rr[ur[1]]=zt:ur[2]!=null&&(Mt[ur[2]]=zt)});let Ue={};Pe!=null&&Pe.forEach(Et=>{let zt=f.splitAtColon(Et,[Et,Et]);Ue[zt[0]]=zt[1]});let mt={};return ze!=null&&ze.forEach(Et=>{let zt=f.splitAtColon(Et,[Et,Et]);mt[zt[0]]=zt[1]}),new ne({isHost:U,type:q,isComponent:!!K,selector:he,exportAs:Te,changeDetection:_e,inputs:Ue,outputs:mt,hostListeners:Mt,hostProperties:Rr,hostAttributes:rt,providers:ct,viewProviders:Fe,queries:Se,guards:lt,viewQueries:kt,entryComponents:ft,template:jt,componentViewType:Ne,rendererType:Je,componentFactory:It})}constructor(Q){let{isHost:U,type:q,isComponent:K,selector:he,exportAs:Te,changeDetection:_e,inputs:Pe,outputs:ze,hostListeners:ye,hostProperties:ct,hostAttributes:Fe,providers:Se,viewProviders:lt,queries:kt,guards:ft,viewQueries:jt,entryComponents:Ne,template:Je,componentViewType:It,rendererType:Mt,componentFactory:Rr}=Q;this.isHost=!!U,this.type=q,this.isComponent=K,this.selector=he,this.exportAs=Te,this.changeDetection=_e,this.inputs=Pe,this.outputs=ze,this.hostListeners=ye,this.hostProperties=ct,this.hostAttributes=Fe,this.providers=ie(Se),this.viewProviders=ie(lt),this.queries=ie(kt),this.guards=ft,this.viewQueries=ie(jt),this.entryComponents=ie(Ne),this.template=Je,this.componentViewType=It,this.rendererType=Mt,this.componentFactory=Rr}toSummary(){return{summaryKind:I.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};u.CompileDirectiveMetadata=ne;var L=class{constructor(Q){let{type:U,name:q,pure:K}=Q;this.type=U,this.name=q,this.pure=!!K}toSummary(){return{summaryKind:I.Pipe,type:this.type,name:this.name,pure:this.pure}}};u.CompilePipeMetadata=L;var re=class{};u.CompileShallowModuleMetadata=re;var z=class{constructor(Q){let{type:U,providers:q,declaredDirectives:K,exportedDirectives:he,declaredPipes:Te,exportedPipes:_e,entryComponents:Pe,bootstrapComponents:ze,importedModules:ye,exportedModules:ct,schemas:Fe,transitiveModule:Se,id:lt}=Q;this.type=U||null,this.declaredDirectives=ie(K),this.exportedDirectives=ie(he),this.declaredPipes=ie(Te),this.exportedPipes=ie(_e),this.providers=ie(q),this.entryComponents=ie(Pe),this.bootstrapComponents=ie(ze),this.importedModules=ie(ye),this.exportedModules=ie(ct),this.schemas=ie(Fe),this.id=lt||null,this.transitiveModule=Se||null}toSummary(){let Q=this.transitiveModule;return{summaryKind:I.NgModule,type:this.type,entryComponents:Q.entryComponents,providers:Q.providers,modules:Q.modules,exportedDirectives:Q.exportedDirectives,exportedPipes:Q.exportedPipes}}};u.CompileNgModuleMetadata=z;var ue=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(Q,U){this.providers.push({provider:Q,module:U})}addDirective(Q){this.directivesSet.has(Q.reference)||(this.directivesSet.add(Q.reference),this.directives.push(Q))}addExportedDirective(Q){this.exportedDirectivesSet.has(Q.reference)||(this.exportedDirectivesSet.add(Q.reference),this.exportedDirectives.push(Q))}addPipe(Q){this.pipesSet.has(Q.reference)||(this.pipesSet.add(Q.reference),this.pipes.push(Q))}addExportedPipe(Q){this.exportedPipesSet.has(Q.reference)||(this.exportedPipesSet.add(Q.reference),this.exportedPipes.push(Q))}addModule(Q){this.modulesSet.has(Q.reference)||(this.modulesSet.add(Q.reference),this.modules.push(Q))}addEntryComponent(Q){this.entryComponentsSet.has(Q.componentType)||(this.entryComponentsSet.add(Q.componentType),this.entryComponents.push(Q))}};u.TransitiveCompileNgModuleMetadata=ue;function ie(Q){return Q||[]}var Be=class{constructor(Q,U){let{useClass:q,useValue:K,useExisting:he,useFactory:Te,deps:_e,multi:Pe}=U;this.token=Q,this.useClass=q||null,this.useValue=K,this.useExisting=he,this.useFactory=Te||null,this.dependencies=_e||null,this.multi=!!Pe}};u.ProviderMeta=Be;function N(Q){return Q.reduce((U,q)=>{let K=Array.isArray(q)?N(q):q;return U.concat(K)},[])}u.flatten=N;function Z(Q){return Q.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function B(Q,U,q){let K;return q.isInline?U.type.reference instanceof h.StaticSymbol?K=`${U.type.reference.filePath}.${U.type.reference.name}.html`:K=`${O(Q)}/${O(U.type)}.html`:K=q.templateUrl,U.type.reference instanceof h.StaticSymbol?K:Z(K)}u.templateSourceUrl=B;function j(Q,U){let q=Q.moduleUrl.split(/\/\\/g),K=q[q.length-1];return Z(`css/${U}${K}.ngstyle.js`)}u.sharedStylesheetJitUrl=j;function A(Q){return Z(`${O(Q.type)}/module.ngfactory.js`)}u.ngModuleJitUrl=A;function M(Q,U){return Z(`${O(Q)}/${O(U.type)}.ngfactory.js`)}u.templateJitUrl=M}}),hs=Oe({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(u){Ye(),Object.defineProperty(u,"__esModule",{value:!0});var h=Mr(),f=es(),d=class{constructor(F,k,I,T){this.file=F,this.offset=k,this.line=I,this.col=T}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(F){let k=this.file.content,I=k.length,T=this.offset,_=this.line,R=this.col;for(;T>0&&F<0;)if(T--,F++,k.charCodeAt(T)==h.$LF){_--;let W=k.substr(0,T-1).lastIndexOf(String.fromCharCode(h.$LF));R=W>0?T-W:T}else R--;for(;T<I&&F>0;){let W=k.charCodeAt(T);T++,F--,W==h.$LF?(_++,R=0):R++}return new d(this.file,T,_,R)}getContext(F,k){let I=this.file.content,T=this.offset;if(T!=null){T>I.length-1&&(T=I.length-1);let _=T,R=0,W=0;for(;R<F&&T>0&&(T--,R++,!(I[T]==`
|
||
`&&++W==k)););for(R=0,W=0;R<F&&_<I.length-1&&(_++,R++,!(I[_]==`
|
||
`&&++W==k)););return{before:I.substring(T,this.offset),after:I.substring(this.offset,_+1)}}return null}};u.ParseLocation=d;var y=class{constructor(F,k){this.content=F,this.url=k}};u.ParseSourceFile=y;var D=class{constructor(F,k){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=F,this.end=k,this.details=I}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};u.ParseSourceSpan=D,u.EMPTY_PARSE_LOCATION=new d(new y("",""),0,0,0),u.EMPTY_SOURCE_SPAN=new D(u.EMPTY_PARSE_LOCATION,u.EMPTY_PARSE_LOCATION);var O;(function(F){F[F.WARNING=0]="WARNING",F[F.ERROR=1]="ERROR"})(O=u.ParseErrorLevel||(u.ParseErrorLevel={}));var x=class{constructor(F,k){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:O.ERROR;this.span=F,this.msg=k,this.level=I}contextualMessage(){let F=this.span.start.getContext(100,3);return F?`${this.msg} ("${F.before}[${O[this.level]} ->]${F.after}")`:this.msg}toString(){let F=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${F}`}};u.ParseError=x;function v(F,k){let I=f.identifierModuleUrl(k),T=I!=null?`in ${F} ${f.identifierName(k)} in ${I}`:`in ${F} ${f.identifierName(k)}`,_=new y("",T);return new D(new d(_,-1,-1,-1),new d(_,-1,-1,-1))}u.typeSourceSpan=v;function E(F,k,I){let T=`in ${F} ${k} in ${I}`,_=new y("",T);return new D(new d(_,-1,-1,-1),new d(_,-1,-1,-1))}u.r3JitTypeSourceSpan=E}}),Zi=Oe({"src/language-html/print-preprocess.js"(u,h){Ye();var{ParseSourceSpan:f}=hs(),{htmlTrim:d,getLeadingAndTrailingHtmlWhitespace:y,hasHtmlWhitespace:D,canHaveInterpolation:O,getNodeCssStyleDisplay:x,isDanglingSpaceSensitiveNode:v,isIndentationSensitiveNode:E,isLeadingSpaceSensitiveNode:F,isTrailingSpaceSensitiveNode:k,isWhitespaceSensitiveNode:I,isVueScriptTag:T}=hr(),_=[W,ne,re,ue,ie,Z,Be,N,B,z,j];function R(A,M){for(let Q of _)Q(A,M);return A}function W(A){A.walk(M=>{if(M.type==="element"&&M.tagDefinition.ignoreFirstLf&&M.children.length>0&&M.children[0].type==="text"&&M.children[0].value[0]===`
|
||
`){let Q=M.children[0];Q.value.length===1?M.removeChild(Q):Q.value=Q.value.slice(1)}})}function ne(A){let M=Q=>Q.type==="element"&&Q.prev&&Q.prev.type==="ieConditionalStartComment"&&Q.prev.sourceSpan.end.offset===Q.startSourceSpan.start.offset&&Q.firstChild&&Q.firstChild.type==="ieConditionalEndComment"&&Q.firstChild.sourceSpan.start.offset===Q.startSourceSpan.end.offset;A.walk(Q=>{if(Q.children)for(let U=0;U<Q.children.length;U++){let q=Q.children[U];if(!M(q))continue;let K=q.prev,he=q.firstChild;Q.removeChild(K),U--;let Te=new f(K.sourceSpan.start,he.sourceSpan.end),_e=new f(Te.start,q.sourceSpan.end);q.condition=K.condition,q.sourceSpan=_e,q.startSourceSpan=Te,q.removeChild(he)}})}function L(A,M,Q){A.walk(U=>{if(U.children)for(let q=0;q<U.children.length;q++){let K=U.children[q];if(K.type!=="text"&&!M(K))continue;K.type!=="text"&&(K.type="text",K.value=Q(K));let he=K.prev;!he||he.type!=="text"||(he.value+=K.value,he.sourceSpan=new f(he.sourceSpan.start,K.sourceSpan.end),U.removeChild(K),q--)}})}function re(A){return L(A,M=>M.type==="cdata",M=>`<![CDATA[${M.value}]]>`)}function z(A){let M=Q=>Q.type==="element"&&Q.attrs.length===0&&Q.children.length===1&&Q.firstChild.type==="text"&&!D(Q.children[0].value)&&!Q.firstChild.hasLeadingSpaces&&!Q.firstChild.hasTrailingSpaces&&Q.isLeadingSpaceSensitive&&!Q.hasLeadingSpaces&&Q.isTrailingSpaceSensitive&&!Q.hasTrailingSpaces&&Q.prev&&Q.prev.type==="text"&&Q.next&&Q.next.type==="text";A.walk(Q=>{if(Q.children)for(let U=0;U<Q.children.length;U++){let q=Q.children[U];if(!M(q))continue;let K=q.prev,he=q.next;K.value+=`<${q.rawName}>`+q.firstChild.value+`</${q.rawName}>`+he.value,K.sourceSpan=new f(K.sourceSpan.start,he.sourceSpan.end),K.isTrailingSpaceSensitive=he.isTrailingSpaceSensitive,K.hasTrailingSpaces=he.hasTrailingSpaces,Q.removeChild(q),U--,Q.removeChild(he)}})}function ue(A,M){if(M.parser==="html")return;let Q=/{{(.+?)}}/s;A.walk(U=>{if(O(U))for(let q of U.children){if(q.type!=="text")continue;let K=q.sourceSpan.start,he=null,Te=q.value.split(Q);for(let _e=0;_e<Te.length;_e++,K=he){let Pe=Te[_e];if(_e%2===0){he=K.moveBy(Pe.length),Pe.length>0&&U.insertChildBefore(q,{type:"text",value:Pe,sourceSpan:new f(K,he)});continue}he=K.moveBy(Pe.length+4),U.insertChildBefore(q,{type:"interpolation",sourceSpan:new f(K,he),children:Pe.length===0?[]:[{type:"text",value:Pe,sourceSpan:new f(K.moveBy(2),he.moveBy(-2))}]})}U.removeChild(q)}})}function ie(A){A.walk(M=>{if(!M.children)return;if(M.children.length===0||M.children.length===1&&M.children[0].type==="text"&&d(M.children[0].value).length===0){M.hasDanglingSpaces=M.children.length>0,M.children=[];return}let Q=I(M),U=E(M);if(!Q)for(let q=0;q<M.children.length;q++){let K=M.children[q];if(K.type!=="text")continue;let{leadingWhitespace:he,text:Te,trailingWhitespace:_e}=y(K.value),Pe=K.prev,ze=K.next;Te?(K.value=Te,K.sourceSpan=new f(K.sourceSpan.start.moveBy(he.length),K.sourceSpan.end.moveBy(-_e.length)),he&&(Pe&&(Pe.hasTrailingSpaces=!0),K.hasLeadingSpaces=!0),_e&&(K.hasTrailingSpaces=!0,ze&&(ze.hasLeadingSpaces=!0))):(M.removeChild(K),q--,(he||_e)&&(Pe&&(Pe.hasTrailingSpaces=!0),ze&&(ze.hasLeadingSpaces=!0)))}M.isWhitespaceSensitive=Q,M.isIndentationSensitive=U})}function Be(A){A.walk(M=>{M.isSelfClosing=!M.children||M.type==="element"&&(M.tagDefinition.isVoid||M.startSourceSpan===M.endSourceSpan)})}function N(A,M){A.walk(Q=>{Q.type==="element"&&(Q.hasHtmComponentClosingTag=Q.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(M.originalText.slice(Q.endSourceSpan.start.offset,Q.endSourceSpan.end.offset)))})}function Z(A,M){A.walk(Q=>{Q.cssDisplay=x(Q,M)})}function B(A,M){A.walk(Q=>{let{children:U}=Q;if(U){if(U.length===0){Q.isDanglingSpaceSensitive=v(Q);return}for(let q of U)q.isLeadingSpaceSensitive=F(q,M),q.isTrailingSpaceSensitive=k(q,M);for(let q=0;q<U.length;q++){let K=U[q];K.isLeadingSpaceSensitive=(q===0||K.prev.isTrailingSpaceSensitive)&&K.isLeadingSpaceSensitive,K.isTrailingSpaceSensitive=(q===U.length-1||K.next.isLeadingSpaceSensitive)&&K.isTrailingSpaceSensitive}}})}function j(A,M){if(M.parser==="vue"){let Q=A.children.find(q=>T(q,M));if(!Q)return;let{lang:U}=Q.attrMap;(U==="ts"||U==="typescript")&&(M.__should_parse_vue_template_with_ts=!0)}}h.exports=R}}),_r=Oe({"src/language-html/pragma.js"(u,h){Ye();function f(y){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(y)}function d(y){return`<!-- @format -->
|
||
|
||
`+y.replace(/^\s*\n/,"")}h.exports={hasPragma:f,insertPragma:d}}}),Dn=Oe({"src/language-html/loc.js"(u,h){Ye();function f(y){return y.sourceSpan.start.offset}function d(y){return y.sourceSpan.end.offset}h.exports={locStart:f,locEnd:d}}}),ci=Oe({"src/language-html/print/tag.js"(u,h){Ye();var f=cs(),{isNonEmptyArray:d}=fi(),{builders:{indent:y,join:D,line:O,softline:x,hardline:v},utils:{replaceTextEndOfLine:E}}=Ln(),{locStart:F,locEnd:k}=Dn(),{isTextLikeNode:I,getLastDescendant:T,isPreLikeNode:_,hasPrettierIgnore:R,shouldPreserveContent:W,isVueSfcBlock:ne}=hr();function L(ye,ct){return[ye.isSelfClosing?"":re(ye,ct),z(ye,ct)]}function re(ye,ct){return ye.lastChild&&A(ye.lastChild)?"":[ue(ye,ct),Be(ye,ct)]}function z(ye,ct){return(ye.next?B(ye.next):j(ye.parent))?"":[N(ye,ct),ie(ye,ct)]}function ue(ye,ct){return j(ye)?N(ye.lastChild,ct):""}function ie(ye,ct){return A(ye)?Be(ye.parent,ct):M(ye)?Pe(ye.next):""}function Be(ye,ct){if(f(!ye.isSelfClosing),Z(ye,ct))return"";switch(ye.type){case"ieConditionalComment":return"<!";case"element":if(ye.hasHtmComponentClosingTag)return"<//";default:return`</${ye.rawName}`}}function N(ye,ct){if(Z(ye,ct))return"";switch(ye.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(ye.isSelfClosing)return"/>";default:return">"}}function Z(ye,ct){return!ye.isSelfClosing&&!ye.endSourceSpan&&(R(ye)||W(ye.parent,ct))}function B(ye){return ye.prev&&ye.prev.type!=="docType"&&!I(ye.prev)&&ye.isLeadingSpaceSensitive&&!ye.hasLeadingSpaces}function j(ye){return ye.lastChild&&ye.lastChild.isTrailingSpaceSensitive&&!ye.lastChild.hasTrailingSpaces&&!I(T(ye.lastChild))&&!_(ye)}function A(ye){return!ye.next&&!ye.hasTrailingSpaces&&ye.isTrailingSpaceSensitive&&I(T(ye))}function M(ye){return ye.next&&!I(ye.next)&&I(ye)&&ye.isTrailingSpaceSensitive&&!ye.hasTrailingSpaces}function Q(ye){let ct=ye.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return ct?ct[1]?ct[1].split(/\s+/):!0:!1}function U(ye){return!ye.prev&&ye.isLeadingSpaceSensitive&&!ye.hasLeadingSpaces}function q(ye,ct,Fe){let Se=ye.getValue();if(!d(Se.attrs))return Se.isSelfClosing?" ":"";let lt=Se.prev&&Se.prev.type==="comment"&&Q(Se.prev.value),kt=typeof lt=="boolean"?()=>lt:Array.isArray(lt)?It=>lt.includes(It.rawName):()=>!1,ft=ye.map(It=>{let Mt=It.getValue();return kt(Mt)?E(ct.originalText.slice(F(Mt),k(Mt))):Fe()},"attrs"),jt=Se.type==="element"&&Se.fullName==="script"&&Se.attrs.length===1&&Se.attrs[0].fullName==="src"&&Se.children.length===0,Ne=ct.singleAttributePerLine&&Se.attrs.length>1&&!ne(Se,ct)?v:O,Je=[y([jt?" ":O,D(Ne,ft)])];return Se.firstChild&&U(Se.firstChild)||Se.isSelfClosing&&j(Se.parent)||jt?Je.push(Se.isSelfClosing?" ":""):Je.push(ct.bracketSameLine?Se.isSelfClosing?" ":"":Se.isSelfClosing?O:x),Je}function K(ye){return ye.firstChild&&U(ye.firstChild)?"":ze(ye)}function he(ye,ct,Fe){let Se=ye.getValue();return[Te(Se,ct),q(ye,ct,Fe),Se.isSelfClosing?"":K(Se)]}function Te(ye,ct){return ye.prev&&M(ye.prev)?"":[_e(ye,ct),Pe(ye)]}function _e(ye,ct){return U(ye)?ze(ye.parent):B(ye)?N(ye.prev,ct):""}function Pe(ye){switch(ye.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${ye.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(ye.condition)return`<!--[if ${ye.condition}]><!--><${ye.rawName}`;default:return`<${ye.rawName}`}}function ze(ye){switch(f(!ye.isSelfClosing),ye.type){case"ieConditionalComment":return"]>";case"element":if(ye.condition)return"><!--<![endif]-->";default:return">"}}h.exports={printClosingTag:L,printClosingTagStart:re,printClosingTagStartMarker:Be,printClosingTagEndMarker:N,printClosingTagSuffix:ie,printClosingTagEnd:z,needsToBorrowLastChildClosingTagEndMarker:j,needsToBorrowParentClosingTagStartMarker:A,needsToBorrowPrevClosingTagEndMarker:B,printOpeningTag:he,printOpeningTagStart:Te,printOpeningTagPrefix:_e,printOpeningTagStartMarker:Pe,printOpeningTagEndMarker:ze,needsToBorrowNextOpeningTagStartMarker:M,needsToBorrowParentOpeningTagEndMarker:U}}}),Kn=Oe({"node_modules/parse-srcset/src/parse-srcset.js"(u,h){Ye(),function(f,d){typeof h=="object"&&h.exports?h.exports=d():f.parseSrcset=d()}(u,function(){return function(f,d){var y=d&&d.logger||console;function D(Be){return Be===" "||Be===" "||Be===`
|
||
`||Be==="\f"||Be==="\r"}function O(Be){var N,Z=Be.exec(f.substring(re));if(Z)return N=Z[0],re+=N.length,N}for(var x=f.length,v=/^[ \t\n\r\u000c]+/,E=/^[, \t\n\r\u000c]+/,F=/^[^ \t\n\r\u000c]+/,k=/[,]+$/,I=/^\d+$/,T=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_,R,W,ne,L,re=0,z=[];;){if(O(E),re>=x)return z;_=O(F),R=[],_.slice(-1)===","?(_=_.replace(k,""),ie()):ue()}function ue(){for(O(v),W="",ne="in descriptor";;){if(L=f.charAt(re),ne==="in descriptor")if(D(L))W&&(R.push(W),W="",ne="after descriptor");else if(L===","){re+=1,W&&R.push(W),ie();return}else if(L==="(")W=W+L,ne="in parens";else if(L===""){W&&R.push(W),ie();return}else W=W+L;else if(ne==="in parens")if(L===")")W=W+L,ne="in descriptor";else if(L===""){R.push(W),ie();return}else W=W+L;else if(ne==="after descriptor"&&!D(L))if(L===""){ie();return}else ne="in descriptor",re-=1;re+=1}}function ie(){var Be=!1,N,Z,B,j,A={},M,Q,U,q,K;for(j=0;j<R.length;j++)M=R[j],Q=M[M.length-1],U=M.substring(0,M.length-1),q=parseInt(U,10),K=parseFloat(U),I.test(U)&&Q==="w"?((N||Z)&&(Be=!0),q===0?Be=!0:N=q):T.test(U)&&Q==="x"?((N||Z||B)&&(Be=!0),K<0?Be=!0:Z=K):I.test(U)&&Q==="h"?((B||Z)&&(Be=!0),q===0?Be=!0:B=q):Be=!0;Be?y&&y.error&&y.error("Invalid srcset descriptor found in '"+f+"' at '"+M+"'."):(A.url=_,N&&(A.w=N),Z&&(A.d=Z),B&&(A.h=B),z.push(A))}}})}}),hi=Oe({"src/language-html/syntax-attribute.js"(u,h){Ye();var f=Kn(),{builders:{ifBreak:d,join:y,line:D}}=Ln();function O(v){let E=f(v,{logger:{error(ue){throw new Error(ue)}}}),F=E.some(ue=>{let{w:ie}=ue;return ie}),k=E.some(ue=>{let{h:ie}=ue;return ie}),I=E.some(ue=>{let{d:ie}=ue;return ie});if(F+k+I>1)throw new Error("Mixed descriptor in srcset is not supported");let T=F?"w":k?"h":"d",_=F?"w":k?"h":"x",R=ue=>Math.max(...ue),W=E.map(ue=>ue.url),ne=R(W.map(ue=>ue.length)),L=E.map(ue=>ue[T]).map(ue=>ue?ue.toString():""),re=L.map(ue=>{let ie=ue.indexOf(".");return ie===-1?ue.length:ie}),z=R(re);return y([",",D],W.map((ue,ie)=>{let Be=[ue],N=L[ie];if(N){let Z=ne-ue.length+1,B=z-re[ie],j=" ".repeat(Z+B);Be.push(d(j," "),N+_)}return Be}))}function x(v){return v.trim().split(/\s+/).join(" ")}h.exports={printImgSrcset:O,printClassNames:x}}}),Tt=Oe({"src/language-html/syntax-vue.js"(u,h){Ye();var{builders:{group:f}}=Ln();function d(x,v){let{left:E,operator:F,right:k}=y(x);return[f(v(`function _(${E}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",F," ",v(k,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function y(x){let v=/(.*?)\s+(in|of)\s+(.*)/s,E=/,([^,\]}]*)(?:,([^,\]}]*))?$/,F=/^\(|\)$/g,k=x.match(v);if(!k)return;let I={};if(I.for=k[3].trim(),!I.for)return;let T=k[1].trim().replace(F,""),_=T.match(E);_?(I.alias=T.replace(E,""),I.iterator1=_[1].trim(),_[2]&&(I.iterator2=_[2].trim())):I.alias=T;let R=[I.alias,I.iterator1,I.iterator2];if(!R.some((W,ne)=>!W&&(ne===0||R.slice(ne+1).some(Boolean))))return{left:R.filter(Boolean).join(","),operator:k[2],right:I.for}}function D(x,v){return v(`function _(${x}) {}`,{parser:"babel",__isVueBindings:!0})}function O(x){let v=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,E=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,F=x.trim();return v.test(F)||E.test(F)}h.exports={isVueEventBindingExpression:O,printVueFor:d,printVueBindings:D}}}),Jt=Oe({"src/language-html/get-node-content.js"(u,h){Ye();var{needsToBorrowParentClosingTagStartMarker:f,printClosingTagStartMarker:d,needsToBorrowLastChildClosingTagEndMarker:y,printClosingTagEndMarker:D,needsToBorrowParentOpeningTagEndMarker:O,printOpeningTagEndMarker:x}=ci();function v(E,F){let k=E.startSourceSpan.end.offset;E.firstChild&&O(E.firstChild)&&(k-=x(E).length);let I=E.endSourceSpan.start.offset;return E.lastChild&&f(E.lastChild)?I+=d(E,F).length:y(E)&&(I-=D(E.lastChild,F).length),F.originalText.slice(k,I)}h.exports=v}}),nr=Oe({"src/language-html/embed.js"(u,h){Ye();var{builders:{breakParent:f,group:d,hardline:y,indent:D,line:O,fill:x,softline:v},utils:{mapDoc:E,replaceTextEndOfLine:F}}=Ln(),k=Ac(),{printClosingTag:I,printClosingTagSuffix:T,needsToBorrowPrevClosingTagEndMarker:_,printOpeningTagPrefix:R,printOpeningTag:W}=ci(),{printImgSrcset:ne,printClassNames:L}=hi(),{printVueFor:re,printVueBindings:z,isVueEventBindingExpression:ue}=Tt(),{isScriptLikeTag:ie,isVueNonHtmlBlock:Be,inferScriptParser:N,htmlTrimPreserveIndentation:Z,dedentString:B,unescapeQuoteEntities:j,isVueSlotAttribute:A,isVueSfcBindingsAttribute:M,getTextValueParts:Q}=hr(),U=Jt();function q(he,Te,_e){let Pe=ft=>new RegExp(ft.join("|")).test(he.fullName),ze=()=>j(he.value),ye=!1,ct=(ft,jt)=>{let Ne=ft.type==="NGRoot"?ft.node.type==="NGMicrosyntax"&&ft.node.body.length===1&&ft.node.body[0].type==="NGMicrosyntaxExpression"?ft.node.body[0].expression:ft.node:ft.type==="JsExpressionRoot"?ft.node:ft;Ne&&(Ne.type==="ObjectExpression"||Ne.type==="ArrayExpression"||jt.parser==="__vue_expression"&&(Ne.type==="TemplateLiteral"||Ne.type==="StringLiteral"))&&(ye=!0)},Fe=ft=>d(ft),Se=function(ft){let jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return d([D([v,ft]),jt?v:""])},lt=ft=>ye?Fe(ft):Se(ft),kt=(ft,jt)=>Te(ft,Object.assign({__onHtmlBindingRoot:ct,__embeddedInHtml:!0},jt));if(he.fullName==="srcset"&&(he.parent.fullName==="img"||he.parent.fullName==="source"))return Se(ne(ze()));if(he.fullName==="class"&&!_e.parentParser){let ft=ze();if(!ft.includes("{{"))return L(ft)}if(he.fullName==="style"&&!_e.parentParser){let ft=ze();if(!ft.includes("{{"))return Se(kt(ft,{parser:"css",__isHTMLStyleAttribute:!0}))}if(_e.parser==="vue"){if(he.fullName==="v-for")return re(ze(),kt);if(A(he)||M(he,_e))return z(ze(),kt);let ft=["^@","^v-on:"],jt=["^:","^v-bind:"],Ne=["^v-"];if(Pe(ft)){let Je=ze(),It=ue(Je)?"__js_expression":_e.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return lt(kt(Je,{parser:It}))}if(Pe(jt))return lt(kt(ze(),{parser:"__vue_expression"}));if(Pe(Ne))return lt(kt(ze(),{parser:"__js_expression"}))}if(_e.parser==="angular"){let ft=(rt,Ue)=>kt(rt,Object.assign(Object.assign({},Ue),{},{trailingComma:"none"})),jt=["^\\*"],Ne=["^\\(.+\\)$","^on-"],Je=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],It=["^i18n(-.+)?$"];if(Pe(Ne))return lt(ft(ze(),{parser:"__ng_action"}));if(Pe(Je))return lt(ft(ze(),{parser:"__ng_binding"}));if(Pe(It)){let rt=ze().trim();return Se(x(Q(he,rt)),!rt.includes("@@"))}if(Pe(jt))return lt(ft(ze(),{parser:"__ng_directive"}));let Mt=/{{(.+?)}}/s,Rr=ze();if(Mt.test(Rr)){let rt=[];for(let[Ue,mt]of Rr.split(Mt).entries())if(Ue%2===0)rt.push(F(mt));else try{rt.push(d(["{{",D([O,ft(mt,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),O,"}}"]))}catch{rt.push("{{",F(mt),"}}")}return d(rt)}}return null}function K(he,Te,_e,Pe){let ze=he.getValue();switch(ze.type){case"element":{if(ie(ze)||ze.type==="interpolation")return;if(!ze.isSelfClosing&&Be(ze,Pe)){let ye=N(ze,Pe);if(!ye)return;let ct=U(ze,Pe),Fe=/^\s*$/.test(ct),Se="";return Fe||(Se=_e(Z(ct),{parser:ye,__embeddedInHtml:!0},{stripTrailingHardline:!0}),Fe=Se===""),[R(ze,Pe),d(W(he,Pe,Te)),Fe?"":y,Se,Fe?"":y,I(ze,Pe),T(ze,Pe)]}break}case"text":{if(ie(ze.parent)){let ye=N(ze.parent,Pe);if(ye){let ct=ye==="markdown"?B(ze.value.replace(/^[^\S\n]*\n/,"")):ze.value,Fe={parser:ye,__embeddedInHtml:!0};if(Pe.parser==="html"&&ye==="babel"){let Se="script",{attrMap:lt}=ze.parent;lt&&(lt.type==="module"||lt.type==="text/babel"&<["data-type"]==="module")&&(Se="module"),Fe.__babelSourceType=Se}return[f,R(ze,Pe),_e(ct,Fe,{stripTrailingHardline:!0}),T(ze,Pe)]}}else if(ze.parent.type==="interpolation"){let ye={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return Pe.parser==="angular"?(ye.parser="__ng_interpolation",ye.trailingComma="none"):Pe.parser==="vue"?ye.parser=Pe.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":ye.parser="__js_expression",[D([O,_e(ze.value,ye,{stripTrailingHardline:!0})]),ze.parent.next&&_(ze.parent.next)?" ":O]}break}case"attribute":{if(!ze.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(Pe.originalText.slice(ze.valueSpan.start.offset,ze.valueSpan.end.offset)))return[ze.rawName,"=",ze.value];if(Pe.parser==="lwc"&&/^{.*}$/s.test(Pe.originalText.slice(ze.valueSpan.start.offset,ze.valueSpan.end.offset)))return[ze.rawName,"=",ze.value];let ye=q(ze,(ct,Fe)=>_e(ct,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},Fe),{stripTrailingHardline:!0}),Pe);if(ye)return[ze.rawName,'="',d(E(ye,ct=>typeof ct=="string"?ct.replace(/"/g,"""):ct)),'"'];break}case"front-matter":return k(ze,_e)}}h.exports=K}}),Gr=Oe({"src/language-html/print/children.js"(u,h){Ye();var{builders:{breakParent:f,group:d,ifBreak:y,line:D,softline:O,hardline:x},utils:{replaceTextEndOfLine:v}}=Ln(),{locStart:E,locEnd:F}=Dn(),{forceBreakChildren:k,forceNextEmptyLine:I,isTextLikeNode:T,hasPrettierIgnore:_,preferHardlineAsLeadingSpaces:R}=hr(),{printOpeningTagPrefix:W,needsToBorrowNextOpeningTagStartMarker:ne,printOpeningTagStartMarker:L,needsToBorrowPrevClosingTagEndMarker:re,printClosingTagEndMarker:z,printClosingTagSuffix:ue,needsToBorrowParentClosingTagStartMarker:ie}=ci();function Be(B,j,A){let M=B.getValue();return _(M)?[W(M,j),...v(j.originalText.slice(E(M)+(M.prev&&ne(M.prev)?L(M).length:0),F(M)-(M.next&&re(M.next)?z(M,j).length:0))),ue(M,j)]:A()}function N(B,j){return T(B)&&T(j)?B.isTrailingSpaceSensitive?B.hasTrailingSpaces?R(j)?x:D:"":R(j)?x:O:ne(B)&&(_(j)||j.firstChild||j.isSelfClosing||j.type==="element"&&j.attrs.length>0)||B.type==="element"&&B.isSelfClosing&&re(j)?"":!j.isLeadingSpaceSensitive||R(j)||re(j)&&B.lastChild&&ie(B.lastChild)&&B.lastChild.lastChild&&ie(B.lastChild.lastChild)?x:j.hasLeadingSpaces?D:O}function Z(B,j,A){let M=B.getValue();if(k(M))return[f,...B.map(U=>{let q=U.getValue(),K=q.prev?N(q.prev,q):"";return[K?[K,I(q.prev)?x:""]:"",Be(U,j,A)]},"children")];let Q=M.children.map(()=>Symbol(""));return B.map((U,q)=>{let K=U.getValue();if(T(K)){if(K.prev&&T(K.prev)){let ct=N(K.prev,K);if(ct)return I(K.prev)?[x,x,Be(U,j,A)]:[ct,Be(U,j,A)]}return Be(U,j,A)}let he=[],Te=[],_e=[],Pe=[],ze=K.prev?N(K.prev,K):"",ye=K.next?N(K,K.next):"";return ze&&(I(K.prev)?he.push(x,x):ze===x?he.push(x):T(K.prev)?Te.push(ze):Te.push(y("",O,{groupId:Q[q-1]}))),ye&&(I(K)?T(K.next)&&Pe.push(x,x):ye===x?T(K.next)&&Pe.push(x):_e.push(ye)),[...he,d([...Te,d([Be(U,j,A),..._e],{id:Q[q]})]),...Pe]},"children")}h.exports={printChildren:Z}}}),St=Oe({"src/language-html/print/element.js"(u,h){Ye();var{builders:{breakParent:f,dedentToRoot:d,group:y,ifBreak:D,indentIfBreak:O,indent:x,line:v,softline:E},utils:{replaceTextEndOfLine:F}}=Ln(),k=Jt(),{shouldPreserveContent:I,isScriptLikeTag:T,isVueCustomBlock:_,countParents:R,forceBreakContent:W}=hr(),{printOpeningTagPrefix:ne,printOpeningTag:L,printClosingTagSuffix:re,printClosingTag:z,needsToBorrowPrevClosingTagEndMarker:ue,needsToBorrowLastChildClosingTagEndMarker:ie}=ci(),{printChildren:Be}=Gr();function N(Z,B,j){let A=Z.getValue();if(I(A,B))return[ne(A,B),y(L(Z,B,j)),...F(k(A,B)),...z(A,B),re(A,B)];let M=A.children.length===1&&A.firstChild.type==="interpolation"&&A.firstChild.isLeadingSpaceSensitive&&!A.firstChild.hasLeadingSpaces&&A.lastChild.isTrailingSpaceSensitive&&!A.lastChild.hasTrailingSpaces,Q=Symbol("element-attr-group-id"),U=Te=>y([y(L(Z,B,j),{id:Q}),Te,z(A,B)]),q=Te=>M?O(Te,{groupId:Q}):(T(A)||_(A,B))&&A.parent.type==="root"&&B.parser==="vue"&&!B.vueIndentScriptAndStyle?Te:x(Te),K=()=>M?D(E,"",{groupId:Q}):A.firstChild.hasLeadingSpaces&&A.firstChild.isLeadingSpaceSensitive?v:A.firstChild.type==="text"&&A.isWhitespaceSensitive&&A.isIndentationSensitive?d(E):E,he=()=>(A.next?ue(A.next):ie(A.parent))?A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?" ":"":M?D(E,"",{groupId:Q}):A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?v:(A.lastChild.type==="comment"||A.lastChild.type==="text"&&A.isWhitespaceSensitive&&A.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${B.tabWidth*R(Z,Te=>Te.parent&&Te.parent.type!=="root")}}$`).test(A.lastChild.value)?"":E;return A.children.length===0?U(A.hasDanglingSpaces&&A.isDanglingSpaceSensitive?v:""):U([W(A)?f:"",q([K(),Be(Z,B,j)]),he()])}h.exports={printElement:N}}}),An=Oe({"src/language-html/printer-html.js"(u,h){Ye();var{builders:{fill:f,group:d,hardline:y,literalline:D},utils:{cleanDoc:O,getDocParts:x,isConcat:v,replaceTextEndOfLine:E}}=Ln(),F=Tn(),{countChars:k,unescapeQuoteEntities:I,getTextValueParts:T}=hr(),_=Zi(),{insertPragma:R}=_r(),{locStart:W,locEnd:ne}=Dn(),L=nr(),{printClosingTagSuffix:re,printClosingTagEnd:z,printOpeningTagPrefix:ue,printOpeningTagStart:ie}=ci(),{printElement:Be}=St(),{printChildren:N}=Gr();function Z(B,j,A){let M=B.getValue();switch(M.type){case"front-matter":return E(M.raw);case"root":return j.__onHtmlRoot&&j.__onHtmlRoot(M),[d(N(B,j,A)),y];case"element":case"ieConditionalComment":return Be(B,j,A);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ie(M),z(M)];case"interpolation":return[ie(M,j),...B.map(A,"children"),z(M,j)];case"text":{if(M.parent.type==="interpolation"){let U=/\n[^\S\n]*$/,q=U.test(M.value),K=q?M.value.replace(U,""):M.value;return[...E(K),q?y:""]}let Q=O([ue(M,j),...T(M),re(M,j)]);return v(Q)||Q.type==="fill"?f(x(Q)):Q}case"docType":return[d([ie(M,j)," ",M.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),z(M,j)];case"comment":return[ue(M,j),...E(j.originalText.slice(W(M),ne(M)),D),re(M,j)];case"attribute":{if(M.value===null)return M.rawName;let Q=I(M.value),U=k(Q,"'"),q=k(Q,'"'),K=U<q?"'":'"';return[M.rawName,"=",K,...E(K==='"'?Q.replace(/"/g,"""):Q.replace(/'/g,"'")),K]}default:throw new Error(`Unexpected node type ${M.type}`)}}h.exports={preprocess:_,print:Z,insertPragma:R,massageAstNode:F,embed:L}}}),fn=Oe({"src/language-html/options.js"(u,h){Ye();var f=gu(),d="HTML";h.exports={bracketSameLine:f.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:d,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:f.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:d,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),ro=Oe({"src/language-html/parsers.js"(){Ye()}}),qi=Oe({"node_modules/linguist-languages/data/HTML.json"(u,h){h.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Vs=Oe({"node_modules/linguist-languages/data/Vue.json"(u,h){h.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),ia=Oe({"src/language-html/index.js"(u,h){Ye();var f=Ms(),d=An(),y=fn(),D=ro(),O=[f(qi(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),f(qi(),v=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...v.extensions,".mjml"]})),f(qi(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),f(Vs(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],x={html:d};h.exports={languages:O,printers:x,options:y,parsers:D}}}),uo=Oe({"src/language-yaml/pragma.js"(u,h){Ye();function f(D){return/^\s*@(?:prettier|format)\s*$/.test(D)}function d(D){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(D)}function y(D){return`# @format
|
||
|
||
${D}`}h.exports={isPragma:f,hasPragma:d,insertPragma:y}}}),Rs=Oe({"src/language-yaml/loc.js"(u,h){Ye();function f(y){return y.position.start.offset}function d(y){return y.position.end.offset}h.exports={locStart:f,locEnd:d}}}),No=Oe({"src/language-yaml/embed.js"(u,h){Ye();function f(d,y,D,O){if(d.getValue().type==="root"&&O.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(O.filepath))return D(O.originalText,Object.assign(Object.assign({},O),{},{parser:"json"}))}h.exports=f}}),ks=Oe({"src/language-yaml/utils.js"(u,h){Ye();var{getLast:f,isNonEmptyArray:d}=fi();function y(N,Z){let B=0,j=N.stack.length-1;for(let A=0;A<j;A++){let M=N.stack[A];D(M)&&Z(M)&&B++}return B}function D(N,Z){return N&&typeof N.type=="string"&&(!Z||Z.includes(N.type))}function O(N,Z,B){return Z("children"in N?Object.assign(Object.assign({},N),{},{children:N.children.map(j=>O(j,Z,N))}):N,B)}function x(N,Z,B){Object.defineProperty(N,Z,{get:B,enumerable:!1})}function v(N,Z){let B=0,j=Z.length;for(let A=N.position.end.offset-1;A<j;A++){let M=Z[A];if(M===`
|
||
`&&B++,B===1&&/\S/.test(M))return!1;if(B===2)return!0}return!1}function E(N){switch(N.getValue().type){case"tag":case"anchor":case"comment":return!1}let Z=N.stack.length;for(let B=1;B<Z;B++){let j=N.stack[B],A=N.stack[B-1];if(Array.isArray(A)&&typeof j=="number"&&j!==A.length-1)return!1}return!0}function F(N){return d(N.children)?F(f(N.children)):N}function k(N){return N.value.trim()==="prettier-ignore"}function I(N){let Z=N.getValue();if(Z.type==="documentBody"){let B=N.getParentNode();return re(B.head)&&k(f(B.head.endComments))}return R(Z)&&k(f(Z.leadingComments))}function T(N){return!d(N.children)&&!_(N)}function _(N){return R(N)||W(N)||ne(N)||L(N)||re(N)}function R(N){return d(N==null?void 0:N.leadingComments)}function W(N){return d(N==null?void 0:N.middleComments)}function ne(N){return N==null?void 0:N.indicatorComment}function L(N){return N==null?void 0:N.trailingComment}function re(N){return d(N==null?void 0:N.endComments)}function z(N){let Z=[],B;for(let j of N.split(/( +)/))j!==" "?B===" "?Z.push(j):Z.push((Z.pop()||"")+j):B===void 0&&Z.unshift(""),B=j;return B===" "&&Z.push((Z.pop()||"")+" "),Z[0]===""&&(Z.shift(),Z.unshift(" "+(Z.shift()||""))),Z}function ue(N,Z,B){let j=Z.split(`
|
||
`).map((A,M,Q)=>M===0&&M===Q.length-1?A:M!==0&&M!==Q.length-1?A.trim():M===0?A.trimEnd():A.trimStart());return B.proseWrap==="preserve"?j.map(A=>A.length===0?[]:[A]):j.map(A=>A.length===0?[]:z(A)).reduce((A,M,Q)=>Q!==0&&j[Q-1].length>0&&M.length>0&&!(N==="quoteDouble"&&f(f(A)).endsWith("\\"))?[...A.slice(0,-1),[...f(A),...M]]:[...A,M],[]).map(A=>B.proseWrap==="never"?[A.join(" ")]:A)}function ie(N,Z){let{parentIndent:B,isLastDescendant:j,options:A}=Z,M=N.position.start.line===N.position.end.line?"":A.originalText.slice(N.position.start.offset,N.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],Q;if(N.indent===null){let K=M.match(/^(?<leadingSpace> *)[^\n\r ]/m);Q=K?K.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else Q=N.indent-1+B;let U=M.split(`
|
||
`).map(K=>K.slice(Q));if(A.proseWrap==="preserve"||N.type==="blockLiteral")return q(U.map(K=>K.length===0?[]:[K]));return q(U.map(K=>K.length===0?[]:z(K)).reduce((K,he,Te)=>Te!==0&&U[Te-1].length>0&&he.length>0&&!/^\s/.test(he[0])&&!/^\s|\s$/.test(f(K))?[...K.slice(0,-1),[...f(K),...he]]:[...K,he],[]).map(K=>K.reduce((he,Te)=>he.length>0&&/\s$/.test(f(he))?[...he.slice(0,-1),f(he)+" "+Te]:[...he,Te],[])).map(K=>A.proseWrap==="never"?[K.join(" ")]:K));function q(K){if(N.chomping==="keep")return f(K).length===0?K.slice(0,-1):K;let he=0;for(let Te=K.length-1;Te>=0&&K[Te].length===0;Te--)he++;return he===0?K:he>=2&&!j?K.slice(0,-(he-1)):K.slice(0,-he)}}function Be(N){if(!N)return!0;switch(N.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}h.exports={getLast:f,getAncestorCount:y,isNode:D,isEmptyNode:T,isInlineNode:Be,mapNode:O,defineShortcut:x,isNextLineEmpty:v,isLastDescendantNode:E,getBlockValueLineContents:ie,getFlowScalarLineContents:ue,getLastDescendantNode:F,hasPrettierIgnore:I,hasLeadingComments:R,hasMiddleComments:W,hasIndicatorComment:ne,hasTrailingComment:L,hasEndComments:re}}}),Us=Oe({"src/language-yaml/print-preprocess.js"(u,h){Ye();var{defineShortcut:f,mapNode:d}=ks();function y(O){return d(O,D)}function D(O){switch(O.type){case"document":f(O,"head",()=>O.children[0]),f(O,"body",()=>O.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":f(O,"content",()=>O.children[0]);break;case"mappingItem":case"flowMappingItem":f(O,"key",()=>O.children[0]),f(O,"value",()=>O.children[1]);break}return O}h.exports=y}}),oo=Oe({"src/language-yaml/print/misc.js"(u,h){Ye();var{builders:{softline:f,align:d}}=Ln(),{hasEndComments:y,isNextLineEmpty:D,isNode:O}=ks(),x=new WeakMap;function v(k,I){let T=k.getValue(),_=k.stack[0],R;return x.has(_)?R=x.get(_):(R=new Set,x.set(_,R)),!R.has(T.position.end.line)&&(R.add(T.position.end.line),D(T,I)&&!E(k.getParentNode()))?f:""}function E(k){return y(k)&&!O(k,["documentHead","documentBody","flowMapping","flowSequence"])}function F(k,I){return d(" ".repeat(k),I)}h.exports={alignWithSpaces:F,shouldPrintEndComments:E,printNextEmptyLine:v}}}),Tc=Oe({"src/language-yaml/print/flow-mapping-sequence.js"(u,h){Ye();var{builders:{ifBreak:f,line:d,softline:y,hardline:D,join:O}}=Ln(),{isEmptyNode:x,getLast:v,hasEndComments:E}=ks(),{printNextEmptyLine:F,alignWithSpaces:k}=oo();function I(_,R,W){let ne=_.getValue(),L=ne.type==="flowMapping",re=L?"{":"[",z=L?"}":"]",ue=y;L&&ne.children.length>0&&W.bracketSpacing&&(ue=d);let ie=v(ne.children),Be=ie&&ie.type==="flowMappingItem"&&x(ie.key)&&x(ie.value);return[re,k(W.tabWidth,[ue,T(_,R,W),W.trailingComma==="none"?"":f(","),E(ne)?[D,O(D,_.map(R,"endComments"))]:""]),Be?"":ue,z]}function T(_,R,W){let ne=_.getValue();return _.map((L,re)=>[R(),re===ne.children.length-1?"":[",",d,ne.children[re].position.start.line!==ne.children[re+1].position.start.line?F(L,W.originalText):""]],"children")}h.exports={printFlowMapping:I,printFlowSequence:I}}}),bp=Oe({"src/language-yaml/print/mapping-item.js"(u,h){Ye();var{builders:{conditionalGroup:f,group:d,hardline:y,ifBreak:D,join:O,line:x}}=Ln(),{hasLeadingComments:v,hasMiddleComments:E,hasTrailingComment:F,hasEndComments:k,isNode:I,isEmptyNode:T,isInlineNode:_}=ks(),{alignWithSpaces:R}=oo();function W(z,ue,ie,Be,N){let{key:Z,value:B}=z,j=T(Z),A=T(B);if(j&&A)return": ";let M=Be("key"),Q=L(z)?" ":"";if(A)return z.type==="flowMappingItem"&&ue.type==="flowMapping"?M:z.type==="mappingItem"&&ne(Z.content,N)&&!F(Z.content)&&(!ue.tag||ue.tag.value!=="tag:yaml.org,2002:set")?[M,Q,":"]:["? ",R(2,M)];let U=Be("value");if(j)return[": ",R(2,U)];if(v(B)||!_(Z.content))return["? ",R(2,M),y,O("",ie.map(Be,"value","leadingComments").map(Pe=>[Pe,y])),": ",R(2,U)];if(re(Z.content)&&!v(Z.content)&&!E(Z.content)&&!F(Z.content)&&!k(Z)&&!v(B.content)&&!E(B.content)&&!k(B)&&ne(B.content,N))return[M,Q,": ",U];let q=Symbol("mappingKey"),K=d([D("? "),d(R(2,M),{id:q})]),he=[y,": ",R(2,U)],Te=[Q,":"];v(B.content)||k(B)&&B.content&&!I(B.content,["mapping","sequence"])||ue.type==="mapping"&&F(Z.content)&&_(B.content)||I(B.content,["mapping","sequence"])&&B.content.tag===null&&B.content.anchor===null?Te.push(y):B.content&&Te.push(x),Te.push(U);let _e=R(N.tabWidth,Te);return ne(Z.content,N)&&!v(Z.content)&&!E(Z.content)&&!k(Z)?f([[M,_e]]):f([[K,D(he,_e,{groupId:q})]])}function ne(z,ue){if(!z)return!0;switch(z.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(ue.proseWrap==="preserve")return z.position.start.line===z.position.end.line;if(/\\$/m.test(ue.originalText.slice(z.position.start.offset,z.position.end.offset)))return!1;switch(ue.proseWrap){case"never":return!z.value.includes(`
|
||
`);case"always":return!/[\n ]/.test(z.value);default:return!1}}function L(z){return z.key.content&&z.key.content.type==="alias"}function re(z){if(!z)return!0;switch(z.type){case"plain":case"quoteDouble":case"quoteSingle":return z.position.start.line===z.position.end.line;case"alias":return!0;default:return!1}}h.exports=W}}),a0=Oe({"src/language-yaml/print/block.js"(u,h){Ye();var{builders:{dedent:f,dedentToRoot:d,fill:y,hardline:D,join:O,line:x,literalline:v,markAsRoot:E},utils:{getDocParts:F}}=Ln(),{getAncestorCount:k,getBlockValueLineContents:I,hasIndicatorComment:T,isLastDescendantNode:_,isNode:R}=ks(),{alignWithSpaces:W}=oo();function ne(L,re,z){let ue=L.getValue(),ie=k(L,j=>R(j,["sequence","mapping"])),Be=_(L),N=[ue.type==="blockFolded"?">":"|"];ue.indent!==null&&N.push(ue.indent.toString()),ue.chomping!=="clip"&&N.push(ue.chomping==="keep"?"+":"-"),T(ue)&&N.push(" ",re("indicatorComment"));let Z=I(ue,{parentIndent:ie,isLastDescendant:Be,options:z}),B=[];for(let[j,A]of Z.entries())j===0&&B.push(D),B.push(y(F(O(x,A)))),j!==Z.length-1?B.push(A.length===0?D:E(v)):ue.chomping==="keep"&&Be&&B.push(d(A.length===0?D:v));return ue.indent===null?N.push(f(W(z.tabWidth,B))):N.push(d(W(ue.indent-1+ie,B))),N}h.exports=ne}}),df=Oe({"src/language-yaml/printer-yaml.js"(u,h){Ye();var{builders:{breakParent:f,fill:d,group:y,hardline:D,join:O,line:x,lineSuffix:v,literalline:E},utils:{getDocParts:F,replaceTextEndOfLine:k}}=Ln(),{isPreviousLineEmpty:I}=fi(),{insertPragma:T,isPragma:_}=uo(),{locStart:R}=Rs(),W=No(),{getFlowScalarLineContents:ne,getLastDescendantNode:L,hasLeadingComments:re,hasMiddleComments:z,hasTrailingComment:ue,hasEndComments:ie,hasPrettierIgnore:Be,isLastDescendantNode:N,isNode:Z,isInlineNode:B}=ks(),j=Us(),{alignWithSpaces:A,printNextEmptyLine:M,shouldPrintEndComments:Q}=oo(),{printFlowMapping:U,printFlowSequence:q}=Tc(),K=bp(),he=a0();function Te(Se,lt,kt){let ft=Se.getValue(),jt=[];ft.type!=="mappingValue"&&re(ft)&&jt.push([O(D,Se.map(kt,"leadingComments")),D]);let{tag:Ne,anchor:Je}=ft;Ne&&jt.push(kt("tag")),Ne&&Je&&jt.push(" "),Je&&jt.push(kt("anchor"));let It="";Z(ft,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!N(Se)&&(It=M(Se,lt.originalText)),(Ne||Je)&&(Z(ft,["sequence","mapping"])&&!z(ft)?jt.push(D):jt.push(" ")),z(ft)&&jt.push([ft.middleComments.length===1?"":D,O(D,Se.map(kt,"middleComments")),D]);let Mt=Se.getParentNode();return Be(Se)?jt.push(k(lt.originalText.slice(ft.position.start.offset,ft.position.end.offset).trimEnd(),E)):jt.push(y(_e(ft,Mt,Se,lt,kt))),ue(ft)&&!Z(ft,["document","documentHead"])&&jt.push(v([ft.type==="mappingValue"&&!ft.content?"":" ",Mt.type==="mappingKey"&&Se.getParentNode(2).type==="mapping"&&B(ft)?"":f,kt("trailingComment")])),Q(ft)&&jt.push(A(ft.type==="sequenceItem"?2:0,[D,O(D,Se.map(Rr=>[I(lt.originalText,Rr.getValue(),R)?D:"",kt()],"endComments"))])),jt.push(It),jt}function _e(Se,lt,kt,ft,jt){switch(Se.type){case"root":{let{children:Ne}=Se,Je=[];kt.each((Mt,Rr)=>{let rt=Ne[Rr],Ue=Ne[Rr+1];Rr!==0&&Je.push(D),Je.push(jt()),ze(rt,Ue)?(Je.push(D,"..."),ue(rt)&&Je.push(" ",jt("trailingComment"))):Ue&&!ue(Ue.head)&&Je.push(D,"---")},"children");let It=L(Se);return(!Z(It,["blockLiteral","blockFolded"])||It.chomping!=="keep")&&Je.push(D),Je}case"document":{let Ne=lt.children[kt.getName()+1],Je=[];return ye(Se,Ne,lt,ft)==="head"&&((Se.head.children.length>0||Se.head.endComments.length>0)&&Je.push(jt("head")),ue(Se.head)?Je.push(["---"," ",jt(["head","trailingComment"])]):Je.push("---")),Pe(Se)&&Je.push(jt("body")),O(D,Je)}case"documentHead":return O(D,[...kt.map(jt,"children"),...kt.map(jt,"endComments")]);case"documentBody":{let{children:Ne,endComments:Je}=Se,It="";if(Ne.length>0&&Je.length>0){let Mt=L(Se);Z(Mt,["blockFolded","blockLiteral"])?Mt.chomping!=="keep"&&(It=[D,D]):It=D}return[O(D,kt.map(jt,"children")),It,O(D,kt.map(jt,"endComments"))]}case"directive":return["%",O(" ",[Se.name,...Se.parameters])];case"comment":return["#",Se.value];case"alias":return["*",Se.value];case"tag":return ft.originalText.slice(Se.position.start.offset,Se.position.end.offset);case"anchor":return["&",Se.value];case"plain":return ct(Se.type,ft.originalText.slice(Se.position.start.offset,Se.position.end.offset),ft);case"quoteDouble":case"quoteSingle":{let Ne="'",Je='"',It=ft.originalText.slice(Se.position.start.offset+1,Se.position.end.offset-1);if(Se.type==="quoteSingle"&&It.includes("\\")||Se.type==="quoteDouble"&&/\\[^"]/.test(It)){let Rr=Se.type==="quoteDouble"?Je:Ne;return[Rr,ct(Se.type,It,ft),Rr]}if(It.includes(Je))return[Ne,ct(Se.type,Se.type==="quoteDouble"?It.replace(/\\"/g,Je).replace(/'/g,Ne.repeat(2)):It,ft),Ne];if(It.includes(Ne))return[Je,ct(Se.type,Se.type==="quoteSingle"?It.replace(/''/g,Ne):It,ft),Je];let Mt=ft.singleQuote?Ne:Je;return[Mt,ct(Se.type,It,ft),Mt]}case"blockFolded":case"blockLiteral":return he(kt,jt,ft);case"mapping":case"sequence":return O(D,kt.map(jt,"children"));case"sequenceItem":return["- ",A(2,Se.content?jt("content"):"")];case"mappingKey":case"mappingValue":return Se.content?jt("content"):"";case"mappingItem":case"flowMappingItem":return K(Se,lt,kt,jt,ft);case"flowMapping":return U(kt,jt,ft);case"flowSequence":return q(kt,jt,ft);case"flowSequenceItem":return jt("content");default:throw new Error(`Unexpected node type ${Se.type}`)}}function Pe(Se){return Se.body.children.length>0||ie(Se.body)}function ze(Se,lt){return ue(Se)||lt&&(lt.head.children.length>0||ie(lt.head))}function ye(Se,lt,kt,ft){return kt.children[0]===Se&&/---(?:\s|$)/.test(ft.originalText.slice(R(Se),R(Se)+4))||Se.head.children.length>0||ie(Se.head)||ue(Se.head)?"head":ze(Se,lt)?!1:lt?"root":!1}function ct(Se,lt,kt){let ft=ne(Se,lt,kt);return O(D,ft.map(jt=>d(F(O(x,jt)))))}function Fe(Se,lt){if(Z(lt))switch(delete lt.position,lt.type){case"comment":if(_(lt.value))return null;break;case"quoteDouble":case"quoteSingle":lt.type="quote";break}}h.exports={preprocess:j,embed:W,print:Te,massageAstNode:Fe,insertPragma:T}}}),u0=Oe({"src/language-yaml/options.js"(u,h){Ye();var f=gu();h.exports={bracketSpacing:f.bracketSpacing,singleQuote:f.singleQuote,proseWrap:f.proseWrap}}}),l0=Oe({"src/language-yaml/parsers.js"(){Ye()}}),Bd=Oe({"node_modules/linguist-languages/data/YAML.json"(u,h){h.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),c0=Oe({"src/language-yaml/index.js"(u,h){Ye();var f=Ms(),d=df(),y=u0(),D=l0(),O=[f(Bd(),x=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...x.filenames.filter(v=>v!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];h.exports={languages:O,printers:{yaml:d},options:y,parsers:D}}}),h0=Oe({"src/languages.js"(u,h){Ye(),h.exports=[Dh(),Sh(),de(),we(),Rn(),ia(),c0()]}});Ye();var{version:p0}=Es(),Pc=jo(),{getSupportInfo:f0}=Iu(),Eh=ba(),Nd=h0(),d0=Ln();function c(u){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var f=arguments.length,d=new Array(f),y=0;y<f;y++)d[y]=arguments[y];let D=d[h]||{},O=D.plugins||[];return d[h]=Object.assign(Object.assign({},D),{},{plugins:[...Nd,...Array.isArray(O)?O:Object.values(O)]}),u(...d)}}var o=c(Pc.formatWithCursor);le.exports={formatWithCursor:o,format(u,h){return o(u,h).formatted},check(u,h){let{formatted:f}=o(u,h);return f===u},doc:d0,getSupportInfo:c(f0,0),version:p0,util:Eh,__debug:{parse:c(Pc.parse),formatAST:c(Pc.formatAST),formatDoc:c(Pc.formatDoc),printToDoc:c(Pc.printToDoc),printDocToString:c(Pc.printDocToString)}}});return Ze()})})(Aw);var s6=Aw.exports;const o6=Qg(s6);var Tw={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(Hr,Kt)=>()=>(Kt||Hr((Kt={exports:{}}).exports,Kt),Kt.exports),n=t((Hr,Kt)=>{var Ht=function(lr){return lr&&lr.Math==Math&&lr};Kt.exports=Ht(typeof globalThis=="object"&&globalThis)||Ht(typeof window=="object"&&window)||Ht(typeof self=="object"&&self)||Ht(typeof rc=="object"&&rc)||function(){return this}()||Function("return this")()}),i=t((Hr,Kt)=>{Kt.exports=function(Ht){try{return!!Ht()}catch{return!0}}}),s=t((Hr,Kt)=>{var Ht=i();Kt.exports=!Ht(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((Hr,Kt)=>{var Ht=i();Kt.exports=!Ht(function(){var lr=(function(){}).bind();return typeof lr!="function"||lr.hasOwnProperty("prototype")})}),l=t((Hr,Kt)=>{var Ht=a(),lr=Function.prototype.call;Kt.exports=Ht?lr.bind(lr):function(){return lr.apply(lr,arguments)}}),p=t(Hr=>{var Kt={}.propertyIsEnumerable,Ht=Object.getOwnPropertyDescriptor,lr=Ht&&!Kt.call({1:2},1);Hr.f=lr?function(cr){var vr=Ht(this,cr);return!!vr&&vr.enumerable}:Kt}),m=t((Hr,Kt)=>{Kt.exports=function(Ht,lr){return{enumerable:!(Ht&1),configurable:!(Ht&2),writable:!(Ht&4),value:lr}}}),g=t((Hr,Kt)=>{var Ht=a(),lr=Function.prototype,cr=lr.call,vr=Ht&&lr.bind.bind(cr,cr);Kt.exports=Ht?vr:function(Kr){return function(){return cr.apply(Kr,arguments)}}}),b=t((Hr,Kt)=>{var Ht=g(),lr=Ht({}.toString),cr=Ht("".slice);Kt.exports=function(vr){return cr(lr(vr),8,-1)}}),S=t((Hr,Kt)=>{var Ht=g(),lr=i(),cr=b(),vr=Object,Kr=Ht("".split);Kt.exports=lr(function(){return!vr("z").propertyIsEnumerable(0)})?function(Rt){return cr(Rt)=="String"?Kr(Rt,""):vr(Rt)}:vr}),$=t((Hr,Kt)=>{Kt.exports=function(Ht){return Ht==null}}),G=t((Hr,Kt)=>{var Ht=$(),lr=TypeError;Kt.exports=function(cr){if(Ht(cr))throw lr("Can't call method on "+cr);return cr}}),be=t((Hr,Kt)=>{var Ht=S(),lr=G();Kt.exports=function(cr){return Ht(lr(cr))}}),ke=t((Hr,Kt)=>{var Ht=typeof document=="object"&&document.all,lr=typeof Ht>"u"&&Ht!==void 0;Kt.exports={all:Ht,IS_HTMLDDA:lr}}),me=t((Hr,Kt)=>{var Ht=ke(),lr=Ht.all;Kt.exports=Ht.IS_HTMLDDA?function(cr){return typeof cr=="function"||cr===lr}:function(cr){return typeof cr=="function"}}),Ve=t((Hr,Kt)=>{var Ht=me(),lr=ke(),cr=lr.all;Kt.exports=lr.IS_HTMLDDA?function(vr){return typeof vr=="object"?vr!==null:Ht(vr)||vr===cr}:function(vr){return typeof vr=="object"?vr!==null:Ht(vr)}}),Dt=t((Hr,Kt)=>{var Ht=n(),lr=me(),cr=function(vr){return lr(vr)?vr:void 0};Kt.exports=function(vr,Kr){return arguments.length<2?cr(Ht[vr]):Ht[vr]&&Ht[vr][Kr]}}),ht=t((Hr,Kt)=>{var Ht=g();Kt.exports=Ht({}.isPrototypeOf)}),bt=t((Hr,Kt)=>{var Ht=Dt();Kt.exports=Ht("navigator","userAgent")||""}),Yt=t((Hr,Kt)=>{var Ht=n(),lr=bt(),cr=Ht.process,vr=Ht.Deno,Kr=cr&&cr.versions||vr&&vr.version,Rt=Kr&&Kr.v8,En,$n;Rt&&(En=Rt.split("."),$n=En[0]>0&&En[0]<4?1:+(En[0]+En[1])),!$n&&lr&&(En=lr.match(/Edge\/(\d+)/),(!En||En[1]>=74)&&(En=lr.match(/Chrome\/(\d+)/),En&&($n=+En[1]))),Kt.exports=$n}),ir=t((Hr,Kt)=>{var Ht=Yt(),lr=i();Kt.exports=!!Object.getOwnPropertySymbols&&!lr(function(){var cr=Symbol();return!String(cr)||!(Object(cr)instanceof Symbol)||!Symbol.sham&&Ht&&Ht<41})}),qr=t((Hr,Kt)=>{var Ht=ir();Kt.exports=Ht&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),yr=t((Hr,Kt)=>{var Ht=Dt(),lr=me(),cr=ht(),vr=qr(),Kr=Object;Kt.exports=vr?function(Rt){return typeof Rt=="symbol"}:function(Rt){var En=Ht("Symbol");return lr(En)&&cr(En.prototype,Kr(Rt))}}),kr=t((Hr,Kt)=>{var Ht=String;Kt.exports=function(lr){try{return Ht(lr)}catch{return"Object"}}}),Zr=t((Hr,Kt)=>{var Ht=me(),lr=kr(),cr=TypeError;Kt.exports=function(vr){if(Ht(vr))return vr;throw cr(lr(vr)+" is not a function")}}),zn=t((Hr,Kt)=>{var Ht=Zr(),lr=$();Kt.exports=function(cr,vr){var Kr=cr[vr];return lr(Kr)?void 0:Ht(Kr)}}),Gn=t((Hr,Kt)=>{var Ht=l(),lr=me(),cr=Ve(),vr=TypeError;Kt.exports=function(Kr,Rt){var En,$n;if(Rt==="string"&&lr(En=Kr.toString)&&!cr($n=Ht(En,Kr))||lr(En=Kr.valueOf)&&!cr($n=Ht(En,Kr))||Rt!=="string"&&lr(En=Kr.toString)&&!cr($n=Ht(En,Kr)))return $n;throw vr("Can't convert object to primitive value")}}),Ii=t((Hr,Kt)=>{Kt.exports=!1}),ii=t((Hr,Kt)=>{var Ht=n(),lr=Object.defineProperty;Kt.exports=function(cr,vr){try{lr(Ht,cr,{value:vr,configurable:!0,writable:!0})}catch{Ht[cr]=vr}return vr}}),Sn=t((Hr,Kt)=>{var Ht=n(),lr=ii(),cr="__core-js_shared__",vr=Ht[cr]||lr(cr,{});Kt.exports=vr}),Wn=t((Hr,Kt)=>{var Ht=Ii(),lr=Sn();(Kt.exports=function(cr,vr){return lr[cr]||(lr[cr]=vr!==void 0?vr:{})})("versions",[]).push({version:"3.26.1",mode:Ht?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),jn=t((Hr,Kt)=>{var Ht=G(),lr=Object;Kt.exports=function(cr){return lr(Ht(cr))}}),Bn=t((Hr,Kt)=>{var Ht=g(),lr=jn(),cr=Ht({}.hasOwnProperty);Kt.exports=Object.hasOwn||function(vr,Kr){return cr(lr(vr),Kr)}}),$i=t((Hr,Kt)=>{var Ht=g(),lr=0,cr=Math.random(),vr=Ht(1 .toString);Kt.exports=function(Kr){return"Symbol("+(Kr===void 0?"":Kr)+")_"+vr(++lr+cr,36)}}),Ui=t((Hr,Kt)=>{var Ht=n(),lr=Wn(),cr=Bn(),vr=$i(),Kr=ir(),Rt=qr(),En=lr("wks"),$n=Ht.Symbol,Hn=$n&&$n.for,qt=Rt?$n:$n&&$n.withoutSetter||vr;Kt.exports=function(ai){if(!cr(En,ai)||!(Kr||typeof En[ai]=="string")){var mi="Symbol."+ai;Kr&&cr($n,ai)?En[ai]=$n[ai]:Rt&&Hn?En[ai]=Hn(mi):En[ai]=qt(mi)}return En[ai]}}),os=t((Hr,Kt)=>{var Ht=l(),lr=Ve(),cr=yr(),vr=zn(),Kr=Gn(),Rt=Ui(),En=TypeError,$n=Rt("toPrimitive");Kt.exports=function(Hn,qt){if(!lr(Hn)||cr(Hn))return Hn;var ai=vr(Hn,$n),mi;if(ai){if(qt===void 0&&(qt="default"),mi=Ht(ai,Hn,qt),!lr(mi)||cr(mi))return mi;throw En("Can't convert object to primitive value")}return qt===void 0&&(qt="number"),Kr(Hn,qt)}}),ds=t((Hr,Kt)=>{var Ht=os(),lr=yr();Kt.exports=function(cr){var vr=Ht(cr,"string");return lr(vr)?vr:vr+""}}),us=t((Hr,Kt)=>{var Ht=n(),lr=Ve(),cr=Ht.document,vr=lr(cr)&&lr(cr.createElement);Kt.exports=function(Kr){return vr?cr.createElement(Kr):{}}}),Xs=t((Hr,Kt)=>{var Ht=s(),lr=i(),cr=us();Kt.exports=!Ht&&!lr(function(){return Object.defineProperty(cr("div"),"a",{get:function(){return 7}}).a!=7})}),Ts=t(Hr=>{var Kt=s(),Ht=l(),lr=p(),cr=m(),vr=be(),Kr=ds(),Rt=Bn(),En=Xs(),$n=Object.getOwnPropertyDescriptor;Hr.f=Kt?$n:function(Hn,qt){if(Hn=vr(Hn),qt=Kr(qt),En)try{return $n(Hn,qt)}catch{}if(Rt(Hn,qt))return cr(!Ht(lr.f,Hn,qt),Hn[qt])}}),Sr=t((Hr,Kt)=>{var Ht=s(),lr=i();Kt.exports=Ht&&lr(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),cn=t((Hr,Kt)=>{var Ht=Ve(),lr=String,cr=TypeError;Kt.exports=function(vr){if(Ht(vr))return vr;throw cr(lr(vr)+" is not an object")}}),zr=t(Hr=>{var Kt=s(),Ht=Xs(),lr=Sr(),cr=cn(),vr=ds(),Kr=TypeError,Rt=Object.defineProperty,En=Object.getOwnPropertyDescriptor,$n="enumerable",Hn="configurable",qt="writable";Hr.f=Kt?lr?function(ai,mi,Dr){if(cr(ai),mi=vr(mi),cr(Dr),typeof ai=="function"&&mi==="prototype"&&"value"in Dr&&qt in Dr&&!Dr[qt]){var xt=En(ai,mi);xt&&xt[qt]&&(ai[mi]=Dr.value,Dr={configurable:Hn in Dr?Dr[Hn]:xt[Hn],enumerable:$n in Dr?Dr[$n]:xt[$n],writable:!1})}return Rt(ai,mi,Dr)}:Rt:function(ai,mi,Dr){if(cr(ai),mi=vr(mi),cr(Dr),Ht)try{return Rt(ai,mi,Dr)}catch{}if("get"in Dr||"set"in Dr)throw Kr("Accessors not supported");return"value"in Dr&&(ai[mi]=Dr.value),ai}}),In=t((Hr,Kt)=>{var Ht=s(),lr=zr(),cr=m();Kt.exports=Ht?function(vr,Kr,Rt){return lr.f(vr,Kr,cr(1,Rt))}:function(vr,Kr,Rt){return vr[Kr]=Rt,vr}}),Ki=t((Hr,Kt)=>{var Ht=s(),lr=Bn(),cr=Function.prototype,vr=Ht&&Object.getOwnPropertyDescriptor,Kr=lr(cr,"name"),Rt=Kr&&(function(){}).name==="something",En=Kr&&(!Ht||Ht&&vr(cr,"name").configurable);Kt.exports={EXISTS:Kr,PROPER:Rt,CONFIGURABLE:En}}),tt=t((Hr,Kt)=>{var Ht=g(),lr=me(),cr=Sn(),vr=Ht(Function.toString);lr(cr.inspectSource)||(cr.inspectSource=function(Kr){return vr(Kr)}),Kt.exports=cr.inspectSource}),gt=t((Hr,Kt)=>{var Ht=n(),lr=me(),cr=Ht.WeakMap;Kt.exports=lr(cr)&&/native code/.test(String(cr))}),Zt=t((Hr,Kt)=>{var Ht=Wn(),lr=$i(),cr=Ht("keys");Kt.exports=function(vr){return cr[vr]||(cr[vr]=lr(vr))}}),dr=t((Hr,Kt)=>{Kt.exports={}}),Fr=t((Hr,Kt)=>{var Ht=gt(),lr=n(),cr=Ve(),vr=In(),Kr=Bn(),Rt=Sn(),En=Zt(),$n=dr(),Hn="Object already initialized",qt=lr.TypeError,ai=lr.WeakMap,mi,Dr,xt,Ot=function($e){return xt($e)?Dr($e):mi($e,{})},At=function($e){return function(Ie){var Ze;if(!cr(Ie)||(Ze=Dr(Ie)).type!==$e)throw qt("Incompatible receiver, "+$e+" required");return Ze}};Ht||Rt.state?(vt=Rt.state||(Rt.state=new ai),vt.get=vt.get,vt.has=vt.has,vt.set=vt.set,mi=function($e,Ie){if(vt.has($e))throw qt(Hn);return Ie.facade=$e,vt.set($e,Ie),Ie},Dr=function($e){return vt.get($e)||{}},xt=function($e){return vt.has($e)}):(Ke=En("state"),$n[Ke]=!0,mi=function($e,Ie){if(Kr($e,Ke))throw qt(Hn);return Ie.facade=$e,vr($e,Ke,Ie),Ie},Dr=function($e){return Kr($e,Ke)?$e[Ke]:{}},xt=function($e){return Kr($e,Ke)});var vt,Ke;Kt.exports={set:mi,get:Dr,has:xt,enforce:Ot,getterFor:At}}),Lr=t((Hr,Kt)=>{var Ht=i(),lr=me(),cr=Bn(),vr=s(),Kr=Ki().CONFIGURABLE,Rt=tt(),En=Fr(),$n=En.enforce,Hn=En.get,qt=Object.defineProperty,ai=vr&&!Ht(function(){return qt(function(){},"length",{value:8}).length!==8}),mi=String(String).split("String"),Dr=Kt.exports=function(xt,Ot,At){String(Ot).slice(0,7)==="Symbol("&&(Ot="["+String(Ot).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),At&&At.getter&&(Ot="get "+Ot),At&&At.setter&&(Ot="set "+Ot),(!cr(xt,"name")||Kr&&xt.name!==Ot)&&(vr?qt(xt,"name",{value:Ot,configurable:!0}):xt.name=Ot),ai&&At&&cr(At,"arity")&&xt.length!==At.arity&&qt(xt,"length",{value:At.arity});try{At&&cr(At,"constructor")&&At.constructor?vr&&qt(xt,"prototype",{writable:!1}):xt.prototype&&(xt.prototype=void 0)}catch{}var vt=$n(xt);return cr(vt,"source")||(vt.source=mi.join(typeof Ot=="string"?Ot:"")),xt};Function.prototype.toString=Dr(function(){return lr(this)&&Hn(this).source||Rt(this)},"toString")}),yn=t((Hr,Kt)=>{var Ht=me(),lr=zr(),cr=Lr(),vr=ii();Kt.exports=function(Kr,Rt,En,$n){$n||($n={});var Hn=$n.enumerable,qt=$n.name!==void 0?$n.name:Rt;if(Ht(En)&&cr(En,qt,$n),$n.global)Hn?Kr[Rt]=En:vr(Rt,En);else{try{$n.unsafe?Kr[Rt]&&(Hn=!0):delete Kr[Rt]}catch{}Hn?Kr[Rt]=En:lr.f(Kr,Rt,{value:En,enumerable:!1,configurable:!$n.nonConfigurable,writable:!$n.nonWritable})}return Kr}}),Jr=t((Hr,Kt)=>{var Ht=Math.ceil,lr=Math.floor;Kt.exports=Math.trunc||function(cr){var vr=+cr;return(vr>0?lr:Ht)(vr)}}),on=t((Hr,Kt)=>{var Ht=Jr();Kt.exports=function(lr){var cr=+lr;return cr!==cr||cr===0?0:Ht(cr)}}),Xr=t((Hr,Kt)=>{var Ht=on(),lr=Math.max,cr=Math.min;Kt.exports=function(vr,Kr){var Rt=Ht(vr);return Rt<0?lr(Rt+Kr,0):cr(Rt,Kr)}}),ei=t((Hr,Kt)=>{var Ht=on(),lr=Math.min;Kt.exports=function(cr){return cr>0?lr(Ht(cr),9007199254740991):0}}),xn=t((Hr,Kt)=>{var Ht=ei();Kt.exports=function(lr){return Ht(lr.length)}}),ti=t((Hr,Kt)=>{var Ht=be(),lr=Xr(),cr=xn(),vr=function(Kr){return function(Rt,En,$n){var Hn=Ht(Rt),qt=cr(Hn),ai=lr($n,qt),mi;if(Kr&&En!=En){for(;qt>ai;)if(mi=Hn[ai++],mi!=mi)return!0}else for(;qt>ai;ai++)if((Kr||ai in Hn)&&Hn[ai]===En)return Kr||ai||0;return!Kr&&-1}};Kt.exports={includes:vr(!0),indexOf:vr(!1)}}),Ai=t((Hr,Kt)=>{var Ht=g(),lr=Bn(),cr=be(),vr=ti().indexOf,Kr=dr(),Rt=Ht([].push);Kt.exports=function(En,$n){var Hn=cr(En),qt=0,ai=[],mi;for(mi in Hn)!lr(Kr,mi)&&lr(Hn,mi)&&Rt(ai,mi);for(;$n.length>qt;)lr(Hn,mi=$n[qt++])&&(~vr(ai,mi)||Rt(ai,mi));return ai}}),ji=t((Hr,Kt)=>{Kt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),ls=t(Hr=>{var Kt=Ai(),Ht=ji(),lr=Ht.concat("length","prototype");Hr.f=Object.getOwnPropertyNames||function(cr){return Kt(cr,lr)}}),is=t(Hr=>{Hr.f=Object.getOwnPropertySymbols}),Ps=t((Hr,Kt)=>{var Ht=Dt(),lr=g(),cr=ls(),vr=is(),Kr=cn(),Rt=lr([].concat);Kt.exports=Ht("Reflect","ownKeys")||function(En){var $n=cr.f(Kr(En)),Hn=vr.f;return Hn?Rt($n,Hn(En)):$n}}),Co=t((Hr,Kt)=>{var Ht=Bn(),lr=Ps(),cr=Ts(),vr=zr();Kt.exports=function(Kr,Rt,En){for(var $n=lr(Rt),Hn=vr.f,qt=cr.f,ai=0;ai<$n.length;ai++){var mi=$n[ai];!Ht(Kr,mi)&&!(En&&Ht(En,mi))&&Hn(Kr,mi,qt(Rt,mi))}}}),ya=t((Hr,Kt)=>{var Ht=i(),lr=me(),cr=/#|\.prototype\./,vr=function(Hn,qt){var ai=Rt[Kr(Hn)];return ai==$n?!0:ai==En?!1:lr(qt)?Ht(qt):!!qt},Kr=vr.normalize=function(Hn){return String(Hn).replace(cr,".").toLowerCase()},Rt=vr.data={},En=vr.NATIVE="N",$n=vr.POLYFILL="P";Kt.exports=vr}),Go=t((Hr,Kt)=>{var Ht=n(),lr=Ts().f,cr=In(),vr=yn(),Kr=ii(),Rt=Co(),En=ya();Kt.exports=function($n,Hn){var qt=$n.target,ai=$n.global,mi=$n.stat,Dr,xt,Ot,At,vt,Ke;if(ai?xt=Ht:mi?xt=Ht[qt]||Kr(qt,{}):xt=(Ht[qt]||{}).prototype,xt)for(Ot in Hn){if(vt=Hn[Ot],$n.dontCallGetSet?(Ke=lr(xt,Ot),At=Ke&&Ke.value):At=xt[Ot],Dr=En(ai?Ot:qt+(mi?".":"#")+Ot,$n.forced),!Dr&&At!==void 0){if(typeof vt==typeof At)continue;Rt(vt,At)}($n.sham||At&&At.sham)&&cr(vt,"sham",!0),vr(xt,Ot,vt,$n)}}}),Da=t(()=>{var Hr=Go(),Kt=n();Hr({global:!0,forced:Kt.globalThis!==Kt},{globalThis:Kt})}),Fu=t(()=>{Da()}),so=t((Hr,Kt)=>{Fu();var Ht=Object.defineProperty,lr=Object.getOwnPropertyDescriptor,cr=Object.getOwnPropertyNames,vr=Object.prototype.hasOwnProperty,Kr=(w,ee)=>function(){return w&&(ee=(0,w[cr(w)[0]])(w=0)),ee},Rt=(w,ee)=>function(){return ee||(0,w[cr(w)[0]])((ee={exports:{}}).exports,ee),ee.exports},En=(w,ee)=>{for(var Y in ee)Ht(w,Y,{get:ee[Y],enumerable:!0})},$n=(w,ee,Y,H)=>{if(ee&&typeof ee=="object"||typeof ee=="function")for(let oe of cr(ee))!vr.call(w,oe)&&oe!==Y&&Ht(w,oe,{get:()=>ee[oe],enumerable:!(H=lr(ee,oe))||H.enumerable});return w},Hn=w=>$n(Ht({},"__esModule",{value:!0}),w),qt=Kr({"<define:process>"(){}}),ai=Rt({"src/common/parser-create-error.js"(w,ee){qt();function Y(H,oe){let pe=new SyntaxError(H+" ("+oe.start.line+":"+oe.start.column+")");return pe.loc=oe,pe}ee.exports=Y}}),mi=Rt({"src/utils/get-last.js"(w,ee){qt();var Y=H=>H[H.length-1];ee.exports=Y}}),Dr=Rt({"src/utils/front-matter/parse.js"(w,ee){qt();var Y=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function H(oe){let pe=oe.match(Y);if(!pe)return{content:oe};let{startDelimiter:ce,language:de,value:se="",endDelimiter:fe}=pe.groups,P=de.trim()||"yaml";if(ce==="+++"&&(P="toml"),P!=="yaml"&&ce!==fe)return{content:oe};let[C]=pe;return{frontMatter:{type:"front-matter",lang:P,value:se,startDelimiter:ce,endDelimiter:fe,raw:C.replace(/\n$/,"")},content:C.replace(/[^\n]/g," ")+oe.slice(C.length)}}ee.exports=H}}),xt={};En(xt,{EOL:()=>Ct,arch:()=>xe,cpus:()=>Ze,default:()=>or,endianness:()=>Ot,freemem:()=>$e,getNetworkInterfaces:()=>Ee,hostname:()=>At,loadavg:()=>vt,networkInterfaces:()=>ae,platform:()=>Le,release:()=>le,tmpDir:()=>nt,tmpdir:()=>Ge,totalmem:()=>Ie,type:()=>ge,uptime:()=>Ke});function Ot(){if(typeof dt>"u"){var w=new ArrayBuffer(2),ee=new Uint8Array(w),Y=new Uint16Array(w);if(ee[0]=1,ee[1]=2,Y[0]===258)dt="BE";else if(Y[0]===513)dt="LE";else throw new Error("unable to figure out endianess")}return dt}function At(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function vt(){return[]}function Ke(){return 0}function $e(){return Number.MAX_VALUE}function Ie(){return Number.MAX_VALUE}function Ze(){return[]}function ge(){return"Browser"}function le(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ae(){}function Ee(){}function xe(){return"javascript"}function Le(){return"browser"}function nt(){return"/tmp"}var dt,Ge,Ct,or,er=Kr({"node-modules-polyfills:os"(){qt(),Ge=nt,Ct=`
|
||
`,or={EOL:Ct,tmpdir:Ge,tmpDir:nt,networkInterfaces:ae,getNetworkInterfaces:Ee,release:le,type:ge,cpus:Ze,totalmem:Ie,freemem:$e,uptime:Ke,loadavg:vt,hostname:At,endianness:Ot}}}),Or=Rt({"node-modules-polyfills-commonjs:os"(w,ee){qt();var Y=(er(),Hn(xt));if(Y&&Y.default){ee.exports=Y.default;for(let H in Y)ee.exports[H]=Y[H]}else Y&&(ee.exports=Y)}}),Cr=Rt({"node_modules/detect-newline/index.js"(w,ee){qt();var Y=H=>{if(typeof H!="string")throw new TypeError("Expected a string");let oe=H.match(/(?:\r?\n)/g)||[];if(oe.length===0)return;let pe=oe.filter(de=>de===`\r
|
||
`).length,ce=oe.length-pe;return pe>ce?`\r
|
||
`:`
|
||
`};ee.exports=Y,ee.exports.graceful=H=>typeof H=="string"&&Y(H)||`
|
||
`}}),Oe=Rt({"node_modules/jest-docblock/build/index.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0}),w.extract=V,w.parse=De,w.parseWithComments=Xe,w.print=ve,w.strip=we;function ee(){let pt=Or();return ee=function(){return pt},pt}function Y(){let pt=H(Cr());return Y=function(){return pt},pt}function H(pt){return pt&&pt.__esModule?pt:{default:pt}}var oe=/\*\/$/,pe=/^\/\*\*?/,ce=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,de=/(^|\s+)\/\/([^\r\n]*)/g,se=/^(\r?\n)+/,fe=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,P=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,C=/(\r?\n|^) *\* ?/g,J=[];function V(pt){let yt=pt.match(ce);return yt?yt[0].trimLeft():""}function we(pt){let yt=pt.match(ce);return yt&&yt[0]?pt.substring(yt[0].length):pt}function De(pt){return Xe(pt).pragmas}function Xe(pt){let yt=(0,Y().default)(pt)||ee().EOL;pt=pt.replace(pe,"").replace(oe,"").replace(C,"$1");let Ft="";for(;Ft!==pt;)Ft=pt,pt=pt.replace(fe,`${yt}$1 $2${yt}`);pt=pt.replace(se,"").trimRight();let Tr=Object.create(null),Yr=pt.replace(P,"").replace(se,"").trimRight(),un;for(;un=P.exec(pt);){let Vn=un[2].replace(de,"");typeof Tr[un[1]]=="string"||Array.isArray(Tr[un[1]])?Tr[un[1]]=J.concat(Tr[un[1]],Vn):Tr[un[1]]=Vn}return{comments:Yr,pragmas:Tr}}function ve(pt){let{comments:yt="",pragmas:Ft={}}=pt,Tr=(0,Y().default)(yt)||ee().EOL,Yr="/**",un=" *",Vn=" */",wn=Object.keys(Ft),Rn=wn.map(Un=>Ae(Un,Ft[Un])).reduce((Un,Br)=>Un.concat(Br),[]).map(Un=>`${un} ${Un}${Tr}`).join("");if(!yt){if(wn.length===0)return"";if(wn.length===1&&!Array.isArray(Ft[wn[0]])){let Un=Ft[wn[0]];return`${Yr} ${Ae(wn[0],Un)[0]}${Vn}`}}let Tn=yt.split(Tr).map(Un=>`${un} ${Un}`).join(Tr)+Tr;return Yr+Tr+(yt?Tn:"")+(yt&&wn.length?un+Tr:"")+Rn+Vn}function Ae(pt,yt){return J.concat(yt).map(Ft=>`@${pt} ${Ft}`.trim())}}}),pn=Rt({"src/common/end-of-line.js"(w,ee){qt();function Y(ce){let de=ce.indexOf("\r");return de>=0?ce.charAt(de+1)===`
|
||
`?"crlf":"cr":"lf"}function H(ce){switch(ce){case"cr":return"\r";case"crlf":return`\r
|
||
`;default:return`
|
||
`}}function oe(ce,de){let se;switch(de){case`
|
||
`:se=/\n/g;break;case"\r":se=/\r/g;break;case`\r
|
||
`:se=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(de)}.`)}let fe=ce.match(se);return fe?fe.length:0}function pe(ce){return ce.replace(/\r\n?/g,`
|
||
`)}ee.exports={guessEndOfLine:Y,convertEndOfLineToChars:H,countEndOfLineChars:oe,normalizeEndOfLine:pe}}}),mn=Rt({"src/language-js/utils/get-shebang.js"(w,ee){qt();function Y(H){if(!H.startsWith("#!"))return"";let oe=H.indexOf(`
|
||
`);return oe===-1?H:H.slice(0,oe)}ee.exports=Y}}),ui=Rt({"src/language-js/pragma.js"(w,ee){qt();var{parseWithComments:Y,strip:H,extract:oe,print:pe}=Oe(),{normalizeEndOfLine:ce}=pn(),de=mn();function se(C){let J=de(C);J&&(C=C.slice(J.length+1));let V=oe(C),{pragmas:we,comments:De}=Y(V);return{shebang:J,text:C,pragmas:we,comments:De}}function fe(C){let J=Object.keys(se(C).pragmas);return J.includes("prettier")||J.includes("format")}function P(C){let{shebang:J,text:V,pragmas:we,comments:De}=se(C),Xe=H(V),ve=pe({pragmas:Object.assign({format:""},we),comments:De.trimStart()});return(J?`${J}
|
||
`:"")+ce(ve)+(Xe.startsWith(`
|
||
`)?`
|
||
`:`
|
||
|
||
`)+Xe}ee.exports={hasPragma:fe,insertPragma:P}}}),Oi=Rt({"src/language-css/pragma.js"(w,ee){qt();var Y=ui(),H=Dr();function oe(ce){return Y.hasPragma(H(ce).content)}function pe(ce){let{frontMatter:de,content:se}=H(ce);return(de?de.raw+`
|
||
|
||
`:"")+Y.insertPragma(se)}ee.exports={hasPragma:oe,insertPragma:pe}}}),Yi=Rt({"src/utils/text/skip.js"(w,ee){qt();function Y(de){return(se,fe,P)=>{let C=P&&P.backwards;if(fe===!1)return!1;let{length:J}=se,V=fe;for(;V>=0&&V<J;){let we=se.charAt(V);if(de instanceof RegExp){if(!de.test(we))return V}else if(!de.includes(we))return V;C?V--:V++}return V===-1||V===J?V:!1}}var H=Y(/\s/),oe=Y(" "),pe=Y(",; "),ce=Y(/[^\n\r]/);ee.exports={skipWhitespace:H,skipSpaces:oe,skipToLineEnd:pe,skipEverythingButNewLine:ce}}}),Ye=Rt({"src/utils/line-column-to-index.js"(w,ee){qt(),ee.exports=function(Y,H){let oe=0;for(let pe=0;pe<Y.line-1;++pe)oe=H.indexOf(`
|
||
`,oe)+1;return oe+Y.column}}}),Es=Rt({"src/language-css/loc.js"(w,ee){qt();var{skipEverythingButNewLine:Y}=Yi(),H=mi(),oe=Ye();function pe(V,we){return typeof V.sourceIndex=="number"?V.sourceIndex:V.source?oe(V.source.start,we)-1:null}function ce(V,we){if(V.type==="css-comment"&&V.inline)return Y(we,V.source.startOffset);let De=V.nodes&&H(V.nodes);return De&&V.source&&!V.source.end&&(V=De),V.source&&V.source.end?oe(V.source.end,we):null}function de(V,we){V.source&&(V.source.startOffset=pe(V,we),V.source.endOffset=ce(V,we));for(let De in V){let Xe=V[De];De==="source"||!Xe||typeof Xe!="object"||(Xe.type==="value-root"||Xe.type==="value-unknown"?se(Xe,fe(V),Xe.text||Xe.value):de(Xe,we))}}function se(V,we,De){V.source&&(V.source.startOffset=pe(V,De)+we,V.source.endOffset=ce(V,De)+we);for(let Xe in V){let ve=V[Xe];Xe==="source"||!ve||typeof ve!="object"||se(ve,we,De)}}function fe(V){let we=V.source.startOffset;return typeof V.prop=="string"&&(we+=V.prop.length),V.type==="css-atrule"&&typeof V.name=="string"&&(we+=1+V.name.length+V.raws.afterName.match(/^\s*:?\s*/)[0].length),V.type!=="css-atrule"&&V.raws&&typeof V.raws.between=="string"&&(we+=V.raws.between.length),we}function P(V){let we="initial",De="initial",Xe,ve=!1,Ae=[];for(let pt=0;pt<V.length;pt++){let yt=V[pt];switch(we){case"initial":if(yt==="'"){we="single-quotes";continue}if(yt==='"'){we="double-quotes";continue}if((yt==="u"||yt==="U")&&V.slice(pt,pt+4).toLowerCase()==="url("){we="url",pt+=3;continue}if(yt==="*"&&V[pt-1]==="/"){we="comment-block";continue}if(yt==="/"&&V[pt-1]==="/"){we="comment-inline",Xe=pt-1;continue}continue;case"single-quotes":if(yt==="'"&&V[pt-1]!=="\\"&&(we=De,De="initial"),yt===`
|
||
`||yt==="\r")return V;continue;case"double-quotes":if(yt==='"'&&V[pt-1]!=="\\"&&(we=De,De="initial"),yt===`
|
||
`||yt==="\r")return V;continue;case"url":if(yt===")"&&(we="initial"),yt===`
|
||
`||yt==="\r")return V;if(yt==="'"){we="single-quotes",De="url";continue}if(yt==='"'){we="double-quotes",De="url";continue}continue;case"comment-block":yt==="/"&&V[pt-1]==="*"&&(we="initial");continue;case"comment-inline":(yt==='"'||yt==="'"||yt==="*")&&(ve=!0),(yt===`
|
||
`||yt==="\r")&&(ve&&Ae.push([Xe,pt]),we="initial",ve=!1);continue}}for(let[pt,yt]of Ae)V=V.slice(0,pt)+V.slice(pt,yt).replace(/["'*]/g," ")+V.slice(yt);return V}function C(V){return V.source.startOffset}function J(V){return V.source.endOffset}ee.exports={locStart:C,locEnd:J,calculateLoc:de,replaceQuotesInInlineComments:P}}}),ko=Rt({"src/utils/is-non-empty-array.js"(w,ee){qt();function Y(H){return Array.isArray(H)&&H.length>0}ee.exports=Y}}),Ho=Rt({"src/language-css/utils/has-scss-interpolation.js"(w,ee){qt();var Y=ko();function H(oe){if(Y(oe)){for(let pe=oe.length-1;pe>0;pe--)if(oe[pe].type==="word"&&oe[pe].value==="{"&&oe[pe-1].type==="word"&&oe[pe-1].value.endsWith("#"))return!0}return!1}ee.exports=H}}),vs=Rt({"src/language-css/utils/has-string-or-function.js"(w,ee){qt();function Y(H){return H.some(oe=>oe.type==="string"||oe.type==="func")}ee.exports=Y}}),fo=Rt({"src/language-css/utils/is-less-parser.js"(w,ee){qt();function Y(H){return H.parser==="css"||H.parser==="less"}ee.exports=Y}}),Cs=Rt({"src/language-css/utils/is-scss.js"(w,ee){qt();function Y(H,oe){return H==="less"||H==="scss"?H==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(oe)}ee.exports=Y}}),Jo=Rt({"src/language-css/utils/is-scss-nested-property-node.js"(w,ee){qt();function Y(H){return H.selector?H.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}ee.exports=Y}}),ao=Rt({"src/language-css/utils/is-scss-variable.js"(w,ee){qt();function Y(H){return!!((H==null?void 0:H.type)==="word"&&H.value.startsWith("$"))}ee.exports=Y}}),Ks=Rt({"src/language-css/utils/stringify-node.js"(w,ee){qt();function Y(H){var oe,pe,ce;if(H.groups){var de,se,fe;let ve=((de=H.open)===null||de===void 0?void 0:de.value)||"",Ae=H.groups.map(yt=>Y(yt)).join(((se=H.groups[0])===null||se===void 0?void 0:se.type)==="comma_group"?",":""),pt=((fe=H.close)===null||fe===void 0?void 0:fe.value)||"";return ve+Ae+pt}let P=((oe=H.raws)===null||oe===void 0?void 0:oe.before)||"",C=((pe=H.raws)===null||pe===void 0?void 0:pe.quote)||"",J=H.type==="atword"?"@":"",V=H.value||"",we=H.unit||"",De=H.group?Y(H.group):"",Xe=((ce=H.raws)===null||ce===void 0?void 0:ce.after)||"";return P+C+J+V+C+we+De+Xe}ee.exports=Y}}),_u=Rt({"src/language-css/utils/is-module-rule-name.js"(w,ee){qt();var Y=new Set(["import","use","forward"]);function H(oe){return Y.has(oe)}ee.exports=H}}),So=Rt({"node_modules/postcss-values-parser/lib/node.js"(w,ee){qt();var Y=function(H,oe){let pe=new H.constructor;for(let ce in H){if(!H.hasOwnProperty(ce))continue;let de=H[ce],se=typeof de;ce==="parent"&&se==="object"?oe&&(pe[ce]=oe):ce==="source"?pe[ce]=de:de instanceof Array?pe[ce]=de.map(fe=>Y(fe,pe)):ce!=="before"&&ce!=="after"&&ce!=="between"&&ce!=="semicolon"&&(se==="object"&&de!==null&&(de=Y(de)),pe[ce]=de)}return pe};ee.exports=class{constructor(H){H=H||{},this.raws={before:"",after:""};for(let oe in H)this[oe]=H[oe]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(H){H=H||{};let oe=Y(this);for(let pe in H)oe[pe]=H[pe];return oe}cloneBefore(H){H=H||{};let oe=this.clone(H);return this.parent.insertBefore(this,oe),oe}cloneAfter(H){H=H||{};let oe=this.clone(H);return this.parent.insertAfter(this,oe),oe}replaceWith(){let H=Array.prototype.slice.call(arguments);if(this.parent){for(let oe of H)this.parent.insertBefore(this,oe);this.remove()}return this}moveTo(H){return this.cleanRaws(this.root()===H.root()),this.remove(),H.append(this),this}moveBefore(H){return this.cleanRaws(this.root()===H.root()),this.remove(),H.parent.insertBefore(H,this),this}moveAfter(H){return this.cleanRaws(this.root()===H.root()),this.remove(),H.parent.insertAfter(H,this),this}next(){let H=this.parent.index(this);return this.parent.nodes[H+1]}prev(){let H=this.parent.index(this);return this.parent.nodes[H-1]}toJSON(){let H={};for(let oe in this){if(!this.hasOwnProperty(oe)||oe==="parent")continue;let pe=this[oe];pe instanceof Array?H[oe]=pe.map(ce=>typeof ce=="object"&&ce.toJSON?ce.toJSON():ce):typeof pe=="object"&&pe.toJSON?H[oe]=pe.toJSON():H[oe]=pe}return H}root(){let H=this;for(;H.parent;)H=H.parent;return H}cleanRaws(H){delete this.raws.before,delete this.raws.after,H||delete this.raws.between}positionInside(H){let oe=this.toString(),pe=this.source.start.column,ce=this.source.start.line;for(let de=0;de<H;de++)oe[de]===`
|
||
`?(pe=1,ce+=1):pe+=1;return{line:ce,column:pe}}positionBy(H){let oe=this.source.start;if(Object(H).index)oe=this.positionInside(H.index);else if(Object(H).word){let pe=this.toString().indexOf(H.word);pe!==-1&&(oe=this.positionInside(pe))}return oe}}}}),Ys=Rt({"node_modules/postcss-values-parser/lib/container.js"(w,ee){qt();var Y=So(),H=class extends Y{constructor(oe){super(oe),this.nodes||(this.nodes=[])}push(oe){return oe.parent=this,this.nodes.push(oe),this}each(oe){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let pe=this.lastEach,ce,de;if(this.indexes[pe]=0,!!this.nodes){for(;this.indexes[pe]<this.nodes.length&&(ce=this.indexes[pe],de=oe(this.nodes[ce],ce),de!==!1);)this.indexes[pe]+=1;return delete this.indexes[pe],de}}walk(oe){return this.each((pe,ce)=>{let de=oe(pe,ce);return de!==!1&&pe.walk&&(de=pe.walk(oe)),de})}walkType(oe,pe){if(!oe||!pe)throw new Error("Parameters {type} and {callback} are required.");let ce=typeof oe=="function";return this.walk((de,se)=>{if(ce&&de instanceof oe||!ce&&de.type===oe)return pe.call(this,de,se)})}append(oe){return oe.parent=this,this.nodes.push(oe),this}prepend(oe){return oe.parent=this,this.nodes.unshift(oe),this}cleanRaws(oe){if(super.cleanRaws(oe),this.nodes)for(let pe of this.nodes)pe.cleanRaws(oe)}insertAfter(oe,pe){let ce=this.index(oe),de;this.nodes.splice(ce+1,0,pe);for(let se in this.indexes)de=this.indexes[se],ce<=de&&(this.indexes[se]=de+this.nodes.length);return this}insertBefore(oe,pe){let ce=this.index(oe),de;this.nodes.splice(ce,0,pe);for(let se in this.indexes)de=this.indexes[se],ce<=de&&(this.indexes[se]=de+this.nodes.length);return this}removeChild(oe){oe=this.index(oe),this.nodes[oe].parent=void 0,this.nodes.splice(oe,1);let pe;for(let ce in this.indexes)pe=this.indexes[ce],pe>=oe&&(this.indexes[ce]=pe-1);return this}removeAll(){for(let oe of this.nodes)oe.parent=void 0;return this.nodes=[],this}every(oe){return this.nodes.every(oe)}some(oe){return this.nodes.some(oe)}index(oe){return typeof oe=="number"?oe:this.nodes.indexOf(oe)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let oe=this.nodes.map(String).join("");return this.value&&(oe=this.value+oe),this.raws.before&&(oe=this.raws.before+oe),this.raws.after&&(oe+=this.raws.after),oe}};H.registerWalker=oe=>{let pe="walk"+oe.name;pe.lastIndexOf("s")!==pe.length-1&&(pe+="s"),!H.prototype[pe]&&(H.prototype[pe]=function(ce){return this.walkType(oe,ce)})},ee.exports=H}}),mo=Rt({"node_modules/postcss-values-parser/lib/root.js"(w,ee){qt();var Y=Ys();ee.exports=class extends Y{constructor(H){super(H),this.type="root"}}}}),wl=Rt({"node_modules/postcss-values-parser/lib/value.js"(w,ee){qt();var Y=Ys();ee.exports=class extends Y{constructor(H){super(H),this.type="value",this.unbalanced=0}}}}),Al=Rt({"node_modules/postcss-values-parser/lib/atword.js"(w,ee){qt();var Y=Ys(),H=class extends Y{constructor(oe){super(oe),this.type="atword"}toString(){return this.quoted&&this.raws.quote,[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};Y.registerWalker(H),ee.exports=H}}),$u=Rt({"node_modules/postcss-values-parser/lib/colon.js"(w,ee){qt();var Y=Ys(),H=So(),oe=class extends H{constructor(pe){super(pe),this.type="colon"}};Y.registerWalker(oe),ee.exports=oe}}),Tl=Rt({"node_modules/postcss-values-parser/lib/comma.js"(w,ee){qt();var Y=Ys(),H=So(),oe=class extends H{constructor(pe){super(pe),this.type="comma"}};Y.registerWalker(oe),ee.exports=oe}}),su=Rt({"node_modules/postcss-values-parser/lib/comment.js"(w,ee){qt();var Y=Ys(),H=So(),oe=class extends H{constructor(pe){super(pe),this.type="comment",this.inline=Object(pe).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Y.registerWalker(oe),ee.exports=oe}}),$a=Rt({"node_modules/postcss-values-parser/lib/function.js"(w,ee){qt();var Y=Ys(),H=class extends Y{constructor(oe){super(oe),this.type="func",this.unbalanced=-1}};Y.registerWalker(H),ee.exports=H}}),lc=Rt({"node_modules/postcss-values-parser/lib/number.js"(w,ee){qt();var Y=Ys(),H=So(),oe=class extends H{constructor(pe){super(pe),this.type="number",this.unit=Object(pe).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};Y.registerWalker(oe),ee.exports=oe}}),cc=Rt({"node_modules/postcss-values-parser/lib/operator.js"(w,ee){qt();var Y=Ys(),H=So(),oe=class extends H{constructor(pe){super(pe),this.type="operator"}};Y.registerWalker(oe),ee.exports=oe}}),Ln=Rt({"node_modules/postcss-values-parser/lib/paren.js"(w,ee){qt();var Y=Ys(),H=So(),oe=class extends H{constructor(pe){super(pe),this.type="paren",this.parenType=""}};Y.registerWalker(oe),ee.exports=oe}}),Pl=Rt({"node_modules/postcss-values-parser/lib/string.js"(w,ee){qt();var Y=Ys(),H=So(),oe=class extends H{constructor(pe){super(pe),this.type="string"}toString(){let pe=this.quoted?this.raws.quote:"";return[this.raws.before,pe,this.value+"",pe,this.raws.after].join("")}};Y.registerWalker(oe),ee.exports=oe}}),hc=Rt({"node_modules/postcss-values-parser/lib/word.js"(w,ee){qt();var Y=Ys(),H=So(),oe=class extends H{constructor(pe){super(pe),this.type="word"}};Y.registerWalker(oe),ee.exports=oe}}),pc=Rt({"node_modules/postcss-values-parser/lib/unicode-range.js"(w,ee){qt();var Y=Ys(),H=So(),oe=class extends H{constructor(pe){super(pe),this.type="unicode-range"}};Y.registerWalker(oe),ee.exports=oe}});function kl(){throw new Error("setTimeout has not been defined")}function Bu(){throw new Error("clearTimeout has not been defined")}function Fl(w){if(Ko===setTimeout)return setTimeout(w,0);if((Ko===kl||!Ko)&&setTimeout)return Ko=setTimeout,setTimeout(w,0);try{return Ko(w,0)}catch{try{return Ko.call(null,w,0)}catch{return Ko.call(this,w,0)}}}function uh(w){if(ea===clearTimeout)return clearTimeout(w);if((ea===Bu||!ea)&&clearTimeout)return ea=clearTimeout,clearTimeout(w);try{return ea(w)}catch{try{return ea.call(null,w)}catch{return ea.call(this,w)}}}function fc(){!Fo||!fi||(Fo=!1,fi.length?Qo=fi.concat(Qo):Ba=-1,Qo.length&&dc())}function dc(){if(!Fo){var w=Fl(fc);Fo=!0;for(var ee=Qo.length;ee;){for(fi=Qo,Qo=[];++Ba<ee;)fi&&fi[Ba].run();Ba=-1,ee=Qo.length}fi=null,Fo=!1,uh(w)}}function Oa(w){var ee=new Array(arguments.length-1);if(arguments.length>1)for(var Y=1;Y<arguments.length;Y++)ee[Y-1]=arguments[Y];Qo.push(new Nu(w,ee)),Qo.length===1&&!Fo&&Fl(dc)}function Nu(w,ee){this.fun=w,this.array=ee}function xa(){}function mc(w){throw new Error("process.binding is not supported")}function gc(){return"/"}function lh(w){throw new Error("process.chdir is not supported")}function Iu(){return 0}function Mu(w){var ee=li.call(vn)*.001,Y=Math.floor(ee),H=Math.floor(ee%1*1e9);return w&&(Y=Y-w[0],H=H-w[1],H<0&&(Y--,H+=1e9)),[Y,H]}function go(){var w=new Date,ee=w-vi;return ee/1e3}var Ko,ea,Qo,Fo,fi,Ba,_l,ou,Ru,Na,Qu,ju,au,Lu,$l,bn,Ur,Vr,Ar,mr,Nr,rr,vn,li,vi,gi,kn,Ti=Kr({"node-modules-polyfills:process"(){qt(),Ko=kl,ea=Bu,typeof globalThis.setTimeout=="function"&&(Ko=setTimeout),typeof globalThis.clearTimeout=="function"&&(ea=clearTimeout),Qo=[],Fo=!1,Ba=-1,Nu.prototype.run=function(){this.fun.apply(null,this.array)},_l="browser",ou="browser",Ru=!0,Na={},Qu=[],ju="",au={},Lu={},$l={},bn=xa,Ur=xa,Vr=xa,Ar=xa,mr=xa,Nr=xa,rr=xa,vn=globalThis.performance||{},li=vn.now||vn.mozNow||vn.msNow||vn.oNow||vn.webkitNow||function(){return new Date().getTime()},vi=new Date,gi={nextTick:Oa,title:_l,browser:Ru,env:Na,argv:Qu,version:ju,versions:au,on:bn,addListener:Ur,once:Vr,off:Ar,removeListener:mr,removeAllListeners:Nr,emit:rr,binding:mc,cwd:gc,chdir:lh,umask:Iu,hrtime:Mu,platform:ou,release:Lu,config:$l,uptime:go},kn=gi}}),Qr,Bi,Fs=Kr({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){qt(),typeof Object.create=="function"?Qr=function(w,ee){w.super_=ee,w.prototype=Object.create(ee.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}})}:Qr=function(w,ee){w.super_=ee;var Y=function(){};Y.prototype=ee.prototype,w.prototype=new Y,w.prototype.constructor=w},Bi=Qr}}),Xn={};En(Xn,{_extend:()=>Me,debuglog:()=>Ni,default:()=>Ji,deprecate:()=>xs,format:()=>ki,inherits:()=>Bi,inspect:()=>Hi,isArray:()=>Gt,isBoolean:()=>tn,isBuffer:()=>Er,isDate:()=>jr,isError:()=>Nn,isFunction:()=>ri,isNull:()=>it,isNullOrUndefined:()=>wt,isNumber:()=>Vt,isObject:()=>Mn,isPrimitive:()=>ts,isRegExp:()=>rn,isString:()=>ar,isSymbol:()=>tr,isUndefined:()=>fr,log:()=>Ei});function ki(w){if(!ar(w)){for(var ee=[],Y=0;Y<arguments.length;Y++)ee.push(Hi(arguments[Y]));return ee.join(" ")}for(var Y=1,H=arguments,oe=H.length,pe=String(w).replace(sr,function(se){if(se==="%%")return"%";if(Y>=oe)return se;switch(se){case"%s":return String(H[Y++]);case"%d":return Number(H[Y++]);case"%j":try{return JSON.stringify(H[Y++])}catch{return"[Circular]"}default:return se}}),ce=H[Y];Y<oe;ce=H[++Y])it(ce)||!Mn(ce)?pe+=" "+ce:pe+=" "+Hi(ce);return pe}function xs(w,ee){if(fr(globalThis.process))return function(){return xs(w,ee).apply(this,arguments)};if(kn.noDeprecation===!0)return w;var Y=!1;function H(){if(!Y){if(kn.throwDeprecation)throw new Error(ee);kn.traceDeprecation?console.trace(ee):console.error(ee),Y=!0}return w.apply(this,arguments)}return H}function Ni(w){if(fr(Ir)&&(Ir=kn.env.NODE_DEBUG||""),w=w.toUpperCase(),!Xt[w])if(new RegExp("\\b"+w+"\\b","i").test(Ir)){var ee=0;Xt[w]=function(){var Y=ki.apply(null,arguments);console.error("%s %d: %s",w,ee,Y)}}else Xt[w]=function(){};return Xt[w]}function Hi(w,ee){var Y={seen:[],stylize:te};return arguments.length>=3&&(Y.depth=arguments[2]),arguments.length>=4&&(Y.colors=arguments[3]),tn(ee)?Y.showHidden=ee:ee&&Me(Y,ee),fr(Y.showHidden)&&(Y.showHidden=!1),fr(Y.depth)&&(Y.depth=2),fr(Y.colors)&&(Y.colors=!1),fr(Y.customInspect)&&(Y.customInspect=!0),Y.colors&&(Y.stylize=eo),ot(Y,w,Y.depth)}function eo(w,ee){var Y=Hi.styles[ee];return Y?"\x1B["+Hi.colors[Y][0]+"m"+w+"\x1B["+Hi.colors[Y][1]+"m":w}function te(w,ee){return w}function Re(w){var ee={};return w.forEach(function(Y,H){ee[Y]=!0}),ee}function ot(w,ee,Y){if(w.customInspect&&ee&&ri(ee.inspect)&&ee.inspect!==Hi&&!(ee.constructor&&ee.constructor.prototype===ee)){var H=ee.inspect(Y,w);return ar(H)||(H=ot(w,H,Y)),H}var oe=at(w,ee);if(oe)return oe;var pe=Object.keys(ee),ce=Re(pe);if(w.showHidden&&(pe=Object.getOwnPropertyNames(ee)),Nn(ee)&&(pe.indexOf("message")>=0||pe.indexOf("description")>=0))return Pt(ee);if(pe.length===0){if(ri(ee)){var de=ee.name?": "+ee.name:"";return w.stylize("[Function"+de+"]","special")}if(rn(ee))return w.stylize(RegExp.prototype.toString.call(ee),"regexp");if(jr(ee))return w.stylize(Date.prototype.toString.call(ee),"date");if(Nn(ee))return Pt(ee)}var se="",fe=!1,P=["{","}"];if(Gt(ee)&&(fe=!0,P=["[","]"]),ri(ee)){var C=ee.name?": "+ee.name:"";se=" [Function"+C+"]"}if(rn(ee)&&(se=" "+RegExp.prototype.toString.call(ee)),jr(ee)&&(se=" "+Date.prototype.toUTCString.call(ee)),Nn(ee)&&(se=" "+Pt(ee)),pe.length===0&&(!fe||ee.length==0))return P[0]+se+P[1];if(Y<0)return rn(ee)?w.stylize(RegExp.prototype.toString.call(ee),"regexp"):w.stylize("[Object]","special");w.seen.push(ee);var J;return fe?J=qe(w,ee,Y,ce,pe):J=pe.map(function(V){return ut(w,ee,Y,ce,V,fe)}),w.seen.pop(),Lt(J,se,P)}function at(w,ee){if(fr(ee))return w.stylize("undefined","undefined");if(ar(ee)){var Y="'"+JSON.stringify(ee).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return w.stylize(Y,"string")}if(Vt(ee))return w.stylize(""+ee,"number");if(tn(ee))return w.stylize(""+ee,"boolean");if(it(ee))return w.stylize("null","null")}function Pt(w){return"["+Error.prototype.toString.call(w)+"]"}function qe(w,ee,Y,H,oe){for(var pe=[],ce=0,de=ee.length;ce<de;++ce)st(ee,String(ce))?pe.push(ut(w,ee,Y,H,String(ce),!0)):pe.push("");return oe.forEach(function(se){se.match(/^\d+$/)||pe.push(ut(w,ee,Y,H,se,!0))}),pe}function ut(w,ee,Y,H,oe,pe){var ce,de,se;if(se=Object.getOwnPropertyDescriptor(ee,oe)||{value:ee[oe]},se.get?se.set?de=w.stylize("[Getter/Setter]","special"):de=w.stylize("[Getter]","special"):se.set&&(de=w.stylize("[Setter]","special")),st(H,oe)||(ce="["+oe+"]"),de||(w.seen.indexOf(se.value)<0?(it(Y)?de=ot(w,se.value,null):de=ot(w,se.value,Y-1),de.indexOf(`
|
||
`)>-1&&(pe?de=de.split(`
|
||
`).map(function(fe){return" "+fe}).join(`
|
||
`).substr(2):de=`
|
||
`+de.split(`
|
||
`).map(function(fe){return" "+fe}).join(`
|
||
`))):de=w.stylize("[Circular]","special")),fr(ce)){if(pe&&oe.match(/^\d+$/))return de;ce=JSON.stringify(""+oe),ce.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ce=ce.substr(1,ce.length-2),ce=w.stylize(ce,"name")):(ce=ce.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ce=w.stylize(ce,"string"))}return ce+": "+de}function Lt(w,ee,Y){var H=0,oe=w.reduce(function(pe,ce){return H++,ce.indexOf(`
|
||
`)>=0&&H++,pe+ce.replace(/\u001b\[\d\d?m/g,"").length+1},0);return oe>60?Y[0]+(ee===""?"":ee+`
|
||
`)+" "+w.join(`,
|
||
`)+" "+Y[1]:Y[0]+ee+" "+w.join(", ")+" "+Y[1]}function Gt(w){return Array.isArray(w)}function tn(w){return typeof w=="boolean"}function it(w){return w===null}function wt(w){return w==null}function Vt(w){return typeof w=="number"}function ar(w){return typeof w=="string"}function tr(w){return typeof w=="symbol"}function fr(w){return w===void 0}function rn(w){return Mn(w)&&Zn(w)==="[object RegExp]"}function Mn(w){return typeof w=="object"&&w!==null}function jr(w){return Mn(w)&&Zn(w)==="[object Date]"}function Nn(w){return Mn(w)&&(Zn(w)==="[object Error]"||w instanceof Error)}function ri(w){return typeof w=="function"}function ts(w){return w===null||typeof w=="boolean"||typeof w=="number"||typeof w=="string"||typeof w=="symbol"||typeof w>"u"}function Er(w){return Buffer.isBuffer(w)}function Zn(w){return Object.prototype.toString.call(w)}function Jn(w){return w<10?"0"+w.toString(10):w.toString(10)}function xi(){var w=new Date,ee=[Jn(w.getHours()),Jn(w.getMinutes()),Jn(w.getSeconds())].join(":");return[w.getDate(),Ci[w.getMonth()],ee].join(" ")}function Ei(){console.log("%s - %s",xi(),ki.apply(null,arguments))}function Me(w,ee){if(!ee||!Mn(ee))return w;for(var Y=Object.keys(ee),H=Y.length;H--;)w[Y[H]]=ee[Y[H]];return w}function st(w,ee){return Object.prototype.hasOwnProperty.call(w,ee)}var sr,Xt,Ir,Ci,Ji,to=Kr({"node-modules-polyfills:util"(){qt(),Ti(),Fs(),sr=/%[sdj%]/g,Xt={},Hi.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Hi.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Ci=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ji={inherits:Bi,_extend:Me,log:Ei,isBuffer:Er,isPrimitive:ts,isFunction:ri,isError:Nn,isDate:jr,isObject:Mn,isRegExp:rn,isUndefined:fr,isSymbol:tr,isString:ar,isNumber:Vt,isNullOrUndefined:wt,isNull:it,isBoolean:tn,isArray:Gt,inspect:Hi,deprecate:xs,format:ki,debuglog:Ni}}}),Is=Rt({"node-modules-polyfills-commonjs:util"(w,ee){qt();var Y=(to(),Hn(Xn));if(Y&&Y.default){ee.exports=Y.default;for(let H in Y)ee.exports[H]=Y[H]}else Y&&(ee.exports=Y)}}),yo=Rt({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(w,ee){qt();var Y=class extends Error{constructor(H){super(H),this.name=this.constructor.name,this.message=H||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(H).stack}};ee.exports=Y}}),Do=Rt({"node_modules/postcss-values-parser/lib/tokenize.js"(w,ee){qt();var Y=123,H=125,oe=40,pe=41,ce=39,de=34,se=92,fe=47,P=46,C=44,J=58,V=42,we=45,De=43,Xe=35,ve=10,Ae=32,pt=12,yt=9,Ft=13,Tr=64,Yr=101,un=69,Vn=48,wn=57,Rn=117,Tn=85,Un=/[ \n\t\r\{\(\)'"\\;,/]/g,Br=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,hr=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,Mr=/^[a-z0-9]/i,pr=/^[a-f0-9?\-]/i,_s=Is(),es=yo();ee.exports=function(hs,Zi){Zi=Zi||{};let _r=[],Dn=hs.valueOf(),ci=Dn.length,Kn=-1,hi=1,Tt=0,Jt=0,nr=null,Gr,St,An,fn,ro,qi,Vs,ia,uo,Rs,No;function ks(Us){let oo=_s.format("Unclosed %s at line: %d, column: %d, token: %d",Us,hi,Tt-Kn,Tt);throw new es(oo)}for(;Tt<ci;){switch(Gr=Dn.charCodeAt(Tt),Gr===ve&&(Kn=Tt,hi+=1),Gr){case ve:case Ae:case yt:case Ft:case pt:St=Tt;do St+=1,Gr=Dn.charCodeAt(St),Gr===ve&&(Kn=St,hi+=1);while(Gr===Ae||Gr===ve||Gr===yt||Gr===Ft||Gr===pt);_r.push(["space",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break;case J:St=Tt+1,_r.push(["colon",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break;case C:St=Tt+1,_r.push(["comma",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break;case Y:_r.push(["{","{",hi,Tt-Kn,hi,St-Kn,Tt]);break;case H:_r.push(["}","}",hi,Tt-Kn,hi,St-Kn,Tt]);break;case oe:Jt++,nr=!nr&&Jt===1&&_r.length>0&&_r[_r.length-1][0]==="word"&&_r[_r.length-1][1]==="url",_r.push(["(","(",hi,Tt-Kn,hi,St-Kn,Tt]);break;case pe:Jt--,nr=nr&&Jt>0,_r.push([")",")",hi,Tt-Kn,hi,St-Kn,Tt]);break;case ce:case de:An=Gr===ce?"'":'"',St=Tt;do for(uo=!1,St=Dn.indexOf(An,St+1),St===-1&&ks("quote"),Rs=St;Dn.charCodeAt(Rs-1)===se;)Rs-=1,uo=!uo;while(uo);_r.push(["string",Dn.slice(Tt,St+1),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St;break;case Tr:Un.lastIndex=Tt+1,Un.test(Dn),Un.lastIndex===0?St=Dn.length-1:St=Un.lastIndex-2,_r.push(["atword",Dn.slice(Tt,St+1),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St;break;case se:St=Tt,Gr=Dn.charCodeAt(St+1),_r.push(["word",Dn.slice(Tt,St+1),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St;break;case De:case we:case V:if(St=Tt+1,No=Dn.slice(Tt+1,St+1),Dn.slice(Tt-1,Tt),Gr===we&&No.charCodeAt(0)===we){St++,_r.push(["word",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break}_r.push(["operator",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;break;default:if(Gr===fe&&(Dn.charCodeAt(Tt+1)===V||Zi.loose&&!nr&&Dn.charCodeAt(Tt+1)===fe)){if(Dn.charCodeAt(Tt+1)===V)St=Dn.indexOf("*/",Tt+2)+1,St===0&&ks("comment");else{let Us=Dn.indexOf(`
|
||
`,Tt+2);St=Us!==-1?Us-1:ci}qi=Dn.slice(Tt,St+1),fn=qi.split(`
|
||
`),ro=fn.length-1,ro>0?(Vs=hi+ro,ia=St-fn[ro].length):(Vs=hi,ia=Kn),_r.push(["comment",qi,hi,Tt-Kn,Vs,St-ia,Tt]),Kn=ia,hi=Vs,Tt=St}else if(Gr===Xe&&!Mr.test(Dn.slice(Tt+1,Tt+2)))St=Tt+1,_r.push(["#",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;else if((Gr===Rn||Gr===Tn)&&Dn.charCodeAt(Tt+1)===De){St=Tt+2;do St+=1,Gr=Dn.charCodeAt(St);while(St<ci&&pr.test(Dn.slice(St,St+1)));_r.push(["unicoderange",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1}else if(Gr===fe)St=Tt+1,_r.push(["operator",Dn.slice(Tt,St),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St-1;else{let Us=Br;if(Gr>=Vn&&Gr<=wn&&(Us=hr),Us.lastIndex=Tt+1,Us.test(Dn),Us.lastIndex===0?St=Dn.length-1:St=Us.lastIndex-2,Us===hr||Gr===P){let oo=Dn.charCodeAt(St),Tc=Dn.charCodeAt(St+1),bp=Dn.charCodeAt(St+2);(oo===Yr||oo===un)&&(Tc===we||Tc===De)&&bp>=Vn&&bp<=wn&&(hr.lastIndex=St+2,hr.test(Dn),hr.lastIndex===0?St=Dn.length-1:St=hr.lastIndex-2)}_r.push(["word",Dn.slice(Tt,St+1),hi,Tt-Kn,hi,St-Kn,Tt]),Tt=St}break}Tt++}return _r}}}),_o=Rt({"node_modules/flatten/index.js"(w,ee){qt(),ee.exports=function(Y,H){if(H=typeof H=="number"?H:1/0,!H)return Array.isArray(Y)?Y.map(function(pe){return pe}):Y;return oe(Y,1);function oe(pe,ce){return pe.reduce(function(de,se){return Array.isArray(se)&&ce<H?de.concat(oe(se,ce+1)):de.concat(se)},[])}}}}),$o=Rt({"node_modules/indexes-of/index.js"(w,ee){qt(),ee.exports=function(Y,H){for(var oe=-1,pe=[];(oe=Y.indexOf(H,oe+1))!==-1;)pe.push(oe);return pe}}}),zi=Rt({"node_modules/uniq/uniq.js"(w,ee){qt();function Y(pe,ce){for(var de=1,se=pe.length,fe=pe[0],P=pe[0],C=1;C<se;++C)if(P=fe,fe=pe[C],ce(fe,P)){if(C===de){de++;continue}pe[de++]=fe}return pe.length=de,pe}function H(pe){for(var ce=1,de=pe.length,se=pe[0],fe=pe[0],P=1;P<de;++P,fe=se)if(fe=se,se=pe[P],se!==fe){if(P===ce){ce++;continue}pe[ce++]=se}return pe.length=ce,pe}function oe(pe,ce,de){return pe.length===0?pe:ce?(de||pe.sort(ce),Y(pe,ce)):(de||pe.sort(),H(pe))}ee.exports=oe}}),Qe=Rt({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(w,ee){qt();var Y=class extends Error{constructor(H){super(H),this.name=this.constructor.name,this.message=H||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(H).stack}};ee.exports=Y}}),an=Rt({"node_modules/postcss-values-parser/lib/parser.js"(w,ee){qt();var Y=mo(),H=wl(),oe=Al(),pe=$u(),ce=Tl(),de=su(),se=$a(),fe=lc(),P=cc(),C=Ln(),J=Pl(),V=hc(),we=pc(),De=Do(),Xe=_o(),ve=$o(),Ae=zi(),pt=Qe();function yt(Ft){return Ft.sort((Tr,Yr)=>Tr-Yr)}ee.exports=class{constructor(Ft,Tr){let Yr={loose:!1};this.cache=[],this.input=Ft,this.options=Object.assign({},Yr,Tr),this.position=0,this.unbalanced=0,this.root=new Y;let un=new H;this.root.append(un),this.current=un,this.tokens=De(Ft,this.options)}parse(){return this.loop()}colon(){let Ft=this.currToken;this.newNode(new pe({value:Ft[1],source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6]})),this.position++}comma(){let Ft=this.currToken;this.newNode(new ce({value:Ft[1],source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6]})),this.position++}comment(){let Ft=!1,Tr=this.currToken[1].replace(/\/\*|\*\//g,""),Yr;this.options.loose&&Tr.startsWith("//")&&(Tr=Tr.substring(2),Ft=!0),Yr=new de({value:Tr,inline:Ft,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(Yr),this.position++}error(Ft,Tr){throw new pt(Ft+` at line: ${Tr[2]}, column ${Tr[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let Ft=this.currToken[1],Tr;if(Ft==="+"||Ft==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return Tr=new P({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(Tr)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let Ft=1,Tr=this.position+1,Yr=this.currToken,un;for(;Tr<this.tokens.length&&Ft;){let Vn=this.tokens[Tr];Vn[0]==="("&&Ft++,Vn[0]===")"&&Ft--,Tr++}if(Ft&&this.error("Expected closing parenthesis",Yr),un=this.current.last,un&&un.type==="func"&&un.unbalanced<0&&(un.unbalanced=0,this.current=un),this.current.unbalanced++,this.newNode(new C({value:Yr[1],source:{start:{line:Yr[2],column:Yr[3]},end:{line:Yr[4],column:Yr[5]}},sourceIndex:Yr[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let Vn=this.nextToken,wn=this.currToken[1],Rn={line:this.currToken[2],column:this.currToken[3]};for(;Vn&&Vn[0]!==")"&&this.current.unbalanced;)this.position++,wn+=this.currToken[1],Vn=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new V({value:wn,source:{start:Rn,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let Ft=this.currToken;this.newNode(new C({value:Ft[1],source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",Ft),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let Ft=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=Ft[1],this.position++):(this.spaces=Ft[1],this.position++)}unicodeRange(){let Ft=this.currToken;this.newNode(new we({value:Ft[1],source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6]})),this.position++}splitWord(){let Ft=this.nextToken,Tr=this.currToken[1],Yr=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,un=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,Vn,wn;if(!un.test(Tr))for(;Ft&&Ft[0]==="word";){this.position++;let Rn=this.currToken[1];Tr+=Rn,Ft=this.nextToken}Vn=ve(Tr,"@"),wn=yt(Ae(Xe([[0],Vn]))),wn.forEach((Rn,Tn)=>{let Un=wn[Tn+1]||Tr.length,Br=Tr.slice(Rn,Un),hr;if(~Vn.indexOf(Rn))hr=new oe({value:Br.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+Rn},end:{line:this.currToken[4],column:this.currToken[3]+(Un-1)}},sourceIndex:this.currToken[6]+wn[Tn]});else if(Yr.test(this.currToken[1])){let Mr=Br.replace(Yr,"");hr=new fe({value:Br.replace(Mr,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+Rn},end:{line:this.currToken[4],column:this.currToken[3]+(Un-1)}},sourceIndex:this.currToken[6]+wn[Tn],unit:Mr})}else hr=new(Ft&&Ft[0]==="("?se:V)({value:Br,source:{start:{line:this.currToken[2],column:this.currToken[3]+Rn},end:{line:this.currToken[4],column:this.currToken[3]+(Un-1)}},sourceIndex:this.currToken[6]+wn[Tn]}),hr.type==="word"?(hr.isHex=/^#(.+)/.test(Br),hr.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(Br)):this.cache.push(this.current);this.newNode(hr)}),this.position++}string(){let Ft=this.currToken,Tr=this.currToken[1],Yr=/^(\"|\')/,un=Yr.test(Tr),Vn="",wn;un&&(Vn=Tr.match(Yr)[0],Tr=Tr.slice(1,Tr.length-1)),wn=new J({value:Tr,source:{start:{line:Ft[2],column:Ft[3]},end:{line:Ft[4],column:Ft[5]}},sourceIndex:Ft[6],quoted:un}),wn.raws.quote=Vn,this.newNode(wn),this.position++}word(){return this.splitWord()}newNode(Ft){return this.spaces&&(Ft.raws.before+=this.spaces,this.spaces=""),this.current.append(Ft)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),Fn=Rt({"node_modules/postcss-values-parser/lib/index.js"(w,ee){qt();var Y=an(),H=Al(),oe=$u(),pe=Tl(),ce=su(),de=$a(),se=lc(),fe=cc(),P=Ln(),C=Pl(),J=pc(),V=wl(),we=hc(),De=function(Xe,ve){return new Y(Xe,ve)};De.atword=function(Xe){return new H(Xe)},De.colon=function(Xe){return new oe(Object.assign({value:":"},Xe))},De.comma=function(Xe){return new pe(Object.assign({value:","},Xe))},De.comment=function(Xe){return new ce(Xe)},De.func=function(Xe){return new de(Xe)},De.number=function(Xe){return new se(Xe)},De.operator=function(Xe){return new fe(Xe)},De.paren=function(Xe){return new P(Object.assign({value:"("},Xe))},De.string=function(Xe){return new C(Object.assign({quote:"'"},Xe))},De.value=function(Xe){return new V(Xe)},De.word=function(Xe){return new we(Xe)},De.unicodeRange=function(Xe){return new J(Xe)},ee.exports=De}}),Cn=Rt({"node_modules/postcss-selector-parser/dist/selectors/node.js"(w,ee){qt(),w.__esModule=!0;var Y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ce){return typeof ce}:function(ce){return ce&&typeof Symbol=="function"&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce};function H(ce,de){if(!(ce instanceof de))throw new TypeError("Cannot call a class as a function")}var oe=function ce(de,se){if((typeof de>"u"?"undefined":Y(de))!=="object")return de;var fe=new de.constructor;for(var P in de)if(de.hasOwnProperty(P)){var C=de[P],J=typeof C>"u"?"undefined":Y(C);P==="parent"&&J==="object"?se&&(fe[P]=se):C instanceof Array?fe[P]=C.map(function(V){return ce(V,fe)}):fe[P]=ce(C,fe)}return fe},pe=function(){function ce(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};H(this,ce);for(var se in de)this[se]=de[se];var fe=de.spaces;fe=fe===void 0?{}:fe;var P=fe.before,C=P===void 0?"":P,J=fe.after,V=J===void 0?"":J;this.spaces={before:C,after:V}}return ce.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},ce.prototype.replaceWith=function(){if(this.parent){for(var de in arguments)this.parent.insertBefore(this,arguments[de]);this.remove()}return this},ce.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},ce.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},ce.prototype.clone=function(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},se=oe(this);for(var fe in de)se[fe]=de[fe];return se},ce.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},ce}();w.default=pe,ee.exports=w.default}}),yi=Rt({"node_modules/postcss-selector-parser/dist/selectors/types.js"(w){qt(),w.__esModule=!0,w.TAG="tag",w.STRING="string",w.SELECTOR="selector",w.ROOT="root",w.PSEUDO="pseudo",w.NESTING="nesting",w.ID="id",w.COMMENT="comment",w.COMBINATOR="combinator",w.CLASS="class",w.ATTRIBUTE="attribute",w.UNIVERSAL="universal"}}),rs=Rt({"node_modules/postcss-selector-parser/dist/selectors/container.js"(w,ee){qt(),w.__esModule=!0;var Y=function(){function V(we,De){for(var Xe=0;Xe<De.length;Xe++){var ve=De[Xe];ve.enumerable=ve.enumerable||!1,ve.configurable=!0,"value"in ve&&(ve.writable=!0),Object.defineProperty(we,ve.key,ve)}}return function(we,De,Xe){return De&&V(we.prototype,De),Xe&&V(we,Xe),we}}(),H=Cn(),oe=se(H),pe=yi(),ce=de(pe);function de(V){if(V&&V.__esModule)return V;var we={};if(V!=null)for(var De in V)Object.prototype.hasOwnProperty.call(V,De)&&(we[De]=V[De]);return we.default=V,we}function se(V){return V&&V.__esModule?V:{default:V}}function fe(V,we){if(!(V instanceof we))throw new TypeError("Cannot call a class as a function")}function P(V,we){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we&&(typeof we=="object"||typeof we=="function")?we:V}function C(V,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof we);V.prototype=Object.create(we&&we.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),we&&(Object.setPrototypeOf?Object.setPrototypeOf(V,we):V.__proto__=we)}var J=function(V){C(we,V);function we(De){fe(this,we);var Xe=P(this,V.call(this,De));return Xe.nodes||(Xe.nodes=[]),Xe}return we.prototype.append=function(De){return De.parent=this,this.nodes.push(De),this},we.prototype.prepend=function(De){return De.parent=this,this.nodes.unshift(De),this},we.prototype.at=function(De){return this.nodes[De]},we.prototype.index=function(De){return typeof De=="number"?De:this.nodes.indexOf(De)},we.prototype.removeChild=function(De){De=this.index(De),this.at(De).parent=void 0,this.nodes.splice(De,1);var Xe=void 0;for(var ve in this.indexes)Xe=this.indexes[ve],Xe>=De&&(this.indexes[ve]=Xe-1);return this},we.prototype.removeAll=function(){for(var ve=this.nodes,De=Array.isArray(ve),Xe=0,ve=De?ve:ve[Symbol.iterator]();;){var Ae;if(De){if(Xe>=ve.length)break;Ae=ve[Xe++]}else{if(Xe=ve.next(),Xe.done)break;Ae=Xe.value}var pt=Ae;pt.parent=void 0}return this.nodes=[],this},we.prototype.empty=function(){return this.removeAll()},we.prototype.insertAfter=function(De,Xe){var ve=this.index(De);this.nodes.splice(ve+1,0,Xe);var Ae=void 0;for(var pt in this.indexes)Ae=this.indexes[pt],ve<=Ae&&(this.indexes[pt]=Ae+this.nodes.length);return this},we.prototype.insertBefore=function(De,Xe){var ve=this.index(De);this.nodes.splice(ve,0,Xe);var Ae=void 0;for(var pt in this.indexes)Ae=this.indexes[pt],ve<=Ae&&(this.indexes[pt]=Ae+this.nodes.length);return this},we.prototype.each=function(De){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Xe=this.lastEach;if(this.indexes[Xe]=0,!!this.length){for(var ve=void 0,Ae=void 0;this.indexes[Xe]<this.length&&(ve=this.indexes[Xe],Ae=De(this.at(ve),ve),Ae!==!1);)this.indexes[Xe]+=1;if(delete this.indexes[Xe],Ae===!1)return!1}},we.prototype.walk=function(De){return this.each(function(Xe,ve){var Ae=De(Xe,ve);if(Ae!==!1&&Xe.length&&(Ae=Xe.walk(De)),Ae===!1)return!1})},we.prototype.walkAttributes=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.ATTRIBUTE)return De.call(Xe,ve)})},we.prototype.walkClasses=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.CLASS)return De.call(Xe,ve)})},we.prototype.walkCombinators=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.COMBINATOR)return De.call(Xe,ve)})},we.prototype.walkComments=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.COMMENT)return De.call(Xe,ve)})},we.prototype.walkIds=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.ID)return De.call(Xe,ve)})},we.prototype.walkNesting=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.NESTING)return De.call(Xe,ve)})},we.prototype.walkPseudos=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.PSEUDO)return De.call(Xe,ve)})},we.prototype.walkTags=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.TAG)return De.call(Xe,ve)})},we.prototype.walkUniversals=function(De){var Xe=this;return this.walk(function(ve){if(ve.type===ce.UNIVERSAL)return De.call(Xe,ve)})},we.prototype.split=function(De){var Xe=this,ve=[];return this.reduce(function(Ae,pt,yt){var Ft=De.call(Xe,pt);return ve.push(pt),Ft?(Ae.push(ve),ve=[]):yt===Xe.length-1&&Ae.push(ve),Ae},[])},we.prototype.map=function(De){return this.nodes.map(De)},we.prototype.reduce=function(De,Xe){return this.nodes.reduce(De,Xe)},we.prototype.every=function(De){return this.nodes.every(De)},we.prototype.some=function(De){return this.nodes.some(De)},we.prototype.filter=function(De){return this.nodes.filter(De)},we.prototype.sort=function(De){return this.nodes.sort(De)},we.prototype.toString=function(){return this.map(String).join("")},Y(we,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),we}(oe.default);w.default=J,ee.exports=w.default}}),cs=Rt({"node_modules/postcss-selector-parser/dist/selectors/root.js"(w,ee){qt(),w.__esModule=!0;var Y=rs(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.ROOT,V}return C.prototype.toString=function(){var J=this.reduce(function(V,we){var De=String(we);return De?V+De+",":""},"").slice(0,-1);return this.trailingComma?J+",":J},C}(H.default);w.default=fe,ee.exports=w.default}}),Wi=Rt({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(w,ee){qt(),w.__esModule=!0;var Y=rs(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.SELECTOR,V}return C}(H.default);w.default=fe,ee.exports=w.default}}),Eo=Rt({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(w,ee){qt(),w.__esModule=!0;var Y=function(){function P(C,J){for(var V=0;V<J.length;V++){var we=J[V];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(C,we.key,we)}}return function(C,J,V){return J&&P(C.prototype,J),V&&P(C,V),C}}(),H=Cn(),oe=pe(H);function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(){return ce(this,C),de(this,P.apply(this,arguments))}return C.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},Y(C,[{key:"ns",get:function(){var J=this.namespace;return J?(typeof J=="string"?J:"")+"|":""}}]),C}(oe.default);w.default=fe,ee.exports=w.default}}),Za=Rt({"node_modules/postcss-selector-parser/dist/selectors/className.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.CLASS,V}return C.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},C}(H.default);w.default=fe,ee.exports=w.default}}),uu=Rt({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(w,ee){qt(),w.__esModule=!0;var Y=Cn(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.COMMENT,V}return C}(H.default);w.default=fe,ee.exports=w.default}}),lu=Rt({"node_modules/postcss-selector-parser/dist/selectors/id.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.ID,V}return C.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},C}(H.default);w.default=fe,ee.exports=w.default}}),jo=Rt({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.TAG,V}return C}(H.default);w.default=fe,ee.exports=w.default}}),ba=Rt({"node_modules/postcss-selector-parser/dist/selectors/string.js"(w,ee){qt(),w.__esModule=!0;var Y=Cn(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.STRING,V}return C}(H.default);w.default=fe,ee.exports=w.default}}),Ms=Rt({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(w,ee){qt(),w.__esModule=!0;var Y=rs(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.PSEUDO,V}return C.prototype.toString=function(){var J=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),J,this.spaces.after].join("")},C}(H.default);w.default=fe,ee.exports=w.default}}),ta=Rt({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.ATTRIBUTE,V.raws={},V}return C.prototype.toString=function(){var J=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&J.push(this.operator),this.value&&J.push(this.value),this.raws.insensitive?J.push(this.raws.insensitive):this.insensitive&&J.push(" i"),J.push("]"),J.concat(this.spaces.after).join("")},C}(H.default);w.default=fe,ee.exports=w.default}}),Ia=Rt({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(w,ee){qt(),w.__esModule=!0;var Y=Eo(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.UNIVERSAL,V.value="*",V}return C}(H.default);w.default=fe,ee.exports=w.default}}),tp=Rt({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(w,ee){qt(),w.__esModule=!0;var Y=Cn(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.COMBINATOR,V}return C}(H.default);w.default=fe,ee.exports=w.default}}),ch=Rt({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(w,ee){qt(),w.__esModule=!0;var Y=Cn(),H=pe(Y),oe=yi();function pe(P){return P&&P.__esModule?P:{default:P}}function ce(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function de(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function se(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var fe=function(P){se(C,P);function C(J){ce(this,C);var V=de(this,P.call(this,J));return V.type=oe.NESTING,V.value="&",V}return C}(H.default);w.default=fe,ee.exports=w.default}}),Ya=Rt({"node_modules/postcss-selector-parser/dist/sortAscending.js"(w,ee){qt(),w.__esModule=!0,w.default=Y;function Y(H){return H.sort(function(oe,pe){return oe-pe})}ee.exports=w.default}}),rp=Rt({"node_modules/postcss-selector-parser/dist/tokenize.js"(w,ee){qt(),w.__esModule=!0,w.default=Rn;var Y=39,H=34,oe=92,pe=47,ce=10,de=32,se=12,fe=9,P=13,C=43,J=62,V=126,we=124,De=44,Xe=40,ve=41,Ae=91,pt=93,yt=59,Ft=42,Tr=58,Yr=38,un=64,Vn=/[ \n\t\r\{\(\)'"\\;/]/g,wn=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Rn(Tn){for(var Un=[],Br=Tn.css.valueOf(),hr=void 0,Mr=void 0,pr=void 0,_s=void 0,es=void 0,hs=void 0,Zi=void 0,_r=void 0,Dn=void 0,ci=void 0,Kn=void 0,hi=Br.length,Tt=-1,Jt=1,nr=0,Gr=function(St,An){if(Tn.safe)Br+=An,Mr=Br.length-1;else throw Tn.error("Unclosed "+St,Jt,nr-Tt,nr)};nr<hi;){switch(hr=Br.charCodeAt(nr),hr===ce&&(Tt=nr,Jt+=1),hr){case ce:case de:case fe:case P:case se:Mr=nr;do Mr+=1,hr=Br.charCodeAt(Mr),hr===ce&&(Tt=Mr,Jt+=1);while(hr===de||hr===ce||hr===fe||hr===P||hr===se);Un.push(["space",Br.slice(nr,Mr),Jt,nr-Tt,nr]),nr=Mr-1;break;case C:case J:case V:case we:Mr=nr;do Mr+=1,hr=Br.charCodeAt(Mr);while(hr===C||hr===J||hr===V||hr===we);Un.push(["combinator",Br.slice(nr,Mr),Jt,nr-Tt,nr]),nr=Mr-1;break;case Ft:Un.push(["*","*",Jt,nr-Tt,nr]);break;case Yr:Un.push(["&","&",Jt,nr-Tt,nr]);break;case De:Un.push([",",",",Jt,nr-Tt,nr]);break;case Ae:Un.push(["[","[",Jt,nr-Tt,nr]);break;case pt:Un.push(["]","]",Jt,nr-Tt,nr]);break;case Tr:Un.push([":",":",Jt,nr-Tt,nr]);break;case yt:Un.push([";",";",Jt,nr-Tt,nr]);break;case Xe:Un.push(["(","(",Jt,nr-Tt,nr]);break;case ve:Un.push([")",")",Jt,nr-Tt,nr]);break;case Y:case H:pr=hr===Y?"'":'"',Mr=nr;do for(ci=!1,Mr=Br.indexOf(pr,Mr+1),Mr===-1&&Gr("quote",pr),Kn=Mr;Br.charCodeAt(Kn-1)===oe;)Kn-=1,ci=!ci;while(ci);Un.push(["string",Br.slice(nr,Mr+1),Jt,nr-Tt,Jt,Mr-Tt,nr]),nr=Mr;break;case un:Vn.lastIndex=nr+1,Vn.test(Br),Vn.lastIndex===0?Mr=Br.length-1:Mr=Vn.lastIndex-2,Un.push(["at-word",Br.slice(nr,Mr+1),Jt,nr-Tt,Jt,Mr-Tt,nr]),nr=Mr;break;case oe:for(Mr=nr,Zi=!0;Br.charCodeAt(Mr+1)===oe;)Mr+=1,Zi=!Zi;hr=Br.charCodeAt(Mr+1),Zi&&hr!==pe&&hr!==de&&hr!==ce&&hr!==fe&&hr!==P&&hr!==se&&(Mr+=1),Un.push(["word",Br.slice(nr,Mr+1),Jt,nr-Tt,Jt,Mr-Tt,nr]),nr=Mr;break;default:hr===pe&&Br.charCodeAt(nr+1)===Ft?(Mr=Br.indexOf("*/",nr+2)+1,Mr===0&&Gr("comment","*/"),hs=Br.slice(nr,Mr+1),_s=hs.split(`
|
||
`),es=_s.length-1,es>0?(_r=Jt+es,Dn=Mr-_s[es].length):(_r=Jt,Dn=Tt),Un.push(["comment",hs,Jt,nr-Tt,_r,Mr-Dn,nr]),Tt=Dn,Jt=_r,nr=Mr):(wn.lastIndex=nr+1,wn.test(Br),wn.lastIndex===0?Mr=Br.length-1:Mr=wn.lastIndex-2,Un.push(["word",Br.slice(nr,Mr+1),Jt,nr-Tt,Jt,Mr-Tt,nr]),nr=Mr);break}nr++}return Un}ee.exports=w.default}}),ss=Rt({"node_modules/postcss-selector-parser/dist/parser.js"(w,ee){qt(),w.__esModule=!0;var Y=function(){function Tt(Jt,nr){for(var Gr=0;Gr<nr.length;Gr++){var St=nr[Gr];St.enumerable=St.enumerable||!1,St.configurable=!0,"value"in St&&(St.writable=!0),Object.defineProperty(Jt,St.key,St)}}return function(Jt,nr,Gr){return nr&&Tt(Jt.prototype,nr),Gr&&Tt(Jt,Gr),Jt}}(),H=_o(),oe=ci(H),pe=$o(),ce=ci(pe),de=zi(),se=ci(de),fe=cs(),P=ci(fe),C=Wi(),J=ci(C),V=Za(),we=ci(V),De=uu(),Xe=ci(De),ve=lu(),Ae=ci(ve),pt=jo(),yt=ci(pt),Ft=ba(),Tr=ci(Ft),Yr=Ms(),un=ci(Yr),Vn=ta(),wn=ci(Vn),Rn=Ia(),Tn=ci(Rn),Un=tp(),Br=ci(Un),hr=ch(),Mr=ci(hr),pr=Ya(),_s=ci(pr),es=rp(),hs=ci(es),Zi=yi(),_r=Dn(Zi);function Dn(Tt){if(Tt&&Tt.__esModule)return Tt;var Jt={};if(Tt!=null)for(var nr in Tt)Object.prototype.hasOwnProperty.call(Tt,nr)&&(Jt[nr]=Tt[nr]);return Jt.default=Tt,Jt}function ci(Tt){return Tt&&Tt.__esModule?Tt:{default:Tt}}function Kn(Tt,Jt){if(!(Tt instanceof Jt))throw new TypeError("Cannot call a class as a function")}var hi=function(){function Tt(Jt){Kn(this,Tt),this.input=Jt,this.lossy=Jt.options.lossless===!1,this.position=0,this.root=new P.default;var nr=new J.default;return this.root.append(nr),this.current=nr,this.lossy?this.tokens=(0,hs.default)({safe:Jt.safe,css:Jt.css.trim()}):this.tokens=(0,hs.default)(Jt),this.loop()}return Tt.prototype.attribute=function(){var Jt="",nr=void 0,Gr=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)Jt+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~Jt.indexOf("]")&&this.error("Expected a closing square bracket.");var St=Jt.split(/((?:[*~^$|]?=))([^]*)/),An=St[0].split(/(\|)/g),fn={operator:St[1],value:St[2],source:{start:{line:Gr[2],column:Gr[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:Gr[4]};if(An.length>1?(An[0]===""&&(An[0]=!0),fn.attribute=this.parseValue(An[2]),fn.namespace=this.parseNamespace(An[0])):fn.attribute=this.parseValue(St[0]),nr=new wn.default(fn),St[2]){var ro=St[2].split(/(\s+i\s*?)$/),qi=ro[0].trim();nr.value=this.lossy?qi:ro[0],ro[1]&&(nr.insensitive=!0,this.lossy||(nr.raws.insensitive=ro[1])),nr.quoted=qi[0]==="'"||qi[0]==='"',nr.raws.unquoted=nr.quoted?qi.slice(1,-1):qi}this.newNode(nr),this.position++},Tt.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var Jt=new Br.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(Jt.spaces.before=this.parseSpace(this.currToken[1]),Jt.source.start.line=this.nextToken[2],Jt.source.start.column=this.nextToken[3],Jt.source.end.column=this.nextToken[3],Jt.source.end.line=this.nextToken[2],Jt.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?Jt.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?Jt.value=this.currToken[1]:this.currToken[0]==="space"&&(Jt.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(Jt)},Tt.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var Jt=new J.default;this.current.parent.append(Jt),this.current=Jt,this.position++},Tt.prototype.comment=function(){var Jt=new Xe.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(Jt),this.position++},Tt.prototype.error=function(Jt){throw new this.input.error(Jt)},Tt.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},Tt.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},Tt.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},Tt.prototype.namespace=function(){var Jt=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(Jt);if(this.nextToken[0]==="*")return this.position++,this.universal(Jt)},Tt.prototype.nesting=function(){this.newNode(new Mr.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},Tt.prototype.parentheses=function(){var Jt=this.current.last;if(Jt&&Jt.type===_r.PSEUDO){var nr=new J.default,Gr=this.current;Jt.append(nr),this.current=nr;var St=1;for(this.position++;this.position<this.tokens.length&&St;)this.currToken[0]==="("&&St++,this.currToken[0]===")"&&St--,St?this.parse():(nr.parent.source.end.line=this.currToken[2],nr.parent.source.end.column=this.currToken[3],this.position++);St&&this.error("Expected closing parenthesis."),this.current=Gr}else{var An=1;for(this.position++,Jt.value+="(";this.position<this.tokens.length&&An;)this.currToken[0]==="("&&An++,this.currToken[0]===")"&&An--,Jt.value+=this.parseParenthesisToken(this.currToken),this.position++;An&&this.error("Expected closing parenthesis.")}},Tt.prototype.pseudo=function(){for(var Jt=this,nr="",Gr=this.currToken;this.currToken&&this.currToken[0]===":";)nr+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var St=void 0;this.splitWord(!1,function(An,fn){nr+=An,St=new un.default({value:nr,source:{start:{line:Gr[2],column:Gr[3]},end:{line:Jt.currToken[4],column:Jt.currToken[5]}},sourceIndex:Gr[4]}),Jt.newNode(St),fn>1&&Jt.nextToken&&Jt.nextToken[0]==="("&&Jt.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Tt.prototype.space=function(){var Jt=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(Jt[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(Jt[1]),this.position++):this.combinator()},Tt.prototype.string=function(){var Jt=this.currToken;this.newNode(new Tr.default({value:this.currToken[1],source:{start:{line:Jt[2],column:Jt[3]},end:{line:Jt[4],column:Jt[5]}},sourceIndex:Jt[6]})),this.position++},Tt.prototype.universal=function(Jt){var nr=this.nextToken;if(nr&&nr[1]==="|")return this.position++,this.namespace();this.newNode(new Tn.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),Jt),this.position++},Tt.prototype.splitWord=function(Jt,nr){for(var Gr=this,St=this.nextToken,An=this.currToken[1];St&&St[0]==="word";){this.position++;var fn=this.currToken[1];if(An+=fn,fn.lastIndexOf("\\")===fn.length-1){var ro=this.nextToken;ro&&ro[0]==="space"&&(An+=this.parseSpace(ro[1]," "),this.position++)}St=this.nextToken}var qi=(0,ce.default)(An,"."),Vs=(0,ce.default)(An,"#"),ia=(0,ce.default)(An,"#{");ia.length&&(Vs=Vs.filter(function(Rs){return!~ia.indexOf(Rs)}));var uo=(0,_s.default)((0,se.default)((0,oe.default)([[0],qi,Vs])));uo.forEach(function(Rs,No){var ks=uo[No+1]||An.length,Us=An.slice(Rs,ks);if(No===0&&nr)return nr.call(Gr,Us,uo.length);var oo=void 0;~qi.indexOf(Rs)?oo=new we.default({value:Us.slice(1),source:{start:{line:Gr.currToken[2],column:Gr.currToken[3]+Rs},end:{line:Gr.currToken[4],column:Gr.currToken[3]+(ks-1)}},sourceIndex:Gr.currToken[6]+uo[No]}):~Vs.indexOf(Rs)?oo=new Ae.default({value:Us.slice(1),source:{start:{line:Gr.currToken[2],column:Gr.currToken[3]+Rs},end:{line:Gr.currToken[4],column:Gr.currToken[3]+(ks-1)}},sourceIndex:Gr.currToken[6]+uo[No]}):oo=new yt.default({value:Us,source:{start:{line:Gr.currToken[2],column:Gr.currToken[3]+Rs},end:{line:Gr.currToken[4],column:Gr.currToken[3]+(ks-1)}},sourceIndex:Gr.currToken[6]+uo[No]}),Gr.newNode(oo,Jt)}),this.position++},Tt.prototype.word=function(Jt){var nr=this.nextToken;return nr&&nr[1]==="|"?(this.position++,this.namespace()):this.splitWord(Jt)},Tt.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Tt.prototype.parse=function(Jt){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":Jt&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},Tt.prototype.parseNamespace=function(Jt){if(this.lossy&&typeof Jt=="string"){var nr=Jt.trim();return nr.length?nr:!0}return Jt},Tt.prototype.parseSpace=function(Jt,nr){return this.lossy?nr||"":Jt},Tt.prototype.parseValue=function(Jt){return this.lossy&&Jt&&typeof Jt=="string"?Jt.trim():Jt},Tt.prototype.parseParenthesisToken=function(Jt){return this.lossy?Jt[0]==="space"?this.parseSpace(Jt[1]," "):this.parseValue(Jt[1]):Jt[1]},Tt.prototype.newNode=function(Jt,nr){return nr&&(Jt.namespace=this.parseNamespace(nr)),this.spaces&&(Jt.spaces.before=this.spaces,this.spaces=""),this.current.append(Jt)},Y(Tt,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Tt}();w.default=hi,ee.exports=w.default}}),Xu=Rt({"node_modules/postcss-selector-parser/dist/processor.js"(w,ee){qt(),w.__esModule=!0;var Y=function(){function se(fe,P){for(var C=0;C<P.length;C++){var J=P[C];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(fe,J.key,J)}}return function(fe,P,C){return P&&se(fe.prototype,P),C&&se(fe,C),fe}}(),H=ss(),oe=pe(H);function pe(se){return se&&se.__esModule?se:{default:se}}function ce(se,fe){if(!(se instanceof fe))throw new TypeError("Cannot call a class as a function")}var de=function(){function se(fe){return ce(this,se),this.func=fe||function(){},this}return se.prototype.process=function(fe){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=new oe.default({css:fe,error:function(J){throw new Error(J)},options:P});return this.res=C,this.func(C),this},Y(se,[{key:"result",get:function(){return String(this.res)}}]),se}();w.default=de,ee.exports=w.default}}),uf=Rt({"node_modules/postcss-selector-parser/dist/index.js"(w,ee){qt(),w.__esModule=!0;var Y=Xu(),H=hr(Y),oe=ta(),pe=hr(oe),ce=Za(),de=hr(ce),se=tp(),fe=hr(se),P=uu(),C=hr(P),J=lu(),V=hr(J),we=ch(),De=hr(we),Xe=Ms(),ve=hr(Xe),Ae=cs(),pt=hr(Ae),yt=Wi(),Ft=hr(yt),Tr=ba(),Yr=hr(Tr),un=jo(),Vn=hr(un),wn=Ia(),Rn=hr(wn),Tn=yi(),Un=Br(Tn);function Br(pr){if(pr&&pr.__esModule)return pr;var _s={};if(pr!=null)for(var es in pr)Object.prototype.hasOwnProperty.call(pr,es)&&(_s[es]=pr[es]);return _s.default=pr,_s}function hr(pr){return pr&&pr.__esModule?pr:{default:pr}}var Mr=function(pr){return new H.default(pr)};Mr.attribute=function(pr){return new pe.default(pr)},Mr.className=function(pr){return new de.default(pr)},Mr.combinator=function(pr){return new fe.default(pr)},Mr.comment=function(pr){return new C.default(pr)},Mr.id=function(pr){return new V.default(pr)},Mr.nesting=function(pr){return new De.default(pr)},Mr.pseudo=function(pr){return new ve.default(pr)},Mr.root=function(pr){return new pt.default(pr)},Mr.selector=function(pr){return new Ft.default(pr)},Mr.string=function(pr){return new Yr.default(pr)},Mr.tag=function(pr){return new Vn.default(pr)},Mr.universal=function(pr){return new Rn.default(pr)},Object.keys(Un).forEach(function(pr){pr!=="__esModule"&&(Mr[pr]=Un[pr])}),w.default=Mr,ee.exports=w.default}}),np=Rt({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0});function ee(Y){this.after=Y.after,this.before=Y.before,this.type=Y.type,this.value=Y.value,this.sourceIndex=Y.sourceIndex}w.default=ee}}),ip=Rt({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0});var ee=np(),Y=H(ee);function H(pe){return pe&&pe.__esModule?pe:{default:pe}}function oe(pe){var ce=this;this.constructor(pe),this.nodes=pe.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(de){de.parent=ce})}oe.prototype=Object.create(Y.default.prototype),oe.constructor=Y.default,oe.prototype.walk=function(pe,ce){for(var de=typeof pe=="string"||pe instanceof RegExp,se=de?ce:pe,fe=typeof pe=="string"?new RegExp(pe):pe,P=0;P<this.nodes.length;P++){var C=this.nodes[P],J=de?fe.test(C.type):!0;if(J&&se&&se(C,P,this.nodes)===!1||C.nodes&&C.walk(pe,ce)===!1)return!1}return!0},oe.prototype.each=function(){for(var pe=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],ce=0;ce<this.nodes.length;ce++){var de=this.nodes[ce];if(pe(de,ce,this.nodes)===!1)return!1}return!0},w.default=oe}}),Vu=Rt({"node_modules/postcss-media-query-parser/dist/parsers.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0}),w.parseMediaFeature=ce,w.parseMediaQuery=de,w.parseMediaList=se;var ee=np(),Y=pe(ee),H=ip(),oe=pe(H);function pe(fe){return fe&&fe.__esModule?fe:{default:fe}}function ce(fe){var P=arguments.length<=1||arguments[1]===void 0?0:arguments[1],C=[{mode:"normal",character:null}],J=[],V=0,we="",De=null,Xe=null,ve=P,Ae=fe;fe[0]==="("&&fe[fe.length-1]===")"&&(Ae=fe.substring(1,fe.length-1),ve++);for(var pt=0;pt<Ae.length;pt++){var yt=Ae[pt];if((yt==="'"||yt==='"')&&(C[V].isCalculationEnabled===!0?(C.push({mode:"string",isCalculationEnabled:!1,character:yt}),V++):C[V].mode==="string"&&C[V].character===yt&&Ae[pt-1]!=="\\"&&(C.pop(),V--)),yt==="{"?(C.push({mode:"interpolation",isCalculationEnabled:!0}),V++):yt==="}"&&(C.pop(),V--),C[V].mode==="normal"&&yt===":"){var Ft=Ae.substring(pt+1);Xe={type:"value",before:/^(\s*)/.exec(Ft)[1],after:/(\s*)$/.exec(Ft)[1],value:Ft.trim()},Xe.sourceIndex=Xe.before.length+pt+1+ve,De={type:"colon",sourceIndex:pt+ve,after:Xe.before,value:":"};break}we+=yt}return we={type:"media-feature",before:/^(\s*)/.exec(we)[1],after:/(\s*)$/.exec(we)[1],value:we.trim()},we.sourceIndex=we.before.length+ve,J.push(we),De!==null&&(De.before=we.after,J.push(De)),Xe!==null&&J.push(Xe),J}function de(fe){var P=arguments.length<=1||arguments[1]===void 0?0:arguments[1],C=[],J=0,V=!1,we=void 0;function De(){return{before:"",after:"",value:""}}we=De();for(var Xe=0;Xe<fe.length;Xe++){var ve=fe[Xe];V?(we.value+=ve,(ve==="{"||ve==="(")&&J++,(ve===")"||ve==="}")&&J--):ve.search(/\s/)!==-1?we.before+=ve:(ve==="("&&(we.type="media-feature-expression",J++),we.value=ve,we.sourceIndex=P+Xe,V=!0),V&&J===0&&(ve===")"||Xe===fe.length-1||fe[Xe+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(we.value)!==-1&&(we.type="keyword"),we.type==="media-feature-expression"&&(we.nodes=ce(we.value,we.sourceIndex)),C.push(Array.isArray(we.nodes)?new oe.default(we):new Y.default(we)),we=De(),V=!1)}for(var Ae=0;Ae<C.length;Ae++)if(we=C[Ae],Ae>0&&(C[Ae-1].after=we.before),we.type===void 0){if(Ae>0){if(C[Ae-1].type==="media-feature-expression"){we.type="keyword";continue}if(C[Ae-1].value==="not"||C[Ae-1].value==="only"){we.type="media-type";continue}if(C[Ae-1].value==="and"){we.type="media-feature-expression";continue}C[Ae-1].type==="media-type"&&(C[Ae+1]?we.type=C[Ae+1].type==="media-feature-expression"?"keyword":"media-feature-expression":we.type="media-feature-expression")}if(Ae===0){if(!C[Ae+1]){we.type="media-type";continue}if(C[Ae+1]&&(C[Ae+1].type==="media-feature-expression"||C[Ae+1].type==="keyword")){we.type="media-type";continue}if(C[Ae+2]){if(C[Ae+2].type==="media-feature-expression"){we.type="media-type",C[Ae+1].type="keyword";continue}if(C[Ae+2].type==="keyword"){we.type="keyword",C[Ae+1].type="media-type";continue}}if(C[Ae+3]&&C[Ae+3].type==="media-feature-expression"){we.type="keyword",C[Ae+1].type="media-type",C[Ae+2].type="keyword";continue}}}return C}function se(fe){var P=[],C=0,J=0,V=/^(\s*)url\s*\(/.exec(fe);if(V!==null){for(var we=V[0].length,De=1;De>0;){var Xe=fe[we];Xe==="("&&De++,Xe===")"&&De--,we++}P.unshift(new Y.default({type:"url",value:fe.substring(0,we).trim(),sourceIndex:V[1].length,before:V[1],after:/^(\s*)/.exec(fe.substring(we))[1]})),C=we}for(var ve=C;ve<fe.length;ve++){var Ae=fe[ve];if(Ae==="("&&J++,Ae===")"&&J--,J===0&&Ae===","){var pt=fe.substring(C,ve),yt=/^(\s*)/.exec(pt)[1];P.push(new oe.default({type:"media-query",value:pt.trim(),sourceIndex:C+yt.length,nodes:de(pt,C),before:yt,after:/(\s*)$/.exec(pt)[1]})),C=ve+1}}var Ft=fe.substring(C),Tr=/^(\s*)/.exec(Ft)[1];return P.push(new oe.default({type:"media-query",value:Ft.trim(),sourceIndex:C+Tr.length,nodes:de(Ft,C),before:Tr,after:/(\s*)$/.exec(Ft)[1]})),P}}}),Uu=Rt({"node_modules/postcss-media-query-parser/dist/index.js"(w){qt(),Object.defineProperty(w,"__esModule",{value:!0}),w.default=pe;var ee=ip(),Y=oe(ee),H=Vu();function oe(ce){return ce&&ce.__esModule?ce:{default:ce}}function pe(ce){return new Y.default({nodes:(0,H.parseMediaList)(ce),type:"media-query-list",value:ce.trim()})}}}),va={};En(va,{basename:()=>Wu,default:()=>hu,delimiter:()=>Dc,dirname:()=>Ga,extname:()=>ra,isAbsolute:()=>Nl,join:()=>Ma,normalize:()=>cu,relative:()=>zu,resolve:()=>qu,sep:()=>Zu});function Bl(w,ee){for(var Y=0,H=w.length-1;H>=0;H--){var oe=w[H];oe==="."?w.splice(H,1):oe===".."?(w.splice(H,1),Y++):Y&&(w.splice(H,1),Y--)}if(ee)for(;Y--;Y)w.unshift("..");return w}function qu(){for(var w="",ee=!1,Y=arguments.length-1;Y>=-1&&!ee;Y--){var H=Y>=0?arguments[Y]:"/";if(typeof H!="string")throw new TypeError("Arguments to path.resolve must be strings");H&&(w=H+"/"+w,ee=H.charAt(0)==="/")}return w=Bl(Ca(w.split("/"),function(oe){return!!oe}),!ee).join("/"),(ee?"/":"")+w||"."}function cu(w){var ee=Nl(w),Y=pu(w,-1)==="/";return w=Bl(Ca(w.split("/"),function(H){return!!H}),!ee).join("/"),!w&&!ee&&(w="."),w&&Y&&(w+="/"),(ee?"/":"")+w}function Nl(w){return w.charAt(0)==="/"}function Ma(){var w=Array.prototype.slice.call(arguments,0);return cu(Ca(w,function(ee,Y){if(typeof ee!="string")throw new TypeError("Arguments to path.join must be strings");return ee}).join("/"))}function zu(w,ee){w=qu(w).substr(1),ee=qu(ee).substr(1);function Y(fe){for(var P=0;P<fe.length&&fe[P]==="";P++);for(var C=fe.length-1;C>=0&&fe[C]==="";C--);return P>C?[]:fe.slice(P,C-P+1)}for(var H=Y(w.split("/")),oe=Y(ee.split("/")),pe=Math.min(H.length,oe.length),ce=pe,de=0;de<pe;de++)if(H[de]!==oe[de]){ce=de;break}for(var se=[],de=ce;de<H.length;de++)se.push("..");return se=se.concat(oe.slice(ce)),se.join("/")}function Ga(w){var ee=ca(w),Y=ee[0],H=ee[1];return!Y&&!H?".":(H&&(H=H.substr(0,H.length-1)),Y+H)}function Wu(w,ee){var Y=ca(w)[2];return ee&&Y.substr(-1*ee.length)===ee&&(Y=Y.substr(0,Y.length-ee.length)),Y}function ra(w){return ca(w)[3]}function Ca(w,ee){if(w.filter)return w.filter(ee);for(var Y=[],H=0;H<w.length;H++)ee(w[H],H,w)&&Y.push(w[H]);return Y}var yc,ca,Zu,Dc,hu,pu,Il=Kr({"node-modules-polyfills:path"(){qt(),yc=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ca=function(w){return yc.exec(w).slice(1)},Zu="/",Dc=":",hu={extname:ra,basename:Wu,dirname:Ga,sep:Zu,delimiter:Dc,relative:zu,join:Ma,isAbsolute:Nl,normalize:cu,resolve:qu},pu="ab".substr(-1)==="b"?function(w,ee,Y){return w.substr(ee,Y)}:function(w,ee,Y){return ee<0&&(ee=w.length+ee),w.substr(ee,Y)}}}),Ml=Rt({"node-modules-polyfills-commonjs:path"(w,ee){qt();var Y=(Il(),Hn(va));if(Y&&Y.default){ee.exports=Y.default;for(let H in Y)ee.exports[H]=Y[H]}else Y&&(ee.exports=Y)}}),Oc=Rt({"node_modules/picocolors/picocolors.browser.js"(w,ee){qt();var Y=String,H=function(){return{isColorSupported:!1,reset:Y,bold:Y,dim:Y,italic:Y,underline:Y,inverse:Y,hidden:Y,strikethrough:Y,black:Y,red:Y,green:Y,yellow:Y,blue:Y,magenta:Y,cyan:Y,white:Y,gray:Y,bgBlack:Y,bgRed:Y,bgGreen:Y,bgYellow:Y,bgBlue:Y,bgMagenta:Y,bgCyan:Y,bgWhite:Y}};ee.exports=H(),ee.exports.createColors=H}}),Rl=Rt({"(disabled):node_modules/postcss/lib/terminal-highlight"(){qt()}}),Ql=Rt({"node_modules/postcss/lib/css-syntax-error.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=oe(Oc()),H=oe(Rl());function oe(De){return De&&De.__esModule?De:{default:De}}function pe(De){if(De===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return De}function ce(De,Xe){De.prototype=Object.create(Xe.prototype),De.prototype.constructor=De,De.__proto__=Xe}function de(De){var Xe=typeof Map=="function"?new Map:void 0;return de=function(ve){if(ve===null||!P(ve))return ve;if(typeof ve!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Xe<"u"){if(Xe.has(ve))return Xe.get(ve);Xe.set(ve,Ae)}function Ae(){return se(ve,arguments,J(this).constructor)}return Ae.prototype=Object.create(ve.prototype,{constructor:{value:Ae,enumerable:!1,writable:!0,configurable:!0}}),C(Ae,ve)},de(De)}function se(De,Xe,ve){return fe()?se=Reflect.construct:se=function(Ae,pt,yt){var Ft=[null];Ft.push.apply(Ft,pt);var Tr=Function.bind.apply(Ae,Ft),Yr=new Tr;return yt&&C(Yr,yt.prototype),Yr},se.apply(null,arguments)}function fe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function P(De){return Function.toString.call(De).indexOf("[native code]")!==-1}function C(De,Xe){return C=Object.setPrototypeOf||function(ve,Ae){return ve.__proto__=Ae,ve},C(De,Xe)}function J(De){return J=Object.setPrototypeOf?Object.getPrototypeOf:function(Xe){return Xe.__proto__||Object.getPrototypeOf(Xe)},J(De)}var V=function(De){ce(Xe,De);function Xe(Ae,pt,yt,Ft,Tr,Yr){var un;return un=De.call(this,Ae)||this,un.name="CssSyntaxError",un.reason=Ae,Tr&&(un.file=Tr),Ft&&(un.source=Ft),Yr&&(un.plugin=Yr),typeof pt<"u"&&typeof yt<"u"&&(un.line=pt,un.column=yt),un.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(pe(un),Xe),un}var ve=Xe.prototype;return ve.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},ve.showSourceCode=function(Ae){var pt=this;if(!this.source)return"";var yt=this.source;H.default&&(typeof Ae>"u"&&(Ae=Y.default.isColorSupported),Ae&&(yt=(0,H.default)(yt)));var Ft=yt.split(/\r?\n/),Tr=Math.max(this.line-3,0),Yr=Math.min(this.line+2,Ft.length),un=String(Yr).length;function Vn(Rn){return Ae&&Y.default.red?Y.default.red(Y.default.bold(Rn)):Rn}function wn(Rn){return Ae&&Y.default.gray?Y.default.gray(Rn):Rn}return Ft.slice(Tr,Yr).map(function(Rn,Tn){var Un=Tr+1+Tn,Br=" "+(" "+Un).slice(-un)+" | ";if(Un===pt.line){var hr=wn(Br.replace(/\d/g," "))+Rn.slice(0,pt.column-1).replace(/[^\t]/g," ");return Vn(">")+wn(Br)+Rn+`
|
||
`+hr+Vn("^")}return" "+wn(Br)+Rn}).join(`
|
||
`)},ve.toString=function(){var Ae=this.showSourceCode();return Ae&&(Ae=`
|
||
|
||
`+Ae+`
|
||
`),this.name+": "+this.message+Ae},Xe}(de(Error)),we=V;w.default=we,ee.exports=w.default}}),sp=Rt({"node_modules/postcss/lib/previous-map.js"(w,ee){qt(),ee.exports=class{}}}),Ra=Rt({"node_modules/postcss/lib/input.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=pe(Ml()),H=pe(Ql()),oe=pe(sp());function pe(C){return C&&C.__esModule?C:{default:C}}function ce(C,J){for(var V=0;V<J.length;V++){var we=J[V];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(C,we.key,we)}}function de(C,J,V){return J&&ce(C.prototype,J),V&&ce(C,V),C}var se=0,fe=function(){function C(V,we){if(we===void 0&&(we={}),V===null||typeof V>"u"||typeof V=="object"&&!V.toString)throw new Error("PostCSS received "+V+" instead of CSS string");this.css=V.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,we.from&&(/^\w+:\/\//.test(we.from)||Y.default.isAbsolute(we.from)?this.file=we.from:this.file=Y.default.resolve(we.from));var De=new oe.default(this.css,we);if(De.text){this.map=De;var Xe=De.consumer().file;!this.file&&Xe&&(this.file=this.mapResolve(Xe))}this.file||(se+=1,this.id="<input css "+se+">"),this.map&&(this.map.file=this.from)}var J=C.prototype;return J.error=function(V,we,De,Xe){Xe===void 0&&(Xe={});var ve,Ae=this.origin(we,De);return Ae?ve=new H.default(V,Ae.line,Ae.column,Ae.source,Ae.file,Xe.plugin):ve=new H.default(V,we,De,this.css,this.file,Xe.plugin),ve.input={line:we,column:De,source:this.css},this.file&&(ve.input.file=this.file),ve},J.origin=function(V,we){if(!this.map)return!1;var De=this.map.consumer(),Xe=De.originalPositionFor({line:V,column:we});if(!Xe.source)return!1;var ve={file:this.mapResolve(Xe.source),line:Xe.line,column:Xe.column},Ae=De.sourceContentFor(Xe.source);return Ae&&(ve.source=Ae),ve},J.mapResolve=function(V){return/^\w+:\/\//.test(V)?V:Y.default.resolve(this.map.consumer().sourceRoot||".",V)},de(C,[{key:"from",get:function(){return this.file||this.id}}]),C}(),P=fe;w.default=P,ee.exports=w.default}}),xc=Rt({"node_modules/postcss/lib/stringifier.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y={colon:": ",indent:" ",beforeDecl:`
|
||
`,beforeRule:`
|
||
`,beforeOpen:" ",beforeClose:`
|
||
`,beforeComment:`
|
||
`,after:`
|
||
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function H(ce){return ce[0].toUpperCase()+ce.slice(1)}var oe=function(){function ce(se){this.builder=se}var de=ce.prototype;return de.stringify=function(se,fe){this[se.type](se,fe)},de.root=function(se){this.body(se),se.raws.after&&this.builder(se.raws.after)},de.comment=function(se){var fe=this.raw(se,"left","commentLeft"),P=this.raw(se,"right","commentRight");this.builder("/*"+fe+se.text+P+"*/",se)},de.decl=function(se,fe){var P=this.raw(se,"between","colon"),C=se.prop+P+this.rawValue(se,"value");se.important&&(C+=se.raws.important||" !important"),fe&&(C+=";"),this.builder(C,se)},de.rule=function(se){this.block(se,this.rawValue(se,"selector")),se.raws.ownSemicolon&&this.builder(se.raws.ownSemicolon,se,"end")},de.atrule=function(se,fe){var P="@"+se.name,C=se.params?this.rawValue(se,"params"):"";if(typeof se.raws.afterName<"u"?P+=se.raws.afterName:C&&(P+=" "),se.nodes)this.block(se,P+C);else{var J=(se.raws.between||"")+(fe?";":"");this.builder(P+C+J,se)}},de.body=function(se){for(var fe=se.nodes.length-1;fe>0&&se.nodes[fe].type==="comment";)fe-=1;for(var P=this.raw(se,"semicolon"),C=0;C<se.nodes.length;C++){var J=se.nodes[C],V=this.raw(J,"before");V&&this.builder(V),this.stringify(J,fe!==C||P)}},de.block=function(se,fe){var P=this.raw(se,"between","beforeOpen");this.builder(fe+P+"{",se,"start");var C;se.nodes&&se.nodes.length?(this.body(se),C=this.raw(se,"after")):C=this.raw(se,"after","emptyBody"),C&&this.builder(C),this.builder("}",se,"end")},de.raw=function(se,fe,P){var C;if(P||(P=fe),fe&&(C=se.raws[fe],typeof C<"u"))return C;var J=se.parent;if(P==="before"&&(!J||J.type==="root"&&J.first===se))return"";if(!J)return Y[P];var V=se.root();if(V.rawCache||(V.rawCache={}),typeof V.rawCache[P]<"u")return V.rawCache[P];if(P==="before"||P==="after")return this.beforeAfter(se,P);var we="raw"+H(P);return this[we]?C=this[we](V,se):V.walk(function(De){if(C=De.raws[fe],typeof C<"u")return!1}),typeof C>"u"&&(C=Y[P]),V.rawCache[P]=C,C},de.rawSemicolon=function(se){var fe;return se.walk(function(P){if(P.nodes&&P.nodes.length&&P.last.type==="decl"&&(fe=P.raws.semicolon,typeof fe<"u"))return!1}),fe},de.rawEmptyBody=function(se){var fe;return se.walk(function(P){if(P.nodes&&P.nodes.length===0&&(fe=P.raws.after,typeof fe<"u"))return!1}),fe},de.rawIndent=function(se){if(se.raws.indent)return se.raws.indent;var fe;return se.walk(function(P){var C=P.parent;if(C&&C!==se&&C.parent&&C.parent===se&&typeof P.raws.before<"u"){var J=P.raws.before.split(`
|
||
`);return fe=J[J.length-1],fe=fe.replace(/[^\s]/g,""),!1}}),fe},de.rawBeforeComment=function(se,fe){var P;return se.walkComments(function(C){if(typeof C.raws.before<"u")return P=C.raws.before,P.indexOf(`
|
||
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(fe,null,"beforeDecl"):P&&(P=P.replace(/[^\s]/g,"")),P},de.rawBeforeDecl=function(se,fe){var P;return se.walkDecls(function(C){if(typeof C.raws.before<"u")return P=C.raws.before,P.indexOf(`
|
||
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(fe,null,"beforeRule"):P&&(P=P.replace(/[^\s]/g,"")),P},de.rawBeforeRule=function(se){var fe;return se.walk(function(P){if(P.nodes&&(P.parent!==se||se.first!==P)&&typeof P.raws.before<"u")return fe=P.raws.before,fe.indexOf(`
|
||
`)!==-1&&(fe=fe.replace(/[^\n]+$/,"")),!1}),fe&&(fe=fe.replace(/[^\s]/g,"")),fe},de.rawBeforeClose=function(se){var fe;return se.walk(function(P){if(P.nodes&&P.nodes.length>0&&typeof P.raws.after<"u")return fe=P.raws.after,fe.indexOf(`
|
||
`)!==-1&&(fe=fe.replace(/[^\n]+$/,"")),!1}),fe&&(fe=fe.replace(/[^\s]/g,"")),fe},de.rawBeforeOpen=function(se){var fe;return se.walk(function(P){if(P.type!=="decl"&&(fe=P.raws.between,typeof fe<"u"))return!1}),fe},de.rawColon=function(se){var fe;return se.walkDecls(function(P){if(typeof P.raws.between<"u")return fe=P.raws.between.replace(/[^\s:]/g,""),!1}),fe},de.beforeAfter=function(se,fe){var P;se.type==="decl"?P=this.raw(se,null,"beforeDecl"):se.type==="comment"?P=this.raw(se,null,"beforeComment"):fe==="before"?P=this.raw(se,null,"beforeRule"):P=this.raw(se,null,"beforeClose");for(var C=se.parent,J=0;C&&C.type!=="root";)J+=1,C=C.parent;if(P.indexOf(`
|
||
`)!==-1){var V=this.raw(se,null,"indent");if(V.length)for(var we=0;we<J;we++)P+=V}return P},de.rawValue=function(se,fe){var P=se[fe],C=se.raws[fe];return C&&C.value===P?C.raw:P},ce}(),pe=oe;w.default=pe,ee.exports=w.default}}),Yu=Rt({"node_modules/postcss/lib/stringify.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=H(xc());function H(ce){return ce&&ce.__esModule?ce:{default:ce}}function oe(ce,de){var se=new Y.default(de);se.stringify(ce)}var pe=oe;w.default=pe,ee.exports=w.default}}),bc=Rt({"node_modules/postcss/lib/node.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=pe(Ql()),H=pe(xc()),oe=pe(Yu());function pe(fe){return fe&&fe.__esModule?fe:{default:fe}}function ce(fe,P){var C=new fe.constructor;for(var J in fe)if(fe.hasOwnProperty(J)){var V=fe[J],we=typeof V;J==="parent"&&we==="object"?P&&(C[J]=P):J==="source"?C[J]=V:V instanceof Array?C[J]=V.map(function(De){return ce(De,C)}):(we==="object"&&V!==null&&(V=ce(V)),C[J]=V)}return C}var de=function(){function fe(C){C===void 0&&(C={}),this.raws={};for(var J in C)this[J]=C[J]}var P=fe.prototype;return P.error=function(C,J){if(J===void 0&&(J={}),this.source){var V=this.positionBy(J);return this.source.input.error(C,V.line,V.column,J)}return new Y.default(C)},P.warn=function(C,J,V){var we={node:this};for(var De in V)we[De]=V[De];return C.warn(J,we)},P.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},P.toString=function(C){C===void 0&&(C=oe.default),C.stringify&&(C=C.stringify);var J="";return C(this,function(V){J+=V}),J},P.clone=function(C){C===void 0&&(C={});var J=ce(this);for(var V in C)J[V]=C[V];return J},P.cloneBefore=function(C){C===void 0&&(C={});var J=this.clone(C);return this.parent.insertBefore(this,J),J},P.cloneAfter=function(C){C===void 0&&(C={});var J=this.clone(C);return this.parent.insertAfter(this,J),J},P.replaceWith=function(){if(this.parent){for(var C=arguments.length,J=new Array(C),V=0;V<C;V++)J[V]=arguments[V];for(var we=0,De=J;we<De.length;we++){var Xe=De[we];this.parent.insertBefore(this,Xe)}this.remove()}return this},P.next=function(){if(this.parent){var C=this.parent.index(this);return this.parent.nodes[C+1]}},P.prev=function(){if(this.parent){var C=this.parent.index(this);return this.parent.nodes[C-1]}},P.before=function(C){return this.parent.insertBefore(this,C),this},P.after=function(C){return this.parent.insertAfter(this,C),this},P.toJSON=function(){var C={};for(var J in this)if(this.hasOwnProperty(J)&&J!=="parent"){var V=this[J];V instanceof Array?C[J]=V.map(function(we){return typeof we=="object"&&we.toJSON?we.toJSON():we}):typeof V=="object"&&V.toJSON?C[J]=V.toJSON():C[J]=V}return C},P.raw=function(C,J){var V=new H.default;return V.raw(this,C,J)},P.root=function(){for(var C=this;C.parent;)C=C.parent;return C},P.cleanRaws=function(C){delete this.raws.before,delete this.raws.after,C||delete this.raws.between},P.positionInside=function(C){for(var J=this.toString(),V=this.source.start.column,we=this.source.start.line,De=0;De<C;De++)J[De]===`
|
||
`?(V=1,we+=1):V+=1;return{line:we,column:V}},P.positionBy=function(C){var J=this.source.start;if(C.index)J=this.positionInside(C.index);else if(C.word){var V=this.toString().indexOf(C.word);V!==-1&&(J=this.positionInside(V))}return J},fe}(),se=de;w.default=se,ee.exports=w.default}}),jl=Rt({"node_modules/postcss/lib/comment.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=H(bc());function H(de){return de&&de.__esModule?de:{default:de}}function oe(de,se){de.prototype=Object.create(se.prototype),de.prototype.constructor=de,de.__proto__=se}var pe=function(de){oe(se,de);function se(fe){var P;return P=de.call(this,fe)||this,P.type="comment",P}return se}(Y.default),ce=pe;w.default=ce,ee.exports=w.default}}),fu=Rt({"node_modules/postcss/lib/declaration.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=H(bc());function H(de){return de&&de.__esModule?de:{default:de}}function oe(de,se){de.prototype=Object.create(se.prototype),de.prototype.constructor=de,de.__proto__=se}var pe=function(de){oe(se,de);function se(fe){var P;return P=de.call(this,fe)||this,P.type="decl",P}return se}(Y.default),ce=pe;w.default=ce,ee.exports=w.default}}),Ll=Rt({"node_modules/postcss/lib/tokenize.js"(w,ee){qt(),w.__esModule=!0,w.default=Vn;var Y=39,H=34,oe=92,pe=47,ce=10,de=32,se=12,fe=9,P=13,C=91,J=93,V=40,we=41,De=123,Xe=125,ve=59,Ae=42,pt=58,yt=64,Ft=/[ \n\t\r\f{}()'"\\;/[\]#]/g,Tr=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Yr=/.[\\/("'\n]/,un=/[a-f0-9]/i;function Vn(wn,Rn){Rn===void 0&&(Rn={});var Tn=wn.css.valueOf(),Un=Rn.ignoreErrors,Br,hr,Mr,pr,_s,es,hs,Zi,_r,Dn,ci,Kn,hi,Tt,Jt=Tn.length,nr=-1,Gr=1,St=0,An=[],fn=[];function ro(){return St}function qi(Rs){throw wn.error("Unclosed "+Rs,Gr,St-nr)}function Vs(){return fn.length===0&&St>=Jt}function ia(Rs){if(fn.length)return fn.pop();if(!(St>=Jt)){var No=Rs?Rs.ignoreUnclosed:!1;switch(Br=Tn.charCodeAt(St),(Br===ce||Br===se||Br===P&&Tn.charCodeAt(St+1)!==ce)&&(nr=St,Gr+=1),Br){case ce:case de:case fe:case P:case se:hr=St;do hr+=1,Br=Tn.charCodeAt(hr),Br===ce&&(nr=hr,Gr+=1);while(Br===de||Br===ce||Br===fe||Br===P||Br===se);Tt=["space",Tn.slice(St,hr)],St=hr-1;break;case C:case J:case De:case Xe:case pt:case ve:case we:var ks=String.fromCharCode(Br);Tt=[ks,ks,Gr,St-nr];break;case V:if(Kn=An.length?An.pop()[1]:"",hi=Tn.charCodeAt(St+1),Kn==="url"&&hi!==Y&&hi!==H&&hi!==de&&hi!==ce&&hi!==fe&&hi!==se&&hi!==P){hr=St;do{if(Dn=!1,hr=Tn.indexOf(")",hr+1),hr===-1)if(Un||No){hr=St;break}else qi("bracket");for(ci=hr;Tn.charCodeAt(ci-1)===oe;)ci-=1,Dn=!Dn}while(Dn);Tt=["brackets",Tn.slice(St,hr+1),Gr,St-nr,Gr,hr-nr],St=hr}else hr=Tn.indexOf(")",St+1),es=Tn.slice(St,hr+1),hr===-1||Yr.test(es)?Tt=["(","(",Gr,St-nr]:(Tt=["brackets",es,Gr,St-nr,Gr,hr-nr],St=hr);break;case Y:case H:Mr=Br===Y?"'":'"',hr=St;do{if(Dn=!1,hr=Tn.indexOf(Mr,hr+1),hr===-1)if(Un||No){hr=St+1;break}else qi("string");for(ci=hr;Tn.charCodeAt(ci-1)===oe;)ci-=1,Dn=!Dn}while(Dn);es=Tn.slice(St,hr+1),pr=es.split(`
|
||
`),_s=pr.length-1,_s>0?(Zi=Gr+_s,_r=hr-pr[_s].length):(Zi=Gr,_r=nr),Tt=["string",Tn.slice(St,hr+1),Gr,St-nr,Zi,hr-_r],nr=_r,Gr=Zi,St=hr;break;case yt:Ft.lastIndex=St+1,Ft.test(Tn),Ft.lastIndex===0?hr=Tn.length-1:hr=Ft.lastIndex-2,Tt=["at-word",Tn.slice(St,hr+1),Gr,St-nr,Gr,hr-nr],St=hr;break;case oe:for(hr=St,hs=!0;Tn.charCodeAt(hr+1)===oe;)hr+=1,hs=!hs;if(Br=Tn.charCodeAt(hr+1),hs&&Br!==pe&&Br!==de&&Br!==ce&&Br!==fe&&Br!==P&&Br!==se&&(hr+=1,un.test(Tn.charAt(hr)))){for(;un.test(Tn.charAt(hr+1));)hr+=1;Tn.charCodeAt(hr+1)===de&&(hr+=1)}Tt=["word",Tn.slice(St,hr+1),Gr,St-nr,Gr,hr-nr],St=hr;break;default:Br===pe&&Tn.charCodeAt(St+1)===Ae?(hr=Tn.indexOf("*/",St+2)+1,hr===0&&(Un||No?hr=Tn.length:qi("comment")),es=Tn.slice(St,hr+1),pr=es.split(`
|
||
`),_s=pr.length-1,_s>0?(Zi=Gr+_s,_r=hr-pr[_s].length):(Zi=Gr,_r=nr),Tt=["comment",es,Gr,St-nr,Zi,hr-_r],nr=_r,Gr=Zi,St=hr):(Tr.lastIndex=St+1,Tr.test(Tn),Tr.lastIndex===0?hr=Tn.length-1:hr=Tr.lastIndex-2,Tt=["word",Tn.slice(St,hr+1),Gr,St-nr,Gr,hr-nr],An.push(Tt),St=hr);break}return St++,Tt}}function uo(Rs){fn.push(Rs)}return{back:uo,nextToken:ia,endOfFile:Vs,position:ro}}ee.exports=w.default}}),hh=Rt({"node_modules/postcss/lib/parse.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=oe(Hu()),H=oe(Ra());function oe(de){return de&&de.__esModule?de:{default:de}}function pe(de,se){var fe=new H.default(de,se),P=new Y.default(fe);try{P.parse()}catch(C){throw C}return P.root}var ce=pe;w.default=ce,ee.exports=w.default}}),Sa=Rt({"node_modules/postcss/lib/list.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y={split:function(oe,pe,ce){for(var de=[],se="",fe=!1,P=0,C=!1,J=!1,V=0;V<oe.length;V++){var we=oe[V];C?J?J=!1:we==="\\"?J=!0:we===C&&(C=!1):we==='"'||we==="'"?C=we:we==="("?P+=1:we===")"?P>0&&(P-=1):P===0&&pe.indexOf(we)!==-1&&(fe=!0),fe?(se!==""&&de.push(se.trim()),se="",fe=!1):se+=we}return(ce||se!=="")&&de.push(se.trim()),de},space:function(oe){var pe=[" ",`
|
||
`," "];return Y.split(oe,pe)},comma:function(oe){return Y.split(oe,[","],!0)}},H=Y;w.default=H,ee.exports=w.default}}),op=Rt({"node_modules/postcss/lib/rule.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=oe(vc()),H=oe(Sa());function oe(P){return P&&P.__esModule?P:{default:P}}function pe(P,C){for(var J=0;J<C.length;J++){var V=C[J];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(P,V.key,V)}}function ce(P,C,J){return C&&pe(P.prototype,C),J&&pe(P,J),P}function de(P,C){P.prototype=Object.create(C.prototype),P.prototype.constructor=P,P.__proto__=C}var se=function(P){de(C,P);function C(J){var V;return V=P.call(this,J)||this,V.type="rule",V.nodes||(V.nodes=[]),V}return ce(C,[{key:"selectors",get:function(){return H.default.comma(this.selector)},set:function(J){var V=this.selector?this.selector.match(/,\s*/):null,we=V?V[0]:","+this.raw("between","beforeOpen");this.selector=J.join(we)}}]),C}(Y.default),fe=se;w.default=fe,ee.exports=w.default}}),vc=Rt({"node_modules/postcss/lib/container.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=pe(fu()),H=pe(jl()),oe=pe(bc());function pe(De){return De&&De.__esModule?De:{default:De}}function ce(De,Xe){var ve;if(typeof Symbol>"u"||De[Symbol.iterator]==null){if(Array.isArray(De)||(ve=de(De))||Xe&&De&&typeof De.length=="number"){ve&&(De=ve);var Ae=0;return function(){return Ae>=De.length?{done:!0}:{done:!1,value:De[Ae++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ve=De[Symbol.iterator](),ve.next.bind(ve)}function de(De,Xe){if(De){if(typeof De=="string")return se(De,Xe);var ve=Object.prototype.toString.call(De).slice(8,-1);if(ve==="Object"&&De.constructor&&(ve=De.constructor.name),ve==="Map"||ve==="Set")return Array.from(De);if(ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ve))return se(De,Xe)}}function se(De,Xe){(Xe==null||Xe>De.length)&&(Xe=De.length);for(var ve=0,Ae=new Array(Xe);ve<Xe;ve++)Ae[ve]=De[ve];return Ae}function fe(De,Xe){for(var ve=0;ve<Xe.length;ve++){var Ae=Xe[ve];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(De,Ae.key,Ae)}}function P(De,Xe,ve){return Xe&&fe(De.prototype,Xe),ve&&fe(De,ve),De}function C(De,Xe){De.prototype=Object.create(Xe.prototype),De.prototype.constructor=De,De.__proto__=Xe}function J(De){return De.map(function(Xe){return Xe.nodes&&(Xe.nodes=J(Xe.nodes)),delete Xe.source,Xe})}var V=function(De){C(Xe,De);function Xe(){return De.apply(this,arguments)||this}var ve=Xe.prototype;return ve.push=function(Ae){return Ae.parent=this,this.nodes.push(Ae),this},ve.each=function(Ae){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var pt=this.lastEach;if(this.indexes[pt]=0,!!this.nodes){for(var yt,Ft;this.indexes[pt]<this.nodes.length&&(yt=this.indexes[pt],Ft=Ae(this.nodes[yt],yt),Ft!==!1);)this.indexes[pt]+=1;return delete this.indexes[pt],Ft}},ve.walk=function(Ae){return this.each(function(pt,yt){var Ft;try{Ft=Ae(pt,yt)}catch(Yr){if(Yr.postcssNode=pt,Yr.stack&&pt.source&&/\n\s{4}at /.test(Yr.stack)){var Tr=pt.source;Yr.stack=Yr.stack.replace(/\n\s{4}at /,"$&"+Tr.input.from+":"+Tr.start.line+":"+Tr.start.column+"$&")}throw Yr}return Ft!==!1&&pt.walk&&(Ft=pt.walk(Ae)),Ft})},ve.walkDecls=function(Ae,pt){return pt?Ae instanceof RegExp?this.walk(function(yt,Ft){if(yt.type==="decl"&&Ae.test(yt.prop))return pt(yt,Ft)}):this.walk(function(yt,Ft){if(yt.type==="decl"&&yt.prop===Ae)return pt(yt,Ft)}):(pt=Ae,this.walk(function(yt,Ft){if(yt.type==="decl")return pt(yt,Ft)}))},ve.walkRules=function(Ae,pt){return pt?Ae instanceof RegExp?this.walk(function(yt,Ft){if(yt.type==="rule"&&Ae.test(yt.selector))return pt(yt,Ft)}):this.walk(function(yt,Ft){if(yt.type==="rule"&&yt.selector===Ae)return pt(yt,Ft)}):(pt=Ae,this.walk(function(yt,Ft){if(yt.type==="rule")return pt(yt,Ft)}))},ve.walkAtRules=function(Ae,pt){return pt?Ae instanceof RegExp?this.walk(function(yt,Ft){if(yt.type==="atrule"&&Ae.test(yt.name))return pt(yt,Ft)}):this.walk(function(yt,Ft){if(yt.type==="atrule"&&yt.name===Ae)return pt(yt,Ft)}):(pt=Ae,this.walk(function(yt,Ft){if(yt.type==="atrule")return pt(yt,Ft)}))},ve.walkComments=function(Ae){return this.walk(function(pt,yt){if(pt.type==="comment")return Ae(pt,yt)})},ve.append=function(){for(var Ae=arguments.length,pt=new Array(Ae),yt=0;yt<Ae;yt++)pt[yt]=arguments[yt];for(var Ft=0,Tr=pt;Ft<Tr.length;Ft++)for(var Yr=Tr[Ft],un=this.normalize(Yr,this.last),Vn=ce(un),wn;!(wn=Vn()).done;){var Rn=wn.value;this.nodes.push(Rn)}return this},ve.prepend=function(){for(var Ae=arguments.length,pt=new Array(Ae),yt=0;yt<Ae;yt++)pt[yt]=arguments[yt];pt=pt.reverse();for(var Ft=ce(pt),Tr;!(Tr=Ft()).done;){for(var Yr=Tr.value,un=this.normalize(Yr,this.first,"prepend").reverse(),Vn=ce(un),wn;!(wn=Vn()).done;){var Rn=wn.value;this.nodes.unshift(Rn)}for(var Tn in this.indexes)this.indexes[Tn]=this.indexes[Tn]+un.length}return this},ve.cleanRaws=function(Ae){if(De.prototype.cleanRaws.call(this,Ae),this.nodes)for(var pt=ce(this.nodes),yt;!(yt=pt()).done;){var Ft=yt.value;Ft.cleanRaws(Ae)}},ve.insertBefore=function(Ae,pt){Ae=this.index(Ae);for(var yt=Ae===0?"prepend":!1,Ft=this.normalize(pt,this.nodes[Ae],yt).reverse(),Tr=ce(Ft),Yr;!(Yr=Tr()).done;){var un=Yr.value;this.nodes.splice(Ae,0,un)}var Vn;for(var wn in this.indexes)Vn=this.indexes[wn],Ae<=Vn&&(this.indexes[wn]=Vn+Ft.length);return this},ve.insertAfter=function(Ae,pt){Ae=this.index(Ae);for(var yt=this.normalize(pt,this.nodes[Ae]).reverse(),Ft=ce(yt),Tr;!(Tr=Ft()).done;){var Yr=Tr.value;this.nodes.splice(Ae+1,0,Yr)}var un;for(var Vn in this.indexes)un=this.indexes[Vn],Ae<un&&(this.indexes[Vn]=un+yt.length);return this},ve.removeChild=function(Ae){Ae=this.index(Ae),this.nodes[Ae].parent=void 0,this.nodes.splice(Ae,1);var pt;for(var yt in this.indexes)pt=this.indexes[yt],pt>=Ae&&(this.indexes[yt]=pt-1);return this},ve.removeAll=function(){for(var Ae=ce(this.nodes),pt;!(pt=Ae()).done;){var yt=pt.value;yt.parent=void 0}return this.nodes=[],this},ve.replaceValues=function(Ae,pt,yt){return yt||(yt=pt,pt={}),this.walkDecls(function(Ft){pt.props&&pt.props.indexOf(Ft.prop)===-1||pt.fast&&Ft.value.indexOf(pt.fast)===-1||(Ft.value=Ft.value.replace(Ae,yt))}),this},ve.every=function(Ae){return this.nodes.every(Ae)},ve.some=function(Ae){return this.nodes.some(Ae)},ve.index=function(Ae){return typeof Ae=="number"?Ae:this.nodes.indexOf(Ae)},ve.normalize=function(Ae,pt){var yt=this;if(typeof Ae=="string"){var Ft=hh();Ae=J(Ft(Ae).nodes)}else if(Array.isArray(Ae)){Ae=Ae.slice(0);for(var Tr=ce(Ae),Yr;!(Yr=Tr()).done;){var un=Yr.value;un.parent&&un.parent.removeChild(un,"ignore")}}else if(Ae.type==="root"){Ae=Ae.nodes.slice(0);for(var Vn=ce(Ae),wn;!(wn=Vn()).done;){var Rn=wn.value;Rn.parent&&Rn.parent.removeChild(Rn,"ignore")}}else if(Ae.type)Ae=[Ae];else if(Ae.prop){if(typeof Ae.value>"u")throw new Error("Value field is missed in node creation");typeof Ae.value!="string"&&(Ae.value=String(Ae.value)),Ae=[new Y.default(Ae)]}else if(Ae.selector){var Tn=op();Ae=[new Tn(Ae)]}else if(Ae.name){var Un=Bo();Ae=[new Un(Ae)]}else if(Ae.text)Ae=[new H.default(Ae)];else throw new Error("Unknown node type in node creation");var Br=Ae.map(function(hr){return hr.parent&&hr.parent.removeChild(hr),typeof hr.raws.before>"u"&&pt&&typeof pt.raws.before<"u"&&(hr.raws.before=pt.raws.before.replace(/[^\s]/g,"")),hr.parent=yt,hr});return Br},P(Xe,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),Xe}(oe.default),we=V;w.default=we,ee.exports=w.default}}),Bo=Rt({"node_modules/postcss/lib/at-rule.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=H(vc());function H(de){return de&&de.__esModule?de:{default:de}}function oe(de,se){de.prototype=Object.create(se.prototype),de.prototype.constructor=de,de.__proto__=se}var pe=function(de){oe(se,de);function se(P){var C;return C=de.call(this,P)||this,C.type="atrule",C}var fe=se.prototype;return fe.append=function(){var P;this.nodes||(this.nodes=[]);for(var C=arguments.length,J=new Array(C),V=0;V<C;V++)J[V]=arguments[V];return(P=de.prototype.append).call.apply(P,[this].concat(J))},fe.prepend=function(){var P;this.nodes||(this.nodes=[]);for(var C=arguments.length,J=new Array(C),V=0;V<C;V++)J[V]=arguments[V];return(P=de.prototype.prepend).call.apply(P,[this].concat(J))},se}(Y.default),ce=pe;w.default=ce,ee.exports=w.default}}),Gu=Rt({"node_modules/postcss/lib/map-generator.js"(w,ee){qt(),ee.exports=class{generate(){}}}}),ap=Rt({"node_modules/postcss/lib/warn-once.js"(w,ee){qt(),w.__esModule=!0,w.default=H;var Y={};function H(oe){Y[oe]||(Y[oe]=!0,typeof console<"u"&&console.warn&&console.warn(oe))}ee.exports=w.default}}),Xl=Rt({"node_modules/postcss/lib/warning.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=function(){function oe(ce,de){if(de===void 0&&(de={}),this.type="warning",this.text=ce,de.node&&de.node.source){var se=de.node.positionBy(de);this.line=se.line,this.column=se.column}for(var fe in de)this[fe]=de[fe]}var pe=oe.prototype;return pe.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},oe}(),H=Y;w.default=H,ee.exports=w.default}}),ph=Rt({"node_modules/postcss/lib/result.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=H(Xl());function H(se){return se&&se.__esModule?se:{default:se}}function oe(se,fe){for(var P=0;P<fe.length;P++){var C=fe[P];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(se,C.key,C)}}function pe(se,fe,P){return fe&&oe(se.prototype,fe),P&&oe(se,P),se}var ce=function(){function se(P,C,J){this.processor=P,this.messages=[],this.root=C,this.opts=J,this.css=void 0,this.map=void 0}var fe=se.prototype;return fe.toString=function(){return this.css},fe.warn=function(P,C){C===void 0&&(C={}),C.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(C.plugin=this.lastPlugin.postcssPlugin);var J=new Y.default(P,C);return this.messages.push(J),J},fe.warnings=function(){return this.messages.filter(function(P){return P.type==="warning"})},pe(se,[{key:"content",get:function(){return this.css}}]),se}(),de=ce;w.default=de,ee.exports=w.default}}),Vl=Rt({"node_modules/postcss/lib/lazy-result.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=ce(Gu()),H=ce(Yu());ce(ap());var oe=ce(ph()),pe=ce(hh());function ce(De){return De&&De.__esModule?De:{default:De}}function de(De,Xe){var ve;if(typeof Symbol>"u"||De[Symbol.iterator]==null){if(Array.isArray(De)||(ve=se(De))||Xe&&De&&typeof De.length=="number"){ve&&(De=ve);var Ae=0;return function(){return Ae>=De.length?{done:!0}:{done:!1,value:De[Ae++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ve=De[Symbol.iterator](),ve.next.bind(ve)}function se(De,Xe){if(De){if(typeof De=="string")return fe(De,Xe);var ve=Object.prototype.toString.call(De).slice(8,-1);if(ve==="Object"&&De.constructor&&(ve=De.constructor.name),ve==="Map"||ve==="Set")return Array.from(De);if(ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ve))return fe(De,Xe)}}function fe(De,Xe){(Xe==null||Xe>De.length)&&(Xe=De.length);for(var ve=0,Ae=new Array(Xe);ve<Xe;ve++)Ae[ve]=De[ve];return Ae}function P(De,Xe){for(var ve=0;ve<Xe.length;ve++){var Ae=Xe[ve];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(De,Ae.key,Ae)}}function C(De,Xe,ve){return Xe&&P(De.prototype,Xe),ve&&P(De,ve),De}function J(De){return typeof De=="object"&&typeof De.then=="function"}var V=function(){function De(ve,Ae,pt){this.stringified=!1,this.processed=!1;var yt;if(typeof Ae=="object"&&Ae!==null&&Ae.type==="root")yt=Ae;else if(Ae instanceof De||Ae instanceof oe.default)yt=Ae.root,Ae.map&&(typeof pt.map>"u"&&(pt.map={}),pt.map.inline||(pt.map.inline=!1),pt.map.prev=Ae.map);else{var Ft=pe.default;pt.syntax&&(Ft=pt.syntax.parse),pt.parser&&(Ft=pt.parser),Ft.parse&&(Ft=Ft.parse);try{yt=Ft(Ae,pt)}catch(Tr){this.error=Tr}}this.result=new oe.default(ve,yt,pt)}var Xe=De.prototype;return Xe.warnings=function(){return this.sync().warnings()},Xe.toString=function(){return this.css},Xe.then=function(ve,Ae){return this.async().then(ve,Ae)},Xe.catch=function(ve){return this.async().catch(ve)},Xe.finally=function(ve){return this.async().then(ve,ve)},Xe.handleError=function(ve,Ae){try{if(this.error=ve,ve.name==="CssSyntaxError"&&!ve.plugin)ve.plugin=Ae.postcssPlugin,ve.setMessage();else if(Ae.postcssVersion&&!1)var pt,yt,Ft,Tr,Yr}catch(un){console&&console.error&&console.error(un)}},Xe.asyncTick=function(ve,Ae){var pt=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,ve();try{var yt=this.processor.plugins[this.plugin],Ft=this.run(yt);this.plugin+=1,J(Ft)?Ft.then(function(){pt.asyncTick(ve,Ae)}).catch(function(Tr){pt.handleError(Tr,yt),pt.processed=!0,Ae(Tr)}):this.asyncTick(ve,Ae)}catch(Tr){this.processed=!0,Ae(Tr)}},Xe.async=function(){var ve=this;return this.processed?new Promise(function(Ae,pt){ve.error?pt(ve.error):Ae(ve.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(Ae,pt){if(ve.error)return pt(ve.error);ve.plugin=0,ve.asyncTick(Ae,pt)}).then(function(){return ve.processed=!0,ve.stringify()}),this.processing)},Xe.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;for(var ve=de(this.result.processor.plugins),Ae;!(Ae=ve()).done;){var pt=Ae.value,yt=this.run(pt);if(J(yt))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Xe.run=function(ve){this.result.lastPlugin=ve;try{return ve(this.result.root,this.result)}catch(Ae){throw this.handleError(Ae,ve),Ae}},Xe.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var ve=this.result.opts,Ae=H.default;ve.syntax&&(Ae=ve.syntax.stringify),ve.stringifier&&(Ae=ve.stringifier),Ae.stringify&&(Ae=Ae.stringify);var pt=new Y.default(Ae,this.result.root,this.result.opts),yt=pt.generate();return this.result.css=yt[0],this.result.map=yt[1],this.result},C(De,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),De}(),we=V;w.default=we,ee.exports=w.default}}),du=Rt({"node_modules/postcss/lib/processor.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=H(Vl());function H(fe){return fe&&fe.__esModule?fe:{default:fe}}function oe(fe,P){var C;if(typeof Symbol>"u"||fe[Symbol.iterator]==null){if(Array.isArray(fe)||(C=pe(fe))||P&&fe&&typeof fe.length=="number"){C&&(fe=C);var J=0;return function(){return J>=fe.length?{done:!0}:{done:!1,value:fe[J++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return C=fe[Symbol.iterator](),C.next.bind(C)}function pe(fe,P){if(fe){if(typeof fe=="string")return ce(fe,P);var C=Object.prototype.toString.call(fe).slice(8,-1);if(C==="Object"&&fe.constructor&&(C=fe.constructor.name),C==="Map"||C==="Set")return Array.from(fe);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return ce(fe,P)}}function ce(fe,P){(P==null||P>fe.length)&&(P=fe.length);for(var C=0,J=new Array(P);C<P;C++)J[C]=fe[C];return J}var de=function(){function fe(C){C===void 0&&(C=[]),this.version="7.0.39",this.plugins=this.normalize(C)}var P=fe.prototype;return P.use=function(C){return this.plugins=this.plugins.concat(this.normalize([C])),this},P.process=function(C){function J(V){return C.apply(this,arguments)}return J.toString=function(){return C.toString()},J}(function(C,J){return J===void 0&&(J={}),this.plugins.length===0&&(J.parser,J.stringifier),new Y.default(this,C,J)}),P.normalize=function(C){for(var J=[],V=oe(C),we;!(we=V()).done;){var De=we.value;if(De.postcss===!0){var Xe=De();throw new Error("PostCSS plugin "+Xe.postcssPlugin+` requires PostCSS 8.
|
||
Migration guide for end-users:
|
||
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(De.postcss&&(De=De.postcss),typeof De=="object"&&Array.isArray(De.plugins))J=J.concat(De.plugins);else if(typeof De=="function")J.push(De);else if(!(typeof De=="object"&&(De.parse||De.stringify)))throw typeof De=="object"&&De.postcssPlugin?new Error("PostCSS plugin "+De.postcssPlugin+` requires PostCSS 8.
|
||
Migration guide for end-users:
|
||
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(De+" is not a PostCSS plugin")}return J},fe}(),se=de;w.default=se,ee.exports=w.default}}),Cc=Rt({"node_modules/postcss/lib/root.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=H(vc());function H(P){return P&&P.__esModule?P:{default:P}}function oe(P,C){var J;if(typeof Symbol>"u"||P[Symbol.iterator]==null){if(Array.isArray(P)||(J=pe(P))||C&&P&&typeof P.length=="number"){J&&(P=J);var V=0;return function(){return V>=P.length?{done:!0}:{done:!1,value:P[V++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return J=P[Symbol.iterator](),J.next.bind(J)}function pe(P,C){if(P){if(typeof P=="string")return ce(P,C);var J=Object.prototype.toString.call(P).slice(8,-1);if(J==="Object"&&P.constructor&&(J=P.constructor.name),J==="Map"||J==="Set")return Array.from(P);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return ce(P,C)}}function ce(P,C){(C==null||C>P.length)&&(C=P.length);for(var J=0,V=new Array(C);J<C;J++)V[J]=P[J];return V}function de(P,C){P.prototype=Object.create(C.prototype),P.prototype.constructor=P,P.__proto__=C}var se=function(P){de(C,P);function C(V){var we;return we=P.call(this,V)||this,we.type="root",we.nodes||(we.nodes=[]),we}var J=C.prototype;return J.removeChild=function(V,we){var De=this.index(V);return!we&&De===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[De].raws.before),P.prototype.removeChild.call(this,V)},J.normalize=function(V,we,De){var Xe=P.prototype.normalize.call(this,V);if(we){if(De==="prepend")this.nodes.length>1?we.raws.before=this.nodes[1].raws.before:delete we.raws.before;else if(this.first!==we)for(var ve=oe(Xe),Ae;!(Ae=ve()).done;){var pt=Ae.value;pt.raws.before=we.raws.before}}return Xe},J.toResult=function(V){V===void 0&&(V={});var we=Vl(),De=du(),Xe=new we(new De,this,V);return Xe.stringify()},C}(Y.default),fe=se;w.default=fe,ee.exports=w.default}}),Hu=Rt({"node_modules/postcss/lib/parser.js"(w,ee){qt(),w.__esModule=!0,w.default=void 0;var Y=se(fu()),H=se(Ll()),oe=se(jl()),pe=se(Bo()),ce=se(Cc()),de=se(op());function se(P){return P&&P.__esModule?P:{default:P}}var fe=function(){function P(J){this.input=J,this.root=new ce.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:J,start:{line:1,column:1}}}var C=P.prototype;return C.createTokenizer=function(){this.tokenizer=(0,H.default)(this.input)},C.parse=function(){for(var J;!this.tokenizer.endOfFile();)switch(J=this.tokenizer.nextToken(),J[0]){case"space":this.spaces+=J[1];break;case";":this.freeSemicolon(J);break;case"}":this.end(J);break;case"comment":this.comment(J);break;case"at-word":this.atrule(J);break;case"{":this.emptyRule(J);break;default:this.other(J);break}this.endFile()},C.comment=function(J){var V=new oe.default;this.init(V,J[2],J[3]),V.source.end={line:J[4],column:J[5]};var we=J[1].slice(2,-2);if(/^\s*$/.test(we))V.text="",V.raws.left=we,V.raws.right="";else{var De=we.match(/^(\s*)([^]*[^\s])(\s*)$/);V.text=De[2],V.raws.left=De[1],V.raws.right=De[3]}},C.emptyRule=function(J){var V=new de.default;this.init(V,J[2],J[3]),V.selector="",V.raws.between="",this.current=V},C.other=function(J){for(var V=!1,we=null,De=!1,Xe=null,ve=[],Ae=[],pt=J;pt;){if(we=pt[0],Ae.push(pt),we==="("||we==="[")Xe||(Xe=pt),ve.push(we==="("?")":"]");else if(ve.length===0)if(we===";")if(De){this.decl(Ae);return}else break;else if(we==="{"){this.rule(Ae);return}else if(we==="}"){this.tokenizer.back(Ae.pop()),V=!0;break}else we===":"&&(De=!0);else we===ve[ve.length-1]&&(ve.pop(),ve.length===0&&(Xe=null));pt=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(V=!0),ve.length>0&&this.unclosedBracket(Xe),V&&De){for(;Ae.length&&(pt=Ae[Ae.length-1][0],!(pt!=="space"&&pt!=="comment"));)this.tokenizer.back(Ae.pop());this.decl(Ae)}else this.unknownWord(Ae)},C.rule=function(J){J.pop();var V=new de.default;this.init(V,J[0][2],J[0][3]),V.raws.between=this.spacesAndCommentsFromEnd(J),this.raw(V,"selector",J),this.current=V},C.decl=function(J){var V=new Y.default;this.init(V);var we=J[J.length-1];for(we[0]===";"&&(this.semicolon=!0,J.pop()),we[4]?V.source.end={line:we[4],column:we[5]}:V.source.end={line:we[2],column:we[3]};J[0][0]!=="word";)J.length===1&&this.unknownWord(J),V.raws.before+=J.shift()[1];for(V.source.start={line:J[0][2],column:J[0][3]},V.prop="";J.length;){var De=J[0][0];if(De===":"||De==="space"||De==="comment")break;V.prop+=J.shift()[1]}V.raws.between="";for(var Xe;J.length;)if(Xe=J.shift(),Xe[0]===":"){V.raws.between+=Xe[1];break}else Xe[0]==="word"&&/\w/.test(Xe[1])&&this.unknownWord([Xe]),V.raws.between+=Xe[1];(V.prop[0]==="_"||V.prop[0]==="*")&&(V.raws.before+=V.prop[0],V.prop=V.prop.slice(1)),V.raws.between+=this.spacesAndCommentsFromStart(J),this.precheckMissedSemicolon(J);for(var ve=J.length-1;ve>0;ve--){if(Xe=J[ve],Xe[1].toLowerCase()==="!important"){V.important=!0;var Ae=this.stringFrom(J,ve);Ae=this.spacesFromEnd(J)+Ae,Ae!==" !important"&&(V.raws.important=Ae);break}else if(Xe[1].toLowerCase()==="important"){for(var pt=J.slice(0),yt="",Ft=ve;Ft>0;Ft--){var Tr=pt[Ft][0];if(yt.trim().indexOf("!")===0&&Tr!=="space")break;yt=pt.pop()[1]+yt}yt.trim().indexOf("!")===0&&(V.important=!0,V.raws.important=yt,J=pt)}if(Xe[0]!=="space"&&Xe[0]!=="comment")break}this.raw(V,"value",J),V.value.indexOf(":")!==-1&&this.checkMissedSemicolon(J)},C.atrule=function(J){var V=new pe.default;V.name=J[1].slice(1),V.name===""&&this.unnamedAtrule(V,J),this.init(V,J[2],J[3]);for(var we,De,Xe=!1,ve=!1,Ae=[];!this.tokenizer.endOfFile();){if(J=this.tokenizer.nextToken(),J[0]===";"){V.source.end={line:J[2],column:J[3]},this.semicolon=!0;break}else if(J[0]==="{"){ve=!0;break}else if(J[0]==="}"){if(Ae.length>0){for(De=Ae.length-1,we=Ae[De];we&&we[0]==="space";)we=Ae[--De];we&&(V.source.end={line:we[4],column:we[5]})}this.end(J);break}else Ae.push(J);if(this.tokenizer.endOfFile()){Xe=!0;break}}V.raws.between=this.spacesAndCommentsFromEnd(Ae),Ae.length?(V.raws.afterName=this.spacesAndCommentsFromStart(Ae),this.raw(V,"params",Ae),Xe&&(J=Ae[Ae.length-1],V.source.end={line:J[4],column:J[5]},this.spaces=V.raws.between,V.raws.between="")):(V.raws.afterName="",V.params=""),ve&&(V.nodes=[],this.current=V)},C.end=function(J){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:J[2],column:J[3]},this.current=this.current.parent):this.unexpectedClose(J)},C.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},C.freeSemicolon=function(J){if(this.spaces+=J[1],this.current.nodes){var V=this.current.nodes[this.current.nodes.length-1];V&&V.type==="rule"&&!V.raws.ownSemicolon&&(V.raws.ownSemicolon=this.spaces,this.spaces="")}},C.init=function(J,V,we){this.current.push(J),J.source={start:{line:V,column:we},input:this.input},J.raws.before=this.spaces,this.spaces="",J.type!=="comment"&&(this.semicolon=!1)},C.raw=function(J,V,we){for(var De,Xe,ve=we.length,Ae="",pt=!0,yt,Ft,Tr=/^([.|#])?([\w])+/i,Yr=0;Yr<ve;Yr+=1){if(De=we[Yr],Xe=De[0],Xe==="comment"&&J.type==="rule"){Ft=we[Yr-1],yt=we[Yr+1],Ft[0]!=="space"&&yt[0]!=="space"&&Tr.test(Ft[1])&&Tr.test(yt[1])?Ae+=De[1]:pt=!1;continue}Xe==="comment"||Xe==="space"&&Yr===ve-1?pt=!1:Ae+=De[1]}if(!pt){var un=we.reduce(function(Vn,wn){return Vn+wn[1]},"");J.raws[V]={value:Ae,raw:un}}J[V]=Ae},C.spacesAndCommentsFromEnd=function(J){for(var V,we="";J.length&&(V=J[J.length-1][0],!(V!=="space"&&V!=="comment"));)we=J.pop()[1]+we;return we},C.spacesAndCommentsFromStart=function(J){for(var V,we="";J.length&&(V=J[0][0],!(V!=="space"&&V!=="comment"));)we+=J.shift()[1];return we},C.spacesFromEnd=function(J){for(var V,we="";J.length&&(V=J[J.length-1][0],V==="space");)we=J.pop()[1]+we;return we},C.stringFrom=function(J,V){for(var we="",De=V;De<J.length;De++)we+=J[De][1];return J.splice(V,J.length-V),we},C.colon=function(J){for(var V=0,we,De,Xe,ve=0;ve<J.length;ve++){if(we=J[ve],De=we[0],De==="("&&(V+=1),De===")"&&(V-=1),V===0&&De===":")if(!Xe)this.doubleColon(we);else{if(Xe[0]==="word"&&Xe[1]==="progid")continue;return ve}Xe=we}return!1},C.unclosedBracket=function(J){throw this.input.error("Unclosed bracket",J[2],J[3])},C.unknownWord=function(J){throw this.input.error("Unknown word",J[0][2],J[0][3])},C.unexpectedClose=function(J){throw this.input.error("Unexpected }",J[2],J[3])},C.unclosedBlock=function(){var J=this.current.source.start;throw this.input.error("Unclosed block",J.line,J.column)},C.doubleColon=function(J){throw this.input.error("Double colon",J[2],J[3])},C.unnamedAtrule=function(J,V){throw this.input.error("At-rule without name",V[2],V[3])},C.precheckMissedSemicolon=function(){},C.checkMissedSemicolon=function(J){var V=this.colon(J);if(V!==!1){for(var we=0,De,Xe=V-1;Xe>=0&&(De=J[Xe],!(De[0]!=="space"&&(we+=1,we===2)));Xe--);throw this.input.error("Missed semicolon",De[2],De[3])}},P}();w.default=fe,ee.exports=w.default}}),Sc=Rt({"node_modules/postcss-less/lib/nodes/inline-comment.js"(w,ee){qt();var Y=Ll(),H=Ra();ee.exports={isInlineComment(oe){if(oe[0]==="word"&&oe[1].slice(0,2)==="//"){let pe=oe,ce=[],de;for(;oe;){if(/\r?\n/.test(oe[1])){if(/['"].*\r?\n/.test(oe[1])){ce.push(oe[1].substring(0,oe[1].indexOf(`
|
||
`)));let fe=oe[1].substring(oe[1].indexOf(`
|
||
`));fe+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new H(fe),this.tokenizer=Y(this.input)}else this.tokenizer.back(oe);break}ce.push(oe[1]),de=oe,oe=this.tokenizer.nextToken({ignoreUnclosed:!0})}let se=["comment",ce.join(""),pe[2],pe[3],de[2],de[3]];return this.inlineComment(se),!0}else if(oe[1]==="/"){let pe=this.tokenizer.nextToken({ignoreUnclosed:!0});if(pe[0]==="comment"&&/^\/\*/.test(pe[1]))return pe[0]="word",pe[1]=pe[1].slice(1),oe[1]="//",this.tokenizer.back(pe),ee.exports.isInlineComment.bind(this)(oe)}return!1}}}}),Ul=Rt({"node_modules/postcss-less/lib/nodes/interpolation.js"(w,ee){qt(),ee.exports={interpolation(Y){let H=Y,oe=[Y],pe=["word","{","}"];if(Y=this.tokenizer.nextToken(),H[1].length>1||Y[0]!=="{")return this.tokenizer.back(Y),!1;for(;Y&&pe.includes(Y[0]);)oe.push(Y),Y=this.tokenizer.nextToken();let ce=oe.map(C=>C[1]);[H]=oe;let de=oe.pop(),se=[H[2],H[3]],fe=[de[4]||de[2],de[5]||de[3]],P=["word",ce.join("")].concat(se,fe);return this.tokenizer.back(Y),this.tokenizer.back(P),!0}}}}),Ju=Rt({"node_modules/postcss-less/lib/nodes/mixin.js"(w,ee){qt();var Y=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,H=/\.[0-9]/,oe=pe=>{let[,ce]=pe,[de]=ce;return(de==="."||de==="#")&&Y.test(ce)===!1&&H.test(ce)===!1};ee.exports={isMixinToken:oe}}}),ql=Rt({"node_modules/postcss-less/lib/nodes/import.js"(w,ee){qt();var Y=Ll(),H=/^url\((.+)\)/;ee.exports=oe=>{let{name:pe,params:ce=""}=oe;if(pe==="import"&&ce.length){oe.import=!0;let de=Y({css:ce});for(oe.filename=ce.replace(H,"$1");!de.endOfFile();){let[se,fe]=de.nextToken();if(se==="word"&&fe==="url")return;if(se==="brackets"){oe.options=fe,oe.filename=ce.replace(fe,"").trim();break}}}}}}),mu=Rt({"node_modules/postcss-less/lib/nodes/variable.js"(w,ee){qt();var Y=/:$/,H=/^:(\s+)?/;ee.exports=oe=>{let{name:pe,params:ce=""}=oe;if(oe.name.slice(-1)===":"){if(Y.test(pe)){let[de]=pe.match(Y);oe.name=pe.replace(de,""),oe.raws.afterName=de+(oe.raws.afterName||""),oe.variable=!0,oe.value=oe.params}if(H.test(ce)){let[de]=ce.match(H);oe.value=ce.replace(de,""),oe.raws.afterName=(oe.raws.afterName||"")+de,oe.variable=!0}}}}}),up=Rt({"node_modules/postcss-less/lib/LessParser.js"(w,ee){qt();var Y=jl(),H=Hu(),{isInlineComment:oe}=Sc(),{interpolation:pe}=Ul(),{isMixinToken:ce}=Ju(),de=ql(),se=mu(),fe=/(!\s*important)$/i;ee.exports=class extends H{constructor(){super(...arguments),this.lastNode=null}atrule(P){pe.bind(this)(P)||(super.atrule(P),de(this.lastNode),se(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(P){P[0][1]=` ${P[0][1]}`;let C=P.findIndex(De=>De[0]==="("),J=P.reverse().find(De=>De[0]===")"),V=P.reverse().indexOf(J),we=P.splice(C,V).map(De=>De[1]).join("");for(let De of P.reverse())this.tokenizer.back(De);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=we}init(P,C,J){super.init(P,C,J),this.lastNode=P}inlineComment(P){let C=new Y,J=P[1].slice(2);if(this.init(C,P[2],P[3]),C.source.end={line:P[4],column:P[5]},C.inline=!0,C.raws.begin="//",/^\s*$/.test(J))C.text="",C.raws.left=J,C.raws.right="";else{let V=J.match(/^(\s*)([^]*[^\s])(\s*)$/);[,C.raws.left,C.text,C.raws.right]=V}}mixin(P){let[C]=P,J=C[1].slice(0,1),V=P.findIndex(Ae=>Ae[0]==="brackets"),we=P.findIndex(Ae=>Ae[0]==="("),De="";if((V<0||V>3)&&we>0){let Ae=P.reduce((Rn,Tn,Un)=>Tn[0]===")"?Un:Rn),pt=P.slice(we,Ae+we).map(Rn=>Rn[1]).join(""),[yt]=P.slice(we),Ft=[yt[2],yt[3]],[Tr]=P.slice(Ae,Ae+1),Yr=[Tr[2],Tr[3]],un=["brackets",pt].concat(Ft,Yr),Vn=P.slice(0,we),wn=P.slice(Ae+1);P=Vn,P.push(un),P=P.concat(wn)}let Xe=[];for(let Ae of P)if((Ae[1]==="!"||Xe.length)&&Xe.push(Ae),Ae[1]==="important")break;if(Xe.length){let[Ae]=Xe,pt=P.indexOf(Ae),yt=Xe[Xe.length-1],Ft=[Ae[2],Ae[3]],Tr=[yt[4],yt[5]],Yr=["word",Xe.map(un=>un[1]).join("")].concat(Ft,Tr);P.splice(pt,Xe.length,Yr)}let ve=P.findIndex(Ae=>fe.test(Ae[1]));ve>0&&([,De]=P[ve],P.splice(ve,1));for(let Ae of P.reverse())this.tokenizer.back(Ae);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=J,De&&(this.lastNode.important=!0,this.lastNode.raws.important=De)}other(P){oe.bind(this)(P)||super.other(P)}rule(P){let C=P[P.length-1],J=P[P.length-2];if(J[0]==="at-word"&&C[0]==="{"&&(this.tokenizer.back(C),pe.bind(this)(J))){let V=this.tokenizer.nextToken();P=P.slice(0,P.length-2).concat([V]);for(let we of P.reverse())this.tokenizer.back(we);return}super.rule(P),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(P){let[C]=P;if(P[0][1]==="each"&&P[1][0]==="("){this.each(P);return}if(ce(C)){this.mixin(P);return}super.unknownWord(P)}}}}),lp=Rt({"node_modules/postcss-less/lib/LessStringifier.js"(w,ee){qt();var Y=xc();ee.exports=class extends Y{atrule(H,oe){if(!H.mixin&&!H.variable&&!H.function){super.atrule(H,oe);return}let pe=`${H.function?"":H.raws.identifier||"@"}${H.name}`,ce=H.params?this.rawValue(H,"params"):"",de=H.raws.important||"";if(H.variable&&(ce=H.value),typeof H.raws.afterName<"u"?pe+=H.raws.afterName:ce&&(pe+=" "),H.nodes)this.block(H,pe+ce+de);else{let se=(H.raws.between||"")+de+(oe?";":"");this.builder(pe+ce+se,H)}}comment(H){if(H.inline){let oe=this.raw(H,"left","commentLeft"),pe=this.raw(H,"right","commentRight");this.builder(`//${oe}${H.text}${pe}`,H)}else super.comment(H)}}}}),fh=Rt({"node_modules/postcss-less/lib/index.js"(w,ee){qt();var Y=Ra(),H=up(),oe=lp();ee.exports={parse(pe,ce){let de=new Y(pe,ce),se=new H(de);return se.parse(),se.root},stringify(pe,ce){new oe(ce).stringify(pe)},nodeToString(pe){let ce="";return ee.exports.stringify(pe,de=>{ce+=de}),ce}}}}),cp=Rt({"node_modules/postcss-scss/lib/scss-stringifier.js"(w,ee){qt();function Y(pe,ce){pe.prototype=Object.create(ce.prototype),pe.prototype.constructor=pe,pe.__proto__=ce}var H=xc(),oe=function(pe){Y(ce,pe);function ce(){return pe.apply(this,arguments)||this}var de=ce.prototype;return de.comment=function(se){var fe=this.raw(se,"left","commentLeft"),P=this.raw(se,"right","commentRight");if(se.raws.inline){var C=se.raws.text||se.text;this.builder("//"+fe+C+P,se)}else this.builder("/*"+fe+se.text+P+"*/",se)},de.decl=function(se,fe){if(!se.isNested)pe.prototype.decl.call(this,se,fe);else{var P=this.raw(se,"between","colon"),C=se.prop+P+this.rawValue(se,"value");se.important&&(C+=se.raws.important||" !important"),this.builder(C+"{",se,"start");var J;se.nodes&&se.nodes.length?(this.body(se),J=this.raw(se,"after")):J=this.raw(se,"after","emptyBody"),J&&this.builder(J),this.builder("}",se,"end")}},de.rawValue=function(se,fe){var P=se[fe],C=se.raws[fe];return C&&C.value===P?C.scss?C.scss:C.raw:P},ce}(H);ee.exports=oe}}),lf=Rt({"node_modules/postcss-scss/lib/scss-stringify.js"(w,ee){qt();var Y=cp();ee.exports=function(H,oe){var pe=new Y(oe);pe.stringify(H)}}}),Ku=Rt({"node_modules/postcss-scss/lib/nested-declaration.js"(w,ee){qt();function Y(pe,ce){pe.prototype=Object.create(ce.prototype),pe.prototype.constructor=pe,pe.__proto__=ce}var H=vc(),oe=function(pe){Y(ce,pe);function ce(de){var se;return se=pe.call(this,de)||this,se.type="decl",se.isNested=!0,se.nodes||(se.nodes=[]),se}return ce}(H);ee.exports=oe}}),el=Rt({"node_modules/postcss-scss/lib/scss-tokenize.js"(w,ee){qt();var Y=39,H=34,oe=92,pe=47,ce=10,de=32,se=12,fe=9,P=13,C=91,J=93,V=40,we=41,De=123,Xe=125,ve=59,Ae=42,pt=58,yt=64,Ft=44,Tr=35,Yr=/[ \n\t\r\f{}()'"\\;/[\]#]/g,un=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Vn=/.[\\/("'\n]/,wn=/[a-f0-9]/i,Rn=/[\r\f\n]/g;ee.exports=function(Tn,Un){Un===void 0&&(Un={});var Br=Tn.css.valueOf(),hr=Un.ignoreErrors,Mr,pr,_s,es,hs,Zi,_r,Dn,ci,Kn,hi,Tt,Jt,nr,Gr=Br.length,St=-1,An=1,fn=0,ro=[],qi=[];function Vs(ks){throw Tn.error("Unclosed "+ks,An,fn-St)}function ia(){return qi.length===0&&fn>=Gr}function uo(){for(var ks=1,Us=!1,oo=!1;ks>0;)pr+=1,Br.length<=pr&&Vs("interpolation"),Mr=Br.charCodeAt(pr),Tt=Br.charCodeAt(pr+1),Us?!oo&&Mr===Us?(Us=!1,oo=!1):Mr===oe?oo=!Kn:oo&&(oo=!1):Mr===Y||Mr===H?Us=Mr:Mr===Xe?ks-=1:Mr===Tr&&Tt===De&&(ks+=1)}function Rs(){if(qi.length)return qi.pop();if(!(fn>=Gr)){switch(Mr=Br.charCodeAt(fn),(Mr===ce||Mr===se||Mr===P&&Br.charCodeAt(fn+1)!==ce)&&(St=fn,An+=1),Mr){case ce:case de:case fe:case P:case se:pr=fn;do pr+=1,Mr=Br.charCodeAt(pr),Mr===ce&&(St=pr,An+=1);while(Mr===de||Mr===ce||Mr===fe||Mr===P||Mr===se);Jt=["space",Br.slice(fn,pr)],fn=pr-1;break;case C:Jt=["[","[",An,fn-St];break;case J:Jt=["]","]",An,fn-St];break;case De:Jt=["{","{",An,fn-St];break;case Xe:Jt=["}","}",An,fn-St];break;case Ft:Jt=["word",",",An,fn-St,An,fn-St+1];break;case pt:Jt=[":",":",An,fn-St];break;case ve:Jt=[";",";",An,fn-St];break;case V:if(hi=ro.length?ro.pop()[1]:"",Tt=Br.charCodeAt(fn+1),hi==="url"&&Tt!==Y&&Tt!==H){for(nr=1,Kn=!1,pr=fn+1;pr<=Br.length-1;){if(Tt=Br.charCodeAt(pr),Tt===oe)Kn=!Kn;else if(Tt===V)nr+=1;else if(Tt===we&&(nr-=1,nr===0))break;pr+=1}Zi=Br.slice(fn,pr+1),es=Zi.split(`
|
||
`),hs=es.length-1,hs>0?(Dn=An+hs,ci=pr-es[hs].length):(Dn=An,ci=St),Jt=["brackets",Zi,An,fn-St,Dn,pr-ci],St=ci,An=Dn,fn=pr}else pr=Br.indexOf(")",fn+1),Zi=Br.slice(fn,pr+1),pr===-1||Vn.test(Zi)?Jt=["(","(",An,fn-St]:(Jt=["brackets",Zi,An,fn-St,An,pr-St],fn=pr);break;case we:Jt=[")",")",An,fn-St];break;case Y:case H:for(_s=Mr,pr=fn,Kn=!1;pr<Gr&&(pr++,pr===Gr&&Vs("string"),Mr=Br.charCodeAt(pr),Tt=Br.charCodeAt(pr+1),!(!Kn&&Mr===_s));)Mr===oe?Kn=!Kn:Kn?Kn=!1:Mr===Tr&&Tt===De&&uo();Zi=Br.slice(fn,pr+1),es=Zi.split(`
|
||
`),hs=es.length-1,hs>0?(Dn=An+hs,ci=pr-es[hs].length):(Dn=An,ci=St),Jt=["string",Br.slice(fn,pr+1),An,fn-St,Dn,pr-ci],St=ci,An=Dn,fn=pr;break;case yt:Yr.lastIndex=fn+1,Yr.test(Br),Yr.lastIndex===0?pr=Br.length-1:pr=Yr.lastIndex-2,Jt=["at-word",Br.slice(fn,pr+1),An,fn-St,An,pr-St],fn=pr;break;case oe:for(pr=fn,_r=!0;Br.charCodeAt(pr+1)===oe;)pr+=1,_r=!_r;if(Mr=Br.charCodeAt(pr+1),_r&&Mr!==pe&&Mr!==de&&Mr!==ce&&Mr!==fe&&Mr!==P&&Mr!==se&&(pr+=1,wn.test(Br.charAt(pr)))){for(;wn.test(Br.charAt(pr+1));)pr+=1;Br.charCodeAt(pr+1)===de&&(pr+=1)}Jt=["word",Br.slice(fn,pr+1),An,fn-St,An,pr-St],fn=pr;break;default:Tt=Br.charCodeAt(fn+1),Mr===Tr&&Tt===De?(pr=fn,uo(),Zi=Br.slice(fn,pr+1),es=Zi.split(`
|
||
`),hs=es.length-1,hs>0?(Dn=An+hs,ci=pr-es[hs].length):(Dn=An,ci=St),Jt=["word",Zi,An,fn-St,Dn,pr-ci],St=ci,An=Dn,fn=pr):Mr===pe&&Tt===Ae?(pr=Br.indexOf("*/",fn+2)+1,pr===0&&(hr?pr=Br.length:Vs("comment")),Zi=Br.slice(fn,pr+1),es=Zi.split(`
|
||
`),hs=es.length-1,hs>0?(Dn=An+hs,ci=pr-es[hs].length):(Dn=An,ci=St),Jt=["comment",Zi,An,fn-St,Dn,pr-ci],St=ci,An=Dn,fn=pr):Mr===pe&&Tt===pe?(Rn.lastIndex=fn+1,Rn.test(Br),Rn.lastIndex===0?pr=Br.length-1:pr=Rn.lastIndex-2,Zi=Br.slice(fn,pr+1),Jt=["comment",Zi,An,fn-St,An,pr-St,"inline"],fn=pr):(un.lastIndex=fn+1,un.test(Br),un.lastIndex===0?pr=Br.length-1:pr=un.lastIndex-2,Jt=["word",Br.slice(fn,pr+1),An,fn-St,An,pr-St],ro.push(Jt),fn=pr);break}return fn++,Jt}}function No(ks){qi.push(ks)}return{back:No,nextToken:Rs,endOfFile:ia}}}}),hp=Rt({"node_modules/postcss-scss/lib/scss-parser.js"(w,ee){qt();function Y(se,fe){se.prototype=Object.create(fe.prototype),se.prototype.constructor=se,se.__proto__=fe}var H=jl(),oe=Hu(),pe=Ku(),ce=el(),de=function(se){Y(fe,se);function fe(){return se.apply(this,arguments)||this}var P=fe.prototype;return P.createTokenizer=function(){this.tokenizer=ce(this.input)},P.rule=function(C){for(var J=!1,V=0,we="",ve=C,De=Array.isArray(ve),Xe=0,ve=De?ve:ve[Symbol.iterator]();;){var Ae;if(De){if(Xe>=ve.length)break;Ae=ve[Xe++]}else{if(Xe=ve.next(),Xe.done)break;Ae=Xe.value}var pt=Ae;if(J)pt[0]!=="comment"&&pt[0]!=="{"&&(we+=pt[1]);else{if(pt[0]==="space"&&pt[1].indexOf(`
|
||
`)!==-1)break;pt[0]==="("?V+=1:pt[0]===")"?V-=1:V===0&&pt[0]===":"&&(J=!0)}}if(!J||we.trim()===""||/^[a-zA-Z-:#]/.test(we))se.prototype.rule.call(this,C);else{C.pop();var yt=new pe;this.init(yt);var Ft=C[C.length-1];for(Ft[4]?yt.source.end={line:Ft[4],column:Ft[5]}:yt.source.end={line:Ft[2],column:Ft[3]};C[0][0]!=="word";)yt.raws.before+=C.shift()[1];for(yt.source.start={line:C[0][2],column:C[0][3]},yt.prop="";C.length;){var Tr=C[0][0];if(Tr===":"||Tr==="space"||Tr==="comment")break;yt.prop+=C.shift()[1]}yt.raws.between="";for(var Yr;C.length;)if(Yr=C.shift(),Yr[0]===":"){yt.raws.between+=Yr[1];break}else yt.raws.between+=Yr[1];(yt.prop[0]==="_"||yt.prop[0]==="*")&&(yt.raws.before+=yt.prop[0],yt.prop=yt.prop.slice(1)),yt.raws.between+=this.spacesAndCommentsFromStart(C),this.precheckMissedSemicolon(C);for(var un=C.length-1;un>0;un--){if(Yr=C[un],Yr[1]==="!important"){yt.important=!0;var Vn=this.stringFrom(C,un);Vn=this.spacesFromEnd(C)+Vn,Vn!==" !important"&&(yt.raws.important=Vn);break}else if(Yr[1]==="important"){for(var wn=C.slice(0),Rn="",Tn=un;Tn>0;Tn--){var Un=wn[Tn][0];if(Rn.trim().indexOf("!")===0&&Un!=="space")break;Rn=wn.pop()[1]+Rn}Rn.trim().indexOf("!")===0&&(yt.important=!0,yt.raws.important=Rn,C=wn)}if(Yr[0]!=="space"&&Yr[0]!=="comment")break}this.raw(yt,"value",C),yt.value.indexOf(":")!==-1&&this.checkMissedSemicolon(C),this.current=yt}},P.comment=function(C){if(C[6]==="inline"){var J=new H;this.init(J,C[2],C[3]),J.raws.inline=!0,J.source.end={line:C[4],column:C[5]};var V=C[1].slice(2);if(/^\s*$/.test(V))J.text="",J.raws.left=V,J.raws.right="";else{var we=V.match(/^(\s*)([^]*[^\s])(\s*)$/),De=we[2].replace(/(\*\/|\/\*)/g,"*//*");J.text=De,J.raws.left=we[1],J.raws.right=we[3],J.raws.text=we[2]}}else se.prototype.comment.call(this,C)},P.raw=function(C,J,V){if(se.prototype.raw.call(this,C,J,V),C.raws[J]){var we=C.raws[J].raw;C.raws[J].raw=V.reduce(function(De,Xe){if(Xe[0]==="comment"&&Xe[6]==="inline"){var ve=Xe[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return De+"/*"+ve+"*/"}else return De+Xe[1]},""),we!==C.raws[J].raw&&(C.raws[J].scss=we)}},fe}(oe);ee.exports=de}}),dh=Rt({"node_modules/postcss-scss/lib/scss-parse.js"(w,ee){qt();var Y=Ra(),H=hp();ee.exports=function(oe,pe){var ce=new Y(oe,pe),de=new H(ce);return de.parse(),de.root}}}),Ec=Rt({"node_modules/postcss-scss/lib/scss-syntax.js"(w,ee){qt();var Y=lf(),H=dh();ee.exports={parse:H,stringify:Y}}});qt();var zl=ai(),Wl=mi(),cf=Dr(),{hasPragma:gu}=Oi(),{locStart:hf,locEnd:pp}=Es(),{calculateLoc:mh,replaceQuotesInInlineComments:fp}=Es(),wc=Ho(),gh=vs(),yh=fo(),dp=Cs(),Dh=Jo(),mp=ao(),Ac=Ks(),pf=_u(),gp=w=>{for(;w.parent;)w=w.parent;return w};function Zl(w,ee){let{nodes:Y}=w,H={open:null,close:null,groups:[],type:"paren_group"},oe=[H],pe=H,ce={groups:[],type:"comma_group"},de=[ce];for(let se=0;se<Y.length;++se){let fe=Y[se];if(dp(ee.parser,fe.value)&&fe.type==="number"&&fe.unit===".."&&Wl(fe.value)==="."&&(fe.value=fe.value.slice(0,-1),fe.unit="..."),fe.type==="func"&&fe.value==="selector"&&(fe.group.groups=[Du(gp(w).text.slice(fe.group.open.sourceIndex+1,fe.group.close.sourceIndex))]),fe.type==="func"&&fe.value==="url"){let P=fe.group&&fe.group.groups||[],C=[];for(let J=0;J<P.length;J++){let V=P[J];V.type==="comma_group"?C=[...C,...V.groups]:C.push(V)}if(wc(C)||!gh(C)&&!mp(C[0])){let J=Ac({groups:fe.group.groups});fe.group.groups=[J.trim()]}}if(fe.type==="paren"&&fe.value==="(")H={open:fe,close:null,groups:[],type:"paren_group"},oe.push(H),ce={groups:[],type:"comma_group"},de.push(ce);else if(fe.type==="paren"&&fe.value===")"){if(ce.groups.length>0&&H.groups.push(ce),H.close=fe,de.length===1)throw new Error("Unbalanced parenthesis");de.pop(),ce=Wl(de),ce.groups.push(H),oe.pop(),H=Wl(oe)}else fe.type==="comma"?(H.groups.push(ce),ce={groups:[],type:"comma_group"},de[de.length-1]=ce):ce.groups.push(fe)}return ce.groups.length>0&&H.groups.push(ce),pe}function Oh(w){return w.type==="paren_group"&&!w.open&&!w.close&&w.groups.length===1||w.type==="comma_group"&&w.groups.length===1?Oh(w.groups[0]):w.type==="paren_group"||w.type==="comma_group"?Object.assign(Object.assign({},w),{},{groups:w.groups.map(Oh)}):w}function na(w,ee,Y){if(w&&typeof w=="object"){delete w.parent;for(let H in w)na(w[H],ee,Y),H==="type"&&typeof w[H]=="string"&&!w[H].startsWith(ee)&&(!Y||!Y.test(w[H]))&&(w[H]=ee+w[H])}return w}function yp(w){if(w&&typeof w=="object"){delete w.parent;for(let ee in w)yp(w[ee]);!Array.isArray(w)&&w.value&&!w.type&&(w.type="unknown")}return w}function Dp(w,ee){if(w&&typeof w=="object"){for(let Y in w)Y!=="parent"&&(Dp(w[Y],ee),Y==="nodes"&&(w.group=Oh(Zl(w,ee)),delete w[Y]));delete w.parent}return w}function yu(w,ee){let Y=Fn(),H=null;try{H=Y(w,{loose:!0}).parse()}catch{return{type:"value-unknown",value:w}}H.text=w;let oe=Dp(H,ee);return na(oe,"value-",/^selector-/)}function Du(w){if(/\/\/|\/\*/.test(w))return{type:"selector-unknown",value:w.trim()};let ee=uf(),Y=null;try{ee(H=>{Y=H}).process(w)}catch{return{type:"selector-unknown",value:w}}return na(Y,"selector-")}function Op(w){let ee=Uu().default,Y=null;try{Y=ee(w)}catch{return{type:"selector-unknown",value:w}}return na(yp(Y),"media-")}var xh=/(\s*)(!default).*$/,xp=/(\s*)(!global).*$/;function Yl(w,ee){if(w&&typeof w=="object"){delete w.parent;for(let se in w)Yl(w[se],ee);if(!w.type)return w;w.raws||(w.raws={});let pe="";if(typeof w.selector=="string"){var Y;pe=w.raws.selector?(Y=w.raws.selector.scss)!==null&&Y!==void 0?Y:w.raws.selector.raw:w.selector,w.raws.between&&w.raws.between.trim().length>0&&(pe+=w.raws.between),w.raws.selector=pe}let ce="";if(typeof w.value=="string"){var H;ce=w.raws.value?(H=w.raws.value.scss)!==null&&H!==void 0?H:w.raws.value.raw:w.value,ce=ce.trim(),w.raws.value=ce}let de="";if(typeof w.params=="string"){var oe;de=w.raws.params?(oe=w.raws.params.scss)!==null&&oe!==void 0?oe:w.raws.params.raw:w.params,w.raws.afterName&&w.raws.afterName.trim().length>0&&(de=w.raws.afterName+de),w.raws.between&&w.raws.between.trim().length>0&&(de=de+w.raws.between),de=de.trim(),w.raws.params=de}if(pe.trim().length>0)return pe.startsWith("@")&&pe.endsWith(":")?w:w.mixin?(w.selector=yu(pe,ee),w):(Dh(w)&&(w.isSCSSNesterProperty=!0),w.selector=Du(pe),w);if(ce.length>0){let se=ce.match(xh);se&&(ce=ce.slice(0,se.index),w.scssDefault=!0,se[0].trim()!=="!default"&&(w.raws.scssDefault=se[0]));let fe=ce.match(xp);if(fe&&(ce=ce.slice(0,fe.index),w.scssGlobal=!0,fe[0].trim()!=="!global"&&(w.raws.scssGlobal=fe[0])),ce.startsWith("progid:"))return{type:"value-unknown",value:ce};w.value=yu(ce,ee)}if(yh(ee)&&w.type==="css-decl"&&ce.startsWith("extend(")&&(w.extend||(w.extend=w.raws.between===":"),w.extend&&!w.selector&&(delete w.value,w.selector=Du(ce.slice(7,-1)))),w.type==="css-atrule"){if(yh(ee)){if(w.mixin){let se=w.raws.identifier+w.name+w.raws.afterName+w.raws.params;return w.selector=Du(se),delete w.params,w}if(w.function)return w}if(ee.parser==="css"&&w.name==="custom-selector"){let se=w.params.match(/:--\S+\s+/)[0].trim();return w.customSelector=se,w.selector=Du(w.params.slice(se.length).trim()),delete w.params,w}if(yh(ee)){if(w.name.includes(":")&&!w.params){w.variable=!0;let se=w.name.split(":");w.name=se[0],w.value=yu(se.slice(1).join(":"),ee)}if(!["page","nest","keyframes"].includes(w.name)&&w.params&&w.params[0]===":"){w.variable=!0;let se=w.params.slice(1);se&&(w.value=yu(se,ee)),w.raws.afterName+=":"}if(w.variable)return delete w.params,w.value||delete w.value,w}}if(w.type==="css-atrule"&&de.length>0){let{name:se}=w,fe=w.name.toLowerCase();return se==="warn"||se==="error"?(w.params={type:"media-unknown",value:de},w):se==="extend"||se==="nest"?(w.selector=Du(de),delete w.params,w):se==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(de)?w.params=yu(de,ee):(w.selector=Du(de),delete w.params),w):pf(fe)?(w.import=!0,delete w.filename,w.params=yu(de,ee),w):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(se)?(de=de.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),de=de.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),w.value=yu(de,ee),delete w.params,w):["media","custom-media"].includes(fe)?de.includes("#{")?{type:"media-unknown",value:de}:(w.params=Op(de),w):(w.params=de,w)}}return w}function bh(w,ee,Y){let H=cf(ee),{frontMatter:oe}=H;ee=H.content;let pe;try{pe=w(ee)}catch(ce){let{name:de,reason:se,line:fe,column:P}=ce;throw typeof fe!="number"?ce:zl(`${de}: ${se}`,{start:{line:fe,column:P}})}return pe=Yl(na(pe,"css-"),Y),mh(pe,ee),oe&&(oe.source={startOffset:0,endOffset:oe.raw.length},pe.nodes.unshift(oe)),pe}function ff(w,ee){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},H=dp(Y.parser,w)?[Ch,vh]:[vh,Ch],oe;for(let pe of H)try{return pe(w,ee,Y)}catch(ce){oe=oe||ce}if(oe)throw oe}function vh(w,ee){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},H=fh();return bh(oe=>H.parse(fp(oe)),w,Y)}function Ch(w,ee){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:H}=Ec();return bh(H,w,Y)}var Sh={astFormat:"postcss",hasPragma:gu,locStart:hf,locEnd:pp};Kt.exports={parsers:{css:Object.assign(Object.assign({},Sh),{},{parse:ff}),less:Object.assign(Object.assign({},Sh),{},{parse:vh}),scss:Object.assign(Object.assign({},Sh),{},{parse:Ch})}}});return so()})})(Tw);var a6=Tw.exports;const u6=Qg(a6);var Pw={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(Ke,$e)=>()=>($e||Ke(($e={exports:{}}).exports,$e),$e.exports),n=t((Ke,$e)=>{var Ie=function(Ze){return Ze&&Ze.Math==Math&&Ze};$e.exports=Ie(typeof globalThis=="object"&&globalThis)||Ie(typeof window=="object"&&window)||Ie(typeof self=="object"&&self)||Ie(typeof rc=="object"&&rc)||function(){return this}()||Function("return this")()}),i=t((Ke,$e)=>{$e.exports=function(Ie){try{return!!Ie()}catch{return!0}}}),s=t((Ke,$e)=>{var Ie=i();$e.exports=!Ie(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((Ke,$e)=>{var Ie=i();$e.exports=!Ie(function(){var Ze=(function(){}).bind();return typeof Ze!="function"||Ze.hasOwnProperty("prototype")})}),l=t((Ke,$e)=>{var Ie=a(),Ze=Function.prototype.call;$e.exports=Ie?Ze.bind(Ze):function(){return Ze.apply(Ze,arguments)}}),p=t(Ke=>{var $e={}.propertyIsEnumerable,Ie=Object.getOwnPropertyDescriptor,Ze=Ie&&!$e.call({1:2},1);Ke.f=Ze?function(ge){var le=Ie(this,ge);return!!le&&le.enumerable}:$e}),m=t((Ke,$e)=>{$e.exports=function(Ie,Ze){return{enumerable:!(Ie&1),configurable:!(Ie&2),writable:!(Ie&4),value:Ze}}}),g=t((Ke,$e)=>{var Ie=a(),Ze=Function.prototype,ge=Ze.call,le=Ie&&Ze.bind.bind(ge,ge);$e.exports=Ie?le:function(ae){return function(){return ge.apply(ae,arguments)}}}),b=t((Ke,$e)=>{var Ie=g(),Ze=Ie({}.toString),ge=Ie("".slice);$e.exports=function(le){return ge(Ze(le),8,-1)}}),S=t((Ke,$e)=>{var Ie=g(),Ze=i(),ge=b(),le=Object,ae=Ie("".split);$e.exports=Ze(function(){return!le("z").propertyIsEnumerable(0)})?function(Ee){return ge(Ee)=="String"?ae(Ee,""):le(Ee)}:le}),$=t((Ke,$e)=>{$e.exports=function(Ie){return Ie==null}}),G=t((Ke,$e)=>{var Ie=$(),Ze=TypeError;$e.exports=function(ge){if(Ie(ge))throw Ze("Can't call method on "+ge);return ge}}),be=t((Ke,$e)=>{var Ie=S(),Ze=G();$e.exports=function(ge){return Ie(Ze(ge))}}),ke=t((Ke,$e)=>{var Ie=typeof document=="object"&&document.all,Ze=typeof Ie>"u"&&Ie!==void 0;$e.exports={all:Ie,IS_HTMLDDA:Ze}}),me=t((Ke,$e)=>{var Ie=ke(),Ze=Ie.all;$e.exports=Ie.IS_HTMLDDA?function(ge){return typeof ge=="function"||ge===Ze}:function(ge){return typeof ge=="function"}}),Ve=t((Ke,$e)=>{var Ie=me(),Ze=ke(),ge=Ze.all;$e.exports=Ze.IS_HTMLDDA?function(le){return typeof le=="object"?le!==null:Ie(le)||le===ge}:function(le){return typeof le=="object"?le!==null:Ie(le)}}),Dt=t((Ke,$e)=>{var Ie=n(),Ze=me(),ge=function(le){return Ze(le)?le:void 0};$e.exports=function(le,ae){return arguments.length<2?ge(Ie[le]):Ie[le]&&Ie[le][ae]}}),ht=t((Ke,$e)=>{var Ie=g();$e.exports=Ie({}.isPrototypeOf)}),bt=t((Ke,$e)=>{var Ie=Dt();$e.exports=Ie("navigator","userAgent")||""}),Yt=t((Ke,$e)=>{var Ie=n(),Ze=bt(),ge=Ie.process,le=Ie.Deno,ae=ge&&ge.versions||le&&le.version,Ee=ae&&ae.v8,xe,Le;Ee&&(xe=Ee.split("."),Le=xe[0]>0&&xe[0]<4?1:+(xe[0]+xe[1])),!Le&&Ze&&(xe=Ze.match(/Edge\/(\d+)/),(!xe||xe[1]>=74)&&(xe=Ze.match(/Chrome\/(\d+)/),xe&&(Le=+xe[1]))),$e.exports=Le}),ir=t((Ke,$e)=>{var Ie=Yt(),Ze=i();$e.exports=!!Object.getOwnPropertySymbols&&!Ze(function(){var ge=Symbol();return!String(ge)||!(Object(ge)instanceof Symbol)||!Symbol.sham&&Ie&&Ie<41})}),qr=t((Ke,$e)=>{var Ie=ir();$e.exports=Ie&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),yr=t((Ke,$e)=>{var Ie=Dt(),Ze=me(),ge=ht(),le=qr(),ae=Object;$e.exports=le?function(Ee){return typeof Ee=="symbol"}:function(Ee){var xe=Ie("Symbol");return Ze(xe)&&ge(xe.prototype,ae(Ee))}}),kr=t((Ke,$e)=>{var Ie=String;$e.exports=function(Ze){try{return Ie(Ze)}catch{return"Object"}}}),Zr=t((Ke,$e)=>{var Ie=me(),Ze=kr(),ge=TypeError;$e.exports=function(le){if(Ie(le))return le;throw ge(Ze(le)+" is not a function")}}),zn=t((Ke,$e)=>{var Ie=Zr(),Ze=$();$e.exports=function(ge,le){var ae=ge[le];return Ze(ae)?void 0:Ie(ae)}}),Gn=t((Ke,$e)=>{var Ie=l(),Ze=me(),ge=Ve(),le=TypeError;$e.exports=function(ae,Ee){var xe,Le;if(Ee==="string"&&Ze(xe=ae.toString)&&!ge(Le=Ie(xe,ae))||Ze(xe=ae.valueOf)&&!ge(Le=Ie(xe,ae))||Ee!=="string"&&Ze(xe=ae.toString)&&!ge(Le=Ie(xe,ae)))return Le;throw le("Can't convert object to primitive value")}}),Ii=t((Ke,$e)=>{$e.exports=!1}),ii=t((Ke,$e)=>{var Ie=n(),Ze=Object.defineProperty;$e.exports=function(ge,le){try{Ze(Ie,ge,{value:le,configurable:!0,writable:!0})}catch{Ie[ge]=le}return le}}),Sn=t((Ke,$e)=>{var Ie=n(),Ze=ii(),ge="__core-js_shared__",le=Ie[ge]||Ze(ge,{});$e.exports=le}),Wn=t((Ke,$e)=>{var Ie=Ii(),Ze=Sn();($e.exports=function(ge,le){return Ze[ge]||(Ze[ge]=le!==void 0?le:{})})("versions",[]).push({version:"3.26.1",mode:Ie?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),jn=t((Ke,$e)=>{var Ie=G(),Ze=Object;$e.exports=function(ge){return Ze(Ie(ge))}}),Bn=t((Ke,$e)=>{var Ie=g(),Ze=jn(),ge=Ie({}.hasOwnProperty);$e.exports=Object.hasOwn||function(le,ae){return ge(Ze(le),ae)}}),$i=t((Ke,$e)=>{var Ie=g(),Ze=0,ge=Math.random(),le=Ie(1 .toString);$e.exports=function(ae){return"Symbol("+(ae===void 0?"":ae)+")_"+le(++Ze+ge,36)}}),Ui=t((Ke,$e)=>{var Ie=n(),Ze=Wn(),ge=Bn(),le=$i(),ae=ir(),Ee=qr(),xe=Ze("wks"),Le=Ie.Symbol,nt=Le&&Le.for,dt=Ee?Le:Le&&Le.withoutSetter||le;$e.exports=function(Ge){if(!ge(xe,Ge)||!(ae||typeof xe[Ge]=="string")){var Ct="Symbol."+Ge;ae&&ge(Le,Ge)?xe[Ge]=Le[Ge]:Ee&&nt?xe[Ge]=nt(Ct):xe[Ge]=dt(Ct)}return xe[Ge]}}),os=t((Ke,$e)=>{var Ie=l(),Ze=Ve(),ge=yr(),le=zn(),ae=Gn(),Ee=Ui(),xe=TypeError,Le=Ee("toPrimitive");$e.exports=function(nt,dt){if(!Ze(nt)||ge(nt))return nt;var Ge=le(nt,Le),Ct;if(Ge){if(dt===void 0&&(dt="default"),Ct=Ie(Ge,nt,dt),!Ze(Ct)||ge(Ct))return Ct;throw xe("Can't convert object to primitive value")}return dt===void 0&&(dt="number"),ae(nt,dt)}}),ds=t((Ke,$e)=>{var Ie=os(),Ze=yr();$e.exports=function(ge){var le=Ie(ge,"string");return Ze(le)?le:le+""}}),us=t((Ke,$e)=>{var Ie=n(),Ze=Ve(),ge=Ie.document,le=Ze(ge)&&Ze(ge.createElement);$e.exports=function(ae){return le?ge.createElement(ae):{}}}),Xs=t((Ke,$e)=>{var Ie=s(),Ze=i(),ge=us();$e.exports=!Ie&&!Ze(function(){return Object.defineProperty(ge("div"),"a",{get:function(){return 7}}).a!=7})}),Ts=t(Ke=>{var $e=s(),Ie=l(),Ze=p(),ge=m(),le=be(),ae=ds(),Ee=Bn(),xe=Xs(),Le=Object.getOwnPropertyDescriptor;Ke.f=$e?Le:function(nt,dt){if(nt=le(nt),dt=ae(dt),xe)try{return Le(nt,dt)}catch{}if(Ee(nt,dt))return ge(!Ie(Ze.f,nt,dt),nt[dt])}}),Sr=t((Ke,$e)=>{var Ie=s(),Ze=i();$e.exports=Ie&&Ze(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),cn=t((Ke,$e)=>{var Ie=Ve(),Ze=String,ge=TypeError;$e.exports=function(le){if(Ie(le))return le;throw ge(Ze(le)+" is not an object")}}),zr=t(Ke=>{var $e=s(),Ie=Xs(),Ze=Sr(),ge=cn(),le=ds(),ae=TypeError,Ee=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,Le="enumerable",nt="configurable",dt="writable";Ke.f=$e?Ze?function(Ge,Ct,or){if(ge(Ge),Ct=le(Ct),ge(or),typeof Ge=="function"&&Ct==="prototype"&&"value"in or&&dt in or&&!or[dt]){var er=xe(Ge,Ct);er&&er[dt]&&(Ge[Ct]=or.value,or={configurable:nt in or?or[nt]:er[nt],enumerable:Le in or?or[Le]:er[Le],writable:!1})}return Ee(Ge,Ct,or)}:Ee:function(Ge,Ct,or){if(ge(Ge),Ct=le(Ct),ge(or),Ie)try{return Ee(Ge,Ct,or)}catch{}if("get"in or||"set"in or)throw ae("Accessors not supported");return"value"in or&&(Ge[Ct]=or.value),Ge}}),In=t((Ke,$e)=>{var Ie=s(),Ze=zr(),ge=m();$e.exports=Ie?function(le,ae,Ee){return Ze.f(le,ae,ge(1,Ee))}:function(le,ae,Ee){return le[ae]=Ee,le}}),Ki=t((Ke,$e)=>{var Ie=s(),Ze=Bn(),ge=Function.prototype,le=Ie&&Object.getOwnPropertyDescriptor,ae=Ze(ge,"name"),Ee=ae&&(function(){}).name==="something",xe=ae&&(!Ie||Ie&&le(ge,"name").configurable);$e.exports={EXISTS:ae,PROPER:Ee,CONFIGURABLE:xe}}),tt=t((Ke,$e)=>{var Ie=g(),Ze=me(),ge=Sn(),le=Ie(Function.toString);Ze(ge.inspectSource)||(ge.inspectSource=function(ae){return le(ae)}),$e.exports=ge.inspectSource}),gt=t((Ke,$e)=>{var Ie=n(),Ze=me(),ge=Ie.WeakMap;$e.exports=Ze(ge)&&/native code/.test(String(ge))}),Zt=t((Ke,$e)=>{var Ie=Wn(),Ze=$i(),ge=Ie("keys");$e.exports=function(le){return ge[le]||(ge[le]=Ze(le))}}),dr=t((Ke,$e)=>{$e.exports={}}),Fr=t((Ke,$e)=>{var Ie=gt(),Ze=n(),ge=Ve(),le=In(),ae=Bn(),Ee=Sn(),xe=Zt(),Le=dr(),nt="Object already initialized",dt=Ze.TypeError,Ge=Ze.WeakMap,Ct,or,er,Or=function(mn){return er(mn)?or(mn):Ct(mn,{})},Cr=function(mn){return function(ui){var Oi;if(!ge(ui)||(Oi=or(ui)).type!==mn)throw dt("Incompatible receiver, "+mn+" required");return Oi}};Ie||Ee.state?(Oe=Ee.state||(Ee.state=new Ge),Oe.get=Oe.get,Oe.has=Oe.has,Oe.set=Oe.set,Ct=function(mn,ui){if(Oe.has(mn))throw dt(nt);return ui.facade=mn,Oe.set(mn,ui),ui},or=function(mn){return Oe.get(mn)||{}},er=function(mn){return Oe.has(mn)}):(pn=xe("state"),Le[pn]=!0,Ct=function(mn,ui){if(ae(mn,pn))throw dt(nt);return ui.facade=mn,le(mn,pn,ui),ui},or=function(mn){return ae(mn,pn)?mn[pn]:{}},er=function(mn){return ae(mn,pn)});var Oe,pn;$e.exports={set:Ct,get:or,has:er,enforce:Or,getterFor:Cr}}),Lr=t((Ke,$e)=>{var Ie=i(),Ze=me(),ge=Bn(),le=s(),ae=Ki().CONFIGURABLE,Ee=tt(),xe=Fr(),Le=xe.enforce,nt=xe.get,dt=Object.defineProperty,Ge=le&&!Ie(function(){return dt(function(){},"length",{value:8}).length!==8}),Ct=String(String).split("String"),or=$e.exports=function(er,Or,Cr){String(Or).slice(0,7)==="Symbol("&&(Or="["+String(Or).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Cr&&Cr.getter&&(Or="get "+Or),Cr&&Cr.setter&&(Or="set "+Or),(!ge(er,"name")||ae&&er.name!==Or)&&(le?dt(er,"name",{value:Or,configurable:!0}):er.name=Or),Ge&&Cr&&ge(Cr,"arity")&&er.length!==Cr.arity&&dt(er,"length",{value:Cr.arity});try{Cr&&ge(Cr,"constructor")&&Cr.constructor?le&&dt(er,"prototype",{writable:!1}):er.prototype&&(er.prototype=void 0)}catch{}var Oe=Le(er);return ge(Oe,"source")||(Oe.source=Ct.join(typeof Or=="string"?Or:"")),er};Function.prototype.toString=or(function(){return Ze(this)&&nt(this).source||Ee(this)},"toString")}),yn=t((Ke,$e)=>{var Ie=me(),Ze=zr(),ge=Lr(),le=ii();$e.exports=function(ae,Ee,xe,Le){Le||(Le={});var nt=Le.enumerable,dt=Le.name!==void 0?Le.name:Ee;if(Ie(xe)&&ge(xe,dt,Le),Le.global)nt?ae[Ee]=xe:le(Ee,xe);else{try{Le.unsafe?ae[Ee]&&(nt=!0):delete ae[Ee]}catch{}nt?ae[Ee]=xe:Ze.f(ae,Ee,{value:xe,enumerable:!1,configurable:!Le.nonConfigurable,writable:!Le.nonWritable})}return ae}}),Jr=t((Ke,$e)=>{var Ie=Math.ceil,Ze=Math.floor;$e.exports=Math.trunc||function(ge){var le=+ge;return(le>0?Ze:Ie)(le)}}),on=t((Ke,$e)=>{var Ie=Jr();$e.exports=function(Ze){var ge=+Ze;return ge!==ge||ge===0?0:Ie(ge)}}),Xr=t((Ke,$e)=>{var Ie=on(),Ze=Math.max,ge=Math.min;$e.exports=function(le,ae){var Ee=Ie(le);return Ee<0?Ze(Ee+ae,0):ge(Ee,ae)}}),ei=t((Ke,$e)=>{var Ie=on(),Ze=Math.min;$e.exports=function(ge){return ge>0?Ze(Ie(ge),9007199254740991):0}}),xn=t((Ke,$e)=>{var Ie=ei();$e.exports=function(Ze){return Ie(Ze.length)}}),ti=t((Ke,$e)=>{var Ie=be(),Ze=Xr(),ge=xn(),le=function(ae){return function(Ee,xe,Le){var nt=Ie(Ee),dt=ge(nt),Ge=Ze(Le,dt),Ct;if(ae&&xe!=xe){for(;dt>Ge;)if(Ct=nt[Ge++],Ct!=Ct)return!0}else for(;dt>Ge;Ge++)if((ae||Ge in nt)&&nt[Ge]===xe)return ae||Ge||0;return!ae&&-1}};$e.exports={includes:le(!0),indexOf:le(!1)}}),Ai=t((Ke,$e)=>{var Ie=g(),Ze=Bn(),ge=be(),le=ti().indexOf,ae=dr(),Ee=Ie([].push);$e.exports=function(xe,Le){var nt=ge(xe),dt=0,Ge=[],Ct;for(Ct in nt)!Ze(ae,Ct)&&Ze(nt,Ct)&&Ee(Ge,Ct);for(;Le.length>dt;)Ze(nt,Ct=Le[dt++])&&(~le(Ge,Ct)||Ee(Ge,Ct));return Ge}}),ji=t((Ke,$e)=>{$e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),ls=t(Ke=>{var $e=Ai(),Ie=ji(),Ze=Ie.concat("length","prototype");Ke.f=Object.getOwnPropertyNames||function(ge){return $e(ge,Ze)}}),is=t(Ke=>{Ke.f=Object.getOwnPropertySymbols}),Ps=t((Ke,$e)=>{var Ie=Dt(),Ze=g(),ge=ls(),le=is(),ae=cn(),Ee=Ze([].concat);$e.exports=Ie("Reflect","ownKeys")||function(xe){var Le=ge.f(ae(xe)),nt=le.f;return nt?Ee(Le,nt(xe)):Le}}),Co=t((Ke,$e)=>{var Ie=Bn(),Ze=Ps(),ge=Ts(),le=zr();$e.exports=function(ae,Ee,xe){for(var Le=Ze(Ee),nt=le.f,dt=ge.f,Ge=0;Ge<Le.length;Ge++){var Ct=Le[Ge];!Ie(ae,Ct)&&!(xe&&Ie(xe,Ct))&&nt(ae,Ct,dt(Ee,Ct))}}}),ya=t((Ke,$e)=>{var Ie=i(),Ze=me(),ge=/#|\.prototype\./,le=function(nt,dt){var Ge=Ee[ae(nt)];return Ge==Le?!0:Ge==xe?!1:Ze(dt)?Ie(dt):!!dt},ae=le.normalize=function(nt){return String(nt).replace(ge,".").toLowerCase()},Ee=le.data={},xe=le.NATIVE="N",Le=le.POLYFILL="P";$e.exports=le}),Go=t((Ke,$e)=>{var Ie=n(),Ze=Ts().f,ge=In(),le=yn(),ae=ii(),Ee=Co(),xe=ya();$e.exports=function(Le,nt){var dt=Le.target,Ge=Le.global,Ct=Le.stat,or,er,Or,Cr,Oe,pn;if(Ge?er=Ie:Ct?er=Ie[dt]||ae(dt,{}):er=(Ie[dt]||{}).prototype,er)for(Or in nt){if(Oe=nt[Or],Le.dontCallGetSet?(pn=Ze(er,Or),Cr=pn&&pn.value):Cr=er[Or],or=xe(Ge?Or:dt+(Ct?".":"#")+Or,Le.forced),!or&&Cr!==void 0){if(typeof Oe==typeof Cr)continue;Ee(Oe,Cr)}(Le.sham||Cr&&Cr.sham)&&ge(Oe,"sham",!0),le(er,Or,Oe,Le)}}}),Da=t(()=>{var Ke=Go(),$e=n();Ke({global:!0,forced:$e.globalThis!==$e},{globalThis:$e})}),Fu=t(()=>{Da()}),so=t((Ke,$e)=>{var Ie=b();$e.exports=Array.isArray||function(Ze){return Ie(Ze)=="Array"}}),Hr=t((Ke,$e)=>{var Ie=TypeError,Ze=9007199254740991;$e.exports=function(ge){if(ge>Ze)throw Ie("Maximum allowed index exceeded");return ge}}),Kt=t((Ke,$e)=>{var Ie=b(),Ze=g();$e.exports=function(ge){if(Ie(ge)==="Function")return Ze(ge)}}),Ht=t((Ke,$e)=>{var Ie=Kt(),Ze=Zr(),ge=a(),le=Ie(Ie.bind);$e.exports=function(ae,Ee){return Ze(ae),Ee===void 0?ae:ge?le(ae,Ee):function(){return ae.apply(Ee,arguments)}}}),lr=t((Ke,$e)=>{var Ie=so(),Ze=xn(),ge=Hr(),le=Ht(),ae=function(Ee,xe,Le,nt,dt,Ge,Ct,or){for(var er=dt,Or=0,Cr=Ct?le(Ct,or):!1,Oe,pn;Or<nt;)Or in Le&&(Oe=Cr?Cr(Le[Or],Or,xe):Le[Or],Ge>0&&Ie(Oe)?(pn=Ze(Oe),er=ae(Ee,xe,Oe,pn,er,Ge-1)-1):(ge(er+1),Ee[er]=Oe),er++),Or++;return er};$e.exports=ae}),cr=t((Ke,$e)=>{var Ie=Ui(),Ze=Ie("toStringTag"),ge={};ge[Ze]="z",$e.exports=String(ge)==="[object z]"}),vr=t((Ke,$e)=>{var Ie=cr(),Ze=me(),ge=b(),le=Ui(),ae=le("toStringTag"),Ee=Object,xe=ge(function(){return arguments}())=="Arguments",Le=function(nt,dt){try{return nt[dt]}catch{}};$e.exports=Ie?ge:function(nt){var dt,Ge,Ct;return nt===void 0?"Undefined":nt===null?"Null":typeof(Ge=Le(dt=Ee(nt),ae))=="string"?Ge:xe?ge(dt):(Ct=ge(dt))=="Object"&&Ze(dt.callee)?"Arguments":Ct}}),Kr=t((Ke,$e)=>{var Ie=g(),Ze=i(),ge=me(),le=vr(),ae=Dt(),Ee=tt(),xe=function(){},Le=[],nt=ae("Reflect","construct"),dt=/^\s*(?:class|function)\b/,Ge=Ie(dt.exec),Ct=!dt.exec(xe),or=function(Or){if(!ge(Or))return!1;try{return nt(xe,Le,Or),!0}catch{return!1}},er=function(Or){if(!ge(Or))return!1;switch(le(Or)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ct||!!Ge(dt,Ee(Or))}catch{return!0}};er.sham=!0,$e.exports=!nt||Ze(function(){var Or;return or(or.call)||!or(Object)||!or(function(){Or=!0})||Or})?er:or}),Rt=t((Ke,$e)=>{var Ie=so(),Ze=Kr(),ge=Ve(),le=Ui(),ae=le("species"),Ee=Array;$e.exports=function(xe){var Le;return Ie(xe)&&(Le=xe.constructor,Ze(Le)&&(Le===Ee||Ie(Le.prototype))?Le=void 0:ge(Le)&&(Le=Le[ae],Le===null&&(Le=void 0))),Le===void 0?Ee:Le}}),En=t((Ke,$e)=>{var Ie=Rt();$e.exports=function(Ze,ge){return new(Ie(Ze))(ge===0?0:ge)}}),$n=t(()=>{var Ke=Go(),$e=lr(),Ie=Zr(),Ze=jn(),ge=xn(),le=En();Ke({target:"Array",proto:!0},{flatMap:function(ae){var Ee=Ze(this),xe=ge(Ee),Le;return Ie(ae),Le=le(Ee,0),Le.length=$e(Le,Ee,Ee,xe,0,1,ae,arguments.length>1?arguments[1]:void 0),Le}})}),Hn=t((Ke,$e)=>{$e.exports={}}),qt=t((Ke,$e)=>{var Ie=Ui(),Ze=Hn(),ge=Ie("iterator"),le=Array.prototype;$e.exports=function(ae){return ae!==void 0&&(Ze.Array===ae||le[ge]===ae)}}),ai=t((Ke,$e)=>{var Ie=vr(),Ze=zn(),ge=$(),le=Hn(),ae=Ui(),Ee=ae("iterator");$e.exports=function(xe){if(!ge(xe))return Ze(xe,Ee)||Ze(xe,"@@iterator")||le[Ie(xe)]}}),mi=t((Ke,$e)=>{var Ie=l(),Ze=Zr(),ge=cn(),le=kr(),ae=ai(),Ee=TypeError;$e.exports=function(xe,Le){var nt=arguments.length<2?ae(xe):Le;if(Ze(nt))return ge(Ie(nt,xe));throw Ee(le(xe)+" is not iterable")}}),Dr=t((Ke,$e)=>{var Ie=l(),Ze=cn(),ge=zn();$e.exports=function(le,ae,Ee){var xe,Le;Ze(le);try{if(xe=ge(le,"return"),!xe){if(ae==="throw")throw Ee;return Ee}xe=Ie(xe,le)}catch(nt){Le=!0,xe=nt}if(ae==="throw")throw Ee;if(Le)throw xe;return Ze(xe),Ee}}),xt=t((Ke,$e)=>{var Ie=Ht(),Ze=l(),ge=cn(),le=kr(),ae=qt(),Ee=xn(),xe=ht(),Le=mi(),nt=ai(),dt=Dr(),Ge=TypeError,Ct=function(er,Or){this.stopped=er,this.result=Or},or=Ct.prototype;$e.exports=function(er,Or,Cr){var Oe=Cr&&Cr.that,pn=!!(Cr&&Cr.AS_ENTRIES),mn=!!(Cr&&Cr.IS_RECORD),ui=!!(Cr&&Cr.IS_ITERATOR),Oi=!!(Cr&&Cr.INTERRUPTED),Yi=Ie(Or,Oe),Ye,Es,ko,Ho,vs,fo,Cs,Jo=function(Ks){return Ye&&dt(Ye,"normal",Ks),new Ct(!0,Ks)},ao=function(Ks){return pn?(ge(Ks),Oi?Yi(Ks[0],Ks[1],Jo):Yi(Ks[0],Ks[1])):Oi?Yi(Ks,Jo):Yi(Ks)};if(mn)Ye=er.iterator;else if(ui)Ye=er;else{if(Es=nt(er),!Es)throw Ge(le(er)+" is not iterable");if(ae(Es)){for(ko=0,Ho=Ee(er);Ho>ko;ko++)if(vs=ao(er[ko]),vs&&xe(or,vs))return vs;return new Ct(!1)}Ye=Le(er,Es)}for(fo=mn?er.next:Ye.next;!(Cs=Ze(fo,Ye)).done;){try{vs=ao(Cs.value)}catch(Ks){dt(Ye,"throw",Ks)}if(typeof vs=="object"&&vs&&xe(or,vs))return vs}return new Ct(!1)}}),Ot=t((Ke,$e)=>{var Ie=ds(),Ze=zr(),ge=m();$e.exports=function(le,ae,Ee){var xe=Ie(ae);xe in le?Ze.f(le,xe,ge(0,Ee)):le[xe]=Ee}}),At=t(()=>{var Ke=Go(),$e=xt(),Ie=Ot();Ke({target:"Object",stat:!0},{fromEntries:function(Ze){var ge={};return $e(Ze,function(le,ae){Ie(ge,le,ae)},{AS_ENTRIES:!0}),ge}})}),vt=t((Ke,$e)=>{var Ie=["cliName","cliCategory","cliDescription"];function Ze(te,Re){if(te==null)return{};var ot=ge(te,Re),at,Pt;if(Object.getOwnPropertySymbols){var qe=Object.getOwnPropertySymbols(te);for(Pt=0;Pt<qe.length;Pt++)at=qe[Pt],!(Re.indexOf(at)>=0)&&Object.prototype.propertyIsEnumerable.call(te,at)&&(ot[at]=te[at])}return ot}function ge(te,Re){if(te==null)return{};var ot={},at=Object.keys(te),Pt,qe;for(qe=0;qe<at.length;qe++)Pt=at[qe],!(Re.indexOf(Pt)>=0)&&(ot[Pt]=te[Pt]);return ot}Fu(),$n(),At();var le=Object.create,ae=Object.defineProperty,Ee=Object.getOwnPropertyDescriptor,xe=Object.getOwnPropertyNames,Le=Object.getPrototypeOf,nt=Object.prototype.hasOwnProperty,dt=(te,Re)=>function(){return te&&(Re=(0,te[xe(te)[0]])(te=0)),Re},Ge=(te,Re)=>function(){return Re||(0,te[xe(te)[0]])((Re={exports:{}}).exports,Re),Re.exports},Ct=(te,Re)=>{for(var ot in Re)ae(te,ot,{get:Re[ot],enumerable:!0})},or=(te,Re,ot,at)=>{if(Re&&typeof Re=="object"||typeof Re=="function")for(let Pt of xe(Re))!nt.call(te,Pt)&&Pt!==ot&&ae(te,Pt,{get:()=>Re[Pt],enumerable:!(at=Ee(Re,Pt))||at.enumerable});return te},er=(te,Re,ot)=>(ot=te!=null?le(Le(te)):{},or(Re||!te||!te.__esModule?ae(ot,"default",{value:te,enumerable:!0}):ot,te)),Or=te=>or(ae({},"__esModule",{value:!0}),te),Cr,Oe=dt({"<define:process>"(){Cr={env:{},argv:[]}}}),pn=Ge({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0}),te.$EOF=0,te.$BSPACE=8,te.$TAB=9,te.$LF=10,te.$VTAB=11,te.$FF=12,te.$CR=13,te.$SPACE=32,te.$BANG=33,te.$DQ=34,te.$HASH=35,te.$$=36,te.$PERCENT=37,te.$AMPERSAND=38,te.$SQ=39,te.$LPAREN=40,te.$RPAREN=41,te.$STAR=42,te.$PLUS=43,te.$COMMA=44,te.$MINUS=45,te.$PERIOD=46,te.$SLASH=47,te.$COLON=58,te.$SEMICOLON=59,te.$LT=60,te.$EQ=61,te.$GT=62,te.$QUESTION=63,te.$0=48,te.$7=55,te.$9=57,te.$A=65,te.$E=69,te.$F=70,te.$X=88,te.$Z=90,te.$LBRACKET=91,te.$BACKSLASH=92,te.$RBRACKET=93,te.$CARET=94,te.$_=95,te.$a=97,te.$b=98,te.$e=101,te.$f=102,te.$n=110,te.$r=114,te.$t=116,te.$u=117,te.$v=118,te.$x=120,te.$z=122,te.$LBRACE=123,te.$BAR=124,te.$RBRACE=125,te.$NBSP=160,te.$PIPE=124,te.$TILDA=126,te.$AT=64,te.$BT=96;function Re(Lt){return Lt>=te.$TAB&&Lt<=te.$SPACE||Lt==te.$NBSP}te.isWhitespace=Re;function ot(Lt){return te.$0<=Lt&&Lt<=te.$9}te.isDigit=ot;function at(Lt){return Lt>=te.$a&&Lt<=te.$z||Lt>=te.$A&&Lt<=te.$Z}te.isAsciiLetter=at;function Pt(Lt){return Lt>=te.$a&&Lt<=te.$f||Lt>=te.$A&&Lt<=te.$F||ot(Lt)}te.isAsciiHexDigit=Pt;function qe(Lt){return Lt===te.$LF||Lt===te.$CR}te.isNewLine=qe;function ut(Lt){return te.$0<=Lt&&Lt<=te.$7}te.isOctalDigit=ut}}),mn=Ge({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=class{constructor(at,Pt,qe){this.filePath=at,this.name=Pt,this.members=qe}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};te.StaticSymbol=Re;var ot=class{constructor(){this.cache=new Map}get(at,Pt,qe){qe=qe||[];let ut=qe.length?`.${qe.join(".")}`:"",Lt=`"${at}".${Pt}${ut}`,Gt=this.cache.get(Lt);return Gt||(Gt=new Re(at,Pt,qe),this.cache.set(Lt,Gt)),Gt}};te.StaticSymbolCache=ot}}),ui=Ge({"node_modules/angular-html-parser/lib/compiler/src/util.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=/-+([a-z0-9])/g;function ot(st){return st.replace(Re,function(){for(var sr=arguments.length,Xt=new Array(sr),Ir=0;Ir<sr;Ir++)Xt[Ir]=arguments[Ir];return Xt[1].toUpperCase()})}te.dashCaseToCamelCase=ot;function at(st,sr){return qe(st,":",sr)}te.splitAtColon=at;function Pt(st,sr){return qe(st,".",sr)}te.splitAtPeriod=Pt;function qe(st,sr,Xt){let Ir=st.indexOf(sr);return Ir==-1?Xt:[st.slice(0,Ir).trim(),st.slice(Ir+1).trim()]}function ut(st,sr,Xt){return Array.isArray(st)?sr.visitArray(st,Xt):jr(st)?sr.visitStringMap(st,Xt):st==null||typeof st=="string"||typeof st=="number"||typeof st=="boolean"?sr.visitPrimitive(st,Xt):sr.visitOther(st,Xt)}te.visitValue=ut;function Lt(st){return st!=null}te.isDefined=Lt;function Gt(st){return st===void 0?null:st}te.noUndefined=Gt;var tn=class{visitArray(st,sr){return st.map(Xt=>ut(Xt,this,sr))}visitStringMap(st,sr){let Xt={};return Object.keys(st).forEach(Ir=>{Xt[Ir]=ut(st[Ir],this,sr)}),Xt}visitPrimitive(st,sr){return st}visitOther(st,sr){return st}};te.ValueTransformer=tn,te.SyncAsync={assertSync:st=>{if(Er(st))throw new Error("Illegal state: value cannot be a promise");return st},then:(st,sr)=>Er(st)?st.then(sr):sr(st),all:st=>st.some(Er)?Promise.all(st):st};function it(st){throw new Error(`Internal Error: ${st}`)}te.error=it;function wt(st,sr){let Xt=Error(st);return Xt[Vt]=!0,sr&&(Xt[ar]=sr),Xt}te.syntaxError=wt;var Vt="ngSyntaxError",ar="ngParseErrors";function tr(st){return st[Vt]}te.isSyntaxError=tr;function fr(st){return st[ar]||[]}te.getParseErrors=fr;function rn(st){return st.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}te.escapeRegExp=rn;var Mn=Object.getPrototypeOf({});function jr(st){return typeof st=="object"&&st!==null&&Object.getPrototypeOf(st)===Mn}function Nn(st){let sr="";for(let Xt=0;Xt<st.length;Xt++){let Ir=st.charCodeAt(Xt);if(Ir>=55296&&Ir<=56319&&st.length>Xt+1){let Ci=st.charCodeAt(Xt+1);Ci>=56320&&Ci<=57343&&(Xt++,Ir=(Ir-55296<<10)+Ci-56320+65536)}Ir<=127?sr+=String.fromCharCode(Ir):Ir<=2047?sr+=String.fromCharCode(Ir>>6&31|192,Ir&63|128):Ir<=65535?sr+=String.fromCharCode(Ir>>12|224,Ir>>6&63|128,Ir&63|128):Ir<=2097151&&(sr+=String.fromCharCode(Ir>>18&7|240,Ir>>12&63|128,Ir>>6&63|128,Ir&63|128))}return sr}te.utf8Encode=Nn;function ri(st){if(typeof st=="string")return st;if(st instanceof Array)return"["+st.map(ri).join(", ")+"]";if(st==null)return""+st;if(st.overriddenName)return`${st.overriddenName}`;if(st.name)return`${st.name}`;if(!st.toString)return"object";let sr=st.toString();if(sr==null)return""+sr;let Xt=sr.indexOf(`
|
||
`);return Xt===-1?sr:sr.substring(0,Xt)}te.stringify=ri;function ts(st){return typeof st=="function"&&st.hasOwnProperty("__forward_ref__")?st():st}te.resolveForwardRef=ts;function Er(st){return!!st&&typeof st.then=="function"}te.isPromise=Er;var Zn=class{constructor(st){this.full=st;let sr=st.split(".");this.major=sr[0],this.minor=sr[1],this.patch=sr.slice(2).join(".")}};te.Version=Zn;var Jn=typeof window<"u"&&window,xi=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Ei=typeof globalThis<"u"&&globalThis,Me=Ei||Jn||xi;te.global=Me}}),Oi=Ge({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=mn(),ot=ui(),at=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Pt(Xt){return Xt.replace(/\W/g,"_")}te.sanitizeIdentifier=Pt;var qe=0;function ut(Xt){if(!Xt||!Xt.reference)return null;let Ir=Xt.reference;if(Ir instanceof Re.StaticSymbol)return Ir.name;if(Ir.__anonymousType)return Ir.__anonymousType;let Ci=ot.stringify(Ir);return Ci.indexOf("(")>=0?(Ci=`anonymous_${qe++}`,Ir.__anonymousType=Ci):Ci=Pt(Ci),Ci}te.identifierName=ut;function Lt(Xt){let Ir=Xt.reference;return Ir instanceof Re.StaticSymbol?Ir.filePath:`./${ot.stringify(Ir)}`}te.identifierModuleUrl=Lt;function Gt(Xt,Ir){return`View_${ut({reference:Xt})}_${Ir}`}te.viewClassName=Gt;function tn(Xt){return`RenderType_${ut({reference:Xt})}`}te.rendererTypeName=tn;function it(Xt){return`HostView_${ut({reference:Xt})}`}te.hostViewClassName=it;function wt(Xt){return`${ut({reference:Xt})}NgFactory`}te.componentFactoryName=wt;var Vt;(function(Xt){Xt[Xt.Pipe=0]="Pipe",Xt[Xt.Directive=1]="Directive",Xt[Xt.NgModule=2]="NgModule",Xt[Xt.Injectable=3]="Injectable"})(Vt=te.CompileSummaryKind||(te.CompileSummaryKind={}));function ar(Xt){return Xt.value!=null?Pt(Xt.value):ut(Xt.identifier)}te.tokenName=ar;function tr(Xt){return Xt.identifier!=null?Xt.identifier.reference:Xt.value}te.tokenReference=tr;var fr=class{constructor(){let{moduleUrl:Xt,styles:Ir,styleUrls:Ci}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Xt||null,this.styles=Er(Ir),this.styleUrls=Er(Ci)}};te.CompileStylesheetMetadata=fr;var rn=class{constructor(Xt){let{encapsulation:Ir,template:Ci,templateUrl:Ji,htmlAst:to,styles:Is,styleUrls:yo,externalStylesheets:Do,animations:_o,ngContentSelectors:$o,interpolation:zi,isInline:Qe,preserveWhitespaces:an}=Xt;if(this.encapsulation=Ir,this.template=Ci,this.templateUrl=Ji,this.htmlAst=to,this.styles=Er(Is),this.styleUrls=Er(yo),this.externalStylesheets=Er(Do),this.animations=_o?Jn(_o):[],this.ngContentSelectors=$o||[],zi&&zi.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=zi,this.isInline=Qe,this.preserveWhitespaces=an}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};te.CompileTemplateMetadata=rn;var Mn=class{static create(Xt){let{isHost:Ir,type:Ci,isComponent:Ji,selector:to,exportAs:Is,changeDetection:yo,inputs:Do,outputs:_o,host:$o,providers:zi,viewProviders:Qe,queries:an,guards:Fn,viewQueries:Cn,entryComponents:yi,template:rs,componentViewType:cs,rendererType:Wi,componentFactory:Eo}=Xt,Za={},uu={},lu={};$o!=null&&Object.keys($o).forEach(Ms=>{let ta=$o[Ms],Ia=Ms.match(at);Ia===null?lu[Ms]=ta:Ia[1]!=null?uu[Ia[1]]=ta:Ia[2]!=null&&(Za[Ia[2]]=ta)});let jo={};Do!=null&&Do.forEach(Ms=>{let ta=ot.splitAtColon(Ms,[Ms,Ms]);jo[ta[0]]=ta[1]});let ba={};return _o!=null&&_o.forEach(Ms=>{let ta=ot.splitAtColon(Ms,[Ms,Ms]);ba[ta[0]]=ta[1]}),new Mn({isHost:Ir,type:Ci,isComponent:!!Ji,selector:to,exportAs:Is,changeDetection:yo,inputs:jo,outputs:ba,hostListeners:Za,hostProperties:uu,hostAttributes:lu,providers:zi,viewProviders:Qe,queries:an,guards:Fn,viewQueries:Cn,entryComponents:yi,template:rs,componentViewType:cs,rendererType:Wi,componentFactory:Eo})}constructor(Xt){let{isHost:Ir,type:Ci,isComponent:Ji,selector:to,exportAs:Is,changeDetection:yo,inputs:Do,outputs:_o,hostListeners:$o,hostProperties:zi,hostAttributes:Qe,providers:an,viewProviders:Fn,queries:Cn,guards:yi,viewQueries:rs,entryComponents:cs,template:Wi,componentViewType:Eo,rendererType:Za,componentFactory:uu}=Xt;this.isHost=!!Ir,this.type=Ci,this.isComponent=Ji,this.selector=to,this.exportAs=Is,this.changeDetection=yo,this.inputs=Do,this.outputs=_o,this.hostListeners=$o,this.hostProperties=zi,this.hostAttributes=Qe,this.providers=Er(an),this.viewProviders=Er(Fn),this.queries=Er(Cn),this.guards=yi,this.viewQueries=Er(rs),this.entryComponents=Er(cs),this.template=Wi,this.componentViewType=Eo,this.rendererType=Za,this.componentFactory=uu}toSummary(){return{summaryKind:Vt.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};te.CompileDirectiveMetadata=Mn;var jr=class{constructor(Xt){let{type:Ir,name:Ci,pure:Ji}=Xt;this.type=Ir,this.name=Ci,this.pure=!!Ji}toSummary(){return{summaryKind:Vt.Pipe,type:this.type,name:this.name,pure:this.pure}}};te.CompilePipeMetadata=jr;var Nn=class{};te.CompileShallowModuleMetadata=Nn;var ri=class{constructor(Xt){let{type:Ir,providers:Ci,declaredDirectives:Ji,exportedDirectives:to,declaredPipes:Is,exportedPipes:yo,entryComponents:Do,bootstrapComponents:_o,importedModules:$o,exportedModules:zi,schemas:Qe,transitiveModule:an,id:Fn}=Xt;this.type=Ir||null,this.declaredDirectives=Er(Ji),this.exportedDirectives=Er(to),this.declaredPipes=Er(Is),this.exportedPipes=Er(yo),this.providers=Er(Ci),this.entryComponents=Er(Do),this.bootstrapComponents=Er(_o),this.importedModules=Er($o),this.exportedModules=Er(zi),this.schemas=Er(Qe),this.id=Fn||null,this.transitiveModule=an||null}toSummary(){let Xt=this.transitiveModule;return{summaryKind:Vt.NgModule,type:this.type,entryComponents:Xt.entryComponents,providers:Xt.providers,modules:Xt.modules,exportedDirectives:Xt.exportedDirectives,exportedPipes:Xt.exportedPipes}}};te.CompileNgModuleMetadata=ri;var ts=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(Xt,Ir){this.providers.push({provider:Xt,module:Ir})}addDirective(Xt){this.directivesSet.has(Xt.reference)||(this.directivesSet.add(Xt.reference),this.directives.push(Xt))}addExportedDirective(Xt){this.exportedDirectivesSet.has(Xt.reference)||(this.exportedDirectivesSet.add(Xt.reference),this.exportedDirectives.push(Xt))}addPipe(Xt){this.pipesSet.has(Xt.reference)||(this.pipesSet.add(Xt.reference),this.pipes.push(Xt))}addExportedPipe(Xt){this.exportedPipesSet.has(Xt.reference)||(this.exportedPipesSet.add(Xt.reference),this.exportedPipes.push(Xt))}addModule(Xt){this.modulesSet.has(Xt.reference)||(this.modulesSet.add(Xt.reference),this.modules.push(Xt))}addEntryComponent(Xt){this.entryComponentsSet.has(Xt.componentType)||(this.entryComponentsSet.add(Xt.componentType),this.entryComponents.push(Xt))}};te.TransitiveCompileNgModuleMetadata=ts;function Er(Xt){return Xt||[]}var Zn=class{constructor(Xt,Ir){let{useClass:Ci,useValue:Ji,useExisting:to,useFactory:Is,deps:yo,multi:Do}=Ir;this.token=Xt,this.useClass=Ci||null,this.useValue=Ji,this.useExisting=to,this.useFactory=Is||null,this.dependencies=yo||null,this.multi=!!Do}};te.ProviderMeta=Zn;function Jn(Xt){return Xt.reduce((Ir,Ci)=>{let Ji=Array.isArray(Ci)?Jn(Ci):Ci;return Ir.concat(Ji)},[])}te.flatten=Jn;function xi(Xt){return Xt.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Ei(Xt,Ir,Ci){let Ji;return Ci.isInline?Ir.type.reference instanceof Re.StaticSymbol?Ji=`${Ir.type.reference.filePath}.${Ir.type.reference.name}.html`:Ji=`${ut(Xt)}/${ut(Ir.type)}.html`:Ji=Ci.templateUrl,Ir.type.reference instanceof Re.StaticSymbol?Ji:xi(Ji)}te.templateSourceUrl=Ei;function Me(Xt,Ir){let Ci=Xt.moduleUrl.split(/\/\\/g),Ji=Ci[Ci.length-1];return xi(`css/${Ir}${Ji}.ngstyle.js`)}te.sharedStylesheetJitUrl=Me;function st(Xt){return xi(`${ut(Xt.type)}/module.ngfactory.js`)}te.ngModuleJitUrl=st;function sr(Xt,Ir){return xi(`${ut(Xt)}/${ut(Ir.type)}.ngfactory.js`)}te.templateJitUrl=sr}}),Yi=Ge({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=pn(),ot=Oi(),at=class{constructor(it,wt,Vt,ar){this.file=it,this.offset=wt,this.line=Vt,this.col=ar}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(it){let wt=this.file.content,Vt=wt.length,ar=this.offset,tr=this.line,fr=this.col;for(;ar>0&&it<0;)if(ar--,it++,wt.charCodeAt(ar)==Re.$LF){tr--;let rn=wt.substr(0,ar-1).lastIndexOf(String.fromCharCode(Re.$LF));fr=rn>0?ar-rn:ar}else fr--;for(;ar<Vt&&it>0;){let rn=wt.charCodeAt(ar);ar++,it--,rn==Re.$LF?(tr++,fr=0):fr++}return new at(this.file,ar,tr,fr)}getContext(it,wt){let Vt=this.file.content,ar=this.offset;if(ar!=null){ar>Vt.length-1&&(ar=Vt.length-1);let tr=ar,fr=0,rn=0;for(;fr<it&&ar>0&&(ar--,fr++,!(Vt[ar]==`
|
||
`&&++rn==wt)););for(fr=0,rn=0;fr<it&&tr<Vt.length-1&&(tr++,fr++,!(Vt[tr]==`
|
||
`&&++rn==wt)););return{before:Vt.substring(ar,this.offset),after:Vt.substring(this.offset,tr+1)}}return null}};te.ParseLocation=at;var Pt=class{constructor(it,wt){this.content=it,this.url=wt}};te.ParseSourceFile=Pt;var qe=class{constructor(it,wt){let Vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=it,this.end=wt,this.details=Vt}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};te.ParseSourceSpan=qe,te.EMPTY_PARSE_LOCATION=new at(new Pt("",""),0,0,0),te.EMPTY_SOURCE_SPAN=new qe(te.EMPTY_PARSE_LOCATION,te.EMPTY_PARSE_LOCATION);var ut;(function(it){it[it.WARNING=0]="WARNING",it[it.ERROR=1]="ERROR"})(ut=te.ParseErrorLevel||(te.ParseErrorLevel={}));var Lt=class{constructor(it,wt){let Vt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ut.ERROR;this.span=it,this.msg=wt,this.level=Vt}contextualMessage(){let it=this.span.start.getContext(100,3);return it?`${this.msg} ("${it.before}[${ut[this.level]} ->]${it.after}")`:this.msg}toString(){let it=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${it}`}};te.ParseError=Lt;function Gt(it,wt){let Vt=ot.identifierModuleUrl(wt),ar=Vt!=null?`in ${it} ${ot.identifierName(wt)} in ${Vt}`:`in ${it} ${ot.identifierName(wt)}`,tr=new Pt("",ar);return new qe(new at(tr,-1,-1,-1),new at(tr,-1,-1,-1))}te.typeSourceSpan=Gt;function tn(it,wt,Vt){let ar=`in ${it} ${wt} in ${Vt}`,tr=new Pt("",ar);return new qe(new at(tr,-1,-1,-1),new at(tr,-1,-1,-1))}te.r3JitTypeSourceSpan=tn}}),Ye=Ge({"src/utils/front-matter/parse.js"(te,Re){Oe();var ot=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function at(Pt){let qe=Pt.match(ot);if(!qe)return{content:Pt};let{startDelimiter:ut,language:Lt,value:Gt="",endDelimiter:tn}=qe.groups,it=Lt.trim()||"yaml";if(ut==="+++"&&(it="toml"),it!=="yaml"&&ut!==tn)return{content:Pt};let[wt]=qe;return{frontMatter:{type:"front-matter",lang:it,value:Gt,startDelimiter:ut,endDelimiter:tn,raw:wt.replace(/\n$/,"")},content:wt.replace(/[^\n]/g," ")+Pt.slice(wt.length)}}Re.exports=at}}),Es=Ge({"src/utils/get-last.js"(te,Re){Oe();var ot=at=>at[at.length-1];Re.exports=ot}}),ko=Ge({"src/common/parser-create-error.js"(te,Re){Oe();function ot(at,Pt){let qe=new SyntaxError(at+" ("+Pt.start.line+":"+Pt.start.column+")");return qe.loc=Pt,qe}Re.exports=ot}}),Ho={};Ct(Ho,{default:()=>vs});function vs(te){if(typeof te!="string")throw new TypeError("Expected a string");return te.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var fo=dt({"node_modules/escape-string-regexp/index.js"(){Oe()}}),Cs=Ge({"node_modules/semver/internal/debug.js"(te,Re){Oe();var ot=typeof Cr=="object"&&Cr.env&&Cr.env.NODE_DEBUG&&/\bsemver\b/i.test(Cr.env.NODE_DEBUG)?function(){for(var at=arguments.length,Pt=new Array(at),qe=0;qe<at;qe++)Pt[qe]=arguments[qe];return console.error("SEMVER",...Pt)}:()=>{};Re.exports=ot}}),Jo=Ge({"node_modules/semver/internal/constants.js"(te,Re){Oe();var ot="2.0.0",at=256,Pt=Number.MAX_SAFE_INTEGER||9007199254740991,qe=16;Re.exports={SEMVER_SPEC_VERSION:ot,MAX_LENGTH:at,MAX_SAFE_INTEGER:Pt,MAX_SAFE_COMPONENT_LENGTH:qe}}}),ao=Ge({"node_modules/semver/internal/re.js"(te,Re){Oe();var{MAX_SAFE_COMPONENT_LENGTH:ot}=Jo(),at=Cs();te=Re.exports={};var Pt=te.re=[],qe=te.src=[],ut=te.t={},Lt=0,Gt=(tn,it,wt)=>{let Vt=Lt++;at(tn,Vt,it),ut[tn]=Vt,qe[Vt]=it,Pt[Vt]=new RegExp(it,wt?"g":void 0)};Gt("NUMERICIDENTIFIER","0|[1-9]\\d*"),Gt("NUMERICIDENTIFIERLOOSE","[0-9]+"),Gt("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Gt("MAINVERSION",`(${qe[ut.NUMERICIDENTIFIER]})\\.(${qe[ut.NUMERICIDENTIFIER]})\\.(${qe[ut.NUMERICIDENTIFIER]})`),Gt("MAINVERSIONLOOSE",`(${qe[ut.NUMERICIDENTIFIERLOOSE]})\\.(${qe[ut.NUMERICIDENTIFIERLOOSE]})\\.(${qe[ut.NUMERICIDENTIFIERLOOSE]})`),Gt("PRERELEASEIDENTIFIER",`(?:${qe[ut.NUMERICIDENTIFIER]}|${qe[ut.NONNUMERICIDENTIFIER]})`),Gt("PRERELEASEIDENTIFIERLOOSE",`(?:${qe[ut.NUMERICIDENTIFIERLOOSE]}|${qe[ut.NONNUMERICIDENTIFIER]})`),Gt("PRERELEASE",`(?:-(${qe[ut.PRERELEASEIDENTIFIER]}(?:\\.${qe[ut.PRERELEASEIDENTIFIER]})*))`),Gt("PRERELEASELOOSE",`(?:-?(${qe[ut.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${qe[ut.PRERELEASEIDENTIFIERLOOSE]})*))`),Gt("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Gt("BUILD",`(?:\\+(${qe[ut.BUILDIDENTIFIER]}(?:\\.${qe[ut.BUILDIDENTIFIER]})*))`),Gt("FULLPLAIN",`v?${qe[ut.MAINVERSION]}${qe[ut.PRERELEASE]}?${qe[ut.BUILD]}?`),Gt("FULL",`^${qe[ut.FULLPLAIN]}$`),Gt("LOOSEPLAIN",`[v=\\s]*${qe[ut.MAINVERSIONLOOSE]}${qe[ut.PRERELEASELOOSE]}?${qe[ut.BUILD]}?`),Gt("LOOSE",`^${qe[ut.LOOSEPLAIN]}$`),Gt("GTLT","((?:<|>)?=?)"),Gt("XRANGEIDENTIFIERLOOSE",`${qe[ut.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Gt("XRANGEIDENTIFIER",`${qe[ut.NUMERICIDENTIFIER]}|x|X|\\*`),Gt("XRANGEPLAIN",`[v=\\s]*(${qe[ut.XRANGEIDENTIFIER]})(?:\\.(${qe[ut.XRANGEIDENTIFIER]})(?:\\.(${qe[ut.XRANGEIDENTIFIER]})(?:${qe[ut.PRERELEASE]})?${qe[ut.BUILD]}?)?)?`),Gt("XRANGEPLAINLOOSE",`[v=\\s]*(${qe[ut.XRANGEIDENTIFIERLOOSE]})(?:\\.(${qe[ut.XRANGEIDENTIFIERLOOSE]})(?:\\.(${qe[ut.XRANGEIDENTIFIERLOOSE]})(?:${qe[ut.PRERELEASELOOSE]})?${qe[ut.BUILD]}?)?)?`),Gt("XRANGE",`^${qe[ut.GTLT]}\\s*${qe[ut.XRANGEPLAIN]}$`),Gt("XRANGELOOSE",`^${qe[ut.GTLT]}\\s*${qe[ut.XRANGEPLAINLOOSE]}$`),Gt("COERCE",`(^|[^\\d])(\\d{1,${ot}})(?:\\.(\\d{1,${ot}}))?(?:\\.(\\d{1,${ot}}))?(?:$|[^\\d])`),Gt("COERCERTL",qe[ut.COERCE],!0),Gt("LONETILDE","(?:~>?)"),Gt("TILDETRIM",`(\\s*)${qe[ut.LONETILDE]}\\s+`,!0),te.tildeTrimReplace="$1~",Gt("TILDE",`^${qe[ut.LONETILDE]}${qe[ut.XRANGEPLAIN]}$`),Gt("TILDELOOSE",`^${qe[ut.LONETILDE]}${qe[ut.XRANGEPLAINLOOSE]}$`),Gt("LONECARET","(?:\\^)"),Gt("CARETTRIM",`(\\s*)${qe[ut.LONECARET]}\\s+`,!0),te.caretTrimReplace="$1^",Gt("CARET",`^${qe[ut.LONECARET]}${qe[ut.XRANGEPLAIN]}$`),Gt("CARETLOOSE",`^${qe[ut.LONECARET]}${qe[ut.XRANGEPLAINLOOSE]}$`),Gt("COMPARATORLOOSE",`^${qe[ut.GTLT]}\\s*(${qe[ut.LOOSEPLAIN]})$|^$`),Gt("COMPARATOR",`^${qe[ut.GTLT]}\\s*(${qe[ut.FULLPLAIN]})$|^$`),Gt("COMPARATORTRIM",`(\\s*)${qe[ut.GTLT]}\\s*(${qe[ut.LOOSEPLAIN]}|${qe[ut.XRANGEPLAIN]})`,!0),te.comparatorTrimReplace="$1$2$3",Gt("HYPHENRANGE",`^\\s*(${qe[ut.XRANGEPLAIN]})\\s+-\\s+(${qe[ut.XRANGEPLAIN]})\\s*$`),Gt("HYPHENRANGELOOSE",`^\\s*(${qe[ut.XRANGEPLAINLOOSE]})\\s+-\\s+(${qe[ut.XRANGEPLAINLOOSE]})\\s*$`),Gt("STAR","(<|>)?=?\\s*\\*"),Gt("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Gt("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Ks=Ge({"node_modules/semver/internal/parse-options.js"(te,Re){Oe();var ot=["includePrerelease","loose","rtl"],at=Pt=>Pt?typeof Pt!="object"?{loose:!0}:ot.filter(qe=>Pt[qe]).reduce((qe,ut)=>(qe[ut]=!0,qe),{}):{};Re.exports=at}}),_u=Ge({"node_modules/semver/internal/identifiers.js"(te,Re){Oe();var ot=/^[0-9]+$/,at=(qe,ut)=>{let Lt=ot.test(qe),Gt=ot.test(ut);return Lt&&Gt&&(qe=+qe,ut=+ut),qe===ut?0:Lt&&!Gt?-1:Gt&&!Lt?1:qe<ut?-1:1},Pt=(qe,ut)=>at(ut,qe);Re.exports={compareIdentifiers:at,rcompareIdentifiers:Pt}}}),So=Ge({"node_modules/semver/classes/semver.js"(te,Re){Oe();var ot=Cs(),{MAX_LENGTH:at,MAX_SAFE_INTEGER:Pt}=Jo(),{re:qe,t:ut}=ao(),Lt=Ks(),{compareIdentifiers:Gt}=_u(),tn=class{constructor(it,wt){if(wt=Lt(wt),it instanceof tn){if(it.loose===!!wt.loose&&it.includePrerelease===!!wt.includePrerelease)return it;it=it.version}else if(typeof it!="string")throw new TypeError(`Invalid Version: ${it}`);if(it.length>at)throw new TypeError(`version is longer than ${at} characters`);ot("SemVer",it,wt),this.options=wt,this.loose=!!wt.loose,this.includePrerelease=!!wt.includePrerelease;let Vt=it.trim().match(wt.loose?qe[ut.LOOSE]:qe[ut.FULL]);if(!Vt)throw new TypeError(`Invalid Version: ${it}`);if(this.raw=it,this.major=+Vt[1],this.minor=+Vt[2],this.patch=+Vt[3],this.major>Pt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Pt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Pt||this.patch<0)throw new TypeError("Invalid patch version");Vt[4]?this.prerelease=Vt[4].split(".").map(ar=>{if(/^[0-9]+$/.test(ar)){let tr=+ar;if(tr>=0&&tr<Pt)return tr}return ar}):this.prerelease=[],this.build=Vt[5]?Vt[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(it){if(ot("SemVer.compare",this.version,this.options,it),!(it instanceof tn)){if(typeof it=="string"&&it===this.version)return 0;it=new tn(it,this.options)}return it.version===this.version?0:this.compareMain(it)||this.comparePre(it)}compareMain(it){return it instanceof tn||(it=new tn(it,this.options)),Gt(this.major,it.major)||Gt(this.minor,it.minor)||Gt(this.patch,it.patch)}comparePre(it){if(it instanceof tn||(it=new tn(it,this.options)),this.prerelease.length&&!it.prerelease.length)return-1;if(!this.prerelease.length&&it.prerelease.length)return 1;if(!this.prerelease.length&&!it.prerelease.length)return 0;let wt=0;do{let Vt=this.prerelease[wt],ar=it.prerelease[wt];if(ot("prerelease compare",wt,Vt,ar),Vt===void 0&&ar===void 0)return 0;if(ar===void 0)return 1;if(Vt===void 0)return-1;if(Vt!==ar)return Gt(Vt,ar)}while(++wt)}compareBuild(it){it instanceof tn||(it=new tn(it,this.options));let wt=0;do{let Vt=this.build[wt],ar=it.build[wt];if(ot("prerelease compare",wt,Vt,ar),Vt===void 0&&ar===void 0)return 0;if(ar===void 0)return 1;if(Vt===void 0)return-1;if(Vt!==ar)return Gt(Vt,ar)}while(++wt)}inc(it,wt){switch(it){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",wt);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",wt);break;case"prepatch":this.prerelease.length=0,this.inc("patch",wt),this.inc("pre",wt);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",wt),this.inc("pre",wt);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let Vt=this.prerelease.length;for(;--Vt>=0;)typeof this.prerelease[Vt]=="number"&&(this.prerelease[Vt]++,Vt=-2);Vt===-1&&this.prerelease.push(0)}wt&&(Gt(this.prerelease[0],wt)===0?isNaN(this.prerelease[1])&&(this.prerelease=[wt,0]):this.prerelease=[wt,0]);break;default:throw new Error(`invalid increment argument: ${it}`)}return this.format(),this.raw=this.version,this}};Re.exports=tn}}),Ys=Ge({"node_modules/semver/functions/compare.js"(te,Re){Oe();var ot=So(),at=(Pt,qe,ut)=>new ot(Pt,ut).compare(new ot(qe,ut));Re.exports=at}}),mo=Ge({"node_modules/semver/functions/lt.js"(te,Re){Oe();var ot=Ys(),at=(Pt,qe,ut)=>ot(Pt,qe,ut)<0;Re.exports=at}}),wl=Ge({"node_modules/semver/functions/gte.js"(te,Re){Oe();var ot=Ys(),at=(Pt,qe,ut)=>ot(Pt,qe,ut)>=0;Re.exports=at}}),Al=Ge({"src/utils/arrayify.js"(te,Re){Oe(),Re.exports=(ot,at)=>Object.entries(ot).map(Pt=>{let[qe,ut]=Pt;return Object.assign({[at]:qe},ut)})}}),$u=Ge({"package.json"(te,Re){Re.exports={version:"2.8.8"}}}),Tl=Ge({"node_modules/outdent/lib/index.js"(te,Re){Oe(),Object.defineProperty(te,"__esModule",{value:!0}),te.outdent=void 0;function ot(){for(var jr=[],Nn=0;Nn<arguments.length;Nn++)jr[Nn]=arguments[Nn]}function at(){return typeof WeakMap<"u"?new WeakMap:Pt()}function Pt(){return{add:ot,delete:ot,get:ot,set:ot,has:function(jr){return!1}}}var qe=Object.prototype.hasOwnProperty,ut=function(jr,Nn){return qe.call(jr,Nn)};function Lt(jr,Nn){for(var ri in Nn)ut(Nn,ri)&&(jr[ri]=Nn[ri]);return jr}var Gt=/^[ \t]*(?:\r\n|\r|\n)/,tn=/(?:\r\n|\r|\n)[ \t]*$/,it=/^(?:[\r\n]|$)/,wt=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,Vt=/^[ \t]*[\r\n][ \t\r\n]*$/;function ar(jr,Nn,ri){var ts=0,Er=jr[0].match(wt);Er&&(ts=Er[1].length);var Zn="(\\r\\n|\\r|\\n).{0,"+ts+"}",Jn=new RegExp(Zn,"g");Nn&&(jr=jr.slice(1));var xi=ri.newline,Ei=ri.trimLeadingNewline,Me=ri.trimTrailingNewline,st=typeof xi=="string",sr=jr.length,Xt=jr.map(function(Ir,Ci){return Ir=Ir.replace(Jn,"$1"),Ci===0&&Ei&&(Ir=Ir.replace(Gt,"")),Ci===sr-1&&Me&&(Ir=Ir.replace(tn,"")),st&&(Ir=Ir.replace(/\r\n|\n|\r/g,function(Ji){return xi})),Ir});return Xt}function tr(jr,Nn){for(var ri="",ts=0,Er=jr.length;ts<Er;ts++)ri+=jr[ts],ts<Er-1&&(ri+=Nn[ts]);return ri}function fr(jr){return ut(jr,"raw")&&ut(jr,"length")}function rn(jr){var Nn=at(),ri=at();function ts(Zn){for(var Jn=[],xi=1;xi<arguments.length;xi++)Jn[xi-1]=arguments[xi];if(fr(Zn)){var Ei=Zn,Me=(Jn[0]===ts||Jn[0]===Mn)&&Vt.test(Ei[0])&&it.test(Ei[1]),st=Me?ri:Nn,sr=st.get(Ei);if(sr||(sr=ar(Ei,Me,jr),st.set(Ei,sr)),Jn.length===0)return sr[0];var Xt=tr(sr,Me?Jn.slice(1):Jn);return Xt}else return rn(Lt(Lt({},jr),Zn||{}))}var Er=Lt(ts,{string:function(Zn){return ar([Zn],!1,jr)[0]}});return Er}var Mn=rn({trimLeadingNewline:!0,trimTrailingNewline:!0});if(te.outdent=Mn,te.default=Mn,typeof Re<"u")try{Re.exports=Mn,Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.default=Mn,Mn.outdent=Mn}catch{}}}),su=Ge({"src/main/core-options.js"(te,Re){Oe();var{outdent:ot}=Tl(),at="Config",Pt="Editor",qe="Format",ut="Other",Lt="Output",Gt="Global",tn="Special",it={cursorOffset:{since:"1.4.0",category:tn,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:ot`
|
||
Print (to stderr) where a cursor at the given position would move to after formatting.
|
||
This option cannot be used with --range-start and --range-end.
|
||
`,cliCategory:Pt},endOfLine:{since:"1.15.0",category:Gt,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:ot`
|
||
Maintain existing
|
||
(mixed values within one file are normalised by looking at what's used after the first line)
|
||
`}]},filepath:{since:"1.4.0",category:tn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:ut,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:tn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:ut},parser:{since:"0.0.10",category:Gt,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:wt=>typeof wt=="string"||typeof wt=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Gt,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:wt=>typeof wt=="string"||typeof wt=="object",cliName:"plugin",cliCategory:at},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Gt,description:ot`
|
||
Custom directory that contains prettier plugins in node_modules subdirectory.
|
||
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
||
Multiple values are accepted.
|
||
`,exception:wt=>typeof wt=="string"||typeof wt=="object",cliName:"plugin-search-dir",cliCategory:at},printWidth:{since:"0.0.0",category:Gt,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:tn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ot`
|
||
Format code ending at a given character offset (exclusive).
|
||
The range will extend forwards to the end of the selected statement.
|
||
This option cannot be used with --cursor-offset.
|
||
`,cliCategory:Pt},rangeStart:{since:"1.4.0",category:tn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ot`
|
||
Format code starting at a given character offset.
|
||
The range will extend backwards to the start of the first line containing the selected statement.
|
||
This option cannot be used with --cursor-offset.
|
||
`,cliCategory:Pt},requirePragma:{since:"1.7.0",category:tn,type:"boolean",default:!1,description:ot`
|
||
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
||
in order for it to be formatted.
|
||
`,cliCategory:ut},tabWidth:{type:"int",category:Gt,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Gt,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Gt,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};Re.exports={CATEGORY_CONFIG:at,CATEGORY_EDITOR:Pt,CATEGORY_FORMAT:qe,CATEGORY_OTHER:ut,CATEGORY_OUTPUT:Lt,CATEGORY_GLOBAL:Gt,CATEGORY_SPECIAL:tn,options:it}}}),$a=Ge({"src/main/support.js"(te,Re){Oe();var ot={compare:Ys(),lt:mo(),gte:wl()},at=Al(),Pt=$u().version,qe=su().options;function ut(){let{plugins:Gt=[],showUnreleased:tn=!1,showDeprecated:it=!1,showInternal:wt=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Vt=Pt.split("-",1)[0],ar=Gt.flatMap(jr=>jr.languages||[]).filter(fr),tr=at(Object.assign({},...Gt.map(jr=>{let{options:Nn}=jr;return Nn}),qe),"name").filter(jr=>fr(jr)&&rn(jr)).sort((jr,Nn)=>jr.name===Nn.name?0:jr.name<Nn.name?-1:1).map(Mn).map(jr=>{jr=Object.assign({},jr),Array.isArray(jr.default)&&(jr.default=jr.default.length===1?jr.default[0].value:jr.default.filter(fr).sort((ri,ts)=>ot.compare(ts.since,ri.since))[0].value),Array.isArray(jr.choices)&&(jr.choices=jr.choices.filter(ri=>fr(ri)&&rn(ri)),jr.name==="parser"&&Lt(jr,ar,Gt));let Nn=Object.fromEntries(Gt.filter(ri=>ri.defaultOptions&&ri.defaultOptions[jr.name]!==void 0).map(ri=>[ri.name,ri.defaultOptions[jr.name]]));return Object.assign(Object.assign({},jr),{},{pluginDefaults:Nn})});return{languages:ar,options:tr};function fr(jr){return tn||!("since"in jr)||jr.since&&ot.gte(Vt,jr.since)}function rn(jr){return it||!("deprecated"in jr)||jr.deprecated&&ot.lt(Vt,jr.deprecated)}function Mn(jr){return wt?jr:Ze(jr,Ie)}}function Lt(Gt,tn,it){let wt=new Set(Gt.choices.map(Vt=>Vt.value));for(let Vt of tn)if(Vt.parsers){for(let ar of Vt.parsers)if(!wt.has(ar)){wt.add(ar);let tr=it.find(rn=>rn.parsers&&rn.parsers[ar]),fr=Vt.name;tr&&tr.name&&(fr+=` (plugin: ${tr.name})`),Gt.choices.push({value:ar,description:fr})}}}Re.exports={getSupportInfo:ut}}}),lc=Ge({"src/utils/is-non-empty-array.js"(te,Re){Oe();function ot(at){return Array.isArray(at)&&at.length>0}Re.exports=ot}});function cc(){let{onlyFirst:te=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Re=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(Re,te?void 0:"g")}var Ln=dt({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Oe()}});function Pl(te){if(typeof te!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof te}\``);return te.replace(cc(),"")}var hc=dt({"node_modules/strip-ansi/index.js"(){Oe(),Ln()}});function pc(te){return Number.isInteger(te)?te>=4352&&(te<=4447||te===9001||te===9002||11904<=te&&te<=12871&&te!==12351||12880<=te&&te<=19903||19968<=te&&te<=42182||43360<=te&&te<=43388||44032<=te&&te<=55203||63744<=te&&te<=64255||65040<=te&&te<=65049||65072<=te&&te<=65131||65281<=te&&te<=65376||65504<=te&&te<=65510||110592<=te&&te<=110593||127488<=te&&te<=127569||131072<=te&&te<=262141):!1}var kl=dt({"node_modules/is-fullwidth-code-point/index.js"(){Oe()}}),Bu=Ge({"node_modules/emoji-regex/index.js"(te,Re){Oe(),Re.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),Fl={};Ct(Fl,{default:()=>uh});function uh(te){if(typeof te!="string"||te.length===0||(te=Pl(te),te.length===0))return 0;te=te.replace((0,fc.default)()," ");let Re=0;for(let ot=0;ot<te.length;ot++){let at=te.codePointAt(ot);at<=31||at>=127&&at<=159||at>=768&&at<=879||(at>65535&&ot++,Re+=pc(at)?2:1)}return Re}var fc,dc=dt({"node_modules/string-width/index.js"(){Oe(),hc(),kl(),fc=er(Bu())}}),Oa=Ge({"src/utils/get-string-width.js"(te,Re){Oe();var ot=(dc(),Or(Fl)).default,at=/[^\x20-\x7F]/;function Pt(qe){return qe?at.test(qe)?ot(qe):qe.length:0}Re.exports=Pt}}),Nu=Ge({"src/utils/text/skip.js"(te,Re){Oe();function ot(Lt){return(Gt,tn,it)=>{let wt=it&&it.backwards;if(tn===!1)return!1;let{length:Vt}=Gt,ar=tn;for(;ar>=0&&ar<Vt;){let tr=Gt.charAt(ar);if(Lt instanceof RegExp){if(!Lt.test(tr))return ar}else if(!Lt.includes(tr))return ar;wt?ar--:ar++}return ar===-1||ar===Vt?ar:!1}}var at=ot(/\s/),Pt=ot(" "),qe=ot(",; "),ut=ot(/[^\n\r]/);Re.exports={skipWhitespace:at,skipSpaces:Pt,skipToLineEnd:qe,skipEverythingButNewLine:ut}}}),xa=Ge({"src/utils/text/skip-inline-comment.js"(te,Re){Oe();function ot(at,Pt){if(Pt===!1)return!1;if(at.charAt(Pt)==="/"&&at.charAt(Pt+1)==="*"){for(let qe=Pt+2;qe<at.length;++qe)if(at.charAt(qe)==="*"&&at.charAt(qe+1)==="/")return qe+2}return Pt}Re.exports=ot}}),mc=Ge({"src/utils/text/skip-trailing-comment.js"(te,Re){Oe();var{skipEverythingButNewLine:ot}=Nu();function at(Pt,qe){return qe===!1?!1:Pt.charAt(qe)==="/"&&Pt.charAt(qe+1)==="/"?ot(Pt,qe):qe}Re.exports=at}}),gc=Ge({"src/utils/text/skip-newline.js"(te,Re){Oe();function ot(at,Pt,qe){let ut=qe&&qe.backwards;if(Pt===!1)return!1;let Lt=at.charAt(Pt);if(ut){if(at.charAt(Pt-1)==="\r"&&Lt===`
|
||
`)return Pt-2;if(Lt===`
|
||
`||Lt==="\r"||Lt==="\u2028"||Lt==="\u2029")return Pt-1}else{if(Lt==="\r"&&at.charAt(Pt+1)===`
|
||
`)return Pt+2;if(Lt===`
|
||
`||Lt==="\r"||Lt==="\u2028"||Lt==="\u2029")return Pt+1}return Pt}Re.exports=ot}}),lh=Ge({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(te,Re){Oe();var ot=xa(),at=gc(),Pt=mc(),{skipSpaces:qe}=Nu();function ut(Lt,Gt){let tn=null,it=Gt;for(;it!==tn;)tn=it,it=qe(Lt,it),it=ot(Lt,it),it=Pt(Lt,it),it=at(Lt,it);return it}Re.exports=ut}}),Iu=Ge({"src/common/util.js"(te,Re){Oe();var{default:ot}=(fo(),Or(Ho)),at=Es(),{getSupportInfo:Pt}=$a(),qe=lc(),ut=Oa(),{skipWhitespace:Lt,skipSpaces:Gt,skipToLineEnd:tn,skipEverythingButNewLine:it}=Nu(),wt=xa(),Vt=mc(),ar=gc(),tr=lh(),fr=Qe=>Qe[Qe.length-2];function rn(Qe){return(an,Fn,Cn)=>{let yi=Cn&&Cn.backwards;if(Fn===!1)return!1;let{length:rs}=an,cs=Fn;for(;cs>=0&&cs<rs;){let Wi=an.charAt(cs);if(Qe instanceof RegExp){if(!Qe.test(Wi))return cs}else if(!Qe.includes(Wi))return cs;yi?cs--:cs++}return cs===-1||cs===rs?cs:!1}}function Mn(Qe,an){let Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Cn=Gt(Qe,Fn.backwards?an-1:an,Fn),yi=ar(Qe,Cn,Fn);return Cn!==yi}function jr(Qe,an,Fn){for(let Cn=an;Cn<Fn;++Cn)if(Qe.charAt(Cn)===`
|
||
`)return!0;return!1}function Nn(Qe,an,Fn){let Cn=Fn(an)-1;Cn=Gt(Qe,Cn,{backwards:!0}),Cn=ar(Qe,Cn,{backwards:!0}),Cn=Gt(Qe,Cn,{backwards:!0});let yi=ar(Qe,Cn,{backwards:!0});return Cn!==yi}function ri(Qe,an){let Fn=null,Cn=an;for(;Cn!==Fn;)Fn=Cn,Cn=tn(Qe,Cn),Cn=wt(Qe,Cn),Cn=Gt(Qe,Cn);return Cn=Vt(Qe,Cn),Cn=ar(Qe,Cn),Cn!==!1&&Mn(Qe,Cn)}function ts(Qe,an,Fn){return ri(Qe,Fn(an))}function Er(Qe,an,Fn){return tr(Qe,Fn(an))}function Zn(Qe,an,Fn){return Qe.charAt(Er(Qe,an,Fn))}function Jn(Qe,an){let Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Gt(Qe,Fn.backwards?an-1:an,Fn)!==an}function xi(Qe,an){let Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Cn=0;for(let yi=Fn;yi<Qe.length;++yi)Qe[yi]===" "?Cn=Cn+an-Cn%an:Cn++;return Cn}function Ei(Qe,an){let Fn=Qe.lastIndexOf(`
|
||
`);return Fn===-1?0:xi(Qe.slice(Fn+1).match(/^[\t ]*/)[0],an)}function Me(Qe,an){let Fn={quote:'"',regex:/"/g,escaped:"""},Cn={quote:"'",regex:/'/g,escaped:"'"},yi=an==="'"?Cn:Fn,rs=yi===Cn?Fn:Cn,cs=yi;if(Qe.includes(yi.quote)||Qe.includes(rs.quote)){let Wi=(Qe.match(yi.regex)||[]).length,Eo=(Qe.match(rs.regex)||[]).length;cs=Wi>Eo?rs:yi}return cs}function st(Qe,an){let Fn=Qe.slice(1,-1),Cn=an.parser==="json"||an.parser==="json5"&&an.quoteProps==="preserve"&&!an.singleQuote?'"':an.__isInHtmlAttribute?"'":Me(Fn,an.singleQuote?"'":'"').quote;return sr(Fn,Cn,!(an.parser==="css"||an.parser==="less"||an.parser==="scss"||an.__embeddedInHtml))}function sr(Qe,an,Fn){let Cn=an==='"'?"'":'"',yi=/\\(.)|(["'])/gs,rs=Qe.replace(yi,(cs,Wi,Eo)=>Wi===Cn?Wi:Eo===an?"\\"+Eo:Eo||(Fn&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Wi)?Wi:"\\"+Wi));return an+rs+an}function Xt(Qe){return Qe.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function Ir(Qe,an){let Fn=Qe.match(new RegExp(`(${ot(an)})+`,"g"));return Fn===null?0:Fn.reduce((Cn,yi)=>Math.max(Cn,yi.length/an.length),0)}function Ci(Qe,an){let Fn=Qe.match(new RegExp(`(${ot(an)})+`,"g"));if(Fn===null)return 0;let Cn=new Map,yi=0;for(let rs of Fn){let cs=rs.length/an.length;Cn.set(cs,!0),cs>yi&&(yi=cs)}for(let rs=1;rs<yi;rs++)if(!Cn.get(rs))return rs;return yi+1}function Ji(Qe,an){(Qe.comments||(Qe.comments=[])).push(an),an.printed=!1,an.nodeDescription=zi(Qe)}function to(Qe,an){an.leading=!0,an.trailing=!1,Ji(Qe,an)}function Is(Qe,an,Fn){an.leading=!1,an.trailing=!1,Fn&&(an.marker=Fn),Ji(Qe,an)}function yo(Qe,an){an.leading=!1,an.trailing=!0,Ji(Qe,an)}function Do(Qe,an){let{languages:Fn}=Pt({plugins:an.plugins}),Cn=Fn.find(yi=>{let{name:rs}=yi;return rs.toLowerCase()===Qe})||Fn.find(yi=>{let{aliases:rs}=yi;return Array.isArray(rs)&&rs.includes(Qe)})||Fn.find(yi=>{let{extensions:rs}=yi;return Array.isArray(rs)&&rs.includes(`.${Qe}`)});return Cn&&Cn.parsers[0]}function _o(Qe){return Qe&&Qe.type==="front-matter"}function $o(Qe){let an=new WeakMap;return function(Fn){return an.has(Fn)||an.set(Fn,Symbol(Qe)),an.get(Fn)}}function zi(Qe){let an=Qe.type||Qe.kind||"(unknown type)",Fn=String(Qe.name||Qe.id&&(typeof Qe.id=="object"?Qe.id.name:Qe.id)||Qe.key&&(typeof Qe.key=="object"?Qe.key.name:Qe.key)||Qe.value&&(typeof Qe.value=="object"?"":String(Qe.value))||Qe.operator||"");return Fn.length>20&&(Fn=Fn.slice(0,19)+"…"),an+(Fn?" "+Fn:"")}Re.exports={inferParserByLanguage:Do,getStringWidth:ut,getMaxContinuousCount:Ir,getMinNotPresentContinuousCount:Ci,getPenultimate:fr,getLast:at,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:tr,getNextNonSpaceNonCommentCharacterIndex:Er,getNextNonSpaceNonCommentCharacter:Zn,skip:rn,skipWhitespace:Lt,skipSpaces:Gt,skipToLineEnd:tn,skipEverythingButNewLine:it,skipInlineComment:wt,skipTrailingComment:Vt,skipNewline:ar,isNextLineEmptyAfterIndex:ri,isNextLineEmpty:ts,isPreviousLineEmpty:Nn,hasNewline:Mn,hasNewlineInRange:jr,hasSpaces:Jn,getAlignmentSize:xi,getIndentSize:Ei,getPreferredQuote:Me,printString:st,printNumber:Xt,makeString:sr,addLeadingComment:to,addDanglingComment:Is,addTrailingComment:yo,isFrontMatterNode:_o,isNonEmptyArray:qe,createGroupIdMapper:$o}}}),Mu=Ge({"vendors/html-tag-names.json"(te,Re){Re.exports={htmlTagNames:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}}}),go=Ge({"src/language-html/utils/array-to-map.js"(te,Re){Oe();function ot(at){let Pt=Object.create(null);for(let qe of at)Pt[qe]=!0;return Pt}Re.exports=ot}}),Ko=Ge({"src/language-html/utils/html-tag-names.js"(te,Re){Oe();var{htmlTagNames:ot}=Mu(),at=go(),Pt=at(ot);Re.exports=Pt}}),ea=Ge({"vendors/html-element-attributes.json"(te,Re){Re.exports={htmlElementAttributes:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["for","form"],legend:["align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","media","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","referrerpolicy","src","type"],select:["autocomplete","disabled","form","multiple","name","required","size"],slot:["name"],source:["height","media","sizes","src","srcset","type","width"],style:["media","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]}}}}),Qo=Ge({"src/language-html/utils/map-object.js"(te,Re){Oe();function ot(at,Pt){let qe=Object.create(null);for(let[ut,Lt]of Object.entries(at))qe[ut]=Pt(Lt,ut);return qe}Re.exports=ot}}),Fo=Ge({"src/language-html/utils/html-elements-attributes.js"(te,Re){Oe();var{htmlElementAttributes:ot}=ea(),at=Qo(),Pt=go(),qe=at(ot,Pt);Re.exports=qe}}),fi=Ge({"src/language-html/utils/is-unknown-namespace.js"(te,Re){Oe();function ot(at){return at.type==="element"&&!at.hasExplicitNamespace&&!["html","svg"].includes(at.namespace)}Re.exports=ot}}),Ba=Ge({"src/language-html/pragma.js"(te,Re){Oe();function ot(Pt){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(Pt)}function at(Pt){return`<!-- @format -->
|
||
|
||
`+Pt.replace(/^\s*\n/,"")}Re.exports={hasPragma:ot,insertPragma:at}}}),_l=Ge({"src/language-html/ast.js"(te,Re){Oe();var ot={attrs:!0,children:!0},at=new Set(["parent"]),Pt=class{constructor(){let ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let Lt of new Set([...at,...Object.keys(ut)]))this.setProperty(Lt,ut[Lt])}setProperty(ut,Lt){if(this[ut]!==Lt){if(ut in ot&&(Lt=Lt.map(Gt=>this.createChild(Gt))),!at.has(ut)){this[ut]=Lt;return}Object.defineProperty(this,ut,{value:Lt,enumerable:!1,configurable:!0})}}map(ut){let Lt;for(let Gt in ot){let tn=this[Gt];if(tn){let it=qe(tn,wt=>wt.map(ut));Lt!==tn&&(Lt||(Lt=new Pt({parent:this.parent})),Lt.setProperty(Gt,it))}}if(Lt)for(let Gt in this)Gt in ot||(Lt[Gt]=this[Gt]);return ut(Lt||this)}walk(ut){for(let Lt in ot){let Gt=this[Lt];if(Gt)for(let tn=0;tn<Gt.length;tn++)Gt[tn].walk(ut)}ut(this)}createChild(ut){let Lt=ut instanceof Pt?ut.clone():new Pt(ut);return Lt.setProperty("parent",this),Lt}insertChildBefore(ut,Lt){this.children.splice(this.children.indexOf(ut),0,this.createChild(Lt))}removeChild(ut){this.children.splice(this.children.indexOf(ut),1)}replaceChild(ut,Lt){this.children[this.children.indexOf(ut)]=this.createChild(Lt)}clone(){return new Pt(this)}get firstChild(){var ut;return(ut=this.children)===null||ut===void 0?void 0:ut[0]}get lastChild(){var ut;return(ut=this.children)===null||ut===void 0?void 0:ut[this.children.length-1]}get prev(){var ut;return(ut=this.parent)===null||ut===void 0?void 0:ut.children[this.parent.children.indexOf(this)-1]}get next(){var ut;return(ut=this.parent)===null||ut===void 0?void 0:ut.children[this.parent.children.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(ut=>[ut.fullName,ut.value]))}};function qe(ut,Lt){let Gt=ut.map(Lt);return Gt.some((tn,it)=>tn!==ut[it])?Gt:ut}Re.exports={Node:Pt}}}),ou=Ge({"src/language-html/conditional-comment.js"(te,Re){Oe();var{ParseSourceSpan:ot}=Yi(),at=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:qe},{regex:/^\[if([^\]]*)]><!$/,parse:ut},{regex:/^<!\s*\[endif]$/,parse:Lt}];function Pt(Gt,tn){if(Gt.value)for(let{regex:it,parse:wt}of at){let Vt=Gt.value.match(it);if(Vt)return wt(Gt,tn,Vt)}return null}function qe(Gt,tn,it){let[,wt,Vt,ar]=it,tr=4+wt.length,fr=Gt.sourceSpan.start.moveBy(tr),rn=fr.moveBy(ar.length),[Mn,jr]=(()=>{try{return[!0,tn(ar,fr).children]}catch{return[!1,[{type:"text",value:ar,sourceSpan:new ot(fr,rn)}]]}})();return{type:"ieConditionalComment",complete:Mn,children:jr,condition:Vt.trim().replace(/\s+/g," "),sourceSpan:Gt.sourceSpan,startSourceSpan:new ot(Gt.sourceSpan.start,fr),endSourceSpan:new ot(rn,Gt.sourceSpan.end)}}function ut(Gt,tn,it){let[,wt]=it;return{type:"ieConditionalStartComment",condition:wt.trim().replace(/\s+/g," "),sourceSpan:Gt.sourceSpan}}function Lt(Gt){return{type:"ieConditionalEndComment",sourceSpan:Gt.sourceSpan}}Re.exports={parseIeConditionalComment:Pt}}}),Ru=Ge({"src/language-html/loc.js"(te,Re){Oe();function ot(Pt){return Pt.sourceSpan.start.offset}function at(Pt){return Pt.sourceSpan.end.offset}Re.exports={locStart:ot,locEnd:at}}}),Na=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0}),function(Lt){Lt[Lt.RAW_TEXT=0]="RAW_TEXT",Lt[Lt.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",Lt[Lt.PARSABLE_DATA=2]="PARSABLE_DATA"}(te.TagContentType||(te.TagContentType={}));function Re(Lt){if(Lt[0]!=":")return[null,Lt];let Gt=Lt.indexOf(":",1);if(Gt==-1)throw new Error(`Unsupported format "${Lt}" expecting ":namespace:name"`);return[Lt.slice(1,Gt),Lt.slice(Gt+1)]}te.splitNsName=Re;function ot(Lt){return Re(Lt)[1]==="ng-container"}te.isNgContainer=ot;function at(Lt){return Re(Lt)[1]==="ng-content"}te.isNgContent=at;function Pt(Lt){return Re(Lt)[1]==="ng-template"}te.isNgTemplate=Pt;function qe(Lt){return Lt===null?null:Re(Lt)[0]}te.getNsPrefix=qe;function ut(Lt,Gt){return Lt?`:${Lt}:${Gt}`:Gt}te.mergeNsAndName=ut,te.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
||
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},te.NGSP_UNICODE="",te.NAMED_ENTITIES.ngsp=te.NGSP_UNICODE}}),Qu=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Na(),ot=class{constructor(){let{closedByChildren:ut,implicitNamespacePrefix:Lt,contentType:Gt=Re.TagContentType.PARSABLE_DATA,closedByParent:tn=!1,isVoid:it=!1,ignoreFirstLf:wt=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,ut&&ut.length>0&&ut.forEach(Vt=>this.closedByChildren[Vt]=!0),this.isVoid=it,this.closedByParent=tn||it,this.implicitNamespacePrefix=Lt||null,this.contentType=Gt,this.ignoreFirstLf=wt}isClosedByChild(ut){return this.isVoid||ut.toLowerCase()in this.closedByChildren}};te.HtmlTagDefinition=ot;var at,Pt;function qe(ut){return Pt||(at=new ot,Pt={base:new ot({isVoid:!0}),meta:new ot({isVoid:!0}),area:new ot({isVoid:!0}),embed:new ot({isVoid:!0}),link:new ot({isVoid:!0}),img:new ot({isVoid:!0}),input:new ot({isVoid:!0}),param:new ot({isVoid:!0}),hr:new ot({isVoid:!0}),br:new ot({isVoid:!0}),source:new ot({isVoid:!0}),track:new ot({isVoid:!0}),wbr:new ot({isVoid:!0}),p:new ot({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new ot({closedByChildren:["tbody","tfoot"]}),tbody:new ot({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new ot({closedByChildren:["tbody"],closedByParent:!0}),tr:new ot({closedByChildren:["tr"],closedByParent:!0}),td:new ot({closedByChildren:["td","th"],closedByParent:!0}),th:new ot({closedByChildren:["td","th"],closedByParent:!0}),col:new ot({isVoid:!0}),svg:new ot({implicitNamespacePrefix:"svg"}),math:new ot({implicitNamespacePrefix:"math"}),li:new ot({closedByChildren:["li"],closedByParent:!0}),dt:new ot({closedByChildren:["dt","dd"]}),dd:new ot({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new ot({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new ot({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new ot({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new ot({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new ot({closedByChildren:["optgroup"],closedByParent:!0}),option:new ot({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new ot({ignoreFirstLf:!0}),listing:new ot({ignoreFirstLf:!0}),style:new ot({contentType:Re.TagContentType.RAW_TEXT}),script:new ot({contentType:Re.TagContentType.RAW_TEXT}),title:new ot({contentType:Re.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new ot({contentType:Re.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Pt[ut]||at}te.getHtmlTagDefinition=qe}}),ju=Ge({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=class{constructor(ot){let at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=ot,this.position=at}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(ot){return ot&&this.path[this.path.indexOf(ot)-1]}childOf(ot){return this.path[this.path.indexOf(ot)+1]}first(ot){for(let at=this.path.length-1;at>=0;at--){let Pt=this.path[at];if(Pt instanceof ot)return Pt}}push(ot){this.path.push(ot)}pop(){return this.path.pop()}};te.AstPath=Re}}),au=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=ju(),ot=class{constructor(tr,fr,rn){this.value=tr,this.sourceSpan=fr,this.i18n=rn,this.type="text"}visit(tr,fr){return tr.visitText(this,fr)}};te.Text=ot;var at=class{constructor(tr,fr){this.value=tr,this.sourceSpan=fr,this.type="cdata"}visit(tr,fr){return tr.visitCdata(this,fr)}};te.CDATA=at;var Pt=class{constructor(tr,fr,rn,Mn,jr,Nn){this.switchValue=tr,this.type=fr,this.cases=rn,this.sourceSpan=Mn,this.switchValueSourceSpan=jr,this.i18n=Nn}visit(tr,fr){return tr.visitExpansion(this,fr)}};te.Expansion=Pt;var qe=class{constructor(tr,fr,rn,Mn,jr){this.value=tr,this.expression=fr,this.sourceSpan=rn,this.valueSourceSpan=Mn,this.expSourceSpan=jr}visit(tr,fr){return tr.visitExpansionCase(this,fr)}};te.ExpansionCase=qe;var ut=class{constructor(tr,fr,rn){let Mn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,jr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,Nn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=tr,this.value=fr,this.sourceSpan=rn,this.valueSpan=Mn,this.nameSpan=jr,this.i18n=Nn,this.type="attribute"}visit(tr,fr){return tr.visitAttribute(this,fr)}};te.Attribute=ut;var Lt=class{constructor(tr,fr,rn,Mn){let jr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,Nn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,ri=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,ts=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=tr,this.attrs=fr,this.children=rn,this.sourceSpan=Mn,this.startSourceSpan=jr,this.endSourceSpan=Nn,this.nameSpan=ri,this.i18n=ts,this.type="element"}visit(tr,fr){return tr.visitElement(this,fr)}};te.Element=Lt;var Gt=class{constructor(tr,fr){this.value=tr,this.sourceSpan=fr,this.type="comment"}visit(tr,fr){return tr.visitComment(this,fr)}};te.Comment=Gt;var tn=class{constructor(tr,fr){this.value=tr,this.sourceSpan=fr,this.type="docType"}visit(tr,fr){return tr.visitDocType(this,fr)}};te.DocType=tn;function it(tr,fr){let rn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Mn=[],jr=tr.visit?Nn=>tr.visit(Nn,rn)||Nn.visit(tr,rn):Nn=>Nn.visit(tr,rn);return fr.forEach(Nn=>{let ri=jr(Nn);ri&&Mn.push(ri)}),Mn}te.visitAll=it;var wt=class{constructor(){}visitElement(tr,fr){this.visitChildren(fr,rn=>{rn(tr.attrs),rn(tr.children)})}visitAttribute(tr,fr){}visitText(tr,fr){}visitCdata(tr,fr){}visitComment(tr,fr){}visitDocType(tr,fr){}visitExpansion(tr,fr){return this.visitChildren(fr,rn=>{rn(tr.cases)})}visitExpansionCase(tr,fr){}visitChildren(tr,fr){let rn=[],Mn=this;function jr(Nn){Nn&&rn.push(it(Mn,Nn,tr))}return fr(jr),Array.prototype.concat.apply([],rn)}};te.RecursiveVisitor=wt;function Vt(tr){let fr=tr.sourceSpan.start.offset,rn=tr.sourceSpan.end.offset;return tr instanceof Lt&&(tr.endSourceSpan?rn=tr.endSourceSpan.end.offset:tr.children&&tr.children.length&&(rn=Vt(tr.children[tr.children.length-1]).end)),{start:fr,end:rn}}function ar(tr,fr){let rn=[],Mn=new class extends wt{visit(jr,Nn){let ri=Vt(jr);if(ri.start<=fr&&fr<ri.end)rn.push(jr);else return!0}};return it(Mn,tr),new Re.AstPath(rn,fr)}te.findNode=ar}}),Lu=Ge({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});function Re(Pt,qe){if(qe!=null){if(!Array.isArray(qe))throw new Error(`Expected '${Pt}' to be an array of strings.`);for(let ut=0;ut<qe.length;ut+=1)if(typeof qe[ut]!="string")throw new Error(`Expected '${Pt}' to be an array of strings.`)}}te.assertArrayOfStrings=Re;var ot=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function at(Pt,qe){if(qe!=null&&!(Array.isArray(qe)&&qe.length==2))throw new Error(`Expected '${Pt}' to be an array, [start, end].`);if(qe!=null){let ut=qe[0],Lt=qe[1];ot.forEach(Gt=>{if(Gt.test(ut)||Gt.test(Lt))throw new Error(`['${ut}', '${Lt}'] contains unusable interpolation symbol.`)})}}te.assertInterpolationSymbols=at}}),$l=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Lu(),ot=class{constructor(at,Pt){this.start=at,this.end=Pt}static fromArray(at){return at?(Re.assertInterpolationSymbols("interpolation",at),new ot(at[0],at[1])):te.DEFAULT_INTERPOLATION_CONFIG}};te.InterpolationConfig=ot,te.DEFAULT_INTERPOLATION_CONFIG=new ot("{{","}}")}}),bn=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=pn(),ot=Yi(),at=$l(),Pt=Na(),qe;(function(Me){Me[Me.TAG_OPEN_START=0]="TAG_OPEN_START",Me[Me.TAG_OPEN_END=1]="TAG_OPEN_END",Me[Me.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",Me[Me.TAG_CLOSE=3]="TAG_CLOSE",Me[Me.TEXT=4]="TEXT",Me[Me.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",Me[Me.RAW_TEXT=6]="RAW_TEXT",Me[Me.COMMENT_START=7]="COMMENT_START",Me[Me.COMMENT_END=8]="COMMENT_END",Me[Me.CDATA_START=9]="CDATA_START",Me[Me.CDATA_END=10]="CDATA_END",Me[Me.ATTR_NAME=11]="ATTR_NAME",Me[Me.ATTR_QUOTE=12]="ATTR_QUOTE",Me[Me.ATTR_VALUE=13]="ATTR_VALUE",Me[Me.DOC_TYPE_START=14]="DOC_TYPE_START",Me[Me.DOC_TYPE_END=15]="DOC_TYPE_END",Me[Me.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",Me[Me.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",Me[Me.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",Me[Me.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",Me[Me.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",Me[Me.EOF=21]="EOF"})(qe=te.TokenType||(te.TokenType={}));var ut=class{constructor(Me,st,sr){this.type=Me,this.parts=st,this.sourceSpan=sr}};te.Token=ut;var Lt=class extends ot.ParseError{constructor(Me,st,sr){super(sr,Me),this.tokenType=st}};te.TokenError=Lt;var Gt=class{constructor(Me,st){this.tokens=Me,this.errors=st}};te.TokenizeResult=Gt;function tn(Me,st,sr){let Xt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new tr(new ot.ParseSourceFile(Me,st),sr,Xt).tokenize()}te.tokenize=tn;var it=/\r\n?/g;function wt(Me){return`Unexpected character "${Me===Re.$EOF?"EOF":String.fromCharCode(Me)}"`}function Vt(Me){return`Unknown entity "${Me}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var ar=class{constructor(Me){this.error=Me}},tr=class{constructor(Me,st,sr){this._getTagContentType=st,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=sr.tokenizeExpansionForms||!1,this._interpolationConfig=sr.interpolationConfig||at.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=sr.leadingTriviaChars&&sr.leadingTriviaChars.map(Ir=>Ir.codePointAt(0)||0),this._canSelfClose=sr.canSelfClose||!1,this._allowHtmComponentClosingTags=sr.allowHtmComponentClosingTags||!1;let Xt=sr.range||{endPos:Me.content.length,startPos:0,startLine:0,startCol:0};this._cursor=sr.escapedString?new xi(Me,Xt):new Jn(Me,Xt);try{this._cursor.init()}catch(Ir){this.handleError(Ir)}}_processCarriageReturns(Me){return Me.replace(it,`
|
||
`)}tokenize(){for(;this._cursor.peek()!==Re.$EOF;){let Me=this._cursor.clone();try{if(this._attemptCharCode(Re.$LT))if(this._attemptCharCode(Re.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(Me):this._attemptStr("--")?this._consumeComment(Me):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(Me):this._consumeBogusComment(Me);else if(this._attemptCharCode(Re.$SLASH))this._consumeTagClose(Me);else{let st=this._cursor.clone();this._attemptCharCode(Re.$QUESTION)?(this._cursor=st,this._consumeBogusComment(Me)):this._consumeTagOpen(Me)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(st){this.handleError(st)}}return this._beginToken(qe.EOF),this._endToken([]),new Gt(Zn(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(ri(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===Re.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(Me){let st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=st,this._currentTokenType=Me}_endToken(Me){let st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new Lt("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(st));if(this._currentTokenType===null)throw new Lt("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let sr=new ut(this._currentTokenType,Me,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(sr),this._currentTokenStart=null,this._currentTokenType=null,sr}_createError(Me,st){this._isInExpansionForm()&&(Me+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let sr=new Lt(Me,this._currentTokenType,st);return this._currentTokenStart=null,this._currentTokenType=null,new ar(sr)}handleError(Me){if(Me instanceof Ei&&(Me=this._createError(Me.msg,this._cursor.getSpan(Me.cursor))),Me instanceof ar)this.errors.push(Me.error);else throw Me}_attemptCharCode(Me){return this._cursor.peek()===Me?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(Me){return ts(this._cursor.peek(),Me)?(this._cursor.advance(),!0):!1}_requireCharCode(Me){let st=this._cursor.clone();if(!this._attemptCharCode(Me))throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(st))}_attemptStr(Me){let st=Me.length;if(this._cursor.charsLeft()<st)return!1;let sr=this._cursor.clone();for(let Xt=0;Xt<st;Xt++)if(!this._attemptCharCode(Me.charCodeAt(Xt)))return this._cursor=sr,!1;return!0}_attemptStrCaseInsensitive(Me){for(let st=0;st<Me.length;st++)if(!this._attemptCharCodeCaseInsensitive(Me.charCodeAt(st)))return!1;return!0}_requireStr(Me){let st=this._cursor.clone();if(!this._attemptStr(Me))throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(st))}_requireStrCaseInsensitive(Me){let st=this._cursor.clone();if(!this._attemptStrCaseInsensitive(Me))throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(st))}_attemptCharCodeUntilFn(Me){for(;!Me(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(Me,st){let sr=this._cursor.clone();if(this._attemptCharCodeUntilFn(Me),this._cursor.clone().diff(sr)<st)throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(sr))}_attemptUntilChar(Me){for(;this._cursor.peek()!==Me;)this._cursor.advance()}_readChar(Me){if(Me&&this._cursor.peek()===Re.$AMPERSAND)return this._decodeEntity();{let st=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),st}}_decodeEntity(){let Me=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(Re.$HASH)){let st=this._attemptCharCode(Re.$x)||this._attemptCharCode(Re.$X),sr=this._cursor.clone();if(this._attemptCharCodeUntilFn(jr),this._cursor.peek()!=Re.$SEMICOLON)throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan());let Xt=this._cursor.getChars(sr);this._cursor.advance();try{let Ir=parseInt(Xt,st?16:10);return String.fromCharCode(Ir)}catch{throw this._createError(Vt(this._cursor.getChars(Me)),this._cursor.getSpan())}}else{let st=this._cursor.clone();if(this._attemptCharCodeUntilFn(Nn),this._cursor.peek()!=Re.$SEMICOLON)return this._cursor=st,"&";let sr=this._cursor.getChars(st);this._cursor.advance();let Xt=Pt.NAMED_ENTITIES[sr];if(!Xt)throw this._createError(Vt(sr),this._cursor.getSpan(Me));return Xt}}_consumeRawText(Me,st){this._beginToken(Me?qe.ESCAPABLE_RAW_TEXT:qe.RAW_TEXT);let sr=[];for(;;){let Xt=this._cursor.clone(),Ir=st();if(this._cursor=Xt,Ir)break;sr.push(this._readChar(Me))}return this._endToken([this._processCarriageReturns(sr.join(""))])}_consumeComment(Me){this._beginToken(qe.COMMENT_START,Me),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(qe.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(Me){this._beginToken(qe.COMMENT_START,Me),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Re.$GT),this._beginToken(qe.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(Me){this._beginToken(qe.CDATA_START,Me),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(qe.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(Me){this._beginToken(qe.DOC_TYPE_START,Me),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===Re.$GT),this._beginToken(qe.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let Me=this._cursor.clone(),st="";for(;this._cursor.peek()!==Re.$COLON&&!Mn(this._cursor.peek());)this._cursor.advance();let sr;this._cursor.peek()===Re.$COLON?(st=this._cursor.getChars(Me),this._cursor.advance(),sr=this._cursor.clone()):sr=Me,this._requireCharCodeUntilFn(rn,st===""?0:1);let Xt=this._cursor.getChars(sr);return[st,Xt]}_consumeTagOpen(Me){let st,sr,Xt,Ir=this.tokens.length,Ci=this._cursor.clone(),Ji=[];try{if(!Re.isAsciiLetter(this._cursor.peek()))throw this._createError(wt(this._cursor.peek()),this._cursor.getSpan(Me));for(Xt=this._consumeTagOpenStart(Me),sr=Xt.parts[0],st=Xt.parts[1],this._attemptCharCodeUntilFn(fr);this._cursor.peek()!==Re.$SLASH&&this._cursor.peek()!==Re.$GT;){let[Is,yo]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(fr),this._attemptCharCode(Re.$EQ)){this._attemptCharCodeUntilFn(fr);let Do=this._consumeAttributeValue();Ji.push({prefix:Is,name:yo,value:Do})}else Ji.push({prefix:Is,name:yo});this._attemptCharCodeUntilFn(fr)}this._consumeTagOpenEnd()}catch(Is){if(Is instanceof ar){this._cursor=Ci,Xt&&(this.tokens.length=Ir),this._beginToken(qe.TEXT,Me),this._endToken(["<"]);return}throw Is}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===qe.TAG_OPEN_END_VOID)return;let to=this._getTagContentType(st,sr,this._fullNameStack.length>0,Ji);this._handleFullNameStackForTagOpen(sr,st),to===Pt.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(sr,st,!1):to===Pt.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(sr,st,!0)}_consumeRawTextWithTagClose(Me,st,sr){this._consumeRawText(sr,()=>!this._attemptCharCode(Re.$LT)||!this._attemptCharCode(Re.$SLASH)||(this._attemptCharCodeUntilFn(fr),!this._attemptStrCaseInsensitive(Me?`${Me}:${st}`:st))?!1:(this._attemptCharCodeUntilFn(fr),this._attemptCharCode(Re.$GT))),this._beginToken(qe.TAG_CLOSE),this._requireCharCodeUntilFn(Xt=>Xt===Re.$GT,3),this._cursor.advance(),this._endToken([Me,st]),this._handleFullNameStackForTagClose(Me,st)}_consumeTagOpenStart(Me){this._beginToken(qe.TAG_OPEN_START,Me);let st=this._consumePrefixAndName();return this._endToken(st)}_consumeAttributeName(){let Me=this._cursor.peek();if(Me===Re.$SQ||Me===Re.$DQ)throw this._createError(wt(Me),this._cursor.getSpan());this._beginToken(qe.ATTR_NAME);let st=this._consumePrefixAndName();return this._endToken(st),st}_consumeAttributeValue(){let Me;if(this._cursor.peek()===Re.$SQ||this._cursor.peek()===Re.$DQ){this._beginToken(qe.ATTR_QUOTE);let st=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(st)]),this._beginToken(qe.ATTR_VALUE);let sr=[];for(;this._cursor.peek()!==st;)sr.push(this._readChar(!0));Me=this._processCarriageReturns(sr.join("")),this._endToken([Me]),this._beginToken(qe.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(st)])}else{this._beginToken(qe.ATTR_VALUE);let st=this._cursor.clone();this._requireCharCodeUntilFn(rn,1),Me=this._processCarriageReturns(this._cursor.getChars(st)),this._endToken([Me])}return Me}_consumeTagOpenEnd(){let Me=this._attemptCharCode(Re.$SLASH)?qe.TAG_OPEN_END_VOID:qe.TAG_OPEN_END;this._beginToken(Me),this._requireCharCode(Re.$GT),this._endToken([])}_consumeTagClose(Me){if(this._beginToken(qe.TAG_CLOSE,Me),this._attemptCharCodeUntilFn(fr),this._allowHtmComponentClosingTags&&this._attemptCharCode(Re.$SLASH))this._attemptCharCodeUntilFn(fr),this._requireCharCode(Re.$GT),this._endToken([]);else{let[st,sr]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(fr),this._requireCharCode(Re.$GT),this._endToken([st,sr]),this._handleFullNameStackForTagClose(st,sr)}}_consumeExpansionFormStart(){this._beginToken(qe.EXPANSION_FORM_START),this._requireCharCode(Re.$LBRACE),this._endToken([]),this._expansionCaseStack.push(qe.EXPANSION_FORM_START),this._beginToken(qe.RAW_TEXT);let Me=this._readUntil(Re.$COMMA);this._endToken([Me]),this._requireCharCode(Re.$COMMA),this._attemptCharCodeUntilFn(fr),this._beginToken(qe.RAW_TEXT);let st=this._readUntil(Re.$COMMA);this._endToken([st]),this._requireCharCode(Re.$COMMA),this._attemptCharCodeUntilFn(fr)}_consumeExpansionCaseStart(){this._beginToken(qe.EXPANSION_CASE_VALUE);let Me=this._readUntil(Re.$LBRACE).trim();this._endToken([Me]),this._attemptCharCodeUntilFn(fr),this._beginToken(qe.EXPANSION_CASE_EXP_START),this._requireCharCode(Re.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(fr),this._expansionCaseStack.push(qe.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(qe.EXPANSION_CASE_EXP_END),this._requireCharCode(Re.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(fr),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(qe.EXPANSION_FORM_END),this._requireCharCode(Re.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let Me=this._cursor.clone();this._beginToken(qe.TEXT,Me);let st=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(st.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(st.push(this._interpolationConfig.end),this._inInterpolation=!1):st.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(st.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===Re.$LT||this._cursor.peek()===Re.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===Re.$RBRACE&&this._isInExpansionCase()))}_readUntil(Me){let st=this._cursor.clone();return this._attemptUntilChar(Me),this._cursor.getChars(st)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===qe.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===qe.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==Re.$LBRACE)return!1;if(this._interpolationConfig){let Me=this._cursor.clone(),st=this._attemptStr(this._interpolationConfig.start);return this._cursor=Me,!st}return!0}_handleFullNameStackForTagOpen(Me,st){let sr=Pt.mergeNsAndName(Me,st);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===sr)&&this._fullNameStack.push(sr)}_handleFullNameStackForTagClose(Me,st){let sr=Pt.mergeNsAndName(Me,st);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===sr&&this._fullNameStack.pop()}};function fr(Me){return!Re.isWhitespace(Me)||Me===Re.$EOF}function rn(Me){return Re.isWhitespace(Me)||Me===Re.$GT||Me===Re.$SLASH||Me===Re.$SQ||Me===Re.$DQ||Me===Re.$EQ}function Mn(Me){return(Me<Re.$a||Re.$z<Me)&&(Me<Re.$A||Re.$Z<Me)&&(Me<Re.$0||Me>Re.$9)}function jr(Me){return Me==Re.$SEMICOLON||Me==Re.$EOF||!Re.isAsciiHexDigit(Me)}function Nn(Me){return Me==Re.$SEMICOLON||Me==Re.$EOF||!Re.isAsciiLetter(Me)}function ri(Me){return Me===Re.$EQ||Re.isAsciiLetter(Me)||Re.isDigit(Me)}function ts(Me,st){return Er(Me)==Er(st)}function Er(Me){return Me>=Re.$a&&Me<=Re.$z?Me-Re.$a+Re.$A:Me}function Zn(Me){let st=[],sr;for(let Xt=0;Xt<Me.length;Xt++){let Ir=Me[Xt];sr&&sr.type==qe.TEXT&&Ir.type==qe.TEXT?(sr.parts[0]+=Ir.parts[0],sr.sourceSpan.end=Ir.sourceSpan.end):(sr=Ir,st.push(sr))}return st}var Jn=class{constructor(Me,st){if(Me instanceof Jn)this.file=Me.file,this.input=Me.input,this.end=Me.end,this.state=Object.assign({},Me.state);else{if(!st)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=Me,this.input=Me.content,this.end=st.endPos,this.state={peek:-1,offset:st.startPos,line:st.startLine,column:st.startCol}}}clone(){return new Jn(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(Me){return this.state.offset-Me.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(Me,st){if(Me=Me||this,st)for(Me=Me.clone();this.diff(Me)>0&&st.indexOf(Me.peek())!==-1;)Me.advance();return new ot.ParseSourceSpan(new ot.ParseLocation(Me.file,Me.state.offset,Me.state.line,Me.state.column),new ot.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(Me){return this.input.substring(Me.state.offset,this.state.offset)}charAt(Me){return this.input.charCodeAt(Me)}advanceState(Me){if(Me.offset>=this.end)throw this.state=Me,new Ei('Unexpected character "EOF"',this);let st=this.charAt(Me.offset);st===Re.$LF?(Me.line++,Me.column=0):Re.isNewLine(st)||Me.column++,Me.offset++,this.updatePeek(Me)}updatePeek(Me){Me.peek=Me.offset>=this.end?Re.$EOF:this.charAt(Me.offset)}},xi=class extends Jn{constructor(Me,st){Me instanceof xi?(super(Me),this.internalState=Object.assign({},Me.internalState)):(super(Me,st),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new xi(this)}getChars(Me){let st=Me.clone(),sr="";for(;st.internalState.offset<this.internalState.offset;)sr+=String.fromCodePoint(st.peek()),st.advance();return sr}processEscapeSequence(){let Me=()=>this.internalState.peek;if(Me()===Re.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),Me()===Re.$n)this.state.peek=Re.$LF;else if(Me()===Re.$r)this.state.peek=Re.$CR;else if(Me()===Re.$v)this.state.peek=Re.$VTAB;else if(Me()===Re.$t)this.state.peek=Re.$TAB;else if(Me()===Re.$b)this.state.peek=Re.$BSPACE;else if(Me()===Re.$f)this.state.peek=Re.$FF;else if(Me()===Re.$u)if(this.advanceState(this.internalState),Me()===Re.$LBRACE){this.advanceState(this.internalState);let st=this.clone(),sr=0;for(;Me()!==Re.$RBRACE;)this.advanceState(this.internalState),sr++;this.state.peek=this.decodeHexDigits(st,sr)}else{let st=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(st,4)}else if(Me()===Re.$x){this.advanceState(this.internalState);let st=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(st,2)}else if(Re.isOctalDigit(Me())){let st="",sr=0,Xt=this.clone();for(;Re.isOctalDigit(Me())&&sr<3;)Xt=this.clone(),st+=String.fromCodePoint(Me()),this.advanceState(this.internalState),sr++;this.state.peek=parseInt(st,8),this.internalState=Xt.internalState}else Re.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(Me,st){let sr=this.input.substr(Me.internalState.offset,st),Xt=parseInt(sr,16);if(isNaN(Xt))throw Me.state=Me.internalState,new Ei("Invalid hexadecimal escape sequence",Me);return Xt}},Ei=class{constructor(Me,st){this.msg=Me,this.cursor=st}};te.CursorError=Ei}}),Ur=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Yi(),ot=au(),at=bn(),Pt=Na(),qe=class extends Re.ParseError{constructor(it,wt,Vt){super(wt,Vt),this.elementName=it}static create(it,wt,Vt){return new qe(it,wt,Vt)}};te.TreeError=qe;var ut=class{constructor(it,wt){this.rootNodes=it,this.errors=wt}};te.ParseTreeResult=ut;var Lt=class{constructor(it){this.getTagDefinition=it}parse(it,wt,Vt){let ar=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tr=arguments.length>4?arguments[4]:void 0,fr=Jn=>function(xi){for(var Ei=arguments.length,Me=new Array(Ei>1?Ei-1:0),st=1;st<Ei;st++)Me[st-1]=arguments[st];return Jn(xi.toLowerCase(),...Me)},rn=ar?this.getTagDefinition:fr(this.getTagDefinition),Mn=Jn=>rn(Jn).contentType,jr=ar?tr:fr(tr),Nn=tr?(Jn,xi,Ei,Me)=>{let st=jr(Jn,xi,Ei,Me);return st!==void 0?st:Mn(Jn)}:Mn,ri=at.tokenize(it,wt,Nn,Vt),ts=Vt&&Vt.canSelfClose||!1,Er=Vt&&Vt.allowHtmComponentClosingTags||!1,Zn=new Gt(ri.tokens,rn,ts,Er,ar).build();return new ut(Zn.rootNodes,ri.errors.concat(Zn.errors))}};te.Parser=Lt;var Gt=class{constructor(it,wt,Vt,ar,tr){this.tokens=it,this.getTagDefinition=wt,this.canSelfClose=Vt,this.allowHtmComponentClosingTags=ar,this.isTagNameCaseSensitive=tr,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==at.TokenType.EOF;)this._peek.type===at.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===at.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===at.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===at.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===at.TokenType.TEXT||this._peek.type===at.TokenType.RAW_TEXT||this._peek.type===at.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===at.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===at.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new ut(this._rootNodes,this._errors)}_advance(){let it=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],it}_advanceIf(it){return this._peek.type===it?this._advance():null}_consumeCdata(it){let wt=this._advance(),Vt=this._getText(wt),ar=this._advanceIf(at.TokenType.CDATA_END);this._addToParent(new ot.CDATA(Vt,new Re.ParseSourceSpan(it.sourceSpan.start,(ar||wt).sourceSpan.end)))}_consumeComment(it){let wt=this._advanceIf(at.TokenType.RAW_TEXT),Vt=this._advanceIf(at.TokenType.COMMENT_END),ar=wt!=null?wt.parts[0].trim():null,tr=new Re.ParseSourceSpan(it.sourceSpan.start,(Vt||wt||it).sourceSpan.end);this._addToParent(new ot.Comment(ar,tr))}_consumeDocType(it){let wt=this._advanceIf(at.TokenType.RAW_TEXT),Vt=this._advanceIf(at.TokenType.DOC_TYPE_END),ar=wt!=null?wt.parts[0].trim():null,tr=new Re.ParseSourceSpan(it.sourceSpan.start,(Vt||wt||it).sourceSpan.end);this._addToParent(new ot.DocType(ar,tr))}_consumeExpansion(it){let wt=this._advance(),Vt=this._advance(),ar=[];for(;this._peek.type===at.TokenType.EXPANSION_CASE_VALUE;){let fr=this._parseExpansionCase();if(!fr)return;ar.push(fr)}if(this._peek.type!==at.TokenType.EXPANSION_FORM_END){this._errors.push(qe.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let tr=new Re.ParseSourceSpan(it.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new ot.Expansion(wt.parts[0],Vt.parts[0],ar,tr,wt.sourceSpan)),this._advance()}_parseExpansionCase(){let it=this._advance();if(this._peek.type!==at.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(qe.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let wt=this._advance(),Vt=this._collectExpansionExpTokens(wt);if(!Vt)return null;let ar=this._advance();Vt.push(new at.Token(at.TokenType.EOF,[],ar.sourceSpan));let tr=new Gt(Vt,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(tr.errors.length>0)return this._errors=this._errors.concat(tr.errors),null;let fr=new Re.ParseSourceSpan(it.sourceSpan.start,ar.sourceSpan.end),rn=new Re.ParseSourceSpan(wt.sourceSpan.start,ar.sourceSpan.end);return new ot.ExpansionCase(it.parts[0],tr.rootNodes,fr,it.sourceSpan,rn)}_collectExpansionExpTokens(it){let wt=[],Vt=[at.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===at.TokenType.EXPANSION_FORM_START||this._peek.type===at.TokenType.EXPANSION_CASE_EXP_START)&&Vt.push(this._peek.type),this._peek.type===at.TokenType.EXPANSION_CASE_EXP_END)if(tn(Vt,at.TokenType.EXPANSION_CASE_EXP_START)){if(Vt.pop(),Vt.length==0)return wt}else return this._errors.push(qe.create(null,it.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===at.TokenType.EXPANSION_FORM_END)if(tn(Vt,at.TokenType.EXPANSION_FORM_START))Vt.pop();else return this._errors.push(qe.create(null,it.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===at.TokenType.EOF)return this._errors.push(qe.create(null,it.sourceSpan,"Invalid ICU message. Missing '}'.")),null;wt.push(this._advance())}}_getText(it){let wt=it.parts[0];if(wt.length>0&&wt[0]==`
|
||
`){let Vt=this._getParentElement();Vt!=null&&Vt.children.length==0&&this.getTagDefinition(Vt.name).ignoreFirstLf&&(wt=wt.substring(1))}return wt}_consumeText(it){let wt=this._getText(it);wt.length>0&&this._addToParent(new ot.Text(wt,it.sourceSpan))}_closeVoidElement(){let it=this._getParentElement();it&&this.getTagDefinition(it.name).isVoid&&this._elementStack.pop()}_consumeStartTag(it){let wt=it.parts[0],Vt=it.parts[1],ar=[];for(;this._peek.type===at.TokenType.ATTR_NAME;)ar.push(this._consumeAttr(this._advance()));let tr=this._getElementFullName(wt,Vt,this._getParentElement()),fr=!1;if(this._peek.type===at.TokenType.TAG_OPEN_END_VOID){this._advance(),fr=!0;let ri=this.getTagDefinition(tr);this.canSelfClose||ri.canSelfClose||Pt.getNsPrefix(tr)!==null||ri.isVoid||this._errors.push(qe.create(tr,it.sourceSpan,`Only void and foreign elements can be self closed "${it.parts[1]}"`))}else this._peek.type===at.TokenType.TAG_OPEN_END&&(this._advance(),fr=!1);let rn=this._peek.sourceSpan.start,Mn=new Re.ParseSourceSpan(it.sourceSpan.start,rn),jr=new Re.ParseSourceSpan(it.sourceSpan.start.moveBy(1),it.sourceSpan.end),Nn=new ot.Element(tr,ar,[],Mn,Mn,void 0,jr);this._pushElement(Nn),fr&&(this._popElement(tr),Nn.endSourceSpan=Mn)}_pushElement(it){let wt=this._getParentElement();wt&&this.getTagDefinition(wt.name).isClosedByChild(it.name)&&this._elementStack.pop(),this._addToParent(it),this._elementStack.push(it)}_consumeEndTag(it){let wt=this.allowHtmComponentClosingTags&&it.parts.length===0?null:this._getElementFullName(it.parts[0],it.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=it.sourceSpan),wt&&this.getTagDefinition(wt).isVoid)this._errors.push(qe.create(wt,it.sourceSpan,`Void elements do not have end tags "${it.parts[1]}"`));else if(!this._popElement(wt)){let Vt=`Unexpected closing tag "${wt}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(qe.create(wt,it.sourceSpan,Vt))}}_popElement(it){for(let wt=this._elementStack.length-1;wt>=0;wt--){let Vt=this._elementStack[wt];if(!it||(Pt.getNsPrefix(Vt.name)?Vt.name==it:Vt.name.toLowerCase()==it.toLowerCase()))return this._elementStack.splice(wt,this._elementStack.length-wt),!0;if(!this.getTagDefinition(Vt.name).closedByParent)return!1}return!1}_consumeAttr(it){let wt=Pt.mergeNsAndName(it.parts[0],it.parts[1]),Vt=it.sourceSpan.end,ar="",tr,fr;if(this._peek.type===at.TokenType.ATTR_QUOTE&&(fr=this._advance().sourceSpan.start),this._peek.type===at.TokenType.ATTR_VALUE){let rn=this._advance();ar=rn.parts[0],Vt=rn.sourceSpan.end,tr=rn.sourceSpan}return this._peek.type===at.TokenType.ATTR_QUOTE&&(Vt=this._advance().sourceSpan.end,tr=new Re.ParseSourceSpan(fr,Vt)),new ot.Attribute(wt,ar,new Re.ParseSourceSpan(it.sourceSpan.start,Vt),tr,it.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let it=null;for(let wt=this._elementStack.length-1;wt>=0;wt--){if(!Pt.isNgContainer(this._elementStack[wt].name))return{parent:this._elementStack[wt],container:it};it=this._elementStack[wt]}return{parent:null,container:it}}_addToParent(it){let wt=this._getParentElement();wt!=null?wt.children.push(it):this._rootNodes.push(it)}_insertBeforeContainer(it,wt,Vt){if(!wt)this._addToParent(Vt),this._elementStack.push(Vt);else{if(it){let ar=it.children.indexOf(wt);it.children[ar]=Vt}else this._rootNodes.push(Vt);Vt.children.push(wt),this._elementStack.splice(this._elementStack.indexOf(wt),0,Vt)}}_getElementFullName(it,wt,Vt){return it===""&&(it=this.getTagDefinition(wt).implicitNamespacePrefix||"",it===""&&Vt!=null&&(it=Pt.getNsPrefix(Vt.name))),Pt.mergeNsAndName(it,wt)}};function tn(it,wt){return it.length>0&&it[it.length-1]===wt}}}),Vr=Ge({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Qu(),ot=Ur(),at=Ur();te.ParseTreeResult=at.ParseTreeResult,te.TreeError=at.TreeError;var Pt=class extends ot.Parser{constructor(){super(Re.getHtmlTagDefinition)}parse(qe,ut,Lt){let Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=arguments.length>4?arguments[4]:void 0;return super.parse(qe,ut,Lt,Gt,tn)}};te.HtmlParser=Pt}}),Ar=Ge({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(te){Oe(),Object.defineProperty(te,"__esModule",{value:!0});var Re=Vr(),ot=Na();te.TagContentType=ot.TagContentType;var at=null,Pt=()=>(at||(at=new Re.HtmlParser),at);function qe(ut){let Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:Gt=!1,allowHtmComponentClosingTags:tn=!1,isTagNameCaseSensitive:it=!1,getTagContentType:wt}=Lt;return Pt().parse(ut,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:Gt,allowHtmComponentClosingTags:tn},it,wt)}te.parse=qe}});Oe();var{ParseSourceSpan:mr,ParseLocation:Nr,ParseSourceFile:rr}=Yi(),vn=Ye(),li=Es(),vi=ko(),{inferParserByLanguage:gi}=Iu(),kn=Ko(),Ti=Fo(),Qr=fi(),{hasPragma:Bi}=Ba(),{Node:Fs}=_l(),{parseIeConditionalComment:Xn}=ou(),{locStart:ki,locEnd:xs}=Ru();function Ni(te,Re,ot){let{canSelfClose:at,normalizeTagName:Pt,normalizeAttributeName:qe,allowHtmComponentClosingTags:ut,isTagNameCaseSensitive:Lt,getTagContentType:Gt}=Re,tn=Ar(),{RecursiveVisitor:it,visitAll:wt}=au(),{ParseSourceSpan:Vt}=Yi(),{getHtmlTagDefinition:ar}=Qu(),{rootNodes:tr,errors:fr}=tn.parse(te,{canSelfClose:at,allowHtmComponentClosingTags:ut,isTagNameCaseSensitive:Lt,getTagContentType:Gt});if(ot.parser==="vue")if(tr.some(Er=>Er.type==="docType"&&Er.value==="html"||Er.type==="element"&&Er.name.toLowerCase()==="html")){at=!0,Pt=!0,qe=!0,ut=!0,Lt=!1;let Er=tn.parse(te,{canSelfClose:at,allowHtmComponentClosingTags:ut,isTagNameCaseSensitive:Lt});tr=Er.rootNodes,fr=Er.errors}else{let Er=Zn=>{if(!Zn||Zn.type!=="element"||Zn.name!=="template")return!1;let Jn=Zn.attrs.find(Ei=>Ei.name==="lang"),xi=Jn&&Jn.value;return!xi||gi(xi,ot)==="html"};if(tr.some(Er)){let Zn,Jn=()=>tn.parse(te,{canSelfClose:at,allowHtmComponentClosingTags:ut,isTagNameCaseSensitive:Lt}),xi=()=>Zn||(Zn=Jn()),Ei=Me=>xi().rootNodes.find(st=>{let{startSourceSpan:sr}=st;return sr&&sr.start.offset===Me.startSourceSpan.start.offset});for(let Me=0;Me<tr.length;Me++){let st=tr[Me],{endSourceSpan:sr,startSourceSpan:Xt}=st;if(sr===null)fr=xi().errors,tr[Me]=Ei(st)||st;else if(Er(st)){let Ir=xi(),Ci=Xt.end.offset,Ji=sr.start.offset;for(let to of Ir.errors){let{offset:Is}=to.span.start;if(Ci<Is&&Is<Ji){fr=[to];break}}tr[Me]=Ei(st)||st}}}}if(fr.length>0){let{msg:Er,span:{start:Zn,end:Jn}}=fr[0];throw vi(Er,{start:{line:Zn.line+1,column:Zn.col+1},end:{line:Jn.line+1,column:Jn.col+1}})}let rn=Er=>{let Zn=Er.name.startsWith(":")?Er.name.slice(1).split(":")[0]:null,Jn=Er.nameSpan.toString(),xi=Zn!==null&&Jn.startsWith(`${Zn}:`),Ei=xi?Jn.slice(Zn.length+1):Jn;Er.name=Ei,Er.namespace=Zn,Er.hasExplicitNamespace=xi},Mn=Er=>{switch(Er.type){case"element":rn(Er);for(let Zn of Er.attrs)rn(Zn),Zn.valueSpan?(Zn.value=Zn.valueSpan.toString(),/["']/.test(Zn.value[0])&&(Zn.value=Zn.value.slice(1,-1))):Zn.value=null;break;case"comment":Er.value=Er.sourceSpan.toString().slice(4,-3);break;case"text":Er.value=Er.sourceSpan.toString();break}},jr=(Er,Zn)=>{let Jn=Er.toLowerCase();return Zn(Jn)?Jn:Er},Nn=Er=>{if(Er.type==="element"&&(Pt&&(!Er.namespace||Er.namespace===Er.tagDefinition.implicitNamespacePrefix||Qr(Er))&&(Er.name=jr(Er.name,Zn=>Zn in kn)),qe)){let Zn=Ti[Er.name]||Object.create(null);for(let Jn of Er.attrs)Jn.namespace||(Jn.name=jr(Jn.name,xi=>Er.name in Ti&&(xi in Ti["*"]||xi in Zn)))}},ri=Er=>{Er.sourceSpan&&Er.endSourceSpan&&(Er.sourceSpan=new Vt(Er.sourceSpan.start,Er.endSourceSpan.end))},ts=Er=>{if(Er.type==="element"){let Zn=ar(Lt?Er.name:Er.name.toLowerCase());!Er.namespace||Er.namespace===Zn.implicitNamespacePrefix||Qr(Er)?Er.tagDefinition=Zn:Er.tagDefinition=ar("")}};return wt(new class extends it{visit(Er){Mn(Er),ts(Er),Nn(Er),ri(Er)}},tr),tr}function Hi(te,Re,ot){let at=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:Pt,content:qe}=at?vn(te):{frontMatter:null,content:te},ut=new rr(te,Re.filepath),Lt=new Nr(ut,0,0,0),Gt=Lt.moveBy(te.length),tn={type:"root",sourceSpan:new mr(Lt,Gt),children:Ni(qe,ot,Re)};if(Pt){let Vt=new Nr(ut,0,0,0),ar=Vt.moveBy(Pt.raw.length);Pt.sourceSpan=new mr(Vt,ar),tn.children.unshift(Pt)}let it=new Fs(tn),wt=(Vt,ar)=>{let{offset:tr}=ar,fr=te.slice(0,tr).replace(/[^\n\r]/g," "),rn=Hi(fr+Vt,Re,ot,!1);rn.sourceSpan=new mr(ar,li(rn.children).sourceSpan.end);let Mn=rn.children[0];return Mn.length===tr?rn.children.shift():(Mn.sourceSpan=new mr(Mn.sourceSpan.start.moveBy(tr),Mn.sourceSpan.end),Mn.value=Mn.value.slice(tr)),rn};return it.walk(Vt=>{if(Vt.type==="comment"){let ar=Xn(Vt,wt);ar&&Vt.parent.replaceChild(Vt,ar)}}),it}function eo(){let{name:te,canSelfClose:Re=!1,normalizeTagName:ot=!1,normalizeAttributeName:at=!1,allowHtmComponentClosingTags:Pt=!1,isTagNameCaseSensitive:qe=!1,getTagContentType:ut}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(Lt,Gt,tn)=>Hi(Lt,Object.assign({parser:te},tn),{canSelfClose:Re,normalizeTagName:ot,normalizeAttributeName:at,allowHtmComponentClosingTags:Pt,isTagNameCaseSensitive:qe,getTagContentType:ut}),hasPragma:Bi,astFormat:"html",locStart:ki,locEnd:xs}}$e.exports={parsers:{html:eo({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:eo({name:"angular",canSelfClose:!0}),vue:eo({name:"vue",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(te,Re,ot,at)=>{if(te.toLowerCase()!=="html"&&!ot&&(te!=="template"||at.some(Pt=>{let{name:qe,value:ut}=Pt;return qe==="lang"&&ut!=="html"&&ut!==""&&ut!==void 0})))return Ar().TagContentType.RAW_TEXT}}),lwc:eo({name:"lwc"})}}});return vt()})})(Pw);var l6=Pw.exports;const c6=Qg(l6);var kw={exports:{}};(function(r,e){(function(t){r.exports=t()})(function(){var t=(Dr,xt)=>()=>(xt||Dr((xt={exports:{}}).exports,xt),xt.exports),n=t((Dr,xt)=>{var Ot=function(At){return At&&At.Math==Math&&At};xt.exports=Ot(typeof globalThis=="object"&&globalThis)||Ot(typeof window=="object"&&window)||Ot(typeof self=="object"&&self)||Ot(typeof rc=="object"&&rc)||function(){return this}()||Function("return this")()}),i=t((Dr,xt)=>{xt.exports=function(Ot){try{return!!Ot()}catch{return!0}}}),s=t((Dr,xt)=>{var Ot=i();xt.exports=!Ot(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),a=t((Dr,xt)=>{var Ot=i();xt.exports=!Ot(function(){var At=(function(){}).bind();return typeof At!="function"||At.hasOwnProperty("prototype")})}),l=t((Dr,xt)=>{var Ot=a(),At=Function.prototype.call;xt.exports=Ot?At.bind(At):function(){return At.apply(At,arguments)}}),p=t(Dr=>{var xt={}.propertyIsEnumerable,Ot=Object.getOwnPropertyDescriptor,At=Ot&&!xt.call({1:2},1);Dr.f=At?function(vt){var Ke=Ot(this,vt);return!!Ke&&Ke.enumerable}:xt}),m=t((Dr,xt)=>{xt.exports=function(Ot,At){return{enumerable:!(Ot&1),configurable:!(Ot&2),writable:!(Ot&4),value:At}}}),g=t((Dr,xt)=>{var Ot=a(),At=Function.prototype,vt=At.call,Ke=Ot&&At.bind.bind(vt,vt);xt.exports=Ot?Ke:function($e){return function(){return vt.apply($e,arguments)}}}),b=t((Dr,xt)=>{var Ot=g(),At=Ot({}.toString),vt=Ot("".slice);xt.exports=function(Ke){return vt(At(Ke),8,-1)}}),S=t((Dr,xt)=>{var Ot=g(),At=i(),vt=b(),Ke=Object,$e=Ot("".split);xt.exports=At(function(){return!Ke("z").propertyIsEnumerable(0)})?function(Ie){return vt(Ie)=="String"?$e(Ie,""):Ke(Ie)}:Ke}),$=t((Dr,xt)=>{xt.exports=function(Ot){return Ot==null}}),G=t((Dr,xt)=>{var Ot=$(),At=TypeError;xt.exports=function(vt){if(Ot(vt))throw At("Can't call method on "+vt);return vt}}),be=t((Dr,xt)=>{var Ot=S(),At=G();xt.exports=function(vt){return Ot(At(vt))}}),ke=t((Dr,xt)=>{var Ot=typeof document=="object"&&document.all,At=typeof Ot>"u"&&Ot!==void 0;xt.exports={all:Ot,IS_HTMLDDA:At}}),me=t((Dr,xt)=>{var Ot=ke(),At=Ot.all;xt.exports=Ot.IS_HTMLDDA?function(vt){return typeof vt=="function"||vt===At}:function(vt){return typeof vt=="function"}}),Ve=t((Dr,xt)=>{var Ot=me(),At=ke(),vt=At.all;xt.exports=At.IS_HTMLDDA?function(Ke){return typeof Ke=="object"?Ke!==null:Ot(Ke)||Ke===vt}:function(Ke){return typeof Ke=="object"?Ke!==null:Ot(Ke)}}),Dt=t((Dr,xt)=>{var Ot=n(),At=me(),vt=function(Ke){return At(Ke)?Ke:void 0};xt.exports=function(Ke,$e){return arguments.length<2?vt(Ot[Ke]):Ot[Ke]&&Ot[Ke][$e]}}),ht=t((Dr,xt)=>{var Ot=g();xt.exports=Ot({}.isPrototypeOf)}),bt=t((Dr,xt)=>{var Ot=Dt();xt.exports=Ot("navigator","userAgent")||""}),Yt=t((Dr,xt)=>{var Ot=n(),At=bt(),vt=Ot.process,Ke=Ot.Deno,$e=vt&&vt.versions||Ke&&Ke.version,Ie=$e&&$e.v8,Ze,ge;Ie&&(Ze=Ie.split("."),ge=Ze[0]>0&&Ze[0]<4?1:+(Ze[0]+Ze[1])),!ge&&At&&(Ze=At.match(/Edge\/(\d+)/),(!Ze||Ze[1]>=74)&&(Ze=At.match(/Chrome\/(\d+)/),Ze&&(ge=+Ze[1]))),xt.exports=ge}),ir=t((Dr,xt)=>{var Ot=Yt(),At=i();xt.exports=!!Object.getOwnPropertySymbols&&!At(function(){var vt=Symbol();return!String(vt)||!(Object(vt)instanceof Symbol)||!Symbol.sham&&Ot&&Ot<41})}),qr=t((Dr,xt)=>{var Ot=ir();xt.exports=Ot&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),yr=t((Dr,xt)=>{var Ot=Dt(),At=me(),vt=ht(),Ke=qr(),$e=Object;xt.exports=Ke?function(Ie){return typeof Ie=="symbol"}:function(Ie){var Ze=Ot("Symbol");return At(Ze)&&vt(Ze.prototype,$e(Ie))}}),kr=t((Dr,xt)=>{var Ot=String;xt.exports=function(At){try{return Ot(At)}catch{return"Object"}}}),Zr=t((Dr,xt)=>{var Ot=me(),At=kr(),vt=TypeError;xt.exports=function(Ke){if(Ot(Ke))return Ke;throw vt(At(Ke)+" is not a function")}}),zn=t((Dr,xt)=>{var Ot=Zr(),At=$();xt.exports=function(vt,Ke){var $e=vt[Ke];return At($e)?void 0:Ot($e)}}),Gn=t((Dr,xt)=>{var Ot=l(),At=me(),vt=Ve(),Ke=TypeError;xt.exports=function($e,Ie){var Ze,ge;if(Ie==="string"&&At(Ze=$e.toString)&&!vt(ge=Ot(Ze,$e))||At(Ze=$e.valueOf)&&!vt(ge=Ot(Ze,$e))||Ie!=="string"&&At(Ze=$e.toString)&&!vt(ge=Ot(Ze,$e)))return ge;throw Ke("Can't convert object to primitive value")}}),Ii=t((Dr,xt)=>{xt.exports=!1}),ii=t((Dr,xt)=>{var Ot=n(),At=Object.defineProperty;xt.exports=function(vt,Ke){try{At(Ot,vt,{value:Ke,configurable:!0,writable:!0})}catch{Ot[vt]=Ke}return Ke}}),Sn=t((Dr,xt)=>{var Ot=n(),At=ii(),vt="__core-js_shared__",Ke=Ot[vt]||At(vt,{});xt.exports=Ke}),Wn=t((Dr,xt)=>{var Ot=Ii(),At=Sn();(xt.exports=function(vt,Ke){return At[vt]||(At[vt]=Ke!==void 0?Ke:{})})("versions",[]).push({version:"3.26.1",mode:Ot?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),jn=t((Dr,xt)=>{var Ot=G(),At=Object;xt.exports=function(vt){return At(Ot(vt))}}),Bn=t((Dr,xt)=>{var Ot=g(),At=jn(),vt=Ot({}.hasOwnProperty);xt.exports=Object.hasOwn||function(Ke,$e){return vt(At(Ke),$e)}}),$i=t((Dr,xt)=>{var Ot=g(),At=0,vt=Math.random(),Ke=Ot(1 .toString);xt.exports=function($e){return"Symbol("+($e===void 0?"":$e)+")_"+Ke(++At+vt,36)}}),Ui=t((Dr,xt)=>{var Ot=n(),At=Wn(),vt=Bn(),Ke=$i(),$e=ir(),Ie=qr(),Ze=At("wks"),ge=Ot.Symbol,le=ge&&ge.for,ae=Ie?ge:ge&&ge.withoutSetter||Ke;xt.exports=function(Ee){if(!vt(Ze,Ee)||!($e||typeof Ze[Ee]=="string")){var xe="Symbol."+Ee;$e&&vt(ge,Ee)?Ze[Ee]=ge[Ee]:Ie&&le?Ze[Ee]=le(xe):Ze[Ee]=ae(xe)}return Ze[Ee]}}),os=t((Dr,xt)=>{var Ot=l(),At=Ve(),vt=yr(),Ke=zn(),$e=Gn(),Ie=Ui(),Ze=TypeError,ge=Ie("toPrimitive");xt.exports=function(le,ae){if(!At(le)||vt(le))return le;var Ee=Ke(le,ge),xe;if(Ee){if(ae===void 0&&(ae="default"),xe=Ot(Ee,le,ae),!At(xe)||vt(xe))return xe;throw Ze("Can't convert object to primitive value")}return ae===void 0&&(ae="number"),$e(le,ae)}}),ds=t((Dr,xt)=>{var Ot=os(),At=yr();xt.exports=function(vt){var Ke=Ot(vt,"string");return At(Ke)?Ke:Ke+""}}),us=t((Dr,xt)=>{var Ot=n(),At=Ve(),vt=Ot.document,Ke=At(vt)&&At(vt.createElement);xt.exports=function($e){return Ke?vt.createElement($e):{}}}),Xs=t((Dr,xt)=>{var Ot=s(),At=i(),vt=us();xt.exports=!Ot&&!At(function(){return Object.defineProperty(vt("div"),"a",{get:function(){return 7}}).a!=7})}),Ts=t(Dr=>{var xt=s(),Ot=l(),At=p(),vt=m(),Ke=be(),$e=ds(),Ie=Bn(),Ze=Xs(),ge=Object.getOwnPropertyDescriptor;Dr.f=xt?ge:function(le,ae){if(le=Ke(le),ae=$e(ae),Ze)try{return ge(le,ae)}catch{}if(Ie(le,ae))return vt(!Ot(At.f,le,ae),le[ae])}}),Sr=t((Dr,xt)=>{var Ot=s(),At=i();xt.exports=Ot&&At(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),cn=t((Dr,xt)=>{var Ot=Ve(),At=String,vt=TypeError;xt.exports=function(Ke){if(Ot(Ke))return Ke;throw vt(At(Ke)+" is not an object")}}),zr=t(Dr=>{var xt=s(),Ot=Xs(),At=Sr(),vt=cn(),Ke=ds(),$e=TypeError,Ie=Object.defineProperty,Ze=Object.getOwnPropertyDescriptor,ge="enumerable",le="configurable",ae="writable";Dr.f=xt?At?function(Ee,xe,Le){if(vt(Ee),xe=Ke(xe),vt(Le),typeof Ee=="function"&&xe==="prototype"&&"value"in Le&&ae in Le&&!Le[ae]){var nt=Ze(Ee,xe);nt&&nt[ae]&&(Ee[xe]=Le.value,Le={configurable:le in Le?Le[le]:nt[le],enumerable:ge in Le?Le[ge]:nt[ge],writable:!1})}return Ie(Ee,xe,Le)}:Ie:function(Ee,xe,Le){if(vt(Ee),xe=Ke(xe),vt(Le),Ot)try{return Ie(Ee,xe,Le)}catch{}if("get"in Le||"set"in Le)throw $e("Accessors not supported");return"value"in Le&&(Ee[xe]=Le.value),Ee}}),In=t((Dr,xt)=>{var Ot=s(),At=zr(),vt=m();xt.exports=Ot?function(Ke,$e,Ie){return At.f(Ke,$e,vt(1,Ie))}:function(Ke,$e,Ie){return Ke[$e]=Ie,Ke}}),Ki=t((Dr,xt)=>{var Ot=s(),At=Bn(),vt=Function.prototype,Ke=Ot&&Object.getOwnPropertyDescriptor,$e=At(vt,"name"),Ie=$e&&(function(){}).name==="something",Ze=$e&&(!Ot||Ot&&Ke(vt,"name").configurable);xt.exports={EXISTS:$e,PROPER:Ie,CONFIGURABLE:Ze}}),tt=t((Dr,xt)=>{var Ot=g(),At=me(),vt=Sn(),Ke=Ot(Function.toString);At(vt.inspectSource)||(vt.inspectSource=function($e){return Ke($e)}),xt.exports=vt.inspectSource}),gt=t((Dr,xt)=>{var Ot=n(),At=me(),vt=Ot.WeakMap;xt.exports=At(vt)&&/native code/.test(String(vt))}),Zt=t((Dr,xt)=>{var Ot=Wn(),At=$i(),vt=Ot("keys");xt.exports=function(Ke){return vt[Ke]||(vt[Ke]=At(Ke))}}),dr=t((Dr,xt)=>{xt.exports={}}),Fr=t((Dr,xt)=>{var Ot=gt(),At=n(),vt=Ve(),Ke=In(),$e=Bn(),Ie=Sn(),Ze=Zt(),ge=dr(),le="Object already initialized",ae=At.TypeError,Ee=At.WeakMap,xe,Le,nt,dt=function(er){return nt(er)?Le(er):xe(er,{})},Ge=function(er){return function(Or){var Cr;if(!vt(Or)||(Cr=Le(Or)).type!==er)throw ae("Incompatible receiver, "+er+" required");return Cr}};Ot||Ie.state?(Ct=Ie.state||(Ie.state=new Ee),Ct.get=Ct.get,Ct.has=Ct.has,Ct.set=Ct.set,xe=function(er,Or){if(Ct.has(er))throw ae(le);return Or.facade=er,Ct.set(er,Or),Or},Le=function(er){return Ct.get(er)||{}},nt=function(er){return Ct.has(er)}):(or=Ze("state"),ge[or]=!0,xe=function(er,Or){if($e(er,or))throw ae(le);return Or.facade=er,Ke(er,or,Or),Or},Le=function(er){return $e(er,or)?er[or]:{}},nt=function(er){return $e(er,or)});var Ct,or;xt.exports={set:xe,get:Le,has:nt,enforce:dt,getterFor:Ge}}),Lr=t((Dr,xt)=>{var Ot=i(),At=me(),vt=Bn(),Ke=s(),$e=Ki().CONFIGURABLE,Ie=tt(),Ze=Fr(),ge=Ze.enforce,le=Ze.get,ae=Object.defineProperty,Ee=Ke&&!Ot(function(){return ae(function(){},"length",{value:8}).length!==8}),xe=String(String).split("String"),Le=xt.exports=function(nt,dt,Ge){String(dt).slice(0,7)==="Symbol("&&(dt="["+String(dt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Ge&&Ge.getter&&(dt="get "+dt),Ge&&Ge.setter&&(dt="set "+dt),(!vt(nt,"name")||$e&&nt.name!==dt)&&(Ke?ae(nt,"name",{value:dt,configurable:!0}):nt.name=dt),Ee&&Ge&&vt(Ge,"arity")&&nt.length!==Ge.arity&&ae(nt,"length",{value:Ge.arity});try{Ge&&vt(Ge,"constructor")&&Ge.constructor?Ke&&ae(nt,"prototype",{writable:!1}):nt.prototype&&(nt.prototype=void 0)}catch{}var Ct=ge(nt);return vt(Ct,"source")||(Ct.source=xe.join(typeof dt=="string"?dt:"")),nt};Function.prototype.toString=Le(function(){return At(this)&&le(this).source||Ie(this)},"toString")}),yn=t((Dr,xt)=>{var Ot=me(),At=zr(),vt=Lr(),Ke=ii();xt.exports=function($e,Ie,Ze,ge){ge||(ge={});var le=ge.enumerable,ae=ge.name!==void 0?ge.name:Ie;if(Ot(Ze)&&vt(Ze,ae,ge),ge.global)le?$e[Ie]=Ze:Ke(Ie,Ze);else{try{ge.unsafe?$e[Ie]&&(le=!0):delete $e[Ie]}catch{}le?$e[Ie]=Ze:At.f($e,Ie,{value:Ze,enumerable:!1,configurable:!ge.nonConfigurable,writable:!ge.nonWritable})}return $e}}),Jr=t((Dr,xt)=>{var Ot=Math.ceil,At=Math.floor;xt.exports=Math.trunc||function(vt){var Ke=+vt;return(Ke>0?At:Ot)(Ke)}}),on=t((Dr,xt)=>{var Ot=Jr();xt.exports=function(At){var vt=+At;return vt!==vt||vt===0?0:Ot(vt)}}),Xr=t((Dr,xt)=>{var Ot=on(),At=Math.max,vt=Math.min;xt.exports=function(Ke,$e){var Ie=Ot(Ke);return Ie<0?At(Ie+$e,0):vt(Ie,$e)}}),ei=t((Dr,xt)=>{var Ot=on(),At=Math.min;xt.exports=function(vt){return vt>0?At(Ot(vt),9007199254740991):0}}),xn=t((Dr,xt)=>{var Ot=ei();xt.exports=function(At){return Ot(At.length)}}),ti=t((Dr,xt)=>{var Ot=be(),At=Xr(),vt=xn(),Ke=function($e){return function(Ie,Ze,ge){var le=Ot(Ie),ae=vt(le),Ee=At(ge,ae),xe;if($e&&Ze!=Ze){for(;ae>Ee;)if(xe=le[Ee++],xe!=xe)return!0}else for(;ae>Ee;Ee++)if(($e||Ee in le)&&le[Ee]===Ze)return $e||Ee||0;return!$e&&-1}};xt.exports={includes:Ke(!0),indexOf:Ke(!1)}}),Ai=t((Dr,xt)=>{var Ot=g(),At=Bn(),vt=be(),Ke=ti().indexOf,$e=dr(),Ie=Ot([].push);xt.exports=function(Ze,ge){var le=vt(Ze),ae=0,Ee=[],xe;for(xe in le)!At($e,xe)&&At(le,xe)&&Ie(Ee,xe);for(;ge.length>ae;)At(le,xe=ge[ae++])&&(~Ke(Ee,xe)||Ie(Ee,xe));return Ee}}),ji=t((Dr,xt)=>{xt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),ls=t(Dr=>{var xt=Ai(),Ot=ji(),At=Ot.concat("length","prototype");Dr.f=Object.getOwnPropertyNames||function(vt){return xt(vt,At)}}),is=t(Dr=>{Dr.f=Object.getOwnPropertySymbols}),Ps=t((Dr,xt)=>{var Ot=Dt(),At=g(),vt=ls(),Ke=is(),$e=cn(),Ie=At([].concat);xt.exports=Ot("Reflect","ownKeys")||function(Ze){var ge=vt.f($e(Ze)),le=Ke.f;return le?Ie(ge,le(Ze)):ge}}),Co=t((Dr,xt)=>{var Ot=Bn(),At=Ps(),vt=Ts(),Ke=zr();xt.exports=function($e,Ie,Ze){for(var ge=At(Ie),le=Ke.f,ae=vt.f,Ee=0;Ee<ge.length;Ee++){var xe=ge[Ee];!Ot($e,xe)&&!(Ze&&Ot(Ze,xe))&&le($e,xe,ae(Ie,xe))}}}),ya=t((Dr,xt)=>{var Ot=i(),At=me(),vt=/#|\.prototype\./,Ke=function(le,ae){var Ee=Ie[$e(le)];return Ee==ge?!0:Ee==Ze?!1:At(ae)?Ot(ae):!!ae},$e=Ke.normalize=function(le){return String(le).replace(vt,".").toLowerCase()},Ie=Ke.data={},Ze=Ke.NATIVE="N",ge=Ke.POLYFILL="P";xt.exports=Ke}),Go=t((Dr,xt)=>{var Ot=n(),At=Ts().f,vt=In(),Ke=yn(),$e=ii(),Ie=Co(),Ze=ya();xt.exports=function(ge,le){var ae=ge.target,Ee=ge.global,xe=ge.stat,Le,nt,dt,Ge,Ct,or;if(Ee?nt=Ot:xe?nt=Ot[ae]||$e(ae,{}):nt=(Ot[ae]||{}).prototype,nt)for(dt in le){if(Ct=le[dt],ge.dontCallGetSet?(or=At(nt,dt),Ge=or&&or.value):Ge=nt[dt],Le=Ze(Ee?dt:ae+(xe?".":"#")+dt,ge.forced),!Le&&Ge!==void 0){if(typeof Ct==typeof Ge)continue;Ie(Ct,Ge)}(ge.sham||Ge&&Ge.sham)&&vt(Ct,"sham",!0),Ke(nt,dt,Ct,ge)}}}),Da=t(()=>{var Dr=Go(),xt=n();Dr({global:!0,forced:xt.globalThis!==xt},{globalThis:xt})}),Fu=t(()=>{Da()}),so=t((Dr,xt)=>{var Ot=Lr(),At=zr();xt.exports=function(vt,Ke,$e){return $e.get&&Ot($e.get,Ke,{getter:!0}),$e.set&&Ot($e.set,Ke,{setter:!0}),At.f(vt,Ke,$e)}}),Hr=t((Dr,xt)=>{var Ot=cn();xt.exports=function(){var At=Ot(this),vt="";return At.hasIndices&&(vt+="d"),At.global&&(vt+="g"),At.ignoreCase&&(vt+="i"),At.multiline&&(vt+="m"),At.dotAll&&(vt+="s"),At.unicode&&(vt+="u"),At.unicodeSets&&(vt+="v"),At.sticky&&(vt+="y"),vt}}),Kt=t(()=>{var Dr=n(),xt=s(),Ot=so(),At=Hr(),vt=i(),Ke=Dr.RegExp,$e=Ke.prototype,Ie=xt&&vt(function(){var Ze=!0;try{Ke(".","d")}catch{Ze=!1}var ge={},le="",ae=Ze?"dgimsy":"gimsy",Ee=function(dt,Ge){Object.defineProperty(ge,dt,{get:function(){return le+=Ge,!0}})},xe={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};Ze&&(xe.hasIndices="d");for(var Le in xe)Ee(Le,xe[Le]);var nt=Object.getOwnPropertyDescriptor($e,"flags").get.call(ge);return nt!==ae||le!==ae});Ie&&Ot($e,"flags",{configurable:!0,get:At})}),Ht=t((Dr,xt)=>{var Ot=b();xt.exports=Array.isArray||function(At){return Ot(At)=="Array"}}),lr=t((Dr,xt)=>{var Ot=TypeError,At=9007199254740991;xt.exports=function(vt){if(vt>At)throw Ot("Maximum allowed index exceeded");return vt}}),cr=t((Dr,xt)=>{var Ot=b(),At=g();xt.exports=function(vt){if(Ot(vt)==="Function")return At(vt)}}),vr=t((Dr,xt)=>{var Ot=cr(),At=Zr(),vt=a(),Ke=Ot(Ot.bind);xt.exports=function($e,Ie){return At($e),Ie===void 0?$e:vt?Ke($e,Ie):function(){return $e.apply(Ie,arguments)}}}),Kr=t((Dr,xt)=>{var Ot=Ht(),At=xn(),vt=lr(),Ke=vr(),$e=function(Ie,Ze,ge,le,ae,Ee,xe,Le){for(var nt=ae,dt=0,Ge=xe?Ke(xe,Le):!1,Ct,or;dt<le;)dt in ge&&(Ct=Ge?Ge(ge[dt],dt,Ze):ge[dt],Ee>0&&Ot(Ct)?(or=At(Ct),nt=$e(Ie,Ze,Ct,or,nt,Ee-1)-1):(vt(nt+1),Ie[nt]=Ct),nt++),dt++;return nt};xt.exports=$e}),Rt=t((Dr,xt)=>{var Ot=Ui(),At=Ot("toStringTag"),vt={};vt[At]="z",xt.exports=String(vt)==="[object z]"}),En=t((Dr,xt)=>{var Ot=Rt(),At=me(),vt=b(),Ke=Ui(),$e=Ke("toStringTag"),Ie=Object,Ze=vt(function(){return arguments}())=="Arguments",ge=function(le,ae){try{return le[ae]}catch{}};xt.exports=Ot?vt:function(le){var ae,Ee,xe;return le===void 0?"Undefined":le===null?"Null":typeof(Ee=ge(ae=Ie(le),$e))=="string"?Ee:Ze?vt(ae):(xe=vt(ae))=="Object"&&At(ae.callee)?"Arguments":xe}}),$n=t((Dr,xt)=>{var Ot=g(),At=i(),vt=me(),Ke=En(),$e=Dt(),Ie=tt(),Ze=function(){},ge=[],le=$e("Reflect","construct"),ae=/^\s*(?:class|function)\b/,Ee=Ot(ae.exec),xe=!ae.exec(Ze),Le=function(dt){if(!vt(dt))return!1;try{return le(Ze,ge,dt),!0}catch{return!1}},nt=function(dt){if(!vt(dt))return!1;switch(Ke(dt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return xe||!!Ee(ae,Ie(dt))}catch{return!0}};nt.sham=!0,xt.exports=!le||At(function(){var dt;return Le(Le.call)||!Le(Object)||!Le(function(){dt=!0})||dt})?nt:Le}),Hn=t((Dr,xt)=>{var Ot=Ht(),At=$n(),vt=Ve(),Ke=Ui(),$e=Ke("species"),Ie=Array;xt.exports=function(Ze){var ge;return Ot(Ze)&&(ge=Ze.constructor,At(ge)&&(ge===Ie||Ot(ge.prototype))?ge=void 0:vt(ge)&&(ge=ge[$e],ge===null&&(ge=void 0))),ge===void 0?Ie:ge}}),qt=t((Dr,xt)=>{var Ot=Hn();xt.exports=function(At,vt){return new(Ot(At))(vt===0?0:vt)}}),ai=t(()=>{var Dr=Go(),xt=Kr(),Ot=Zr(),At=jn(),vt=xn(),Ke=qt();Dr({target:"Array",proto:!0},{flatMap:function($e){var Ie=At(this),Ze=vt(Ie),ge;return Ot($e),ge=Ke(Ie,0),ge.length=xt(ge,Ie,Ie,Ze,0,1,$e,arguments.length>1?arguments[1]:void 0),ge}})}),mi=t((Dr,xt)=>{Fu(),Kt(),ai();var Ot=Object.defineProperty,At=Object.getOwnPropertyDescriptor,vt=Object.getOwnPropertyNames,Ke=Object.prototype.hasOwnProperty,$e=(bn,Ur)=>function(){return bn&&(Ur=(0,bn[vt(bn)[0]])(bn=0)),Ur},Ie=(bn,Ur)=>function(){return Ur||(0,bn[vt(bn)[0]])((Ur={exports:{}}).exports,Ur),Ur.exports},Ze=(bn,Ur)=>{for(var Vr in Ur)Ot(bn,Vr,{get:Ur[Vr],enumerable:!0})},ge=(bn,Ur,Vr,Ar)=>{if(Ur&&typeof Ur=="object"||typeof Ur=="function")for(let mr of vt(Ur))!Ke.call(bn,mr)&&mr!==Vr&&Ot(bn,mr,{get:()=>Ur[mr],enumerable:!(Ar=At(Ur,mr))||Ar.enumerable});return bn},le=bn=>ge(Ot({},"__esModule",{value:!0}),bn),ae=$e({"<define:process>"(){}}),Ee=Ie({"src/utils/try-combinations.js"(bn,Ur){ae();function Vr(){let Ar;for(var mr=arguments.length,Nr=new Array(mr),rr=0;rr<mr;rr++)Nr[rr]=arguments[rr];for(let[vn,li]of Nr.entries())try{return{result:li()}}catch(vi){vn===0&&(Ar=vi)}return{error:Ar}}Ur.exports=Vr}}),xe=Ie({"src/language-js/utils/get-shebang.js"(bn,Ur){ae();function Vr(Ar){if(!Ar.startsWith("#!"))return"";let mr=Ar.indexOf(`
|
||
`);return mr===-1?Ar:Ar.slice(0,mr)}Ur.exports=Vr}}),Le=Ie({"src/utils/text/skip-inline-comment.js"(bn,Ur){ae();function Vr(Ar,mr){if(mr===!1)return!1;if(Ar.charAt(mr)==="/"&&Ar.charAt(mr+1)==="*"){for(let Nr=mr+2;Nr<Ar.length;++Nr)if(Ar.charAt(Nr)==="*"&&Ar.charAt(Nr+1)==="/")return Nr+2}return mr}Ur.exports=Vr}}),nt=Ie({"src/utils/text/skip-newline.js"(bn,Ur){ae();function Vr(Ar,mr,Nr){let rr=Nr&&Nr.backwards;if(mr===!1)return!1;let vn=Ar.charAt(mr);if(rr){if(Ar.charAt(mr-1)==="\r"&&vn===`
|
||
`)return mr-2;if(vn===`
|
||
`||vn==="\r"||vn==="\u2028"||vn==="\u2029")return mr-1}else{if(vn==="\r"&&Ar.charAt(mr+1)===`
|
||
`)return mr+2;if(vn===`
|
||
`||vn==="\r"||vn==="\u2028"||vn==="\u2029")return mr+1}return mr}Ur.exports=Vr}}),dt=Ie({"src/utils/text/skip.js"(bn,Ur){ae();function Vr(vn){return(li,vi,gi)=>{let kn=gi&&gi.backwards;if(vi===!1)return!1;let{length:Ti}=li,Qr=vi;for(;Qr>=0&&Qr<Ti;){let Bi=li.charAt(Qr);if(vn instanceof RegExp){if(!vn.test(Bi))return Qr}else if(!vn.includes(Bi))return Qr;kn?Qr--:Qr++}return Qr===-1||Qr===Ti?Qr:!1}}var Ar=Vr(/\s/),mr=Vr(" "),Nr=Vr(",; "),rr=Vr(/[^\n\r]/);Ur.exports={skipWhitespace:Ar,skipSpaces:mr,skipToLineEnd:Nr,skipEverythingButNewLine:rr}}}),Ge=Ie({"src/utils/text/skip-trailing-comment.js"(bn,Ur){ae();var{skipEverythingButNewLine:Vr}=dt();function Ar(mr,Nr){return Nr===!1?!1:mr.charAt(Nr)==="/"&&mr.charAt(Nr+1)==="/"?Vr(mr,Nr):Nr}Ur.exports=Ar}}),Ct=Ie({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(bn,Ur){ae();var Vr=Le(),Ar=nt(),mr=Ge(),{skipSpaces:Nr}=dt();function rr(vn,li){let vi=null,gi=li;for(;gi!==vi;)vi=gi,gi=Nr(vn,gi),gi=Vr(vn,gi),gi=mr(vn,gi),gi=Ar(vn,gi);return gi}Ur.exports=rr}}),or={};Ze(or,{EOL:()=>Jo,arch:()=>ko,cpus:()=>ui,default:()=>ao,endianness:()=>er,freemem:()=>pn,getNetworkInterfaces:()=>Es,hostname:()=>Or,loadavg:()=>Cr,networkInterfaces:()=>Ye,platform:()=>Ho,release:()=>Yi,tmpDir:()=>vs,tmpdir:()=>Cs,totalmem:()=>mn,type:()=>Oi,uptime:()=>Oe});function er(){if(typeof fo>"u"){var bn=new ArrayBuffer(2),Ur=new Uint8Array(bn),Vr=new Uint16Array(bn);if(Ur[0]=1,Ur[1]=2,Vr[0]===258)fo="BE";else if(Vr[0]===513)fo="LE";else throw new Error("unable to figure out endianess")}return fo}function Or(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Cr(){return[]}function Oe(){return 0}function pn(){return Number.MAX_VALUE}function mn(){return Number.MAX_VALUE}function ui(){return[]}function Oi(){return"Browser"}function Yi(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Ye(){}function Es(){}function ko(){return"javascript"}function Ho(){return"browser"}function vs(){return"/tmp"}var fo,Cs,Jo,ao,Ks=$e({"node-modules-polyfills:os"(){ae(),Cs=vs,Jo=`
|
||
`,ao={EOL:Jo,tmpdir:Cs,tmpDir:vs,networkInterfaces:Ye,getNetworkInterfaces:Es,release:Yi,type:Oi,cpus:ui,totalmem:mn,freemem:pn,uptime:Oe,loadavg:Cr,hostname:Or,endianness:er}}}),_u=Ie({"node-modules-polyfills-commonjs:os"(bn,Ur){ae();var Vr=(Ks(),le(or));if(Vr&&Vr.default){Ur.exports=Vr.default;for(let Ar in Vr)Ur.exports[Ar]=Vr[Ar]}else Vr&&(Ur.exports=Vr)}}),So=Ie({"node_modules/detect-newline/index.js"(bn,Ur){ae();var Vr=Ar=>{if(typeof Ar!="string")throw new TypeError("Expected a string");let mr=Ar.match(/(?:\r?\n)/g)||[];if(mr.length===0)return;let Nr=mr.filter(vn=>vn===`\r
|
||
`).length,rr=mr.length-Nr;return Nr>rr?`\r
|
||
`:`
|
||
`};Ur.exports=Vr,Ur.exports.graceful=Ar=>typeof Ar=="string"&&Vr(Ar)||`
|
||
`}}),Ys=Ie({"node_modules/jest-docblock/build/index.js"(bn){ae(),Object.defineProperty(bn,"__esModule",{value:!0}),bn.extract=Qr,bn.parse=Fs,bn.parseWithComments=Xn,bn.print=ki,bn.strip=Bi;function Ur(){let Ni=_u();return Ur=function(){return Ni},Ni}function Vr(){let Ni=Ar(So());return Vr=function(){return Ni},Ni}function Ar(Ni){return Ni&&Ni.__esModule?Ni:{default:Ni}}var mr=/\*\/$/,Nr=/^\/\*\*?/,rr=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,vn=/(^|\s+)\/\/([^\r\n]*)/g,li=/^(\r?\n)+/,vi=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,gi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,kn=/(\r?\n|^) *\* ?/g,Ti=[];function Qr(Ni){let Hi=Ni.match(rr);return Hi?Hi[0].trimLeft():""}function Bi(Ni){let Hi=Ni.match(rr);return Hi&&Hi[0]?Ni.substring(Hi[0].length):Ni}function Fs(Ni){return Xn(Ni).pragmas}function Xn(Ni){let Hi=(0,Vr().default)(Ni)||Ur().EOL;Ni=Ni.replace(Nr,"").replace(mr,"").replace(kn,"$1");let eo="";for(;eo!==Ni;)eo=Ni,Ni=Ni.replace(vi,`${Hi}$1 $2${Hi}`);Ni=Ni.replace(li,"").trimRight();let te=Object.create(null),Re=Ni.replace(gi,"").replace(li,"").trimRight(),ot;for(;ot=gi.exec(Ni);){let at=ot[2].replace(vn,"");typeof te[ot[1]]=="string"||Array.isArray(te[ot[1]])?te[ot[1]]=Ti.concat(te[ot[1]],at):te[ot[1]]=at}return{comments:Re,pragmas:te}}function ki(Ni){let{comments:Hi="",pragmas:eo={}}=Ni,te=(0,Vr().default)(Hi)||Ur().EOL,Re="/**",ot=" *",at=" */",Pt=Object.keys(eo),qe=Pt.map(Lt=>xs(Lt,eo[Lt])).reduce((Lt,Gt)=>Lt.concat(Gt),[]).map(Lt=>`${ot} ${Lt}${te}`).join("");if(!Hi){if(Pt.length===0)return"";if(Pt.length===1&&!Array.isArray(eo[Pt[0]])){let Lt=eo[Pt[0]];return`${Re} ${xs(Pt[0],Lt)[0]}${at}`}}let ut=Hi.split(te).map(Lt=>`${ot} ${Lt}`).join(te)+te;return Re+te+(Hi?ut:"")+(Hi&&Pt.length?ot+te:"")+qe+at}function xs(Ni,Hi){return Ti.concat(Hi).map(eo=>`@${Ni} ${eo}`.trim())}}}),mo=Ie({"src/common/end-of-line.js"(bn,Ur){ae();function Vr(rr){let vn=rr.indexOf("\r");return vn>=0?rr.charAt(vn+1)===`
|
||
`?"crlf":"cr":"lf"}function Ar(rr){switch(rr){case"cr":return"\r";case"crlf":return`\r
|
||
`;default:return`
|
||
`}}function mr(rr,vn){let li;switch(vn){case`
|
||
`:li=/\n/g;break;case"\r":li=/\r/g;break;case`\r
|
||
`:li=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(vn)}.`)}let vi=rr.match(li);return vi?vi.length:0}function Nr(rr){return rr.replace(/\r\n?/g,`
|
||
`)}Ur.exports={guessEndOfLine:Vr,convertEndOfLineToChars:Ar,countEndOfLineChars:mr,normalizeEndOfLine:Nr}}}),wl=Ie({"src/language-js/pragma.js"(bn,Ur){ae();var{parseWithComments:Vr,strip:Ar,extract:mr,print:Nr}=Ys(),{normalizeEndOfLine:rr}=mo(),vn=xe();function li(kn){let Ti=vn(kn);Ti&&(kn=kn.slice(Ti.length+1));let Qr=mr(kn),{pragmas:Bi,comments:Fs}=Vr(Qr);return{shebang:Ti,text:kn,pragmas:Bi,comments:Fs}}function vi(kn){let Ti=Object.keys(li(kn).pragmas);return Ti.includes("prettier")||Ti.includes("format")}function gi(kn){let{shebang:Ti,text:Qr,pragmas:Bi,comments:Fs}=li(kn),Xn=Ar(Qr),ki=Nr({pragmas:Object.assign({format:""},Bi),comments:Fs.trimStart()});return(Ti?`${Ti}
|
||
`:"")+rr(ki)+(Xn.startsWith(`
|
||
`)?`
|
||
`:`
|
||
|
||
`)+Xn}Ur.exports={hasPragma:vi,insertPragma:gi}}}),Al=Ie({"src/utils/is-non-empty-array.js"(bn,Ur){ae();function Vr(Ar){return Array.isArray(Ar)&&Ar.length>0}Ur.exports=Vr}}),$u=Ie({"src/language-js/loc.js"(bn,Ur){ae();var Vr=Al();function Ar(li){var vi,gi;let kn=li.range?li.range[0]:li.start,Ti=(vi=(gi=li.declaration)===null||gi===void 0?void 0:gi.decorators)!==null&&vi!==void 0?vi:li.decorators;return Vr(Ti)?Math.min(Ar(Ti[0]),kn):kn}function mr(li){return li.range?li.range[1]:li.end}function Nr(li,vi){let gi=Ar(li);return Number.isInteger(gi)&&gi===Ar(vi)}function rr(li,vi){let gi=mr(li);return Number.isInteger(gi)&&gi===mr(vi)}function vn(li,vi){return Nr(li,vi)&&rr(li,vi)}Ur.exports={locStart:Ar,locEnd:mr,hasSameLocStart:Nr,hasSameLoc:vn}}}),Tl=Ie({"src/language-js/parse/utils/create-parser.js"(bn,Ur){ae();var{hasPragma:Vr}=wl(),{locStart:Ar,locEnd:mr}=$u();function Nr(rr){return rr=typeof rr=="function"?{parse:rr}:rr,Object.assign({astFormat:"estree",hasPragma:Vr,locStart:Ar,locEnd:mr},rr)}Ur.exports=Nr}}),su=Ie({"src/common/parser-create-error.js"(bn,Ur){ae();function Vr(Ar,mr){let Nr=new SyntaxError(Ar+" ("+mr.start.line+":"+mr.start.column+")");return Nr.loc=mr,Nr}Ur.exports=Vr}}),$a=Ie({"src/language-js/parse/utils/create-babel-parse-error.js"(bn,Ur){ae();var Vr=su();function Ar(mr){let{message:Nr,loc:rr}=mr;return Vr(Nr.replace(/ \(.*\)/,""),{start:{line:rr?rr.line:0,column:rr?rr.column+1:0}})}Ur.exports=Ar}}),lc=Ie({"src/language-js/utils/is-ts-keyword-type.js"(bn,Ur){ae();function Vr(Ar){let{type:mr}=Ar;return mr.startsWith("TS")&&mr.endsWith("Keyword")}Ur.exports=Vr}}),cc=Ie({"src/language-js/utils/is-block-comment.js"(bn,Ur){ae();var Vr=new Set(["Block","CommentBlock","MultiLine"]),Ar=mr=>Vr.has(mr==null?void 0:mr.type);Ur.exports=Ar}}),Ln=Ie({"src/language-js/utils/is-type-cast-comment.js"(bn,Ur){ae();var Vr=cc();function Ar(mr){return Vr(mr)&&mr.value[0]==="*"&&/@(?:type|satisfies)\b/.test(mr.value)}Ur.exports=Ar}}),Pl=Ie({"src/utils/get-last.js"(bn,Ur){ae();var Vr=Ar=>Ar[Ar.length-1];Ur.exports=Vr}}),hc=Ie({"src/language-js/parse/postprocess/visit-node.js"(bn,Ur){ae();function Vr(Ar,mr){if(Array.isArray(Ar)){for(let Nr=0;Nr<Ar.length;Nr++)Ar[Nr]=Vr(Ar[Nr],mr);return Ar}if(Ar&&typeof Ar=="object"&&typeof Ar.type=="string"){let Nr=Object.keys(Ar);for(let rr=0;rr<Nr.length;rr++)Ar[Nr[rr]]=Vr(Ar[Nr[rr]],mr);return mr(Ar)||Ar}return Ar}Ur.exports=Vr}}),pc=Ie({"src/language-js/parse/postprocess/throw-syntax-error.js"(bn,Ur){ae();var Vr=su();function Ar(mr,Nr){let{start:rr,end:vn}=mr.loc;throw Vr(Nr,{start:{line:rr.line,column:rr.column+1},end:{line:vn.line,column:vn.column+1}})}Ur.exports=Ar}}),kl=Ie({"src/language-js/parse/postprocess/index.js"(bn,Ur){ae();var{locStart:Vr,locEnd:Ar}=$u(),mr=lc(),Nr=Ln(),rr=Pl(),vn=hc(),li=pc();function vi(Qr,Bi){if(Bi.parser!=="typescript"&&Bi.parser!=="flow"&&Bi.parser!=="acorn"&&Bi.parser!=="espree"&&Bi.parser!=="meriyah"){let Xn=new Set;Qr=vn(Qr,ki=>{ki.leadingComments&&ki.leadingComments.some(Nr)&&Xn.add(Vr(ki))}),Qr=vn(Qr,ki=>{if(ki.type==="ParenthesizedExpression"){let{expression:xs}=ki;if(xs.type==="TypeCastExpression")return xs.range=ki.range,xs;let Ni=Vr(ki);if(!Xn.has(Ni))return xs.extra=Object.assign(Object.assign({},xs.extra),{},{parenthesized:!0}),xs}})}return Qr=vn(Qr,Xn=>{switch(Xn.type){case"ChainExpression":return gi(Xn.expression);case"LogicalExpression":{if(kn(Xn))return Ti(Xn);break}case"VariableDeclaration":{let ki=rr(Xn.declarations);ki&&ki.init&&Fs(Xn,ki);break}case"TSParenthesizedType":return mr(Xn.typeAnnotation)||Xn.typeAnnotation.type==="TSThisType"||(Xn.typeAnnotation.range=[Vr(Xn),Ar(Xn)]),Xn.typeAnnotation;case"TSTypeParameter":if(typeof Xn.name=="string"){let ki=Vr(Xn);Xn.name={type:"Identifier",name:Xn.name,range:[ki,ki+Xn.name.length]}}break;case"ObjectExpression":if(Bi.parser==="typescript"){let ki=Xn.properties.find(xs=>xs.type==="Property"&&xs.value.type==="TSEmptyBodyFunctionExpression");ki&&li(ki.value,"Unexpected token.")}break;case"SequenceExpression":{let ki=rr(Xn.expressions);Xn.range=[Vr(Xn),Math.min(Ar(ki),Ar(Xn))];break}case"TopicReference":Bi.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:ki}=Xn;if(Bi.parser==="meriyah"&&ki&&ki.type==="Identifier"){let xs=Bi.originalText.slice(Vr(ki),Ar(ki));(xs.startsWith('"')||xs.startsWith("'"))&&(Xn.exported=Object.assign(Object.assign({},Xn.exported),{},{type:"Literal",value:Xn.exported.name,raw:xs}))}break}case"PropertyDefinition":if(Bi.parser==="meriyah"&&Xn.static&&!Xn.computed&&!Xn.key){let ki="static",xs=Vr(Xn);Object.assign(Xn,{static:!1,key:{type:"Identifier",name:ki,range:[xs,xs+ki.length]}})}break}}),Qr;function Fs(Xn,ki){Bi.originalText[Ar(ki)]!==";"&&(Xn.range=[Vr(Xn),Ar(ki)])}}function gi(Qr){switch(Qr.type){case"CallExpression":Qr.type="OptionalCallExpression",Qr.callee=gi(Qr.callee);break;case"MemberExpression":Qr.type="OptionalMemberExpression",Qr.object=gi(Qr.object);break;case"TSNonNullExpression":Qr.expression=gi(Qr.expression);break}return Qr}function kn(Qr){return Qr.type==="LogicalExpression"&&Qr.right.type==="LogicalExpression"&&Qr.operator===Qr.right.operator}function Ti(Qr){return kn(Qr)?Ti({type:"LogicalExpression",operator:Qr.operator,left:Ti({type:"LogicalExpression",operator:Qr.operator,left:Qr.left,right:Qr.right.left,range:[Vr(Qr.left),Ar(Qr.right.left)]}),right:Qr.right.right,range:[Vr(Qr),Ar(Qr)]}):Qr}Ur.exports=vi}}),Bu=Ie({"node_modules/@babel/parser/lib/index.js"(bn){ae(),Object.defineProperty(bn,"__esModule",{value:!0});var Ur={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function Vr(c){if(c&&c.annexB!=null&&c.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let o={};for(let u of Object.keys(Ur))o[u]=c&&c[u]!=null?c[u]:Ur[u];return o}var Ar=class{constructor(c,o){this.token=void 0,this.preserveSpace=void 0,this.token=c,this.preserveSpace=!!o}},mr={brace:new Ar("{"),j_oTag:new Ar("<tag"),j_cTag:new Ar("</tag"),j_expr:new Ar("<tag>...</tag>",!0)};mr.template=new Ar("`",!0);var Nr=!0,rr=!0,vn=!0,li=!0,vi=!0,gi=!0,kn=class{constructor(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=c,this.keyword=o.keyword,this.beforeExpr=!!o.beforeExpr,this.startsExpr=!!o.startsExpr,this.rightAssociative=!!o.rightAssociative,this.isLoop=!!o.isLoop,this.isAssign=!!o.isAssign,this.prefix=!!o.prefix,this.postfix=!!o.postfix,this.binop=o.binop!=null?o.binop:null,this.updateContext=null}},Ti=new Map;function Qr(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};o.keyword=c;let u=te(c,o);return Ti.set(c,u),u}function Bi(c,o){return te(c,{beforeExpr:Nr,binop:o})}var Fs=-1,Xn=[],ki=[],xs=[],Ni=[],Hi=[],eo=[];function te(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var u,h,f,d;return++Fs,ki.push(c),xs.push((u=o.binop)!=null?u:-1),Ni.push((h=o.beforeExpr)!=null?h:!1),Hi.push((f=o.startsExpr)!=null?f:!1),eo.push((d=o.prefix)!=null?d:!1),Xn.push(new kn(c,o)),Fs}function Re(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var u,h,f,d;return++Fs,Ti.set(c,Fs),ki.push(c),xs.push((u=o.binop)!=null?u:-1),Ni.push((h=o.beforeExpr)!=null?h:!1),Hi.push((f=o.startsExpr)!=null?f:!1),eo.push((d=o.prefix)!=null?d:!1),Xn.push(new kn("name",o)),Fs}var ot={bracketL:te("[",{beforeExpr:Nr,startsExpr:rr}),bracketHashL:te("#[",{beforeExpr:Nr,startsExpr:rr}),bracketBarL:te("[|",{beforeExpr:Nr,startsExpr:rr}),bracketR:te("]"),bracketBarR:te("|]"),braceL:te("{",{beforeExpr:Nr,startsExpr:rr}),braceBarL:te("{|",{beforeExpr:Nr,startsExpr:rr}),braceHashL:te("#{",{beforeExpr:Nr,startsExpr:rr}),braceR:te("}"),braceBarR:te("|}"),parenL:te("(",{beforeExpr:Nr,startsExpr:rr}),parenR:te(")"),comma:te(",",{beforeExpr:Nr}),semi:te(";",{beforeExpr:Nr}),colon:te(":",{beforeExpr:Nr}),doubleColon:te("::",{beforeExpr:Nr}),dot:te("."),question:te("?",{beforeExpr:Nr}),questionDot:te("?."),arrow:te("=>",{beforeExpr:Nr}),template:te("template"),ellipsis:te("...",{beforeExpr:Nr}),backQuote:te("`",{startsExpr:rr}),dollarBraceL:te("${",{beforeExpr:Nr,startsExpr:rr}),templateTail:te("...`",{startsExpr:rr}),templateNonTail:te("...${",{beforeExpr:Nr,startsExpr:rr}),at:te("@"),hash:te("#",{startsExpr:rr}),interpreterDirective:te("#!..."),eq:te("=",{beforeExpr:Nr,isAssign:li}),assign:te("_=",{beforeExpr:Nr,isAssign:li}),slashAssign:te("_=",{beforeExpr:Nr,isAssign:li}),xorAssign:te("_=",{beforeExpr:Nr,isAssign:li}),moduloAssign:te("_=",{beforeExpr:Nr,isAssign:li}),incDec:te("++/--",{prefix:vi,postfix:gi,startsExpr:rr}),bang:te("!",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),tilde:te("~",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),doubleCaret:te("^^",{startsExpr:rr}),doubleAt:te("@@",{startsExpr:rr}),pipeline:Bi("|>",0),nullishCoalescing:Bi("??",1),logicalOR:Bi("||",1),logicalAND:Bi("&&",2),bitwiseOR:Bi("|",3),bitwiseXOR:Bi("^",4),bitwiseAND:Bi("&",5),equality:Bi("==/!=/===/!==",6),lt:Bi("</>/<=/>=",7),gt:Bi("</>/<=/>=",7),relational:Bi("</>/<=/>=",7),bitShift:Bi("<</>>/>>>",8),bitShiftL:Bi("<</>>/>>>",8),bitShiftR:Bi("<</>>/>>>",8),plusMin:te("+/-",{beforeExpr:Nr,binop:9,prefix:vi,startsExpr:rr}),modulo:te("%",{binop:10,startsExpr:rr}),star:te("*",{binop:10}),slash:Bi("/",10),exponent:te("**",{beforeExpr:Nr,binop:11,rightAssociative:!0}),_in:Qr("in",{beforeExpr:Nr,binop:7}),_instanceof:Qr("instanceof",{beforeExpr:Nr,binop:7}),_break:Qr("break"),_case:Qr("case",{beforeExpr:Nr}),_catch:Qr("catch"),_continue:Qr("continue"),_debugger:Qr("debugger"),_default:Qr("default",{beforeExpr:Nr}),_else:Qr("else",{beforeExpr:Nr}),_finally:Qr("finally"),_function:Qr("function",{startsExpr:rr}),_if:Qr("if"),_return:Qr("return",{beforeExpr:Nr}),_switch:Qr("switch"),_throw:Qr("throw",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),_try:Qr("try"),_var:Qr("var"),_const:Qr("const"),_with:Qr("with"),_new:Qr("new",{beforeExpr:Nr,startsExpr:rr}),_this:Qr("this",{startsExpr:rr}),_super:Qr("super",{startsExpr:rr}),_class:Qr("class",{startsExpr:rr}),_extends:Qr("extends",{beforeExpr:Nr}),_export:Qr("export"),_import:Qr("import",{startsExpr:rr}),_null:Qr("null",{startsExpr:rr}),_true:Qr("true",{startsExpr:rr}),_false:Qr("false",{startsExpr:rr}),_typeof:Qr("typeof",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),_void:Qr("void",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),_delete:Qr("delete",{beforeExpr:Nr,prefix:vi,startsExpr:rr}),_do:Qr("do",{isLoop:vn,beforeExpr:Nr}),_for:Qr("for",{isLoop:vn}),_while:Qr("while",{isLoop:vn}),_as:Re("as",{startsExpr:rr}),_assert:Re("assert",{startsExpr:rr}),_async:Re("async",{startsExpr:rr}),_await:Re("await",{startsExpr:rr}),_from:Re("from",{startsExpr:rr}),_get:Re("get",{startsExpr:rr}),_let:Re("let",{startsExpr:rr}),_meta:Re("meta",{startsExpr:rr}),_of:Re("of",{startsExpr:rr}),_sent:Re("sent",{startsExpr:rr}),_set:Re("set",{startsExpr:rr}),_static:Re("static",{startsExpr:rr}),_using:Re("using",{startsExpr:rr}),_yield:Re("yield",{startsExpr:rr}),_asserts:Re("asserts",{startsExpr:rr}),_checks:Re("checks",{startsExpr:rr}),_exports:Re("exports",{startsExpr:rr}),_global:Re("global",{startsExpr:rr}),_implements:Re("implements",{startsExpr:rr}),_intrinsic:Re("intrinsic",{startsExpr:rr}),_infer:Re("infer",{startsExpr:rr}),_is:Re("is",{startsExpr:rr}),_mixins:Re("mixins",{startsExpr:rr}),_proto:Re("proto",{startsExpr:rr}),_require:Re("require",{startsExpr:rr}),_satisfies:Re("satisfies",{startsExpr:rr}),_keyof:Re("keyof",{startsExpr:rr}),_readonly:Re("readonly",{startsExpr:rr}),_unique:Re("unique",{startsExpr:rr}),_abstract:Re("abstract",{startsExpr:rr}),_declare:Re("declare",{startsExpr:rr}),_enum:Re("enum",{startsExpr:rr}),_module:Re("module",{startsExpr:rr}),_namespace:Re("namespace",{startsExpr:rr}),_interface:Re("interface",{startsExpr:rr}),_type:Re("type",{startsExpr:rr}),_opaque:Re("opaque",{startsExpr:rr}),name:te("name",{startsExpr:rr}),string:te("string",{startsExpr:rr}),num:te("num",{startsExpr:rr}),bigint:te("bigint",{startsExpr:rr}),decimal:te("decimal",{startsExpr:rr}),regexp:te("regexp",{startsExpr:rr}),privateName:te("#name",{startsExpr:rr}),eof:te("eof"),jsxName:te("jsxName"),jsxText:te("jsxText",{beforeExpr:!0}),jsxTagStart:te("jsxTagStart",{startsExpr:!0}),jsxTagEnd:te("jsxTagEnd"),placeholder:te("%%",{startsExpr:!0})};function at(c){return c>=93&&c<=130}function Pt(c){return c<=92}function qe(c){return c>=58&&c<=130}function ut(c){return c>=58&&c<=134}function Lt(c){return Ni[c]}function Gt(c){return Hi[c]}function tn(c){return c>=29&&c<=33}function it(c){return c>=127&&c<=129}function wt(c){return c>=90&&c<=92}function Vt(c){return c>=58&&c<=92}function ar(c){return c>=39&&c<=59}function tr(c){return c===34}function fr(c){return eo[c]}function rn(c){return c>=119&&c<=121}function Mn(c){return c>=122&&c<=128}function jr(c){return ki[c]}function Nn(c){return xs[c]}function ri(c){return c===57}function ts(c){return c>=24&&c<=25}function Er(c){return Xn[c]}Xn[8].updateContext=c=>{c.pop()},Xn[5].updateContext=Xn[7].updateContext=Xn[23].updateContext=c=>{c.push(mr.brace)},Xn[22].updateContext=c=>{c[c.length-1]===mr.template?c.pop():c.push(mr.template)},Xn[140].updateContext=c=>{c.push(mr.j_expr,mr.j_oTag)};function Zn(c,o){if(c==null)return{};var u={},h=Object.keys(c),f,d;for(d=0;d<h.length;d++)f=h[d],!(o.indexOf(f)>=0)&&(u[f]=c[f]);return u}var Jn=class{constructor(c,o,u){this.line=void 0,this.column=void 0,this.index=void 0,this.line=c,this.column=o,this.index=u}},xi=class{constructor(c,o){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=c,this.end=o}};function Ei(c,o){let{line:u,column:h,index:f}=c;return new Jn(u,h+o,f+o)}var Me={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},st=function(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c.length-1;return{get(){return c.reduce((u,h)=>u[h],this)},set(u){c.reduce((h,f,d)=>d===o?h[f]=u:h[f],this)}}},sr=(c,o,u)=>Object.keys(u).map(h=>[h,u[h]]).filter(h=>{let[,f]=h;return!!f}).map(h=>{let[f,d]=h;return[f,typeof d=="function"?{value:d,enumerable:!1}:typeof d.reflect=="string"?Object.assign({},d,st(d.reflect.split("."))):d]}).reduce((h,f)=>{let[d,y]=f;return Object.defineProperty(h,d,Object.assign({configurable:!0},y))},Object.assign(new c,o)),Xt={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Me.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Me.SourceTypeModuleError}},Ir={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Ci=c=>{let{type:o,prefix:u}=c;return o==="UpdateExpression"?Ir.UpdateExpression[String(u)]:Ir[o]},Ji={AccessorIsGenerator:c=>{let{kind:o}=c;return`A ${o}ter cannot be a generator.`},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:c=>{let{kind:o}=c;return`Missing initializer in ${o} declaration.`},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:c=>{let{exportName:o}=c;return`\`${o}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:c=>{let{localName:o,exportName:u}=c;return`A string literal cannot be used as an exported binding without \`from\`.
|
||
- Did you mean \`export { '${o}' as '${u}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:c=>{let{type:o}=c;return`'${o==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:c=>{let{type:o}=c;return`Unsyntactic ${o==="BreakStatement"?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:c=>{let{importName:o}=c;return`A string literal cannot be used as an imported binding.
|
||
- Did you mean \`import { "${o}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:c=>{let{maxArgumentCount:o}=c;return`\`import()\` requires exactly ${o===1?"one argument":"one or two arguments"}.`},ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:c=>{let{radix:o}=c;return`Expected number in radix ${o}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:c=>{let{reservedWord:o}=c;return`Escape sequence in keyword ${o}.`},InvalidIdentifier:c=>{let{identifierName:o}=c;return`Invalid identifier ${o}.`},InvalidLhs:c=>{let{ancestor:o}=c;return`Invalid left-hand side in ${Ci(o)}.`},InvalidLhsBinding:c=>{let{ancestor:o}=c;return`Binding invalid left-hand side in ${Ci(o)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:c=>{let{unexpected:o}=c;return`Unexpected character '${o}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:c=>{let{identifierName:o}=c;return`Private name #${o} is not defined.`},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:c=>{let{labelName:o}=c;return`Label '${o}' is already declared.`},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:c=>{let{missingPlugin:o}=c;return`This experimental syntax requires enabling the parser plugin: ${o.map(u=>JSON.stringify(u)).join(", ")}.`},MissingOneOfPlugins:c=>{let{missingPlugin:o}=c;return`This experimental syntax requires enabling one of the following parser plugin(s): ${o.map(u=>JSON.stringify(u)).join(", ")}.`},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:c=>{let{key:o}=c;return`Duplicate key "${o}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:c=>{let{surrogateCharCode:o}=c;return`An export name cannot include a lone surrogate, found '\\u${o.toString(16)}'.`},ModuleExportUndefined:c=>{let{localName:o}=c;return`Export '${o}' is not defined.`},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:c=>{let{identifierName:o}=c;return`Private names are only allowed in property accesses (\`obj.#${o}\`) or in \`in\` expressions (\`#${o} in obj\`).`},PrivateNameRedeclaration:c=>{let{identifierName:o}=c;return`Duplicate private name #${o}.`},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:c=>{let{keyword:o}=c;return`Unexpected keyword '${o}'.`},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:c=>{let{reservedWord:o}=c;return`Unexpected reserved word '${o}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:c=>{let{expected:o,unexpected:u}=c;return`Unexpected token${u?` '${u}'.`:""}${o?`, expected "${o}"`:""}`},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:c=>{let{target:o,onlyValidPropertyName:u}=c;return`The only valid meta property for ${o} is ${o}.${u}.`},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:c=>{let{identifierName:o}=c;return`Identifier '${o}' has already been declared.`},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},to={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:c=>{let{referenceName:o}=c;return`Assigning to '${o}' in strict mode.`},StrictEvalArgumentsBinding:c=>{let{bindingName:o}=c;return`Binding '${o}' in strict mode.`},StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},Is=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),yo={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:c=>{let{token:o}=c;return`Invalid topic token ${o}. In order to use ${o} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${o}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:c=>{let{type:o}=c;return`Hack-style pipe body cannot be an unparenthesized ${Ci({type:o})}; please wrap it in parentheses.`},PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},Do=["toMessage"],_o=["message"];function $o(c){let{toMessage:o}=c,u=Zn(c,Do);return function h(f){let{loc:d,details:y}=f;return sr(SyntaxError,Object.assign({},u,{loc:d}),{clone(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},O=D.loc||{};return h({loc:new Jn("line"in O?O.line:this.loc.line,"column"in O?O.column:this.loc.column,"index"in O?O.index:this.loc.index),details:Object.assign({},this.details,D.details)})},details:{value:y,enumerable:!1},message:{get(){return`${o(this.details)} (${this.loc.line}:${this.loc.column})`},set(D){Object.defineProperty(this,"message",{value:D})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in y&&{reflect:"details.missingPlugin",enumerable:!0}})}}function zi(c,o){if(Array.isArray(c))return h=>zi(h,c[0]);let u={};for(let h of Object.keys(c)){let f=c[h],d=typeof f=="string"?{message:()=>f}:typeof f=="function"?{message:f}:f,{message:y}=d,D=Zn(d,_o),O=typeof y=="string"?()=>y:y;u[h]=$o(Object.assign({code:Me.SyntaxError,reasonCode:h,toMessage:O},o?{syntaxPlugin:o}:{},D))}return u}var Qe=Object.assign({},zi(Xt),zi(Ji),zi(to),zi`pipelineOperator`(yo)),{defineProperty:an}=Object,Fn=(c,o)=>an(c,o,{enumerable:!1,value:c[o]});function Cn(c){return c.loc.start&&Fn(c.loc.start,"index"),c.loc.end&&Fn(c.loc.end,"index"),c}var yi=c=>class extends c{parse(){let o=Cn(super.parse());return this.options.tokens&&(o.tokens=o.tokens.map(Cn)),o}parseRegExpLiteral(o){let{pattern:u,flags:h}=o,f=null;try{f=new RegExp(u,h)}catch{}let d=this.estreeParseLiteral(f);return d.regex={pattern:u,flags:h},d}parseBigIntLiteral(o){let u;try{u=BigInt(o)}catch{u=null}let h=this.estreeParseLiteral(u);return h.bigint=String(h.value||o),h}parseDecimalLiteral(o){let u=this.estreeParseLiteral(null);return u.decimal=String(u.value||o),u}estreeParseLiteral(o){return this.parseLiteral(o,"Literal")}parseStringLiteral(o){return this.estreeParseLiteral(o)}parseNumericLiteral(o){return this.estreeParseLiteral(o)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(o){return this.estreeParseLiteral(o)}directiveToStmt(o){let u=o.value;delete o.value,u.type="Literal",u.raw=u.extra.raw,u.value=u.extra.expressionValue;let h=o;return h.type="ExpressionStatement",h.expression=u,h.directive=u.extra.rawValue,delete u.extra,h}initFunction(o,u){super.initFunction(o,u),o.expression=!1}checkDeclaration(o){o!=null&&this.isObjectProperty(o)?this.checkDeclaration(o.value):super.checkDeclaration(o)}getObjectOrClassMethodParams(o){return o.value.params}isValidDirective(o){var u;return o.type==="ExpressionStatement"&&o.expression.type==="Literal"&&typeof o.expression.value=="string"&&!((u=o.expression.extra)!=null&&u.parenthesized)}parseBlockBody(o,u,h,f,d){super.parseBlockBody(o,u,h,f,d);let y=o.directives.map(D=>this.directiveToStmt(D));o.body=y.concat(o.body),delete o.directives}pushClassMethod(o,u,h,f,d,y){this.parseMethod(u,h,f,d,y,"ClassMethod",!0),u.typeParameters&&(u.value.typeParameters=u.typeParameters,delete u.typeParameters),o.body.push(u)}parsePrivateName(){let o=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(o):o}convertPrivateNameToPrivateIdentifier(o){let u=super.getPrivateNameSV(o);return o=o,delete o.id,o.name=u,o.type="PrivateIdentifier",o}isPrivateName(o){return this.getPluginOption("estree","classFeatures")?o.type==="PrivateIdentifier":super.isPrivateName(o)}getPrivateNameSV(o){return this.getPluginOption("estree","classFeatures")?o.name:super.getPrivateNameSV(o)}parseLiteral(o,u){let h=super.parseLiteral(o,u);return h.raw=h.extra.raw,delete h.extra,h}parseFunctionBody(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;super.parseFunctionBody(o,u,h),o.expression=o.body.type!=="BlockStatement"}parseMethod(o,u,h,f,d,y){let D=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,O=this.startNode();return O.kind=o.kind,O=super.parseMethod(O,u,h,f,d,y,D),O.type="FunctionExpression",delete O.kind,o.value=O,y==="ClassPrivateMethod"&&(o.computed=!1),this.finishNode(o,"MethodDefinition")}parseClassProperty(){let o=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(o.type="PropertyDefinition"),o}parseClassPrivateProperty(){let o=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(o.type="PropertyDefinition",o.computed=!1),o}parseObjectMethod(o,u,h,f,d){let y=super.parseObjectMethod(o,u,h,f,d);return y&&(y.type="Property",y.kind==="method"&&(y.kind="init"),y.shorthand=!1),y}parseObjectProperty(o,u,h,f){let d=super.parseObjectProperty(o,u,h,f);return d&&(d.kind="init",d.type="Property"),d}isValidLVal(o,u,h){return o==="Property"?"value":super.isValidLVal(o,u,h)}isAssignable(o,u){return o!=null&&this.isObjectProperty(o)?this.isAssignable(o.value,u):super.isAssignable(o,u)}toAssignable(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o!=null&&this.isObjectProperty(o)){let{key:h,value:f}=o;this.isPrivateName(h)&&this.classScope.usePrivateName(this.getPrivateNameSV(h),h.loc.start),this.toAssignable(f,u)}else super.toAssignable(o,u)}toAssignableObjectExpressionProp(o,u,h){o.kind==="get"||o.kind==="set"?this.raise(Qe.PatternHasAccessor,{at:o.key}):o.method?this.raise(Qe.PatternHasMethod,{at:o.key}):super.toAssignableObjectExpressionProp(o,u,h)}finishCallExpression(o,u){let h=super.finishCallExpression(o,u);if(h.callee.type==="Import"){if(h.type="ImportExpression",h.source=h.arguments[0],this.hasPlugin("importAssertions")){var f;h.attributes=(f=h.arguments[1])!=null?f:null}delete h.arguments,delete h.callee}return h}toReferencedArguments(o){o.type!=="ImportExpression"&&super.toReferencedArguments(o)}parseExport(o,u){let h=this.state.lastTokStartLoc,f=super.parseExport(o,u);switch(f.type){case"ExportAllDeclaration":f.exported=null;break;case"ExportNamedDeclaration":f.specifiers.length===1&&f.specifiers[0].type==="ExportNamespaceSpecifier"&&(f.type="ExportAllDeclaration",f.exported=f.specifiers[0].exported,delete f.specifiers);case"ExportDefaultDeclaration":{var d;let{declaration:y}=f;(y==null?void 0:y.type)==="ClassDeclaration"&&((d=y.decorators)==null?void 0:d.length)>0&&y.start===f.start&&this.resetStartLocation(f,h)}break}return f}parseSubscript(o,u,h,f){let d=super.parseSubscript(o,u,h,f);if(f.optionalChainMember){if((d.type==="OptionalMemberExpression"||d.type==="OptionalCallExpression")&&(d.type=d.type.substring(8)),f.stop){let y=this.startNodeAtNode(d);return y.expression=d,this.finishNode(y,"ChainExpression")}}else(d.type==="MemberExpression"||d.type==="CallExpression")&&(d.optional=!1);return d}hasPropertyAsPrivateName(o){return o.type==="ChainExpression"&&(o=o.expression),super.hasPropertyAsPrivateName(o)}isObjectProperty(o){return o.type==="Property"&&o.kind==="init"&&!o.method}isObjectMethod(o){return o.method||o.kind==="get"||o.kind==="set"}finishNodeAt(o,u,h){return Cn(super.finishNodeAt(o,u,h))}resetStartLocation(o,u){super.resetStartLocation(o,u),Cn(o)}resetEndLocation(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(o,u),Cn(o)}},rs="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",cs="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Wi=new RegExp("["+rs+"]"),Eo=new RegExp("["+rs+cs+"]");rs=cs=null;var Za=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],uu=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function lu(c,o){let u=65536;for(let h=0,f=o.length;h<f;h+=2){if(u+=o[h],u>c)return!1;if(u+=o[h+1],u>=c)return!0}return!1}function jo(c){return c<65?c===36:c<=90?!0:c<97?c===95:c<=122?!0:c<=65535?c>=170&&Wi.test(String.fromCharCode(c)):lu(c,Za)}function ba(c){return c<48?c===36:c<58?!0:c<65?!1:c<=90?!0:c<97?c===95:c<=122?!0:c<=65535?c>=170&&Eo.test(String.fromCharCode(c)):lu(c,Za)||lu(c,uu)}var Ms={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},ta=new Set(Ms.keyword),Ia=new Set(Ms.strict),tp=new Set(Ms.strictBind);function ch(c,o){return o&&c==="await"||c==="enum"}function Ya(c,o){return ch(c,o)||Ia.has(c)}function rp(c){return tp.has(c)}function ss(c,o){return Ya(c,o)||rp(c)}function Xu(c){return ta.has(c)}function uf(c,o,u){return c===64&&o===64&&jo(u)}var np=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function ip(c){return np.has(c)}var Vu=0,Uu=1,va=2,Bl=4,qu=8,cu=16,Nl=32,Ma=64,zu=128,Ga=256,Wu=Uu|va|zu|Ga,ra=1,Ca=2,yc=4,ca=8,Zu=16,Dc=64,hu=128,pu=256,Il=512,Ml=1024,Oc=2048,Rl=4096,Ql=8192,sp=ra|Ca|ca|hu|Ql,Ra=ra|0|ca|Ql,xc=ra|0|ca|0,Yu=ra|0|yc|0,bc=ra|0|Zu|0,jl=0|Ca|0|hu,fu=0|Ca|0|0,Ll=ra|Ca|ca|pu|Ql,hh=0|Ml,Sa=0|Dc,op=ra|0|0|Dc,vc=Ll|Il,Bo=0|Ml,Gu=0|Ca|0|Rl,ap=Oc,Xl=4,ph=2,Vl=1,du=ph|Vl,Cc=ph|Xl,Hu=Vl|Xl,Sc=ph,Ul=Vl,Ju=0,ql=class{constructor(c){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=c}},mu=class{constructor(c,o){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=c,this.inModule=o}get inTopLevel(){return(this.currentScope().flags&Uu)>0}get inFunction(){return(this.currentVarScopeFlags()&va)>0}get allowSuper(){return(this.currentThisScopeFlags()&cu)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&Nl)>0}get inClass(){return(this.currentThisScopeFlags()&Ma)>0}get inClassAndNotInNonArrowFunction(){let c=this.currentThisScopeFlags();return(c&Ma)>0&&(c&va)===0}get inStaticBlock(){for(let c=this.scopeStack.length-1;;c--){let{flags:o}=this.scopeStack[c];if(o&zu)return!0;if(o&(Wu|Ma))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&va)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(c){return new ql(c)}enter(c){this.scopeStack.push(this.createScope(c))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(c){return!!(c.flags&(va|zu)||!this.parser.inModule&&c.flags&Uu)}declareName(c,o,u){let h=this.currentScope();if(o&ca||o&Zu)this.checkRedeclarationInScope(h,c,o,u),o&Zu?h.functions.add(c):h.lexical.add(c),o&ca&&this.maybeExportDefined(h,c);else if(o&yc)for(let f=this.scopeStack.length-1;f>=0&&(h=this.scopeStack[f],this.checkRedeclarationInScope(h,c,o,u),h.var.add(c),this.maybeExportDefined(h,c),!(h.flags&Wu));--f);this.parser.inModule&&h.flags&Uu&&this.undefinedExports.delete(c)}maybeExportDefined(c,o){this.parser.inModule&&c.flags&Uu&&this.undefinedExports.delete(o)}checkRedeclarationInScope(c,o,u,h){this.isRedeclaredInScope(c,o,u)&&this.parser.raise(Qe.VarRedeclaration,{at:h,identifierName:o})}isRedeclaredInScope(c,o,u){return u&ra?u&ca?c.lexical.has(o)||c.functions.has(o)||c.var.has(o):u&Zu?c.lexical.has(o)||!this.treatFunctionsAsVarInScope(c)&&c.var.has(o):c.lexical.has(o)&&!(c.flags&qu&&c.lexical.values().next().value===o)||!this.treatFunctionsAsVarInScope(c)&&c.functions.has(o):!1}checkLocalExport(c){let{name:o}=c,u=this.scopeStack[0];!u.lexical.has(o)&&!u.var.has(o)&&!u.functions.has(o)&&this.undefinedExports.set(o,c.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let c=this.scopeStack.length-1;;c--){let{flags:o}=this.scopeStack[c];if(o&Wu)return o}}currentThisScopeFlags(){for(let c=this.scopeStack.length-1;;c--){let{flags:o}=this.scopeStack[c];if(o&(Wu|Ma)&&!(o&Bl))return o}}},up=class extends ql{constructor(){super(...arguments),this.declareFunctions=new Set}},lp=class extends mu{createScope(c){return new up(c)}declareName(c,o,u){let h=this.currentScope();if(o&Oc){this.checkRedeclarationInScope(h,c,o,u),this.maybeExportDefined(h,c),h.declareFunctions.add(c);return}super.declareName(c,o,u)}isRedeclaredInScope(c,o,u){return super.isRedeclaredInScope(c,o,u)?!0:u&Oc?!c.declareFunctions.has(o)&&(c.lexical.has(o)||c.functions.has(o)):!1}checkLocalExport(c){this.scopeStack[0].declareFunctions.has(c.name)||super.checkLocalExport(c)}},fh=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(c){if(typeof c=="string")return this.plugins.has(c);{let[o,u]=c;if(!this.hasPlugin(o))return!1;let h=this.plugins.get(o);for(let f of Object.keys(u))if((h==null?void 0:h[f])!==u[f])return!1;return!0}}getPluginOption(c,o){var u;return(u=this.plugins.get(c))==null?void 0:u[o]}};function cp(c,o){c.trailingComments===void 0?c.trailingComments=o:c.trailingComments.unshift(...o)}function lf(c,o){c.leadingComments===void 0?c.leadingComments=o:c.leadingComments.unshift(...o)}function Ku(c,o){c.innerComments===void 0?c.innerComments=o:c.innerComments.unshift(...o)}function el(c,o,u){let h=null,f=o.length;for(;h===null&&f>0;)h=o[--f];h===null||h.start>u.start?Ku(c,u.comments):cp(h,u.comments)}var hp=class extends fh{addComment(c){this.filename&&(c.loc.filename=this.filename),this.state.comments.push(c)}processComment(c){let{commentStack:o}=this.state,u=o.length;if(u===0)return;let h=u-1,f=o[h];f.start===c.end&&(f.leadingNode=c,h--);let{start:d}=c;for(;h>=0;h--){let y=o[h],D=y.end;if(D>d)y.containingNode=c,this.finalizeComment(y),o.splice(h,1);else{D===d&&(y.trailingNode=c);break}}}finalizeComment(c){let{comments:o}=c;if(c.leadingNode!==null||c.trailingNode!==null)c.leadingNode!==null&&cp(c.leadingNode,o),c.trailingNode!==null&&lf(c.trailingNode,o);else{let{containingNode:u,start:h}=c;if(this.input.charCodeAt(h-1)===44)switch(u.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":el(u,u.properties,c);break;case"CallExpression":case"OptionalCallExpression":el(u,u.arguments,c);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":el(u,u.params,c);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":el(u,u.elements,c);break;case"ExportNamedDeclaration":case"ImportDeclaration":el(u,u.specifiers,c);break;default:Ku(u,o)}else Ku(u,o)}}finalizeRemainingComments(){let{commentStack:c}=this.state;for(let o=c.length-1;o>=0;o--)this.finalizeComment(c[o]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(c){let{commentStack:o}=this.state,{length:u}=o;if(u===0)return;let h=o[u-1];h.leadingNode===c&&(h.leadingNode=null)}takeSurroundingComments(c,o,u){let{commentStack:h}=this.state,f=h.length;if(f===0)return;let d=f-1;for(;d>=0;d--){let y=h[d],D=y.end;if(y.start===u)y.leadingNode=c;else if(D===o)y.trailingNode=c;else if(D<o)break}}},dh=/\r\n?|[\n\u2028\u2029]/,Ec=new RegExp(dh.source,"g");function zl(c){switch(c){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var Wl=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,cf=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,gu=new RegExp("(?=("+cf.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function hf(c){switch(c){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var pp=class{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[mr.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init(c){let{strictMode:o,sourceType:u,startLine:h,startColumn:f}=c;this.strict=o===!1?!1:o===!0?!0:u==="module",this.curLine=h,this.lineStart=-f,this.startLoc=this.endLoc=new Jn(h,f,0)}curPosition(){return new Jn(this.curLine,this.pos-this.lineStart,this.pos)}clone(c){let o=new pp,u=Object.keys(this);for(let h=0,f=u.length;h<f;h++){let d=u[h],y=this[d];!c&&Array.isArray(y)&&(y=y.slice()),o[d]=y}return o}},mh=function(c){return c>=48&&c<=57},fp={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},wc={bin:c=>c===48||c===49,oct:c=>c>=48&&c<=55,dec:c=>c>=48&&c<=57,hex:c=>c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102};function gh(c,o,u,h,f,d){let y=u,D=h,O=f,x="",v=null,E=u,{length:F}=o;for(;;){if(u>=F){d.unterminated(y,D,O),x+=o.slice(E,u);break}let k=o.charCodeAt(u);if(yh(c,k,o,u)){x+=o.slice(E,u);break}if(k===92){x+=o.slice(E,u);let I=dp(o,u,h,f,c==="template",d);I.ch===null&&!v?v={pos:u,lineStart:h,curLine:f}:x+=I.ch,{pos:u,lineStart:h,curLine:f}=I,E=u}else k===8232||k===8233?(++u,++f,h=u):k===10||k===13?c==="template"?(x+=o.slice(E,u)+`
|
||
`,++u,k===13&&o.charCodeAt(u)===10&&++u,++f,E=h=u):d.unterminated(y,D,O):++u}return{pos:u,str:x,firstInvalidLoc:v,lineStart:h,curLine:f,containsInvalid:!!v}}function yh(c,o,u,h){return c==="template"?o===96||o===36&&u.charCodeAt(h+1)===123:o===(c==="double"?34:39)}function dp(c,o,u,h,f,d){let y=!f;o++;let D=x=>({pos:o,ch:x,lineStart:u,curLine:h}),O=c.charCodeAt(o++);switch(O){case 110:return D(`
|
||
`);case 114:return D("\r");case 120:{let x;return{code:x,pos:o}=Dh(c,o,u,h,2,!1,y,d),D(x===null?null:String.fromCharCode(x))}case 117:{let x;return{code:x,pos:o}=Ac(c,o,u,h,y,d),D(x===null?null:String.fromCodePoint(x))}case 116:return D(" ");case 98:return D("\b");case 118:return D("\v");case 102:return D("\f");case 13:c.charCodeAt(o)===10&&++o;case 10:u=o,++h;case 8232:case 8233:return D("");case 56:case 57:if(f)return D(null);d.strictNumericEscape(o-1,u,h);default:if(O>=48&&O<=55){let x=o-1,v=c.slice(x,o+2).match(/^[0-7]+/)[0],E=parseInt(v,8);E>255&&(v=v.slice(0,-1),E=parseInt(v,8)),o+=v.length-1;let F=c.charCodeAt(o);if(v!=="0"||F===56||F===57){if(f)return D(null);d.strictNumericEscape(x,u,h)}return D(String.fromCharCode(E))}return D(String.fromCharCode(O))}}function Dh(c,o,u,h,f,d,y,D){let O=o,x;return{n:x,pos:o}=mp(c,o,u,h,16,f,d,!1,D,!y),x===null&&(y?D.invalidEscapeSequence(O,u,h):o=O-1),{code:x,pos:o}}function mp(c,o,u,h,f,d,y,D,O,x){let v=o,E=f===16?fp.hex:fp.decBinOct,F=f===16?wc.hex:f===10?wc.dec:f===8?wc.oct:wc.bin,k=!1,I=0;for(let T=0,_=d??1/0;T<_;++T){let R=c.charCodeAt(o),W;if(R===95&&D!=="bail"){let ne=c.charCodeAt(o-1),L=c.charCodeAt(o+1);if(D){if(Number.isNaN(L)||!F(L)||E.has(ne)||E.has(L)){if(x)return{n:null,pos:o};O.unexpectedNumericSeparator(o,u,h)}}else{if(x)return{n:null,pos:o};O.numericSeparatorInEscapeSequence(o,u,h)}++o;continue}if(R>=97?W=R-97+10:R>=65?W=R-65+10:mh(R)?W=R-48:W=1/0,W>=f){if(W<=9&&x)return{n:null,pos:o};if(W<=9&&O.invalidDigit(o,u,h,f))W=0;else if(y)W=0,k=!0;else break}++o,I=I*f+W}return o===v||d!=null&&o-v!==d||k?{n:null,pos:o}:{n:I,pos:o}}function Ac(c,o,u,h,f,d){let y=c.charCodeAt(o),D;if(y===123){if(++o,{code:D,pos:o}=Dh(c,o,u,h,c.indexOf("}",o)-o,!0,f,d),++o,D!==null&&D>1114111)if(f)d.invalidCodePoint(o,u,h);else return{code:null,pos:o}}else({code:D,pos:o}=Dh(c,o,u,h,4,!1,f,d));return{code:D,pos:o}}var pf=["at"],gp=["at"];function Zl(c,o,u){return new Jn(u,c-o,c)}var Oh=new Set([103,109,115,105,121,117,100,118]),na=class{constructor(c){this.type=c.type,this.value=c.value,this.start=c.start,this.end=c.end,this.loc=new xi(c.startLoc,c.endLoc)}},yp=class extends hp{constructor(c,o){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(u,h,f,d)=>this.options.errorRecovery?(this.raise(Qe.InvalidDigit,{at:Zl(u,h,f),radix:d}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(Qe.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(Qe.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(Qe.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(Qe.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(u,h,f)=>{this.recordStrictModeErrors(Qe.StrictNumericEscape,{at:Zl(u,h,f)})},unterminated:(u,h,f)=>{throw this.raise(Qe.UnterminatedString,{at:Zl(u-1,h,f)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(Qe.StrictNumericEscape),unterminated:(u,h,f)=>{throw this.raise(Qe.UnterminatedTemplate,{at:Zl(u,h,f)})}}),this.state=new pp,this.state.init(c),this.input=o,this.length=o.length,this.isLookahead=!1}pushToken(c){this.tokens.length=this.state.tokensLength,this.tokens.push(c),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new na(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(c){return this.match(c)?(this.next(),!0):!1}match(c){return this.state.type===c}createLookaheadState(c){return{pos:c.pos,value:null,type:c.type,start:c.start,end:c.end,context:[this.curContext()],inType:c.inType,startLoc:c.startLoc,lastTokEndLoc:c.lastTokEndLoc,curLine:c.curLine,lineStart:c.lineStart,curPosition:c.curPosition}}lookahead(){let c=this.state;this.state=this.createLookaheadState(c),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let o=this.state;return this.state=c,o}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(c){return Wl.lastIndex=c,Wl.test(this.input)?Wl.lastIndex:c}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(c){let o=this.input.charCodeAt(c);if((o&64512)===55296&&++c<this.input.length){let u=this.input.charCodeAt(c);(u&64512)===56320&&(o=65536+((o&1023)<<10)+(u&1023))}return o}setStrict(c){this.state.strict=c,c&&(this.state.strictErrors.forEach(o=>{let[u,h]=o;return this.raise(u,{at:h})}),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(c){let o;this.isLookahead||(o=this.state.curPosition());let u=this.state.pos,h=this.input.indexOf(c,u+2);if(h===-1)throw this.raise(Qe.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=h+c.length,Ec.lastIndex=u+2;Ec.test(this.input)&&Ec.lastIndex<=h;)++this.state.curLine,this.state.lineStart=Ec.lastIndex;if(this.isLookahead)return;let f={type:"CommentBlock",value:this.input.slice(u+2,h),start:u,end:h+c.length,loc:new xi(o,this.state.curPosition())};return this.options.tokens&&this.pushToken(f),f}skipLineComment(c){let o=this.state.pos,u;this.isLookahead||(u=this.state.curPosition());let h=this.input.charCodeAt(this.state.pos+=c);if(this.state.pos<this.length)for(;!zl(h)&&++this.state.pos<this.length;)h=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let f=this.state.pos,d={type:"CommentLine",value:this.input.slice(o+c,f),start:o,end:f,loc:new xi(u,this.state.curPosition())};return this.options.tokens&&this.pushToken(d),d}skipSpace(){let c=this.state.pos,o=[];e:for(;this.state.pos<this.length;){let u=this.input.charCodeAt(this.state.pos);switch(u){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let h=this.skipBlockComment("*/");h!==void 0&&(this.addComment(h),this.options.attachComment&&o.push(h));break}case 47:{let h=this.skipLineComment(2);h!==void 0&&(this.addComment(h),this.options.attachComment&&o.push(h));break}default:break e}break;default:if(hf(u))++this.state.pos;else if(u===45&&!this.inModule&&this.options.annexB){let h=this.state.pos;if(this.input.charCodeAt(h+1)===45&&this.input.charCodeAt(h+2)===62&&(c===0||this.state.lineStart>c)){let f=this.skipLineComment(3);f!==void 0&&(this.addComment(f),this.options.attachComment&&o.push(f))}else break e}else if(u===60&&!this.inModule&&this.options.annexB){let h=this.state.pos;if(this.input.charCodeAt(h+1)===33&&this.input.charCodeAt(h+2)===45&&this.input.charCodeAt(h+3)===45){let f=this.skipLineComment(4);f!==void 0&&(this.addComment(f),this.options.attachComment&&o.push(f))}else break e}else break e}}if(o.length>0){let u=this.state.pos,h={start:c,end:u,comments:o,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(h)}}finishToken(c,o){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let u=this.state.type;this.state.type=c,this.state.value=o,this.isLookahead||this.updateContext(u)}replaceToken(c){this.state.type=c,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let c=this.state.pos+1,o=this.codePointAtPos(c);if(o>=48&&o<=57)throw this.raise(Qe.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(o===123||o===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(o===123?Qe.RecordExpressionHashIncorrectStartSyntaxType:Qe.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,o===123?this.finishToken(7):this.finishToken(1)}else jo(o)?(++this.state.pos,this.finishToken(136,this.readWord1(o))):o===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let c=this.input.charCodeAt(this.state.pos+1);if(c>=48&&c<=57){this.readNumber(!0);return}c===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let c=this.input.charCodeAt(this.state.pos+1);if(c!==33)return!1;let o=this.state.pos;for(this.state.pos+=1;!zl(c)&&++this.state.pos<this.length;)c=this.input.charCodeAt(this.state.pos);let u=this.input.slice(o+2,this.state.pos);return this.finishToken(28,u),!0}readToken_mult_modulo(c){let o=c===42?55:54,u=1,h=this.input.charCodeAt(this.state.pos+1);c===42&&h===42&&(u++,h=this.input.charCodeAt(this.state.pos+2),o=57),h===61&&!this.state.inType&&(u++,o=c===37?33:30),this.finishOp(o,u)}readToken_pipe_amp(c){let o=this.input.charCodeAt(this.state.pos+1);if(o===c){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(c===124?41:42,2);return}if(c===124){if(o===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&o===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&o===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(4);return}}if(o===61){this.finishOp(30,2);return}this.finishOp(c===124?43:45,1)}readToken_caret(){let c=this.input.charCodeAt(this.state.pos+1);c===61&&!this.state.inType?this.finishOp(32,2):c===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(c){let o=this.input.charCodeAt(this.state.pos+1);if(o===c){this.finishOp(34,2);return}o===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:c}=this.state,o=this.input.charCodeAt(c+1);if(o===60){if(this.input.charCodeAt(c+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(o===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:c}=this.state,o=this.input.charCodeAt(c+1);if(o===62){let u=this.input.charCodeAt(c+2)===62?3:2;if(this.input.charCodeAt(c+u)===61){this.finishOp(30,u+1);return}this.finishOp(52,u);return}if(o===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(c){let o=this.input.charCodeAt(this.state.pos+1);if(o===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(c===61&&o===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(c===61?29:35,1)}readToken_question(){let c=this.input.charCodeAt(this.state.pos+1),o=this.input.charCodeAt(this.state.pos+2);c===63?o===61?this.finishOp(30,3):this.finishOp(40,2):c===46&&!(o>=48&&o<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(c){switch(c){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(Qe.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let o=this.input.charCodeAt(this.state.pos+1);if(o===120||o===88){this.readRadixNumber(16);return}if(o===111||o===79){this.readRadixNumber(8);return}if(o===98||o===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(c);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(c);return;case 124:case 38:this.readToken_pipe_amp(c);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(c);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(c);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(jo(c)){this.readWord(c);return}}throw this.raise(Qe.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(c)})}finishOp(c,o){let u=this.input.slice(this.state.pos,this.state.pos+o);this.state.pos+=o,this.finishToken(c,u)}readRegexp(){let c=this.state.startLoc,o=this.state.start+1,u,h,{pos:f}=this.state;for(;;++f){if(f>=this.length)throw this.raise(Qe.UnterminatedRegExp,{at:Ei(c,1)});let O=this.input.charCodeAt(f);if(zl(O))throw this.raise(Qe.UnterminatedRegExp,{at:Ei(c,1)});if(u)u=!1;else{if(O===91)h=!0;else if(O===93&&h)h=!1;else if(O===47&&!h)break;u=O===92}}let d=this.input.slice(o,f);++f;let y="",D=()=>Ei(c,f+2-o);for(;f<this.length;){let O=this.codePointAtPos(f),x=String.fromCharCode(O);if(Oh.has(O))O===118?(this.expectPlugin("regexpUnicodeSets",D()),y.includes("u")&&this.raise(Qe.IncompatibleRegExpUVFlags,{at:D()})):O===117&&y.includes("v")&&this.raise(Qe.IncompatibleRegExpUVFlags,{at:D()}),y.includes(x)&&this.raise(Qe.DuplicateRegExpFlags,{at:D()});else if(ba(O)||O===92)this.raise(Qe.MalformedRegExpFlags,{at:D()});else break;++f,y+=x}this.state.pos=f,this.finishToken(135,{pattern:d,flags:y})}readInt(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{n:f,pos:d}=mp(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,o,u,h,this.errorHandlers_readInt,!1);return this.state.pos=d,f}readRadixNumber(c){let o=this.state.curPosition(),u=!1;this.state.pos+=2;let h=this.readInt(c);h==null&&this.raise(Qe.InvalidDigit,{at:Ei(o,2),radix:c});let f=this.input.charCodeAt(this.state.pos);if(f===110)++this.state.pos,u=!0;else if(f===109)throw this.raise(Qe.InvalidDecimal,{at:o});if(jo(this.codePointAtPos(this.state.pos)))throw this.raise(Qe.NumberIdentifier,{at:this.state.curPosition()});if(u){let d=this.input.slice(o.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,d);return}this.finishToken(132,h)}readNumber(c){let o=this.state.pos,u=this.state.curPosition(),h=!1,f=!1,d=!1,y=!1,D=!1;!c&&this.readInt(10)===null&&this.raise(Qe.InvalidNumber,{at:this.state.curPosition()});let O=this.state.pos-o>=2&&this.input.charCodeAt(o)===48;if(O){let F=this.input.slice(o,this.state.pos);if(this.recordStrictModeErrors(Qe.StrictOctalLiteral,{at:u}),!this.state.strict){let k=F.indexOf("_");k>0&&this.raise(Qe.ZeroDigitNumericSeparator,{at:Ei(u,k)})}D=O&&!/[89]/.test(F)}let x=this.input.charCodeAt(this.state.pos);if(x===46&&!D&&(++this.state.pos,this.readInt(10),h=!0,x=this.input.charCodeAt(this.state.pos)),(x===69||x===101)&&!D&&(x=this.input.charCodeAt(++this.state.pos),(x===43||x===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(Qe.InvalidOrMissingExponent,{at:u}),h=!0,y=!0,x=this.input.charCodeAt(this.state.pos)),x===110&&((h||O)&&this.raise(Qe.InvalidBigIntLiteral,{at:u}),++this.state.pos,f=!0),x===109&&(this.expectPlugin("decimal",this.state.curPosition()),(y||O)&&this.raise(Qe.InvalidDecimal,{at:u}),++this.state.pos,d=!0),jo(this.codePointAtPos(this.state.pos)))throw this.raise(Qe.NumberIdentifier,{at:this.state.curPosition()});let v=this.input.slice(o,this.state.pos).replace(/[_mn]/g,"");if(f){this.finishToken(133,v);return}if(d){this.finishToken(134,v);return}let E=D?parseInt(v,8):parseFloat(v);this.finishToken(132,E)}readCodePoint(c){let{code:o,pos:u}=Ac(this.input,this.state.pos,this.state.lineStart,this.state.curLine,c,this.errorHandlers_readCodePoint);return this.state.pos=u,o}readString(c){let{str:o,pos:u,curLine:h,lineStart:f}=gh(c===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=u+1,this.state.lineStart=f,this.state.curLine=h,this.finishToken(131,o)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let c=this.input[this.state.pos],{str:o,firstInvalidLoc:u,pos:h,curLine:f,lineStart:d}=gh("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=h+1,this.state.lineStart=d,this.state.curLine=f,u&&(this.state.firstInvalidTemplateEscapePos=new Jn(u.curLine,u.pos-u.lineStart,u.pos)),this.input.codePointAt(h)===96?this.finishToken(24,u?null:c+o+"`"):(this.state.pos++,this.finishToken(25,u?null:c+o+"${"))}recordStrictModeErrors(c,o){let{at:u}=o,h=u.index;this.state.strict&&!this.state.strictErrors.has(h)?this.raise(c,{at:u}):this.state.strictErrors.set(h,[c,u])}readWord1(c){this.state.containsEsc=!1;let o="",u=this.state.pos,h=this.state.pos;for(c!==void 0&&(this.state.pos+=c<=65535?1:2);this.state.pos<this.length;){let f=this.codePointAtPos(this.state.pos);if(ba(f))this.state.pos+=f<=65535?1:2;else if(f===92){this.state.containsEsc=!0,o+=this.input.slice(h,this.state.pos);let d=this.state.curPosition(),y=this.state.pos===u?jo:ba;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(Qe.MissingUnicodeEscape,{at:this.state.curPosition()}),h=this.state.pos-1;continue}++this.state.pos;let D=this.readCodePoint(!0);D!==null&&(y(D)||this.raise(Qe.EscapedCharNotAnIdentifier,{at:d}),o+=String.fromCodePoint(D)),h=this.state.pos}else break}return o+this.input.slice(h,this.state.pos)}readWord(c){let o=this.readWord1(c),u=Ti.get(o);u!==void 0?this.finishToken(u,jr(u)):this.finishToken(130,o)}checkKeywordEscapes(){let{type:c}=this.state;Vt(c)&&this.state.containsEsc&&this.raise(Qe.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:jr(c)})}raise(c,o){let{at:u}=o,h=Zn(o,pf),f=u instanceof Jn?u:u.loc.start,d=c({loc:f,details:h});if(!this.options.errorRecovery)throw d;return this.isLookahead||this.state.errors.push(d),d}raiseOverwrite(c,o){let{at:u}=o,h=Zn(o,gp),f=u instanceof Jn?u:u.loc.start,d=f.index,y=this.state.errors;for(let D=y.length-1;D>=0;D--){let O=y[D];if(O.loc.index===d)return y[D]=c({loc:f,details:h});if(O.loc.index<d)break}return this.raise(c,o)}updateContext(c){}unexpected(c,o){throw this.raise(Qe.UnexpectedToken,{expected:o?jr(o):null,at:c??this.state.startLoc})}expectPlugin(c,o){if(this.hasPlugin(c))return!0;throw this.raise(Qe.MissingPlugin,{at:o??this.state.startLoc,missingPlugin:[c]})}expectOnePlugin(c){if(!c.some(o=>this.hasPlugin(o)))throw this.raise(Qe.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:c})}errorBuilder(c){return(o,u,h)=>{this.raise(c,{at:Zl(o,u,h)})}}},Dp=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},yu=class{constructor(c){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=c}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Dp)}exit(){let c=this.stack.pop(),o=this.current();for(let[u,h]of Array.from(c.undefinedPrivateNames))o?o.undefinedPrivateNames.has(u)||o.undefinedPrivateNames.set(u,h):this.parser.raise(Qe.InvalidPrivateFieldResolution,{at:h,identifierName:u})}declarePrivateName(c,o,u){let{privateNames:h,loneAccessors:f,undefinedPrivateNames:d}=this.current(),y=h.has(c);if(o&du){let D=y&&f.get(c);if(D){let O=D&Xl,x=o&Xl,v=D&du,E=o&du;y=v===E||O!==x,y||f.delete(c)}else y||f.set(c,o)}y&&this.parser.raise(Qe.PrivateNameRedeclaration,{at:u,identifierName:c}),h.add(c),d.delete(c)}usePrivateName(c,o){let u;for(u of this.stack)if(u.privateNames.has(c))return;u?u.undefinedPrivateNames.set(c,o):this.parser.raise(Qe.InvalidPrivateFieldResolution,{at:o,identifierName:c})}},Du=0,Op=1,xh=2,xp=3,Yl=class{constructor(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Du;this.type=void 0,this.type=c}canBeArrowParameterDeclaration(){return this.type===xh||this.type===Op}isCertainlyParameterDeclaration(){return this.type===xp}},bh=class extends Yl{constructor(c){super(c),this.declarationErrors=new Map}recordDeclarationError(c,o){let{at:u}=o,h=u.index;this.declarationErrors.set(h,[c,u])}clearDeclarationError(c){this.declarationErrors.delete(c)}iterateErrors(c){this.declarationErrors.forEach(c)}},ff=class{constructor(c){this.parser=void 0,this.stack=[new Yl],this.parser=c}enter(c){this.stack.push(c)}exit(){this.stack.pop()}recordParameterInitializerError(c,o){let{at:u}=o,h={at:u.loc.start},{stack:f}=this,d=f.length-1,y=f[d];for(;!y.isCertainlyParameterDeclaration();){if(y.canBeArrowParameterDeclaration())y.recordDeclarationError(c,h);else return;y=f[--d]}this.parser.raise(c,h)}recordArrowParameterBindingError(c,o){let{at:u}=o,{stack:h}=this,f=h[h.length-1],d={at:u.loc.start};if(f.isCertainlyParameterDeclaration())this.parser.raise(c,d);else if(f.canBeArrowParameterDeclaration())f.recordDeclarationError(c,d);else return}recordAsyncArrowParametersError(c){let{at:o}=c,{stack:u}=this,h=u.length-1,f=u[h];for(;f.canBeArrowParameterDeclaration();)f.type===xh&&f.recordDeclarationError(Qe.AwaitBindingIdentifier,{at:o}),f=u[--h]}validateAsPattern(){let{stack:c}=this,o=c[c.length-1];o.canBeArrowParameterDeclaration()&&o.iterateErrors(u=>{let[h,f]=u;this.parser.raise(h,{at:f});let d=c.length-2,y=c[d];for(;y.canBeArrowParameterDeclaration();)y.clearDeclarationError(f.index),y=c[--d]})}};function vh(){return new Yl(xp)}function Ch(){return new bh(Op)}function Sh(){return new bh(xh)}function w(){return new Yl}var ee=0,Y=1,H=2,oe=4,pe=8,ce=class{constructor(){this.stacks=[]}enter(c){this.stacks.push(c)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&H)>0}get hasYield(){return(this.currentFlags()&Y)>0}get hasReturn(){return(this.currentFlags()&oe)>0}get hasIn(){return(this.currentFlags()&pe)>0}};function de(c,o){return(c?H:0)|(o?Y:0)}var se=class extends yp{addExtra(c,o,u){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!c)return;let f=c.extra=c.extra||{};h?f[o]=u:Object.defineProperty(f,o,{enumerable:h,value:u})}isContextual(c){return this.state.type===c&&!this.state.containsEsc}isUnparsedContextual(c,o){let u=c+o.length;if(this.input.slice(c,u)===o){let h=this.input.charCodeAt(u);return!(ba(h)||(h&64512)===55296)}return!1}isLookaheadContextual(c){let o=this.nextTokenStart();return this.isUnparsedContextual(o,c)}eatContextual(c){return this.isContextual(c)?(this.next(),!0):!1}expectContextual(c,o){if(!this.eatContextual(c)){if(o!=null)throw this.raise(o,{at:this.state.startLoc});this.unexpected(null,c)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return dh.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return gu.lastIndex=this.state.end,gu.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isLineTerminator():this.eat(13))||this.raise(Qe.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(c,o){this.eat(c)||this.unexpected(o,c)}tryParse(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone(),u={node:null};try{let h=c(function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw u.node=f,u});if(this.state.errors.length>o.errors.length){let f=this.state;return this.state=o,this.state.tokensLength=f.tokensLength,{node:h,error:f.errors[o.errors.length],thrown:!1,aborted:!1,failState:f}}return{node:h,error:null,thrown:!1,aborted:!1,failState:null}}catch(h){let f=this.state;if(this.state=o,h instanceof SyntaxError)return{node:null,error:h,thrown:!0,aborted:!1,failState:f};if(h===u)return{node:u.node,error:null,thrown:!1,aborted:!0,failState:f};throw h}}checkExpressionErrors(c,o){if(!c)return!1;let{shorthandAssignLoc:u,doubleProtoLoc:h,privateKeyLoc:f,optionalParametersLoc:d}=c,y=!!u||!!h||!!d||!!f;if(!o)return y;u!=null&&this.raise(Qe.InvalidCoverInitializedName,{at:u}),h!=null&&this.raise(Qe.DuplicateProto,{at:h}),f!=null&&this.raise(Qe.UnexpectedPrivateField,{at:f}),d!=null&&this.unexpected(d)}isLiteralPropertyName(){return ut(this.state.type)}isPrivateName(c){return c.type==="PrivateName"}getPrivateNameSV(c){return c.id.name}hasPropertyAsPrivateName(c){return(c.type==="MemberExpression"||c.type==="OptionalMemberExpression")&&this.isPrivateName(c.property)}isObjectProperty(c){return c.type==="ObjectProperty"}isObjectMethod(c){return c.type==="ObjectMethod"}initializeScopes(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.sourceType==="module",o=this.state.labels;this.state.labels=[];let u=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let h=this.inModule;this.inModule=c;let f=this.scope,d=this.getScopeHandler();this.scope=new d(this,c);let y=this.prodParam;this.prodParam=new ce;let D=this.classScope;this.classScope=new yu(this);let O=this.expressionScope;return this.expressionScope=new ff(this),()=>{this.state.labels=o,this.exportedIdentifiers=u,this.inModule=h,this.scope=f,this.prodParam=y,this.classScope=D,this.expressionScope=O}}enterInitialScopes(){let c=ee;this.inModule&&(c|=H),this.scope.enter(Uu),this.prodParam.enter(c)}checkDestructuringPrivate(c){let{privateKeyLoc:o}=c;o!==null&&this.expectPlugin("destructuringPrivate",o)}},fe=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},P=class{constructor(c,o,u){this.type="",this.start=o,this.end=0,this.loc=new xi(u),c!=null&&c.options.ranges&&(this.range=[o,0]),c!=null&&c.filename&&(this.loc.filename=c.filename)}},C=P.prototype;C.__clone=function(){let c=new P(void 0,this.start,this.loc.start),o=Object.keys(this);for(let u=0,h=o.length;u<h;u++){let f=o[u];f!=="leadingComments"&&f!=="trailingComments"&&f!=="innerComments"&&(c[f]=this[f])}return c};function J(c){return V(c)}function V(c){let{type:o,start:u,end:h,loc:f,range:d,extra:y,name:D}=c,O=Object.create(C);return O.type=o,O.start=u,O.end=h,O.loc=f,O.range=d,O.extra=y,O.name=D,o==="Placeholder"&&(O.expectedNode=c.expectedNode),O}function we(c){let{type:o,start:u,end:h,loc:f,range:d,extra:y}=c;if(o==="Placeholder")return J(c);let D=Object.create(C);return D.type=o,D.start=u,D.end=h,D.loc=f,D.range=d,c.raw!==void 0?D.raw=c.raw:D.extra=y,D.value=c.value,D}var De=class extends se{startNode(){return new P(this,this.state.start,this.state.startLoc)}startNodeAt(c){return new P(this,c.index,c)}startNodeAtNode(c){return this.startNodeAt(c.loc.start)}finishNode(c,o){return this.finishNodeAt(c,o,this.state.lastTokEndLoc)}finishNodeAt(c,o,u){return c.type=o,c.end=u.index,c.loc.end=u,this.options.ranges&&(c.range[1]=u.index),this.options.attachComment&&this.processComment(c),c}resetStartLocation(c,o){c.start=o.index,c.loc.start=o,this.options.ranges&&(c.range[0]=o.index)}resetEndLocation(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;c.end=o.index,c.loc.end=o,this.options.ranges&&(c.range[1]=o.index)}resetStartLocationFromNode(c,o){this.resetStartLocation(c,o.loc.start)}},Xe=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ve=zi`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:c=>{let{reservedType:o}=c;return`Cannot overwrite reserved type ${o}.`},DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:c=>{let{memberName:o,enumName:u}=c;return`Boolean enum members need to be initialized. Use either \`${o} = true,\` or \`${o} = false,\` in enum \`${u}\`.`},EnumDuplicateMemberName:c=>{let{memberName:o,enumName:u}=c;return`Enum member names need to be unique, but the name \`${o}\` has already been used before in enum \`${u}\`.`},EnumInconsistentMemberValues:c=>{let{enumName:o}=c;return`Enum \`${o}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:c=>{let{invalidEnumType:o,enumName:u}=c;return`Enum type \`${o}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${u}\`.`},EnumInvalidExplicitTypeUnknownSupplied:c=>{let{enumName:o}=c;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${o}\`.`},EnumInvalidMemberInitializerPrimaryType:c=>{let{enumName:o,memberName:u,explicitType:h}=c;return`Enum \`${o}\` has type \`${h}\`, so the initializer of \`${u}\` needs to be a ${h} literal.`},EnumInvalidMemberInitializerSymbolType:c=>{let{enumName:o,memberName:u}=c;return`Symbol enum members cannot be initialized. Use \`${u},\` in enum \`${o}\`.`},EnumInvalidMemberInitializerUnknownType:c=>{let{enumName:o,memberName:u}=c;return`The enum member initializer for \`${u}\` needs to be a literal (either a boolean, number, or string) in enum \`${o}\`.`},EnumInvalidMemberName:c=>{let{enumName:o,memberName:u,suggestion:h}=c;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${u}\`, consider using \`${h}\`, in enum \`${o}\`.`},EnumNumberMemberNotInitialized:c=>{let{enumName:o,memberName:u}=c;return`Number enum members need to be initialized, e.g. \`${u} = 1\` in enum \`${o}\`.`},EnumStringMemberInconsistentlyInitailized:c=>{let{enumName:o}=c;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${o}\`.`},GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:c=>{let{reservedType:o}=c;return`Unexpected reserved type ${o}.`},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:c=>{let{unsupportedExportKind:o,suggestion:u}=c;return`\`declare export ${o}\` is not supported. Use \`${u}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Ae(c){return c.type==="DeclareExportAllDeclaration"||c.type==="DeclareExportDeclaration"&&(!c.declaration||c.declaration.type!=="TypeAlias"&&c.declaration.type!=="InterfaceDeclaration")}function pt(c){return c.importKind==="type"||c.importKind==="typeof"}function yt(c){return qe(c)&&c!==97}var Ft={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function Tr(c,o){let u=[],h=[];for(let f=0;f<c.length;f++)(o(c[f],f,c)?u:h).push(c[f]);return[u,h]}var Yr=/\*?\s*@((?:no)?flow)\b/,un=c=>class extends c{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return lp}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(o,u){o!==131&&o!==13&&o!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(o,u)}addComment(o){if(this.flowPragma===void 0){let u=Yr.exec(o.value);if(u)if(u[1]==="flow")this.flowPragma="flow";else if(u[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(o)}flowParseTypeInitialiser(o){let u=this.state.inType;this.state.inType=!0,this.expect(o||14);let h=this.flowParseType();return this.state.inType=u,h}flowParsePredicate(){let o=this.startNode(),u=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>u.index+1&&this.raise(ve.UnexpectedSpaceBetweenModuloChecks,{at:u}),this.eat(10)?(o.value=super.parseExpression(),this.expect(11),this.finishNode(o,"DeclaredPredicate")):this.finishNode(o,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let o=this.state.inType;this.state.inType=!0,this.expect(14);let u=null,h=null;return this.match(54)?(this.state.inType=o,h=this.flowParsePredicate()):(u=this.flowParseType(),this.state.inType=o,this.match(54)&&(h=this.flowParsePredicate())),[u,h]}flowParseDeclareClass(o){return this.next(),this.flowParseInterfaceish(o,!0),this.finishNode(o,"DeclareClass")}flowParseDeclareFunction(o){this.next();let u=o.id=this.parseIdentifier(),h=this.startNode(),f=this.startNode();this.match(47)?h.typeParameters=this.flowParseTypeParameterDeclaration():h.typeParameters=null,this.expect(10);let d=this.flowParseFunctionTypeParams();return h.params=d.params,h.rest=d.rest,h.this=d._this,this.expect(11),[h.returnType,o.predicate]=this.flowParseTypeAndPredicateInitialiser(),f.typeAnnotation=this.finishNode(h,"FunctionTypeAnnotation"),u.typeAnnotation=this.finishNode(f,"TypeAnnotation"),this.resetEndLocation(u),this.semicolon(),this.scope.declareName(o.id.name,ap,o.id.loc.start),this.finishNode(o,"DeclareFunction")}flowParseDeclare(o,u){if(this.match(80))return this.flowParseDeclareClass(o);if(this.match(68))return this.flowParseDeclareFunction(o);if(this.match(74))return this.flowParseDeclareVariable(o);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(o):(u&&this.raise(ve.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(o));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(o);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(o);if(this.isContextual(127))return this.flowParseDeclareInterface(o);if(this.match(82))return this.flowParseDeclareExportDeclaration(o,u);this.unexpected()}flowParseDeclareVariable(o){return this.next(),o.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(o.id.name,Yu,o.id.loc.start),this.semicolon(),this.finishNode(o,"DeclareVariable")}flowParseDeclareModule(o){this.scope.enter(Vu),this.match(131)?o.id=super.parseExprAtom():o.id=this.parseIdentifier();let u=o.body=this.startNode(),h=u.body=[];for(this.expect(5);!this.match(8);){let y=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(ve.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(y)):(this.expectContextual(123,ve.UnsupportedStatementInDeclareModule),y=this.flowParseDeclare(y,!0)),h.push(y)}this.scope.exit(),this.expect(8),this.finishNode(u,"BlockStatement");let f=null,d=!1;return h.forEach(y=>{Ae(y)?(f==="CommonJS"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:y}),f="ES"):y.type==="DeclareModuleExports"&&(d&&this.raise(ve.DuplicateDeclareModuleExports,{at:y}),f==="ES"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:y}),f="CommonJS",d=!0)}),o.kind=f||"CommonJS",this.finishNode(o,"DeclareModule")}flowParseDeclareExportDeclaration(o,u){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?o.declaration=this.flowParseDeclare(this.startNode()):(o.declaration=this.flowParseType(),this.semicolon()),o.default=!0,this.finishNode(o,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!u){let h=this.state.value;throw this.raise(ve.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:h,suggestion:Ft[h]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return o.declaration=this.flowParseDeclare(this.startNode()),o.default=!1,this.finishNode(o,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return o=this.parseExport(o,null),o.type==="ExportNamedDeclaration"&&(o.type="ExportDeclaration",o.default=!1,delete o.exportKind),o.type="Declare"+o.type,o;this.unexpected()}flowParseDeclareModuleExports(o){return this.next(),this.expectContextual(109),o.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(o,"DeclareModuleExports")}flowParseDeclareTypeAlias(o){this.next();let u=this.flowParseTypeAlias(o);return u.type="DeclareTypeAlias",u}flowParseDeclareOpaqueType(o){this.next();let u=this.flowParseOpaqueType(o,!0);return u.type="DeclareOpaqueType",u}flowParseDeclareInterface(o){return this.next(),this.flowParseInterfaceish(o,!1),this.finishNode(o,"DeclareInterface")}flowParseInterfaceish(o,u){if(o.id=this.flowParseRestrictedIdentifier(!u,!0),this.scope.declareName(o.id.name,u?bc:Ra,o.id.loc.start),this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.extends=[],o.implements=[],o.mixins=[],this.eat(81))do o.extends.push(this.flowParseInterfaceExtends());while(!u&&this.eat(12));if(u){if(this.eatContextual(115))do o.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do o.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}o.body=this.flowParseObjectType({allowStatic:u,allowExact:!1,allowSpread:!1,allowProto:u,allowInexact:!1})}flowParseInterfaceExtends(){let o=this.startNode();return o.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?o.typeParameters=this.flowParseTypeParameterInstantiation():o.typeParameters=null,this.finishNode(o,"InterfaceExtends")}flowParseInterface(o){return this.flowParseInterfaceish(o,!1),this.finishNode(o,"InterfaceDeclaration")}checkNotUnderscore(o){o==="_"&&this.raise(ve.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(o,u,h){Xe.has(o)&&this.raise(h?ve.AssignReservedType:ve.UnexpectedReservedType,{at:u,reservedType:o})}flowParseRestrictedIdentifier(o,u){return this.checkReservedType(this.state.value,this.state.startLoc,u),this.parseIdentifier(o)}flowParseTypeAlias(o){return o.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(o.id.name,Ra,o.id.loc.start),this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(o,"TypeAlias")}flowParseOpaqueType(o,u){return this.expectContextual(128),o.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(o.id.name,Ra,o.id.loc.start),this.match(47)?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.supertype=null,this.match(14)&&(o.supertype=this.flowParseTypeInitialiser(14)),o.impltype=null,u||(o.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(o,"OpaqueType")}flowParseTypeParameter(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,u=this.state.startLoc,h=this.startNode(),f=this.flowParseVariance(),d=this.flowParseTypeAnnotatableIdentifier();return h.name=d.name,h.variance=f,h.bound=d.typeAnnotation,this.match(29)?(this.eat(29),h.default=this.flowParseType()):o&&this.raise(ve.MissingTypeParamDefault,{at:u}),this.finishNode(h,"TypeParameter")}flowParseTypeParameterDeclaration(){let o=this.state.inType,u=this.startNode();u.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let h=!1;do{let f=this.flowParseTypeParameter(h);u.params.push(f),f.default&&(h=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=o,this.finishNode(u,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let o=this.startNode(),u=this.state.inType;o.params=[],this.state.inType=!0,this.expect(47);let h=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)o.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=h,this.expect(48),this.state.inType=u,this.finishNode(o,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let o=this.startNode(),u=this.state.inType;for(o.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)o.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=u,this.finishNode(o,"TypeParameterInstantiation")}flowParseInterfaceType(){let o=this.startNode();if(this.expectContextual(127),o.extends=[],this.eat(81))do o.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return o.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(o,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(o,u,h){return o.static=u,this.lookahead().type===14?(o.id=this.flowParseObjectPropertyKey(),o.key=this.flowParseTypeInitialiser()):(o.id=null,o.key=this.flowParseType()),this.expect(3),o.value=this.flowParseTypeInitialiser(),o.variance=h,this.finishNode(o,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(o,u){return o.static=u,o.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(o.method=!0,o.optional=!1,o.value=this.flowParseObjectTypeMethodish(this.startNodeAt(o.loc.start))):(o.method=!1,this.eat(17)&&(o.optional=!0),o.value=this.flowParseTypeInitialiser()),this.finishNode(o,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(o){for(o.params=[],o.rest=null,o.typeParameters=null,o.this=null,this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(o.this=this.flowParseFunctionTypeParam(!0),o.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)o.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(o.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),o.returnType=this.flowParseTypeInitialiser(),this.finishNode(o,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(o,u){let h=this.startNode();return o.static=u,o.value=this.flowParseObjectTypeMethodish(h),this.finishNode(o,"ObjectTypeCallProperty")}flowParseObjectType(o){let{allowStatic:u,allowExact:h,allowSpread:f,allowProto:d,allowInexact:y}=o,D=this.state.inType;this.state.inType=!0;let O=this.startNode();O.callProperties=[],O.properties=[],O.indexers=[],O.internalSlots=[];let x,v,E=!1;for(h&&this.match(6)?(this.expect(6),x=9,v=!0):(this.expect(5),x=8,v=!1),O.exact=v;!this.match(x);){let k=!1,I=null,T=null,_=this.startNode();if(d&&this.isContextual(116)){let W=this.lookahead();W.type!==14&&W.type!==17&&(this.next(),I=this.state.startLoc,u=!1)}if(u&&this.isContextual(104)){let W=this.lookahead();W.type!==14&&W.type!==17&&(this.next(),k=!0)}let R=this.flowParseVariance();if(this.eat(0))I!=null&&this.unexpected(I),this.eat(0)?(R&&this.unexpected(R.loc.start),O.internalSlots.push(this.flowParseObjectTypeInternalSlot(_,k))):O.indexers.push(this.flowParseObjectTypeIndexer(_,k,R));else if(this.match(10)||this.match(47))I!=null&&this.unexpected(I),R&&this.unexpected(R.loc.start),O.callProperties.push(this.flowParseObjectTypeCallProperty(_,k));else{let W="init";if(this.isContextual(98)||this.isContextual(103)){let L=this.lookahead();ut(L.type)&&(W=this.state.value,this.next())}let ne=this.flowParseObjectTypeProperty(_,k,I,R,W,f,y??!v);ne===null?(E=!0,T=this.state.lastTokStartLoc):O.properties.push(ne)}this.flowObjectTypeSemicolon(),T&&!this.match(8)&&!this.match(9)&&this.raise(ve.UnexpectedExplicitInexactInObject,{at:T})}this.expect(x),f&&(O.inexact=E);let F=this.finishNode(O,"ObjectTypeAnnotation");return this.state.inType=D,F}flowParseObjectTypeProperty(o,u,h,f,d,y,D){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(y?D||this.raise(ve.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(ve.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),f&&this.raise(ve.InexactVariance,{at:f}),null):(y||this.raise(ve.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),h!=null&&this.unexpected(h),f&&this.raise(ve.SpreadVariance,{at:f}),o.argument=this.flowParseType(),this.finishNode(o,"ObjectTypeSpreadProperty"));{o.key=this.flowParseObjectPropertyKey(),o.static=u,o.proto=h!=null,o.kind=d;let O=!1;return this.match(47)||this.match(10)?(o.method=!0,h!=null&&this.unexpected(h),f&&this.unexpected(f.loc.start),o.value=this.flowParseObjectTypeMethodish(this.startNodeAt(o.loc.start)),(d==="get"||d==="set")&&this.flowCheckGetterSetterParams(o),!y&&o.key.name==="constructor"&&o.value.this&&this.raise(ve.ThisParamBannedInConstructor,{at:o.value.this})):(d!=="init"&&this.unexpected(),o.method=!1,this.eat(17)&&(O=!0),o.value=this.flowParseTypeInitialiser(),o.variance=f),o.optional=O,this.finishNode(o,"ObjectTypeProperty")}}flowCheckGetterSetterParams(o){let u=o.kind==="get"?0:1,h=o.value.params.length+(o.value.rest?1:0);o.value.this&&this.raise(o.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam,{at:o.value.this}),h!==u&&this.raise(o.kind==="get"?Qe.BadGetterArity:Qe.BadSetterArity,{at:o}),o.kind==="set"&&o.value.rest&&this.raise(Qe.BadSetterRestParameter,{at:o})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(o,u){o!=null||(o=this.state.startLoc);let h=u||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let f=this.startNodeAt(o);f.qualification=h,f.id=this.flowParseRestrictedIdentifier(!0),h=this.finishNode(f,"QualifiedTypeIdentifier")}return h}flowParseGenericType(o,u){let h=this.startNodeAt(o);return h.typeParameters=null,h.id=this.flowParseQualifiedTypeIdentifier(o,u),this.match(47)&&(h.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(h,"GenericTypeAnnotation")}flowParseTypeofType(){let o=this.startNode();return this.expect(87),o.argument=this.flowParsePrimaryType(),this.finishNode(o,"TypeofTypeAnnotation")}flowParseTupleType(){let o=this.startNode();for(o.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(o.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(o,"TupleTypeAnnotation")}flowParseFunctionTypeParam(o){let u=null,h=!1,f=null,d=this.startNode(),y=this.lookahead(),D=this.state.type===78;return y.type===14||y.type===17?(D&&!o&&this.raise(ve.ThisParamMustBeFirst,{at:d}),u=this.parseIdentifier(D),this.eat(17)&&(h=!0,D&&this.raise(ve.ThisParamMayNotBeOptional,{at:d})),f=this.flowParseTypeInitialiser()):f=this.flowParseType(),d.name=u,d.optional=h,d.typeAnnotation=f,this.finishNode(d,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(o){let u=this.startNodeAt(o.loc.start);return u.name=null,u.optional=!1,u.typeAnnotation=o,this.finishNode(u,"FunctionTypeParam")}flowParseFunctionTypeParams(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=null,h=null;for(this.match(78)&&(h=this.flowParseFunctionTypeParam(!0),h.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)o.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(u=this.flowParseFunctionTypeParam(!1)),{params:o,rest:u,_this:h}}flowIdentToTypeAnnotation(o,u,h){switch(h.name){case"any":return this.finishNode(u,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(u,"BooleanTypeAnnotation");case"mixed":return this.finishNode(u,"MixedTypeAnnotation");case"empty":return this.finishNode(u,"EmptyTypeAnnotation");case"number":return this.finishNode(u,"NumberTypeAnnotation");case"string":return this.finishNode(u,"StringTypeAnnotation");case"symbol":return this.finishNode(u,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(h.name),this.flowParseGenericType(o,h)}}flowParsePrimaryType(){let o=this.state.startLoc,u=this.startNode(),h,f,d=!1,y=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,f=this.flowParseTupleType(),this.state.noAnonFunctionType=y,f;case 47:return u.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),h=this.flowParseFunctionTypeParams(),u.params=h.params,u.rest=h.rest,u.this=h._this,this.expect(11),this.expect(19),u.returnType=this.flowParseType(),this.finishNode(u,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(at(this.state.type)||this.match(78)){let D=this.lookahead().type;d=D!==17&&D!==14}else d=!0;if(d){if(this.state.noAnonFunctionType=!1,f=this.flowParseType(),this.state.noAnonFunctionType=y,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),f;this.eat(12)}return f?h=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(f)]):h=this.flowParseFunctionTypeParams(),u.params=h.params,u.rest=h.rest,u.this=h._this,this.expect(11),this.expect(19),u.returnType=this.flowParseType(),u.typeParameters=null,this.finishNode(u,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return u.value=this.match(85),this.next(),this.finishNode(u,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",u);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",u);throw this.raise(ve.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(u,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(u,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(u,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(u,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Vt(this.state.type)){let D=jr(this.state.type);return this.next(),super.createIdentifier(u,D)}else if(at(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(o,u,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let o=this.state.startLoc,u=this.flowParsePrimaryType(),h=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let f=this.startNodeAt(o),d=this.eat(18);h=h||d,this.expect(0),!d&&this.match(3)?(f.elementType=u,this.next(),u=this.finishNode(f,"ArrayTypeAnnotation")):(f.objectType=u,f.indexType=this.flowParseType(),this.expect(3),h?(f.optional=d,u=this.finishNode(f,"OptionalIndexedAccessType")):u=this.finishNode(f,"IndexedAccessType"))}return u}flowParsePrefixType(){let o=this.startNode();return this.eat(17)?(o.typeAnnotation=this.flowParsePrefixType(),this.finishNode(o,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let o=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let u=this.startNodeAt(o.loc.start);return u.params=[this.reinterpretTypeAsFunctionTypeParam(o)],u.rest=null,u.this=null,u.returnType=this.flowParseType(),u.typeParameters=null,this.finishNode(u,"FunctionTypeAnnotation")}return o}flowParseIntersectionType(){let o=this.startNode();this.eat(45);let u=this.flowParseAnonFunctionWithoutParens();for(o.types=[u];this.eat(45);)o.types.push(this.flowParseAnonFunctionWithoutParens());return o.types.length===1?u:this.finishNode(o,"IntersectionTypeAnnotation")}flowParseUnionType(){let o=this.startNode();this.eat(43);let u=this.flowParseIntersectionType();for(o.types=[u];this.eat(43);)o.types.push(this.flowParseIntersectionType());return o.types.length===1?u:this.finishNode(o,"UnionTypeAnnotation")}flowParseType(){let o=this.state.inType;this.state.inType=!0;let u=this.flowParseUnionType();return this.state.inType=o,u}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){let o=this.state.startLoc,u=this.parseIdentifier();return this.flowParseGenericType(o,u)}else return this.flowParseType()}flowParseTypeAnnotation(){let o=this.startNode();return o.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(o,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(o){let u=o?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(u.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(u)),u}typeCastToParameter(o){return o.expression.typeAnnotation=o.typeAnnotation,this.resetEndLocation(o.expression,o.typeAnnotation.loc.end),o.expression}flowParseVariance(){let o=null;return this.match(53)?(o=this.startNode(),this.state.value==="+"?o.kind="plus":o.kind="minus",this.next(),this.finishNode(o,"Variance")):o}parseFunctionBody(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(u){this.forwardNoArrowParamsConversionAt(o,()=>super.parseFunctionBody(o,!0,h));return}super.parseFunctionBody(o,!1,h)}parseFunctionBodyAndFinish(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.match(14)){let f=this.startNode();[f.typeAnnotation,o.predicate]=this.flowParseTypeAndPredicateInitialiser(),o.returnType=f.typeAnnotation?this.finishNode(f,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(o,u,h)}parseStatementLike(o){if(this.state.strict&&this.isContextual(127)){let h=this.lookahead();if(qe(h.type)){let f=this.startNode();return this.next(),this.flowParseInterface(f)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let h=this.startNode();return this.next(),this.flowParseEnumDeclaration(h)}let u=super.parseStatementLike(o);return this.flowPragma===void 0&&!this.isValidDirective(u)&&(this.flowPragma=null),u}parseExpressionStatement(o,u,h){if(u.type==="Identifier"){if(u.name==="declare"){if(this.match(80)||at(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(o)}else if(at(this.state.type)){if(u.name==="interface")return this.flowParseInterface(o);if(u.name==="type")return this.flowParseTypeAlias(o);if(u.name==="opaque")return this.flowParseOpaqueType(o,!1)}}return super.parseExpressionStatement(o,u,h)}shouldParseExportDeclaration(){let{type:o}=this.state;return it(o)||this.shouldParseEnums()&&o===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:o}=this.state;return it(o)||this.shouldParseEnums()&&o===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let o=this.startNode();return this.next(),this.flowParseEnumDeclaration(o)}return super.parseExportDefaultExpression()}parseConditional(o,u,h){if(!this.match(17))return o;if(this.state.maybeInArrowParameters){let E=this.lookaheadCharCode();if(E===44||E===61||E===58||E===41)return this.setOptionalParametersError(h),o}this.expect(17);let f=this.state.clone(),d=this.state.noArrowAt,y=this.startNodeAt(u),{consequent:D,failed:O}=this.tryParseConditionalConsequent(),[x,v]=this.getArrowLikeExpressions(D);if(O||v.length>0){let E=[...d];if(v.length>0){this.state=f,this.state.noArrowAt=E;for(let F=0;F<v.length;F++)E.push(v[F].start);({consequent:D,failed:O}=this.tryParseConditionalConsequent()),[x,v]=this.getArrowLikeExpressions(D)}O&&x.length>1&&this.raise(ve.AmbiguousConditionalArrow,{at:f.startLoc}),O&&x.length===1&&(this.state=f,E.push(x[0].start),this.state.noArrowAt=E,{consequent:D,failed:O}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(D,!0),this.state.noArrowAt=d,this.expect(14),y.test=o,y.consequent=D,y.alternate=this.forwardNoArrowParamsConversionAt(y,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(y,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let o=this.parseMaybeAssignAllowIn(),u=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:o,failed:u}}getArrowLikeExpressions(o,u){let h=[o],f=[];for(;h.length!==0;){let d=h.pop();d.type==="ArrowFunctionExpression"?(d.typeParameters||!d.returnType?this.finishArrowValidation(d):f.push(d),h.push(d.body)):d.type==="ConditionalExpression"&&(h.push(d.consequent),h.push(d.alternate))}return u?(f.forEach(d=>this.finishArrowValidation(d)),[f,[]]):Tr(f,d=>d.params.every(y=>this.isAssignable(y,!0)))}finishArrowValidation(o){var u;this.toAssignableList(o.params,(u=o.extra)==null?void 0:u.trailingCommaLoc,!1),this.scope.enter(va|Bl),super.checkParams(o,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(o,u){let h;return this.state.noArrowParamsConversionAt.indexOf(o.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),h=u(),this.state.noArrowParamsConversionAt.pop()):h=u(),h}parseParenItem(o,u){if(o=super.parseParenItem(o,u),this.eat(17)&&(o.optional=!0,this.resetEndLocation(o)),this.match(14)){let h=this.startNodeAt(u);return h.expression=o,h.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(h,"TypeCastExpression")}return o}assertModuleNodeAllowed(o){o.type==="ImportDeclaration"&&(o.importKind==="type"||o.importKind==="typeof")||o.type==="ExportNamedDeclaration"&&o.exportKind==="type"||o.type==="ExportAllDeclaration"&&o.exportKind==="type"||super.assertModuleNodeAllowed(o)}parseExport(o,u){let h=super.parseExport(o,u);return(h.type==="ExportNamedDeclaration"||h.type==="ExportAllDeclaration")&&(h.exportKind=h.exportKind||"value"),h}parseExportDeclaration(o){if(this.isContextual(128)){o.exportKind="type";let u=this.startNode();return this.next(),this.match(5)?(o.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(o),null):this.flowParseTypeAlias(u)}else if(this.isContextual(129)){o.exportKind="type";let u=this.startNode();return this.next(),this.flowParseOpaqueType(u,!1)}else if(this.isContextual(127)){o.exportKind="type";let u=this.startNode();return this.next(),this.flowParseInterface(u)}else if(this.shouldParseEnums()&&this.isContextual(124)){o.exportKind="value";let u=this.startNode();return this.next(),this.flowParseEnumDeclaration(u)}else return super.parseExportDeclaration(o)}eatExportStar(o){return super.eatExportStar(o)?!0:this.isContextual(128)&&this.lookahead().type===55?(o.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(o){let{startLoc:u}=this.state,h=super.maybeParseExportNamespaceSpecifier(o);return h&&o.exportKind==="type"&&this.unexpected(u),h}parseClassId(o,u,h){super.parseClassId(o,u,h),this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(o,u,h){let{startLoc:f}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(o,u))return;u.declare=!0}super.parseClassMember(o,u,h),u.declare&&(u.type!=="ClassProperty"&&u.type!=="ClassPrivateProperty"&&u.type!=="PropertyDefinition"?this.raise(ve.DeclareClassElement,{at:f}):u.value&&this.raise(ve.DeclareClassFieldInitializer,{at:u.value}))}isIterator(o){return o==="iterator"||o==="asyncIterator"}readIterator(){let o=super.readWord1(),u="@@"+o;(!this.isIterator(o)||!this.state.inType)&&this.raise(Qe.InvalidIdentifier,{at:this.state.curPosition(),identifierName:u}),this.finishToken(130,u)}getTokenFromCode(o){let u=this.input.charCodeAt(this.state.pos+1);o===123&&u===124?this.finishOp(6,2):this.state.inType&&(o===62||o===60)?this.finishOp(o===62?48:47,1):this.state.inType&&o===63?u===46?this.finishOp(18,2):this.finishOp(17,1):uf(o,u,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(o)}isAssignable(o,u){return o.type==="TypeCastExpression"?this.isAssignable(o.expression,u):super.isAssignable(o,u)}toAssignable(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!u&&o.type==="AssignmentExpression"&&o.left.type==="TypeCastExpression"&&(o.left=this.typeCastToParameter(o.left)),super.toAssignable(o,u)}toAssignableList(o,u,h){for(let f=0;f<o.length;f++){let d=o[f];(d==null?void 0:d.type)==="TypeCastExpression"&&(o[f]=this.typeCastToParameter(d))}super.toAssignableList(o,u,h)}toReferencedList(o,u){for(let f=0;f<o.length;f++){var h;let d=o[f];d&&d.type==="TypeCastExpression"&&!((h=d.extra)!=null&&h.parenthesized)&&(o.length>1||!u)&&this.raise(ve.TypeCastInPattern,{at:d.typeAnnotation})}return o}parseArrayLike(o,u,h,f){let d=super.parseArrayLike(o,u,h,f);return u&&!this.state.maybeInArrowParameters&&this.toReferencedList(d.elements),d}isValidLVal(o,u,h){return o==="TypeCastExpression"||super.isValidLVal(o,u,h)}parseClassProperty(o){return this.match(14)&&(o.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(o)}parseClassPrivateProperty(o){return this.match(14)&&(o.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(o)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(o){return!this.match(14)&&super.isNonstaticConstructor(o)}pushClassMethod(o,u,h,f,d,y){if(u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(o,u,h,f,d,y),u.params&&d){let D=u.params;D.length>0&&this.isThisParam(D[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:u})}else if(u.type==="MethodDefinition"&&d&&u.value.params){let D=u.value.params;D.length>0&&this.isThisParam(D[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:u})}}pushClassPrivateMethod(o,u,h,f){u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(o,u,h,f)}parseClassSuper(o){if(super.parseClassSuper(o),o.superClass&&this.match(47)&&(o.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let u=o.implements=[];do{let h=this.startNode();h.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?h.typeParameters=this.flowParseTypeParameterInstantiation():h.typeParameters=null,u.push(this.finishNode(h,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(o){super.checkGetterSetterParams(o);let u=this.getObjectOrClassMethodParams(o);if(u.length>0){let h=u[0];this.isThisParam(h)&&o.kind==="get"?this.raise(ve.GetterMayNotHaveThisParam,{at:h}):this.isThisParam(h)&&this.raise(ve.SetterMayNotHaveThisParam,{at:h})}}parsePropertyNamePrefixOperator(o){o.variance=this.flowParseVariance()}parseObjPropValue(o,u,h,f,d,y,D){o.variance&&this.unexpected(o.variance.loc.start),delete o.variance;let O;this.match(47)&&!y&&(O=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let x=super.parseObjPropValue(o,u,h,f,d,y,D);return O&&((x.value||x).typeParameters=O),x}parseAssignableListItemTypes(o){return this.eat(17)&&(o.type!=="Identifier"&&this.raise(ve.PatternIsOptional,{at:o}),this.isThisParam(o)&&this.raise(ve.ThisParamMayNotBeOptional,{at:o}),o.optional=!0),this.match(14)?o.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(o)&&this.raise(ve.ThisParamAnnotationRequired,{at:o}),this.match(29)&&this.isThisParam(o)&&this.raise(ve.ThisParamNoDefault,{at:o}),this.resetEndLocation(o),o}parseMaybeDefault(o,u){let h=super.parseMaybeDefault(o,u);return h.type==="AssignmentPattern"&&h.typeAnnotation&&h.right.start<h.typeAnnotation.start&&this.raise(ve.TypeBeforeInitializer,{at:h.typeAnnotation}),h}shouldParseDefaultImport(o){return pt(o)?yt(this.state.type):super.shouldParseDefaultImport(o)}checkImportReflection(o){super.checkImportReflection(o),o.module&&o.importKind!=="value"&&this.raise(ve.ImportReflectionHasImportType,{at:o.specifiers[0].loc.start})}parseImportSpecifierLocal(o,u,h){u.local=pt(o)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),o.specifiers.push(this.finishImportSpecifier(u,h))}maybeParseDefaultImportSpecifier(o){o.importKind="value";let u=null;if(this.match(87)?u="typeof":this.isContextual(128)&&(u="type"),u){let h=this.lookahead(),{type:f}=h;u==="type"&&f===55&&this.unexpected(null,h.type),(yt(f)||f===5||f===55)&&(this.next(),o.importKind=u)}return super.maybeParseDefaultImportSpecifier(o)}parseImportSpecifier(o,u,h,f,d){let y=o.imported,D=null;y.type==="Identifier"&&(y.name==="type"?D="type":y.name==="typeof"&&(D="typeof"));let O=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let v=this.parseIdentifier(!0);D!==null&&!qe(this.state.type)?(o.imported=v,o.importKind=D,o.local=V(v)):(o.imported=y,o.importKind=null,o.local=this.parseIdentifier())}else{if(D!==null&&qe(this.state.type))o.imported=this.parseIdentifier(!0),o.importKind=D;else{if(u)throw this.raise(Qe.ImportBindingIsString,{at:o,importName:y.value});o.imported=y,o.importKind=null}this.eatContextual(93)?o.local=this.parseIdentifier():(O=!0,o.local=V(o.imported))}let x=pt(o);return h&&x&&this.raise(ve.ImportTypeShorthandOnlyInPureImport,{at:o}),(h||x)&&this.checkReservedType(o.local.name,o.local.loc.start,!0),O&&!h&&!x&&this.checkReservedWord(o.local.name,o.loc.start,!0,!0),this.finishImportSpecifier(o,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(o,u){let h=o.kind;h!=="get"&&h!=="set"&&this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(o,u)}parseVarId(o,u){super.parseVarId(o,u),this.match(14)&&(o.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(o.id))}parseAsyncArrowFromCallExpression(o,u){if(this.match(14)){let h=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,o.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=h}return super.parseAsyncArrowFromCallExpression(o,u)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(o,u){var h;let f=null,d;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(f=this.state.clone(),d=this.tryParse(()=>super.parseMaybeAssign(o,u),f),!d.error)return d.node;let{context:O}=this.state,x=O[O.length-1];(x===mr.j_oTag||x===mr.j_expr)&&O.pop()}if((h=d)!=null&&h.error||this.match(47)){var y,D;f=f||this.state.clone();let O,x=this.tryParse(E=>{var F;O=this.flowParseTypeParameterDeclaration();let k=this.forwardNoArrowParamsConversionAt(O,()=>{let T=super.parseMaybeAssign(o,u);return this.resetStartLocationFromNode(T,O),T});(F=k.extra)!=null&&F.parenthesized&&E();let I=this.maybeUnwrapTypeCastExpression(k);return I.type!=="ArrowFunctionExpression"&&E(),I.typeParameters=O,this.resetStartLocationFromNode(I,O),k},f),v=null;if(x.node&&this.maybeUnwrapTypeCastExpression(x.node).type==="ArrowFunctionExpression"){if(!x.error&&!x.aborted)return x.node.async&&this.raise(ve.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:O}),x.node;v=x.node}if((y=d)!=null&&y.node)return this.state=d.failState,d.node;if(v)return this.state=x.failState,v;throw(D=d)!=null&&D.thrown?d.error:x.thrown?x.error:this.raise(ve.UnexpectedTokenAfterTypeParameter,{at:O})}return super.parseMaybeAssign(o,u)}parseArrow(o){if(this.match(14)){let u=this.tryParse(()=>{let h=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let f=this.startNode();return[f.typeAnnotation,o.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=h,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),f});if(u.thrown)return null;u.error&&(this.state=u.failState),o.returnType=u.node.typeAnnotation?this.finishNode(u.node,"TypeAnnotation"):null}return super.parseArrow(o)}shouldParseArrow(o){return this.match(14)||super.shouldParseArrow(o)}setArrowFunctionParameters(o,u){this.state.noArrowParamsConversionAt.indexOf(o.start)!==-1?o.params=u:super.setArrowFunctionParameters(o,u)}checkParams(o,u,h){let f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!(h&&this.state.noArrowParamsConversionAt.indexOf(o.start)!==-1)){for(let d=0;d<o.params.length;d++)this.isThisParam(o.params[d])&&d>0&&this.raise(ve.ThisParamMustBeFirst,{at:o.params[d]});super.checkParams(o,u,h,f)}}parseParenAndDistinguishExpression(o){return super.parseParenAndDistinguishExpression(o&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(o,u,h){if(o.type==="Identifier"&&o.name==="async"&&this.state.noArrowAt.indexOf(u.index)!==-1){this.next();let f=this.startNodeAt(u);f.callee=o,f.arguments=super.parseCallExpressionArguments(11,!1),o=this.finishNode(f,"CallExpression")}else if(o.type==="Identifier"&&o.name==="async"&&this.match(47)){let f=this.state.clone(),d=this.tryParse(D=>this.parseAsyncArrowWithTypeParameters(u)||D(),f);if(!d.error&&!d.aborted)return d.node;let y=this.tryParse(()=>super.parseSubscripts(o,u,h),f);if(y.node&&!y.error)return y.node;if(d.node)return this.state=d.failState,d.node;if(y.node)return this.state=y.failState,y.node;throw d.error||y.error}return super.parseSubscripts(o,u,h)}parseSubscript(o,u,h,f){if(this.match(18)&&this.isLookaheadToken_lt()){if(f.optionalChainMember=!0,h)return f.stop=!0,o;this.next();let d=this.startNodeAt(u);return d.callee=o,d.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),d.arguments=this.parseCallExpressionArguments(11,!1),d.optional=!0,this.finishCallExpression(d,!0)}else if(!h&&this.shouldParseTypes()&&this.match(47)){let d=this.startNodeAt(u);d.callee=o;let y=this.tryParse(()=>(d.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),d.arguments=super.parseCallExpressionArguments(11,!1),f.optionalChainMember&&(d.optional=!1),this.finishCallExpression(d,f.optionalChainMember)));if(y.node)return y.error&&(this.state=y.failState),y.node}return super.parseSubscript(o,u,h,f)}parseNewCallee(o){super.parseNewCallee(o);let u=null;this.shouldParseTypes()&&this.match(47)&&(u=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),o.typeArguments=u}parseAsyncArrowWithTypeParameters(o){let u=this.startNodeAt(o);if(this.parseFunctionParams(u,!1),!!this.parseArrow(u))return super.parseArrowExpression(u,void 0,!0)}readToken_mult_modulo(o){let u=this.input.charCodeAt(this.state.pos+1);if(o===42&&u===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(o)}readToken_pipe_amp(o){let u=this.input.charCodeAt(this.state.pos+1);if(o===124&&u===125){this.finishOp(9,2);return}super.readToken_pipe_amp(o)}parseTopLevel(o,u){let h=super.parseTopLevel(o,u);return this.state.hasFlowComment&&this.raise(ve.UnterminatedFlowComment,{at:this.state.curPosition()}),h}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(ve.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let o=this.skipFlowComment();o&&(this.state.pos+=o,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:o}=this.state,u=2;for(;[32,9].includes(this.input.charCodeAt(o+u));)u++;let h=this.input.charCodeAt(u+o),f=this.input.charCodeAt(u+o+1);return h===58&&f===58?u+2:this.input.slice(u+o,u+o+12)==="flow-include"?u+12:h===58&&f!==58?u:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(Qe.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(o,u){let{enumName:h,memberName:f}=u;this.raise(ve.EnumBooleanMemberNotInitialized,{at:o,memberName:f,enumName:h})}flowEnumErrorInvalidMemberInitializer(o,u){return this.raise(u.explicitType?u.explicitType==="symbol"?ve.EnumInvalidMemberInitializerSymbolType:ve.EnumInvalidMemberInitializerPrimaryType:ve.EnumInvalidMemberInitializerUnknownType,Object.assign({at:o},u))}flowEnumErrorNumberMemberNotInitialized(o,u){let{enumName:h,memberName:f}=u;this.raise(ve.EnumNumberMemberNotInitialized,{at:o,enumName:h,memberName:f})}flowEnumErrorStringMemberInconsistentlyInitailized(o,u){let{enumName:h}=u;this.raise(ve.EnumStringMemberInconsistentlyInitailized,{at:o,enumName:h})}flowEnumMemberInit(){let o=this.state.startLoc,u=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let h=this.parseNumericLiteral(this.state.value);return u()?{type:"number",loc:h.loc.start,value:h}:{type:"invalid",loc:o}}case 131:{let h=this.parseStringLiteral(this.state.value);return u()?{type:"string",loc:h.loc.start,value:h}:{type:"invalid",loc:o}}case 85:case 86:{let h=this.parseBooleanLiteral(this.match(85));return u()?{type:"boolean",loc:h.loc.start,value:h}:{type:"invalid",loc:o}}default:return{type:"invalid",loc:o}}}flowEnumMemberRaw(){let o=this.state.startLoc,u=this.parseIdentifier(!0),h=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:o};return{id:u,init:h}}flowEnumCheckExplicitTypeMismatch(o,u,h){let{explicitType:f}=u;f!==null&&f!==h&&this.flowEnumErrorInvalidMemberInitializer(o,u)}flowEnumMembers(o){let{enumName:u,explicitType:h}=o,f=new Set,d={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},y=!1;for(;!this.match(8);){if(this.eat(21)){y=!0;break}let D=this.startNode(),{id:O,init:x}=this.flowEnumMemberRaw(),v=O.name;if(v==="")continue;/^[a-z]/.test(v)&&this.raise(ve.EnumInvalidMemberName,{at:O,memberName:v,suggestion:v[0].toUpperCase()+v.slice(1),enumName:u}),f.has(v)&&this.raise(ve.EnumDuplicateMemberName,{at:O,memberName:v,enumName:u}),f.add(v);let E={enumName:u,explicitType:h,memberName:v};switch(D.id=O,x.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(x.loc,E,"boolean"),D.init=x.value,d.booleanMembers.push(this.finishNode(D,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(x.loc,E,"number"),D.init=x.value,d.numberMembers.push(this.finishNode(D,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(x.loc,E,"string"),D.init=x.value,d.stringMembers.push(this.finishNode(D,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(x.loc,E);case"none":switch(h){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(x.loc,E);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(x.loc,E);break;default:d.defaultedMembers.push(this.finishNode(D,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:d,hasUnknownMembers:y}}flowEnumStringMembers(o,u,h){let{enumName:f}=h;if(o.length===0)return u;if(u.length===0)return o;if(u.length>o.length){for(let d of o)this.flowEnumErrorStringMemberInconsistentlyInitailized(d,{enumName:f});return u}else{for(let d of u)this.flowEnumErrorStringMemberInconsistentlyInitailized(d,{enumName:f});return o}}flowEnumParseExplicitType(o){let{enumName:u}=o;if(!this.eatContextual(101))return null;if(!at(this.state.type))throw this.raise(ve.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:u});let{value:h}=this.state;return this.next(),h!=="boolean"&&h!=="number"&&h!=="string"&&h!=="symbol"&&this.raise(ve.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:u,invalidEnumType:h}),h}flowEnumBody(o,u){let h=u.name,f=u.loc.start,d=this.flowEnumParseExplicitType({enumName:h});this.expect(5);let{members:y,hasUnknownMembers:D}=this.flowEnumMembers({enumName:h,explicitType:d});switch(o.hasUnknownMembers=D,d){case"boolean":return o.explicitType=!0,o.members=y.booleanMembers,this.expect(8),this.finishNode(o,"EnumBooleanBody");case"number":return o.explicitType=!0,o.members=y.numberMembers,this.expect(8),this.finishNode(o,"EnumNumberBody");case"string":return o.explicitType=!0,o.members=this.flowEnumStringMembers(y.stringMembers,y.defaultedMembers,{enumName:h}),this.expect(8),this.finishNode(o,"EnumStringBody");case"symbol":return o.members=y.defaultedMembers,this.expect(8),this.finishNode(o,"EnumSymbolBody");default:{let O=()=>(o.members=[],this.expect(8),this.finishNode(o,"EnumStringBody"));o.explicitType=!1;let x=y.booleanMembers.length,v=y.numberMembers.length,E=y.stringMembers.length,F=y.defaultedMembers.length;if(!x&&!v&&!E&&!F)return O();if(!x&&!v)return o.members=this.flowEnumStringMembers(y.stringMembers,y.defaultedMembers,{enumName:h}),this.expect(8),this.finishNode(o,"EnumStringBody");if(!v&&!E&&x>=F){for(let k of y.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(k.loc.start,{enumName:h,memberName:k.id.name});return o.members=y.booleanMembers,this.expect(8),this.finishNode(o,"EnumBooleanBody")}else if(!x&&!E&&v>=F){for(let k of y.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(k.loc.start,{enumName:h,memberName:k.id.name});return o.members=y.numberMembers,this.expect(8),this.finishNode(o,"EnumNumberBody")}else return this.raise(ve.EnumInconsistentMemberValues,{at:f,enumName:h}),O()}}}flowParseEnumDeclaration(o){let u=this.parseIdentifier();return o.id=u,o.body=this.flowEnumBody(this.startNode(),u),this.finishNode(o,"EnumDeclaration")}isLookaheadToken_lt(){let o=this.nextTokenStart();if(this.input.charCodeAt(o)===60){let u=this.input.charCodeAt(o+1);return u!==60&&u!==61}return!1}maybeUnwrapTypeCastExpression(o){return o.type==="TypeCastExpression"?o.expression:o}},Vn={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",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:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",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:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",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:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},wn=zi`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:c=>{let{openingTagName:o}=c;return`Expected corresponding JSX closing tag for <${o}>.`},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:c=>{let{unexpected:o,HTMLEntity:u}=c;return`Unexpected token \`${o}\`. Did you mean \`${u}\` or \`{'${o}'}\`?`},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function Rn(c){return c?c.type==="JSXOpeningFragment"||c.type==="JSXClosingFragment":!1}function Tn(c){if(c.type==="JSXIdentifier")return c.name;if(c.type==="JSXNamespacedName")return c.namespace.name+":"+c.name.name;if(c.type==="JSXMemberExpression")return Tn(c.object)+"."+Tn(c.property);throw new Error("Node had unexpected type: "+c.type)}var Un=c=>class extends c{jsxReadToken(){let o="",u=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(wn.UnterminatedJsxContent,{at:this.state.startLoc});let h=this.input.charCodeAt(this.state.pos);switch(h){case 60:case 123:if(this.state.pos===this.state.start){h===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(h);return}o+=this.input.slice(u,this.state.pos),this.finishToken(139,o);return;case 38:o+=this.input.slice(u,this.state.pos),o+=this.jsxReadEntity(),u=this.state.pos;break;case 62:case 125:default:zl(h)?(o+=this.input.slice(u,this.state.pos),o+=this.jsxReadNewLine(!0),u=this.state.pos):++this.state.pos}}}jsxReadNewLine(o){let u=this.input.charCodeAt(this.state.pos),h;return++this.state.pos,u===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,h=o?`
|
||
`:`\r
|
||
`):h=String.fromCharCode(u),++this.state.curLine,this.state.lineStart=this.state.pos,h}jsxReadString(o){let u="",h=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Qe.UnterminatedString,{at:this.state.startLoc});let f=this.input.charCodeAt(this.state.pos);if(f===o)break;f===38?(u+=this.input.slice(h,this.state.pos),u+=this.jsxReadEntity(),h=this.state.pos):zl(f)?(u+=this.input.slice(h,this.state.pos),u+=this.jsxReadNewLine(!1),h=this.state.pos):++this.state.pos}u+=this.input.slice(h,this.state.pos++),this.finishToken(131,u)}jsxReadEntity(){let o=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let u=10;this.codePointAtPos(this.state.pos)===120&&(u=16,++this.state.pos);let h=this.readInt(u,void 0,!1,"bail");if(h!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(h)}else{let u=0,h=!1;for(;u++<10&&this.state.pos<this.length&&!(h=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(h){let f=this.input.slice(o,this.state.pos),d=Vn[f];if(++this.state.pos,d)return d}}return this.state.pos=o,"&"}jsxReadWord(){let o,u=this.state.pos;do o=this.input.charCodeAt(++this.state.pos);while(ba(o)||o===45);this.finishToken(138,this.input.slice(u,this.state.pos))}jsxParseIdentifier(){let o=this.startNode();return this.match(138)?o.name=this.state.value:Vt(this.state.type)?o.name=jr(this.state.type):this.unexpected(),this.next(),this.finishNode(o,"JSXIdentifier")}jsxParseNamespacedName(){let o=this.state.startLoc,u=this.jsxParseIdentifier();if(!this.eat(14))return u;let h=this.startNodeAt(o);return h.namespace=u,h.name=this.jsxParseIdentifier(),this.finishNode(h,"JSXNamespacedName")}jsxParseElementName(){let o=this.state.startLoc,u=this.jsxParseNamespacedName();if(u.type==="JSXNamespacedName")return u;for(;this.eat(16);){let h=this.startNodeAt(o);h.object=u,h.property=this.jsxParseIdentifier(),u=this.finishNode(h,"JSXMemberExpression")}return u}jsxParseAttributeValue(){let o;switch(this.state.type){case 5:return o=this.startNode(),this.setContext(mr.brace),this.next(),o=this.jsxParseExpressionContainer(o,mr.j_oTag),o.expression.type==="JSXEmptyExpression"&&this.raise(wn.AttributeIsEmpty,{at:o}),o;case 140:case 131:return this.parseExprAtom();default:throw this.raise(wn.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let o=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(o,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(o){return this.next(),o.expression=this.parseExpression(),this.setContext(mr.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(o,"JSXSpreadChild")}jsxParseExpressionContainer(o,u){if(this.match(8))o.expression=this.jsxParseEmptyExpression();else{let h=this.parseExpression();o.expression=h}return this.setContext(u),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(o,"JSXExpressionContainer")}jsxParseAttribute(){let o=this.startNode();return this.match(5)?(this.setContext(mr.brace),this.next(),this.expect(21),o.argument=this.parseMaybeAssignAllowIn(),this.setContext(mr.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(o,"JSXSpreadAttribute")):(o.name=this.jsxParseNamespacedName(),o.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(o,"JSXAttribute"))}jsxParseOpeningElementAt(o){let u=this.startNodeAt(o);return this.eat(141)?this.finishNode(u,"JSXOpeningFragment"):(u.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(u))}jsxParseOpeningElementAfterName(o){let u=[];for(;!this.match(56)&&!this.match(141);)u.push(this.jsxParseAttribute());return o.attributes=u,o.selfClosing=this.eat(56),this.expect(141),this.finishNode(o,"JSXOpeningElement")}jsxParseClosingElementAt(o){let u=this.startNodeAt(o);return this.eat(141)?this.finishNode(u,"JSXClosingFragment"):(u.name=this.jsxParseElementName(),this.expect(141),this.finishNode(u,"JSXClosingElement"))}jsxParseElementAt(o){let u=this.startNodeAt(o),h=[],f=this.jsxParseOpeningElementAt(o),d=null;if(!f.selfClosing){e:for(;;)switch(this.state.type){case 140:if(o=this.state.startLoc,this.next(),this.eat(56)){d=this.jsxParseClosingElementAt(o);break e}h.push(this.jsxParseElementAt(o));break;case 139:h.push(this.parseExprAtom());break;case 5:{let y=this.startNode();this.setContext(mr.brace),this.next(),this.match(21)?h.push(this.jsxParseSpreadChild(y)):h.push(this.jsxParseExpressionContainer(y,mr.j_expr));break}default:this.unexpected()}Rn(f)&&!Rn(d)&&d!==null?this.raise(wn.MissingClosingTagFragment,{at:d}):!Rn(f)&&Rn(d)?this.raise(wn.MissingClosingTagElement,{at:d,openingTagName:Tn(f.name)}):!Rn(f)&&!Rn(d)&&Tn(d.name)!==Tn(f.name)&&this.raise(wn.MissingClosingTagElement,{at:d,openingTagName:Tn(f.name)})}if(Rn(f)?(u.openingFragment=f,u.closingFragment=d):(u.openingElement=f,u.closingElement=d),u.children=h,this.match(47))throw this.raise(wn.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Rn(f)?this.finishNode(u,"JSXFragment"):this.finishNode(u,"JSXElement")}jsxParseElement(){let o=this.state.startLoc;return this.next(),this.jsxParseElementAt(o)}setContext(o){let{context:u}=this.state;u[u.length-1]=o}parseExprAtom(o){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(o)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(o){let u=this.curContext();if(u===mr.j_expr){this.jsxReadToken();return}if(u===mr.j_oTag||u===mr.j_cTag){if(jo(o)){this.jsxReadWord();return}if(o===62){++this.state.pos,this.finishToken(141);return}if((o===34||o===39)&&u===mr.j_oTag){this.jsxReadString(o);return}}if(o===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(140);return}super.getTokenFromCode(o)}updateContext(o){let{context:u,type:h}=this.state;if(h===56&&o===140)u.splice(-2,2,mr.j_cTag),this.state.canStartJSXElement=!1;else if(h===140)u.push(mr.j_oTag);else if(h===141){let f=u[u.length-1];f===mr.j_oTag&&o===56||f===mr.j_cTag?(u.pop(),this.state.canStartJSXElement=u[u.length-1]===mr.j_expr):(this.setContext(mr.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Lt(h)}},Br=class extends ql{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},hr=class extends mu{constructor(){super(...arguments),this.importsStack=[]}createScope(c){return this.importsStack.push(new Set),new Br(c)}enter(c){c==Ga&&this.importsStack.push(new Set),super.enter(c)}exit(){let c=super.exit();return c==Ga&&this.importsStack.pop(),c}hasImport(c,o){let u=this.importsStack.length;if(this.importsStack[u-1].has(c))return!0;if(!o&&u>1){for(let h=0;h<u-1;h++)if(this.importsStack[h].has(c))return!0}return!1}declareName(c,o,u){if(o&Rl){this.hasImport(c,!0)&&this.parser.raise(Qe.VarRedeclaration,{at:u,identifierName:c}),this.importsStack[this.importsStack.length-1].add(c);return}let h=this.currentScope();if(o&Ml){this.maybeExportDefined(h,c),h.exportOnlyBindings.add(c);return}super.declareName(c,o,u),o&Ca&&(o&ra||(this.checkRedeclarationInScope(h,c,o,u),this.maybeExportDefined(h,c)),h.types.add(c)),o&pu&&h.enums.add(c),o&Il&&h.constEnums.add(c),o&hu&&h.classes.add(c)}isRedeclaredInScope(c,o,u){if(c.enums.has(o)){if(u&pu){let h=!!(u&Il),f=c.constEnums.has(o);return h!==f}return!0}return u&hu&&c.classes.has(o)?c.lexical.has(o)?!!(u&ra):!1:u&Ca&&c.types.has(o)?!0:super.isRedeclaredInScope(c,o,u)}checkLocalExport(c){let{name:o}=c;if(this.hasImport(o))return;let u=this.scopeStack.length;for(let h=u-1;h>=0;h--){let f=this.scopeStack[h];if(f.types.has(o)||f.exportOnlyBindings.has(o))return}super.checkLocalExport(c)}},Mr=(c,o)=>Object.hasOwnProperty.call(c,o)&&c[o],pr=c=>c.type==="ParenthesizedExpression"?pr(c.expression):c,_s=class extends De{toAssignable(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var u,h;let f;switch((c.type==="ParenthesizedExpression"||(u=c.extra)!=null&&u.parenthesized)&&(f=pr(c),o?f.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(Qe.InvalidParenthesizedAssignment,{at:c}):f.type!=="MemberExpression"&&this.raise(Qe.InvalidParenthesizedAssignment,{at:c}):this.raise(Qe.InvalidParenthesizedAssignment,{at:c})),c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":c.type="ObjectPattern";for(let y=0,D=c.properties.length,O=D-1;y<D;y++){var d;let x=c.properties[y],v=y===O;this.toAssignableObjectExpressionProp(x,v,o),v&&x.type==="RestElement"&&(d=c.extra)!=null&&d.trailingCommaLoc&&this.raise(Qe.RestTrailingComma,{at:c.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:y,value:D}=c;this.isPrivateName(y)&&this.classScope.usePrivateName(this.getPrivateNameSV(y),y.loc.start),this.toAssignable(D,o);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":c.type="ArrayPattern",this.toAssignableList(c.elements,(h=c.extra)==null?void 0:h.trailingCommaLoc,o);break;case"AssignmentExpression":c.operator!=="="&&this.raise(Qe.MissingEqInAssignment,{at:c.left.loc.end}),c.type="AssignmentPattern",delete c.operator,this.toAssignable(c.left,o);break;case"ParenthesizedExpression":this.toAssignable(f,o);break}}toAssignableObjectExpressionProp(c,o,u){if(c.type==="ObjectMethod")this.raise(c.kind==="get"||c.kind==="set"?Qe.PatternHasAccessor:Qe.PatternHasMethod,{at:c.key});else if(c.type==="SpreadElement"){c.type="RestElement";let h=c.argument;this.checkToRestConversion(h,!1),this.toAssignable(h,u),o||this.raise(Qe.RestTrailingComma,{at:c})}else this.toAssignable(c,u)}toAssignableList(c,o,u){let h=c.length-1;for(let f=0;f<=h;f++){let d=c[f];if(d){if(d.type==="SpreadElement"){d.type="RestElement";let y=d.argument;this.checkToRestConversion(y,!0),this.toAssignable(y,u)}else this.toAssignable(d,u);d.type==="RestElement"&&(f<h?this.raise(Qe.RestTrailingComma,{at:d}):o&&this.raise(Qe.RestTrailingComma,{at:o}))}}}isAssignable(c,o){switch(c.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let u=c.properties.length-1;return c.properties.every((h,f)=>h.type!=="ObjectMethod"&&(f===u||h.type!=="SpreadElement")&&this.isAssignable(h))}case"ObjectProperty":return this.isAssignable(c.value);case"SpreadElement":return this.isAssignable(c.argument);case"ArrayExpression":return c.elements.every(u=>u===null||this.isAssignable(u));case"AssignmentExpression":return c.operator==="=";case"ParenthesizedExpression":return this.isAssignable(c.expression);case"MemberExpression":case"OptionalMemberExpression":return!o;default:return!1}}toReferencedList(c,o){return c}toReferencedListDeep(c,o){this.toReferencedList(c,o);for(let u of c)(u==null?void 0:u.type)==="ArrayExpression"&&this.toReferencedListDeep(u.elements)}parseSpread(c){let o=this.startNode();return this.next(),o.argument=this.parseMaybeAssignAllowIn(c,void 0),this.finishNode(o,"SpreadElement")}parseRestBinding(){let c=this.startNode();return this.next(),c.argument=this.parseBindingAtom(),this.finishNode(c,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let c=this.startNode();return this.next(),c.elements=this.parseBindingList(3,93,1),this.finishNode(c,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(c,o,u){let h=u&1,f=[],d=!0;for(;!this.eat(c);)if(d?d=!1:this.expect(12),h&&this.match(12))f.push(null);else{if(this.eat(c))break;if(this.match(21)){if(f.push(this.parseAssignableListItemTypes(this.parseRestBinding(),u)),!this.checkCommaAfterRest(o)){this.expect(c);break}}else{let y=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Qe.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)y.push(this.parseDecorator());f.push(this.parseAssignableListItem(u,y))}}return f}parseBindingRestProperty(c){return this.next(),c.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(c,"RestElement")}parseBindingProperty(){let c=this.startNode(),{type:o,startLoc:u}=this.state;return o===21?this.parseBindingRestProperty(c):(o===136?(this.expectPlugin("destructuringPrivate",u),this.classScope.usePrivateName(this.state.value,u),c.key=this.parsePrivateName()):this.parsePropertyName(c),c.method=!1,this.parseObjPropValue(c,u,!1,!1,!0,!1))}parseAssignableListItem(c,o){let u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u,c);let h=this.parseMaybeDefault(u.loc.start,u);return o.length&&(u.decorators=o),h}parseAssignableListItemTypes(c,o){return c}parseMaybeDefault(c,o){var u;if(c!=null||(c=this.state.startLoc),o=(u=o)!=null?u:this.parseBindingAtom(),!this.eat(29))return o;let h=this.startNodeAt(c);return h.left=o,h.right=this.parseMaybeAssignAllowIn(),this.finishNode(h,"AssignmentPattern")}isValidLVal(c,o,u){return Mr({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},c)}checkLVal(c,o){let{in:u,binding:h=Sa,checkClashes:f=!1,strictModeChanged:d=!1,hasParenthesizedAncestor:y=!1}=o;var D;let O=c.type;if(this.isObjectMethod(c))return;if(O==="MemberExpression"){h!==Sa&&this.raise(Qe.InvalidPropertyBindingPattern,{at:c});return}if(O==="Identifier"){this.checkIdentifier(c,h,d);let{name:k}=c;f&&(f.has(k)?this.raise(Qe.ParamDupe,{at:c}):f.add(k));return}let x=this.isValidLVal(O,!(y||(D=c.extra)!=null&&D.parenthesized)&&u.type==="AssignmentExpression",h);if(x===!0)return;if(x===!1){let k=h===Sa?Qe.InvalidLhs:Qe.InvalidLhsBinding;this.raise(k,{at:c,ancestor:u});return}let[v,E]=Array.isArray(x)?x:[x,O==="ParenthesizedExpression"],F=O==="ArrayPattern"||O==="ObjectPattern"||O==="ParenthesizedExpression"?{type:O}:u;for(let k of[].concat(c[v]))k&&this.checkLVal(k,{in:F,binding:h,checkClashes:f,strictModeChanged:d,hasParenthesizedAncestor:E})}checkIdentifier(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.state.strict&&(u?ss(c.name,this.inModule):rp(c.name))&&(o===Sa?this.raise(Qe.StrictEvalArguments,{at:c,referenceName:c.name}):this.raise(Qe.StrictEvalArgumentsBinding,{at:c,bindingName:c.name})),o&Ql&&c.name==="let"&&this.raise(Qe.LetInLexicalBinding,{at:c}),o&Sa||this.declareNameFromIdentifier(c,o)}declareNameFromIdentifier(c,o){this.scope.declareName(c.name,o,c.loc.start)}checkToRestConversion(c,o){switch(c.type){case"ParenthesizedExpression":this.checkToRestConversion(c.expression,o);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(o)break;default:this.raise(Qe.InvalidRestAssignmentPattern,{at:c})}}checkCommaAfterRest(c){return this.match(12)?(this.raise(this.lookaheadCharCode()===c?Qe.RestTrailingComma:Qe.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},es=(c,o)=>Object.hasOwnProperty.call(c,o)&&c[o];function hs(c){if(c==null)throw new Error(`Unexpected ${c} value.`);return c}function Zi(c){if(!c)throw new Error("Assert fail")}var _r=zi`typescript`({AbstractMethodHasImplementation:c=>{let{methodName:o}=c;return`Method '${o}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:c=>{let{propertyName:o}=c;return`Property '${o}' cannot have an initializer because it is marked abstract.`},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:c=>{let{kind:o}=c;return`'declare' is not allowed in ${o}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:c=>"Accessibility modifier already seen.",DuplicateModifier:c=>{let{modifier:o}=c;return`Duplicate modifier: '${o}'.`},EmptyHeritageClauseType:c=>{let{token:o}=c;return`'${o}' list cannot be empty.`},EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:c=>{let{modifiers:o}=c;return`'${o[0]}' modifier cannot be used with '${o[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:c=>{let{modifier:o}=c;return`Index signatures cannot have an accessibility modifier ('${o}').`},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:c=>{let{modifier:o}=c;return`'${o}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:c=>{let{modifier:o}=c;return`'${o}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:c=>{let{modifier:o}=c;return`'${o}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:c=>{let{orderedModifiers:o}=c;return`'${o[0]}' modifier must precede '${o[1]}' modifier.`},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:c=>{let{modifier:o}=c;return`Private elements cannot have an accessibility modifier ('${o}').`},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:c=>{let{typeParameterName:o}=c;return`Single type parameter ${o} should have a trailing comma. Example usage: <${o},>.`},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:c=>{let{type:o}=c;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${o}.`}});function Dn(c){switch(c){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function ci(c){return c==="private"||c==="public"||c==="protected"}function Kn(c){return c==="in"||c==="out"}var hi=c=>class extends c{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:_r.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:_r.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:_r.InvalidModifierOnTypeParameter})}getScopeHandler(){return hr}tsIsIdentifier(){return at(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(o,u){if(!at(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let h=this.state.value;if(o.indexOf(h)!==-1){if(u&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return h}}tsParseModifiers(o,u){let{allowedModifiers:h,disallowedModifiers:f,stopOnStartOfClassStaticBlock:d,errorTemplate:y=_r.InvalidModifierOnTypeMember}=o,D=(x,v,E,F)=>{v===E&&u[F]&&this.raise(_r.InvalidModifiersOrder,{at:x,orderedModifiers:[E,F]})},O=(x,v,E,F)=>{(u[E]&&v===F||u[F]&&v===E)&&this.raise(_r.IncompatibleModifiers,{at:x,modifiers:[E,F]})};for(;;){let{startLoc:x}=this.state,v=this.tsParseModifier(h.concat(f??[]),d);if(!v)break;ci(v)?u.accessibility?this.raise(_r.DuplicateAccessibilityModifier,{at:x,modifier:v}):(D(x,v,v,"override"),D(x,v,v,"static"),D(x,v,v,"readonly"),u.accessibility=v):Kn(v)?(u[v]&&this.raise(_r.DuplicateModifier,{at:x,modifier:v}),u[v]=!0,D(x,v,"in","out")):(Object.hasOwnProperty.call(u,v)?this.raise(_r.DuplicateModifier,{at:x,modifier:v}):(D(x,v,"static","readonly"),D(x,v,"static","override"),D(x,v,"override","readonly"),D(x,v,"abstract","override"),O(x,v,"declare","override"),O(x,v,"static","abstract")),u[v]=!0),f!=null&&f.includes(v)&&this.raise(y,{at:x,modifier:v})}}tsIsListTerminator(o){switch(o){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(o,u){let h=[];for(;!this.tsIsListTerminator(o);)h.push(u());return h}tsParseDelimitedList(o,u,h){return hs(this.tsParseDelimitedListWorker(o,u,!0,h))}tsParseDelimitedListWorker(o,u,h,f){let d=[],y=-1;for(;!this.tsIsListTerminator(o);){y=-1;let D=u();if(D==null)return;if(d.push(D),this.eat(12)){y=this.state.lastTokStart;continue}if(this.tsIsListTerminator(o))break;h&&this.expect(12);return}return f&&(f.value=y),d}tsParseBracketedList(o,u,h,f,d){f||(h?this.expect(0):this.expect(47));let y=this.tsParseDelimitedList(o,u,d);return h?this.expect(3):this.expect(48),y}tsParseImportType(){let o=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(_r.UnsupportedImportTypeArgument,{at:this.state.startLoc}),o.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(o.qualifier=this.tsParseEntityName()),this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSImportType")}tsParseEntityName(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=this.parseIdentifier(o);for(;this.eat(16);){let h=this.startNodeAtNode(u);h.left=u,h.right=this.parseIdentifier(o),u=this.finishNode(h,"TSQualifiedName")}return u}tsParseTypeReference(){let o=this.startNode();return o.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSTypeReference")}tsParseThisTypePredicate(o){this.next();let u=this.startNodeAtNode(o);return u.parameterName=o,u.typeAnnotation=this.tsParseTypeAnnotation(!1),u.asserts=!1,this.finishNode(u,"TSTypePredicate")}tsParseThisTypeNode(){let o=this.startNode();return this.next(),this.finishNode(o,"TSThisType")}tsParseTypeQuery(){let o=this.startNode();return this.expect(87),this.match(83)?o.exprName=this.tsParseImportType():o.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSTypeQuery")}tsParseTypeParameter(o){let u=this.startNode();return o(u),u.name=this.tsParseTypeParameterName(),u.constraint=this.tsEatThenParseType(81),u.default=this.tsEatThenParseType(29),this.finishNode(u,"TSTypeParameter")}tsTryParseTypeParameters(o){if(this.match(47))return this.tsParseTypeParameters(o)}tsParseTypeParameters(o){let u=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let h={value:-1};return u.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,o),!1,!0,h),u.params.length===0&&this.raise(_r.EmptyTypeParameters,{at:u}),h.value!==-1&&this.addExtra(u,"trailingComma",h.value),this.finishNode(u,"TSTypeParameterDeclaration")}tsFillSignature(o,u){let h=o===19,f="parameters",d="typeAnnotation";u.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),u[f]=this.tsParseBindingListForSignature(),h?u[d]=this.tsParseTypeOrTypePredicateAnnotation(o):this.match(o)&&(u[d]=this.tsParseTypeOrTypePredicateAnnotation(o))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map(o=>(o.type!=="Identifier"&&o.type!=="RestElement"&&o.type!=="ObjectPattern"&&o.type!=="ArrayPattern"&&this.raise(_r.UnsupportedSignatureParameterKind,{at:o,type:o.type}),o))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(o,u){return this.tsFillSignature(14,u),this.tsParseTypeMemberSemicolon(),this.finishNode(u,o)}tsIsUnambiguouslyIndexSignature(){return this.next(),at(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(o){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let u=this.parseIdentifier();u.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(u),this.expect(3),o.parameters=[u];let h=this.tsTryParseTypeAnnotation();return h&&(o.typeAnnotation=h),this.tsParseTypeMemberSemicolon(),this.finishNode(o,"TSIndexSignature")}tsParsePropertyOrMethodSignature(o,u){this.eat(17)&&(o.optional=!0);let h=o;if(this.match(10)||this.match(47)){u&&this.raise(_r.ReadonlyForMethodSignature,{at:o});let f=h;f.kind&&this.match(47)&&this.raise(_r.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,f),this.tsParseTypeMemberSemicolon();let d="parameters",y="typeAnnotation";if(f.kind==="get")f[d].length>0&&(this.raise(Qe.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(f[d][0])&&this.raise(_r.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(f.kind==="set"){if(f[d].length!==1)this.raise(Qe.BadSetterArity,{at:this.state.curPosition()});else{let D=f[d][0];this.isThisParam(D)&&this.raise(_r.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),D.type==="Identifier"&&D.optional&&this.raise(_r.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),D.type==="RestElement"&&this.raise(_r.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}f[y]&&this.raise(_r.SetAccesorCannotHaveReturnType,{at:f[y]})}else f.kind="method";return this.finishNode(f,"TSMethodSignature")}else{let f=h;u&&(f.readonly=!0);let d=this.tsTryParseTypeAnnotation();return d&&(f.typeAnnotation=d),this.tsParseTypeMemberSemicolon(),this.finishNode(f,"TSPropertySignature")}}tsParseTypeMember(){let o=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",o);if(this.match(77)){let h=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",o):(o.key=this.createIdentifier(h,"new"),this.tsParsePropertyOrMethodSignature(o,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},o),this.tsTryParseIndexSignature(o)||(super.parsePropertyName(o),!o.computed&&o.key.type==="Identifier"&&(o.key.name==="get"||o.key.name==="set")&&this.tsTokenCanFollowModifier()&&(o.kind=o.key.name,super.parsePropertyName(o)),this.tsParsePropertyOrMethodSignature(o,!!o.readonly))}tsParseTypeLiteral(){let o=this.startNode();return o.members=this.tsParseObjectTypeMembers(),this.finishNode(o,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let o=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),o}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let o=this.startNode();return o.name=this.tsParseTypeParameterName(),o.constraint=this.tsExpectThenParseType(58),this.finishNode(o,"TSTypeParameter")}tsParseMappedType(){let o=this.startNode();return this.expect(5),this.match(53)?(o.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(o.readonly=!0),this.expect(0),o.typeParameter=this.tsParseMappedTypeParameter(),o.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(o.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(o.optional=!0),o.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(o,"TSMappedType")}tsParseTupleType(){let o=this.startNode();o.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let u=!1,h=null;return o.elementTypes.forEach(f=>{let{type:d}=f;u&&d!=="TSRestType"&&d!=="TSOptionalType"&&!(d==="TSNamedTupleMember"&&f.optional)&&this.raise(_r.OptionalTypeBeforeRequired,{at:f}),u||(u=d==="TSNamedTupleMember"&&f.optional||d==="TSOptionalType");let y=d;d==="TSRestType"&&(f=f.typeAnnotation,y=f.type);let D=y==="TSNamedTupleMember";h!=null||(h=D),h!==D&&this.raise(_r.MixedLabeledAndUnlabeledElements,{at:f})}),this.finishNode(o,"TSTupleType")}tsParseTupleElementType(){let{startLoc:o}=this.state,u=this.eat(21),h,f,d,y,D=qe(this.state.type)?this.lookaheadCharCode():null;if(D===58)h=!0,d=!1,f=this.parseIdentifier(!0),this.expect(14),y=this.tsParseType();else if(D===63){d=!0;let O=this.state.startLoc,x=this.state.value,v=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(h=!0,f=this.createIdentifier(this.startNodeAt(O),x),this.expect(17),this.expect(14),y=this.tsParseType()):(h=!1,y=v,this.expect(17))}else y=this.tsParseType(),d=this.eat(17),h=this.eat(14);if(h){let O;f?(O=this.startNodeAtNode(f),O.optional=d,O.label=f,O.elementType=y,this.eat(17)&&(O.optional=!0,this.raise(_r.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(O=this.startNodeAtNode(y),O.optional=d,this.raise(_r.InvalidTupleMemberLabel,{at:y}),O.label=y,O.elementType=this.tsParseType()),y=this.finishNode(O,"TSNamedTupleMember")}else if(d){let O=this.startNodeAtNode(y);O.typeAnnotation=y,y=this.finishNode(O,"TSOptionalType")}if(u){let O=this.startNodeAt(o);O.typeAnnotation=y,y=this.finishNode(O,"TSRestType")}return y}tsParseParenthesizedType(){let o=this.startNode();return this.expect(10),o.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(o,"TSParenthesizedType")}tsParseFunctionOrConstructorType(o,u){let h=this.startNode();return o==="TSConstructorType"&&(h.abstract=!!u,u&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,h)),this.finishNode(h,o)}tsParseLiteralTypeNode(){let o=this.startNode();return o.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(o,"TSLiteralType")}tsParseTemplateLiteralType(){let o=this.startNode();return o.literal=super.parseTemplate(!1),this.finishNode(o,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let o=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(o):o}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let o=this.startNode(),u=this.lookahead();return u.type!==132&&u.type!==133&&this.unexpected(),o.literal=this.parseMaybeUnary(),this.finishNode(o,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:o}=this.state;if(at(o)||o===88||o===84){let u=o===88?"TSVoidKeyword":o===84?"TSNullKeyword":Dn(this.state.value);if(u!==void 0&&this.lookaheadCharCode()!==46){let h=this.startNode();return this.next(),this.finishNode(h,u)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let o=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let u=this.startNodeAtNode(o);u.elementType=o,this.expect(3),o=this.finishNode(u,"TSArrayType")}else{let u=this.startNodeAtNode(o);u.objectType=o,u.indexType=this.tsParseType(),this.expect(3),o=this.finishNode(u,"TSIndexedAccessType")}return o}tsParseTypeOperator(){let o=this.startNode(),u=this.state.value;return this.next(),o.operator=u,o.typeAnnotation=this.tsParseTypeOperatorOrHigher(),u==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(o),this.finishNode(o,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(o){switch(o.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(_r.UnexpectedReadonly,{at:o})}}tsParseInferType(){let o=this.startNode();this.expectContextual(113);let u=this.startNode();return u.name=this.tsParseTypeParameterName(),u.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),o.typeParameter=this.finishNode(u,"TSTypeParameter"),this.finishNode(o,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let o=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return o}}tsParseTypeOperatorOrHigher(){return rn(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(o,u,h){let f=this.startNode(),d=this.eat(h),y=[];do y.push(u());while(this.eat(h));return y.length===1&&!d?y[0]:(f.types=y,this.finishNode(f,o))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(at(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:o}=this.state,u=o.length;try{return this.parseObjectLike(8,!0),o.length===u}catch{return!1}}if(this.match(0)){this.next();let{errors:o}=this.state,u=o.length;try{return super.parseBindingList(3,93,1),o.length===u}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(o){return this.tsInType(()=>{let u=this.startNode();this.expect(o);let h=this.startNode(),f=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(f&&this.match(78)){let D=this.tsParseThisTypeOrThisTypePredicate();return D.type==="TSThisType"?(h.parameterName=D,h.asserts=!0,h.typeAnnotation=null,D=this.finishNode(h,"TSTypePredicate")):(this.resetStartLocationFromNode(D,h),D.asserts=!0),u.typeAnnotation=D,this.finishNode(u,"TSTypeAnnotation")}let d=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!d)return f?(h.parameterName=this.parseIdentifier(),h.asserts=f,h.typeAnnotation=null,u.typeAnnotation=this.finishNode(h,"TSTypePredicate"),this.finishNode(u,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,u);let y=this.tsParseTypeAnnotation(!1);return h.parameterName=d,h.typeAnnotation=y,h.asserts=f,u.typeAnnotation=this.finishNode(h,"TSTypePredicate"),this.finishNode(u,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let o=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),o}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;let o=this.state.containsEsc;return this.next(),!at(this.state.type)&&!this.match(78)?!1:(o&&this.raise(Qe.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.startNode();return this.tsInType(()=>{o&&this.expect(14),u.typeAnnotation=this.tsParseType()}),this.finishNode(u,"TSTypeAnnotation")}tsParseType(){Zi(this.state.inType);let o=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return o;let u=this.startNodeAtNode(o);return u.checkType=o,u.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),u.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),u.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(u,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(_r.ReservedTypeAssertion,{at:this.state.startLoc});let o=this.startNode();return o.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),o.expression=this.parseMaybeUnary(),this.finishNode(o,"TSTypeAssertion")}tsParseHeritageClause(o){let u=this.state.startLoc,h=this.tsParseDelimitedList("HeritageClauseElement",()=>{let f=this.startNode();return f.expression=this.tsParseEntityName(),this.match(47)&&(f.typeParameters=this.tsParseTypeArguments()),this.finishNode(f,"TSExpressionWithTypeArguments")});return h.length||this.raise(_r.EmptyHeritageClauseType,{at:u,token:o}),h}tsParseInterfaceDeclaration(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(127),u.declare&&(o.declare=!0),at(this.state.type)?(o.id=this.parseIdentifier(),this.checkIdentifier(o.id,jl)):(o.id=null,this.raise(_r.MissingInterfaceName,{at:this.state.startLoc})),o.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(o.extends=this.tsParseHeritageClause("extends"));let h=this.startNode();return h.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),o.body=this.finishNode(h,"TSInterfaceBody"),this.finishNode(o,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(o){return o.id=this.parseIdentifier(),this.checkIdentifier(o.id,fu),o.typeAnnotation=this.tsInType(()=>{if(o.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){let u=this.startNode();return this.next(),this.finishNode(u,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(o,"TSTypeAliasDeclaration")}tsInNoContext(o){let u=this.state.context;this.state.context=[u[0]];try{return o()}finally{this.state.context=u}}tsInType(o){let u=this.state.inType;this.state.inType=!0;try{return o()}finally{this.state.inType=u}}tsInDisallowConditionalTypesContext(o){let u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return o()}finally{this.state.inDisallowConditionalTypesContext=u}}tsInAllowConditionalTypesContext(o){let u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return o()}finally{this.state.inDisallowConditionalTypesContext=u}}tsEatThenParseType(o){return this.match(o)?this.tsNextThenParseType():void 0}tsExpectThenParseType(o){return this.tsDoThenParseType(()=>this.expect(o))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(o){return this.tsInType(()=>(o(),this.tsParseType()))}tsParseEnumMember(){let o=this.startNode();return o.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(o.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(o,"TSEnumMember")}tsParseEnumDeclaration(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u.const&&(o.const=!0),u.declare&&(o.declare=!0),this.expectContextual(124),o.id=this.parseIdentifier(),this.checkIdentifier(o.id,o.const?vc:Ll),this.expect(5),o.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(o,"TSEnumDeclaration")}tsParseModuleBlock(){let o=this.startNode();return this.scope.enter(Vu),this.expect(5),super.parseBlockOrModuleBlockBody(o.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(o,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(o.id=this.parseIdentifier(),u||this.checkIdentifier(o.id,Bo),this.eat(16)){let h=this.startNode();this.tsParseModuleOrNamespaceDeclaration(h,!0),o.body=h}else this.scope.enter(Ga),this.prodParam.enter(ee),o.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(o,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(o){return this.isContextual(110)?(o.global=!0,o.id=this.parseIdentifier()):this.match(131)?o.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(Ga),this.prodParam.enter(ee),o.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(o,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(o,u){o.isExport=u||!1,o.id=this.parseIdentifier(),this.checkIdentifier(o.id,Rl),this.expect(29);let h=this.tsParseModuleReference();return o.importKind==="type"&&h.type!=="TSExternalModuleReference"&&this.raise(_r.ImportAliasHasImportType,{at:h}),o.moduleReference=h,this.semicolon(),this.finishNode(o,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let o=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),o.expression=super.parseExprAtom(),this.expect(11),this.finishNode(o,"TSExternalModuleReference")}tsLookAhead(o){let u=this.state.clone(),h=o();return this.state=u,h}tsTryParseAndCatch(o){let u=this.tryParse(h=>o()||h());if(!(u.aborted||!u.node))return u.error&&(this.state=u.failState),u.node}tsTryParse(o){let u=this.state.clone(),h=o();if(h!==void 0&&h!==!1)return h;this.state=u}tsTryParseDeclare(o){if(this.isLineTerminator())return;let u=this.state.type,h;return this.isContextual(99)&&(u=74,h="let"),this.tsInAmbientContext(()=>{if(u===68)return o.declare=!0,super.parseFunctionStatement(o,!1,!1);if(u===80)return o.declare=!0,this.parseClass(o,!0,!1);if(u===124)return this.tsParseEnumDeclaration(o,{declare:!0});if(u===110)return this.tsParseAmbientExternalModuleDeclaration(o);if(u===75||u===74)return!this.match(75)||!this.isLookaheadContextual("enum")?(o.declare=!0,this.parseVarStatement(o,h||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(o,{const:!0,declare:!0}));if(u===127){let f=this.tsParseInterfaceDeclaration(o,{declare:!0});if(f)return f}if(at(u))return this.tsParseDeclaration(o,this.state.value,!0,null)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(o,u,h){switch(u.name){case"declare":{let f=this.tsTryParseDeclare(o);if(f)return f.declare=!0,f;break}case"global":if(this.match(5)){this.scope.enter(Ga),this.prodParam.enter(ee);let f=o;return f.global=!0,f.id=u,f.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(f,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(o,u.name,!1,h)}}tsParseDeclaration(o,u,h,f){switch(u){case"abstract":if(this.tsCheckLineTerminator(h)&&(this.match(80)||at(this.state.type)))return this.tsParseAbstractDeclaration(o,f);break;case"module":if(this.tsCheckLineTerminator(h)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(o);if(at(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(o)}break;case"namespace":if(this.tsCheckLineTerminator(h)&&at(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(o);break;case"type":if(this.tsCheckLineTerminator(h)&&at(this.state.type))return this.tsParseTypeAliasDeclaration(o);break}}tsCheckLineTerminator(o){return o?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(o){if(!this.match(47))return;let u=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let h=this.tsTryParseAndCatch(()=>{let f=this.startNodeAt(o);return f.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(f),f.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),f});if(this.state.maybeInArrowParameters=u,!!h)return super.parseArrowExpression(h,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let o=this.startNode();return o.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),o.params.length===0&&this.raise(_r.EmptyTypeArguments,{at:o}),this.expect(48),this.finishNode(o,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return Mn(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(o,u){let h=this.state.startLoc,f={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},f);let d=f.accessibility,y=f.override,D=f.readonly;!(o&4)&&(d||D||y)&&this.raise(_r.UnexpectedParameterModifier,{at:h});let O=this.parseMaybeDefault();this.parseAssignableListItemTypes(O,o);let x=this.parseMaybeDefault(O.loc.start,O);if(d||D||y){let v=this.startNodeAt(h);return u.length&&(v.decorators=u),d&&(v.accessibility=d),D&&(v.readonly=D),y&&(v.override=y),x.type!=="Identifier"&&x.type!=="AssignmentPattern"&&this.raise(_r.UnsupportedParameterPropertyKind,{at:v}),v.parameter=x,this.finishNode(v,"TSParameterProperty")}return u.length&&(O.decorators=u),x}isSimpleParameter(o){return o.type==="TSParameterProperty"&&super.isSimpleParameter(o.parameter)||super.isSimpleParameter(o)}tsDisallowOptionalPattern(o){for(let u of o.params)u.type!=="Identifier"&&u.optional&&!this.state.isAmbientContext&&this.raise(_r.PatternIsOptional,{at:u})}setArrowFunctionParameters(o,u,h){super.setArrowFunctionParameters(o,u,h),this.tsDisallowOptionalPattern(o)}parseFunctionBodyAndFinish(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.match(14)&&(o.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let f=u==="FunctionDeclaration"?"TSDeclareFunction":u==="ClassMethod"||u==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return f&&!this.match(5)&&this.isLineTerminator()?this.finishNode(o,f):f==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(_r.DeclareFunctionHasImplementation,{at:o}),o.declare)?super.parseFunctionBodyAndFinish(o,f,h):(this.tsDisallowOptionalPattern(o),super.parseFunctionBodyAndFinish(o,u,h))}registerFunctionStatementId(o){!o.body&&o.id?this.checkIdentifier(o.id,hh):super.registerFunctionStatementId(o)}tsCheckForInvalidTypeCasts(o){o.forEach(u=>{(u==null?void 0:u.type)==="TSTypeCastExpression"&&this.raise(_r.UnexpectedTypeAnnotation,{at:u.typeAnnotation})})}toReferencedList(o,u){return this.tsCheckForInvalidTypeCasts(o),o}parseArrayLike(o,u,h,f){let d=super.parseArrayLike(o,u,h,f);return d.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(d.elements),d}parseSubscript(o,u,h,f){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let y=this.startNodeAt(u);return y.expression=o,this.finishNode(y,"TSNonNullExpression")}let d=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(h)return f.stop=!0,o;f.optionalChainMember=d=!0,this.next()}if(this.match(47)||this.match(51)){let y,D=this.tsTryParseAndCatch(()=>{if(!h&&this.atPossibleAsyncArrow(o)){let E=this.tsTryParseGenericAsyncArrowFunction(u);if(E)return E}let O=this.tsParseTypeArgumentsInExpression();if(!O)return;if(d&&!this.match(10)){y=this.state.curPosition();return}if(ts(this.state.type)){let E=super.parseTaggedTemplateExpression(o,u,f);return E.typeParameters=O,E}if(!h&&this.eat(10)){let E=this.startNodeAt(u);return E.callee=o,E.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(E.arguments),E.typeParameters=O,f.optionalChainMember&&(E.optional=d),this.finishCallExpression(E,f.optionalChainMember)}let x=this.state.type;if(x===48||x===52||x!==10&&Gt(x)&&!this.hasPrecedingLineBreak())return;let v=this.startNodeAt(u);return v.expression=o,v.typeParameters=O,this.finishNode(v,"TSInstantiationExpression")});if(y&&this.unexpected(y,10),D)return D.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(_r.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),D}return super.parseSubscript(o,u,h,f)}parseNewCallee(o){var u;super.parseNewCallee(o);let{callee:h}=o;h.type==="TSInstantiationExpression"&&!((u=h.extra)!=null&&u.parenthesized)&&(o.typeParameters=h.typeParameters,o.callee=h.expression)}parseExprOp(o,u,h){let f;if(Nn(58)>h&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(f=this.isContextual(118)))){let d=this.startNodeAt(u);return d.expression=o,d.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(f&&this.raise(Qe.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(d,f?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(d,u,h)}return super.parseExprOp(o,u,h)}checkReservedWord(o,u,h,f){this.state.isAmbientContext||super.checkReservedWord(o,u,h,f)}checkImportReflection(o){super.checkImportReflection(o),o.module&&o.importKind!=="value"&&this.raise(_r.ImportReflectionHasImportType,{at:o.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(o){if(o.importKind="value",at(this.state.type)||this.match(55)||this.match(5)){let h=this.lookahead();if(this.isContextual(128)&&h.type!==12&&h.type!==97&&h.type!==29&&(o.importKind="type",this.next(),h=this.lookahead()),at(this.state.type)&&h.type===29)return this.tsParseImportEqualsDeclaration(o)}let u=super.parseImport(o);return u.importKind==="type"&&u.specifiers.length>1&&u.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(_r.TypeImportCannotSpecifyDefaultAndNamed,{at:u}),u}parseExport(o,u){if(this.match(83))return this.next(),this.isContextual(128)&&this.lookaheadCharCode()!==61?(o.importKind="type",this.next()):o.importKind="value",this.tsParseImportEqualsDeclaration(o,!0);if(this.eat(29)){let h=o;return h.expression=super.parseExpression(),this.semicolon(),this.finishNode(h,"TSExportAssignment")}else if(this.eatContextual(93)){let h=o;return this.expectContextual(126),h.id=this.parseIdentifier(),this.semicolon(),this.finishNode(h,"TSNamespaceExportDeclaration")}else{if(o.exportKind="value",this.isContextual(128)){let h=this.lookaheadCharCode();(h===123||h===42)&&(this.next(),o.exportKind="type")}return super.parseExport(o,u)}}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let o=this.startNode();return this.next(),o.abstract=!0,this.parseClass(o,!0,!0)}if(this.match(127)){let o=this.tsParseInterfaceDeclaration(this.startNode());if(o)return o}return super.parseExportDefaultExpression()}parseVarStatement(o,u){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{isAmbientContext:f}=this.state,d=super.parseVarStatement(o,u,h||f);if(!f)return d;for(let{id:y,init:D}of d.declarations)D&&(u!=="const"||y.typeAnnotation?this.raise(_r.InitializerNotAllowedInAmbientContext,{at:D}):Jt(D,this.hasPlugin("estree"))||this.raise(_r.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:D}));return d}parseStatementContent(o,u){if(this.match(75)&&this.isLookaheadContextual("enum")){let h=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(h,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let h=this.tsParseInterfaceDeclaration(this.startNode());if(h)return h}return super.parseStatementContent(o,u)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(o,u){return u.some(h=>ci(h)?o.accessibility===h:!!o[h])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(o,u,h){let f=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:f,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:_r.InvalidModifierOnTypeParameterPositions},u);let d=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(u,f)&&this.raise(_r.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(o,u)):this.parseClassMemberWithIsStatic(o,u,h,!!u.static)};u.declare?this.tsInAmbientContext(d):d()}parseClassMemberWithIsStatic(o,u,h,f){let d=this.tsTryParseIndexSignature(u);if(d){o.body.push(d),u.abstract&&this.raise(_r.IndexSignatureHasAbstract,{at:u}),u.accessibility&&this.raise(_r.IndexSignatureHasAccessibility,{at:u,modifier:u.accessibility}),u.declare&&this.raise(_r.IndexSignatureHasDeclare,{at:u}),u.override&&this.raise(_r.IndexSignatureHasOverride,{at:u});return}!this.state.inAbstractClass&&u.abstract&&this.raise(_r.NonAbstractClassHasAbstractMethod,{at:u}),u.override&&(h.hadSuperClass||this.raise(_r.OverrideNotInSubClass,{at:u})),super.parseClassMemberWithIsStatic(o,u,h,f)}parsePostMemberNameModifiers(o){this.eat(17)&&(o.optional=!0),o.readonly&&this.match(10)&&this.raise(_r.ClassMethodHasReadonly,{at:o}),o.declare&&this.match(10)&&this.raise(_r.ClassMethodHasDeclare,{at:o})}parseExpressionStatement(o,u,h){return(u.type==="Identifier"?this.tsParseExpressionStatement(o,u,h):void 0)||super.parseExpressionStatement(o,u,h)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(o,u,h){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(o,u,h);let f=this.tryParse(()=>super.parseConditional(o,u));return f.node?(f.error&&(this.state=f.failState),f.node):(f.error&&super.setOptionalParametersError(h,f.error),o)}parseParenItem(o,u){if(o=super.parseParenItem(o,u),this.eat(17)&&(o.optional=!0,this.resetEndLocation(o)),this.match(14)){let h=this.startNodeAt(u);return h.expression=o,h.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(h,"TSTypeCastExpression")}return o}parseExportDeclaration(o){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(o));let u=this.state.startLoc,h=this.eatContextual(123);if(h&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(_r.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let f=at(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(o);return f?((f.type==="TSInterfaceDeclaration"||f.type==="TSTypeAliasDeclaration"||h)&&(o.exportKind="type"),h&&(this.resetStartLocation(f,u),f.declare=!0),f):null}parseClassId(o,u,h,f){if((!u||h)&&this.isContextual(111))return;super.parseClassId(o,u,h,o.declare?hh:sp);let d=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);d&&(o.typeParameters=d)}parseClassPropertyAnnotation(o){o.optional||(this.eat(35)?o.definite=!0:this.eat(17)&&(o.optional=!0));let u=this.tsTryParseTypeAnnotation();u&&(o.typeAnnotation=u)}parseClassProperty(o){if(this.parseClassPropertyAnnotation(o),this.state.isAmbientContext&&!(o.readonly&&!o.typeAnnotation)&&this.match(29)&&this.raise(_r.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),o.abstract&&this.match(29)){let{key:u}=o;this.raise(_r.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:u.type==="Identifier"&&!o.computed?u.name:`[${this.input.slice(u.start,u.end)}]`})}return super.parseClassProperty(o)}parseClassPrivateProperty(o){return o.abstract&&this.raise(_r.PrivateElementHasAbstract,{at:o}),o.accessibility&&this.raise(_r.PrivateElementHasAccessibility,{at:o,modifier:o.accessibility}),this.parseClassPropertyAnnotation(o),super.parseClassPrivateProperty(o)}parseClassAccessorProperty(o){return this.parseClassPropertyAnnotation(o),o.optional&&this.raise(_r.AccessorCannotBeOptional,{at:o}),super.parseClassAccessorProperty(o)}pushClassMethod(o,u,h,f,d,y){let D=this.tsTryParseTypeParameters(this.tsParseConstModifier);D&&d&&this.raise(_r.ConstructorHasTypeParameters,{at:D});let{declare:O=!1,kind:x}=u;O&&(x==="get"||x==="set")&&this.raise(_r.DeclareAccessor,{at:u,kind:x}),D&&(u.typeParameters=D),super.pushClassMethod(o,u,h,f,d,y)}pushClassPrivateMethod(o,u,h,f){let d=this.tsTryParseTypeParameters(this.tsParseConstModifier);d&&(u.typeParameters=d),super.pushClassPrivateMethod(o,u,h,f)}declareClassPrivateMethodInScope(o,u){o.type!=="TSDeclareMethod"&&(o.type==="MethodDefinition"&&!o.value.body||super.declareClassPrivateMethodInScope(o,u))}parseClassSuper(o){super.parseClassSuper(o),o.superClass&&(this.match(47)||this.match(51))&&(o.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(o.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(o,u,h,f,d,y,D){let O=this.tsTryParseTypeParameters(this.tsParseConstModifier);return O&&(o.typeParameters=O),super.parseObjPropValue(o,u,h,f,d,y,D)}parseFunctionParams(o,u){let h=this.tsTryParseTypeParameters(this.tsParseConstModifier);h&&(o.typeParameters=h),super.parseFunctionParams(o,u)}parseVarId(o,u){super.parseVarId(o,u),o.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(o.definite=!0);let h=this.tsTryParseTypeAnnotation();h&&(o.id.typeAnnotation=h,this.resetEndLocation(o.id))}parseAsyncArrowFromCallExpression(o,u){return this.match(14)&&(o.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(o,u)}parseMaybeAssign(o,u){var h,f,d,y,D,O,x;let v,E,F;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(v=this.state.clone(),E=this.tryParse(()=>super.parseMaybeAssign(o,u),v),!E.error)return E.node;let{context:T}=this.state,_=T[T.length-1];(_===mr.j_oTag||_===mr.j_expr)&&T.pop()}if(!((h=E)!=null&&h.error)&&!this.match(47))return super.parseMaybeAssign(o,u);(!v||v===this.state)&&(v=this.state.clone());let k,I=this.tryParse(T=>{var _,R;k=this.tsParseTypeParameters(this.tsParseConstModifier);let W=super.parseMaybeAssign(o,u);return(W.type!=="ArrowFunctionExpression"||(_=W.extra)!=null&&_.parenthesized)&&T(),((R=k)==null?void 0:R.params.length)!==0&&this.resetStartLocationFromNode(W,k),W.typeParameters=k,W},v);if(!I.error&&!I.aborted)return k&&this.reportReservedArrowTypeParam(k),I.node;if(!E&&(Zi(!this.hasPlugin("jsx")),F=this.tryParse(()=>super.parseMaybeAssign(o,u),v),!F.error))return F.node;if((f=E)!=null&&f.node)return this.state=E.failState,E.node;if(I.node)return this.state=I.failState,k&&this.reportReservedArrowTypeParam(k),I.node;if((d=F)!=null&&d.node)return this.state=F.failState,F.node;throw(y=E)!=null&&y.thrown?E.error:I.thrown?I.error:(D=F)!=null&&D.thrown?F.error:((O=E)==null?void 0:O.error)||I.error||((x=F)==null?void 0:x.error)}reportReservedArrowTypeParam(o){var u;o.params.length===1&&!o.params[0].constraint&&!((u=o.extra)!=null&&u.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(_r.ReservedArrowTypeParam,{at:o})}parseMaybeUnary(o,u){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(o,u)}parseArrow(o){if(this.match(14)){let u=this.tryParse(h=>{let f=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&h(),f});if(u.aborted)return;u.thrown||(u.error&&(this.state=u.failState),o.returnType=u.node)}return super.parseArrow(o)}parseAssignableListItemTypes(o,u){if(!(u&2))return o;this.eat(17)&&(o.optional=!0);let h=this.tsTryParseTypeAnnotation();return h&&(o.typeAnnotation=h),this.resetEndLocation(o),o}isAssignable(o,u){switch(o.type){case"TSTypeCastExpression":return this.isAssignable(o.expression,u);case"TSParameterProperty":return!0;default:return super.isAssignable(o,u)}}toAssignable(o){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;switch(o.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(o,u);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":u?this.expressionScope.recordArrowParameterBindingError(_r.UnexpectedTypeCastInParameter,{at:o}):this.raise(_r.UnexpectedTypeCastInParameter,{at:o}),this.toAssignable(o.expression,u);break;case"AssignmentExpression":!u&&o.left.type==="TSTypeCastExpression"&&(o.left=this.typeCastToParameter(o.left));default:super.toAssignable(o,u)}}toAssignableParenthesizedExpression(o,u){switch(o.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(o.expression,u);break;default:super.toAssignable(o,u)}}checkToRestConversion(o,u){switch(o.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(o.expression,!1);break;default:super.checkToRestConversion(o,u)}}isValidLVal(o,u,h){return es({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(h!==Sa||!u)&&["expression",!0],TSSatisfiesExpression:(h!==Sa||!u)&&["expression",!0],TSTypeAssertion:(h!==Sa||!u)&&["expression",!0]},o)||super.isValidLVal(o,u,h)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(o){if(this.match(47)||this.match(51)){let u=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let h=super.parseMaybeDecoratorArguments(o);return h.typeParameters=u,h}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(o)}checkCommaAfterRest(o){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===o?(this.next(),!1):super.checkCommaAfterRest(o)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(o,u){let h=super.parseMaybeDefault(o,u);return h.type==="AssignmentPattern"&&h.typeAnnotation&&h.right.start<h.typeAnnotation.start&&this.raise(_r.TypeAnnotationAfterAssign,{at:h.typeAnnotation}),h}getTokenFromCode(o){if(this.state.inType){if(o===62){this.finishOp(48,1);return}if(o===60){this.finishOp(47,1);return}}super.getTokenFromCode(o)}reScan_lt_gt(){let{type:o}=this.state;o===47?(this.state.pos-=1,this.readToken_lt()):o===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:o}=this.state;return o===51?(this.state.pos-=2,this.finishOp(47,1),47):o}toAssignableList(o,u,h){for(let f=0;f<o.length;f++){let d=o[f];(d==null?void 0:d.type)==="TSTypeCastExpression"&&(o[f]=this.typeCastToParameter(d))}super.toAssignableList(o,u,h)}typeCastToParameter(o){return o.expression.typeAnnotation=o.typeAnnotation,this.resetEndLocation(o.expression,o.typeAnnotation.loc.end),o.expression}shouldParseArrow(o){return this.match(14)?o.every(u=>this.isAssignable(u,!0)):super.shouldParseArrow(o)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(o){if(this.match(47)||this.match(51)){let u=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());u&&(o.typeParameters=u)}return super.jsxParseOpeningElementAfterName(o)}getGetterSetterExpectedParamCount(o){let u=super.getGetterSetterExpectedParamCount(o),h=this.getObjectOrClassMethodParams(o)[0];return h&&this.isThisParam(h)?u+1:u}parseCatchClauseParam(){let o=super.parseCatchClauseParam(),u=this.tsTryParseTypeAnnotation();return u&&(o.typeAnnotation=u,this.resetEndLocation(o)),o}tsInAmbientContext(o){let u=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return o()}finally{this.state.isAmbientContext=u}}parseClass(o,u,h){let f=this.state.inAbstractClass;this.state.inAbstractClass=!!o.abstract;try{return super.parseClass(o,u,h)}finally{this.state.inAbstractClass=f}}tsParseAbstractDeclaration(o,u){if(this.match(80))return o.abstract=!0,this.maybeTakeDecorators(u,this.parseClass(o,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return o.abstract=!0,this.raise(_r.NonClassMethodPropertyHasAbstractModifer,{at:o}),this.tsParseInterfaceDeclaration(o)}else this.unexpected(null,80)}parseMethod(o,u,h,f,d,y,D){let O=super.parseMethod(o,u,h,f,d,y,D);if(O.abstract&&(this.hasPlugin("estree")?O.value.body:O.body)){let{key:x}=O;this.raise(_r.AbstractMethodHasImplementation,{at:O,methodName:x.type==="Identifier"&&!O.computed?x.name:`[${this.input.slice(x.start,x.end)}]`})}return O}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(o,u,h,f){return!u&&f?(this.parseTypeOnlyImportExportSpecifier(o,!1,h),this.finishNode(o,"ExportSpecifier")):(o.exportKind="value",super.parseExportSpecifier(o,u,h,f))}parseImportSpecifier(o,u,h,f,d){return!u&&f?(this.parseTypeOnlyImportExportSpecifier(o,!0,h),this.finishNode(o,"ImportSpecifier")):(o.importKind="value",super.parseImportSpecifier(o,u,h,f,h?Gu:Rl))}parseTypeOnlyImportExportSpecifier(o,u,h){let f=u?"imported":"local",d=u?"local":"exported",y=o[f],D,O=!1,x=!0,v=y.loc.start;if(this.isContextual(93)){let F=this.parseIdentifier();if(this.isContextual(93)){let k=this.parseIdentifier();qe(this.state.type)?(O=!0,y=F,D=u?this.parseIdentifier():this.parseModuleExportName(),x=!1):(D=k,x=!1)}else qe(this.state.type)?(x=!1,D=u?this.parseIdentifier():this.parseModuleExportName()):(O=!0,y=F)}else qe(this.state.type)&&(O=!0,u?(y=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(y.name,y.loc.start,!0,!0)):y=this.parseModuleExportName());O&&h&&this.raise(u?_r.TypeModifierIsUsedInTypeImports:_r.TypeModifierIsUsedInTypeExports,{at:v}),o[f]=y,o[d]=D;let E=u?"importKind":"exportKind";o[E]=O?"type":"value",x&&this.eatContextual(93)&&(o[d]=u?this.parseIdentifier():this.parseModuleExportName()),o[d]||(o[d]=V(o[f])),u&&this.checkIdentifier(o[d],O?Gu:Rl)}};function Tt(c){if(c.type!=="MemberExpression")return!1;let{computed:o,property:u}=c;return o&&u.type!=="StringLiteral"&&(u.type!=="TemplateLiteral"||u.expressions.length>0)?!1:St(c.object)}function Jt(c,o){var u;let{type:h}=c;if((u=c.extra)!=null&&u.parenthesized)return!1;if(o){if(h==="Literal"){let{value:f}=c;if(typeof f=="string"||typeof f=="boolean")return!0}}else if(h==="StringLiteral"||h==="BooleanLiteral")return!0;return!!(nr(c,o)||Gr(c,o)||h==="TemplateLiteral"&&c.expressions.length===0||Tt(c))}function nr(c,o){return o?c.type==="Literal"&&(typeof c.value=="number"||"bigint"in c):c.type==="NumericLiteral"||c.type==="BigIntLiteral"}function Gr(c,o){if(c.type==="UnaryExpression"){let{operator:u,argument:h}=c;if(u==="-"&&nr(h,o))return!0}return!1}function St(c){return c.type==="Identifier"?!0:c.type!=="MemberExpression"||c.computed?!1:St(c.object)}var An=zi`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),fn=c=>class extends c{parsePlaceholder(o){if(this.match(142)){let u=this.startNode();return this.next(),this.assertNoSpace(),u.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(u,o)}}finishPlaceholder(o,u){let h=!!(o.expectedNode&&o.type==="Placeholder");return o.expectedNode=u,h?o:this.finishNode(o,"Placeholder")}getTokenFromCode(o){o===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(o)}parseExprAtom(o){return this.parsePlaceholder("Expression")||super.parseExprAtom(o)}parseIdentifier(o){return this.parsePlaceholder("Identifier")||super.parseIdentifier(o)}checkReservedWord(o,u,h,f){o!==void 0&&super.checkReservedWord(o,u,h,f)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(o,u,h){return o==="Placeholder"||super.isValidLVal(o,u,h)}toAssignable(o,u){o&&o.type==="Placeholder"&&o.expectedNode==="Expression"?o.expectedNode="Pattern":super.toAssignable(o,u)}chStartsBindingIdentifier(o,u){return!!(super.chStartsBindingIdentifier(o,u)||this.lookahead().type===142)}verifyBreakContinue(o,u){o.label&&o.label.type==="Placeholder"||super.verifyBreakContinue(o,u)}parseExpressionStatement(o,u){if(u.type!=="Placeholder"||u.extra&&u.extra.parenthesized)return super.parseExpressionStatement(o,u);if(this.match(14)){let h=o;return h.label=this.finishPlaceholder(u,"Identifier"),this.next(),h.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(h,"LabeledStatement")}return this.semicolon(),o.name=u.name,this.finishPlaceholder(o,"Statement")}parseBlock(o,u,h){return this.parsePlaceholder("BlockStatement")||super.parseBlock(o,u,h)}parseFunctionId(o){return this.parsePlaceholder("Identifier")||super.parseFunctionId(o)}parseClass(o,u,h){let f=u?"ClassDeclaration":"ClassExpression";this.next();let d=this.state.strict,y=this.parsePlaceholder("Identifier");if(y)if(this.match(81)||this.match(142)||this.match(5))o.id=y;else{if(h||!u)return o.id=null,o.body=this.finishPlaceholder(y,"ClassBody"),this.finishNode(o,f);throw this.raise(An.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(o,u,h);return super.parseClassSuper(o),o.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!o.superClass,d),this.finishNode(o,f)}parseExport(o,u){let h=this.parsePlaceholder("Identifier");if(!h)return super.parseExport(o,u);if(!this.isContextual(97)&&!this.match(12))return o.specifiers=[],o.source=null,o.declaration=this.finishPlaceholder(h,"Declaration"),this.finishNode(o,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let f=this.startNode();return f.exported=h,o.specifiers=[this.finishNode(f,"ExportDefaultSpecifier")],super.parseExport(o,u)}isExportDefaultSpecifier(){if(this.match(65)){let o=this.nextTokenStart();if(this.isUnparsedContextual(o,"from")&&this.input.startsWith(jr(142),this.nextTokenStartSince(o+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(o){return o.specifiers&&o.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(o)}checkExport(o){let{specifiers:u}=o;u!=null&&u.length&&(o.specifiers=u.filter(h=>h.exported.type==="Placeholder")),super.checkExport(o),o.specifiers=u}parseImport(o){let u=this.parsePlaceholder("Identifier");if(!u)return super.parseImport(o);if(o.specifiers=[],!this.isContextual(97)&&!this.match(12))return o.source=this.finishPlaceholder(u,"StringLiteral"),this.semicolon(),this.finishNode(o,"ImportDeclaration");let h=this.startNodeAtNode(u);return h.local=u,o.specifiers.push(this.finishNode(h,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(o)||this.parseNamedImportSpecifiers(o)),this.expectContextual(97),o.source=this.parseImportSource(),this.semicolon(),this.finishNode(o,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(An.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},ro=c=>class extends c{parseV8Intrinsic(){if(this.match(54)){let o=this.state.startLoc,u=this.startNode();if(this.next(),at(this.state.type)){let h=this.parseIdentifierName(),f=this.createIdentifier(u,h);if(f.type="V8IntrinsicIdentifier",this.match(10))return f}this.unexpected(o)}}parseExprAtom(o){return this.parseV8Intrinsic()||super.parseExprAtom(o)}};function qi(c,o){let[u,h]=typeof o=="string"?[o,{}]:o,f=Object.keys(h),d=f.length===0;return c.some(y=>{if(typeof y=="string")return d&&y===u;{let[D,O]=y;if(D!==u)return!1;for(let x of f)if(O[x]!==h[x])return!1;return!0}})}function Vs(c,o,u){let h=c.find(f=>Array.isArray(f)?f[0]===o:f===o);return h&&Array.isArray(h)&&h.length>1?h[1][u]:null}var ia=["minimal","fsharp","hack","smart"],uo=["^^","@@","^","%","#"],Rs=["hash","bar"];function No(c){if(qi(c,"decorators")){if(qi(c,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let o=Vs(c,"decorators","decoratorsBeforeExport");if(o!=null&&typeof o!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let u=Vs(c,"decorators","allowCallParenthesized");if(u!=null&&typeof u!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(qi(c,"flow")&&qi(c,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(qi(c,"placeholders")&&qi(c,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(qi(c,"pipelineOperator")){let o=Vs(c,"pipelineOperator","proposal");if(!ia.includes(o)){let h=ia.map(f=>`"${f}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${h}.`)}let u=qi(c,["recordAndTuple",{syntaxType:"hash"}]);if(o==="hack"){if(qi(c,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(qi(c,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let h=Vs(c,"pipelineOperator","topicToken");if(!uo.includes(h)){let f=uo.map(d=>`"${d}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${f}.`)}if(h==="#"&&u)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(o==="smart"&&u)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(qi(c,"moduleAttributes")){if(qi(c,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(Vs(c,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(qi(c,"recordAndTuple")&&Vs(c,"recordAndTuple","syntaxType")!=null&&!Rs.includes(Vs(c,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Rs.map(o=>`'${o}'`).join(", "));if(qi(c,"asyncDoExpressions")&&!qi(c,"doExpressions")){let o=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw o.missingPlugins="doExpressions",o}}var ks={estree:yi,jsx:Un,flow:un,typescript:hi,v8intrinsic:ro,placeholders:fn},Us=Object.keys(ks),oo=class extends _s{checkProto(c,o,u,h){if(c.type==="SpreadElement"||this.isObjectMethod(c)||c.computed||c.shorthand)return;let f=c.key;if((f.type==="Identifier"?f.name:f.value)==="__proto__"){if(o){this.raise(Qe.RecordNoProto,{at:f});return}u.used&&(h?h.doubleProtoLoc===null&&(h.doubleProtoLoc=f.loc.start):this.raise(Qe.DuplicateProto,{at:f})),u.used=!0}}shouldExitDescending(c,o){return c.type==="ArrowFunctionExpression"&&c.start===o}getExpression(){this.enterInitialScopes(),this.nextToken();let c=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),c.comments=this.state.comments,c.errors=this.state.errors,this.options.tokens&&(c.tokens=this.tokens),c}parseExpression(c,o){return c?this.disallowInAnd(()=>this.parseExpressionBase(o)):this.allowInAnd(()=>this.parseExpressionBase(o))}parseExpressionBase(c){let o=this.state.startLoc,u=this.parseMaybeAssign(c);if(this.match(12)){let h=this.startNodeAt(o);for(h.expressions=[u];this.eat(12);)h.expressions.push(this.parseMaybeAssign(c));return this.toReferencedList(h.expressions),this.finishNode(h,"SequenceExpression")}return u}parseMaybeAssignDisallowIn(c,o){return this.disallowInAnd(()=>this.parseMaybeAssign(c,o))}parseMaybeAssignAllowIn(c,o){return this.allowInAnd(()=>this.parseMaybeAssign(c,o))}setOptionalParametersError(c,o){var u;c.optionalParametersLoc=(u=o==null?void 0:o.loc)!=null?u:this.state.startLoc}parseMaybeAssign(c,o){let u=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let y=this.parseYield();return o&&(y=o.call(this,y,u)),y}let h;c?h=!1:(c=new fe,h=!0);let{type:f}=this.state;(f===10||at(f))&&(this.state.potentialArrowAt=this.state.start);let d=this.parseMaybeConditional(c);if(o&&(d=o.call(this,d,u)),tn(this.state.type)){let y=this.startNodeAt(u),D=this.state.value;if(y.operator=D,this.match(29)){this.toAssignable(d,!0),y.left=d;let O=u.index;c.doubleProtoLoc!=null&&c.doubleProtoLoc.index>=O&&(c.doubleProtoLoc=null),c.shorthandAssignLoc!=null&&c.shorthandAssignLoc.index>=O&&(c.shorthandAssignLoc=null),c.privateKeyLoc!=null&&c.privateKeyLoc.index>=O&&(this.checkDestructuringPrivate(c),c.privateKeyLoc=null)}else y.left=d;return this.next(),y.right=this.parseMaybeAssign(),this.checkLVal(d,{in:this.finishNode(y,"AssignmentExpression")}),y}else h&&this.checkExpressionErrors(c,!0);return d}parseMaybeConditional(c){let o=this.state.startLoc,u=this.state.potentialArrowAt,h=this.parseExprOps(c);return this.shouldExitDescending(h,u)?h:this.parseConditional(h,o,c)}parseConditional(c,o,u){if(this.eat(17)){let h=this.startNodeAt(o);return h.test=c,h.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),h.alternate=this.parseMaybeAssign(),this.finishNode(h,"ConditionalExpression")}return c}parseMaybeUnaryOrPrivate(c){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(c)}parseExprOps(c){let o=this.state.startLoc,u=this.state.potentialArrowAt,h=this.parseMaybeUnaryOrPrivate(c);return this.shouldExitDescending(h,u)?h:this.parseExprOp(h,o,-1)}parseExprOp(c,o,u){if(this.isPrivateName(c)){let f=this.getPrivateNameSV(c);(u>=Nn(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Qe.PrivateInExpectedIn,{at:c,identifierName:f}),this.classScope.usePrivateName(f,c.loc.start)}let h=this.state.type;if(ar(h)&&(this.prodParam.hasIn||!this.match(58))){let f=Nn(h);if(f>u){if(h===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return c;this.checkPipelineAtInfixOperator(c,o)}let d=this.startNodeAt(o);d.left=c,d.operator=this.state.value;let y=h===41||h===42,D=h===40;if(D&&(f=Nn(42)),this.next(),h===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(Qe.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});d.right=this.parseExprOpRightExpr(h,f);let O=this.finishNode(d,y||D?"LogicalExpression":"BinaryExpression"),x=this.state.type;if(D&&(x===41||x===42)||y&&x===40)throw this.raise(Qe.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(O,o,u)}}return c}parseExprOpRightExpr(c,o){let u=this.state.startLoc;switch(c){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(Qe.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(c,o),u)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(o))}default:return this.parseExprOpBaseRightExpr(c,o)}}parseExprOpBaseRightExpr(c,o){let u=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),u,ri(c)?o-1:o)}parseHackPipeBody(){var c;let{startLoc:o}=this.state,u=this.parseMaybeAssign();return Is.has(u.type)&&!((c=u.extra)!=null&&c.parenthesized)&&this.raise(Qe.PipeUnparenthesizedBody,{at:o,type:u.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Qe.PipeTopicUnused,{at:o}),u}checkExponentialAfterUnary(c){this.match(57)&&this.raise(Qe.UnexpectedTokenUnaryExponentiation,{at:c.argument})}parseMaybeUnary(c,o){let u=this.state.startLoc,h=this.isContextual(96);if(h&&this.isAwaitAllowed()){this.next();let D=this.parseAwait(u);return o||this.checkExponentialAfterUnary(D),D}let f=this.match(34),d=this.startNode();if(fr(this.state.type)){d.operator=this.state.value,d.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let D=this.match(89);if(this.next(),d.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(c,!0),this.state.strict&&D){let O=d.argument;O.type==="Identifier"?this.raise(Qe.StrictDelete,{at:d}):this.hasPropertyAsPrivateName(O)&&this.raise(Qe.DeletePrivateField,{at:d})}if(!f)return o||this.checkExponentialAfterUnary(d),this.finishNode(d,"UnaryExpression")}let y=this.parseUpdate(d,f,c);if(h){let{type:D}=this.state;if((this.hasPlugin("v8intrinsic")?Gt(D):Gt(D)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Qe.AwaitNotInAsyncContext,{at:u}),this.parseAwait(u)}return y}parseUpdate(c,o,u){if(o){let d=c;return this.checkLVal(d.argument,{in:this.finishNode(d,"UpdateExpression")}),c}let h=this.state.startLoc,f=this.parseExprSubscripts(u);if(this.checkExpressionErrors(u,!1))return f;for(;tr(this.state.type)&&!this.canInsertSemicolon();){let d=this.startNodeAt(h);d.operator=this.state.value,d.prefix=!1,d.argument=f,this.next(),this.checkLVal(f,{in:f=this.finishNode(d,"UpdateExpression")})}return f}parseExprSubscripts(c){let o=this.state.startLoc,u=this.state.potentialArrowAt,h=this.parseExprAtom(c);return this.shouldExitDescending(h,u)?h:this.parseSubscripts(h,o)}parseSubscripts(c,o,u){let h={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(c),stop:!1};do c=this.parseSubscript(c,o,u,h),h.maybeAsyncArrow=!1;while(!h.stop);return c}parseSubscript(c,o,u,h){let{type:f}=this.state;if(!u&&f===15)return this.parseBind(c,o,u,h);if(ts(f))return this.parseTaggedTemplateExpression(c,o,h);let d=!1;if(f===18){if(u&&(this.raise(Qe.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return h.stop=!0,c;h.optionalChainMember=d=!0,this.next()}if(!u&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(c,o,h,d);{let y=this.eat(0);return y||d||this.eat(16)?this.parseMember(c,o,h,y,d):(h.stop=!0,c)}}parseMember(c,o,u,h,f){let d=this.startNodeAt(o);return d.object=c,d.computed=h,h?(d.property=this.parseExpression(),this.expect(3)):this.match(136)?(c.type==="Super"&&this.raise(Qe.SuperPrivateField,{at:o}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),d.property=this.parsePrivateName()):d.property=this.parseIdentifier(!0),u.optionalChainMember?(d.optional=f,this.finishNode(d,"OptionalMemberExpression")):this.finishNode(d,"MemberExpression")}parseBind(c,o,u,h){let f=this.startNodeAt(o);return f.object=c,this.next(),f.callee=this.parseNoCallExpr(),h.stop=!0,this.parseSubscripts(this.finishNode(f,"BindExpression"),o,u)}parseCoverCallAndAsyncArrowHead(c,o,u,h){let f=this.state.maybeInArrowParameters,d=null;this.state.maybeInArrowParameters=!0,this.next();let y=this.startNodeAt(o);y.callee=c;let{maybeAsyncArrow:D,optionalChainMember:O}=u;D&&(this.expressionScope.enter(Sh()),d=new fe),O&&(y.optional=h),h?y.arguments=this.parseCallExpressionArguments(11):y.arguments=this.parseCallExpressionArguments(11,c.type==="Import",c.type!=="Super",y,d);let x=this.finishCallExpression(y,O);return D&&this.shouldParseAsyncArrow()&&!h?(u.stop=!0,this.checkDestructuringPrivate(d),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),x=this.parseAsyncArrowFromCallExpression(this.startNodeAt(o),x)):(D&&(this.checkExpressionErrors(d,!0),this.expressionScope.exit()),this.toReferencedArguments(x)),this.state.maybeInArrowParameters=f,x}toReferencedArguments(c,o){this.toReferencedListDeep(c.arguments,o)}parseTaggedTemplateExpression(c,o,u){let h=this.startNodeAt(o);return h.tag=c,h.quasi=this.parseTemplate(!0),u.optionalChainMember&&this.raise(Qe.OptionalChainingNoTemplate,{at:o}),this.finishNode(h,"TaggedTemplateExpression")}atPossibleAsyncArrow(c){return c.type==="Identifier"&&c.name==="async"&&this.state.lastTokEndLoc.index===c.end&&!this.canInsertSemicolon()&&c.end-c.start===5&&c.start===this.state.potentialArrowAt}finishCallExpression(c,o){if(c.callee.type==="Import")if(c.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),c.arguments.length===0||c.arguments.length>2)this.raise(Qe.ImportCallArity,{at:c,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let u of c.arguments)u.type==="SpreadElement"&&this.raise(Qe.ImportCallSpreadArgument,{at:u});return this.finishNode(c,o?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(c,o,u,h,f){let d=[],y=!0,D=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(c);){if(y)y=!1;else if(this.expect(12),this.match(c)){o&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(Qe.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),h&&this.addTrailingCommaExtraToNode(h),this.next();break}d.push(this.parseExprListItem(!1,f,u))}return this.state.inFSharpPipelineDirectBody=D,d}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(c,o){var u;return this.resetPreviousNodeTrailingComments(o),this.expect(19),this.parseArrowExpression(c,o.arguments,!0,(u=o.extra)==null?void 0:u.trailingCommaLoc),o.innerComments&&Ku(c,o.innerComments),o.callee.trailingComments&&Ku(c,o.callee.trailingComments),c}parseNoCallExpr(){let c=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),c,!0)}parseExprAtom(c){let o,u=null,{type:h}=this.state;switch(h){case 79:return this.parseSuper();case 83:return o=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(o):(this.match(10)||this.raise(Qe.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(o,"Import"));case 78:return o=this.startNode(),this.next(),this.finishNode(o,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let f=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(f)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,c);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,c);case 68:return this.parseFunctionOrFunctionSent();case 26:u=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(u,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{o=this.startNode(),this.next(),o.object=null;let f=o.callee=this.parseNoCallExpr();if(f.type==="MemberExpression")return this.finishNode(o,"BindExpression");throw this.raise(Qe.UnsupportedBind,{at:f})}case 136:return this.raise(Qe.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let f=this.getPluginOption("pipelineOperator","proposal");if(f)return this.parseTopicReference(f);this.unexpected();break}case 47:{let f=this.input.codePointAt(this.nextTokenStart());jo(f)||f===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(at(h)){if(this.isContextual(125)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let f=this.state.potentialArrowAt===this.state.start,d=this.state.containsEsc,y=this.parseIdentifier();if(!d&&y.name==="async"&&!this.canInsertSemicolon()){let{type:D}=this.state;if(D===68)return this.resetPreviousNodeTrailingComments(y),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(y));if(at(D))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(y)):y;if(D===90)return this.resetPreviousNodeTrailingComments(y),this.parseDo(this.startNodeAtNode(y),!0)}return f&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(y),[y],!1)):y}else this.unexpected()}}parseTopicReferenceThenEqualsSign(c,o){let u=this.getPluginOption("pipelineOperator","proposal");if(u)return this.state.type=c,this.state.value=o,this.state.pos--,this.state.end--,this.state.endLoc=Ei(this.state.endLoc,-1),this.parseTopicReference(u);this.unexpected()}parseTopicReference(c){let o=this.startNode(),u=this.state.startLoc,h=this.state.type;return this.next(),this.finishTopicReference(o,u,c,h)}finishTopicReference(c,o,u,h){if(this.testTopicReferenceConfiguration(u,o,h)){let f=u==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(u==="smart"?Qe.PrimaryTopicNotAllowed:Qe.PipeTopicUnbound,{at:o}),this.registerTopicReference(),this.finishNode(c,f)}else throw this.raise(Qe.PipeTopicUnconfiguredToken,{at:o,token:jr(h)})}testTopicReferenceConfiguration(c,o,u){switch(c){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:jr(u)}]);case"smart":return u===27;default:throw this.raise(Qe.PipeTopicRequiresHackPipes,{at:o})}}parseAsyncArrowUnaryFunction(c){this.prodParam.enter(de(!0,this.prodParam.hasYield));let o=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Qe.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(c,o,!0)}parseDo(c,o){this.expectPlugin("doExpressions"),o&&this.expectPlugin("asyncDoExpressions"),c.async=o,this.next();let u=this.state.labels;return this.state.labels=[],o?(this.prodParam.enter(H),c.body=this.parseBlock(),this.prodParam.exit()):c.body=this.parseBlock(),this.state.labels=u,this.finishNode(c,"DoExpression")}parseSuper(){let c=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(Qe.SuperNotAllowed,{at:c}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(Qe.UnexpectedSuper,{at:c}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(Qe.UnsupportedSuper,{at:c}),this.finishNode(c,"Super")}parsePrivateName(){let c=this.startNode(),o=this.startNodeAt(Ei(this.state.startLoc,1)),u=this.state.value;return this.next(),c.id=this.createIdentifier(o,u),this.finishNode(c,"PrivateName")}parseFunctionOrFunctionSent(){let c=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let o=this.createIdentifier(this.startNodeAtNode(c),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(c,o,"sent")}return this.parseFunction(c)}parseMetaProperty(c,o,u){c.meta=o;let h=this.state.containsEsc;return c.property=this.parseIdentifier(!0),(c.property.name!==u||h)&&this.raise(Qe.UnsupportedMetaProperty,{at:c.property,target:o.name,onlyValidPropertyName:u}),this.finishNode(c,"MetaProperty")}parseImportMetaProperty(c){let o=this.createIdentifier(this.startNodeAtNode(c),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(Qe.ImportMetaOutsideModule,{at:o}),this.sawUnambiguousESM=!0),this.parseMetaProperty(c,o,"meta")}parseLiteralAtNode(c,o,u){return this.addExtra(u,"rawValue",c),this.addExtra(u,"raw",this.input.slice(u.start,this.state.end)),u.value=c,this.next(),this.finishNode(u,o)}parseLiteral(c,o){let u=this.startNode();return this.parseLiteralAtNode(c,o,u)}parseStringLiteral(c){return this.parseLiteral(c,"StringLiteral")}parseNumericLiteral(c){return this.parseLiteral(c,"NumericLiteral")}parseBigIntLiteral(c){return this.parseLiteral(c,"BigIntLiteral")}parseDecimalLiteral(c){return this.parseLiteral(c,"DecimalLiteral")}parseRegExpLiteral(c){let o=this.parseLiteral(c.value,"RegExpLiteral");return o.pattern=c.pattern,o.flags=c.flags,o}parseBooleanLiteral(c){let o=this.startNode();return o.value=c,this.next(),this.finishNode(o,"BooleanLiteral")}parseNullLiteral(){let c=this.startNode();return this.next(),this.finishNode(c,"NullLiteral")}parseParenAndDistinguishExpression(c){let o=this.state.startLoc,u;this.next(),this.expressionScope.enter(Ch());let h=this.state.maybeInArrowParameters,f=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let d=this.state.startLoc,y=[],D=new fe,O=!0,x,v;for(;!this.match(11);){if(O)O=!1;else if(this.expect(12,D.optionalParametersLoc===null?null:D.optionalParametersLoc),this.match(11)){v=this.state.startLoc;break}if(this.match(21)){let k=this.state.startLoc;if(x=this.state.startLoc,y.push(this.parseParenItem(this.parseRestBinding(),k)),!this.checkCommaAfterRest(41))break}else y.push(this.parseMaybeAssignAllowIn(D,this.parseParenItem))}let E=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=h,this.state.inFSharpPipelineDirectBody=f;let F=this.startNodeAt(o);return c&&this.shouldParseArrow(y)&&(F=this.parseArrow(F))?(this.checkDestructuringPrivate(D),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(F,y,!1),F):(this.expressionScope.exit(),y.length||this.unexpected(this.state.lastTokStartLoc),v&&this.unexpected(v),x&&this.unexpected(x),this.checkExpressionErrors(D,!0),this.toReferencedListDeep(y,!0),y.length>1?(u=this.startNodeAt(d),u.expressions=y,this.finishNode(u,"SequenceExpression"),this.resetEndLocation(u,E)):u=y[0],this.wrapParenthesis(o,u))}wrapParenthesis(c,o){if(!this.options.createParenthesizedExpressions)return this.addExtra(o,"parenthesized",!0),this.addExtra(o,"parenStart",c.index),this.takeSurroundingComments(o,c.index,this.state.lastTokEndLoc.index),o;let u=this.startNodeAt(c);return u.expression=o,this.finishNode(u,"ParenthesizedExpression")}shouldParseArrow(c){return!this.canInsertSemicolon()}parseArrow(c){if(this.eat(19))return c}parseParenItem(c,o){return c}parseNewOrNewTarget(){let c=this.startNode();if(this.next(),this.match(16)){let o=this.createIdentifier(this.startNodeAtNode(c),"new");this.next();let u=this.parseMetaProperty(c,o,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(Qe.UnexpectedNewTarget,{at:u}),u}return this.parseNew(c)}parseNew(c){if(this.parseNewCallee(c),this.eat(10)){let o=this.parseExprList(11);this.toReferencedList(o),c.arguments=o}else c.arguments=[];return this.finishNode(c,"NewExpression")}parseNewCallee(c){c.callee=this.parseNoCallExpr(),c.callee.type==="Import"&&this.raise(Qe.ImportCallNotNewExpression,{at:c.callee})}parseTemplateElement(c){let{start:o,startLoc:u,end:h,value:f}=this.state,d=o+1,y=this.startNodeAt(Ei(u,1));f===null&&(c||this.raise(Qe.InvalidEscapeSequenceTemplate,{at:Ei(this.state.firstInvalidTemplateEscapePos,1)}));let D=this.match(24),O=D?-1:-2,x=h+O;y.value={raw:this.input.slice(d,x).replace(/\r\n?/g,`
|
||
`),cooked:f===null?null:f.slice(1,O)},y.tail=D,this.next();let v=this.finishNode(y,"TemplateElement");return this.resetEndLocation(v,Ei(this.state.lastTokEndLoc,O)),v}parseTemplate(c){let o=this.startNode();o.expressions=[];let u=this.parseTemplateElement(c);for(o.quasis=[u];!u.tail;)o.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),o.quasis.push(u=this.parseTemplateElement(c));return this.finishNode(o,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(c,o,u,h){u&&this.expectPlugin("recordAndTuple");let f=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let d=Object.create(null),y=!0,D=this.startNode();for(D.properties=[],this.next();!this.match(c);){if(y)y=!1;else if(this.expect(12),this.match(c)){this.addTrailingCommaExtraToNode(D);break}let x;o?x=this.parseBindingProperty():(x=this.parsePropertyDefinition(h),this.checkProto(x,u,d,h)),u&&!this.isObjectProperty(x)&&x.type!=="SpreadElement"&&this.raise(Qe.InvalidRecordProperty,{at:x}),x.shorthand&&this.addExtra(x,"shorthand",!0),D.properties.push(x)}this.next(),this.state.inFSharpPipelineDirectBody=f;let O="ObjectExpression";return o?O="ObjectPattern":u&&(O="RecordExpression"),this.finishNode(D,O)}addTrailingCommaExtraToNode(c){this.addExtra(c,"trailingComma",this.state.lastTokStart),this.addExtra(c,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(c){return!c.computed&&c.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(c){let o=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(Qe.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)o.push(this.parseDecorator());let u=this.startNode(),h=!1,f=!1,d;if(this.match(21))return o.length&&this.unexpected(),this.parseSpread();o.length&&(u.decorators=o,o=[]),u.method=!1,c&&(d=this.state.startLoc);let y=this.eat(55);this.parsePropertyNamePrefixOperator(u);let D=this.state.containsEsc,O=this.parsePropertyName(u,c);if(!y&&!D&&this.maybeAsyncOrAccessorProp(u)){let x=O.name;x==="async"&&!this.hasPrecedingLineBreak()&&(h=!0,this.resetPreviousNodeTrailingComments(O),y=this.eat(55),this.parsePropertyName(u)),(x==="get"||x==="set")&&(f=!0,this.resetPreviousNodeTrailingComments(O),u.kind=x,this.match(55)&&(y=!0,this.raise(Qe.AccessorIsGenerator,{at:this.state.curPosition(),kind:x}),this.next()),this.parsePropertyName(u))}return this.parseObjPropValue(u,d,y,h,!1,f,c)}getGetterSetterExpectedParamCount(c){return c.kind==="get"?0:1}getObjectOrClassMethodParams(c){return c.params}checkGetterSetterParams(c){var o;let u=this.getGetterSetterExpectedParamCount(c),h=this.getObjectOrClassMethodParams(c);h.length!==u&&this.raise(c.kind==="get"?Qe.BadGetterArity:Qe.BadSetterArity,{at:c}),c.kind==="set"&&((o=h[h.length-1])==null?void 0:o.type)==="RestElement"&&this.raise(Qe.BadSetterRestParameter,{at:c})}parseObjectMethod(c,o,u,h,f){if(f){let d=this.parseMethod(c,o,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(d),d}if(u||o||this.match(10))return h&&this.unexpected(),c.kind="method",c.method=!0,this.parseMethod(c,o,u,!1,!1,"ObjectMethod")}parseObjectProperty(c,o,u,h){if(c.shorthand=!1,this.eat(14))return c.value=u?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(h),this.finishNode(c,"ObjectProperty");if(!c.computed&&c.key.type==="Identifier"){if(this.checkReservedWord(c.key.name,c.key.loc.start,!0,!1),u)c.value=this.parseMaybeDefault(o,V(c.key));else if(this.match(29)){let f=this.state.startLoc;h!=null?h.shorthandAssignLoc===null&&(h.shorthandAssignLoc=f):this.raise(Qe.InvalidCoverInitializedName,{at:f}),c.value=this.parseMaybeDefault(o,V(c.key))}else c.value=V(c.key);return c.shorthand=!0,this.finishNode(c,"ObjectProperty")}}parseObjPropValue(c,o,u,h,f,d,y){let D=this.parseObjectMethod(c,u,h,f,d)||this.parseObjectProperty(c,o,f,y);return D||this.unexpected(),D}parsePropertyName(c,o){if(this.eat(0))c.computed=!0,c.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:u,value:h}=this.state,f;if(qe(u))f=this.parseIdentifier(!0);else switch(u){case 132:f=this.parseNumericLiteral(h);break;case 131:f=this.parseStringLiteral(h);break;case 133:f=this.parseBigIntLiteral(h);break;case 134:f=this.parseDecimalLiteral(h);break;case 136:{let d=this.state.startLoc;o!=null?o.privateKeyLoc===null&&(o.privateKeyLoc=d):this.raise(Qe.UnexpectedPrivateField,{at:d}),f=this.parsePrivateName();break}default:this.unexpected()}c.key=f,u!==136&&(c.computed=!1)}return c.key}initFunction(c,o){c.id=null,c.generator=!1,c.async=o}parseMethod(c,o,u,h,f,d){let y=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;this.initFunction(c,u),c.generator=o,this.scope.enter(va|cu|(y?Ma:0)|(f?Nl:0)),this.prodParam.enter(de(u,c.generator)),this.parseFunctionParams(c,h);let D=this.parseFunctionBodyAndFinish(c,d,!0);return this.prodParam.exit(),this.scope.exit(),D}parseArrayLike(c,o,u,h){u&&this.expectPlugin("recordAndTuple");let f=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let d=this.startNode();return this.next(),d.elements=this.parseExprList(c,!u,h,d),this.state.inFSharpPipelineDirectBody=f,this.finishNode(d,u?"TupleExpression":"ArrayExpression")}parseArrowExpression(c,o,u,h){this.scope.enter(va|Bl);let f=de(u,!1);!this.match(5)&&this.prodParam.hasIn&&(f|=pe),this.prodParam.enter(f),this.initFunction(c,u);let d=this.state.maybeInArrowParameters;return o&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(c,o,h)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(c,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=d,this.finishNode(c,"ArrowFunctionExpression")}setArrowFunctionParameters(c,o,u){this.toAssignableList(o,u,!1),c.params=o}parseFunctionBodyAndFinish(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.parseFunctionBody(c,!1,u),this.finishNode(c,o)}parseFunctionBody(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=o&&!this.match(5);if(this.expressionScope.enter(w()),h)c.body=this.parseMaybeAssign(),this.checkParams(c,!1,o,!1);else{let f=this.state.strict,d=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|oe),c.body=this.parseBlock(!0,!1,y=>{let D=!this.isSimpleParamList(c.params);y&&D&&this.raise(Qe.IllegalLanguageModeDirective,{at:(c.kind==="method"||c.kind==="constructor")&&c.key?c.key.loc.end:c});let O=!f&&this.state.strict;this.checkParams(c,!this.state.strict&&!o&&!u&&!D,o,O),this.state.strict&&c.id&&this.checkIdentifier(c.id,op,O)}),this.prodParam.exit(),this.state.labels=d}this.expressionScope.exit()}isSimpleParameter(c){return c.type==="Identifier"}isSimpleParamList(c){for(let o=0,u=c.length;o<u;o++)if(!this.isSimpleParameter(c[o]))return!1;return!0}checkParams(c,o,u){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,f=!o&&new Set,d={type:"FormalParameters"};for(let y of c.params)this.checkLVal(y,{in:d,binding:Yu,checkClashes:f,strictModeChanged:h})}parseExprList(c,o,u,h){let f=[],d=!0;for(;!this.eat(c);){if(d)d=!1;else if(this.expect(12),this.match(c)){h&&this.addTrailingCommaExtraToNode(h),this.next();break}f.push(this.parseExprListItem(o,u))}return f}parseExprListItem(c,o,u){let h;if(this.match(12))c||this.raise(Qe.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),h=null;else if(this.match(21)){let f=this.state.startLoc;h=this.parseParenItem(this.parseSpread(o),f)}else if(this.match(17)){this.expectPlugin("partialApplication"),u||this.raise(Qe.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let f=this.startNode();this.next(),h=this.finishNode(f,"ArgumentPlaceholder")}else h=this.parseMaybeAssignAllowIn(o,this.parseParenItem);return h}parseIdentifier(c){let o=this.startNode(),u=this.parseIdentifierName(c);return this.createIdentifier(o,u)}createIdentifier(c,o){return c.name=o,c.loc.identifierName=o,this.finishNode(c,"Identifier")}parseIdentifierName(c){let o,{startLoc:u,type:h}=this.state;qe(h)?o=this.state.value:this.unexpected();let f=Pt(h);return c?f&&this.replaceToken(130):this.checkReservedWord(o,u,f,!1),this.next(),o}checkReservedWord(c,o,u,h){if(!(c.length>10||!ip(c))){if(u&&Xu(c)){this.raise(Qe.UnexpectedKeyword,{at:o,keyword:c});return}if((this.state.strict?h?ss:Ya:ch)(c,this.inModule)){this.raise(Qe.UnexpectedReservedWord,{at:o,reservedWord:c});return}else if(c==="yield"){if(this.prodParam.hasYield){this.raise(Qe.YieldBindingIdentifier,{at:o});return}}else if(c==="await"){if(this.prodParam.hasAwait){this.raise(Qe.AwaitBindingIdentifier,{at:o});return}if(this.scope.inStaticBlock){this.raise(Qe.AwaitBindingIdentifierInStaticBlock,{at:o});return}this.expressionScope.recordAsyncArrowParametersError({at:o})}else if(c==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(Qe.ArgumentsInClass,{at:o});return}}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(c){let o=this.startNodeAt(c);return this.expressionScope.recordParameterInitializerError(Qe.AwaitExpressionFormalParameter,{at:o}),this.eat(55)&&this.raise(Qe.ObsoleteAwaitStar,{at:o}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(o.argument=this.parseMaybeUnary(null,!0)),this.finishNode(o,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:c}=this.state;return c===53||c===10||c===0||ts(c)||c===101&&!this.state.containsEsc||c===135||c===56||this.hasPlugin("v8intrinsic")&&c===54}parseYield(){let c=this.startNode();this.expressionScope.recordParameterInitializerError(Qe.YieldInParameter,{at:c}),this.next();let o=!1,u=null;if(!this.hasPrecedingLineBreak())switch(o=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!o)break;default:u=this.parseMaybeAssign()}return c.delegate=o,c.argument=u,this.finishNode(c,"YieldExpression")}checkPipelineAtInfixOperator(c,o){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&c.type==="SequenceExpression"&&this.raise(Qe.PipelineHeadSequenceExpression,{at:o})}parseSmartPipelineBodyInStyle(c,o){if(this.isSimpleReference(c)){let u=this.startNodeAt(o);return u.callee=c,this.finishNode(u,"PipelineBareFunction")}else{let u=this.startNodeAt(o);return this.checkSmartPipeTopicBodyEarlyErrors(o),u.expression=c,this.finishNode(u,"PipelineTopicExpression")}}isSimpleReference(c){switch(c.type){case"MemberExpression":return!c.computed&&this.isSimpleReference(c.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(c){if(this.match(19))throw this.raise(Qe.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(Qe.PipelineTopicUnused,{at:c})}withTopicBindingContext(c){let o=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=o}}withSmartMixTopicForbiddingContext(c){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let o=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return c()}finally{this.state.topicContext=o}}else return c()}withSoloAwaitPermittingContext(c){let o=this.state.soloAwait;this.state.soloAwait=!0;try{return c()}finally{this.state.soloAwait=o}}allowInAnd(c){let o=this.prodParam.currentFlags();if(pe&~o){this.prodParam.enter(o|pe);try{return c()}finally{this.prodParam.exit()}}return c()}disallowInAnd(c){let o=this.prodParam.currentFlags();if(pe&o){this.prodParam.enter(o&~pe);try{return c()}finally{this.prodParam.exit()}}return c()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(c){let o=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let u=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let h=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),o,c);return this.state.inFSharpPipelineDirectBody=u,h}parseModuleExpression(){this.expectPlugin("moduleBlocks");let c=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let o=this.startNodeAt(this.state.endLoc);this.next();let u=this.initializeScopes(!0);this.enterInitialScopes();try{c.body=this.parseProgram(o,8,"module")}finally{u()}return this.finishNode(c,"ModuleExpression")}parsePropertyNamePrefixOperator(c){}},Tc={kind:"loop"},bp={kind:"switch"},a0=/[\uD800-\uDFFF]/u,df=/in(?:stanceof)?/y;function u0(c,o){for(let u=0;u<c.length;u++){let h=c[u],{type:f}=h;if(typeof f=="number"){{if(f===136){let{loc:d,start:y,value:D,end:O}=h,x=y+1,v=Ei(d.start,1);c.splice(u,1,new na({type:Er(27),value:"#",start:y,end:x,startLoc:d.start,endLoc:v}),new na({type:Er(130),value:D,start:x,end:O,startLoc:v,endLoc:d.end})),u++;continue}if(ts(f)){let{loc:d,start:y,value:D,end:O}=h,x=y+1,v=Ei(d.start,1),E;o.charCodeAt(y)===96?E=new na({type:Er(22),value:"`",start:y,end:x,startLoc:d.start,endLoc:v}):E=new na({type:Er(8),value:"}",start:y,end:x,startLoc:d.start,endLoc:v});let F,k,I,T;f===24?(k=O-1,I=Ei(d.end,-1),F=D===null?null:D.slice(1,-1),T=new na({type:Er(22),value:"`",start:k,end:O,startLoc:I,endLoc:d.end})):(k=O-2,I=Ei(d.end,-2),F=D===null?null:D.slice(1,-2),T=new na({type:Er(23),value:"${",start:k,end:O,startLoc:I,endLoc:d.end})),c.splice(u,1,E,new na({type:Er(20),value:F,start:x,end:k,startLoc:v,endLoc:I}),T),u+=2;continue}}h.type=Er(f)}}return c}var l0=class extends oo{parseTopLevel(c,o){return c.program=this.parseProgram(o),c.comments=this.state.comments,this.options.tokens&&(c.tokens=u0(this.tokens,this.input)),this.finishNode(c,"File")}parseProgram(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:137,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(c.sourceType=u,c.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(c,!0,!0,o),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[f,d]of Array.from(this.scope.undefinedExports))this.raise(Qe.ModuleExportUndefined,{at:d,localName:f});let h;return o===137?h=this.finishNode(c,"Program"):h=this.finishNodeAt(c,"Program",Ei(this.state.startLoc,-1)),h}stmtToDirective(c){let o=c;o.type="Directive",o.value=o.expression,delete o.expression;let u=o.value,h=u.value,f=this.input.slice(u.start,u.end),d=u.value=f.slice(1,-1);return this.addExtra(u,"raw",f),this.addExtra(u,"rawValue",d),this.addExtra(u,"expressionValue",h),u.type="DirectiveLiteral",o}parseInterpreterDirective(){if(!this.match(28))return null;let c=this.startNode();return c.value=this.state.value,this.next(),this.finishNode(c,"InterpreterDirective")}isLet(){return this.isContextual(99)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(c,o){if(jo(c)){if(df.lastIndex=o,df.test(this.input)){let u=this.codePointAtPos(df.lastIndex);if(!ba(u)&&u!==92)return!1}return!0}else return c===92}chStartsBindingPattern(c){return c===91||c===123}hasFollowingBindingAtom(){let c=this.nextTokenStart(),o=this.codePointAtPos(c);return this.chStartsBindingPattern(o)||this.chStartsBindingIdentifier(o,c)}hasFollowingBindingIdentifier(){let c=this.nextTokenStart(),o=this.codePointAtPos(c);return this.chStartsBindingIdentifier(o,c)}startsUsingForOf(){let c=this.lookahead();return c.type===101&&!c.containsEsc?!1:(this.expectPlugin("explicitResourceManagement"),!0)}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=0;return this.options.annexB&&!this.state.strict&&(o|=4,c&&(o|=8)),this.parseStatementLike(o)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(c){let o=null;return this.match(26)&&(o=this.parseDecorators(!0)),this.parseStatementContent(c,o)}parseStatementContent(c,o){let u=this.state.type,h=this.startNode(),f=!!(c&2),d=!!(c&4),y=c&1;switch(u){case 60:return this.parseBreakContinueStatement(h,!0);case 63:return this.parseBreakContinueStatement(h,!1);case 64:return this.parseDebuggerStatement(h);case 90:return this.parseDoWhileStatement(h);case 91:return this.parseForStatement(h);case 68:if(this.lookaheadCharCode()===46)break;return d||this.raise(this.state.strict?Qe.StrictFunction:this.options.annexB?Qe.SloppyFunctionAnnexB:Qe.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(h,!1,!f&&d);case 80:return f||this.unexpected(),this.parseClass(this.maybeTakeDecorators(o,h),!0);case 69:return this.parseIfStatement(h);case 70:return this.parseReturnStatement(h);case 71:return this.parseSwitchStatement(h);case 72:return this.parseThrowStatement(h);case 73:return this.parseTryStatement(h);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(Qe.UnexpectedUsingDeclaration,{at:this.state.startLoc}):f||this.raise(Qe.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(h,"using");case 99:{if(this.state.containsEsc)break;let x=this.nextTokenStart(),v=this.codePointAtPos(x);if(v!==91&&(!f&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(v,x)&&v!==123))break}case 75:f||this.raise(Qe.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let x=this.state.value;return this.parseVarStatement(h,x)}case 92:return this.parseWhileStatement(h);case 76:return this.parseWithStatement(h);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(h);case 83:{let x=this.lookaheadCharCode();if(x===40||x===46)break}case 82:{!this.options.allowImportExportEverywhere&&!y&&this.raise(Qe.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let x;return u===83?(x=this.parseImport(h),x.type==="ImportDeclaration"&&(!x.importKind||x.importKind==="value")&&(this.sawUnambiguousESM=!0)):(x=this.parseExport(h,o),(x.type==="ExportNamedDeclaration"&&(!x.exportKind||x.exportKind==="value")||x.type==="ExportAllDeclaration"&&(!x.exportKind||x.exportKind==="value")||x.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(x),x}default:if(this.isAsyncFunction())return f||this.raise(Qe.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(h,!0,!f&&d)}let D=this.state.value,O=this.parseExpression();return at(u)&&O.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(h,D,O,c):this.parseExpressionStatement(h,O,o)}assertModuleNodeAllowed(c){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(Qe.ImportOutsideModule,{at:c})}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(c,o,u){return c&&(o.decorators&&o.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(Qe.DecoratorsBeforeAfterExport,{at:o.decorators[0]}),o.decorators.unshift(...c)):o.decorators=c,this.resetStartLocationFromNode(o,c[0]),u&&this.resetStartLocationFromNode(u,o)),o}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(c){let o=[];do o.push(this.parseDecorator());while(this.match(26));if(this.match(82))c||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(Qe.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(Qe.UnexpectedLeadingDecorator,{at:this.state.startLoc});return o}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let c=this.startNode();if(this.next(),this.hasPlugin("decorators")){let o=this.state.startLoc,u;if(this.match(10)){let h=this.state.startLoc;this.next(),u=this.parseExpression(),this.expect(11),u=this.wrapParenthesis(h,u);let f=this.state.startLoc;c.expression=this.parseMaybeDecoratorArguments(u),this.getPluginOption("decorators","allowCallParenthesized")===!1&&c.expression!==u&&this.raise(Qe.DecoratorArgumentsOutsideParentheses,{at:f})}else{for(u=this.parseIdentifier(!1);this.eat(16);){let h=this.startNodeAt(o);h.object=u,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),h.property=this.parsePrivateName()):h.property=this.parseIdentifier(!0),h.computed=!1,u=this.finishNode(h,"MemberExpression")}c.expression=this.parseMaybeDecoratorArguments(u)}}else c.expression=this.parseExprSubscripts();return this.finishNode(c,"Decorator")}parseMaybeDecoratorArguments(c){if(this.eat(10)){let o=this.startNodeAtNode(c);return o.callee=c,o.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(o.arguments),this.finishNode(o,"CallExpression")}return c}parseBreakContinueStatement(c,o){return this.next(),this.isLineTerminator()?c.label=null:(c.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(c,o),this.finishNode(c,o?"BreakStatement":"ContinueStatement")}verifyBreakContinue(c,o){let u;for(u=0;u<this.state.labels.length;++u){let h=this.state.labels[u];if((c.label==null||h.name===c.label.name)&&(h.kind!=null&&(o||h.kind==="loop")||c.label&&o))break}if(u===this.state.labels.length){let h=o?"BreakStatement":"ContinueStatement";this.raise(Qe.IllegalBreakContinue,{at:c,type:h})}}parseDebuggerStatement(c){return this.next(),this.semicolon(),this.finishNode(c,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let c=this.parseExpression();return this.expect(11),c}parseDoWhileStatement(c){return this.next(),this.state.labels.push(Tc),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),c.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(c,"DoWhileStatement")}parseForStatement(c){this.next(),this.state.labels.push(Tc);let o=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(o=this.state.lastTokStartLoc),this.scope.enter(Vu),this.expect(10),this.match(13))return o!==null&&this.unexpected(o),this.parseFor(c,null);let u=this.isContextual(99),h=this.isContextual(105)&&!this.hasFollowingLineBreak(),f=u&&this.hasFollowingBindingAtom()||h&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||f){let x=this.startNode(),v=this.state.value;this.next(),this.parseVar(x,!0,v);let E=this.finishNode(x,"VariableDeclaration"),F=this.match(58);return F&&h&&this.raise(Qe.ForInUsing,{at:E}),(F||this.isContextual(101))&&E.declarations.length===1?this.parseForIn(c,E,o):(o!==null&&this.unexpected(o),this.parseFor(c,E))}let d=this.isContextual(95),y=new fe,D=this.parseExpression(!0,y),O=this.isContextual(101);if(O&&(u&&this.raise(Qe.ForOfLet,{at:D}),o===null&&d&&D.type==="Identifier"&&this.raise(Qe.ForOfAsync,{at:D})),O||this.match(58)){this.checkDestructuringPrivate(y),this.toAssignable(D,!0);let x=O?"ForOfStatement":"ForInStatement";return this.checkLVal(D,{in:{type:x}}),this.parseForIn(c,D,o)}else this.checkExpressionErrors(y,!0);return o!==null&&this.unexpected(o),this.parseFor(c,D)}parseFunctionStatement(c,o,u){return this.next(),this.parseFunction(c,1|(u?2:0)|(o?8:0))}parseIfStatement(c){return this.next(),c.test=this.parseHeaderExpression(),c.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),c.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(c,"IfStatement")}parseReturnStatement(c){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(Qe.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?c.argument=null:(c.argument=this.parseExpression(),this.semicolon()),this.finishNode(c,"ReturnStatement")}parseSwitchStatement(c){this.next(),c.discriminant=this.parseHeaderExpression();let o=c.cases=[];this.expect(5),this.state.labels.push(bp),this.scope.enter(Vu);let u;for(let h;!this.match(8);)if(this.match(61)||this.match(65)){let f=this.match(61);u&&this.finishNode(u,"SwitchCase"),o.push(u=this.startNode()),u.consequent=[],this.next(),f?u.test=this.parseExpression():(h&&this.raise(Qe.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),h=!0,u.test=null),this.expect(14)}else u?u.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),u&&this.finishNode(u,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(c,"SwitchStatement")}parseThrowStatement(c){return this.next(),this.hasPrecedingLineBreak()&&this.raise(Qe.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),c.argument=this.parseExpression(),this.semicolon(),this.finishNode(c,"ThrowStatement")}parseCatchClauseParam(){let c=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&c.type==="Identifier"?qu:0),this.checkLVal(c,{in:{type:"CatchClause"},binding:xc}),c}parseTryStatement(c){if(this.next(),c.block=this.parseBlock(),c.handler=null,this.match(62)){let o=this.startNode();this.next(),this.match(10)?(this.expect(10),o.param=this.parseCatchClauseParam(),this.expect(11)):(o.param=null,this.scope.enter(Vu)),o.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),c.handler=this.finishNode(o,"CatchClause")}return c.finalizer=this.eat(67)?this.parseBlock():null,!c.handler&&!c.finalizer&&this.raise(Qe.NoCatchOrFinally,{at:c}),this.finishNode(c,"TryStatement")}parseVarStatement(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.next(),this.parseVar(c,!1,o,u),this.semicolon(),this.finishNode(c,"VariableDeclaration")}parseWhileStatement(c){return this.next(),c.test=this.parseHeaderExpression(),this.state.labels.push(Tc),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(c,"WhileStatement")}parseWithStatement(c){return this.state.strict&&this.raise(Qe.StrictWith,{at:this.state.startLoc}),this.next(),c.object=this.parseHeaderExpression(),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(c,"WithStatement")}parseEmptyStatement(c){return this.next(),this.finishNode(c,"EmptyStatement")}parseLabeledStatement(c,o,u,h){for(let d of this.state.labels)d.name===o&&this.raise(Qe.LabelRedeclaration,{at:u,labelName:o});let f=wt(this.state.type)?"loop":this.match(71)?"switch":null;for(let d=this.state.labels.length-1;d>=0;d--){let y=this.state.labels[d];if(y.statementStart===c.start)y.statementStart=this.state.start,y.kind=f;else break}return this.state.labels.push({name:o,kind:f,statementStart:this.state.start}),c.body=h&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),c.label=u,this.finishNode(c,"LabeledStatement")}parseExpressionStatement(c,o,u){return c.expression=o,this.semicolon(),this.finishNode(c,"ExpressionStatement")}parseBlock(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,u=arguments.length>2?arguments[2]:void 0,h=this.startNode();return c&&this.state.strictErrors.clear(),this.expect(5),o&&this.scope.enter(Vu),this.parseBlockBody(h,c,!1,8,u),o&&this.scope.exit(),this.finishNode(h,"BlockStatement")}isValidDirective(c){return c.type==="ExpressionStatement"&&c.expression.type==="StringLiteral"&&!c.expression.extra.parenthesized}parseBlockBody(c,o,u,h,f){let d=c.body=[],y=c.directives=[];this.parseBlockOrModuleBlockBody(d,o?y:void 0,u,h,f)}parseBlockOrModuleBlockBody(c,o,u,h,f){let d=this.state.strict,y=!1,D=!1;for(;!this.match(h);){let O=u?this.parseModuleItem():this.parseStatementListItem();if(o&&!D){if(this.isValidDirective(O)){let x=this.stmtToDirective(O);o.push(x),!y&&x.value.value==="use strict"&&(y=!0,this.setStrict(!0));continue}D=!0,this.state.strictErrors.clear()}c.push(O)}f&&f.call(this,y),d||this.setStrict(!1),this.next()}parseFor(c,o){return c.init=o,this.semicolon(!1),c.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),c.update=this.match(11)?null:this.parseExpression(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,"ForStatement")}parseForIn(c,o,u){let h=this.match(58);return this.next(),h?u!==null&&this.unexpected(u):c.await=u!==null,o.type==="VariableDeclaration"&&o.declarations[0].init!=null&&(!h||!this.options.annexB||this.state.strict||o.kind!=="var"||o.declarations[0].id.type!=="Identifier")&&this.raise(Qe.ForInOfLoopInitializer,{at:o,type:h?"ForInStatement":"ForOfStatement"}),o.type==="AssignmentPattern"&&this.raise(Qe.InvalidLhs,{at:o,ancestor:{type:"ForStatement"}}),c.left=o,c.right=h?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),c.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(c,h?"ForInStatement":"ForOfStatement")}parseVar(c,o,u){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,f=c.declarations=[];for(c.kind=u;;){let d=this.startNode();if(this.parseVarId(d,u),d.init=this.eat(29)?o?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,d.init===null&&!h&&(d.id.type!=="Identifier"&&!(o&&(this.match(58)||this.isContextual(101)))?this.raise(Qe.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):u==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(Qe.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),f.push(this.finishNode(d,"VariableDeclarator")),!this.eat(12))break}return c}parseVarId(c,o){o==="using"&&!this.inModule&&this.match(96)&&this.raise(Qe.AwaitInUsingBinding,{at:this.state.startLoc});let u=this.parseBindingAtom();this.checkLVal(u,{in:{type:"VariableDeclarator"},binding:o==="var"?Yu:Ra}),c.id=u}parseAsyncFunctionExpression(c){return this.parseFunction(c,8)}parseFunction(c){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,u=o&2,h=!!(o&1),f=h&&!(o&4),d=!!(o&8);this.initFunction(c,d),this.match(55)&&(u&&this.raise(Qe.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),c.generator=!0),h&&(c.id=this.parseFunctionId(f));let y=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(va),this.prodParam.enter(de(d,c.generator)),h||(c.id=this.parseFunctionId()),this.parseFunctionParams(c,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(c,h?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),h&&!u&&this.registerFunctionStatementId(c),this.state.maybeInArrowParameters=y,c}parseFunctionId(c){return c||at(this.state.type)?this.parseIdentifier():null}parseFunctionParams(c,o){this.expect(10),this.expressionScope.enter(vh()),c.params=this.parseBindingList(11,41,2|(o?4:0)),this.expressionScope.exit()}registerFunctionStatementId(c){c.id&&this.scope.declareName(c.id.name,!this.options.annexB||this.state.strict||c.generator||c.async?this.scope.treatFunctionsAsVar?Yu:Ra:bc,c.id.loc.start)}parseClass(c,o,u){this.next();let h=this.state.strict;return this.state.strict=!0,this.parseClassId(c,o,u),this.parseClassSuper(c),c.body=this.parseClassBody(!!c.superClass,h),this.finishNode(c,o?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(c){return!c.computed&&!c.static&&(c.key.name==="constructor"||c.key.value==="constructor")}parseClassBody(c,o){this.classScope.enter();let u={hadConstructor:!1,hadSuperClass:c},h=[],f=this.startNode();if(f.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(h.length>0)throw this.raise(Qe.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){h.push(this.parseDecorator());continue}let d=this.startNode();h.length&&(d.decorators=h,this.resetStartLocationFromNode(d,h[0]),h=[]),this.parseClassMember(f,d,u),d.kind==="constructor"&&d.decorators&&d.decorators.length>0&&this.raise(Qe.DecoratorConstructor,{at:d})}}),this.state.strict=o,this.next(),h.length)throw this.raise(Qe.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(f,"ClassBody")}parseClassMemberFromModifier(c,o){let u=this.parseIdentifier(!0);if(this.isClassMethod()){let h=o;return h.kind="method",h.computed=!1,h.key=u,h.static=!1,this.pushClassMethod(c,h,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let h=o;return h.computed=!1,h.key=u,h.static=!1,c.body.push(this.parseClassProperty(h)),!0}return this.resetPreviousNodeTrailingComments(u),!1}parseClassMember(c,o,u){let h=this.isContextual(104);if(h){if(this.parseClassMemberFromModifier(c,o))return;if(this.eat(5)){this.parseClassStaticBlock(c,o);return}}this.parseClassMemberWithIsStatic(c,o,u,h)}parseClassMemberWithIsStatic(c,o,u,h){let f=o,d=o,y=o,D=o,O=o,x=f,v=f;if(o.static=h,this.parsePropertyNamePrefixOperator(o),this.eat(55)){x.kind="method";let T=this.match(136);if(this.parseClassElementName(x),T){this.pushClassPrivateMethod(c,d,!0,!1);return}this.isNonstaticConstructor(f)&&this.raise(Qe.ConstructorIsGenerator,{at:f.key}),this.pushClassMethod(c,f,!0,!1,!1,!1);return}let E=at(this.state.type)&&!this.state.containsEsc,F=this.match(136),k=this.parseClassElementName(o),I=this.state.startLoc;if(this.parsePostMemberNameModifiers(v),this.isClassMethod()){if(x.kind="method",F){this.pushClassPrivateMethod(c,d,!1,!1);return}let T=this.isNonstaticConstructor(f),_=!1;T&&(f.kind="constructor",u.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Qe.DuplicateConstructor,{at:k}),T&&this.hasPlugin("typescript")&&o.override&&this.raise(Qe.OverrideOnConstructor,{at:k}),u.hadConstructor=!0,_=u.hadSuperClass),this.pushClassMethod(c,f,!1,!1,T,_)}else if(this.isClassProperty())F?this.pushClassPrivateProperty(c,D):this.pushClassProperty(c,y);else if(E&&k.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(k);let T=this.eat(55);v.optional&&this.unexpected(I),x.kind="method";let _=this.match(136);this.parseClassElementName(x),this.parsePostMemberNameModifiers(v),_?this.pushClassPrivateMethod(c,d,T,!0):(this.isNonstaticConstructor(f)&&this.raise(Qe.ConstructorIsAsync,{at:f.key}),this.pushClassMethod(c,f,T,!0,!1,!1))}else if(E&&(k.name==="get"||k.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(k),x.kind=k.name;let T=this.match(136);this.parseClassElementName(f),T?this.pushClassPrivateMethod(c,d,!1,!1):(this.isNonstaticConstructor(f)&&this.raise(Qe.ConstructorIsAccessor,{at:f.key}),this.pushClassMethod(c,f,!1,!1,!1,!1)),this.checkGetterSetterParams(f)}else if(E&&k.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(k);let T=this.match(136);this.parseClassElementName(y),this.pushClassAccessorProperty(c,O,T)}else this.isLineTerminator()?F?this.pushClassPrivateProperty(c,D):this.pushClassProperty(c,y):this.unexpected()}parseClassElementName(c){let{type:o,value:u}=this.state;if((o===130||o===131)&&c.static&&u==="prototype"&&this.raise(Qe.StaticPrototype,{at:this.state.startLoc}),o===136){u==="constructor"&&this.raise(Qe.ConstructorClassPrivateField,{at:this.state.startLoc});let h=this.parsePrivateName();return c.key=h,h}return this.parsePropertyName(c)}parseClassStaticBlock(c,o){var u;this.scope.enter(Ma|zu|cu);let h=this.state.labels;this.state.labels=[],this.prodParam.enter(ee);let f=o.body=[];this.parseBlockOrModuleBlockBody(f,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=h,c.body.push(this.finishNode(o,"StaticBlock")),(u=o.decorators)!=null&&u.length&&this.raise(Qe.DecoratorStaticBlock,{at:o})}pushClassProperty(c,o){!o.computed&&(o.key.name==="constructor"||o.key.value==="constructor")&&this.raise(Qe.ConstructorClassField,{at:o.key}),c.body.push(this.parseClassProperty(o))}pushClassPrivateProperty(c,o){let u=this.parseClassPrivateProperty(o);c.body.push(u),this.classScope.declarePrivateName(this.getPrivateNameSV(u.key),Ju,u.key.loc.start)}pushClassAccessorProperty(c,o,u){if(!u&&!o.computed){let f=o.key;(f.name==="constructor"||f.value==="constructor")&&this.raise(Qe.ConstructorClassField,{at:f})}let h=this.parseClassAccessorProperty(o);c.body.push(h),u&&this.classScope.declarePrivateName(this.getPrivateNameSV(h.key),Ju,h.key.loc.start)}pushClassMethod(c,o,u,h,f,d){c.body.push(this.parseMethod(o,u,h,f,d,"ClassMethod",!0))}pushClassPrivateMethod(c,o,u,h){let f=this.parseMethod(o,u,h,!1,!1,"ClassPrivateMethod",!0);c.body.push(f);let d=f.kind==="get"?f.static?Cc:Sc:f.kind==="set"?f.static?Hu:Ul:Ju;this.declareClassPrivateMethodInScope(f,d)}declareClassPrivateMethodInScope(c,o){this.classScope.declarePrivateName(this.getPrivateNameSV(c.key),o,c.key.loc.start)}parsePostMemberNameModifiers(c){}parseClassPrivateProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassPrivateProperty")}parseClassProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassProperty")}parseClassAccessorProperty(c){return this.parseInitializer(c),this.semicolon(),this.finishNode(c,"ClassAccessorProperty")}parseInitializer(c){this.scope.enter(Ma|cu),this.expressionScope.enter(w()),this.prodParam.enter(ee),c.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(c,o,u){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:sp;if(at(this.state.type))c.id=this.parseIdentifier(),o&&this.declareNameFromIdentifier(c.id,h);else if(u||!o)c.id=null;else throw this.raise(Qe.MissingClassName,{at:this.state.startLoc})}parseClassSuper(c){c.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(c,o){let u=this.maybeParseExportDefaultSpecifier(c),h=!u||this.eat(12),f=h&&this.eatExportStar(c),d=f&&this.maybeParseExportNamespaceSpecifier(c),y=h&&(!d||this.eat(12)),D=u||f;if(f&&!d){if(u&&this.unexpected(),o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:c});return this.parseExportFrom(c,!0),this.finishNode(c,"ExportAllDeclaration")}let O=this.maybeParseExportNamedSpecifiers(c);u&&h&&!f&&!O&&this.unexpected(null,5),d&&y&&this.unexpected(null,97);let x;if(D||O){if(x=!1,o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:c});this.parseExportFrom(c,D)}else x=this.maybeParseExportDeclaration(c);if(D||O||x){var v;let E=c;if(this.checkExport(E,!0,!1,!!E.source),((v=E.declaration)==null?void 0:v.type)==="ClassDeclaration")this.maybeTakeDecorators(o,E.declaration,E);else if(o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:c});return this.finishNode(E,"ExportNamedDeclaration")}if(this.eat(65)){let E=c,F=this.parseExportDefaultExpression();if(E.declaration=F,F.type==="ClassDeclaration")this.maybeTakeDecorators(o,F,E);else if(o)throw this.raise(Qe.UnsupportedDecoratorExport,{at:c});return this.checkExport(E,!0,!0),this.finishNode(E,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(c){return this.eat(55)}maybeParseExportDefaultSpecifier(c){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let o=this.startNode();return o.exported=this.parseIdentifier(!0),c.specifiers=[this.finishNode(o,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(c){if(this.isContextual(93)){c.specifiers||(c.specifiers=[]);let o=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),o.exported=this.parseModuleExportName(),c.specifiers.push(this.finishNode(o,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(c){if(this.match(5)){c.specifiers||(c.specifiers=[]);let o=c.exportKind==="type";return c.specifiers.push(...this.parseExportSpecifiers(o)),c.source=null,c.declaration=null,this.hasPlugin("importAssertions")&&(c.assertions=[]),!0}return!1}maybeParseExportDeclaration(c){return this.shouldParseExportDeclaration()?(c.specifiers=[],c.source=null,this.hasPlugin("importAssertions")&&(c.assertions=[]),c.declaration=this.parseExportDeclaration(c),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let c=this.nextTokenStart();return!dh.test(this.input.slice(this.state.pos,c))&&this.isUnparsedContextual(c,"function")}parseExportDefaultExpression(){let c=this.startNode();if(this.match(68))return this.next(),this.parseFunction(c,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(c,13);if(this.match(80))return this.parseClass(c,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Qe.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(Qe.UnsupportedDefaultExport,{at:this.state.startLoc});let o=this.parseMaybeAssignAllowIn();return this.semicolon(),o}parseExportDeclaration(c){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:c}=this.state;if(at(c)){if(c===95&&!this.state.containsEsc||c===99)return!1;if((c===128||c===127)&&!this.state.containsEsc){let{type:h}=this.lookahead();if(at(h)&&h!==97||h===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let o=this.nextTokenStart(),u=this.isUnparsedContextual(o,"from");if(this.input.charCodeAt(o)===44||at(this.state.type)&&u)return!0;if(this.match(65)&&u){let h=this.input.charCodeAt(this.nextTokenStartSince(o+4));return h===34||h===39}return!1}parseExportFrom(c,o){if(this.eatContextual(97)){c.source=this.parseImportSource(),this.checkExport(c);let u=this.maybeParseImportAssertions();u&&(c.assertions=u,this.checkJSONModuleImport(c))}else o&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:c}=this.state;return c===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(Qe.DecoratorBeforeExport,{at:this.state.startLoc}),!0):c===74||c===75||c===68||c===80||this.isLet()||this.isAsyncFunction()}checkExport(c,o,u,h){if(o){if(u){if(this.checkDuplicateExports(c,"default"),this.hasPlugin("exportDefaultFrom")){var f;let d=c.declaration;d.type==="Identifier"&&d.name==="from"&&d.end-d.start===4&&!((f=d.extra)!=null&&f.parenthesized)&&this.raise(Qe.ExportDefaultFromAsIdentifier,{at:d})}}else if(c.specifiers&&c.specifiers.length)for(let d of c.specifiers){let{exported:y}=d,D=y.type==="Identifier"?y.name:y.value;if(this.checkDuplicateExports(d,D),!h&&d.local){let{local:O}=d;O.type!=="Identifier"?this.raise(Qe.ExportBindingIsString,{at:d,localName:O.value,exportName:D}):(this.checkReservedWord(O.name,O.loc.start,!0,!1),this.scope.checkLocalExport(O))}}else if(c.declaration){if(c.declaration.type==="FunctionDeclaration"||c.declaration.type==="ClassDeclaration"){let d=c.declaration.id;if(!d)throw new Error("Assertion failure");this.checkDuplicateExports(c,d.name)}else if(c.declaration.type==="VariableDeclaration")for(let d of c.declaration.declarations)this.checkDeclaration(d.id)}}}checkDeclaration(c){if(c.type==="Identifier")this.checkDuplicateExports(c,c.name);else if(c.type==="ObjectPattern")for(let o of c.properties)this.checkDeclaration(o);else if(c.type==="ArrayPattern")for(let o of c.elements)o&&this.checkDeclaration(o);else c.type==="ObjectProperty"?this.checkDeclaration(c.value):c.type==="RestElement"?this.checkDeclaration(c.argument):c.type==="AssignmentPattern"&&this.checkDeclaration(c.left)}checkDuplicateExports(c,o){this.exportedIdentifiers.has(o)&&(o==="default"?this.raise(Qe.DuplicateDefaultExport,{at:c}):this.raise(Qe.DuplicateExport,{at:c,exportName:o})),this.exportedIdentifiers.add(o)}parseExportSpecifiers(c){let o=[],u=!0;for(this.expect(5);!this.eat(8);){if(u)u=!1;else if(this.expect(12),this.eat(8))break;let h=this.isContextual(128),f=this.match(131),d=this.startNode();d.local=this.parseModuleExportName(),o.push(this.parseExportSpecifier(d,f,c,h))}return o}parseExportSpecifier(c,o,u,h){return this.eatContextual(93)?c.exported=this.parseModuleExportName():o?c.exported=we(c.local):c.exported||(c.exported=V(c.local)),this.finishNode(c,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let c=this.parseStringLiteral(this.state.value),o=c.value.match(a0);return o&&this.raise(Qe.ModuleExportNameHasLoneSurrogate,{at:c,surrogateCharCode:o[0].charCodeAt(0)}),c}return this.parseIdentifier(!0)}isJSONModuleImport(c){return c.assertions!=null?c.assertions.some(o=>{let{key:u,value:h}=o;return h.value==="json"&&(u.type==="Identifier"?u.name==="type":u.value==="type")}):!1}checkImportReflection(c){if(c.module){var o;(c.specifiers.length!==1||c.specifiers[0].type!=="ImportDefaultSpecifier")&&this.raise(Qe.ImportReflectionNotBinding,{at:c.specifiers[0].loc.start}),((o=c.assertions)==null?void 0:o.length)>0&&this.raise(Qe.ImportReflectionHasAssertion,{at:c.specifiers[0].loc.start})}}checkJSONModuleImport(c){if(this.isJSONModuleImport(c)&&c.type!=="ExportAllDeclaration"){let{specifiers:o}=c;if(o!=null){let u=o.find(h=>{let f;if(h.type==="ExportSpecifier"?f=h.local:h.type==="ImportSpecifier"&&(f=h.imported),f!==void 0)return f.type==="Identifier"?f.name!=="default":f.value!=="default"});u!==void 0&&this.raise(Qe.ImportJSONBindingNotDefault,{at:u.loc.start})}}}parseMaybeImportReflection(c){let o=!1;if(this.isContextual(125)){let u=this.lookahead(),h=u.type;at(h)?(h!==97||this.input.charCodeAt(this.nextTokenStartSince(u.end))===102)&&(o=!0):h!==12&&(o=!0)}o?(this.expectPlugin("importReflection"),this.next(),c.module=!0):this.hasPlugin("importReflection")&&(c.module=!1)}parseImport(c){if(c.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(c);let u=!this.maybeParseDefaultImportSpecifier(c)||this.eat(12),h=u&&this.maybeParseStarImportSpecifier(c);u&&!h&&this.parseNamedImportSpecifiers(c),this.expectContextual(97)}c.source=this.parseImportSource();let o=this.maybeParseImportAssertions();if(o)c.assertions=o;else{let u=this.maybeParseModuleAttributes();u&&(c.attributes=u)}return this.checkImportReflection(c),this.checkJSONModuleImport(c),this.semicolon(),this.finishNode(c,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(c){return at(this.state.type)}parseImportSpecifierLocal(c,o,u){o.local=this.parseIdentifier(),c.specifiers.push(this.finishImportSpecifier(o,u))}finishImportSpecifier(c,o){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ra;return this.checkLVal(c.local,{in:{type:o},binding:u}),this.finishNode(c,o)}parseAssertEntries(){let c=[],o=new Set;do{if(this.match(8))break;let u=this.startNode(),h=this.state.value;if(o.has(h)&&this.raise(Qe.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:h}),o.add(h),this.match(131)?u.key=this.parseStringLiteral(h):u.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(Qe.ModuleAttributeInvalidValue,{at:this.state.startLoc});u.value=this.parseStringLiteral(this.state.value),c.push(this.finishNode(u,"ImportAttribute"))}while(this.eat(12));return c}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;let c=[],o=new Set;do{let u=this.startNode();if(u.key=this.parseIdentifier(!0),u.key.name!=="type"&&this.raise(Qe.ModuleAttributeDifferentFromType,{at:u.key}),o.has(u.key.name)&&this.raise(Qe.ModuleAttributesWithDuplicateKeys,{at:u.key,key:u.key.name}),o.add(u.key.name),this.expect(14),!this.match(131))throw this.raise(Qe.ModuleAttributeInvalidValue,{at:this.state.startLoc});u.value=this.parseStringLiteral(this.state.value),this.finishNode(u,"ImportAttribute"),c.push(u)}while(this.eat(12));return c}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);let c=this.parseAssertEntries();return this.eat(8),c}maybeParseDefaultImportSpecifier(c){return this.shouldParseDefaultImport(c)?(this.parseImportSpecifierLocal(c,this.startNode(),"ImportDefaultSpecifier"),!0):!1}maybeParseStarImportSpecifier(c){if(this.match(55)){let o=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(c,o,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(c){let o=!0;for(this.expect(5);!this.eat(8);){if(o)o=!1;else{if(this.eat(14))throw this.raise(Qe.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let u=this.startNode(),h=this.match(131),f=this.isContextual(128);u.imported=this.parseModuleExportName();let d=this.parseImportSpecifier(u,h,c.importKind==="type"||c.importKind==="typeof",f,void 0);c.specifiers.push(d)}}parseImportSpecifier(c,o,u,h,f){if(this.eatContextual(93))c.local=this.parseIdentifier();else{let{imported:d}=c;if(o)throw this.raise(Qe.ImportBindingIsString,{at:c,importName:d.value});this.checkReservedWord(d.name,c.loc.start,!0,!0),c.local||(c.local=V(d))}return this.finishImportSpecifier(c,"ImportSpecifier",f)}isThisParam(c){return c.type==="Identifier"&&c.name==="this"}},Bd=class extends l0{constructor(c,o){c=Vr(c),super(c,o),this.options=c,this.initializeScopes(),this.plugins=c0(this.options.plugins),this.filename=c.sourceFilename}getScopeHandler(){return mu}parse(){this.enterInitialScopes();let c=this.startNode(),o=this.startNode();return this.nextToken(),c.errors=null,this.parseTopLevel(c,o),c.errors=this.state.errors,c}};function c0(c){let o=new Map;for(let u of c){let[h,f]=Array.isArray(u)?u:[u,{}];o.has(h)||o.set(h,f||{})}return o}function h0(c,o){var u;if(((u=o)==null?void 0:u.sourceType)==="unambiguous"){o=Object.assign({},o);try{o.sourceType="module";let h=Eh(o,c),f=h.parse();if(h.sawUnambiguousESM)return f;if(h.ambiguousScriptDifferentAst)try{return o.sourceType="script",Eh(o,c).parse()}catch{}else f.program.sourceType="script";return f}catch(h){try{return o.sourceType="script",Eh(o,c).parse()}catch{}throw h}}else return Eh(o,c).parse()}function p0(c,o){let u=Eh(o,c);return u.options.strictMode&&(u.state.strict=!0),u.getExpression()}function Pc(c){let o={};for(let u of Object.keys(c))o[u]=Er(c[u]);return o}var f0=Pc(ot);function Eh(c,o){let u=Bd;return c!=null&&c.plugins&&(No(c.plugins),u=d0(c.plugins)),new u(c,o)}var Nd={};function d0(c){let o=Us.filter(f=>qi(c,f)),u=o.join("/"),h=Nd[u];if(!h){h=Bd;for(let f of o)h=ks[f](h);Nd[u]=h}return h}bn.parse=h0,bn.parseExpression=p0,bn.tokTypes=f0}}),Fl=Ie({"src/language-js/parse/json.js"(bn,Ur){ae();var Vr=Al(),Ar=su(),mr=Tl(),Nr=$a();function rr(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{allowComments:Ti=!0}=kn;return function(Qr){let{parseExpression:Bi}=Bu(),Fs;try{Fs=Bi(Qr,{tokens:!0,ranges:!0})}catch(Xn){throw Nr(Xn)}if(!Ti&&Vr(Fs.comments))throw vn(Fs.comments[0],"Comment");return li(Fs),Fs}}function vn(kn,Ti){let[Qr,Bi]=[kn.loc.start,kn.loc.end].map(Fs=>{let{line:Xn,column:ki}=Fs;return{line:Xn,column:ki+1}});return Ar(`${Ti} is not allowed in JSON.`,{start:Qr,end:Bi})}function li(kn){switch(kn.type){case"ArrayExpression":for(let Ti of kn.elements)Ti!==null&&li(Ti);return;case"ObjectExpression":for(let Ti of kn.properties)li(Ti);return;case"ObjectProperty":if(kn.computed)throw vn(kn.key,"Computed key");if(kn.shorthand)throw vn(kn.key,"Shorthand property");kn.key.type!=="Identifier"&&li(kn.key),li(kn.value);return;case"UnaryExpression":{let{operator:Ti,argument:Qr}=kn;if(Ti!=="+"&&Ti!=="-")throw vn(kn,`Operator '${kn.operator}'`);if(Qr.type==="NumericLiteral"||Qr.type==="Identifier"&&(Qr.name==="Infinity"||Qr.name==="NaN"))return;throw vn(Qr,`Operator '${Ti}' before '${Qr.type}'`)}case"Identifier":if(kn.name!=="Infinity"&&kn.name!=="NaN"&&kn.name!=="undefined")throw vn(kn,`Identifier '${kn.name}'`);return;case"TemplateLiteral":if(Vr(kn.expressions))throw vn(kn.expressions[0],"'TemplateLiteral' with expression");for(let Ti of kn.quasis)li(Ti);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw vn(kn,`'${kn.type}'`)}}var vi=rr(),gi={json:mr({parse:vi,hasPragma(){return!0}}),json5:mr(vi),"json-stringify":mr({parse:rr({allowComments:!1}),astFormat:"estree-json"})};Ur.exports=gi}});ae();var uh=Ee(),fc=xe(),dc=Ct(),Oa=Tl(),Nu=$a(),xa=kl(),mc=Fl(),gc={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},lh=["recordAndTuple",{syntaxType:"hash"}],Iu="v8intrinsic",Mu=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],go=function(bn){let Ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gc;return Object.assign(Object.assign({},Ur),{},{plugins:[...Ur.plugins,...bn]})},Ko=/@(?:no)?flow\b/;function ea(bn,Ur){if(Ur.filepath&&Ur.filepath.endsWith(".js.flow"))return!0;let Vr=fc(bn);Vr&&(bn=bn.slice(Vr.length));let Ar=dc(bn,0);return Ar!==!1&&(bn=bn.slice(0,Ar)),Ko.test(bn)}function Qo(bn,Ur,Vr){let Ar=Bu()[bn],mr=Ar(Ur,Vr),Nr=mr.errors.find(rr=>!Qu.has(rr.reasonCode));if(Nr)throw Nr;return mr}function Fo(bn){for(var Ur=arguments.length,Vr=new Array(Ur>1?Ur-1:0),Ar=1;Ar<Ur;Ar++)Vr[Ar-1]=arguments[Ar];return function(mr,Nr){let rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if((rr.parser==="babel"||rr.parser==="__babel_estree")&&ea(mr,rr))return rr.parser="babel-flow",Ba(mr,Nr,rr);let vn=Vr;rr.__babelSourceType==="script"&&(vn=vn.map(kn=>Object.assign(Object.assign({},kn),{},{sourceType:"script"}))),/#[[{]/.test(mr)&&(vn=vn.map(kn=>go([lh],kn)));let li=/%[A-Z]/.test(mr);mr.includes("|>")?vn=(li?[...Mu,Iu]:Mu).flatMap(kn=>vn.map(Ti=>go([kn],Ti))):li&&(vn=vn.map(kn=>go([Iu],kn)));let{result:vi,error:gi}=uh(...vn.map(kn=>()=>Qo(bn,mr,kn)));if(!vi)throw Nu(gi);return rr.originalText=mr,xa(vi,rr)}}var fi=Fo("parse",go(["jsx","flow"])),Ba=Fo("parse",go(["jsx",["flow",{all:!0,enums:!0}]])),_l=Fo("parse",go(["jsx","typescript"]),go(["typescript"])),ou=Fo("parse",go(["jsx","flow","estree"])),Ru=Fo("parseExpression",go(["jsx"])),Na=Fo("parseExpression",go(["typescript"])),Qu=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),ju=Oa(fi),au=Oa(_l),Lu=Oa(Ru),$l=Oa(Na);xt.exports={parsers:Object.assign(Object.assign({babel:ju,"babel-flow":Oa(Ba),"babel-ts":au},mc),{},{__js_expression:Lu,__vue_expression:Lu,__vue_ts_expression:$l,__vue_event_binding:ju,__vue_ts_event_binding:au,__babel_estree:Oa(ou)})}});return mi()})})(kw);var h6=kw.exports;const p6=Qg(h6);function f6(r,e,t){const n={css:u6,html:c6,babel:p6};return as(()=>{if(!Oo(e))return Oo(r)||"/* empty */";try{return o6.format(Oo(r)||"",{parser:t,plugins:[n[t]],singleQuote:!0,semi:!1})}catch(i){return console.error(i),`/* Error on prettifying: ${i.message} */
|
||
${Oo(r)||""}`}})}function d6(r,e=!0){return f6(r,e,"css")}const m6=vo({__name:"Copy",setup(r){const{copy:e,copied:t}=J3();return(n,i)=>tc(n.$slots,"default",{copy:wi(e),copied:wi(t)})}}),g6=["top","right","bottom","left"],uv=["start","end"],lv=g6.reduce((r,e)=>r.concat(e,e+"-"+uv[0],e+"-"+uv[1]),[]),fd=Math.min,kh=Math.max,y6={left:"right",right:"left",bottom:"top",top:"bottom"},D6={start:"end",end:"start"};function OD(r,e,t){return kh(r,fd(e,t))}function ep(r,e){return typeof r=="function"?r(e):r}function Cl(r){return r.split("-")[0]}function Au(r){return r.split("-")[1]}function Fw(r){return r==="x"?"y":"x"}function RO(r){return r==="y"?"height":"width"}function $d(r){return["top","bottom"].includes(Cl(r))?"y":"x"}function QO(r){return Fw($d(r))}function _w(r,e,t){t===void 0&&(t=!1);const n=Au(r),i=QO(r),s=RO(i);let a=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=bg(a)),[a,bg(a)]}function O6(r){const e=bg(r);return[xg(r),e,xg(e)]}function xg(r){return r.replace(/start|end/g,e=>D6[e])}function x6(r,e,t){const n=["left","right"],i=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(r){case"top":case"bottom":return t?e?i:n:e?n:i;case"left":case"right":return e?s:a;default:return[]}}function b6(r,e,t,n){const i=Au(r);let s=x6(Cl(r),t==="start",n);return i&&(s=s.map(a=>a+"-"+i),e&&(s=s.concat(s.map(xg)))),s}function bg(r){return r.replace(/left|right|bottom|top/g,e=>y6[e])}function v6(r){return{top:0,right:0,bottom:0,left:0,...r}}function $w(r){return typeof r!="number"?v6(r):{top:r,right:r,bottom:r,left:r}}function Qf(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function cv(r,e,t){let{reference:n,floating:i}=r;const s=$d(e),a=QO(e),l=RO(a),p=Cl(e),m=s==="y",g=n.x+n.width/2-i.width/2,b=n.y+n.height/2-i.height/2,S=n[l]/2-i[l]/2;let $;switch(p){case"top":$={x:g,y:n.y-i.height};break;case"bottom":$={x:g,y:n.y+n.height};break;case"right":$={x:n.x+n.width,y:b};break;case"left":$={x:n.x-i.width,y:b};break;default:$={x:n.x,y:n.y}}switch(Au(e)){case"start":$[a]-=S*(t&&m?-1:1);break;case"end":$[a]+=S*(t&&m?-1:1);break}return $}const C6=async(r,e,t)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=t,l=s.filter(Boolean),p=await(a.isRTL==null?void 0:a.isRTL(e));let m=await a.getElementRects({reference:r,floating:e,strategy:i}),{x:g,y:b}=cv(m,n,p),S=n,$={},G=0;for(let be=0;be<l.length;be++){const{name:ke,fn:me}=l[be],{x:Ve,y:Dt,data:ht,reset:bt}=await me({x:g,y:b,initialPlacement:n,placement:S,strategy:i,middlewareData:$,rects:m,platform:a,elements:{reference:r,floating:e}});if(g=Ve??g,b=Dt??b,$={...$,[ke]:{...$[ke],...ht}},bt&&G<=50){G++,typeof bt=="object"&&(bt.placement&&(S=bt.placement),bt.rects&&(m=bt.rects===!0?await a.getElementRects({reference:r,floating:e,strategy:i}):bt.rects),{x:g,y:b}=cv(m,S,p)),be=-1;continue}}return{x:g,y:b,placement:S,strategy:i,middlewareData:$}};async function r0(r,e){var t;e===void 0&&(e={});const{x:n,y:i,platform:s,rects:a,elements:l,strategy:p}=r,{boundary:m="clippingAncestors",rootBoundary:g="viewport",elementContext:b="floating",altBoundary:S=!1,padding:$=0}=ep(e,r),G=$w($),ke=l[S?b==="floating"?"reference":"floating":b],me=Qf(await s.getClippingRect({element:(t=await(s.isElement==null?void 0:s.isElement(ke)))==null||t?ke:ke.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:m,rootBoundary:g,strategy:p})),Ve=b==="floating"?{...a.floating,x:n,y:i}:a.reference,Dt=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),ht=await(s.isElement==null?void 0:s.isElement(Dt))?await(s.getScale==null?void 0:s.getScale(Dt))||{x:1,y:1}:{x:1,y:1},bt=Qf(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Ve,offsetParent:Dt,strategy:p}):Ve);return{top:(me.top-bt.top+G.top)/ht.y,bottom:(bt.bottom-me.bottom+G.bottom)/ht.y,left:(me.left-bt.left+G.left)/ht.x,right:(bt.right-me.right+G.right)/ht.x}}const S6=r=>({name:"arrow",options:r,async fn(e){const{x:t,y:n,placement:i,rects:s,platform:a,elements:l}=e,{element:p,padding:m=0}=ep(r,e)||{};if(p==null)return{};const g=$w(m),b={x:t,y:n},S=QO(i),$=RO(S),G=await a.getDimensions(p),be=S==="y",ke=be?"top":"left",me=be?"bottom":"right",Ve=be?"clientHeight":"clientWidth",Dt=s.reference[$]+s.reference[S]-b[S]-s.floating[$],ht=b[S]-s.reference[S],bt=await(a.getOffsetParent==null?void 0:a.getOffsetParent(p));let Yt=bt?bt[Ve]:0;(!Yt||!await(a.isElement==null?void 0:a.isElement(bt)))&&(Yt=l.floating[Ve]||s.floating[$]);const ir=Dt/2-ht/2,qr=Yt/2-G[$]/2-1,yr=fd(g[ke],qr),kr=fd(g[me],qr),Zr=yr,zn=Yt-G[$]-kr,Gn=Yt/2-G[$]/2+ir,Ii=OD(Zr,Gn,zn),Sn=Au(i)!=null&&Gn!=Ii&&s.reference[$]/2-(Gn<Zr?yr:kr)-G[$]/2<0?Gn<Zr?Zr-Gn:zn-Gn:0;return{[S]:b[S]-Sn,data:{[S]:Ii,centerOffset:Gn-Ii+Sn}}}});function E6(r,e,t){return(r?[...t.filter(i=>Au(i)===r),...t.filter(i=>Au(i)!==r)]:t.filter(i=>Cl(i)===i)).filter(i=>r?Au(i)===r||(e?xg(i)!==i:!1):!0)}const w6=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var t,n,i;const{rects:s,middlewareData:a,placement:l,platform:p,elements:m}=e,{crossAxis:g=!1,alignment:b,allowedPlacements:S=lv,autoAlignment:$=!0,...G}=ep(r,e),be=b!==void 0||S===lv?E6(b||null,$,S):S,ke=await r0(e,G),me=((t=a.autoPlacement)==null?void 0:t.index)||0,Ve=be[me];if(Ve==null)return{};const Dt=_w(Ve,s,await(p.isRTL==null?void 0:p.isRTL(m.floating)));if(l!==Ve)return{reset:{placement:be[0]}};const ht=[ke[Cl(Ve)],ke[Dt[0]],ke[Dt[1]]],bt=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:Ve,overflows:ht}],Yt=be[me+1];if(Yt)return{data:{index:me+1,overflows:bt},reset:{placement:Yt}};const ir=bt.map(kr=>{const Zr=Au(kr.placement);return[kr.placement,Zr&&g?kr.overflows.slice(0,2).reduce((zn,Gn)=>zn+Gn,0):kr.overflows[0],kr.overflows]}).sort((kr,Zr)=>kr[1]-Zr[1]),yr=((i=ir.filter(kr=>kr[2].slice(0,Au(kr[0])?2:3).every(Zr=>Zr<=0))[0])==null?void 0:i[0])||ir[0][0];return yr!==l?{data:{index:me+1,overflows:bt},reset:{placement:yr}}:{}}}},A6=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var t;const{placement:n,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:p}=e,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:$="none",flipAlignment:G=!0,...be}=ep(r,e),ke=Cl(n),me=Cl(a)===a,Ve=await(l.isRTL==null?void 0:l.isRTL(p.floating)),Dt=b||(me||!G?[bg(a)]:O6(a));!b&&$!=="none"&&Dt.push(...b6(a,G,$,Ve));const ht=[a,...Dt],bt=await r0(e,be),Yt=[];let ir=((t=i.flip)==null?void 0:t.overflows)||[];if(m&&Yt.push(bt[ke]),g){const Zr=_w(n,s,Ve);Yt.push(bt[Zr[0]],bt[Zr[1]])}if(ir=[...ir,{placement:n,overflows:Yt}],!Yt.every(Zr=>Zr<=0)){var qr,yr;const Zr=(((qr=i.flip)==null?void 0:qr.index)||0)+1,zn=ht[Zr];if(zn)return{data:{index:Zr,overflows:ir},reset:{placement:zn}};let Gn=(yr=ir.filter(Ii=>Ii.overflows[0]<=0).sort((Ii,ii)=>Ii.overflows[1]-ii.overflows[1])[0])==null?void 0:yr.placement;if(!Gn)switch(S){case"bestFit":{var kr;const Ii=(kr=ir.map(ii=>[ii.placement,ii.overflows.filter(Sn=>Sn>0).reduce((Sn,Wn)=>Sn+Wn,0)]).sort((ii,Sn)=>ii[1]-Sn[1])[0])==null?void 0:kr[0];Ii&&(Gn=Ii);break}case"initialPlacement":Gn=a;break}if(n!==Gn)return{reset:{placement:Gn}}}return{}}}};async function T6(r,e){const{placement:t,platform:n,elements:i}=r,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Cl(t),l=Au(t),p=$d(t)==="y",m=["left","top"].includes(a)?-1:1,g=s&&p?-1:1,b=ep(e,r);let{mainAxis:S,crossAxis:$,alignmentAxis:G}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...b};return l&&typeof G=="number"&&($=l==="end"?G*-1:G),p?{x:$*g,y:S*m}:{x:S*m,y:$*g}}const P6=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){const{x:t,y:n}=e,i=await T6(e,r);return{x:t+i.x,y:n+i.y,data:i}}}},k6=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){const{x:t,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:ke=>{let{x:me,y:Ve}=ke;return{x:me,y:Ve}}},...p}=ep(r,e),m={x:t,y:n},g=await r0(e,p),b=$d(Cl(i)),S=Fw(b);let $=m[S],G=m[b];if(s){const ke=S==="y"?"top":"left",me=S==="y"?"bottom":"right",Ve=$+g[ke],Dt=$-g[me];$=OD(Ve,$,Dt)}if(a){const ke=b==="y"?"top":"left",me=b==="y"?"bottom":"right",Ve=G+g[ke],Dt=G-g[me];G=OD(Ve,G,Dt)}const be=l.fn({...e,[S]:$,[b]:G});return{...be,data:{x:be.x-t,y:be.y-n}}}}},F6=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(e){const{placement:t,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...l}=ep(r,e),p=await r0(e,l),m=Cl(t),g=Au(t),b=$d(t)==="y",{width:S,height:$}=n.floating;let G,be;m==="top"||m==="bottom"?(G=m,be=g===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(be=m,G=g==="end"?"top":"bottom");const ke=$-p[G],me=S-p[be],Ve=!e.middlewareData.shift;let Dt=ke,ht=me;if(b){const Yt=S-p.left-p.right;ht=g||Ve?fd(me,Yt):Yt}else{const Yt=$-p.top-p.bottom;Dt=g||Ve?fd(ke,Yt):Yt}if(Ve&&!g){const Yt=kh(p.left,0),ir=kh(p.right,0),qr=kh(p.top,0),yr=kh(p.bottom,0);b?ht=S-2*(Yt!==0||ir!==0?Yt+ir:kh(p.left,p.right)):Dt=$-2*(qr!==0||yr!==0?qr+yr:kh(p.top,p.bottom))}await a({...e,availableWidth:ht,availableHeight:Dt});const bt=await i.getDimensions(s.floating);return S!==bt.width||$!==bt.height?{reset:{rects:!0}}:{}}}};function eu(r){var e;return((e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Ol(r){return eu(r).getComputedStyle(r)}const hv=Math.min,jf=Math.max,vg=Math.round;function Bw(r){const e=Ol(r);let t=parseFloat(e.width),n=parseFloat(e.height);const i=r.offsetWidth,s=r.offsetHeight,a=vg(t)!==i||vg(n)!==s;return a&&(t=i,n=s),{width:t,height:n,fallback:a}}function sh(r){return Iw(r)?(r.nodeName||"").toLowerCase():""}let fm;function Nw(){if(fm)return fm;const r=navigator.userAgentData;return r&&Array.isArray(r.brands)?(fm=r.brands.map(e=>e.brand+"/"+e.version).join(" "),fm):navigator.userAgent}function xl(r){return r instanceof eu(r).HTMLElement}function Yc(r){return r instanceof eu(r).Element}function Iw(r){return r instanceof eu(r).Node}function pv(r){return typeof ShadowRoot>"u"?!1:r instanceof eu(r).ShadowRoot||r instanceof ShadowRoot}function n0(r){const{overflow:e,overflowX:t,overflowY:n,display:i}=Ol(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function _6(r){return["table","td","th"].includes(sh(r))}function xD(r){const e=/firefox/i.test(Nw()),t=Ol(r),n=t.backdropFilter||t.WebkitBackdropFilter;return t.transform!=="none"||t.perspective!=="none"||!!n&&n!=="none"||e&&t.willChange==="filter"||e&&!!t.filter&&t.filter!=="none"||["transform","perspective"].some(i=>t.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const s=t.contain;return s!=null&&s.includes(i)})}function Mw(){return!/^((?!chrome|android).)*safari/i.test(Nw())}function jO(r){return["html","body","#document"].includes(sh(r))}function Rw(r){return Yc(r)?r:r.contextElement}const Qw={x:1,y:1};function Vp(r){const e=Rw(r);if(!xl(e))return Qw;const t=e.getBoundingClientRect(),{width:n,height:i,fallback:s}=Bw(e);let a=(s?vg(t.width):t.width)/n,l=(s?vg(t.height):t.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function dd(r,e,t,n){var i,s;e===void 0&&(e=!1),t===void 0&&(t=!1);const a=r.getBoundingClientRect(),l=Rw(r);let p=Qw;e&&(n?Yc(n)&&(p=Vp(n)):p=Vp(r));const m=l?eu(l):window,g=!Mw()&&t;let b=(a.left+(g&&((i=m.visualViewport)==null?void 0:i.offsetLeft)||0))/p.x,S=(a.top+(g&&((s=m.visualViewport)==null?void 0:s.offsetTop)||0))/p.y,$=a.width/p.x,G=a.height/p.y;if(l){const be=eu(l),ke=n&&Yc(n)?eu(n):n;let me=be.frameElement;for(;me&&n&&ke!==be;){const Ve=Vp(me),Dt=me.getBoundingClientRect(),ht=getComputedStyle(me);Dt.x+=(me.clientLeft+parseFloat(ht.paddingLeft))*Ve.x,Dt.y+=(me.clientTop+parseFloat(ht.paddingTop))*Ve.y,b*=Ve.x,S*=Ve.y,$*=Ve.x,G*=Ve.y,b+=Dt.x,S+=Dt.y,me=eu(me).frameElement}}return{width:$,height:G,top:S,right:b+$,bottom:S+G,left:b,x:b,y:S}}function Gc(r){return((Iw(r)?r.ownerDocument:r.document)||window.document).documentElement}function i0(r){return Yc(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function jw(r){return dd(Gc(r)).left+i0(r).scrollLeft}function md(r){if(sh(r)==="html")return r;const e=r.assignedSlot||r.parentNode||pv(r)&&r.host||Gc(r);return pv(e)?e.host:e}function Lw(r){const e=md(r);return jO(e)?e.ownerDocument.body:xl(e)&&n0(e)?e:Lw(e)}function Cg(r,e){var t;e===void 0&&(e=[]);const n=Lw(r),i=n===((t=r.ownerDocument)==null?void 0:t.body),s=eu(n);return i?e.concat(s,s.visualViewport||[],n0(n)?n:[]):e.concat(n,Cg(n))}function fv(r,e,t){return e==="viewport"?Qf(function(n,i){const s=eu(n),a=Gc(n),l=s.visualViewport;let p=a.clientWidth,m=a.clientHeight,g=0,b=0;if(l){p=l.width,m=l.height;const S=Mw();(S||!S&&i==="fixed")&&(g=l.offsetLeft,b=l.offsetTop)}return{width:p,height:m,x:g,y:b}}(r,t)):Yc(e)?Qf(function(n,i){const s=dd(n,!0,i==="fixed"),a=s.top+n.clientTop,l=s.left+n.clientLeft,p=xl(n)?Vp(n):{x:1,y:1};return{width:n.clientWidth*p.x,height:n.clientHeight*p.y,x:l*p.x,y:a*p.y}}(e,t)):Qf(function(n){const i=Gc(n),s=i0(n),a=n.ownerDocument.body,l=jf(i.scrollWidth,i.clientWidth,a.scrollWidth,a.clientWidth),p=jf(i.scrollHeight,i.clientHeight,a.scrollHeight,a.clientHeight);let m=-s.scrollLeft+jw(n);const g=-s.scrollTop;return Ol(a).direction==="rtl"&&(m+=jf(i.clientWidth,a.clientWidth)-l),{width:l,height:p,x:m,y:g}}(Gc(r)))}function dv(r){return xl(r)&&Ol(r).position!=="fixed"?r.offsetParent:null}function mv(r){const e=eu(r);let t=dv(r);for(;t&&_6(t)&&Ol(t).position==="static";)t=dv(t);return t&&(sh(t)==="html"||sh(t)==="body"&&Ol(t).position==="static"&&!xD(t))?e:t||function(n){let i=md(n);for(;xl(i)&&!jO(i);){if(xD(i))return i;i=md(i)}return null}(r)||e}function $6(r,e,t){const n=xl(e),i=Gc(e),s=dd(r,!0,t==="fixed",e);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(n||!n&&t!=="fixed")if((sh(e)!=="body"||n0(i))&&(a=i0(e)),xl(e)){const p=dd(e,!0);l.x=p.x+e.clientLeft,l.y=p.y+e.clientTop}else i&&(l.x=jw(i));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}const B6={getClippingRect:function(r){let{element:e,boundary:t,rootBoundary:n,strategy:i}=r;const s=t==="clippingAncestors"?function(m,g){const b=g.get(m);if(b)return b;let S=Cg(m).filter(ke=>Yc(ke)&&sh(ke)!=="body"),$=null;const G=Ol(m).position==="fixed";let be=G?md(m):m;for(;Yc(be)&&!jO(be);){const ke=Ol(be),me=xD(be);(G?me||$:me||ke.position!=="static"||!$||!["absolute","fixed"].includes($.position))?$=ke:S=S.filter(Ve=>Ve!==be),be=md(be)}return g.set(m,S),S}(e,this._c):[].concat(t),a=[...s,n],l=a[0],p=a.reduce((m,g)=>{const b=fv(e,g,i);return m.top=jf(b.top,m.top),m.right=hv(b.right,m.right),m.bottom=hv(b.bottom,m.bottom),m.left=jf(b.left,m.left),m},fv(e,l,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(r){let{rect:e,offsetParent:t,strategy:n}=r;const i=xl(t),s=Gc(t);if(t===s)return e;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const p={x:0,y:0};if((i||!i&&n!=="fixed")&&((sh(t)!=="body"||n0(s))&&(a=i0(t)),xl(t))){const m=dd(t);l=Vp(t),p.x=m.x+t.clientLeft,p.y=m.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+p.x,y:e.y*l.y-a.scrollTop*l.y+p.y}},isElement:Yc,getDimensions:function(r){return xl(r)?Bw(r):r.getBoundingClientRect()},getOffsetParent:mv,getDocumentElement:Gc,getScale:Vp,async getElementRects(r){let{reference:e,floating:t,strategy:n}=r;const i=this.getOffsetParent||mv,s=this.getDimensions;return{reference:$6(e,await i(t),n),floating:{x:0,y:0,...await s(t)}}},getClientRects:r=>Array.from(r.getClientRects()),isRTL:r=>Ol(r).direction==="rtl"},N6=(r,e,t)=>{const n=new Map,i={platform:B6,...t},s={...i.platform,_c:n};return C6(r,e,{...i,platform:s})},Lh={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:r=>[...r,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function bD(r,e){let t=Lh.themes[r]||{},n;do n=t[e],typeof n>"u"?t.$extend?t=Lh.themes[t.$extend]||{}:(t=null,n=Lh[e]):t=null;while(t);return n}function I6(r){const e=[r];let t=Lh.themes[r]||{};do t.$extend&&!t.$resetCss?(e.push(t.$extend),t=Lh.themes[t.$extend]||{}):t=null;while(t);return e.map(n=>`v-popper--theme-${n}`)}function gv(r){const e=[r];let t=Lh.themes[r]||{};do t.$extend?(e.push(t.$extend),t=Lh.themes[t.$extend]||{}):t=null;while(t);return e}let Kp=!1;if(typeof window<"u"){Kp=!1;try{const r=Object.defineProperty({},"passive",{get(){Kp=!0}});window.addEventListener("test",null,r)}catch{}}let Xw=!1;typeof window<"u"&&typeof navigator<"u"&&(Xw=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const M6=["auto","top","bottom","left","right"].reduce((r,e)=>r.concat([e,`${e}-start`,`${e}-end`]),[]),yv={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Dv={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ov(r,e){const t=r.indexOf(e);t!==-1&&r.splice(t,1)}function sy(){return new Promise(r=>requestAnimationFrame(()=>{requestAnimationFrame(r)}))}const bu=[];let Ph=null;const xv={};function bv(r){let e=xv[r];return e||(e=xv[r]=[]),e}let vD=function(){};typeof window<"u"&&(vD=window.Element);function fs(r){return function(e){return bD(e.theme,r)}}const oy="__floating-vue__popper",Vw=()=>vo({name:"VPopper",provide(){return{[oy]:{parentPopper:this}}},inject:{[oy]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:fs("disabled")},positioningDisabled:{type:Boolean,default:fs("positioningDisabled")},placement:{type:String,default:fs("placement"),validator:r=>M6.includes(r)},delay:{type:[String,Number,Object],default:fs("delay")},distance:{type:[Number,String],default:fs("distance")},skidding:{type:[Number,String],default:fs("skidding")},triggers:{type:Array,default:fs("triggers")},showTriggers:{type:[Array,Function],default:fs("showTriggers")},hideTriggers:{type:[Array,Function],default:fs("hideTriggers")},popperTriggers:{type:Array,default:fs("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:fs("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:fs("popperHideTriggers")},container:{type:[String,Object,vD,Boolean],default:fs("container")},boundary:{type:[String,vD],default:fs("boundary")},strategy:{type:String,validator:r=>["absolute","fixed"].includes(r),default:fs("strategy")},autoHide:{type:[Boolean,Function],default:fs("autoHide")},handleResize:{type:Boolean,default:fs("handleResize")},instantMove:{type:Boolean,default:fs("instantMove")},eagerMount:{type:Boolean,default:fs("eagerMount")},popperClass:{type:[String,Array,Object],default:fs("popperClass")},computeTransformOrigin:{type:Boolean,default:fs("computeTransformOrigin")},autoMinSize:{type:Boolean,default:fs("autoMinSize")},autoSize:{type:[Boolean,String],default:fs("autoSize")},autoMaxSize:{type:Boolean,default:fs("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:fs("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:fs("preventOverflow")},overflowPadding:{type:[Number,String],default:fs("overflowPadding")},arrowPadding:{type:[Number,String],default:fs("arrowPadding")},arrowOverflow:{type:Boolean,default:fs("arrowOverflow")},flip:{type:Boolean,default:fs("flip")},shift:{type:Boolean,default:fs("shift")},shiftCrossAxis:{type:Boolean,default:fs("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:fs("noAutoFocus")},disposeTimeout:{type:Number,default:fs("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var r;return(r=this[oy])==null?void 0:r.parentPopper},hasPopperShowTriggerHover(){var r,e;return((r=this.popperTriggers)==null?void 0:r.includes("hover"))||((e=this.popperShowTriggers)==null?void 0:e.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(r){r?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((r,e)=>(r[e]="$_refreshListeners",r),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((r,e)=>(r[e]="$_computePosition",r),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(r=>r.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:r=null,skipDelay:e=!1,force:t=!1}={}){var n,i;(n=this.parentPopper)!=null&&n.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(t||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(r,e),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:r=null,skipDelay:e=!1}={}){var t;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:e}),this.parentPopper.lockedChild=null)},1e3));return}((t=this.parentPopper)==null?void 0:t.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(r,e),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var r;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((r=this.referenceNode)==null?void 0:r.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(e=>e.nodeType===e.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const r={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&r.middleware.push(P6({mainAxis:this.distance,crossAxis:this.skidding}));const e=this.placement.startsWith("auto");if(e?r.middleware.push(w6({alignment:this.placement.split("-")[1]??""})):r.placement=this.placement,this.preventOverflow&&(this.shift&&r.middleware.push(k6({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!e&&this.flip&&r.middleware.push(A6({padding:this.overflowPadding,boundary:this.boundary}))),r.middleware.push(S6({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&r.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:i,middlewareData:s})=>{let a;const{centerOffset:l}=s.arrow;return n.startsWith("top")||n.startsWith("bottom")?a=Math.abs(l)>i.reference.width/2:a=Math.abs(l)>i.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;r.middleware.push({name:"autoSize",fn:({rects:i,placement:s,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let p,m;return s.startsWith("top")||s.startsWith("bottom")?p=i.reference.width:m=i.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=p!=null?`${p}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=m!=null?`${m}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,r.middleware.push(F6({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:n,availableHeight:i})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const t=await N6(this.$_referenceNode,this.$_popperNode,r);Object.assign(this.result,{x:t.x,y:t.y,placement:t.placement,strategy:t.strategy,arrow:{...t.middlewareData.arrow,...t.middlewareData.arrowOverflow}})},$_scheduleShow(r=null,e=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ph&&this.instantMove&&Ph.instantMove&&Ph!==this.parentPopper){Ph.$_applyHide(!0),this.$_applyShow(!0);return}e?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(r=null,e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ph=this),e?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(r){const e=this.delay;return parseInt(e&&e[r]||e||0)},async $_applyShow(r=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=r,!this.isShown&&(this.$_ensureTeleport(),await sy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Cg(this.$_referenceNode),...Cg(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const e=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(".v-popper__wrapper"),n=t.parentNode.getBoundingClientRect(),i=e.x+e.width/2-(n.left+t.offsetLeft),s=e.y+e.height/2-(n.top+t.offsetTop);this.result.transformOrigin=`${i}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const r=this.showGroup;if(r){let e;for(let t=0;t<bu.length;t++)e=bu[t],e.showGroup!==r&&(e.hide(),e.$emit("close-group"))}bu.push(this),document.body.classList.add("v-popper--some-open");for(const e of gv(this.theme))bv(e).push(this),document.body.classList.add(`v-popper--some-open--${e}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await sy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=r,Ov(bu,this),bu.length===0&&document.body.classList.remove("v-popper--some-open");for(const t of gv(this.theme)){const n=bv(t);Ov(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${t}`)}Ph===this&&(Ph=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const e=this.disposeTimeout;e!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},e)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await sy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let r=this.container;if(typeof r=="string"?r=window.document.querySelector(r):r===!1&&(r=this.$_targetNodes[0].parentNode),!r)throw new Error("No container for popover: "+this.container);r.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const r=t=>{this.isShown&&!this.$_hideInProgress||(t.usedByTooltip=!0,!this.$_preventShow&&this.show({event:t}))};this.$_registerTriggerListeners(this.$_targetNodes,yv,this.triggers,this.showTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],yv,this.popperTriggers,this.popperShowTriggers,r);const e=t=>{t.usedByTooltip||this.hide({event:t})};this.$_registerTriggerListeners(this.$_targetNodes,Dv,this.triggers,this.hideTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Dv,this.popperTriggers,this.popperHideTriggers,e)},$_registerEventListeners(r,e,t){this.$_events.push({targetNodes:r,eventType:e,handler:t}),r.forEach(n=>n.addEventListener(e,t,Kp?{passive:!0}:void 0))},$_registerTriggerListeners(r,e,t,n,i){let s=t;n!=null&&(s=typeof n=="function"?n(s):n),s.forEach(a=>{const l=e[a];l&&this.$_registerEventListeners(r,l,i)})},$_removeEventListeners(r){const e=[];this.$_events.forEach(t=>{const{targetNodes:n,eventType:i,handler:s}=t;!r||r===i?n.forEach(a=>a.removeEventListener(i,s)):e.push(t)}),this.$_events=e},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(r,e=!1){this.$_showFrameLocked||(this.hide({event:r}),r.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),e&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(r,e){for(const t of this.$_targetNodes){const n=t.getAttribute(r);n&&(t.removeAttribute(r),t.setAttribute(e,n))}},$_applyAttrsToTarget(r){for(const e of this.$_targetNodes)for(const t in r){const n=r[t];n==null?e.removeAttribute(t):e.setAttribute(t,n)}},$_updateParentShownChildren(r){let e=this.parentPopper;for(;e;)r?e.shownChildren.add(this.randomId):(e.shownChildren.delete(this.randomId),e.$_pendingHide&&e.hide()),e=e.parentPopper},$_isAimingPopper(){const r=this.$_referenceNode.getBoundingClientRect();if(Lf>=r.left&&Lf<=r.right&&Xf>=r.top&&Xf<=r.bottom){const e=this.$_popperNode.getBoundingClientRect(),t=Lf-Bc,n=Xf-Nc,i=e.left+e.width/2-Bc+(e.top+e.height/2)-Nc+e.width+e.height,s=Bc+t*i,a=Nc+n*i;return dm(Bc,Nc,s,a,e.left,e.top,e.left,e.bottom)||dm(Bc,Nc,s,a,e.left,e.top,e.right,e.top)||dm(Bc,Nc,s,a,e.right,e.top,e.right,e.bottom)||dm(Bc,Nc,s,a,e.left,e.bottom,e.right,e.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Xw?(document.addEventListener("touchstart",vv,Kp?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Q6,Kp?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",vv,!0),window.addEventListener("click",R6,!0)),window.addEventListener("resize",X6));function vv(r){for(let e=0;e<bu.length;e++){const t=bu[e];try{const n=t.popperNode();t.$_mouseDownContains=n.contains(r.target)}catch{}}}function R6(r){Uw(r)}function Q6(r){Uw(r,!0)}function Uw(r,e=!1){const t={};for(let n=bu.length-1;n>=0;n--){const i=bu[n];try{const s=i.$_containsGlobalTarget=j6(i,r);i.$_pendingHide=!1,requestAnimationFrame(()=>{if(i.$_pendingHide=!1,!t[i.randomId]&&Cv(i,s,r)){if(i.$_handleGlobalClose(r,e),!r.closeAllPopover&&r.closePopover&&s){let l=i.parentPopper;for(;l;)t[l.randomId]=!0,l=l.parentPopper;return}let a=i.parentPopper;for(;a&&Cv(a,a.$_containsGlobalTarget,r);)a.$_handleGlobalClose(r,e),a=a.parentPopper}})}catch{}}}function j6(r,e){const t=r.popperNode();return r.$_mouseDownContains||t.contains(e.target)}function Cv(r,e,t){return t.closeAllPopover||t.closePopover&&e||L6(r,t)&&!e}function L6(r,e){if(typeof r.autoHide=="function"){const t=r.autoHide(e);return r.lastAutoHide=t,t}return r.autoHide}function X6(r){for(let e=0;e<bu.length;e++)bu[e].$_computePosition(r)}let Bc=0,Nc=0,Lf=0,Xf=0;typeof window<"u"&&window.addEventListener("mousemove",r=>{Bc=Lf,Nc=Xf,Lf=r.clientX,Xf=r.clientY},Kp?{passive:!0}:void 0);function dm(r,e,t,n,i,s,a,l){const p=((a-i)*(e-s)-(l-s)*(r-i))/((l-s)*(t-r)-(a-i)*(n-e)),m=((t-r)*(e-s)-(n-e)*(r-i))/((l-s)*(t-r)-(a-i)*(n-e));return p>=0&&p<=1&&m>=0&&m<=1}const V6={extends:Vw()},LO=(r,e)=>{const t=r.__vccOpts||r;for(const[n,i]of e)t[n]=i;return t};function U6(r,e,t,n,i,s){return bi(),ns("div",{ref:"reference",class:Fa(["v-popper",{"v-popper--shown":r.slotData.isShown}])},[tc(r.$slots,"default",OA(_C(r.slotData)))],2)}const q6=LO(V6,[["render",U6]]);function z6(){var r=window.navigator.userAgent,e=r.indexOf("MSIE ");if(e>0)return parseInt(r.substring(e+5,r.indexOf(".",e)),10);var t=r.indexOf("Trident/");if(t>0){var n=r.indexOf("rv:");return parseInt(r.substring(n+3,r.indexOf(".",n)),10)}var i=r.indexOf("Edge/");return i>0?parseInt(r.substring(i+5,r.indexOf(".",i)),10):-1}let Bm;function CD(){CD.init||(CD.init=!0,Bm=z6()!==-1)}var s0={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){CD(),Hh(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const r=document.createElement("object");this._resizeObject=r,r.setAttribute("aria-hidden","true"),r.setAttribute("tabindex",-1),r.onload=this.addResizeHandlers,r.type="text/html",Bm&&this.$el.appendChild(r),r.data="about:blank",Bm||this.$el.appendChild(r)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Bm&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const W6=hT();lT("data-v-b329ee4c");const Z6={class:"resize-observer",tabindex:"-1"};cT();const Y6=W6((r,e,t,n,i,s)=>(bi(),Zo("div",Z6)));s0.render=Y6;s0.__scopeId="data-v-b329ee4c";s0.__file="src/components/ResizeObserver.vue";const qw=(r="theme")=>({computed:{themeClass(){return I6(this[r])}}}),G6=vo({name:"VPopperContent",components:{ResizeObserver:s0},mixins:[qw()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(r){return r!=null&&!isNaN(r)?`${r}px`:null}}}),H6=["id","aria-hidden","tabindex","data-popper-placement"],J6={ref:"inner",class:"v-popper__inner"},K6=sn("div",{class:"v-popper__arrow-outer"},null,-1),e9=sn("div",{class:"v-popper__arrow-inner"},null,-1),t9=[K6,e9];function r9(r,e,t,n,i,s){const a=Vh("ResizeObserver");return bi(),ns("div",{id:r.popperId,ref:"popover",class:Fa(["v-popper__popper",[r.themeClass,r.classes.popperClass,{"v-popper__popper--shown":r.shown,"v-popper__popper--hidden":!r.shown,"v-popper__popper--show-from":r.classes.showFrom,"v-popper__popper--show-to":r.classes.showTo,"v-popper__popper--hide-from":r.classes.hideFrom,"v-popper__popper--hide-to":r.classes.hideTo,"v-popper__popper--skip-transition":r.skipTransition,"v-popper__popper--arrow-overflow":r.result&&r.result.arrow.overflow,"v-popper__popper--no-positioning":!r.result}]]),style:ml(r.result?{position:r.result.strategy,transform:`translate3d(${Math.round(r.result.x)}px,${Math.round(r.result.y)}px,0)`}:void 0),"aria-hidden":r.shown?"false":"true",tabindex:r.autoHide?0:void 0,"data-popper-placement":r.result?r.result.placement:void 0,onKeyup:e[2]||(e[2]=$P(l=>r.autoHide&&r.$emit("hide"),["esc"]))},[sn("div",{class:"v-popper__backdrop",onClick:e[0]||(e[0]=l=>r.autoHide&&r.$emit("hide"))}),sn("div",{class:"v-popper__wrapper",style:ml(r.result?{transformOrigin:r.result.transformOrigin}:void 0)},[sn("div",J6,[r.mounted?(bi(),ns(ho,{key:0},[sn("div",null,[tc(r.$slots,"default")]),r.handleResize?(bi(),Zo(a,{key:0,onNotify:e[1]||(e[1]=l=>r.$emit("resize",l))})):Eu("",!0)],64)):Eu("",!0)],512),sn("div",{ref:"arrow",class:"v-popper__arrow-container",style:ml(r.result?{left:r.toPx(r.result.arrow.x),top:r.toPx(r.result.arrow.y)}:void 0)},t9,4)],4)],46,H6)}const zw=LO(G6,[["render",r9]]),Ww={methods:{show(...r){return this.$refs.popper.show(...r)},hide(...r){return this.$refs.popper.hide(...r)},dispose(...r){return this.$refs.popper.dispose(...r)},onResize(...r){return this.$refs.popper.onResize(...r)}}},n9=vo({name:"VPopperWrapper",components:{Popper:q6,PopperContent:zw},mixins:[Ww,qw("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(r=>r!==this.$refs.popperContent.$el)}}});function i9(r,e,t,n,i,s){const a=Vh("PopperContent"),l=Vh("Popper");return bi(),Zo(l,{ref:"popper",theme:r.finalTheme,"target-nodes":r.getTargetNodes,"popper-node":()=>r.$refs.popperContent.$el,class:Fa([r.themeClass])},{default:fa(({popperId:p,isShown:m,shouldMountContent:g,skipTransition:b,autoHide:S,show:$,hide:G,handleResize:be,onResize:ke,classes:me,result:Ve})=>[tc(r.$slots,"default",{shown:m,show:$,hide:G}),bs(a,{ref:"popperContent","popper-id":p,theme:r.finalTheme,shown:m,mounted:g,"skip-transition":b,"auto-hide":S,"handle-resize":be,classes:me,result:Ve,onHide:G,onResize:ke},{default:fa(()=>[tc(r.$slots,"popper",{shown:m,hide:G})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const XO=LO(n9,[["render",i9]]),s9={...XO,name:"VDropdown",vPopperTheme:"dropdown"};({...XO});({...XO});Vw();const o9=s9,a9={"font-mono":"","text-sm":"","cursor-pointer":"",border:"b transparent hover:current",op:"50 hover:100"},u9={"text-sm":"","of-ellipsis":""},l9={"text-xs":"","ml-0.5":"",op30:""},c9={"space-x-4":"",px4:"",py3:""},h9=["onClick"],p9=["href"],f9=sn("div",{"i-carbon-notebook":""},null,-1),d9={border:"t gray-400/20","max-h-60":"","of-auto":"",px4:"",py3:"","text-sm":""},m9=sn("span",{op50:""},"It has been referenced ",-1),g9=sn("span",{op50:""}," times by:",-1),y9={flex:"~ col gap-2","items-start":"",pt3:""},D9=["onClick"],O9=sn("div",{"i-carbon-launch":""},null,-1),x9=vo({__name:"AnalyzerItem",props:{item:{}},setup(r){const e=r,t=as(()=>MC(e.item.name)),n=as(()=>t.value?`[${e.item.name.slice(1,-1).replace(/=""$/,"").replace(/~="/,'="')}]`:e.item.name);function i(s){fetch(`/__open-in-editor?file=${encodeURIComponent(s)}`)}return(s,a)=>{const l=m6,p=ww;return bi(),Zo(wi(o9),{distance:10},{popper:fa(()=>[sn("div",c9,[bs(l,null,{default:fa(({copy:m,copied:g})=>[sn("button",{class:Fa(g?"text-green":"text-dark:50 hover:text-dark dark:text-white:50 dark:hover:text-white"),"text-sm":"",onClick:b=>m(s.item.name)},[sn("div",{class:Fa(g?"i-carbon-checkmark-outline":"i-carbon-copy")},null,2),pa(" "+Gs(g?"Copied":"Copy"),1)],10,h9)]),_:1}),s.item?(bi(),ns("a",{key:0,href:`https://unocss.dev/interactive/?s=${s.item.name}`,target:"_blank","text-sm":"","text-dark:50":"","hover:text-dark":"","dark:text-white:50":"","dark:hover:text-white":""},[f9,pa(" Docs ")],8,p9)):Eu("",!0)]),sn("div",d9,[sn("div",null,[m9,sn("strong",null,Gs(s.item.count),1),g9]),sn("div",y9,[(bi(!0),ns(ho,null,Lc(s.item.modules,m=>(bi(),ns("a",{key:m,"text-sm":"","cursor-pointer":"",op80:"","hover:op100":"",onClick:g=>i(m)},[bs(p,{id:m,"mr-1":""},null,8,["id"]),O9],8,D9))),128))])])]),default:fa(()=>[sn("span",a9,[sn("span",u9,Gs(n.value),1)]),sn("sup",l9,Gs(s.item.count),1)]),_:1})}}}),b9={"p-4":"","space-y-8":""},v9={key:0},C9=sn("div",{"mb-4":"",op50:"",uppercase:"","text-sm":""}," Top 10 Utilities ",-1),S9={"p-4":"","bg-active":""},E9={flex:"~ wrap",gap:"x-2 y-2"},w9={key:1},A9={uppercase:"","text-sm":"","mb-4":"",op50:""},T9={op50:"","text-sm":""},P9={flex:"","flex-wrap":"","gap-2":""},k9={"p-2":"","w-25":"","inline-block":"","of-hidden":"","bg-active":""},F9={"font-mono":"","text-sm":"",op50:"","ws-nowrap":"","of-ellipsis":"","of-hidden":""},_9=sn("div",{"mb-4":"",op50:"",uppercase:"","text-sm":""}," Utilities Usage ",-1),$9={key:0,grid:"~ cols-1 md:cols-2 gap-4"},B9={"text-sm":"","pb-4":""},N9={capitalize:""},I9={op50:"","ml-1":""},M9={flex:"","flex-wrap":"","gap-x-2":"","gap-y-2":""},R9={key:1,op50:""},Q9=vo({__name:"Analyzer",props:{selectors:{},colors:{}},setup(r){const e=r,t=as(()=>[...e.selectors].sort((s,a)=>a.count-s.count)),n=as(()=>(e.colors||[]).map(s=>({...s,name:s.no==="DEFAULT"?`${s.name}`:`${s.name}-${s.no}`})).sort((s,a)=>a.count-s.count)),i=as(()=>t.value.reduce((s,a)=>{const l=a.category,p=s.find(m=>m.name===l);return p?(p.items.push(a),p.count+=a.count):s.push({name:l,count:a.count,items:[a]}),s},[]).sort((s,a)=>a.count-s.count));return(s,a)=>{const l=x9;return bi(),ns("div",b9,[t.value.length>10?(bi(),ns("div",v9,[C9,sn("div",S9,[sn("div",E9,[(bi(!0),ns(ho,null,Lc(t.value.slice(0,10),(p,m)=>(bi(),Zo(l,{key:m,item:p},null,8,["item"]))),128))])])])):Eu("",!0),n.value.length?(bi(),ns("div",w9,[sn("div",A9,[pa(" Color Palette "),sn("sup",T9,Gs(n.value.length),1)]),sn("div",P9,[(bi(!0),ns(ho,null,Lc(n.value,(p,m)=>(bi(),ns("span",{key:m},[sn("div",k9,[bs(l,{item:p},null,8,["item"]),sn("div",F9,Gs(p.color),1),sn("div",{"h-10":"","mt-1":"",style:ml({background:p.color})},null,4)])]))),128))])])):Eu("",!0),sn("div",null,[_9,i.value.length?(bi(),ns("div",$9,[(bi(!0),ns(ho,null,Lc(i.value,(p,m)=>(bi(),ns("div",{key:m,"p-4":"","bg-active":""},[sn("div",B9,[sn("span",N9,Gs(p.name),1),sn("sup",I9,Gs(p.count),1)]),sn("div",M9,[(bi(!0),ns(ho,null,Lc(p.items,(g,b)=>(bi(),Zo(l,{key:b,item:g},null,8,["item"]))),128))])]))),128))])):(bi(),ns("div",R9," No utilities found. "))])])}}}),j9={"h-full":"",flex:"","flex-col":""},L9={p:"4",grid:"~ cols-4 gap-4"},X9=sn("div",{op80:""}," Presets ",-1),V9={op50:"","ws-pre":""},U9={overflow:"auto"},q9=sn("div",{op80:""}," Rules ",-1),z9=sn("span",{op50:""},"dynamic",-1),W9=sn("br",null,null,-1),Z9=sn("span",{op50:""},"static",-1),Y9=sn("div",{op80:""}," Variants ",-1),G9=sn("div",{op80:""}," Shortcuts ",-1),H9={key:0},J9=sn("div",{op80:""}," Config File ",-1),K9=sn("div",{op80:""}," Version ",-1),e4={op50:"","ws-pre":""},t4={border:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},r4=sn("div",{op80:""}," Included Files ",-1),n4=sn("div",{op80:""}," CSS Size ",-1),i4=sn("span",{op50:""},"gzipped",-1),s4=sn("div",{op80:""}," Matched Rules ",-1),o4=sn("div",{op80:""}," Layers ",-1),a4={op50:"","ws-pre":""},u4=vo({__name:"Overview",setup(r){const e=Zs(null),t=i6(e,"overview-scrolls");MO.execute();const n=Zs(!1),i=Zs("source"),s=d6(as(()=>{var a;return(a=Sp.value)==null?void 0:a.css}),n);return(a,l)=>{const p=ww,m=J5,g=Z5,b=U5,S=j5;return bi(),ns("div",j9,[bs(b,{ref_key:"status",ref:e,p0:""},{default:fa(()=>{var $,G,be,ke,me,Ve,Dt,ht,bt,Yt,ir,qr,yr,kr,Zr,zn,Gn,Ii;return[sn("div",L9,[sn("div",null,[X9,sn("div",V9,Gs((be=(G=($=wi(Vo))==null?void 0:$.config)==null?void 0:G.presets)==null?void 0:be.map(ii=>ii.name).join(`
|
||
`)),1)]),sn("div",U9,[q9,pa(" "+Gs((Ve=(me=(ke=wi(Vo))==null?void 0:ke.config)==null?void 0:me.rulesDynamic)==null?void 0:Ve.length)+" ",1),z9,W9,pa(" "+Gs(Object.keys(((ht=(Dt=wi(Vo))==null?void 0:Dt.config)==null?void 0:ht.rulesStaticMap)||{}).length)+" ",1),Z9]),sn("div",null,[Y9,pa(" "+Gs((ir=(Yt=(bt=wi(Vo))==null?void 0:bt.config)==null?void 0:Yt.variants)==null?void 0:ir.length),1)]),sn("div",null,[G9,pa(" "+Gs((qr=wi(Vo))==null?void 0:qr.config.shortcuts.length),1)]),(yr=wi(Vo))!=null&&yr.configPath?(bi(),ns("div",H9,[J9,bs(p,{id:wi(Vo).configPath},null,8,["id"])])):Eu("",!0),sn("div",null,[K9,sn("div",e4,Gs((kr=wi(Vo))==null?void 0:kr.version),1)])]),sn("div",t4,[sn("div",null,[r4,pa(" "+Gs((Zr=wi(Vo))==null?void 0:Zr.modules.length),1)]),sn("div",null,[n4,pa(" "+Gs(((((zn=wi(Sp))==null?void 0:zn.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),i4]),sn("div",null,[s4,pa(" "+Gs((Gn=wi(Sp))==null?void 0:Gn.matched.length),1)]),sn("div",null,[o4,sn("div",a4,Gs((Ii=wi(Sp))==null?void 0:Ii.layers.join(`
|
||
`)),1)])]),bs(m,{modelValue:wi(i),"onUpdate:modelValue":l[0]||(l[0]=ii=>Hs(i)?i.value=ii:null)},null,8,["modelValue"]),wi(i)==="source"?(bi(),Zo(g,{key:0,border:"t gray-400/20",title:"Output CSS"},{default:fa(()=>[sn("label",null,[bT(sn("input",{"onUpdate:modelValue":l[1]||(l[1]=ii=>Hs(n)?n.value=ii:null),type:"checkbox"},null,512),[[kP,wi(n)]]),pa(" Prettify ")])]),_:1})):Eu("",!0)]}),_:1},512),wi(i)==="source"?(bi(),Zo(S,{key:0,"model-value":wi(s),"read-only":!0,mode:"css",class:"overview-scrolls",style:ml(wi(t))},null,8,["model-value","style"])):(bi(),Zo(Q9,{key:1,"flex-grow":"","overflow-y-auto":"",selectors:wi(Sp).matched,colors:wi(Sp).colors},null,8,["selectors","colors"]))])}}}),l4={};function c4(r,e){const t=u4;return bi(),Zo(t)}const h4=bw(l4,[["render",c4]]),p4=()=>AD(()=>import("./repl-Qc1X-Pfr.js"),__vite__mapDeps([])),f4=()=>AD(()=>import("./_id_-REIcWYcK.js"),__vite__mapDeps([])),d4=[{name:"repl",path:"/repl",component:p4,props:!0},{name:"index",path:"/",component:h4,props:!0},{name:"module-id",path:"/module/:id",component:f4,props:!0}];/*!
|
||
* vue-router v4.2.5
|
||
* (c) 2023 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Tp=typeof window<"u";function m4(r){return r.__esModule||r[Symbol.toStringTag]==="Module"}const As=Object.assign;function ay(r,e){const t={};for(const n in e){const i=e[n];t[n]=Pu(i)?i.map(r):r(i)}return t}const Vf=()=>{},Pu=Array.isArray,g4=/\/$/,y4=r=>r.replace(g4,"");function uy(r,e,t="/"){let n,i={},s="",a="";const l=e.indexOf("#");let p=e.indexOf("?");return l<p&&l>=0&&(p=-1),p>-1&&(n=e.slice(0,p),s=e.slice(p+1,l>-1?l:e.length),i=r(s)),l>-1&&(n=n||e.slice(0,l),a=e.slice(l,e.length)),n=b4(n??e,t),{fullPath:n+(s&&"?")+s+a,path:n,query:i,hash:a}}function D4(r,e){const t=e.query?r(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Sv(r,e){return!e||!r.toLowerCase().startsWith(e.toLowerCase())?r:r.slice(e.length)||"/"}function O4(r,e,t){const n=e.matched.length-1,i=t.matched.length-1;return n>-1&&n===i&&ef(e.matched[n],t.matched[i])&&Zw(e.params,t.params)&&r(e.query)===r(t.query)&&e.hash===t.hash}function ef(r,e){return(r.aliasOf||r)===(e.aliasOf||e)}function Zw(r,e){if(Object.keys(r).length!==Object.keys(e).length)return!1;for(const t in r)if(!x4(r[t],e[t]))return!1;return!0}function x4(r,e){return Pu(r)?Ev(r,e):Pu(e)?Ev(e,r):r===e}function Ev(r,e){return Pu(e)?r.length===e.length&&r.every((t,n)=>t===e[n]):r.length===1&&r[0]===e}function b4(r,e){if(r.startsWith("/"))return r;if(!r)return e;const t=e.split("/"),n=r.split("/"),i=n[n.length-1];(i===".."||i===".")&&n.push("");let s=t.length-1,a,l;for(a=0;a<n.length;a++)if(l=n[a],l!==".")if(l==="..")s>1&&s--;else break;return t.slice(0,s).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}var gd;(function(r){r.pop="pop",r.push="push"})(gd||(gd={}));var Uf;(function(r){r.back="back",r.forward="forward",r.unknown=""})(Uf||(Uf={}));function v4(r){if(!r)if(Tp){const e=document.querySelector("base");r=e&&e.getAttribute("href")||"/",r=r.replace(/^\w+:\/\/[^\/]+/,"")}else r="/";return r[0]!=="/"&&r[0]!=="#"&&(r="/"+r),y4(r)}const C4=/^[^#]+#/;function S4(r,e){return r.replace(C4,"#")+e}function E4(r,e){const t=document.documentElement.getBoundingClientRect(),n=r.getBoundingClientRect();return{behavior:e.behavior,left:n.left-t.left-(e.left||0),top:n.top-t.top-(e.top||0)}}const o0=()=>({left:window.pageXOffset,top:window.pageYOffset});function w4(r){let e;if("el"in r){const t=r.el,n=typeof t=="string"&&t.startsWith("#"),i=typeof t=="string"?n?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!i)return;e=E4(i,r)}else e=r;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function wv(r,e){return(history.state?history.state.position-e:-1)+r}const SD=new Map;function A4(r,e){SD.set(r,e)}function T4(r){const e=SD.get(r);return SD.delete(r),e}let P4=()=>location.protocol+"//"+location.host;function Yw(r,e){const{pathname:t,search:n,hash:i}=e,s=r.indexOf("#");if(s>-1){let l=i.includes(r.slice(s))?r.slice(s).length:1,p=i.slice(l);return p[0]!=="/"&&(p="/"+p),Sv(p,"")}return Sv(t,r)+n+i}function k4(r,e,t,n){let i=[],s=[],a=null;const l=({state:S})=>{const $=Yw(r,location),G=t.value,be=e.value;let ke=0;if(S){if(t.value=$,e.value=S,a&&a===G){a=null;return}ke=be?S.position-be.position:0}else n($);i.forEach(me=>{me(t.value,G,{delta:ke,type:gd.pop,direction:ke?ke>0?Uf.forward:Uf.back:Uf.unknown})})};function p(){a=t.value}function m(S){i.push(S);const $=()=>{const G=i.indexOf(S);G>-1&&i.splice(G,1)};return s.push($),$}function g(){const{history:S}=window;S.state&&S.replaceState(As({},S.state,{scroll:o0()}),"")}function b(){for(const S of s)S();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",g)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",g,{passive:!0}),{pauseListeners:p,listen:m,destroy:b}}function Av(r,e,t,n=!1,i=!1){return{back:r,current:e,forward:t,replaced:n,position:window.history.length,scroll:i?o0():null}}function F4(r){const{history:e,location:t}=window,n={value:Yw(r,t)},i={value:e.state};i.value||s(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(p,m,g){const b=r.indexOf("#"),S=b>-1?(t.host&&document.querySelector("base")?r:r.slice(b))+p:P4()+r+p;try{e[g?"replaceState":"pushState"](m,"",S),i.value=m}catch($){console.error($),t[g?"replace":"assign"](S)}}function a(p,m){const g=As({},e.state,Av(i.value.back,p,i.value.forward,!0),m,{position:i.value.position});s(p,g,!0),n.value=p}function l(p,m){const g=As({},i.value,e.state,{forward:p,scroll:o0()});s(g.current,g,!0);const b=As({},Av(n.value,p,null),{position:g.position+1},m);s(p,b,!1),n.value=p}return{location:n,state:i,push:l,replace:a}}function _4(r){r=v4(r);const e=F4(r),t=k4(r,e.state,e.location,e.replace);function n(s,a=!0){a||t.pauseListeners(),history.go(s)}const i=As({location:"",base:r,go:n,createHref:S4.bind(null,r)},e,t);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function $4(r){return r=location.host?r||location.pathname+location.search:"",r.includes("#")||(r+="#"),_4(r)}function B4(r){return typeof r=="string"||r&&typeof r=="object"}function Gw(r){return typeof r=="string"||typeof r=="symbol"}const $c={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Hw=Symbol("");var Tv;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})(Tv||(Tv={}));function tf(r,e){return As(new Error,{type:r,[Hw]:!0},e)}function Gl(r,e){return r instanceof Error&&Hw in r&&(e==null||!!(r.type&e))}const Pv="[^/]+?",N4={sensitive:!1,strict:!1,start:!0,end:!0},I4=/[.+*?^${}()[\]/\\]/g;function M4(r,e){const t=As({},N4,e),n=[];let i=t.start?"^":"";const s=[];for(const m of r){const g=m.length?[]:[90];t.strict&&!m.length&&(i+="/");for(let b=0;b<m.length;b++){const S=m[b];let $=40+(t.sensitive?.25:0);if(S.type===0)b||(i+="/"),i+=S.value.replace(I4,"\\$&"),$+=40;else if(S.type===1){const{value:G,repeatable:be,optional:ke,regexp:me}=S;s.push({name:G,repeatable:be,optional:ke});const Ve=me||Pv;if(Ve!==Pv){$+=10;try{new RegExp(`(${Ve})`)}catch(ht){throw new Error(`Invalid custom RegExp for param "${G}" (${Ve}): `+ht.message)}}let Dt=be?`((?:${Ve})(?:/(?:${Ve}))*)`:`(${Ve})`;b||(Dt=ke&&m.length<2?`(?:/${Dt})`:"/"+Dt),ke&&(Dt+="?"),i+=Dt,$+=20,ke&&($+=-8),be&&($+=-20),Ve===".*"&&($+=-50)}g.push($)}n.push(g)}if(t.strict&&t.end){const m=n.length-1;n[m][n[m].length-1]+=.7000000000000001}t.strict||(i+="/?"),t.end?i+="$":t.strict&&(i+="(?:/|$)");const a=new RegExp(i,t.sensitive?"":"i");function l(m){const g=m.match(a),b={};if(!g)return null;for(let S=1;S<g.length;S++){const $=g[S]||"",G=s[S-1];b[G.name]=$&&G.repeatable?$.split("/"):$}return b}function p(m){let g="",b=!1;for(const S of r){(!b||!g.endsWith("/"))&&(g+="/"),b=!1;for(const $ of S)if($.type===0)g+=$.value;else if($.type===1){const{value:G,repeatable:be,optional:ke}=$,me=G in m?m[G]:"";if(Pu(me)&&!be)throw new Error(`Provided param "${G}" is an array but it is not repeatable (* or + modifiers)`);const Ve=Pu(me)?me.join("/"):me;if(!Ve)if(ke)S.length<2&&(g.endsWith("/")?g=g.slice(0,-1):b=!0);else throw new Error(`Missing required param "${G}"`);g+=Ve}}return g||"/"}return{re:a,score:n,keys:s,parse:l,stringify:p}}function R4(r,e){let t=0;for(;t<r.length&&t<e.length;){const n=e[t]-r[t];if(n)return n;t++}return r.length<e.length?r.length===1&&r[0]===80?-1:1:r.length>e.length?e.length===1&&e[0]===80?1:-1:0}function Q4(r,e){let t=0;const n=r.score,i=e.score;for(;t<n.length&&t<i.length;){const s=R4(n[t],i[t]);if(s)return s;t++}if(Math.abs(i.length-n.length)===1){if(kv(n))return 1;if(kv(i))return-1}return i.length-n.length}function kv(r){const e=r[r.length-1];return r.length>0&&e[e.length-1]<0}const j4={type:0,value:""},L4=/[a-zA-Z0-9_]/;function X4(r){if(!r)return[[]];if(r==="/")return[[j4]];if(!r.startsWith("/"))throw new Error(`Invalid path "${r}"`);function e($){throw new Error(`ERR (${t})/"${m}": ${$}`)}let t=0,n=t;const i=[];let s;function a(){s&&i.push(s),s=[]}let l=0,p,m="",g="";function b(){m&&(t===0?s.push({type:0,value:m}):t===1||t===2||t===3?(s.length>1&&(p==="*"||p==="+")&&e(`A repeatable param (${m}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:m,regexp:g,repeatable:p==="*"||p==="+",optional:p==="*"||p==="?"})):e("Invalid state to consume buffer"),m="")}function S(){m+=p}for(;l<r.length;){if(p=r[l++],p==="\\"&&t!==2){n=t,t=4;continue}switch(t){case 0:p==="/"?(m&&b(),a()):p===":"?(b(),t=1):S();break;case 4:S(),t=n;break;case 1:p==="("?t=2:L4.test(p)?S():(b(),t=0,p!=="*"&&p!=="?"&&p!=="+"&&l--);break;case 2:p===")"?g[g.length-1]=="\\"?g=g.slice(0,-1)+p:t=3:g+=p;break;case 3:b(),t=0,p!=="*"&&p!=="?"&&p!=="+"&&l--,g="";break;default:e("Unknown state");break}}return t===2&&e(`Unfinished custom RegExp for param "${m}"`),b(),a(),i}function V4(r,e,t){const n=M4(X4(r.path),t),i=As(n,{record:r,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function U4(r,e){const t=[],n=new Map;e=$v({strict:!1,end:!0,sensitive:!1},e);function i(g){return n.get(g)}function s(g,b,S){const $=!S,G=q4(g);G.aliasOf=S&&S.record;const be=$v(e,g),ke=[G];if("alias"in g){const Dt=typeof g.alias=="string"?[g.alias]:g.alias;for(const ht of Dt)ke.push(As({},G,{components:S?S.record.components:G.components,path:ht,aliasOf:S?S.record:G}))}let me,Ve;for(const Dt of ke){const{path:ht}=Dt;if(b&&ht[0]!=="/"){const bt=b.record.path,Yt=bt[bt.length-1]==="/"?"":"/";Dt.path=b.record.path+(ht&&Yt+ht)}if(me=V4(Dt,b,be),S?S.alias.push(me):(Ve=Ve||me,Ve!==me&&Ve.alias.push(me),$&&g.name&&!_v(me)&&a(g.name)),G.children){const bt=G.children;for(let Yt=0;Yt<bt.length;Yt++)s(bt[Yt],me,S&&S.children[Yt])}S=S||me,(me.record.components&&Object.keys(me.record.components).length||me.record.name||me.record.redirect)&&p(me)}return Ve?()=>{a(Ve)}:Vf}function a(g){if(Gw(g)){const b=n.get(g);b&&(n.delete(g),t.splice(t.indexOf(b),1),b.children.forEach(a),b.alias.forEach(a))}else{const b=t.indexOf(g);b>-1&&(t.splice(b,1),g.record.name&&n.delete(g.record.name),g.children.forEach(a),g.alias.forEach(a))}}function l(){return t}function p(g){let b=0;for(;b<t.length&&Q4(g,t[b])>=0&&(g.record.path!==t[b].record.path||!Jw(g,t[b]));)b++;t.splice(b,0,g),g.record.name&&!_v(g)&&n.set(g.record.name,g)}function m(g,b){let S,$={},G,be;if("name"in g&&g.name){if(S=n.get(g.name),!S)throw tf(1,{location:g});be=S.record.name,$=As(Fv(b.params,S.keys.filter(Ve=>!Ve.optional).map(Ve=>Ve.name)),g.params&&Fv(g.params,S.keys.map(Ve=>Ve.name))),G=S.stringify($)}else if("path"in g)G=g.path,S=t.find(Ve=>Ve.re.test(G)),S&&($=S.parse(G),be=S.record.name);else{if(S=b.name?n.get(b.name):t.find(Ve=>Ve.re.test(b.path)),!S)throw tf(1,{location:g,currentLocation:b});be=S.record.name,$=As({},b.params,g.params),G=S.stringify($)}const ke=[];let me=S;for(;me;)ke.unshift(me.record),me=me.parent;return{name:be,path:G,params:$,matched:ke,meta:W4(ke)}}return r.forEach(g=>s(g)),{addRoute:s,resolve:m,removeRoute:a,getRoutes:l,getRecordMatcher:i}}function Fv(r,e){const t={};for(const n of e)n in r&&(t[n]=r[n]);return t}function q4(r){return{path:r.path,redirect:r.redirect,name:r.name,meta:r.meta||{},aliasOf:void 0,beforeEnter:r.beforeEnter,props:z4(r),children:r.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in r?r.components||null:r.component&&{default:r.component}}}function z4(r){const e={},t=r.props||!1;if("component"in r)e.default=t;else for(const n in r.components)e[n]=typeof t=="object"?t[n]:t;return e}function _v(r){for(;r;){if(r.record.aliasOf)return!0;r=r.parent}return!1}function W4(r){return r.reduce((e,t)=>As(e,t.meta),{})}function $v(r,e){const t={};for(const n in r)t[n]=n in e?e[n]:r[n];return t}function Jw(r,e){return e.children.some(t=>t===r||Jw(r,t))}const Kw=/#/g,Z4=/&/g,Y4=/\//g,G4=/=/g,H4=/\?/g,eA=/\+/g,J4=/%5B/g,K4=/%5D/g,tA=/%5E/g,e7=/%60/g,rA=/%7B/g,t7=/%7C/g,nA=/%7D/g,r7=/%20/g;function VO(r){return encodeURI(""+r).replace(t7,"|").replace(J4,"[").replace(K4,"]")}function n7(r){return VO(r).replace(rA,"{").replace(nA,"}").replace(tA,"^")}function ED(r){return VO(r).replace(eA,"%2B").replace(r7,"+").replace(Kw,"%23").replace(Z4,"%26").replace(e7,"`").replace(rA,"{").replace(nA,"}").replace(tA,"^")}function i7(r){return ED(r).replace(G4,"%3D")}function s7(r){return VO(r).replace(Kw,"%23").replace(H4,"%3F")}function o7(r){return r==null?"":s7(r).replace(Y4,"%2F")}function Sg(r){try{return decodeURIComponent(""+r)}catch{}return""+r}function a7(r){const e={};if(r===""||r==="?")return e;const n=(r[0]==="?"?r.slice(1):r).split("&");for(let i=0;i<n.length;++i){const s=n[i].replace(eA," "),a=s.indexOf("="),l=Sg(a<0?s:s.slice(0,a)),p=a<0?null:Sg(s.slice(a+1));if(l in e){let m=e[l];Pu(m)||(m=e[l]=[m]),m.push(p)}else e[l]=p}return e}function Bv(r){let e="";for(let t in r){const n=r[t];if(t=i7(t),n==null){n!==void 0&&(e+=(e.length?"&":"")+t);continue}(Pu(n)?n.map(s=>s&&ED(s)):[n&&ED(n)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function u7(r){const e={};for(const t in r){const n=r[t];n!==void 0&&(e[t]=Pu(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return e}const l7=Symbol(""),Nv=Symbol(""),UO=Symbol(""),qO=Symbol(""),wD=Symbol("");function vf(){let r=[];function e(n){return r.push(n),()=>{const i=r.indexOf(n);i>-1&&r.splice(i,1)}}function t(){r=[]}return{add:e,list:()=>r.slice(),reset:t}}function Qc(r,e,t,n,i){const s=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const p=b=>{b===!1?l(tf(4,{from:t,to:e})):b instanceof Error?l(b):B4(b)?l(tf(2,{from:e,to:b})):(s&&n.enterCallbacks[i]===s&&typeof b=="function"&&s.push(b),a())},m=r.call(n&&n.instances[i],e,t,p);let g=Promise.resolve(m);r.length<3&&(g=g.then(p)),g.catch(b=>l(b))})}function ly(r,e,t,n){const i=[];for(const s of r)for(const a in s.components){let l=s.components[a];if(!(e!=="beforeRouteEnter"&&!s.instances[a]))if(c7(l)){const m=(l.__vccOpts||l)[e];m&&i.push(Qc(m,t,n,s,a))}else{let p=l();i.push(()=>p.then(m=>{if(!m)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const g=m4(m)?m.default:m;s.components[a]=g;const S=(g.__vccOpts||g)[e];return S&&Qc(S,t,n,s,a)()}))}}return i}function c7(r){return typeof r=="object"||"displayName"in r||"props"in r||"__vccOpts"in r}function Iv(r){const e=gl(UO),t=gl(qO),n=as(()=>e.resolve(wi(r.to))),i=as(()=>{const{matched:p}=n.value,{length:m}=p,g=p[m-1],b=t.matched;if(!g||!b.length)return-1;const S=b.findIndex(ef.bind(null,g));if(S>-1)return S;const $=Mv(p[m-2]);return m>1&&Mv(g)===$&&b[b.length-1].path!==$?b.findIndex(ef.bind(null,p[m-2])):S}),s=as(()=>i.value>-1&&d7(t.params,n.value.params)),a=as(()=>i.value>-1&&i.value===t.matched.length-1&&Zw(t.params,n.value.params));function l(p={}){return f7(p)?e[wi(r.replace)?"replace":"push"](wi(r.to)).catch(Vf):Promise.resolve()}return{route:n,href:as(()=>n.value.href),isActive:s,isExactActive:a,navigate:l}}const h7=vo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Iv,setup(r,{slots:e}){const t=Dd(Iv(r)),{options:n}=gl(UO),i=as(()=>({[Rv(r.activeClass,n.linkActiveClass,"router-link-active")]:t.isActive,[Rv(r.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&e.default(t);return r.custom?s:ZD("a",{"aria-current":t.isExactActive?r.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:i.value},s)}}}),p7=h7;function f7(r){if(!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)&&!r.defaultPrevented&&!(r.button!==void 0&&r.button!==0)){if(r.currentTarget&&r.currentTarget.getAttribute){const e=r.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return r.preventDefault&&r.preventDefault(),!0}}function d7(r,e){for(const t in e){const n=e[t],i=r[t];if(typeof n=="string"){if(n!==i)return!1}else if(!Pu(i)||i.length!==n.length||n.some((s,a)=>s!==i[a]))return!1}return!0}function Mv(r){return r?r.aliasOf?r.aliasOf.path:r.path:""}const Rv=(r,e,t)=>r??e??t,m7=vo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(r,{attrs:e,slots:t}){const n=gl(wD),i=as(()=>r.route||n.value),s=gl(Nv,0),a=as(()=>{let m=wi(s);const{matched:g}=i.value;let b;for(;(b=g[m])&&!b.components;)m++;return m}),l=as(()=>i.value.matched[a.value]);ym(Nv,as(()=>a.value+1)),ym(l7,l),ym(wD,i);const p=Zs();return Ro(()=>[p.value,l.value,r.name],([m,g,b],[S,$,G])=>{g&&(g.instances[b]=m,$&&$!==g&&m&&m===S&&(g.leaveGuards.size||(g.leaveGuards=$.leaveGuards),g.updateGuards.size||(g.updateGuards=$.updateGuards))),m&&g&&(!$||!ef(g,$)||!S)&&(g.enterCallbacks[b]||[]).forEach(be=>be(m))},{flush:"post"}),()=>{const m=i.value,g=r.name,b=l.value,S=b&&b.components[g];if(!S)return Qv(t.default,{Component:S,route:m});const $=b.props[g],G=$?$===!0?m.params:typeof $=="function"?$(m):$:null,ke=ZD(S,As({},G,e,{onVnodeUnmounted:me=>{me.component.isUnmounted&&(b.instances[g]=null)},ref:p}));return Qv(t.default,{Component:ke,route:m})||ke}}});function Qv(r,e){if(!r)return null;const t=r(e);return t.length===1?t[0]:t}const g7=m7;function y7(r){const e=U4(r.routes,r),t=r.parseQuery||a7,n=r.stringifyQuery||Bv,i=r.history,s=vf(),a=vf(),l=vf(),p=Np($c);let m=$c;Tp&&r.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=ay.bind(null,Sr=>""+Sr),b=ay.bind(null,o7),S=ay.bind(null,Sg);function $(Sr,cn){let zr,In;return Gw(Sr)?(zr=e.getRecordMatcher(Sr),In=cn):In=Sr,e.addRoute(In,zr)}function G(Sr){const cn=e.getRecordMatcher(Sr);cn&&e.removeRoute(cn)}function be(){return e.getRoutes().map(Sr=>Sr.record)}function ke(Sr){return!!e.getRecordMatcher(Sr)}function me(Sr,cn){if(cn=As({},cn||p.value),typeof Sr=="string"){const Zt=uy(t,Sr,cn.path),dr=e.resolve({path:Zt.path},cn),Fr=i.createHref(Zt.fullPath);return As(Zt,dr,{params:S(dr.params),hash:Sg(Zt.hash),redirectedFrom:void 0,href:Fr})}let zr;if("path"in Sr)zr=As({},Sr,{path:uy(t,Sr.path,cn.path).path});else{const Zt=As({},Sr.params);for(const dr in Zt)Zt[dr]==null&&delete Zt[dr];zr=As({},Sr,{params:b(Zt)}),cn.params=b(cn.params)}const In=e.resolve(zr,cn),Ki=Sr.hash||"";In.params=g(S(In.params));const tt=D4(n,As({},Sr,{hash:n7(Ki),path:In.path})),gt=i.createHref(tt);return As({fullPath:tt,hash:Ki,query:n===Bv?u7(Sr.query):Sr.query||{}},In,{redirectedFrom:void 0,href:gt})}function Ve(Sr){return typeof Sr=="string"?uy(t,Sr,p.value.path):As({},Sr)}function Dt(Sr,cn){if(m!==Sr)return tf(8,{from:cn,to:Sr})}function ht(Sr){return ir(Sr)}function bt(Sr){return ht(As(Ve(Sr),{replace:!0}))}function Yt(Sr){const cn=Sr.matched[Sr.matched.length-1];if(cn&&cn.redirect){const{redirect:zr}=cn;let In=typeof zr=="function"?zr(Sr):zr;return typeof In=="string"&&(In=In.includes("?")||In.includes("#")?In=Ve(In):{path:In},In.params={}),As({query:Sr.query,hash:Sr.hash,params:"path"in In?{}:Sr.params},In)}}function ir(Sr,cn){const zr=m=me(Sr),In=p.value,Ki=Sr.state,tt=Sr.force,gt=Sr.replace===!0,Zt=Yt(zr);if(Zt)return ir(As(Ve(Zt),{state:typeof Zt=="object"?As({},Ki,Zt.state):Ki,force:tt,replace:gt}),cn||zr);const dr=zr;dr.redirectedFrom=cn;let Fr;return!tt&&O4(n,In,zr)&&(Fr=tf(16,{to:dr,from:In}),Ui(In,In,!0,!1)),(Fr?Promise.resolve(Fr):kr(dr,In)).catch(Lr=>Gl(Lr)?Gl(Lr,2)?Lr:$i(Lr):jn(Lr,dr,In)).then(Lr=>{if(Lr){if(Gl(Lr,2))return ir(As({replace:gt},Ve(Lr.to),{state:typeof Lr.to=="object"?As({},Ki,Lr.to.state):Ki,force:tt}),cn||dr)}else Lr=zn(dr,In,!0,gt,Ki);return Zr(dr,In,Lr),Lr})}function qr(Sr,cn){const zr=Dt(Sr,cn);return zr?Promise.reject(zr):Promise.resolve()}function yr(Sr){const cn=us.values().next().value;return cn&&typeof cn.runWithContext=="function"?cn.runWithContext(Sr):Sr()}function kr(Sr,cn){let zr;const[In,Ki,tt]=D7(Sr,cn);zr=ly(In.reverse(),"beforeRouteLeave",Sr,cn);for(const Zt of In)Zt.leaveGuards.forEach(dr=>{zr.push(Qc(dr,Sr,cn))});const gt=qr.bind(null,Sr,cn);return zr.push(gt),Ts(zr).then(()=>{zr=[];for(const Zt of s.list())zr.push(Qc(Zt,Sr,cn));return zr.push(gt),Ts(zr)}).then(()=>{zr=ly(Ki,"beforeRouteUpdate",Sr,cn);for(const Zt of Ki)Zt.updateGuards.forEach(dr=>{zr.push(Qc(dr,Sr,cn))});return zr.push(gt),Ts(zr)}).then(()=>{zr=[];for(const Zt of tt)if(Zt.beforeEnter)if(Pu(Zt.beforeEnter))for(const dr of Zt.beforeEnter)zr.push(Qc(dr,Sr,cn));else zr.push(Qc(Zt.beforeEnter,Sr,cn));return zr.push(gt),Ts(zr)}).then(()=>(Sr.matched.forEach(Zt=>Zt.enterCallbacks={}),zr=ly(tt,"beforeRouteEnter",Sr,cn),zr.push(gt),Ts(zr))).then(()=>{zr=[];for(const Zt of a.list())zr.push(Qc(Zt,Sr,cn));return zr.push(gt),Ts(zr)}).catch(Zt=>Gl(Zt,8)?Zt:Promise.reject(Zt))}function Zr(Sr,cn,zr){l.list().forEach(In=>yr(()=>In(Sr,cn,zr)))}function zn(Sr,cn,zr,In,Ki){const tt=Dt(Sr,cn);if(tt)return tt;const gt=cn===$c,Zt=Tp?history.state:{};zr&&(In||gt?i.replace(Sr.fullPath,As({scroll:gt&&Zt&&Zt.scroll},Ki)):i.push(Sr.fullPath,Ki)),p.value=Sr,Ui(Sr,cn,zr,gt),$i()}let Gn;function Ii(){Gn||(Gn=i.listen((Sr,cn,zr)=>{if(!Xs.listening)return;const In=me(Sr),Ki=Yt(In);if(Ki){ir(As(Ki,{replace:!0}),In).catch(Vf);return}m=In;const tt=p.value;Tp&&A4(wv(tt.fullPath,zr.delta),o0()),kr(In,tt).catch(gt=>Gl(gt,12)?gt:Gl(gt,2)?(ir(gt.to,In).then(Zt=>{Gl(Zt,20)&&!zr.delta&&zr.type===gd.pop&&i.go(-1,!1)}).catch(Vf),Promise.reject()):(zr.delta&&i.go(-zr.delta,!1),jn(gt,In,tt))).then(gt=>{gt=gt||zn(In,tt,!1),gt&&(zr.delta&&!Gl(gt,8)?i.go(-zr.delta,!1):zr.type===gd.pop&&Gl(gt,20)&&i.go(-1,!1)),Zr(In,tt,gt)}).catch(Vf)}))}let ii=vf(),Sn=vf(),Wn;function jn(Sr,cn,zr){$i(Sr);const In=Sn.list();return In.length?In.forEach(Ki=>Ki(Sr,cn,zr)):console.error(Sr),Promise.reject(Sr)}function Bn(){return Wn&&p.value!==$c?Promise.resolve():new Promise((Sr,cn)=>{ii.add([Sr,cn])})}function $i(Sr){return Wn||(Wn=!Sr,Ii(),ii.list().forEach(([cn,zr])=>Sr?zr(Sr):cn()),ii.reset()),Sr}function Ui(Sr,cn,zr,In){const{scrollBehavior:Ki}=r;if(!Tp||!Ki)return Promise.resolve();const tt=!zr&&T4(wv(Sr.fullPath,0))||(In||!zr)&&history.state&&history.state.scroll||null;return Hh().then(()=>Ki(Sr,cn,tt)).then(gt=>gt&&w4(gt)).catch(gt=>jn(gt,Sr,cn))}const os=Sr=>i.go(Sr);let ds;const us=new Set,Xs={currentRoute:p,listening:!0,addRoute:$,removeRoute:G,hasRoute:ke,getRoutes:be,resolve:me,options:r,push:ht,replace:bt,go:os,back:()=>os(-1),forward:()=>os(1),beforeEach:s.add,beforeResolve:a.add,afterEach:l.add,onError:Sn.add,isReady:Bn,install(Sr){const cn=this;Sr.component("RouterLink",p7),Sr.component("RouterView",g7),Sr.config.globalProperties.$router=cn,Object.defineProperty(Sr.config.globalProperties,"$route",{enumerable:!0,get:()=>wi(p)}),Tp&&!ds&&p.value===$c&&(ds=!0,ht(i.location).catch(Ki=>{}));const zr={};for(const Ki in $c)Object.defineProperty(zr,Ki,{get:()=>p.value[Ki],enumerable:!0});Sr.provide(UO,cn),Sr.provide(qO,iC(zr)),Sr.provide(wD,p);const In=Sr.unmount;us.add(Sr),Sr.unmount=function(){us.delete(Sr),us.size<1&&(m=$c,Gn&&Gn(),Gn=null,p.value=$c,ds=!1,Wn=!1),In()}}};function Ts(Sr){return Sr.reduce((cn,zr)=>cn.then(()=>yr(zr)),Promise.resolve())}return Xs}function D7(r,e){const t=[],n=[],i=[],s=Math.max(e.matched.length,r.matched.length);for(let a=0;a<s;a++){const l=e.matched[a];l&&(r.matched.find(m=>ef(m,l))?n.push(l):t.push(l));const p=r.matched[a];p&&(e.matched.find(m=>ef(m,p))||i.push(p))}return[t,n,i]}function O7(){return gl(qO)}const x7=vo({__name:"FileIcon",props:{id:{}},setup(r){const e=r,t=as(()=>e.id.toLowerCase().replace(/\?.*$/,"").split(/\./g).pop()),n=as(()=>{switch(t.value){case"vue":return"i-vscode-icons-file-type-vue";case"html":case"htm":return"i-vscode-icons-file-type-html";case"svelte":return"i-vscode-icons-file-type-svelte";case"ts":case"mts":case"tsx":case"cts":return"i-vscode-icons-file-type-typescript-official";case"js":case"jsx":case"mjs":case"cjs":return"i-vscode-icons-file-type-js-official";case"json":return"i-vscode-icons-file-type-json-official";case"md":case"markdown":return"i-vscode-icons-file-type-markdown";default:return"i-carbon-document-blank"}});return(i,s)=>(bi(),ns("div",{class:Fa(wi(n))},null,2))}}),b7={open:""},v7={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},C7={"ml-1":""},S7=vo({__name:"ModuleTreeNode",props:{node:{},icon:{default:"i-carbon-folder"}},setup(r){const e=O7();return(t,n)=>{const i=Vh("ModuleTreeNode",!0),s=x7,a=Vh("RouterLink");return bi(),ns("details",b7,[sn("summary",v7,[sn("div",{class:Fa(t.icon)},null,2),pa(" "+Gs(t.node.name),1)]),(bi(!0),ns(ho,null,Lc(Object.entries(t.node.children),l=>(bi(),Zo(i,{key:l[0],ml4:"",node:l[1]},null,8,["node"]))),128)),(bi(!0),ns(ho,null,Lc(t.node.items,l=>(bi(),ns("div",{key:l.full,ml4:"","ws-nowrap":""},[bs(a,{block:"","text-sm":"",p:"x2 y1",ml1:"",rounded:"",to:`/module/${encodeURIComponent(l.full)}`,class:Fa({"bg-active":l.full===wi(e).params.id})},{default:fa(()=>[bs(s,{id:l.path},null,8,["id"]),sn("span",C7,Gs(l.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}}),E7="/__unocss/favicon.svg",w7={p:"x4 y3",border:"b main",flex:"","children:my-auto":""},A7=sn("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[sn("img",{src:E7,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),sn("div",{"of-hidden":""},[pa(" Inspector "),sn("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),T7=vo({__name:"NarBar",setup(r){const e=s_(),t=document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function n(i){if(!t||!i){e.value=!e.value;return}const s=i.clientX,a=i.clientY,l=Math.hypot(Math.max(s,innerWidth-s),Math.max(a,innerHeight-a));document.startViewTransition(async()=>{e.value=!e.value,await Hh()}).ready.then(()=>{const m=[`circle(0px at ${s}px ${a}px)`,`circle(${l}px at ${s}px ${a}px)`];document.documentElement.animate({clipPath:e.value?[...m].reverse():m},{duration:400,easing:"ease-in",pseudoElement:e.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}return(i,s)=>(bi(),ns("nav",w7,[A7,sn("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:n})]))}}),P7={"h-full":"",border:"r main"},k7={"of-hidden":""},F7={pt:"4",flex:"~ col gap-3"},_7=sn("div",{"i-carbon-dashboard":""},null,-1),$7=sn("span",null," Overview ",-1),B7=sn("div",{"i-carbon-terminal":""},null,-1),N7=sn("span",null," REPL ",-1),I7=sn("div",{border:"b main"},null,-1),M7={class:"scrolls scrolls-sidebar"},R7=vo({__name:"Sidebar",setup(r){return(e,t)=>{const n=T7,i=Vh("RouterLink"),s=S7;return bi(),ns("div",P7,[sn("div",k7,[bs(n),sn("div",F7,[bs(i,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:fa(()=>[_7,$7]),_:1}),bs(i,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:fa(()=>[B7,N7]),_:1}),I7])]),sn("div",M7,[Object.keys(wi(Ep).workspace.children).length?(bi(),Zo(s,{key:0,node:wi(Ep).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):Eu("",!0),Object.keys(wi(Ep).root.children).length?(bi(),Zo(s,{key:1,node:wi(Ep).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):Eu("",!0),Object.keys(wi(Ep).nodeModules.children).length?(bi(),Zo(s,{key:2,node:wi(Ep).nodeModules,p:"l3 t4",icon:"i-carbon-categories"},null,8,["node"])):Eu("",!0)])])}}}),Q7={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((r,e)=>(r[e.id]=e)&&r,{})}},methods:{updatePaneComponents(){this.panes.forEach(r=>{r.update&&r.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[r.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(r,e){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=e},onMouseMove(r){this.touch.mouseDown&&(r.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(r)),this.$emit("resize",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(r,e){"ontouchstart"in window&&(r.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===e?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(r,e),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=e,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[e])},onSplitterDblClick(r,e){let t=0;this.panes=this.panes.map((n,i)=>(n.size=i===e?n.max:n.min,i!==e&&(t+=n.min),n)),this.panes[e].size-=t,this.$emit("pane-maximize",this.panes[e]),this.$emit("resized",this.panes.map(n=>({min:n.min,max:n.max,size:n.size})))},onPaneClick(r,e){this.$emit("pane-click",this.indexedPanes[e])},getCurrentMouseDrag(r){const e=this.container.getBoundingClientRect(),{clientX:t,clientY:n}="ontouchstart"in window&&r.touches?r.touches[0]:r;return{x:t-e.left,y:n-e.top}},getCurrentDragPercentage(r){r=r[this.horizontal?"y":"x"];const e=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(r=e-r),r*100/e},calculatePanesSize(r){const e=this.touch.activeSplitter;let t={prevPanesSize:this.sumPrevPanesSize(e),nextPanesSize:this.sumNextPanesSize(e),prevReachedMinPanes:0,nextReachedMinPanes:0};const n=0+(this.pushOtherPanes?0:t.prevPanesSize),i=100-(this.pushOtherPanes?0:t.nextPanesSize),s=Math.max(Math.min(this.getCurrentDragPercentage(r),i),n);let a=[e,e+1],l=this.panes[a[0]]||null,p=this.panes[a[1]]||null;const m=l.max<100&&s>=l.max+t.prevPanesSize,g=p.max<100&&s<=100-(p.max+this.sumNextPanesSize(e+1));if(m||g){m?(l.size=l.max,p.size=Math.max(100-l.max-t.prevPanesSize-t.nextPanesSize,0)):(l.size=Math.max(100-p.max-t.prevPanesSize-this.sumNextPanesSize(e+1),0),p.size=p.max);return}if(this.pushOtherPanes){const b=this.doPushOtherPanes(t,s);if(!b)return;({sums:t,panesToResize:a}=b),l=this.panes[a[0]]||null,p=this.panes[a[1]]||null}l!==null&&(l.size=Math.min(Math.max(s-t.prevPanesSize-t.prevReachedMinPanes,l.min),l.max)),p!==null&&(p.size=Math.min(Math.max(100-s-t.nextPanesSize-t.nextReachedMinPanes,p.min),p.max))},doPushOtherPanes(r,e){const t=this.touch.activeSplitter,n=[t,t+1];return e<r.prevPanesSize+this.panes[n[0]].min&&(n[0]=this.findPrevExpandedPane(t).index,r.prevReachedMinPanes=0,n[0]<t&&this.panes.forEach((i,s)=>{s>n[0]&&s<=t&&(i.size=i.min,r.prevReachedMinPanes+=i.min)}),r.prevPanesSize=this.sumPrevPanesSize(n[0]),n[0]===void 0)?(r.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((i,s)=>{s>0&&s<=t&&(i.size=i.min,r.prevReachedMinPanes+=i.min)}),this.panes[n[1]].size=100-r.prevReachedMinPanes-this.panes[0].min-r.prevPanesSize-r.nextPanesSize,null):e>100-r.nextPanesSize-this.panes[n[1]].min&&(n[1]=this.findNextExpandedPane(t).index,r.nextReachedMinPanes=0,n[1]>t+1&&this.panes.forEach((i,s)=>{s>t&&s<n[1]&&(i.size=i.min,r.nextReachedMinPanes+=i.min)}),r.nextPanesSize=this.sumNextPanesSize(n[1]-1),n[1]===void 0)?(r.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((i,s)=>{s<this.panesCount-1&&s>=t+1&&(i.size=i.min,r.nextReachedMinPanes+=i.min)}),this.panes[n[0]].size=100-r.prevPanesSize-r.nextReachedMinPanes-this.panes[this.panesCount-1].min-r.nextPanesSize,null):{sums:r,panesToResize:n}},sumPrevPanesSize(r){return this.panes.reduce((e,t,n)=>e+(n<r?t.size:0),0)},sumNextPanesSize(r){return this.panes.reduce((e,t,n)=>e+(n>r+1?t.size:0),0)},findPrevExpandedPane(r){return[...this.panes].reverse().find(e=>e.index<r&&e.size>e.min)||{}},findNextExpandedPane(r){return this.panes.find(e=>e.index>r+1&&e.size>e.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(r=>{const e=r.classList.contains("splitpanes__pane"),t=r.classList.contains("splitpanes__splitter");!e&&!t&&(r.parentNode.removeChild(r),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(r,e,t=!1){const n=r-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),t||(i.onmousedown=s=>this.onMouseDown(s,n),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=s=>this.onMouseDown(s,n)),i.onclick=s=>this.onSplitterClick(s,n+1)),this.dblClickSplitter&&(i.ondblclick=s=>this.onSplitterDblClick(s,n+1)),e.parentNode.insertBefore(i,e)},removeSplitter(r){r.onmousedown=void 0,r.onclick=void 0,r.ondblclick=void 0,r.parentNode.removeChild(r)},redoSplitters(){const r=Array.from(this.container.children);r.forEach(t=>{t.className.includes("splitpanes__splitter")&&this.removeSplitter(t)});let e=0;r.forEach(t=>{t.className.includes("splitpanes__pane")&&(!e&&this.firstSplitter?this.addSplitter(e,t,!0):e&&this.addSplitter(e,t),e++)})},requestUpdate({target:r,...e}){const t=this.indexedPanes[r._.uid];Object.entries(e).forEach(([n,i])=>t[n]=i)},onPaneAdd(r){let e=-1;Array.from(r.$el.parentNode.children).some(i=>(i.className.includes("splitpanes__pane")&&e++,i===r.$el));const t=parseFloat(r.minSize),n=parseFloat(r.maxSize);this.panes.splice(e,0,{id:r._.uid,index:e,min:isNaN(t)?0:t,max:isNaN(n)?100:n,size:r.size===null?null:parseFloat(r.size),givenSize:r.size,update:r.update}),this.panes.forEach((i,s)=>i.index=s),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[e]}),this.$emit("pane-add",{index:e,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},onPaneRemove(r){const e=this.panes.findIndex(n=>n.id===r._.uid),t=this.panes.splice(e,1)[0];this.panes.forEach((n,i)=>n.index=i),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...t,index:e}}),this.$emit("pane-remove",{removed:t,panes:this.panes.map(n=>({min:n.min,max:n.max,size:n.size}))})})},resetPaneSizes(r={}){!r.addedPane&&!r.removedPane?this.initialPanesSizing():this.panes.some(e=>e.givenSize!==null||e.min||e.max<100)?this.equalizeAfterAddOrRemove(r):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size})))},equalize(){const r=100/this.panesCount;let e=0;const t=[],n=[];this.panes.forEach(i=>{i.size=Math.max(Math.min(r,i.max),i.min),e-=i.size,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id)}),e>.1&&this.readjustSizes(e,t,n)},initialPanesSizing(){let r=100;const e=[],t=[];let n=0;this.panes.forEach(s=>{r-=s.size,s.size!==null&&n++,s.size>=s.max&&e.push(s.id),s.size<=s.min&&t.push(s.id)});let i=100;r>.1&&(this.panes.forEach(s=>{s.size===null&&(s.size=Math.max(Math.min(r/(this.panesCount-n),s.max),s.min)),i-=s.size}),i>.1&&this.readjustSizes(r,e,t))},equalizeAfterAddOrRemove({addedPane:r,removedPane:e}={}){let t=100/this.panesCount,n=0;const i=[],s=[];r&&r.givenSize!==null&&(t=(100-r.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{n-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&s.push(a.id)}),!(Math.abs(n)<.1)&&(this.panes.forEach(a=>{r&&r.givenSize!==null&&r.id===a.id||(a.size=Math.max(Math.min(t,a.max),a.min)),n-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&s.push(a.id)}),n>.1&&this.readjustSizes(n,i,s))},readjustSizes(r,e,t){let n;r>0?n=r/(this.panesCount-e.length):n=r/(this.panesCount-t.length),this.panes.forEach((i,s)=>{if(r>0&&!e.includes(i.id)){const a=Math.max(Math.min(i.size+n,i.max),i.min),l=a-i.size;r-=l,i.size=a}else if(!t.includes(i.id)){const a=Math.max(Math.min(i.size+n,i.max),i.min),l=a-i.size;r-=l,i.size=a}i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.id].size}%`})}),Math.abs(r)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(r){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((e,t)=>{e.ondblclick=r?n=>this.onSplitterDblClick(n,t):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return ZD("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},j7=(r,e)=>{const t=r.__vccOpts||r;for(const[n,i]of e)t[n]=i;return t},L7={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(r){this.style=r}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(r){this.requestUpdate({target:this,size:r})},minSizeNumber(r){this.requestUpdate({target:this,min:r})},maxSizeNumber(r){this.requestUpdate({target:this,max:r})}}};function X7(r,e,t,n,i,s){return bi(),ns("div",{class:"splitpanes__pane",onClick:e[0]||(e[0]=a=>s.onPaneClick(a,r._.uid)),style:ml(r.style)},[tc(r.$slots,"default")],4)}const jv=j7(L7,[["render",X7]]),V7={"h-screen":"","w-screen":"","of-hidden":""},U7={"h-full":"","of-hidden":""},q7=vo({__name:"App",setup(r){return(e,t)=>{const n=R7,i=Vh("RouterView");return bi(),ns("div",V7,[bs(wi(Q7),null,{default:fa(()=>[bs(wi(jv),{size:"20","push-other-panes":!1},{default:fa(()=>[bs(n)]),_:1}),bs(wi(jv),{size:"80"},{default:fa(()=>[sn("div",U7,[bs(i)])]),_:1})]),_:1})])}}}),iA=IP(q7);iA.use(y7({history:$4(),routes:d4}));iA.mount("#app");export{d6 as A,as as B,Eu as C,Q9 as D,Gs as E,jv as F,ww as G,J5 as H,O7 as I,Q7 as M,U5 as _,Y7 as a,d2 as b,ns as c,vo as d,sn as e,eM as f,bs as g,bT as h,Hs as i,wi as j,pa as k,Z5 as l,j5 as m,ml as n,bi as o,bw as p,Zo as q,Zs as r,MC as s,z7 as t,i6 as u,kP as v,fa as w,K7 as x,eT as y,Z7 as z};
|
||
function __vite__mapDeps(indexes) {
|
||
if (!__vite__mapDeps.viteFileDeps) {
|
||
__vite__mapDeps.viteFileDeps = []
|
||
}
|
||
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
||
}
|