@unocss/inspector 0.44.5 → 0.45.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/_id_.107e1d39.js +1 -0
- package/dist/client/assets/index.f640dcb7.js +282 -0
- package/dist/client/assets/index.ffb3a076.css +1 -0
- package/dist/client/assets/{repl.404c239a.js → repl.e16bab7b.js} +2 -2
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/dist/client/assets/_id_.6b1d1bd3.js +0 -1
- package/dist/client/assets/index.03bbe3c5.js +0 -282
- package/dist/client/assets/index.3b46dce8.css +0 -1
|
@@ -1,282 +0,0 @@
|
|
|
1
|
-
const Bm=function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const v of document.querySelectorAll('link[rel="modulepreload"]'))f(v);new MutationObserver(v=>{for(const B of v)if(B.type==="childList")for(const K of B.addedNodes)K.tagName==="LINK"&&K.rel==="modulepreload"&&f(K)}).observe(document,{childList:!0,subtree:!0});function l(v){const B={};return v.integrity&&(B.integrity=v.integrity),v.referrerpolicy&&(B.referrerPolicy=v.referrerpolicy),v.crossorigin==="use-credentials"?B.credentials="include":v.crossorigin==="anonymous"?B.credentials="omit":B.credentials="same-origin",B}function f(v){if(v.ep)return;v.ep=!0;const B=l(v);fetch(v.href,B)}};Bm();const _m="modulepreload",qh={},Im="/__unocss/",Dh=function(c,l){return!l||l.length===0?c():Promise.all(l.map(f=>{if(f=`${Im}${f}`,f in qh)return;qh[f]=!0;const v=f.endsWith(".css"),B=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${B}`))return;const K=document.createElement("link");if(K.rel=v?"stylesheet":_m,v||(K.as="script",K.crossOrigin=""),K.href=f,document.head.appendChild(K),v)return new Promise((de,De)=>{K.addEventListener("load",de),K.addEventListener("error",()=>De(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>c())};function vh(i,c){const l=Object.create(null),f=i.split(",");for(let v=0;v<f.length;v++)l[f[v]]=!0;return c?v=>!!l[v.toLowerCase()]:v=>!!l[v]}const Om="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Lm=vh(Om);function ed(i){return!!i||i===""}function ep(i){if(us(i)){const c={};for(let l=0;l<i.length;l++){const f=i[l],v=ro(f)?Rm(f):ep(f);if(v)for(const B in v)c[B]=v[B]}return c}else{if(ro(i))return i;if(Pa(i))return i}}const Mm=/;(?![^(]*\))/g,jm=/:(.+)/;function Rm(i){const c={};return i.split(Mm).forEach(l=>{if(l){const f=l.split(jm);f.length>1&&(c[f[0].trim()]=f[1].trim())}}),c}function vc(i){let c="";if(ro(i))c=i;else if(us(i))for(let l=0;l<i.length;l++){const f=vc(i[l]);f&&(c+=f+" ")}else if(Pa(i))for(const l in i)i[l]&&(c+=l+" ");return c.trim()}function zm(i,c){if(i.length!==c.length)return!1;let l=!0;for(let f=0;l&&f<i.length;f++)l=Tp(i[f],c[f]);return l}function Tp(i,c){if(i===c)return!0;let l=$h(i),f=$h(c);if(l||f)return l&&f?i.getTime()===c.getTime():!1;if(l=Vc(i),f=Vc(c),l||f)return i===c;if(l=us(i),f=us(c),l||f)return l&&f?zm(i,c):!1;if(l=Pa(i),f=Pa(c),l||f){if(!l||!f)return!1;const v=Object.keys(i).length,B=Object.keys(c).length;if(v!==B)return!1;for(const K in i){const de=i.hasOwnProperty(K),De=c.hasOwnProperty(K);if(de&&!De||!de&&De||!Tp(i[K],c[K]))return!1}}return String(i)===String(c)}function td(i,c){return i.findIndex(l=>Tp(l,c))}const Bo=i=>ro(i)?i:i==null?"":us(i)||Pa(i)&&(i.toString===id||!Cs(i.toString))?JSON.stringify(i,rd,2):String(i),rd=(i,c)=>c&&c.__v_isRef?rd(i,c.value):yc(c)?{[`Map(${c.size})`]:[...c.entries()].reduce((l,[f,v])=>(l[`${f} =>`]=v,l),{})}:Fp(c)?{[`Set(${c.size})`]:[...c.values()]}:Pa(c)&&!us(c)&&!sd(c)?String(c):c,oa={},gc=[],Zu=()=>{},Um=()=>!1,Hm=/^on[^a-z]/,Sp=i=>Hm.test(i),xh=i=>i.startsWith("onUpdate:"),_o=Object.assign,bh=(i,c)=>{const l=i.indexOf(c);l>-1&&i.splice(l,1)},qm=Object.prototype.hasOwnProperty,Ms=(i,c)=>qm.call(i,c),us=Array.isArray,yc=i=>tp(i)==="[object Map]",Fp=i=>tp(i)==="[object Set]",$h=i=>tp(i)==="[object Date]",Cs=i=>typeof i=="function",ro=i=>typeof i=="string",Vc=i=>typeof i=="symbol",Pa=i=>i!==null&&typeof i=="object",nd=i=>Pa(i)&&Cs(i.then)&&Cs(i.catch),id=Object.prototype.toString,tp=i=>id.call(i),$m=i=>tp(i).slice(8,-1),sd=i=>tp(i)==="[object Object]",Ch=i=>ro(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,lp=vh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kp=i=>{const c=Object.create(null);return l=>c[l]||(c[l]=i(l))},Wm=/-(\w)/g,Dl=kp(i=>i.replace(Wm,(c,l)=>l?l.toUpperCase():"")),Vm=/\B([A-Z])/g,wc=kp(i=>i.replace(Vm,"-$1").toLowerCase()),Pp=kp(i=>i.charAt(0).toUpperCase()+i.slice(1)),Wp=kp(i=>i?`on${Pp(i)}`:""),Gc=(i,c)=>!Object.is(i,c),cp=(i,c)=>{for(let l=0;l<i.length;l++)i[l](c)},dp=(i,c,l)=>{Object.defineProperty(i,c,{configurable:!0,enumerable:!1,value:l})},Gm=i=>{const c=parseFloat(i);return isNaN(c)?i:c};let Wh;const Xm=()=>Wh||(Wh=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let pu;class Jm{constructor(c=!1){this.active=!0,this.effects=[],this.cleanups=[],!c&&pu&&(this.parent=pu,this.index=(pu.scopes||(pu.scopes=[])).push(this)-1)}run(c){if(this.active){const l=pu;try{return pu=this,c()}finally{pu=l}}}on(){pu=this}off(){pu=this.parent}stop(c){if(this.active){let l,f;for(l=0,f=this.effects.length;l<f;l++)this.effects[l].stop();for(l=0,f=this.cleanups.length;l<f;l++)this.cleanups[l]();if(this.scopes)for(l=0,f=this.scopes.length;l<f;l++)this.scopes[l].stop(!0);if(this.parent&&!c){const v=this.parent.scopes.pop();v&&v!==this&&(this.parent.scopes[this.index]=v,v.index=this.index)}this.active=!1}}}function Km(i,c=pu){c&&c.active&&c.effects.push(i)}function Ym(){return pu}function Qm(i){pu&&pu.cleanups.push(i)}const Eh=i=>{const c=new Set(i);return c.w=0,c.n=0,c},ad=i=>(i.w&Zl)>0,od=i=>(i.n&Zl)>0,Zm=({deps:i})=>{if(i.length)for(let c=0;c<i.length;c++)i[c].w|=Zl},eg=i=>{const{deps:c}=i;if(c.length){let l=0;for(let f=0;f<c.length;f++){const v=c[f];ad(v)&&!od(v)?v.delete(i):c[l++]=v,v.w&=~Zl,v.n&=~Zl}c.length=l}},Zp=new WeakMap;let Lc=0,Zl=1;const eh=30;let Yu;const uc=Symbol(""),th=Symbol("");class Ah{constructor(c,l=null,f){this.fn=c,this.scheduler=l,this.active=!0,this.deps=[],this.parent=void 0,Km(this,f)}run(){if(!this.active)return this.fn();let c=Yu,l=Yl;for(;c;){if(c===this)return;c=c.parent}try{return this.parent=Yu,Yu=this,Yl=!0,Zl=1<<++Lc,Lc<=eh?Zm(this):Vh(this),this.fn()}finally{Lc<=eh&&eg(this),Zl=1<<--Lc,Yu=this.parent,Yl=l,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Yu===this?this.deferStop=!0:this.active&&(Vh(this),this.onStop&&this.onStop(),this.active=!1)}}function Vh(i){const{deps:c}=i;if(c.length){for(let l=0;l<c.length;l++)c[l].delete(i);c.length=0}}let Yl=!0;const ud=[];function Tc(){ud.push(Yl),Yl=!1}function Sc(){const i=ud.pop();Yl=i===void 0?!0:i}function fu(i,c,l){if(Yl&&Yu){let f=Zp.get(i);f||Zp.set(i,f=new Map);let v=f.get(l);v||f.set(l,v=Eh()),ld(v)}}function ld(i,c){let l=!1;Lc<=eh?od(i)||(i.n|=Zl,l=!ad(i)):l=!i.has(Yu),l&&(i.add(Yu),Yu.deps.push(i))}function _l(i,c,l,f,v,B){const K=Zp.get(i);if(!K)return;let de=[];if(c==="clear")de=[...K.values()];else if(l==="length"&&us(i))K.forEach((De,Le)=>{(Le==="length"||Le>=f)&&de.push(De)});else switch(l!==void 0&&de.push(K.get(l)),c){case"add":us(i)?Ch(l)&&de.push(K.get("length")):(de.push(K.get(uc)),yc(i)&&de.push(K.get(th)));break;case"delete":us(i)||(de.push(K.get(uc)),yc(i)&&de.push(K.get(th)));break;case"set":yc(i)&&de.push(K.get(uc));break}if(de.length===1)de[0]&&rh(de[0]);else{const De=[];for(const Le of de)Le&&De.push(...Le);rh(Eh(De))}}function rh(i,c){const l=us(i)?i:[...i];for(const f of l)f.computed&&Gh(f);for(const f of l)f.computed||Gh(f)}function Gh(i,c){(i!==Yu||i.allowRecurse)&&(i.scheduler?i.scheduler():i.run())}const tg=vh("__proto__,__v_isRef,__isVue"),cd=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(Vc)),rg=wh(),ng=wh(!1,!0),ig=wh(!0),Xh=sg();function sg(){const i={};return["includes","indexOf","lastIndexOf"].forEach(c=>{i[c]=function(...l){const f=Gs(this);for(let B=0,K=this.length;B<K;B++)fu(f,"get",B+"");const v=f[c](...l);return v===-1||v===!1?f[c](...l.map(Gs)):v}}),["push","pop","shift","unshift","splice"].forEach(c=>{i[c]=function(...l){Tc();const f=Gs(this)[c].apply(this,l);return Sc(),f}}),i}function wh(i=!1,c=!1){return function(f,v,B){if(v==="__v_isReactive")return!i;if(v==="__v_isReadonly")return i;if(v==="__v_isShallow")return c;if(v==="__v_raw"&&B===(i?c?bg:md:c?dd:fd).get(f))return f;const K=us(f);if(!i&&K&&Ms(Xh,v))return Reflect.get(Xh,v,B);const de=Reflect.get(f,v,B);return(Vc(v)?cd.has(v):tg(v))||(i||fu(f,"get",v),c)?de:ka(de)?K&&Ch(v)?de:de.value:Pa(de)?i?gd(de):Fc(de):de}}const ag=pd(),og=pd(!0);function pd(i=!1){return function(l,f,v,B){let K=l[f];if(Xc(K)&&ka(K)&&!ka(v))return!1;if(!i&&!Xc(v)&&(nh(v)||(v=Gs(v),K=Gs(K)),!us(l)&&ka(K)&&!ka(v)))return K.value=v,!0;const de=us(l)&&Ch(f)?Number(f)<l.length:Ms(l,f),De=Reflect.set(l,f,v,B);return l===Gs(B)&&(de?Gc(v,K)&&_l(l,"set",f,v):_l(l,"add",f,v)),De}}function ug(i,c){const l=Ms(i,c);i[c];const f=Reflect.deleteProperty(i,c);return f&&l&&_l(i,"delete",c,void 0),f}function lg(i,c){const l=Reflect.has(i,c);return(!Vc(c)||!cd.has(c))&&fu(i,"has",c),l}function cg(i){return fu(i,"iterate",us(i)?"length":uc),Reflect.ownKeys(i)}const hd={get:rg,set:ag,deleteProperty:ug,has:lg,ownKeys:cg},pg={get:ig,set(i,c){return!0},deleteProperty(i,c){return!0}},hg=_o({},hd,{get:ng,set:og}),Th=i=>i,Np=i=>Reflect.getPrototypeOf(i);function rp(i,c,l=!1,f=!1){i=i.__v_raw;const v=Gs(i),B=Gs(c);l||(c!==B&&fu(v,"get",c),fu(v,"get",B));const{has:K}=Np(v),de=f?Th:l?kh:Jc;if(K.call(v,c))return de(i.get(c));if(K.call(v,B))return de(i.get(B));i!==v&&i.get(c)}function np(i,c=!1){const l=this.__v_raw,f=Gs(l),v=Gs(i);return c||(i!==v&&fu(f,"has",i),fu(f,"has",v)),i===v?l.has(i):l.has(i)||l.has(v)}function ip(i,c=!1){return i=i.__v_raw,!c&&fu(Gs(i),"iterate",uc),Reflect.get(i,"size",i)}function Jh(i){i=Gs(i);const c=Gs(this);return Np(c).has.call(c,i)||(c.add(i),_l(c,"add",i,i)),this}function Kh(i,c){c=Gs(c);const l=Gs(this),{has:f,get:v}=Np(l);let B=f.call(l,i);B||(i=Gs(i),B=f.call(l,i));const K=v.call(l,i);return l.set(i,c),B?Gc(c,K)&&_l(l,"set",i,c):_l(l,"add",i,c),this}function Yh(i){const c=Gs(this),{has:l,get:f}=Np(c);let v=l.call(c,i);v||(i=Gs(i),v=l.call(c,i)),f&&f.call(c,i);const B=c.delete(i);return v&&_l(c,"delete",i,void 0),B}function Qh(){const i=Gs(this),c=i.size!==0,l=i.clear();return c&&_l(i,"clear",void 0,void 0),l}function sp(i,c){return function(f,v){const B=this,K=B.__v_raw,de=Gs(K),De=c?Th:i?kh:Jc;return!i&&fu(de,"iterate",uc),K.forEach((Le,ze)=>f.call(v,De(Le),De(ze),B))}}function ap(i,c,l){return function(...f){const v=this.__v_raw,B=Gs(v),K=yc(B),de=i==="entries"||i===Symbol.iterator&&K,De=i==="keys"&&K,Le=v[i](...f),ze=l?Th:c?kh:Jc;return!c&&fu(B,"iterate",De?th:uc),{next(){const{value:it,done:mt}=Le.next();return mt?{value:it,done:mt}:{value:de?[ze(it[0]),ze(it[1])]:ze(it),done:mt}},[Symbol.iterator](){return this}}}}function Wl(i){return function(...c){return i==="delete"?!1:this}}function fg(){const i={get(B){return rp(this,B)},get size(){return ip(this)},has:np,add:Jh,set:Kh,delete:Yh,clear:Qh,forEach:sp(!1,!1)},c={get(B){return rp(this,B,!1,!0)},get size(){return ip(this)},has:np,add:Jh,set:Kh,delete:Yh,clear:Qh,forEach:sp(!1,!0)},l={get(B){return rp(this,B,!0)},get size(){return ip(this,!0)},has(B){return np.call(this,B,!0)},add:Wl("add"),set:Wl("set"),delete:Wl("delete"),clear:Wl("clear"),forEach:sp(!0,!1)},f={get(B){return rp(this,B,!0,!0)},get size(){return ip(this,!0)},has(B){return np.call(this,B,!0)},add:Wl("add"),set:Wl("set"),delete:Wl("delete"),clear:Wl("clear"),forEach:sp(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(B=>{i[B]=ap(B,!1,!1),l[B]=ap(B,!0,!1),c[B]=ap(B,!1,!0),f[B]=ap(B,!0,!0)}),[i,l,c,f]}const[dg,mg,gg,yg]=fg();function Sh(i,c){const l=c?i?yg:gg:i?mg:dg;return(f,v,B)=>v==="__v_isReactive"?!i:v==="__v_isReadonly"?i:v==="__v_raw"?f:Reflect.get(Ms(l,v)&&v in f?l:f,v,B)}const Dg={get:Sh(!1,!1)},vg={get:Sh(!1,!0)},xg={get:Sh(!0,!1)},fd=new WeakMap,dd=new WeakMap,md=new WeakMap,bg=new WeakMap;function Cg(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Eg(i){return i.__v_skip||!Object.isExtensible(i)?0:Cg($m(i))}function Fc(i){return Xc(i)?i:Fh(i,!1,hd,Dg,fd)}function Ag(i){return Fh(i,!1,hg,vg,dd)}function gd(i){return Fh(i,!0,pg,xg,md)}function Fh(i,c,l,f,v){if(!Pa(i)||i.__v_raw&&!(c&&i.__v_isReactive))return i;const B=v.get(i);if(B)return B;const K=Eg(i);if(K===0)return i;const de=new Proxy(i,K===2?f:l);return v.set(i,de),de}function Dc(i){return Xc(i)?Dc(i.__v_raw):!!(i&&i.__v_isReactive)}function Xc(i){return!!(i&&i.__v_isReadonly)}function nh(i){return!!(i&&i.__v_isShallow)}function yd(i){return Dc(i)||Xc(i)}function Gs(i){const c=i&&i.__v_raw;return c?Gs(c):i}function Dd(i){return dp(i,"__v_skip",!0),i}const Jc=i=>Pa(i)?Fc(i):i,kh=i=>Pa(i)?gd(i):i;function vd(i){Yl&&Yu&&(i=Gs(i),ld(i.dep||(i.dep=Eh())))}function xd(i,c){i=Gs(i),i.dep&&rh(i.dep)}function ka(i){return!!(i&&i.__v_isRef===!0)}function Va(i){return bd(i,!1)}function jc(i){return bd(i,!0)}function bd(i,c){return ka(i)?i:new wg(i,c)}class wg{constructor(c,l){this.__v_isShallow=l,this.dep=void 0,this.__v_isRef=!0,this._rawValue=l?c:Gs(c),this._value=l?c:Jc(c)}get value(){return vd(this),this._value}set value(c){c=this.__v_isShallow?c:Gs(c),Gc(c,this._rawValue)&&(this._rawValue=c,this._value=this.__v_isShallow?c:Jc(c),xd(this))}}function Oi(i){return ka(i)?i.value:i}const Tg={get:(i,c,l)=>Oi(Reflect.get(i,c,l)),set:(i,c,l,f)=>{const v=i[c];return ka(v)&&!ka(l)?(v.value=l,!0):Reflect.set(i,c,l,f)}};function Cd(i){return Dc(i)?i:new Proxy(i,Tg)}function Sg(i){const c=us(i)?new Array(i.length):{};for(const l in i)c[l]=kg(i,l);return c}class Fg{constructor(c,l,f){this._object=c,this._key=l,this._defaultValue=f,this.__v_isRef=!0}get value(){const c=this._object[this._key];return c===void 0?this._defaultValue:c}set value(c){this._object[this._key]=c}}function kg(i,c,l){const f=i[c];return ka(f)?f:new Fg(i,c,l)}class Pg{constructor(c,l,f,v){this._setter=l,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Ah(c,()=>{this._dirty||(this._dirty=!0,xd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!v,this.__v_isReadonly=f}get value(){const c=Gs(this);return vd(c),(c._dirty||!c._cacheable)&&(c._dirty=!1,c._value=c.effect.run()),c._value}set value(c){this._setter(c)}}function Ng(i,c,l=!1){let f,v;const B=Cs(i);return B?(f=i,v=Zu):(f=i.get,v=i.set),new Pg(f,v,B||!v,l)}function Ql(i,c,l,f){let v;try{v=f?i(...f):i()}catch(B){Bp(B,c,l)}return v}function el(i,c,l,f){if(Cs(i)){const B=Ql(i,c,l,f);return B&&nd(B)&&B.catch(K=>{Bp(K,c,l)}),B}const v=[];for(let B=0;B<i.length;B++)v.push(el(i[B],c,l,f));return v}function Bp(i,c,l,f=!0){const v=c?c.vnode:null;if(c){let B=c.parent;const K=c.proxy,de=l;for(;B;){const Le=B.ec;if(Le){for(let ze=0;ze<Le.length;ze++)if(Le[ze](i,K,de)===!1)return}B=B.parent}const De=c.appContext.config.errorHandler;if(De){Ql(De,null,10,[i,K,de]);return}}Bg(i,l,v,f)}function Bg(i,c,l,f=!0){console.error(i)}let mp=!1,ih=!1;const hu=[];let Pl=0;const Rc=[];let Mc=null,fc=0;const zc=[];let Xl=null,dc=0;const Ed=Promise.resolve();let Ph=null,sh=null;function _p(i){const c=Ph||Ed;return i?c.then(this?i.bind(this):i):c}function _g(i){let c=Pl+1,l=hu.length;for(;c<l;){const f=c+l>>>1;Kc(hu[f])<i?c=f+1:l=f}return c}function Ad(i){(!hu.length||!hu.includes(i,mp&&i.allowRecurse?Pl+1:Pl))&&i!==sh&&(i.id==null?hu.push(i):hu.splice(_g(i.id),0,i),wd())}function wd(){!mp&&!ih&&(ih=!0,Ph=Ed.then(Fd))}function Ig(i){const c=hu.indexOf(i);c>Pl&&hu.splice(c,1)}function Td(i,c,l,f){us(i)?l.push(...i):(!c||!c.includes(i,i.allowRecurse?f+1:f))&&l.push(i),wd()}function Og(i){Td(i,Mc,Rc,fc)}function Lg(i){Td(i,Xl,zc,dc)}function Ip(i,c=null){if(Rc.length){for(sh=c,Mc=[...new Set(Rc)],Rc.length=0,fc=0;fc<Mc.length;fc++)Mc[fc]();Mc=null,fc=0,sh=null,Ip(i,c)}}function Sd(i){if(Ip(),zc.length){const c=[...new Set(zc)];if(zc.length=0,Xl){Xl.push(...c);return}for(Xl=c,Xl.sort((l,f)=>Kc(l)-Kc(f)),dc=0;dc<Xl.length;dc++)Xl[dc]();Xl=null,dc=0}}const Kc=i=>i.id==null?1/0:i.id;function Fd(i){ih=!1,mp=!0,Ip(i),hu.sort((l,f)=>Kc(l)-Kc(f));const c=Zu;try{for(Pl=0;Pl<hu.length;Pl++){const l=hu[Pl];l&&l.active!==!1&&Ql(l,null,14)}}finally{Pl=0,hu.length=0,Sd(),mp=!1,Ph=null,(hu.length||Rc.length||zc.length)&&Fd(i)}}function Mg(i,c,...l){if(i.isUnmounted)return;const f=i.vnode.props||oa;let v=l;const B=c.startsWith("update:"),K=B&&c.slice(7);if(K&&K in f){const ze=`${K==="modelValue"?"model":K}Modifiers`,{number:it,trim:mt}=f[ze]||oa;mt&&(v=l.map(Bt=>Bt.trim())),it&&(v=l.map(Gm))}let de,De=f[de=Wp(c)]||f[de=Wp(Dl(c))];!De&&B&&(De=f[de=Wp(wc(c))]),De&&el(De,i,6,v);const Le=f[de+"Once"];if(Le){if(!i.emitted)i.emitted={};else if(i.emitted[de])return;i.emitted[de]=!0,el(Le,i,6,v)}}function kd(i,c,l=!1){const f=c.emitsCache,v=f.get(i);if(v!==void 0)return v;const B=i.emits;let K={},de=!1;if(!Cs(i)){const De=Le=>{const ze=kd(Le,c,!0);ze&&(de=!0,_o(K,ze))};!l&&c.mixins.length&&c.mixins.forEach(De),i.extends&&De(i.extends),i.mixins&&i.mixins.forEach(De)}return!B&&!de?(f.set(i,null),null):(us(B)?B.forEach(De=>K[De]=null):_o(K,B),f.set(i,K),K)}function Op(i,c){return!i||!Sp(c)?!1:(c=c.slice(2).replace(/Once$/,""),Ms(i,c[0].toLowerCase()+c.slice(1))||Ms(i,wc(c))||Ms(i,c))}let xo=null,Pd=null;function gp(i){const c=xo;return xo=i,Pd=i&&i.type.__scopeId||null,c}function Nl(i,c=xo,l){if(!c||i._n)return i;const f=(...v)=>{f._d&&cf(-1);const B=gp(c),K=i(...v);return gp(B),f._d&&cf(1),K};return f._n=!0,f._c=!0,f._d=!0,f}function Vp(i){const{type:c,vnode:l,proxy:f,withProxy:v,props:B,propsOptions:[K],slots:de,attrs:De,emit:Le,render:ze,renderCache:it,data:mt,setupState:Bt,ctx:Qt,inheritAttrs:Cr}=i;let Rr,St;const $t=gp(i);try{if(l.shapeFlag&4){const Pr=v||f;Rr=yl(ze.call(Pr,Pr,it,B,Bt,mt,Qt)),St=De}else{const Pr=c;Rr=yl(Pr.length>1?Pr(B,{attrs:De,slots:de,emit:Le}):Pr(B,null)),St=c.props?De:jg(De)}}catch(Pr){Hc.length=0,Bp(Pr,i,1),Rr=ea(ec)}let Vt=Rr;if(St&&Cr!==!1){const Pr=Object.keys(St),{shapeFlag:nn}=Vt;Pr.length&&nn&7&&(K&&Pr.some(xh)&&(St=Rg(St,K)),Vt=bc(Vt,St))}return l.dirs&&(Vt=bc(Vt),Vt.dirs=Vt.dirs?Vt.dirs.concat(l.dirs):l.dirs),l.transition&&(Vt.transition=l.transition),Rr=Vt,gp($t),Rr}const jg=i=>{let c;for(const l in i)(l==="class"||l==="style"||Sp(l))&&((c||(c={}))[l]=i[l]);return c},Rg=(i,c)=>{const l={};for(const f in i)(!xh(f)||!(f.slice(9)in c))&&(l[f]=i[f]);return l};function zg(i,c,l){const{props:f,children:v,component:B}=i,{props:K,children:de,patchFlag:De}=c,Le=B.emitsOptions;if(c.dirs||c.transition)return!0;if(l&&De>=0){if(De&1024)return!0;if(De&16)return f?Zh(f,K,Le):!!K;if(De&8){const ze=c.dynamicProps;for(let it=0;it<ze.length;it++){const mt=ze[it];if(K[mt]!==f[mt]&&!Op(Le,mt))return!0}}}else return(v||de)&&(!de||!de.$stable)?!0:f===K?!1:f?K?Zh(f,K,Le):!0:!!K;return!1}function Zh(i,c,l){const f=Object.keys(c);if(f.length!==Object.keys(i).length)return!0;for(let v=0;v<f.length;v++){const B=f[v];if(c[B]!==i[B]&&!Op(l,B))return!0}return!1}function Ug({vnode:i,parent:c},l){for(;c&&c.subTree===i;)(i=c.vnode).el=l,c=c.parent}const Hg=i=>i.__isSuspense;function qg(i,c){c&&c.pendingBranch?us(i)?c.effects.push(...i):c.effects.push(i):Lg(i)}function pp(i,c){if(eo){let l=eo.provides;const f=eo.parent&&eo.parent.provides;f===l&&(l=eo.provides=Object.create(f)),l[i]=c}}function Bl(i,c,l=!1){const f=eo||xo;if(f){const v=f.parent==null?f.vnode.appContext&&f.vnode.appContext.provides:f.parent.provides;if(v&&i in v)return v[i];if(arguments.length>1)return l&&Cs(c)?c.call(f.proxy):c}}function $g(i,c){return Nh(i,null,c)}const ef={};function to(i,c,l){return Nh(i,c,l)}function Nh(i,c,{immediate:l,deep:f,flush:v,onTrack:B,onTrigger:K}=oa){const de=eo;let De,Le=!1,ze=!1;if(ka(i)?(De=()=>i.value,Le=nh(i)):Dc(i)?(De=()=>i,f=!0):us(i)?(ze=!0,Le=i.some(St=>Dc(St)||nh(St)),De=()=>i.map(St=>{if(ka(St))return St.value;if(Dc(St))return oc(St);if(Cs(St))return Ql(St,de,2)})):Cs(i)?c?De=()=>Ql(i,de,2):De=()=>{if(!(de&&de.isUnmounted))return it&&it(),el(i,de,3,[mt])}:De=Zu,c&&f){const St=De;De=()=>oc(St())}let it,mt=St=>{it=Rr.onStop=()=>{Ql(St,de,4)}};if(Qc)return mt=Zu,c?l&&el(c,de,3,[De(),ze?[]:void 0,mt]):De(),Zu;let Bt=ze?[]:ef;const Qt=()=>{if(!!Rr.active)if(c){const St=Rr.run();(f||Le||(ze?St.some(($t,Vt)=>Gc($t,Bt[Vt])):Gc(St,Bt)))&&(it&&it(),el(c,de,3,[St,Bt===ef?void 0:Bt,mt]),Bt=St)}else Rr.run()};Qt.allowRecurse=!!c;let Cr;v==="sync"?Cr=Qt:v==="post"?Cr=()=>Vo(Qt,de&&de.suspense):Cr=()=>Og(Qt);const Rr=new Ah(De,Cr);return c?l?Qt():Bt=Rr.run():v==="post"?Vo(Rr.run.bind(Rr),de&&de.suspense):Rr.run(),()=>{Rr.stop(),de&&de.scope&&bh(de.scope.effects,Rr)}}function Wg(i,c,l){const f=this.proxy,v=ro(i)?i.includes(".")?Nd(f,i):()=>f[i]:i.bind(f,f);let B;Cs(c)?B=c:(B=c.handler,l=c);const K=eo;Cc(this);const de=Nh(v,B.bind(f),l);return K?Cc(K):lc(),de}function Nd(i,c){const l=c.split(".");return()=>{let f=i;for(let v=0;v<l.length&&f;v++)f=f[l[v]];return f}}function oc(i,c){if(!Pa(i)||i.__v_skip||(c=c||new Set,c.has(i)))return i;if(c.add(i),ka(i))oc(i.value,c);else if(us(i))for(let l=0;l<i.length;l++)oc(i[l],c);else if(Fp(i)||yc(i))i.forEach(l=>{oc(l,c)});else if(sd(i))for(const l in i)oc(i[l],c);return i}function tl(i){return Cs(i)?{setup:i,name:i.name}:i}const Uc=i=>!!i.type.__asyncLoader,Bd=i=>i.type.__isKeepAlive;function Vg(i,c){_d(i,"a",c)}function Gg(i,c){_d(i,"da",c)}function _d(i,c,l=eo){const f=i.__wdc||(i.__wdc=()=>{let v=l;for(;v;){if(v.isDeactivated)return;v=v.parent}return i()});if(Lp(c,f,l),l){let v=l.parent;for(;v&&v.parent;)Bd(v.parent.vnode)&&Xg(f,c,l,v),v=v.parent}}function Xg(i,c,l,f){const v=Lp(c,i,f,!0);Od(()=>{bh(f[c],v)},l)}function Lp(i,c,l=eo,f=!1){if(l){const v=l[i]||(l[i]=[]),B=c.__weh||(c.__weh=(...K)=>{if(l.isUnmounted)return;Tc(),Cc(l);const de=el(c,l,i,K);return lc(),Sc(),de});return f?v.unshift(B):v.push(B),B}}const Ll=i=>(c,l=eo)=>(!Qc||i==="sp")&&Lp(i,c,l),Id=Ll("bm"),Bh=Ll("m"),Jg=Ll("bu"),Kg=Ll("u"),Yg=Ll("bum"),Od=Ll("um"),Qg=Ll("sp"),Zg=Ll("rtg"),e0=Ll("rtc");function t0(i,c=eo){Lp("ec",i,c)}function r0(i,c){const l=xo;if(l===null)return i;const f=jp(l)||l.proxy,v=i.dirs||(i.dirs=[]);for(let B=0;B<c.length;B++){let[K,de,De,Le=oa]=c[B];Cs(K)&&(K={mounted:K,updated:K}),K.deep&&oc(de),v.push({dir:K,instance:f,value:de,oldValue:void 0,arg:De,modifiers:Le})}return i}function nc(i,c,l,f){const v=i.dirs,B=c&&c.dirs;for(let K=0;K<v.length;K++){const de=v[K];B&&(de.oldValue=B[K].value);let De=de.dir[f];De&&(Tc(),el(De,l,8,[i.el,de,i,c]),Sc())}}const Ld="components";function yp(i,c){return i0(Ld,i,!0,c)||i}const n0=Symbol();function i0(i,c,l=!0,f=!1){const v=xo||eo;if(v){const B=v.type;if(i===Ld){const de=_0(B,!1);if(de&&(de===c||de===Dl(c)||de===Pp(Dl(c))))return B}const K=tf(v[i]||B[i],c)||tf(v.appContext[i],c);return!K&&f?B:K}}function tf(i,c){return i&&(i[c]||i[Dl(c)]||i[Pp(Dl(c))])}function rf(i,c,l,f){let v;const B=l&&l[f];if(us(i)||ro(i)){v=new Array(i.length);for(let K=0,de=i.length;K<de;K++)v[K]=c(i[K],K,void 0,B&&B[K])}else if(typeof i=="number"){v=new Array(i);for(let K=0;K<i;K++)v[K]=c(K+1,K,void 0,B&&B[K])}else if(Pa(i))if(i[Symbol.iterator])v=Array.from(i,(K,de)=>c(K,de,void 0,B&&B[de]));else{const K=Object.keys(i);v=new Array(K.length);for(let de=0,De=K.length;de<De;de++){const Le=K[de];v[de]=c(i[Le],Le,de,B&&B[de])}}else v=[];return l&&(l[f]=v),v}function Dp(i,c,l={},f,v){if(xo.isCE||xo.parent&&Uc(xo.parent)&&xo.parent.isCE)return ea("slot",c==="default"?null:{name:c},f&&f());let B=i[c];B&&B._c&&(B._d=!1),xa();const K=B&&Md(B(l)),de=xc(Go,{key:l.key||`_${c}`},K||(f?f():[]),K&&i._===1?64:-2);return!v&&de.scopeId&&(de.slotScopeIds=[de.scopeId+"-s"]),B&&B._c&&(B._d=!0),de}function Md(i){return i.some(c=>bp(c)?!(c.type===ec||c.type===Go&&!Md(c.children)):!0)?i:null}const ah=i=>i?Jd(i)?jp(i)||i.proxy:ah(i.parent):null,vp=_o(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>ah(i.parent),$root:i=>ah(i.root),$emit:i=>i.emit,$options:i=>Rd(i),$forceUpdate:i=>i.f||(i.f=()=>Ad(i.update)),$nextTick:i=>i.n||(i.n=_p.bind(i.proxy)),$watch:i=>Wg.bind(i)}),s0={get({_:i},c){const{ctx:l,setupState:f,data:v,props:B,accessCache:K,type:de,appContext:De}=i;let Le;if(c[0]!=="$"){const Bt=K[c];if(Bt!==void 0)switch(Bt){case 1:return f[c];case 2:return v[c];case 4:return l[c];case 3:return B[c]}else{if(f!==oa&&Ms(f,c))return K[c]=1,f[c];if(v!==oa&&Ms(v,c))return K[c]=2,v[c];if((Le=i.propsOptions[0])&&Ms(Le,c))return K[c]=3,B[c];if(l!==oa&&Ms(l,c))return K[c]=4,l[c];oh&&(K[c]=0)}}const ze=vp[c];let it,mt;if(ze)return c==="$attrs"&&fu(i,"get",c),ze(i);if((it=de.__cssModules)&&(it=it[c]))return it;if(l!==oa&&Ms(l,c))return K[c]=4,l[c];if(mt=De.config.globalProperties,Ms(mt,c))return mt[c]},set({_:i},c,l){const{data:f,setupState:v,ctx:B}=i;return v!==oa&&Ms(v,c)?(v[c]=l,!0):f!==oa&&Ms(f,c)?(f[c]=l,!0):Ms(i.props,c)||c[0]==="$"&&c.slice(1)in i?!1:(B[c]=l,!0)},has({_:{data:i,setupState:c,accessCache:l,ctx:f,appContext:v,propsOptions:B}},K){let de;return!!l[K]||i!==oa&&Ms(i,K)||c!==oa&&Ms(c,K)||(de=B[0])&&Ms(de,K)||Ms(f,K)||Ms(vp,K)||Ms(v.config.globalProperties,K)},defineProperty(i,c,l){return l.get!=null?i._.accessCache[c]=0:Ms(l,"value")&&this.set(i,c,l.value,null),Reflect.defineProperty(i,c,l)}};let oh=!0;function a0(i){const c=Rd(i),l=i.proxy,f=i.ctx;oh=!1,c.beforeCreate&&nf(c.beforeCreate,i,"bc");const{data:v,computed:B,methods:K,watch:de,provide:De,inject:Le,created:ze,beforeMount:it,mounted:mt,beforeUpdate:Bt,updated:Qt,activated:Cr,deactivated:Rr,beforeDestroy:St,beforeUnmount:$t,destroyed:Vt,unmounted:Pr,render:nn,renderTracked:Sn,renderTriggered:Wn,errorCaptured:Mi,serverPrefetch:mi,expose:Un,inheritAttrs:Nn,components:Ai,directives:Dr,filters:vn}=c;if(Le&&o0(Le,f,null,i.appContext.config.unwrapInjectedRef),K)for(const yr in K){const wn=K[yr];Cs(wn)&&(f[yr]=wn.bind(l))}if(v){const yr=v.call(l,l);Pa(yr)&&(i.data=Fc(yr))}if(oh=!0,B)for(const yr in B){const wn=B[yr],ei=Cs(wn)?wn.bind(l,l):Cs(wn.get)?wn.get.bind(l,l):Zu,ls=!Cs(wn)&&Cs(wn.set)?wn.set.bind(l):Zu,As=pa({get:ei,set:ls});Object.defineProperty(f,yr,{enumerable:!0,configurable:!0,get:()=>As.value,set:_s=>As.value=_s})}if(de)for(const yr in de)jd(de[yr],f,l,yr);if(De){const yr=Cs(De)?De.call(l):De;Reflect.ownKeys(yr).forEach(wn=>{pp(wn,yr[wn])})}ze&&nf(ze,i,"c");function tn(yr,wn){us(wn)?wn.forEach(ei=>yr(ei.bind(l))):wn&&yr(wn.bind(l))}if(tn(Id,it),tn(Bh,mt),tn(Jg,Bt),tn(Kg,Qt),tn(Vg,Cr),tn(Gg,Rr),tn(t0,Mi),tn(e0,Sn),tn(Zg,Wn),tn(Yg,$t),tn(Od,Pr),tn(Qg,mi),us(Un))if(Un.length){const yr=i.exposed||(i.exposed={});Un.forEach(wn=>{Object.defineProperty(yr,wn,{get:()=>l[wn],set:ei=>l[wn]=ei})})}else i.exposed||(i.exposed={});nn&&i.render===Zu&&(i.render=nn),Nn!=null&&(i.inheritAttrs=Nn),Ai&&(i.components=Ai),Dr&&(i.directives=Dr)}function o0(i,c,l=Zu,f=!1){us(i)&&(i=uh(i));for(const v in i){const B=i[v];let K;Pa(B)?"default"in B?K=Bl(B.from||v,B.default,!0):K=Bl(B.from||v):K=Bl(B),ka(K)&&f?Object.defineProperty(c,v,{enumerable:!0,configurable:!0,get:()=>K.value,set:de=>K.value=de}):c[v]=K}}function nf(i,c,l){el(us(i)?i.map(f=>f.bind(c.proxy)):i.bind(c.proxy),c,l)}function jd(i,c,l,f){const v=f.includes(".")?Nd(l,f):()=>l[f];if(ro(i)){const B=c[i];Cs(B)&&to(v,B)}else if(Cs(i))to(v,i.bind(l));else if(Pa(i))if(us(i))i.forEach(B=>jd(B,c,l,f));else{const B=Cs(i.handler)?i.handler.bind(l):c[i.handler];Cs(B)&&to(v,B,i)}}function Rd(i){const c=i.type,{mixins:l,extends:f}=c,{mixins:v,optionsCache:B,config:{optionMergeStrategies:K}}=i.appContext,de=B.get(c);let De;return de?De=de:!v.length&&!l&&!f?De=c:(De={},v.length&&v.forEach(Le=>xp(De,Le,K,!0)),xp(De,c,K)),B.set(c,De),De}function xp(i,c,l,f=!1){const{mixins:v,extends:B}=c;B&&xp(i,B,l,!0),v&&v.forEach(K=>xp(i,K,l,!0));for(const K in c)if(!(f&&K==="expose")){const de=u0[K]||l&&l[K];i[K]=de?de(i[K],c[K]):c[K]}return i}const u0={data:sf,props:sc,emits:sc,methods:sc,computed:sc,beforeCreate:No,created:No,beforeMount:No,mounted:No,beforeUpdate:No,updated:No,beforeDestroy:No,beforeUnmount:No,destroyed:No,unmounted:No,activated:No,deactivated:No,errorCaptured:No,serverPrefetch:No,components:sc,directives:sc,watch:c0,provide:sf,inject:l0};function sf(i,c){return c?i?function(){return _o(Cs(i)?i.call(this,this):i,Cs(c)?c.call(this,this):c)}:c:i}function l0(i,c){return sc(uh(i),uh(c))}function uh(i){if(us(i)){const c={};for(let l=0;l<i.length;l++)c[i[l]]=i[l];return c}return i}function No(i,c){return i?[...new Set([].concat(i,c))]:c}function sc(i,c){return i?_o(_o(Object.create(null),i),c):c}function c0(i,c){if(!i)return c;if(!c)return i;const l=_o(Object.create(null),i);for(const f in c)l[f]=No(i[f],c[f]);return l}function p0(i,c,l,f=!1){const v={},B={};dp(B,Mp,1),i.propsDefaults=Object.create(null),zd(i,c,v,B);for(const K in i.propsOptions[0])K in v||(v[K]=void 0);l?i.props=f?v:Ag(v):i.type.props?i.props=v:i.props=B,i.attrs=B}function h0(i,c,l,f){const{props:v,attrs:B,vnode:{patchFlag:K}}=i,de=Gs(v),[De]=i.propsOptions;let Le=!1;if((f||K>0)&&!(K&16)){if(K&8){const ze=i.vnode.dynamicProps;for(let it=0;it<ze.length;it++){let mt=ze[it];if(Op(i.emitsOptions,mt))continue;const Bt=c[mt];if(De)if(Ms(B,mt))Bt!==B[mt]&&(B[mt]=Bt,Le=!0);else{const Qt=Dl(mt);v[Qt]=lh(De,de,Qt,Bt,i,!1)}else Bt!==B[mt]&&(B[mt]=Bt,Le=!0)}}}else{zd(i,c,v,B)&&(Le=!0);let ze;for(const it in de)(!c||!Ms(c,it)&&((ze=wc(it))===it||!Ms(c,ze)))&&(De?l&&(l[it]!==void 0||l[ze]!==void 0)&&(v[it]=lh(De,de,it,void 0,i,!0)):delete v[it]);if(B!==de)for(const it in B)(!c||!Ms(c,it)&&!0)&&(delete B[it],Le=!0)}Le&&_l(i,"set","$attrs")}function zd(i,c,l,f){const[v,B]=i.propsOptions;let K=!1,de;if(c)for(let De in c){if(lp(De))continue;const Le=c[De];let ze;v&&Ms(v,ze=Dl(De))?!B||!B.includes(ze)?l[ze]=Le:(de||(de={}))[ze]=Le:Op(i.emitsOptions,De)||(!(De in f)||Le!==f[De])&&(f[De]=Le,K=!0)}if(B){const De=Gs(l),Le=de||oa;for(let ze=0;ze<B.length;ze++){const it=B[ze];l[it]=lh(v,De,it,Le[it],i,!Ms(Le,it))}}return K}function lh(i,c,l,f,v,B){const K=i[l];if(K!=null){const de=Ms(K,"default");if(de&&f===void 0){const De=K.default;if(K.type!==Function&&Cs(De)){const{propsDefaults:Le}=v;l in Le?f=Le[l]:(Cc(v),f=Le[l]=De.call(null,c),lc())}else f=De}K[0]&&(B&&!de?f=!1:K[1]&&(f===""||f===wc(l))&&(f=!0))}return f}function Ud(i,c,l=!1){const f=c.propsCache,v=f.get(i);if(v)return v;const B=i.props,K={},de=[];let De=!1;if(!Cs(i)){const ze=it=>{De=!0;const[mt,Bt]=Ud(it,c,!0);_o(K,mt),Bt&&de.push(...Bt)};!l&&c.mixins.length&&c.mixins.forEach(ze),i.extends&&ze(i.extends),i.mixins&&i.mixins.forEach(ze)}if(!B&&!De)return f.set(i,gc),gc;if(us(B))for(let ze=0;ze<B.length;ze++){const it=Dl(B[ze]);af(it)&&(K[it]=oa)}else if(B)for(const ze in B){const it=Dl(ze);if(af(it)){const mt=B[ze],Bt=K[it]=us(mt)||Cs(mt)?{type:mt}:mt;if(Bt){const Qt=lf(Boolean,Bt.type),Cr=lf(String,Bt.type);Bt[0]=Qt>-1,Bt[1]=Cr<0||Qt<Cr,(Qt>-1||Ms(Bt,"default"))&&de.push(it)}}}const Le=[K,de];return f.set(i,Le),Le}function af(i){return i[0]!=="$"}function of(i){const c=i&&i.toString().match(/^\s*function (\w+)/);return c?c[1]:i===null?"null":""}function uf(i,c){return of(i)===of(c)}function lf(i,c){return us(c)?c.findIndex(l=>uf(l,i)):Cs(c)&&uf(c,i)?0:-1}const Hd=i=>i[0]==="_"||i==="$stable",_h=i=>us(i)?i.map(yl):[yl(i)],f0=(i,c,l)=>{if(c._n)return c;const f=Nl((...v)=>_h(c(...v)),l);return f._c=!1,f},qd=(i,c,l)=>{const f=i._ctx;for(const v in i){if(Hd(v))continue;const B=i[v];if(Cs(B))c[v]=f0(v,B,f);else if(B!=null){const K=_h(B);c[v]=()=>K}}},$d=(i,c)=>{const l=_h(c);i.slots.default=()=>l},d0=(i,c)=>{if(i.vnode.shapeFlag&32){const l=c._;l?(i.slots=Gs(c),dp(c,"_",l)):qd(c,i.slots={})}else i.slots={},c&&$d(i,c);dp(i.slots,Mp,1)},m0=(i,c,l)=>{const{vnode:f,slots:v}=i;let B=!0,K=oa;if(f.shapeFlag&32){const de=c._;de?l&&de===1?B=!1:(_o(v,c),!l&&de===1&&delete v._):(B=!c.$stable,qd(c,v)),K=c}else c&&($d(i,c),K={default:1});if(B)for(const de in v)!Hd(de)&&!(de in K)&&delete v[de]};function Wd(){return{app:null,config:{isNativeTag:Um,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 g0=0;function y0(i,c){return function(f,v=null){Cs(f)||(f=Object.assign({},f)),v!=null&&!Pa(v)&&(v=null);const B=Wd(),K=new Set;let de=!1;const De=B.app={_uid:g0++,_component:f,_props:v,_container:null,_context:B,_instance:null,version:O0,get config(){return B.config},set config(Le){},use(Le,...ze){return K.has(Le)||(Le&&Cs(Le.install)?(K.add(Le),Le.install(De,...ze)):Cs(Le)&&(K.add(Le),Le(De,...ze))),De},mixin(Le){return B.mixins.includes(Le)||B.mixins.push(Le),De},component(Le,ze){return ze?(B.components[Le]=ze,De):B.components[Le]},directive(Le,ze){return ze?(B.directives[Le]=ze,De):B.directives[Le]},mount(Le,ze,it){if(!de){const mt=ea(f,v);return mt.appContext=B,ze&&c?c(mt,Le):i(mt,Le,it),de=!0,De._container=Le,Le.__vue_app__=De,jp(mt.component)||mt.component.proxy}},unmount(){de&&(i(null,De._container),delete De._container.__vue_app__)},provide(Le,ze){return B.provides[Le]=ze,De}};return De}}function ch(i,c,l,f,v=!1){if(us(i)){i.forEach((mt,Bt)=>ch(mt,c&&(us(c)?c[Bt]:c),l,f,v));return}if(Uc(f)&&!v)return;const B=f.shapeFlag&4?jp(f.component)||f.component.proxy:f.el,K=v?null:B,{i:de,r:De}=i,Le=c&&c.r,ze=de.refs===oa?de.refs={}:de.refs,it=de.setupState;if(Le!=null&&Le!==De&&(ro(Le)?(ze[Le]=null,Ms(it,Le)&&(it[Le]=null)):ka(Le)&&(Le.value=null)),Cs(De))Ql(De,de,12,[K,ze]);else{const mt=ro(De),Bt=ka(De);if(mt||Bt){const Qt=()=>{if(i.f){const Cr=mt?ze[De]:De.value;v?us(Cr)&&bh(Cr,B):us(Cr)?Cr.includes(B)||Cr.push(B):mt?(ze[De]=[B],Ms(it,De)&&(it[De]=ze[De])):(De.value=[B],i.k&&(ze[i.k]=De.value))}else mt?(ze[De]=K,Ms(it,De)&&(it[De]=K)):Bt&&(De.value=K,i.k&&(ze[i.k]=K))};K?(Qt.id=-1,Vo(Qt,l)):Qt()}}}const Vo=qg;function D0(i){return v0(i)}function v0(i,c){const l=Xm();l.__VUE__=!0;const{insert:f,remove:v,patchProp:B,createElement:K,createText:de,createComment:De,setText:Le,setElementText:ze,parentNode:it,nextSibling:mt,setScopeId:Bt=Zu,cloneNode:Qt,insertStaticContent:Cr}=i,Rr=(ct,Ot,br,sr=null,Jr=null,fn=null,mn=!1,Fn=null,hn=!!Ot.dynamicChildren)=>{if(ct===Ot)return;ct&&!_c(ct,Ot)&&(sr=dn(ct),qi(ct,Jr,fn,!0),ct=null),Ot.patchFlag===-2&&(hn=!1,Ot.dynamicChildren=null);const{type:lt,ref:Er,shapeFlag:Mt}=Ot;switch(lt){case Ih:St(ct,Ot,br,sr);break;case ec:$t(ct,Ot,br,sr);break;case Gp:ct==null&&Vt(Ot,br,sr,mn);break;case Go:Dr(ct,Ot,br,sr,Jr,fn,mn,Fn,hn);break;default:Mt&1?Sn(ct,Ot,br,sr,Jr,fn,mn,Fn,hn):Mt&6?vn(ct,Ot,br,sr,Jr,fn,mn,Fn,hn):(Mt&64||Mt&128)&<.process(ct,Ot,br,sr,Jr,fn,mn,Fn,hn,Jn)}Er!=null&&Jr&&ch(Er,ct&&ct.ref,fn,Ot||ct,!Ot)},St=(ct,Ot,br,sr)=>{if(ct==null)f(Ot.el=de(Ot.children),br,sr);else{const Jr=Ot.el=ct.el;Ot.children!==ct.children&&Le(Jr,Ot.children)}},$t=(ct,Ot,br,sr)=>{ct==null?f(Ot.el=De(Ot.children||""),br,sr):Ot.el=ct.el},Vt=(ct,Ot,br,sr)=>{[ct.el,ct.anchor]=Cr(ct.children,Ot,br,sr,ct.el,ct.anchor)},Pr=({el:ct,anchor:Ot},br,sr)=>{let Jr;for(;ct&&ct!==Ot;)Jr=mt(ct),f(ct,br,sr),ct=Jr;f(Ot,br,sr)},nn=({el:ct,anchor:Ot})=>{let br;for(;ct&&ct!==Ot;)br=mt(ct),v(ct),ct=br;v(Ot)},Sn=(ct,Ot,br,sr,Jr,fn,mn,Fn,hn)=>{mn=mn||Ot.type==="svg",ct==null?Wn(Ot,br,sr,Jr,fn,mn,Fn,hn):Un(ct,Ot,Jr,fn,mn,Fn,hn)},Wn=(ct,Ot,br,sr,Jr,fn,mn,Fn)=>{let hn,lt;const{type:Er,props:Mt,shapeFlag:jn,transition:gi,patchFlag:ns,dirs:is}=ct;if(ct.el&&Qt!==void 0&&ns===-1)hn=ct.el=Qt(ct.el);else{if(hn=ct.el=K(ct.type,fn,Mt&&Mt.is,Mt),jn&8?ze(hn,ct.children):jn&16&&mi(ct.children,hn,null,sr,Jr,fn&&Er!=="foreignObject",mn,Fn),is&&nc(ct,null,sr,"created"),Mt){for(const Hi in Mt)Hi!=="value"&&!lp(Hi)&&B(hn,Hi,null,Mt[Hi],fn,ct.children,sr,Jr,mr);"value"in Mt&&B(hn,"value",null,Mt.value),(lt=Mt.onVnodeBeforeMount)&&gl(lt,sr,ct)}Mi(hn,ct,ct.scopeId,mn,sr)}is&&nc(ct,null,sr,"beforeMount");const cs=(!Jr||Jr&&!Jr.pendingBranch)&&gi&&!gi.persisted;cs&&gi.beforeEnter(hn),f(hn,Ot,br),((lt=Mt&&Mt.onVnodeMounted)||cs||is)&&Vo(()=>{lt&&gl(lt,sr,ct),cs&&gi.enter(hn),is&&nc(ct,null,sr,"mounted")},Jr)},Mi=(ct,Ot,br,sr,Jr)=>{if(br&&Bt(ct,br),sr)for(let fn=0;fn<sr.length;fn++)Bt(ct,sr[fn]);if(Jr){let fn=Jr.subTree;if(Ot===fn){const mn=Jr.vnode;Mi(ct,mn,mn.scopeId,mn.slotScopeIds,Jr.parent)}}},mi=(ct,Ot,br,sr,Jr,fn,mn,Fn,hn=0)=>{for(let lt=hn;lt<ct.length;lt++){const Er=ct[lt]=Fn?Jl(ct[lt]):yl(ct[lt]);Rr(null,Er,Ot,br,sr,Jr,fn,mn,Fn)}},Un=(ct,Ot,br,sr,Jr,fn,mn)=>{const Fn=Ot.el=ct.el;let{patchFlag:hn,dynamicChildren:lt,dirs:Er}=Ot;hn|=ct.patchFlag&16;const Mt=ct.props||oa,jn=Ot.props||oa;let gi;br&&ic(br,!1),(gi=jn.onVnodeBeforeUpdate)&&gl(gi,br,Ot,ct),Er&&nc(Ot,ct,br,"beforeUpdate"),br&&ic(br,!0);const ns=Jr&&Ot.type!=="foreignObject";if(lt?Nn(ct.dynamicChildren,lt,Fn,br,sr,ns,fn):mn||ei(ct,Ot,Fn,null,br,sr,ns,fn,!1),hn>0){if(hn&16)Ai(Fn,Ot,Mt,jn,br,sr,Jr);else if(hn&2&&Mt.class!==jn.class&&B(Fn,"class",null,jn.class,Jr),hn&4&&B(Fn,"style",Mt.style,jn.style,Jr),hn&8){const is=Ot.dynamicProps;for(let cs=0;cs<is.length;cs++){const Hi=is[cs],Ls=Mt[Hi],$n=jn[Hi];($n!==Ls||Hi==="value")&&B(Fn,Hi,Ls,$n,Jr,ct.children,br,sr,mr)}}hn&1&&ct.children!==Ot.children&&ze(Fn,Ot.children)}else!mn&<==null&&Ai(Fn,Ot,Mt,jn,br,sr,Jr);((gi=jn.onVnodeUpdated)||Er)&&Vo(()=>{gi&&gl(gi,br,Ot,ct),Er&&nc(Ot,ct,br,"updated")},sr)},Nn=(ct,Ot,br,sr,Jr,fn,mn)=>{for(let Fn=0;Fn<Ot.length;Fn++){const hn=ct[Fn],lt=Ot[Fn],Er=hn.el&&(hn.type===Go||!_c(hn,lt)||hn.shapeFlag&70)?it(hn.el):br;Rr(hn,lt,Er,null,sr,Jr,fn,mn,!0)}},Ai=(ct,Ot,br,sr,Jr,fn,mn)=>{if(br!==sr){for(const Fn in sr){if(lp(Fn))continue;const hn=sr[Fn],lt=br[Fn];hn!==lt&&Fn!=="value"&&B(ct,Fn,lt,hn,mn,Ot.children,Jr,fn,mr)}if(br!==oa)for(const Fn in br)!lp(Fn)&&!(Fn in sr)&&B(ct,Fn,br[Fn],null,mn,Ot.children,Jr,fn,mr);"value"in sr&&B(ct,"value",br.value,sr.value)}},Dr=(ct,Ot,br,sr,Jr,fn,mn,Fn,hn)=>{const lt=Ot.el=ct?ct.el:de(""),Er=Ot.anchor=ct?ct.anchor:de("");let{patchFlag:Mt,dynamicChildren:jn,slotScopeIds:gi}=Ot;gi&&(Fn=Fn?Fn.concat(gi):gi),ct==null?(f(lt,br,sr),f(Er,br,sr),mi(Ot.children,br,Er,Jr,fn,mn,Fn,hn)):Mt>0&&Mt&64&&jn&&ct.dynamicChildren?(Nn(ct.dynamicChildren,jn,br,Jr,fn,mn,Fn),(Ot.key!=null||Jr&&Ot===Jr.subTree)&&Vd(ct,Ot,!0)):ei(ct,Ot,br,Er,Jr,fn,mn,Fn,hn)},vn=(ct,Ot,br,sr,Jr,fn,mn,Fn,hn)=>{Ot.slotScopeIds=Fn,ct==null?Ot.shapeFlag&512?Jr.ctx.activate(Ot,br,sr,mn,hn):we(Ot,br,sr,Jr,fn,mn,hn):tn(ct,Ot,hn)},we=(ct,Ot,br,sr,Jr,fn,mn)=>{const Fn=ct.component=F0(ct,sr,Jr);if(Bd(ct)&&(Fn.ctx.renderer=Jn),k0(Fn),Fn.asyncDep){if(Jr&&Jr.registerDep(Fn,yr),!ct.el){const hn=Fn.subTree=ea(ec);$t(null,hn,Ot,br)}return}yr(Fn,ct,Ot,br,Jr,fn,mn)},tn=(ct,Ot,br)=>{const sr=Ot.component=ct.component;if(zg(ct,Ot,br))if(sr.asyncDep&&!sr.asyncResolved){wn(sr,Ot,br);return}else sr.next=Ot,Ig(sr.update),sr.update();else Ot.el=ct.el,sr.vnode=Ot},yr=(ct,Ot,br,sr,Jr,fn,mn)=>{const Fn=()=>{if(ct.isMounted){let{next:Er,bu:Mt,u:jn,parent:gi,vnode:ns}=ct,is=Er,cs;ic(ct,!1),Er?(Er.el=ns.el,wn(ct,Er,mn)):Er=ns,Mt&&cp(Mt),(cs=Er.props&&Er.props.onVnodeBeforeUpdate)&&gl(cs,gi,Er,ns),ic(ct,!0);const Hi=Vp(ct),Ls=ct.subTree;ct.subTree=Hi,Rr(Ls,Hi,it(Ls.el),dn(Ls),ct,Jr,fn),Er.el=Hi.el,is===null&&Ug(ct,Hi.el),jn&&Vo(jn,Jr),(cs=Er.props&&Er.props.onVnodeUpdated)&&Vo(()=>gl(cs,gi,Er,ns),Jr)}else{let Er;const{el:Mt,props:jn}=Ot,{bm:gi,m:ns,parent:is}=ct,cs=Uc(Ot);if(ic(ct,!1),gi&&cp(gi),!cs&&(Er=jn&&jn.onVnodeBeforeMount)&&gl(Er,is,Ot),ic(ct,!0),Mt&&ui){const Hi=()=>{ct.subTree=Vp(ct),ui(Mt,ct.subTree,ct,Jr,null)};cs?Ot.type.__asyncLoader().then(()=>!ct.isUnmounted&&Hi()):Hi()}else{const Hi=ct.subTree=Vp(ct);Rr(null,Hi,br,sr,ct,Jr,fn),Ot.el=Hi.el}if(ns&&Vo(ns,Jr),!cs&&(Er=jn&&jn.onVnodeMounted)){const Hi=Ot;Vo(()=>gl(Er,is,Hi),Jr)}(Ot.shapeFlag&256||is&&Uc(is.vnode)&&is.vnode.shapeFlag&256)&&ct.a&&Vo(ct.a,Jr),ct.isMounted=!0,Ot=br=sr=null}},hn=ct.effect=new Ah(Fn,()=>Ad(lt),ct.scope),lt=ct.update=()=>hn.run();lt.id=ct.uid,ic(ct,!0),lt()},wn=(ct,Ot,br)=>{Ot.component=ct;const sr=ct.vnode.props;ct.vnode=Ot,ct.next=null,h0(ct,Ot.props,sr,br),m0(ct,Ot.children,br),Tc(),Ip(void 0,ct.update),Sc()},ei=(ct,Ot,br,sr,Jr,fn,mn,Fn,hn=!1)=>{const lt=ct&&ct.children,Er=ct?ct.shapeFlag:0,Mt=Ot.children,{patchFlag:jn,shapeFlag:gi}=Ot;if(jn>0){if(jn&128){As(lt,Mt,br,sr,Jr,fn,mn,Fn,hn);return}else if(jn&256){ls(lt,Mt,br,sr,Jr,fn,mn,Fn,hn);return}}gi&8?(Er&16&&mr(lt,Jr,fn),Mt!==lt&&ze(br,Mt)):Er&16?gi&16?As(lt,Mt,br,sr,Jr,fn,mn,Fn,hn):mr(lt,Jr,fn,!0):(Er&8&&ze(br,""),gi&16&&mi(Mt,br,sr,Jr,fn,mn,Fn,hn))},ls=(ct,Ot,br,sr,Jr,fn,mn,Fn,hn)=>{ct=ct||gc,Ot=Ot||gc;const lt=ct.length,Er=Ot.length,Mt=Math.min(lt,Er);let jn;for(jn=0;jn<Mt;jn++){const gi=Ot[jn]=hn?Jl(Ot[jn]):yl(Ot[jn]);Rr(ct[jn],gi,br,null,Jr,fn,mn,Fn,hn)}lt>Er?mr(ct,Jr,fn,!0,!1,Mt):mi(Ot,br,sr,Jr,fn,mn,Fn,hn,Mt)},As=(ct,Ot,br,sr,Jr,fn,mn,Fn,hn)=>{let lt=0;const Er=Ot.length;let Mt=ct.length-1,jn=Er-1;for(;lt<=Mt&<<=jn;){const gi=ct[lt],ns=Ot[lt]=hn?Jl(Ot[lt]):yl(Ot[lt]);if(_c(gi,ns))Rr(gi,ns,br,null,Jr,fn,mn,Fn,hn);else break;lt++}for(;lt<=Mt&<<=jn;){const gi=ct[Mt],ns=Ot[jn]=hn?Jl(Ot[jn]):yl(Ot[jn]);if(_c(gi,ns))Rr(gi,ns,br,null,Jr,fn,mn,Fn,hn);else break;Mt--,jn--}if(lt>Mt){if(lt<=jn){const gi=jn+1,ns=gi<Er?Ot[gi].el:sr;for(;lt<=jn;)Rr(null,Ot[lt]=hn?Jl(Ot[lt]):yl(Ot[lt]),br,ns,Jr,fn,mn,Fn,hn),lt++}}else if(lt>jn)for(;lt<=Mt;)qi(ct[lt],Jr,fn,!0),lt++;else{const gi=lt,ns=lt,is=new Map;for(lt=ns;lt<=jn;lt++){const Vr=Ot[lt]=hn?Jl(Ot[lt]):yl(Ot[lt]);Vr.key!=null&&is.set(Vr.key,lt)}let cs,Hi=0;const Ls=jn-ns+1;let $n=!1,Sr=0;const Br=new Array(Ls);for(lt=0;lt<Ls;lt++)Br[lt]=0;for(lt=gi;lt<=Mt;lt++){const Vr=ct[lt];if(Hi>=Ls){qi(Vr,Jr,fn,!0);continue}let ur;if(Vr.key!=null)ur=is.get(Vr.key);else for(cs=ns;cs<=jn;cs++)if(Br[cs-ns]===0&&_c(Vr,Ot[cs])){ur=cs;break}ur===void 0?qi(Vr,Jr,fn,!0):(Br[ur-ns]=lt+1,ur>=Sr?Sr=ur:$n=!0,Rr(Vr,Ot[ur],br,null,Jr,fn,mn,Fn,hn),Hi++)}const Gt=$n?x0(Br):gc;for(cs=Gt.length-1,lt=Ls-1;lt>=0;lt--){const Vr=ns+lt,ur=Ot[Vr],gn=Vr+1<Er?Ot[Vr+1].el:sr;Br[lt]===0?Rr(null,ur,br,gn,Jr,fn,mn,Fn,hn):$n&&(cs<0||lt!==Gt[cs]?_s(ur,br,gn,2):cs--)}}},_s=(ct,Ot,br,sr,Jr=null)=>{const{el:fn,type:mn,transition:Fn,children:hn,shapeFlag:lt}=ct;if(lt&6){_s(ct.component.subTree,Ot,br,sr);return}if(lt&128){ct.suspense.move(Ot,br,sr);return}if(lt&64){mn.move(ct,Ot,br,Jn);return}if(mn===Go){f(fn,Ot,br);for(let Mt=0;Mt<hn.length;Mt++)_s(hn[Mt],Ot,br,sr);f(ct.anchor,Ot,br);return}if(mn===Gp){Pr(ct,Ot,br);return}if(sr!==2&<&1&&Fn)if(sr===0)Fn.beforeEnter(fn),f(fn,Ot,br),Vo(()=>Fn.enter(fn),Jr);else{const{leave:Mt,delayLeave:jn,afterLeave:gi}=Fn,ns=()=>f(fn,Ot,br),is=()=>{Mt(fn,()=>{ns(),gi&&gi()})};jn?jn(fn,ns,is):is()}else f(fn,Ot,br)},qi=(ct,Ot,br,sr=!1,Jr=!1)=>{const{type:fn,props:mn,ref:Fn,children:hn,dynamicChildren:lt,shapeFlag:Er,patchFlag:Mt,dirs:jn}=ct;if(Fn!=null&&ch(Fn,null,br,ct,!0),Er&256){Ot.ctx.deactivate(ct);return}const gi=Er&1&&jn,ns=!Uc(ct);let is;if(ns&&(is=mn&&mn.onVnodeBeforeUnmount)&&gl(is,Ot,ct),Er&6)Kr(ct.component,br,sr);else{if(Er&128){ct.suspense.unmount(br,sr);return}gi&&nc(ct,null,Ot,"beforeUnmount"),Er&64?ct.type.remove(ct,Ot,br,Jr,Jn,sr):lt&&(fn!==Go||Mt>0&&Mt&64)?mr(lt,Ot,br,!1,!0):(fn===Go&&Mt&384||!Jr&&Er&16)&&mr(hn,Ot,br),sr&&Ps(ct)}(ns&&(is=mn&&mn.onVnodeUnmounted)||gi)&&Vo(()=>{is&&gl(is,Ot,ct),gi&&nc(ct,null,Ot,"unmounted")},br)},Ps=ct=>{const{type:Ot,el:br,anchor:sr,transition:Jr}=ct;if(Ot===Go){Or(br,sr);return}if(Ot===Gp){nn(ct);return}const fn=()=>{v(br),Jr&&!Jr.persisted&&Jr.afterLeave&&Jr.afterLeave()};if(ct.shapeFlag&1&&Jr&&!Jr.persisted){const{leave:mn,delayLeave:Fn}=Jr,hn=()=>mn(br,fn);Fn?Fn(ct.el,fn,hn):hn()}else fn()},Or=(ct,Ot)=>{let br;for(;ct!==Ot;)br=mt(ct),v(ct),ct=br;v(Ot)},Kr=(ct,Ot,br)=>{const{bum:sr,scope:Jr,update:fn,subTree:mn,um:Fn}=ct;sr&&cp(sr),Jr.stop(),fn&&(fn.active=!1,qi(mn,ct,Ot,br)),Fn&&Vo(Fn,Ot),Vo(()=>{ct.isUnmounted=!0},Ot),Ot&&Ot.pendingBranch&&!Ot.isUnmounted&&ct.asyncDep&&!ct.asyncResolved&&ct.suspenseId===Ot.pendingId&&(Ot.deps--,Ot.deps===0&&Ot.resolve())},mr=(ct,Ot,br,sr=!1,Jr=!1,fn=0)=>{for(let mn=fn;mn<ct.length;mn++)qi(ct[mn],Ot,br,sr,Jr)},dn=ct=>ct.shapeFlag&6?dn(ct.component.subTree):ct.shapeFlag&128?ct.suspense.next():mt(ct.anchor||ct.el),ai=(ct,Ot,br)=>{ct==null?Ot._vnode&&qi(Ot._vnode,null,null,!0):Rr(Ot._vnode||null,ct,Ot,null,null,null,br),Sd(),Ot._vnode=ct},Jn={p:Rr,um:qi,m:_s,r:Ps,mt:we,mc:mi,pc:ei,pbc:Nn,n:dn,o:i};let zn,ui;return c&&([zn,ui]=c(Jn)),{render:ai,hydrate:zn,createApp:y0(ai,zn)}}function ic({effect:i,update:c},l){i.allowRecurse=c.allowRecurse=l}function Vd(i,c,l=!1){const f=i.children,v=c.children;if(us(f)&&us(v))for(let B=0;B<f.length;B++){const K=f[B];let de=v[B];de.shapeFlag&1&&!de.dynamicChildren&&((de.patchFlag<=0||de.patchFlag===32)&&(de=v[B]=Jl(v[B]),de.el=K.el),l||Vd(K,de))}}function x0(i){const c=i.slice(),l=[0];let f,v,B,K,de;const De=i.length;for(f=0;f<De;f++){const Le=i[f];if(Le!==0){if(v=l[l.length-1],i[v]<Le){c[f]=v,l.push(f);continue}for(B=0,K=l.length-1;B<K;)de=B+K>>1,i[l[de]]<Le?B=de+1:K=de;Le<i[l[B]]&&(B>0&&(c[f]=l[B-1]),l[B]=f)}}for(B=l.length,K=l[B-1];B-- >0;)l[B]=K,K=c[K];return l}const b0=i=>i.__isTeleport,Go=Symbol(void 0),Ih=Symbol(void 0),ec=Symbol(void 0),Gp=Symbol(void 0),Hc=[];let Qu=null;function xa(i=!1){Hc.push(Qu=i?null:[])}function C0(){Hc.pop(),Qu=Hc[Hc.length-1]||null}let Yc=1;function cf(i){Yc+=i}function Gd(i){return i.dynamicChildren=Yc>0?Qu||gc:null,C0(),Yc>0&&Qu&&Qu.push(i),i}function ho(i,c,l,f,v,B){return Gd(Xi(i,c,l,f,v,B,!0))}function xc(i,c,l,f,v){return Gd(ea(i,c,l,f,v,!0))}function bp(i){return i?i.__v_isVNode===!0:!1}function _c(i,c){return i.type===c.type&&i.key===c.key}const Mp="__vInternal",Xd=({key:i})=>i!=null?i:null,hp=({ref:i,ref_key:c,ref_for:l})=>i!=null?ro(i)||ka(i)||Cs(i)?{i:xo,r:i,k:c,f:!!l}:i:null;function Xi(i,c=null,l=null,f=0,v=null,B=i===Go?0:1,K=!1,de=!1){const De={__v_isVNode:!0,__v_skip:!0,type:i,props:c,key:c&&Xd(c),ref:c&&hp(c),scopeId:Pd,slotScopeIds:null,children:l,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:B,patchFlag:f,dynamicProps:v,dynamicChildren:null,appContext:null};return de?(Oh(De,l),B&128&&i.normalize(De)):l&&(De.shapeFlag|=ro(l)?8:16),Yc>0&&!K&&Qu&&(De.patchFlag>0||B&6)&&De.patchFlag!==32&&Qu.push(De),De}const ea=E0;function E0(i,c=null,l=null,f=0,v=null,B=!1){if((!i||i===n0)&&(i=ec),bp(i)){const de=bc(i,c,!0);return l&&Oh(de,l),Yc>0&&!B&&Qu&&(de.shapeFlag&6?Qu[Qu.indexOf(i)]=de:Qu.push(de)),de.patchFlag|=-2,de}if(I0(i)&&(i=i.__vccOpts),c){c=A0(c);let{class:de,style:De}=c;de&&!ro(de)&&(c.class=vc(de)),Pa(De)&&(yd(De)&&!us(De)&&(De=_o({},De)),c.style=ep(De))}const K=ro(i)?1:Hg(i)?128:b0(i)?64:Pa(i)?4:Cs(i)?2:0;return Xi(i,c,l,f,v,K,B,!0)}function A0(i){return i?yd(i)||Mp in i?_o({},i):i:null}function bc(i,c,l=!1){const{props:f,ref:v,patchFlag:B,children:K}=i,de=c?w0(f||{},c):f;return{__v_isVNode:!0,__v_skip:!0,type:i.type,props:de,key:de&&Xd(de),ref:c&&c.ref?l&&v?us(v)?v.concat(hp(c)):[v,hp(c)]:hp(c):v,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:K,target:i.target,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:c&&i.type!==Go?B===-1?16:B|16:B,dynamicProps:i.dynamicProps,dynamicChildren:i.dynamicChildren,appContext:i.appContext,dirs:i.dirs,transition:i.transition,component:i.component,suspense:i.suspense,ssContent:i.ssContent&&bc(i.ssContent),ssFallback:i.ssFallback&&bc(i.ssFallback),el:i.el,anchor:i.anchor}}function Ku(i=" ",c=0){return ea(Ih,null,i,c)}function Cp(i="",c=!1){return c?(xa(),xc(ec,null,i)):ea(ec,null,i)}function yl(i){return i==null||typeof i=="boolean"?ea(ec):us(i)?ea(Go,null,i.slice()):typeof i=="object"?Jl(i):ea(Ih,null,String(i))}function Jl(i){return i.el===null||i.memo?i:bc(i)}function Oh(i,c){let l=0;const{shapeFlag:f}=i;if(c==null)c=null;else if(us(c))l=16;else if(typeof c=="object")if(f&65){const v=c.default;v&&(v._c&&(v._d=!1),Oh(i,v()),v._c&&(v._d=!0));return}else{l=32;const v=c._;!v&&!(Mp in c)?c._ctx=xo:v===3&&xo&&(xo.slots._===1?c._=1:(c._=2,i.patchFlag|=1024))}else Cs(c)?(c={default:c,_ctx:xo},l=32):(c=String(c),f&64?(l=16,c=[Ku(c)]):l=8);i.children=c,i.shapeFlag|=l}function w0(...i){const c={};for(let l=0;l<i.length;l++){const f=i[l];for(const v in f)if(v==="class")c.class!==f.class&&(c.class=vc([c.class,f.class]));else if(v==="style")c.style=ep([c.style,f.style]);else if(Sp(v)){const B=c[v],K=f[v];K&&B!==K&&!(us(B)&&B.includes(K))&&(c[v]=B?[].concat(B,K):K)}else v!==""&&(c[v]=f[v])}return c}function gl(i,c,l,f=null){el(i,c,7,[l,f])}const T0=Wd();let S0=0;function F0(i,c,l){const f=i.type,v=(c?c.appContext:i.appContext)||T0,B={uid:S0++,vnode:i,type:f,parent:c,appContext:v,root:null,next:null,subTree:null,effect:null,update:null,scope:new Jm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:c?c.provides:Object.create(v.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ud(f,v),emitsOptions:kd(f,v),emit:null,emitted:null,propsDefaults:oa,inheritAttrs:f.inheritAttrs,ctx:oa,data:oa,props:oa,attrs:oa,slots:oa,refs:oa,setupState:oa,setupContext:null,suspense:l,suspenseId:l?l.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 B.ctx={_:B},B.root=c?c.root:B,B.emit=Mg.bind(null,B),i.ce&&i.ce(B),B}let eo=null;const Lh=()=>eo||xo,Cc=i=>{eo=i,i.scope.on()},lc=()=>{eo&&eo.scope.off(),eo=null};function Jd(i){return i.vnode.shapeFlag&4}let Qc=!1;function k0(i,c=!1){Qc=c;const{props:l,children:f}=i.vnode,v=Jd(i);p0(i,l,v,c),d0(i,f);const B=v?P0(i,c):void 0;return Qc=!1,B}function P0(i,c){const l=i.type;i.accessCache=Object.create(null),i.proxy=Dd(new Proxy(i.ctx,s0));const{setup:f}=l;if(f){const v=i.setupContext=f.length>1?B0(i):null;Cc(i),Tc();const B=Ql(f,i,0,[i.props,v]);if(Sc(),lc(),nd(B)){if(B.then(lc,lc),c)return B.then(K=>{pf(i,K,c)}).catch(K=>{Bp(K,i,0)});i.asyncDep=B}else pf(i,B,c)}else Kd(i,c)}function pf(i,c,l){Cs(c)?i.type.__ssrInlineRender?i.ssrRender=c:i.render=c:Pa(c)&&(i.setupState=Cd(c)),Kd(i,l)}let hf;function Kd(i,c,l){const f=i.type;if(!i.render){if(!c&&hf&&!f.render){const v=f.template;if(v){const{isCustomElement:B,compilerOptions:K}=i.appContext.config,{delimiters:de,compilerOptions:De}=f,Le=_o(_o({isCustomElement:B,delimiters:de},K),De);f.render=hf(v,Le)}}i.render=f.render||Zu}Cc(i),Tc(),a0(i),Sc(),lc()}function N0(i){return new Proxy(i.attrs,{get(c,l){return fu(i,"get","$attrs"),c[l]}})}function B0(i){const c=f=>{i.exposed=f||{}};let l;return{get attrs(){return l||(l=N0(i))},slots:i.slots,emit:i.emit,expose:c}}function jp(i){if(i.exposed)return i.exposeProxy||(i.exposeProxy=new Proxy(Cd(Dd(i.exposed)),{get(c,l){if(l in c)return c[l];if(l in vp)return vp[l](i)}}))}function _0(i,c=!0){return Cs(i)?i.displayName||i.name:i.name||c&&i.__name}function I0(i){return Cs(i)&&"__vccOpts"in i}const pa=(i,c)=>Ng(i,c,Qc);function Mh(i,c,l){const f=arguments.length;return f===2?Pa(c)&&!us(c)?bp(c)?ea(i,null,[c]):ea(i,c):ea(i,null,c):(f>3?l=Array.prototype.slice.call(arguments,2):f===3&&bp(l)&&(l=[l]),ea(i,c,l))}const O0="3.2.37",L0="http://www.w3.org/2000/svg",ac=typeof document!="undefined"?document:null,ff=ac&&ac.createElement("template"),M0={insert:(i,c,l)=>{c.insertBefore(i,l||null)},remove:i=>{const c=i.parentNode;c&&c.removeChild(i)},createElement:(i,c,l,f)=>{const v=c?ac.createElementNS(L0,i):ac.createElement(i,l?{is:l}:void 0);return i==="select"&&f&&f.multiple!=null&&v.setAttribute("multiple",f.multiple),v},createText:i=>ac.createTextNode(i),createComment:i=>ac.createComment(i),setText:(i,c)=>{i.nodeValue=c},setElementText:(i,c)=>{i.textContent=c},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>ac.querySelector(i),setScopeId(i,c){i.setAttribute(c,"")},cloneNode(i){const c=i.cloneNode(!0);return"_value"in i&&(c._value=i._value),c},insertStaticContent(i,c,l,f,v,B){const K=l?l.previousSibling:c.lastChild;if(v&&(v===B||v.nextSibling))for(;c.insertBefore(v.cloneNode(!0),l),!(v===B||!(v=v.nextSibling)););else{ff.innerHTML=f?`<svg>${i}</svg>`:i;const de=ff.content;if(f){const De=de.firstChild;for(;De.firstChild;)de.appendChild(De.firstChild);de.removeChild(De)}c.insertBefore(de,l)}return[K?K.nextSibling:c.firstChild,l?l.previousSibling:c.lastChild]}};function j0(i,c,l){const f=i._vtc;f&&(c=(c?[c,...f]:[...f]).join(" ")),c==null?i.removeAttribute("class"):l?i.setAttribute("class",c):i.className=c}function R0(i,c,l){const f=i.style,v=ro(l);if(l&&!v){for(const B in l)ph(f,B,l[B]);if(c&&!ro(c))for(const B in c)l[B]==null&&ph(f,B,"")}else{const B=f.display;v?c!==l&&(f.cssText=l):c&&i.removeAttribute("style"),"_vod"in i&&(f.display=B)}}const df=/\s*!important$/;function ph(i,c,l){if(us(l))l.forEach(f=>ph(i,c,f));else if(l==null&&(l=""),c.startsWith("--"))i.setProperty(c,l);else{const f=z0(i,c);df.test(l)?i.setProperty(wc(f),l.replace(df,""),"important"):i[f]=l}}const mf=["Webkit","Moz","ms"],Xp={};function z0(i,c){const l=Xp[c];if(l)return l;let f=Dl(c);if(f!=="filter"&&f in i)return Xp[c]=f;f=Pp(f);for(let v=0;v<mf.length;v++){const B=mf[v]+f;if(B in i)return Xp[c]=B}return c}const gf="http://www.w3.org/1999/xlink";function U0(i,c,l,f,v){if(f&&c.startsWith("xlink:"))l==null?i.removeAttributeNS(gf,c.slice(6,c.length)):i.setAttributeNS(gf,c,l);else{const B=Lm(c);l==null||B&&!ed(l)?i.removeAttribute(c):i.setAttribute(c,B?"":l)}}function H0(i,c,l,f,v,B,K){if(c==="innerHTML"||c==="textContent"){f&&K(f,v,B),i[c]=l==null?"":l;return}if(c==="value"&&i.tagName!=="PROGRESS"&&!i.tagName.includes("-")){i._value=l;const De=l==null?"":l;(i.value!==De||i.tagName==="OPTION")&&(i.value=De),l==null&&i.removeAttribute(c);return}let de=!1;if(l===""||l==null){const De=typeof i[c];De==="boolean"?l=ed(l):l==null&&De==="string"?(l="",de=!0):De==="number"&&(l=0,de=!0)}try{i[c]=l}catch{}de&&i.removeAttribute(c)}const[Yd,q0]=(()=>{let i=Date.now,c=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(i=performance.now.bind(performance));const l=navigator.userAgent.match(/firefox\/(\d+)/i);c=!!(l&&Number(l[1])<=53)}return[i,c]})();let hh=0;const $0=Promise.resolve(),W0=()=>{hh=0},V0=()=>hh||($0.then(W0),hh=Yd());function Qd(i,c,l,f){i.addEventListener(c,l,f)}function G0(i,c,l,f){i.removeEventListener(c,l,f)}function X0(i,c,l,f,v=null){const B=i._vei||(i._vei={}),K=B[c];if(f&&K)K.value=f;else{const[de,De]=J0(c);if(f){const Le=B[c]=K0(f,v);Qd(i,de,Le,De)}else K&&(G0(i,de,K,De),B[c]=void 0)}}const yf=/(?:Once|Passive|Capture)$/;function J0(i){let c;if(yf.test(i)){c={};let l;for(;l=i.match(yf);)i=i.slice(0,i.length-l[0].length),c[l[0].toLowerCase()]=!0}return[wc(i.slice(2)),c]}function K0(i,c){const l=f=>{const v=f.timeStamp||Yd();(q0||v>=l.attached-1)&&el(Y0(f,l.value),c,5,[f])};return l.value=i,l.attached=V0(),l}function Y0(i,c){if(us(c)){const l=i.stopImmediatePropagation;return i.stopImmediatePropagation=()=>{l.call(i),i._stopped=!0},c.map(f=>v=>!v._stopped&&f&&f(v))}else return c}const Df=/^on[a-z]/,Q0=(i,c,l,f,v=!1,B,K,de,De)=>{c==="class"?j0(i,f,v):c==="style"?R0(i,l,f):Sp(c)?xh(c)||X0(i,c,l,f,K):(c[0]==="."?(c=c.slice(1),!0):c[0]==="^"?(c=c.slice(1),!1):Z0(i,c,f,v))?H0(i,c,f,B,K,de,De):(c==="true-value"?i._trueValue=f:c==="false-value"&&(i._falseValue=f),U0(i,c,f,v))};function Z0(i,c,l,f){return f?!!(c==="innerHTML"||c==="textContent"||c in i&&Df.test(c)&&Cs(l)):c==="spellcheck"||c==="draggable"||c==="translate"||c==="form"||c==="list"&&i.tagName==="INPUT"||c==="type"&&i.tagName==="TEXTAREA"||Df.test(c)&&ro(l)?!1:c in i}const vf=i=>{const c=i.props["onUpdate:modelValue"]||!1;return us(c)?l=>cp(c,l):c},ey={deep:!0,created(i,c,l){i._assign=vf(l),Qd(i,"change",()=>{const f=i._modelValue,v=ty(i),B=i.checked,K=i._assign;if(us(f)){const de=td(f,v),De=de!==-1;if(B&&!De)K(f.concat(v));else if(!B&&De){const Le=[...f];Le.splice(de,1),K(Le)}}else if(Fp(f)){const de=new Set(f);B?de.add(v):de.delete(v),K(de)}else K(Zd(i,B))})},mounted:xf,beforeUpdate(i,c,l){i._assign=vf(l),xf(i,c,l)}};function xf(i,{value:c,oldValue:l},f){i._modelValue=c,us(c)?i.checked=td(c,f.props.value)>-1:Fp(c)?i.checked=c.has(f.props.value):c!==l&&(i.checked=Tp(c,Zd(i,!0)))}function ty(i){return"_value"in i?i._value:i.value}function Zd(i,c){const l=c?"_trueValue":"_falseValue";return l in i?i[l]:c}const ry=_o({patchProp:Q0},M0);let bf;function ny(){return bf||(bf=D0(ry))}const iy=(...i)=>{const c=ny().createApp(...i),{mount:l}=c;return c.mount=f=>{const v=sy(f);if(!v)return;const B=c._component;!Cs(B)&&!B.render&&!B.template&&(B.template=v.innerHTML),v.innerHTML="";const K=l(v,!1,v instanceof SVGElement);return v instanceof Element&&(v.removeAttribute("v-cloak"),v.setAttribute("data-v-app","")),K},c};function sy(i){return ro(i)?document.querySelector(i):i}function qc(){const i=[],c=v=>{const B=i.indexOf(v);B!==-1&&i.splice(B,1)};return{on:v=>(i.push(v),{off:()=>c(v)}),off:c,trigger:v=>{i.forEach(B=>B(v))}}}function Rp(i){return Ym()?(Qm(i),!0):!1}var Cf;const kc=typeof window!="undefined",ay=i=>typeof i!="undefined",oy=i=>typeof i=="string",fp=()=>{};kc&&((Cf=window==null?void 0:window.navigator)==null?void 0:Cf.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function em(i,c){function l(...f){i(()=>c.apply(this,f),{fn:c,thisArg:this,args:f})}return l}const tm=i=>i();function uy(i,c={}){let l,f;return B=>{const K=Oi(i),de=Oi(c.maxWait);if(l&&clearTimeout(l),K<=0||de!==void 0&&de<=0)return f&&(clearTimeout(f),f=null),B();de&&!f&&(f=setTimeout(()=>{l&&clearTimeout(l),f=null,B()},de)),l=setTimeout(()=>{f&&clearTimeout(f),f=null,B()},K)}}function ly(i=tm){const c=Va(!0);function l(){c.value=!1}function f(){c.value=!0}return{isActive:c,pause:l,resume:f,eventFilter:(...B)=>{c.value&&i(...B)}}}function Ef(i,c=!1,l="Timeout"){return new Promise((f,v)=>{setTimeout(c?()=>v(l):f,i)})}function cy(i,...c){return c.some(l=>l in i)}function py(i,c=200,l={}){return em(uy(c,l),i)}function hy(i,c=200,l={}){if(c<=0)return i;const f=Va(i.value),v=py(()=>{f.value=i.value},c,l);return to(i,()=>v()),f}function fy(i,c=!0){Lh()?Id(i):c?i():_p(i)}function dy(i,c=!0){Lh()?Bh(i):c?i():_p(i)}function my(i){let c=!1;function l(it,{flush:mt="sync",deep:Bt=!1,timeout:Qt,throwOnTimeout:Cr}={}){let Rr=null;const $t=[new Promise(Vt=>{Rr=to(i,Pr=>{it(Pr)!==c&&(Rr==null||Rr(),Vt(Pr))},{flush:mt,deep:Bt,immediate:!0})})];return Qt!=null&&$t.push(Ef(Qt,Cr).then(()=>Oi(i)).finally(()=>Rr==null?void 0:Rr())),Promise.race($t)}function f(it,mt){if(!ka(it))return l(Pr=>Pr===it,mt);const{flush:Bt="sync",deep:Qt=!1,timeout:Cr,throwOnTimeout:Rr}=mt!=null?mt:{};let St=null;const Vt=[new Promise(Pr=>{St=to([i,it],([nn,Sn])=>{c!==(nn===Sn)&&(St==null||St(),Pr(nn))},{flush:Bt,deep:Qt,immediate:!0})})];return Cr!=null&&Vt.push(Ef(Cr,Rr).then(()=>Oi(i)).finally(()=>(St==null||St(),Oi(i)))),Promise.race(Vt)}function v(it){return l(mt=>Boolean(mt),it)}function B(it){return f(null,it)}function K(it){return f(void 0,it)}function de(it){return l(Number.isNaN,it)}function De(it,mt){return l(Bt=>{const Qt=Array.from(Bt);return Qt.includes(it)||Qt.includes(Oi(it))},mt)}function Le(it){return ze(1,it)}function ze(it=1,mt){let Bt=-1;return l(()=>(Bt+=1,Bt>=it),mt)}return Array.isArray(Oi(i))?{toMatch:l,toContains:De,changed:Le,changedTimes:ze,get not(){return c=!c,this}}:{toMatch:l,toBe:f,toBeTruthy:v,toBeNull:B,toBeNaN:de,toBeUndefined:K,changed:Le,changedTimes:ze,get not(){return c=!c,this}}}function gy(i,c,l={}){const{immediate:f=!0}=l,v=Va(!1);let B=null;function K(){B&&(clearTimeout(B),B=null)}function de(){v.value=!1,K()}function De(...Le){K(),v.value=!0,B=setTimeout(()=>{v.value=!1,B=null,i(...Le)},Oi(c))}return f&&(v.value=!0,kc&&De()),Rp(de),{isPending:v,start:De,stop:de}}function yy(i=!1,c={}){const{truthyValue:l=!0,falsyValue:f=!1}=c,v=ka(i),B=Va(i);function K(de){return arguments.length?(B.value=de,B.value):(B.value=B.value===Oi(l)?Oi(f):Oi(l),B.value)}return v?K:[B,K]}var Af=Object.getOwnPropertySymbols,Dy=Object.prototype.hasOwnProperty,vy=Object.prototype.propertyIsEnumerable,xy=(i,c)=>{var l={};for(var f in i)Dy.call(i,f)&&c.indexOf(f)<0&&(l[f]=i[f]);if(i!=null&&Af)for(var f of Af(i))c.indexOf(f)<0&&vy.call(i,f)&&(l[f]=i[f]);return l};function by(i,c,l={}){const f=l,{eventFilter:v=tm}=f,B=xy(f,["eventFilter"]);return to(i,em(v,c),B)}var Cy=Object.defineProperty,Ey=Object.defineProperties,Ay=Object.getOwnPropertyDescriptors,Ep=Object.getOwnPropertySymbols,rm=Object.prototype.hasOwnProperty,nm=Object.prototype.propertyIsEnumerable,wf=(i,c,l)=>c in i?Cy(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,wy=(i,c)=>{for(var l in c||(c={}))rm.call(c,l)&&wf(i,l,c[l]);if(Ep)for(var l of Ep(c))nm.call(c,l)&&wf(i,l,c[l]);return i},Ty=(i,c)=>Ey(i,Ay(c)),Sy=(i,c)=>{var l={};for(var f in i)rm.call(i,f)&&c.indexOf(f)<0&&(l[f]=i[f]);if(i!=null&&Ep)for(var f of Ep(i))c.indexOf(f)<0&&nm.call(i,f)&&(l[f]=i[f]);return l};function Fy(i,c,l={}){const f=l,{eventFilter:v}=f,B=Sy(f,["eventFilter"]),{eventFilter:K,pause:de,resume:De,isActive:Le}=ly(v);return{stop:by(i,c,Ty(wy({},B),{eventFilter:K})),pause:de,resume:De,isActive:Le}}function J1(i,c,l){let f;ka(l)?f={evaluating:l}:f=l||{};const{lazy:v=!1,evaluating:B=void 0,onError:K=fp}=f,de=Va(!v),De=Va(c);let Le=0;return $g(async ze=>{if(!de.value)return;Le++;const it=Le;let mt=!1;B&&Promise.resolve().then(()=>{B.value=!0});try{const Bt=await i(Qt=>{ze(()=>{B&&(B.value=!1),mt||Qt()})});it===Le&&(De.value=Bt)}catch(Bt){K(Bt)}finally{B&&it===Le&&(B.value=!1),mt=!0}}),v?pa(()=>(de.value=!0,De.value)):De}function jh(i){var c;const l=Oi(i);return(c=l==null?void 0:l.$el)!=null?c:l}const Il=kc?window:void 0;kc&&window.document;kc&&window.navigator;kc&&window.location;function ky(...i){let c,l,f,v;if(oy(i[0])?([l,f,v]=i,c=Il):[c,l,f,v]=i,!c)return fp;let B=fp;const K=to(()=>jh(c),De=>{B(),De&&(De.addEventListener(l,f,v),B=()=>{De.removeEventListener(l,f,v),B=fp})},{immediate:!0,flush:"post"}),de=()=>{K(),B()};return Rp(de),de}function Py(i,c={}){const{window:l=Il}=c,f=Boolean(l&&"matchMedia"in l);let v;const B=Va(!1),K=()=>{!f||(v||(v=l.matchMedia(i)),B.value=v.matches)};return fy(()=>{K(),v&&("addEventListener"in v?v.addEventListener("change",K):v.addListener(K),Rp(()=>{"removeEventListener"in v?v.removeEventListener("change",K):v.removeListener(K)}))}),B}const fh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},dh="__vueuse_ssr_handlers__";fh[dh]=fh[dh]||{};const Ny=fh[dh];function im(i,c){return Ny[i]||c}function By(i){return i==null?"any":i instanceof Set?"set":i instanceof Map?"map":i instanceof Date?"date":typeof i=="boolean"?"boolean":typeof i=="string"?"string":typeof i=="object"||Array.isArray(i)?"object":Number.isNaN(i)?"any":"number"}const _y={boolean:{read:i=>i==="true",write:i=>String(i)},object:{read:i=>JSON.parse(i),write:i=>JSON.stringify(i)},number:{read:i=>Number.parseFloat(i),write:i=>String(i)},any:{read:i=>i,write:i=>String(i)},string:{read:i=>i,write:i=>String(i)},map:{read:i=>new Map(JSON.parse(i)),write:i=>JSON.stringify(Array.from(i.entries()))},set:{read:i=>new Set(JSON.parse(i)),write:i=>JSON.stringify(Array.from(i))},date:{read:i=>new Date(i),write:i=>i.toISOString()}};function sm(i,c,l,f={}){var v;const{flush:B="pre",deep:K=!0,listenToStorageChanges:de=!0,writeDefaults:De=!0,shallow:Le,window:ze=Il,eventFilter:it,onError:mt=Sn=>{console.error(Sn)}}=f,Bt=(Le?jc:Va)(c);if(!l)try{l=im("getDefaultStorage",()=>{var Sn;return(Sn=Il)==null?void 0:Sn.localStorage})()}catch(Sn){mt(Sn)}if(!l)return Bt;const Qt=Oi(c),Cr=By(Qt),Rr=(v=f.serializer)!=null?v:_y[Cr],{pause:St,resume:$t}=Fy(Bt,()=>Vt(Bt.value),{flush:B,deep:K,eventFilter:it});return ze&&de&&ky(ze,"storage",nn),nn(),Bt;function Vt(Sn){try{Sn==null?l.removeItem(i):l.setItem(i,Rr.write(Sn))}catch(Wn){mt(Wn)}}function Pr(Sn){if(!(Sn&&Sn.key!==i)){St();try{const Wn=Sn?Sn.newValue:l.getItem(i);return Wn==null?(De&&Qt!==null&&l.setItem(i,Rr.write(Qt)),Qt):typeof Wn!="string"?Wn:Rr.read(Wn)}catch(Wn){mt(Wn)}finally{$t()}}}function nn(Sn){Sn&&Sn.key!==i||(Bt.value=Pr(Sn))}}function am(i){return Py("(prefers-color-scheme: dark)",i)}var Iy=Object.defineProperty,Tf=Object.getOwnPropertySymbols,Oy=Object.prototype.hasOwnProperty,Ly=Object.prototype.propertyIsEnumerable,Sf=(i,c,l)=>c in i?Iy(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,My=(i,c)=>{for(var l in c||(c={}))Oy.call(c,l)&&Sf(i,l,c[l]);if(Tf)for(var l of Tf(c))Ly.call(c,l)&&Sf(i,l,c[l]);return i};function jy(i={}){const{selector:c="html",attribute:l="class",window:f=Il,storage:v,storageKey:B="vueuse-color-scheme",listenToStorageChanges:K=!0,storageRef:de}=i,De=My({auto:"",light:"light",dark:"dark"},i.modes||{}),Le=am({window:f}),ze=pa(()=>Le.value?"dark":"light"),it=de||(B==null?Va("auto"):sm(B,"auto",v,{window:f,listenToStorageChanges:K})),mt=pa({get(){return it.value==="auto"?ze.value:it.value},set(Rr){it.value=Rr}}),Bt=im("updateHTMLAttrs",(Rr,St,$t)=>{const Vt=f==null?void 0:f.document.querySelector(Rr);if(!!Vt)if(St==="class"){const Pr=$t.split(/\s/g);Object.values(De).flatMap(nn=>(nn||"").split(/\s/g)).filter(Boolean).forEach(nn=>{Pr.includes(nn)?Vt.classList.add(nn):Vt.classList.remove(nn)})}else Vt.setAttribute(St,$t)});function Qt(Rr){var St;Bt(c,l,(St=De[Rr])!=null?St:Rr)}function Cr(Rr){i.onChanged?i.onChanged(Rr,Qt):Qt(Rr)}return to(mt,Cr,{flush:"post",immediate:!0}),dy(()=>Cr(mt.value)),mt}var Ry=Object.defineProperty,zy=Object.defineProperties,Uy=Object.getOwnPropertyDescriptors,Ff=Object.getOwnPropertySymbols,Hy=Object.prototype.hasOwnProperty,qy=Object.prototype.propertyIsEnumerable,kf=(i,c,l)=>c in i?Ry(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,$y=(i,c)=>{for(var l in c||(c={}))Hy.call(c,l)&&kf(i,l,c[l]);if(Ff)for(var l of Ff(c))qy.call(c,l)&&kf(i,l,c[l]);return i},Wy=(i,c)=>zy(i,Uy(c));function Vy(i={}){const{valueDark:c="dark",valueLight:l="",window:f=Il}=i,v=jy(Wy($y({},i),{onChanged:(de,De)=>{var Le;i.onChanged?(Le=i.onChanged)==null||Le.call(i,de==="dark"):De(de)},modes:{dark:c,light:l}})),B=am({window:f});return pa({get(){return v.value==="dark"},set(de){de===B.value?v.value="auto":v.value=de?"dark":"light"}})}var Pf=Object.getOwnPropertySymbols,Gy=Object.prototype.hasOwnProperty,Xy=Object.prototype.propertyIsEnumerable,Jy=(i,c)=>{var l={};for(var f in i)Gy.call(i,f)&&c.indexOf(f)<0&&(l[f]=i[f]);if(i!=null&&Pf)for(var f of Pf(i))c.indexOf(f)<0&&Xy.call(i,f)&&(l[f]=i[f]);return l};function Ky(i,c,l={}){const f=l,{window:v=Il}=f,B=Jy(f,["window"]);let K;const de=v&&"ResizeObserver"in v,De=()=>{K&&(K.disconnect(),K=void 0)},Le=to(()=>jh(i),it=>{De(),de&&v&&it&&(K=new ResizeObserver(c),K.observe(it,B))},{immediate:!0,flush:"post"}),ze=()=>{De(),Le()};return Rp(ze),{isSupported:de,stop:ze}}var Yy=Object.defineProperty,Qy=Object.defineProperties,Zy=Object.getOwnPropertyDescriptors,Nf=Object.getOwnPropertySymbols,eD=Object.prototype.hasOwnProperty,tD=Object.prototype.propertyIsEnumerable,Bf=(i,c,l)=>c in i?Yy(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,Wo=(i,c)=>{for(var l in c||(c={}))eD.call(c,l)&&Bf(i,l,c[l]);if(Nf)for(var l of Nf(c))tD.call(c,l)&&Bf(i,l,c[l]);return i},Ic=(i,c)=>Qy(i,Zy(c));const rD={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function _f(i){return cy(i,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Jp(i){return typeof Headers!="undefined"&&i instanceof Headers?Object.fromEntries([...i.entries()]):i}function zp(i,...c){var l;const f=typeof AbortController=="function";let v={},B={immediate:!0,refetch:!1,timeout:0};const K={method:"GET",type:"text",payload:void 0};c.length>0&&(_f(c[0])?B=Wo(Wo({},B),c[0]):v=c[0]),c.length>1&&_f(c[1])&&(B=Wo(Wo({},B),c[1]));const{fetch:de=(l=Il)==null?void 0:l.fetch,initialData:De,timeout:Le}=B,ze=qc(),it=qc(),mt=qc(),Bt=Va(!1),Qt=Va(!1),Cr=Va(!1),Rr=Va(null),St=jc(null),$t=jc(null),Vt=jc(De),Pr=pa(()=>f&&Qt.value);let nn,Sn;const Wn=()=>{f&&nn&&nn.abort()},Mi=vn=>{Qt.value=vn,Bt.value=!vn};Le&&(Sn=gy(Wn,Le,{immediate:!1}));const mi=async(vn=!1)=>{var we;Mi(!0),$t.value=null,Rr.value=null,Cr.value=!1,nn=void 0,f&&(nn=new AbortController,nn.signal.onabort=()=>Cr.value=!0,v=Ic(Wo({},v),{signal:nn.signal}));const tn={method:K.method,headers:{}};if(K.payload){const ls=Jp(tn.headers);K.payloadType&&(ls["Content-Type"]=(we=rD[K.payloadType])!=null?we:K.payloadType),tn.body=K.payloadType==="json"?JSON.stringify(Oi(K.payload)):Oi(K.payload)}let yr=!1;const wn={url:Oi(i),options:Wo(Wo({},tn),v),cancel:()=>{yr=!0}};if(B.beforeFetch&&Object.assign(wn,await B.beforeFetch(wn)),yr||!de)return Mi(!1),Promise.resolve(null);let ei=null;return Sn&&Sn.start(),new Promise((ls,As)=>{var _s;de(wn.url,Ic(Wo(Wo({},tn),wn.options),{headers:Wo(Wo({},Jp(tn.headers)),Jp((_s=wn.options)==null?void 0:_s.headers))})).then(async qi=>{if(St.value=qi,Rr.value=qi.status,ei=await qi[K.type](),B.afterFetch&&Rr.value>=200&&Rr.value<300&&({data:ei}=await B.afterFetch({data:ei,response:qi})),Vt.value=ei,!qi.ok)throw new Error(qi.statusText);return ze.trigger(qi),ls(qi)}).catch(async qi=>{let Ps=qi.message||qi.name;return B.onFetchError&&({data:ei,error:Ps}=await B.onFetchError({data:ei,error:qi,response:St.value})),Vt.value=ei,$t.value=Ps,it.trigger(qi),vn?As(qi):ls(null)}).finally(()=>{Mi(!1),Sn&&Sn.stop(),mt.trigger(null)})})};to(()=>[Oi(i),Oi(B.refetch)],()=>Oi(B.refetch)&&mi(),{deep:!0});const Un={isFinished:Bt,statusCode:Rr,response:St,error:$t,data:Vt,isFetching:Qt,canAbort:Pr,aborted:Cr,abort:Wn,execute:mi,onFetchResponse:ze.on,onFetchError:it.on,onFetchFinally:mt.on,get:Nn("GET"),put:Nn("PUT"),post:Nn("POST"),delete:Nn("DELETE"),patch:Nn("PATCH"),head:Nn("HEAD"),options:Nn("OPTIONS"),json:Dr("json"),text:Dr("text"),blob:Dr("blob"),arrayBuffer:Dr("arrayBuffer"),formData:Dr("formData")};function Nn(vn){return(we,tn)=>{if(!Qt.value)return K.method=vn,K.payload=we,K.payloadType=tn,ka(K.payload)&&to(()=>[Oi(K.payload),Oi(B.refetch)],()=>Oi(B.refetch)&&mi(),{deep:!0}),!tn&&Oi(we)&&Object.getPrototypeOf(Oi(we))===Object.prototype&&(K.payloadType="json"),Ic(Wo({},Un),{then(yr,wn){return Ai().then(yr,wn)}})}}function Ai(){return new Promise((vn,we)=>{my(Bt).toBe(!0).then(()=>vn(Un)).catch(tn=>we(tn))})}function Dr(vn){return()=>{if(!Qt.value)return K.type=vn,Ic(Wo({},Un),{then(we,tn){return Ai().then(we,tn)}})}}return B.immediate&&setTimeout(mi,0),Ic(Wo({},Un),{then(vn,we){return Ai().then(vn,we)}})}function K1(i,c,l={}){const{window:f=Il}=l;return sm(i,c,f==null?void 0:f.localStorage,l)}var If;(function(i){i.UP="UP",i.RIGHT="RIGHT",i.DOWN="DOWN",i.LEFT="LEFT",i.NONE="NONE"})(If||(If={}));function nD(i,c,l,f={}){var v;const{passive:B=!1,eventName:K,deep:de=!1,defaultValue:De}=f,Le=Lh(),ze=l||(Le==null?void 0:Le.emit)||((v=Le==null?void 0:Le.$emit)==null?void 0:v.bind(Le));let it=K;c||(c="modelValue"),it=K||it||`update:${c.toString()}`;const mt=()=>ay(i[c])?i[c]:De;if(B){const Bt=Va(mt());return to(()=>i[c],Qt=>Bt.value=Qt),to(Bt,Qt=>{(Qt!==i[c]||de)&&ze(it,Qt)},{deep:de}),Bt}else return pa({get(){return mt()},set(Bt){ze(it,Bt)}})}function iD(i){const c=i.length;let l=-1,f,v="";const B=i.charCodeAt(0);for(;++l<c;){if(f=i.charCodeAt(l),f===0){v+="\uFFFD";continue}if(f===44){v+="\\,";continue}if(f>=1&&f<=31||f===127||l===0&&f>=48&&f<=57||l===1&&f>=48&&f<=57&&B===45){v+=`\\${f.toString(16)} `;continue}if(l===0&&c===1&&f===45){v+=`\\${i.charAt(l)}`;continue}if(f>=128||f===45||f===95||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122){v+=i.charAt(l);continue}v+=`\\${i.charAt(l)}`}return v}const Of=iD,sD=/^\[(.+?)~?="(.*)"\]$/,aD=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function oD(i){return i.match(sD)}function Y1(i=""){return aD.test(i)}function uD(i,c){const l=[],f=[],v=new Set;Array.from(c).forEach(K=>{const de=oD(K);de?de[2]?f.push(de):v.add(de[1]):v.add(K)});let B=0;return i.split(/[\s"'`;<>]/g).forEach(K=>{const de=B+K.length;v.has(K)&&l.push([B,de,K]),B=de+1}),f.forEach(([,K,de])=>{const De=new RegExp(`(${Of(K)}=)(['"])[^\\2]*?${Of(de)}[^\\2]*?\\2`,"g");Array.from(i.matchAll(De)).forEach(Le=>{const ze=Le[1],mt=Le[0].slice(ze.length).indexOf(de);if(mt<0)return;const Bt=Le.index+ze.length+mt,Qt=Bt+de.length;l.push([Bt,Qt,`[${K}="${de}"]`])})}),l}var Ol=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Up(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Ml={exports:{}};(function(i,c){(function(l,f){i.exports=f()})(Ol,function(){var l=navigator.userAgent,f=navigator.platform,v=/gecko\/\d/i.test(l),B=/MSIE \d/.test(l),K=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(l),de=/Edge\/(\d+)/.exec(l),De=B||K||de,Le=De&&(B?document.documentMode||6:+(de||K)[1]),ze=!de&&/WebKit\//.test(l),it=ze&&/Qt\/\d+\.\d+/.test(l),mt=!de&&/Chrome\/(\d+)/.exec(l),Bt=mt&&+mt[1],Qt=/Opera\//.test(l),Cr=/Apple Computer/.test(navigator.vendor),Rr=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(l),St=/PhantomJS/.test(l),$t=Cr&&(/Mobile\/\w+/.test(l)||navigator.maxTouchPoints>2),Vt=/Android/.test(l),Pr=$t||Vt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(l),nn=$t||/Mac/.test(f),Sn=/\bCrOS\b/.test(l),Wn=/win/i.test(f),Mi=Qt&&l.match(/Version\/(\d*\.\d*)/);Mi&&(Mi=Number(Mi[1])),Mi&&Mi>=15&&(Qt=!1,ze=!0);var mi=nn&&(it||Qt&&(Mi==null||Mi<12.11)),Un=v||De&&Le>=9;function Nn(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var Ai=function(e,r){var o=e.className,a=Nn(r).exec(o);if(a){var s=o.slice(a.index+a[0].length);e.className=o.slice(0,a.index)+(s?a[1]+s:"")}};function Dr(e){for(var r=e.childNodes.length;r>0;--r)e.removeChild(e.firstChild);return e}function vn(e,r){return Dr(e).appendChild(r)}function we(e,r,o,a){var s=document.createElement(e);if(o&&(s.className=o),a&&(s.style.cssText=a),typeof r=="string")s.appendChild(document.createTextNode(r));else if(r)for(var h=0;h<r.length;++h)s.appendChild(r[h]);return s}function tn(e,r,o,a){var s=we(e,r,o,a);return s.setAttribute("role","presentation"),s}var yr;document.createRange?yr=function(e,r,o,a){var s=document.createRange();return s.setEnd(a||e,o),s.setStart(e,r),s}:yr=function(e,r,o){var a=document.body.createTextRange();try{a.moveToElementText(e.parentNode)}catch{return a}return a.collapse(!0),a.moveEnd("character",o),a.moveStart("character",r),a};function wn(e,r){if(r.nodeType==3&&(r=r.parentNode),e.contains)return e.contains(r);do if(r.nodeType==11&&(r=r.host),r==e)return!0;while(r=r.parentNode)}function ei(){var e;try{e=document.activeElement}catch{e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function ls(e,r){var o=e.className;Nn(r).test(o)||(e.className+=(o?" ":"")+r)}function As(e,r){for(var o=e.split(" "),a=0;a<o.length;a++)o[a]&&!Nn(o[a]).test(r)&&(r+=" "+o[a]);return r}var _s=function(e){e.select()};$t?_s=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:De&&(_s=function(e){try{e.select()}catch{}});function qi(e){var r=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,r)}}function Ps(e,r,o){r||(r={});for(var a in e)e.hasOwnProperty(a)&&(o!==!1||!r.hasOwnProperty(a))&&(r[a]=e[a]);return r}function Or(e,r,o,a,s){r==null&&(r=e.search(/[^\s\u00a0]/),r==-1&&(r=e.length));for(var h=a||0,d=s||0;;){var F=e.indexOf(" ",h);if(F<0||F>=r)return d+(r-h);d+=F-h,d+=o-d%o,h=F+1}}var Kr=function(){this.id=null,this.f=null,this.time=0,this.handler=qi(this.onTimeout,this)};Kr.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},Kr.prototype.set=function(e,r){this.f=r;var o=+new Date+e;(!this.id||o<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=o)};function mr(e,r){for(var o=0;o<e.length;++o)if(e[o]==r)return o;return-1}var dn=50,ai={toString:function(){return"CodeMirror.Pass"}},Jn={scroll:!1},zn={origin:"*mouse"},ui={origin:"+move"};function ct(e,r,o){for(var a=0,s=0;;){var h=e.indexOf(" ",a);h==-1&&(h=e.length);var d=h-a;if(h==e.length||s+d>=r)return a+Math.min(d,r-s);if(s+=h-a,s+=o-s%o,a=h+1,s>=r)return a}}var Ot=[""];function br(e){for(;Ot.length<=e;)Ot.push(sr(Ot)+" ");return Ot[e]}function sr(e){return e[e.length-1]}function Jr(e,r){for(var o=[],a=0;a<e.length;a++)o[a]=r(e[a],a);return o}function fn(e,r,o){for(var a=0,s=o(r);a<e.length&&o(e[a])<=s;)a++;e.splice(a,0,r)}function mn(){}function Fn(e,r){var o;return Object.create?o=Object.create(e):(mn.prototype=e,o=new mn),r&&Ps(r,o),o}var hn=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function lt(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||hn.test(e))}function Er(e,r){return r?r.source.indexOf("\\w")>-1&<(e)?!0:r.test(e):lt(e)}function Mt(e){for(var r in e)if(e.hasOwnProperty(r)&&e[r])return!1;return!0}var jn=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function gi(e){return e.charCodeAt(0)>=768&&jn.test(e)}function ns(e,r,o){for(;(o<0?r>0:r<e.length)&&gi(e.charAt(r));)r+=o;return r}function is(e,r,o){for(var a=r>o?-1:1;;){if(r==o)return r;var s=(r+o)/2,h=a<0?Math.ceil(s):Math.floor(s);if(h==r)return e(h)?r:o;e(h)?o=h:r=h+a}}function cs(e,r,o,a){if(!e)return a(r,o,"ltr",0);for(var s=!1,h=0;h<e.length;++h){var d=e[h];(d.from<o&&d.to>r||r==o&&d.to==r)&&(a(Math.max(d.from,r),Math.min(d.to,o),d.level==1?"rtl":"ltr",h),s=!0)}s||a(r,o,"ltr")}var Hi=null;function Ls(e,r,o){var a;Hi=null;for(var s=0;s<e.length;++s){var h=e[s];if(h.from<r&&h.to>r)return s;h.to==r&&(h.from!=h.to&&o=="before"?a=s:Hi=s),h.from==r&&(h.from!=h.to&&o!="before"?a=s:Hi=s)}return a!=null?a:Hi}var $n=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",r="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function o(H){return H<=247?e.charAt(H):1424<=H&&H<=1524?"R":1536<=H&&H<=1785?r.charAt(H-1536):1774<=H&&H<=2220?"r":8192<=H&&H<=8203?"w":H==8204?"b":"L"}var a=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,s=/[stwN]/,h=/[LRr]/,d=/[Lb1n]/,F=/[1n]/;function M(H,Ne,Fe){this.level=H,this.from=Ne,this.to=Fe}return function(H,Ne){var Fe=Ne=="ltr"?"L":"R";if(H.length==0||Ne=="ltr"&&!a.test(H))return!1;for(var kt=H.length,Qe=[],or=0;or<kt;++or)Qe.push(o(H.charCodeAt(or)));for(var qt=0,xr=Fe;qt<kt;++qt){var Xr=Qe[qt];Xr=="m"?Qe[qt]=xr:xr=Xr}for(var cr=0,Fr=Fe;cr<kt;++cr){var Zr=Qe[cr];Zr=="1"&&Fr=="r"?Qe[cr]="n":h.test(Zr)&&(Fr=Zr,Zr=="r"&&(Qe[cr]="R"))}for(var ft=1,Pn=Qe[0];ft<kt-1;++ft){var qn=Qe[ft];qn=="+"&&Pn=="1"&&Qe[ft+1]=="1"?Qe[ft]="1":qn==","&&Pn==Qe[ft+1]&&(Pn=="1"||Pn=="n")&&(Qe[ft]=Pn),Pn=qn}for(var Ei=0;Ei<kt;++Ei){var Ns=Qe[Ei];if(Ns==",")Qe[Ei]="N";else if(Ns=="%"){var fs=void 0;for(fs=Ei+1;fs<kt&&Qe[fs]=="%";++fs);for(var ca=Ei&&Qe[Ei-1]=="!"||fs<kt&&Qe[fs]=="1"?"1":"N",Be=Ei;Be<fs;++Be)Qe[Be]=ca;Ei=fs-1}}for(var er=0,Tn=Fe;er<kt;++er){var Pi=Qe[er];Tn=="L"&&Pi=="1"?Qe[er]="L":h.test(Pi)&&(Tn=Pi)}for(var _i=0;_i<kt;++_i)if(s.test(Qe[_i])){var ds=void 0;for(ds=_i+1;ds<kt&&s.test(Qe[ds]);++ds);for(var bs=(_i?Qe[_i-1]:Fe)=="L",Bs=(ds<kt?Qe[ds]:Fe)=="L",$i=bs==Bs?bs?"L":"R":Fe,Ki=_i;Ki<ds;++Ki)Qe[Ki]=$i;_i=ds-1}for(var wa=[],Nu,Fa=0;Fa<kt;)if(d.test(Qe[Fa])){var cc=Fa;for(++Fa;Fa<kt&&d.test(Qe[Fa]);++Fa);wa.push(new M(0,cc,Fa))}else{var Bu=Fa,kl=wa.length,ml=Ne=="rtl"?1:0;for(++Fa;Fa<kt&&Qe[Fa]!="L";++Fa);for(var Wa=Bu;Wa<Fa;)if(F.test(Qe[Wa])){Bu<Wa&&(wa.splice(kl,0,new M(1,Bu,Wa)),kl+=ml);var pc=Wa;for(++Wa;Wa<Fa&&F.test(Qe[Wa]);++Wa);wa.splice(kl,0,new M(2,pc,Wa)),kl+=ml,Bu=Wa}else++Wa;Bu<Fa&&wa.splice(kl,0,new M(1,Bu,Fa))}return Ne=="ltr"&&(wa[0].level==1&&(Nu=H.match(/^\s+/))&&(wa[0].from=Nu[0].length,wa.unshift(new M(0,0,Nu[0].length))),sr(wa).level==1&&(Nu=H.match(/\s+$/))&&(sr(wa).to-=Nu[0].length,wa.push(new M(0,kt-Nu[0].length,kt)))),Ne=="rtl"?wa.reverse():wa}}();function Sr(e,r){var o=e.order;return o==null&&(o=e.order=$n(e.text,r)),o}var Br=[],Gt=function(e,r,o){if(e.addEventListener)e.addEventListener(r,o,!1);else if(e.attachEvent)e.attachEvent("on"+r,o);else{var a=e._handlers||(e._handlers={});a[r]=(a[r]||Br).concat(o)}};function Vr(e,r){return e._handlers&&e._handlers[r]||Br}function ur(e,r,o){if(e.removeEventListener)e.removeEventListener(r,o,!1);else if(e.detachEvent)e.detachEvent("on"+r,o);else{var a=e._handlers,s=a&&a[r];if(s){var h=mr(s,o);h>-1&&(a[r]=s.slice(0,h).concat(s.slice(h+1)))}}}function gn(e,r){var o=Vr(e,r);if(!!o.length)for(var a=Array.prototype.slice.call(arguments,2),s=0;s<o.length;++s)o[s].apply(null,a)}function zt(e,r,o){return typeof r=="string"&&(r={type:r,preventDefault:function(){this.defaultPrevented=!0}}),gn(e,o||r.type,e,r),Xt(r)||r.codemirrorIgnore}function Kn(e){var r=e._handlers&&e._handlers.cursorActivity;if(!!r)for(var o=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),a=0;a<r.length;++a)mr(o,r[a])==-1&&o.push(r[a])}function Ar(e,r){return Vr(e,r).length>0}function Pt(e){e.prototype.on=function(r,o){Gt(this,r,o)},e.prototype.off=function(r,o){ur(this,r,o)}}function Re(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Nt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Xt(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function tr(e){Re(e),Nt(e)}function zr(e){return e.target||e.srcElement}function on(e){var r=e.which;return r==null&&(e.button&1?r=1:e.button&2?r=3:e.button&4&&(r=2)),nn&&e.ctrlKey&&r==1&&(r=3),r}var jt=function(){if(De&&Le<9)return!1;var e=we("div");return"draggable"in e||"dragDrop"in e}(),Ie;function ce(e){if(Ie==null){var r=we("span","\u200B");vn(e,we("span",[r,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Ie=r.offsetWidth<=1&&r.offsetHeight>2&&!(De&&Le<8))}var o=Ie?we("span","\u200B"):we("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}var fe;function Ee(e){if(fe!=null)return fe;var r=vn(e,document.createTextNode("A\u062EA")),o=yr(r,0,1).getBoundingClientRect(),a=yr(r,1,2).getBoundingClientRect();return Dr(e),!o||o.left==o.right?!1:fe=a.right-o.right<3}var Ce=`
|
|
2
|
-
|
|
3
|
-
b`.split(/\n/).length!=3?function(e){for(var r=0,o=[],a=e.length;r<=a;){var s=e.indexOf(`
|
|
4
|
-
`,r);s==-1&&(s=e.length);var h=e.slice(r,e.charAt(s-1)=="\r"?s-1:s),d=h.indexOf("\r");d!=-1?(o.push(h.slice(0,d)),r+=d+1):(o.push(h),r=s+1)}return o}:function(e){return e.split(/\r\n?|\n/)},He=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var r;try{r=e.ownerDocument.selection.createRange()}catch{}return!r||r.parentElement()!=e?!1:r.compareEndPoints("StartToEnd",r)!=0},et=function(){var e=we("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),st=null;function Dt(e){if(st!=null)return st;var r=vn(e,we("span","x")),o=r.getBoundingClientRect(),a=yr(r,0,1).getBoundingClientRect();return st=Math.abs(o.left-a.left)>1}var Wt={},nr={};function wr(e,r){arguments.length>2&&(r.dependencies=Array.prototype.slice.call(arguments,2)),Wt[e]=r}function Ur(e,r){nr[e]=r}function Qr(e){if(typeof e=="string"&&nr.hasOwnProperty(e))e=nr[e];else if(e&&typeof e.name=="string"&&nr.hasOwnProperty(e.name)){var r=nr[e.name];typeof r=="string"&&(r={name:r}),e=Fn(r,e),e.name=r.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Qr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Qr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function rn(e,r){r=Qr(r);var o=Wt[r.name];if(!o)return rn(e,"text/plain");var a=o(e,r);if(kr.hasOwnProperty(r.name)){var s=kr[r.name];for(var h in s)!s.hasOwnProperty(h)||(a.hasOwnProperty(h)&&(a["_"+h]=a[h]),a[h]=s[h])}if(a.name=r.name,r.helperType&&(a.helperType=r.helperType),r.modeProps)for(var d in r.modeProps)a[d]=r.modeProps[d];return a}var kr={};function kn(e,r){var o=kr.hasOwnProperty(e)?kr[e]:kr[e]={};Ps(r,o)}function ci(e,r){if(r===!0)return r;if(e.copyState)return e.copyState(r);var o={};for(var a in r){var s=r[a];s instanceof Array&&(s=s.concat([])),o[a]=s}return o}function yn(e,r){for(var o;e.innerMode&&(o=e.innerMode(r),!(!o||o.mode==e));)r=o.state,e=o.mode;return o||{mode:e,state:r}}function Yi(e,r,o){return e.startState?e.startState(r,o):!0}var yi=function(e,r,o){this.pos=this.start=0,this.string=e,this.tabSize=r||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=o};yi.prototype.eol=function(){return this.pos>=this.string.length},yi.prototype.sol=function(){return this.pos==this.lineStart},yi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},yi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},yi.prototype.eat=function(e){var r=this.string.charAt(this.pos),o;if(typeof e=="string"?o=r==e:o=r&&(e.test?e.test(r):e(r)),o)return++this.pos,r},yi.prototype.eatWhile=function(e){for(var r=this.pos;this.eat(e););return this.pos>r},yi.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},yi.prototype.skipToEnd=function(){this.pos=this.string.length},yi.prototype.skipTo=function(e){var r=this.string.indexOf(e,this.pos);if(r>-1)return this.pos=r,!0},yi.prototype.backUp=function(e){this.pos-=e},yi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Or(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Or(this.string,this.lineStart,this.tabSize):0)},yi.prototype.indentation=function(){return Or(this.string,null,this.tabSize)-(this.lineStart?Or(this.string,this.lineStart,this.tabSize):0)},yi.prototype.match=function(e,r,o){if(typeof e=="string"){var a=function(d){return o?d.toLowerCase():d},s=this.string.substr(this.pos,e.length);if(a(s)==a(e))return r!==!1&&(this.pos+=e.length),!0}else{var h=this.string.slice(this.pos).match(e);return h&&h.index>0?null:(h&&r!==!1&&(this.pos+=h[0].length),h)}},yi.prototype.current=function(){return this.string.slice(this.start,this.pos)},yi.prototype.hideFirstChars=function(e,r){this.lineStart+=e;try{return r()}finally{this.lineStart-=e}},yi.prototype.lookAhead=function(e){var r=this.lineOracle;return r&&r.lookAhead(e)},yi.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Xe(e,r){if(r-=e.first,r<0||r>=e.size)throw new Error("There is no line "+(r+e.first)+" in the document.");for(var o=e;!o.lines;)for(var a=0;;++a){var s=o.children[a],h=s.chunkSize();if(r<h){o=s;break}r-=h}return o.lines[r]}function ys(e,r,o){var a=[],s=r.line;return e.iter(r.line,o.line+1,function(h){var d=h.text;s==o.line&&(d=d.slice(0,o.ch)),s==r.line&&(d=d.slice(r.ch)),a.push(d),++s}),a}function Li(e,r,o){var a=[];return e.iter(r,o,function(s){a.push(s.text)}),a}function Di(e,r){var o=r-e.height;if(o)for(var a=e;a;a=a.parent)a.height+=o}function ti(e){if(e.parent==null)return null;for(var r=e.parent,o=mr(r.lines,e),a=r.parent;a;r=a,a=a.parent)for(var s=0;a.children[s]!=r;++s)o+=a.children[s].chunkSize();return o+r.first}function Gn(e,r){var o=e.first;e:do{for(var a=0;a<e.children.length;++a){var s=e.children[a],h=s.height;if(r<h){e=s;continue e}r-=h,o+=s.chunkSize()}return o}while(!e.lines);for(var d=0;d<e.lines.length;++d){var F=e.lines[d],M=F.height;if(r<M)break;r-=M}return o+d}function $s(e,r){return r>=e.first&&r<e.first+e.size}function js(e,r){return String(e.lineNumberFormatter(r+e.firstLineNumber))}function S(e,r,o){if(o===void 0&&(o=null),!(this instanceof S))return new S(e,r,o);this.line=e,this.ch=r,this.sticky=o}function Je(e,r){return e.line-r.line||e.ch-r.ch}function Mr(e,r){return e.sticky==r.sticky&&Je(e,r)==0}function an(e){return S(e.line,e.ch)}function li(e,r){return Je(e,r)<0?r:e}function ss(e,r){return Je(e,r)<0?e:r}function es(e,r){return Math.max(e.first,Math.min(r,e.first+e.size-1))}function ni(e,r){if(r.line<e.first)return S(e.first,0);var o=e.first+e.size-1;return r.line>o?S(o,Xe(e,o).text.length):qs(r,Xe(e,r.line).text.length)}function qs(e,r){var o=e.ch;return o==null||o>r?S(e.line,r):o<0?S(e.line,0):e}function Xo(e,r){for(var o=[],a=0;a<r.length;a++)o[a]=ni(e,r[a]);return o}var Io=function(e,r){this.state=e,this.lookAhead=r},Ma=function(e,r,o,a){this.state=r,this.doc=e,this.line=o,this.maxLookAhead=a||0,this.baseTokens=null,this.baseTokenPos=1};Ma.prototype.lookAhead=function(e){var r=this.doc.getLine(this.line+e);return r!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),r},Ma.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var r=this.baseTokens[this.baseTokenPos+1];return{type:r&&r.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Ma.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Ma.fromSaved=function(e,r,o){return r instanceof Io?new Ma(e,ci(e.mode,r.state),o,r.lookAhead):new Ma(e,ci(e.mode,r),o)},Ma.prototype.save=function(e){var r=e!==!1?ci(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Io(r,this.maxLookAhead):r};function du(e,r,o,a){var s=[e.state.modeGen],h={};Du(e,r.text,e.doc.mode,o,function(H,Ne){return s.push(H,Ne)},h,a);for(var d=o.state,F=function(H){o.baseTokens=s;var Ne=e.state.overlays[H],Fe=1,kt=0;o.state=!0,Du(e,r.text,Ne.mode,o,function(Qe,or){for(var qt=Fe;kt<Qe;){var xr=s[Fe];xr>Qe&&s.splice(Fe,1,Qe,s[Fe+1],xr),Fe+=2,kt=Math.min(Qe,xr)}if(!!or)if(Ne.opaque)s.splice(qt,Fe-qt,Qe,"overlay "+or),Fe=qt+2;else for(;qt<Fe;qt+=2){var Xr=s[qt+1];s[qt+1]=(Xr?Xr+" ":"")+"overlay "+or}},h),o.state=d,o.baseTokens=null,o.baseTokenPos=1},M=0;M<e.state.overlays.length;++M)F(M);return{styles:s,classes:h.bgClass||h.textClass?h:null}}function mu(e,r,o){if(!r.styles||r.styles[0]!=e.state.modeGen){var a=fo(e,ti(r)),s=r.text.length>e.options.maxHighlightLength&&ci(e.doc.mode,a.state),h=du(e,r,a);s&&(a.state=s),r.stateAfter=a.save(!s),r.styles=h.styles,h.classes?r.styleClasses=h.classes:r.styleClasses&&(r.styleClasses=null),o===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return r.styles}function fo(e,r,o){var a=e.doc,s=e.display;if(!a.mode.startState)return new Ma(a,!0,r);var h=wi(e,r,o),d=h>a.first&&Xe(a,h-1).stateAfter,F=d?Ma.fromSaved(a,d,h):new Ma(a,Yi(a.mode),h);return a.iter(h,r,function(M){mo(e,M.text,F);var H=F.line;M.stateAfter=H==r-1||H%5==0||H>=s.viewFrom&&H<s.viewTo?F.save():null,F.nextLine()}),o&&(a.modeFrontier=F.line),F}function mo(e,r,o,a){var s=e.doc.mode,h=new yi(r,e.options.tabSize,o);for(h.start=h.pos=a||0,r==""&&Jo(s,o.state);!h.eol();)gu(s,h,o.state),h.start=h.pos}function Jo(e,r){if(e.blankLine)return e.blankLine(r);if(!!e.innerMode){var o=yn(e,r);if(o.mode.blankLine)return o.mode.blankLine(o.state)}}function gu(e,r,o,a){for(var s=0;s<10;s++){a&&(a[0]=yn(e,o).mode);var h=e.token(r,o);if(r.pos>r.start)return h}throw new Error("Mode "+e.name+" failed to advance stream.")}var yu=function(e,r,o){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=r||null,this.state=o};function Ko(e,r,o,a){var s=e.doc,h=s.mode,d;r=ni(s,r);var F=Xe(s,r.line),M=fo(e,r.line,o),H=new yi(F.text,e.options.tabSize,M),Ne;for(a&&(Ne=[]);(a||H.pos<r.ch)&&!H.eol();)H.start=H.pos,d=gu(h,H,M.state),a&&Ne.push(new yu(H,d,ci(s.mode,M.state)));return a?Ne:new yu(H,d,M.state)}function _u(e,r){if(e)for(;;){var o=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!o)break;e=e.slice(0,o.index)+e.slice(o.index+o[0].length);var a=o[1]?"bgClass":"textClass";r[a]==null?r[a]=o[2]:new RegExp("(?:^|\\s)"+o[2]+"(?:$|\\s)").test(r[a])||(r[a]+=" "+o[2])}return e}function Du(e,r,o,a,s,h,d){var F=o.flattenSpans;F==null&&(F=e.options.flattenSpans);var M=0,H=null,Ne=new yi(r,e.options.tabSize,a),Fe,kt=e.options.addModeClass&&[null];for(r==""&&_u(Jo(o,a.state),h);!Ne.eol();){if(Ne.pos>e.options.maxHighlightLength?(F=!1,d&&mo(e,r,a,Ne.pos),Ne.pos=r.length,Fe=null):Fe=_u(gu(o,Ne,a.state,kt),h),kt){var Qe=kt[0].name;Qe&&(Fe="m-"+(Fe?Qe+" "+Fe:Qe))}if(!F||H!=Fe){for(;M<Ne.start;)M=Math.min(Ne.start,M+5e3),s(M,H);H=Fe}Ne.start=Ne.pos}for(;M<Ne.pos;){var or=Math.min(Ne.pos,M+5e3);s(or,H),M=or}}function wi(e,r,o){for(var a,s,h=e.doc,d=o?-1:r-(e.doc.mode.innerMode?1e3:100),F=r;F>d;--F){if(F<=h.first)return h.first;var M=Xe(h,F-1),H=M.stateAfter;if(H&&(!o||F+(H instanceof Io?H.lookAhead:0)<=h.modeFrontier))return F;var Ne=Or(M.text,null,e.options.tabSize);(s==null||a>Ne)&&(s=F-1,a=Ne)}return s}function Iu(e,r){if(e.modeFrontier=Math.min(e.modeFrontier,r),!(e.highlightFrontier<r-10)){for(var o=e.first,a=r-1;a>o;a--){var s=Xe(e,a).stateAfter;if(s&&(!(s instanceof Io)||a+s.lookAhead<r)){o=a+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,o)}}var Ou=!1,Ga=!1;function rl(){Ou=!0}function Lu(){Ga=!0}function vu(e,r,o){this.marker=e,this.from=r,this.to=o}function Oo(e,r){if(e)for(var o=0;o<e.length;++o){var a=e[o];if(a.marker==r)return a}}function Na(e,r){for(var o,a=0;a<e.length;++a)e[a]!=r&&(o||(o=[])).push(e[a]);return o}function nl(e,r,o){var a=o&&window.WeakSet&&(o.markedSpans||(o.markedSpans=new WeakSet));a&&e.markedSpans&&a.has(e.markedSpans)?e.markedSpans.push(r):(e.markedSpans=e.markedSpans?e.markedSpans.concat([r]):[r],a&&a.add(e.markedSpans)),r.marker.attachLine(e)}function Mu(e,r,o){var a;if(e)for(var s=0;s<e.length;++s){var h=e[s],d=h.marker,F=h.from==null||(d.inclusiveLeft?h.from<=r:h.from<r);if(F||h.from==r&&d.type=="bookmark"&&(!o||!h.marker.insertLeft)){var M=h.to==null||(d.inclusiveRight?h.to>=r:h.to>r);(a||(a=[])).push(new vu(d,h.from,M?null:h.to))}}return a}function il(e,r,o){var a;if(e)for(var s=0;s<e.length;++s){var h=e[s],d=h.marker,F=h.to==null||(d.inclusiveRight?h.to>=r:h.to>r);if(F||h.from==r&&d.type=="bookmark"&&(!o||h.marker.insertLeft)){var M=h.from==null||(d.inclusiveLeft?h.from<=r:h.from<r);(a||(a=[])).push(new vu(d,M?null:h.from-r,h.to==null?null:h.to-r))}}return a}function ju(e,r){if(r.full)return null;var o=$s(e,r.from.line)&&Xe(e,r.from.line).markedSpans,a=$s(e,r.to.line)&&Xe(e,r.to.line).markedSpans;if(!o&&!a)return null;var s=r.from.ch,h=r.to.ch,d=Je(r.from,r.to)==0,F=Mu(o,s,d),M=il(a,h,d),H=r.text.length==1,Ne=sr(r.text).length+(H?s:0);if(F)for(var Fe=0;Fe<F.length;++Fe){var kt=F[Fe];if(kt.to==null){var Qe=Oo(M,kt.marker);Qe?H&&(kt.to=Qe.to==null?null:Qe.to+Ne):kt.to=s}}if(M)for(var or=0;or<M.length;++or){var qt=M[or];if(qt.to!=null&&(qt.to+=Ne),qt.from==null){var xr=Oo(F,qt.marker);xr||(qt.from=Ne,H&&(F||(F=[])).push(qt))}else qt.from+=Ne,H&&(F||(F=[])).push(qt)}F&&(F=sl(F)),M&&M!=F&&(M=sl(M));var Xr=[F];if(!H){var cr=r.text.length-2,Fr;if(cr>0&&F)for(var Zr=0;Zr<F.length;++Zr)F[Zr].to==null&&(Fr||(Fr=[])).push(new vu(F[Zr].marker,null,null));for(var ft=0;ft<cr;++ft)Xr.push(Fr);Xr.push(M)}return Xr}function sl(e){for(var r=0;r<e.length;++r){var o=e[r];o.from!=null&&o.from==o.to&&o.marker.clearWhenEmpty!==!1&&e.splice(r--,1)}return e.length?e:null}function xu(e,r,o){var a=null;if(e.iter(r.line,o.line+1,function(Qe){if(Qe.markedSpans)for(var or=0;or<Qe.markedSpans.length;++or){var qt=Qe.markedSpans[or].marker;qt.readOnly&&(!a||mr(a,qt)==-1)&&(a||(a=[])).push(qt)}}),!a)return null;for(var s=[{from:r,to:o}],h=0;h<a.length;++h)for(var d=a[h],F=d.find(0),M=0;M<s.length;++M){var H=s[M];if(!(Je(H.to,F.from)<0||Je(H.from,F.to)>0)){var Ne=[M,1],Fe=Je(H.from,F.from),kt=Je(H.to,F.to);(Fe<0||!d.inclusiveLeft&&!Fe)&&Ne.push({from:H.from,to:F.from}),(kt>0||!d.inclusiveRight&&!kt)&&Ne.push({from:F.to,to:H.to}),s.splice.apply(s,Ne),M+=Ne.length-3}}return s}function Ba(e){var r=e.markedSpans;if(!!r){for(var o=0;o<r.length;++o)r[o].marker.detachLine(e);e.markedSpans=null}}function Ws(e,r){if(!!r){for(var o=0;o<r.length;++o)r[o].marker.attachLine(e);e.markedSpans=r}}function fa(e){return e.inclusiveLeft?-1:0}function Ta(e){return e.inclusiveRight?1:0}function Xa(e,r){var o=e.lines.length-r.lines.length;if(o!=0)return o;var a=e.find(),s=r.find(),h=Je(a.from,s.from)||fa(e)-fa(r);if(h)return-h;var d=Je(a.to,s.to)||Ta(e)-Ta(r);return d||r.id-e.id}function _a(e,r){var o=Ga&&e.markedSpans,a;if(o)for(var s=void 0,h=0;h<o.length;++h)s=o[h],s.marker.collapsed&&(r?s.from:s.to)==null&&(!a||Xa(a,s.marker)<0)&&(a=s.marker);return a}function Yo(e){return _a(e,!0)}function Lo(e){return _a(e,!1)}function Qi(e,r){var o=Ga&&e.markedSpans,a;if(o)for(var s=0;s<o.length;++s){var h=o[s];h.marker.collapsed&&(h.from==null||h.from<r)&&(h.to==null||h.to>r)&&(!a||Xa(a,h.marker)<0)&&(a=h.marker)}return a}function bu(e,r,o,a,s){var h=Xe(e,r),d=Ga&&h.markedSpans;if(d)for(var F=0;F<d.length;++F){var M=d[F];if(!!M.marker.collapsed){var H=M.marker.find(0),Ne=Je(H.from,o)||fa(M.marker)-fa(s),Fe=Je(H.to,a)||Ta(M.marker)-Ta(s);if(!(Ne>=0&&Fe<=0||Ne<=0&&Fe>=0)&&(Ne<=0&&(M.marker.inclusiveRight&&s.inclusiveLeft?Je(H.to,o)>=0:Je(H.to,o)>0)||Ne>=0&&(M.marker.inclusiveRight&&s.inclusiveLeft?Je(H.from,a)<=0:Je(H.from,a)<0)))return!0}}}function Sa(e){for(var r;r=Yo(e);)e=r.find(-1,!0).line;return e}function Qo(e){for(var r;r=Lo(e);)e=r.find(1,!0).line;return e}function Cu(e){for(var r,o;r=Lo(e);)e=r.find(1,!0).line,(o||(o=[])).push(e);return o}function bo(e,r){var o=Xe(e,r),a=Sa(o);return o==a?r:ti(a)}function Zo(e,r){if(r>e.lastLine())return r;var o=Xe(e,r),a;if(!ja(e,o))return r;for(;a=Lo(o);)o=a.find(1,!0).line;return ti(o)+1}function ja(e,r){var o=Ga&&r.markedSpans;if(o){for(var a=void 0,s=0;s<o.length;++s)if(a=o[s],!!a.marker.collapsed){if(a.from==null)return!0;if(!a.marker.widgetNode&&a.from==0&&a.marker.inclusiveLeft&&go(e,r,a))return!0}}}function go(e,r,o){if(o.to==null){var a=o.marker.find(1,!0);return go(e,a.line,Oo(a.line.markedSpans,o.marker))}if(o.marker.inclusiveRight&&o.to==r.text.length)return!0;for(var s=void 0,h=0;h<r.markedSpans.length;++h)if(s=r.markedSpans[h],s.marker.collapsed&&!s.marker.widgetNode&&s.from==o.to&&(s.to==null||s.to!=o.from)&&(s.marker.inclusiveLeft||o.marker.inclusiveRight)&&go(e,r,s))return!0}function Vn(e){e=Sa(e);for(var r=0,o=e.parent,a=0;a<o.lines.length;++a){var s=o.lines[a];if(s==e)break;r+=s.height}for(var h=o.parent;h;o=h,h=o.parent)for(var d=0;d<h.children.length;++d){var F=h.children[d];if(F==o)break;r+=F.height}return r}function Cn(e){if(e.height==0)return 0;for(var r=e.text.length,o,a=e;o=Yo(a);){var s=o.find(0,!0);a=s.from.line,r+=s.from.ch-s.to.ch}for(a=e;o=Lo(a);){var h=o.find(0,!0);r-=a.text.length-h.from.ch,a=h.to.line,r+=a.text.length-h.to.ch}return r}function xn(e){var r=e.display,o=e.doc;r.maxLine=Xe(o,o.first),r.maxLineLength=Cn(r.maxLine),r.maxLineChanged=!0,o.iter(function(a){var s=Cn(a);s>r.maxLineLength&&(r.maxLineLength=s,r.maxLine=a)})}var sn=function(e,r,o){this.text=e,Ws(this,r),this.height=o?o(this):1};sn.prototype.lineNo=function(){return ti(this)},Pt(sn);function pn(e,r,o,a){e.text=r,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Ba(e),Ws(e,o);var s=a?a(e):1;s!=e.height&&Di(e,s)}function ri(e){e.parent=null,Ba(e)}var ii={},Zn={};function vi(e,r){if(!e||/^\s*$/.test(e))return null;var o=r.addModeClass?Zn:ii;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function Wi(e,r){var o=tn("span",null,null,ze?"padding-right: .1px":null),a={pre:tn("pre",[o],"CodeMirror-line"),content:o,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};r.measure={};for(var s=0;s<=(r.rest?r.rest.length:0);s++){var h=s?r.rest[s-1]:r.line,d=void 0;a.pos=0,a.addToken=Yn,Ee(e.display.measure)&&(d=Sr(h,e.doc.direction))&&(a.addToken=as(a.addToken,d)),a.map=[];var F=r!=e.display.externalMeasured&&ti(h);Es(h,a,mu(e,h,F)),h.styleClasses&&(h.styleClasses.bgClass&&(a.bgClass=As(h.styleClasses.bgClass,a.bgClass||"")),h.styleClasses.textClass&&(a.textClass=As(h.styleClasses.textClass,a.textClass||""))),a.map.length==0&&a.map.push(0,0,a.content.appendChild(ce(e.display.measure))),s==0?(r.measure.map=a.map,r.measure.cache={}):((r.measure.maps||(r.measure.maps=[])).push(a.map),(r.measure.caches||(r.measure.caches=[])).push({}))}if(ze){var M=a.content.lastChild;(/\bcm-tab\b/.test(M.className)||M.querySelector&&M.querySelector(".cm-tab"))&&(a.content.className="cm-tab-wrap-hack")}return gn(e,"renderLine",e,r.line,a.pre),a.pre.className&&(a.textClass=As(a.pre.className,a.textClass||"")),a}function Zi(e){var r=we("span","\u2022","cm-invalidchar");return r.title="\\u"+e.charCodeAt(0).toString(16),r.setAttribute("aria-label",r.title),r}function Yn(e,r,o,a,s,h,d){if(!!r){var F=e.splitSpaces?ji(r,e.trailingSpace):r,M=e.cm.state.specialChars,H=!1,Ne;if(!M.test(r))e.col+=r.length,Ne=document.createTextNode(F),e.map.push(e.pos,e.pos+r.length,Ne),De&&Le<9&&(H=!0),e.pos+=r.length;else{Ne=document.createDocumentFragment();for(var Fe=0;;){M.lastIndex=Fe;var kt=M.exec(r),Qe=kt?kt.index-Fe:r.length-Fe;if(Qe){var or=document.createTextNode(F.slice(Fe,Fe+Qe));De&&Le<9?Ne.appendChild(we("span",[or])):Ne.appendChild(or),e.map.push(e.pos,e.pos+Qe,or),e.col+=Qe,e.pos+=Qe}if(!kt)break;Fe+=Qe+1;var qt=void 0;if(kt[0]==" "){var xr=e.cm.options.tabSize,Xr=xr-e.col%xr;qt=Ne.appendChild(we("span",br(Xr),"cm-tab")),qt.setAttribute("role","presentation"),qt.setAttribute("cm-text"," "),e.col+=Xr}else kt[0]=="\r"||kt[0]==`
|
|
5
|
-
`?(qt=Ne.appendChild(we("span",kt[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),qt.setAttribute("cm-text",kt[0]),e.col+=1):(qt=e.cm.options.specialCharPlaceholder(kt[0]),qt.setAttribute("cm-text",kt[0]),De&&Le<9?Ne.appendChild(we("span",[qt])):Ne.appendChild(qt),e.col+=1);e.map.push(e.pos,e.pos+1,qt),e.pos++}}if(e.trailingSpace=F.charCodeAt(r.length-1)==32,o||a||s||H||h||d){var cr=o||"";a&&(cr+=a),s&&(cr+=s);var Fr=we("span",[Ne],cr,h);if(d)for(var Zr in d)d.hasOwnProperty(Zr)&&Zr!="style"&&Zr!="class"&&Fr.setAttribute(Zr,d[Zr]);return e.content.appendChild(Fr)}e.content.appendChild(Ne)}}function ji(e,r){if(e.length>1&&!/ /.test(e))return e;for(var o=r,a="",s=0;s<e.length;s++){var h=e.charAt(s);h==" "&&o&&(s==e.length-1||e.charCodeAt(s+1)==32)&&(h="\xA0"),a+=h,o=h==" "}return a}function as(e,r){return function(o,a,s,h,d,F,M){s=s?s+" cm-force-border":"cm-force-border";for(var H=o.pos,Ne=H+a.length;;){for(var Fe=void 0,kt=0;kt<r.length&&(Fe=r[kt],!(Fe.to>H&&Fe.from<=H));kt++);if(Fe.to>=Ne)return e(o,a,s,h,d,F,M);e(o,a.slice(0,Fe.to-H),s,h,null,F,M),h=null,a=a.slice(Fe.to-H),H=Fe.to}}}function Ri(e,r,o,a){var s=!a&&o.widgetNode;s&&e.map.push(e.pos,e.pos+r,s),!a&&e.cm.display.input.needsContentAttribute&&(s||(s=e.content.appendChild(document.createElement("span"))),s.setAttribute("cm-marker",o.id)),s&&(e.cm.display.input.setUneditable(s),e.content.appendChild(s)),e.pos+=r,e.trailingSpace=!1}function Es(e,r,o){var a=e.markedSpans,s=e.text,h=0;if(!a){for(var d=1;d<o.length;d+=2)r.addToken(r,s.slice(h,h=o[d]),vi(o[d+1],r.cm.options));return}for(var F=s.length,M=0,H=1,Ne="",Fe,kt,Qe=0,or,qt,xr,Xr,cr;;){if(Qe==M){or=qt=xr=kt="",cr=null,Xr=null,Qe=1/0;for(var Fr=[],Zr=void 0,ft=0;ft<a.length;++ft){var Pn=a[ft],qn=Pn.marker;if(qn.type=="bookmark"&&Pn.from==M&&qn.widgetNode)Fr.push(qn);else if(Pn.from<=M&&(Pn.to==null||Pn.to>M||qn.collapsed&&Pn.to==M&&Pn.from==M)){if(Pn.to!=null&&Pn.to!=M&&Qe>Pn.to&&(Qe=Pn.to,qt=""),qn.className&&(or+=" "+qn.className),qn.css&&(kt=(kt?kt+";":"")+qn.css),qn.startStyle&&Pn.from==M&&(xr+=" "+qn.startStyle),qn.endStyle&&Pn.to==Qe&&(Zr||(Zr=[])).push(qn.endStyle,Pn.to),qn.title&&((cr||(cr={})).title=qn.title),qn.attributes)for(var Ei in qn.attributes)(cr||(cr={}))[Ei]=qn.attributes[Ei];qn.collapsed&&(!Xr||Xa(Xr.marker,qn)<0)&&(Xr=Pn)}else Pn.from>M&&Qe>Pn.from&&(Qe=Pn.from)}if(Zr)for(var Ns=0;Ns<Zr.length;Ns+=2)Zr[Ns+1]==Qe&&(qt+=" "+Zr[Ns]);if(!Xr||Xr.from==M)for(var fs=0;fs<Fr.length;++fs)Ri(r,0,Fr[fs]);if(Xr&&(Xr.from||0)==M){if(Ri(r,(Xr.to==null?F+1:Xr.to)-M,Xr.marker,Xr.from==null),Xr.to==null)return;Xr.to==M&&(Xr=!1)}}if(M>=F)break;for(var ca=Math.min(F,Qe);;){if(Ne){var Be=M+Ne.length;if(!Xr){var er=Be>ca?Ne.slice(0,ca-M):Ne;r.addToken(r,er,Fe?Fe+or:or,xr,M+er.length==Qe?qt:"",kt,cr)}if(Be>=ca){Ne=Ne.slice(ca-M),M=ca;break}M=Be,xr=""}Ne=s.slice(h,h=o[H++]),Fe=vi(o[H++],r.cm.options)}}}function da(e,r,o){this.line=r,this.rest=Cu(r),this.size=this.rest?ti(sr(this.rest))-o+1:1,this.node=this.text=null,this.hidden=ja(e,r)}function Ji(e,r,o){for(var a=[],s,h=r;h<o;h=s){var d=new da(e.doc,Xe(e.doc,h),h);s=h+d.size,a.push(d)}return a}var Ii=null;function dt(e){Ii?Ii.ops.push(e):e.ownsGroup=Ii={ops:[e],delayedCallbacks:[]}}function Xs(e){var r=e.delayedCallbacks,o=0;do{for(;o<r.length;o++)r[o].call(null);for(var a=0;a<e.ops.length;a++){var s=e.ops[a];if(s.cursorActivityHandlers)for(;s.cursorActivityCalled<s.cursorActivityHandlers.length;)s.cursorActivityHandlers[s.cursorActivityCalled++].call(null,s.cm)}}while(o<r.length)}function Ia(e,r){var o=e.ownsGroup;if(!!o)try{Xs(o)}finally{Ii=null,r(o)}}var Is=null;function Rs(e,r){var o=Vr(e,r);if(!!o.length){var a=Array.prototype.slice.call(arguments,2),s;Ii?s=Ii.delayedCallbacks:Is?s=Is:(s=Is=[],setTimeout(ta,0));for(var h=function(F){s.push(function(){return o[F].apply(null,a)})},d=0;d<o.length;++d)h(d)}}function ta(){var e=Is;Is=null;for(var r=0;r<e.length;++r)e[r]()}function ms(e,r,o,a){for(var s=0;s<r.changes.length;s++){var h=r.changes[s];h=="text"?vt(e,r):h=="gutter"?Kt(e,r,o,a):h=="class"?wt(e,r):h=="widget"&&ut(e,r,a)}r.changes=null}function Ti(e){return e.node==e.text&&(e.node=we("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),De&&Le<8&&(e.node.style.zIndex=2)),e.node}function ie(e,r){var o=r.bgClass?r.bgClass+" "+(r.line.bgClass||""):r.line.bgClass;if(o&&(o+=" CodeMirror-linebackground"),r.background)o?r.background.className=o:(r.background.parentNode.removeChild(r.background),r.background=null);else if(o){var a=Ti(r);r.background=a.insertBefore(we("div",null,o),a.firstChild),e.display.input.setUneditable(r.background)}}function rt(e,r){var o=e.display.externalMeasured;return o&&o.line==r.line?(e.display.externalMeasured=null,r.measure=o.measure,o.built):Wi(e,r)}function vt(e,r){var o=r.text.className,a=rt(e,r);r.text==r.node&&(r.node=a.pre),r.text.parentNode.replaceChild(a.pre,r.text),r.text=a.pre,a.bgClass!=r.bgClass||a.textClass!=r.textClass?(r.bgClass=a.bgClass,r.textClass=a.textClass,wt(e,r)):o&&(r.text.className=o)}function wt(e,r){ie(e,r),r.line.wrapClass?Ti(r).className=r.line.wrapClass:r.node!=r.text&&(r.node.className="");var o=r.textClass?r.textClass+" "+(r.line.textClass||""):r.line.textClass;r.text.className=o||""}function Kt(e,r,o,a){if(r.gutter&&(r.node.removeChild(r.gutter),r.gutter=null),r.gutterBackground&&(r.node.removeChild(r.gutterBackground),r.gutterBackground=null),r.line.gutterClass){var s=Ti(r);r.gutterBackground=we("div",null,"CodeMirror-gutter-background "+r.line.gutterClass,"left: "+(e.options.fixedGutter?a.fixedPos:-a.gutterTotalWidth)+"px; width: "+a.gutterTotalWidth+"px"),e.display.input.setUneditable(r.gutterBackground),s.insertBefore(r.gutterBackground,r.text)}var h=r.line.gutterMarkers;if(e.options.lineNumbers||h){var d=Ti(r),F=r.gutter=we("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?a.fixedPos:-a.gutterTotalWidth)+"px");if(F.setAttribute("aria-hidden","true"),e.display.input.setUneditable(F),d.insertBefore(F,r.text),r.line.gutterClass&&(F.className+=" "+r.line.gutterClass),e.options.lineNumbers&&(!h||!h["CodeMirror-linenumbers"])&&(r.lineNumber=F.appendChild(we("div",js(e.options,o),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+a.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),h)for(var M=0;M<e.display.gutterSpecs.length;++M){var H=e.display.gutterSpecs[M].className,Ne=h.hasOwnProperty(H)&&h[H];Ne&&F.appendChild(we("div",[Ne],"CodeMirror-gutter-elt","left: "+a.gutterLeft[H]+"px; width: "+a.gutterWidth[H]+"px"))}}}function ut(e,r,o){r.alignable&&(r.alignable=null);for(var a=Nn("CodeMirror-linewidget"),s=r.node.firstChild,h=void 0;s;s=h)h=s.nextSibling,a.test(s.className)&&r.node.removeChild(s);Lt(e,r,o)}function xt(e,r,o,a){var s=rt(e,r);return r.text=r.node=s.pre,s.bgClass&&(r.bgClass=s.bgClass),s.textClass&&(r.textClass=s.textClass),wt(e,r),Kt(e,r,o,a),Lt(e,r,a),r.node}function Lt(e,r,o){if(Jt(e,r.line,r,o,!0),r.rest)for(var a=0;a<r.rest.length;a++)Jt(e,r.rest[a],r,o,!1)}function Jt(e,r,o,a,s){if(!!r.widgets)for(var h=Ti(o),d=0,F=r.widgets;d<F.length;++d){var M=F[d],H=we("div",[M.node],"CodeMirror-linewidget"+(M.className?" "+M.className:""));M.handleMouseEvents||H.setAttribute("cm-ignore-events","true"),Bn(M,H,o,a),e.display.input.setUneditable(H),s&&M.above?h.insertBefore(H,o.gutter||o.text):h.appendChild(H),Rs(M,"redraw")}}function Bn(e,r,o,a){if(e.noHScroll){(o.alignable||(o.alignable=[])).push(r);var s=a.wrapperWidth;r.style.left=a.fixedPos+"px",e.coverGutter||(s-=a.gutterTotalWidth,r.style.paddingLeft=a.gutterTotalWidth+"px"),r.style.width=s+"px"}e.coverGutter&&(r.style.zIndex=5,r.style.position="relative",e.noHScroll||(r.style.marginLeft=-a.gutterTotalWidth+"px"))}function at(e){if(e.height!=null)return e.height;var r=e.doc.cm;if(!r)return 0;if(!wn(document.body,e.node)){var o="position: relative;";e.coverGutter&&(o+="margin-left: -"+r.display.gutters.offsetWidth+"px;"),e.noHScroll&&(o+="width: "+r.display.wrapper.clientWidth+"px;"),vn(r.display.measure,we("div",[e.node],null,o))}return e.height=e.node.parentNode.offsetHeight}function _t(e,r){for(var o=zr(r);o!=e.wrapper;o=o.parentNode)if(!o||o.nodeType==1&&o.getAttribute("cm-ignore-events")=="true"||o.parentNode==e.sizer&&o!=e.mover)return!0}function ir(e){return e.lineSpace.offsetTop}function $r(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Nr(e){if(e.cachedPaddingH)return e.cachedPaddingH;var r=vn(e.measure,we("pre","x","CodeMirror-line-like")),o=window.getComputedStyle?window.getComputedStyle(r):r.currentStyle,a={left:parseInt(o.paddingLeft),right:parseInt(o.paddingRight)};return!isNaN(a.left)&&!isNaN(a.right)&&(e.cachedPaddingH=a),a}function qr(e){return dn-e.display.nativeBarWidth}function Ir(e){return e.display.scroller.clientWidth-qr(e)-e.display.barWidth}function _n(e){return e.display.scroller.clientHeight-qr(e)-e.display.barHeight}function In(e,r,o){var a=e.options.lineWrapping,s=a&&Ir(e);if(!r.measure.heights||a&&r.measure.width!=s){var h=r.measure.heights=[];if(a){r.measure.width=s;for(var d=r.text.firstChild.getClientRects(),F=0;F<d.length-1;F++){var M=d[F],H=d[F+1];Math.abs(M.bottom-H.bottom)>2&&h.push((M.bottom+H.top)/2-o.top)}}h.push(o.bottom-o.top)}}function Ln(e,r,o){if(e.line==r)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var a=0;a<e.rest.length;a++)if(e.rest[a]==r)return{map:e.measure.maps[a],cache:e.measure.caches[a]};for(var s=0;s<e.rest.length;s++)if(ti(e.rest[s])>o)return{map:e.measure.maps[s],cache:e.measure.caches[s],before:!0}}}function Ui(e,r){r=Sa(r);var o=ti(r),a=e.display.externalMeasured=new da(e.doc,r,o);a.lineN=o;var s=a.built=Wi(e,a);return a.text=s.pre,vn(e.display.lineMeasure,s.pre),a}function ps(e,r,o,a){return Si(e,xi(e,r),o,a)}function cn(e,r){if(r>=e.display.viewFrom&&r<e.display.viewTo)return e.display.view[ga(e,r)];var o=e.display.externalMeasured;if(o&&r>=o.lineN&&r<o.lineN+o.size)return o}function xi(e,r){var o=ti(r),a=cn(e,o);a&&!a.text?a=null:a&&a.changes&&(ms(e,a,o,Ra(e)),e.curOp.forceUpdate=!0),a||(a=Ui(e,r));var s=Ln(a,r,o);return{line:r,view:a,rect:null,map:s.map,cache:s.cache,before:s.before,hasHeights:!1}}function Si(e,r,o,a,s){r.before&&(o=-1);var h=o+(a||""),d;return r.cache.hasOwnProperty(h)?d=r.cache[h]:(r.rect||(r.rect=r.view.text.getBoundingClientRect()),r.hasHeights||(In(e,r.view,r.rect),r.hasHeights=!0),d=gt(e,r,o,a),d.bogus||(r.cache[h]=d)),{left:d.left,right:d.right,top:s?d.rtop:d.top,bottom:s?d.rbottom:d.bottom}}var os={left:0,right:0,top:0,bottom:0};function Ds(e,r,o){for(var a,s,h,d,F,M,H=0;H<e.length;H+=3)if(F=e[H],M=e[H+1],r<F?(s=0,h=1,d="left"):r<M?(s=r-F,h=s+1):(H==e.length-3||r==M&&e[H+3]>r)&&(h=M-F,s=h-1,r>=M&&(d="right")),s!=null){if(a=e[H+2],F==M&&o==(a.insertLeft?"left":"right")&&(d=o),o=="left"&&s==0)for(;H&&e[H-2]==e[H-3]&&e[H-1].insertLeft;)a=e[(H-=3)+2],d="left";if(o=="right"&&s==M-F)for(;H<e.length-3&&e[H+3]==e[H+4]&&!e[H+5].insertLeft;)a=e[(H+=3)+2],d="right";break}return{node:a,start:s,end:h,collapse:d,coverStart:F,coverEnd:M}}function Ke(e,r){var o=os;if(r=="left")for(var a=0;a<e.length&&(o=e[a]).left==o.right;a++);else for(var s=e.length-1;s>=0&&(o=e[s]).left==o.right;s--);return o}function gt(e,r,o,a){var s=Ds(r.map,o,a),h=s.node,d=s.start,F=s.end,M=s.collapse,H;if(h.nodeType==3){for(var Ne=0;Ne<4;Ne++){for(;d&&gi(r.line.text.charAt(s.coverStart+d));)--d;for(;s.coverStart+F<s.coverEnd&&gi(r.line.text.charAt(s.coverStart+F));)++F;if(De&&Le<9&&d==0&&F==s.coverEnd-s.coverStart?H=h.parentNode.getBoundingClientRect():H=Ke(yr(h,d,F).getClientRects(),a),H.left||H.right||d==0)break;F=d,d=d-1,M="right"}De&&Le<11&&(H=Hr(e.display.measure,H))}else{d>0&&(M=a="right");var Fe;e.options.lineWrapping&&(Fe=h.getClientRects()).length>1?H=Fe[a=="right"?Fe.length-1:0]:H=h.getBoundingClientRect()}if(De&&Le<9&&!d&&(!H||!H.left&&!H.right)){var kt=h.parentNode.getClientRects()[0];kt?H={left:kt.left,right:kt.left+Ka(e.display),top:kt.top,bottom:kt.bottom}:H=os}for(var Qe=H.top-r.rect.top,or=H.bottom-r.rect.top,qt=(Qe+or)/2,xr=r.view.measure.heights,Xr=0;Xr<xr.length-1&&!(qt<xr[Xr]);Xr++);var cr=Xr?xr[Xr-1]:0,Fr=xr[Xr],Zr={left:(M=="right"?H.right:H.left)-r.rect.left,right:(M=="left"?H.left:H.right)-r.rect.left,top:cr,bottom:Fr};return!H.left&&!H.right&&(Zr.bogus=!0),e.options.singleCursorHeightPerLine||(Zr.rtop=Qe,Zr.rbottom=or),Zr}function Hr(e,r){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Dt(e))return r;var o=screen.logicalXDPI/screen.deviceXDPI,a=screen.logicalYDPI/screen.deviceYDPI;return{left:r.left*o,right:r.right*o,top:r.top*a,bottom:r.bottom*a}}function pr(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var r=0;r<e.rest.length;r++)e.measure.caches[r]={}}function En(e){e.display.externalMeasure=null,Dr(e.display.lineMeasure);for(var r=0;r<e.display.view.length;r++)pr(e.display.view[r])}function Vi(e){En(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function vs(){return mt&&Vt?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function zs(){return mt&&Vt?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Us(e){var r=Sa(e),o=r.widgets,a=0;if(o)for(var s=0;s<o.length;++s)o[s].above&&(a+=at(o[s]));return a}function ha(e,r,o,a,s){if(!s){var h=Us(r);o.top+=h,o.bottom+=h}if(a=="line")return o;a||(a="local");var d=Vn(r);if(a=="local"?d+=ir(e.display):d-=e.display.viewOffset,a=="page"||a=="window"){var F=e.display.lineSpace.getBoundingClientRect();d+=F.top+(a=="window"?0:zs());var M=F.left+(a=="window"?0:vs());o.left+=M,o.right+=M}return o.top+=d,o.bottom+=d,o}function gs(e,r,o){if(o=="div")return r;var a=r.left,s=r.top;if(o=="page")a-=vs(),s-=zs();else if(o=="local"||!o){var h=e.display.sizer.getBoundingClientRect();a+=h.left,s+=h.top}var d=e.display.lineSpace.getBoundingClientRect();return{left:a-d.left,top:s-d.top}}function ws(e,r,o,a,s){return a||(a=Xe(e.doc,r.line)),ha(e,a,ps(e,a,r.ch,s),o)}function Ts(e,r,o,a,s,h){a=a||Xe(e.doc,r.line),s||(s=xi(e,a));function d(or,qt){var xr=Si(e,s,or,qt?"right":"left",h);return qt?xr.left=xr.right:xr.right=xr.left,ha(e,a,xr,o)}var F=Sr(a,e.doc.direction),M=r.ch,H=r.sticky;if(M>=a.text.length?(M=a.text.length,H="before"):M<=0&&(M=0,H="after"),!F)return d(H=="before"?M-1:M,H=="before");function Ne(or,qt,xr){var Xr=F[qt],cr=Xr.level==1;return d(xr?or-1:or,cr!=xr)}var Fe=Ls(F,M,H),kt=Hi,Qe=Ne(M,Fe,H=="before");return kt!=null&&(Qe.other=Ne(M,kt,H!="before")),Qe}function Da(e,r){var o=0;r=ni(e.doc,r),e.options.lineWrapping||(o=Ka(e.display)*r.ch);var a=Xe(e.doc,r.line),s=Vn(a)+ir(e.display);return{left:o,right:o,top:s,bottom:s+a.height}}function An(e,r,o,a,s){var h=S(e,r,o);return h.xRel=s,a&&(h.outside=a),h}function Rn(e,r,o){var a=e.doc;if(o+=e.display.viewOffset,o<0)return An(a.first,0,null,-1,-1);var s=Gn(a,o),h=a.first+a.size-1;if(s>h)return An(a.first+a.size-1,Xe(a,h).text.length,null,1,1);r<0&&(r=0);for(var d=Xe(a,s);;){var F=ks(e,d,s,r,o),M=Qi(d,F.ch+(F.xRel>0||F.outside>0?1:0));if(!M)return F;var H=M.find(1);if(H.line==s)return H;d=Xe(a,s=H.line)}}function pi(e,r,o,a){a-=Us(r);var s=r.text.length,h=is(function(d){return Si(e,o,d-1).bottom<=a},s,0);return s=is(function(d){return Si(e,o,d).top>a},h,s),{begin:h,end:s}}function hi(e,r,o,a){o||(o=xi(e,r));var s=ha(e,r,Si(e,o,a),"line").top;return pi(e,r,o,s)}function Ni(e,r,o,a){return e.bottom<=o?!1:e.top>o?!0:(a?e.left:e.right)>r}function ks(e,r,o,a,s){s-=Vn(r);var h=xi(e,r),d=Us(r),F=0,M=r.text.length,H=!0,Ne=Sr(r,e.doc.direction);if(Ne){var Fe=(e.options.lineWrapping?Ks:Ss)(e,r,o,h,Ne,a,s);H=Fe.level!=1,F=H?Fe.from:Fe.to-1,M=H?Fe.to:Fe.from-1}var kt=null,Qe=null,or=is(function(ft){var Pn=Si(e,h,ft);return Pn.top+=d,Pn.bottom+=d,Ni(Pn,a,s,!1)?(Pn.top<=s&&Pn.left<=a&&(kt=ft,Qe=Pn),!0):!1},F,M),qt,xr,Xr=!1;if(Qe){var cr=a-Qe.left<Qe.right-a,Fr=cr==H;or=kt+(Fr?0:1),xr=Fr?"after":"before",qt=cr?Qe.left:Qe.right}else{!H&&(or==M||or==F)&&or++,xr=or==0?"after":or==r.text.length?"before":Si(e,h,or-(H?1:0)).bottom+d<=s==H?"after":"before";var Zr=Ts(e,S(o,or,xr),"line",r,h);qt=Zr.left,Xr=s<Zr.top?-1:s>=Zr.bottom?1:0}return or=ns(r.text,or,1),An(o,or,xr,Xr,a-qt)}function Ss(e,r,o,a,s,h,d){var F=is(function(Fe){var kt=s[Fe],Qe=kt.level!=1;return Ni(Ts(e,S(o,Qe?kt.to:kt.from,Qe?"before":"after"),"line",r,a),h,d,!0)},0,s.length-1),M=s[F];if(F>0){var H=M.level!=1,Ne=Ts(e,S(o,H?M.from:M.to,H?"after":"before"),"line",r,a);Ni(Ne,h,d,!0)&&Ne.top>d&&(M=s[F-1])}return M}function Ks(e,r,o,a,s,h,d){var F=pi(e,r,a,d),M=F.begin,H=F.end;/\s/.test(r.text.charAt(H-1))&&H--;for(var Ne=null,Fe=null,kt=0;kt<s.length;kt++){var Qe=s[kt];if(!(Qe.from>=H||Qe.to<=M)){var or=Qe.level!=1,qt=Si(e,a,or?Math.min(H,Qe.to)-1:Math.max(M,Qe.from)).right,xr=qt<h?h-qt+1e9:qt-h;(!Ne||Fe>xr)&&(Ne=Qe,Fe=xr)}}return Ne||(Ne=s[s.length-1]),Ne.from<M&&(Ne={from:M,to:Ne.to,level:Ne.level}),Ne.to>H&&(Ne={from:Ne.from,to:H,level:Ne.level}),Ne}var ua;function Ja(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(ua==null){ua=we("pre",null,"CodeMirror-line-like");for(var r=0;r<49;++r)ua.appendChild(document.createTextNode("x")),ua.appendChild(we("br"));ua.appendChild(document.createTextNode("x"))}vn(e.measure,ua);var o=ua.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),Dr(e.measure),o||1}function Ka(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var r=we("span","xxxxxxxxxx"),o=we("pre",[r],"CodeMirror-line-like");vn(e.measure,o);var a=r.getBoundingClientRect(),s=(a.right-a.left)/10;return s>2&&(e.cachedCharWidth=s),s||10}function Ra(e){for(var r=e.display,o={},a={},s=r.gutters.clientLeft,h=r.gutters.firstChild,d=0;h;h=h.nextSibling,++d){var F=e.display.gutterSpecs[d].className;o[F]=h.offsetLeft+h.clientLeft+s,a[F]=h.clientWidth}return{fixedPos:eu(r),gutterTotalWidth:r.gutters.offsetWidth,gutterLeft:o,gutterWidth:a,wrapperWidth:r.wrapper.clientWidth}}function eu(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function tu(e){var r=Ja(e.display),o=e.options.lineWrapping,a=o&&Math.max(5,e.display.scroller.clientWidth/Ka(e.display)-3);return function(s){if(ja(e.doc,s))return 0;var h=0;if(s.widgets)for(var d=0;d<s.widgets.length;d++)s.widgets[d].height&&(h+=s.widgets[d].height);return o?h+(Math.ceil(s.text.length/a)||1)*r:h+r}}function ba(e){var r=e.doc,o=tu(e);r.iter(function(a){var s=o(a);s!=a.height&&Di(a,s)})}function ma(e,r,o,a){var s=e.display;if(!o&&zr(r).getAttribute("cm-not-content")=="true")return null;var h,d,F=s.lineSpace.getBoundingClientRect();try{h=r.clientX-F.left,d=r.clientY-F.top}catch{return null}var M=Rn(e,h,d),H;if(a&&M.xRel>0&&(H=Xe(e.doc,M.line).text).length==M.ch){var Ne=Or(H,H.length,e.options.tabSize)-H.length;M=S(M.line,Math.max(0,Math.round((h-Nr(e.display).left)/Ka(e.display))-Ne))}return M}function ga(e,r){if(r>=e.display.viewTo||(r-=e.display.viewFrom,r<0))return null;for(var o=e.display.view,a=0;a<o.length;a++)if(r-=o[a].size,r<0)return a}function Ca(e,r,o,a){r==null&&(r=e.doc.first),o==null&&(o=e.doc.first+e.doc.size),a||(a=0);var s=e.display;if(a&&o<s.viewTo&&(s.updateLineNumbers==null||s.updateLineNumbers>r)&&(s.updateLineNumbers=r),e.curOp.viewChanged=!0,r>=s.viewTo)Ga&&bo(e.doc,r)<s.viewTo&&za(e);else if(o<=s.viewFrom)Ga&&Zo(e.doc,o+a)>s.viewFrom?za(e):(s.viewFrom+=a,s.viewTo+=a);else if(r<=s.viewFrom&&o>=s.viewTo)za(e);else if(r<=s.viewFrom){var h=Co(e,o,o+a,1);h?(s.view=s.view.slice(h.index),s.viewFrom=h.lineN,s.viewTo+=a):za(e)}else if(o>=s.viewTo){var d=Co(e,r,r,-1);d?(s.view=s.view.slice(0,d.index),s.viewTo=d.lineN):za(e)}else{var F=Co(e,r,r,-1),M=Co(e,o,o+a,1);F&&M?(s.view=s.view.slice(0,F.index).concat(Ji(e,F.lineN,M.lineN)).concat(s.view.slice(M.index)),s.viewTo+=a):za(e)}var H=s.externalMeasured;H&&(o<H.lineN?H.lineN+=a:r<H.lineN+H.size&&(s.externalMeasured=null))}function hs(e,r,o){e.curOp.viewChanged=!0;var a=e.display,s=e.display.externalMeasured;if(s&&r>=s.lineN&&r<s.lineN+s.size&&(a.externalMeasured=null),!(r<a.viewFrom||r>=a.viewTo)){var h=a.view[ga(e,r)];if(h.node!=null){var d=h.changes||(h.changes=[]);mr(d,o)==-1&&d.push(o)}}}function za(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Co(e,r,o,a){var s=ga(e,r),h,d=e.display.view;if(!Ga||o==e.doc.first+e.doc.size)return{index:s,lineN:o};for(var F=e.display.viewFrom,M=0;M<s;M++)F+=d[M].size;if(F!=r){if(a>0){if(s==d.length-1)return null;h=F+d[s].size-r,s++}else h=F-r;r+=h,o+=h}for(;bo(e.doc,o)!=o;){if(s==(a<0?0:d.length-1))return null;o+=a*d[s-(a<0?1:0)].size,s+=a}return{index:s,lineN:o}}function Eu(e,r,o){var a=e.display,s=a.view;s.length==0||r>=a.viewTo||o<=a.viewFrom?(a.view=Ji(e,r,o),a.viewFrom=r):(a.viewFrom>r?a.view=Ji(e,r,a.viewFrom).concat(a.view):a.viewFrom<r&&(a.view=a.view.slice(ga(e,r))),a.viewFrom=r,a.viewTo<o?a.view=a.view.concat(Ji(e,a.viewTo,o)):a.viewTo>o&&(a.view=a.view.slice(0,ga(e,o)))),a.viewTo=o}function no(e){for(var r=e.display.view,o=0,a=0;a<r.length;a++){var s=r[a];!s.hidden&&(!s.node||s.changes)&&++o}return o}function yo(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Ru(e,r){r===void 0&&(r=!0);var o=e.doc,a={},s=a.cursors=document.createDocumentFragment(),h=a.selection=document.createDocumentFragment(),d=e.options.$customCursor;d&&(r=!0);for(var F=0;F<o.sel.ranges.length;F++)if(!(!r&&F==o.sel.primIndex)){var M=o.sel.ranges[F];if(!(M.from().line>=e.display.viewTo||M.to().line<e.display.viewFrom)){var H=M.empty();if(d){var Ne=d(e,M);Ne&&Mo(e,Ne,s)}else(H||e.options.showCursorWhenSelecting)&&Mo(e,M.head,s);H||Eo(e,M,h)}}return a}function Mo(e,r,o){var a=Ts(e,r,"div",null,null,!e.options.singleCursorHeightPerLine),s=o.appendChild(we("div","\xA0","CodeMirror-cursor"));if(s.style.left=a.left+"px",s.style.top=a.top+"px",s.style.height=Math.max(0,a.bottom-a.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var h=ws(e,r,"div",null,null),d=h.right-h.left;s.style.width=(d>0?d:e.defaultCharWidth())+"px"}if(a.other){var F=o.appendChild(we("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));F.style.display="",F.style.left=a.other.left+"px",F.style.top=a.other.top+"px",F.style.height=(a.other.bottom-a.other.top)*.85+"px"}}function ru(e,r){return e.top-r.top||e.left-r.left}function Eo(e,r,o){var a=e.display,s=e.doc,h=document.createDocumentFragment(),d=Nr(e.display),F=d.left,M=Math.max(a.sizerWidth,Ir(e)-a.sizer.offsetLeft)-d.right,H=s.direction=="ltr";function Ne(Fr,Zr,ft,Pn){Zr<0&&(Zr=0),Zr=Math.round(Zr),Pn=Math.round(Pn),h.appendChild(we("div",null,"CodeMirror-selected","position: absolute; left: "+Fr+`px;
|
|
6
|
-
top: `+Zr+"px; width: "+(ft==null?M-Fr:ft)+`px;
|
|
7
|
-
height: `+(Pn-Zr)+"px"))}function Fe(Fr,Zr,ft){var Pn=Xe(s,Fr),qn=Pn.text.length,Ei,Ns;function fs(er,Tn){return ws(e,S(Fr,er),"div",Pn,Tn)}function ca(er,Tn,Pi){var _i=hi(e,Pn,null,er),ds=Tn=="ltr"==(Pi=="after")?"left":"right",bs=Pi=="after"?_i.begin:_i.end-(/\s/.test(Pn.text.charAt(_i.end-1))?2:1);return fs(bs,ds)[ds]}var Be=Sr(Pn,s.direction);return cs(Be,Zr||0,ft==null?qn:ft,function(er,Tn,Pi,_i){var ds=Pi=="ltr",bs=fs(er,ds?"left":"right"),Bs=fs(Tn-1,ds?"right":"left"),$i=Zr==null&&er==0,Ki=ft==null&&Tn==qn,wa=_i==0,Nu=!Be||_i==Be.length-1;if(Bs.top-bs.top<=3){var Fa=(H?$i:Ki)&&wa,cc=(H?Ki:$i)&&Nu,Bu=Fa?F:(ds?bs:Bs).left,kl=cc?M:(ds?Bs:bs).right;Ne(Bu,bs.top,kl-Bu,bs.bottom)}else{var ml,Wa,pc,$p;ds?(ml=H&&$i&&wa?F:bs.left,Wa=H?M:ca(er,Pi,"before"),pc=H?F:ca(Tn,Pi,"after"),$p=H&&Ki&&Nu?M:Bs.right):(ml=H?ca(er,Pi,"before"):F,Wa=!H&&$i&&wa?M:bs.right,pc=!H&&Ki&&Nu?F:Bs.left,$p=H?ca(Tn,Pi,"after"):M),Ne(ml,bs.top,Wa-ml,bs.bottom),bs.bottom<Bs.top&&Ne(F,bs.bottom,null,Bs.top),Ne(pc,Bs.top,$p-pc,Bs.bottom)}(!Ei||ru(bs,Ei)<0)&&(Ei=bs),ru(Bs,Ei)<0&&(Ei=Bs),(!Ns||ru(bs,Ns)<0)&&(Ns=bs),ru(Bs,Ns)<0&&(Ns=Bs)}),{start:Ei,end:Ns}}var kt=r.from(),Qe=r.to();if(kt.line==Qe.line)Fe(kt.line,kt.ch,Qe.ch);else{var or=Xe(s,kt.line),qt=Xe(s,Qe.line),xr=Sa(or)==Sa(qt),Xr=Fe(kt.line,kt.ch,xr?or.text.length+1:null).end,cr=Fe(Qe.line,xr?0:null,Qe.ch).start;xr&&(Xr.top<cr.top-2?(Ne(Xr.right,Xr.top,null,Xr.bottom),Ne(F,cr.top,cr.left,cr.bottom)):Ne(Xr.right,Xr.top,cr.left-Xr.right,Xr.bottom)),Xr.bottom<cr.top&&Ne(F,Xr.bottom,null,cr.top)}o.appendChild(h)}function nu(e){if(!!e.state.focused){var r=e.display;clearInterval(r.blinker);var o=!0;r.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?r.blinker=setInterval(function(){e.hasFocus()||Ua(e),r.cursorDiv.style.visibility=(o=!o)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(r.cursorDiv.style.visibility="hidden")}}function iu(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Oa(e))}function jo(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Ua(e))},100)}function Oa(e,r){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(gn(e,"focus",e,r),e.state.focused=!0,ls(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),ze&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),nu(e))}function Ua(e,r){e.state.delayingBlurEvent||(e.state.focused&&(gn(e,"blur",e,r),e.state.focused=!1,Ai(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Ao(e){for(var r=e.display,o=r.lineDiv.offsetTop,a=Math.max(0,r.scroller.getBoundingClientRect().top),s=r.lineDiv.getBoundingClientRect().top,h=0,d=0;d<r.view.length;d++){var F=r.view[d],M=e.options.lineWrapping,H=void 0,Ne=0;if(!F.hidden){if(s+=F.line.height,De&&Le<8){var Fe=F.node.offsetTop+F.node.offsetHeight;H=Fe-o,o=Fe}else{var kt=F.node.getBoundingClientRect();H=kt.bottom-kt.top,!M&&F.text.firstChild&&(Ne=F.text.firstChild.getBoundingClientRect().right-kt.left-1)}var Qe=F.line.height-H;if((Qe>.005||Qe<-.005)&&(s<a&&(h-=Qe),Di(F.line,H),Ya(F.line),F.rest))for(var or=0;or<F.rest.length;or++)Ya(F.rest[or]);if(Ne>e.display.sizerWidth){var qt=Math.ceil(Ne/Ka(e.display));qt>e.display.maxLineLength&&(e.display.maxLineLength=qt,e.display.maxLine=F.line,e.display.maxLineChanged=!0)}}}Math.abs(h)>2&&(r.scroller.scrollTop+=h)}function Ya(e){if(e.widgets)for(var r=0;r<e.widgets.length;++r){var o=e.widgets[r],a=o.node.parentNode;a&&(o.height=a.offsetHeight)}}function Do(e,r,o){var a=o&&o.top!=null?Math.max(0,o.top):e.scroller.scrollTop;a=Math.floor(a-ir(e));var s=o&&o.bottom!=null?o.bottom:a+e.wrapper.clientHeight,h=Gn(r,a),d=Gn(r,s);if(o&&o.ensure){var F=o.ensure.from.line,M=o.ensure.to.line;F<h?(h=F,d=Gn(r,Vn(Xe(r,F))+e.wrapper.clientHeight)):Math.min(M,r.lastLine())>=d&&(h=Gn(r,Vn(Xe(r,M))-e.wrapper.clientHeight),d=M)}return{from:h,to:Math.max(d,h+1)}}function al(e,r){if(!zt(e,"scrollCursorIntoView")){var o=e.display,a=o.sizer.getBoundingClientRect(),s=null;if(r.top+a.top<0?s=!0:r.bottom+a.top>(window.innerHeight||document.documentElement.clientHeight)&&(s=!1),s!=null&&!St){var h=we("div","\u200B",null,`position: absolute;
|
|
8
|
-
top: `+(r.top-o.viewOffset-ir(e.display))+`px;
|
|
9
|
-
height: `+(r.bottom-r.top+qr(e)+o.barHeight)+`px;
|
|
10
|
-
left: `+r.left+"px; width: "+Math.max(2,r.right-r.left)+"px;");e.display.lineSpace.appendChild(h),h.scrollIntoView(s),e.display.lineSpace.removeChild(h)}}}function Au(e,r,o,a){a==null&&(a=0);var s;!e.options.lineWrapping&&r==o&&(o=r.sticky=="before"?S(r.line,r.ch+1,"before"):r,r=r.ch?S(r.line,r.sticky=="before"?r.ch-1:r.ch,"after"):r);for(var h=0;h<5;h++){var d=!1,F=Ts(e,r),M=!o||o==r?F:Ts(e,o);s={left:Math.min(F.left,M.left),top:Math.min(F.top,M.top)-a,right:Math.max(F.left,M.left),bottom:Math.max(F.bottom,M.bottom)+a};var H=zu(e,s),Ne=e.doc.scrollTop,Fe=e.doc.scrollLeft;if(H.scrollTop!=null&&(Tu(e,H.scrollTop),Math.abs(e.doc.scrollTop-Ne)>1&&(d=!0)),H.scrollLeft!=null&&(oo(e,H.scrollLeft),Math.abs(e.doc.scrollLeft-Fe)>1&&(d=!0)),!d)break}return s}function vl(e,r){var o=zu(e,r);o.scrollTop!=null&&Tu(e,o.scrollTop),o.scrollLeft!=null&&oo(e,o.scrollLeft)}function zu(e,r){var o=e.display,a=Ja(e.display);r.top<0&&(r.top=0);var s=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:o.scroller.scrollTop,h=_n(e),d={};r.bottom-r.top>h&&(r.bottom=r.top+h);var F=e.doc.height+$r(o),M=r.top<a,H=r.bottom>F-a;if(r.top<s)d.scrollTop=M?0:r.top;else if(r.bottom>s+h){var Ne=Math.min(r.top,(H?F:r.bottom)-h);Ne!=s&&(d.scrollTop=Ne)}var Fe=e.options.fixedGutter?0:o.gutters.offsetWidth,kt=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-Fe,Qe=Ir(e)-o.gutters.offsetWidth,or=r.right-r.left>Qe;return or&&(r.right=r.left+Qe),r.left<10?d.scrollLeft=0:r.left<kt?d.scrollLeft=Math.max(0,r.left+Fe-(or?0:10)):r.right>Qe+kt-3&&(d.scrollLeft=r.right+(or?0:10)-Qe),d}function su(e,r){r!=null&&(ao(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+r)}function io(e){ao(e);var r=e.getCursor();e.curOp.scrollToPos={from:r,to:r,margin:e.options.cursorScrollMargin}}function wo(e,r,o){(r!=null||o!=null)&&ao(e),r!=null&&(e.curOp.scrollLeft=r),o!=null&&(e.curOp.scrollTop=o)}function so(e,r){ao(e),e.curOp.scrollToPos=r}function ao(e){var r=e.curOp.scrollToPos;if(r){e.curOp.scrollToPos=null;var o=Da(e,r.from),a=Da(e,r.to);wu(e,o,a,r.margin)}}function wu(e,r,o,a){var s=zu(e,{left:Math.min(r.left,o.left),top:Math.min(r.top,o.top)-a,right:Math.max(r.right,o.right),bottom:Math.max(r.bottom,o.bottom)+a});wo(e,s.scrollLeft,s.scrollTop)}function Tu(e,r){Math.abs(e.doc.scrollTop-r)<2||(v||Wu(e,{top:r}),ol(e,r,!0),v&&Wu(e),zo(e,100))}function ol(e,r,o){r=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,r)),!(e.display.scroller.scrollTop==r&&!o)&&(e.doc.scrollTop=r,e.display.scrollbars.setScrollTop(r),e.display.scroller.scrollTop!=r&&(e.display.scroller.scrollTop=r))}function oo(e,r,o,a){r=Math.max(0,Math.min(r,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((o?r==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-r)<2)&&!a)&&(e.doc.scrollLeft=r,Ul(e),e.display.scroller.scrollLeft!=r&&(e.display.scroller.scrollLeft=r),e.display.scrollbars.setScrollLeft(r))}function au(e){var r=e.display,o=r.gutters.offsetWidth,a=Math.round(e.doc.height+$r(e.display));return{clientHeight:r.scroller.clientHeight,viewHeight:r.wrapper.clientHeight,scrollWidth:r.scroller.scrollWidth,clientWidth:r.scroller.clientWidth,viewWidth:r.wrapper.clientWidth,barLeft:e.options.fixedGutter?o:0,docHeight:a,scrollHeight:a+qr(e)+r.barHeight,nativeBarWidth:r.nativeBarWidth,gutterWidth:o}}var Ea=function(e,r,o){this.cm=o;var a=this.vert=we("div",[we("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),s=this.horiz=we("div",[we("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");a.tabIndex=s.tabIndex=-1,e(a),e(s),Gt(a,"scroll",function(){a.clientHeight&&r(a.scrollTop,"vertical")}),Gt(s,"scroll",function(){s.clientWidth&&r(s.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,De&&Le<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Ea.prototype.update=function(e){var r=e.scrollWidth>e.clientWidth+1,o=e.scrollHeight>e.clientHeight+1,a=e.nativeBarWidth;if(o){this.vert.style.display="block",this.vert.style.bottom=r?a+"px":"0";var s=e.viewHeight-(r?a:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+s)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(r){this.horiz.style.display="block",this.horiz.style.right=o?a+"px":"0",this.horiz.style.left=e.barLeft+"px";var h=e.viewWidth-e.barLeft-(o?a:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+h)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(a==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:o?a:0,bottom:r?a:0}},Ea.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Ea.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Ea.prototype.zeroWidthHack=function(){var e=nn&&!Rr?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new Kr,this.disableVert=new Kr},Ea.prototype.enableZeroWidthBar=function(e,r,o){e.style.visibility="";function a(){var s=e.getBoundingClientRect(),h=o=="vert"?document.elementFromPoint(s.right-1,(s.top+s.bottom)/2):document.elementFromPoint((s.right+s.left)/2,s.bottom-1);h!=e?e.style.visibility="hidden":r.set(1e3,a)}r.set(1e3,a)},Ea.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ou=function(){};ou.prototype.update=function(){return{bottom:0,right:0}},ou.prototype.setScrollLeft=function(){},ou.prototype.setScrollTop=function(){},ou.prototype.clear=function(){};function uo(e,r){r||(r=au(e));var o=e.display.barWidth,a=e.display.barHeight;ul(e,r);for(var s=0;s<4&&o!=e.display.barWidth||a!=e.display.barHeight;s++)o!=e.display.barWidth&&e.options.lineWrapping&&Ao(e),ul(e,au(e)),o=e.display.barWidth,a=e.display.barHeight}function ul(e,r){var o=e.display,a=o.scrollbars.update(r);o.sizer.style.paddingRight=(o.barWidth=a.right)+"px",o.sizer.style.paddingBottom=(o.barHeight=a.bottom)+"px",o.heightForcer.style.borderBottom=a.bottom+"px solid transparent",a.right&&a.bottom?(o.scrollbarFiller.style.display="block",o.scrollbarFiller.style.height=a.bottom+"px",o.scrollbarFiller.style.width=a.right+"px"):o.scrollbarFiller.style.display="",a.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(o.gutterFiller.style.display="block",o.gutterFiller.style.height=a.bottom+"px",o.gutterFiller.style.width=r.gutterWidth+"px"):o.gutterFiller.style.display=""}var Uu={native:Ea,null:ou};function Ro(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&Ai(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Uu[e.options.scrollbarStyle](function(r){e.display.wrapper.insertBefore(r,e.display.scrollbarFiller),Gt(r,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),r.setAttribute("cm-not-content","true")},function(r,o){o=="horizontal"?oo(e,r):Tu(e,r)},e),e.display.scrollbars.addClass&&ls(e.display.wrapper,e.display.scrollbars.addClass)}var xl=0;function To(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++xl,markArrays:null},dt(e.curOp)}function la(e){var r=e.curOp;r&&Ia(r,function(o){for(var a=0;a<o.ops.length;a++)o.ops[a].cm.curOp=null;Hu(o)})}function Hu(e){for(var r=e.ops,o=0;o<r.length;o++)bl(r[o]);for(var a=0;a<r.length;a++)jl(r[a]);for(var s=0;s<r.length;s++)tc(r[s]);for(var h=0;h<r.length;h++)Su(r[h]);for(var d=0;d<r.length;d++)qu(r[d])}function bl(e){var r=e.cm,o=r.display;Uo(r),e.updateMaxLine&&xn(r),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<o.viewFrom||e.scrollToPos.to.line>=o.viewTo)||o.maxLineChanged&&r.options.lineWrapping,e.update=e.mustUpdate&&new lo(r,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function jl(e){e.updatedDisplay=e.mustUpdate&&cl(e.cm,e.update)}function tc(e){var r=e.cm,o=r.display;e.updatedDisplay&&Ao(r),e.barMeasure=au(r),o.maxLineChanged&&!r.options.lineWrapping&&(e.adjustWidthTo=ps(r,o.maxLine,o.maxLine.text.length).left+3,r.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(o.scroller.clientWidth,o.sizer.offsetLeft+e.adjustWidthTo+qr(r)+r.display.barWidth),e.maxScrollLeft=Math.max(0,o.sizer.offsetLeft+e.adjustWidthTo-Ir(r))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function Su(e){var r=e.cm;e.adjustWidthTo!=null&&(r.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<r.doc.scrollLeft&&oo(r,Math.min(r.display.scroller.scrollLeft,e.maxScrollLeft),!0),r.display.maxLineChanged=!1);var o=e.focus&&e.focus==ei();e.preparedSelection&&r.display.input.showSelection(e.preparedSelection,o),(e.updatedDisplay||e.startHeight!=r.doc.height)&&uo(r,e.barMeasure),e.updatedDisplay&&Vu(r,e.barMeasure),e.selectionChanged&&nu(r),r.state.focused&&e.updateInput&&r.display.input.reset(e.typing),o&&iu(e.cm)}function qu(e){var r=e.cm,o=r.display,a=r.doc;if(e.updatedDisplay&&Rl(r,e.update),o.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(o.wheelStartX=o.wheelStartY=null),e.scrollTop!=null&&ol(r,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&oo(r,e.scrollLeft,!0,!0),e.scrollToPos){var s=Au(r,ni(a,e.scrollToPos.from),ni(a,e.scrollToPos.to),e.scrollToPos.margin);al(r,s)}var h=e.maybeHiddenMarkers,d=e.maybeUnhiddenMarkers;if(h)for(var F=0;F<h.length;++F)h[F].lines.length||gn(h[F],"hide");if(d)for(var M=0;M<d.length;++M)d[M].lines.length&&gn(d[M],"unhide");o.wrapper.offsetHeight&&(a.scrollTop=r.display.scroller.scrollTop),e.changeObjs&&gn(r,"changes",r,e.changeObjs),e.update&&e.update.finish()}function ya(e,r){if(e.curOp)return r();To(e);try{return r()}finally{la(e)}}function Ys(e,r){return function(){if(e.curOp)return r.apply(e,arguments);To(e);try{return r.apply(e,arguments)}finally{la(e)}}}function Js(e){return function(){if(this.curOp)return e.apply(this,arguments);To(this);try{return e.apply(this,arguments)}finally{la(this)}}}function Hs(e){return function(){var r=this.cm;if(!r||r.curOp)return e.apply(this,arguments);To(r);try{return e.apply(this,arguments)}finally{la(r)}}}function zo(e,r){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(r,qi($u,e))}function $u(e){var r=e.doc;if(!(r.highlightFrontier>=e.display.viewTo)){var o=+new Date+e.options.workTime,a=fo(e,r.highlightFrontier),s=[];r.iter(a.line,Math.min(r.first+r.size,e.display.viewTo+500),function(h){if(a.line>=e.display.viewFrom){var d=h.styles,F=h.text.length>e.options.maxHighlightLength?ci(r.mode,a.state):null,M=du(e,h,a,!0);F&&(a.state=F),h.styles=M.styles;var H=h.styleClasses,Ne=M.classes;Ne?h.styleClasses=Ne:H&&(h.styleClasses=null);for(var Fe=!d||d.length!=h.styles.length||H!=Ne&&(!H||!Ne||H.bgClass!=Ne.bgClass||H.textClass!=Ne.textClass),kt=0;!Fe&&kt<d.length;++kt)Fe=d[kt]!=h.styles[kt];Fe&&s.push(a.line),h.stateAfter=a.save(),a.nextLine()}else h.text.length<=e.options.maxHighlightLength&&mo(e,h.text,a),h.stateAfter=a.line%5==0?a.save():null,a.nextLine();if(+new Date>o)return zo(e,e.options.workDelay),!0}),r.highlightFrontier=a.line,r.modeFrontier=Math.max(r.modeFrontier,a.line),s.length&&ya(e,function(){for(var h=0;h<s.length;h++)hs(e,s[h],"text")})}}var lo=function(e,r,o){var a=e.display;this.viewport=r,this.visible=Do(a,e.doc,r),this.editorIsHidden=!a.wrapper.offsetWidth,this.wrapperHeight=a.wrapper.clientHeight,this.wrapperWidth=a.wrapper.clientWidth,this.oldDisplayWidth=Ir(e),this.force=o,this.dims=Ra(e),this.events=[]};lo.prototype.signal=function(e,r){Ar(e,r)&&this.events.push(arguments)},lo.prototype.finish=function(){for(var e=0;e<this.events.length;e++)gn.apply(null,this.events[e])};function Uo(e){var r=e.display;!r.scrollbarsClipped&&r.scroller.offsetWidth&&(r.nativeBarWidth=r.scroller.offsetWidth-r.scroller.clientWidth,r.heightForcer.style.height=qr(e)+"px",r.sizer.style.marginBottom=-r.nativeBarWidth+"px",r.sizer.style.borderRightWidth=qr(e)+"px",r.scrollbarsClipped=!0)}function ll(e){if(e.hasFocus())return null;var r=ei();if(!r||!wn(e.display.lineDiv,r))return null;var o={activeElt:r};if(window.getSelection){var a=window.getSelection();a.anchorNode&&a.extend&&wn(e.display.lineDiv,a.anchorNode)&&(o.anchorNode=a.anchorNode,o.anchorOffset=a.anchorOffset,o.focusNode=a.focusNode,o.focusOffset=a.focusOffset)}return o}function Cl(e){if(!(!e||!e.activeElt||e.activeElt==ei())&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&wn(document.body,e.anchorNode)&&wn(document.body,e.focusNode))){var r=window.getSelection(),o=document.createRange();o.setEnd(e.anchorNode,e.anchorOffset),o.collapse(!1),r.removeAllRanges(),r.addRange(o),r.extend(e.focusNode,e.focusOffset)}}function cl(e,r){var o=e.display,a=e.doc;if(r.editorIsHidden)return za(e),!1;if(!r.force&&r.visible.from>=o.viewFrom&&r.visible.to<=o.viewTo&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo)&&o.renderedView==o.view&&no(e)==0)return!1;El(e)&&(za(e),r.dims=Ra(e));var s=a.first+a.size,h=Math.max(r.visible.from-e.options.viewportMargin,a.first),d=Math.min(s,r.visible.to+e.options.viewportMargin);o.viewFrom<h&&h-o.viewFrom<20&&(h=Math.max(a.first,o.viewFrom)),o.viewTo>d&&o.viewTo-d<20&&(d=Math.min(s,o.viewTo)),Ga&&(h=bo(e.doc,h),d=Zo(e.doc,d));var F=h!=o.viewFrom||d!=o.viewTo||o.lastWrapHeight!=r.wrapperHeight||o.lastWrapWidth!=r.wrapperWidth;Eu(e,h,d),o.viewOffset=Vn(Xe(e.doc,o.viewFrom)),e.display.mover.style.top=o.viewOffset+"px";var M=no(e);if(!F&&M==0&&!r.force&&o.renderedView==o.view&&(o.updateLineNumbers==null||o.updateLineNumbers>=o.viewTo))return!1;var H=ll(e);return M>4&&(o.lineDiv.style.display="none"),zl(e,o.updateLineNumbers,r.dims),M>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,Cl(H),Dr(o.cursorDiv),Dr(o.selectionDiv),o.gutters.style.height=o.sizer.style.minHeight=0,F&&(o.lastWrapHeight=r.wrapperHeight,o.lastWrapWidth=r.wrapperWidth,zo(e,400)),o.updateLineNumbers=null,!0}function Rl(e,r){for(var o=r.viewport,a=!0;;a=!1){if(!a||!e.options.lineWrapping||r.oldDisplayWidth==Ir(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+$r(e.display)-_n(e),o.top)}),r.visible=Do(e.display,e.doc,o),r.visible.from>=e.display.viewFrom&&r.visible.to<=e.display.viewTo)break}else a&&(r.visible=Do(e.display,e.doc,o));if(!cl(e,r))break;Ao(e);var s=au(e);yo(e),uo(e,s),Vu(e,s),r.force=!1}r.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(r.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Wu(e,r){var o=new lo(e,r);if(cl(e,o)){Ao(e),Rl(e,o);var a=au(e);yo(e),uo(e,a),Vu(e,a),o.finish()}}function zl(e,r,o){var a=e.display,s=e.options.lineNumbers,h=a.lineDiv,d=h.firstChild;function F(or){var qt=or.nextSibling;return ze&&nn&&e.display.currentWheelTarget==or?or.style.display="none":or.parentNode.removeChild(or),qt}for(var M=a.view,H=a.viewFrom,Ne=0;Ne<M.length;Ne++){var Fe=M[Ne];if(!Fe.hidden)if(!Fe.node||Fe.node.parentNode!=h){var kt=xt(e,Fe,H,o);h.insertBefore(kt,d)}else{for(;d!=Fe.node;)d=F(d);var Qe=s&&r!=null&&r<=H&&Fe.lineNumber;Fe.changes&&(mr(Fe.changes,"gutter")>-1&&(Qe=!1),ms(e,Fe,H,o)),Qe&&(Dr(Fe.lineNumber),Fe.lineNumber.appendChild(document.createTextNode(js(e.options,H)))),d=Fe.node.nextSibling}H+=Fe.size}for(;d;)d=F(d)}function pl(e){var r=e.gutters.offsetWidth;e.sizer.style.marginLeft=r+"px",Rs(e,"gutterChanged",e)}function Vu(e,r){e.display.sizer.style.minHeight=r.docHeight+"px",e.display.heightForcer.style.top=r.docHeight+"px",e.display.gutters.style.height=r.docHeight+e.display.barHeight+qr(e)+"px"}function Ul(e){var r=e.display,o=r.view;if(!(!r.alignWidgets&&(!r.gutters.firstChild||!e.options.fixedGutter))){for(var a=eu(r)-r.scroller.scrollLeft+e.doc.scrollLeft,s=r.gutters.offsetWidth,h=a+"px",d=0;d<o.length;d++)if(!o[d].hidden){e.options.fixedGutter&&(o[d].gutter&&(o[d].gutter.style.left=h),o[d].gutterBackground&&(o[d].gutterBackground.style.left=h));var F=o[d].alignable;if(F)for(var M=0;M<F.length;M++)F[M].style.left=h}e.options.fixedGutter&&(r.gutters.style.left=a+s+"px")}}function El(e){if(!e.options.lineNumbers)return!1;var r=e.doc,o=js(e.options,r.first+r.size-1),a=e.display;if(o.length!=a.lineNumChars){var s=a.measure.appendChild(we("div",[we("div",o)],"CodeMirror-linenumber CodeMirror-gutter-elt")),h=s.firstChild.offsetWidth,d=s.offsetWidth-h;return a.lineGutter.style.width="",a.lineNumInnerWidth=Math.max(h,a.lineGutter.offsetWidth-d)+1,a.lineNumWidth=a.lineNumInnerWidth+d,a.lineNumChars=a.lineNumInnerWidth?o.length:-1,a.lineGutter.style.width=a.lineNumWidth+"px",pl(e.display),!0}return!1}function Fu(e,r){for(var o=[],a=!1,s=0;s<e.length;s++){var h=e[s],d=null;if(typeof h!="string"&&(d=h.style,h=h.className),h=="CodeMirror-linenumbers")if(r)a=!0;else continue;o.push({className:h,style:d})}return r&&!a&&o.push({className:"CodeMirror-linenumbers",style:null}),o}function So(e){var r=e.gutters,o=e.gutterSpecs;Dr(r),e.lineGutter=null;for(var a=0;a<o.length;++a){var s=o[a],h=s.className,d=s.style,F=r.appendChild(we("div",null,"CodeMirror-gutter "+h));d&&(F.style.cssText=d),h=="CodeMirror-linenumbers"&&(e.lineGutter=F,F.style.width=(e.lineNumWidth||1)+"px")}r.style.display=o.length?"":"none",pl(e)}function vo(e){So(e.display),Ca(e),Ul(e)}function Al(e,r,o,a){var s=this;this.input=o,s.scrollbarFiller=we("div",null,"CodeMirror-scrollbar-filler"),s.scrollbarFiller.setAttribute("cm-not-content","true"),s.gutterFiller=we("div",null,"CodeMirror-gutter-filler"),s.gutterFiller.setAttribute("cm-not-content","true"),s.lineDiv=tn("div",null,"CodeMirror-code"),s.selectionDiv=we("div",null,null,"position: relative; z-index: 1"),s.cursorDiv=we("div",null,"CodeMirror-cursors"),s.measure=we("div",null,"CodeMirror-measure"),s.lineMeasure=we("div",null,"CodeMirror-measure"),s.lineSpace=tn("div",[s.measure,s.lineMeasure,s.selectionDiv,s.cursorDiv,s.lineDiv],null,"position: relative; outline: none");var h=tn("div",[s.lineSpace],"CodeMirror-lines");s.mover=we("div",[h],null,"position: relative"),s.sizer=we("div",[s.mover],"CodeMirror-sizer"),s.sizerWidth=null,s.heightForcer=we("div",null,null,"position: absolute; height: "+dn+"px; width: 1px;"),s.gutters=we("div",null,"CodeMirror-gutters"),s.lineGutter=null,s.scroller=we("div",[s.sizer,s.heightForcer,s.gutters],"CodeMirror-scroll"),s.scroller.setAttribute("tabIndex","-1"),s.wrapper=we("div",[s.scrollbarFiller,s.gutterFiller,s.scroller],"CodeMirror"),s.wrapper.setAttribute("translate","no"),De&&Le<8&&(s.gutters.style.zIndex=-1,s.scroller.style.paddingRight=0),!ze&&!(v&&Pr)&&(s.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(s.wrapper):e(s.wrapper)),s.viewFrom=s.viewTo=r.first,s.reportedViewFrom=s.reportedViewTo=r.first,s.view=[],s.renderedView=null,s.externalMeasured=null,s.viewOffset=0,s.lastWrapHeight=s.lastWrapWidth=0,s.updateLineNumbers=null,s.nativeBarWidth=s.barHeight=s.barWidth=0,s.scrollbarsClipped=!1,s.lineNumWidth=s.lineNumInnerWidth=s.lineNumChars=null,s.alignWidgets=!1,s.cachedCharWidth=s.cachedTextHeight=s.cachedPaddingH=null,s.maxLine=null,s.maxLineLength=0,s.maxLineChanged=!1,s.wheelDX=s.wheelDY=s.wheelStartX=s.wheelStartY=null,s.shift=!1,s.selForContextMenu=null,s.activeTouch=null,s.gutterSpecs=Fu(a.gutters,a.lineNumbers),So(s),o.init(s)}var ku=0,co=null;De?co=-.53:v?co=15:mt?co=-.7:Cr&&(co=-1/3);function hl(e){var r=e.wheelDeltaX,o=e.wheelDeltaY;return r==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(r=e.detail),o==null&&e.detail&&e.axis==e.VERTICAL_AXIS?o=e.detail:o==null&&(o=e.wheelDelta),{x:r,y:o}}function Hl(e){var r=hl(e);return r.x*=co,r.y*=co,r}function wl(e,r){mt&&Bt>=102&&(e.display.chromeScrollHack==null?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout(function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""},100));var o=hl(r),a=o.x,s=o.y,h=co;r.deltaMode===0&&(a=r.deltaX,s=r.deltaY,h=1);var d=e.display,F=d.scroller,M=F.scrollWidth>F.clientWidth,H=F.scrollHeight>F.clientHeight;if(!!(a&&M||s&&H)){if(s&&nn&&ze){e:for(var Ne=r.target,Fe=d.view;Ne!=F;Ne=Ne.parentNode)for(var kt=0;kt<Fe.length;kt++)if(Fe[kt].node==Ne){e.display.currentWheelTarget=Ne;break e}}if(a&&!v&&!Qt&&h!=null){s&&H&&Tu(e,Math.max(0,F.scrollTop+s*h)),oo(e,Math.max(0,F.scrollLeft+a*h)),(!s||s&&H)&&Re(r),d.wheelStartX=null;return}if(s&&h!=null){var Qe=s*h,or=e.doc.scrollTop,qt=or+d.wrapper.clientHeight;Qe<0?or=Math.max(0,or+Qe-50):qt=Math.min(e.doc.height,qt+Qe+50),Wu(e,{top:or,bottom:qt})}ku<20&&r.deltaMode!==0&&(d.wheelStartX==null?(d.wheelStartX=F.scrollLeft,d.wheelStartY=F.scrollTop,d.wheelDX=a,d.wheelDY=s,setTimeout(function(){if(d.wheelStartX!=null){var xr=F.scrollLeft-d.wheelStartX,Xr=F.scrollTop-d.wheelStartY,cr=Xr&&d.wheelDY&&Xr/d.wheelDY||xr&&d.wheelDX&&xr/d.wheelDX;d.wheelStartX=d.wheelStartY=null,cr&&(co=(co*ku+cr)/(ku+1),++ku)}},200)):(d.wheelDX+=a,d.wheelDY+=s))}}var Ha=function(e,r){this.ranges=e,this.primIndex=r};Ha.prototype.primary=function(){return this.ranges[this.primIndex]},Ha.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var r=0;r<this.ranges.length;r++){var o=this.ranges[r],a=e.ranges[r];if(!Mr(o.anchor,a.anchor)||!Mr(o.head,a.head))return!1}return!0},Ha.prototype.deepCopy=function(){for(var e=[],r=0;r<this.ranges.length;r++)e[r]=new Fs(an(this.ranges[r].anchor),an(this.ranges[r].head));return new Ha(e,this.primIndex)},Ha.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Ha.prototype.contains=function(e,r){r||(r=e);for(var o=0;o<this.ranges.length;o++){var a=this.ranges[o];if(Je(r,a.from())>=0&&Je(e,a.to())<=0)return o}return-1};var Fs=function(e,r){this.anchor=e,this.head=r};Fs.prototype.from=function(){return ss(this.anchor,this.head)},Fs.prototype.to=function(){return li(this.anchor,this.head)},Fs.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function qa(e,r,o){var a=e&&e.options.selectionsMayTouch,s=r[o];r.sort(function(kt,Qe){return Je(kt.from(),Qe.from())}),o=mr(r,s);for(var h=1;h<r.length;h++){var d=r[h],F=r[h-1],M=Je(F.to(),d.from());if(a&&!d.empty()?M>0:M>=0){var H=ss(F.from(),d.from()),Ne=li(F.to(),d.to()),Fe=F.empty()?d.from()==d.head:F.from()==F.head;h<=o&&--o,r.splice(--h,2,new Fs(Fe?Ne:H,Fe?H:Ne))}}return new Ha(r,o)}function Fo(e,r){return new Ha([new Fs(e,r||e)],0)}function $a(e){return e.text?S(e.from.line+e.text.length-1,sr(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function Gu(e,r){if(Je(e,r.from)<0)return e;if(Je(e,r.to)<=0)return $a(r);var o=e.line+r.text.length-(r.to.line-r.from.line)-1,a=e.ch;return e.line==r.to.line&&(a+=$a(r).ch-r.to.ch),S(o,a)}function Ho(e,r){for(var o=[],a=0;a<e.sel.ranges.length;a++){var s=e.sel.ranges[a];o.push(new Fs(Gu(s.anchor,r),Gu(s.head,r)))}return qa(e.cm,o,e.sel.primIndex)}function Tl(e,r,o){return e.line==r.line?S(o.line,e.ch-r.ch+o.ch):S(o.line+(e.line-r.line),e.ch)}function ql(e,r,o){for(var a=[],s=S(e.first,0),h=s,d=0;d<r.length;d++){var F=r[d],M=Tl(F.from,s,h),H=Tl($a(F),s,h);if(s=F.to,h=H,o=="around"){var Ne=e.sel.ranges[d],Fe=Je(Ne.head,Ne.anchor)<0;a[d]=new Fs(Fe?H:M,Fe?M:H)}else a[d]=new Fs(M,M)}return new Ha(a,e.sel.primIndex)}function ko(e){e.doc.mode=rn(e.options,e.doc.modeOption),Qa(e)}function Qa(e){e.doc.iter(function(r){r.stateAfter&&(r.stateAfter=null),r.styles&&(r.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,zo(e,100),e.state.modeGen++,e.curOp&&Ca(e)}function uu(e,r){return r.from.ch==0&&r.to.ch==0&&sr(r.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function fl(e,r,o,a){function s(cr){return o?o[cr]:null}function h(cr,Fr,Zr){pn(cr,Fr,Zr,a),Rs(cr,"change",cr,r)}function d(cr,Fr){for(var Zr=[],ft=cr;ft<Fr;++ft)Zr.push(new sn(H[ft],s(ft),a));return Zr}var F=r.from,M=r.to,H=r.text,Ne=Xe(e,F.line),Fe=Xe(e,M.line),kt=sr(H),Qe=s(H.length-1),or=M.line-F.line;if(r.full)e.insert(0,d(0,H.length)),e.remove(H.length,e.size-H.length);else if(uu(e,r)){var qt=d(0,H.length-1);h(Fe,Fe.text,Qe),or&&e.remove(F.line,or),qt.length&&e.insert(F.line,qt)}else if(Ne==Fe)if(H.length==1)h(Ne,Ne.text.slice(0,F.ch)+kt+Ne.text.slice(M.ch),Qe);else{var xr=d(1,H.length-1);xr.push(new sn(kt+Ne.text.slice(M.ch),Qe,a)),h(Ne,Ne.text.slice(0,F.ch)+H[0],s(0)),e.insert(F.line+1,xr)}else if(H.length==1)h(Ne,Ne.text.slice(0,F.ch)+H[0]+Fe.text.slice(M.ch),s(0)),e.remove(F.line+1,or);else{h(Ne,Ne.text.slice(0,F.ch)+H[0],s(0)),h(Fe,kt+Fe.text.slice(M.ch),Qe);var Xr=d(1,H.length-1);or>1&&e.remove(F.line+1,or-1),e.insert(F.line+1,Xr)}Rs(e,"change",e,r)}function po(e,r,o){function a(s,h,d){if(s.linked)for(var F=0;F<s.linked.length;++F){var M=s.linked[F];if(M.doc!=h){var H=d&&M.sharedHist;o&&!H||(r(M.doc,H),a(M.doc,s,H))}}}a(e,null,!0)}function dl(e,r){if(r.cm)throw new Error("This document is already in use.");e.doc=r,r.cm=e,ba(e),ko(e),qo(e),e.options.direction=r.direction,e.options.lineWrapping||xn(e),e.options.mode=r.modeOption,Ca(e)}function qo(e){(e.doc.direction=="rtl"?ls:Ai)(e.display.lineDiv,"CodeMirror-rtl")}function rc(e){ya(e,function(){qo(e),Ca(e)})}function Po(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function Xu(e,r){var o={from:an(r.from),to:$a(r),text:ys(e,r.from,r.to)};return Ae(e,o,r.from.line,r.to.line+1),po(e,function(a){return Ae(a,o,r.from.line,r.to.line+1)},!0),o}function lu(e){for(;e.length;){var r=sr(e);if(r.ranges)e.pop();else break}}function T(e,r){if(r)return lu(e.done),sr(e.done);if(e.done.length&&!sr(e.done).ranges)return sr(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),sr(e.done)}function ae(e,r,o,a){var s=e.history;s.undone.length=0;var h=+new Date,d,F;if((s.lastOp==a||s.lastOrigin==r.origin&&r.origin&&(r.origin.charAt(0)=="+"&&s.lastModTime>h-(e.cm?e.cm.options.historyEventDelay:500)||r.origin.charAt(0)=="*"))&&(d=T(s,s.lastOp==a)))F=sr(d.changes),Je(r.from,r.to)==0&&Je(r.from,F.to)==0?F.to=$a(r):d.changes.push(Xu(e,r));else{var M=sr(s.done);for((!M||!M.ranges)&&oe(e.sel,s.done),d={changes:[Xu(e,r)],generation:s.generation},s.done.push(d);s.done.length>s.undoDepth;)s.done.shift(),s.done[0].ranges||s.done.shift()}s.done.push(o),s.generation=++s.maxGeneration,s.lastModTime=s.lastSelTime=h,s.lastOp=s.lastSelOp=a,s.lastOrigin=s.lastSelOrigin=r.origin,F||gn(e,"historyAdded")}function Z(e,r,o,a){var s=r.charAt(0);return s=="*"||s=="+"&&o.ranges.length==a.ranges.length&&o.somethingSelected()==a.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Y(e,r,o,a){var s=e.history,h=a&&a.origin;o==s.lastSelOp||h&&s.lastSelOrigin==h&&(s.lastModTime==s.lastSelTime&&s.lastOrigin==h||Z(e,h,sr(s.done),r))?s.done[s.done.length-1]=r:oe(r,s.done),s.lastSelTime=+new Date,s.lastSelOrigin=h,s.lastSelOp=o,a&&a.clearRedo!==!1&&lu(s.undone)}function oe(e,r){var o=sr(r);o&&o.ranges&&o.equals(e)||r.push(e)}function Ae(e,r,o,a){var s=r["spans_"+e.id],h=0;e.iter(Math.max(e.first,o),Math.min(e.first+e.size,a),function(d){d.markedSpans&&((s||(s=r["spans_"+e.id]={}))[h]=d.markedSpans),++h})}function Te(e){if(!e)return null;for(var r,o=0;o<e.length;++o)e[o].marker.explicitlyCleared?r||(r=e.slice(0,o)):r&&r.push(e[o]);return r?r.length?r:null:e}function ve(e,r){var o=r["spans_"+e.id];if(!o)return null;for(var a=[],s=0;s<r.text.length;++s)a.push(Te(o[s]));return a}function xe(e,r){var o=ve(e,r),a=ju(e,r);if(!o)return a;if(!a)return o;for(var s=0;s<o.length;++s){var h=o[s],d=a[s];if(h&&d){e:for(var F=0;F<d.length;++F){for(var M=d[F],H=0;H<h.length;++H)if(h[H].marker==M.marker)continue e;h.push(M)}}else d&&(o[s]=d)}return o}function Se(e,r,o){for(var a=[],s=0;s<e.length;++s){var h=e[s];if(h.ranges){a.push(o?Ha.prototype.deepCopy.call(h):h);continue}var d=h.changes,F=[];a.push({changes:F});for(var M=0;M<d.length;++M){var H=d[M],Ne=void 0;if(F.push({from:H.from,to:H.to,text:H.text}),r)for(var Fe in H)(Ne=Fe.match(/^spans_(\d+)$/))&&mr(r,Number(Ne[1]))>-1&&(sr(F)[Fe]=H[Fe],delete H[Fe])}}return a}function P(e,r,o,a){if(a){var s=e.anchor;if(o){var h=Je(r,s)<0;h!=Je(o,s)<0?(s=r,r=o):h!=Je(r,o)<0&&(r=o)}return new Fs(s,r)}else return new Fs(o||r,r)}function b(e,r,o,a,s){s==null&&(s=e.cm&&(e.cm.display.shift||e.extend)),Ue(e,new Ha([P(e.sel.primary(),r,o,s)],0),a)}function re(e,r,o){for(var a=[],s=e.cm&&(e.cm.display.shift||e.extend),h=0;h<e.sel.ranges.length;h++)a[h]=P(e.sel.ranges[h],r[h],null,s);var d=qa(e.cm,a,e.sel.primIndex);Ue(e,d,o)}function Q(e,r,o,a){var s=e.sel.ranges.slice(0);s[r]=o,Ue(e,qa(e.cm,s,e.sel.primIndex),a)}function Oe(e,r,o,a){Ue(e,Fo(r,o),a)}function ke(e,r,o){var a={ranges:r.ranges,update:function(s){this.ranges=[];for(var h=0;h<s.length;h++)this.ranges[h]=new Fs(ni(e,s[h].anchor),ni(e,s[h].head))},origin:o&&o.origin};return gn(e,"beforeSelectionChange",e,a),e.cm&&gn(e.cm,"beforeSelectionChange",e.cm,a),a.ranges!=r.ranges?qa(e.cm,a.ranges,a.ranges.length-1):r}function Ye(e,r,o){var a=e.history.done,s=sr(a);s&&s.ranges?(a[a.length-1]=r,_e(e,r,o)):Ue(e,r,o)}function Ue(e,r,o){_e(e,r,o),Y(e,e.sel,e.cm?e.cm.curOp.id:NaN,o)}function _e(e,r,o){(Ar(e,"beforeSelectionChange")||e.cm&&Ar(e.cm,"beforeSelectionChange"))&&(r=ke(e,r,o));var a=o&&o.bias||(Je(r.primary().head,e.sel.primary().head)<0?-1:1);Et(e,Ht(e,r,a,!0)),!(o&&o.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&io(e.cm)}function Et(e,r){r.equals(e.sel)||(e.sel=r,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,Kn(e.cm)),Rs(e,"cursorActivity",e))}function Ft(e){Et(e,Ht(e,e.sel,null,!1))}function Ht(e,r,o,a){for(var s,h=0;h<r.ranges.length;h++){var d=r.ranges[h],F=r.ranges.length==e.sel.ranges.length&&e.sel.ranges[h],M=Mn(e,d.anchor,F&&F.anchor,o,a),H=d.head==d.anchor?M:Mn(e,d.head,F&&F.head,o,a);(s||M!=d.anchor||H!=d.head)&&(s||(s=r.ranges.slice(0,h)),s[h]=new Fs(M,H))}return s?qa(e.cm,s,r.primIndex):r}function un(e,r,o,a,s){var h=Xe(e,r.line);if(h.markedSpans)for(var d=0;d<h.markedSpans.length;++d){var F=h.markedSpans[d],M=F.marker,H="selectLeft"in M?!M.selectLeft:M.inclusiveLeft,Ne="selectRight"in M?!M.selectRight:M.inclusiveRight;if((F.from==null||(H?F.from<=r.ch:F.from<r.ch))&&(F.to==null||(Ne?F.to>=r.ch:F.to>r.ch))){if(s&&(gn(M,"beforeCursorEnter"),M.explicitlyCleared))if(h.markedSpans){--d;continue}else break;if(!M.atomic)continue;if(o){var Fe=M.find(a<0?1:-1),kt=void 0;if((a<0?Ne:H)&&(Fe=Hn(e,Fe,-a,Fe&&Fe.line==r.line?h:null)),Fe&&Fe.line==r.line&&(kt=Je(Fe,o))&&(a<0?kt<0:kt>0))return un(e,Fe,r,a,s)}var Qe=M.find(a<0?-1:1);return(a<0?H:Ne)&&(Qe=Hn(e,Qe,a,Qe.line==r.line?h:null)),Qe?un(e,Qe,r,a,s):null}}return r}function Mn(e,r,o,a,s){var h=a||1,d=un(e,r,o,h,s)||!s&&un(e,r,o,h,!0)||un(e,r,o,-h,s)||!s&&un(e,r,o,-h,!0);return d||(e.cantEdit=!0,S(e.first,0))}function Hn(e,r,o,a){return o<0&&r.ch==0?r.line>e.first?ni(e,S(r.line-1)):null:o>0&&r.ch==(a||Xe(e,r.line)).text.length?r.line<e.first+e.size-1?S(r.line+1,0):null:new S(r.line,r.ch+o)}function bi(e){e.setSelection(S(e.firstLine(),0),S(e.lastLine()),Jn)}function en(e,r,o){var a={canceled:!1,from:r.from,to:r.to,text:r.text,origin:r.origin,cancel:function(){return a.canceled=!0}};return o&&(a.update=function(s,h,d,F){s&&(a.from=ni(e,s)),h&&(a.to=ni(e,h)),d&&(a.text=d),F!==void 0&&(a.origin=F)}),gn(e,"beforeChange",e,a),e.cm&&gn(e.cm,"beforeChange",e.cm,a),a.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:a.from,to:a.to,text:a.text,origin:a.origin}}function Bi(e,r,o){if(e.cm){if(!e.cm.curOp)return Ys(e.cm,Bi)(e,r,o);if(e.cm.state.suppressEdits)return}if(!((Ar(e,"beforeChange")||e.cm&&Ar(e.cm,"beforeChange"))&&(r=en(e,r,!0),!r))){var a=Ou&&!o&&xu(e,r.from,r.to);if(a)for(var s=a.length-1;s>=0;--s)di(e,{from:a[s].from,to:a[s].to,text:s?[""]:r.text,origin:r.origin});else di(e,r)}}function di(e,r){if(!(r.text.length==1&&r.text[0]==""&&Je(r.from,r.to)==0)){var o=Ho(e,r);ae(e,r,o,e.cm?e.cm.curOp.id:NaN),Gr(e,r,o,ju(e,r));var a=[];po(e,function(s,h){!h&&mr(a,s.history)==-1&&(ts(s.history,r),a.push(s.history)),Gr(s,r,null,ju(s,r))})}}function Ci(e,r,o){var a=e.cm&&e.cm.state.suppressEdits;if(!(a&&!o)){for(var s=e.history,h,d=e.sel,F=r=="undo"?s.done:s.undone,M=r=="undo"?s.undone:s.done,H=0;H<F.length&&(h=F[H],!(o?h.ranges&&!h.equals(e.sel):!h.ranges));H++);if(H!=F.length){for(s.lastOrigin=s.lastSelOrigin=null;;)if(h=F.pop(),h.ranges){if(oe(h,M),o&&!h.equals(e.sel)){Ue(e,h,{clearRedo:!1});return}d=h}else if(a){F.push(h);return}else break;var Ne=[];oe(d,M),M.push({changes:Ne,generation:s.generation}),s.generation=h.generation||++s.maxGeneration;for(var Fe=Ar(e,"beforeChange")||e.cm&&Ar(e.cm,"beforeChange"),kt=function(qt){var xr=h.changes[qt];if(xr.origin=r,Fe&&!en(e,xr,!1))return F.length=0,{};Ne.push(Xu(e,xr));var Xr=qt?Ho(e,xr):sr(F);Gr(e,xr,Xr,xe(e,xr)),!qt&&e.cm&&e.cm.scrollIntoView({from:xr.from,to:$a(xr)});var cr=[];po(e,function(Fr,Zr){!Zr&&mr(cr,Fr.history)==-1&&(ts(Fr.history,xr),cr.push(Fr.history)),Gr(Fr,xr,null,xe(Fr,xr))})},Qe=h.changes.length-1;Qe>=0;--Qe){var or=kt(Qe);if(or)return or.v}}}}function Dn(e,r){if(r!=0&&(e.first+=r,e.sel=new Ha(Jr(e.sel.ranges,function(s){return new Fs(S(s.anchor.line+r,s.anchor.ch),S(s.head.line+r,s.head.ch))}),e.sel.primIndex),e.cm)){Ca(e.cm,e.first,e.first-r,r);for(var o=e.cm.display,a=o.viewFrom;a<o.viewTo;a++)hs(e.cm,a,"gutter")}}function Gr(e,r,o,a){if(e.cm&&!e.cm.curOp)return Ys(e.cm,Gr)(e,r,o,a);if(r.to.line<e.first){Dn(e,r.text.length-1-(r.to.line-r.from.line));return}if(!(r.from.line>e.lastLine())){if(r.from.line<e.first){var s=r.text.length-1-(e.first-r.from.line);Dn(e,s),r={from:S(e.first,0),to:S(r.to.line+s,r.to.ch),text:[sr(r.text)],origin:r.origin}}var h=e.lastLine();r.to.line>h&&(r={from:r.from,to:S(h,Xe(e,h).text.length),text:[r.text[0]],origin:r.origin}),r.removed=ys(e,r.from,r.to),o||(o=Ho(e,r)),e.cm?bn(e.cm,r,a):fl(e,r,a),_e(e,o,Jn),e.cantEdit&&Mn(e,S(e.firstLine(),0))&&(e.cantEdit=!1)}}function bn(e,r,o){var a=e.doc,s=e.display,h=r.from,d=r.to,F=!1,M=h.line;e.options.lineWrapping||(M=ti(Sa(Xe(a,h.line))),a.iter(M,d.line+1,function(Qe){if(Qe==s.maxLine)return F=!0,!0})),a.sel.contains(r.from,r.to)>-1&&Kn(e),fl(a,r,o,tu(e)),e.options.lineWrapping||(a.iter(M,h.line+r.text.length,function(Qe){var or=Cn(Qe);or>s.maxLineLength&&(s.maxLine=Qe,s.maxLineLength=or,s.maxLineChanged=!0,F=!1)}),F&&(e.curOp.updateMaxLine=!0)),Iu(a,h.line),zo(e,400);var H=r.text.length-(d.line-h.line)-1;r.full?Ca(e):h.line==d.line&&r.text.length==1&&!uu(e.doc,r)?hs(e,h.line,"text"):Ca(e,h.line,d.line+1,H);var Ne=Ar(e,"changes"),Fe=Ar(e,"change");if(Fe||Ne){var kt={from:h,to:d,text:r.text,removed:r.removed,origin:r.origin};Fe&&Rs(e,"change",e,kt),Ne&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(kt)}e.display.selForContextMenu=null}function Lr(e,r,o,a,s){var h;a||(a=o),Je(a,o)<0&&(h=[a,o],o=h[0],a=h[1]),typeof r=="string"&&(r=e.splitLines(r)),Bi(e,{from:o,to:a,text:r,origin:s})}function Vs(e,r,o,a){o<e.line?e.line+=a:r<e.line&&(e.line=r,e.ch=0)}function xs(e,r,o,a){for(var s=0;s<e.length;++s){var h=e[s],d=!0;if(h.ranges){h.copied||(h=e[s]=h.deepCopy(),h.copied=!0);for(var F=0;F<h.ranges.length;F++)Vs(h.ranges[F].anchor,r,o,a),Vs(h.ranges[F].head,r,o,a);continue}for(var M=0;M<h.changes.length;++M){var H=h.changes[M];if(o<H.from.line)H.from=S(H.from.line+a,H.from.ch),H.to=S(H.to.line+a,H.to.ch);else if(r<=H.to.line){d=!1;break}}d||(e.splice(0,s+1),s=0)}}function ts(e,r){var o=r.from.line,a=r.to.line,s=r.text.length-(a-o)-1;xs(e.done,o,a,s),xs(e.undone,o,a,s)}function rs(e,r,o,a){var s=r,h=r;return typeof r=="number"?h=Xe(e,es(e,r)):s=ti(r),s==null?null:(a(h,s)&&e.cm&&hs(e.cm,s,o),h)}function Gi(e){this.lines=e,this.parent=null;for(var r=0,o=0;o<e.length;++o)e[o].parent=this,r+=e[o].height;this.height=r}Gi.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,r){for(var o=e,a=e+r;o<a;++o){var s=this.lines[o];this.height-=s.height,ri(s),Rs(s,"delete")}this.lines.splice(e,r)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,r,o){this.height+=o,this.lines=this.lines.slice(0,e).concat(r).concat(this.lines.slice(e));for(var a=0;a<r.length;++a)r[a].parent=this},iterN:function(e,r,o){for(var a=e+r;e<a;++e)if(o(this.lines[e]))return!0}};function Qn(e){this.children=e;for(var r=0,o=0,a=0;a<e.length;++a){var s=e[a];r+=s.chunkSize(),o+=s.height,s.parent=this}this.size=r,this.height=o,this.parent=null}Qn.prototype={chunkSize:function(){return this.size},removeInner:function(e,r){this.size-=r;for(var o=0;o<this.children.length;++o){var a=this.children[o],s=a.chunkSize();if(e<s){var h=Math.min(r,s-e),d=a.height;if(a.removeInner(e,h),this.height-=d-a.height,s==h&&(this.children.splice(o--,1),a.parent=null),(r-=h)==0)break;e=0}else e-=s}if(this.size-r<25&&(this.children.length>1||!(this.children[0]instanceof Gi))){var F=[];this.collapse(F),this.children=[new Gi(F)],this.children[0].parent=this}},collapse:function(e){for(var r=0;r<this.children.length;++r)this.children[r].collapse(e)},insertInner:function(e,r,o){this.size+=r.length,this.height+=o;for(var a=0;a<this.children.length;++a){var s=this.children[a],h=s.chunkSize();if(e<=h){if(s.insertInner(e,r,o),s.lines&&s.lines.length>50){for(var d=s.lines.length%25+25,F=d;F<s.lines.length;){var M=new Gi(s.lines.slice(F,F+=25));s.height-=M.height,this.children.splice(++a,0,M),M.parent=this}s.lines=s.lines.slice(0,d),this.maybeSpill()}break}e-=h}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var r=e.children.splice(e.children.length-5,5),o=new Qn(r);if(e.parent){e.size-=o.size,e.height-=o.height;var s=mr(e.parent.children,e);e.parent.children.splice(s+1,0,o)}else{var a=new Qn(e.children);a.parent=e,e.children=[a,o],e=a}o.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,r,o){for(var a=0;a<this.children.length;++a){var s=this.children[a],h=s.chunkSize();if(e<h){var d=Math.min(r,h-e);if(s.iterN(e,d,o))return!0;if((r-=d)==0)break;e=0}else e-=h}}};var zi=function(e,r,o){if(o)for(var a in o)o.hasOwnProperty(a)&&(this[a]=o[a]);this.doc=e,this.node=r};zi.prototype.clear=function(){var e=this.doc.cm,r=this.line.widgets,o=this.line,a=ti(o);if(!(a==null||!r)){for(var s=0;s<r.length;++s)r[s]==this&&r.splice(s--,1);r.length||(o.widgets=null);var h=at(this);Di(o,Math.max(0,o.height-h)),e&&(ya(e,function(){Fi(e,o,-h),hs(e,a,"widget")}),Rs(e,"lineWidgetCleared",e,this,a))}},zi.prototype.changed=function(){var e=this,r=this.height,o=this.doc.cm,a=this.line;this.height=null;var s=at(this)-r;!s||(ja(this.doc,a)||Di(a,a.height+s),o&&ya(o,function(){o.curOp.forceUpdate=!0,Fi(o,a,s),Rs(o,"lineWidgetChanged",o,e,ti(a))}))},Pt(zi);function Fi(e,r,o){Vn(r)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&su(e,o)}function ki(e,r,o,a){var s=new zi(e,o,a),h=e.cm;return h&&s.noHScroll&&(h.display.alignWidgets=!0),rs(e,r,"widget",function(d){var F=d.widgets||(d.widgets=[]);if(s.insertAt==null?F.push(s):F.splice(Math.min(F.length,Math.max(0,s.insertAt)),0,s),s.line=d,h&&!ja(e,d)){var M=Vn(d)<e.scrollTop;Di(d,d.height+at(s)),M&&su(h,s.height),h.curOp.forceUpdate=!0}return!0}),h&&Rs(h,"lineWidgetAdded",h,s,typeof r=="number"?r:ti(r)),s}var Ut=0,vr=function(e,r){this.lines=[],this.type=r,this.doc=e,this.id=++Ut};vr.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,r=e&&!e.curOp;if(r&&To(e),Ar(this,"clear")){var o=this.find();o&&Rs(this,"clear",o.from,o.to)}for(var a=null,s=null,h=0;h<this.lines.length;++h){var d=this.lines[h],F=Oo(d.markedSpans,this);e&&!this.collapsed?hs(e,ti(d),"text"):e&&(F.to!=null&&(s=ti(d)),F.from!=null&&(a=ti(d))),d.markedSpans=Na(d.markedSpans,F),F.from==null&&this.collapsed&&!ja(this.doc,d)&&e&&Di(d,Ja(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var M=0;M<this.lines.length;++M){var H=Sa(this.lines[M]),Ne=Cn(H);Ne>e.display.maxLineLength&&(e.display.maxLine=H,e.display.maxLineLength=Ne,e.display.maxLineChanged=!0)}a!=null&&e&&this.collapsed&&Ca(e,a,s+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ft(e.doc)),e&&Rs(e,"markerCleared",e,this,a,s),r&&la(e),this.parent&&this.parent.clear()}},vr.prototype.find=function(e,r){e==null&&this.type=="bookmark"&&(e=1);for(var o,a,s=0;s<this.lines.length;++s){var h=this.lines[s],d=Oo(h.markedSpans,this);if(d.from!=null&&(o=S(r?h:ti(h),d.from),e==-1))return o;if(d.to!=null&&(a=S(r?h:ti(h),d.to),e==1))return a}return o&&{from:o,to:a}},vr.prototype.changed=function(){var e=this,r=this.find(-1,!0),o=this,a=this.doc.cm;!r||!a||ya(a,function(){var s=r.line,h=ti(r.line),d=cn(a,h);if(d&&(pr(d),a.curOp.selectionChanged=a.curOp.forceUpdate=!0),a.curOp.updateMaxLine=!0,!ja(o.doc,s)&&o.height!=null){var F=o.height;o.height=null;var M=at(o)-F;M&&Di(s,s.height+M)}Rs(a,"markerChanged",a,e)})},vr.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var r=this.doc.cm.curOp;(!r.maybeHiddenMarkers||mr(r.maybeHiddenMarkers,this)==-1)&&(r.maybeUnhiddenMarkers||(r.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},vr.prototype.detachLine=function(e){if(this.lines.splice(mr(this.lines,e),1),!this.lines.length&&this.doc.cm){var r=this.doc.cm.curOp;(r.maybeHiddenMarkers||(r.maybeHiddenMarkers=[])).push(this)}},Pt(vr);function _r(e,r,o,a,s){if(a&&a.shared)return Rt(e,r,o,a,s);if(e.cm&&!e.cm.curOp)return Ys(e.cm,_r)(e,r,o,a,s);var h=new vr(e,s),d=Je(r,o);if(a&&Ps(a,h,!1),d>0||d==0&&h.clearWhenEmpty!==!1)return h;if(h.replacedWith&&(h.collapsed=!0,h.widgetNode=tn("span",[h.replacedWith],"CodeMirror-widget"),a.handleMouseEvents||h.widgetNode.setAttribute("cm-ignore-events","true"),a.insertLeft&&(h.widgetNode.insertLeft=!0)),h.collapsed){if(bu(e,r.line,r,o,h)||r.line!=o.line&&bu(e,o.line,r,o,h))throw new Error("Inserting collapsed marker partially overlapping an existing one");Lu()}h.addToHistory&&ae(e,{from:r,to:o,origin:"markText"},e.sel,NaN);var F=r.line,M=e.cm,H;if(e.iter(F,o.line+1,function(Fe){M&&h.collapsed&&!M.options.lineWrapping&&Sa(Fe)==M.display.maxLine&&(H=!0),h.collapsed&&F!=r.line&&Di(Fe,0),nl(Fe,new vu(h,F==r.line?r.ch:null,F==o.line?o.ch:null),e.cm&&e.cm.curOp),++F}),h.collapsed&&e.iter(r.line,o.line+1,function(Fe){ja(e,Fe)&&Di(Fe,0)}),h.clearOnEnter&&Gt(h,"beforeCursorEnter",function(){return h.clear()}),h.readOnly&&(rl(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),h.collapsed&&(h.id=++Ut,h.atomic=!0),M){if(H&&(M.curOp.updateMaxLine=!0),h.collapsed)Ca(M,r.line,o.line+1);else if(h.className||h.startStyle||h.endStyle||h.css||h.attributes||h.title)for(var Ne=r.line;Ne<=o.line;Ne++)hs(M,Ne,"text");h.atomic&&Ft(M.doc),Rs(M,"markerAdded",M,h)}return h}var On=function(e,r){this.markers=e,this.primary=r;for(var o=0;o<e.length;++o)e[o].parent=this};On.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Rs(this,"clear")}},On.prototype.find=function(e,r){return this.primary.find(e,r)},Pt(On);function Rt(e,r,o,a,s){a=Ps(a),a.shared=!1;var h=[_r(e,r,o,a,s)],d=h[0],F=a.widgetNode;return po(e,function(M){F&&(a.widgetNode=F.cloneNode(!0)),h.push(_r(M,ni(M,r),ni(M,o),a,s));for(var H=0;H<M.linked.length;++H)if(M.linked[H].isParent)return;d=sr(h)}),new On(h,d)}function oi(e){return e.findMarks(S(e.first,0),e.clipPos(S(e.lastLine())),function(r){return r.parent})}function Xn(e,r){for(var o=0;o<r.length;o++){var a=r[o],s=a.find(),h=e.clipPos(s.from),d=e.clipPos(s.to);if(Je(h,d)){var F=_r(e,h,d,a.primary,a.primary.type);a.markers.push(F),F.parent=a}}}function ra(e){for(var r=function(a){var s=e[a],h=[s.primary.doc];po(s.primary.doc,function(M){return h.push(M)});for(var d=0;d<s.markers.length;d++){var F=s.markers[d];mr(h,F.doc)==-1&&(F.parent=null,s.markers.splice(d--,1))}},o=0;o<e.length;o++)r(o)}var na=0,Os=function(e,r,o,a,s){if(!(this instanceof Os))return new Os(e,r,o,a,s);o==null&&(o=0),Qn.call(this,[new Gi([new sn("",null)])]),this.first=o,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=o;var h=S(o,0);this.sel=Fo(h),this.history=new Po(null),this.id=++na,this.modeOption=r,this.lineSep=a,this.direction=s=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),fl(this,{from:h,to:h,text:e}),Ue(this,Fo(h),Jn)};Os.prototype=Fn(Qn.prototype,{constructor:Os,iter:function(e,r,o){o?this.iterN(e-this.first,r-e,o):this.iterN(this.first,this.first+this.size,e)},insert:function(e,r){for(var o=0,a=0;a<r.length;++a)o+=r[a].height;this.insertInner(e-this.first,r,o)},remove:function(e,r){this.removeInner(e-this.first,r)},getValue:function(e){var r=Li(this,this.first,this.first+this.size);return e===!1?r:r.join(e||this.lineSeparator())},setValue:Hs(function(e){var r=S(this.first,0),o=this.first+this.size-1;Bi(this,{from:r,to:S(o,Xe(this,o).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&wo(this.cm,0,0),Ue(this,Fo(r),Jn)}),replaceRange:function(e,r,o,a){r=ni(this,r),o=o?ni(this,o):r,Lr(this,e,r,o,a)},getRange:function(e,r,o){var a=ys(this,ni(this,e),ni(this,r));return o===!1?a:o===""?a.join(""):a.join(o||this.lineSeparator())},getLine:function(e){var r=this.getLineHandle(e);return r&&r.text},getLineHandle:function(e){if($s(this,e))return Xe(this,e)},getLineNumber:function(e){return ti(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Xe(this,e)),Sa(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return ni(this,e)},getCursor:function(e){var r=this.sel.primary(),o;return e==null||e=="head"?o=r.head:e=="anchor"?o=r.anchor:e=="end"||e=="to"||e===!1?o=r.to():o=r.from(),o},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Hs(function(e,r,o){Oe(this,ni(this,typeof e=="number"?S(e,r||0):e),null,o)}),setSelection:Hs(function(e,r,o){Oe(this,ni(this,e),ni(this,r||e),o)}),extendSelection:Hs(function(e,r,o){b(this,ni(this,e),r&&ni(this,r),o)}),extendSelections:Hs(function(e,r){re(this,Xo(this,e),r)}),extendSelectionsBy:Hs(function(e,r){var o=Jr(this.sel.ranges,e);re(this,Xo(this,o),r)}),setSelections:Hs(function(e,r,o){if(!!e.length){for(var a=[],s=0;s<e.length;s++)a[s]=new Fs(ni(this,e[s].anchor),ni(this,e[s].head||e[s].anchor));r==null&&(r=Math.min(e.length-1,this.sel.primIndex)),Ue(this,qa(this.cm,a,r),o)}}),addSelection:Hs(function(e,r,o){var a=this.sel.ranges.slice(0);a.push(new Fs(ni(this,e),ni(this,r||e))),Ue(this,qa(this.cm,a,a.length-1),o)}),getSelection:function(e){for(var r=this.sel.ranges,o,a=0;a<r.length;a++){var s=ys(this,r[a].from(),r[a].to());o=o?o.concat(s):s}return e===!1?o:o.join(e||this.lineSeparator())},getSelections:function(e){for(var r=[],o=this.sel.ranges,a=0;a<o.length;a++){var s=ys(this,o[a].from(),o[a].to());e!==!1&&(s=s.join(e||this.lineSeparator())),r[a]=s}return r},replaceSelection:function(e,r,o){for(var a=[],s=0;s<this.sel.ranges.length;s++)a[s]=e;this.replaceSelections(a,r,o||"+input")},replaceSelections:Hs(function(e,r,o){for(var a=[],s=this.sel,h=0;h<s.ranges.length;h++){var d=s.ranges[h];a[h]={from:d.from(),to:d.to(),text:this.splitLines(e[h]),origin:o}}for(var F=r&&r!="end"&&ql(this,a,r),M=a.length-1;M>=0;M--)Bi(this,a[M]);F?Ye(this,F):this.cm&&io(this.cm)}),undo:Hs(function(){Ci(this,"undo")}),redo:Hs(function(){Ci(this,"redo")}),undoSelection:Hs(function(){Ci(this,"undo",!0)}),redoSelection:Hs(function(){Ci(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,r=0,o=0,a=0;a<e.done.length;a++)e.done[a].ranges||++r;for(var s=0;s<e.undone.length;s++)e.undone[s].ranges||++o;return{undo:r,redo:o}},clearHistory:function(){var e=this;this.history=new Po(this.history),po(this,function(r){return r.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Se(this.history.done),undone:Se(this.history.undone)}},setHistory:function(e){var r=this.history=new Po(this.history);r.done=Se(e.done.slice(0),null,!0),r.undone=Se(e.undone.slice(0),null,!0)},setGutterMarker:Hs(function(e,r,o){return rs(this,e,"gutter",function(a){var s=a.gutterMarkers||(a.gutterMarkers={});return s[r]=o,!o&&Mt(s)&&(a.gutterMarkers=null),!0})}),clearGutter:Hs(function(e){var r=this;this.iter(function(o){o.gutterMarkers&&o.gutterMarkers[e]&&rs(r,o,"gutter",function(){return o.gutterMarkers[e]=null,Mt(o.gutterMarkers)&&(o.gutterMarkers=null),!0})})}),lineInfo:function(e){var r;if(typeof e=="number"){if(!$s(this,e)||(r=e,e=Xe(this,e),!e))return null}else if(r=ti(e),r==null)return null;return{line:r,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Hs(function(e,r,o){return rs(this,e,r=="gutter"?"gutter":"class",function(a){var s=r=="text"?"textClass":r=="background"?"bgClass":r=="gutter"?"gutterClass":"wrapClass";if(!a[s])a[s]=o;else{if(Nn(o).test(a[s]))return!1;a[s]+=" "+o}return!0})}),removeLineClass:Hs(function(e,r,o){return rs(this,e,r=="gutter"?"gutter":"class",function(a){var s=r=="text"?"textClass":r=="background"?"bgClass":r=="gutter"?"gutterClass":"wrapClass",h=a[s];if(h)if(o==null)a[s]=null;else{var d=h.match(Nn(o));if(!d)return!1;var F=d.index+d[0].length;a[s]=h.slice(0,d.index)+(!d.index||F==h.length?"":" ")+h.slice(F)||null}else return!1;return!0})}),addLineWidget:Hs(function(e,r,o){return ki(this,e,r,o)}),removeLineWidget:function(e){e.clear()},markText:function(e,r,o){return _r(this,ni(this,e),ni(this,r),o,o&&o.type||"range")},setBookmark:function(e,r){var o={replacedWith:r&&(r.nodeType==null?r.widget:r),insertLeft:r&&r.insertLeft,clearWhenEmpty:!1,shared:r&&r.shared,handleMouseEvents:r&&r.handleMouseEvents};return e=ni(this,e),_r(this,e,e,o,"bookmark")},findMarksAt:function(e){e=ni(this,e);var r=[],o=Xe(this,e.line).markedSpans;if(o)for(var a=0;a<o.length;++a){var s=o[a];(s.from==null||s.from<=e.ch)&&(s.to==null||s.to>=e.ch)&&r.push(s.marker.parent||s.marker)}return r},findMarks:function(e,r,o){e=ni(this,e),r=ni(this,r);var a=[],s=e.line;return this.iter(e.line,r.line+1,function(h){var d=h.markedSpans;if(d)for(var F=0;F<d.length;F++){var M=d[F];!(M.to!=null&&s==e.line&&e.ch>=M.to||M.from==null&&s!=e.line||M.from!=null&&s==r.line&&M.from>=r.ch)&&(!o||o(M.marker))&&a.push(M.marker.parent||M.marker)}++s}),a},getAllMarks:function(){var e=[];return this.iter(function(r){var o=r.markedSpans;if(o)for(var a=0;a<o.length;++a)o[a].from!=null&&e.push(o[a].marker)}),e},posFromIndex:function(e){var r,o=this.first,a=this.lineSeparator().length;return this.iter(function(s){var h=s.text.length+a;if(h>e)return r=e,!0;e-=h,++o}),ni(this,S(o,r))},indexFromPos:function(e){e=ni(this,e);var r=e.ch;if(e.line<this.first||e.ch<0)return 0;var o=this.lineSeparator().length;return this.iter(this.first,e.line,function(a){r+=a.text.length+o}),r},copy:function(e){var r=new Os(Li(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return r.scrollTop=this.scrollTop,r.scrollLeft=this.scrollLeft,r.sel=this.sel,r.extend=!1,e&&(r.history.undoDepth=this.history.undoDepth,r.setHistory(this.getHistory())),r},linkedDoc:function(e){e||(e={});var r=this.first,o=this.first+this.size;e.from!=null&&e.from>r&&(r=e.from),e.to!=null&&e.to<o&&(o=e.to);var a=new Os(Li(this,r,o),e.mode||this.modeOption,r,this.lineSep,this.direction);return e.sharedHist&&(a.history=this.history),(this.linked||(this.linked=[])).push({doc:a,sharedHist:e.sharedHist}),a.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],Xn(a,oi(this)),a},unlinkDoc:function(e){if(e instanceof qe&&(e=e.doc),this.linked)for(var r=0;r<this.linked.length;++r){var o=this.linked[r];if(o.doc==e){this.linked.splice(r,1),e.unlinkDoc(this),ra(oi(this));break}}if(e.history==this.history){var a=[e.id];po(e,function(s){return a.push(s.id)},!0),e.history=new Po(null),e.history.done=Se(this.history.done,a),e.history.undone=Se(this.history.undone,a)}},iterLinkedDocs:function(e){po(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ce(e)},lineSeparator:function(){return this.lineSep||`
|
|
11
|
-
`},setDirection:Hs(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(r){return r.order=null}),this.cm&&rc(this.cm))})}),Os.prototype.eachLine=Os.prototype.iter;var Aa=0;function va(e){var r=this;if(ia(r),!(zt(r,e)||_t(r.display,e))){Re(e),De&&(Aa=+new Date);var o=ma(r,e,!0),a=e.dataTransfer.files;if(!(!o||r.isReadOnly()))if(a&&a.length&&window.FileReader&&window.File)for(var s=a.length,h=Array(s),d=0,F=function(){++d==s&&Ys(r,function(){o=ni(r.doc,o);var Qe={from:o,to:o,text:r.doc.splitLines(h.filter(function(or){return or!=null}).join(r.doc.lineSeparator())),origin:"paste"};Bi(r.doc,Qe),Ye(r.doc,Fo(ni(r.doc,o),ni(r.doc,$a(Qe))))})()},M=function(Qe,or){if(r.options.allowDropFileTypes&&mr(r.options.allowDropFileTypes,Qe.type)==-1){F();return}var qt=new FileReader;qt.onerror=function(){return F()},qt.onload=function(){var xr=qt.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(xr)){F();return}h[or]=xr,F()},qt.readAsText(Qe)},H=0;H<a.length;H++)M(a[H],H);else{if(r.state.draggingText&&r.doc.sel.contains(o)>-1){r.state.draggingText(e),setTimeout(function(){return r.display.input.focus()},20);return}try{var Ne=e.dataTransfer.getData("Text");if(Ne){var Fe;if(r.state.draggingText&&!r.state.draggingText.copy&&(Fe=r.listSelections()),_e(r.doc,Fo(o,o)),Fe)for(var kt=0;kt<Fe.length;++kt)Lr(r.doc,"",Fe[kt].anchor,Fe[kt].head,"drag");r.replaceSelection(Ne,"around","paste"),r.display.input.focus()}}catch{}}}}function Qs(e,r){if(De&&(!e.state.draggingText||+new Date-Aa<100)){tr(r);return}if(!(zt(e,r)||_t(e.display,r))&&(r.dataTransfer.setData("Text",e.getSelection()),r.dataTransfer.effectAllowed="copyMove",r.dataTransfer.setDragImage&&!Cr)){var o=we("img",null,null,"position: fixed; left: 0; top: 0;");o.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",Qt&&(o.width=o.height=1,e.display.wrapper.appendChild(o),o._top=o.offsetTop),r.dataTransfer.setDragImage(o,0,0),Qt&&o.parentNode.removeChild(o)}}function La(e,r){var o=ma(e,r);if(!!o){var a=document.createDocumentFragment();Mo(e,o,a),e.display.dragCursor||(e.display.dragCursor=we("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),vn(e.display.dragCursor,a)}}function ia(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Zs(e){if(!!document.getElementsByClassName){for(var r=document.getElementsByClassName("CodeMirror"),o=[],a=0;a<r.length;a++){var s=r[a].CodeMirror;s&&o.push(s)}o.length&&o[0].operation(function(){for(var h=0;h<o.length;h++)e(o[h])})}}var sa=!1;function Sl(){sa||(Ju(),sa=!0)}function Ju(){var e;Gt(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,Zs(Nc)},100))}),Gt(window,"blur",function(){return Zs(Ua)})}function Nc(e){var r=e.display;r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.scrollbarsClipped=!1,e.setSize()}for(var Pu={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Fl=0;Fl<10;Fl++)Pu[Fl+48]=Pu[Fl+96]=String(Fl);for(var $l=65;$l<=90;$l++)Pu[$l]=String.fromCharCode($l);for(var cu=1;cu<=12;cu++)Pu[cu+111]=Pu[cu+63235]="F"+cu;var $o={};$o.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},$o.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},$o.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},$o.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},$o.default=nn?$o.macDefault:$o.pcDefault;function Bc(e){var r=e.split(/-(?!$)/);e=r[r.length-1];for(var o,a,s,h,d=0;d<r.length-1;d++){var F=r[d];if(/^(cmd|meta|m)$/i.test(F))h=!0;else if(/^a(lt)?$/i.test(F))o=!0;else if(/^(c|ctrl|control)$/i.test(F))a=!0;else if(/^s(hift)?$/i.test(F))s=!0;else throw new Error("Unrecognized modifier name: "+F)}return o&&(e="Alt-"+e),a&&(e="Ctrl-"+e),h&&(e="Cmd-"+e),s&&(e="Shift-"+e),e}function n(e){var r={};for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];if(/^(name|fallthrough|(de|at)tach)$/.test(o))continue;if(a=="..."){delete e[o];continue}for(var s=Jr(o.split(" "),Bc),h=0;h<s.length;h++){var d=void 0,F=void 0;h==s.length-1?(F=s.join(" "),d=a):(F=s.slice(0,h+1).join(" "),d="...");var M=r[F];if(!M)r[F]=d;else if(M!=d)throw new Error("Inconsistent bindings for "+F)}delete e[o]}for(var H in r)e[H]=r[H];return e}function t(e,r,o,a){r=z(r);var s=r.call?r.call(e,a):r[e];if(s===!1)return"nothing";if(s==="...")return"multi";if(s!=null&&o(s))return"handled";if(r.fallthrough){if(Object.prototype.toString.call(r.fallthrough)!="[object Array]")return t(e,r.fallthrough,o,a);for(var h=0;h<r.fallthrough.length;h++){var d=t(e,r.fallthrough[h],o,a);if(d)return d}}}function u(e){var r=typeof e=="string"?e:Pu[e.keyCode];return r=="Ctrl"||r=="Alt"||r=="Shift"||r=="Mod"}function p(e,r,o){var a=e;return r.altKey&&a!="Alt"&&(e="Alt-"+e),(mi?r.metaKey:r.ctrlKey)&&a!="Ctrl"&&(e="Ctrl-"+e),(mi?r.ctrlKey:r.metaKey)&&a!="Mod"&&(e="Cmd-"+e),!o&&r.shiftKey&&a!="Shift"&&(e="Shift-"+e),e}function D(e,r){if(Qt&&e.keyCode==34&&e.char)return!1;var o=Pu[e.keyCode];return o==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(o=e.code),p(o,e,r))}function z(e){return typeof e=="string"?$o[e]:e}function pe(e,r){for(var o=e.doc.sel.ranges,a=[],s=0;s<o.length;s++){for(var h=r(o[s]);a.length&&Je(h.from,sr(a).to)<=0;){var d=a.pop();if(Je(d.from,h.from)<0){h.from=d.from;break}}a.push(h)}ya(e,function(){for(var F=a.length-1;F>=0;F--)Lr(e.doc,"",a[F].from,a[F].to,"+delete");io(e)})}function Ze(e,r,o){var a=ns(e.text,r+o,o);return a<0||a>e.text.length?null:a}function At(e,r,o){var a=Ze(e,r.ch,o);return a==null?null:new S(r.line,a,o<0?"after":"before")}function ar(e,r,o,a,s){if(e){r.doc.direction=="rtl"&&(s=-s);var h=Sr(o,r.doc.direction);if(h){var d=s<0?sr(h):h[0],F=s<0==(d.level==1),M=F?"after":"before",H;if(d.level>0||r.doc.direction=="rtl"){var Ne=xi(r,o);H=s<0?o.text.length-1:0;var Fe=Si(r,Ne,H).top;H=is(function(kt){return Si(r,Ne,kt).top==Fe},s<0==(d.level==1)?d.from:d.to-1,H),M=="before"&&(H=Ze(o,H,1))}else H=s<0?d.to:d.from;return new S(a,H,M)}}return new S(a,s<0?o.text.length:0,s<0?"before":"after")}function m(e,r,o,a){var s=Sr(r,e.doc.direction);if(!s)return At(r,o,a);o.ch>=r.text.length?(o.ch=r.text.length,o.sticky="before"):o.ch<=0&&(o.ch=0,o.sticky="after");var h=Ls(s,o.ch,o.sticky),d=s[h];if(e.doc.direction=="ltr"&&d.level%2==0&&(a>0?d.to>o.ch:d.from<o.ch))return At(r,o,a);var F=function(Xr,cr){return Ze(r,Xr instanceof S?Xr.ch:Xr,cr)},M,H=function(Xr){return e.options.lineWrapping?(M=M||xi(e,r),hi(e,r,M,Xr)):{begin:0,end:r.text.length}},Ne=H(o.sticky=="before"?F(o,-1):o.ch);if(e.doc.direction=="rtl"||d.level==1){var Fe=d.level==1==a<0,kt=F(o,Fe?1:-1);if(kt!=null&&(Fe?kt<=d.to&&kt<=Ne.end:kt>=d.from&&kt>=Ne.begin)){var Qe=Fe?"before":"after";return new S(o.line,kt,Qe)}}var or=function(Xr,cr,Fr){for(var Zr=function(Ei,Ns){return Ns?new S(o.line,F(Ei,1),"before"):new S(o.line,Ei,"after")};Xr>=0&&Xr<s.length;Xr+=cr){var ft=s[Xr],Pn=cr>0==(ft.level!=1),qn=Pn?Fr.begin:F(Fr.end,-1);if(ft.from<=qn&&qn<ft.to||(qn=Pn?ft.from:F(ft.to,-1),Fr.begin<=qn&&qn<Fr.end))return Zr(qn,Pn)}},qt=or(h+a,a,Ne);if(qt)return qt;var xr=a>0?Ne.end:F(Ne.begin,-1);return xr!=null&&!(a>0&&xr==r.text.length)&&(qt=or(a>0?0:s.length-1,a,H(xr)),qt)?qt:null}var E={selectAll:bi,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Jn)},killLine:function(e){return pe(e,function(r){if(r.empty()){var o=Xe(e.doc,r.head.line).text.length;return r.head.ch==o&&r.head.line<e.lastLine()?{from:r.head,to:S(r.head.line+1,0)}:{from:r.head,to:S(r.head.line,o)}}else return{from:r.from(),to:r.to()}})},deleteLine:function(e){return pe(e,function(r){return{from:S(r.from().line,0),to:ni(e.doc,S(r.to().line+1,0))}})},delLineLeft:function(e){return pe(e,function(r){return{from:S(r.from().line,0),to:r.from()}})},delWrappedLineLeft:function(e){return pe(e,function(r){var o=e.charCoords(r.head,"div").top+5,a=e.coordsChar({left:0,top:o},"div");return{from:a,to:r.from()}})},delWrappedLineRight:function(e){return pe(e,function(r){var o=e.charCoords(r.head,"div").top+5,a=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div");return{from:r.from(),to:a}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(S(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(S(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(r){return g(e,r.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(r){return C(e,r.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(r){return A(e,r.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(r){var o=e.cursorCoords(r.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:o},"div")},ui)},goLineLeft:function(e){return e.extendSelectionsBy(function(r){var o=e.cursorCoords(r.head,"div").top+5;return e.coordsChar({left:0,top:o},"div")},ui)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(r){var o=e.cursorCoords(r.head,"div").top+5,a=e.coordsChar({left:0,top:o},"div");return a.ch<e.getLine(a.line).search(/\S/)?C(e,r.head):a},ui)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var r=[],o=e.listSelections(),a=e.options.tabSize,s=0;s<o.length;s++){var h=o[s].from(),d=Or(e.getLine(h.line),h.ch,a);r.push(br(a-d%a))}e.replaceSelections(r)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return ya(e,function(){for(var r=e.listSelections(),o=[],a=0;a<r.length;a++)if(!!r[a].empty()){var s=r[a].head,h=Xe(e.doc,s.line).text;if(h){if(s.ch==h.length&&(s=new S(s.line,s.ch-1)),s.ch>0)s=new S(s.line,s.ch+1),e.replaceRange(h.charAt(s.ch-1)+h.charAt(s.ch-2),S(s.line,s.ch-2),s,"+transpose");else if(s.line>e.doc.first){var d=Xe(e.doc,s.line-1).text;d&&(s=new S(s.line,1),e.replaceRange(h.charAt(0)+e.doc.lineSeparator()+d.charAt(d.length-1),S(s.line-1,d.length-1),s,"+transpose"))}}o.push(new Fs(s,s))}e.setSelections(o)})},newlineAndIndent:function(e){return ya(e,function(){for(var r=e.listSelections(),o=r.length-1;o>=0;o--)e.replaceRange(e.doc.lineSeparator(),r[o].anchor,r[o].head,"+input");r=e.listSelections();for(var a=0;a<r.length;a++)e.indentLine(r[a].from().line,null,!0);io(e)})},openLine:function(e){return e.replaceSelection(`
|
|
12
|
-
`,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function g(e,r){var o=Xe(e.doc,r),a=Sa(o);return a!=o&&(r=ti(a)),ar(!0,e,a,r,1)}function A(e,r){var o=Xe(e.doc,r),a=Qo(o);return a!=o&&(r=ti(a)),ar(!0,e,o,r,-1)}function C(e,r){var o=g(e,r.line),a=Xe(e.doc,o.line),s=Sr(a,e.doc.direction);if(!s||s[0].level==0){var h=Math.max(o.ch,a.text.search(/\S/)),d=r.line==o.line&&r.ch<=h&&r.ch;return S(o.line,d?0:h,o.sticky)}return o}function y(e,r,o){if(typeof r=="string"&&(r=E[r],!r))return!1;e.display.input.ensurePolled();var a=e.display.shift,s=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),o&&(e.display.shift=!1),s=r(e)!=ai}finally{e.display.shift=a,e.state.suppressEdits=!1}return s}function x(e,r,o){for(var a=0;a<e.state.keyMaps.length;a++){var s=t(r,e.state.keyMaps[a],o,e);if(s)return s}return e.options.extraKeys&&t(r,e.options.extraKeys,o,e)||t(r,e.options.keyMap,o,e)}var w=new Kr;function k(e,r,o,a){var s=e.state.keySeq;if(s){if(u(r))return"handled";if(/\'$/.test(r)?e.state.keySeq=null:w.set(50,function(){e.state.keySeq==s&&(e.state.keySeq=null,e.display.input.reset())}),_(e,s+" "+r,o,a))return!0}return _(e,r,o,a)}function _(e,r,o,a){var s=x(e,r,a);return s=="multi"&&(e.state.keySeq=r),s=="handled"&&Rs(e,"keyHandled",e,r,o),(s=="handled"||s=="multi")&&(Re(o),nu(e)),!!s}function $(e,r){var o=D(r,!0);return o?r.shiftKey&&!e.state.keySeq?k(e,"Shift-"+o,r,function(a){return y(e,a,!0)})||k(e,o,r,function(a){if(typeof a=="string"?/^go[A-Z]/.test(a):a.motion)return y(e,a)}):k(e,o,r,function(a){return y(e,a)}):!1}function j(e,r,o){return k(e,"'"+o+"'",r,function(a){return y(e,a,!0)})}var W=null;function I(e){var r=this;if(!(e.target&&e.target!=r.display.input.getField())&&(r.curOp.focus=ei(),!zt(r,e))){De&&Le<11&&e.keyCode==27&&(e.returnValue=!1);var o=e.keyCode;r.display.shift=o==16||e.shiftKey;var a=$(r,e);Qt&&(W=a?o:null,!a&&o==88&&!et&&(nn?e.metaKey:e.ctrlKey)&&r.replaceSelection("",null,"cut")),v&&!nn&&!a&&o==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),o==18&&!/\bCodeMirror-crosshair\b/.test(r.display.lineDiv.className)&&O(r)}}function O(e){var r=e.display.lineDiv;ls(r,"CodeMirror-crosshair");function o(a){(a.keyCode==18||!a.altKey)&&(Ai(r,"CodeMirror-crosshair"),ur(document,"keyup",o),ur(document,"mouseover",o))}Gt(document,"keyup",o),Gt(document,"mouseover",o)}function U(e){e.keyCode==16&&(this.doc.sel.shift=!1),zt(this,e)}function le(e){var r=this;if(!(e.target&&e.target!=r.display.input.getField())&&!(_t(r.display,e)||zt(r,e)||e.ctrlKey&&!e.altKey||nn&&e.metaKey)){var o=e.keyCode,a=e.charCode;if(Qt&&o==W){W=null,Re(e);return}if(!(Qt&&(!e.which||e.which<10)&&$(r,e))){var s=String.fromCharCode(a==null?o:a);s!="\b"&&(j(r,e,s)||r.display.input.onKeyPress(e))}}}var he=400,J=function(e,r,o){this.time=e,this.pos=r,this.button=o};J.prototype.compare=function(e,r,o){return this.time+he>e&&Je(r,this.pos)==0&&o==this.button};var ee,ue;function ge(e,r){var o=+new Date;return ue&&ue.compare(o,e,r)?(ee=ue=null,"triple"):ee&&ee.compare(o,e,r)?(ue=new J(o,e,r),ee=null,"double"):(ee=new J(o,e,r),ue=null,"single")}function me(e){var r=this,o=r.display;if(!(zt(r,e)||o.activeTouch&&o.input.supportsTouch())){if(o.input.ensurePolled(),o.shift=e.shiftKey,_t(o,e)){ze||(o.scroller.draggable=!1,setTimeout(function(){return o.scroller.draggable=!0},100));return}if(!se(r,e)){var a=ma(r,e),s=on(e),h=a?ge(a,s):"single";window.focus(),s==1&&r.state.selectingText&&r.state.selectingText(e),!(a&&ye(r,s,a,h,e))&&(s==1?a?L(r,a,h,e):zr(e)==o.scroller&&Re(e):s==2?(a&&b(r.doc,a),setTimeout(function(){return o.input.focus()},20)):s==3&&(Un?r.display.input.onContextMenu(e):jo(r)))}}}function ye(e,r,o,a,s){var h="Click";return a=="double"?h="Double"+h:a=="triple"&&(h="Triple"+h),h=(r==1?"Left":r==2?"Middle":"Right")+h,k(e,p(h,s),s,function(d){if(typeof d=="string"&&(d=E[d]),!d)return!1;var F=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),F=d(e,o)!=ai}finally{e.state.suppressEdits=!1}return F})}function V(e,r,o){var a=e.getOption("configureMouse"),s=a?a(e,r,o):{};if(s.unit==null){var h=Sn?o.shiftKey&&o.metaKey:o.altKey;s.unit=h?"rectangle":r=="single"?"char":r=="double"?"word":"line"}return(s.extend==null||e.doc.extend)&&(s.extend=e.doc.extend||o.shiftKey),s.addNew==null&&(s.addNew=nn?o.metaKey:o.ctrlKey),s.moveOnDrag==null&&(s.moveOnDrag=!(nn?o.altKey:o.ctrlKey)),s}function L(e,r,o,a){De?setTimeout(qi(iu,e),0):e.curOp.focus=ei();var s=V(e,o,a),h=e.doc.sel,d;e.options.dragDrop&&jt&&!e.isReadOnly()&&o=="single"&&(d=h.contains(r))>-1&&(Je((d=h.ranges[d]).from(),r)<0||r.xRel>0)&&(Je(d.to(),r)>0||r.xRel<0)?R(e,a,r,s):N(e,a,r,s)}function R(e,r,o,a){var s=e.display,h=!1,d=Ys(e,function(H){ze&&(s.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:jo(e)),ur(s.wrapper.ownerDocument,"mouseup",d),ur(s.wrapper.ownerDocument,"mousemove",F),ur(s.scroller,"dragstart",M),ur(s.scroller,"drop",d),h||(Re(H),a.addNew||b(e.doc,o,null,null,a.extend),ze&&!Cr||De&&Le==9?setTimeout(function(){s.wrapper.ownerDocument.body.focus({preventScroll:!0}),s.input.focus()},20):s.input.focus())}),F=function(H){h=h||Math.abs(r.clientX-H.clientX)+Math.abs(r.clientY-H.clientY)>=10},M=function(){return h=!0};ze&&(s.scroller.draggable=!0),e.state.draggingText=d,d.copy=!a.moveOnDrag,Gt(s.wrapper.ownerDocument,"mouseup",d),Gt(s.wrapper.ownerDocument,"mousemove",F),Gt(s.scroller,"dragstart",M),Gt(s.scroller,"drop",d),e.state.delayingBlurEvent=!0,setTimeout(function(){return s.input.focus()},20),s.scroller.dragDrop&&s.scroller.dragDrop()}function X(e,r,o){if(o=="char")return new Fs(r,r);if(o=="word")return e.findWordAt(r);if(o=="line")return new Fs(S(r.line,0),ni(e.doc,S(r.line+1,0)));var a=o(e,r);return new Fs(a.from,a.to)}function N(e,r,o,a){De&&jo(e);var s=e.display,h=e.doc;Re(r);var d,F,M=h.sel,H=M.ranges;if(a.addNew&&!a.extend?(F=h.sel.contains(o),F>-1?d=H[F]:d=new Fs(o,o)):(d=h.sel.primary(),F=h.sel.primIndex),a.unit=="rectangle")a.addNew||(d=new Fs(o,o)),o=ma(e,r,!0,!0),F=-1;else{var Ne=X(e,o,a.unit);a.extend?d=P(d,Ne.anchor,Ne.head,a.extend):d=Ne}a.addNew?F==-1?(F=H.length,Ue(h,qa(e,H.concat([d]),F),{scroll:!1,origin:"*mouse"})):H.length>1&&H[F].empty()&&a.unit=="char"&&!a.extend?(Ue(h,qa(e,H.slice(0,F).concat(H.slice(F+1)),0),{scroll:!1,origin:"*mouse"}),M=h.sel):Q(h,F,d,zn):(F=0,Ue(h,new Ha([d],0),zn),M=h.sel);var Fe=o;function kt(Fr){if(Je(Fe,Fr)!=0)if(Fe=Fr,a.unit=="rectangle"){for(var Zr=[],ft=e.options.tabSize,Pn=Or(Xe(h,o.line).text,o.ch,ft),qn=Or(Xe(h,Fr.line).text,Fr.ch,ft),Ei=Math.min(Pn,qn),Ns=Math.max(Pn,qn),fs=Math.min(o.line,Fr.line),ca=Math.min(e.lastLine(),Math.max(o.line,Fr.line));fs<=ca;fs++){var Be=Xe(h,fs).text,er=ct(Be,Ei,ft);Ei==Ns?Zr.push(new Fs(S(fs,er),S(fs,er))):Be.length>er&&Zr.push(new Fs(S(fs,er),S(fs,ct(Be,Ns,ft))))}Zr.length||Zr.push(new Fs(o,o)),Ue(h,qa(e,M.ranges.slice(0,F).concat(Zr),F),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Fr)}else{var Tn=d,Pi=X(e,Fr,a.unit),_i=Tn.anchor,ds;Je(Pi.anchor,_i)>0?(ds=Pi.head,_i=ss(Tn.from(),Pi.anchor)):(ds=Pi.anchor,_i=li(Tn.to(),Pi.head));var bs=M.ranges.slice(0);bs[F]=G(e,new Fs(ni(h,_i),ds)),Ue(h,qa(e,bs,F),zn)}}var Qe=s.wrapper.getBoundingClientRect(),or=0;function qt(Fr){var Zr=++or,ft=ma(e,Fr,!0,a.unit=="rectangle");if(!!ft)if(Je(ft,Fe)!=0){e.curOp.focus=ei(),kt(ft);var Pn=Do(s,h);(ft.line>=Pn.to||ft.line<Pn.from)&&setTimeout(Ys(e,function(){or==Zr&&qt(Fr)}),150)}else{var qn=Fr.clientY<Qe.top?-20:Fr.clientY>Qe.bottom?20:0;qn&&setTimeout(Ys(e,function(){or==Zr&&(s.scroller.scrollTop+=qn,qt(Fr))}),50)}}function xr(Fr){e.state.selectingText=!1,or=1/0,Fr&&(Re(Fr),s.input.focus()),ur(s.wrapper.ownerDocument,"mousemove",Xr),ur(s.wrapper.ownerDocument,"mouseup",cr),h.history.lastSelOrigin=null}var Xr=Ys(e,function(Fr){Fr.buttons===0||!on(Fr)?xr(Fr):qt(Fr)}),cr=Ys(e,xr);e.state.selectingText=cr,Gt(s.wrapper.ownerDocument,"mousemove",Xr),Gt(s.wrapper.ownerDocument,"mouseup",cr)}function G(e,r){var o=r.anchor,a=r.head,s=Xe(e.doc,o.line);if(Je(o,a)==0&&o.sticky==a.sticky)return r;var h=Sr(s);if(!h)return r;var d=Ls(h,o.ch,o.sticky),F=h[d];if(F.from!=o.ch&&F.to!=o.ch)return r;var M=d+(F.from==o.ch==(F.level!=1)?0:1);if(M==0||M==h.length)return r;var H;if(a.line!=o.line)H=(a.line-o.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var Ne=Ls(h,a.ch,a.sticky),Fe=Ne-d||(a.ch-o.ch)*(F.level==1?-1:1);Ne==M-1||Ne==M?H=Fe<0:H=Fe>0}var kt=h[M+(H?-1:0)],Qe=H==(kt.level==1),or=Qe?kt.from:kt.to,qt=Qe?"after":"before";return o.ch==or&&o.sticky==qt?r:new Fs(new S(o.line,or,qt),a)}function q(e,r,o,a){var s,h;if(r.touches)s=r.touches[0].clientX,h=r.touches[0].clientY;else try{s=r.clientX,h=r.clientY}catch{return!1}if(s>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;a&&Re(r);var d=e.display,F=d.lineDiv.getBoundingClientRect();if(h>F.bottom||!Ar(e,o))return Xt(r);h-=F.top-d.viewOffset;for(var M=0;M<e.display.gutterSpecs.length;++M){var H=d.gutters.childNodes[M];if(H&&H.getBoundingClientRect().right>=s){var Ne=Gn(e.doc,h),Fe=e.display.gutterSpecs[M];return gn(e,o,e,Ne,Fe.className,r),Xt(r)}}}function se(e,r){return q(e,r,"gutterClick",!0)}function te(e,r){_t(e.display,r)||ne(e,r)||zt(e,r,"contextmenu")||Un||e.display.input.onContextMenu(r)}function ne(e,r){return Ar(e,"gutterContextMenu")?q(e,r,"gutterContextMenu",!1):!1}function be(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Vi(e)}var je={toString:function(){return"CodeMirror.Init"}},Pe={},Ge={};function We(e){var r=e.optionHandlers;function o(a,s,h,d){e.defaults[a]=s,h&&(r[a]=d?function(F,M,H){H!=je&&h(F,M,H)}:h)}e.defineOption=o,e.Init=je,o("value","",function(a,s){return a.setValue(s)},!0),o("mode",null,function(a,s){a.doc.modeOption=s,ko(a)},!0),o("indentUnit",2,ko,!0),o("indentWithTabs",!1),o("smartIndent",!0),o("tabSize",4,function(a){Qa(a),Vi(a),Ca(a)},!0),o("lineSeparator",null,function(a,s){if(a.doc.lineSep=s,!!s){var h=[],d=a.doc.first;a.doc.iter(function(M){for(var H=0;;){var Ne=M.text.indexOf(s,H);if(Ne==-1)break;H=Ne+s.length,h.push(S(d,Ne))}d++});for(var F=h.length-1;F>=0;F--)Lr(a.doc,s,h[F],S(h[F].line,h[F].ch+s.length))}}),o("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(a,s,h){a.state.specialChars=new RegExp(s.source+(s.test(" ")?"":"| "),"g"),h!=je&&a.refresh()}),o("specialCharPlaceholder",Zi,function(a){return a.refresh()},!0),o("electricChars",!0),o("inputStyle",Pr?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),o("spellcheck",!1,function(a,s){return a.getInputField().spellcheck=s},!0),o("autocorrect",!1,function(a,s){return a.getInputField().autocorrect=s},!0),o("autocapitalize",!1,function(a,s){return a.getInputField().autocapitalize=s},!0),o("rtlMoveVisually",!Wn),o("wholeLineUpdateBefore",!0),o("theme","default",function(a){be(a),vo(a)},!0),o("keyMap","default",function(a,s,h){var d=z(s),F=h!=je&&z(h);F&&F.detach&&F.detach(a,d),d.attach&&d.attach(a,F||null)}),o("extraKeys",null),o("configureMouse",null),o("lineWrapping",!1,yt,!0),o("gutters",[],function(a,s){a.display.gutterSpecs=Fu(s,a.options.lineNumbers),vo(a)},!0),o("fixedGutter",!0,function(a,s){a.display.gutters.style.left=s?eu(a.display)+"px":"0",a.refresh()},!0),o("coverGutterNextToScrollbar",!1,function(a){return uo(a)},!0),o("scrollbarStyle","native",function(a){Ro(a),uo(a),a.display.scrollbars.setScrollTop(a.doc.scrollTop),a.display.scrollbars.setScrollLeft(a.doc.scrollLeft)},!0),o("lineNumbers",!1,function(a,s){a.display.gutterSpecs=Fu(a.options.gutters,s),vo(a)},!0),o("firstLineNumber",1,vo,!0),o("lineNumberFormatter",function(a){return a},vo,!0),o("showCursorWhenSelecting",!1,yo,!0),o("resetSelectionOnContextMenu",!0),o("lineWiseCopyCut",!0),o("pasteLinesPerSelection",!0),o("selectionsMayTouch",!1),o("readOnly",!1,function(a,s){s=="nocursor"&&(Ua(a),a.display.input.blur()),a.display.input.readOnlyChanged(s)}),o("screenReaderLabel",null,function(a,s){s=s===""?null:s,a.display.input.screenReaderLabelChanged(s)}),o("disableInput",!1,function(a,s){s||a.display.input.reset()},!0),o("dragDrop",!0,Me),o("allowDropFileTypes",null),o("cursorBlinkRate",530),o("cursorScrollMargin",0),o("cursorHeight",1,yo,!0),o("singleCursorHeightPerLine",!0,yo,!0),o("workTime",100),o("workDelay",100),o("flattenSpans",!0,Qa,!0),o("addModeClass",!1,Qa,!0),o("pollInterval",100),o("undoDepth",200,function(a,s){return a.doc.history.undoDepth=s}),o("historyEventDelay",1250),o("viewportMargin",10,function(a){return a.refresh()},!0),o("maxHighlightLength",1e4,Qa,!0),o("moveInputWithCursor",!0,function(a,s){s||a.display.input.resetPosition()}),o("tabindex",null,function(a,s){return a.display.input.getField().tabIndex=s||""}),o("autofocus",null),o("direction","ltr",function(a,s){return a.doc.setDirection(s)},!0),o("phrases",null)}function Me(e,r,o){var a=o&&o!=je;if(!r!=!a){var s=e.display.dragFunctions,h=r?Gt:ur;h(e.display.scroller,"dragstart",s.start),h(e.display.scroller,"dragenter",s.enter),h(e.display.scroller,"dragover",s.over),h(e.display.scroller,"dragleave",s.leave),h(e.display.scroller,"drop",s.drop)}}function yt(e){e.options.lineWrapping?(ls(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Ai(e.display.wrapper,"CodeMirror-wrap"),xn(e)),ba(e),Ca(e),Vi(e),setTimeout(function(){return uo(e)},100)}function qe(e,r){var o=this;if(!(this instanceof qe))return new qe(e,r);this.options=r=r?Ps(r):{},Ps(Pe,r,!1);var a=r.value;typeof a=="string"?a=new Os(a,r.mode,null,r.lineSeparator,r.direction):r.mode&&(a.modeOption=r.mode),this.doc=a;var s=new qe.inputStyles[r.inputStyle](this),h=this.display=new Al(e,a,s,r);h.wrapper.CodeMirror=this,be(this),r.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ro(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Kr,keySeq:null,specialChars:null},r.autofocus&&!Pr&&h.input.focus(),De&&Le<11&&setTimeout(function(){return o.display.input.reset(!0)},20),Ve(this),Sl(),To(this),this.curOp.forceUpdate=!0,dl(this,a),r.autofocus&&!Pr||this.hasFocus()?setTimeout(function(){o.hasFocus()&&!o.state.focused&&Oa(o)},20):Ua(this);for(var d in Ge)Ge.hasOwnProperty(d)&&Ge[d](this,r[d],je);El(this),r.finishInit&&r.finishInit(this);for(var F=0;F<bt.length;++F)bt[F](this);la(this),ze&&r.lineWrapping&&getComputedStyle(h.lineDiv).textRendering=="optimizelegibility"&&(h.lineDiv.style.textRendering="auto")}qe.defaults=Pe,qe.optionHandlers=Ge;function Ve(e){var r=e.display;Gt(r.scroller,"mousedown",Ys(e,me)),De&&Le<11?Gt(r.scroller,"dblclick",Ys(e,function(M){if(!zt(e,M)){var H=ma(e,M);if(!(!H||se(e,M)||_t(e.display,M))){Re(M);var Ne=e.findWordAt(H);b(e.doc,Ne.anchor,Ne.head)}}})):Gt(r.scroller,"dblclick",function(M){return zt(e,M)||Re(M)}),Gt(r.scroller,"contextmenu",function(M){return te(e,M)}),Gt(r.input.getField(),"contextmenu",function(M){r.scroller.contains(M.target)||te(e,M)});var o,a={end:0};function s(){r.activeTouch&&(o=setTimeout(function(){return r.activeTouch=null},1e3),a=r.activeTouch,a.end=+new Date)}function h(M){if(M.touches.length!=1)return!1;var H=M.touches[0];return H.radiusX<=1&&H.radiusY<=1}function d(M,H){if(H.left==null)return!0;var Ne=H.left-M.left,Fe=H.top-M.top;return Ne*Ne+Fe*Fe>20*20}Gt(r.scroller,"touchstart",function(M){if(!zt(e,M)&&!h(M)&&!se(e,M)){r.input.ensurePolled(),clearTimeout(o);var H=+new Date;r.activeTouch={start:H,moved:!1,prev:H-a.end<=300?a:null},M.touches.length==1&&(r.activeTouch.left=M.touches[0].pageX,r.activeTouch.top=M.touches[0].pageY)}}),Gt(r.scroller,"touchmove",function(){r.activeTouch&&(r.activeTouch.moved=!0)}),Gt(r.scroller,"touchend",function(M){var H=r.activeTouch;if(H&&!_t(r,M)&&H.left!=null&&!H.moved&&new Date-H.start<300){var Ne=e.coordsChar(r.activeTouch,"page"),Fe;!H.prev||d(H,H.prev)?Fe=new Fs(Ne,Ne):!H.prev.prev||d(H,H.prev.prev)?Fe=e.findWordAt(Ne):Fe=new Fs(S(Ne.line,0),ni(e.doc,S(Ne.line+1,0))),e.setSelection(Fe.anchor,Fe.head),e.focus(),Re(M)}s()}),Gt(r.scroller,"touchcancel",s),Gt(r.scroller,"scroll",function(){r.scroller.clientHeight&&(Tu(e,r.scroller.scrollTop),oo(e,r.scroller.scrollLeft,!0),gn(e,"scroll",e))}),Gt(r.scroller,"mousewheel",function(M){return wl(e,M)}),Gt(r.scroller,"DOMMouseScroll",function(M){return wl(e,M)}),Gt(r.wrapper,"scroll",function(){return r.wrapper.scrollTop=r.wrapper.scrollLeft=0}),r.dragFunctions={enter:function(M){zt(e,M)||tr(M)},over:function(M){zt(e,M)||(La(e,M),tr(M))},start:function(M){return Qs(e,M)},drop:Ys(e,va),leave:function(M){zt(e,M)||ia(e)}};var F=r.input.getField();Gt(F,"keyup",function(M){return U.call(e,M)}),Gt(F,"keydown",Ys(e,I)),Gt(F,"keypress",Ys(e,le)),Gt(F,"focus",function(M){return Oa(e,M)}),Gt(F,"blur",function(M){return Ua(e,M)})}var bt=[];qe.defineInitHook=function(e){return bt.push(e)};function Tt(e,r,o,a){var s=e.doc,h;o==null&&(o="add"),o=="smart"&&(s.mode.indent?h=fo(e,r).state:o="prev");var d=e.options.tabSize,F=Xe(s,r),M=Or(F.text,null,d);F.stateAfter&&(F.stateAfter=null);var H=F.text.match(/^\s*/)[0],Ne;if(!a&&!/\S/.test(F.text))Ne=0,o="not";else if(o=="smart"&&(Ne=s.mode.indent(h,F.text.slice(H.length),F.text),Ne==ai||Ne>150)){if(!a)return;o="prev"}o=="prev"?r>s.first?Ne=Or(Xe(s,r-1).text,null,d):Ne=0:o=="add"?Ne=M+e.options.indentUnit:o=="subtract"?Ne=M-e.options.indentUnit:typeof o=="number"&&(Ne=M+o),Ne=Math.max(0,Ne);var Fe="",kt=0;if(e.options.indentWithTabs)for(var Qe=Math.floor(Ne/d);Qe;--Qe)kt+=d,Fe+=" ";if(kt<Ne&&(Fe+=br(Ne-kt)),Fe!=H)return Lr(s,Fe,S(r,0),S(r,H.length),"+input"),F.stateAfter=null,!0;for(var or=0;or<s.sel.ranges.length;or++){var qt=s.sel.ranges[or];if(qt.head.line==r&&qt.head.ch<H.length){var xr=S(r,H.length);Q(s,or,new Fs(xr,xr));break}}}var Ct=null;function hr(e){Ct=e}function $e(e,r,o,a,s){var h=e.doc;e.display.shift=!1,a||(a=h.sel);var d=+new Date-200,F=s=="paste"||e.state.pasteIncoming>d,M=Ce(r),H=null;if(F&&a.ranges.length>1)if(Ct&&Ct.text.join(`
|
|
13
|
-
`)==r){if(a.ranges.length%Ct.text.length==0){H=[];for(var Ne=0;Ne<Ct.text.length;Ne++)H.push(h.splitLines(Ct.text[Ne]))}}else M.length==a.ranges.length&&e.options.pasteLinesPerSelection&&(H=Jr(M,function(Xr){return[Xr]}));for(var Fe=e.curOp.updateInput,kt=a.ranges.length-1;kt>=0;kt--){var Qe=a.ranges[kt],or=Qe.from(),qt=Qe.to();Qe.empty()&&(o&&o>0?or=S(or.line,or.ch-o):e.state.overwrite&&!F?qt=S(qt.line,Math.min(Xe(h,qt.line).text.length,qt.ch+sr(M).length)):F&&Ct&&Ct.lineWise&&Ct.text.join(`
|
|
14
|
-
`)==M.join(`
|
|
15
|
-
`)&&(or=qt=S(or.line,0)));var xr={from:or,to:qt,text:H?H[kt%H.length]:M,origin:s||(F?"paste":e.state.cutIncoming>d?"cut":"+input")};Bi(e.doc,xr),Rs(e,"inputRead",e,xr)}r&&!F&&rr(e,r),io(e),e.curOp.updateInput<2&&(e.curOp.updateInput=Fe),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function nt(e,r){var o=e.clipboardData&&e.clipboardData.getData("Text");if(o)return e.preventDefault(),!r.isReadOnly()&&!r.options.disableInput&&r.hasFocus()&&ya(r,function(){return $e(r,o,0,null,"paste")}),!0}function rr(e,r){if(!(!e.options.electricChars||!e.options.smartIndent))for(var o=e.doc.sel,a=o.ranges.length-1;a>=0;a--){var s=o.ranges[a];if(!(s.head.ch>100||a&&o.ranges[a-1].head.line==s.head.line)){var h=e.getModeAt(s.head),d=!1;if(h.electricChars){for(var F=0;F<h.electricChars.length;F++)if(r.indexOf(h.electricChars.charAt(F))>-1){d=Tt(e,s.head.line,"smart");break}}else h.electricInput&&h.electricInput.test(Xe(e.doc,s.head.line).text.slice(0,s.head.ch))&&(d=Tt(e,s.head.line,"smart"));d&&Rs(e,"electricInput",e,s.head.line)}}}function gr(e){for(var r=[],o=[],a=0;a<e.doc.sel.ranges.length;a++){var s=e.doc.sel.ranges[a].head.line,h={anchor:S(s,0),head:S(s+1,0)};o.push(h),r.push(e.getRange(h.anchor,h.head))}return{text:r,ranges:o}}function Zt(e,r,o,a){e.setAttribute("autocorrect",o?"":"off"),e.setAttribute("autocapitalize",a?"":"off"),e.setAttribute("spellcheck",!!r)}function tt(){var e=we("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),r=we("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return ze?e.style.width="1000px":e.setAttribute("wrap","off"),$t&&(e.style.border="1px solid black"),Zt(e),r}function ot(e){var r=e.optionHandlers,o=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(a,s){var h=this.options,d=h[a];h[a]==s&&a!="mode"||(h[a]=s,r.hasOwnProperty(a)&&Ys(this,r[a])(this,s,d),gn(this,"optionChange",this,a))},getOption:function(a){return this.options[a]},getDoc:function(){return this.doc},addKeyMap:function(a,s){this.state.keyMaps[s?"push":"unshift"](z(a))},removeKeyMap:function(a){for(var s=this.state.keyMaps,h=0;h<s.length;++h)if(s[h]==a||s[h].name==a)return s.splice(h,1),!0},addOverlay:Js(function(a,s){var h=a.token?a:e.getMode(this.options,a);if(h.startState)throw new Error("Overlays may not be stateful.");fn(this.state.overlays,{mode:h,modeSpec:a,opaque:s&&s.opaque,priority:s&&s.priority||0},function(d){return d.priority}),this.state.modeGen++,Ca(this)}),removeOverlay:Js(function(a){for(var s=this.state.overlays,h=0;h<s.length;++h){var d=s[h].modeSpec;if(d==a||typeof a=="string"&&d.name==a){s.splice(h,1),this.state.modeGen++,Ca(this);return}}}),indentLine:Js(function(a,s,h){typeof s!="string"&&typeof s!="number"&&(s==null?s=this.options.smartIndent?"smart":"prev":s=s?"add":"subtract"),$s(this.doc,a)&&Tt(this,a,s,h)}),indentSelection:Js(function(a){for(var s=this.doc.sel.ranges,h=-1,d=0;d<s.length;d++){var F=s[d];if(F.empty())F.head.line>h&&(Tt(this,F.head.line,a,!0),h=F.head.line,d==this.doc.sel.primIndex&&io(this));else{var M=F.from(),H=F.to(),Ne=Math.max(h,M.line);h=Math.min(this.lastLine(),H.line-(H.ch?0:1))+1;for(var Fe=Ne;Fe<h;++Fe)Tt(this,Fe,a);var kt=this.doc.sel.ranges;M.ch==0&&s.length==kt.length&&kt[d].from().ch>0&&Q(this.doc,d,new Fs(M,kt[d].to()),Jn)}}}),getTokenAt:function(a,s){return Ko(this,a,s)},getLineTokens:function(a,s){return Ko(this,S(a),s,!0)},getTokenTypeAt:function(a){a=ni(this.doc,a);var s=mu(this,Xe(this.doc,a.line)),h=0,d=(s.length-1)/2,F=a.ch,M;if(F==0)M=s[2];else for(;;){var H=h+d>>1;if((H?s[H*2-1]:0)>=F)d=H;else if(s[H*2+1]<F)h=H+1;else{M=s[H*2+2];break}}var Ne=M?M.indexOf("overlay "):-1;return Ne<0?M:Ne==0?null:M.slice(0,Ne-1)},getModeAt:function(a){var s=this.doc.mode;return s.innerMode?e.innerMode(s,this.getTokenAt(a).state).mode:s},getHelper:function(a,s){return this.getHelpers(a,s)[0]},getHelpers:function(a,s){var h=[];if(!o.hasOwnProperty(s))return h;var d=o[s],F=this.getModeAt(a);if(typeof F[s]=="string")d[F[s]]&&h.push(d[F[s]]);else if(F[s])for(var M=0;M<F[s].length;M++){var H=d[F[s][M]];H&&h.push(H)}else F.helperType&&d[F.helperType]?h.push(d[F.helperType]):d[F.name]&&h.push(d[F.name]);for(var Ne=0;Ne<d._global.length;Ne++){var Fe=d._global[Ne];Fe.pred(F,this)&&mr(h,Fe.val)==-1&&h.push(Fe.val)}return h},getStateAfter:function(a,s){var h=this.doc;return a=es(h,a==null?h.first+h.size-1:a),fo(this,a+1,s).state},cursorCoords:function(a,s){var h,d=this.doc.sel.primary();return a==null?h=d.head:typeof a=="object"?h=ni(this.doc,a):h=a?d.from():d.to(),Ts(this,h,s||"page")},charCoords:function(a,s){return ws(this,ni(this.doc,a),s||"page")},coordsChar:function(a,s){return a=gs(this,a,s||"page"),Rn(this,a.left,a.top)},lineAtHeight:function(a,s){return a=gs(this,{top:a,left:0},s||"page").top,Gn(this.doc,a+this.display.viewOffset)},heightAtLine:function(a,s,h){var d=!1,F;if(typeof a=="number"){var M=this.doc.first+this.doc.size-1;a<this.doc.first?a=this.doc.first:a>M&&(a=M,d=!0),F=Xe(this.doc,a)}else F=a;return ha(this,F,{top:0,left:0},s||"page",h||d).top+(d?this.doc.height-Vn(F):0)},defaultTextHeight:function(){return Ja(this.display)},defaultCharWidth:function(){return Ka(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(a,s,h,d,F){var M=this.display;a=Ts(this,ni(this.doc,a));var H=a.bottom,Ne=a.left;if(s.style.position="absolute",s.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(s),M.sizer.appendChild(s),d=="over")H=a.top;else if(d=="above"||d=="near"){var Fe=Math.max(M.wrapper.clientHeight,this.doc.height),kt=Math.max(M.sizer.clientWidth,M.lineSpace.clientWidth);(d=="above"||a.bottom+s.offsetHeight>Fe)&&a.top>s.offsetHeight?H=a.top-s.offsetHeight:a.bottom+s.offsetHeight<=Fe&&(H=a.bottom),Ne+s.offsetWidth>kt&&(Ne=kt-s.offsetWidth)}s.style.top=H+"px",s.style.left=s.style.right="",F=="right"?(Ne=M.sizer.clientWidth-s.offsetWidth,s.style.right="0px"):(F=="left"?Ne=0:F=="middle"&&(Ne=(M.sizer.clientWidth-s.offsetWidth)/2),s.style.left=Ne+"px"),h&&vl(this,{left:Ne,top:H,right:Ne+s.offsetWidth,bottom:H+s.offsetHeight})},triggerOnKeyDown:Js(I),triggerOnKeyPress:Js(le),triggerOnKeyUp:U,triggerOnMouseDown:Js(me),execCommand:function(a){if(E.hasOwnProperty(a))return E[a].call(null,this)},triggerElectric:Js(function(a){rr(this,a)}),findPosH:function(a,s,h,d){var F=1;s<0&&(F=-1,s=-s);for(var M=ni(this.doc,a),H=0;H<s&&(M=pt(this.doc,M,F,h,d),!M.hitSide);++H);return M},moveH:Js(function(a,s){var h=this;this.extendSelectionsBy(function(d){return h.display.shift||h.doc.extend||d.empty()?pt(h.doc,d.head,a,s,h.options.rtlMoveVisually):a<0?d.from():d.to()},ui)}),deleteH:Js(function(a,s){var h=this.doc.sel,d=this.doc;h.somethingSelected()?d.replaceSelection("",null,"+delete"):pe(this,function(F){var M=pt(d,F.head,a,s,!1);return a<0?{from:M,to:F.head}:{from:F.head,to:M}})}),findPosV:function(a,s,h,d){var F=1,M=d;s<0&&(F=-1,s=-s);for(var H=ni(this.doc,a),Ne=0;Ne<s;++Ne){var Fe=Ts(this,H,"div");if(M==null?M=Fe.left:Fe.left=M,H=lr(this,Fe,F,h),H.hitSide)break}return H},moveV:Js(function(a,s){var h=this,d=this.doc,F=[],M=!this.display.shift&&!d.extend&&d.sel.somethingSelected();if(d.extendSelectionsBy(function(Ne){if(M)return a<0?Ne.from():Ne.to();var Fe=Ts(h,Ne.head,"div");Ne.goalColumn!=null&&(Fe.left=Ne.goalColumn),F.push(Fe.left);var kt=lr(h,Fe,a,s);return s=="page"&&Ne==d.sel.primary()&&su(h,ws(h,kt,"div").top-Fe.top),kt},ui),F.length)for(var H=0;H<d.sel.ranges.length;H++)d.sel.ranges[H].goalColumn=F[H]}),findWordAt:function(a){var s=this.doc,h=Xe(s,a.line).text,d=a.ch,F=a.ch;if(h){var M=this.getHelper(a,"wordChars");(a.sticky=="before"||F==h.length)&&d?--d:++F;for(var H=h.charAt(d),Ne=Er(H,M)?function(Fe){return Er(Fe,M)}:/\s/.test(H)?function(Fe){return/\s/.test(Fe)}:function(Fe){return!/\s/.test(Fe)&&!Er(Fe)};d>0&&Ne(h.charAt(d-1));)--d;for(;F<h.length&&Ne(h.charAt(F));)++F}return new Fs(S(a.line,d),S(a.line,F))},toggleOverwrite:function(a){a!=null&&a==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ls(this.display.cursorDiv,"CodeMirror-overwrite"):Ai(this.display.cursorDiv,"CodeMirror-overwrite"),gn(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ei()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Js(function(a,s){wo(this,a,s)}),getScrollInfo:function(){var a=this.display.scroller;return{left:a.scrollLeft,top:a.scrollTop,height:a.scrollHeight-qr(this)-this.display.barHeight,width:a.scrollWidth-qr(this)-this.display.barWidth,clientHeight:_n(this),clientWidth:Ir(this)}},scrollIntoView:Js(function(a,s){a==null?(a={from:this.doc.sel.primary().head,to:null},s==null&&(s=this.options.cursorScrollMargin)):typeof a=="number"?a={from:S(a,0),to:null}:a.from==null&&(a={from:a,to:null}),a.to||(a.to=a.from),a.margin=s||0,a.from.line!=null?so(this,a):wu(this,a.from,a.to,a.margin)}),setSize:Js(function(a,s){var h=this,d=function(M){return typeof M=="number"||/^\d+$/.test(String(M))?M+"px":M};a!=null&&(this.display.wrapper.style.width=d(a)),s!=null&&(this.display.wrapper.style.height=d(s)),this.options.lineWrapping&&En(this);var F=this.display.viewFrom;this.doc.iter(F,this.display.viewTo,function(M){if(M.widgets){for(var H=0;H<M.widgets.length;H++)if(M.widgets[H].noHScroll){hs(h,F,"widget");break}}++F}),this.curOp.forceUpdate=!0,gn(this,"refresh",this)}),operation:function(a){return ya(this,a)},startOperation:function(){return To(this)},endOperation:function(){return la(this)},refresh:Js(function(){var a=this.display.cachedTextHeight;Ca(this),this.curOp.forceUpdate=!0,Vi(this),wo(this,this.doc.scrollLeft,this.doc.scrollTop),pl(this.display),(a==null||Math.abs(a-Ja(this.display))>.5||this.options.lineWrapping)&&ba(this),gn(this,"refresh",this)}),swapDoc:Js(function(a){var s=this.doc;return s.cm=null,this.state.selectingText&&this.state.selectingText(),dl(this,a),Vi(this),this.display.input.reset(),wo(this,a.scrollLeft,a.scrollTop),this.curOp.forceScroll=!0,Rs(this,"swapDoc",this,s),s}),phrase:function(a){var s=this.options.phrases;return s&&Object.prototype.hasOwnProperty.call(s,a)?s[a]:a},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Pt(e),e.registerHelper=function(a,s,h){o.hasOwnProperty(a)||(o[a]=e[a]={_global:[]}),o[a][s]=h},e.registerGlobalHelper=function(a,s,h,d){e.registerHelper(a,s,d),o[a]._global.push({pred:h,val:d})}}function pt(e,r,o,a,s){var h=r,d=o,F=Xe(e,r.line),M=s&&e.direction=="rtl"?-o:o;function H(){var cr=r.line+M;return cr<e.first||cr>=e.first+e.size?!1:(r=new S(cr,r.ch,r.sticky),F=Xe(e,cr))}function Ne(cr){var Fr;if(a=="codepoint"){var Zr=F.text.charCodeAt(r.ch+(o>0?0:-1));if(isNaN(Zr))Fr=null;else{var ft=o>0?Zr>=55296&&Zr<56320:Zr>=56320&&Zr<57343;Fr=new S(r.line,Math.max(0,Math.min(F.text.length,r.ch+o*(ft?2:1))),-o)}}else s?Fr=m(e.cm,F,r,o):Fr=At(F,r,o);if(Fr==null)if(!cr&&H())r=ar(s,e.cm,F,r.line,M);else return!1;else r=Fr;return!0}if(a=="char"||a=="codepoint")Ne();else if(a=="column")Ne(!0);else if(a=="word"||a=="group")for(var Fe=null,kt=a=="group",Qe=e.cm&&e.cm.getHelper(r,"wordChars"),or=!0;!(o<0&&!Ne(!or));or=!1){var qt=F.text.charAt(r.ch)||`
|
|
16
|
-
`,xr=Er(qt,Qe)?"w":kt&&qt==`
|
|
17
|
-
`?"n":!kt||/\s/.test(qt)?null:"p";if(kt&&!or&&!xr&&(xr="s"),Fe&&Fe!=xr){o<0&&(o=1,Ne(),r.sticky="after");break}if(xr&&(Fe=xr),o>0&&!Ne(!or))break}var Xr=Mn(e,r,h,d,!0);return Mr(h,Xr)&&(Xr.hitSide=!0),Xr}function lr(e,r,o,a){var s=e.doc,h=r.left,d;if(a=="page"){var F=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),M=Math.max(F-.5*Ja(e.display),3);d=(o>0?r.bottom:r.top)+o*M}else a=="line"&&(d=o>0?r.bottom+3:r.top-3);for(var H;H=Rn(e,h,d),!!H.outside;){if(o<0?d<=0:d>=s.height){H.hitSide=!0;break}d+=o*5}return H}var Yt=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Kr,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Yt.prototype.init=function(e){var r=this,o=this,a=o.cm,s=o.div=e.lineDiv;s.contentEditable=!0,Zt(s,a.options.spellcheck,a.options.autocorrect,a.options.autocapitalize);function h(F){for(var M=F.target;M;M=M.parentNode){if(M==s)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(M.className))break}return!1}Gt(s,"paste",function(F){!h(F)||zt(a,F)||nt(F,a)||Le<=11&&setTimeout(Ys(a,function(){return r.updateFromDOM()}),20)}),Gt(s,"compositionstart",function(F){r.composing={data:F.data,done:!1}}),Gt(s,"compositionupdate",function(F){r.composing||(r.composing={data:F.data,done:!1})}),Gt(s,"compositionend",function(F){r.composing&&(F.data!=r.composing.data&&r.readFromDOMSoon(),r.composing.done=!0)}),Gt(s,"touchstart",function(){return o.forceCompositionEnd()}),Gt(s,"input",function(){r.composing||r.readFromDOMSoon()});function d(F){if(!(!h(F)||zt(a,F))){if(a.somethingSelected())hr({lineWise:!1,text:a.getSelections()}),F.type=="cut"&&a.replaceSelection("",null,"cut");else if(a.options.lineWiseCopyCut){var M=gr(a);hr({lineWise:!0,text:M.text}),F.type=="cut"&&a.operation(function(){a.setSelections(M.ranges,0,Jn),a.replaceSelection("",null,"cut")})}else return;if(F.clipboardData){F.clipboardData.clearData();var H=Ct.text.join(`
|
|
18
|
-
`);if(F.clipboardData.setData("Text",H),F.clipboardData.getData("Text")==H){F.preventDefault();return}}var Ne=tt(),Fe=Ne.firstChild;a.display.lineSpace.insertBefore(Ne,a.display.lineSpace.firstChild),Fe.value=Ct.text.join(`
|
|
19
|
-
`);var kt=ei();_s(Fe),setTimeout(function(){a.display.lineSpace.removeChild(Ne),kt.focus(),kt==s&&o.showPrimarySelection()},50)}}Gt(s,"copy",d),Gt(s,"cut",d)},Yt.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Yt.prototype.prepareSelection=function(){var e=Ru(this.cm,!1);return e.focus=ei()==this.div,e},Yt.prototype.showSelection=function(e,r){!e||!this.cm.display.view.length||((e.focus||r)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Yt.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Yt.prototype.showPrimarySelection=function(){var e=this.getSelection(),r=this.cm,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(r.display.viewTo==r.display.viewFrom||a.line>=r.display.viewTo||s.line<r.display.viewFrom){e.removeAllRanges();return}var h=fr(r,e.anchorNode,e.anchorOffset),d=fr(r,e.focusNode,e.focusOffset);if(!(h&&!h.bad&&d&&!d.bad&&Je(ss(h,d),a)==0&&Je(li(h,d),s)==0)){var F=r.display.view,M=a.line>=r.display.viewFrom&&ln(r,a)||{node:F[0].measure.map[2],offset:0},H=s.line<r.display.viewTo&&ln(r,s);if(!H){var Ne=F[F.length-1].measure,Fe=Ne.maps?Ne.maps[Ne.maps.length-1]:Ne.map;H={node:Fe[Fe.length-1],offset:Fe[Fe.length-2]-Fe[Fe.length-3]}}if(!M||!H){e.removeAllRanges();return}var kt=e.rangeCount&&e.getRangeAt(0),Qe;try{Qe=yr(M.node,M.offset,H.offset,H.node)}catch{}Qe&&(!v&&r.state.focused?(e.collapse(M.node,M.offset),Qe.collapsed||(e.removeAllRanges(),e.addRange(Qe))):(e.removeAllRanges(),e.addRange(Qe)),kt&&e.anchorNode==null?e.addRange(kt):v&&this.startGracePeriod()),this.rememberSelection()}},Yt.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Yt.prototype.showMultipleSelections=function(e){vn(this.cm.display.cursorDiv,e.cursors),vn(this.cm.display.selectionDiv,e.selection)},Yt.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Yt.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var r=e.getRangeAt(0).commonAncestorContainer;return wn(this.div,r)},Yt.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ei()!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Yt.prototype.blur=function(){this.div.blur()},Yt.prototype.getField=function(){return this.div},Yt.prototype.supportsTouch=function(){return!0},Yt.prototype.receivedFocus=function(){var e=this,r=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):ya(this.cm,function(){return r.cm.curOp.selectionChanged=!0});function o(){r.cm.state.focused&&(r.pollSelection(),r.polling.set(r.cm.options.pollInterval,o))}this.polling.set(this.cm.options.pollInterval,o)},Yt.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Yt.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),r=this.cm;if(Vt&&mt&&this.cm.display.gutterSpecs.length&&si(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var o=fr(r,e.anchorNode,e.anchorOffset),a=fr(r,e.focusNode,e.focusOffset);o&&a&&ya(r,function(){Ue(r.doc,Fo(o,a),Jn),(o.bad||a.bad)&&(r.curOp.selectionChanged=!0)})}}},Yt.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,r=e.display,o=e.doc.sel.primary(),a=o.from(),s=o.to();if(a.ch==0&&a.line>e.firstLine()&&(a=S(a.line-1,Xe(e.doc,a.line-1).length)),s.ch==Xe(e.doc,s.line).text.length&&s.line<e.lastLine()&&(s=S(s.line+1,0)),a.line<r.viewFrom||s.line>r.viewTo-1)return!1;var h,d,F;a.line==r.viewFrom||(h=ga(e,a.line))==0?(d=ti(r.view[0].line),F=r.view[0].node):(d=ti(r.view[h].line),F=r.view[h-1].node.nextSibling);var M=ga(e,s.line),H,Ne;if(M==r.view.length-1?(H=r.viewTo-1,Ne=r.lineDiv.lastChild):(H=ti(r.view[M+1].line)-1,Ne=r.view[M+1].node.previousSibling),!F)return!1;for(var Fe=e.doc.splitLines(dr(e,F,Ne,d,H)),kt=ys(e.doc,S(d,0),S(H,Xe(e.doc,H).text.length));Fe.length>1&&kt.length>1;)if(sr(Fe)==sr(kt))Fe.pop(),kt.pop(),H--;else if(Fe[0]==kt[0])Fe.shift(),kt.shift(),d++;else break;for(var Qe=0,or=0,qt=Fe[0],xr=kt[0],Xr=Math.min(qt.length,xr.length);Qe<Xr&&qt.charCodeAt(Qe)==xr.charCodeAt(Qe);)++Qe;for(var cr=sr(Fe),Fr=sr(kt),Zr=Math.min(cr.length-(Fe.length==1?Qe:0),Fr.length-(kt.length==1?Qe:0));or<Zr&&cr.charCodeAt(cr.length-or-1)==Fr.charCodeAt(Fr.length-or-1);)++or;if(Fe.length==1&&kt.length==1&&d==a.line)for(;Qe&&Qe>a.ch&&cr.charCodeAt(cr.length-or-1)==Fr.charCodeAt(Fr.length-or-1);)Qe--,or++;Fe[Fe.length-1]=cr.slice(0,cr.length-or).replace(/^\u200b+/,""),Fe[0]=Fe[0].slice(Qe).replace(/\u200b+$/,"");var ft=S(d,Qe),Pn=S(H,kt.length?sr(kt).length-or:0);if(Fe.length>1||Fe[0]||Je(ft,Pn))return Lr(e.doc,Fe,ft,Pn,"+input"),!0},Yt.prototype.ensurePolled=function(){this.forceCompositionEnd()},Yt.prototype.reset=function(){this.forceCompositionEnd()},Yt.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Yt.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},Yt.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&ya(this.cm,function(){return Ca(e.cm)})},Yt.prototype.setUneditable=function(e){e.contentEditable="false"},Yt.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ys(this.cm,$e)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},Yt.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},Yt.prototype.onContextMenu=function(){},Yt.prototype.resetPosition=function(){},Yt.prototype.needsContentAttribute=!0;function ln(e,r){var o=cn(e,r.line);if(!o||o.hidden)return null;var a=Xe(e.doc,r.line),s=Ln(o,a,r.line),h=Sr(a,e.doc.direction),d="left";if(h){var F=Ls(h,r.ch);d=F%2?"right":"left"}var M=Ds(s.map,r.ch,d);return M.offset=M.collapse=="right"?M.end:M.start,M}function si(e){for(var r=e;r;r=r.parentNode)if(/CodeMirror-gutter-wrapper/.test(r.className))return!0;return!1}function fi(e,r){return r&&(e.bad=!0),e}function dr(e,r,o,a,s){var h="",d=!1,F=e.doc.lineSeparator(),M=!1;function H(Qe){return function(or){return or.id==Qe}}function Ne(){d&&(h+=F,M&&(h+=F),d=M=!1)}function Fe(Qe){Qe&&(Ne(),h+=Qe)}function kt(Qe){if(Qe.nodeType==1){var or=Qe.getAttribute("cm-text");if(or){Fe(or);return}var qt=Qe.getAttribute("cm-marker"),xr;if(qt){var Xr=e.findMarks(S(a,0),S(s+1,0),H(+qt));Xr.length&&(xr=Xr[0].find(0))&&Fe(ys(e.doc,xr.from,xr.to).join(F));return}if(Qe.getAttribute("contenteditable")=="false")return;var cr=/^(pre|div|p|li|table|br)$/i.test(Qe.nodeName);if(!/^br$/i.test(Qe.nodeName)&&Qe.textContent.length==0)return;cr&&Ne();for(var Fr=0;Fr<Qe.childNodes.length;Fr++)kt(Qe.childNodes[Fr]);/^(pre|p)$/i.test(Qe.nodeName)&&(M=!0),cr&&(d=!0)}else Qe.nodeType==3&&Fe(Qe.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;kt(r),r!=o;)r=r.nextSibling,M=!1;return h}function fr(e,r,o){var a;if(r==e.display.lineDiv){if(a=e.display.lineDiv.childNodes[o],!a)return fi(e.clipPos(S(e.display.viewTo-1)),!0);r=null,o=0}else for(a=r;;a=a.parentNode){if(!a||a==e.display.lineDiv)return null;if(a.parentNode&&a.parentNode==e.display.lineDiv)break}for(var s=0;s<e.display.view.length;s++){var h=e.display.view[s];if(h.node==a)return Tr(h,r,o)}}function Tr(e,r,o){var a=e.text.firstChild,s=!1;if(!r||!wn(a,r))return fi(S(ti(e.line),0),!0);if(r==a&&(s=!0,r=a.childNodes[o],o=0,!r)){var h=e.rest?sr(e.rest):e.line;return fi(S(ti(h),h.text.length),s)}var d=r.nodeType==3?r:null,F=r;for(!d&&r.childNodes.length==1&&r.firstChild.nodeType==3&&(d=r.firstChild,o&&(o=d.nodeValue.length));F.parentNode!=a;)F=F.parentNode;var M=e.measure,H=M.maps;function Ne(xr,Xr,cr){for(var Fr=-1;Fr<(H?H.length:0);Fr++)for(var Zr=Fr<0?M.map:H[Fr],ft=0;ft<Zr.length;ft+=3){var Pn=Zr[ft+2];if(Pn==xr||Pn==Xr){var qn=ti(Fr<0?e.line:e.rest[Fr]),Ei=Zr[ft]+cr;return(cr<0||Pn!=xr)&&(Ei=Zr[ft+(cr?1:0)]),S(qn,Ei)}}}var Fe=Ne(d,F,o);if(Fe)return fi(Fe,s);for(var kt=F.nextSibling,Qe=d?d.nodeValue.length-o:0;kt;kt=kt.nextSibling){if(Fe=Ne(kt,kt.firstChild,0),Fe)return fi(S(Fe.line,Fe.ch-Qe),s);Qe+=kt.textContent.length}for(var or=F.previousSibling,qt=o;or;or=or.previousSibling){if(Fe=Ne(or,or.firstChild,-1),Fe)return fi(S(Fe.line,Fe.ch+qt),s);qt+=or.textContent.length}}var It=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new Kr,this.hasSelection=!1,this.composing=null};It.prototype.init=function(e){var r=this,o=this,a=this.cm;this.createField(e);var s=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),$t&&(s.style.width="0px"),Gt(s,"input",function(){De&&Le>=9&&r.hasSelection&&(r.hasSelection=null),o.poll()}),Gt(s,"paste",function(d){zt(a,d)||nt(d,a)||(a.state.pasteIncoming=+new Date,o.fastPoll())});function h(d){if(!zt(a,d)){if(a.somethingSelected())hr({lineWise:!1,text:a.getSelections()});else if(a.options.lineWiseCopyCut){var F=gr(a);hr({lineWise:!0,text:F.text}),d.type=="cut"?a.setSelections(F.ranges,null,Jn):(o.prevInput="",s.value=F.text.join(`
|
|
20
|
-
`),_s(s))}else return;d.type=="cut"&&(a.state.cutIncoming=+new Date)}}Gt(s,"cut",h),Gt(s,"copy",h),Gt(e.scroller,"paste",function(d){if(!(_t(e,d)||zt(a,d))){if(!s.dispatchEvent){a.state.pasteIncoming=+new Date,o.focus();return}var F=new Event("paste");F.clipboardData=d.clipboardData,s.dispatchEvent(F)}}),Gt(e.lineSpace,"selectstart",function(d){_t(e,d)||Re(d)}),Gt(s,"compositionstart",function(){var d=a.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:d,range:a.markText(d,a.getCursor("to"),{className:"CodeMirror-composing"})}}),Gt(s,"compositionend",function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)})},It.prototype.createField=function(e){this.wrapper=tt(),this.textarea=this.wrapper.firstChild},It.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},It.prototype.prepareSelection=function(){var e=this.cm,r=e.display,o=e.doc,a=Ru(e);if(e.options.moveInputWithCursor){var s=Ts(e,o.sel.primary().head,"div"),h=r.wrapper.getBoundingClientRect(),d=r.lineDiv.getBoundingClientRect();a.teTop=Math.max(0,Math.min(r.wrapper.clientHeight-10,s.top+d.top-h.top)),a.teLeft=Math.max(0,Math.min(r.wrapper.clientWidth-10,s.left+d.left-h.left))}return a},It.prototype.showSelection=function(e){var r=this.cm,o=r.display;vn(o.cursorDiv,e.cursors),vn(o.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},It.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing)){var r=this.cm;if(r.somethingSelected()){this.prevInput="";var o=r.getSelection();this.textarea.value=o,r.state.focused&&_s(this.textarea),De&&Le>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",De&&Le>=9&&(this.hasSelection=null))}},It.prototype.getField=function(){return this.textarea},It.prototype.supportsTouch=function(){return!1},It.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Pr||ei()!=this.textarea))try{this.textarea.focus()}catch{}},It.prototype.blur=function(){this.textarea.blur()},It.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},It.prototype.receivedFocus=function(){this.slowPoll()},It.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},It.prototype.fastPoll=function(){var e=!1,r=this;r.pollingFast=!0;function o(){var a=r.poll();!a&&!e?(e=!0,r.polling.set(60,o)):(r.pollingFast=!1,r.slowPoll())}r.polling.set(20,o)},It.prototype.poll=function(){var e=this,r=this.cm,o=this.textarea,a=this.prevInput;if(this.contextMenuPending||!r.state.focused||He(o)&&!a&&!this.composing||r.isReadOnly()||r.options.disableInput||r.state.keySeq)return!1;var s=o.value;if(s==a&&!r.somethingSelected())return!1;if(De&&Le>=9&&this.hasSelection===s||nn&&/[\uf700-\uf7ff]/.test(s))return r.display.input.reset(),!1;if(r.doc.sel==r.display.selForContextMenu){var h=s.charCodeAt(0);if(h==8203&&!a&&(a="\u200B"),h==8666)return this.reset(),this.cm.execCommand("undo")}for(var d=0,F=Math.min(a.length,s.length);d<F&&a.charCodeAt(d)==s.charCodeAt(d);)++d;return ya(r,function(){$e(r,s.slice(d),a.length-d,null,e.composing?"*compose":null),s.length>1e3||s.indexOf(`
|
|
21
|
-
`)>-1?o.value=e.prevInput="":e.prevInput=s,e.composing&&(e.composing.range.clear(),e.composing.range=r.markText(e.composing.start,r.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},It.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},It.prototype.onKeyPress=function(){De&&Le>=9&&(this.hasSelection=null),this.fastPoll()},It.prototype.onContextMenu=function(e){var r=this,o=r.cm,a=o.display,s=r.textarea;r.contextMenuPending&&r.contextMenuPending();var h=ma(o,e),d=a.scroller.scrollTop;if(!h||Qt)return;var F=o.options.resetSelectionOnContextMenu;F&&o.doc.sel.contains(h)==-1&&Ys(o,Ue)(o.doc,Fo(h),Jn);var M=s.style.cssText,H=r.wrapper.style.cssText,Ne=r.wrapper.offsetParent.getBoundingClientRect();r.wrapper.style.cssText="position: static",s.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
22
|
-
top: `+(e.clientY-Ne.top-5)+"px; left: "+(e.clientX-Ne.left-5)+`px;
|
|
23
|
-
z-index: 1000; background: `+(De?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
24
|
-
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Fe;ze&&(Fe=window.scrollY),a.input.focus(),ze&&window.scrollTo(null,Fe),a.input.reset(),o.somethingSelected()||(s.value=r.prevInput=" "),r.contextMenuPending=Qe,a.selForContextMenu=o.doc.sel,clearTimeout(a.detectingSelectAll);function kt(){if(s.selectionStart!=null){var qt=o.somethingSelected(),xr="\u200B"+(qt?s.value:"");s.value="\u21DA",s.value=xr,r.prevInput=qt?"":"\u200B",s.selectionStart=1,s.selectionEnd=xr.length,a.selForContextMenu=o.doc.sel}}function Qe(){if(r.contextMenuPending==Qe&&(r.contextMenuPending=!1,r.wrapper.style.cssText=H,s.style.cssText=M,De&&Le<9&&a.scrollbars.setScrollTop(a.scroller.scrollTop=d),s.selectionStart!=null)){(!De||De&&Le<9)&&kt();var qt=0,xr=function(){a.selForContextMenu==o.doc.sel&&s.selectionStart==0&&s.selectionEnd>0&&r.prevInput=="\u200B"?Ys(o,bi)(o):qt++<10?a.detectingSelectAll=setTimeout(xr,500):(a.selForContextMenu=null,a.input.reset())};a.detectingSelectAll=setTimeout(xr,200)}}if(De&&Le>=9&&kt(),Un){tr(e);var or=function(){ur(window,"mouseup",or),setTimeout(Qe,20)};Gt(window,"mouseup",or)}else setTimeout(Qe,50)},It.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},It.prototype.setUneditable=function(){},It.prototype.needsContentAttribute=!1;function Yr(e,r){if(r=r?Ps(r):{},r.value=e.value,!r.tabindex&&e.tabIndex&&(r.tabindex=e.tabIndex),!r.placeholder&&e.placeholder&&(r.placeholder=e.placeholder),r.autofocus==null){var o=ei();r.autofocus=o==e||e.getAttribute("autofocus")!=null&&o==document.body}function a(){e.value=F.getValue()}var s;if(e.form&&(Gt(e.form,"submit",a),!r.leaveSubmitMethodAlone)){var h=e.form;s=h.submit;try{var d=h.submit=function(){a(),h.submit=s,h.submit(),h.submit=d}}catch{}}r.finishInit=function(M){M.save=a,M.getTextArea=function(){return e},M.toTextArea=function(){M.toTextArea=isNaN,a(),e.parentNode.removeChild(M.getWrapperElement()),e.style.display="",e.form&&(ur(e.form,"submit",a),!r.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=s))}},e.style.display="none";var F=qe(function(M){return e.parentNode.insertBefore(M,e.nextSibling)},r);return F}function ht(e){e.off=ur,e.on=Gt,e.wheelEventPixels=Hl,e.Doc=Os,e.splitLines=Ce,e.countColumn=Or,e.findColumn=ct,e.isWordChar=lt,e.Pass=ai,e.signal=gn,e.Line=sn,e.changeEnd=$a,e.scrollbarModel=Uu,e.Pos=S,e.cmpPos=Je,e.modes=Wt,e.mimeModes=nr,e.resolveMode=Qr,e.getMode=rn,e.modeExtensions=kr,e.extendMode=kn,e.copyState=ci,e.startState=Yi,e.innerMode=yn,e.commands=E,e.keyMap=$o,e.keyName=D,e.isModifierKey=u,e.lookupKey=t,e.normalizeKeyMap=n,e.StringStream=yi,e.SharedTextMarker=On,e.TextMarker=vr,e.LineWidget=zi,e.e_preventDefault=Re,e.e_stopPropagation=Nt,e.e_stop=tr,e.addClass=ls,e.contains=wn,e.rmClass=Ai,e.keyNames=Pu}We(qe),ot(qe);var Wr="iter insert remove copy getEditor constructor".split(" ");for(var jr in Os.prototype)Os.prototype.hasOwnProperty(jr)&&mr(Wr,jr)<0&&(qe.prototype[jr]=function(e){return function(){return e.apply(this.doc,arguments)}}(Os.prototype[jr]));return Pt(Os),qe.inputStyles={textarea:It,contenteditable:Yt},qe.defineMode=function(e){!qe.defaults.mode&&e!="null"&&(qe.defaults.mode=e),wr.apply(this,arguments)},qe.defineMIME=Ur,qe.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),qe.defineMIME("text/plain","null"),qe.defineExtension=function(e,r){qe.prototype[e]=r},qe.defineDocExtension=function(e,r){Os.prototype[e]=r},qe.fromTextArea=Yr,ht(qe),qe.version="5.65.6",qe})})(Ml);var lD=Ml.exports,om={exports:{}};(function(i,c){(function(l){l(Ml.exports)})(function(l){l.defineMode("javascript",function(f,v){var B=f.indentUnit,K=v.statementIndent,de=v.jsonld,De=v.json||de,Le=v.trackScope!==!1,ze=v.typescript,it=v.wordCharacters||/[\w$\xa1-\uffff]/,mt=function(){function S(ni){return{type:ni,style:"keyword"}}var Je=S("keyword a"),Mr=S("keyword b"),an=S("keyword c"),li=S("keyword d"),ss=S("operator"),es={type:"atom",style:"atom"};return{if:S("if"),while:Je,with:Je,else:Mr,do:Mr,try:Mr,finally:Mr,return:li,break:li,continue:li,new:S("new"),delete:an,void:an,throw:an,debugger:S("debugger"),var:S("var"),const:S("var"),let:S("var"),function:S("function"),catch:S("catch"),for:S("for"),switch:S("switch"),case:S("case"),default:S("default"),in:ss,typeof:ss,instanceof:ss,true:es,false:es,null:es,undefined:es,NaN:es,Infinity:es,this:S("this"),class:S("class"),super:S("atom"),yield:an,export:S("export"),import:S("import"),extends:an,await:an}}(),Bt=/[+\-*&%=<>!?|~^@]/,Qt=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function Cr(S){for(var Je=!1,Mr,an=!1;(Mr=S.next())!=null;){if(!Je){if(Mr=="/"&&!an)return;Mr=="["?an=!0:an&&Mr=="]"&&(an=!1)}Je=!Je&&Mr=="\\"}}var Rr,St;function $t(S,Je,Mr){return Rr=S,St=Mr,Je}function Vt(S,Je){var Mr=S.next();if(Mr=='"'||Mr=="'")return Je.tokenize=Pr(Mr),Je.tokenize(S,Je);if(Mr=="."&&S.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return $t("number","number");if(Mr=="."&&S.match(".."))return $t("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Mr))return $t(Mr);if(Mr=="="&&S.eat(">"))return $t("=>","operator");if(Mr=="0"&&S.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return $t("number","number");if(/\d/.test(Mr))return S.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),$t("number","number");if(Mr=="/")return S.eat("*")?(Je.tokenize=nn,nn(S,Je)):S.eat("/")?(S.skipToEnd(),$t("comment","comment")):js(S,Je,1)?(Cr(S),S.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),$t("regexp","string-2")):(S.eat("="),$t("operator","operator",S.current()));if(Mr=="`")return Je.tokenize=Sn,Sn(S,Je);if(Mr=="#"&&S.peek()=="!")return S.skipToEnd(),$t("meta","meta");if(Mr=="#"&&S.eatWhile(it))return $t("variable","property");if(Mr=="<"&&S.match("!--")||Mr=="-"&&S.match("->")&&!/\S/.test(S.string.slice(0,S.start)))return S.skipToEnd(),$t("comment","comment");if(Bt.test(Mr))return(Mr!=">"||!Je.lexical||Je.lexical.type!=">")&&(S.eat("=")?(Mr=="!"||Mr=="=")&&S.eat("="):/[<>*+\-|&?]/.test(Mr)&&(S.eat(Mr),Mr==">"&&S.eat(Mr))),Mr=="?"&&S.eat(".")?$t("."):$t("operator","operator",S.current());if(it.test(Mr)){S.eatWhile(it);var an=S.current();if(Je.lastType!="."){if(mt.propertyIsEnumerable(an)){var li=mt[an];return $t(li.type,li.style,an)}if(an=="async"&&S.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return $t("async","keyword",an)}return $t("variable","variable",an)}}function Pr(S){return function(Je,Mr){var an=!1,li;if(de&&Je.peek()=="@"&&Je.match(Qt))return Mr.tokenize=Vt,$t("jsonld-keyword","meta");for(;(li=Je.next())!=null&&!(li==S&&!an);)an=!an&&li=="\\";return an||(Mr.tokenize=Vt),$t("string","string")}}function nn(S,Je){for(var Mr=!1,an;an=S.next();){if(an=="/"&&Mr){Je.tokenize=Vt;break}Mr=an=="*"}return $t("comment","comment")}function Sn(S,Je){for(var Mr=!1,an;(an=S.next())!=null;){if(!Mr&&(an=="`"||an=="$"&&S.eat("{"))){Je.tokenize=Vt;break}Mr=!Mr&&an=="\\"}return $t("quasi","string-2",S.current())}var Wn="([{}])";function Mi(S,Je){Je.fatArrowAt&&(Je.fatArrowAt=null);var Mr=S.string.indexOf("=>",S.start);if(!(Mr<0)){if(ze){var an=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(S.string.slice(S.start,Mr));an&&(Mr=an.index)}for(var li=0,ss=!1,es=Mr-1;es>=0;--es){var ni=S.string.charAt(es),qs=Wn.indexOf(ni);if(qs>=0&&qs<3){if(!li){++es;break}if(--li==0){ni=="("&&(ss=!0);break}}else if(qs>=3&&qs<6)++li;else if(it.test(ni))ss=!0;else if(/["'\/`]/.test(ni))for(;;--es){if(es==0)return;var Xo=S.string.charAt(es-1);if(Xo==ni&&S.string.charAt(es-2)!="\\"){es--;break}}else if(ss&&!li){++es;break}}ss&&!li&&(Je.fatArrowAt=es)}}var mi={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Un(S,Je,Mr,an,li,ss){this.indented=S,this.column=Je,this.type=Mr,this.prev=li,this.info=ss,an!=null&&(this.align=an)}function Nn(S,Je){if(!Le)return!1;for(var Mr=S.localVars;Mr;Mr=Mr.next)if(Mr.name==Je)return!0;for(var an=S.context;an;an=an.prev)for(var Mr=an.vars;Mr;Mr=Mr.next)if(Mr.name==Je)return!0}function Ai(S,Je,Mr,an,li){var ss=S.cc;for(Dr.state=S,Dr.stream=li,Dr.marked=null,Dr.cc=ss,Dr.style=Je,S.lexical.hasOwnProperty("align")||(S.lexical.align=!0);;){var es=ss.length?ss.pop():De?zn:ai;if(es(Mr,an)){for(;ss.length&&ss[ss.length-1].lex;)ss.pop()();return Dr.marked?Dr.marked:Mr=="variable"&&Nn(S,an)?"variable-2":Je}}}var Dr={state:null,column:null,marked:null,cc:null};function vn(){for(var S=arguments.length-1;S>=0;S--)Dr.cc.push(arguments[S])}function we(){return vn.apply(null,arguments),!0}function tn(S,Je){for(var Mr=Je;Mr;Mr=Mr.next)if(Mr.name==S)return!0;return!1}function yr(S){var Je=Dr.state;if(Dr.marked="def",!!Le){if(Je.context){if(Je.lexical.info=="var"&&Je.context&&Je.context.block){var Mr=wn(S,Je.context);if(Mr!=null){Je.context=Mr;return}}else if(!tn(S,Je.localVars)){Je.localVars=new As(S,Je.localVars);return}}v.globalVars&&!tn(S,Je.globalVars)&&(Je.globalVars=new As(S,Je.globalVars))}}function wn(S,Je){if(Je)if(Je.block){var Mr=wn(S,Je.prev);return Mr?Mr==Je.prev?Je:new ls(Mr,Je.vars,!0):null}else return tn(S,Je.vars)?Je:new ls(Je.prev,new As(S,Je.vars),!1);else return null}function ei(S){return S=="public"||S=="private"||S=="protected"||S=="abstract"||S=="readonly"}function ls(S,Je,Mr){this.prev=S,this.vars=Je,this.block=Mr}function As(S,Je){this.name=S,this.next=Je}var _s=new As("this",new As("arguments",null));function qi(){Dr.state.context=new ls(Dr.state.context,Dr.state.localVars,!1),Dr.state.localVars=_s}function Ps(){Dr.state.context=new ls(Dr.state.context,Dr.state.localVars,!0),Dr.state.localVars=null}qi.lex=Ps.lex=!0;function Or(){Dr.state.localVars=Dr.state.context.vars,Dr.state.context=Dr.state.context.prev}Or.lex=!0;function Kr(S,Je){var Mr=function(){var an=Dr.state,li=an.indented;if(an.lexical.type=="stat")li=an.lexical.indented;else for(var ss=an.lexical;ss&&ss.type==")"&&ss.align;ss=ss.prev)li=ss.indented;an.lexical=new Un(li,Dr.stream.column(),S,null,an.lexical,Je)};return Mr.lex=!0,Mr}function mr(){var S=Dr.state;S.lexical.prev&&(S.lexical.type==")"&&(S.indented=S.lexical.indented),S.lexical=S.lexical.prev)}mr.lex=!0;function dn(S){function Je(Mr){return Mr==S?we():S==";"||Mr=="}"||Mr==")"||Mr=="]"?vn():we(Je)}return Je}function ai(S,Je){return S=="var"?we(Kr("vardef",Je),on,dn(";"),mr):S=="keyword a"?we(Kr("form"),ct,ai,mr):S=="keyword b"?we(Kr("form"),ai,mr):S=="keyword d"?Dr.stream.match(/^\s*$/,!1)?we():we(Kr("stat"),br,dn(";"),mr):S=="debugger"?we(dn(";")):S=="{"?we(Kr("}"),Ps,$n,mr,Or):S==";"?we():S=="if"?(Dr.state.lexical.info=="else"&&Dr.state.cc[Dr.state.cc.length-1]==mr&&Dr.state.cc.pop()(),we(Kr("form"),ct,ai,mr,Ce)):S=="function"?we(Dt):S=="for"?we(Kr("form"),Ps,He,ai,Or,mr):S=="class"||ze&&Je=="interface"?(Dr.marked="keyword",we(Kr("form",S=="class"?S:Je),Qr,mr)):S=="variable"?ze&&Je=="declare"?(Dr.marked="keyword",we(ai)):ze&&(Je=="module"||Je=="enum"||Je=="type")&&Dr.stream.match(/^\s*\w/,!1)?(Dr.marked="keyword",Je=="enum"?we(ti):Je=="type"?we(nr,dn("operator"),ur,dn(";")):we(Kr("form"),jt,dn("{"),Kr("}"),$n,mr,mr)):ze&&Je=="namespace"?(Dr.marked="keyword",we(Kr("form"),zn,ai,mr)):ze&&Je=="abstract"?(Dr.marked="keyword",we(ai)):we(Kr("stat"),jn):S=="switch"?we(Kr("form"),ct,dn("{"),Kr("}","switch"),Ps,$n,mr,mr,Or):S=="case"?we(zn,dn(":")):S=="default"?we(dn(":")):S=="catch"?we(Kr("form"),qi,Jn,ai,mr,Or):S=="export"?we(Kr("stat"),ci,mr):S=="import"?we(Kr("stat"),Yi,mr):S=="async"?we(ai):Je=="@"?we(zn,ai):vn(Kr("stat"),zn,dn(";"),mr)}function Jn(S){if(S=="(")return we(wr,dn(")"))}function zn(S,Je){return Ot(S,Je,!1)}function ui(S,Je){return Ot(S,Je,!0)}function ct(S){return S!="("?vn():we(Kr(")"),br,dn(")"),mr)}function Ot(S,Je,Mr){if(Dr.state.fatArrowAt==Dr.stream.start){var an=Mr?hn:Fn;if(S=="(")return we(qi,Kr(")"),Hi(wr,")"),mr,dn("=>"),an,Or);if(S=="variable")return vn(qi,jt,dn("=>"),an,Or)}var li=Mr?Jr:sr;return mi.hasOwnProperty(S)?we(li):S=="function"?we(Dt,li):S=="class"||ze&&Je=="interface"?(Dr.marked="keyword",we(Kr("form"),Ur,mr)):S=="keyword c"||S=="async"?we(Mr?ui:zn):S=="("?we(Kr(")"),br,dn(")"),mr,li):S=="operator"||S=="spread"?we(Mr?ui:zn):S=="["?we(Kr("]"),Di,mr,li):S=="{"?Ls(ns,"}",null,li):S=="quasi"?vn(fn,li):S=="new"?we(lt(Mr)):we()}function br(S){return S.match(/[;\}\)\],]/)?vn():vn(zn)}function sr(S,Je){return S==","?we(br):Jr(S,Je,!1)}function Jr(S,Je,Mr){var an=Mr==!1?sr:Jr,li=Mr==!1?zn:ui;if(S=="=>")return we(qi,Mr?hn:Fn,Or);if(S=="operator")return/\+\+|--/.test(Je)||ze&&Je=="!"?we(an):ze&&Je=="<"&&Dr.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?we(Kr(">"),Hi(ur,">"),mr,an):Je=="?"?we(zn,dn(":"),li):we(li);if(S=="quasi")return vn(fn,an);if(S!=";"){if(S=="(")return Ls(ui,")","call",an);if(S==".")return we(gi,an);if(S=="[")return we(Kr("]"),br,dn("]"),mr,an);if(ze&&Je=="as")return Dr.marked="keyword",we(ur,an);if(S=="regexp")return Dr.state.lastType=Dr.marked="operator",Dr.stream.backUp(Dr.stream.pos-Dr.stream.start-1),we(li)}}function fn(S,Je){return S!="quasi"?vn():Je.slice(Je.length-2)!="${"?we(fn):we(br,mn)}function mn(S){if(S=="}")return Dr.marked="string-2",Dr.state.tokenize=Sn,we(fn)}function Fn(S){return Mi(Dr.stream,Dr.state),vn(S=="{"?ai:zn)}function hn(S){return Mi(Dr.stream,Dr.state),vn(S=="{"?ai:ui)}function lt(S){return function(Je){return Je=="."?we(S?Mt:Er):Je=="variable"&&ze?we(Xt,S?Jr:sr):vn(S?ui:zn)}}function Er(S,Je){if(Je=="target")return Dr.marked="keyword",we(sr)}function Mt(S,Je){if(Je=="target")return Dr.marked="keyword",we(Jr)}function jn(S){return S==":"?we(mr,ai):vn(sr,dn(";"),mr)}function gi(S){if(S=="variable")return Dr.marked="property",we()}function ns(S,Je){if(S=="async")return Dr.marked="property",we(ns);if(S=="variable"||Dr.style=="keyword"){if(Dr.marked="property",Je=="get"||Je=="set")return we(is);var Mr;return ze&&Dr.state.fatArrowAt==Dr.stream.start&&(Mr=Dr.stream.match(/^\s*:\s*/,!1))&&(Dr.state.fatArrowAt=Dr.stream.pos+Mr[0].length),we(cs)}else{if(S=="number"||S=="string")return Dr.marked=de?"property":Dr.style+" property",we(cs);if(S=="jsonld-keyword")return we(cs);if(ze&&ei(Je))return Dr.marked="keyword",we(ns);if(S=="[")return we(zn,Sr,dn("]"),cs);if(S=="spread")return we(ui,cs);if(Je=="*")return Dr.marked="keyword",we(ns);if(S==":")return vn(cs)}}function is(S){return S!="variable"?vn(cs):(Dr.marked="property",we(Dt))}function cs(S){if(S==":")return we(ui);if(S=="(")return vn(Dt)}function Hi(S,Je,Mr){function an(li,ss){if(Mr?Mr.indexOf(li)>-1:li==","){var es=Dr.state.lexical;return es.info=="call"&&(es.pos=(es.pos||0)+1),we(function(ni,qs){return ni==Je||qs==Je?vn():vn(S)},an)}return li==Je||ss==Je?we():Mr&&Mr.indexOf(";")>-1?vn(S):we(dn(Je))}return function(li,ss){return li==Je||ss==Je?we():vn(S,an)}}function Ls(S,Je,Mr){for(var an=3;an<arguments.length;an++)Dr.cc.push(arguments[an]);return we(Kr(Je,Mr),Hi(S,Je),mr)}function $n(S){return S=="}"?we():vn(ai,$n)}function Sr(S,Je){if(ze){if(S==":")return we(ur);if(Je=="?")return we(Sr)}}function Br(S,Je){if(ze&&(S==":"||Je=="in"))return we(ur)}function Gt(S){if(ze&&S==":")return Dr.stream.match(/^\s*\w+\s+is\b/,!1)?we(zn,Vr,ur):we(ur)}function Vr(S,Je){if(Je=="is")return Dr.marked="keyword",we()}function ur(S,Je){if(Je=="keyof"||Je=="typeof"||Je=="infer"||Je=="readonly")return Dr.marked="keyword",we(Je=="typeof"?ui:ur);if(S=="variable"||Je=="void")return Dr.marked="type",we(Nt);if(Je=="|"||Je=="&")return we(ur);if(S=="string"||S=="number"||S=="atom")return we(Nt);if(S=="[")return we(Kr("]"),Hi(ur,"]",","),mr,Nt);if(S=="{")return we(Kr("}"),zt,mr,Nt);if(S=="(")return we(Hi(Re,")"),gn,Nt);if(S=="<")return we(Hi(ur,">"),ur);if(S=="quasi")return vn(Ar,Nt)}function gn(S){if(S=="=>")return we(ur)}function zt(S){return S.match(/[\}\)\]]/)?we():S==","||S==";"?we(zt):vn(Kn,zt)}function Kn(S,Je){if(S=="variable"||Dr.style=="keyword")return Dr.marked="property",we(Kn);if(Je=="?"||S=="number"||S=="string")return we(Kn);if(S==":")return we(ur);if(S=="[")return we(dn("variable"),Br,dn("]"),Kn);if(S=="(")return vn(Wt,Kn);if(!S.match(/[;\}\)\],]/))return we()}function Ar(S,Je){return S!="quasi"?vn():Je.slice(Je.length-2)!="${"?we(Ar):we(ur,Pt)}function Pt(S){if(S=="}")return Dr.marked="string-2",Dr.state.tokenize=Sn,we(Ar)}function Re(S,Je){return S=="variable"&&Dr.stream.match(/^\s*[?:]/,!1)||Je=="?"?we(Re):S==":"?we(ur):S=="spread"?we(Re):vn(ur)}function Nt(S,Je){if(Je=="<")return we(Kr(">"),Hi(ur,">"),mr,Nt);if(Je=="|"||S=="."||Je=="&")return we(ur);if(S=="[")return we(ur,dn("]"),Nt);if(Je=="extends"||Je=="implements")return Dr.marked="keyword",we(ur);if(Je=="?")return we(ur,dn(":"),ur)}function Xt(S,Je){if(Je=="<")return we(Kr(">"),Hi(ur,">"),mr,Nt)}function tr(){return vn(ur,zr)}function zr(S,Je){if(Je=="=")return we(ur)}function on(S,Je){return Je=="enum"?(Dr.marked="keyword",we(ti)):vn(jt,Sr,fe,Ee)}function jt(S,Je){if(ze&&ei(Je))return Dr.marked="keyword",we(jt);if(S=="variable")return yr(Je),we();if(S=="spread")return we(jt);if(S=="[")return Ls(ce,"]");if(S=="{")return Ls(Ie,"}")}function Ie(S,Je){return S=="variable"&&!Dr.stream.match(/^\s*:/,!1)?(yr(Je),we(fe)):(S=="variable"&&(Dr.marked="property"),S=="spread"?we(jt):S=="}"?vn():S=="["?we(zn,dn("]"),dn(":"),Ie):we(dn(":"),jt,fe))}function ce(){return vn(jt,fe)}function fe(S,Je){if(Je=="=")return we(ui)}function Ee(S){if(S==",")return we(on)}function Ce(S,Je){if(S=="keyword b"&&Je=="else")return we(Kr("form","else"),ai,mr)}function He(S,Je){if(Je=="await")return we(He);if(S=="(")return we(Kr(")"),et,mr)}function et(S){return S=="var"?we(on,st):S=="variable"?we(st):vn(st)}function st(S,Je){return S==")"?we():S==";"?we(st):Je=="in"||Je=="of"?(Dr.marked="keyword",we(zn,st)):vn(zn,st)}function Dt(S,Je){if(Je=="*")return Dr.marked="keyword",we(Dt);if(S=="variable")return yr(Je),we(Dt);if(S=="(")return we(qi,Kr(")"),Hi(wr,")"),mr,Gt,ai,Or);if(ze&&Je=="<")return we(Kr(">"),Hi(tr,">"),mr,Dt)}function Wt(S,Je){if(Je=="*")return Dr.marked="keyword",we(Wt);if(S=="variable")return yr(Je),we(Wt);if(S=="(")return we(qi,Kr(")"),Hi(wr,")"),mr,Gt,Or);if(ze&&Je=="<")return we(Kr(">"),Hi(tr,">"),mr,Wt)}function nr(S,Je){if(S=="keyword"||S=="variable")return Dr.marked="type",we(nr);if(Je=="<")return we(Kr(">"),Hi(tr,">"),mr)}function wr(S,Je){return Je=="@"&&we(zn,wr),S=="spread"?we(wr):ze&&ei(Je)?(Dr.marked="keyword",we(wr)):ze&&S=="this"?we(Sr,fe):vn(jt,Sr,fe)}function Ur(S,Je){return S=="variable"?Qr(S,Je):rn(S,Je)}function Qr(S,Je){if(S=="variable")return yr(Je),we(rn)}function rn(S,Je){if(Je=="<")return we(Kr(">"),Hi(tr,">"),mr,rn);if(Je=="extends"||Je=="implements"||ze&&S==",")return Je=="implements"&&(Dr.marked="keyword"),we(ze?ur:zn,rn);if(S=="{")return we(Kr("}"),kr,mr)}function kr(S,Je){if(S=="async"||S=="variable"&&(Je=="static"||Je=="get"||Je=="set"||ze&&ei(Je))&&Dr.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return Dr.marked="keyword",we(kr);if(S=="variable"||Dr.style=="keyword")return Dr.marked="property",we(kn,kr);if(S=="number"||S=="string")return we(kn,kr);if(S=="[")return we(zn,Sr,dn("]"),kn,kr);if(Je=="*")return Dr.marked="keyword",we(kr);if(ze&&S=="(")return vn(Wt,kr);if(S==";"||S==",")return we(kr);if(S=="}")return we();if(Je=="@")return we(zn,kr)}function kn(S,Je){if(Je=="!"||Je=="?")return we(kn);if(S==":")return we(ur,fe);if(Je=="=")return we(ui);var Mr=Dr.state.lexical.prev,an=Mr&&Mr.info=="interface";return vn(an?Wt:Dt)}function ci(S,Je){return Je=="*"?(Dr.marked="keyword",we(Li,dn(";"))):Je=="default"?(Dr.marked="keyword",we(zn,dn(";"))):S=="{"?we(Hi(yn,"}"),Li,dn(";")):vn(ai)}function yn(S,Je){if(Je=="as")return Dr.marked="keyword",we(dn("variable"));if(S=="variable")return vn(ui,yn)}function Yi(S){return S=="string"?we():S=="("?vn(zn):S=="."?vn(sr):vn(yi,Xe,Li)}function yi(S,Je){return S=="{"?Ls(yi,"}"):(S=="variable"&&yr(Je),Je=="*"&&(Dr.marked="keyword"),we(ys))}function Xe(S){if(S==",")return we(yi,Xe)}function ys(S,Je){if(Je=="as")return Dr.marked="keyword",we(yi)}function Li(S,Je){if(Je=="from")return Dr.marked="keyword",we(zn)}function Di(S){return S=="]"?we():vn(Hi(ui,"]"))}function ti(){return vn(Kr("form"),jt,dn("{"),Kr("}"),Hi(Gn,"}"),mr,mr)}function Gn(){return vn(jt,fe)}function $s(S,Je){return S.lastType=="operator"||S.lastType==","||Bt.test(Je.charAt(0))||/[,.]/.test(Je.charAt(0))}function js(S,Je,Mr){return Je.tokenize==Vt&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(Je.lastType)||Je.lastType=="quasi"&&/\{\s*$/.test(S.string.slice(0,S.pos-(Mr||0)))}return{startState:function(S){var Je={tokenize:Vt,lastType:"sof",cc:[],lexical:new Un((S||0)-B,0,"block",!1),localVars:v.localVars,context:v.localVars&&new ls(null,null,!1),indented:S||0};return v.globalVars&&typeof v.globalVars=="object"&&(Je.globalVars=v.globalVars),Je},token:function(S,Je){if(S.sol()&&(Je.lexical.hasOwnProperty("align")||(Je.lexical.align=!1),Je.indented=S.indentation(),Mi(S,Je)),Je.tokenize!=nn&&S.eatSpace())return null;var Mr=Je.tokenize(S,Je);return Rr=="comment"?Mr:(Je.lastType=Rr=="operator"&&(St=="++"||St=="--")?"incdec":Rr,Ai(Je,Mr,Rr,St,S))},indent:function(S,Je){if(S.tokenize==nn||S.tokenize==Sn)return l.Pass;if(S.tokenize!=Vt)return 0;var Mr=Je&&Je.charAt(0),an=S.lexical,li;if(!/^\s*else\b/.test(Je))for(var ss=S.cc.length-1;ss>=0;--ss){var es=S.cc[ss];if(es==mr)an=an.prev;else if(es!=Ce&&es!=Or)break}for(;(an.type=="stat"||an.type=="form")&&(Mr=="}"||(li=S.cc[S.cc.length-1])&&(li==sr||li==Jr)&&!/^[,\.=+\-*:?[\(]/.test(Je));)an=an.prev;K&&an.type==")"&&an.prev.type=="stat"&&(an=an.prev);var ni=an.type,qs=Mr==ni;return ni=="vardef"?an.indented+(S.lastType=="operator"||S.lastType==","?an.info.length+1:0):ni=="form"&&Mr=="{"?an.indented:ni=="form"?an.indented+B:ni=="stat"?an.indented+($s(S,Je)?K||B:0):an.info=="switch"&&!qs&&v.doubleIndentSwitch!=!1?an.indented+(/^(?:case|default)\b/.test(Je)?B:2*B):an.align?an.column+(qs?0:1):an.indented+(qs?0:B)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:De?null:"/*",blockCommentEnd:De?null:"*/",blockCommentContinue:De?null:" * ",lineComment:De?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:De?"json":"javascript",jsonldMode:de,jsonMode:De,expressionAllowed:js,skipExpression:function(S){Ai(S,"atom","atom","true",new l.StringStream("",2,null))}}}),l.registerHelper("wordChars","javascript",/[\w$]/),l.defineMIME("text/javascript","javascript"),l.defineMIME("text/ecmascript","javascript"),l.defineMIME("application/javascript","javascript"),l.defineMIME("application/x-javascript","javascript"),l.defineMIME("application/ecmascript","javascript"),l.defineMIME("application/json",{name:"javascript",json:!0}),l.defineMIME("application/x-json",{name:"javascript",json:!0}),l.defineMIME("application/manifest+json",{name:"javascript",json:!0}),l.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),l.defineMIME("text/typescript",{name:"javascript",typescript:!0}),l.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var cD={exports:{}};(function(i,c){(function(l){l(Ml.exports)})(function(l){l.defineMode("css",function(Un,Nn){var Ai=Nn.inline;Nn.propertyKeywords||(Nn=l.resolveMode("text/css"));var Dr=Un.indentUnit,vn=Nn.tokenHooks,we=Nn.documentTypes||{},tn=Nn.mediaTypes||{},yr=Nn.mediaFeatures||{},wn=Nn.mediaValueKeywords||{},ei=Nn.propertyKeywords||{},ls=Nn.nonStandardPropertyKeywords||{},As=Nn.fontProperties||{},_s=Nn.counterDescriptors||{},qi=Nn.colorKeywords||{},Ps=Nn.valueKeywords||{},Or=Nn.allowNested,Kr=Nn.lineComment,mr=Nn.supportsAtComponent===!0,dn=Un.highlightNonStandardPropertyKeywords!==!1,ai,Jn;function zn(lt,Er){return ai=Er,lt}function ui(lt,Er){var Mt=lt.next();if(vn[Mt]){var jn=vn[Mt](lt,Er);if(jn!==!1)return jn}if(Mt=="@")return lt.eatWhile(/[\w\\\-]/),zn("def",lt.current());if(Mt=="="||(Mt=="~"||Mt=="|")&<.eat("="))return zn(null,"compare");if(Mt=='"'||Mt=="'")return Er.tokenize=ct(Mt),Er.tokenize(lt,Er);if(Mt=="#")return lt.eatWhile(/[\w\\\-]/),zn("atom","hash");if(Mt=="!")return lt.match(/^\s*\w*/),zn("keyword","important");if(/\d/.test(Mt)||Mt=="."&<.eat(/\d/))return lt.eatWhile(/[\w.%]/),zn("number","unit");if(Mt==="-"){if(/[\d.]/.test(lt.peek()))return lt.eatWhile(/[\w.%]/),zn("number","unit");if(lt.match(/^-[\w\\\-]*/))return lt.eatWhile(/[\w\\\-]/),lt.match(/^\s*:/,!1)?zn("variable-2","variable-definition"):zn("variable-2","variable");if(lt.match(/^\w+-/))return zn("meta","meta")}else return/[,+>*\/]/.test(Mt)?zn(null,"select-op"):Mt=="."&<.match(/^-?[_a-z][_a-z0-9-]*/i)?zn("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(Mt)?zn(null,Mt):lt.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(lt.current())&&(Er.tokenize=Ot),zn("variable callee","variable")):/[\w\\\-]/.test(Mt)?(lt.eatWhile(/[\w\\\-]/),zn("property","word")):zn(null,null)}function ct(lt){return function(Er,Mt){for(var jn=!1,gi;(gi=Er.next())!=null;){if(gi==lt&&!jn){lt==")"&&Er.backUp(1);break}jn=!jn&&gi=="\\"}return(gi==lt||!jn&<!=")")&&(Mt.tokenize=null),zn("string","string")}}function Ot(lt,Er){return lt.next(),lt.match(/^\s*[\"\')]/,!1)?Er.tokenize=null:Er.tokenize=ct(")"),zn(null,"(")}function br(lt,Er,Mt){this.type=lt,this.indent=Er,this.prev=Mt}function sr(lt,Er,Mt,jn){return lt.context=new br(Mt,Er.indentation()+(jn===!1?0:Dr),lt.context),Mt}function Jr(lt){return lt.context.prev&&(lt.context=lt.context.prev),lt.context.type}function fn(lt,Er,Mt){return hn[Mt.context.type](lt,Er,Mt)}function mn(lt,Er,Mt,jn){for(var gi=jn||1;gi>0;gi--)Mt.context=Mt.context.prev;return fn(lt,Er,Mt)}function Fn(lt){var Er=lt.current().toLowerCase();Ps.hasOwnProperty(Er)?Jn="atom":qi.hasOwnProperty(Er)?Jn="keyword":Jn="variable"}var hn={};return hn.top=function(lt,Er,Mt){if(lt=="{")return sr(Mt,Er,"block");if(lt=="}"&&Mt.context.prev)return Jr(Mt);if(mr&&/@component/i.test(lt))return sr(Mt,Er,"atComponentBlock");if(/^@(-moz-)?document$/i.test(lt))return sr(Mt,Er,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(lt))return sr(Mt,Er,"atBlock");if(/^@(font-face|counter-style)/i.test(lt))return Mt.stateArg=lt,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(lt))return"keyframes";if(lt&<.charAt(0)=="@")return sr(Mt,Er,"at");if(lt=="hash")Jn="builtin";else if(lt=="word")Jn="tag";else{if(lt=="variable-definition")return"maybeprop";if(lt=="interpolation")return sr(Mt,Er,"interpolation");if(lt==":")return"pseudo";if(Or&<=="(")return sr(Mt,Er,"parens")}return Mt.context.type},hn.block=function(lt,Er,Mt){if(lt=="word"){var jn=Er.current().toLowerCase();return ei.hasOwnProperty(jn)?(Jn="property","maybeprop"):ls.hasOwnProperty(jn)?(Jn=dn?"string-2":"property","maybeprop"):Or?(Jn=Er.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(Jn+=" error","maybeprop")}else return lt=="meta"?"block":!Or&&(lt=="hash"||lt=="qualifier")?(Jn="error","block"):hn.top(lt,Er,Mt)},hn.maybeprop=function(lt,Er,Mt){return lt==":"?sr(Mt,Er,"prop"):fn(lt,Er,Mt)},hn.prop=function(lt,Er,Mt){if(lt==";")return Jr(Mt);if(lt=="{"&&Or)return sr(Mt,Er,"propBlock");if(lt=="}"||lt=="{")return mn(lt,Er,Mt);if(lt=="(")return sr(Mt,Er,"parens");if(lt=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(Er.current()))Jn+=" error";else if(lt=="word")Fn(Er);else if(lt=="interpolation")return sr(Mt,Er,"interpolation");return"prop"},hn.propBlock=function(lt,Er,Mt){return lt=="}"?Jr(Mt):lt=="word"?(Jn="property","maybeprop"):Mt.context.type},hn.parens=function(lt,Er,Mt){return lt=="{"||lt=="}"?mn(lt,Er,Mt):lt==")"?Jr(Mt):lt=="("?sr(Mt,Er,"parens"):lt=="interpolation"?sr(Mt,Er,"interpolation"):(lt=="word"&&Fn(Er),"parens")},hn.pseudo=function(lt,Er,Mt){return lt=="meta"?"pseudo":lt=="word"?(Jn="variable-3",Mt.context.type):fn(lt,Er,Mt)},hn.documentTypes=function(lt,Er,Mt){return lt=="word"&&we.hasOwnProperty(Er.current())?(Jn="tag",Mt.context.type):hn.atBlock(lt,Er,Mt)},hn.atBlock=function(lt,Er,Mt){if(lt=="(")return sr(Mt,Er,"atBlock_parens");if(lt=="}"||lt==";")return mn(lt,Er,Mt);if(lt=="{")return Jr(Mt)&&sr(Mt,Er,Or?"block":"top");if(lt=="interpolation")return sr(Mt,Er,"interpolation");if(lt=="word"){var jn=Er.current().toLowerCase();jn=="only"||jn=="not"||jn=="and"||jn=="or"?Jn="keyword":tn.hasOwnProperty(jn)?Jn="attribute":yr.hasOwnProperty(jn)?Jn="property":wn.hasOwnProperty(jn)?Jn="keyword":ei.hasOwnProperty(jn)?Jn="property":ls.hasOwnProperty(jn)?Jn=dn?"string-2":"property":Ps.hasOwnProperty(jn)?Jn="atom":qi.hasOwnProperty(jn)?Jn="keyword":Jn="error"}return Mt.context.type},hn.atComponentBlock=function(lt,Er,Mt){return lt=="}"?mn(lt,Er,Mt):lt=="{"?Jr(Mt)&&sr(Mt,Er,Or?"block":"top",!1):(lt=="word"&&(Jn="error"),Mt.context.type)},hn.atBlock_parens=function(lt,Er,Mt){return lt==")"?Jr(Mt):lt=="{"||lt=="}"?mn(lt,Er,Mt,2):hn.atBlock(lt,Er,Mt)},hn.restricted_atBlock_before=function(lt,Er,Mt){return lt=="{"?sr(Mt,Er,"restricted_atBlock"):lt=="word"&&Mt.stateArg=="@counter-style"?(Jn="variable","restricted_atBlock_before"):fn(lt,Er,Mt)},hn.restricted_atBlock=function(lt,Er,Mt){return lt=="}"?(Mt.stateArg=null,Jr(Mt)):lt=="word"?(Mt.stateArg=="@font-face"&&!As.hasOwnProperty(Er.current().toLowerCase())||Mt.stateArg=="@counter-style"&&!_s.hasOwnProperty(Er.current().toLowerCase())?Jn="error":Jn="property","maybeprop"):"restricted_atBlock"},hn.keyframes=function(lt,Er,Mt){return lt=="word"?(Jn="variable","keyframes"):lt=="{"?sr(Mt,Er,"top"):fn(lt,Er,Mt)},hn.at=function(lt,Er,Mt){return lt==";"?Jr(Mt):lt=="{"||lt=="}"?mn(lt,Er,Mt):(lt=="word"?Jn="tag":lt=="hash"&&(Jn="builtin"),"at")},hn.interpolation=function(lt,Er,Mt){return lt=="}"?Jr(Mt):lt=="{"||lt==";"?mn(lt,Er,Mt):(lt=="word"?Jn="variable":lt!="variable"&<!="("&<!=")"&&(Jn="error"),"interpolation")},{startState:function(lt){return{tokenize:null,state:Ai?"block":"top",stateArg:null,context:new br(Ai?"block":"top",lt||0,null)}},token:function(lt,Er){if(!Er.tokenize&<.eatSpace())return null;var Mt=(Er.tokenize||ui)(lt,Er);return Mt&&typeof Mt=="object"&&(ai=Mt[1],Mt=Mt[0]),Jn=Mt,ai!="comment"&&(Er.state=hn[Er.state](ai,lt,Er)),Jn},indent:function(lt,Er){var Mt=lt.context,jn=Er&&Er.charAt(0),gi=Mt.indent;return Mt.type=="prop"&&(jn=="}"||jn==")")&&(Mt=Mt.prev),Mt.prev&&(jn=="}"&&(Mt.type=="block"||Mt.type=="top"||Mt.type=="interpolation"||Mt.type=="restricted_atBlock")?(Mt=Mt.prev,gi=Mt.indent):(jn==")"&&(Mt.type=="parens"||Mt.type=="atBlock_parens")||jn=="{"&&(Mt.type=="at"||Mt.type=="atBlock"))&&(gi=Math.max(0,Mt.indent-Dr))),gi},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Kr,fold:"brace"}});function f(Un){for(var Nn={},Ai=0;Ai<Un.length;++Ai)Nn[Un[Ai].toLowerCase()]=!0;return Nn}var v=["domain","regexp","url","url-prefix"],B=f(v),K=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],de=f(K),De=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],Le=f(De),ze=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],it=f(ze),mt=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],Bt=f(mt),Qt=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],Cr=f(Qt),Rr=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],St=f(Rr),$t=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],Vt=f($t),Pr=["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","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","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","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","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","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],nn=f(Pr),Sn=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","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","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","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","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","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","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","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","repeating-conic-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","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","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","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","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","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","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"],Wn=f(Sn),Mi=v.concat(K).concat(De).concat(ze).concat(mt).concat(Qt).concat(Pr).concat(Sn);l.registerHelper("hintWords","css",Mi);function mi(Un,Nn){for(var Ai=!1,Dr;(Dr=Un.next())!=null;){if(Ai&&Dr=="/"){Nn.tokenize=null;break}Ai=Dr=="*"}return["comment","comment"]}l.defineMIME("text/css",{documentTypes:B,mediaTypes:de,mediaFeatures:Le,mediaValueKeywords:it,propertyKeywords:Bt,nonStandardPropertyKeywords:Cr,fontProperties:St,counterDescriptors:Vt,colorKeywords:nn,valueKeywords:Wn,tokenHooks:{"/":function(Un,Nn){return Un.eat("*")?(Nn.tokenize=mi,mi(Un,Nn)):!1}},name:"css"}),l.defineMIME("text/x-scss",{mediaTypes:de,mediaFeatures:Le,mediaValueKeywords:it,propertyKeywords:Bt,nonStandardPropertyKeywords:Cr,colorKeywords:nn,valueKeywords:Wn,fontProperties:St,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Un,Nn){return Un.eat("/")?(Un.skipToEnd(),["comment","comment"]):Un.eat("*")?(Nn.tokenize=mi,mi(Un,Nn)):["operator","operator"]},":":function(Un){return Un.match(/^\s*\{/,!1)?[null,null]:!1},$:function(Un){return Un.match(/^[\w-]+/),Un.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(Un){return Un.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),l.defineMIME("text/x-less",{mediaTypes:de,mediaFeatures:Le,mediaValueKeywords:it,propertyKeywords:Bt,nonStandardPropertyKeywords:Cr,colorKeywords:nn,valueKeywords:Wn,fontProperties:St,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(Un,Nn){return Un.eat("/")?(Un.skipToEnd(),["comment","comment"]):Un.eat("*")?(Nn.tokenize=mi,mi(Un,Nn)):["operator","operator"]},"@":function(Un){return Un.eat("{")?[null,"interpolation"]:Un.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(Un.eatWhile(/[\w\\\-]/),Un.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),l.defineMIME("text/x-gss",{documentTypes:B,mediaTypes:de,mediaFeatures:Le,propertyKeywords:Bt,nonStandardPropertyKeywords:Cr,fontProperties:St,counterDescriptors:Vt,colorKeywords:nn,valueKeywords:Wn,supportsAtComponent:!0,tokenHooks:{"/":function(Un,Nn){return Un.eat("*")?(Nn.tokenize=mi,mi(Un,Nn)):!1}},name:"css",helperType:"gss"})})})();var um={exports:{}};(function(i,c){(function(l){l(Ml.exports)})(function(l){var f={autoSelfClosers:{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},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{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}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},v={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};l.defineMode("xml",function(B,K){var de=B.indentUnit,De={},Le=K.htmlMode?f:v;for(var ze in Le)De[ze]=Le[ze];for(var ze in K)De[ze]=K[ze];var it,mt;function Bt(we,tn){function yr(ls){return tn.tokenize=ls,ls(we,tn)}var wn=we.next();if(wn=="<")return we.eat("!")?we.eat("[")?we.match("CDATA[")?yr(Rr("atom","]]>")):null:we.match("--")?yr(Rr("comment","-->")):we.match("DOCTYPE",!0,!0)?(we.eatWhile(/[\w\._\-]/),yr(St(1))):null:we.eat("?")?(we.eatWhile(/[\w\._\-]/),tn.tokenize=Rr("meta","?>"),"meta"):(it=we.eat("/")?"closeTag":"openTag",tn.tokenize=Qt,"tag bracket");if(wn=="&"){var ei;return we.eat("#")?we.eat("x")?ei=we.eatWhile(/[a-fA-F\d]/)&&we.eat(";"):ei=we.eatWhile(/[\d]/)&&we.eat(";"):ei=we.eatWhile(/[\w\.\-:]/)&&we.eat(";"),ei?"atom":"error"}else return we.eatWhile(/[^&<]/),null}Bt.isInText=!0;function Qt(we,tn){var yr=we.next();if(yr==">"||yr=="/"&&we.eat(">"))return tn.tokenize=Bt,it=yr==">"?"endTag":"selfcloseTag","tag bracket";if(yr=="=")return it="equals",null;if(yr=="<"){tn.tokenize=Bt,tn.state=Sn,tn.tagName=tn.tagStart=null;var wn=tn.tokenize(we,tn);return wn?wn+" tag error":"tag error"}else return/[\'\"]/.test(yr)?(tn.tokenize=Cr(yr),tn.stringStartCol=we.column(),tn.tokenize(we,tn)):(we.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function Cr(we){var tn=function(yr,wn){for(;!yr.eol();)if(yr.next()==we){wn.tokenize=Qt;break}return"string"};return tn.isInAttribute=!0,tn}function Rr(we,tn){return function(yr,wn){for(;!yr.eol();){if(yr.match(tn)){wn.tokenize=Bt;break}yr.next()}return we}}function St(we){return function(tn,yr){for(var wn;(wn=tn.next())!=null;){if(wn=="<")return yr.tokenize=St(we+1),yr.tokenize(tn,yr);if(wn==">")if(we==1){yr.tokenize=Bt;break}else return yr.tokenize=St(we-1),yr.tokenize(tn,yr)}return"meta"}}function $t(we){return we&&we.toLowerCase()}function Vt(we,tn,yr){this.prev=we.context,this.tagName=tn||"",this.indent=we.indented,this.startOfLine=yr,(De.doNotIndent.hasOwnProperty(tn)||we.context&&we.context.noIndent)&&(this.noIndent=!0)}function Pr(we){we.context&&(we.context=we.context.prev)}function nn(we,tn){for(var yr;;){if(!we.context||(yr=we.context.tagName,!De.contextGrabbers.hasOwnProperty($t(yr))||!De.contextGrabbers[$t(yr)].hasOwnProperty($t(tn))))return;Pr(we)}}function Sn(we,tn,yr){return we=="openTag"?(yr.tagStart=tn.column(),Wn):we=="closeTag"?Mi:Sn}function Wn(we,tn,yr){return we=="word"?(yr.tagName=tn.current(),mt="tag",Nn):De.allowMissingTagName&&we=="endTag"?(mt="tag bracket",Nn(we,tn,yr)):(mt="error",Wn)}function Mi(we,tn,yr){if(we=="word"){var wn=tn.current();return yr.context&&yr.context.tagName!=wn&&De.implicitlyClosed.hasOwnProperty($t(yr.context.tagName))&&Pr(yr),yr.context&&yr.context.tagName==wn||De.matchClosing===!1?(mt="tag",mi):(mt="tag error",Un)}else return De.allowMissingTagName&&we=="endTag"?(mt="tag bracket",mi(we,tn,yr)):(mt="error",Un)}function mi(we,tn,yr){return we!="endTag"?(mt="error",mi):(Pr(yr),Sn)}function Un(we,tn,yr){return mt="error",mi(we,tn,yr)}function Nn(we,tn,yr){if(we=="word")return mt="attribute",Ai;if(we=="endTag"||we=="selfcloseTag"){var wn=yr.tagName,ei=yr.tagStart;return yr.tagName=yr.tagStart=null,we=="selfcloseTag"||De.autoSelfClosers.hasOwnProperty($t(wn))?nn(yr,wn):(nn(yr,wn),yr.context=new Vt(yr,wn,ei==yr.indented)),Sn}return mt="error",Nn}function Ai(we,tn,yr){return we=="equals"?Dr:(De.allowMissing||(mt="error"),Nn(we,tn,yr))}function Dr(we,tn,yr){return we=="string"?vn:we=="word"&&De.allowUnquoted?(mt="string",Nn):(mt="error",Nn(we,tn,yr))}function vn(we,tn,yr){return we=="string"?vn:Nn(we,tn,yr)}return{startState:function(we){var tn={tokenize:Bt,state:Sn,indented:we||0,tagName:null,tagStart:null,context:null};return we!=null&&(tn.baseIndent=we),tn},token:function(we,tn){if(!tn.tagName&&we.sol()&&(tn.indented=we.indentation()),we.eatSpace())return null;it=null;var yr=tn.tokenize(we,tn);return(yr||it)&&yr!="comment"&&(mt=null,tn.state=tn.state(it||yr,we,tn),mt&&(yr=mt=="error"?yr+" error":mt)),yr},indent:function(we,tn,yr){var wn=we.context;if(we.tokenize.isInAttribute)return we.tagStart==we.indented?we.stringStartCol+1:we.indented+de;if(wn&&wn.noIndent)return l.Pass;if(we.tokenize!=Qt&&we.tokenize!=Bt)return yr?yr.match(/^(\s*)/)[0].length:0;if(we.tagName)return De.multilineTagIndentPastTag!==!1?we.tagStart+we.tagName.length+2:we.tagStart+de*(De.multilineTagIndentFactor||1);if(De.alignCDATA&&/<!\[CDATA\[/.test(tn))return 0;var ei=tn&&/^<(\/)?([\w_:\.-]*)/.exec(tn);if(ei&&ei[1])for(;wn;)if(wn.tagName==ei[2]){wn=wn.prev;break}else if(De.implicitlyClosed.hasOwnProperty($t(wn.tagName)))wn=wn.prev;else break;else if(ei)for(;wn;){var ls=De.contextGrabbers[$t(wn.tagName)];if(ls&&ls.hasOwnProperty($t(ei[2])))wn=wn.prev;else break}for(;wn&&wn.prev&&!wn.startOfLine;)wn=wn.prev;return wn?wn.indent+de:we.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:De.htmlMode?"html":"xml",helperType:De.htmlMode?"html":"xml",skipAttribute:function(we){we.state==Dr&&(we.state=Nn)},xmlCurrentTag:function(we){return we.tagName?{name:we.tagName,close:we.type=="closeTag"}:null},xmlCurrentContext:function(we){for(var tn=[],yr=we.context;yr;yr=yr.prev)tn.push(yr.tagName);return tn.reverse()}}}),l.defineMIME("text/xml","xml"),l.defineMIME("application/xml","xml"),l.mimeModes.hasOwnProperty("text/html")||l.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();(function(i,c){(function(l){l(Ml.exports,um.exports,om.exports,cD.exports)})(function(l){var f={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function v(it,mt,Bt){var Qt=it.current(),Cr=Qt.search(mt);return Cr>-1?it.backUp(Qt.length-Cr):Qt.match(/<\/?$/)&&(it.backUp(Qt.length),it.match(mt,!1)||it.match(Qt)),Bt}var B={};function K(it){var mt=B[it];return mt||(B[it]=new RegExp("\\s+"+it+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function de(it,mt){var Bt=it.match(K(mt));return Bt?/^\s*(.*?)\s*$/.exec(Bt[2])[1]:""}function De(it,mt){return new RegExp((mt?"^":"")+"</\\s*"+it+"\\s*>","i")}function Le(it,mt){for(var Bt in it)for(var Qt=mt[Bt]||(mt[Bt]=[]),Cr=it[Bt],Rr=Cr.length-1;Rr>=0;Rr--)Qt.unshift(Cr[Rr])}function ze(it,mt){for(var Bt=0;Bt<it.length;Bt++){var Qt=it[Bt];if(!Qt[0]||Qt[1].test(de(mt,Qt[0])))return Qt[2]}}l.defineMode("htmlmixed",function(it,mt){var Bt=l.getMode(it,{name:"xml",htmlMode:!0,multilineTagIndentFactor:mt.multilineTagIndentFactor,multilineTagIndentPastTag:mt.multilineTagIndentPastTag,allowMissingTagName:mt.allowMissingTagName}),Qt={},Cr=mt&&mt.tags,Rr=mt&&mt.scriptTypes;if(Le(f,Qt),Cr&&Le(Cr,Qt),Rr)for(var St=Rr.length-1;St>=0;St--)Qt.script.unshift(["type",Rr[St].matches,Rr[St].mode]);function $t(Vt,Pr){var nn=Bt.token(Vt,Pr.htmlState),Sn=/\btag\b/.test(nn),Wn;if(Sn&&!/[<>\s\/]/.test(Vt.current())&&(Wn=Pr.htmlState.tagName&&Pr.htmlState.tagName.toLowerCase())&&Qt.hasOwnProperty(Wn))Pr.inTag=Wn+" ";else if(Pr.inTag&&Sn&&/>$/.test(Vt.current())){var Mi=/^([\S]+) (.*)/.exec(Pr.inTag);Pr.inTag=null;var mi=Vt.current()==">"&&ze(Qt[Mi[1]],Mi[2]),Un=l.getMode(it,mi),Nn=De(Mi[1],!0),Ai=De(Mi[1],!1);Pr.token=function(Dr,vn){return Dr.match(Nn,!1)?(vn.token=$t,vn.localState=vn.localMode=null,null):v(Dr,Ai,vn.localMode.token(Dr,vn.localState))},Pr.localMode=Un,Pr.localState=l.startState(Un,Bt.indent(Pr.htmlState,"",""))}else Pr.inTag&&(Pr.inTag+=Vt.current(),Vt.eol()&&(Pr.inTag+=" "));return nn}return{startState:function(){var Vt=l.startState(Bt);return{token:$t,inTag:null,localMode:null,localState:null,htmlState:Vt}},copyState:function(Vt){var Pr;return Vt.localState&&(Pr=l.copyState(Vt.localMode,Vt.localState)),{token:Vt.token,inTag:Vt.inTag,localMode:Vt.localMode,localState:Pr,htmlState:l.copyState(Bt,Vt.htmlState)}},token:function(Vt,Pr){return Pr.token(Vt,Pr)},indent:function(Vt,Pr,nn){return!Vt.localMode||/^\s*<\//.test(Pr)?Bt.indent(Vt.htmlState,Pr,nn):Vt.localMode.indent?Vt.localMode.indent(Vt.localState,Pr,nn):l.Pass},innerMode:function(Vt){return{state:Vt.localState||Vt.htmlState,mode:Vt.localMode||Bt}}}},"xml","javascript","css"),l.defineMIME("text/html","htmlmixed")})})();(function(i,c){(function(l){l(Ml.exports,um.exports,om.exports)})(function(l){function f(B,K,de,De){this.state=B,this.mode=K,this.depth=de,this.prev=De}function v(B){return new f(l.copyState(B.mode,B.state),B.mode,B.depth,B.prev&&v(B.prev))}l.defineMode("jsx",function(B,K){var de=l.getMode(B,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),De=l.getMode(B,K&&K.base||"javascript");function Le(Bt){var Qt=Bt.tagName;Bt.tagName=null;var Cr=de.indent(Bt,"","");return Bt.tagName=Qt,Cr}function ze(Bt,Qt){return Qt.context.mode==de?it(Bt,Qt,Qt.context):mt(Bt,Qt,Qt.context)}function it(Bt,Qt,Cr){if(Cr.depth==2)return Bt.match(/^.*?\*\//)?Cr.depth=1:Bt.skipToEnd(),"comment";if(Bt.peek()=="{"){de.skipAttribute(Cr.state);var Rr=Le(Cr.state),St=Cr.state.context;if(St&&Bt.match(/^[^>]*>\s*$/,!1)){for(;St.prev&&!St.startOfLine;)St=St.prev;St.startOfLine?Rr-=B.indentUnit:Cr.prev.state.lexical&&(Rr=Cr.prev.state.lexical.indented)}else Cr.depth==1&&(Rr+=B.indentUnit);return Qt.context=new f(l.startState(De,Rr),De,0,Qt.context),null}if(Cr.depth==1){if(Bt.peek()=="<")return de.skipAttribute(Cr.state),Qt.context=new f(l.startState(de,Le(Cr.state)),de,0,Qt.context),null;if(Bt.match("//"))return Bt.skipToEnd(),"comment";if(Bt.match("/*"))return Cr.depth=2,ze(Bt,Qt)}var $t=de.token(Bt,Cr.state),Vt=Bt.current(),Pr;return/\btag\b/.test($t)?/>$/.test(Vt)?Cr.state.context?Cr.depth=0:Qt.context=Qt.context.prev:/^</.test(Vt)&&(Cr.depth=1):!$t&&(Pr=Vt.indexOf("{"))>-1&&Bt.backUp(Vt.length-Pr),$t}function mt(Bt,Qt,Cr){if(Bt.peek()=="<"&&De.expressionAllowed(Bt,Cr.state))return Qt.context=new f(l.startState(de,De.indent(Cr.state,"","")),de,0,Qt.context),De.skipExpression(Cr.state),null;var Rr=De.token(Bt,Cr.state);if(!Rr&&Cr.depth!=null){var St=Bt.current();St=="{"?Cr.depth++:St=="}"&&--Cr.depth==0&&(Qt.context=Qt.context.prev)}return Rr}return{startState:function(){return{context:new f(l.startState(De),De)}},copyState:function(Bt){return{context:v(Bt.context)}},token:ze,indent:function(Bt,Qt,Cr){return Bt.context.mode.indent(Bt.context.state,Qt,Cr)},innerMode:function(Bt){return Bt.context}}},"xml","javascript"),l.defineMIME("text/jsx","jsx"),l.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();(function(i,c){(function(l){l(Ml.exports)})(function(l){l.defineOption("placeholder","",function(Le,ze,it){var mt=it&&it!=l.Init;if(ze&&!mt)Le.on("blur",K),Le.on("change",de),Le.on("swapDoc",de),l.on(Le.getInputField(),"compositionupdate",Le.state.placeholderCompose=function(){B(Le)}),de(Le);else if(!ze&&mt){Le.off("blur",K),Le.off("change",de),Le.off("swapDoc",de),l.off(Le.getInputField(),"compositionupdate",Le.state.placeholderCompose),f(Le);var Bt=Le.getWrapperElement();Bt.className=Bt.className.replace(" CodeMirror-empty","")}ze&&!Le.hasFocus()&&K(Le)});function f(Le){Le.state.placeholder&&(Le.state.placeholder.parentNode.removeChild(Le.state.placeholder),Le.state.placeholder=null)}function v(Le){f(Le);var ze=Le.state.placeholder=document.createElement("pre");ze.style.cssText="height: 0; overflow: visible",ze.style.direction=Le.getOption("direction"),ze.className="CodeMirror-placeholder CodeMirror-line-like";var it=Le.getOption("placeholder");typeof it=="string"&&(it=document.createTextNode(it)),ze.appendChild(it),Le.display.lineSpace.insertBefore(ze,Le.display.lineSpace.firstChild)}function B(Le){setTimeout(function(){var ze=!1;if(Le.lineCount()==1){var it=Le.getInputField();ze=it.nodeName=="TEXTAREA"?!Le.getLine(0).length:!/[^\u200b]/.test(it.querySelector(".CodeMirror-line").textContent)}ze?v(Le):f(Le)},20)}function K(Le){De(Le)&&v(Le)}function de(Le){var ze=Le.getWrapperElement(),it=De(Le);ze.className=ze.className.replace(" CodeMirror-empty","")+(it?" CodeMirror-empty":""),it?v(Le):f(Le)}function De(Le){return Le.lineCount()===1&&Le.getLine(0)===""}})})();(function(i,c){(function(l){l(Ml.exports)})(function(l){var f="CodeMirror-hint",v="CodeMirror-hint-active";l.showHint=function(St,$t,Vt){if(!$t)return St.showHint(Vt);Vt&&Vt.async&&($t.async=!0);var Pr={hint:$t};if(Vt)for(var nn in Vt)Pr[nn]=Vt[nn];return St.showHint(Pr)},l.defineExtension("showHint",function(St){St=De(this,this.getCursor("start"),St);var $t=this.listSelections();if(!($t.length>1)){if(this.somethingSelected()){if(!St.hint.supportsSelection)return;for(var Vt=0;Vt<$t.length;Vt++)if($t[Vt].head.line!=$t[Vt].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Pr=this.state.completionActive=new B(this,St);!Pr.options.hint||(l.signal(this,"startCompletion",this),Pr.update(!0))}}),l.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function B(St,$t){if(this.cm=St,this.options=$t,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor("start"),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length,this.options.updateOnCursorActivity){var Vt=this;St.on("cursorActivity",this.activityFunc=function(){Vt.cursorActivity()})}}var K=window.requestAnimationFrame||function(St){return setTimeout(St,1e3/60)},de=window.cancelAnimationFrame||clearTimeout;B.prototype={close:function(){!this.active()||(this.cm.state.completionActive=null,this.tick=null,this.options.updateOnCursorActivity&&this.cm.off("cursorActivity",this.activityFunc),this.widget&&this.data&&l.signal(this.data,"close"),this.widget&&this.widget.close(),l.signal(this.cm,"endCompletion",this.cm))},active:function(){return this.cm.state.completionActive==this},pick:function(St,$t){var Vt=St.list[$t],Pr=this;this.cm.operation(function(){Vt.hint?Vt.hint(Pr.cm,St,Vt):Pr.cm.replaceRange(Le(Vt),Vt.from||St.from,Vt.to||St.to,"complete"),l.signal(St,"pick",Vt),Pr.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(de(this.debounce),this.debounce=0);var St=this.startPos;this.data&&(St=this.data.from);var $t=this.cm.getCursor(),Vt=this.cm.getLine($t.line);if($t.line!=this.startPos.line||Vt.length-$t.ch!=this.startLen-this.startPos.ch||$t.ch<St.ch||this.cm.somethingSelected()||!$t.ch||this.options.closeCharacters.test(Vt.charAt($t.ch-1)))this.close();else{var Pr=this;this.debounce=K(function(){Pr.update()}),this.widget&&this.widget.disable()}},update:function(St){if(this.tick!=null){var $t=this,Vt=++this.tick;Qt(this.options.hint,this.cm,this.options,function(Pr){$t.tick==Vt&&$t.finishUpdate(Pr,St)})}},finishUpdate:function(St,$t){this.data&&l.signal(this.data,"update");var Vt=this.widget&&this.widget.picked||$t&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=St,St&&St.list.length&&(Vt&&St.list.length==1?this.pick(St,0):(this.widget=new mt(this,St),l.signal(St,"shown")))}};function De(St,$t,Vt){var Pr=St.options.hintOptions,nn={};for(var Sn in Rr)nn[Sn]=Rr[Sn];if(Pr)for(var Sn in Pr)Pr[Sn]!==void 0&&(nn[Sn]=Pr[Sn]);if(Vt)for(var Sn in Vt)Vt[Sn]!==void 0&&(nn[Sn]=Vt[Sn]);return nn.hint.resolve&&(nn.hint=nn.hint.resolve(St,$t)),nn}function Le(St){return typeof St=="string"?St:St.text}function ze(St,$t){var Vt={Up:function(){$t.moveFocus(-1)},Down:function(){$t.moveFocus(1)},PageUp:function(){$t.moveFocus(-$t.menuSize()+1,!0)},PageDown:function(){$t.moveFocus($t.menuSize()-1,!0)},Home:function(){$t.setFocus(0)},End:function(){$t.setFocus($t.length-1)},Enter:$t.pick,Tab:$t.pick,Esc:$t.close},Pr=/Mac/.test(navigator.platform);Pr&&(Vt["Ctrl-P"]=function(){$t.moveFocus(-1)},Vt["Ctrl-N"]=function(){$t.moveFocus(1)});var nn=St.options.customKeys,Sn=nn?{}:Vt;function Wn(Un,Nn){var Ai;typeof Nn!="string"?Ai=function(Dr){return Nn(Dr,$t)}:Vt.hasOwnProperty(Nn)?Ai=Vt[Nn]:Ai=Nn,Sn[Un]=Ai}if(nn)for(var Mi in nn)nn.hasOwnProperty(Mi)&&Wn(Mi,nn[Mi]);var mi=St.options.extraKeys;if(mi)for(var Mi in mi)mi.hasOwnProperty(Mi)&&Wn(Mi,mi[Mi]);return Sn}function it(St,$t){for(;$t&&$t!=St;){if($t.nodeName.toUpperCase()==="LI"&&$t.parentNode==St)return $t;$t=$t.parentNode}}function mt(St,$t){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=St,this.data=$t,this.picked=!1;var Vt=this,Pr=St.cm,nn=Pr.getInputField().ownerDocument,Sn=nn.defaultView||nn.parentWindow,Wn=this.hints=nn.createElement("ul");Wn.setAttribute("role","listbox"),Wn.setAttribute("aria-expanded","true"),Wn.id=this.id;var Mi=St.cm.options.theme;Wn.className="CodeMirror-hints "+Mi,this.selectedHint=$t.selectedHint||0;for(var mi=$t.list,Un=0;Un<mi.length;++Un){var Nn=Wn.appendChild(nn.createElement("li")),Ai=mi[Un],Dr=f+(Un!=this.selectedHint?"":" "+v);Ai.className!=null&&(Dr=Ai.className+" "+Dr),Nn.className=Dr,Un==this.selectedHint&&Nn.setAttribute("aria-selected","true"),Nn.id=this.id+"-"+Un,Nn.setAttribute("role","option"),Ai.render?Ai.render(Nn,$t,Ai):Nn.appendChild(nn.createTextNode(Ai.displayText||Le(Ai))),Nn.hintId=Un}var vn=St.options.container||nn.body,we=Pr.cursorCoords(St.options.alignWithWord?$t.from:null),tn=we.left,yr=we.bottom,wn=!0,ei=0,ls=0;if(vn!==nn.body){var As=["absolute","relative","fixed"].indexOf(Sn.getComputedStyle(vn).position)!==-1,_s=As?vn:vn.offsetParent,qi=_s.getBoundingClientRect(),Ps=nn.body.getBoundingClientRect();ei=qi.left-Ps.left-_s.scrollLeft,ls=qi.top-Ps.top-_s.scrollTop}Wn.style.left=tn-ei+"px",Wn.style.top=yr-ls+"px";var Or=Sn.innerWidth||Math.max(nn.body.offsetWidth,nn.documentElement.offsetWidth),Kr=Sn.innerHeight||Math.max(nn.body.offsetHeight,nn.documentElement.offsetHeight);vn.appendChild(Wn),Pr.getInputField().setAttribute("aria-autocomplete","list"),Pr.getInputField().setAttribute("aria-owns",this.id),Pr.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var mr=St.options.moveOnOverlap?Wn.getBoundingClientRect():new DOMRect,dn=St.options.paddingForScrollbar?Wn.scrollHeight>Wn.clientHeight+1:!1,ai;setTimeout(function(){ai=Pr.getScrollInfo()});var Jn=mr.bottom-Kr;if(Jn>0){var zn=mr.bottom-mr.top,ui=we.top-(we.bottom-mr.top);if(ui-zn>0)Wn.style.top=(yr=we.top-zn-ls)+"px",wn=!1;else if(zn>Kr){Wn.style.height=Kr-5+"px",Wn.style.top=(yr=we.bottom-mr.top-ls)+"px";var ct=Pr.getCursor();$t.from.ch!=ct.ch&&(we=Pr.cursorCoords(ct),Wn.style.left=(tn=we.left-ei)+"px",mr=Wn.getBoundingClientRect())}}var Ot=mr.right-Or;if(dn&&(Ot+=Pr.display.nativeBarWidth),Ot>0&&(mr.right-mr.left>Or&&(Wn.style.width=Or-5+"px",Ot-=mr.right-mr.left-Or),Wn.style.left=(tn=Math.max(we.left-Ot-ei,0))+"px"),dn)for(var br=Wn.firstChild;br;br=br.nextSibling)br.style.paddingRight=Pr.display.nativeBarWidth+"px";if(Pr.addKeyMap(this.keyMap=ze(St,{moveFocus:function(fn,mn){Vt.changeActive(Vt.selectedHint+fn,mn)},setFocus:function(fn){Vt.changeActive(fn)},menuSize:function(){return Vt.screenAmount()},length:mi.length,close:function(){St.close()},pick:function(){Vt.pick()},data:$t})),St.options.closeOnUnfocus){var sr;Pr.on("blur",this.onBlur=function(){sr=setTimeout(function(){St.close()},100)}),Pr.on("focus",this.onFocus=function(){clearTimeout(sr)})}Pr.on("scroll",this.onScroll=function(){var fn=Pr.getScrollInfo(),mn=Pr.getWrapperElement().getBoundingClientRect();ai||(ai=Pr.getScrollInfo());var Fn=yr+ai.top-fn.top,hn=Fn-(Sn.pageYOffset||(nn.documentElement||nn.body).scrollTop);if(wn||(hn+=Wn.offsetHeight),hn<=mn.top||hn>=mn.bottom)return St.close();Wn.style.top=Fn+"px",Wn.style.left=tn+ai.left-fn.left+"px"}),l.on(Wn,"dblclick",function(fn){var mn=it(Wn,fn.target||fn.srcElement);mn&&mn.hintId!=null&&(Vt.changeActive(mn.hintId),Vt.pick())}),l.on(Wn,"click",function(fn){var mn=it(Wn,fn.target||fn.srcElement);mn&&mn.hintId!=null&&(Vt.changeActive(mn.hintId),St.options.completeOnSingleClick&&Vt.pick())}),l.on(Wn,"mousedown",function(){setTimeout(function(){Pr.focus()},20)});var Jr=this.getSelectedHintRange();return(Jr.from!==0||Jr.to!==0)&&this.scrollToActive(),l.signal($t,"select",mi[this.selectedHint],Wn.childNodes[this.selectedHint]),!0}mt.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var St=this.completion.cm.getInputField();St.removeAttribute("aria-activedescendant"),St.removeAttribute("aria-owns");var $t=this.completion.cm;this.completion.options.closeOnUnfocus&&($t.off("blur",this.onBlur),$t.off("focus",this.onFocus)),$t.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var St=this;this.keyMap={Enter:function(){St.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(St,$t){if(St>=this.data.list.length?St=$t?this.data.list.length-1:0:St<0&&(St=$t?0:this.data.list.length-1),this.selectedHint!=St){var Vt=this.hints.childNodes[this.selectedHint];Vt&&(Vt.className=Vt.className.replace(" "+v,""),Vt.removeAttribute("aria-selected")),Vt=this.hints.childNodes[this.selectedHint=St],Vt.className+=" "+v,Vt.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Vt.id),this.scrollToActive(),l.signal(this.data,"select",this.data.list[this.selectedHint],Vt)}},scrollToActive:function(){var St=this.getSelectedHintRange(),$t=this.hints.childNodes[St.from],Vt=this.hints.childNodes[St.to],Pr=this.hints.firstChild;$t.offsetTop<this.hints.scrollTop?this.hints.scrollTop=$t.offsetTop-Pr.offsetTop:Vt.offsetTop+Vt.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Vt.offsetTop+Vt.offsetHeight-this.hints.clientHeight+Pr.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var St=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-St),to:Math.min(this.data.list.length-1,this.selectedHint+St)}}};function Bt(St,$t){if(!St.somethingSelected())return $t;for(var Vt=[],Pr=0;Pr<$t.length;Pr++)$t[Pr].supportsSelection&&Vt.push($t[Pr]);return Vt}function Qt(St,$t,Vt,Pr){if(St.async)St($t,Pr,Vt);else{var nn=St($t,Vt);nn&&nn.then?nn.then(Pr):Pr(nn)}}function Cr(St,$t){var Vt=St.getHelpers($t,"hint"),Pr;if(Vt.length){var nn=function(Sn,Wn,Mi){var mi=Bt(Sn,Vt);function Un(Nn){if(Nn==mi.length)return Wn(null);Qt(mi[Nn],Sn,Mi,function(Ai){Ai&&Ai.list.length>0?Wn(Ai):Un(Nn+1)})}Un(0)};return nn.async=!0,nn.supportsSelection=!0,nn}else return(Pr=St.getHelper(St.getCursor(),"hintWords"))?function(Sn){return l.hint.fromList(Sn,{words:Pr})}:l.hint.anyword?function(Sn,Wn){return l.hint.anyword(Sn,Wn)}:function(){}}l.registerHelper("hint","auto",{resolve:Cr}),l.registerHelper("hint","fromList",function(St,$t){var Vt=St.getCursor(),Pr=St.getTokenAt(Vt),nn,Sn=l.Pos(Vt.line,Pr.start),Wn=Vt;Pr.start<Vt.ch&&/\w/.test(Pr.string.charAt(Vt.ch-Pr.start-1))?nn=Pr.string.substr(0,Vt.ch-Pr.start):(nn="",Sn=Vt);for(var Mi=[],mi=0;mi<$t.words.length;mi++){var Un=$t.words[mi];Un.slice(0,nn.length)==nn&&Mi.push(Un)}if(Mi.length)return{list:Mi,from:Sn,to:Wn}}),l.commands.autocomplete=l.showHint;var Rr={hint:l.hint.auto,completeSingle:!0,alignWithWord:!0,closeCharacters:/[\s()\[\]{};:>,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};l.defineOption("hintOptions",null)})})();function pD(i,c,l={}){const f=lD.fromTextArea(i.value,{theme:"vars",...Oi(l)});to(l,B=>Object.entries(B).forEach(([K,de])=>f.setOption(K,de)));let v=!1;return f.on("change",()=>{if(v){v=!1;return}c.value=f.getValue()}),to(c,B=>{if(B!==f.getValue()){v=!0;const K=f.listSelections();f.replaceRange(B,f.posFromIndex(0),f.posFromIndex(1/0)),f.setSelections(K)}},{immediate:!0}),f}const hD={relative:"","font-mono":"","text-sm":""},fD=tl({__name:"CodeMirror",props:{modelValue:null,mode:null,readOnly:{type:Boolean},matched:null,getHint:null},emits:["update:modelValue"],setup(i,{emit:c}){const l=i,f={html:"htmlmixed",vue:"htmlmixed",svelte:"htmlmixed",js:"javascript",mjs:"javascript",cjs:"javascript",ts:{name:"javascript",typescript:!0},mts:{name:"javascript",typescript:!0},cts:{name:"javascript",typescript:!0},jsx:{name:"javascript",jsx:!0},tsx:{name:"javascript",typescript:!0,jsx:!0}},v=Va(),B=nD(l,"modelValue",c,{passive:!0}),K=pa(()=>f[l.mode||""]||l.mode),de=pa(()=>l.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),De=pa(()=>l.getHint?{hint:l.getHint}:{});return Bh(async()=>{const Le=pD(v,B,Fc({...Sg(l),mode:K,hintOptions:De,extraKeys:de}));Le.setSize("100%","100%"),l.getHint&&Le.on("keyup",(Qt,Cr)=>{Cr.key.match(/^[\w:-]$/)&&Qt.execCommand("autocomplete")}),setTimeout(()=>Le.refresh(),100);const ze=[];function it(Qt,Cr){ze.push(Le.markText(Le.posFromIndex(Qt),Le.posFromIndex(Cr),{className:"highlighted"}))}function mt(){ze.forEach(Qt=>Qt.clear()),uD(l.modelValue,Array.from(l.matched||[])).forEach(Qt=>it(Qt[0],Qt[1]))}let Bt=0;to(()=>[l.modelValue,l.matched],async()=>{clearTimeout(Bt),l.matched&&(Bt=setTimeout(mt,200))},{immediate:!0})}),(Le,ze)=>(xa(),ho("div",hD,[Xi("textarea",{ref_key:"el",ref:v},null,512)]))}});var lm=(i,c)=>{const l=i.__vccOpts||i;for(const[f,v]of c)l[f]=v;return l};const dD={},mD={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function gD(i,c){return xa(),ho("div",mD,[Dp(i.$slots,"default")])}var yD=lm(dD,[["render",gD]]);const DD={style:{"background-color":"var(--cm-background)"},border:"l y gray/20",text:"gray/80",p1:"","min-h-30px":"","max-h-30px":"","select-none":"",flex:"","all:my-auto":""},vD={"mr-2":"","op-60":""},xD={flex:"","gap-2":"","flex-auto":""},bD=tl({__name:"TitleBar",props:{title:null},emits:["titleClick"],setup(i,{emit:c}){return(l,f)=>(xa(),ho("div",DD,[Xi("div",{flex:"",onClick:f[0]||(f[0]=v=>c("titleClick",v))},[Dp(l.$slots,"before"),Xi("div",vD,Bo(i.title),1)]),Xi("div",xD,[Dp(l.$slots,"default")])]))}}),CD="/@vite/client",cm=qc(),pm=qc(),ED=cm.on,hm=pm.on;Dh(()=>import(CD),[]).then(i=>{const c=i.createHotContext("/");c.on("vite:beforeUpdate",l=>{l.updates.forEach(f=>{cm.trigger(f)})}),c.on("unocss:config-changed",()=>{pm.trigger()})}).catch(i=>{console.error("failed to connect to client vite server, you might need to do manual refresh to see the updates"),console.error(i)});const Hp="/__unocss_api",fm=zp(Hp).json(),Rh=zp(`${Hp}/overview`,{immediate:!1}).json(),Za=fm.data,op=Rh.data;hm(()=>{fm.execute(),Rh.execute()});function Q1(i){const c=zp(pa(()=>`${Hp}/module?id=${encodeURIComponent(Oi(i))}`),{refetch:!0}).json();return hm(()=>c.execute()),ED(l=>{var f;(l.path===Oi(i)||l.path===Oi(i).slice(((f=Za.value)==null?void 0:f.root.length)||0))&&setTimeout(()=>{c.execute()},50)}),c}function Z1(i){const c=hy(i,500);return zp(pa(()=>`${Hp}/repl?token=${encodeURIComponent(c.value)}`),{refetch:!0}).json()}const up=pa(()=>{if(!Za.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]}};const i=Za.value.modules.map(f=>({full:f,path:f})),c=i.filter(f=>f.full.startsWith(Za.value.root)),l=i.filter(f=>!f.full.startsWith(Za.value.root));return c.forEach(f=>f.path=f.path.slice(Za.value.root.length+1)),{workspace:Lf(c,"Project Root"),root:Lf(l,"Disk Root")}});function Lf(i,c){const l={name:c,children:{},items:[]};function f(v,B,K=l){if(B.length<=1){K.items.push(v);return}const de=B.shift();K.children[de]||(K.children[de]={name:de,children:{},items:[]}),f(v,B,K.children[de])}return i.forEach(v=>{const B=v.path.split(/\//g).filter(Boolean);f(v,B)}),l}const AD={key:0,"ws-wrap":""},wD=Xi("span",{op80:""},".",-1),TD={key:1},SD=tl({__name:"ModuleId",props:{id:null},setup(i){return(c,l)=>i.id&&Oi(Za)?(xa(),ho("span",AD,[i.id.startsWith(Oi(Za).root)?(xa(),ho(Go,{key:0},[wD,Xi("span",null,Bo(i.id.slice(Oi(Za).root.length)),1)],64)):(xa(),ho("span",TD,Bo(i.id),1))])):Cp("",!0)}}),FD=(i,c)=>{const l=Va(null);return Ky(i,()=>{var v;const f=(v=jh(i))==null?void 0:v.clientHeight;l.value=f?`--${c}: calc(100vh - ${f}px - 2px);`:null}),l};var dm={exports:{}};(function(i,c){(function(l){i.exports=l()})(function(){var l=(Ie,ce)=>()=>(ce||Ie((ce={exports:{}}).exports,ce),ce.exports),f=l((Ie,ce)=>{var fe=function(Ee){return Ee&&Ee.Math==Math&&Ee};ce.exports=fe(typeof globalThis=="object"&&globalThis)||fe(typeof window=="object"&&window)||fe(typeof self=="object"&&self)||fe(typeof Ol=="object"&&Ol)||function(){return this}()||Function("return this")()}),v=l((Ie,ce)=>{ce.exports=function(fe){try{return!!fe()}catch{return!0}}}),B=l((Ie,ce)=>{var fe=v();ce.exports=!fe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),K=l((Ie,ce)=>{var fe=v();ce.exports=!fe(function(){var Ee=function(){}.bind();return typeof Ee!="function"||Ee.hasOwnProperty("prototype")})}),de=l((Ie,ce)=>{var fe=K(),Ee=Function.prototype.call;ce.exports=fe?Ee.bind(Ee):function(){return Ee.apply(Ee,arguments)}}),De=l(Ie=>{var ce={}.propertyIsEnumerable,fe=Object.getOwnPropertyDescriptor,Ee=fe&&!ce.call({1:2},1);Ie.f=Ee?function(Ce){var He=fe(this,Ce);return!!He&&He.enumerable}:ce}),Le=l((Ie,ce)=>{ce.exports=function(fe,Ee){return{enumerable:!(fe&1),configurable:!(fe&2),writable:!(fe&4),value:Ee}}}),ze=l((Ie,ce)=>{var fe=K(),Ee=Function.prototype,Ce=Ee.bind,He=Ee.call,et=fe&&Ce.bind(He,He);ce.exports=fe?function(st){return st&&et(st)}:function(st){return st&&function(){return He.apply(st,arguments)}}}),it=l((Ie,ce)=>{var fe=ze(),Ee=fe({}.toString),Ce=fe("".slice);ce.exports=function(He){return Ce(Ee(He),8,-1)}}),mt=l((Ie,ce)=>{var fe=f(),Ee=ze(),Ce=v(),He=it(),et=fe.Object,st=Ee("".split);ce.exports=Ce(function(){return!et("z").propertyIsEnumerable(0)})?function(Dt){return He(Dt)=="String"?st(Dt,""):et(Dt)}:et}),Bt=l((Ie,ce)=>{var fe=f(),Ee=fe.TypeError;ce.exports=function(Ce){if(Ce==null)throw Ee("Can't call method on "+Ce);return Ce}}),Qt=l((Ie,ce)=>{var fe=mt(),Ee=Bt();ce.exports=function(Ce){return fe(Ee(Ce))}}),Cr=l((Ie,ce)=>{ce.exports=function(fe){return typeof fe=="function"}}),Rr=l((Ie,ce)=>{var fe=Cr();ce.exports=function(Ee){return typeof Ee=="object"?Ee!==null:fe(Ee)}}),St=l((Ie,ce)=>{var fe=f(),Ee=Cr(),Ce=function(He){return Ee(He)?He:void 0};ce.exports=function(He,et){return arguments.length<2?Ce(fe[He]):fe[He]&&fe[He][et]}}),$t=l((Ie,ce)=>{var fe=ze();ce.exports=fe({}.isPrototypeOf)}),Vt=l((Ie,ce)=>{var fe=St();ce.exports=fe("navigator","userAgent")||""}),Pr=l((Ie,ce)=>{var fe=f(),Ee=Vt(),Ce=fe.process,He=fe.Deno,et=Ce&&Ce.versions||He&&He.version,st=et&&et.v8,Dt,Wt;st&&(Dt=st.split("."),Wt=Dt[0]>0&&Dt[0]<4?1:+(Dt[0]+Dt[1])),!Wt&&Ee&&(Dt=Ee.match(/Edge\/(\d+)/),(!Dt||Dt[1]>=74)&&(Dt=Ee.match(/Chrome\/(\d+)/),Dt&&(Wt=+Dt[1]))),ce.exports=Wt}),nn=l((Ie,ce)=>{var fe=Pr(),Ee=v();ce.exports=!!Object.getOwnPropertySymbols&&!Ee(function(){var Ce=Symbol();return!String(Ce)||!(Object(Ce)instanceof Symbol)||!Symbol.sham&&fe&&fe<41})}),Sn=l((Ie,ce)=>{var fe=nn();ce.exports=fe&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Wn=l((Ie,ce)=>{var fe=f(),Ee=St(),Ce=Cr(),He=$t(),et=Sn(),st=fe.Object;ce.exports=et?function(Dt){return typeof Dt=="symbol"}:function(Dt){var Wt=Ee("Symbol");return Ce(Wt)&&He(Wt.prototype,st(Dt))}}),Mi=l((Ie,ce)=>{var fe=f(),Ee=fe.String;ce.exports=function(Ce){try{return Ee(Ce)}catch{return"Object"}}}),mi=l((Ie,ce)=>{var fe=f(),Ee=Cr(),Ce=Mi(),He=fe.TypeError;ce.exports=function(et){if(Ee(et))return et;throw He(Ce(et)+" is not a function")}}),Un=l((Ie,ce)=>{var fe=mi();ce.exports=function(Ee,Ce){var He=Ee[Ce];return He==null?void 0:fe(He)}}),Nn=l((Ie,ce)=>{var fe=f(),Ee=de(),Ce=Cr(),He=Rr(),et=fe.TypeError;ce.exports=function(st,Dt){var Wt,nr;if(Dt==="string"&&Ce(Wt=st.toString)&&!He(nr=Ee(Wt,st))||Ce(Wt=st.valueOf)&&!He(nr=Ee(Wt,st))||Dt!=="string"&&Ce(Wt=st.toString)&&!He(nr=Ee(Wt,st)))return nr;throw et("Can't convert object to primitive value")}}),Ai=l((Ie,ce)=>{ce.exports=!1}),Dr=l((Ie,ce)=>{var fe=f(),Ee=Object.defineProperty;ce.exports=function(Ce,He){try{Ee(fe,Ce,{value:He,configurable:!0,writable:!0})}catch{fe[Ce]=He}return He}}),vn=l((Ie,ce)=>{var fe=f(),Ee=Dr(),Ce="__core-js_shared__",He=fe[Ce]||Ee(Ce,{});ce.exports=He}),we=l((Ie,ce)=>{var fe=Ai(),Ee=vn();(ce.exports=function(Ce,He){return Ee[Ce]||(Ee[Ce]=He!==void 0?He:{})})("versions",[]).push({version:"3.22.2",mode:fe?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),tn=l((Ie,ce)=>{var fe=f(),Ee=Bt(),Ce=fe.Object;ce.exports=function(He){return Ce(Ee(He))}}),yr=l((Ie,ce)=>{var fe=ze(),Ee=tn(),Ce=fe({}.hasOwnProperty);ce.exports=Object.hasOwn||function(He,et){return Ce(Ee(He),et)}}),wn=l((Ie,ce)=>{var fe=ze(),Ee=0,Ce=Math.random(),He=fe(1 .toString);ce.exports=function(et){return"Symbol("+(et===void 0?"":et)+")_"+He(++Ee+Ce,36)}}),ei=l((Ie,ce)=>{var fe=f(),Ee=we(),Ce=yr(),He=wn(),et=nn(),st=Sn(),Dt=Ee("wks"),Wt=fe.Symbol,nr=Wt&&Wt.for,wr=st?Wt:Wt&&Wt.withoutSetter||He;ce.exports=function(Ur){if(!Ce(Dt,Ur)||!(et||typeof Dt[Ur]=="string")){var Qr="Symbol."+Ur;et&&Ce(Wt,Ur)?Dt[Ur]=Wt[Ur]:st&&nr?Dt[Ur]=nr(Qr):Dt[Ur]=wr(Qr)}return Dt[Ur]}}),ls=l((Ie,ce)=>{var fe=f(),Ee=de(),Ce=Rr(),He=Wn(),et=Un(),st=Nn(),Dt=ei(),Wt=fe.TypeError,nr=Dt("toPrimitive");ce.exports=function(wr,Ur){if(!Ce(wr)||He(wr))return wr;var Qr=et(wr,nr),rn;if(Qr){if(Ur===void 0&&(Ur="default"),rn=Ee(Qr,wr,Ur),!Ce(rn)||He(rn))return rn;throw Wt("Can't convert object to primitive value")}return Ur===void 0&&(Ur="number"),st(wr,Ur)}}),As=l((Ie,ce)=>{var fe=ls(),Ee=Wn();ce.exports=function(Ce){var He=fe(Ce,"string");return Ee(He)?He:He+""}}),_s=l((Ie,ce)=>{var fe=f(),Ee=Rr(),Ce=fe.document,He=Ee(Ce)&&Ee(Ce.createElement);ce.exports=function(et){return He?Ce.createElement(et):{}}}),qi=l((Ie,ce)=>{var fe=B(),Ee=v(),Ce=_s();ce.exports=!fe&&!Ee(function(){return Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a!=7})}),Ps=l(Ie=>{var ce=B(),fe=de(),Ee=De(),Ce=Le(),He=Qt(),et=As(),st=yr(),Dt=qi(),Wt=Object.getOwnPropertyDescriptor;Ie.f=ce?Wt:function(nr,wr){if(nr=He(nr),wr=et(wr),Dt)try{return Wt(nr,wr)}catch{}if(st(nr,wr))return Ce(!fe(Ee.f,nr,wr),nr[wr])}}),Or=l((Ie,ce)=>{var fe=B(),Ee=v();ce.exports=fe&&Ee(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Kr=l((Ie,ce)=>{var fe=f(),Ee=Rr(),Ce=fe.String,He=fe.TypeError;ce.exports=function(et){if(Ee(et))return et;throw He(Ce(et)+" is not an object")}}),mr=l(Ie=>{var ce=f(),fe=B(),Ee=qi(),Ce=Or(),He=Kr(),et=As(),st=ce.TypeError,Dt=Object.defineProperty,Wt=Object.getOwnPropertyDescriptor,nr="enumerable",wr="configurable",Ur="writable";Ie.f=fe?Ce?function(Qr,rn,kr){if(He(Qr),rn=et(rn),He(kr),typeof Qr=="function"&&rn==="prototype"&&"value"in kr&&Ur in kr&&!kr[Ur]){var kn=Wt(Qr,rn);kn&&kn[Ur]&&(Qr[rn]=kr.value,kr={configurable:wr in kr?kr[wr]:kn[wr],enumerable:nr in kr?kr[nr]:kn[nr],writable:!1})}return Dt(Qr,rn,kr)}:Dt:function(Qr,rn,kr){if(He(Qr),rn=et(rn),He(kr),Ee)try{return Dt(Qr,rn,kr)}catch{}if("get"in kr||"set"in kr)throw st("Accessors not supported");return"value"in kr&&(Qr[rn]=kr.value),Qr}}),dn=l((Ie,ce)=>{var fe=B(),Ee=mr(),Ce=Le();ce.exports=fe?function(He,et,st){return Ee.f(He,et,Ce(1,st))}:function(He,et,st){return He[et]=st,He}}),ai=l((Ie,ce)=>{var fe=ze(),Ee=Cr(),Ce=vn(),He=fe(Function.toString);Ee(Ce.inspectSource)||(Ce.inspectSource=function(et){return He(et)}),ce.exports=Ce.inspectSource}),Jn=l((Ie,ce)=>{var fe=f(),Ee=Cr(),Ce=ai(),He=fe.WeakMap;ce.exports=Ee(He)&&/native code/.test(Ce(He))}),zn=l((Ie,ce)=>{var fe=we(),Ee=wn(),Ce=fe("keys");ce.exports=function(He){return Ce[He]||(Ce[He]=Ee(He))}}),ui=l((Ie,ce)=>{ce.exports={}}),ct=l((Ie,ce)=>{var fe=Jn(),Ee=f(),Ce=ze(),He=Rr(),et=dn(),st=yr(),Dt=vn(),Wt=zn(),nr=ui(),wr="Object already initialized",Ur=Ee.TypeError,Qr=Ee.WeakMap,rn,kr,kn,ci=function(Di){return kn(Di)?kr(Di):rn(Di,{})},yn=function(Di){return function(ti){var Gn;if(!He(ti)||(Gn=kr(ti)).type!==Di)throw Ur("Incompatible receiver, "+Di+" required");return Gn}};fe||Dt.state?(Yi=Dt.state||(Dt.state=new Qr),yi=Ce(Yi.get),Xe=Ce(Yi.has),ys=Ce(Yi.set),rn=function(Di,ti){if(Xe(Yi,Di))throw new Ur(wr);return ti.facade=Di,ys(Yi,Di,ti),ti},kr=function(Di){return yi(Yi,Di)||{}},kn=function(Di){return Xe(Yi,Di)}):(Li=Wt("state"),nr[Li]=!0,rn=function(Di,ti){if(st(Di,Li))throw new Ur(wr);return ti.facade=Di,et(Di,Li,ti),ti},kr=function(Di){return st(Di,Li)?Di[Li]:{}},kn=function(Di){return st(Di,Li)});var Yi,yi,Xe,ys,Li;ce.exports={set:rn,get:kr,has:kn,enforce:ci,getterFor:yn}}),Ot=l((Ie,ce)=>{var fe=B(),Ee=yr(),Ce=Function.prototype,He=fe&&Object.getOwnPropertyDescriptor,et=Ee(Ce,"name"),st=et&&function(){}.name==="something",Dt=et&&(!fe||fe&&He(Ce,"name").configurable);ce.exports={EXISTS:et,PROPER:st,CONFIGURABLE:Dt}}),br=l((Ie,ce)=>{var fe=f(),Ee=Cr(),Ce=yr(),He=dn(),et=Dr(),st=ai(),Dt=ct(),Wt=Ot().CONFIGURABLE,nr=Dt.get,wr=Dt.enforce,Ur=String(String).split("String");(ce.exports=function(Qr,rn,kr,kn){var ci=kn?!!kn.unsafe:!1,yn=kn?!!kn.enumerable:!1,Yi=kn?!!kn.noTargetGet:!1,yi=kn&&kn.name!==void 0?kn.name:rn,Xe;if(Ee(kr)&&(String(yi).slice(0,7)==="Symbol("&&(yi="["+String(yi).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ce(kr,"name")||Wt&&kr.name!==yi)&&He(kr,"name",yi),Xe=wr(kr),Xe.source||(Xe.source=Ur.join(typeof yi=="string"?yi:""))),Qr===fe){yn?Qr[rn]=kr:et(rn,kr);return}else ci?!Yi&&Qr[rn]&&(yn=!0):delete Qr[rn];yn?Qr[rn]=kr:He(Qr,rn,kr)})(Function.prototype,"toString",function(){return Ee(this)&&nr(this).source||st(this)})}),sr=l((Ie,ce)=>{var fe=Math.ceil,Ee=Math.floor;ce.exports=function(Ce){var He=+Ce;return He!==He||He===0?0:(He>0?Ee:fe)(He)}}),Jr=l((Ie,ce)=>{var fe=sr(),Ee=Math.max,Ce=Math.min;ce.exports=function(He,et){var st=fe(He);return st<0?Ee(st+et,0):Ce(st,et)}}),fn=l((Ie,ce)=>{var fe=sr(),Ee=Math.min;ce.exports=function(Ce){return Ce>0?Ee(fe(Ce),9007199254740991):0}}),mn=l((Ie,ce)=>{var fe=fn();ce.exports=function(Ee){return fe(Ee.length)}}),Fn=l((Ie,ce)=>{var fe=Qt(),Ee=Jr(),Ce=mn(),He=function(et){return function(st,Dt,Wt){var nr=fe(st),wr=Ce(nr),Ur=Ee(Wt,wr),Qr;if(et&&Dt!=Dt){for(;wr>Ur;)if(Qr=nr[Ur++],Qr!=Qr)return!0}else for(;wr>Ur;Ur++)if((et||Ur in nr)&&nr[Ur]===Dt)return et||Ur||0;return!et&&-1}};ce.exports={includes:He(!0),indexOf:He(!1)}}),hn=l((Ie,ce)=>{var fe=ze(),Ee=yr(),Ce=Qt(),He=Fn().indexOf,et=ui(),st=fe([].push);ce.exports=function(Dt,Wt){var nr=Ce(Dt),wr=0,Ur=[],Qr;for(Qr in nr)!Ee(et,Qr)&&Ee(nr,Qr)&&st(Ur,Qr);for(;Wt.length>wr;)Ee(nr,Qr=Wt[wr++])&&(~He(Ur,Qr)||st(Ur,Qr));return Ur}}),lt=l((Ie,ce)=>{ce.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Er=l(Ie=>{var ce=hn(),fe=lt(),Ee=fe.concat("length","prototype");Ie.f=Object.getOwnPropertyNames||function(Ce){return ce(Ce,Ee)}}),Mt=l(Ie=>{Ie.f=Object.getOwnPropertySymbols}),jn=l((Ie,ce)=>{var fe=St(),Ee=ze(),Ce=Er(),He=Mt(),et=Kr(),st=Ee([].concat);ce.exports=fe("Reflect","ownKeys")||function(Dt){var Wt=Ce.f(et(Dt)),nr=He.f;return nr?st(Wt,nr(Dt)):Wt}}),gi=l((Ie,ce)=>{var fe=yr(),Ee=jn(),Ce=Ps(),He=mr();ce.exports=function(et,st,Dt){for(var Wt=Ee(st),nr=He.f,wr=Ce.f,Ur=0;Ur<Wt.length;Ur++){var Qr=Wt[Ur];!fe(et,Qr)&&!(Dt&&fe(Dt,Qr))&&nr(et,Qr,wr(st,Qr))}}}),ns=l((Ie,ce)=>{var fe=v(),Ee=Cr(),Ce=/#|\.prototype\./,He=function(nr,wr){var Ur=st[et(nr)];return Ur==Wt?!0:Ur==Dt?!1:Ee(wr)?fe(wr):!!wr},et=He.normalize=function(nr){return String(nr).replace(Ce,".").toLowerCase()},st=He.data={},Dt=He.NATIVE="N",Wt=He.POLYFILL="P";ce.exports=He}),is=l((Ie,ce)=>{var fe=f(),Ee=Ps().f,Ce=dn(),He=br(),et=Dr(),st=gi(),Dt=ns();ce.exports=function(Wt,nr){var wr=Wt.target,Ur=Wt.global,Qr=Wt.stat,rn,kr,kn,ci,yn,Yi;if(Ur?kr=fe:Qr?kr=fe[wr]||et(wr,{}):kr=(fe[wr]||{}).prototype,kr)for(kn in nr){if(yn=nr[kn],Wt.noTargetGet?(Yi=Ee(kr,kn),ci=Yi&&Yi.value):ci=kr[kn],rn=Dt(Ur?kn:wr+(Qr?".":"#")+kn,Wt.forced),!rn&&ci!==void 0){if(typeof yn==typeof ci)continue;st(yn,ci)}(Wt.sham||ci&&ci.sham)&&Ce(yn,"sham",!0),He(kr,kn,yn,Wt)}}}),cs=l((Ie,ce)=>{var fe=it();ce.exports=Array.isArray||function(Ee){return fe(Ee)=="Array"}}),Hi=l((Ie,ce)=>{var fe=ze(),Ee=mi(),Ce=K(),He=fe(fe.bind);ce.exports=function(et,st){return Ee(et),st===void 0?et:Ce?He(et,st):function(){return et.apply(st,arguments)}}}),Ls=l((Ie,ce)=>{var fe=f(),Ee=cs(),Ce=mn(),He=Hi(),et=fe.TypeError,st=function(Dt,Wt,nr,wr,Ur,Qr,rn,kr){for(var kn=Ur,ci=0,yn=rn?He(rn,kr):!1,Yi,yi;ci<wr;){if(ci in nr){if(Yi=yn?yn(nr[ci],ci,Wt):nr[ci],Qr>0&&Ee(Yi))yi=Ce(Yi),kn=st(Dt,Wt,Yi,yi,kn,Qr-1)-1;else{if(kn>=9007199254740991)throw et("Exceed the acceptable array length");Dt[kn]=Yi}kn++}ci++}return kn};ce.exports=st}),$n=l((Ie,ce)=>{var fe=ei(),Ee=fe("toStringTag"),Ce={};Ce[Ee]="z",ce.exports=String(Ce)==="[object z]"}),Sr=l((Ie,ce)=>{var fe=f(),Ee=$n(),Ce=Cr(),He=it(),et=ei(),st=et("toStringTag"),Dt=fe.Object,Wt=He(function(){return arguments}())=="Arguments",nr=function(wr,Ur){try{return wr[Ur]}catch{}};ce.exports=Ee?He:function(wr){var Ur,Qr,rn;return wr===void 0?"Undefined":wr===null?"Null":typeof(Qr=nr(Ur=Dt(wr),st))=="string"?Qr:Wt?He(Ur):(rn=He(Ur))=="Object"&&Ce(Ur.callee)?"Arguments":rn}}),Br=l((Ie,ce)=>{var fe=ze(),Ee=v(),Ce=Cr(),He=Sr(),et=St(),st=ai(),Dt=function(){},Wt=[],nr=et("Reflect","construct"),wr=/^\s*(?:class|function)\b/,Ur=fe(wr.exec),Qr=!wr.exec(Dt),rn=function(kn){if(!Ce(kn))return!1;try{return nr(Dt,Wt,kn),!0}catch{return!1}},kr=function(kn){if(!Ce(kn))return!1;switch(He(kn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Qr||!!Ur(wr,st(kn))}catch{return!0}};kr.sham=!0,ce.exports=!nr||Ee(function(){var kn;return rn(rn.call)||!rn(Object)||!rn(function(){kn=!0})||kn})?kr:rn}),Gt=l((Ie,ce)=>{var fe=f(),Ee=cs(),Ce=Br(),He=Rr(),et=ei(),st=et("species"),Dt=fe.Array;ce.exports=function(Wt){var nr;return Ee(Wt)&&(nr=Wt.constructor,Ce(nr)&&(nr===Dt||Ee(nr.prototype))?nr=void 0:He(nr)&&(nr=nr[st],nr===null&&(nr=void 0))),nr===void 0?Dt:nr}}),Vr=l((Ie,ce)=>{var fe=Gt();ce.exports=function(Ee,Ce){return new(fe(Ee))(Ce===0?0:Ce)}}),ur=l(()=>{var Ie=is(),ce=Ls(),fe=mi(),Ee=tn(),Ce=mn(),He=Vr();Ie({target:"Array",proto:!0},{flatMap:function(et){var st=Ee(this),Dt=Ce(st),Wt;return fe(et),Wt=He(st,0),Wt.length=ce(Wt,st,st,Dt,0,1,et,arguments.length>1?arguments[1]:void 0),Wt}})}),gn=l((Ie,ce)=>{ce.exports={}}),zt=l((Ie,ce)=>{var fe=ei(),Ee=gn(),Ce=fe("iterator"),He=Array.prototype;ce.exports=function(et){return et!==void 0&&(Ee.Array===et||He[Ce]===et)}}),Kn=l((Ie,ce)=>{var fe=Sr(),Ee=Un(),Ce=gn(),He=ei(),et=He("iterator");ce.exports=function(st){if(st!=null)return Ee(st,et)||Ee(st,"@@iterator")||Ce[fe(st)]}}),Ar=l((Ie,ce)=>{var fe=f(),Ee=de(),Ce=mi(),He=Kr(),et=Mi(),st=Kn(),Dt=fe.TypeError;ce.exports=function(Wt,nr){var wr=arguments.length<2?st(Wt):nr;if(Ce(wr))return He(Ee(wr,Wt));throw Dt(et(Wt)+" is not iterable")}}),Pt=l((Ie,ce)=>{var fe=de(),Ee=Kr(),Ce=Un();ce.exports=function(He,et,st){var Dt,Wt;Ee(He);try{if(Dt=Ce(He,"return"),!Dt){if(et==="throw")throw st;return st}Dt=fe(Dt,He)}catch(nr){Wt=!0,Dt=nr}if(et==="throw")throw st;if(Wt)throw Dt;return Ee(Dt),st}}),Re=l((Ie,ce)=>{var fe=f(),Ee=Hi(),Ce=de(),He=Kr(),et=Mi(),st=zt(),Dt=mn(),Wt=$t(),nr=Ar(),wr=Kn(),Ur=Pt(),Qr=fe.TypeError,rn=function(kn,ci){this.stopped=kn,this.result=ci},kr=rn.prototype;ce.exports=function(kn,ci,yn){var Yi=yn&&yn.that,yi=!!(yn&&yn.AS_ENTRIES),Xe=!!(yn&&yn.IS_ITERATOR),ys=!!(yn&&yn.INTERRUPTED),Li=Ee(ci,Yi),Di,ti,Gn,$s,js,S,Je,Mr=function(li){return Di&&Ur(Di,"normal",li),new rn(!0,li)},an=function(li){return yi?(He(li),ys?Li(li[0],li[1],Mr):Li(li[0],li[1])):ys?Li(li,Mr):Li(li)};if(Xe)Di=kn;else{if(ti=wr(kn),!ti)throw Qr(et(kn)+" is not iterable");if(st(ti)){for(Gn=0,$s=Dt(kn);$s>Gn;Gn++)if(js=an(kn[Gn]),js&&Wt(kr,js))return js;return new rn(!1)}Di=nr(kn,ti)}for(S=Di.next;!(Je=Ce(S,Di)).done;){try{js=an(Je.value)}catch(li){Ur(Di,"throw",li)}if(typeof js=="object"&&js&&Wt(kr,js))return js}return new rn(!1)}}),Nt=l((Ie,ce)=>{var fe=As(),Ee=mr(),Ce=Le();ce.exports=function(He,et,st){var Dt=fe(et);Dt in He?Ee.f(He,Dt,Ce(0,st)):He[Dt]=st}}),Xt=l(()=>{var Ie=is(),ce=Re(),fe=Nt();Ie({target:"Object",stat:!0},{fromEntries:function(Ee){var Ce={};return ce(Ee,function(He,et){fe(Ce,He,et)},{AS_ENTRIES:!0}),Ce}})}),tr=l(()=>{var Ie=is(),ce=f();Ie({global:!0},{globalThis:ce})}),zr=l(()=>{tr()}),on=l(()=>{var Ie=is(),ce=Ls(),fe=tn(),Ee=mn(),Ce=sr(),He=Vr();Ie({target:"Array",proto:!0},{flat:function(){var et=arguments.length?arguments[0]:void 0,st=fe(this),Dt=Ee(st),Wt=He(st,0);return Wt.length=ce(Wt,st,st,Dt,0,et===void 0?1:Ce(et)),Wt}})}),jt=l((Ie,ce)=>{var fe=["cliName","cliCategory","cliDescription"],Ee=["_"],Ce=["languageId"],He,et,st,Dt,Wt,nr;function wr(m,E){if(m==null)return{};var g=Ur(m,E),A,C;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(m);for(C=0;C<y.length;C++)A=y[C],!(E.indexOf(A)>=0)&&(!Object.prototype.propertyIsEnumerable.call(m,A)||(g[A]=m[A]))}return g}function Ur(m,E){if(m==null)return{};var g={},A=Object.keys(m),C,y;for(y=0;y<A.length;y++)C=A[y],!(E.indexOf(C)>=0)&&(g[C]=m[C]);return g}ur(),Xt(),zr(),on();function Qr(m,E){return E||(E=m.slice(0)),Object.freeze(Object.defineProperties(m,{raw:{value:Object.freeze(E)}}))}var rn=Object.create,kr=Object.defineProperty,kn=Object.getOwnPropertyDescriptor,ci=Object.getOwnPropertyNames,yn=Object.getPrototypeOf,Yi=Object.prototype.hasOwnProperty,yi=(m,E)=>function(){return m&&(E=(0,m[ci(m)[0]])(m=0)),E},Xe=(m,E)=>function(){return E||(0,m[ci(m)[0]])((E={exports:{}}).exports,E),E.exports},ys=(m,E)=>{for(var g in E)kr(m,g,{get:E[g],enumerable:!0})},Li=(m,E,g,A)=>{if(E&&typeof E=="object"||typeof E=="function")for(let C of ci(E))!Yi.call(m,C)&&C!==g&&kr(m,C,{get:()=>E[C],enumerable:!(A=kn(E,C))||A.enumerable});return m},Di=(m,E,g)=>(g=m!=null?rn(yn(m)):{},Li(E||!m||!m.__esModule?kr(g,"default",{value:m,enumerable:!0}):g,m)),ti=m=>Li(kr({},"__esModule",{value:!0}),m),Gn,$s,js,S=yi({"<define:process>"(){Gn={},$s=[],js={env:Gn,argv:$s}}}),Je=Xe({"package.json"(m,E){E.exports={version:"2.7.1"}}}),Mr=Xe({"node_modules/diff/lib/diff/base.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=E;function E(){}E.prototype={diff:function(C,y){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=x.callback;typeof x=="function"&&(w=x,x={}),this.options=x;var k=this;function _(J){return w?(setTimeout(function(){w(void 0,J)},0),!0):J}C=this.castInput(C),y=this.castInput(y),C=this.removeEmpty(this.tokenize(C)),y=this.removeEmpty(this.tokenize(y));var $=y.length,j=C.length,W=1,I=$+j,O=[{newPos:-1,components:[]}],U=this.extractCommon(O[0],y,C,0);if(O[0].newPos+1>=$&&U+1>=j)return _([{value:this.join(y),count:y.length}]);function le(){for(var J=-1*W;J<=W;J+=2){var ee=void 0,ue=O[J-1],ge=O[J+1],me=(ge?ge.newPos:0)-J;ue&&(O[J-1]=void 0);var ye=ue&&ue.newPos+1<$,V=ge&&0<=me&&me<j;if(!ye&&!V){O[J]=void 0;continue}if(!ye||V&&ue.newPos<ge.newPos?(ee=A(ge),k.pushComponent(ee.components,void 0,!0)):(ee=ue,ee.newPos++,k.pushComponent(ee.components,!0,void 0)),me=k.extractCommon(ee,y,C,J),ee.newPos+1>=$&&me+1>=j)return _(g(k,ee.components,y,C,k.useLongestToken));O[J]=ee}W++}if(w)(function J(){setTimeout(function(){if(W>I)return w();le()||J()},0)})();else for(;W<=I;){var he=le();if(he)return he}},pushComponent:function(C,y,x){var w=C[C.length-1];w&&w.added===y&&w.removed===x?C[C.length-1]={count:w.count+1,added:y,removed:x}:C.push({count:1,added:y,removed:x})},extractCommon:function(C,y,x,w){for(var k=y.length,_=x.length,$=C.newPos,j=$-w,W=0;$+1<k&&j+1<_&&this.equals(y[$+1],x[j+1]);)$++,j++,W++;return W&&C.components.push({count:W}),C.newPos=$,j},equals:function(C,y){return this.options.comparator?this.options.comparator(C,y):C===y||this.options.ignoreCase&&C.toLowerCase()===y.toLowerCase()},removeEmpty:function(C){for(var y=[],x=0;x<C.length;x++)C[x]&&y.push(C[x]);return y},castInput:function(C){return C},tokenize:function(C){return C.split("")},join:function(C){return C.join("")}};function g(C,y,x,w,k){for(var _=0,$=y.length,j=0,W=0;_<$;_++){var I=y[_];if(I.removed){if(I.value=C.join(w.slice(W,W+I.count)),W+=I.count,_&&y[_-1].added){var O=y[_-1];y[_-1]=y[_],y[_]=O}}else{if(!I.added&&k){var U=x.slice(j,j+I.count);U=U.map(function(he,J){var ee=w[W+J];return ee.length>he.length?ee:he}),I.value=C.join(U)}else I.value=C.join(x.slice(j,j+I.count));j+=I.count,I.added||(W+=I.count)}}var le=y[$-1];return $>1&&typeof le.value=="string"&&(le.added||le.removed)&&C.equals("",le.value)&&(y[$-2].value+=le.value,y.pop()),y}function A(C){return{newPos:C.newPos,components:C.components.slice(0)}}}}),an=Xe({"node_modules/diff/lib/diff/array.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=C,m.arrayDiff=void 0;var E=g(Mr());function g(y){return y&&y.__esModule?y:{default:y}}var A=new E.default;m.arrayDiff=A,A.tokenize=function(y){return y.slice()},A.join=A.removeEmpty=function(y){return y};function C(y,x,w){return A.diff(y,x,w)}}}),li=Xe({"src/document/doc-builders.js"(m,E){S();function g(X){return{type:"concat",parts:X}}function A(X){return{type:"indent",contents:X}}function C(X,N){return{type:"align",contents:N,n:X}}function y(X){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:N.id,contents:X,break:Boolean(N.shouldBreak),expandedStates:N.expandedStates}}function x(X){return C(Number.NEGATIVE_INFINITY,X)}function w(X){return C({type:"root"},X)}function k(X){return C(-1,X)}function _(X,N){return y(X[0],Object.assign(Object.assign({},N),{},{expandedStates:X}))}function $(X){return{type:"fill",parts:X}}function j(X,N){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:X,flatContents:N,groupId:G.groupId}}function W(X,N){return{type:"indent-if-break",contents:X,groupId:N.groupId,negate:N.negate}}function I(X){return{type:"line-suffix",contents:X}}var O={type:"line-suffix-boundary"},U={type:"break-parent"},le={type:"trim"},he={type:"line",hard:!0},J={type:"line",hard:!0,literal:!0},ee={type:"line"},ue={type:"line",soft:!0},ge=g([he,U]),me=g([J,U]),ye={type:"cursor",placeholder:Symbol("cursor")};function V(X,N){let G=[];for(let q=0;q<N.length;q++)q!==0&&G.push(X),G.push(N[q]);return g(G)}function L(X,N,G){let q=X;if(N>0){for(let se=0;se<Math.floor(N/G);++se)q=A(q);q=C(N%G,q),q=C(Number.NEGATIVE_INFINITY,q)}return q}function R(X,N){return{type:"label",label:X,contents:N}}E.exports={concat:g,join:V,line:ee,softline:ue,hardline:ge,literalline:me,group:y,conditionalGroup:_,fill:$,lineSuffix:I,lineSuffixBoundary:O,cursor:ye,breakParent:U,ifBreak:j,trim:le,indent:A,indentIfBreak:W,align:C,addAlignmentToDoc:L,markAsRoot:w,dedentToRoot:x,dedent:k,hardlineWithoutBreakParent:he,literallineWithoutBreakParent:J,label:R}}}),ss=Xe({"src/common/end-of-line.js"(m,E){S();function g(x){let w=x.indexOf("\r");return w>=0?x.charAt(w+1)===`
|
|
25
|
-
`?"crlf":"cr":"lf"}function A(x){switch(x){case"cr":return"\r";case"crlf":return`\r
|
|
26
|
-
`;default:return`
|
|
27
|
-
`}}function C(x,w){let k;switch(w){case`
|
|
28
|
-
`:k=/\n/g;break;case"\r":k=/\r/g;break;case`\r
|
|
29
|
-
`:k=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(w),"."))}let _=x.match(k);return _?_.length:0}function y(x){return x.replace(/\r\n?/g,`
|
|
30
|
-
`)}E.exports={guessEndOfLine:g,convertEndOfLineToChars:A,countEndOfLineChars:C,normalizeEndOfLine:y}}}),es=Xe({"src/utils/get-last.js"(m,E){S();var g=A=>A[A.length-1];E.exports=g}});function ni(){let{onlyFirst:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=["[\\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(E,m?void 0:"g")}var qs=yi({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){S()}});function Xo(m){if(typeof m!="string")throw new TypeError("Expected a `string`, got `".concat(typeof m,"`"));return m.replace(ni(),"")}var Io=yi({"node_modules/strip-ansi/index.js"(){S(),qs()}});function Ma(m){return Number.isInteger(m)?m>=4352&&(m<=4447||m===9001||m===9002||11904<=m&&m<=12871&&m!==12351||12880<=m&&m<=19903||19968<=m&&m<=42182||43360<=m&&m<=43388||44032<=m&&m<=55203||63744<=m&&m<=64255||65040<=m&&m<=65049||65072<=m&&m<=65131||65281<=m&&m<=65376||65504<=m&&m<=65510||110592<=m&&m<=110593||127488<=m&&m<=127569||131072<=m&&m<=262141):!1}var du=yi({"node_modules/is-fullwidth-code-point/index.js"(){S()}}),mu=Xe({"node_modules/emoji-regex/index.js"(m,E){S(),E.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}}}),fo={};ys(fo,{default:()=>mo});function mo(m){if(typeof m!="string"||m.length===0||(m=Xo(m),m.length===0))return 0;m=m.replace((0,Jo.default)()," ");let E=0;for(let g=0;g<m.length;g++){let A=m.codePointAt(g);A<=31||A>=127&&A<=159||A>=768&&A<=879||(A>65535&&g++,E+=Ma(A)?2:1)}return E}var Jo,gu=yi({"node_modules/string-width/index.js"(){S(),Io(),du(),Jo=Di(mu())}}),yu=Xe({"src/utils/get-string-width.js"(m,E){S();var g=(gu(),ti(fo)).default,A=/[^\x20-\x7F]/;function C(y){return y?A.test(y)?g(y):y.length:0}E.exports=C}}),Ko=Xe({"src/document/doc-utils.js"(m,E){S();var g=es(),{literalline:A,join:C}=li(),y=N=>Array.isArray(N)||N&&N.type==="concat",x=N=>{if(Array.isArray(N))return N;if(N.type!=="concat"&&N.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return N.parts},w={};function k(N,G,q,se){let te=[N];for(;te.length>0;){let ne=te.pop();if(ne===w){q(te.pop());continue}if(q&&te.push(ne,w),!G||G(ne)!==!1)if(y(ne)||ne.type==="fill"){let be=x(ne);for(let je=be.length,Pe=je-1;Pe>=0;--Pe)te.push(be[Pe])}else if(ne.type==="if-break")ne.flatContents&&te.push(ne.flatContents),ne.breakContents&&te.push(ne.breakContents);else if(ne.type==="group"&&ne.expandedStates)if(se)for(let be=ne.expandedStates.length,je=be-1;je>=0;--je)te.push(ne.expandedStates[je]);else te.push(ne.contents);else ne.contents&&te.push(ne.contents)}}function _(N,G){let q=new Map;return se(N);function se(ne){if(q.has(ne))return q.get(ne);let be=te(ne);return q.set(ne,be),be}function te(ne){if(Array.isArray(ne))return G(ne.map(se));if(ne.type==="concat"||ne.type==="fill"){let be=ne.parts.map(se);return G(Object.assign(Object.assign({},ne),{},{parts:be}))}if(ne.type==="if-break"){let be=ne.breakContents&&se(ne.breakContents),je=ne.flatContents&&se(ne.flatContents);return G(Object.assign(Object.assign({},ne),{},{breakContents:be,flatContents:je}))}if(ne.type==="group"&&ne.expandedStates){let be=ne.expandedStates.map(se),je=be[0];return G(Object.assign(Object.assign({},ne),{},{contents:je,expandedStates:be}))}if(ne.contents){let be=se(ne.contents);return G(Object.assign(Object.assign({},ne),{},{contents:be}))}return G(ne)}}function $(N,G,q){let se=q,te=!1;function ne(be){let je=G(be);if(je!==void 0&&(te=!0,se=je),te)return!1}return k(N,ne),se}function j(N){if(N.type==="group"&&N.break||N.type==="line"&&N.hard||N.type==="break-parent")return!0}function W(N){return $(N,j,!1)}function I(N){if(N.length>0){let G=g(N);!G.expandedStates&&!G.break&&(G.break="propagated")}return null}function O(N){let G=new Set,q=[];function se(ne){if(ne.type==="break-parent"&&I(q),ne.type==="group"){if(q.push(ne),G.has(ne))return!1;G.add(ne)}}function te(ne){ne.type==="group"&&q.pop().break&&I(q)}k(N,se,te,!0)}function U(N){return N.type==="line"&&!N.hard?N.soft?"":" ":N.type==="if-break"?N.flatContents||"":N}function le(N){return _(N,U)}var he=(N,G)=>N&&N.type==="line"&&N.hard&&G&&G.type==="break-parent";function J(N){if(!N)return N;if(y(N)||N.type==="fill"){let G=x(N);for(;G.length>1&&he(...G.slice(-2));)G.length-=2;if(G.length>0){let q=J(g(G));G[G.length-1]=q}return Array.isArray(N)?G:Object.assign(Object.assign({},N),{},{parts:G})}switch(N.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let G=J(N.contents);return Object.assign(Object.assign({},N),{},{contents:G})}case"if-break":{let G=J(N.breakContents),q=J(N.flatContents);return Object.assign(Object.assign({},N),{},{breakContents:G,flatContents:q})}}return N}function ee(N){return J(ge(N))}function ue(N){switch(N.type){case"fill":if(N.parts.every(q=>q===""))return"";break;case"group":if(!N.contents&&!N.id&&!N.break&&!N.expandedStates)return"";if(N.contents.type==="group"&&N.contents.id===N.id&&N.contents.break===N.break&&N.contents.expandedStates===N.expandedStates)return N.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!N.contents)return"";break;case"if-break":if(!N.flatContents&&!N.breakContents)return"";break}if(!y(N))return N;let G=[];for(let q of x(N)){if(!q)continue;let[se,...te]=y(q)?x(q):[q];typeof se=="string"&&typeof g(G)=="string"?G[G.length-1]+=se:G.push(se),G.push(...te)}return G.length===0?"":G.length===1?G[0]:Array.isArray(N)?G:Object.assign(Object.assign({},N),{},{parts:G})}function ge(N){return _(N,G=>ue(G))}function me(N){let G=[],q=N.filter(Boolean);for(;q.length>0;){let se=q.shift();if(se){if(y(se)){q.unshift(...x(se));continue}if(G.length>0&&typeof g(G)=="string"&&typeof se=="string"){G[G.length-1]+=se;continue}G.push(se)}}return G}function ye(N){return _(N,G=>Array.isArray(G)?me(G):G.parts?Object.assign(Object.assign({},G),{},{parts:me(G.parts)}):G)}function V(N){return _(N,G=>typeof G=="string"&&G.includes(`
|
|
31
|
-
`)?L(G):G)}function L(N){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A;return C(G,N.split(`
|
|
32
|
-
`)).parts}function R(N){if(N.type==="line")return!0}function X(N){return $(N,R,!1)}E.exports={isConcat:y,getDocParts:x,willBreak:W,traverseDoc:k,findInDoc:$,mapDoc:_,propagateBreaks:O,removeLines:le,stripTrailingHardline:ee,normalizeParts:me,normalizeDoc:ye,cleanDoc:ge,replaceTextEndOfLine:L,replaceEndOfLine:V,canBreak:X}}}),_u=Xe({"src/document/doc-printer.js"(m,E){S();var{convertEndOfLineToChars:g}=ss(),A=es(),C=yu(),{fill:y,cursor:x,indent:w}=li(),{isConcat:k,getDocParts:_}=Ko(),$,j=1,W=2;function I(){return{value:"",length:0,queue:[]}}function O(ue,ge){return le(ue,{type:"indent"},ge)}function U(ue,ge,me){return ge===Number.NEGATIVE_INFINITY?ue.root||I():ge<0?le(ue,{type:"dedent"},me):ge?ge.type==="root"?Object.assign(Object.assign({},ue),{},{root:ue}):le(ue,{type:typeof ge=="string"?"stringAlign":"numberAlign",n:ge},me):ue}function le(ue,ge,me){let ye=ge.type==="dedent"?ue.queue.slice(0,-1):[...ue.queue,ge],V="",L=0,R=0,X=0;for(let be of ye)switch(be.type){case"indent":q(),me.useTabs?N(1):G(me.tabWidth);break;case"stringAlign":q(),V+=be.n,L+=be.n.length;break;case"numberAlign":R+=1,X+=be.n;break;default:throw new Error("Unexpected type '".concat(be.type,"'"))}return te(),Object.assign(Object.assign({},ue),{},{value:V,length:L,queue:ye});function N(be){V+=" ".repeat(be),L+=me.tabWidth*be}function G(be){V+=" ".repeat(be),L+=be}function q(){me.useTabs?se():te()}function se(){R>0&&N(R),ne()}function te(){X>0&&G(X),ne()}function ne(){R=0,X=0}}function he(ue){if(ue.length===0)return 0;let ge=0;for(;ue.length>0&&typeof A(ue)=="string"&&/^[\t ]*$/.test(A(ue));)ge+=ue.pop().length;if(ue.length>0&&typeof A(ue)=="string"){let me=A(ue).replace(/[\t ]*$/,"");ge+=A(ue).length-me.length,ue[ue.length-1]=me}return ge}function J(ue,ge,me,ye,V,L){let R=ge.length,X=[ue],N=[];for(;me>=0;){if(X.length===0){if(R===0)return!0;X.push(ge[R-1]),R--;continue}let[G,q,se]=X.pop();if(typeof se=="string")N.push(se),me-=C(se);else if(k(se)){let te=_(se);for(let ne=te.length-1;ne>=0;ne--)X.push([G,q,te[ne]])}else switch(se.type){case"indent":X.push([O(G,ye),q,se.contents]);break;case"align":X.push([U(G,se.n,ye),q,se.contents]);break;case"trim":me+=he(N);break;case"group":{if(L&&se.break)return!1;let te=se.break?j:q;X.push([G,te,se.expandedStates&&te===j?A(se.expandedStates):se.contents]),se.id&&($[se.id]=te);break}case"fill":for(let te=se.parts.length-1;te>=0;te--)X.push([G,q,se.parts[te]]);break;case"if-break":case"indent-if-break":{let te=se.groupId?$[se.groupId]:q;if(te===j){let ne=se.type==="if-break"?se.breakContents:se.negate?se.contents:w(se.contents);ne&&X.push([G,q,ne])}if(te===W){let ne=se.type==="if-break"?se.flatContents:se.negate?w(se.contents):se.contents;ne&&X.push([G,q,ne])}break}case"line":switch(q){case W:if(!se.hard){se.soft||(N.push(" "),me-=1);break}return!0;case j:return!0}break;case"line-suffix":V=!0;break;case"line-suffix-boundary":if(V)return!1;break;case"label":X.push([G,q,se.contents]);break}}return!1}function ee(ue,ge){$={};let me=ge.printWidth,ye=g(ge.endOfLine),V=0,L=[[I(),j,ue]],R=[],X=!1,N=[];for(;L.length>0;){let[q,se,te]=L.pop();if(typeof te=="string"){let ne=ye!==`
|
|
33
|
-
`?te.replace(/\n/g,ye):te;R.push(ne),V+=C(ne)}else if(k(te)){let ne=_(te);for(let be=ne.length-1;be>=0;be--)L.push([q,se,ne[be]])}else switch(te.type){case"cursor":R.push(x.placeholder);break;case"indent":L.push([O(q,ge),se,te.contents]);break;case"align":L.push([U(q,te.n,ge),se,te.contents]);break;case"trim":V-=he(R);break;case"group":switch(se){case W:if(!X){L.push([q,te.break?j:W,te.contents]);break}case j:{X=!1;let ne=[q,W,te.contents],be=me-V,je=N.length>0;if(!te.break&&J(ne,L,be,ge,je))L.push(ne);else if(te.expandedStates){let Pe=A(te.expandedStates);if(te.break){L.push([q,j,Pe]);break}else for(let Ge=1;Ge<te.expandedStates.length+1;Ge++)if(Ge>=te.expandedStates.length){L.push([q,j,Pe]);break}else{let We=te.expandedStates[Ge],Me=[q,W,We];if(J(Me,L,be,ge,je)){L.push(Me);break}}}else L.push([q,j,te.contents]);break}}te.id&&($[te.id]=A(L)[1]);break;case"fill":{let ne=me-V,{parts:be}=te;if(be.length===0)break;let[je,Pe]=be,Ge=[q,W,je],We=[q,j,je],Me=J(Ge,[],ne,ge,N.length>0,!0);if(be.length===1){Me?L.push(Ge):L.push(We);break}let yt=[q,W,Pe],qe=[q,j,Pe];if(be.length===2){Me?L.push(yt,Ge):L.push(qe,We);break}be.splice(0,2);let Ve=[q,se,y(be)],bt=be[0];J([q,W,[je,Pe,bt]],[],ne,ge,N.length>0,!0)?L.push(Ve,yt,Ge):Me?L.push(Ve,qe,Ge):L.push(Ve,qe,We);break}case"if-break":case"indent-if-break":{let ne=te.groupId?$[te.groupId]:se;if(ne===j){let be=te.type==="if-break"?te.breakContents:te.negate?te.contents:w(te.contents);be&&L.push([q,se,be])}if(ne===W){let be=te.type==="if-break"?te.flatContents:te.negate?w(te.contents):te.contents;be&&L.push([q,se,be])}break}case"line-suffix":N.push([q,se,te.contents]);break;case"line-suffix-boundary":N.length>0&&L.push([q,se,{type:"line",hard:!0}]);break;case"line":switch(se){case W:if(te.hard)X=!0;else{te.soft||(R.push(" "),V+=1);break}case j:if(N.length>0){L.push([q,se,te],...N.reverse()),N=[];break}te.literal?q.root?(R.push(ye,q.root.value),V=q.root.length):(R.push(ye),V=0):(V-=he(R),R.push(ye+q.value),V=q.length);break}break;case"label":L.push([q,se,te.contents]);break}L.length===0&&N.length>0&&(L.push(...N.reverse()),N=[])}let G=R.indexOf(x.placeholder);if(G!==-1){let q=R.indexOf(x.placeholder,G+1),se=R.slice(0,G).join(""),te=R.slice(G+1,q).join(""),ne=R.slice(q+1).join("");return{formatted:se+te+ne,cursorNodeStart:se.length,cursorNodeText:te}}return{formatted:R.join("")}}E.exports={printDocToString:ee}}}),Du=Xe({"src/document/doc-debug.js"(m,E){S();var{isConcat:g,getDocParts:A}=Ko();function C(x){if(!x)return"";if(g(x)){let w=[];for(let k of A(x))if(g(k))w.push(...C(k).parts);else{let _=C(k);_!==""&&w.push(_)}return{type:"concat",parts:w}}return x.type==="if-break"?Object.assign(Object.assign({},x),{},{breakContents:C(x.breakContents),flatContents:C(x.flatContents)}):x.type==="group"?Object.assign(Object.assign({},x),{},{contents:C(x.contents),expandedStates:x.expandedStates&&x.expandedStates.map(C)}):x.type==="fill"?{type:"fill",parts:x.parts.map(C)}:x.contents?Object.assign(Object.assign({},x),{},{contents:C(x.contents)}):x}function y(x){let w=Object.create(null),k=new Set;return _(C(x));function _(j,W,I){if(typeof j=="string")return JSON.stringify(j);if(g(j)){let O=A(j).map(_).filter(Boolean);return O.length===1?O[0]:"[".concat(O.join(", "),"]")}if(j.type==="line"){let O=Array.isArray(I)&&I[W+1]&&I[W+1].type==="break-parent";return j.literal?O?"literalline":"literallineWithoutBreakParent":j.hard?O?"hardline":"hardlineWithoutBreakParent":j.soft?"softline":"line"}if(j.type==="break-parent")return Array.isArray(I)&&I[W-1]&&I[W-1].type==="line"&&I[W-1].hard?void 0:"breakParent";if(j.type==="trim")return"trim";if(j.type==="indent")return"indent("+_(j.contents)+")";if(j.type==="align")return j.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+_(j.contents)+")":j.n<0?"dedent("+_(j.contents)+")":j.n.type==="root"?"markAsRoot("+_(j.contents)+")":"align("+JSON.stringify(j.n)+", "+_(j.contents)+")";if(j.type==="if-break")return"ifBreak("+_(j.breakContents)+(j.flatContents?", "+_(j.flatContents):"")+(j.groupId?(j.flatContents?"":', ""')+", { groupId: ".concat($(j.groupId)," }"):"")+")";if(j.type==="indent-if-break"){let O=[];j.negate&&O.push("negate: true"),j.groupId&&O.push("groupId: ".concat($(j.groupId)));let U=O.length>0?", { ".concat(O.join(", ")," }"):"";return"indentIfBreak(".concat(_(j.contents)).concat(U,")")}if(j.type==="group"){let O=[];j.break&&j.break!=="propagated"&&O.push("shouldBreak: true"),j.id&&O.push("id: ".concat($(j.id)));let U=O.length>0?", { ".concat(O.join(", ")," }"):"";return j.expandedStates?"conditionalGroup([".concat(j.expandedStates.map(le=>_(le)).join(","),"]").concat(U,")"):"group(".concat(_(j.contents)).concat(U,")")}if(j.type==="fill")return"fill([".concat(j.parts.map(O=>_(O)).join(", "),"])");if(j.type==="line-suffix")return"lineSuffix("+_(j.contents)+")";if(j.type==="line-suffix-boundary")return"lineSuffixBoundary";if(j.type==="label")return"label(".concat(JSON.stringify(j.label),", ").concat(_(j.contents),")");throw new Error("Unknown doc type "+j.type)}function $(j){if(typeof j!="symbol")return JSON.stringify(String(j));if(j in w)return w[j];let W=String(j).slice(7,-1)||"symbol";for(let I=0;;I++){let O=W+(I>0?" #".concat(I):"");if(!k.has(O))return k.add(O),w[j]="Symbol.for(".concat(JSON.stringify(O),")")}}}E.exports={printDocToDebug:y}}}),wi=Xe({"src/document/index.js"(m,E){S(),E.exports={builders:li(),printer:_u(),utils:Ko(),debug:Du()}}}),Iu={};ys(Iu,{default:()=>Ou});function Ou(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Ga=yi({"node_modules/escape-string-regexp/index.js"(){S()}}),rl=Xe({"node_modules/semver/internal/debug.js"(m,E){S();var g=typeof js=="object"&&js.env&&js.env.NODE_DEBUG&&/\bsemver\b/i.test(js.env.NODE_DEBUG)?function(){for(var A=arguments.length,C=new Array(A),y=0;y<A;y++)C[y]=arguments[y];return console.error("SEMVER",...C)}:()=>{};E.exports=g}}),Lu=Xe({"node_modules/semver/internal/constants.js"(m,E){S();var g="2.0.0",A=256,C=Number.MAX_SAFE_INTEGER||9007199254740991,y=16;E.exports={SEMVER_SPEC_VERSION:g,MAX_LENGTH:A,MAX_SAFE_INTEGER:C,MAX_SAFE_COMPONENT_LENGTH:y}}}),vu=Xe({"node_modules/semver/internal/re.js"(m,E){S();var{MAX_SAFE_COMPONENT_LENGTH:g}=Lu(),A=rl();m=E.exports={};var C=m.re=[],y=m.src=[],x=m.t={},w=0,k=(_,$,j)=>{let W=w++;A(_,W,$),x[_]=W,y[W]=$,C[W]=new RegExp($,j?"g":void 0)};k("NUMERICIDENTIFIER","0|[1-9]\\d*"),k("NUMERICIDENTIFIERLOOSE","[0-9]+"),k("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),k("MAINVERSION","(".concat(y[x.NUMERICIDENTIFIER],")\\.(").concat(y[x.NUMERICIDENTIFIER],")\\.(").concat(y[x.NUMERICIDENTIFIER],")")),k("MAINVERSIONLOOSE","(".concat(y[x.NUMERICIDENTIFIERLOOSE],")\\.(").concat(y[x.NUMERICIDENTIFIERLOOSE],")\\.(").concat(y[x.NUMERICIDENTIFIERLOOSE],")")),k("PRERELEASEIDENTIFIER","(?:".concat(y[x.NUMERICIDENTIFIER],"|").concat(y[x.NONNUMERICIDENTIFIER],")")),k("PRERELEASEIDENTIFIERLOOSE","(?:".concat(y[x.NUMERICIDENTIFIERLOOSE],"|").concat(y[x.NONNUMERICIDENTIFIER],")")),k("PRERELEASE","(?:-(".concat(y[x.PRERELEASEIDENTIFIER],"(?:\\.").concat(y[x.PRERELEASEIDENTIFIER],")*))")),k("PRERELEASELOOSE","(?:-?(".concat(y[x.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(y[x.PRERELEASEIDENTIFIERLOOSE],")*))")),k("BUILDIDENTIFIER","[0-9A-Za-z-]+"),k("BUILD","(?:\\+(".concat(y[x.BUILDIDENTIFIER],"(?:\\.").concat(y[x.BUILDIDENTIFIER],")*))")),k("FULLPLAIN","v?".concat(y[x.MAINVERSION]).concat(y[x.PRERELEASE],"?").concat(y[x.BUILD],"?")),k("FULL","^".concat(y[x.FULLPLAIN],"$")),k("LOOSEPLAIN","[v=\\s]*".concat(y[x.MAINVERSIONLOOSE]).concat(y[x.PRERELEASELOOSE],"?").concat(y[x.BUILD],"?")),k("LOOSE","^".concat(y[x.LOOSEPLAIN],"$")),k("GTLT","((?:<|>)?=?)"),k("XRANGEIDENTIFIERLOOSE","".concat(y[x.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),k("XRANGEIDENTIFIER","".concat(y[x.NUMERICIDENTIFIER],"|x|X|\\*")),k("XRANGEPLAIN","[v=\\s]*(".concat(y[x.XRANGEIDENTIFIER],")(?:\\.(").concat(y[x.XRANGEIDENTIFIER],")(?:\\.(").concat(y[x.XRANGEIDENTIFIER],")(?:").concat(y[x.PRERELEASE],")?").concat(y[x.BUILD],"?)?)?")),k("XRANGEPLAINLOOSE","[v=\\s]*(".concat(y[x.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(y[x.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(y[x.XRANGEIDENTIFIERLOOSE],")(?:").concat(y[x.PRERELEASELOOSE],")?").concat(y[x.BUILD],"?)?)?")),k("XRANGE","^".concat(y[x.GTLT],"\\s*").concat(y[x.XRANGEPLAIN],"$")),k("XRANGELOOSE","^".concat(y[x.GTLT],"\\s*").concat(y[x.XRANGEPLAINLOOSE],"$")),k("COERCE","(^|[^\\d])(\\d{1,".concat(g,"})(?:\\.(\\d{1,").concat(g,"}))?(?:\\.(\\d{1,").concat(g,"}))?(?:$|[^\\d])")),k("COERCERTL",y[x.COERCE],!0),k("LONETILDE","(?:~>?)"),k("TILDETRIM","(\\s*)".concat(y[x.LONETILDE],"\\s+"),!0),m.tildeTrimReplace="$1~",k("TILDE","^".concat(y[x.LONETILDE]).concat(y[x.XRANGEPLAIN],"$")),k("TILDELOOSE","^".concat(y[x.LONETILDE]).concat(y[x.XRANGEPLAINLOOSE],"$")),k("LONECARET","(?:\\^)"),k("CARETTRIM","(\\s*)".concat(y[x.LONECARET],"\\s+"),!0),m.caretTrimReplace="$1^",k("CARET","^".concat(y[x.LONECARET]).concat(y[x.XRANGEPLAIN],"$")),k("CARETLOOSE","^".concat(y[x.LONECARET]).concat(y[x.XRANGEPLAINLOOSE],"$")),k("COMPARATORLOOSE","^".concat(y[x.GTLT],"\\s*(").concat(y[x.LOOSEPLAIN],")$|^$")),k("COMPARATOR","^".concat(y[x.GTLT],"\\s*(").concat(y[x.FULLPLAIN],")$|^$")),k("COMPARATORTRIM","(\\s*)".concat(y[x.GTLT],"\\s*(").concat(y[x.LOOSEPLAIN],"|").concat(y[x.XRANGEPLAIN],")"),!0),m.comparatorTrimReplace="$1$2$3",k("HYPHENRANGE","^\\s*(".concat(y[x.XRANGEPLAIN],")\\s+-\\s+(").concat(y[x.XRANGEPLAIN],")\\s*$")),k("HYPHENRANGELOOSE","^\\s*(".concat(y[x.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(y[x.XRANGEPLAINLOOSE],")\\s*$")),k("STAR","(<|>)?=?\\s*\\*"),k("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),k("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Oo=Xe({"node_modules/semver/internal/parse-options.js"(m,E){S();var g=["includePrerelease","loose","rtl"],A=C=>C?typeof C!="object"?{loose:!0}:g.filter(y=>C[y]).reduce((y,x)=>(y[x]=!0,y),{}):{};E.exports=A}}),Na=Xe({"node_modules/semver/internal/identifiers.js"(m,E){S();var g=/^[0-9]+$/,A=(y,x)=>{let w=g.test(y),k=g.test(x);return w&&k&&(y=+y,x=+x),y===x?0:w&&!k?-1:k&&!w?1:y<x?-1:1},C=(y,x)=>A(x,y);E.exports={compareIdentifiers:A,rcompareIdentifiers:C}}}),nl=Xe({"node_modules/semver/classes/semver.js"(m,E){S();var g=rl(),{MAX_LENGTH:A,MAX_SAFE_INTEGER:C}=Lu(),{re:y,t:x}=vu(),w=Oo(),{compareIdentifiers:k}=Na(),_=class{constructor($,j){if(j=w(j),$ instanceof _){if($.loose===!!j.loose&&$.includePrerelease===!!j.includePrerelease)return $;$=$.version}else if(typeof $!="string")throw new TypeError("Invalid Version: ".concat($));if($.length>A)throw new TypeError("version is longer than ".concat(A," characters"));g("SemVer",$,j),this.options=j,this.loose=!!j.loose,this.includePrerelease=!!j.includePrerelease;let W=$.trim().match(j.loose?y[x.LOOSE]:y[x.FULL]);if(!W)throw new TypeError("Invalid Version: ".concat($));if(this.raw=$,this.major=+W[1],this.minor=+W[2],this.patch=+W[3],this.major>C||this.major<0)throw new TypeError("Invalid major version");if(this.minor>C||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>C||this.patch<0)throw new TypeError("Invalid patch version");W[4]?this.prerelease=W[4].split(".").map(I=>{if(/^[0-9]+$/.test(I)){let O=+I;if(O>=0&&O<C)return O}return I}):this.prerelease=[],this.build=W[5]?W[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare($){if(g("SemVer.compare",this.version,this.options,$),!($ instanceof _)){if(typeof $=="string"&&$===this.version)return 0;$=new _($,this.options)}return $.version===this.version?0:this.compareMain($)||this.comparePre($)}compareMain($){return $ instanceof _||($=new _($,this.options)),k(this.major,$.major)||k(this.minor,$.minor)||k(this.patch,$.patch)}comparePre($){if($ instanceof _||($=new _($,this.options)),this.prerelease.length&&!$.prerelease.length)return-1;if(!this.prerelease.length&&$.prerelease.length)return 1;if(!this.prerelease.length&&!$.prerelease.length)return 0;let j=0;do{let W=this.prerelease[j],I=$.prerelease[j];if(g("prerelease compare",j,W,I),W===void 0&&I===void 0)return 0;if(I===void 0)return 1;if(W===void 0)return-1;if(W!==I)return k(W,I)}while(++j)}compareBuild($){$ instanceof _||($=new _($,this.options));let j=0;do{let W=this.build[j],I=$.build[j];if(g("prerelease compare",j,W,I),W===void 0&&I===void 0)return 0;if(I===void 0)return 1;if(W===void 0)return-1;if(W!==I)return k(W,I)}while(++j)}inc($,j){switch($){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",j);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",j);break;case"prepatch":this.prerelease.length=0,this.inc("patch",j),this.inc("pre",j);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",j),this.inc("pre",j);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 W=this.prerelease.length;for(;--W>=0;)typeof this.prerelease[W]=="number"&&(this.prerelease[W]++,W=-2);W===-1&&this.prerelease.push(0)}j&&(k(this.prerelease[0],j)===0?isNaN(this.prerelease[1])&&(this.prerelease=[j,0]):this.prerelease=[j,0]);break;default:throw new Error("invalid increment argument: ".concat($))}return this.format(),this.raw=this.version,this}};E.exports=_}}),Mu=Xe({"node_modules/semver/functions/compare.js"(m,E){S();var g=nl(),A=(C,y,x)=>new g(C,x).compare(new g(y,x));E.exports=A}}),il=Xe({"node_modules/semver/functions/lt.js"(m,E){S();var g=Mu(),A=(C,y,x)=>g(C,y,x)<0;E.exports=A}}),ju=Xe({"node_modules/semver/functions/gte.js"(m,E){S();var g=Mu(),A=(C,y,x)=>g(C,y,x)>=0;E.exports=A}}),sl=Xe({"src/utils/arrayify.js"(m,E){S(),E.exports=(g,A)=>Object.entries(g).map(C=>{let[y,x]=C;return Object.assign({[A]:y},x)})}}),xu=Xe({"node_modules/outdent/lib/index.js"(m,E){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.outdent=void 0;function g(){for(var J=[],ee=0;ee<arguments.length;ee++)J[ee]=arguments[ee]}function A(){return typeof WeakMap<"u"?new WeakMap:C()}function C(){return{add:g,delete:g,get:g,set:g,has:function(J){return!1}}}var y=Object.prototype.hasOwnProperty,x=function(J,ee){return y.call(J,ee)};function w(J,ee){for(var ue in ee)x(ee,ue)&&(J[ue]=ee[ue]);return J}var k=/^[ \t]*(?:\r\n|\r|\n)/,_=/(?:\r\n|\r|\n)[ \t]*$/,$=/^(?:[\r\n]|$)/,j=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,W=/^[ \t]*[\r\n][ \t\r\n]*$/;function I(J,ee,ue){var ge=0,me=J[0].match(j);me&&(ge=me[1].length);var ye="(\\r\\n|\\r|\\n).{0,"+ge+"}",V=new RegExp(ye,"g");ee&&(J=J.slice(1));var L=ue.newline,R=ue.trimLeadingNewline,X=ue.trimTrailingNewline,N=typeof L=="string",G=J.length,q=J.map(function(se,te){return se=se.replace(V,"$1"),te===0&&R&&(se=se.replace(k,"")),te===G-1&&X&&(se=se.replace(_,"")),N&&(se=se.replace(/\r\n|\n|\r/g,function(ne){return L})),se});return q}function O(J,ee){for(var ue="",ge=0,me=J.length;ge<me;ge++)ue+=J[ge],ge<me-1&&(ue+=ee[ge]);return ue}function U(J){return x(J,"raw")&&x(J,"length")}function le(J){var ee=A(),ue=A();function ge(ye){for(var V=[],L=1;L<arguments.length;L++)V[L-1]=arguments[L];if(U(ye)){var R=ye,X=(V[0]===ge||V[0]===he)&&W.test(R[0])&&$.test(R[1]),N=X?ue:ee,G=N.get(R);if(G||(G=I(R,X,J),N.set(R,G)),V.length===0)return G[0];var q=O(G,X?V.slice(1):V);return q}else return le(w(w({},J),ye||{}))}var me=w(ge,{string:function(ye){return I([ye],!1,J)[0]}});return me}var he=le({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=he,m.default=he,typeof E<"u")try{E.exports=he,Object.defineProperty(he,"__esModule",{value:!0}),he.default=he,he.outdent=he}catch{}}}),Ba=Xe({"src/main/core-options.js"(m,E){S();var{outdent:g}=xu(),A="Config",C="Editor",y="Format",x="Other",w="Output",k="Global",_="Special",$={cursorOffset:{since:"1.4.0",category:_,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:g(He||(He=Qr([`
|
|
34
|
-
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
35
|
-
This option cannot be used with --range-start and --range-end.
|
|
36
|
-
`]))),cliCategory:C},endOfLine:{since:"1.15.0",category:k,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:g(et||(et=Qr([`
|
|
37
|
-
Maintain existing
|
|
38
|
-
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
39
|
-
`])))}]},filepath:{since:"1.4.0",category:_,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:x,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:_,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:x},parser:{since:"0.0.10",category:k,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:j=>typeof j=="string"||typeof j=="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:k,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:j=>typeof j=="string"||typeof j=="object",cliName:"plugin",cliCategory:A},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:k,description:g(st||(st=Qr([`
|
|
40
|
-
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
41
|
-
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
42
|
-
Multiple values are accepted.
|
|
43
|
-
`]))),exception:j=>typeof j=="string"||typeof j=="object",cliName:"plugin-search-dir",cliCategory:A},printWidth:{since:"0.0.0",category:k,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:_,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:g(Dt||(Dt=Qr([`
|
|
44
|
-
Format code ending at a given character offset (exclusive).
|
|
45
|
-
The range will extend forwards to the end of the selected statement.
|
|
46
|
-
This option cannot be used with --cursor-offset.
|
|
47
|
-
`]))),cliCategory:C},rangeStart:{since:"1.4.0",category:_,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:g(Wt||(Wt=Qr([`
|
|
48
|
-
Format code starting at a given character offset.
|
|
49
|
-
The range will extend backwards to the start of the first line containing the selected statement.
|
|
50
|
-
This option cannot be used with --cursor-offset.
|
|
51
|
-
`]))),cliCategory:C},requirePragma:{since:"1.7.0",category:_,type:"boolean",default:!1,description:g(nr||(nr=Qr([`
|
|
52
|
-
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
53
|
-
in order for it to be formatted.
|
|
54
|
-
`]))),cliCategory:x},tabWidth:{type:"int",category:k,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:k,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:k,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."}]}};E.exports={CATEGORY_CONFIG:A,CATEGORY_EDITOR:C,CATEGORY_FORMAT:y,CATEGORY_OTHER:x,CATEGORY_OUTPUT:w,CATEGORY_GLOBAL:k,CATEGORY_SPECIAL:_,options:$}}}),Ws=Xe({"src/main/support.js"(m,E){S();var g={compare:Mu(),lt:il(),gte:ju()},A=sl(),C=Je().version,y=Ba().options;function x(){let{plugins:k=[],showUnreleased:_=!1,showDeprecated:$=!1,showInternal:j=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=C.split("-",1)[0],I=k.flatMap(J=>J.languages||[]).filter(U),O=A(Object.assign({},...k.map(J=>{let{options:ee}=J;return ee}),y),"name").filter(J=>U(J)&&le(J)).sort((J,ee)=>J.name===ee.name?0:J.name<ee.name?-1:1).map(he).map(J=>{J=Object.assign({},J),Array.isArray(J.default)&&(J.default=J.default.length===1?J.default[0].value:J.default.filter(U).sort((ue,ge)=>g.compare(ge.since,ue.since))[0].value),Array.isArray(J.choices)&&(J.choices=J.choices.filter(ue=>U(ue)&&le(ue)),J.name==="parser"&&w(J,I,k));let ee=Object.fromEntries(k.filter(ue=>ue.defaultOptions&&ue.defaultOptions[J.name]!==void 0).map(ue=>[ue.name,ue.defaultOptions[J.name]]));return Object.assign(Object.assign({},J),{},{pluginDefaults:ee})});return{languages:I,options:O};function U(J){return _||!("since"in J)||J.since&&g.gte(W,J.since)}function le(J){return $||!("deprecated"in J)||J.deprecated&&g.lt(W,J.deprecated)}function he(J){return j?J:wr(J,fe)}}function w(k,_,$){let j=new Set(k.choices.map(W=>W.value));for(let W of _)if(W.parsers){for(let I of W.parsers)if(!j.has(I)){j.add(I);let O=$.find(le=>le.parsers&&le.parsers[I]),U=W.name;O&&O.name&&(U+=" (plugin: ".concat(O.name,")")),k.choices.push({value:I,description:U})}}}E.exports={getSupportInfo:x}}}),fa=Xe({"src/utils/is-non-empty-array.js"(m,E){S();function g(A){return Array.isArray(A)&&A.length>0}E.exports=g}}),Ta=Xe({"src/utils/text/skip.js"(m,E){S();function g(w){return(k,_,$)=>{let j=$&&$.backwards;if(_===!1)return!1;let{length:W}=k,I=_;for(;I>=0&&I<W;){let O=k.charAt(I);if(w instanceof RegExp){if(!w.test(O))return I}else if(!w.includes(O))return I;j?I--:I++}return I===-1||I===W?I:!1}}var A=g(/\s/),C=g(" "),y=g(",; "),x=g(/[^\n\r]/);E.exports={skipWhitespace:A,skipSpaces:C,skipToLineEnd:y,skipEverythingButNewLine:x}}}),Xa=Xe({"src/utils/text/skip-inline-comment.js"(m,E){S();function g(A,C){if(C===!1)return!1;if(A.charAt(C)==="/"&&A.charAt(C+1)==="*"){for(let y=C+2;y<A.length;++y)if(A.charAt(y)==="*"&&A.charAt(y+1)==="/")return y+2}return C}E.exports=g}}),_a=Xe({"src/utils/text/skip-trailing-comment.js"(m,E){S();var{skipEverythingButNewLine:g}=Ta();function A(C,y){return y===!1?!1:C.charAt(y)==="/"&&C.charAt(y+1)==="/"?g(C,y):y}E.exports=A}}),Yo=Xe({"src/utils/text/skip-newline.js"(m,E){S();function g(A,C,y){let x=y&&y.backwards;if(C===!1)return!1;let w=A.charAt(C);if(x){if(A.charAt(C-1)==="\r"&&w===`
|
|
55
|
-
`)return C-2;if(w===`
|
|
56
|
-
`||w==="\r"||w==="\u2028"||w==="\u2029")return C-1}else{if(w==="\r"&&A.charAt(C+1)===`
|
|
57
|
-
`)return C+2;if(w===`
|
|
58
|
-
`||w==="\r"||w==="\u2028"||w==="\u2029")return C+1}return C}E.exports=g}}),Lo=Xe({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,E){S();var g=Xa(),A=Yo(),C=_a(),{skipSpaces:y}=Ta();function x(w,k){let _=null,$=k;for(;$!==_;)_=$,$=y(w,$),$=g(w,$),$=C(w,$),$=A(w,$);return $}E.exports=x}}),Qi=Xe({"src/common/util.js"(m,E){S();var{default:g}=(Ga(),ti(Iu)),A=es(),{getSupportInfo:C}=Ws(),y=fa(),x=yu(),{skipWhitespace:w,skipSpaces:k,skipToLineEnd:_,skipEverythingButNewLine:$}=Ta(),j=Xa(),W=_a(),I=Yo(),O=Lo(),U=qe=>qe[qe.length-2];function le(qe){return(Ve,bt,Tt)=>{let Ct=Tt&&Tt.backwards;if(bt===!1)return!1;let{length:hr}=Ve,$e=bt;for(;$e>=0&&$e<hr;){let nt=Ve.charAt($e);if(qe instanceof RegExp){if(!qe.test(nt))return $e}else if(!qe.includes(nt))return $e;Ct?$e--:$e++}return $e===-1||$e===hr?$e:!1}}function he(qe,Ve){let bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Tt=k(qe,bt.backwards?Ve-1:Ve,bt),Ct=I(qe,Tt,bt);return Tt!==Ct}function J(qe,Ve,bt){for(let Tt=Ve;Tt<bt;++Tt)if(qe.charAt(Tt)===`
|
|
59
|
-
`)return!0;return!1}function ee(qe,Ve,bt){let Tt=bt(Ve)-1;Tt=k(qe,Tt,{backwards:!0}),Tt=I(qe,Tt,{backwards:!0}),Tt=k(qe,Tt,{backwards:!0});let Ct=I(qe,Tt,{backwards:!0});return Tt!==Ct}function ue(qe,Ve){let bt=null,Tt=Ve;for(;Tt!==bt;)bt=Tt,Tt=_(qe,Tt),Tt=j(qe,Tt),Tt=k(qe,Tt);return Tt=W(qe,Tt),Tt=I(qe,Tt),Tt!==!1&&he(qe,Tt)}function ge(qe,Ve,bt){return ue(qe,bt(Ve))}function me(qe,Ve,bt){return O(qe,bt(Ve))}function ye(qe,Ve,bt){return qe.charAt(me(qe,Ve,bt))}function V(qe,Ve){let bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return k(qe,bt.backwards?Ve-1:Ve,bt)!==Ve}function L(qe,Ve){let bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,Tt=0;for(let Ct=bt;Ct<qe.length;++Ct)qe[Ct]===" "?Tt=Tt+Ve-Tt%Ve:Tt++;return Tt}function R(qe,Ve){let bt=qe.lastIndexOf(`
|
|
60
|
-
`);return bt===-1?0:L(qe.slice(bt+1).match(/^[\t ]*/)[0],Ve)}function X(qe,Ve){let bt={quote:'"',regex:/"/g,escaped:"""},Tt={quote:"'",regex:/'/g,escaped:"'"},Ct=Ve==="'"?Tt:bt,hr=Ct===Tt?bt:Tt,$e=Ct;if(qe.includes(Ct.quote)||qe.includes(hr.quote)){let nt=(qe.match(Ct.regex)||[]).length,rr=(qe.match(hr.regex)||[]).length;$e=nt>rr?hr:Ct}return $e}function N(qe,Ve){let bt=qe.slice(1,-1),Tt=Ve.parser==="json"||Ve.parser==="json5"&&Ve.quoteProps==="preserve"&&!Ve.singleQuote?'"':Ve.__isInHtmlAttribute?"'":X(bt,Ve.singleQuote?"'":'"').quote;return G(bt,Tt,!(Ve.parser==="css"||Ve.parser==="less"||Ve.parser==="scss"||Ve.__embeddedInHtml))}function G(qe,Ve,bt){let Tt=Ve==='"'?"'":'"',Ct=/\\(.)|(["'])/gs,hr=qe.replace(Ct,($e,nt,rr)=>nt===Tt?nt:rr===Ve?"\\"+rr:rr||(bt&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(nt)?nt:"\\"+nt));return Ve+hr+Ve}function q(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 se(qe,Ve){let bt=qe.match(new RegExp("(".concat(g(Ve),")+"),"g"));return bt===null?0:bt.reduce((Tt,Ct)=>Math.max(Tt,Ct.length/Ve.length),0)}function te(qe,Ve){let bt=qe.match(new RegExp("(".concat(g(Ve),")+"),"g"));if(bt===null)return 0;let Tt=new Map,Ct=0;for(let hr of bt){let $e=hr.length/Ve.length;Tt.set($e,!0),$e>Ct&&(Ct=$e)}for(let hr=1;hr<Ct;hr++)if(!Tt.get(hr))return hr;return Ct+1}function ne(qe,Ve){(qe.comments||(qe.comments=[])).push(Ve),Ve.printed=!1,Ve.nodeDescription=yt(qe)}function be(qe,Ve){Ve.leading=!0,Ve.trailing=!1,ne(qe,Ve)}function je(qe,Ve,bt){Ve.leading=!1,Ve.trailing=!1,bt&&(Ve.marker=bt),ne(qe,Ve)}function Pe(qe,Ve){Ve.leading=!1,Ve.trailing=!0,ne(qe,Ve)}function Ge(qe,Ve){let{languages:bt}=C({plugins:Ve.plugins}),Tt=bt.find(Ct=>{let{name:hr}=Ct;return hr.toLowerCase()===qe})||bt.find(Ct=>{let{aliases:hr}=Ct;return Array.isArray(hr)&&hr.includes(qe)})||bt.find(Ct=>{let{extensions:hr}=Ct;return Array.isArray(hr)&&hr.includes(".".concat(qe))});return Tt&&Tt.parsers[0]}function We(qe){return qe&&qe.type==="front-matter"}function Me(qe){let Ve=new WeakMap;return function(bt){return Ve.has(bt)||Ve.set(bt,Symbol(qe)),Ve.get(bt)}}function yt(qe){let Ve=qe.type||qe.kind||"(unknown type)",bt=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 bt.length>20&&(bt=bt.slice(0,19)+"\u2026"),Ve+(bt?" "+bt:"")}E.exports={inferParserByLanguage:Ge,getStringWidth:x,getMaxContinuousCount:se,getMinNotPresentContinuousCount:te,getPenultimate:U,getLast:A,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:O,getNextNonSpaceNonCommentCharacterIndex:me,getNextNonSpaceNonCommentCharacter:ye,skip:le,skipWhitespace:w,skipSpaces:k,skipToLineEnd:_,skipEverythingButNewLine:$,skipInlineComment:j,skipTrailingComment:W,skipNewline:I,isNextLineEmptyAfterIndex:ue,isNextLineEmpty:ge,isPreviousLineEmpty:ee,hasNewline:he,hasNewlineInRange:J,hasSpaces:V,getAlignmentSize:L,getIndentSize:R,getPreferredQuote:X,printString:N,printNumber:q,makeString:G,addLeadingComment:be,addDanglingComment:je,addTrailingComment:Pe,isFrontMatterNode:We,isNonEmptyArray:y,createGroupIdMapper:Me}}}),bu={};ys(bu,{basename:()=>Vn,default:()=>Zn,delimiter:()=>ii,dirname:()=>go,extname:()=>Cn,isAbsolute:()=>bo,join:()=>Zo,normalize:()=>Cu,relative:()=>ja,resolve:()=>Qo,sep:()=>ri});function Sa(m,E){for(var g=0,A=m.length-1;A>=0;A--){var C=m[A];C==="."?m.splice(A,1):C===".."?(m.splice(A,1),g++):g&&(m.splice(A,1),g--)}if(E)for(;g--;g)m.unshift("..");return m}function Qo(){for(var m="",E=!1,g=arguments.length-1;g>=-1&&!E;g--){var A=g>=0?arguments[g]:"/";if(typeof A!="string")throw new TypeError("Arguments to path.resolve must be strings");!A||(m=A+"/"+m,E=A.charAt(0)==="/")}return m=Sa(xn(m.split("/"),function(C){return!!C}),!E).join("/"),(E?"/":"")+m||"."}function Cu(m){var E=bo(m),g=vi(m,-1)==="/";return m=Sa(xn(m.split("/"),function(A){return!!A}),!E).join("/"),!m&&!E&&(m="."),m&&g&&(m+="/"),(E?"/":"")+m}function bo(m){return m.charAt(0)==="/"}function Zo(){var m=Array.prototype.slice.call(arguments,0);return Cu(xn(m,function(E,g){if(typeof E!="string")throw new TypeError("Arguments to path.join must be strings");return E}).join("/"))}function ja(m,E){m=Qo(m).substr(1),E=Qo(E).substr(1);function g(_){for(var $=0;$<_.length&&_[$]==="";$++);for(var j=_.length-1;j>=0&&_[j]==="";j--);return $>j?[]:_.slice($,j-$+1)}for(var A=g(m.split("/")),C=g(E.split("/")),y=Math.min(A.length,C.length),x=y,w=0;w<y;w++)if(A[w]!==C[w]){x=w;break}for(var k=[],w=x;w<A.length;w++)k.push("..");return k=k.concat(C.slice(x)),k.join("/")}function go(m){var E=pn(m),g=E[0],A=E[1];return!g&&!A?".":(A&&(A=A.substr(0,A.length-1)),g+A)}function Vn(m,E){var g=pn(m)[2];return E&&g.substr(-1*E.length)===E&&(g=g.substr(0,g.length-E.length)),g}function Cn(m){return pn(m)[3]}function xn(m,E){if(m.filter)return m.filter(E);for(var g=[],A=0;A<m.length;A++)E(m[A],A,m)&&g.push(m[A]);return g}var sn,pn,ri,ii,Zn,vi,Wi=yi({"node-modules-polyfills:path"(){S(),sn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,pn=function(m){return sn.exec(m).slice(1)},ri="/",ii=":",Zn={extname:Cn,basename:Vn,dirname:go,sep:ri,delimiter:ii,relative:ja,join:Zo,isAbsolute:bo,normalize:Cu,resolve:Qo},vi="ab".substr(-1)==="b"?function(m,E,g){return m.substr(E,g)}:function(m,E,g){return E<0&&(E=m.length+E),m.substr(E,g)}}}),Zi=Xe({"node-modules-polyfills-commonjs:path"(m,E){S();var g=(Wi(),ti(bu));if(g&&g.default){E.exports=g.default;for(let A in g)E.exports[A]=g[A]}else g&&(E.exports=g)}}),Yn=Xe({"src/common/errors.js"(m,E){S();var g=class extends Error{},A=class extends Error{},C=class extends Error{},y=class extends Error{};E.exports={ConfigError:g,DebugError:A,UndefinedParserError:C,ArgExpansionBailout:y}}}),ji={};ys(ji,{__assign:()=>Bn,__asyncDelegator:()=>rt,__asyncGenerator:()=>ie,__asyncValues:()=>vt,__await:()=>Ti,__awaiter:()=>Ii,__classPrivateFieldGet:()=>xt,__classPrivateFieldSet:()=>Lt,__createBinding:()=>Xs,__decorate:()=>Es,__exportStar:()=>Ia,__extends:()=>as,__generator:()=>dt,__importDefault:()=>ut,__importStar:()=>Kt,__makeTemplateObject:()=>wt,__metadata:()=>Ji,__param:()=>da,__read:()=>Rs,__rest:()=>Ri,__spread:()=>ta,__spreadArrays:()=>ms,__values:()=>Is});function as(m,E){Jt(m,E);function g(){this.constructor=m}m.prototype=E===null?Object.create(E):(g.prototype=E.prototype,new g)}function Ri(m,E){var g={};for(var A in m)Object.prototype.hasOwnProperty.call(m,A)&&E.indexOf(A)<0&&(g[A]=m[A]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,A=Object.getOwnPropertySymbols(m);C<A.length;C++)E.indexOf(A[C])<0&&Object.prototype.propertyIsEnumerable.call(m,A[C])&&(g[A[C]]=m[A[C]]);return g}function Es(m,E,g,A){var C=arguments.length,y=C<3?E:A===null?A=Object.getOwnPropertyDescriptor(E,g):A,x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(m,E,g,A);else for(var w=m.length-1;w>=0;w--)(x=m[w])&&(y=(C<3?x(y):C>3?x(E,g,y):x(E,g))||y);return C>3&&y&&Object.defineProperty(E,g,y),y}function da(m,E){return function(g,A){E(g,A,m)}}function Ji(m,E){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,E)}function Ii(m,E,g,A){function C(y){return y instanceof g?y:new g(function(x){x(y)})}return new(g||(g=Promise))(function(y,x){function w($){try{_(A.next($))}catch(j){x(j)}}function k($){try{_(A.throw($))}catch(j){x(j)}}function _($){$.done?y($.value):C($.value).then(w,k)}_((A=A.apply(m,E||[])).next())})}function dt(m,E){var g={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},A,C,y,x;return x={next:w(0),throw:w(1),return:w(2)},typeof Symbol=="function"&&(x[Symbol.iterator]=function(){return this}),x;function w(_){return function($){return k([_,$])}}function k(_){if(A)throw new TypeError("Generator is already executing.");for(;g;)try{if(A=1,C&&(y=_[0]&2?C.return:_[0]?C.throw||((y=C.return)&&y.call(C),0):C.next)&&!(y=y.call(C,_[1])).done)return y;switch(C=0,y&&(_=[_[0]&2,y.value]),_[0]){case 0:case 1:y=_;break;case 4:return g.label++,{value:_[1],done:!1};case 5:g.label++,C=_[1],_=[0];continue;case 7:_=g.ops.pop(),g.trys.pop();continue;default:if(y=g.trys,!(y=y.length>0&&y[y.length-1])&&(_[0]===6||_[0]===2)){g=0;continue}if(_[0]===3&&(!y||_[1]>y[0]&&_[1]<y[3])){g.label=_[1];break}if(_[0]===6&&g.label<y[1]){g.label=y[1],y=_;break}if(y&&g.label<y[2]){g.label=y[2],g.ops.push(_);break}y[2]&&g.ops.pop(),g.trys.pop();continue}_=E.call(m,g)}catch($){_=[6,$],C=0}finally{A=y=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}}function Xs(m,E,g,A){A===void 0&&(A=g),m[A]=E[g]}function Ia(m,E){for(var g in m)g!=="default"&&!E.hasOwnProperty(g)&&(E[g]=m[g])}function Is(m){var E=typeof Symbol=="function"&&Symbol.iterator,g=E&&m[E],A=0;if(g)return g.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&A>=m.length&&(m=void 0),{value:m&&m[A++],done:!m}}};throw new TypeError(E?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rs(m,E){var g=typeof Symbol=="function"&&m[Symbol.iterator];if(!g)return m;var A=g.call(m),C,y=[],x;try{for(;(E===void 0||E-- >0)&&!(C=A.next()).done;)y.push(C.value)}catch(w){x={error:w}}finally{try{C&&!C.done&&(g=A.return)&&g.call(A)}finally{if(x)throw x.error}}return y}function ta(){for(var m=[],E=0;E<arguments.length;E++)m=m.concat(Rs(arguments[E]));return m}function ms(){for(var m=0,E=0,g=arguments.length;E<g;E++)m+=arguments[E].length;for(var A=Array(m),C=0,E=0;E<g;E++)for(var y=arguments[E],x=0,w=y.length;x<w;x++,C++)A[C]=y[x];return A}function Ti(m){return this instanceof Ti?(this.v=m,this):new Ti(m)}function ie(m,E,g){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=g.apply(m,E||[]),C,y=[];return C={},x("next"),x("throw"),x("return"),C[Symbol.asyncIterator]=function(){return this},C;function x(W){A[W]&&(C[W]=function(I){return new Promise(function(O,U){y.push([W,I,O,U])>1||w(W,I)})})}function w(W,I){try{k(A[W](I))}catch(O){j(y[0][3],O)}}function k(W){W.value instanceof Ti?Promise.resolve(W.value.v).then(_,$):j(y[0][2],W)}function _(W){w("next",W)}function $(W){w("throw",W)}function j(W,I){W(I),y.shift(),y.length&&w(y[0][0],y[0][1])}}function rt(m){var E,g;return E={},A("next"),A("throw",function(C){throw C}),A("return"),E[Symbol.iterator]=function(){return this},E;function A(C,y){E[C]=m[C]?function(x){return(g=!g)?{value:Ti(m[C](x)),done:C==="return"}:y?y(x):x}:y}}function vt(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var E=m[Symbol.asyncIterator],g;return E?E.call(m):(m=typeof Is=="function"?Is(m):m[Symbol.iterator](),g={},A("next"),A("throw"),A("return"),g[Symbol.asyncIterator]=function(){return this},g);function A(y){g[y]=m[y]&&function(x){return new Promise(function(w,k){x=m[y](x),C(w,k,x.done,x.value)})}}function C(y,x,w,k){Promise.resolve(k).then(function(_){y({value:_,done:w})},x)}}function wt(m,E){return Object.defineProperty?Object.defineProperty(m,"raw",{value:E}):m.raw=E,m}function Kt(m){if(m&&m.__esModule)return m;var E={};if(m!=null)for(var g in m)Object.hasOwnProperty.call(m,g)&&(E[g]=m[g]);return E.default=m,E}function ut(m){return m&&m.__esModule?m:{default:m}}function xt(m,E){if(!E.has(m))throw new TypeError("attempted to get private field on non-instance");return E.get(m)}function Lt(m,E,g){if(!E.has(m))throw new TypeError("attempted to set private field on non-instance");return E.set(m,g),g}var Jt,Bn,at=yi({"node_modules/tslib/tslib.es6.js"(){S(),Jt=function(m,E){return Jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,A){g.__proto__=A}||function(g,A){for(var C in A)A.hasOwnProperty(C)&&(g[C]=A[C])},Jt(m,E)},Bn=function(){return Bn=Object.assign||function(m){for(var E,g=1,A=arguments.length;g<A;g++){E=arguments[g];for(var C in E)Object.prototype.hasOwnProperty.call(E,C)&&(m[C]=E[C])}return m},Bn.apply(this,arguments)}}}),_t=Xe({"node_modules/vnopts/lib/descriptors/api.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.apiDescriptor={key:E=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(E)?E:JSON.stringify(E),value(E){if(E===null||typeof E!="object")return JSON.stringify(E);if(Array.isArray(E))return"[".concat(E.map(A=>m.apiDescriptor.value(A)).join(", "),"]");let g=Object.keys(E);return g.length===0?"{}":"{ ".concat(g.map(A=>"".concat(m.apiDescriptor.key(A),": ").concat(m.apiDescriptor.value(E[A]))).join(", ")," }")},pair:E=>{let{key:g,value:A}=E;return m.apiDescriptor.value({[g]:A})}}}}),ir=Xe({"node_modules/vnopts/lib/descriptors/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=(at(),ti(ji));E.__exportStar(_t(),m)}}),$r=Xe({"scripts/build/shims/chalk.cjs"(m,E){S();var g=A=>A;g.grey=g,g.red=g,g.bold=g,g.yellow=g,g.blue=g,g.default=g,E.exports=g}}),Nr=Xe({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=$r();m.commonDeprecatedHandler=(g,A,C)=>{let{descriptor:y}=C,x=["".concat(E.default.yellow(typeof g=="string"?y.key(g):y.pair(g))," is deprecated")];return A&&x.push("we now treat it as ".concat(E.default.blue(typeof A=="string"?y.key(A):y.pair(A)))),x.join("; ")+"."}}}),qr=Xe({"node_modules/vnopts/lib/handlers/deprecated/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=(at(),ti(ji));E.__exportStar(Nr(),m)}}),Ir=Xe({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=$r();m.commonInvalidHandler=(g,A,C)=>["Invalid ".concat(E.default.red(C.descriptor.key(g))," value."),"Expected ".concat(E.default.blue(C.schemas[g].expected(C)),","),"but received ".concat(E.default.red(C.descriptor.value(A)),".")].join(" ")}}),_n=Xe({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=(at(),ti(ji));E.__exportStar(Ir(),m)}}),In=Xe({"node_modules/vnopts/node_modules/leven/index.js"(m,E){S();var g=[],A=[];E.exports=function(C,y){if(C===y)return 0;var x=C;C.length>y.length&&(C=y,y=x);var w=C.length,k=y.length;if(w===0)return k;if(k===0)return w;for(;w>0&&C.charCodeAt(~-w)===y.charCodeAt(~-k);)w--,k--;if(w===0)return k;for(var _=0;_<w&&C.charCodeAt(_)===y.charCodeAt(_);)_++;if(w-=_,k-=_,w===0)return k;for(var $,j,W,I,O=0,U=0;O<w;)A[_+O]=C.charCodeAt(_+O),g[O]=++O;for(;U<k;)for($=y.charCodeAt(_+U),W=U++,j=U,O=0;O<w;O++)I=$===A[_+O]?W:W+1,W=g[O],j=g[O]=W>j?I>j?j+1:I:I>W?W+1:I;return j}}}),Ln=Xe({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=$r(),g=In();m.levenUnknownHandler=(A,C,y)=>{let{descriptor:x,logger:w,schemas:k}=y,_=["Ignored unknown option ".concat(E.default.yellow(x.pair({key:A,value:C})),".")],$=Object.keys(k).sort().find(j=>g(A,j)<3);$&&_.push("Did you mean ".concat(E.default.blue(x.key($)),"?")),w.warn(_.join(" "))}}}),Ui=Xe({"node_modules/vnopts/lib/handlers/unknown/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=(at(),ti(ji));E.__exportStar(Ln(),m)}}),ps=Xe({"node_modules/vnopts/lib/handlers/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=(at(),ti(ji));E.__exportStar(qr(),m),E.__exportStar(_n(),m),E.__exportStar(Ui(),m)}}),cn=Xe({"node_modules/vnopts/lib/schema.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function g(y,x){let w=new y(x),k=Object.create(w);for(let _ of E)_ in x&&(k[_]=C(x[_],w,A.prototype[_].length));return k}m.createSchema=g;var A=class{constructor(y){this.name=y.name}static create(y){return g(this,y)}default(y){}expected(y){return"nothing"}validate(y,x){return!1}deprecated(y,x){return!1}forward(y,x){}redirect(y,x){}overlap(y,x,w){return y}preprocess(y,x){return y}postprocess(y,x){return y}};m.Schema=A;function C(y,x,w){return typeof y=="function"?function(){for(var k=arguments.length,_=new Array(k),$=0;$<k;$++)_[$]=arguments[$];return y(..._.slice(0,w-1),x,..._.slice(w-1))}:()=>y}}}),xi=Xe({"node_modules/vnopts/lib/schemas/alias.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=cn(),g=class extends E.Schema{constructor(A){super(A),this._sourceName=A.sourceName}expected(A){return A.schemas[this._sourceName].expected(A)}validate(A,C){return C.schemas[this._sourceName].validate(A,C)}redirect(A,C){return this._sourceName}};m.AliasSchema=g}}),Si=Xe({"node_modules/vnopts/lib/schemas/any.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=cn(),g=class extends E.Schema{expected(){return"anything"}validate(){return!0}};m.AnySchema=g}}),os=Xe({"node_modules/vnopts/lib/schemas/array.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=(at(),ti(ji)),g=cn(),A=class extends g.Schema{constructor(y){var{valueSchema:x,name:w=x.name}=y,k=E.__rest(y,["valueSchema","name"]);super(Object.assign({},k,{name:w})),this._valueSchema=x}expected(y){return"an array of ".concat(this._valueSchema.expected(y))}validate(y,x){if(!Array.isArray(y))return!1;let w=[];for(let k of y){let _=x.normalizeValidateResult(this._valueSchema.validate(k,x),k);_!==!0&&w.push(_.value)}return w.length===0?!0:{value:w}}deprecated(y,x){let w=[];for(let k of y){let _=x.normalizeDeprecatedResult(this._valueSchema.deprecated(k,x),k);_!==!1&&w.push(..._.map($=>{let{value:j}=$;return{value:[j]}}))}return w}forward(y,x){let w=[];for(let k of y){let _=x.normalizeForwardResult(this._valueSchema.forward(k,x),k);w.push(..._.map(C))}return w}redirect(y,x){let w=[],k=[];for(let _ of y){let $=x.normalizeRedirectResult(this._valueSchema.redirect(_,x),_);"remain"in $&&w.push($.remain),k.push(...$.redirect.map(C))}return w.length===0?{redirect:k}:{redirect:k,remain:w}}overlap(y,x){return y.concat(x)}};m.ArraySchema=A;function C(y){let{from:x,to:w}=y;return{from:[x],to:w}}}}),Ds=Xe({"node_modules/vnopts/lib/schemas/boolean.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=cn(),g=class extends E.Schema{expected(){return"true or false"}validate(A){return typeof A=="boolean"}};m.BooleanSchema=g}}),Ke=Xe({"node_modules/vnopts/lib/utils.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});function E(I,O){let U=Object.create(null);for(let le of I){let he=le[O];if(U[he])throw new Error("Duplicate ".concat(O," ").concat(JSON.stringify(he)));U[he]=le}return U}m.recordFromArray=E;function g(I,O){let U=new Map;for(let le of I){let he=le[O];if(U.has(he))throw new Error("Duplicate ".concat(O," ").concat(JSON.stringify(he)));U.set(he,le)}return U}m.mapFromArray=g;function A(){let I=Object.create(null);return O=>{let U=JSON.stringify(O);return I[U]?!0:(I[U]=!0,!1)}}m.createAutoChecklist=A;function C(I,O){let U=[],le=[];for(let he of I)O(he)?U.push(he):le.push(he);return[U,le]}m.partition=C;function y(I){return I===Math.floor(I)}m.isInt=y;function x(I,O){if(I===O)return 0;let U=typeof I,le=typeof O,he=["undefined","object","boolean","number","string"];return U!==le?he.indexOf(U)-he.indexOf(le):U!=="string"?Number(I)-Number(O):I.localeCompare(O)}m.comparePrimitive=x;function w(I){return I===void 0?{}:I}m.normalizeDefaultResult=w;function k(I,O){return I===!0?!0:I===!1?{value:O}:I}m.normalizeValidateResult=k;function _(I,O){let U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return I===!1?!1:I===!0?U?!0:[{value:O}]:"value"in I?[I]:I.length===0?!1:I}m.normalizeDeprecatedResult=_;function $(I,O){return typeof I=="string"||"key"in I?{from:O,to:I}:"from"in I?{from:I.from,to:I.to}:{from:O,to:I.to}}m.normalizeTransferResult=$;function j(I,O){return I===void 0?[]:Array.isArray(I)?I.map(U=>$(U,O)):[$(I,O)]}m.normalizeForwardResult=j;function W(I,O){let U=j(typeof I=="object"&&"redirect"in I?I.redirect:I,O);return U.length===0?{remain:O,redirect:U}:typeof I=="object"&&"remain"in I?{remain:I.remain,redirect:U}:{redirect:U}}m.normalizeRedirectResult=W}}),gt=Xe({"node_modules/vnopts/lib/schemas/choice.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=cn(),g=Ke(),A=class extends E.Schema{constructor(C){super(C),this._choices=g.mapFromArray(C.choices.map(y=>y&&typeof y=="object"?y:{value:y}),"value")}expected(C){let{descriptor:y}=C,x=Array.from(this._choices.keys()).map(_=>this._choices.get(_)).filter(_=>!_.deprecated).map(_=>_.value).sort(g.comparePrimitive).map(y.value),w=x.slice(0,-2),k=x.slice(-2);return w.concat(k.join(" or ")).join(", ")}validate(C){return this._choices.has(C)}deprecated(C){let y=this._choices.get(C);return y&&y.deprecated?{value:C}:!1}forward(C){let y=this._choices.get(C);return y?y.forward:void 0}redirect(C){let y=this._choices.get(C);return y?y.redirect:void 0}};m.ChoiceSchema=A}}),Hr=Xe({"node_modules/vnopts/lib/schemas/number.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=cn(),g=class extends E.Schema{expected(){return"a number"}validate(A,C){return typeof A=="number"}};m.NumberSchema=g}}),pr=Xe({"node_modules/vnopts/lib/schemas/integer.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=Ke(),g=Hr(),A=class extends g.NumberSchema{expected(){return"an integer"}validate(C,y){return y.normalizeValidateResult(super.validate(C,y),C)===!0&&E.isInt(C)}};m.IntegerSchema=A}}),En=Xe({"node_modules/vnopts/lib/schemas/string.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=cn(),g=class extends E.Schema{expected(){return"a string"}validate(A){return typeof A=="string"}};m.StringSchema=g}}),Vi=Xe({"node_modules/vnopts/lib/schemas/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=(at(),ti(ji));E.__exportStar(xi(),m),E.__exportStar(Si(),m),E.__exportStar(os(),m),E.__exportStar(Ds(),m),E.__exportStar(gt(),m),E.__exportStar(pr(),m),E.__exportStar(Hr(),m),E.__exportStar(En(),m)}}),vs=Xe({"node_modules/vnopts/lib/defaults.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=_t(),g=Nr(),A=_n(),C=Ln();m.defaultDescriptor=E.apiDescriptor,m.defaultUnknownHandler=C.levenUnknownHandler,m.defaultInvalidHandler=A.commonInvalidHandler,m.defaultDeprecatedHandler=g.commonDeprecatedHandler}}),zs=Xe({"node_modules/vnopts/lib/normalize.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=vs(),g=Ke();m.normalize=(C,y,x)=>new A(y,x).normalize(C);var A=class{constructor(C,y){let{logger:x=console,descriptor:w=E.defaultDescriptor,unknown:k=E.defaultUnknownHandler,invalid:_=E.defaultInvalidHandler,deprecated:$=E.defaultDeprecatedHandler}=y||{};this._utils={descriptor:w,logger:x||{warn:()=>{}},schemas:g.recordFromArray(C,"name"),normalizeDefaultResult:g.normalizeDefaultResult,normalizeDeprecatedResult:g.normalizeDeprecatedResult,normalizeForwardResult:g.normalizeForwardResult,normalizeRedirectResult:g.normalizeRedirectResult,normalizeValidateResult:g.normalizeValidateResult},this._unknownHandler=k,this._invalidHandler=_,this._deprecatedHandler=$,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=g.createAutoChecklist()}normalize(C){let y={},x=[C],w=()=>{for(;x.length!==0;){let k=x.shift(),_=this._applyNormalization(k,y);x.push(..._)}};w();for(let k of Object.keys(this._utils.schemas)){let _=this._utils.schemas[k];if(!(k in y)){let $=g.normalizeDefaultResult(_.default(this._utils));"value"in $&&x.push({[k]:$.value})}}w();for(let k of Object.keys(this._utils.schemas)){let _=this._utils.schemas[k];k in y&&(y[k]=_.postprocess(y[k],this._utils))}return y}_applyNormalization(C,y){let x=[],[w,k]=g.partition(Object.keys(C),_=>_ in this._utils.schemas);for(let _ of w){let $=this._utils.schemas[_],j=$.preprocess(C[_],this._utils),W=g.normalizeValidateResult($.validate(j,this._utils),j);if(W!==!0){let{value:le}=W,he=this._invalidHandler(_,le,this._utils);throw typeof he=="string"?new Error(he):he}let I=le=>{let{from:he,to:J}=le;x.push(typeof J=="string"?{[J]:he}:{[J.key]:J.value})},O=le=>{let{value:he,redirectTo:J}=le,ee=g.normalizeDeprecatedResult($.deprecated(he,this._utils),j,!0);if(ee!==!1)if(ee===!0)this._hasDeprecationWarned(_)||this._utils.logger.warn(this._deprecatedHandler(_,J,this._utils));else for(let{value:ue}of ee){let ge={key:_,value:ue};if(!this._hasDeprecationWarned(ge)){let me=typeof J=="string"?{key:J,value:ue}:J;this._utils.logger.warn(this._deprecatedHandler(ge,me,this._utils))}}};g.normalizeForwardResult($.forward(j,this._utils),j).forEach(I);let U=g.normalizeRedirectResult($.redirect(j,this._utils),j);if(U.redirect.forEach(I),"remain"in U){let le=U.remain;y[_]=_ in y?$.overlap(y[_],le,this._utils):le,O({value:le})}for(let{from:le,to:he}of U.redirect)O({value:le,redirectTo:he})}for(let _ of k){let $=C[_],j=this._unknownHandler(_,$,this._utils);if(j)for(let W of Object.keys(j)){let I={[W]:j[W]};W in this._utils.schemas?x.push(I):Object.assign(y,I)}}return x}};m.Normalizer=A}}),Us=Xe({"node_modules/vnopts/lib/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=(at(),ti(ji));E.__exportStar(ir(),m),E.__exportStar(ps(),m),E.__exportStar(Vi(),m),E.__exportStar(zs(),m),E.__exportStar(cn(),m)}}),ha=Xe({"src/main/options-normalizer.js"(m,E){S();var g=Us(),A=es(),C={key:W=>W.length===1?"-".concat(W):"--".concat(W),value:W=>g.apiDescriptor.value(W),pair:W=>{let{key:I,value:O}=W;return O===!1?"--no-".concat(I):O===!0?C.key(I):O===""?"".concat(C.key(I)," without an argument"):"".concat(C.key(I),"=").concat(O)}},y=W=>{let{colorsModule:I,levenshteinDistance:O}=W;return class extends g.ChoiceSchema{constructor(U){let{name:le,flags:he}=U;super({name:le,choices:he}),this._flags=[...he].sort()}preprocess(U,le){if(typeof U=="string"&&U.length>0&&!this._flags.includes(U)){let he=this._flags.find(J=>O(J,U)<3);if(he)return le.logger.warn(["Unknown flag ".concat(I.yellow(le.descriptor.value(U)),","),"did you mean ".concat(I.blue(le.descriptor.value(he)),"?")].join(" ")),he}return U}expected(){return"a flag"}}},x;function w(W,I){let{logger:O=!1,isCLI:U=!1,passThrough:le=!1,colorsModule:he=null,levenshteinDistance:J=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ee=le?Array.isArray(le)?(L,R)=>le.includes(L)?{[L]:R}:void 0:(L,R)=>({[L]:R}):(L,R,X)=>{let N=X.schemas,G=wr(N,Ee);return g.levenUnknownHandler(L,R,Object.assign(Object.assign({},X),{},{schemas:G}))},ue=U?C:g.apiDescriptor,ge=k(I,{isCLI:U,colorsModule:he,levenshteinDistance:J}),me=new g.Normalizer(ge,{logger:O,unknown:ee,descriptor:ue}),ye=O!==!1;ye&&x&&(me._hasDeprecationWarned=x);let V=me.normalize(W);return ye&&(x=me._hasDeprecationWarned),U&&V["plugin-search"]===!1&&(V["plugin-search-dir"]=!1),V}function k(W,I){let{isCLI:O,colorsModule:U,levenshteinDistance:le}=I,he=[];O&&he.push(g.AnySchema.create({name:"_"}));for(let J of W)he.push(_(J,{isCLI:O,optionInfos:W,colorsModule:U,levenshteinDistance:le})),J.alias&&O&&he.push(g.AliasSchema.create({name:J.alias,sourceName:J.name}));return he}function _(W,I){let{isCLI:O,optionInfos:U,colorsModule:le,levenshteinDistance:he}=I,{name:J}=W;if(J==="plugin-search-dir"||J==="pluginSearchDirs")return g.AnySchema.create({name:J,preprocess(me){return me===!1||(me=Array.isArray(me)?me:[me]),me},validate(me){return me===!1?!0:me.every(ye=>typeof ye=="string")},expected(){return"false or paths to plugin search dir"}});let ee={name:J},ue,ge={};switch(W.type){case"int":ue=g.IntegerSchema,O&&(ee.preprocess=Number);break;case"string":ue=g.StringSchema;break;case"choice":ue=g.ChoiceSchema,ee.choices=W.choices.map(me=>typeof me=="object"&&me.redirect?Object.assign(Object.assign({},me),{},{redirect:{to:{key:W.name,value:me.redirect}}}):me);break;case"boolean":ue=g.BooleanSchema;break;case"flag":ue=y({colorsModule:le,levenshteinDistance:he}),ee.flags=U.flatMap(me=>[me.alias,me.description&&me.name,me.oppositeDescription&&"no-".concat(me.name)].filter(Boolean));break;case"path":ue=g.StringSchema;break;default:throw new Error("Unexpected type ".concat(W.type))}if(W.exception?ee.validate=(me,ye,V)=>W.exception(me)||ye.validate(me,V):ee.validate=(me,ye,V)=>me===void 0||ye.validate(me,V),W.redirect&&(ge.redirect=me=>me?{to:{key:W.redirect.option,value:W.redirect.value}}:void 0),W.deprecated&&(ge.deprecated=!0),O&&!W.array){let me=ee.preprocess||(ye=>ye);ee.preprocess=(ye,V,L)=>V.preprocess(me(Array.isArray(ye)?A(ye):ye),L)}return W.array?g.ArraySchema.create(Object.assign(Object.assign(Object.assign({},O?{preprocess:me=>Array.isArray(me)?me:[me]}:{}),ge),{},{valueSchema:ue.create(ee)})):ue.create(Object.assign(Object.assign({},ee),ge))}function $(W,I,O){return w(W,I,O)}function j(W,I,O){return w(W,I,Object.assign({isCLI:!0},O))}E.exports={normalizeApiOptions:$,normalizeCliOptions:j}}}),gs=Xe({"src/language-js/loc.js"(m,E){S();var g=fa();function A(k,_){let{ignoreDecorators:$}=_||{};if(!$){let j=k.declaration&&k.declaration.decorators||k.decorators;if(g(j))return A(j[0])}return k.range?k.range[0]:k.start}function C(k){return k.range?k.range[1]:k.end}function y(k,_){let $=A(k);return Number.isInteger($)&&$===A(_)}function x(k,_){let $=C(k);return Number.isInteger($)&&$===C(_)}function w(k,_){return y(k,_)&&x(k,_)}E.exports={locStart:A,locEnd:C,hasSameLocStart:y,hasSameLoc:w}}}),ws=Xe({"src/main/load-parser.js"(m,E){S(),E.exports=()=>{}}}),Ts=Xe({"scripts/build/shims/babel-highlight.cjs"(m,E){S();var g=$r(),A={shouldHighlight:()=>!1,getChalk:()=>g};E.exports=A}}),Da=Xe({"node_modules/@babel/code-frame/lib/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.codeFrameColumns=x,m.default=w;var E=Ts(),g=!1;function A(k){return{gutter:k.grey,marker:k.red.bold,message:k.red.bold}}var C=/\r\n|[\n\r\u2028\u2029]/;function y(k,_,$){let j=Object.assign({column:0,line:-1},k.start),W=Object.assign({},j,k.end),{linesAbove:I=2,linesBelow:O=3}=$||{},U=j.line,le=j.column,he=W.line,J=W.column,ee=Math.max(U-(I+1),0),ue=Math.min(_.length,he+O);U===-1&&(ee=0),he===-1&&(ue=_.length);let ge=he-U,me={};if(ge)for(let ye=0;ye<=ge;ye++){let V=ye+U;if(!le)me[V]=!0;else if(ye===0){let L=_[V-1].length;me[V]=[le,L-le+1]}else if(ye===ge)me[V]=[0,J];else{let L=_[V-ye].length;me[V]=[0,L]}}else le===J?le?me[U]=[le,0]:me[U]=!0:me[U]=[le,J-le];return{start:ee,end:ue,markerLines:me}}function x(k,_){let $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},j=($.highlightCode||$.forceColor)&&(0,E.shouldHighlight)($),W=(0,E.getChalk)($),I=A(W),O=(me,ye)=>j?me(ye):ye,U=k.split(C),{start:le,end:he,markerLines:J}=y(_,U,$),ee=_.start&&typeof _.start.column=="number",ue=String(he).length,ge=(j?(0,E.default)(k,$):k).split(C,he).slice(le,he).map((me,ye)=>{let V=le+1+ye,L=" ".concat(V).slice(-ue),R=" ".concat(L," |"),X=J[V],N=!J[V+1];if(X){let G="";if(Array.isArray(X)){let q=me.slice(0,Math.max(X[0]-1,0)).replace(/[^\t]/g," "),se=X[1]||1;G=[`
|
|
61
|
-
`,O(I.gutter,R.replace(/\d/g," "))," ",q,O(I.marker,"^").repeat(se)].join(""),N&&$.message&&(G+=" "+O(I.message,$.message))}return[O(I.marker,">"),O(I.gutter,R),me.length>0?" ".concat(me):"",G].join("")}else return" ".concat(O(I.gutter,R)).concat(me.length>0?" ".concat(me):"")}).join(`
|
|
62
|
-
`);return $.message&&!ee&&(ge="".concat(" ".repeat(ue+1)).concat($.message,`
|
|
63
|
-
`).concat(ge)),j?W.reset(ge):ge}function w(k,_,$){let j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!g){g=!0;let W="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(js.emitWarning)js.emitWarning(W,"DeprecationWarning");else{let I=new Error(W);I.name="DeprecationWarning",console.warn(new Error(W))}}return $=Math.max($,0),x(k,{start:{column:$,line:_}},j)}}}),An=Xe({"src/main/parser.js"(m,E){S();var{ConfigError:g}=Yn(),A=gs();ws();var{locStart:C,locEnd:y}=A,x=Object.getOwnPropertyNames,w=Object.getOwnPropertyDescriptor;function k(j){let W={};for(let I of j.plugins)if(I.parsers)for(let O of x(I.parsers))Object.defineProperty(W,O,w(I.parsers,O));return W}function _(j){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:k(j);if(typeof j.parser=="function")return{parse:j.parser,astFormat:"estree",locStart:C,locEnd:y};if(typeof j.parser=="string"){if(Object.prototype.hasOwnProperty.call(W,j.parser))return W[j.parser];throw new g(`Couldn't resolve parser "`.concat(j.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}function $(j,W){let I=k(W),O=Object.defineProperties({},Object.fromEntries(Object.keys(I).map(le=>[le,{enumerable:!0,get(){return I[le].parse}}]))),U=_(W,I);try{return U.preprocess&&(j=U.preprocess(j,W)),{text:j,ast:U.parse(j,O,W)}}catch(le){let{loc:he}=le;if(he){let{codeFrameColumns:J}=Da();throw le.codeFrame=J(j,he,{highlightCode:!0}),le.message+=`
|
|
64
|
-
`+le.codeFrame,le}throw le.stack}}E.exports={parse:$,resolveParser:_}}}),Rn=Xe({"src/main/options.js"(m,E){S();var g=Zi(),{UndefinedParserError:A}=Yn(),{getSupportInfo:C}=Ws(),y=ha(),{resolveParser:x}=An(),w={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function k(j){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=Object.assign({},j),O=C({plugins:j.plugins,showUnreleased:!0,showDeprecated:!0}).options,U=Object.assign(Object.assign({},w),Object.fromEntries(O.filter(ue=>ue.default!==void 0).map(ue=>[ue.name,ue.default])));if(!I.parser){if(!I.filepath)(W.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."),I.parser="babel";else if(I.parser=$(I.filepath,I.plugins),!I.parser)throw new A("No parser could be inferred for file: ".concat(I.filepath))}let le=x(y.normalizeApiOptions(I,[O.find(ue=>ue.name==="parser")],{passThrough:!0,logger:!1}));I.astFormat=le.astFormat,I.locEnd=le.locEnd,I.locStart=le.locStart;let he=_(I);I.printer=he.printers[I.astFormat];let J=Object.fromEntries(O.filter(ue=>ue.pluginDefaults&&ue.pluginDefaults[he.name]!==void 0).map(ue=>[ue.name,ue.pluginDefaults[he.name]])),ee=Object.assign(Object.assign({},U),J);for(let[ue,ge]of Object.entries(ee))(I[ue]===null||I[ue]===void 0)&&(I[ue]=ge);return I.parser==="json"&&(I.trailingComma="none"),y.normalizeApiOptions(I,O,Object.assign({passThrough:Object.keys(w)},W))}function _(j){let{astFormat:W}=j;if(!W)throw new Error("getPlugin() requires astFormat to be set");let I=j.plugins.find(O=>O.printers&&O.printers[W]);if(!I)throw new Error(`Couldn't find plugin for AST format "`.concat(W,'"'));return I}function $(j,W){let I=g.basename(j).toLowerCase(),O=C({plugins:W}).languages.filter(U=>U.since!==null).find(U=>U.extensions&&U.extensions.some(le=>I.endsWith(le))||U.filenames&&U.filenames.some(le=>le.toLowerCase()===I));return O&&O.parsers[0]}E.exports={normalize:k,hiddenDefaults:w,inferParser:$}}}),pi=Xe({"src/main/massage-ast.js"(m,E){S();function g(A,C,y){if(Array.isArray(A))return A.map(_=>g(_,C,y)).filter(Boolean);if(!A||typeof A!="object")return A;let x=C.printer.massageAstNode,w;x&&x.ignoredProperties?w=x.ignoredProperties:w=new Set;let k={};for(let[_,$]of Object.entries(A))!w.has(_)&&typeof $!="function"&&(k[_]=g($,C,A));if(x){let _=x(A,k,y);if(_===null)return;if(_)return _}return k}E.exports=g}}),hi=Xe({"scripts/build/shims/assert.cjs"(m,E){S();var g=()=>{};g.ok=g,g.strictEqual=g,E.exports=g}}),Ni=Xe({"src/main/comments.js"(m,E){S();var g=hi(),{builders:{line:A,hardline:C,breakParent:y,indent:x,lineSuffix:w,join:k,cursor:_}}=wi(),{hasNewline:$,skipNewline:j,skipSpaces:W,isPreviousLineEmpty:I,addLeadingComment:O,addDanglingComment:U,addTrailingComment:le}=Qi(),he=new WeakMap;function J(be,je,Pe){if(!be)return;let{printer:Ge,locStart:We,locEnd:Me}=je;if(Pe){if(Ge.canAttachComment&&Ge.canAttachComment(be)){let qe;for(qe=Pe.length-1;qe>=0&&!(We(Pe[qe])<=We(be)&&Me(Pe[qe])<=Me(be));--qe);Pe.splice(qe+1,0,be);return}}else if(he.has(be))return he.get(be);let yt=Ge.getCommentChildNodes&&Ge.getCommentChildNodes(be,je)||typeof be=="object"&&Object.entries(be).filter(qe=>{let[Ve]=qe;return Ve!=="enclosingNode"&&Ve!=="precedingNode"&&Ve!=="followingNode"&&Ve!=="tokens"&&Ve!=="comments"&&Ve!=="parent"}).map(qe=>{let[,Ve]=qe;return Ve});if(yt){Pe||(Pe=[],he.set(be,Pe));for(let qe of yt)J(qe,je,Pe);return Pe}}function ee(be,je,Pe,Ge){let{locStart:We,locEnd:Me}=Pe,yt=We(je),qe=Me(je),Ve=J(be,Pe),bt,Tt,Ct=0,hr=Ve.length;for(;Ct<hr;){let $e=Ct+hr>>1,nt=Ve[$e],rr=We(nt),gr=Me(nt);if(rr<=yt&&qe<=gr)return ee(nt,je,Pe,nt);if(gr<=yt){bt=nt,Ct=$e+1;continue}if(qe<=rr){Tt=nt,hr=$e;continue}throw new Error("Comment location overlaps with node location")}if(Ge&&Ge.type==="TemplateLiteral"){let{quasis:$e}=Ge,nt=X($e,je,Pe);bt&&X($e,bt,Pe)!==nt&&(bt=null),Tt&&X($e,Tt,Pe)!==nt&&(Tt=null)}return{enclosingNode:Ge,precedingNode:bt,followingNode:Tt}}var ue=()=>!1;function ge(be,je,Pe,Ge){if(!Array.isArray(be))return;let We=[],{locStart:Me,locEnd:yt,printer:{handleComments:qe={}}}=Ge,{avoidAstMutation:Ve,ownLine:bt=ue,endOfLine:Tt=ue,remaining:Ct=ue}=qe,hr=be.map(($e,nt)=>Object.assign(Object.assign({},ee(je,$e,Ge)),{},{comment:$e,text:Pe,options:Ge,ast:je,isLastComment:be.length-1===nt}));for(let[$e,nt]of hr.entries()){let{comment:rr,precedingNode:gr,enclosingNode:Zt,followingNode:tt,text:ot,options:pt,ast:lr,isLastComment:Yt}=nt;if(pt.parser==="json"||pt.parser==="json5"||pt.parser==="__js_expression"||pt.parser==="__vue_expression"||pt.parser==="__vue_ts_expression"){if(Me(rr)-Me(lr)<=0){O(lr,rr);continue}if(yt(rr)-yt(lr)>=0){le(lr,rr);continue}}let ln;if(Ve?ln=[nt]:(rr.enclosingNode=Zt,rr.precedingNode=gr,rr.followingNode=tt,ln=[rr,ot,pt,lr,Yt]),ye(ot,pt,hr,$e))rr.placement="ownLine",bt(...ln)||(tt?O(tt,rr):gr?le(gr,rr):U(Zt||lr,rr));else if(V(ot,pt,hr,$e))rr.placement="endOfLine",Tt(...ln)||(gr?le(gr,rr):tt?O(tt,rr):U(Zt||lr,rr));else if(rr.placement="remaining",!Ct(...ln))if(gr&&tt){let si=We.length;si>0&&We[si-1].followingNode!==tt&&L(We,ot,pt),We.push(nt)}else gr?le(gr,rr):tt?O(tt,rr):U(Zt||lr,rr)}if(L(We,Pe,Ge),!Ve)for(let $e of be)delete $e.precedingNode,delete $e.enclosingNode,delete $e.followingNode}var me=be=>!/[\S\n\u2028\u2029]/.test(be);function ye(be,je,Pe,Ge){let{comment:We,precedingNode:Me}=Pe[Ge],{locStart:yt,locEnd:qe}=je,Ve=yt(We);if(Me)for(let bt=Ge-1;bt>=0;bt--){let{comment:Tt,precedingNode:Ct}=Pe[bt];if(Ct!==Me||!me(be.slice(qe(Tt),Ve)))break;Ve=yt(Tt)}return $(be,Ve,{backwards:!0})}function V(be,je,Pe,Ge){let{comment:We,followingNode:Me}=Pe[Ge],{locStart:yt,locEnd:qe}=je,Ve=qe(We);if(Me)for(let bt=Ge+1;bt<Pe.length;bt++){let{comment:Tt,followingNode:Ct}=Pe[bt];if(Ct!==Me||!me(be.slice(Ve,yt(Tt))))break;Ve=qe(Tt)}return $(be,Ve)}function L(be,je,Pe){let Ge=be.length;if(Ge===0)return;let{precedingNode:We,followingNode:Me,enclosingNode:yt}=be[0],qe=Pe.printer.getGapRegex&&Pe.printer.getGapRegex(yt)||/^[\s(]*$/,Ve=Pe.locStart(Me),bt;for(bt=Ge;bt>0;--bt){let{comment:Tt,precedingNode:Ct,followingNode:hr}=be[bt-1];g.strictEqual(Ct,We),g.strictEqual(hr,Me);let $e=je.slice(Pe.locEnd(Tt),Ve);if(qe.test($e))Ve=Pe.locStart(Tt);else break}for(let[Tt,{comment:Ct}]of be.entries())Tt<bt?le(We,Ct):O(Me,Ct);for(let Tt of[We,Me])Tt.comments&&Tt.comments.length>1&&Tt.comments.sort((Ct,hr)=>Pe.locStart(Ct)-Pe.locStart(hr));be.length=0}function R(be,je){let Pe=be.getValue();return Pe.printed=!0,je.printer.printComment(be,je)}function X(be,je,Pe){let Ge=Pe.locStart(je)-1;for(let We=1;We<be.length;++We)if(Ge<Pe.locStart(be[We]))return We-1;return 0}function N(be,je){let Pe=be.getValue(),Ge=[R(be,je)],{printer:We,originalText:Me,locStart:yt,locEnd:qe}=je;if(We.isBlockComment&&We.isBlockComment(Pe)){let bt=$(Me,qe(Pe))?$(Me,yt(Pe),{backwards:!0})?C:A:" ";Ge.push(bt)}else Ge.push(C);let Ve=j(Me,W(Me,qe(Pe)));return Ve!==!1&&$(Me,Ve)&&Ge.push(C),Ge}function G(be,je){let Pe=be.getValue(),Ge=R(be,je),{printer:We,originalText:Me,locStart:yt}=je,qe=We.isBlockComment&&We.isBlockComment(Pe);if($(Me,yt(Pe),{backwards:!0})){let bt=I(Me,Pe,yt);return w([C,bt?C:"",Ge])}let Ve=[" ",Ge];return qe||(Ve=[w(Ve),y]),Ve}function q(be,je,Pe,Ge){let We=[],Me=be.getValue();return!Me||!Me.comments||(be.each(()=>{let yt=be.getValue();!yt.leading&&!yt.trailing&&(!Ge||Ge(yt))&&We.push(R(be,je))},"comments"),We.length===0)?"":Pe?k(C,We):x([C,k(C,We)])}function se(be,je,Pe){let Ge=be.getValue();if(!Ge)return{};let We=Ge.comments||[];Pe&&(We=We.filter(Ve=>!Pe.has(Ve)));let Me=Ge===je.cursorNode;if(We.length===0){let Ve=Me?_:"";return{leading:Ve,trailing:Ve}}let yt=[],qe=[];return be.each(()=>{let Ve=be.getValue();if(Pe&&Pe.has(Ve))return;let{leading:bt,trailing:Tt}=Ve;bt?yt.push(N(be,je)):Tt&&qe.push(G(be,je))},"comments"),Me&&(yt.unshift(_),qe.push(_)),{leading:yt,trailing:qe}}function te(be,je,Pe,Ge){let{leading:We,trailing:Me}=se(be,Pe,Ge);return!We&&!Me?je:[We,je,Me]}function ne(be){if(be)for(let je of be){if(!je.printed)throw new Error('Comment "'+je.value.trim()+'" was not printed. Please report this error!');delete je.printed}}E.exports={attach:ge,printComments:te,printCommentsSeparately:se,printDanglingComments:q,getSortedChildNodes:J,ensureAllCommentsPrinted:ne}}}),ks=Xe({"src/common/ast-path.js"(m,E){S();var g=es();function A(x,w){let k=C(x.stack,w);return k===-1?null:x.stack[k]}function C(x,w){for(let k=x.length-1;k>=0;k-=2){let _=x[k];if(_&&!Array.isArray(_)&&--w<0)return k}return-1}var y=class{constructor(x){this.stack=[x]}getName(){let{stack:x}=this,{length:w}=x;return w>1?x[w-2]:null}getValue(){return g(this.stack)}getNode(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return A(this,x)}getParentNode(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return A(this,x+1)}call(x){let{stack:w}=this,{length:k}=w,_=g(w);for(var $=arguments.length,j=new Array($>1?$-1:0),W=1;W<$;W++)j[W-1]=arguments[W];for(let O of j)_=_[O],w.push(O,_);let I=x(this);return w.length=k,I}callParent(x){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,k=C(this.stack,w+1),_=this.stack.splice(k+1),$=x(this);return this.stack.push(..._),$}each(x){let{stack:w}=this,{length:k}=w,_=g(w);for(var $=arguments.length,j=new Array($>1?$-1:0),W=1;W<$;W++)j[W-1]=arguments[W];for(let I of j)_=_[I],w.push(I,_);for(let I=0;I<_.length;++I)w.push(I,_[I]),x(this,I,_),w.length-=2;w.length=k}map(x){let w=[];for(var k=arguments.length,_=new Array(k>1?k-1:0),$=1;$<k;$++)_[$-1]=arguments[$];return this.each((j,W,I)=>{w[W]=x(j,W,I)},..._),w}try(x){let{stack:w}=this,k=[...w];try{return x()}finally{w.length=0,w.push(...k)}}match(){let x=this.stack.length-1,w=null,k=this.stack[x--];for(var _=arguments.length,$=new Array(_),j=0;j<_;j++)$[j]=arguments[j];for(let W of $){if(k===void 0)return!1;let I=null;if(typeof w=="number"&&(I=w,w=this.stack[x--],k=this.stack[x--]),W&&!W(k,w,I))return!1;w=this.stack[x--],k=this.stack[x--]}return!0}findAncestor(x){let w=this.stack.length-1,k=null,_=this.stack[w--];for(;_;){let $=null;if(typeof k=="number"&&($=k,k=this.stack[w--],_=this.stack[w--]),k!==null&&x(_,k,$))return _;k=this.stack[w--],_=this.stack[w--]}}};E.exports=y}}),Ss=Xe({"src/main/multiparser.js"(m,E){S();var{utils:{stripTrailingHardline:g}}=wi(),{normalize:A}=Rn(),C=Ni();function y(w,k,_,$){if(_.printer.embed&&_.embeddedLanguageFormatting==="auto")return _.printer.embed(w,k,(j,W,I)=>x(j,W,_,$,I),_)}function x(w,k,_,$){let{stripTrailingHardline:j=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},W=A(Object.assign(Object.assign(Object.assign({},_),k),{},{parentParser:_.parser,originalText:w}),{passThrough:!0}),I=An().parse(w,W),{ast:O}=I;w=I.text;let U=O.comments;delete O.comments,C.attach(U,O,w,W),W[Symbol.for("comments")]=U||[],W[Symbol.for("tokens")]=O.tokens||[];let le=$(O,W);return C.ensureAllCommentsPrinted(U),j?typeof le=="string"?le.replace(/(?:\r?\n)*$/,""):g(le):le}E.exports={printSubtree:y}}}),Ks=Xe({"src/main/ast-to-doc.js"(m,E){S();var g=ks(),{builders:{hardline:A,addAlignmentToDoc:C},utils:{propagateBreaks:y}}=wi(),{printComments:x}=Ni(),w=Ss();function k(j,W){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:O}=W;O.preprocess&&(j=O.preprocess(j,W));let U=new Map,le=new g(j),he=J();return I>0&&(he=C([A,he],I,W.tabWidth)),y(he),he;function J(ue,ge){return ue===void 0||ue===le?ee(ge):Array.isArray(ue)?le.call(()=>ee(ge),...ue):le.call(()=>ee(ge),ue)}function ee(ue){let ge=le.getValue(),me=ge&&typeof ge=="object"&&ue===void 0;if(me&&U.has(ge))return U.get(ge);let ye=$(le,W,J,ue);return me&&U.set(ge,ye),ye}}function _(j,W){let{originalText:I,[Symbol.for("comments")]:O,locStart:U,locEnd:le}=W,he=U(j),J=le(j),ee=new Set;for(let ue of O)U(ue)>=he&&le(ue)<=J&&(ue.printed=!0,ee.add(ue));return{doc:I.slice(he,J),printedComments:ee}}function $(j,W,I,O){let U=j.getValue(),{printer:le}=W,he,J;if(le.hasPrettierIgnore&&le.hasPrettierIgnore(j))({doc:he,printedComments:J}=_(U,W));else{if(U)try{he=w.printSubtree(j,I,W,k)}catch(ee){if(globalThis.PRETTIER_DEBUG)throw ee}he||(he=le.print(j,W,I,O))}return(!le.willPrintOwnComments||!le.willPrintOwnComments(j,W))&&(he=x(j,he,W,J)),he}E.exports=k}}),ua=Xe({"src/main/range-util.js"(m,E){S();var g=hi(),A=Ni(),C=O=>{let{parser:U}=O;return U==="json"||U==="json5"||U==="json-stringify"};function y(O,U){let le=[O.node,...O.parentNodes],he=new Set([U.node,...U.parentNodes]);return le.find(J=>$.has(J.type)&&he.has(J))}function x(O){let U=O.length-1;for(;;){let le=O[U];if(le&&(le.type==="Program"||le.type==="File"))U--;else break}return O.slice(0,U+1)}function w(O,U,le){let{locStart:he,locEnd:J}=le,ee=O.node,ue=U.node;if(ee===ue)return{startNode:ee,endNode:ue};let ge=he(O.node);for(let ye of x(U.parentNodes))if(he(ye)>=ge)ue=ye;else break;let me=J(U.node);for(let ye of x(O.parentNodes))if(J(ye)<=me)ee=ye;else break;return{startNode:ee,endNode:ue}}function k(O,U,le,he){let J=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],ee=arguments.length>5?arguments[5]:void 0,{locStart:ue,locEnd:ge}=le,me=ue(O),ye=ge(O);if(!(U>ye||U<me||ee==="rangeEnd"&&U===me||ee==="rangeStart"&&U===ye)){for(let V of A.getSortedChildNodes(O,le)){let L=k(V,U,le,he,[O,...J],ee);if(L)return L}if(!he||he(O,J[0]))return{node:O,parentNodes:J}}}function _(O,U){return U!=="DeclareExportDeclaration"&&O!=="TypeParameterDeclaration"&&(O==="Directive"||O==="TypeAlias"||O==="TSExportAssignment"||O.startsWith("Declare")||O.startsWith("TSDeclare")||O.endsWith("Statement")||O.endsWith("Declaration"))}var $=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),j=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function W(O,U,le){if(!U)return!1;switch(O.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return _(U.type,le&&le.type);case"json":case"json5":case"json-stringify":return $.has(U.type);case"graphql":return j.has(U.kind);case"vue":return U.tag!=="root"}return!1}function I(O,U,le){let{rangeStart:he,rangeEnd:J,locStart:ee,locEnd:ue}=U;g.ok(J>he);let ge=O.slice(he,J).search(/\S/),me=ge===-1;if(!me)for(he+=ge;J>he&&!/\S/.test(O[J-1]);--J);let ye=k(le,he,U,(X,N)=>W(U,X,N),[],"rangeStart"),V=me?ye:k(le,J,U,X=>W(U,X),[],"rangeEnd");if(!ye||!V)return{rangeStart:0,rangeEnd:0};let L,R;if(C(U)){let X=y(ye,V);L=X,R=X}else({startNode:L,endNode:R}=w(ye,V,U));return{rangeStart:Math.min(ee(L),ee(R)),rangeEnd:Math.max(ue(L),ue(R))}}E.exports={calculateRange:I,findNodeAtOffset:k}}}),Ja=Xe({"src/main/core.js"(m,E){S();var{diffArrays:g}=an(),{printer:{printDocToString:A},debug:{printDocToDebug:C}}=wi(),{getAlignmentSize:y}=Qi(),{guessEndOfLine:x,convertEndOfLineToChars:w,countEndOfLineChars:k,normalizeEndOfLine:_}=ss(),$=Rn().normalize,j=pi(),W=Ni(),I=An(),O=Ks(),U=ua(),le="\uFEFF",he=Symbol("cursor");function J(R,X,N){let G=X.comments;return G&&(delete X.comments,W.attach(G,X,R,N)),N[Symbol.for("comments")]=G||[],N[Symbol.for("tokens")]=X.tokens||[],N.originalText=R,G}function ee(R,X){let N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!R||R.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:G,text:q}=I.parse(R,X);if(X.cursorOffset>=0){let be=U.findNodeAtOffset(G,X.cursorOffset,X);be&&be.node&&(X.cursorNode=be.node)}let se=J(q,G,X),te=O(G,X,N),ne=A(te,X);if(W.ensureAllCommentsPrinted(se),N>0){let be=ne.formatted.trim();ne.cursorNodeStart!==void 0&&(ne.cursorNodeStart-=ne.formatted.indexOf(be)),ne.formatted=be+w(X.endOfLine)}if(X.cursorOffset>=0){let be,je,Pe,Ge,We;if(X.cursorNode&&ne.cursorNodeText?(be=X.locStart(X.cursorNode),je=q.slice(be,X.locEnd(X.cursorNode)),Pe=X.cursorOffset-be,Ge=ne.cursorNodeStart,We=ne.cursorNodeText):(be=0,je=q,Pe=X.cursorOffset,Ge=0,We=ne.formatted),je===We)return{formatted:ne.formatted,cursorOffset:Ge+Pe,comments:se};let Me=[...je];Me.splice(Pe,0,he);let yt=[...We],qe=g(Me,yt),Ve=Ge;for(let bt of qe)if(bt.removed){if(bt.value.includes(he))break}else Ve+=bt.count;return{formatted:ne.formatted,cursorOffset:Ve,comments:se}}return{formatted:ne.formatted,cursorOffset:-1,comments:se}}function ue(R,X){let{ast:N,text:G}=I.parse(R,X),{rangeStart:q,rangeEnd:se}=U.calculateRange(G,X,N),te=G.slice(q,se),ne=Math.min(q,G.lastIndexOf(`
|
|
65
|
-
`,q)+1),be=G.slice(ne,q).match(/^\s*/)[0],je=y(be,X.tabWidth),Pe=ee(te,Object.assign(Object.assign({},X),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:X.cursorOffset>q&&X.cursorOffset<=se?X.cursorOffset-q:-1,endOfLine:"lf"}),je),Ge=Pe.formatted.trimEnd(),{cursorOffset:We}=X;We>se?We+=Ge.length-te.length:Pe.cursorOffset>=0&&(We=Pe.cursorOffset+q);let Me=G.slice(0,q)+Ge+G.slice(se);if(X.endOfLine!=="lf"){let yt=w(X.endOfLine);We>=0&&yt===`\r
|
|
66
|
-
`&&(We+=k(Me.slice(0,We),`
|
|
67
|
-
`)),Me=Me.replace(/\n/g,yt)}return{formatted:Me,cursorOffset:We,comments:Pe.comments}}function ge(R,X,N){return typeof X!="number"||Number.isNaN(X)||X<0||X>R.length?N:X}function me(R,X){let{cursorOffset:N,rangeStart:G,rangeEnd:q}=X;return N=ge(R,N,-1),G=ge(R,G,0),q=ge(R,q,R.length),Object.assign(Object.assign({},X),{},{cursorOffset:N,rangeStart:G,rangeEnd:q})}function ye(R,X){let{cursorOffset:N,rangeStart:G,rangeEnd:q,endOfLine:se}=me(R,X),te=R.charAt(0)===le;if(te&&(R=R.slice(1),N--,G--,q--),se==="auto"&&(se=x(R)),R.includes("\r")){let ne=be=>k(R.slice(0,Math.max(be,0)),`\r
|
|
68
|
-
`);N-=ne(N),G-=ne(G),q-=ne(q),R=_(R)}return{hasBOM:te,text:R,options:me(R,Object.assign(Object.assign({},X),{},{cursorOffset:N,rangeStart:G,rangeEnd:q,endOfLine:se}))}}function V(R,X){let N=I.resolveParser(X);return!N.hasPragma||N.hasPragma(R)}function L(R,X){let{hasBOM:N,text:G,options:q}=ye(R,$(X));if(q.rangeStart>=q.rangeEnd&&G!==""||q.requirePragma&&!V(G,q))return{formatted:R,cursorOffset:X.cursorOffset,comments:[]};let se;return q.rangeStart>0||q.rangeEnd<G.length?se=ue(G,q):(!q.requirePragma&&q.insertPragma&&q.printer.insertPragma&&!V(G,q)&&(G=q.printer.insertPragma(G)),se=ee(G,q)),N&&(se.formatted=le+se.formatted,se.cursorOffset>=0&&se.cursorOffset++),se}E.exports={formatWithCursor:L,parse(R,X,N){let{text:G,options:q}=ye(R,$(X)),se=I.parse(G,q);return N&&(se.ast=j(se.ast,q)),se},formatAST(R,X){X=$(X);let N=O(R,X);return A(N,X)},formatDoc(R,X){return L(C(R),Object.assign(Object.assign({},X),{},{parser:"__js_expression"})).formatted},printToDoc(R,X){X=$(X);let{ast:N,text:G}=I.parse(R,X);return J(G,N,X),O(N,X)},printDocToString(R,X){return A(R,$(X))}}}}),Ka=Xe({"src/common/util-shared.js"(m,E){S();var{getMaxContinuousCount:g,getStringWidth:A,getAlignmentSize:C,getIndentSize:y,skip:x,skipWhitespace:w,skipSpaces:k,skipNewline:_,skipToLineEnd:$,skipEverythingButNewLine:j,skipInlineComment:W,skipTrailingComment:I,hasNewline:O,hasNewlineInRange:U,hasSpaces:le,isNextLineEmpty:he,isNextLineEmptyAfterIndex:J,isPreviousLineEmpty:ee,getNextNonSpaceNonCommentCharacterIndex:ue,makeString:ge,addLeadingComment:me,addDanglingComment:ye,addTrailingComment:V}=Qi();E.exports={getMaxContinuousCount:g,getStringWidth:A,getAlignmentSize:C,getIndentSize:y,skip:x,skipWhitespace:w,skipSpaces:k,skipNewline:_,skipToLineEnd:$,skipEverythingButNewLine:j,skipInlineComment:W,skipTrailingComment:I,hasNewline:O,hasNewlineInRange:U,hasSpaces:le,isNextLineEmpty:he,isNextLineEmptyAfterIndex:J,isPreviousLineEmpty:ee,getNextNonSpaceNonCommentCharacterIndex:ue,makeString:ge,addLeadingComment:me,addDanglingComment:ye,addTrailingComment:V}}}),Ra=Xe({"src/utils/create-language.js"(m,E){S(),E.exports=function(g,A){let{languageId:C}=g,y=wr(g,Ce);return Object.assign(Object.assign({linguistLanguageId:C},y),A(g))}}}),eu=Xe({"node_modules/esutils/lib/ast.js"(m,E){S(),function(){function g(k){if(k==null)return!1;switch(k.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 A(k){if(k==null)return!1;switch(k.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function C(k){if(k==null)return!1;switch(k.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 y(k){return C(k)||k!=null&&k.type==="FunctionDeclaration"}function x(k){switch(k.type){case"IfStatement":return k.alternate!=null?k.alternate:k.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return k.body}return null}function w(k){var _;if(k.type!=="IfStatement"||k.alternate==null)return!1;_=k.consequent;do{if(_.type==="IfStatement"&&_.alternate==null)return!0;_=x(_)}while(_);return!1}E.exports={isExpression:g,isStatement:C,isIterationStatement:A,isSourceElement:y,isProblematicIfStatement:w,trailingStatement:x}}()}}),tu=Xe({"node_modules/esutils/lib/code.js"(m,E){S(),function(){var g,A,C,y,x,w;A={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]/},g={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 k(J){return 48<=J&&J<=57}function _(J){return 48<=J&&J<=57||97<=J&&J<=102||65<=J&&J<=70}function $(J){return J>=48&&J<=55}C=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function j(J){return J===32||J===9||J===11||J===12||J===160||J>=5760&&C.indexOf(J)>=0}function W(J){return J===10||J===13||J===8232||J===8233}function I(J){if(J<=65535)return String.fromCharCode(J);var ee=String.fromCharCode(Math.floor((J-65536)/1024)+55296),ue=String.fromCharCode((J-65536)%1024+56320);return ee+ue}for(y=new Array(128),w=0;w<128;++w)y[w]=w>=97&&w<=122||w>=65&&w<=90||w===36||w===95;for(x=new Array(128),w=0;w<128;++w)x[w]=w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===36||w===95;function O(J){return J<128?y[J]:A.NonAsciiIdentifierStart.test(I(J))}function U(J){return J<128?x[J]:A.NonAsciiIdentifierPart.test(I(J))}function le(J){return J<128?y[J]:g.NonAsciiIdentifierStart.test(I(J))}function he(J){return J<128?x[J]:g.NonAsciiIdentifierPart.test(I(J))}E.exports={isDecimalDigit:k,isHexDigit:_,isOctalDigit:$,isWhiteSpace:j,isLineTerminator:W,isIdentifierStartES5:O,isIdentifierPartES5:U,isIdentifierStartES6:le,isIdentifierPartES6:he}}()}}),ba=Xe({"node_modules/esutils/lib/keyword.js"(m,E){S(),function(){var g=tu();function A(O){switch(O){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function C(O,U){return!U&&O==="yield"?!1:y(O,U)}function y(O,U){if(U&&A(O))return!0;switch(O.length){case 2:return O==="if"||O==="in"||O==="do";case 3:return O==="var"||O==="for"||O==="new"||O==="try";case 4:return O==="this"||O==="else"||O==="case"||O==="void"||O==="with"||O==="enum";case 5:return O==="while"||O==="break"||O==="catch"||O==="throw"||O==="const"||O==="yield"||O==="class"||O==="super";case 6:return O==="return"||O==="typeof"||O==="delete"||O==="switch"||O==="export"||O==="import";case 7:return O==="default"||O==="finally"||O==="extends";case 8:return O==="function"||O==="continue"||O==="debugger";case 10:return O==="instanceof";default:return!1}}function x(O,U){return O==="null"||O==="true"||O==="false"||C(O,U)}function w(O,U){return O==="null"||O==="true"||O==="false"||y(O,U)}function k(O){return O==="eval"||O==="arguments"}function _(O){var U,le,he;if(O.length===0||(he=O.charCodeAt(0),!g.isIdentifierStartES5(he)))return!1;for(U=1,le=O.length;U<le;++U)if(he=O.charCodeAt(U),!g.isIdentifierPartES5(he))return!1;return!0}function $(O,U){return(O-55296)*1024+(U-56320)+65536}function j(O){var U,le,he,J,ee;if(O.length===0)return!1;for(ee=g.isIdentifierStartES6,U=0,le=O.length;U<le;++U){if(he=O.charCodeAt(U),55296<=he&&he<=56319){if(++U,U>=le||(J=O.charCodeAt(U),!(56320<=J&&J<=57343)))return!1;he=$(he,J)}if(!ee(he))return!1;ee=g.isIdentifierPartES6}return!0}function W(O,U){return _(O)&&!x(O,U)}function I(O,U){return j(O)&&!w(O,U)}E.exports={isKeywordES5:C,isKeywordES6:y,isReservedWordES5:x,isReservedWordES6:w,isRestrictedWord:k,isIdentifierNameES5:_,isIdentifierNameES6:j,isIdentifierES5:W,isIdentifierES6:I}}()}}),ma=Xe({"node_modules/esutils/lib/utils.js"(m){S(),function(){m.ast=eu(),m.code=tu(),m.keyword=ba()}()}}),ga=Xe({"src/language-js/utils/is-block-comment.js"(m,E){S();var g=new Set(["Block","CommentBlock","MultiLine"]),A=C=>g.has(C==null?void 0:C.type);E.exports=A}}),Ca=Xe({"src/language-js/utils/is-node-matches.js"(m,E){S();function g(C,y){let x=y.split(".");for(let w=x.length-1;w>=0;w--){let k=x[w];if(w===0)return C.type==="Identifier"&&C.name===k;if(C.type!=="MemberExpression"||C.optional||C.computed||C.property.type!=="Identifier"||C.property.name!==k)return!1;C=C.object}}function A(C,y){return y.some(x=>g(C,x))}E.exports=A}}),hs=Xe({"src/language-js/utils/index.js"(m,E){S();var g=ma().keyword.isIdentifierNameES5,{getLast:A,hasNewline:C,skipWhitespace:y,isNonEmptyArray:x,isNextLineEmptyAfterIndex:w,getStringWidth:k}=Qi(),{locStart:_,locEnd:$,hasSameLocStart:j}=gs(),W=ga(),I=Ca(),O="(?:(?=.)\\s)",U=new RegExp("^".concat(O,"*:")),le=new RegExp("^".concat(O,"*::"));function he(Be){var er,Tn;return((er=Be.extra)===null||er===void 0?void 0:er.parenthesized)&&W((Tn=Be.trailingComments)===null||Tn===void 0?void 0:Tn[0])&&U.test(Be.trailingComments[0].value)}function J(Be){let er=Be==null?void 0:Be[0];return W(er)&&le.test(er.value)}function ee(Be,er){if(!Be||typeof Be!="object")return!1;if(Array.isArray(Be))return Be.some(Pi=>ee(Pi,er));let Tn=er(Be);return typeof Tn=="boolean"?Tn:Object.values(Be).some(Pi=>ee(Pi,er))}function ue(Be){return Be.type==="AssignmentExpression"||Be.type==="BinaryExpression"||Be.type==="LogicalExpression"||Be.type==="NGPipeExpression"||Be.type==="ConditionalExpression"||rr(Be)||gr(Be)||Be.type==="SequenceExpression"||Be.type==="TaggedTemplateExpression"||Be.type==="BindExpression"||Be.type==="UpdateExpression"&&!Be.prefix||Be.type==="TSAsExpression"||Be.type==="TSNonNullExpression"}function ge(Be){var er,Tn,Pi,_i,ds,bs;return Be.expressions?Be.expressions[0]:(er=(Tn=(Pi=(_i=(ds=(bs=Be.left)!==null&&bs!==void 0?bs:Be.test)!==null&&ds!==void 0?ds:Be.callee)!==null&&_i!==void 0?_i:Be.object)!==null&&Pi!==void 0?Pi:Be.tag)!==null&&Tn!==void 0?Tn:Be.argument)!==null&&er!==void 0?er:Be.expression}function me(Be,er){if(er.expressions)return["expressions",0];if(er.left)return["left"];if(er.test)return["test"];if(er.object)return["object"];if(er.callee)return["callee"];if(er.tag)return["tag"];if(er.argument)return["argument"];if(er.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function ye(Be){return Be=new Set(Be),er=>Be.has(er==null?void 0:er.type)}var V=ye(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),L=ye(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function R(Be){let er=Be.getParentNode();return Be.getName()==="declaration"&&L(er)?er:null}var X=ye(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function N(Be){return Be.type==="NumericLiteral"||Be.type==="Literal"&&typeof Be.value=="number"}function G(Be){return Be.type==="UnaryExpression"&&(Be.operator==="+"||Be.operator==="-")&&N(Be.argument)}function q(Be){return Be.type==="StringLiteral"||Be.type==="Literal"&&typeof Be.value=="string"}var se=ye(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),te=ye(["FunctionExpression","ArrowFunctionExpression"]);function ne(Be){return Be.type==="FunctionExpression"||Be.type==="ArrowFunctionExpression"&&Be.body.type==="BlockStatement"}function be(Be){return rr(Be)&&Be.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(Be.callee.name)}var je=ye(["JSXElement","JSXFragment"]);function Pe(Be,er){if(Be.parentParser!=="markdown"&&Be.parentParser!=="mdx")return!1;let Tn=er.getNode();if(!Tn.expression||!je(Tn.expression))return!1;let Pi=er.getParentNode();return Pi.type==="Program"&&Pi.body.length===1}function Ge(Be){return Be.kind==="get"||Be.kind==="set"}function We(Be){return Ge(Be)||j(Be,Be.value)}function Me(Be){return(Be.type==="ObjectTypeProperty"||Be.type==="ObjectTypeInternalSlot")&&Be.value.type==="FunctionTypeAnnotation"&&!Be.static&&!We(Be)}function yt(Be){return(Be.type==="TypeAnnotation"||Be.type==="TSTypeAnnotation")&&Be.typeAnnotation.type==="FunctionTypeAnnotation"&&!Be.static&&!j(Be,Be.typeAnnotation)}var qe=ye(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Ve(Be){return gr(Be)||Be.type==="BindExpression"&&Boolean(Be.object)}var bt=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 Tt(Be){return Be?!!((Be.type==="GenericTypeAnnotation"||Be.type==="TSTypeReference")&&!Be.typeParameters||bt.has(Be.type)):!1}function Ct(Be){let er=/^(?:before|after)(?:Each|All)$/;return Be.callee.type==="Identifier"&&er.test(Be.callee.name)&&Be.arguments.length===1}var hr=["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 $e(Be){return I(Be,hr)}function nt(Be,er){if(Be.type!=="CallExpression")return!1;if(Be.arguments.length===1){if(be(Be)&&er&&nt(er))return te(Be.arguments[0]);if(Ct(Be))return be(Be.arguments[0])}else if((Be.arguments.length===2||Be.arguments.length===3)&&(Be.arguments[0].type==="TemplateLiteral"||q(Be.arguments[0]))&&$e(Be.callee))return Be.arguments[2]&&!N(Be.arguments[2])?!1:(Be.arguments.length===2?te(Be.arguments[1]):ne(Be.arguments[1])&&Fe(Be.arguments[1]).length<=1)||be(Be.arguments[1]);return!1}var rr=ye(["CallExpression","OptionalCallExpression"]),gr=ye(["MemberExpression","OptionalMemberExpression"]);function Zt(Be){let er="expressions";Be.type==="TSTemplateLiteralType"&&(er="types");let Tn=Be[er];return Tn.length===0?!1:Tn.every(Pi=>{if(ft(Pi))return!1;if(Pi.type==="Identifier"||Pi.type==="ThisExpression")return!0;if(gr(Pi)){let _i=Pi;for(;gr(_i);)if(_i.property.type!=="Identifier"&&_i.property.type!=="Literal"&&_i.property.type!=="StringLiteral"&&_i.property.type!=="NumericLiteral"||(_i=_i.object,ft(_i)))return!1;return _i.type==="Identifier"||_i.type==="ThisExpression"}return!1})}function tt(Be,er){return Be==="+"||Be==="-"?Be+er:er}function ot(Be,er){let Tn=_(er),Pi=y(Be,$(er));return Pi!==!1&&Be.slice(Tn,Tn+2)==="/*"&&Be.slice(Pi,Pi+2)==="*/"}function pt(Be,er){return je(er)?Xr(er):ft(er,Fr.Leading,Tn=>C(Be,$(Tn)))}function lr(Be,er){return er.parser!=="json"&&q(Be.key)&&Yr(Be.key).slice(1,-1)===Be.key.value&&(g(Be.key.value)&&!(er.parser==="babel-ts"&&Be.type==="ClassProperty"||er.parser==="typescript"&&Be.type==="PropertyDefinition")||Yt(Be.key.value)&&String(Number(Be.key.value))===Be.key.value&&(er.parser==="babel"||er.parser==="acorn"||er.parser==="espree"||er.parser==="meriyah"||er.parser==="__babel_estree"))}function Yt(Be){return/^(?:\d+|\d+\.\d+)$/.test(Be)}function ln(Be,er){let Tn=/^[fx]?(?:describe|it|test)$/;return er.type==="TaggedTemplateExpression"&&er.quasi===Be&&er.tag.type==="MemberExpression"&&er.tag.property.type==="Identifier"&&er.tag.property.name==="each"&&(er.tag.object.type==="Identifier"&&Tn.test(er.tag.object.name)||er.tag.object.type==="MemberExpression"&&er.tag.object.property.type==="Identifier"&&(er.tag.object.property.name==="only"||er.tag.object.property.name==="skip")&&er.tag.object.object.type==="Identifier"&&Tn.test(er.tag.object.object.name))}function si(Be){return Be.quasis.some(er=>er.value.raw.includes(`
|
|
69
|
-
`))}function fi(Be,er){return(Be.type==="TemplateLiteral"&&si(Be)||Be.type==="TaggedTemplateExpression"&&si(Be.quasi))&&!C(er,_(Be),{backwards:!0})}function dr(Be){if(!ft(Be))return!1;let er=A(Pn(Be,Fr.Dangling));return er&&!W(er)}function fr(Be){if(Be.length<=1)return!1;let er=0;for(let Tn of Be)if(te(Tn)){if(er+=1,er>1)return!0}else if(rr(Tn)){for(let Pi of Tn.arguments)if(te(Pi))return!0}return!1}function Tr(Be){let er=Be.getValue(),Tn=Be.getParentNode();return rr(er)&&rr(Tn)&&Tn.callee===er&&er.arguments.length>Tn.arguments.length&&Tn.arguments.length>0}function It(Be,er){if(er>=2)return!1;let Tn=_i=>It(_i,er+1),Pi=Be.type==="Literal"&&"regex"in Be&&Be.regex.pattern||Be.type==="RegExpLiteral"&&Be.pattern;return Pi&&k(Pi)>5?!1:Be.type==="Literal"||Be.type==="BigIntLiteral"||Be.type==="DecimalLiteral"||Be.type==="BooleanLiteral"||Be.type==="NullLiteral"||Be.type==="NumericLiteral"||Be.type==="RegExpLiteral"||Be.type==="StringLiteral"||Be.type==="Identifier"||Be.type==="ThisExpression"||Be.type==="Super"||Be.type==="PrivateName"||Be.type==="PrivateIdentifier"||Be.type==="ArgumentPlaceholder"||Be.type==="Import"?!0:Be.type==="TemplateLiteral"?Be.quasis.every(_i=>!_i.value.raw.includes(`
|
|
70
|
-
`))&&Be.expressions.every(Tn):Be.type==="ObjectExpression"?Be.properties.every(_i=>!_i.computed&&(_i.shorthand||_i.value&&Tn(_i.value))):Be.type==="ArrayExpression"?Be.elements.every(_i=>_i===null||Tn(_i)):Ei(Be)?(Be.type==="ImportExpression"||It(Be.callee,er))&&or(Be).every(Tn):gr(Be)?It(Be.object,er)&&It(Be.property,er):Be.type==="UnaryExpression"&&(Be.operator==="!"||Be.operator==="-")?It(Be.argument,er):Be.type==="TSNonNullExpression"?It(Be.expression,er):!1}function Yr(Be){var er,Tn;return(er=(Tn=Be.extra)===null||Tn===void 0?void 0:Tn.raw)!==null&&er!==void 0?er:Be.raw}function ht(Be){return Be}function Wr(Be){return Be.filepath&&/\.tsx$/i.test(Be.filepath)}function jr(Be){let er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return Be.trailingComma==="es5"&&er==="es5"||Be.trailingComma==="all"&&(er==="all"||er==="es5")}function e(Be,er){switch(Be=F(Be),Be.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return er;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(Be.object,er);case"TaggedTemplateExpression":return Be.tag.type==="FunctionExpression"?!1:e(Be.tag,er);case"CallExpression":case"OptionalCallExpression":return Be.callee.type==="FunctionExpression"?!1:e(Be.callee,er);case"ConditionalExpression":return e(Be.test,er);case"UpdateExpression":return!Be.prefix&&e(Be.argument,er);case"BindExpression":return Be.object&&e(Be.object,er);case"SequenceExpression":return e(Be.expressions[0],er);case"TSAsExpression":case"TSNonNullExpression":return e(Be.expression,er);default:return!1}}var r={"==":!0,"!=":!0,"===":!0,"!==":!0},o={"*":!0,"/":!0,"%":!0},a={">>":!0,">>>":!0,"<<":!0};function s(Be,er){return!(d(er)!==d(Be)||Be==="**"||r[Be]&&r[er]||er==="%"&&o[Be]||Be==="%"&&o[er]||er!==Be&&o[er]&&o[Be]||a[Be]&&a[er])}var h=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((Be,er)=>Be.map(Tn=>[Tn,er])));function d(Be){return h.get(Be)}function F(Be){for(;Be.left;)Be=Be.left;return Be}function M(Be){return Boolean(a[Be])||Be==="|"||Be==="^"||Be==="&"}function H(Be){var er;if(Be.rest)return!0;let Tn=Fe(Be);return((er=A(Tn))===null||er===void 0?void 0:er.type)==="RestElement"}var Ne=new WeakMap;function Fe(Be){if(Ne.has(Be))return Ne.get(Be);let er=[];return Be.this&&er.push(Be.this),Array.isArray(Be.parameters)?er.push(...Be.parameters):Array.isArray(Be.params)&&er.push(...Be.params),Be.rest&&er.push(Be.rest),Ne.set(Be,er),er}function kt(Be,er){let Tn=Be.getValue(),Pi=0,_i=ds=>er(ds,Pi++);Tn.this&&Be.call(_i,"this"),Array.isArray(Tn.parameters)?Be.each(_i,"parameters"):Array.isArray(Tn.params)&&Be.each(_i,"params"),Tn.rest&&Be.call(_i,"rest")}var Qe=new WeakMap;function or(Be){if(Qe.has(Be))return Qe.get(Be);let er=Be.arguments;return Be.type==="ImportExpression"&&(er=[Be.source],Be.attributes&&er.push(Be.attributes)),Qe.set(Be,er),er}function qt(Be,er){let Tn=Be.getValue();Tn.type==="ImportExpression"?(Be.call(Pi=>er(Pi,0),"source"),Tn.attributes&&Be.call(Pi=>er(Pi,1),"attributes")):Be.each(er,"arguments")}function xr(Be){return Be.value.trim()==="prettier-ignore"&&!Be.unignore}function Xr(Be){return Be&&(Be.prettierIgnore||ft(Be,Fr.PrettierIgnore))}function cr(Be){let er=Be.getValue();return Xr(er)}var Fr={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},Zr=(Be,er)=>{if(typeof Be=="function"&&(er=Be,Be=0),Be||er)return(Tn,Pi,_i)=>!(Be&Fr.Leading&&!Tn.leading||Be&Fr.Trailing&&!Tn.trailing||Be&Fr.Dangling&&(Tn.leading||Tn.trailing)||Be&Fr.Block&&!W(Tn)||Be&Fr.Line&&!V(Tn)||Be&Fr.First&&Pi!==0||Be&Fr.Last&&Pi!==_i.length-1||Be&Fr.PrettierIgnore&&!xr(Tn)||er&&!er(Tn))};function ft(Be,er,Tn){if(!x(Be==null?void 0:Be.comments))return!1;let Pi=Zr(er,Tn);return Pi?Be.comments.some(Pi):!0}function Pn(Be,er,Tn){if(!Array.isArray(Be==null?void 0:Be.comments))return[];let Pi=Zr(er,Tn);return Pi?Be.comments.filter(Pi):Be.comments}var qn=(Be,er)=>{let{originalText:Tn}=er;return w(Tn,$(Be))};function Ei(Be){return rr(Be)||Be.type==="NewExpression"||Be.type==="ImportExpression"}function Ns(Be){return Be&&(Be.type==="ObjectProperty"||Be.type==="Property"&&!Be.method&&Be.kind==="init")}function fs(Be){return Boolean(Be.__isUsingHackPipeline)}var ca=Symbol("ifWithoutBlockAndSameLineComment");E.exports={getFunctionParameters:Fe,iterateFunctionParametersPath:kt,getCallArguments:or,iterateCallArgumentsPath:qt,hasRestParameter:H,getLeftSide:ge,getLeftSidePathName:me,getParentExportDeclaration:R,getTypeScriptMappedTypeModifier:tt,hasFlowAnnotationComment:J,hasFlowShorthandAnnotationComment:he,hasLeadingOwnLineComment:pt,hasNakedLeftSide:ue,hasNode:ee,hasIgnoreComment:cr,hasNodeIgnoreComment:Xr,identity:ht,isBinaryish:qe,isCallLikeExpression:Ei,isEnabledHackPipeline:fs,isLineComment:V,isPrettierIgnoreComment:xr,isCallExpression:rr,isMemberExpression:gr,isExportDeclaration:L,isFlowAnnotationComment:ot,isFunctionCompositionArgs:fr,isFunctionNotation:We,isFunctionOrArrowExpression:te,isGetterOrSetter:Ge,isJestEachTemplateLiteral:ln,isJsxNode:je,isLiteral:X,isLongCurriedCallExpression:Tr,isSimpleCallArgument:It,isMemberish:Ve,isNumericLiteral:N,isSignedNumericLiteral:G,isObjectProperty:Ns,isObjectType:se,isObjectTypePropertyAFunction:Me,isSimpleType:Tt,isSimpleNumber:Yt,isSimpleTemplateLiteral:Zt,isStringLiteral:q,isStringPropSafeToUnquote:lr,isTemplateOnItsOwnLine:fi,isTestCall:nt,isTheOnlyJsxElementInMarkdown:Pe,isTSXFile:Wr,isTypeAnnotationAFunction:yt,isNextLineEmpty:qn,needsHardlineAfterDanglingComment:dr,rawText:Yr,shouldPrintComma:jr,isBitwiseOperator:M,shouldFlatten:s,startsWithNoLookaheadToken:e,getPrecedence:d,hasComment:ft,getComments:Pn,CommentCheckFlags:Fr,markerForIfWithoutBlockAndSameLineComment:ca}}}),za=Xe({"src/language-js/print/template-literal.js"(m,E){S();var g=es(),{getStringWidth:A,getIndentSize:C}=Qi(),{builders:{join:y,hardline:x,softline:w,group:k,indent:_,align:$,lineSuffixBoundary:j,addAlignmentToDoc:W},printer:{printDocToString:I},utils:{mapDoc:O}}=wi(),{isBinaryish:U,isJestEachTemplateLiteral:le,isSimpleTemplateLiteral:he,hasComment:J,isMemberExpression:ee}=hs();function ue(R,X,N){let G=R.getValue();if(G.type==="TemplateLiteral"&&le(G,R.getParentNode())){let be=ge(R,N,X);if(be)return be}let q="expressions";G.type==="TSTemplateLiteralType"&&(q="types");let se=[],te=R.map(X,q),ne=he(G);return ne&&(te=te.map(be=>I(be,Object.assign(Object.assign({},N),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),se.push(j,"`"),R.each(be=>{let je=be.getName();if(se.push(X()),je<te.length){let{tabWidth:Pe}=N,Ge=be.getValue(),We=C(Ge.value.raw,Pe),Me=te[je];if(!ne){let qe=G[q][je];(J(qe)||ee(qe)||qe.type==="ConditionalExpression"||qe.type==="SequenceExpression"||qe.type==="TSAsExpression"||U(qe))&&(Me=[_([w,Me]),w])}let yt=We===0&&Ge.value.raw.endsWith(`
|
|
71
|
-
`)?$(Number.NEGATIVE_INFINITY,Me):W(Me,We,Pe);se.push(k(["${",yt,j,"}"]))}},"quasis"),se.push("`"),se}function ge(R,X,N){let G=R.getNode(),q=G.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(q.length>1||q.some(se=>se.length>0)){X.__inJestEach=!0;let se=R.map(N,"expressions");X.__inJestEach=!1;let te=[],ne=se.map(We=>"${"+I(We,Object.assign(Object.assign({},X),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),be=[{hasLineBreak:!1,cells:[]}];for(let We=1;We<G.quasis.length;We++){let Me=g(be),yt=ne[We-1];Me.cells.push(yt),yt.includes(`
|
|
72
|
-
`)&&(Me.hasLineBreak=!0),G.quasis[We].value.raw.includes(`
|
|
73
|
-
`)&&be.push({hasLineBreak:!1,cells:[]})}let je=Math.max(q.length,...be.map(We=>We.cells.length)),Pe=Array.from({length:je}).fill(0),Ge=[{cells:q},...be.filter(We=>We.cells.length>0)];for(let{cells:We}of Ge.filter(Me=>!Me.hasLineBreak))for(let[Me,yt]of We.entries())Pe[Me]=Math.max(Pe[Me],A(yt));return te.push(j,"`",_([x,y(x,Ge.map(We=>y(" | ",We.cells.map((Me,yt)=>We.hasLineBreak?Me:Me+" ".repeat(Pe[yt]-A(Me))))))]),x,"`"),te}}function me(R,X){let N=R.getValue(),G=X();return J(N)&&(G=k([_([w,G]),w])),["${",G,j,"}"]}function ye(R,X){return R.map(N=>me(N,X),"expressions")}function V(R,X){return O(R,N=>typeof N=="string"?X?N.replace(/(\\*)`/g,"$1$1\\`"):L(N):N)}function L(R){return R.replace(/([\\`]|\${)/g,"\\$1")}E.exports={printTemplateLiteral:ue,printTemplateExpressions:ye,escapeTemplateCharacters:V,uncookTemplateElementValue:L}}}),Co=Xe({"src/language-js/embed/markdown.js"(m,E){S();var{builders:{indent:g,softline:A,literalline:C,dedentToRoot:y}}=wi(),{escapeTemplateCharacters:x}=za();function w(_,$,j){let W=_.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(le,he)=>"\\".repeat(he.length/2)+"`"),I=k(W),O=I!=="";O&&(W=W.replace(new RegExp("^".concat(I),"gm"),""));let U=x(j(W,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",O?g([A,U]):[C,y(U)],A,"`"]}function k(_){let $=_.match(/^([^\S\n]*)\S/m);return $===null?"":$[1]}E.exports=w}}),Eu=Xe({"src/language-js/embed/css.js"(m,E){S();var{isNonEmptyArray:g}=Qi(),{builders:{indent:A,hardline:C,softline:y},utils:{mapDoc:x,replaceEndOfLine:w,cleanDoc:k}}=wi(),{printTemplateExpressions:_}=za();function $(I,O,U){let le=I.getValue(),he=le.quasis.map(me=>me.value.raw),J=0,ee=he.reduce((me,ye,V)=>V===0?ye:me+"@prettier-placeholder-"+J+++"-id"+ye,""),ue=U(ee,{parser:"scss"},{stripTrailingHardline:!0}),ge=_(I,O);return j(ue,le,ge)}function j(I,O,U){if(O.quasis.length===1&&!O.quasis[0].value.raw.trim())return"``";let le=W(I,U);if(!le)throw new Error("Couldn't insert all the expressions");return["`",A([C,le]),y,"`"]}function W(I,O){if(!g(O))return I;let U=0,le=x(k(I),he=>typeof he!="string"||!he.includes("@prettier-placeholder")?he:he.split(/@prettier-placeholder-(\d+)-id/).map((J,ee)=>ee%2===0?w(J):(U++,O[J])));return O.length===U?le:null}E.exports=$}}),no=Xe({"src/language-js/embed/graphql.js"(m,E){S();var{builders:{indent:g,join:A,hardline:C}}=wi(),{escapeTemplateCharacters:y,printTemplateExpressions:x}=za();function w(_,$,j){let W=_.getValue(),I=W.quasis.length;if(I===1&&W.quasis[0].value.raw.trim()==="")return"``";let O=x(_,$),U=[];for(let le=0;le<I;le++){let he=W.quasis[le],J=le===0,ee=le===I-1,ue=he.value.cooked,ge=ue.split(`
|
|
74
|
-
`),me=ge.length,ye=O[le],V=me>2&&ge[0].trim()===""&&ge[1].trim()==="",L=me>2&&ge[me-1].trim()===""&&ge[me-2].trim()==="",R=ge.every(N=>/^\s*(?:#[^\n\r]*)?$/.test(N));if(!ee&&/#[^\n\r]*$/.test(ge[me-1]))return null;let X=null;R?X=k(ge):X=j(ue,{parser:"graphql"},{stripTrailingHardline:!0}),X?(X=y(X,!1),!J&&V&&U.push(""),U.push(X),!ee&&L&&U.push("")):!J&&!ee&&V&&U.push(""),ye&&U.push(ye)}return["`",g([C,A(C,U)]),C,"`"]}function k(_){let $=[],j=!1,W=_.map(I=>I.trim());for(let[I,O]of W.entries())O!==""&&(W[I-1]===""&&j?$.push([C,O]):$.push(O),j=!0);return $.length===0?null:A(C,$)}E.exports=w}}),yo=Xe({"src/language-js/embed/html.js"(m,E){S();var{builders:{indent:g,line:A,hardline:C,group:y},utils:{mapDoc:x}}=wi(),{printTemplateExpressions:w,uncookTemplateElementValue:k}=za(),_=0;function $(j,W,I,O,U){let{parser:le}=U,he=j.getValue(),J=_;_=_+1>>>0;let ee=G=>"PRETTIER_HTML_PLACEHOLDER_".concat(G,"_").concat(J,"_IN_JS"),ue=he.quasis.map((G,q,se)=>q===se.length-1?G.value.cooked:G.value.cooked+ee(q)).join(""),ge=w(j,W);if(ge.length===0&&ue.trim().length===0)return"``";let me=new RegExp(ee("(\\d+)"),"g"),ye=0,V=I(ue,{parser:le,__onHtmlRoot(G){ye=G.children.length}},{stripTrailingHardline:!0}),L=x(V,G=>{if(typeof G!="string")return G;let q=[],se=G.split(me);for(let te=0;te<se.length;te++){let ne=se[te];if(te%2===0){ne&&(ne=k(ne),O.__embeddedInHtml&&(ne=ne.replace(/<\/(script)\b/gi,"<\\/$1")),q.push(ne));continue}let be=Number(ne);q.push(ge[be])}return q}),R=/^\s/.test(ue)?" ":"",X=/\s$/.test(ue)?" ":"",N=O.htmlWhitespaceSensitivity==="ignore"?C:R&&X?A:null;return y(N?["`",g([N,y(L)]),N,"`"]:["`",R,ye>1?g(y(L)):y(L),X,"`"])}E.exports=$}}),Ru=Xe({"src/language-js/embed.js"(m,E){S();var{hasComment:g,CommentCheckFlags:A,isObjectProperty:C}=hs(),y=Co(),x=Eu(),w=no(),k=yo();function _(V){if(W(V)||le(V)||he(V)||I(V))return"css";if(ue(V))return"graphql";if(me(V))return"html";if(O(V))return"angular";if(j(V))return"markdown"}function $(V,L,R,X){let N=V.getValue();if(N.type!=="TemplateLiteral"||ye(N))return;let G=_(V);if(G){if(G==="markdown")return y(V,L,R);if(G==="css")return x(V,L,R);if(G==="graphql")return w(V,L,R);if(G==="html"||G==="angular")return k(V,L,R,X,{parser:G})}}function j(V){let L=V.getValue(),R=V.getParentNode();return R&&R.type==="TaggedTemplateExpression"&&L.quasis.length===1&&R.tag.type==="Identifier"&&(R.tag.name==="md"||R.tag.name==="markdown")}function W(V){let L=V.getValue(),R=V.getParentNode(),X=V.getParentNode(1);return X&&L.quasis&&R.type==="JSXExpressionContainer"&&X.type==="JSXElement"&&X.openingElement.name.name==="style"&&X.openingElement.attributes.some(N=>N.name.name==="jsx")||R&&R.type==="TaggedTemplateExpression"&&R.tag.type==="Identifier"&&R.tag.name==="css"||R&&R.type==="TaggedTemplateExpression"&&R.tag.type==="MemberExpression"&&R.tag.object.name==="css"&&(R.tag.property.name==="global"||R.tag.property.name==="resolve")}function I(V){return V.match(L=>L.type==="TemplateLiteral",(L,R)=>L.type==="ArrayExpression"&&R==="elements",(L,R)=>C(L)&&L.key.type==="Identifier"&&L.key.name==="styles"&&R==="value",...U)}function O(V){return V.match(L=>L.type==="TemplateLiteral",(L,R)=>C(L)&&L.key.type==="Identifier"&&L.key.name==="template"&&R==="value",...U)}var U=[(V,L)=>V.type==="ObjectExpression"&&L==="properties",(V,L)=>V.type==="CallExpression"&&V.callee.type==="Identifier"&&V.callee.name==="Component"&&L==="arguments",(V,L)=>V.type==="Decorator"&&L==="expression"];function le(V){let L=V.getParentNode();if(!L||L.type!=="TaggedTemplateExpression")return!1;let R=L.tag.type==="ParenthesizedExpression"?L.tag.expression:L.tag;switch(R.type){case"MemberExpression":return J(R.object)||ee(R);case"CallExpression":return J(R.callee)||R.callee.type==="MemberExpression"&&(R.callee.object.type==="MemberExpression"&&(J(R.callee.object.object)||ee(R.callee.object))||R.callee.object.type==="CallExpression"&&J(R.callee.object.callee));case"Identifier":return R.name==="css";default:return!1}}function he(V){let L=V.getParentNode(),R=V.getParentNode(1);return R&&L.type==="JSXExpressionContainer"&&R.type==="JSXAttribute"&&R.name.type==="JSXIdentifier"&&R.name.name==="css"}function J(V){return V.type==="Identifier"&&V.name==="styled"}function ee(V){return/^[A-Z]/.test(V.object.name)&&V.property.name==="extend"}function ue(V){let L=V.getValue(),R=V.getParentNode();return ge(L,"GraphQL")||R&&(R.type==="TaggedTemplateExpression"&&(R.tag.type==="MemberExpression"&&R.tag.object.name==="graphql"&&R.tag.property.name==="experimental"||R.tag.type==="Identifier"&&(R.tag.name==="gql"||R.tag.name==="graphql"))||R.type==="CallExpression"&&R.callee.type==="Identifier"&&R.callee.name==="graphql")}function ge(V,L){return g(V,A.Block|A.Leading,R=>{let{value:X}=R;return X===" ".concat(L," ")})}function me(V){return ge(V.getValue(),"HTML")||V.match(L=>L.type==="TemplateLiteral",(L,R)=>L.type==="TaggedTemplateExpression"&&L.tag.type==="Identifier"&&L.tag.name==="html"&&R==="quasi")}function ye(V){let{quasis:L}=V;return L.some(R=>{let{value:{cooked:X}}=R;return X===null})}E.exports=$}}),Mo=Xe({"src/language-js/clean.js"(m,E){S();var g=ga(),A=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),C=x=>{for(let w of x.quasis)delete w.value};function y(x,w,k){if(x.type==="Program"&&delete w.sourceType,(x.type==="BigIntLiteral"||x.type==="BigIntLiteralTypeAnnotation")&&w.value&&(w.value=w.value.toLowerCase()),(x.type==="BigIntLiteral"||x.type==="Literal")&&w.bigint&&(w.bigint=w.bigint.toLowerCase()),x.type==="DecimalLiteral"&&(w.value=Number(w.value)),x.type==="Literal"&&w.decimal&&(w.decimal=Number(w.decimal)),x.type==="EmptyStatement"||x.type==="JSXText"||x.type==="JSXExpressionContainer"&&(x.expression.type==="Literal"||x.expression.type==="StringLiteral")&&x.expression.value===" ")return null;if((x.type==="Property"||x.type==="ObjectProperty"||x.type==="MethodDefinition"||x.type==="ClassProperty"||x.type==="ClassMethod"||x.type==="PropertyDefinition"||x.type==="TSDeclareMethod"||x.type==="TSPropertySignature"||x.type==="ObjectTypeProperty")&&typeof x.key=="object"&&x.key&&(x.key.type==="Literal"||x.key.type==="NumericLiteral"||x.key.type==="StringLiteral"||x.key.type==="Identifier")&&delete w.key,x.type==="JSXElement"&&x.openingElement.name.name==="style"&&x.openingElement.attributes.some(j=>j.name.name==="jsx"))for(let{type:j,expression:W}of w.children)j==="JSXExpressionContainer"&&W.type==="TemplateLiteral"&&C(W);x.type==="JSXAttribute"&&x.name.name==="css"&&x.value.type==="JSXExpressionContainer"&&x.value.expression.type==="TemplateLiteral"&&C(w.value.expression),x.type==="JSXAttribute"&&x.value&&x.value.type==="Literal"&&/["']|"|'/.test(x.value.value)&&(w.value.value=w.value.value.replace(/["']|"|'/g,'"'));let _=x.expression||x.callee;if(x.type==="Decorator"&&_.type==="CallExpression"&&_.callee.name==="Component"&&_.arguments.length===1){let j=x.expression.arguments[0].properties;for(let[W,I]of w.expression.arguments[0].properties.entries())switch(j[W].key.name){case"styles":I.value.type==="ArrayExpression"&&C(I.value.elements[0]);break;case"template":I.value.type==="TemplateLiteral"&&C(I.value);break}}if(x.type==="TaggedTemplateExpression"&&(x.tag.type==="MemberExpression"||x.tag.type==="Identifier"&&(x.tag.name==="gql"||x.tag.name==="graphql"||x.tag.name==="css"||x.tag.name==="md"||x.tag.name==="markdown"||x.tag.name==="html")||x.tag.type==="CallExpression")&&C(w.quasi),x.type==="TemplateLiteral"){var $;((($=x.leadingComments)===null||$===void 0?void 0:$.some(j=>g(j)&&["GraphQL","HTML"].some(W=>j.value===" ".concat(W," "))))||k.type==="CallExpression"&&k.callee.name==="graphql"||!x.leadingComments)&&C(w)}if(x.type==="InterpreterDirective"&&(w.value=w.value.trimEnd()),(x.type==="TSIntersectionType"||x.type==="TSUnionType")&&x.types.length===1)return w.types[0]}y.ignoredProperties=A,E.exports=y}}),ru={};ys(ru,{EOL:()=>so,arch:()=>vl,cpus:()=>Ao,default:()=>ao,endianness:()=>Eo,freemem:()=>Oa,getNetworkInterfaces:()=>Au,hostname:()=>nu,loadavg:()=>iu,networkInterfaces:()=>al,platform:()=>zu,release:()=>Do,tmpDir:()=>su,tmpdir:()=>wo,totalmem:()=>Ua,type:()=>Ya,uptime:()=>jo});function Eo(){if(typeof io>"u"){var m=new ArrayBuffer(2),E=new Uint8Array(m),g=new Uint16Array(m);if(E[0]=1,E[1]=2,g[0]===258)io="BE";else if(g[0]===513)io="LE";else throw new Error("unable to figure out endianess")}return io}function nu(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function iu(){return[]}function jo(){return 0}function Oa(){return Number.MAX_VALUE}function Ua(){return Number.MAX_VALUE}function Ao(){return[]}function Ya(){return"Browser"}function Do(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function al(){}function Au(){}function vl(){return"javascript"}function zu(){return"browser"}function su(){return"/tmp"}var io,wo,so,ao,wu=yi({"node-modules-polyfills:os"(){S(),wo=su,so=`
|
|
75
|
-
`,ao={EOL:so,tmpdir:wo,tmpDir:su,networkInterfaces:al,getNetworkInterfaces:Au,release:Do,type:Ya,cpus:Ao,totalmem:Ua,freemem:Oa,uptime:jo,loadavg:iu,hostname:nu,endianness:Eo}}}),Tu=Xe({"node-modules-polyfills-commonjs:os"(m,E){S();var g=(wu(),ti(ru));if(g&&g.default){E.exports=g.default;for(let A in g)E.exports[A]=g[A]}else g&&(E.exports=g)}}),ol=Xe({"node_modules/detect-newline/index.js"(m,E){S();var g=A=>{if(typeof A!="string")throw new TypeError("Expected a string");let C=A.match(/(?:\r?\n)/g)||[];if(C.length===0)return;let y=C.filter(w=>w===`\r
|
|
76
|
-
`).length,x=C.length-y;return y>x?`\r
|
|
77
|
-
`:`
|
|
78
|
-
`};E.exports=g,E.exports.graceful=A=>typeof A=="string"&&g(A)||`
|
|
79
|
-
`}}),oo=Xe({"node_modules/jest-docblock/build/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=I,m.parse=U,m.parseWithComments=le,m.print=he,m.strip=O;function E(){let ee=Tu();return E=function(){return ee},ee}function g(){let ee=A(ol());return g=function(){return ee},ee}function A(ee){return ee&&ee.__esModule?ee:{default:ee}}var C=/\*\/$/,y=/^\/\*\*/,x=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,w=/(^|\s+)\/\/([^\r\n]*)/g,k=/^(\r?\n)+/,_=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,$=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,j=/(\r?\n|^) *\* ?/g,W=[];function I(ee){let ue=ee.match(x);return ue?ue[0].trimLeft():""}function O(ee){let ue=ee.match(x);return ue&&ue[0]?ee.substring(ue[0].length):ee}function U(ee){return le(ee).pragmas}function le(ee){let ue=(0,g().default)(ee)||E().EOL;ee=ee.replace(y,"").replace(C,"").replace(j,"$1");let ge="";for(;ge!==ee;)ge=ee,ee=ee.replace(_,"".concat(ue,"$1 $2").concat(ue));ee=ee.replace(k,"").trimRight();let me=Object.create(null),ye=ee.replace($,"").replace(k,"").trimRight(),V;for(;V=$.exec(ee);){let L=V[2].replace(w,"");typeof me[V[1]]=="string"||Array.isArray(me[V[1]])?me[V[1]]=W.concat(me[V[1]],L):me[V[1]]=L}return{comments:ye,pragmas:me}}function he(ee){let{comments:ue="",pragmas:ge={}}=ee,me=(0,g().default)(ue)||E().EOL,ye="/**",V=" *",L=" */",R=Object.keys(ge),X=R.map(G=>J(G,ge[G])).reduce((G,q)=>G.concat(q),[]).map(G=>V+" "+G+me).join("");if(!ue){if(R.length===0)return"";if(R.length===1&&!Array.isArray(ge[R[0]])){let G=ge[R[0]];return"".concat(ye," ").concat(J(R[0],G)[0]).concat(L)}}let N=ue.split(me).map(G=>"".concat(V," ").concat(G)).join(me)+me;return ye+me+(ue?N:"")+(ue&&R.length?V+me:"")+X+L}function J(ee,ue){return W.concat(ue).map(ge=>"@".concat(ee," ").concat(ge).trim())}}}),au=Xe({"src/language-js/utils/get-shebang.js"(m,E){S();function g(A){if(!A.startsWith("#!"))return"";let C=A.indexOf(`
|
|
80
|
-
`);return C===-1?A:A.slice(0,C)}E.exports=g}}),Ea=Xe({"src/language-js/pragma.js"(m,E){S();var{parseWithComments:g,strip:A,extract:C,print:y}=oo(),{normalizeEndOfLine:x}=ss(),w=au();function k(j){let W=w(j);W&&(j=j.slice(W.length+1));let I=C(j),{pragmas:O,comments:U}=g(I);return{shebang:W,text:j,pragmas:O,comments:U}}function _(j){let W=Object.keys(k(j).pragmas);return W.includes("prettier")||W.includes("format")}function $(j){let{shebang:W,text:I,pragmas:O,comments:U}=k(j),le=A(I),he=y({pragmas:Object.assign({format:""},O),comments:U.trimStart()});return(W?"".concat(W,`
|
|
81
|
-
`):"")+x(he)+(le.startsWith(`
|
|
82
|
-
`)?`
|
|
83
|
-
`:`
|
|
84
|
-
|
|
85
|
-
`)+le}E.exports={hasPragma:_,insertPragma:$}}}),ou=Xe({"src/language-js/comments.js"(m,E){S();var{getLast:g,hasNewline:A,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:C,getNextNonSpaceNonCommentCharacter:y,hasNewlineInRange:x,addLeadingComment:w,addTrailingComment:k,addDanglingComment:_,getNextNonSpaceNonCommentCharacterIndex:$,isNonEmptyArray:j}=Qi(),{getFunctionParameters:W,isPrettierIgnoreComment:I,isJsxNode:O,hasFlowShorthandAnnotationComment:U,hasFlowAnnotationComment:le,hasIgnoreComment:he,isCallLikeExpression:J,getCallArguments:ee,isCallExpression:ue,isMemberExpression:ge,isObjectProperty:me,isLineComment:ye,getComments:V,CommentCheckFlags:L,markerForIfWithoutBlockAndSameLineComment:R}=hs(),{locStart:X,locEnd:N}=gs(),G=ga();function q(a){return[Yr,gr,Me,Pe,Ge,We,bt,ln,pt,Yt,si,fi,Ct,Zt,tt].some(s=>s(a))}function se(a){return[je,gr,yt,si,Pe,Ge,We,bt,Zt,ot,lr,Yt,Tr,tt,Wr].some(s=>s(a))}function te(a){return[Yr,Pe,Ge,qe,rr,Ct,Yt,nt,$e,ht,tt,It].some(s=>s(a))}function ne(a,s){let h=(a.body||a.properties).find(d=>{let{type:F}=d;return F!=="EmptyStatement"});h?w(h,s):_(a,s)}function be(a,s){a.type==="BlockStatement"?ne(a,s):w(a,s)}function je(a){let{comment:s,followingNode:h}=a;return h&&r(s)?(w(h,s),!0):!1}function Pe(a){let{comment:s,precedingNode:h,enclosingNode:d,followingNode:F,text:M}=a;if((d==null?void 0:d.type)!=="IfStatement"||!F)return!1;if(y(M,s,N)===")")return k(h,s),!0;if(h===d.consequent&&F===d.alternate){if(h.type==="BlockStatement")k(h,s);else{let H=s.type==="SingleLine"||s.loc.start.line===s.loc.end.line,Ne=s.loc.start.line===h.loc.start.line;H&&Ne?_(h,s,R):_(d,s)}return!0}return F.type==="BlockStatement"?(ne(F,s),!0):F.type==="IfStatement"?(be(F.consequent,s),!0):d.consequent===F?(w(F,s),!0):!1}function Ge(a){let{comment:s,precedingNode:h,enclosingNode:d,followingNode:F,text:M}=a;return(d==null?void 0:d.type)!=="WhileStatement"||!F?!1:y(M,s,N)===")"?(k(h,s),!0):F.type==="BlockStatement"?(ne(F,s),!0):d.body===F?(w(F,s),!0):!1}function We(a){let{comment:s,precedingNode:h,enclosingNode:d,followingNode:F}=a;return(d==null?void 0:d.type)!=="TryStatement"&&(d==null?void 0:d.type)!=="CatchClause"||!F?!1:d.type==="CatchClause"&&h?(k(h,s),!0):F.type==="BlockStatement"?(ne(F,s),!0):F.type==="TryStatement"?(be(F.finalizer,s),!0):F.type==="CatchClause"?(be(F.body,s),!0):!1}function Me(a){let{comment:s,enclosingNode:h,followingNode:d}=a;return ge(h)&&(d==null?void 0:d.type)==="Identifier"?(w(h,s),!0):!1}function yt(a){let{comment:s,precedingNode:h,enclosingNode:d,followingNode:F,text:M}=a,H=h&&!x(M,N(h),X(s));return(!h||!H)&&((d==null?void 0:d.type)==="ConditionalExpression"||(d==null?void 0:d.type)==="TSConditionalType")&&F?(w(F,s),!0):!1}function qe(a){let{comment:s,precedingNode:h,enclosingNode:d}=a;return me(d)&&d.shorthand&&d.key===h&&d.value.type==="AssignmentPattern"?(k(d.value.left,s),!0):!1}var Ve=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function bt(a){let{comment:s,precedingNode:h,enclosingNode:d,followingNode:F}=a;if(Ve.has(d==null?void 0:d.type)){if(j(d.decorators)&&!(F&&F.type==="Decorator"))return k(g(d.decorators),s),!0;if(d.body&&F===d.body)return ne(d.body,s),!0;if(F){if(d.superClass&&F===d.superClass&&h&&(h===d.id||h===d.typeParameters))return k(h,s),!0;for(let M of["implements","extends","mixins"])if(d[M]&&F===d[M][0])return h&&(h===d.id||h===d.typeParameters||h===d.superClass)?k(h,s):_(d,s,M),!0}}return!1}var Tt=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function Ct(a){let{comment:s,precedingNode:h,enclosingNode:d,text:F}=a;return d&&h&&y(F,s,N)==="("&&(d.type==="Property"||d.type==="TSDeclareMethod"||d.type==="TSAbstractMethodDefinition")&&h.type==="Identifier"&&d.key===h&&y(F,h,N)!==":"||(h==null?void 0:h.type)==="Decorator"&&Tt.has(d==null?void 0:d.type)?(k(h,s),!0):!1}var hr=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function $e(a){let{comment:s,precedingNode:h,enclosingNode:d,text:F}=a;return y(F,s,N)!=="("?!1:h&&hr.has(d==null?void 0:d.type)?(k(h,s),!0):!1}function nt(a){let{comment:s,enclosingNode:h,text:d}=a;if((h==null?void 0:h.type)!=="ArrowFunctionExpression")return!1;let F=$(d,s,N);return F!==!1&&d.slice(F,F+2)==="=>"?(_(h,s),!0):!1}function rr(a){let{comment:s,enclosingNode:h,text:d}=a;return y(d,s,N)!==")"?!1:h&&(jr(h)&&W(h).length===0||J(h)&&ee(h).length===0)?(_(h,s),!0):((h==null?void 0:h.type)==="MethodDefinition"||(h==null?void 0:h.type)==="TSAbstractMethodDefinition")&&W(h.value).length===0?(_(h.value,s),!0):!1}function gr(a){let{comment:s,precedingNode:h,enclosingNode:d,followingNode:F,text:M}=a;if((h==null?void 0:h.type)==="FunctionTypeParam"&&(d==null?void 0:d.type)==="FunctionTypeAnnotation"&&(F==null?void 0:F.type)!=="FunctionTypeParam"||((h==null?void 0:h.type)==="Identifier"||(h==null?void 0:h.type)==="AssignmentPattern")&&d&&jr(d)&&y(M,s,N)===")")return k(h,s),!0;if((d==null?void 0:d.type)==="FunctionDeclaration"&&(F==null?void 0:F.type)==="BlockStatement"){let H=(()=>{let Ne=W(d);if(Ne.length>0)return C(M,N(g(Ne)));let Fe=C(M,N(d.id));return Fe!==!1&&C(M,Fe+1)})();if(X(s)>H)return ne(F,s),!0}return!1}function Zt(a){let{comment:s,enclosingNode:h}=a;return(h==null?void 0:h.type)==="LabeledStatement"?(w(h,s),!0):!1}function tt(a){let{comment:s,enclosingNode:h}=a;return((h==null?void 0:h.type)==="ContinueStatement"||(h==null?void 0:h.type)==="BreakStatement")&&!h.label?(k(h,s),!0):!1}function ot(a){let{comment:s,precedingNode:h,enclosingNode:d}=a;return ue(d)&&h&&d.callee===h&&d.arguments.length>0?(w(d.arguments[0],s),!0):!1}function pt(a){let{comment:s,precedingNode:h,enclosingNode:d,followingNode:F}=a;return(d==null?void 0:d.type)==="UnionTypeAnnotation"||(d==null?void 0:d.type)==="TSUnionType"?(I(s)&&(F.prettierIgnore=!0,s.unignore=!0),h?(k(h,s),!0):!1):(((F==null?void 0:F.type)==="UnionTypeAnnotation"||(F==null?void 0:F.type)==="TSUnionType")&&I(s)&&(F.types[0].prettierIgnore=!0,s.unignore=!0),!1)}function lr(a){let{comment:s,enclosingNode:h}=a;return me(h)?(w(h,s),!0):!1}function Yt(a){let{comment:s,enclosingNode:h,followingNode:d,ast:F,isLastComment:M}=a;return F&&F.body&&F.body.length===0?(M?_(F,s):w(F,s),!0):(h==null?void 0:h.type)==="Program"&&(h==null?void 0:h.body.length)===0&&!j(h.directives)?(M?_(h,s):w(h,s),!0):(d==null?void 0:d.type)==="Program"&&(d==null?void 0:d.body.length)===0&&(h==null?void 0:h.type)==="ModuleExpression"?(_(d,s),!0):!1}function ln(a){let{comment:s,enclosingNode:h}=a;return(h==null?void 0:h.type)==="ForInStatement"||(h==null?void 0:h.type)==="ForOfStatement"?(w(h,s),!0):!1}function si(a){let{comment:s,precedingNode:h,enclosingNode:d,text:F}=a;if((d==null?void 0:d.type)==="ImportSpecifier"||(d==null?void 0:d.type)==="ExportSpecifier")return w(d,s),!0;let M=(h==null?void 0:h.type)==="ImportSpecifier"&&(d==null?void 0:d.type)==="ImportDeclaration",H=(h==null?void 0:h.type)==="ExportSpecifier"&&(d==null?void 0:d.type)==="ExportNamedDeclaration";return(M||H)&&A(F,N(s))?(k(h,s),!0):!1}function fi(a){let{comment:s,enclosingNode:h}=a;return(h==null?void 0:h.type)==="AssignmentPattern"?(w(h,s),!0):!1}var dr=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),fr=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Tr(a){let{comment:s,enclosingNode:h,followingNode:d}=a;return dr.has(h==null?void 0:h.type)&&d&&(fr.has(d.type)||G(s))?(w(d,s),!0):!1}function It(a){let{comment:s,enclosingNode:h,followingNode:d,text:F}=a;return!d&&((h==null?void 0:h.type)==="TSMethodSignature"||(h==null?void 0:h.type)==="TSDeclareFunction"||(h==null?void 0:h.type)==="TSAbstractMethodDefinition")&&y(F,s,N)===";"?(k(h,s),!0):!1}function Yr(a){let{comment:s,enclosingNode:h,followingNode:d}=a;if(I(s)&&(h==null?void 0:h.type)==="TSMappedType"&&(d==null?void 0:d.type)==="TSTypeParameter"&&d.constraint)return h.prettierIgnore=!0,s.unignore=!0,!0}function ht(a){let{comment:s,precedingNode:h,enclosingNode:d,followingNode:F}=a;return(d==null?void 0:d.type)!=="TSMappedType"?!1:(F==null?void 0:F.type)==="TSTypeParameter"&&F.name?(w(F.name,s),!0):(h==null?void 0:h.type)==="TSTypeParameter"&&h.constraint?(k(h.constraint,s),!0):!1}function Wr(a){let{comment:s,enclosingNode:h,followingNode:d}=a;return!h||h.type!=="SwitchCase"||h.test?!1:(d.type==="BlockStatement"&&ye(s)?ne(d,s):_(h,s),!0)}function jr(a){return a.type==="ArrowFunctionExpression"||a.type==="FunctionExpression"||a.type==="FunctionDeclaration"||a.type==="ObjectMethod"||a.type==="ClassMethod"||a.type==="TSDeclareFunction"||a.type==="TSCallSignatureDeclaration"||a.type==="TSConstructSignatureDeclaration"||a.type==="TSMethodSignature"||a.type==="TSConstructorType"||a.type==="TSFunctionType"||a.type==="TSDeclareMethod"}function e(a,s){if((s.parser==="typescript"||s.parser==="flow"||s.parser==="acorn"||s.parser==="espree"||s.parser==="meriyah"||s.parser==="__babel_estree")&&a.type==="MethodDefinition"&&a.value&&a.value.type==="FunctionExpression"&&W(a.value).length===0&&!a.value.returnType&&!j(a.value.typeParameters)&&a.value.body)return[...a.decorators||[],a.key,a.value.body]}function r(a){return G(a)&&a.value[0]==="*"&&/@type\b/.test(a.value)}function o(a){let s=a.getValue(),h=a.getParentNode(),d=F=>le(V(F,L.Leading))||le(V(F,L.Trailing));return(s&&(O(s)||U(s)||ue(h)&&d(s))||h&&(h.type==="JSXSpreadAttribute"||h.type==="JSXSpreadChild"||h.type==="UnionTypeAnnotation"||h.type==="TSUnionType"||(h.type==="ClassDeclaration"||h.type==="ClassExpression")&&h.superClass===s))&&(!he(a)||h.type==="UnionTypeAnnotation"||h.type==="TSUnionType")}E.exports={handleOwnLineComment:q,handleEndOfLineComment:se,handleRemainingComment:te,isTypeCastComment:r,getCommentChildNodes:e,willPrintOwnComments:o}}}),uo=Xe({"src/language-js/needs-parens.js"(m,E){S();var g=es(),A=fa(),{getFunctionParameters:C,getLeftSidePathName:y,hasFlowShorthandAnnotationComment:x,hasNakedLeftSide:w,hasNode:k,isBitwiseOperator:_,startsWithNoLookaheadToken:$,shouldFlatten:j,getPrecedence:W,isCallExpression:I,isMemberExpression:O,isObjectProperty:U}=hs();function le(ye,V){let L=ye.getParentNode();if(!L)return!1;let R=ye.getName(),X=ye.getNode();if(V.__isInHtmlInterpolation&&!V.bracketSpacing&&ue(X)&&ge(ye))return!0;if(he(X))return!1;if(V.parser!=="flow"&&x(ye.getValue()))return!0;if(X.type==="Identifier")return!!(X.extra&&X.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(X.name)||R==="left"&&X.name==="async"&&L.type==="ForOfStatement"&&!L.await);switch(L.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(R==="superClass"&&(X.type==="ArrowFunctionExpression"||X.type==="AssignmentExpression"||X.type==="AwaitExpression"||X.type==="BinaryExpression"||X.type==="ConditionalExpression"||X.type==="LogicalExpression"||X.type==="NewExpression"||X.type==="ObjectExpression"||X.type==="SequenceExpression"||X.type==="TaggedTemplateExpression"||X.type==="UnaryExpression"||X.type==="UpdateExpression"||X.type==="YieldExpression"||X.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return me(ye,V)||X.type==="SequenceExpression";case"Decorator":{if(R==="expression"){let N=!1,G=!1,q=X;for(;q;)switch(q.type){case"MemberExpression":G=!0,q=q.object;break;case"CallExpression":if(G||N)return V.parser!=="typescript";N=!0,q=q.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return V.parser!=="typescript";default:return!0}return!0}break}case"ExpressionStatement":{if($(X,!0))return!0;break}case"ArrowFunctionExpression":{if(R==="body"&&X.type!=="SequenceExpression"&&$(X,!1))return!0;break}}switch(X.type){case"UpdateExpression":if(L.type==="UnaryExpression")return X.prefix&&(X.operator==="++"&&L.operator==="+"||X.operator==="--"&&L.operator==="-");case"UnaryExpression":switch(L.type){case"UnaryExpression":return X.operator===L.operator&&(X.operator==="+"||X.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"BinaryExpression":return R==="left"&&L.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(L.type==="UpdateExpression"||X.operator==="in"&&J(ye))return!0;if(X.operator==="|>"&&X.extra&&X.extra.parenthesized){let N=ye.getParentNode(1);if(N.type==="BinaryExpression"&&N.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(L.type){case"TSAsExpression":return X.type!=="TSAsExpression";case"ConditionalExpression":return X.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return R==="callee";case"ClassExpression":case"ClassDeclaration":return R==="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 R==="object";case"AssignmentExpression":case"AssignmentPattern":return R==="left"&&(X.type==="TSTypeAssertion"||X.type==="TSAsExpression");case"LogicalExpression":if(X.type==="LogicalExpression")return L.operator!==X.operator;case"BinaryExpression":{let{operator:N,type:G}=X;if(!N&&G!=="TSTypeAssertion")return!0;let q=W(N),se=L.operator,te=W(se);return te>q||R==="right"&&te===q||te===q&&!j(se,N)?!0:te<q&&N==="%"?se==="+"||se==="-":!!_(se)}default:return!1}case"SequenceExpression":switch(L.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return R!=="expression";case"ArrowFunctionExpression":return R!=="body";default:return!0}case"YieldExpression":if(L.type==="UnaryExpression"||L.type==="AwaitExpression"||L.type==="TSAsExpression"||L.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(L.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"ConditionalExpression":return R==="test";case"BinaryExpression":return!(!X.argument&&L.operator==="|>");default:return!1}case"TSConditionalType":if(R==="extendsType"&&L.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(R==="checkType"&&L.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((L.type==="TSUnionType"||L.type==="TSIntersectionType")&&L.types.length>1&&(!X.types||X.types.length>1))return!0;case"TSInferType":if(X.type==="TSInferType"&&L.type==="TSRestType")return!1;case"TSTypeOperator":return L.type==="TSArrayType"||L.type==="TSOptionalType"||L.type==="TSRestType"||R==="objectType"&&L.type==="TSIndexedAccessType"||L.type==="TSTypeOperator"||L.type==="TSTypeAnnotation"&&ye.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return L.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return L.type==="ArrayTypeAnnotation"||L.type==="NullableTypeAnnotation"||L.type==="IntersectionTypeAnnotation"||L.type==="UnionTypeAnnotation"||R==="objectType"&&(L.type==="IndexedAccessType"||L.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return L.type==="ArrayTypeAnnotation"||R==="objectType"&&(L.type==="IndexedAccessType"||L.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let N=L.type==="NullableTypeAnnotation"?ye.getParentNode(1):L;return N.type==="UnionTypeAnnotation"||N.type==="IntersectionTypeAnnotation"||N.type==="ArrayTypeAnnotation"||R==="objectType"&&(N.type==="IndexedAccessType"||N.type==="OptionalIndexedAccessType")||N.type==="NullableTypeAnnotation"||L.type==="FunctionTypeParam"&&L.name===null&&C(X).some(G=>G.typeAnnotation&&G.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return R==="objectType"&&L.type==="IndexedAccessType";case"TypeofTypeAnnotation":return R==="objectType"&&(L.type==="IndexedAccessType"||L.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof X.value=="string"&&L.type==="ExpressionStatement"&&!L.directive){let N=ye.getParentNode(1);return N.type==="Program"||N.type==="BlockStatement"}return R==="object"&&L.type==="MemberExpression"&&typeof X.value=="number";case"AssignmentExpression":{let N=ye.getParentNode(1);return R==="body"&&L.type==="ArrowFunctionExpression"?!0:R==="key"&&(L.type==="ClassProperty"||L.type==="PropertyDefinition")&&L.computed||(R==="init"||R==="update")&&L.type==="ForStatement"?!1:L.type==="ExpressionStatement"?X.left.type==="ObjectPattern":!(R==="key"&&L.type==="TSPropertySignature"||L.type==="AssignmentExpression"||L.type==="SequenceExpression"&&N&&N.type==="ForStatement"&&(N.init===L||N.update===L)||R==="value"&&L.type==="Property"&&N&&N.type==="ObjectPattern"&&N.properties.includes(L)||L.type==="NGChainedExpression")}case"ConditionalExpression":switch(L.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"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"ConditionalExpression":return R==="test";case"MemberExpression":case"OptionalMemberExpression":return R==="object";default:return!1}case"FunctionExpression":switch(L.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(L.type){case"BinaryExpression":return L.operator!=="|>"||X.extra&&X.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return R==="callee";case"MemberExpression":case"OptionalMemberExpression":return R==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return R==="test";default:return!1}case"ClassExpression":if(A(X.decorators))return!0;switch(L.type){case"NewExpression":return R==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let N=ye.getParentNode(1);if(R==="object"&&L.type==="MemberExpression"||R==="callee"&&(L.type==="CallExpression"||L.type==="NewExpression")||L.type==="TSNonNullExpression"&&N.type==="MemberExpression"&&N.object===L)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(R==="callee"&&(L.type==="BindExpression"||L.type==="NewExpression")){let N=X;for(;N;)switch(N.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":N=N.object;break;case"TaggedTemplateExpression":N=N.tag;break;case"TSNonNullExpression":N=N.expression;break;default:return!1}}return!1;case"BindExpression":return R==="callee"&&(L.type==="BindExpression"||L.type==="NewExpression")||R==="object"&&O(L);case"NGPipeExpression":return!(L.type==="NGRoot"||L.type==="NGMicrosyntaxExpression"||L.type==="ObjectProperty"&&!(X.extra&&X.extra.parenthesized)||L.type==="ArrayExpression"||I(L)&&L.arguments[R]===X||R==="right"&&L.type==="NGPipeExpression"||R==="property"&&L.type==="MemberExpression"||L.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return R==="callee"||R==="left"&&L.type==="BinaryExpression"&&L.operator==="<"||L.type!=="ArrayExpression"&&L.type!=="ArrowFunctionExpression"&&L.type!=="AssignmentExpression"&&L.type!=="AssignmentPattern"&&L.type!=="BinaryExpression"&&L.type!=="NewExpression"&&L.type!=="ConditionalExpression"&&L.type!=="ExpressionStatement"&&L.type!=="JsExpressionRoot"&&L.type!=="JSXAttribute"&&L.type!=="JSXElement"&&L.type!=="JSXExpressionContainer"&&L.type!=="JSXFragment"&&L.type!=="LogicalExpression"&&!I(L)&&!U(L)&&L.type!=="ReturnStatement"&&L.type!=="ThrowStatement"&&L.type!=="TypeCastExpression"&&L.type!=="VariableDeclarator"&&L.type!=="YieldExpression";case"TypeAnnotation":return R==="returnType"&&L.type==="ArrowFunctionExpression"&&ee(X)}return!1}function he(ye){return ye.type==="BlockStatement"||ye.type==="BreakStatement"||ye.type==="ClassBody"||ye.type==="ClassDeclaration"||ye.type==="ClassMethod"||ye.type==="ClassProperty"||ye.type==="PropertyDefinition"||ye.type==="ClassPrivateProperty"||ye.type==="ContinueStatement"||ye.type==="DebuggerStatement"||ye.type==="DeclareClass"||ye.type==="DeclareExportAllDeclaration"||ye.type==="DeclareExportDeclaration"||ye.type==="DeclareFunction"||ye.type==="DeclareInterface"||ye.type==="DeclareModule"||ye.type==="DeclareModuleExports"||ye.type==="DeclareVariable"||ye.type==="DoWhileStatement"||ye.type==="EnumDeclaration"||ye.type==="ExportAllDeclaration"||ye.type==="ExportDefaultDeclaration"||ye.type==="ExportNamedDeclaration"||ye.type==="ExpressionStatement"||ye.type==="ForInStatement"||ye.type==="ForOfStatement"||ye.type==="ForStatement"||ye.type==="FunctionDeclaration"||ye.type==="IfStatement"||ye.type==="ImportDeclaration"||ye.type==="InterfaceDeclaration"||ye.type==="LabeledStatement"||ye.type==="MethodDefinition"||ye.type==="ReturnStatement"||ye.type==="SwitchStatement"||ye.type==="ThrowStatement"||ye.type==="TryStatement"||ye.type==="TSDeclareFunction"||ye.type==="TSEnumDeclaration"||ye.type==="TSImportEqualsDeclaration"||ye.type==="TSInterfaceDeclaration"||ye.type==="TSModuleDeclaration"||ye.type==="TSNamespaceExportDeclaration"||ye.type==="TypeAlias"||ye.type==="VariableDeclaration"||ye.type==="WhileStatement"||ye.type==="WithStatement"}function J(ye){let V=0,L=ye.getValue();for(;L;){let R=ye.getParentNode(V++);if(R&&R.type==="ForStatement"&&R.init===L)return!0;L=R}return!1}function ee(ye){return k(ye,V=>V.type==="ObjectTypeAnnotation"&&k(V,L=>L.type==="FunctionTypeAnnotation"||void 0)||void 0)}function ue(ye){switch(ye.type){case"ObjectExpression":return!0;default:return!1}}function ge(ye){let V=ye.getValue(),L=ye.getParentNode(),R=ye.getName();switch(L.type){case"NGPipeExpression":if(typeof R=="number"&&L.arguments[R]===V&&L.arguments.length-1===R)return ye.callParent(ge);break;case"ObjectProperty":if(R==="value"){let X=ye.getParentNode(1);return g(X.properties)===L}break;case"BinaryExpression":case"LogicalExpression":if(R==="right")return ye.callParent(ge);break;case"ConditionalExpression":if(R==="alternate")return ye.callParent(ge);break;case"UnaryExpression":if(L.prefix)return ye.callParent(ge);break}return!1}function me(ye,V){let L=ye.getValue(),R=ye.getParentNode();return L.type==="FunctionExpression"||L.type==="ClassExpression"?R.type==="ExportDefaultDeclaration"||!le(ye,V):!w(L)||R.type!=="ExportDefaultDeclaration"&&le(ye,V)?!1:ye.call(X=>me(X,V),...y(ye,L))}E.exports=le}}),ul=Xe({"src/language-js/print-preprocess.js"(m,E){S();function g(A,C){switch(C.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},A),{},{type:C.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:A,comments:[],rootMarker:C.rootMarker});default:return A}}E.exports=g}}),Uu=Xe({"src/language-js/print/html-binding.js"(m,E){S();var{builders:{join:g,line:A,group:C,softline:y,indent:x}}=wi();function w(_,$,j){let W=_.getValue();if($.__onHtmlBindingRoot&&_.getName()===null&&$.__onHtmlBindingRoot(W,$),W.type==="File"){if($.__isVueForBindingLeft)return _.call(I=>{let O=g([",",A],I.map(j,"params")),{params:U}=I.getValue();return U.length===1?O:["(",x([y,C(O)]),y,")"]},"program","body",0);if($.__isVueBindings)return _.call(I=>g([",",A],I.map(j,"params")),"program","body",0)}}function k(_){switch(_.type){case"MemberExpression":switch(_.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return k(_.object)}return!1;case"Identifier":return!0;default:return!1}}E.exports={isVueEventBindingExpression:k,printHtmlBinding:w}}}),Ro=Xe({"src/language-js/print/binaryish.js"(m,E){S();var{printComments:g}=Ni(),{getLast:A}=Qi(),{builders:{join:C,line:y,softline:x,group:w,indent:k,align:_,ifBreak:$,indentIfBreak:j},utils:{cleanDoc:W,getDocParts:I,isConcat:O}}=wi(),{hasLeadingOwnLineComment:U,isBinaryish:le,isJsxNode:he,shouldFlatten:J,hasComment:ee,CommentCheckFlags:ue,isCallExpression:ge,isMemberExpression:me,isObjectProperty:ye,isEnabledHackPipeline:V}=hs(),L=0;function R(G,q,se){let te=G.getValue(),ne=G.getParentNode(),be=G.getParentNode(1),je=te!==ne.body&&(ne.type==="IfStatement"||ne.type==="WhileStatement"||ne.type==="SwitchStatement"||ne.type==="DoWhileStatement"),Pe=V(q)&&te.operator==="|>",Ge=X(G,se,q,!1,je);if(je)return Ge;if(Pe)return w(Ge);if(ge(ne)&&ne.callee===te||ne.type==="UnaryExpression"||me(ne)&&!ne.computed)return w([k([x,...Ge]),x]);let We=ne.type==="ReturnStatement"||ne.type==="ThrowStatement"||ne.type==="JSXExpressionContainer"&&be.type==="JSXAttribute"||te.operator!=="|"&&ne.type==="JsExpressionRoot"||te.type!=="NGPipeExpression"&&(ne.type==="NGRoot"&&q.parser==="__ng_binding"||ne.type==="NGMicrosyntaxExpression"&&be.type==="NGMicrosyntax"&&be.body.length===1)||te===ne.body&&ne.type==="ArrowFunctionExpression"||te!==ne.body&&ne.type==="ForStatement"||ne.type==="ConditionalExpression"&&be.type!=="ReturnStatement"&&be.type!=="ThrowStatement"&&!ge(be)||ne.type==="TemplateLiteral",Me=ne.type==="AssignmentExpression"||ne.type==="VariableDeclarator"||ne.type==="ClassProperty"||ne.type==="PropertyDefinition"||ne.type==="TSAbstractPropertyDefinition"||ne.type==="ClassPrivateProperty"||ye(ne),yt=le(te.left)&&J(te.operator,te.left.operator);if(We||N(te)&&!yt||!N(te)&&Me)return w(Ge);if(Ge.length===0)return"";let qe=he(te.right),Ve=Ge.findIndex(nt=>typeof nt!="string"&&!Array.isArray(nt)&&nt.type==="group"),bt=Ge.slice(0,Ve===-1?1:Ve+1),Tt=Ge.slice(bt.length,qe?-1:void 0),Ct=Symbol("logicalChain-"+ ++L),hr=w([...bt,k(Tt)],{id:Ct});if(!qe)return hr;let $e=A(Ge);return w([hr,j($e,{groupId:Ct})])}function X(G,q,se,te,ne){let be=G.getValue();if(!le(be))return[w(q())];let je=[];J(be.operator,be.left.operator)?je=G.call(Tt=>X(Tt,q,se,!0,ne),"left"):je.push(w(q("left")));let Pe=N(be),Ge=(be.operator==="|>"||be.type==="NGPipeExpression"||be.operator==="|"&&se.parser==="__vue_expression")&&!U(se.originalText,be.right),We=be.type==="NGPipeExpression"?"|":be.operator,Me=be.type==="NGPipeExpression"&&be.arguments.length>0?w(k([x,": ",C([x,":",$(" ")],G.map(q,"arguments").map(Tt=>_(2,w(Tt))))])):"",yt;if(Pe)yt=[We," ",q("right"),Me];else{let Tt=V(se)&&We==="|>"?G.call(Ct=>X(Ct,q,se,!0,ne),"right"):q("right");yt=[Ge?y:"",We,Ge?" ":y,Tt,Me]}let qe=G.getParentNode(),Ve=ee(be.left,ue.Trailing|ue.Line),bt=Ve||!(ne&&be.type==="LogicalExpression")&&qe.type!==be.type&&be.left.type!==be.type&&be.right.type!==be.type;if(je.push(Ge?"":" ",bt?w(yt,{shouldBreak:Ve}):yt),te&&ee(be)){let Tt=W(g(G,je,se));return O(Tt)||Tt.type==="fill"?I(Tt):[Tt]}return je}function N(G){return G.type!=="LogicalExpression"?!1:!!(G.right.type==="ObjectExpression"&&G.right.properties.length>0||G.right.type==="ArrayExpression"&&G.right.elements.length>0||he(G.right))}E.exports={printBinaryishExpression:R,shouldInlineLogicalExpression:N}}}),xl=Xe({"src/language-js/print/angular.js"(m,E){S();var{builders:{join:g,line:A,group:C}}=wi(),{hasNode:y,hasComment:x,getComments:w}=hs(),{printBinaryishExpression:k}=Ro();function _(W,I,O){let U=W.getValue();if(U.type.startsWith("NG"))switch(U.type){case"NGRoot":return[O("node"),x(U.node)?" //"+w(U.node)[0].value.trimEnd():""];case"NGPipeExpression":return k(W,I,O);case"NGChainedExpression":return C(g([";",A],W.map(le=>j(le)?O():["(",O(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[U.prefix,": ",U.value.trim()];case"NGMicrosyntax":return W.map((le,he)=>[he===0?"":$(le.getValue(),he,U)?" ":[";",A],O()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(U.name)?U.name:JSON.stringify(U.name);case"NGMicrosyntaxExpression":return[O("expression"),U.alias===null?"":[" as ",O("alias")]];case"NGMicrosyntaxKeyedExpression":{let le=W.getName(),he=W.getParentNode(),J=$(U,le,he)||(le===1&&(U.key.name==="then"||U.key.name==="else")||le===2&&U.key.name==="else"&&he.body[le-1].type==="NGMicrosyntaxKeyedExpression"&&he.body[le-1].key.name==="then")&&he.body[0].type==="NGMicrosyntaxExpression";return[O("key"),J?" ":": ",O("expression")]}case"NGMicrosyntaxLet":return["let ",O("key"),U.value===null?"":[" = ",O("value")]];case"NGMicrosyntaxAs":return[O("key")," as ",O("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(U.type),"."))}}function $(W,I,O){return W.type==="NGMicrosyntaxKeyedExpression"&&W.key.name==="of"&&I===1&&O.body[0].type==="NGMicrosyntaxLet"&&O.body[0].value===null}function j(W){return y(W.getValue(),I=>{switch(I.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}E.exports={printAngular:_}}}),To=Xe({"src/language-js/print/jsx.js"(m,E){S();var{printComments:g,printDanglingComments:A}=Ni(),{builders:{line:C,hardline:y,softline:x,group:w,indent:k,conditionalGroup:_,fill:$,ifBreak:j,lineSuffixBoundary:W,join:I},utils:{willBreak:O}}=wi(),{getLast:U,getPreferredQuote:le}=Qi(),{isJsxNode:he,rawText:J,isLiteral:ee,isCallExpression:ue,isStringLiteral:ge,isBinaryish:me,hasComment:ye,CommentCheckFlags:V,hasNodeIgnoreComment:L}=hs(),R=uo(),{willPrintOwnComments:X}=ou(),N=Zt=>Zt===""||Zt===C||Zt===y||Zt===x;function G(Zt,tt,ot){let pt=Zt.getValue();if(pt.type==="JSXElement"&&$e(pt))return[ot("openingElement"),ot("closingElement")];let lr=pt.type==="JSXElement"?ot("openingElement"):ot("openingFragment"),Yt=pt.type==="JSXElement"?ot("closingElement"):ot("closingFragment");if(pt.children.length===1&&pt.children[0].type==="JSXExpressionContainer"&&(pt.children[0].expression.type==="TemplateLiteral"||pt.children[0].expression.type==="TaggedTemplateExpression"))return[lr,...Zt.map(ot,"children"),Yt];pt.children=pt.children.map(o=>rr(o)?{type:"JSXText",value:" ",raw:" "}:o);let ln=pt.children.some(he),si=pt.children.filter(o=>o.type==="JSXExpressionContainer").length>1,fi=pt.type==="JSXElement"&&pt.openingElement.attributes.length>1,dr=O(lr)||ln||fi||si,fr=Zt.getParentNode().rootMarker==="mdx",Tr=tt.singleQuote?"{' '}":'{" "}',It=fr?" ":j([Tr,x]," "),Yr=pt.openingElement&&pt.openingElement.name&&pt.openingElement.name.name==="fbt",ht=q(Zt,tt,ot,It,Yr),Wr=pt.children.some(o=>nt(o));for(let o=ht.length-2;o>=0;o--){let a=ht[o]===""&&ht[o+1]==="",s=ht[o]===y&&ht[o+1]===""&&ht[o+2]===y,h=(ht[o]===x||ht[o]===y)&&ht[o+1]===""&&ht[o+2]===It,d=ht[o]===It&&ht[o+1]===""&&(ht[o+2]===x||ht[o+2]===y),F=ht[o]===It&&ht[o+1]===""&&ht[o+2]===It,M=ht[o]===x&&ht[o+1]===""&&ht[o+2]===y||ht[o]===y&&ht[o+1]===""&&ht[o+2]===x;s&&Wr||a||h||F||M?ht.splice(o,2):d&&ht.splice(o+1,2)}for(;ht.length>0&&N(U(ht));)ht.pop();for(;ht.length>1&&N(ht[0])&&N(ht[1]);)ht.shift(),ht.shift();let jr=[];for(let[o,a]of ht.entries()){if(a===It){if(o===1&&ht[o-1]===""){if(ht.length===2){jr.push(Tr);continue}jr.push([Tr,y]);continue}else if(o===ht.length-1){jr.push(Tr);continue}else if(ht[o-1]===""&&ht[o-2]===y){jr.push(Tr);continue}}jr.push(a),O(a)&&(dr=!0)}let e=Wr?$(jr):w(jr,{shouldBreak:!0});if(fr)return e;let r=w([lr,k([y,e]),y,Yt]);return dr?r:_([w([lr,...ht,Yt]),r])}function q(Zt,tt,ot,pt,lr){let Yt=[];return Zt.each((ln,si,fi)=>{let dr=ln.getValue();if(ee(dr)){let fr=J(dr);if(nt(dr)){let Tr=fr.split(Tt);if(Tr[0]===""){if(Yt.push(""),Tr.shift(),/\n/.test(Tr[0])){let Yr=fi[si+1];Yt.push(te(lr,Tr[1],dr,Yr))}else Yt.push(pt);Tr.shift()}let It;if(U(Tr)===""&&(Tr.pop(),It=Tr.pop()),Tr.length===0)return;for(let[Yr,ht]of Tr.entries())Yr%2===1?Yt.push(C):Yt.push(ht);if(It!==void 0)if(/\n/.test(It)){let Yr=fi[si+1];Yt.push(te(lr,U(Yt),dr,Yr))}else Yt.push(pt);else{let Yr=fi[si+1];Yt.push(se(lr,U(Yt),dr,Yr))}}else/\n/.test(fr)?fr.match(/\n/g).length>1&&Yt.push("",y):Yt.push("",pt)}else{let fr=ot();Yt.push(fr);let Tr=fi[si+1];if(Tr&&nt(Tr)){let It=hr(J(Tr)).split(Tt)[0];Yt.push(se(lr,It,dr,Tr))}else Yt.push(y)}},"children"),Yt}function se(Zt,tt,ot,pt){return Zt?"":ot.type==="JSXElement"&&!ot.closingElement||pt&&pt.type==="JSXElement"&&!pt.closingElement?tt.length===1?x:y:x}function te(Zt,tt,ot,pt){return Zt?y:tt.length===1?ot.type==="JSXElement"&&!ot.closingElement||pt&&pt.type==="JSXElement"&&!pt.closingElement?y:x:y}function ne(Zt,tt,ot){let pt=Zt.getParentNode();if(!pt||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[pt.type])return tt;let lr=Zt.match(void 0,ln=>ln.type==="ArrowFunctionExpression",ue,ln=>ln.type==="JSXExpressionContainer"),Yt=R(Zt,ot);return w([Yt?"":j("("),k([x,tt]),x,Yt?"":j(")")],{shouldBreak:lr})}function be(Zt,tt,ot){let pt=Zt.getValue(),lr=[];if(lr.push(ot("name")),pt.value){let Yt;if(ge(pt.value)){let ln=J(pt.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:si,quote:fi,regex:dr}=le(ln,tt.jsxSingleQuote?"'":'"');ln=ln.replace(dr,si),Yt=[fi,ln,fi]}else Yt=ot("value");lr.push("=",Yt)}return lr}function je(Zt,tt,ot){let pt=Zt.getValue(),lr=(Yt,ln)=>Yt.type==="JSXEmptyExpression"||!ye(Yt)&&(Yt.type==="ArrayExpression"||Yt.type==="ObjectExpression"||Yt.type==="ArrowFunctionExpression"||Yt.type==="AwaitExpression"&&(lr(Yt.argument,Yt)||Yt.argument.type==="JSXElement")||ue(Yt)||Yt.type==="FunctionExpression"||Yt.type==="TemplateLiteral"||Yt.type==="TaggedTemplateExpression"||Yt.type==="DoExpression"||he(ln)&&(Yt.type==="ConditionalExpression"||me(Yt)));return lr(pt.expression,Zt.getParentNode(0))?w(["{",ot("expression"),W,"}"]):w(["{",k([x,ot("expression")]),x,W,"}"])}function Pe(Zt,tt,ot){let pt=Zt.getValue(),lr=pt.name&&ye(pt.name)||pt.typeParameters&&ye(pt.typeParameters);if(pt.selfClosing&&pt.attributes.length===0&&!lr)return["<",ot("name"),ot("typeParameters")," />"];if(pt.attributes&&pt.attributes.length===1&&pt.attributes[0].value&&ge(pt.attributes[0].value)&&!pt.attributes[0].value.value.includes(`
|
|
86
|
-
`)&&!lr&&!ye(pt.attributes[0]))return w(["<",ot("name"),ot("typeParameters")," ",...Zt.map(ot,"attributes"),pt.selfClosing?" />":">"]);let Yt=pt.attributes.length>0&&ye(U(pt.attributes),V.Trailing),ln=pt.attributes.length===0&&!lr||(tt.bracketSameLine||tt.jsxBracketSameLine)&&(!lr||pt.attributes.length>0)&&!Yt,si=pt.attributes&&pt.attributes.some(dr=>dr.value&&ge(dr.value)&&dr.value.value.includes(`
|
|
87
|
-
`)),fi=tt.singleAttributePerLine&&pt.attributes.length>1?y:C;return w(["<",ot("name"),ot("typeParameters"),k(Zt.map(()=>[fi,ot()],"attributes")),pt.selfClosing?C:ln?">":x,pt.selfClosing?"/>":ln?"":">"],{shouldBreak:si})}function Ge(Zt,tt,ot){let pt=Zt.getValue(),lr=[];lr.push("</");let Yt=ot("name");return ye(pt.name,V.Leading|V.Line)?lr.push(k([y,Yt]),y):ye(pt.name,V.Leading|V.Block)?lr.push(" ",Yt):lr.push(Yt),lr.push(">"),lr}function We(Zt,tt){let ot=Zt.getValue(),pt=ye(ot),lr=ye(ot,V.Line),Yt=ot.type==="JSXOpeningFragment";return[Yt?"<":"</",k([lr?y:pt&&!Yt?" ":"",A(Zt,tt,!0)]),lr?y:"",">"]}function Me(Zt,tt,ot){let pt=g(Zt,G(Zt,tt,ot),tt);return ne(Zt,pt,tt)}function yt(Zt,tt){let ot=Zt.getValue(),pt=ye(ot,V.Line);return[A(Zt,tt,!pt),pt?y:""]}function qe(Zt,tt,ot){let pt=Zt.getValue();return["{",Zt.call(lr=>{let Yt=["...",ot()],ln=lr.getValue();return!ye(ln)||!X(lr)?Yt:[k([x,g(lr,Yt,tt)]),x]},pt.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function Ve(Zt,tt,ot){let pt=Zt.getValue();if(pt.type.startsWith("JSX"))switch(pt.type){case"JSXAttribute":return be(Zt,tt,ot);case"JSXIdentifier":return String(pt.name);case"JSXNamespacedName":return I(":",[ot("namespace"),ot("name")]);case"JSXMemberExpression":return I(".",[ot("object"),ot("property")]);case"JSXSpreadAttribute":return qe(Zt,tt,ot);case"JSXSpreadChild":return qe(Zt,tt,ot);case"JSXExpressionContainer":return je(Zt,tt,ot);case"JSXFragment":case"JSXElement":return Me(Zt,tt,ot);case"JSXOpeningElement":return Pe(Zt,tt,ot);case"JSXClosingElement":return Ge(Zt,tt,ot);case"JSXOpeningFragment":case"JSXClosingFragment":return We(Zt,tt);case"JSXEmptyExpression":return yt(Zt,tt);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(pt.type),"."))}}var bt=`
|
|
88
|
-
\r `,Tt=new RegExp("(["+bt+"]+)"),Ct=new RegExp("[^"+bt+"]"),hr=Zt=>Zt.replace(new RegExp("(?:^"+Tt.source+"|"+Tt.source+"$)"),"");function $e(Zt){if(Zt.children.length===0)return!0;if(Zt.children.length>1)return!1;let tt=Zt.children[0];return ee(tt)&&!nt(tt)}function nt(Zt){return ee(Zt)&&(Ct.test(J(Zt))||!/\n/.test(J(Zt)))}function rr(Zt){return Zt.type==="JSXExpressionContainer"&&ee(Zt.expression)&&Zt.expression.value===" "&&!ye(Zt.expression)}function gr(Zt){let tt=Zt.getValue(),ot=Zt.getParentNode();if(!ot||!tt||!he(tt)||!he(ot))return!1;let pt=ot.children.indexOf(tt),lr=null;for(let Yt=pt;Yt>0;Yt--){let ln=ot.children[Yt-1];if(!(ln.type==="JSXText"&&!nt(ln))){lr=ln;break}}return lr&&lr.type==="JSXExpressionContainer"&&lr.expression.type==="JSXEmptyExpression"&&L(lr.expression)}E.exports={hasJsxIgnoreComment:gr,printJsx:Ve}}}),la=Xe({"src/language-js/print/misc.js"(m,E){S();var{isNonEmptyArray:g}=Qi(),{builders:{indent:A,join:C,line:y}}=wi(),{isFlowAnnotationComment:x}=hs();function w(U){let le=U.getValue();return!le.optional||le.type==="Identifier"&&le===U.getParentNode().key?"":le.type==="OptionalCallExpression"||le.type==="OptionalMemberExpression"&&le.computed?"?.":"?"}function k(U){return U.getValue().definite||U.match(void 0,(le,he)=>he==="id"&&le.type==="VariableDeclarator"&&le.definite)?"!":""}function _(U,le,he){let J=U.getValue();return J.typeArguments?he("typeArguments"):J.typeParameters?he("typeParameters"):""}function $(U,le,he){let J=U.getValue();if(!J.typeAnnotation)return"";let ee=U.getParentNode(),ue=ee.type==="DeclareFunction"&&ee.id===J;return x(le.originalText,J.typeAnnotation)?[" /*: ",he("typeAnnotation")," */"]:[ue?"":": ",he("typeAnnotation")]}function j(U,le,he){return["::",he("callee")]}function W(U,le,he){let J=U.getValue();return g(J.modifiers)?[C(" ",U.map(he,"modifiers"))," "]:""}function I(U,le,he){return U.type==="EmptyStatement"?";":U.type==="BlockStatement"||he?[" ",le]:A([y,le])}function O(U,le,he){return["...",he("argument"),$(U,le,he)]}E.exports={printOptionalToken:w,printDefiniteToken:k,printFunctionTypeParameters:_,printBindExpressionCallee:j,printTypeScriptModifiers:W,printTypeAnnotation:$,printRestSpread:O,adjustClause:I}}}),Hu=Xe({"src/language-js/print/array.js"(m,E){S();var{printDanglingComments:g}=Ni(),{builders:{line:A,softline:C,hardline:y,group:x,indent:w,ifBreak:k,fill:_}}=wi(),{getLast:$,hasNewline:j}=Qi(),{shouldPrintComma:W,hasComment:I,CommentCheckFlags:O,isNextLineEmpty:U,isNumericLiteral:le,isSignedNumericLiteral:he}=hs(),{locStart:J}=gs(),{printOptionalToken:ee,printTypeAnnotation:ue}=la();function ge(L,R,X){let N=L.getValue(),G=[],q=N.type==="TupleExpression"?"#[":"[",se="]";if(N.elements.length===0)I(N,O.Dangling)?G.push(x([q,g(L,R),C,se])):G.push(q,se);else{let te=$(N.elements),ne=!(te&&te.type==="RestElement"),be=te===null,je=Symbol("array"),Pe=!R.__inJestEach&&N.elements.length>1&&N.elements.every((Me,yt,qe)=>{let Ve=Me&&Me.type;if(Ve!=="ArrayExpression"&&Ve!=="ObjectExpression")return!1;let bt=qe[yt+1];if(bt&&Ve!==bt.type)return!1;let Tt=Ve==="ArrayExpression"?"elements":"properties";return Me[Tt]&&Me[Tt].length>1}),Ge=me(N,R),We=ne?be?",":W(R)?Ge?k(",","",{groupId:je}):k(","):"":"";G.push(x([q,w([C,Ge?V(L,R,X,We):[ye(L,R,"elements",X),We],g(L,R,!0)]),C,se],{shouldBreak:Pe,id:je}))}return G.push(ee(L),ue(L,R,X)),G}function me(L,R){return L.elements.length>1&&L.elements.every(X=>X&&(le(X)||he(X)&&!I(X.argument))&&!I(X,O.Trailing|O.Line,N=>!j(R.originalText,J(N),{backwards:!0})))}function ye(L,R,X,N){let G=[],q=[];return L.each(se=>{G.push(q,x(N())),q=[",",A],se.getValue()&&U(se.getValue(),R)&&q.push(C)},X),G}function V(L,R,X,N){let G=[];return L.each((q,se,te)=>{let ne=se===te.length-1;G.push([X(),ne?N:","]),ne||G.push(U(q.getValue(),R)?[y,y]:I(te[se+1],O.Leading|O.Line)?y:A)},"elements"),_(G)}E.exports={printArray:ge,printArrayItems:ye,isConciselyPrintedArray:me}}}),bl=Xe({"src/language-js/print/call-arguments.js"(m,E){S();var{printDanglingComments:g}=Ni(),{getLast:A,getPenultimate:C}=Qi(),{getFunctionParameters:y,hasComment:x,CommentCheckFlags:w,isFunctionCompositionArgs:k,isJsxNode:_,isLongCurriedCallExpression:$,shouldPrintComma:j,getCallArguments:W,iterateCallArgumentsPath:I,isNextLineEmpty:O,isCallExpression:U,isStringLiteral:le,isObjectProperty:he}=hs(),{builders:{line:J,hardline:ee,softline:ue,group:ge,indent:me,conditionalGroup:ye,ifBreak:V,breakParent:L},utils:{willBreak:R}}=wi(),{ArgExpansionBailout:X}=Yn(),{isConciselyPrintedArray:N}=Hu();function G(Pe,Ge,We){let Me=Pe.getValue(),yt=Me.type==="ImportExpression",qe=W(Me);if(qe.length===0)return["(",g(Pe,Ge,!0),")"];if(ne(qe))return["(",We(["arguments",0]),", ",We(["arguments",1]),")"];let Ve=!1,bt=!1,Tt=qe.length-1,Ct=[];I(Pe,(Zt,tt)=>{let ot=Zt.getNode(),pt=[We()];tt===Tt||(O(ot,Ge)?(tt===0&&(bt=!0),Ve=!0,pt.push(",",ee,ee)):pt.push(",",J)),Ct.push(pt)});let hr=!(yt||Me.callee&&Me.callee.type==="Import")&&j(Ge,"all")?",":"";function $e(){return ge(["(",me([J,...Ct]),hr,J,")"],{shouldBreak:!0})}if(Ve||Pe.getParentNode().type!=="Decorator"&&k(qe))return $e();let nt=te(qe),rr=se(qe,Ge);if(nt||rr){if(nt?Ct.slice(1).some(R):Ct.slice(0,-1).some(R))return $e();let Zt=[];try{Pe.try(()=>{I(Pe,(tt,ot)=>{nt&&ot===0&&(Zt=[[We([],{expandFirstArg:!0}),Ct.length>1?",":"",bt?ee:J,bt?ee:""],...Ct.slice(1)]),rr&&ot===Tt&&(Zt=[...Ct.slice(0,-1),We([],{expandLastArg:!0})])})})}catch(tt){if(tt instanceof X)return $e();throw tt}return[Ct.some(R)?L:"",ye([["(",...Zt,")"],nt?["(",ge(Zt[0],{shouldBreak:!0}),...Zt.slice(1),")"]:["(",...Ct.slice(0,-1),ge(A(Zt),{shouldBreak:!0}),")"],$e()])]}let gr=["(",me([ue,...Ct]),V(hr),ue,")"];return $(Pe)?gr:ge(gr,{shouldBreak:Ct.some(R)||Ve})}function q(Pe){let Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Pe.type==="ObjectExpression"&&(Pe.properties.length>0||x(Pe))||Pe.type==="ArrayExpression"&&(Pe.elements.length>0||x(Pe))||Pe.type==="TSTypeAssertion"&&q(Pe.expression)||Pe.type==="TSAsExpression"&&q(Pe.expression)||Pe.type==="FunctionExpression"||Pe.type==="ArrowFunctionExpression"&&(!Pe.returnType||!Pe.returnType.typeAnnotation||Pe.returnType.typeAnnotation.type!=="TSTypeReference"||be(Pe.body))&&(Pe.body.type==="BlockStatement"||Pe.body.type==="ArrowFunctionExpression"&&q(Pe.body,!0)||Pe.body.type==="ObjectExpression"||Pe.body.type==="ArrayExpression"||!Ge&&(U(Pe.body)||Pe.body.type==="ConditionalExpression")||_(Pe.body))||Pe.type==="DoExpression"||Pe.type==="ModuleExpression"}function se(Pe,Ge){let We=A(Pe),Me=C(Pe);return!x(We,w.Leading)&&!x(We,w.Trailing)&&q(We)&&(!Me||Me.type!==We.type)&&(Pe.length!==2||Me.type!=="ArrowFunctionExpression"||We.type!=="ArrayExpression")&&!(Pe.length>1&&We.type==="ArrayExpression"&&N(We,Ge))}function te(Pe){if(Pe.length!==2)return!1;let[Ge,We]=Pe;return Ge.type==="ModuleExpression"&&je(We)?!0:!x(Ge)&&(Ge.type==="FunctionExpression"||Ge.type==="ArrowFunctionExpression"&&Ge.body.type==="BlockStatement")&&We.type!=="FunctionExpression"&&We.type!=="ArrowFunctionExpression"&&We.type!=="ConditionalExpression"&&!q(We)}function ne(Pe){return Pe.length===2&&Pe[0].type==="ArrowFunctionExpression"&&y(Pe[0]).length===0&&Pe[0].body.type==="BlockStatement"&&Pe[1].type==="ArrayExpression"&&!Pe.some(Ge=>x(Ge))}function be(Pe){return Pe.type==="BlockStatement"&&(Pe.body.some(Ge=>Ge.type!=="EmptyStatement")||x(Pe,w.Dangling))}function je(Pe){return Pe.type==="ObjectExpression"&&Pe.properties.length===1&&he(Pe.properties[0])&&Pe.properties[0].key.type==="Identifier"&&Pe.properties[0].key.name==="type"&&le(Pe.properties[0].value)&&Pe.properties[0].value.value==="module"}E.exports=G}}),jl=Xe({"src/language-js/print/member.js"(m,E){S();var{builders:{softline:g,group:A,indent:C,label:y}}=wi(),{isNumericLiteral:x,isMemberExpression:w,isCallExpression:k}=hs(),{printOptionalToken:_}=la();function $(W,I,O){let U=W.getValue(),le=W.getParentNode(),he,J=0;do he=W.getParentNode(J),J++;while(he&&(w(he)||he.type==="TSNonNullExpression"));let ee=O("object"),ue=j(W,I,O),ge=he&&(he.type==="NewExpression"||he.type==="BindExpression"||he.type==="AssignmentExpression"&&he.left.type!=="Identifier")||U.computed||U.object.type==="Identifier"&&U.property.type==="Identifier"&&!w(le)||(le.type==="AssignmentExpression"||le.type==="VariableDeclarator")&&(k(U.object)&&U.object.arguments.length>0||U.object.type==="TSNonNullExpression"&&k(U.object.expression)&&U.object.expression.arguments.length>0||ee.label==="member-chain");return y(ee.label==="member-chain"?"member-chain":"member",[ee,ge?ue:A(C([g,ue]))])}function j(W,I,O){let U=O("property"),le=W.getValue(),he=_(W);return le.computed?!le.property||x(le.property)?[he,"[",U,"]"]:A([he,"[",C([g,U]),g,"]"]):[he,".",U]}E.exports={printMemberExpression:$,printMemberLookup:j}}}),tc=Xe({"src/language-js/print/member-chain.js"(m,E){S();var{printComments:g}=Ni(),{getLast:A,isNextLineEmptyAfterIndex:C,getNextNonSpaceNonCommentCharacterIndex:y}=Qi(),x=uo(),{isCallExpression:w,isMemberExpression:k,isFunctionOrArrowExpression:_,isLongCurriedCallExpression:$,isMemberish:j,isNumericLiteral:W,isSimpleCallArgument:I,hasComment:O,CommentCheckFlags:U,isNextLineEmpty:le}=hs(),{locEnd:he}=gs(),{builders:{join:J,hardline:ee,group:ue,indent:ge,conditionalGroup:me,breakParent:ye,label:V},utils:{willBreak:L}}=wi(),R=bl(),{printMemberLookup:X}=jl(),{printOptionalToken:N,printFunctionTypeParameters:G,printBindExpressionCallee:q}=la();function se(te,ne,be){let je=te.getParentNode(),Pe=!je||je.type==="ExpressionStatement",Ge=[];function We(Tr){let{originalText:It}=ne,Yr=y(It,Tr,he);return It.charAt(Yr)===")"?Yr!==!1&&C(It,Yr+1):le(Tr,ne)}function Me(Tr){let It=Tr.getValue();w(It)&&(j(It.callee)||w(It.callee))?(Ge.unshift({node:It,printed:[g(Tr,[N(Tr),G(Tr,ne,be),R(Tr,ne,be)],ne),We(It)?ee:""]}),Tr.call(Yr=>Me(Yr),"callee")):j(It)?(Ge.unshift({node:It,needsParens:x(Tr,ne),printed:g(Tr,k(It)?X(Tr,ne,be):q(Tr,ne,be),ne)}),Tr.call(Yr=>Me(Yr),"object")):It.type==="TSNonNullExpression"?(Ge.unshift({node:It,printed:g(Tr,"!",ne)}),Tr.call(Yr=>Me(Yr),"expression")):Ge.unshift({node:It,printed:be()})}let yt=te.getValue();Ge.unshift({node:yt,printed:[N(te),G(te,ne,be),R(te,ne,be)]}),yt.callee&&te.call(Tr=>Me(Tr),"callee");let qe=[],Ve=[Ge[0]],bt=1;for(;bt<Ge.length&&(Ge[bt].node.type==="TSNonNullExpression"||w(Ge[bt].node)||k(Ge[bt].node)&&Ge[bt].node.computed&&W(Ge[bt].node.property));++bt)Ve.push(Ge[bt]);if(!w(Ge[0].node))for(;bt+1<Ge.length&&j(Ge[bt].node)&&j(Ge[bt+1].node);++bt)Ve.push(Ge[bt]);qe.push(Ve),Ve=[];let Tt=!1;for(;bt<Ge.length;++bt){if(Tt&&j(Ge[bt].node)){if(Ge[bt].node.computed&&W(Ge[bt].node.property)){Ve.push(Ge[bt]);continue}qe.push(Ve),Ve=[],Tt=!1}(w(Ge[bt].node)||Ge[bt].node.type==="ImportExpression")&&(Tt=!0),Ve.push(Ge[bt]),O(Ge[bt].node,U.Trailing)&&(qe.push(Ve),Ve=[],Tt=!1)}Ve.length>0&&qe.push(Ve);function Ct(Tr){return/^[A-Z]|^[$_]+$/.test(Tr)}function hr(Tr){return Tr.length<=ne.tabWidth}function $e(Tr){let It=Tr[1].length>0&&Tr[1][0].node.computed;if(Tr[0].length===1){let ht=Tr[0][0].node;return ht.type==="ThisExpression"||ht.type==="Identifier"&&(Ct(ht.name)||Pe&&hr(ht.name)||It)}let Yr=A(Tr[0]).node;return k(Yr)&&Yr.property.type==="Identifier"&&(Ct(Yr.property.name)||It)}let nt=qe.length>=2&&!O(qe[1][0].node)&&$e(qe);function rr(Tr){let It=Tr.map(Yr=>Yr.printed);return Tr.length>0&&A(Tr).needsParens?["(",...It,")"]:It}function gr(Tr){return Tr.length===0?"":ge(ue([ee,J(ee,Tr.map(rr))]))}let Zt=qe.map(rr),tt=Zt,ot=nt?3:2,pt=qe.flat(),lr=pt.slice(1,-1).some(Tr=>O(Tr.node,U.Leading))||pt.slice(0,-1).some(Tr=>O(Tr.node,U.Trailing))||qe[ot]&&O(qe[ot][0].node,U.Leading);if(qe.length<=ot&&!lr)return $(te)?tt:ue(tt);let Yt=A(qe[nt?1:0]).node,ln=!w(Yt)&&We(Yt),si=[rr(qe[0]),nt?qe.slice(1,2).map(rr):"",ln?ee:"",gr(qe.slice(nt?2:1))],fi=Ge.map(Tr=>{let{node:It}=Tr;return It}).filter(w);function dr(){let Tr=A(A(qe)).node,It=A(Zt);return w(Tr)&&L(It)&&fi.slice(0,-1).some(Yr=>Yr.arguments.some(_))}let fr;return lr||fi.length>2&&fi.some(Tr=>!Tr.arguments.every(It=>I(It,0)))||Zt.slice(0,-1).some(L)||dr()?fr=ue(si):fr=[L(tt)||ln?ye:"",me([tt,si])],V("member-chain",fr)}E.exports=se}}),Su=Xe({"src/language-js/print/call-expression.js"(m,E){S();var{builders:{join:g,group:A}}=wi(),C=uo(),{getCallArguments:y,hasFlowAnnotationComment:x,isCallExpression:w,isMemberish:k,isStringLiteral:_,isTemplateOnItsOwnLine:$,isTestCall:j,iterateCallArgumentsPath:W}=hs(),I=tc(),O=bl(),{printOptionalToken:U,printFunctionTypeParameters:le}=la();function he(ee,ue,ge){let me=ee.getValue(),ye=ee.getParentNode(),V=me.type==="NewExpression",L=me.type==="ImportExpression",R=U(ee),X=y(me);if(X.length>0&&(!L&&!V&&J(me,ye)||X.length===1&&$(X[0],ue.originalText)||!V&&j(me,ye))){let q=[];return W(ee,()=>{q.push(ge())}),[V?"new ":"",ge("callee"),R,le(ee,ue,ge),"(",g(", ",q),")"]}let N=(ue.parser==="babel"||ue.parser==="babel-flow")&&me.callee&&me.callee.type==="Identifier"&&x(me.callee.trailingComments);if(N&&(me.callee.trailingComments[0].printed=!0),!L&&!V&&k(me.callee)&&!ee.call(q=>C(q,ue),"callee"))return I(ee,ue,ge);let G=[V?"new ":"",L?"import":ge("callee"),R,N?"/*:: ".concat(me.callee.trailingComments[0].value.slice(2).trim()," */"):"",le(ee,ue,ge),O(ee,ue,ge)];return L||w(me.callee)?A(G):G}function J(ee,ue){if(ee.callee.type!=="Identifier")return!1;if(ee.callee.name==="require")return!0;if(ee.callee.name==="define"){let ge=y(ee);return ue.type==="ExpressionStatement"&&(ge.length===1||ge.length===2&&ge[0].type==="ArrayExpression"||ge.length===3&&_(ge[0])&&ge[1].type==="ArrayExpression")}return!1}E.exports={printCallExpression:he}}}),qu=Xe({"src/language-js/print/assignment.js"(m,E){S();var{isNonEmptyArray:g,getStringWidth:A}=Qi(),{builders:{line:C,group:y,indent:x,indentIfBreak:w,lineSuffixBoundary:k},utils:{cleanDoc:_,willBreak:$,canBreak:j}}=wi(),{hasLeadingOwnLineComment:W,isBinaryish:I,isStringLiteral:O,isLiteral:U,isNumericLiteral:le,isCallExpression:he,isMemberExpression:J,getCallArguments:ee,rawText:ue,hasComment:ge,isSignedNumericLiteral:me,isObjectProperty:ye}=hs(),{shouldInlineLogicalExpression:V}=Ro(),{printCallExpression:L}=Su();function R($e,nt,rr,gr,Zt,tt){let ot=G($e,nt,rr,gr,tt),pt=rr(tt,{assignmentLayout:ot});switch(ot){case"break-after-operator":return y([y(gr),Zt,y(x([C,pt]))]);case"never-break-after-operator":return y([y(gr),Zt," ",pt]);case"fluid":{let lr=Symbol("assignment");return y([y(gr),Zt,y(x(C),{id:lr}),k,w(pt,{groupId:lr})])}case"break-lhs":return y([gr,Zt," ",y(pt)]);case"chain":return[y(gr),Zt,C,pt];case"chain-tail":return[y(gr),Zt,x([C,pt])];case"chain-tail-arrow-chain":return[y(gr),Zt,pt];case"only-left":return gr}}function X($e,nt,rr){let gr=$e.getValue();return R($e,nt,rr,rr("left"),[" ",gr.operator],"right")}function N($e,nt,rr){return R($e,nt,rr,rr("id")," =","init")}function G($e,nt,rr,gr,Zt){let tt=$e.getValue(),ot=tt[Zt];if(!ot)return"only-left";let pt=!te(ot);if($e.match(te,ne,Yt=>!pt||Yt.type!=="ExpressionStatement"&&Yt.type!=="VariableDeclaration"))return pt?ot.type==="ArrowFunctionExpression"&&ot.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!pt&&te(ot.right)||W(nt.originalText,ot))return"break-after-operator";if(ot.type==="CallExpression"&&ot.callee.name==="require"||nt.parser==="json5"||nt.parser==="json")return"never-break-after-operator";if(se(tt)||be(tt)||Ge(tt)||We(tt)&&j(gr))return"break-lhs";let lr=Tt(tt,gr,nt);return $e.call(()=>q($e,nt,rr,lr),Zt)?"break-after-operator":lr||ot.type==="TemplateLiteral"||ot.type==="TaggedTemplateExpression"||ot.type==="BooleanLiteral"||le(ot)||ot.type==="ClassExpression"?"never-break-after-operator":"fluid"}function q($e,nt,rr,gr){let Zt=$e.getValue();if(I(Zt)&&!V(Zt))return!0;switch(Zt.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:pt}=Zt;return I(pt)&&!V(pt)}case"ClassExpression":return g(Zt.decorators)}if(gr)return!1;let tt=Zt,ot=[];for(;;)if(tt.type==="UnaryExpression")tt=tt.argument,ot.push("argument");else if(tt.type==="TSNonNullExpression")tt=tt.expression,ot.push("expression");else break;return!!(O(tt)||$e.call(()=>qe($e,nt,rr),...ot))}function se($e){if(ne($e)){let nt=$e.left||$e.id;return nt.type==="ObjectPattern"&&nt.properties.length>2&&nt.properties.some(rr=>ye(rr)&&(!rr.shorthand||rr.value&&rr.value.type==="AssignmentPattern"))}return!1}function te($e){return $e.type==="AssignmentExpression"}function ne($e){return te($e)||$e.type==="VariableDeclarator"}function be($e){let nt=je($e);if(g(nt)){let rr=$e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(nt.length>1&&nt.some(gr=>gr[rr]||gr.default))return!0}return!1}function je($e){return Pe($e)&&$e.typeParameters&&$e.typeParameters.params?$e.typeParameters.params:null}function Pe($e){return $e.type==="TSTypeAliasDeclaration"||$e.type==="TypeAlias"}function Ge($e){if($e.type!=="VariableDeclarator")return!1;let{typeAnnotation:nt}=$e.id;if(!nt||!nt.typeAnnotation)return!1;let rr=Me(nt.typeAnnotation);return g(rr)&&rr.length>1&&rr.some(gr=>g(Me(gr))||gr.type==="TSConditionalType")}function We($e){return $e.type==="VariableDeclarator"&&$e.init&&$e.init.type==="ArrowFunctionExpression"}function Me($e){return yt($e)&&$e.typeParameters&&$e.typeParameters.params?$e.typeParameters.params:null}function yt($e){return $e.type==="TSTypeReference"||$e.type==="GenericTypeAnnotation"}function qe($e,nt,rr){let gr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Zt=$e.getValue(),tt=()=>qe($e,nt,rr,!0);if(Zt.type==="TSNonNullExpression")return $e.call(tt,"expression");if(he(Zt)){if(L($e,nt,rr).label==="member-chain")return!1;let ot=ee(Zt);return!(ot.length===0||ot.length===1&&bt(ot[0],nt))||Ct(Zt,rr)?!1:$e.call(tt,"callee")}return J(Zt)?$e.call(tt,"object"):gr&&(Zt.type==="Identifier"||Zt.type==="ThisExpression")}var Ve=.25;function bt($e,nt){let{printWidth:rr}=nt;if(ge($e))return!1;let gr=rr*Ve;if($e.type==="ThisExpression"||$e.type==="Identifier"&&$e.name.length<=gr||me($e)&&!ge($e.argument))return!0;let Zt=$e.type==="Literal"&&"regex"in $e&&$e.regex.pattern||$e.type==="RegExpLiteral"&&$e.pattern;return Zt?Zt.length<=gr:O($e)?ue($e).length<=gr:$e.type==="TemplateLiteral"?$e.expressions.length===0&&$e.quasis[0].value.raw.length<=gr&&!$e.quasis[0].value.raw.includes(`
|
|
89
|
-
`):U($e)}function Tt($e,nt,rr){if(!ye($e))return!1;nt=_(nt);let gr=3;return typeof nt=="string"&&A(nt)<rr.tabWidth+gr}function Ct($e,nt){let rr=hr($e);if(g(rr)){if(rr.length>1)return!0;if(rr.length===1){let Zt=rr[0];if(Zt.type==="TSUnionType"||Zt.type==="UnionTypeAnnotation"||Zt.type==="TSIntersectionType"||Zt.type==="IntersectionTypeAnnotation"||Zt.type==="TSTypeLiteral"||Zt.type==="ObjectTypeAnnotation")return!0}let gr=$e.typeParameters?"typeParameters":"typeArguments";if($(nt(gr)))return!0}return!1}function hr($e){return $e.typeParameters&&$e.typeParameters.params||$e.typeArguments&&$e.typeArguments.params}E.exports={printVariableDeclarator:N,printAssignmentExpression:X,printAssignment:R,isArrowFunctionVariableDeclarator:We}}}),ya=Xe({"src/language-js/print/function-parameters.js"(m,E){S();var{getNextNonSpaceNonCommentCharacter:g}=Qi(),{printDanglingComments:A}=Ni(),{builders:{line:C,hardline:y,softline:x,group:w,indent:k,ifBreak:_},utils:{removeLines:$,willBreak:j}}=wi(),{getFunctionParameters:W,iterateFunctionParametersPath:I,isSimpleType:O,isTestCall:U,isTypeAnnotationAFunction:le,isObjectType:he,isObjectTypePropertyAFunction:J,hasRestParameter:ee,shouldPrintComma:ue,hasComment:ge,isNextLineEmpty:me}=hs(),{locEnd:ye}=gs(),{ArgExpansionBailout:V}=Yn(),{printFunctionTypeParameters:L}=la();function R(q,se,te,ne,be){let je=q.getValue(),Pe=W(je),Ge=be?L(q,te,se):"";if(Pe.length===0)return[Ge,"(",A(q,te,!0,bt=>g(te.originalText,bt,ye)===")"),")"];let We=q.getParentNode(),Me=U(We),yt=X(je),qe=[];if(I(q,(bt,Tt)=>{let Ct=Tt===Pe.length-1;Ct&&je.rest&&qe.push("..."),qe.push(se()),!Ct&&(qe.push(","),Me||yt?qe.push(" "):me(Pe[Tt],te)?qe.push(y,y):qe.push(C))}),ne){if(j(Ge)||j(qe))throw new V;return w([$(Ge),"(",$(qe),")"])}let Ve=Pe.every(bt=>!bt.decorators);return yt&&Ve?[Ge,"(",...qe,")"]:Me?[Ge,"(",...qe,")"]:(J(We)||le(We)||We.type==="TypeAlias"||We.type==="UnionTypeAnnotation"||We.type==="TSUnionType"||We.type==="IntersectionTypeAnnotation"||We.type==="FunctionTypeAnnotation"&&We.returnType===je)&&Pe.length===1&&Pe[0].name===null&&je.this!==Pe[0]&&Pe[0].typeAnnotation&&je.typeParameters===null&&O(Pe[0].typeAnnotation)&&!je.rest?te.arrowParens==="always"?["(",...qe,")"]:qe:[Ge,"(",k([x,...qe]),_(!ee(je)&&ue(te,"all")?",":""),x,")"]}function X(q){if(!q)return!1;let se=W(q);if(se.length!==1)return!1;let[te]=se;return!ge(te)&&(te.type==="ObjectPattern"||te.type==="ArrayPattern"||te.type==="Identifier"&&te.typeAnnotation&&(te.typeAnnotation.type==="TypeAnnotation"||te.typeAnnotation.type==="TSTypeAnnotation")&&he(te.typeAnnotation.typeAnnotation)||te.type==="FunctionTypeParam"&&he(te.typeAnnotation)||te.type==="AssignmentPattern"&&(te.left.type==="ObjectPattern"||te.left.type==="ArrayPattern")&&(te.right.type==="Identifier"||te.right.type==="ObjectExpression"&&te.right.properties.length===0||te.right.type==="ArrayExpression"&&te.right.elements.length===0))}function N(q){let se;return q.returnType?(se=q.returnType,se.typeAnnotation&&(se=se.typeAnnotation)):q.typeAnnotation&&(se=q.typeAnnotation),se}function G(q,se){let te=N(q);if(!te)return!1;let ne=q.typeParameters&&q.typeParameters.params;if(ne){if(ne.length>1)return!1;if(ne.length===1){let be=ne[0];if(be.constraint||be.default)return!1}}return W(q).length===1&&(he(te)||j(se))}E.exports={printFunctionParameters:R,shouldHugFunctionParameters:X,shouldGroupFunctionParameters:G}}}),Ys=Xe({"src/language-js/print/type-annotation.js"(m,E){S();var{printComments:g,printDanglingComments:A}=Ni(),{isNonEmptyArray:C}=Qi(),{builders:{group:y,join:x,line:w,softline:k,indent:_,align:$,ifBreak:j}}=wi(),W=uo(),{locStart:I}=gs(),{isSimpleType:O,isObjectType:U,hasLeadingOwnLineComment:le,isObjectTypePropertyAFunction:he,shouldPrintComma:J}=hs(),{printAssignment:ee}=qu(),{printFunctionParameters:ue,shouldGroupFunctionParameters:ge}=ya(),{printArrayItems:me}=Hu();function ye(te){if(O(te)||U(te))return!0;if(te.type==="UnionTypeAnnotation"||te.type==="TSUnionType"){let ne=te.types.filter(je=>je.type==="VoidTypeAnnotation"||je.type==="TSVoidKeyword"||je.type==="NullLiteralTypeAnnotation"||je.type==="TSNullKeyword").length,be=te.types.some(je=>je.type==="ObjectTypeAnnotation"||je.type==="TSTypeLiteral"||je.type==="GenericTypeAnnotation"||je.type==="TSTypeReference");if(te.types.length-1===ne&&be)return!0}return!1}function V(te,ne,be){let je=ne.semi?";":"",Pe=te.getValue(),Ge=[];return Ge.push("opaque type ",be("id"),be("typeParameters")),Pe.supertype&&Ge.push(": ",be("supertype")),Pe.impltype&&Ge.push(" = ",be("impltype")),Ge.push(je),Ge}function L(te,ne,be){let je=ne.semi?";":"",Pe=te.getValue(),Ge=[];Pe.declare&&Ge.push("declare "),Ge.push("type ",be("id"),be("typeParameters"));let We=Pe.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[ee(te,ne,be,Ge," =",We),je]}function R(te,ne,be){let je=te.getValue(),Pe=te.map(be,"types"),Ge=[],We=!1;for(let Me=0;Me<Pe.length;++Me)Me===0?Ge.push(Pe[Me]):U(je.types[Me-1])&&U(je.types[Me])?Ge.push([" & ",We?_(Pe[Me]):Pe[Me]]):!U(je.types[Me-1])&&!U(je.types[Me])?Ge.push(_([" &",w,Pe[Me]])):(Me>1&&(We=!0),Ge.push(" & ",Me>1?_(Pe[Me]):Pe[Me]));return y(Ge)}function X(te,ne,be){let je=te.getValue(),Pe=te.getParentNode(),Ge=Pe.type!=="TypeParameterInstantiation"&&Pe.type!=="TSTypeParameterInstantiation"&&Pe.type!=="GenericTypeAnnotation"&&Pe.type!=="TSTypeReference"&&Pe.type!=="TSTypeAssertion"&&Pe.type!=="TupleTypeAnnotation"&&Pe.type!=="TSTupleType"&&!(Pe.type==="FunctionTypeParam"&&!Pe.name&&te.getParentNode(1).this!==Pe)&&!((Pe.type==="TypeAlias"||Pe.type==="VariableDeclarator"||Pe.type==="TSTypeAliasDeclaration")&&le(ne.originalText,je)),We=ye(je),Me=te.map(Ve=>{let bt=be();return We||(bt=$(2,bt)),g(Ve,bt,ne)},"types");if(We)return x(" | ",Me);let yt=Ge&&!le(ne.originalText,je),qe=[j([yt?w:"","| "]),x([w,"| "],Me)];return W(te,ne)?y([_(qe),k]):Pe.type==="TupleTypeAnnotation"&&Pe.types.length>1||Pe.type==="TSTupleType"&&Pe.elementTypes.length>1?y([_([j(["(",k]),qe]),k,j(")")]):y(Ge?_(qe):qe)}function N(te,ne,be){let je=te.getValue(),Pe=[],Ge=te.getParentNode(0),We=te.getParentNode(1),Me=te.getParentNode(2),yt=je.type==="TSFunctionType"||!((Ge.type==="ObjectTypeProperty"||Ge.type==="ObjectTypeInternalSlot")&&!Ge.variance&&!Ge.optional&&I(Ge)===I(je)||Ge.type==="ObjectTypeCallProperty"||Me&&Me.type==="DeclareFunction"),qe=yt&&(Ge.type==="TypeAnnotation"||Ge.type==="TSTypeAnnotation"),Ve=qe&&yt&&(Ge.type==="TypeAnnotation"||Ge.type==="TSTypeAnnotation")&&We.type==="ArrowFunctionExpression";he(Ge)&&(yt=!0,qe=!0),Ve&&Pe.push("(");let bt=ue(te,be,ne,!1,!0),Tt=je.returnType||je.predicate||je.typeAnnotation?[yt?" => ":": ",be("returnType"),be("predicate"),be("typeAnnotation")]:"",Ct=ge(je,Tt);return Pe.push(Ct?y(bt):bt),Tt&&Pe.push(Tt),Ve&&Pe.push(")"),y(Pe)}function G(te,ne,be){let je=te.getValue(),Pe=je.type==="TSTupleType"?"elementTypes":"types",Ge=je[Pe],We=C(Ge),Me=We?k:"";return y(["[",_([Me,me(te,ne,Pe,be)]),j(We&&J(ne,"all")?",":""),A(te,ne,!0),Me,"]"])}function q(te,ne,be){let je=te.getValue(),Pe=je.type==="OptionalIndexedAccessType"&&je.optional?"?.[":"[";return[be("objectType"),Pe,be("indexType"),"]"]}function se(te,ne,be){let je=te.getValue();return[je.postfix?"":be,ne("typeAnnotation"),je.postfix?be:""]}E.exports={printOpaqueType:V,printTypeAlias:L,printIntersectionType:R,printUnionType:X,printFunctionType:N,printTupleType:G,printIndexedAccessType:q,shouldHugType:ye,printJSDocType:se}}}),Js=Xe({"src/language-js/print/type-parameters.js"(m,E){S();var{printDanglingComments:g}=Ni(),{builders:{join:A,line:C,hardline:y,softline:x,group:w,indent:k,ifBreak:_}}=wi(),{isTestCall:$,hasComment:j,CommentCheckFlags:W,isTSXFile:I,shouldPrintComma:O,getFunctionParameters:U,isObjectType:le}=hs(),{createGroupIdMapper:he}=Qi(),{shouldHugType:J}=Ys(),{isArrowFunctionVariableDeclarator:ee}=qu(),ue=he("typeParameters");function ge(V,L,R,X){let N=V.getValue();if(!N[X])return"";if(!Array.isArray(N[X]))return R(X);let G=V.getNode(2),q=G&&$(G);if(!V.match(te=>!(te[X].length===1&&le(te[X][0])),void 0,(te,ne)=>ne==="typeAnnotation",te=>te.type==="Identifier",ee)&&(q||N[X].length===0||N[X].length===1&&(N[X][0].type==="NullableTypeAnnotation"||J(N[X][0]))))return["<",A(", ",V.map(R,X)),me(V,L),">"];let se=N.type==="TSTypeParameterInstantiation"?"":U(N).length===1&&I(L)&&!N[X][0].constraint&&V.getParentNode().type==="ArrowFunctionExpression"?",":O(L,"all")?_(","):"";return w(["<",k([x,A([",",C],V.map(R,X))]),se,x,">"],{id:ue(N)})}function me(V,L){let R=V.getValue();if(!j(R,W.Dangling))return"";let X=!j(R,W.Line),N=g(V,L,X);return X?N:[N,y]}function ye(V,L,R){let X=V.getValue(),N=[],G=V.getParentNode();return G.type==="TSMappedType"?(N.push("[",R("name")),X.constraint&&N.push(" in ",R("constraint")),G.nameType&&N.push(" as ",V.callParent(()=>R("nameType"))),N.push("]"),N):(X.variance&&N.push(R("variance")),X.in&&N.push("in "),X.out&&N.push("out "),N.push(R("name")),X.bound&&N.push(": ",R("bound")),X.constraint&&N.push(" extends ",R("constraint")),X.default&&N.push(" = ",R("default")),N)}E.exports={printTypeParameter:ye,printTypeParameters:ge,getTypeParametersGroupId:ue}}}),Hs=Xe({"src/language-js/print/property.js"(m,E){S();var{printComments:g}=Ni(),{printString:A,printNumber:C}=Qi(),{isNumericLiteral:y,isSimpleNumber:x,isStringLiteral:w,isStringPropSafeToUnquote:k,rawText:_}=hs(),{printAssignment:$}=qu(),j=new WeakMap;function W(O,U,le){let he=O.getNode();if(he.computed)return["[",le("key"),"]"];let J=O.getParentNode(),{key:ee}=he;if(he.type==="ClassPrivateProperty"&&ee.type==="Identifier")return["#",le("key")];if(U.quoteProps==="consistent"&&!j.has(J)){let ue=(J.properties||J.body||J.members).some(ge=>!ge.computed&&ge.key&&w(ge.key)&&!k(ge,U));j.set(J,ue)}if((ee.type==="Identifier"||y(ee)&&x(C(_(ee)))&&String(ee.value)===C(_(ee))&&!(U.parser==="typescript"||U.parser==="babel-ts"))&&(U.parser==="json"||U.quoteProps==="consistent"&&j.get(J))){let ue=A(JSON.stringify(ee.type==="Identifier"?ee.name:ee.value.toString()),U);return O.call(ge=>g(ge,ue,U),"key")}return k(he,U)&&(U.quoteProps==="as-needed"||U.quoteProps==="consistent"&&!j.get(J))?O.call(ue=>g(ue,/^\d/.test(ee.value)?C(ee.value):ee.value,U),"key"):le("key")}function I(O,U,le){return O.getValue().shorthand?le("value"):$(O,U,le,W(O,U,le),":","value")}E.exports={printProperty:I,printPropertyKey:W}}}),zo=Xe({"src/language-js/print/function.js"(m,E){S();var g=hi(),{printDanglingComments:A,printCommentsSeparately:C}=Ni(),y=es(),{getNextNonSpaceNonCommentCharacterIndex:x}=Qi(),{builders:{line:w,softline:k,group:_,indent:$,ifBreak:j,hardline:W,join:I,indentIfBreak:O},utils:{removeLines:U,willBreak:le}}=wi(),{ArgExpansionBailout:he}=Yn(),{getFunctionParameters:J,hasLeadingOwnLineComment:ee,isFlowAnnotationComment:ue,isJsxNode:ge,isTemplateOnItsOwnLine:me,shouldPrintComma:ye,startsWithNoLookaheadToken:V,isBinaryish:L,isLineComment:R,hasComment:X,getComments:N,CommentCheckFlags:G,isCallLikeExpression:q,isCallExpression:se,getCallArguments:te,hasNakedLeftSide:ne,getLeftSide:be}=hs(),{locEnd:je}=gs(),{printFunctionParameters:Pe,shouldGroupFunctionParameters:Ge}=ya(),{printPropertyKey:We}=Hs(),{printFunctionTypeParameters:Me}=la();function yt(ot,pt,lr,Yt){let ln=ot.getValue(),si=!1;if((ln.type==="FunctionDeclaration"||ln.type==="FunctionExpression")&&Yt&&Yt.expandLastArg){let It=ot.getParentNode();se(It)&&te(It).length>1&&(si=!0)}let fi=[];ln.type==="TSDeclareFunction"&&ln.declare&&fi.push("declare "),ln.async&&fi.push("async "),ln.generator?fi.push("function* "):fi.push("function "),ln.id&&fi.push(pt("id"));let dr=Pe(ot,pt,lr,si),fr=nt(ot,pt,lr),Tr=Ge(ln,fr);return fi.push(Me(ot,lr,pt),_([Tr?_(dr):dr,fr]),ln.body?" ":"",pt("body")),lr.semi&&(ln.declare||!ln.body)&&fi.push(";"),fi}function qe(ot,pt,lr){let Yt=ot.getNode(),{kind:ln}=Yt,si=Yt.value||Yt,fi=[];return!ln||ln==="init"||ln==="method"||ln==="constructor"?si.async&&fi.push("async "):(g.ok(ln==="get"||ln==="set"),fi.push(ln," ")),si.generator&&fi.push("*"),fi.push(We(ot,pt,lr),Yt.optional||Yt.key.optional?"?":""),Yt===si?fi.push(Ve(ot,pt,lr)):si.type==="FunctionExpression"?fi.push(ot.call(dr=>Ve(dr,pt,lr),"value")):fi.push(lr("value")),fi}function Ve(ot,pt,lr){let Yt=ot.getNode(),ln=Pe(ot,lr,pt),si=nt(ot,lr,pt),fi=Ge(Yt,si),dr=[Me(ot,pt,lr),_([fi?_(ln):ln,si])];return Yt.body?dr.push(" ",lr("body")):dr.push(pt.semi?";":""),dr}function bt(ot,pt,lr,Yt){let ln=ot.getValue(),si=[];if(ln.async&&si.push("async "),$e(ot,pt))si.push(lr(["params",0]));else{let dr=Yt&&(Yt.expandLastArg||Yt.expandFirstArg),fr=nt(ot,lr,pt);if(dr){if(le(fr))throw new he;fr=_(U(fr))}si.push(_([Pe(ot,lr,pt,dr,!0),fr]))}let fi=A(ot,pt,!0,dr=>{let fr=x(pt.originalText,dr,je);return fr!==!1&&pt.originalText.slice(fr,fr+2)==="=>"});return fi&&si.push(" ",fi),si}function Tt(ot,pt,lr,Yt,ln,si){let fi=ot.getName(),dr=ot.getParentNode(),fr=q(dr)&&fi==="callee",Tr=Boolean(pt&&pt.assignmentLayout),It=si.body.type!=="BlockStatement"&&si.body.type!=="ObjectExpression"&&si.body.type!=="SequenceExpression",Yr=fr&&It||pt&&pt.assignmentLayout==="chain-tail-arrow-chain",ht=Symbol("arrow-chain");return si.body.type==="SequenceExpression"&&(ln=_(["(",$([k,ln]),k,")"])),_([_($([fr||Tr?k:"",_(I([" =>",w],lr),{shouldBreak:Yt})]),{id:ht,shouldBreak:Yr})," =>",O(It?$([w,ln]):[" ",ln],{groupId:ht}),fr?j(k,"",{groupId:ht}):""])}function Ct(ot,pt,lr,Yt){let ln=ot.getValue(),si=[],fi=[],dr=!1;if(function ht(){let Wr=bt(ot,pt,lr,Yt);if(si.length===0)si.push(Wr);else{let{leading:jr,trailing:e}=C(ot,pt);si.push([jr,Wr]),fi.unshift(e)}dr=dr||ln.returnType&&J(ln).length>0||ln.typeParameters||J(ln).some(jr=>jr.type!=="Identifier"),ln.body.type!=="ArrowFunctionExpression"||Yt&&Yt.expandLastArg?fi.unshift(lr("body",Yt)):(ln=ln.body,ot.call(ht,"body"))}(),si.length>1)return Tt(ot,Yt,si,dr,fi,ln);let fr=si;if(fr.push(" =>"),!ee(pt.originalText,ln.body)&&(ln.body.type==="ArrayExpression"||ln.body.type==="ObjectExpression"||ln.body.type==="BlockStatement"||ge(ln.body)||me(ln.body,pt.originalText)||ln.body.type==="ArrowFunctionExpression"||ln.body.type==="DoExpression"))return _([...fr," ",fi]);if(ln.body.type==="SequenceExpression")return _([...fr,_([" (",$([k,fi]),k,")"])]);let Tr=(Yt&&Yt.expandLastArg||ot.getParentNode().type==="JSXExpressionContainer")&&!X(ln),It=Yt&&Yt.expandLastArg&&ye(pt,"all"),Yr=ln.body.type==="ConditionalExpression"&&!V(ln.body,!1);return _([...fr,_([$([w,Yr?j("","("):"",fi,Yr?j("",")"):""]),Tr?[j(It?",":""),k]:""])])}function hr(ot){let pt=J(ot);return pt.length===1&&!ot.typeParameters&&!X(ot,G.Dangling)&&pt[0].type==="Identifier"&&!pt[0].typeAnnotation&&!X(pt[0])&&!pt[0].optional&&!ot.predicate&&!ot.returnType}function $e(ot,pt){if(pt.arrowParens==="always")return!1;if(pt.arrowParens==="avoid"){let lr=ot.getValue();return hr(lr)}return!1}function nt(ot,pt,lr){let Yt=ot.getValue(),ln=pt("returnType");if(Yt.returnType&&ue(lr.originalText,Yt.returnType))return[" /*: ",ln," */"];let si=[ln];return Yt.returnType&&Yt.returnType.typeAnnotation&&si.unshift(": "),Yt.predicate&&si.push(Yt.returnType?" ":": ",pt("predicate")),si}function rr(ot,pt,lr){let Yt=ot.getValue(),ln=pt.semi?";":"",si=[];Yt.argument&&(tt(pt,Yt.argument)?si.push([" (",$([W,lr("argument")]),W,")"]):L(Yt.argument)||Yt.argument.type==="SequenceExpression"?si.push(_([j(" ("," "),$([k,lr("argument")]),k,j(")")])):si.push(" ",lr("argument")));let fi=N(Yt),dr=y(fi),fr=dr&&R(dr);return fr&&si.push(ln),X(Yt,G.Dangling)&&si.push(" ",A(ot,pt,!0)),fr||si.push(ln),si}function gr(ot,pt,lr){return["return",rr(ot,pt,lr)]}function Zt(ot,pt,lr){return["throw",rr(ot,pt,lr)]}function tt(ot,pt){if(ee(ot.originalText,pt))return!0;if(ne(pt)){let lr=pt,Yt;for(;Yt=be(lr);)if(lr=Yt,ee(ot.originalText,lr))return!0}return!1}E.exports={printFunction:yt,printArrowFunction:Ct,printMethod:qe,printReturnStatement:gr,printThrowStatement:Zt,printMethodInternal:Ve,shouldPrintParamsWithoutParens:$e}}}),$u=Xe({"src/language-js/print/decorators.js"(m,E){S();var{isNonEmptyArray:g,hasNewline:A}=Qi(),{builders:{line:C,hardline:y,join:x,breakParent:w,group:k}}=wi(),{locStart:_,locEnd:$}=gs(),{getParentExportDeclaration:j}=hs();function W(he,J,ee){let ue=he.getValue();return k([x(C,he.map(ee,"decorators")),U(ue,J)?y:C])}function I(he,J,ee){return[x(y,he.map(ee,"declaration","decorators")),y]}function O(he,J,ee){let ue=he.getValue(),{decorators:ge}=ue;if(!g(ge)||le(he.getParentNode()))return;let me=ue.type==="ClassExpression"||ue.type==="ClassDeclaration"||U(ue,J);return[j(he)?y:me?w:"",x(C,he.map(ee,"decorators")),C]}function U(he,J){return he.decorators.some(ee=>A(J.originalText,$(ee)))}function le(he){if(he.type!=="ExportDefaultDeclaration"&&he.type!=="ExportNamedDeclaration"&&he.type!=="DeclareExportDeclaration")return!1;let J=he.declaration&&he.declaration.decorators;return g(J)&&_(he,{ignoreDecorators:!0})>_(J[0])}E.exports={printDecorators:O,printClassMemberDecorators:W,printDecoratorsBeforeExport:I,hasDecoratorsBeforeExport:le}}}),lo=Xe({"src/language-js/print/class.js"(m,E){S();var{isNonEmptyArray:g,createGroupIdMapper:A}=Qi(),{printComments:C,printDanglingComments:y}=Ni(),{builders:{join:x,line:w,hardline:k,softline:_,group:$,indent:j,ifBreak:W}}=wi(),{hasComment:I,CommentCheckFlags:O}=hs(),{getTypeParametersGroupId:U}=Js(),{printMethod:le}=zo(),{printOptionalToken:he,printTypeAnnotation:J,printDefiniteToken:ee}=la(),{printPropertyKey:ue}=Hs(),{printAssignment:ge}=qu(),{printClassMemberDecorators:me}=$u();function ye(te,ne,be){let je=te.getValue(),Pe=[];je.declare&&Pe.push("declare "),je.abstract&&Pe.push("abstract "),Pe.push("class");let Ge=je.id&&I(je.id,O.Trailing)||je.typeParameters&&I(je.typeParameters,O.Trailing)||je.superClass&&I(je.superClass)||g(je.extends)||g(je.mixins)||g(je.implements),We=[],Me=[];if(je.id&&We.push(" ",be("id")),We.push(be("typeParameters")),je.superClass){let yt=[G(te,ne,be),be("superTypeParameters")],qe=te.call(Ve=>["extends ",C(Ve,yt,ne)],"superClass");Ge?Me.push(w,$(qe)):Me.push(" ",qe)}else Me.push(N(te,ne,be,"extends"));if(Me.push(N(te,ne,be,"mixins"),N(te,ne,be,"implements")),Ge){let yt;X(je)?yt=[...We,j(Me)]:yt=j([...We,Me]),Pe.push($(yt,{id:V(je)}))}else Pe.push(...We,...Me);return Pe.push(" ",be("body")),Pe}var V=A("heritageGroup");function L(te){return W(k,"",{groupId:V(te)})}function R(te){return["superClass","extends","mixins","implements"].filter(ne=>Boolean(te[ne])).length>1}function X(te){return te.typeParameters&&!I(te.typeParameters,O.Trailing|O.Line)&&!R(te)}function N(te,ne,be,je){let Pe=te.getValue();if(!g(Pe[je]))return"";let Ge=y(te,ne,!0,We=>{let{marker:Me}=We;return Me===je});return[X(Pe)?W(" ",w,{groupId:U(Pe.typeParameters)}):w,Ge,Ge&&k,je,$(j([w,x([",",w],te.map(be,je))]))]}function G(te,ne,be){let je=be("superClass");return te.getParentNode().type==="AssignmentExpression"?$(W(["(",j([_,je]),_,")"],je)):je}function q(te,ne,be){let je=te.getValue(),Pe=[];return g(je.decorators)&&Pe.push(me(te,ne,be)),je.accessibility&&Pe.push(je.accessibility+" "),je.readonly&&Pe.push("readonly "),je.declare&&Pe.push("declare "),je.static&&Pe.push("static "),(je.type==="TSAbstractMethodDefinition"||je.abstract)&&Pe.push("abstract "),je.override&&Pe.push("override "),Pe.push(le(te,ne,be)),Pe}function se(te,ne,be){let je=te.getValue(),Pe=[],Ge=ne.semi?";":"";return g(je.decorators)&&Pe.push(me(te,ne,be)),je.accessibility&&Pe.push(je.accessibility+" "),je.declare&&Pe.push("declare "),je.static&&Pe.push("static "),(je.type==="TSAbstractPropertyDefinition"||je.abstract)&&Pe.push("abstract "),je.override&&Pe.push("override "),je.readonly&&Pe.push("readonly "),je.variance&&Pe.push(be("variance")),je.type==="ClassAccessorProperty"&&Pe.push("accessor "),Pe.push(ue(te,ne,be),he(te),ee(te),J(te,ne,be)),[ge(te,ne,be,Pe," =","value"),Ge]}E.exports={printClass:ye,printClassMethod:q,printClassProperty:se,printHardlineAfterHeritage:L}}}),Uo=Xe({"src/language-js/print/interface.js"(m,E){S();var{isNonEmptyArray:g}=Qi(),{builders:{join:A,line:C,group:y,indent:x,ifBreak:w}}=wi(),{hasComment:k,identity:_,CommentCheckFlags:$}=hs(),{getTypeParametersGroupId:j}=Js(),{printTypeScriptModifiers:W}=la();function I(O,U,le){let he=O.getValue(),J=[];he.declare&&J.push("declare "),he.type==="TSInterfaceDeclaration"&&J.push(he.abstract?"abstract ":"",W(O,U,le)),J.push("interface");let ee=[],ue=[];he.type!=="InterfaceTypeAnnotation"&&ee.push(" ",le("id"),le("typeParameters"));let ge=he.typeParameters&&!k(he.typeParameters,$.Trailing|$.Line);return g(he.extends)&&ue.push(ge?w(" ",C,{groupId:j(he.typeParameters)}):C,"extends ",(he.extends.length===1?_:x)(A([",",C],O.map(le,"extends")))),he.id&&k(he.id,$.Trailing)||g(he.extends)?ge?J.push(y([...ee,x(ue)])):J.push(y(x([...ee,...ue]))):J.push(...ee,...ue),J.push(" ",le("body")),y(J)}E.exports={printInterface:I}}}),ll=Xe({"src/language-js/print/module.js"(m,E){S();var{isNonEmptyArray:g}=Qi(),{builders:{softline:A,group:C,indent:y,join:x,line:w,ifBreak:k,hardline:_}}=wi(),{printDanglingComments:$}=Ni(),{hasComment:j,CommentCheckFlags:W,shouldPrintComma:I,needsHardlineAfterDanglingComment:O,isStringLiteral:U,rawText:le}=hs(),{locStart:he,hasSameLoc:J}=gs(),{hasDecoratorsBeforeExport:ee,printDecoratorsBeforeExport:ue}=$u();function ge(se,te,ne){let be=se.getValue(),je=te.semi?";":"",Pe=[],{importKind:Ge}=be;return Pe.push("import"),Ge&&Ge!=="value"&&Pe.push(" ",Ge),Pe.push(R(se,te,ne),L(se,te,ne),N(se,te,ne),je),Pe}function me(se,te,ne){let be=se.getValue(),je=[];ee(be)&&je.push(ue(se,te,ne));let{type:Pe,exportKind:Ge,declaration:We}=be;return je.push("export"),(be.default||Pe==="ExportDefaultDeclaration")&&je.push(" default"),j(be,W.Dangling)&&(je.push(" ",$(se,te,!0)),O(be)&&je.push(_)),We?je.push(" ",ne("declaration")):je.push(Ge==="type"?" type":"",R(se,te,ne),L(se,te,ne),N(se,te,ne)),V(be,te)&&je.push(";"),je}function ye(se,te,ne){let be=se.getValue(),je=te.semi?";":"",Pe=[],{exportKind:Ge,exported:We}=be;return Pe.push("export"),Ge==="type"&&Pe.push(" type"),Pe.push(" *"),We&&Pe.push(" as ",ne("exported")),Pe.push(L(se,te,ne),N(se,te,ne),je),Pe}function V(se,te){if(!te.semi)return!1;let{type:ne,declaration:be}=se,je=se.default||ne==="ExportDefaultDeclaration";if(!be)return!0;let{type:Pe}=be;return!!(je&&Pe!=="ClassDeclaration"&&Pe!=="FunctionDeclaration"&&Pe!=="TSInterfaceDeclaration"&&Pe!=="DeclareClass"&&Pe!=="DeclareFunction"&&Pe!=="TSDeclareFunction"&&Pe!=="EnumDeclaration")}function L(se,te,ne){let be=se.getValue();if(!be.source)return"";let je=[];return X(be,te)||je.push(" from"),je.push(" ",ne("source")),je}function R(se,te,ne){let be=se.getValue();if(X(be,te))return"";let je=[" "];if(g(be.specifiers)){let Pe=[],Ge=[];se.each(()=>{let We=se.getValue().type;if(We==="ExportNamespaceSpecifier"||We==="ExportDefaultSpecifier"||We==="ImportNamespaceSpecifier"||We==="ImportDefaultSpecifier")Pe.push(ne());else if(We==="ExportSpecifier"||We==="ImportSpecifier")Ge.push(ne());else throw new Error("Unknown specifier type ".concat(JSON.stringify(We)))},"specifiers"),je.push(x(", ",Pe)),Ge.length>0&&(Pe.length>0&&je.push(", "),Ge.length>1||Pe.length>0||be.specifiers.some(We=>j(We))?je.push(C(["{",y([te.bracketSpacing?w:A,x([",",w],Ge)]),k(I(te)?",":""),te.bracketSpacing?w:A,"}"])):je.push(["{",te.bracketSpacing?" ":"",...Ge,te.bracketSpacing?" ":"","}"]))}else je.push("{}");return je}function X(se,te){let{type:ne,importKind:be,source:je,specifiers:Pe}=se;return ne!=="ImportDeclaration"||g(Pe)||be==="type"?!1:!/{\s*}/.test(te.originalText.slice(he(se),he(je)))}function N(se,te,ne){let be=se.getNode();return g(be.assertions)?[" assert {",te.bracketSpacing?" ":"",x(", ",se.map(ne,"assertions")),te.bracketSpacing?" ":"","}"]:""}function G(se,te,ne){let be=se.getNode(),{type:je}=be,Pe=[],Ge=je==="ImportSpecifier"?be.importKind:be.exportKind;Ge&&Ge!=="value"&&Pe.push(Ge," ");let We=je.startsWith("Import"),Me=We?"imported":"local",yt=We?"local":"exported",qe=be[Me],Ve=be[yt],bt="",Tt="";return je==="ExportNamespaceSpecifier"||je==="ImportNamespaceSpecifier"?bt="*":qe&&(bt=ne(Me)),Ve&&!q(be)&&(Tt=ne(yt)),Pe.push(bt,bt&&Tt?" as ":"",Tt),Pe}function q(se){if(se.type!=="ImportSpecifier"&&se.type!=="ExportSpecifier")return!1;let{local:te,[se.type==="ImportSpecifier"?"imported":"exported"]:ne}=se;if(te.type!==ne.type||!J(te,ne))return!1;if(U(te))return te.value===ne.value&&le(te)===le(ne);switch(te.type){case"Identifier":return te.name===ne.name;default:return!1}}E.exports={printImportDeclaration:ge,printExportDeclaration:me,printExportAllDeclaration:ye,printModuleSpecifier:G}}}),Cl=Xe({"src/language-js/print/object.js"(m,E){S();var{printDanglingComments:g}=Ni(),{builders:{line:A,softline:C,group:y,indent:x,ifBreak:w,hardline:k}}=wi(),{getLast:_,hasNewlineInRange:$,hasNewline:j,isNonEmptyArray:W}=Qi(),{shouldPrintComma:I,hasComment:O,getComments:U,CommentCheckFlags:le,isNextLineEmpty:he}=hs(),{locStart:J,locEnd:ee}=gs(),{printOptionalToken:ue,printTypeAnnotation:ge}=la(),{shouldHugFunctionParameters:me}=ya(),{shouldHugType:ye}=Ys(),{printHardlineAfterHeritage:V}=lo();function L(R,X,N){let G=X.semi?";":"",q=R.getValue(),se;q.type==="TSTypeLiteral"?se="members":q.type==="TSInterfaceBody"?se="body":se="properties";let te=q.type==="ObjectTypeAnnotation",ne=[se];te&&ne.push("indexers","callProperties","internalSlots");let be=ne.map($e=>q[$e][0]).sort(($e,nt)=>J($e)-J(nt))[0],je=R.getParentNode(0),Pe=te&&je&&(je.type==="InterfaceDeclaration"||je.type==="DeclareInterface"||je.type==="DeclareClass")&&R.getName()==="body",Ge=q.type==="TSInterfaceBody"||Pe||q.type==="ObjectPattern"&&je.type!=="FunctionDeclaration"&&je.type!=="FunctionExpression"&&je.type!=="ArrowFunctionExpression"&&je.type!=="ObjectMethod"&&je.type!=="ClassMethod"&&je.type!=="ClassPrivateMethod"&&je.type!=="AssignmentPattern"&&je.type!=="CatchClause"&&q.properties.some($e=>$e.value&&($e.value.type==="ObjectPattern"||$e.value.type==="ArrayPattern"))||q.type!=="ObjectPattern"&&be&&$(X.originalText,J(q),J(be)),We=Pe?";":q.type==="TSInterfaceBody"||q.type==="TSTypeLiteral"?w(G,";"):",",Me=q.type==="RecordExpression"?"#{":q.exact?"{|":"{",yt=q.exact?"|}":"}",qe=[];for(let $e of ne)R.each(nt=>{let rr=nt.getValue();qe.push({node:rr,printed:N(),loc:J(rr)})},$e);ne.length>1&&qe.sort(($e,nt)=>$e.loc-nt.loc);let Ve=[],bt=qe.map($e=>{let nt=[...Ve,y($e.printed)];return Ve=[We,A],($e.node.type==="TSPropertySignature"||$e.node.type==="TSMethodSignature"||$e.node.type==="TSConstructSignatureDeclaration")&&O($e.node,le.PrettierIgnore)&&Ve.shift(),he($e.node,X)&&Ve.push(k),nt});if(q.inexact){let $e;if(O(q,le.Dangling)){let nt=O(q,le.Line);$e=[g(R,X,!0),nt||j(X.originalText,ee(_(U(q))))?k:A,"..."]}else $e=["..."];bt.push([...Ve,...$e])}let Tt=_(q[se]),Ct=!(q.inexact||Tt&&Tt.type==="RestElement"||Tt&&(Tt.type==="TSPropertySignature"||Tt.type==="TSCallSignatureDeclaration"||Tt.type==="TSMethodSignature"||Tt.type==="TSConstructSignatureDeclaration")&&O(Tt,le.PrettierIgnore)),hr;if(bt.length===0){if(!O(q,le.Dangling))return[Me,yt,ge(R,X,N)];hr=y([Me,g(R,X),C,yt,ue(R),ge(R,X,N)])}else hr=[Pe&&W(q.properties)?V(je):"",Me,x([X.bracketSpacing?A:C,...bt]),w(Ct&&(We!==","||I(X))?We:""),X.bracketSpacing?A:C,yt,ue(R),ge(R,X,N)];return R.match($e=>$e.type==="ObjectPattern"&&!$e.decorators,($e,nt,rr)=>me($e)&&(nt==="params"||nt==="parameters"||nt==="this"||nt==="rest")&&rr===0)||R.match(ye,($e,nt)=>nt==="typeAnnotation",($e,nt)=>nt==="typeAnnotation",($e,nt,rr)=>me($e)&&(nt==="params"||nt==="parameters"||nt==="this"||nt==="rest")&&rr===0)||!Ge&&R.match($e=>$e.type==="ObjectPattern",$e=>$e.type==="AssignmentExpression"||$e.type==="VariableDeclarator")?hr:y(hr,{shouldBreak:Ge})}E.exports={printObject:L}}}),cl=Xe({"src/language-js/print/flow.js"(m,E){S();var g=hi(),{printDanglingComments:A}=Ni(),{printString:C,printNumber:y}=Qi(),{builders:{hardline:x,softline:w,group:k,indent:_}}=wi(),{getParentExportDeclaration:$,isFunctionNotation:j,isGetterOrSetter:W,rawText:I,shouldPrintComma:O}=hs(),{locStart:U,locEnd:le}=gs(),{printClass:he}=lo(),{printOpaqueType:J,printTypeAlias:ee,printIntersectionType:ue,printUnionType:ge,printFunctionType:me,printTupleType:ye,printIndexedAccessType:V}=Ys(),{printInterface:L}=Uo(),{printTypeParameter:R,printTypeParameters:X}=Js(),{printExportDeclaration:N,printExportAllDeclaration:G}=ll(),{printArrayItems:q}=Hu(),{printObject:se}=Cl(),{printPropertyKey:te}=Hs(),{printOptionalToken:ne,printTypeAnnotation:be,printRestSpread:je}=la();function Pe(We,Me,yt){let qe=We.getValue(),Ve=Me.semi?";":"",bt=[];switch(qe.type){case"DeclareClass":return Ge(We,he(We,Me,yt));case"DeclareFunction":return Ge(We,["function ",yt("id"),qe.predicate?" ":"",yt("predicate"),Ve]);case"DeclareModule":return Ge(We,["module ",yt("id")," ",yt("body")]);case"DeclareModuleExports":return Ge(We,["module.exports",": ",yt("typeAnnotation"),Ve]);case"DeclareVariable":return Ge(We,["var ",yt("id"),Ve]);case"DeclareOpaqueType":return Ge(We,J(We,Me,yt));case"DeclareInterface":return Ge(We,L(We,Me,yt));case"DeclareTypeAlias":return Ge(We,ee(We,Me,yt));case"DeclareExportDeclaration":return Ge(We,N(We,Me,yt));case"DeclareExportAllDeclaration":return Ge(We,G(We,Me,yt));case"OpaqueType":return J(We,Me,yt);case"TypeAlias":return ee(We,Me,yt);case"IntersectionTypeAnnotation":return ue(We,Me,yt);case"UnionTypeAnnotation":return ge(We,Me,yt);case"FunctionTypeAnnotation":return me(We,Me,yt);case"TupleTypeAnnotation":return ye(We,Me,yt);case"GenericTypeAnnotation":return[yt("id"),X(We,Me,yt,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return V(We,Me,yt);case"TypeAnnotation":return yt("typeAnnotation");case"TypeParameter":return R(We,Me,yt);case"TypeofTypeAnnotation":return["typeof ",yt("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[yt("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(qe.value);case"EnumDeclaration":return["enum ",yt("id")," ",yt("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(qe.type==="EnumSymbolBody"||qe.explicitType){let Tt=null;switch(qe.type){case"EnumBooleanBody":Tt="boolean";break;case"EnumNumberBody":Tt="number";break;case"EnumStringBody":Tt="string";break;case"EnumSymbolBody":Tt="symbol";break}bt.push("of ",Tt," ")}if(qe.members.length===0&&!qe.hasUnknownMembers)bt.push(k(["{",A(We,Me),w,"}"]));else{let Tt=qe.members.length>0?[x,q(We,Me,"members",yt),qe.hasUnknownMembers||O(Me)?",":""]:[];bt.push(k(["{",_([...Tt,...qe.hasUnknownMembers?[x,"..."]:[]]),A(We,Me,!0),x,"}"]))}return bt}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[yt("id")," = ",typeof qe.init=="object"?yt("init"):String(qe.init)];case"EnumDefaultedMember":return yt("id");case"FunctionTypeParam":{let Tt=qe.name?yt("name"):We.getParentNode().this===qe?"this":"";return[Tt,ne(We),Tt?": ":"",yt("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return L(We,Me,yt);case"ClassImplements":case"InterfaceExtends":return[yt("id"),yt("typeParameters")];case"NullableTypeAnnotation":return["?",yt("typeAnnotation")];case"Variance":{let{kind:Tt}=qe;return g.ok(Tt==="plus"||Tt==="minus"),Tt==="plus"?"+":"-"}case"ObjectTypeCallProperty":return qe.static&&bt.push("static "),bt.push(yt("value")),bt;case"ObjectTypeIndexer":return[qe.static?"static ":"",qe.variance?yt("variance"):"","[",yt("id"),qe.id?": ":"",yt("key"),"]: ",yt("value")];case"ObjectTypeProperty":{let Tt="";return qe.proto?Tt="proto ":qe.static&&(Tt="static "),[Tt,W(qe)?qe.kind+" ":"",qe.variance?yt("variance"):"",te(We,Me,yt),ne(We),j(qe)?"":": ",yt("value")]}case"ObjectTypeAnnotation":return se(We,Me,yt);case"ObjectTypeInternalSlot":return[qe.static?"static ":"","[[",yt("id"),"]]",ne(We),qe.method?"":": ",yt("value")];case"ObjectTypeSpreadProperty":return je(We,Me,yt);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[yt("qualification"),".",yt("id")];case"StringLiteralTypeAnnotation":return C(I(qe),Me);case"NumberLiteralTypeAnnotation":g.strictEqual(typeof qe.value,"number");case"BigIntLiteralTypeAnnotation":return qe.extra?y(qe.extra.raw):y(qe.raw);case"TypeCastExpression":return["(",yt("expression"),be(We,Me,yt),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let Tt=X(We,Me,yt,"params");if(Me.parser==="flow"){let Ct=U(qe),hr=le(qe),$e=Me.originalText.lastIndexOf("/*",Ct),nt=Me.originalText.indexOf("*/",hr);if($e!==-1&&nt!==-1){let rr=Me.originalText.slice($e+2,nt).trim();if(rr.startsWith("::")&&!rr.includes("/*")&&!rr.includes("*/"))return["/*:: ",Tt," */"]}}return Tt}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",yt("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(qe.type))}}function Ge(We,Me){let yt=$(We);return yt?(g.strictEqual(yt.type,"DeclareExportDeclaration"),Me):["declare ",Me]}E.exports={printFlow:Pe}}}),Rl=Xe({"src/language-js/utils/is-ts-keyword-type.js"(m,E){S();function g(A){let{type:C}=A;return C.startsWith("TS")&&C.endsWith("Keyword")}E.exports=g}}),Wu=Xe({"src/language-js/print/ternary.js"(m,E){S();var{hasNewlineInRange:g}=Qi(),{isJsxNode:A,getComments:C,isCallExpression:y,isMemberExpression:x}=hs(),{locStart:w,locEnd:k}=gs(),_=ga(),{builders:{line:$,softline:j,group:W,indent:I,align:O,ifBreak:U,dedent:le,breakParent:he}}=wi();function J(ye){let V=[ye];for(let L=0;L<V.length;L++){let R=V[L];for(let X of["test","consequent","alternate"]){let N=R[X];if(A(N))return!0;N.type==="ConditionalExpression"&&V.push(N)}}return!1}function ee(ye,V,L){let R=ye.getValue(),X=R.type==="ConditionalExpression",N=X?"alternate":"falseType",G=ye.getParentNode(),q=X?L("test"):[L("checkType")," ","extends"," ",L("extendsType")];return G.type===R.type&&G[N]===R?O(2,q):q}var ue=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function ge(ye){let V=ye.getValue();if(V.type!=="ConditionalExpression")return!1;let L,R=V;for(let X=0;!L;X++){let N=ye.getParentNode(X);if(y(N)&&N.callee===R||x(N)&&N.object===R||N.type==="TSNonNullExpression"&&N.expression===R){R=N;continue}N.type==="NewExpression"&&N.callee===R||N.type==="TSAsExpression"&&N.expression===R?(L=ye.getParentNode(X+1),R=N):L=N}return R===V?!1:L[ue.get(L.type)]===R}function me(ye,V,L){let R=ye.getValue(),X=R.type==="ConditionalExpression",N=X?"consequent":"trueType",G=X?"alternate":"falseType",q=X?["test"]:["checkType","extendsType"],se=R[N],te=R[G],ne=[],be=!1,je=ye.getParentNode(),Pe=je.type===R.type&&q.some(nt=>je[nt]===R),Ge=je.type===R.type&&!Pe,We,Me,yt=0;do Me=We||R,We=ye.getParentNode(yt),yt++;while(We&&We.type===R.type&&q.every(nt=>We[nt]!==Me));let qe=We||je,Ve=Me;if(X&&(A(R[q[0]])||A(se)||A(te)||J(Ve))){be=!0,Ge=!0;let nt=gr=>[U("("),I([j,gr]),j,U(")")],rr=gr=>gr.type==="NullLiteral"||gr.type==="Literal"&&gr.value===null||gr.type==="Identifier"&&gr.name==="undefined";ne.push(" ? ",rr(se)?L(N):nt(L(N))," : ",te.type===R.type||rr(te)?L(G):nt(L(G)))}else{let nt=[$,"? ",se.type===R.type?U("","("):"",O(2,L(N)),se.type===R.type?U("",")"):"",$,": ",te.type===R.type?L(G):O(2,L(G))];ne.push(je.type!==R.type||je[G]===R||Pe?nt:V.useTabs?le(I(nt)):O(Math.max(0,V.tabWidth-2),nt))}let bt=[...q.map(nt=>C(R[nt])),C(se),C(te)].flat().some(nt=>_(nt)&&g(V.originalText,w(nt),k(nt))),Tt=nt=>je===qe?W(nt,{shouldBreak:bt}):bt?[nt,he]:nt,Ct=!be&&(x(je)||je.type==="NGPipeExpression"&&je.left===R)&&!je.computed,hr=ge(ye),$e=Tt([ee(ye,V,L),Ge?ne:I(ne),X&&Ct&&!hr?j:""]);return Pe||hr?W([I([j,$e]),j]):$e}E.exports={printTernary:me}}}),zl=Xe({"src/language-js/print/statement.js"(m,E){S();var{builders:{hardline:g}}=wi(),A=uo(),{getLeftSidePathName:C,hasNakedLeftSide:y,isJsxNode:x,isTheOnlyJsxElementInMarkdown:w,hasComment:k,CommentCheckFlags:_,isNextLineEmpty:$}=hs(),{shouldPrintParamsWithoutParens:j}=zo();function W(ue,ge,me,ye){let V=ue.getValue(),L=[],R=V.type==="ClassBody",X=I(V[ye]);return ue.each((N,G,q)=>{let se=N.getValue();if(se.type==="EmptyStatement")return;let te=me();!ge.semi&&!R&&!w(ge,N)&&O(N,ge)?k(se,_.Leading)?L.push(me([],{needsSemi:!0})):L.push(";",te):L.push(te),!ge.semi&&R&&J(se)&&ee(se,q[G+1])&&L.push(";"),se!==X&&(L.push(g),$(se,ge)&&L.push(g))},ye),L}function I(ue){for(let ge=ue.length-1;ge>=0;ge--){let me=ue[ge];if(me.type!=="EmptyStatement")return me}}function O(ue,ge){return ue.getNode().type!=="ExpressionStatement"?!1:ue.call(me=>U(me,ge),"expression")}function U(ue,ge){let me=ue.getValue();switch(me.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!j(ue,ge))return!0;break}case"UnaryExpression":{let{prefix:ye,operator:V}=me;if(ye&&(V==="+"||V==="-"))return!0;break}case"BindExpression":{if(!me.object)return!0;break}case"Literal":{if(me.regex)return!0;break}default:if(x(me))return!0}return A(ue,ge)?!0:y(me)?ue.call(ye=>U(ye,ge),...C(ue,me)):!1}function le(ue,ge,me){return W(ue,ge,me,"body")}function he(ue,ge,me){return W(ue,ge,me,"consequent")}var J=ue=>{let{type:ge}=ue;return ge==="ClassProperty"||ge==="PropertyDefinition"||ge==="ClassPrivateProperty"||ge==="ClassAccessorProperty"};function ee(ue,ge){let me=ue.key&&ue.key.name;if((me==="static"||me==="get"||me==="set")&&!ue.value&&!ue.typeAnnotation)return!0;if(!ge||ge.static||ge.accessibility)return!1;if(!ge.computed){let ye=ge.key&&ge.key.name;if(ye==="in"||ye==="instanceof")return!0}if(J(ge)&&ge.variance&&!ge.static&&!ge.declare)return!0;switch(ge.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return ge.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((ge.value?ge.value.async:ge.async)||ge.kind==="get"||ge.kind==="set")return!1;let ye=ge.value?ge.value.generator:ge.generator;return!!(ge.computed||ye)}case"TSIndexSignature":return!0}return!1}E.exports={printBody:le,printSwitchCaseConsequent:he}}}),pl=Xe({"src/language-js/print/block.js"(m,E){S();var{printDanglingComments:g}=Ni(),{isNonEmptyArray:A}=Qi(),{builders:{hardline:C,indent:y}}=wi(),{hasComment:x,CommentCheckFlags:w,isNextLineEmpty:k}=hs(),{printHardlineAfterHeritage:_}=lo(),{printBody:$}=zl();function j(I,O,U){let le=I.getValue(),he=[];if(le.type==="StaticBlock"&&he.push("static "),le.type==="ClassBody"&&A(le.body)){let ee=I.getParentNode();he.push(_(ee))}he.push("{");let J=W(I,O,U);if(J)he.push(y([C,J]),C);else{let ee=I.getParentNode(),ue=I.getParentNode(1);ee.type==="ArrowFunctionExpression"||ee.type==="FunctionExpression"||ee.type==="FunctionDeclaration"||ee.type==="ObjectMethod"||ee.type==="ClassMethod"||ee.type==="ClassPrivateMethod"||ee.type==="ForStatement"||ee.type==="WhileStatement"||ee.type==="DoWhileStatement"||ee.type==="DoExpression"||ee.type==="CatchClause"&&!ue.finalizer||ee.type==="TSModuleDeclaration"||ee.type==="TSDeclareFunction"||le.type==="StaticBlock"||le.type==="ClassBody"||he.push(C)}return he.push("}"),he}function W(I,O,U){let le=I.getValue(),he=A(le.directives),J=le.body.some(ge=>ge.type!=="EmptyStatement"),ee=x(le,w.Dangling);if(!he&&!J&&!ee)return"";let ue=[];if(he&&I.each((ge,me,ye)=>{ue.push(U()),(me<ye.length-1||J||ee)&&(ue.push(C),k(ge.getValue(),O)&&ue.push(C))},"directives"),J&&ue.push($(I,O,U)),ee&&ue.push(g(I,O,!0)),le.type==="Program"){let ge=I.getParentNode();(!ge||ge.type!=="ModuleExpression")&&ue.push(C)}return ue}E.exports={printBlock:j,printBlockBody:W}}}),Vu=Xe({"src/language-js/print/typescript.js"(m,E){S();var{printDanglingComments:g}=Ni(),{hasNewlineInRange:A}=Qi(),{builders:{join:C,line:y,hardline:x,softline:w,group:k,indent:_,conditionalGroup:$,ifBreak:j}}=wi(),{isLiteral:W,getTypeScriptMappedTypeModifier:I,shouldPrintComma:O,isCallExpression:U,isMemberExpression:le}=hs(),he=Rl(),{locStart:J,locEnd:ee}=gs(),{printOptionalToken:ue,printTypeScriptModifiers:ge}=la(),{printTernary:me}=Wu(),{printFunctionParameters:ye,shouldGroupFunctionParameters:V}=ya(),{printTemplateLiteral:L}=za(),{printArrayItems:R}=Hu(),{printObject:X}=Cl(),{printClassProperty:N,printClassMethod:G}=lo(),{printTypeParameter:q,printTypeParameters:se}=Js(),{printPropertyKey:te}=Hs(),{printFunction:ne,printMethodInternal:be}=zo(),{printInterface:je}=Uo(),{printBlock:Pe}=pl(),{printTypeAlias:Ge,printIntersectionType:We,printUnionType:Me,printFunctionType:yt,printTupleType:qe,printIndexedAccessType:Ve,printJSDocType:bt}=Ys();function Tt(Ct,hr,$e){let nt=Ct.getValue();if(!nt.type.startsWith("TS"))return;if(he(nt))return nt.type.slice(2,-7).toLowerCase();let rr=hr.semi?";":"",gr=[];switch(nt.type){case"TSThisType":return"this";case"TSTypeAssertion":{let Zt=!(nt.expression.type==="ArrayExpression"||nt.expression.type==="ObjectExpression"),tt=k(["<",_([w,$e("typeAnnotation")]),w,">"]),ot=[j("("),_([w,$e("expression")]),w,j(")")];return Zt?$([[tt,$e("expression")],[tt,k(ot,{shouldBreak:!0})],[tt,$e("expression")]]):k([tt,$e("expression")])}case"TSDeclareFunction":return ne(Ct,$e,hr);case"TSExportAssignment":return["export = ",$e("expression"),rr];case"TSModuleBlock":return Pe(Ct,hr,$e);case"TSInterfaceBody":case"TSTypeLiteral":return X(Ct,hr,$e);case"TSTypeAliasDeclaration":return Ge(Ct,hr,$e);case"TSQualifiedName":return C(".",[$e("left"),$e("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return G(Ct,hr,$e);case"TSAbstractPropertyDefinition":return N(Ct,hr,$e);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return gr.push($e("expression")),nt.typeParameters&&gr.push($e("typeParameters")),gr;case"TSTemplateLiteralType":return L(Ct,$e,hr);case"TSNamedTupleMember":return[$e("label"),nt.optional?"?":"",": ",$e("elementType")];case"TSRestType":return["...",$e("typeAnnotation")];case"TSOptionalType":return[$e("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return je(Ct,hr,$e);case"TSClassImplements":return[$e("expression"),$e("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return se(Ct,hr,$e,"params");case"TSTypeParameter":return q(Ct,hr,$e);case"TSAsExpression":{gr.push($e("expression")," as ",$e("typeAnnotation"));let Zt=Ct.getParentNode();return U(Zt)&&Zt.callee===nt||le(Zt)&&Zt.object===nt?k([_([w,...gr]),w]):gr}case"TSArrayType":return[$e("elementType"),"[]"];case"TSPropertySignature":return nt.readonly&&gr.push("readonly "),gr.push(te(Ct,hr,$e),ue(Ct)),nt.typeAnnotation&&gr.push(": ",$e("typeAnnotation")),nt.initializer&&gr.push(" = ",$e("initializer")),gr;case"TSParameterProperty":return nt.accessibility&&gr.push(nt.accessibility+" "),nt.export&&gr.push("export "),nt.static&&gr.push("static "),nt.override&&gr.push("override "),nt.readonly&&gr.push("readonly "),gr.push($e("parameter")),gr;case"TSTypeQuery":return["typeof ",$e("exprName"),$e("typeParameters")];case"TSIndexSignature":{let Zt=Ct.getParentNode(),tt=nt.parameters.length>1?j(O(hr)?",":""):"",ot=k([_([w,C([", ",w],Ct.map($e,"parameters"))]),tt,w]);return[nt.export?"export ":"",nt.accessibility?[nt.accessibility," "]:"",nt.static?"static ":"",nt.readonly?"readonly ":"",nt.declare?"declare ":"","[",nt.parameters?ot:"",nt.typeAnnotation?"]: ":"]",nt.typeAnnotation?$e("typeAnnotation"):"",Zt.type==="ClassBody"?rr:""]}case"TSTypePredicate":return[nt.asserts?"asserts ":"",$e("parameterName"),nt.typeAnnotation?[" is ",$e("typeAnnotation")]:""];case"TSNonNullExpression":return[$e("expression"),"!"];case"TSImportType":return[nt.isTypeOf?"typeof ":"","import(",$e(nt.parameter?"parameter":"argument"),")",nt.qualifier?[".",$e("qualifier")]:"",se(Ct,hr,$e,"typeParameters")];case"TSLiteralType":return $e("literal");case"TSIndexedAccessType":return Ve(Ct,hr,$e);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(nt.type==="TSConstructorType"&&nt.abstract&&gr.push("abstract "),nt.type!=="TSCallSignatureDeclaration"&&gr.push("new "),gr.push(k(ye(Ct,$e,hr,!1,!0))),nt.returnType||nt.typeAnnotation){let Zt=nt.type==="TSConstructorType";gr.push(Zt?" => ":": ",$e("returnType"),$e("typeAnnotation"))}return gr}case"TSTypeOperator":return[nt.operator," ",$e("typeAnnotation")];case"TSMappedType":{let Zt=A(hr.originalText,J(nt),ee(nt));return k(["{",_([hr.bracketSpacing?y:w,nt.readonly?[I(nt.readonly,"readonly")," "]:"",ge(Ct,hr,$e),$e("typeParameter"),nt.optional?I(nt.optional,"?"):"",nt.typeAnnotation?": ":"",$e("typeAnnotation"),j(rr)]),g(Ct,hr,!0),hr.bracketSpacing?y:w,"}"],{shouldBreak:Zt})}case"TSMethodSignature":{let Zt=nt.kind&&nt.kind!=="method"?"".concat(nt.kind," "):"";gr.push(nt.accessibility?[nt.accessibility," "]:"",Zt,nt.export?"export ":"",nt.static?"static ":"",nt.readonly?"readonly ":"",nt.abstract?"abstract ":"",nt.declare?"declare ":"",nt.computed?"[":"",$e("key"),nt.computed?"]":"",ue(Ct));let tt=ye(Ct,$e,hr,!1,!0),ot=nt.returnType?"returnType":"typeAnnotation",pt=nt[ot],lr=pt?$e(ot):"",Yt=V(nt,lr);return gr.push(Yt?k(tt):tt),pt&&gr.push(": ",k(lr)),k(gr)}case"TSNamespaceExportDeclaration":return gr.push("export as namespace ",$e("id")),hr.semi&&gr.push(";"),k(gr);case"TSEnumDeclaration":return nt.declare&&gr.push("declare "),nt.modifiers&&gr.push(ge(Ct,hr,$e)),nt.const&&gr.push("const "),gr.push("enum ",$e("id")," "),nt.members.length===0?gr.push(k(["{",g(Ct,hr),w,"}"])):gr.push(k(["{",_([x,R(Ct,hr,"members",$e),O(hr,"es5")?",":""]),g(Ct,hr,!0),x,"}"])),gr;case"TSEnumMember":return nt.computed?gr.push("[",$e("id"),"]"):gr.push($e("id")),nt.initializer&&gr.push(" = ",$e("initializer")),gr;case"TSImportEqualsDeclaration":return nt.isExport&&gr.push("export "),gr.push("import "),nt.importKind&&nt.importKind!=="value"&&gr.push(nt.importKind," "),gr.push($e("id")," = ",$e("moduleReference")),hr.semi&&gr.push(";"),k(gr);case"TSExternalModuleReference":return["require(",$e("expression"),")"];case"TSModuleDeclaration":{let Zt=Ct.getParentNode(),tt=W(nt.id),ot=Zt.type==="TSModuleDeclaration",pt=nt.body&&nt.body.type==="TSModuleDeclaration";if(ot)gr.push(".");else{nt.declare&&gr.push("declare "),gr.push(ge(Ct,hr,$e));let lr=hr.originalText.slice(J(nt),J(nt.id));nt.id.type==="Identifier"&&nt.id.name==="global"&&!/namespace|module/.test(lr)||gr.push(tt||/(?:^|\s)module(?:\s|$)/.test(lr)?"module ":"namespace ")}return gr.push($e("id")),pt?gr.push($e("body")):nt.body?gr.push(" ",k($e("body"))):gr.push(rr),gr}case"TSConditionalType":return me(Ct,hr,$e);case"TSInferType":return["infer"," ",$e("typeParameter")];case"TSIntersectionType":return We(Ct,hr,$e);case"TSUnionType":return Me(Ct,hr,$e);case"TSFunctionType":return yt(Ct,hr,$e);case"TSTupleType":return qe(Ct,hr,$e);case"TSTypeReference":return[$e("typeName"),se(Ct,hr,$e,"typeParameters")];case"TSTypeAnnotation":return $e("typeAnnotation");case"TSEmptyBodyFunctionExpression":return be(Ct,hr,$e);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return bt(Ct,$e,"?");case"TSJSDocNonNullableType":return bt(Ct,$e,"!");case"TSInstantiationExpression":return[$e("expression"),$e("typeParameters")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(nt.type),"."))}}E.exports={printTypescript:Tt}}}),Ul=Xe({"src/language-js/print/comment.js"(m,E){S();var{hasNewline:g}=Qi(),{builders:{join:A,hardline:C},utils:{replaceTextEndOfLine:y}}=wi(),{isLineComment:x}=hs(),{locStart:w,locEnd:k}=gs(),_=ga();function $(I,O){let U=I.getValue();if(x(U))return O.originalText.slice(w(U),k(U)).trimEnd();if(_(U)){if(j(U)){let J=W(U);return U.trailing&&!g(O.originalText,w(U),{backwards:!0})?[C,J]:J}let le=k(U),he=O.originalText.slice(le-3,le)==="*-/";return["/*",y(U.value),he?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(U))}function j(I){let O="*".concat(I.value,"*").split(`
|
|
90
|
-
`);return O.length>1&&O.every(U=>U.trim()[0]==="*")}function W(I){let O=I.value.split(`
|
|
91
|
-
`);return["/*",A(C,O.map((U,le)=>le===0?U.trimEnd():" "+(le<O.length-1?U.trim():U.trimStart()))),"*/"]}E.exports={printComment:$}}}),El=Xe({"src/language-js/print/literal.js"(m,E){S();var{printString:g,printNumber:A}=Qi();function C(w,k){let _=w.getNode();switch(_.type){case"RegExpLiteral":return x(_);case"BigIntLiteral":return y(_.bigint||_.extra.raw);case"NumericLiteral":return A(_.extra.raw);case"StringLiteral":return g(_.extra.raw,k);case"NullLiteral":return"null";case"BooleanLiteral":return String(_.value);case"DecimalLiteral":return A(_.value)+"m";case"Literal":{if(_.regex)return x(_.regex);if(_.bigint)return y(_.raw);if(_.decimal)return A(_.decimal)+"m";let{value:$}=_;return typeof $=="number"?A(_.raw):typeof $=="string"?g(_.raw,k):String($)}}}function y(w){return w.toLowerCase()}function x(w){let{pattern:k,flags:_}=w;return _=[..._].sort().join(""),"/".concat(k,"/").concat(_)}E.exports={printLiteral:C}}}),Fu=Xe({"src/language-js/printer-estree.js"(m,E){S();var{printDanglingComments:g}=Ni(),{hasNewline:A}=Qi(),{builders:{join:C,line:y,hardline:x,softline:w,group:k,indent:_},utils:{replaceTextEndOfLine:$}}=wi(),j=Ru(),W=Mo(),{insertPragma:I}=Ea(),O=ou(),U=uo(),le=ul(),{hasFlowShorthandAnnotationComment:he,hasComment:J,CommentCheckFlags:ee,isTheOnlyJsxElementInMarkdown:ue,isLineComment:ge,isNextLineEmpty:me,needsHardlineAfterDanglingComment:ye,rawText:V,hasIgnoreComment:L,isCallExpression:R,isMemberExpression:X,markerForIfWithoutBlockAndSameLineComment:N}=hs(),{locStart:G,locEnd:q}=gs(),se=ga(),{printHtmlBinding:te,isVueEventBindingExpression:ne}=Uu(),{printAngular:be}=xl(),{printJsx:je,hasJsxIgnoreComment:Pe}=To(),{printFlow:Ge}=cl(),{printTypescript:We}=Vu(),{printOptionalToken:Me,printBindExpressionCallee:yt,printTypeAnnotation:qe,adjustClause:Ve,printRestSpread:bt,printDefiniteToken:Tt}=la(),{printImportDeclaration:Ct,printExportDeclaration:hr,printExportAllDeclaration:$e,printModuleSpecifier:nt}=ll(),{printTernary:rr}=Wu(),{printTemplateLiteral:gr}=za(),{printArray:Zt}=Hu(),{printObject:tt}=Cl(),{printClass:ot,printClassMethod:pt,printClassProperty:lr}=lo(),{printProperty:Yt}=Hs(),{printFunction:ln,printArrowFunction:si,printMethod:fi,printReturnStatement:dr,printThrowStatement:fr}=zo(),{printCallExpression:Tr}=Su(),{printVariableDeclarator:It,printAssignmentExpression:Yr}=qu(),{printBinaryishExpression:ht}=Ro(),{printSwitchCaseConsequent:Wr}=zl(),{printMemberExpression:jr}=jl(),{printBlock:e,printBlockBody:r}=pl(),{printComment:o}=Ul(),{printLiteral:a}=El(),{printDecorators:s}=$u();function h(H,Ne,Fe,kt){let Qe=d(H,Ne,Fe,kt);if(!Qe)return"";let or=H.getValue(),{type:qt}=or;if(qt==="ClassMethod"||qt==="ClassPrivateMethod"||qt==="ClassProperty"||qt==="ClassAccessorProperty"||qt==="PropertyDefinition"||qt==="TSAbstractPropertyDefinition"||qt==="ClassPrivateProperty"||qt==="MethodDefinition"||qt==="TSAbstractMethodDefinition"||qt==="TSDeclareMethod")return Qe;let xr=[Qe],Xr=s(H,Ne,Fe),cr=or.type==="ClassExpression"&&Xr;if(Xr&&(xr=[...Xr,Qe],!cr))return k(xr);if(!U(H,Ne))return kt&&kt.needsSemi&&xr.unshift(";"),xr.length===1&&xr[0]===Qe?Qe:xr;if(cr&&(xr=[_([y,...xr])]),xr.unshift("("),kt&&kt.needsSemi&&xr.unshift(";"),he(or)){let[Fr]=or.trailingComments;xr.push(" /*",Fr.value.trimStart(),"*/"),Fr.printed=!0}return cr&&xr.push(y),xr.push(")"),xr}function d(H,Ne,Fe,kt){let Qe=H.getValue(),or=Ne.semi?";":"";if(!Qe)return"";if(typeof Qe=="string")return Qe;for(let xr of[a,te,be,je,Ge,We]){let Xr=xr(H,Ne,Fe);if(typeof Xr<"u")return Xr}let qt=[];switch(Qe.type){case"JsExpressionRoot":return Fe("node");case"JsonRoot":return[Fe("node"),x];case"File":return Qe.program&&Qe.program.interpreter&&qt.push(Fe(["program","interpreter"])),qt.push(Fe("program")),qt;case"Program":return r(H,Ne,Fe);case"EmptyStatement":return"";case"ExpressionStatement":{if(Qe.directive)return[F(Qe.expression,Ne),or];if(Ne.parser==="__vue_event_binding"||Ne.parser==="__vue_ts_event_binding"){let Xr=H.getParentNode();if(Xr.type==="Program"&&Xr.body.length===1&&Xr.body[0]===Qe)return[Fe("expression"),ne(Qe.expression)?";":""]}let xr=g(H,Ne,!0,Xr=>{let{marker:cr}=Xr;return cr===N});return[Fe("expression"),ue(Ne,H)?"":or,xr?[" ",xr]:""]}case"ParenthesizedExpression":return!J(Qe.expression)&&(Qe.expression.type==="ObjectExpression"||Qe.expression.type==="ArrayExpression")?["(",Fe("expression"),")"]:k(["(",_([w,Fe("expression")]),w,")"]);case"AssignmentExpression":return Yr(H,Ne,Fe);case"VariableDeclarator":return It(H,Ne,Fe);case"BinaryExpression":case"LogicalExpression":return ht(H,Ne,Fe);case"AssignmentPattern":return[Fe("left")," = ",Fe("right")];case"OptionalMemberExpression":case"MemberExpression":return jr(H,Ne,Fe);case"MetaProperty":return[Fe("meta"),".",Fe("property")];case"BindExpression":return Qe.object&&qt.push(Fe("object")),qt.push(k(_([w,yt(H,Ne,Fe)]))),qt;case"Identifier":return[Qe.name,Me(H),Tt(H),qe(H,Ne,Fe)];case"V8IntrinsicIdentifier":return["%",Qe.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return bt(H,Ne,Fe);case"FunctionDeclaration":case"FunctionExpression":return ln(H,Fe,Ne,kt);case"ArrowFunctionExpression":return si(H,Ne,Fe,kt);case"YieldExpression":return qt.push("yield"),Qe.delegate&&qt.push("*"),Qe.argument&&qt.push(" ",Fe("argument")),qt;case"AwaitExpression":{if(qt.push("await"),Qe.argument){qt.push(" ",Fe("argument"));let xr=H.getParentNode();if(R(xr)&&xr.callee===Qe||X(xr)&&xr.object===Qe){qt=[_([w,...qt]),w];let Xr=H.findAncestor(cr=>cr.type==="AwaitExpression"||cr.type==="BlockStatement");if(!Xr||Xr.type!=="AwaitExpression")return k(qt)}}return qt}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return hr(H,Ne,Fe);case"ExportAllDeclaration":return $e(H,Ne,Fe);case"ImportDeclaration":return Ct(H,Ne,Fe);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return nt(H,Ne,Fe);case"ImportAttribute":return[Fe("key"),": ",Fe("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return e(H,Ne,Fe);case"ThrowStatement":return fr(H,Ne,Fe);case"ReturnStatement":return dr(H,Ne,Fe);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Tr(H,Ne,Fe);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return tt(H,Ne,Fe);case"ObjectProperty":case"Property":return Qe.method||Qe.kind==="get"||Qe.kind==="set"?fi(H,Ne,Fe):Yt(H,Ne,Fe);case"ObjectMethod":return fi(H,Ne,Fe);case"Decorator":return["@",Fe("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Zt(H,Ne,Fe);case"SequenceExpression":{let xr=H.getParentNode(0);if(xr.type==="ExpressionStatement"||xr.type==="ForStatement"){let Xr=[];return H.each((cr,Fr)=>{Fr===0?Xr.push(Fe()):Xr.push(",",_([y,Fe()]))},"expressions"),k(Xr)}return k(C([",",y],H.map(Fe,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Fe("value"),or];case"DirectiveLiteral":return F(Qe,Ne);case"UnaryExpression":return qt.push(Qe.operator),/[a-z]$/.test(Qe.operator)&&qt.push(" "),J(Qe.argument)?qt.push(k(["(",_([w,Fe("argument")]),w,")"])):qt.push(Fe("argument")),qt;case"UpdateExpression":return qt.push(Fe("argument"),Qe.operator),Qe.prefix&&qt.reverse(),qt;case"ConditionalExpression":return rr(H,Ne,Fe);case"VariableDeclaration":{let xr=H.map(Fe,"declarations"),Xr=H.getParentNode(),cr=Xr.type==="ForStatement"||Xr.type==="ForInStatement"||Xr.type==="ForOfStatement",Fr=Qe.declarations.some(ft=>ft.init),Zr;return xr.length===1&&!J(Qe.declarations[0])?Zr=xr[0]:xr.length>0&&(Zr=_(xr[0])),qt=[Qe.declare?"declare ":"",Qe.kind,Zr?[" ",Zr]:"",_(xr.slice(1).map(ft=>[",",Fr&&!cr?x:y,ft]))],cr&&Xr.body!==Qe||qt.push(or),k(qt)}case"WithStatement":return k(["with (",Fe("object"),")",Ve(Qe.body,Fe("body"))]);case"IfStatement":{let xr=Ve(Qe.consequent,Fe("consequent")),Xr=k(["if (",k([_([w,Fe("test")]),w]),")",xr]);if(qt.push(Xr),Qe.alternate){let cr=J(Qe.consequent,ee.Trailing|ee.Line)||ye(Qe),Fr=Qe.consequent.type==="BlockStatement"&&!cr;qt.push(Fr?" ":x),J(Qe,ee.Dangling)&&qt.push(g(H,Ne,!0),cr?x:" "),qt.push("else",k(Ve(Qe.alternate,Fe("alternate"),Qe.alternate.type==="IfStatement")))}return qt}case"ForStatement":{let xr=Ve(Qe.body,Fe("body")),Xr=g(H,Ne,!0),cr=Xr?[Xr,w]:"";return!Qe.init&&!Qe.test&&!Qe.update?[cr,k(["for (;;)",xr])]:[cr,k(["for (",k([_([w,Fe("init"),";",y,Fe("test"),";",y,Fe("update")]),w]),")",xr])]}case"WhileStatement":return k(["while (",k([_([w,Fe("test")]),w]),")",Ve(Qe.body,Fe("body"))]);case"ForInStatement":return k(["for (",Fe("left")," in ",Fe("right"),")",Ve(Qe.body,Fe("body"))]);case"ForOfStatement":return k(["for",Qe.await?" await":""," (",Fe("left")," of ",Fe("right"),")",Ve(Qe.body,Fe("body"))]);case"DoWhileStatement":{let xr=Ve(Qe.body,Fe("body"));return qt=[k(["do",xr])],Qe.body.type==="BlockStatement"?qt.push(" "):qt.push(x),qt.push("while (",k([_([w,Fe("test")]),w]),")",or),qt}case"DoExpression":return[Qe.async?"async ":"","do ",Fe("body")];case"BreakStatement":return qt.push("break"),Qe.label&&qt.push(" ",Fe("label")),qt.push(or),qt;case"ContinueStatement":return qt.push("continue"),Qe.label&&qt.push(" ",Fe("label")),qt.push(or),qt;case"LabeledStatement":return Qe.body.type==="EmptyStatement"?[Fe("label"),":;"]:[Fe("label"),": ",Fe("body")];case"TryStatement":return["try ",Fe("block"),Qe.handler?[" ",Fe("handler")]:"",Qe.finalizer?[" finally ",Fe("finalizer")]:""];case"CatchClause":if(Qe.param){let xr=J(Qe.param,cr=>!se(cr)||cr.leading&&A(Ne.originalText,q(cr))||cr.trailing&&A(Ne.originalText,G(cr),{backwards:!0})),Xr=Fe("param");return["catch ",xr?["(",_([w,Xr]),w,") "]:["(",Xr,") "],Fe("body")]}return["catch ",Fe("body")];case"SwitchStatement":return[k(["switch (",_([w,Fe("discriminant")]),w,")"])," {",Qe.cases.length>0?_([x,C(x,H.map((xr,Xr,cr)=>{let Fr=xr.getValue();return[Fe(),Xr!==cr.length-1&&me(Fr,Ne)?x:""]},"cases"))]):"",x,"}"];case"SwitchCase":{Qe.test?qt.push("case ",Fe("test"),":"):qt.push("default:"),J(Qe,ee.Dangling)&&qt.push(" ",g(H,Ne,!0));let xr=Qe.consequent.filter(Xr=>Xr.type!=="EmptyStatement");if(xr.length>0){let Xr=Wr(H,Ne,Fe);qt.push(xr.length===1&&xr[0].type==="BlockStatement"?[" ",Xr]:_([x,Xr]))}return qt}case"DebuggerStatement":return["debugger",or];case"ClassDeclaration":case"ClassExpression":return ot(H,Ne,Fe);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return pt(H,Ne,Fe);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return lr(H,Ne,Fe);case"TemplateElement":return $(Qe.value.raw);case"TemplateLiteral":return gr(H,Fe,Ne);case"TaggedTemplateExpression":return[Fe("tag"),Fe("typeParameters"),Fe("quasi")];case"PrivateIdentifier":return["#",Fe("name")];case"PrivateName":return["#",Fe("id")];case"InterpreterDirective":return qt.push("#!",Qe.value,x),me(Qe,Ne)&&qt.push(x),qt;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{qt.push("module {");let xr=Fe("body");return xr&&qt.push(_([x,xr]),x),qt.push("}"),qt}default:throw new Error("unknown type: "+JSON.stringify(Qe.type))}}function F(H,Ne){let Fe=V(H),kt=Fe.slice(1,-1);if(kt.includes('"')||kt.includes("'"))return Fe;let Qe=Ne.singleQuote?"'":'"';return Qe+kt+Qe}function M(H){return H.type&&!se(H)&&!ge(H)&&H.type!=="EmptyStatement"&&H.type!=="TemplateElement"&&H.type!=="Import"&&H.type!=="TSEmptyBodyFunctionExpression"}E.exports={preprocess:le,print:h,embed:j,insertPragma:I,massageAstNode:W,hasPrettierIgnore(H){return L(H)||Pe(H)},willPrintOwnComments:O.willPrintOwnComments,canAttachComment:M,printComment:o,isBlockComment:se,handleComments:{avoidAstMutation:!0,ownLine:O.handleOwnLineComment,endOfLine:O.handleEndOfLineComment,remaining:O.handleRemainingComment},getCommentChildNodes:O.getCommentChildNodes}}}),So=Xe({"src/language-js/printer-estree-json.js"(m,E){S();var{builders:{hardline:g,indent:A,join:C}}=wi(),y=ul();function x(_,$,j){let W=_.getValue();switch(W.type){case"JsonRoot":return[j("node"),g];case"ArrayExpression":{if(W.elements.length===0)return"[]";let I=_.map(()=>_.getValue()===null?"null":j(),"elements");return["[",A([g,C([",",g],I)]),g,"]"]}case"ObjectExpression":return W.properties.length===0?"{}":["{",A([g,C([",",g],_.map(j,"properties"))]),g,"}"];case"ObjectProperty":return[j("key"),": ",j("value")];case"UnaryExpression":return[W.operator==="+"?"":W.operator,j("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return W.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(W.value);case"Identifier":{let I=_.getParentNode();return I&&I.type==="ObjectProperty"&&I.key===W?JSON.stringify(W.name):W.name}case"TemplateLiteral":return j(["quasis",0]);case"TemplateElement":return JSON.stringify(W.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(W.type))}}var w=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function k(_,$){let{type:j}=_;if(j==="ObjectProperty"&&_.key.type==="Identifier"){$.key={type:"StringLiteral",value:_.key.name};return}if(j==="UnaryExpression"&&_.operator==="+")return $.argument;if(j==="ArrayExpression"){for(let[W,I]of _.elements.entries())I===null&&$.elements.splice(W,0,{type:"NullLiteral"});return}if(j==="TemplateLiteral")return{type:"StringLiteral",value:_.quasis[0].value.cooked}}k.ignoredProperties=w,E.exports={preprocess:y,print:x,massageAstNode:k}}}),vo=Xe({"src/common/common-options.js"(m,E){S();var g="Common";E.exports={bracketSpacing:{since:"0.0.0",category:g,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:g,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:g,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:g,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:g,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Al=Xe({"src/language-js/options.js"(m,E){S();var g=vo(),A="JavaScript";E.exports={arrowParens:{since:"1.9.0",category:A,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:g.bracketSameLine,bracketSpacing:g.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:A,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:A,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:g.singleQuote,jsxSingleQuote:{since:"1.15.0",category:A,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:A,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:A,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:g.singleAttributePerLine}}}),ku=Xe({"src/language-js/parse/parsers.js"(){S()}}),co=Xe({"node_modules/linguist-languages/data/JavaScript.json"(m,E){E.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}}}),hl=Xe({"node_modules/linguist-languages/data/TypeScript.json"(m,E){E.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}}}),Hl=Xe({"node_modules/linguist-languages/data/TSX.json"(m,E){E.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),wl=Xe({"node_modules/linguist-languages/data/JSON.json"(m,E){E.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}}}),Ha=Xe({"node_modules/linguist-languages/data/JSON with Comments.json"(m,E){E.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}}}),Fs=Xe({"node_modules/linguist-languages/data/JSON5.json"(m,E){E.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),qa=Xe({"src/language-js/index.js"(m,E){S();var g=Ra(),A=Fu(),C=So(),y=Al(),x=ku(),w=[g(co(),_=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[..._.interpreters,"zx"],extensions:[..._.extensions.filter($=>$!==".jsx"),".wxs"]})),g(co(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),g(co(),()=>({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})),g(hl(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),g(Hl(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),g(wl(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),g(wl(),_=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:_.extensions.filter($=>$!==".jsonl")})),g(Ha(),_=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[..._.filenames,".eslintrc",".swcrc"]})),g(Fs(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],k={estree:A,"estree-json":C};E.exports={languages:w,options:y,printers:k,parsers:x}}}),Fo=Xe({"src/language-css/clean.js"(m,E){S();var{isFrontMatterNode:g}=Qi(),A=es(),C=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function y(w,k,_){if(g(w)&&w.lang==="yaml"&&delete k.value,w.type==="css-comment"&&_.type==="css-root"&&_.nodes.length>0&&((_.nodes[0]===w||g(_.nodes[0])&&_.nodes[1]===w)&&(delete k.text,/^\*\s*@(?:format|prettier)\s*$/.test(w.text))||_.type==="css-root"&&A(_.nodes)===w))return null;if(w.type==="value-root"&&delete k.text,(w.type==="media-query"||w.type==="media-query-list"||w.type==="media-feature-expression")&&delete k.value,w.type==="css-rule"&&delete k.params,w.type==="selector-combinator"&&(k.value=k.value.replace(/\s+/g," ")),w.type==="media-feature"&&(k.value=k.value.replace(/ /g,"")),(w.type==="value-word"&&(w.isColor&&w.isHex||["initial","inherit","unset","revert"].includes(k.value.replace().toLowerCase()))||w.type==="media-feature"||w.type==="selector-root-invalid"||w.type==="selector-pseudo")&&(k.value=k.value.toLowerCase()),w.type==="css-decl"&&(k.prop=k.prop.toLowerCase()),(w.type==="css-atrule"||w.type==="css-import")&&(k.name=k.name.toLowerCase()),w.type==="value-number"&&(k.unit=k.unit.toLowerCase()),(w.type==="media-feature"||w.type==="media-keyword"||w.type==="media-type"||w.type==="media-unknown"||w.type==="media-url"||w.type==="media-value"||w.type==="selector-attribute"||w.type==="selector-string"||w.type==="selector-class"||w.type==="selector-combinator"||w.type==="value-string")&&k.value&&(k.value=x(k.value)),w.type==="selector-attribute"&&(k.attribute=k.attribute.trim(),k.namespace&&typeof k.namespace=="string"&&(k.namespace=k.namespace.trim(),k.namespace.length===0&&(k.namespace=!0)),k.value&&(k.value=k.value.trim().replace(/^["']|["']$/g,""),delete k.quoted)),(w.type==="media-value"||w.type==="media-type"||w.type==="value-number"||w.type==="selector-root-invalid"||w.type==="selector-class"||w.type==="selector-combinator"||w.type==="selector-tag")&&k.value&&(k.value=k.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,($,j,W)=>{let I=Number(j);return Number.isNaN(I)?$:I+W.toLowerCase()})),w.type==="selector-tag"){let $=w.value.toLowerCase();["from","to"].includes($)&&(k.value=$)}if(w.type==="css-atrule"&&w.name.toLowerCase()==="supports"&&delete k.value,w.type==="selector-unknown"&&delete k.value,w.type==="value-comma_group"){let $=w.groups.findIndex(j=>j.type==="value-number"&&j.unit==="...");$!==-1&&(k.groups[$].unit="",k.groups.splice($+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}y.ignoredProperties=C;function x(w){return w.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}E.exports=y}}),$a=Xe({"src/utils/front-matter/print.js"(m,E){S();var{builders:{hardline:g,markAsRoot:A}}=wi();function C(y,x){if(y.lang==="yaml"){let w=y.value.trim(),k=w?x(w,{parser:"yaml"},{stripTrailingHardline:!0}):"";return A([y.startDelimiter,g,k,k?g:"",y.endDelimiter])}}E.exports=C}}),Gu=Xe({"src/language-css/embed.js"(m,E){S();var{builders:{hardline:g}}=wi(),A=$a();function C(y,x,w){let k=y.getValue();if(k.type==="front-matter"){let _=A(k,w);return _?[_,g]:""}}E.exports=C}}),Ho=Xe({"src/utils/front-matter/parse.js"(m,E){S();var g=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function A(C){let y=C.match(g);if(!y)return{content:C};let{startDelimiter:x,language:w,value:k="",endDelimiter:_}=y.groups,$=w.trim()||"yaml";if(x==="+++"&&($="toml"),$!=="yaml"&&x!==_)return{content:C};let[j]=y;return{frontMatter:{type:"front-matter",lang:$,value:k,startDelimiter:x,endDelimiter:_,raw:j.replace(/\n$/,"")},content:j.replace(/[^\n]/g," ")+C.slice(j.length)}}E.exports=A}}),Tl=Xe({"src/language-css/pragma.js"(m,E){S();var g=Ea(),A=Ho();function C(x){return g.hasPragma(A(x).content)}function y(x){let{frontMatter:w,content:k}=A(x);return(w?w.raw+`
|
|
92
|
-
|
|
93
|
-
`:"")+g.insertPragma(k)}E.exports={hasPragma:C,insertPragma:y}}}),ql=Xe({"src/language-css/utils/index.js"(m,E){S();var g=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 A(tt,ot){let pt=Array.isArray(ot)?ot:[ot],lr=-1,Yt;for(;Yt=tt.getParentNode(++lr);)if(pt.includes(Yt.type))return lr;return-1}function C(tt,ot){let pt=A(tt,ot);return pt===-1?null:tt.getParentNode(pt)}function y(tt){var ot;let pt=C(tt,"css-decl");return pt==null||(ot=pt.prop)===null||ot===void 0?void 0:ot.toLowerCase()}var x=new Set(["initial","inherit","unset","revert"]);function w(tt){return x.has(tt.toLowerCase())}function k(tt,ot){let pt=C(tt,"css-atrule");return(pt==null?void 0:pt.name)&&pt.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(ot.toLowerCase())}function _(tt){return tt.includes("$")||tt.includes("@")||tt.includes("#")||tt.startsWith("%")||tt.startsWith("--")||tt.startsWith(":--")||tt.includes("(")&&tt.includes(")")?tt:tt.toLowerCase()}function $(tt,ot){var pt;let lr=C(tt,"value-func");return(lr==null||(pt=lr.value)===null||pt===void 0?void 0:pt.toLowerCase())===ot}function j(tt){var ot;let pt=C(tt,"css-rule"),lr=pt==null||(ot=pt.raws)===null||ot===void 0?void 0:ot.selector;return lr&&(lr.startsWith(":import")||lr.startsWith(":export"))}function W(tt,ot){let pt=Array.isArray(ot)?ot:[ot],lr=C(tt,"css-atrule");return lr&&pt.includes(lr.name.toLowerCase())}function I(tt){let ot=tt.getValue(),pt=C(tt,"css-atrule");return(pt==null?void 0:pt.name)==="import"&&ot.groups[0].value==="url"&&ot.groups.length===2}function O(tt){return tt.type==="value-func"&&tt.value.toLowerCase()==="url"}function U(tt,ot){var pt;let lr=(pt=tt.getParentNode())===null||pt===void 0?void 0:pt.nodes;return lr&&lr.indexOf(ot)===lr.length-1}function le(tt){let{selector:ot}=tt;return ot?typeof ot=="string"&&/^@.+:.*$/.test(ot)||ot.value&&/^@.+:.*$/.test(ot.value):!1}function he(tt){return tt.type==="value-word"&&["from","through","end"].includes(tt.value)}function J(tt){return tt.type==="value-word"&&["and","or","not"].includes(tt.value)}function ee(tt){return tt.type==="value-word"&&tt.value==="in"}function ue(tt){return tt.type==="value-operator"&&tt.value==="*"}function ge(tt){return tt.type==="value-operator"&&tt.value==="/"}function me(tt){return tt.type==="value-operator"&&tt.value==="+"}function ye(tt){return tt.type==="value-operator"&&tt.value==="-"}function V(tt){return tt.type==="value-operator"&&tt.value==="%"}function L(tt){return ue(tt)||ge(tt)||me(tt)||ye(tt)||V(tt)}function R(tt){return tt.type==="value-word"&&["==","!="].includes(tt.value)}function X(tt){return tt.type==="value-word"&&["<",">","<=",">="].includes(tt.value)}function N(tt){return tt.type==="css-atrule"&&["if","else","for","each","while"].includes(tt.name)}function G(tt){var ot;return((ot=tt.raws)===null||ot===void 0?void 0:ot.params)&&/^\(\s*\)$/.test(tt.raws.params)}function q(tt){return tt.name.startsWith("prettier-placeholder")}function se(tt){return tt.prop.startsWith("@prettier-placeholder")}function te(tt,ot){return tt.value==="$$"&&tt.type==="value-func"&&(ot==null?void 0:ot.type)==="value-word"&&!ot.raws.before}function ne(tt){var ot,pt;return((ot=tt.value)===null||ot===void 0?void 0:ot.type)==="value-root"&&((pt=tt.value.group)===null||pt===void 0?void 0:pt.type)==="value-value"&&tt.prop.toLowerCase()==="composes"}function be(tt){var ot,pt,lr;return((ot=tt.value)===null||ot===void 0||(pt=ot.group)===null||pt===void 0||(lr=pt.group)===null||lr===void 0?void 0:lr.type)==="value-paren_group"&&tt.value.group.group.open!==null&&tt.value.group.group.close!==null}function je(tt){var ot;return((ot=tt.raws)===null||ot===void 0?void 0:ot.before)===""}function Pe(tt){var ot,pt;return tt.type==="value-comma_group"&&((ot=tt.groups)===null||ot===void 0||(pt=ot[1])===null||pt===void 0?void 0:pt.type)==="value-colon"}function Ge(tt){var ot;return tt.type==="value-paren_group"&&((ot=tt.groups)===null||ot===void 0?void 0:ot[0])&&Pe(tt.groups[0])}function We(tt){var ot;let pt=tt.getValue();if(pt.groups.length===0)return!1;let lr=tt.getParentNode(1);if(!Ge(pt)&&!(lr&&Ge(lr)))return!1;let Yt=C(tt,"css-decl");return!!(Yt!=null&&(ot=Yt.prop)!==null&&ot!==void 0&&ot.startsWith("$")||Ge(lr)||lr.type==="value-func")}function Me(tt){return tt.type==="value-comment"&&tt.inline}function yt(tt){return tt.type==="value-word"&&tt.value==="#"}function qe(tt){return tt.type==="value-word"&&tt.value==="{"}function Ve(tt){return tt.type==="value-word"&&tt.value==="}"}function bt(tt){return["value-word","value-atword"].includes(tt.type)}function Tt(tt){return(tt==null?void 0:tt.type)==="value-colon"}function Ct(tt,ot){if(!Pe(ot))return!1;let{groups:pt}=ot,lr=pt.indexOf(tt);return lr===-1?!1:Tt(pt[lr+1])}function hr(tt){return tt.value&&["not","and","or"].includes(tt.value.toLowerCase())}function $e(tt){return tt.type!=="value-func"?!1:g.has(tt.value.toLowerCase())}function nt(tt){return/\/\//.test(tt.split(/[\n\r]/).pop())}function rr(tt){return(tt==null?void 0:tt.type)==="value-atword"&&tt.value.startsWith("prettier-placeholder-")}function gr(tt,ot){var pt,lr;if(((pt=tt.open)===null||pt===void 0?void 0:pt.value)!=="("||((lr=tt.close)===null||lr===void 0?void 0:lr.value)!==")"||tt.groups.some(Yt=>Yt.type!=="value-comma_group"))return!1;if(ot.type==="value-comma_group"){let Yt=ot.groups.indexOf(tt)-1,ln=ot.groups[Yt];if((ln==null?void 0:ln.type)==="value-word"&&ln.value==="with")return!0}return!1}function Zt(tt){var ot,pt;return tt.type==="value-paren_group"&&((ot=tt.open)===null||ot===void 0?void 0:ot.value)==="("&&((pt=tt.close)===null||pt===void 0?void 0:pt.value)===")"}E.exports={getAncestorCounter:A,getAncestorNode:C,getPropOfDeclNode:y,maybeToLowerCase:_,insideValueFunctionNode:$,insideICSSRuleNode:j,insideAtRuleNode:W,insideURLFunctionInImportAtRuleNode:I,isKeyframeAtRuleKeywords:k,isWideKeywords:w,isLastNode:U,isSCSSControlDirectiveNode:N,isDetachedRulesetDeclarationNode:le,isRelationalOperatorNode:X,isEqualityOperatorNode:R,isMultiplicationNode:ue,isDivisionNode:ge,isAdditionNode:me,isSubtractionNode:ye,isModuloNode:V,isMathOperatorNode:L,isEachKeywordNode:ee,isForKeywordNode:he,isURLFunctionNode:O,isIfElseKeywordNode:J,hasComposesNode:ne,hasParensAroundNode:be,hasEmptyRawBefore:je,isDetachedRulesetCallNode:G,isTemplatePlaceholderNode:q,isTemplatePropNode:se,isPostcssSimpleVarNode:te,isKeyValuePairNode:Pe,isKeyValuePairInParenGroupNode:Ge,isKeyInValuePairNode:Ct,isSCSSMapItemNode:We,isInlineValueCommentNode:Me,isHashNode:yt,isLeftCurlyBraceNode:qe,isRightCurlyBraceNode:Ve,isWordNode:bt,isColonNode:Tt,isMediaAndSupportsKeywords:hr,isColorAdjusterFuncNode:$e,lastLineHasInlineComment:nt,isAtWordPlaceholderNode:rr,isConfigurationNode:gr,isParenGroupNode:Zt}}}),ko=Xe({"src/utils/line-column-to-index.js"(m,E){S(),E.exports=function(g,A){let C=0;for(let y=0;y<g.line-1;++y)C=A.indexOf(`
|
|
94
|
-
`,C)+1;return C+g.column}}}),Qa=Xe({"src/language-css/loc.js"(m,E){S();var{skipEverythingButNewLine:g}=Ta(),A=es(),C=ko();function y(I,O){return typeof I.sourceIndex=="number"?I.sourceIndex:I.source?C(I.source.start,O)-1:null}function x(I,O){if(I.type==="css-comment"&&I.inline)return g(O,I.source.startOffset);let U=I.nodes&&A(I.nodes);return U&&I.source&&!I.source.end&&(I=U),I.source&&I.source.end?C(I.source.end,O):null}function w(I,O){I.source&&(I.source.startOffset=y(I,O),I.source.endOffset=x(I,O));for(let U in I){let le=I[U];U==="source"||!le||typeof le!="object"||(le.type==="value-root"||le.type==="value-unknown"?k(le,_(I),le.text||le.value):w(le,O))}}function k(I,O,U){I.source&&(I.source.startOffset=y(I,U)+O,I.source.endOffset=x(I,U)+O);for(let le in I){let he=I[le];le==="source"||!he||typeof he!="object"||k(he,O,U)}}function _(I){let O=I.source.startOffset;return typeof I.prop=="string"&&(O+=I.prop.length),I.type==="css-atrule"&&typeof I.name=="string"&&(O+=1+I.name.length+I.raws.afterName.match(/^\s*:?\s*/)[0].length),I.type!=="css-atrule"&&I.raws&&typeof I.raws.between=="string"&&(O+=I.raws.between.length),O}function $(I){let O="initial",U="initial",le,he=!1,J=[];for(let ee=0;ee<I.length;ee++){let ue=I[ee];switch(O){case"initial":if(ue==="'"){O="single-quotes";continue}if(ue==='"'){O="double-quotes";continue}if((ue==="u"||ue==="U")&&I.slice(ee,ee+4).toLowerCase()==="url("){O="url",ee+=3;continue}if(ue==="*"&&I[ee-1]==="/"){O="comment-block";continue}if(ue==="/"&&I[ee-1]==="/"){O="comment-inline",le=ee-1;continue}continue;case"single-quotes":if(ue==="'"&&I[ee-1]!=="\\"&&(O=U,U="initial"),ue===`
|
|
95
|
-
`||ue==="\r")return I;continue;case"double-quotes":if(ue==='"'&&I[ee-1]!=="\\"&&(O=U,U="initial"),ue===`
|
|
96
|
-
`||ue==="\r")return I;continue;case"url":if(ue===")"&&(O="initial"),ue===`
|
|
97
|
-
`||ue==="\r")return I;if(ue==="'"){O="single-quotes",U="url";continue}if(ue==='"'){O="double-quotes",U="url";continue}continue;case"comment-block":ue==="/"&&I[ee-1]==="*"&&(O="initial");continue;case"comment-inline":(ue==='"'||ue==="'"||ue==="*")&&(he=!0),(ue===`
|
|
98
|
-
`||ue==="\r")&&(he&&J.push([le,ee]),O="initial",he=!1);continue}}for(let[ee,ue]of J)I=I.slice(0,ee)+I.slice(ee,ue).replace(/["'*]/g," ")+I.slice(ue);return I}function j(I){return I.source.startOffset}function W(I){return I.source.endOffset}E.exports={locStart:j,locEnd:W,calculateLoc:w,replaceQuotesInInlineComments:$}}}),uu=Xe({"src/language-css/utils/is-less-parser.js"(m,E){S();function g(A){return A.parser==="css"||A.parser==="less"}E.exports=g}}),fl=Xe({"src/language-css/utils/is-scss.js"(m,E){S();function g(A,C){return A==="less"||A==="scss"?A==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(C)}E.exports=g}}),po=Xe({"src/language-css/utils/css-units.evaluate.js"(m,E){E.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"}}}),dl=Xe({"src/language-css/utils/print-unit.js"(m,E){S();var g=po();function A(C){let y=C.toLowerCase();return Object.prototype.hasOwnProperty.call(g,y)?g[y]:C}E.exports=A}}),qo=Xe({"src/language-css/printer-postcss.js"(m,E){S();var g=es(),{printNumber:A,printString:C,hasNewline:y,isFrontMatterNode:x,isNextLineEmpty:w,isNonEmptyArray:k}=Qi(),{builders:{join:_,line:$,hardline:j,softline:W,group:I,fill:O,indent:U,dedent:le,ifBreak:he,breakParent:J},utils:{removeLines:ee,getDocParts:ue}}=wi(),ge=Fo(),me=Gu(),{insertPragma:ye}=Tl(),{getAncestorNode:V,getPropOfDeclNode:L,maybeToLowerCase:R,insideValueFunctionNode:X,insideICSSRuleNode:N,insideAtRuleNode:G,insideURLFunctionInImportAtRuleNode:q,isKeyframeAtRuleKeywords:se,isWideKeywords:te,isLastNode:ne,isSCSSControlDirectiveNode:be,isDetachedRulesetDeclarationNode:je,isRelationalOperatorNode:Pe,isEqualityOperatorNode:Ge,isMultiplicationNode:We,isDivisionNode:Me,isAdditionNode:yt,isSubtractionNode:qe,isMathOperatorNode:Ve,isEachKeywordNode:bt,isForKeywordNode:Tt,isURLFunctionNode:Ct,isIfElseKeywordNode:hr,hasComposesNode:$e,hasParensAroundNode:nt,hasEmptyRawBefore:rr,isKeyValuePairNode:gr,isKeyInValuePairNode:Zt,isDetachedRulesetCallNode:tt,isTemplatePlaceholderNode:ot,isTemplatePropNode:pt,isPostcssSimpleVarNode:lr,isSCSSMapItemNode:Yt,isInlineValueCommentNode:ln,isHashNode:si,isLeftCurlyBraceNode:fi,isRightCurlyBraceNode:dr,isWordNode:fr,isColonNode:Tr,isMediaAndSupportsKeywords:It,isColorAdjusterFuncNode:Yr,lastLineHasInlineComment:ht,isAtWordPlaceholderNode:Wr,isConfigurationNode:jr,isParenGroupNode:e}=ql(),{locStart:r,locEnd:o}=Qa(),a=uu(),s=fl(),h=dl();function d(cr){return cr.trailingComma==="es5"||cr.trailingComma==="all"}function F(cr,Fr,Zr){let ft=cr.getValue();if(!ft)return"";if(typeof ft=="string")return ft;switch(ft.type){case"front-matter":return[ft.raw,j];case"css-root":{let Pn=M(cr,Fr,Zr),qn=ft.raws.after.trim();return[Pn,qn?" ".concat(qn):"",ue(Pn).length>0?j:""]}case"css-comment":{let Pn=ft.inline||ft.raws.inline,qn=Fr.originalText.slice(r(ft),o(ft));return Pn?qn.trimEnd():qn}case"css-rule":return[Zr("selector"),ft.important?" !important":"",ft.nodes?[ft.selector&&ft.selector.type==="selector-unknown"&&ht(ft.selector.value)?$:" ","{",ft.nodes.length>0?U([j,M(cr,Fr,Zr)]):"",j,"}",je(ft)?";":""]:";"];case"css-decl":{let Pn=cr.getParentNode(),{between:qn}=ft.raws,Ei=qn.trim(),Ns=Ei===":",fs=$e(ft)?ee(Zr("value")):Zr("value");return!Ns&&ht(Ei)&&(fs=U([j,le(fs)])),[ft.raws.before.replace(/[\s;]/g,""),N(cr)?ft.prop:R(ft.prop),Ei.startsWith("//")?" ":"",Ei,ft.extend?"":" ",a(Fr)&&ft.extend&&ft.selector?["extend(",Zr("selector"),")"]:"",fs,ft.raws.important?ft.raws.important.replace(/\s*!\s*important/i," !important"):ft.important?" !important":"",ft.raws.scssDefault?ft.raws.scssDefault.replace(/\s*!default/i," !default"):ft.scssDefault?" !default":"",ft.raws.scssGlobal?ft.raws.scssGlobal.replace(/\s*!global/i," !global"):ft.scssGlobal?" !global":"",ft.nodes?[" {",U([W,M(cr,Fr,Zr)]),W,"}"]:pt(ft)&&!Pn.raws.semicolon&&Fr.originalText[o(ft)-1]!==";"?"":Fr.__isHTMLStyleAttribute&&ne(cr,ft)?he(";"):";"]}case"css-atrule":{let Pn=cr.getParentNode(),qn=ot(ft)&&!Pn.raws.semicolon&&Fr.originalText[o(ft)-1]!==";";if(a(Fr)){if(ft.mixin)return[Zr("selector"),ft.important?" !important":"",qn?"":";"];if(ft.function)return[ft.name,Zr("params"),qn?"":";"];if(ft.variable)return["@",ft.name,": ",ft.value?Zr("value"):"",ft.raws.between.trim()?ft.raws.between.trim()+" ":"",ft.nodes?["{",U([ft.nodes.length>0?W:"",M(cr,Fr,Zr)]),W,"}"]:"",qn?"":";"]}return["@",tt(ft)||ft.name.endsWith(":")?ft.name:R(ft.name),ft.params?[tt(ft)?"":ot(ft)?ft.raws.afterName===""?"":ft.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(ft.raws.afterName)?[j,j]:/^\s*\n/.test(ft.raws.afterName)?j:" ":" ",Zr("params")]:"",ft.selector?U([" ",Zr("selector")]):"",ft.value?I([" ",Zr("value"),be(ft)?nt(ft)?" ":$:""]):ft.name==="else"?" ":"",ft.nodes?[be(ft)?"":ft.selector&&!ft.selector.nodes&&typeof ft.selector.value=="string"&&ht(ft.selector.value)||!ft.selector&&typeof ft.params=="string"&&ht(ft.params)?$:" ","{",U([ft.nodes.length>0?W:"",M(cr,Fr,Zr)]),W,"}"]:qn?"":";"]}case"media-query-list":{let Pn=[];return cr.each(qn=>{let Ei=qn.getValue();Ei.type==="media-query"&&Ei.value===""||Pn.push(Zr())},"nodes"),I(U(_($,Pn)))}case"media-query":return[_(" ",cr.map(Zr,"nodes")),ne(cr,ft)?"":","];case"media-type":return xr(or(ft.value,Fr));case"media-feature-expression":return ft.nodes?["(",...cr.map(Zr,"nodes"),")"]:ft.value;case"media-feature":return R(or(ft.value.replace(/ +/g," "),Fr));case"media-colon":return[ft.value," "];case"media-value":return xr(or(ft.value,Fr));case"media-keyword":return or(ft.value,Fr);case"media-url":return or(ft.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Fr);case"media-unknown":return ft.value;case"selector-root":return I([G(cr,"custom-selector")?[V(cr,"css-atrule").customSelector,$]:"",_([",",G(cr,["extend","custom-selector","nest"])?$:j],cr.map(Zr,"nodes"))]);case"selector-selector":return I(U(cr.map(Zr,"nodes")));case"selector-comment":return ft.value;case"selector-string":return or(ft.value,Fr);case"selector-tag":{let Pn=cr.getParentNode(),qn=Pn&&Pn.nodes.indexOf(ft),Ei=qn&&Pn.nodes[qn-1];return[ft.namespace?[ft.namespace===!0?"":ft.namespace.trim(),"|"]:"",Ei.type==="selector-nesting"?ft.value:xr(se(cr,ft.value)?ft.value.toLowerCase():ft.value)]}case"selector-id":return["#",ft.value];case"selector-class":return[".",xr(or(ft.value,Fr))];case"selector-attribute":return["[",ft.namespace?[ft.namespace===!0?"":ft.namespace.trim(),"|"]:"",ft.attribute.trim(),ft.operator?ft.operator:"",ft.value?qt(or(ft.value.trim(),Fr),Fr):"",ft.insensitive?" i":"","]"];case"selector-combinator":{if(ft.value==="+"||ft.value===">"||ft.value==="~"||ft.value===">>>"){let Ei=cr.getParentNode();return[Ei.type==="selector-selector"&&Ei.nodes[0]===ft?"":$,ft.value,ne(cr,ft)?"":" "]}let Pn=ft.value.trim().startsWith("(")?$:"",qn=xr(or(ft.value.trim(),Fr))||$;return[Pn,qn]}case"selector-universal":return[ft.namespace?[ft.namespace===!0?"":ft.namespace.trim(),"|"]:"",ft.value];case"selector-pseudo":return[R(ft.value),k(ft.nodes)?["(",_(", ",cr.map(Zr,"nodes")),")"]:""];case"selector-nesting":return ft.value;case"selector-unknown":{let Pn=V(cr,"css-rule");if(Pn&&Pn.isSCSSNesterProperty)return xr(or(R(ft.value),Fr));let qn=cr.getParentNode();if(qn.raws&&qn.raws.selector){let Ns=r(qn),fs=Ns+qn.raws.selector.length;return Fr.originalText.slice(Ns,fs).trim()}let Ei=cr.getParentNode(1);if(qn.type==="value-paren_group"&&Ei&&Ei.type==="value-func"&&Ei.value==="selector"){let Ns=o(qn.open)+1,fs=r(qn.close),ca=Fr.originalText.slice(Ns,fs).trim();return ht(ca)?[J,ca]:ca}return ft.value}case"value-value":case"value-root":return Zr("group");case"value-comment":return Fr.originalText.slice(r(ft),o(ft));case"value-comma_group":{let Pn=cr.getParentNode(),qn=cr.getParentNode(1),Ei=L(cr),Ns=Ei&&Pn.type==="value-value"&&(Ei==="grid"||Ei.startsWith("grid-template")),fs=V(cr,"css-atrule"),ca=fs&&be(fs),Be=ft.groups.some(bs=>ln(bs)),er=cr.map(Zr,"groups"),Tn=[],Pi=X(cr,"url"),_i=!1,ds=!1;for(let bs=0;bs<ft.groups.length;++bs){Tn.push(er[bs]);let Bs=ft.groups[bs-1],$i=ft.groups[bs],Ki=ft.groups[bs+1],wa=ft.groups[bs+2];if(Pi){(Ki&&yt(Ki)||yt($i))&&Tn.push(" ");continue}if(G(cr,"forward")&&$i.type==="value-word"&&$i.value&&Bs!==void 0&&Bs.type==="value-word"&&Bs.value==="as"&&Ki.type==="value-operator"&&Ki.value==="*"||!Ki||$i.type==="value-word"&&$i.value.endsWith("-")&&Wr(Ki))continue;let Nu=$i.type==="value-string"&&$i.value.startsWith("#{"),Fa=_i&&Ki.type==="value-string"&&Ki.value.endsWith("}");if(Nu||Fa){_i=!_i;continue}if(_i||Tr($i)||Tr(Ki)||$i.type==="value-atword"&&$i.value===""||$i.value==="~"||$i.value&&$i.value.includes("\\")&&Ki&&Ki.type!=="value-comment"||Bs&&Bs.value&&Bs.value.indexOf("\\")===Bs.value.length-1&&$i.type==="value-operator"&&$i.value==="/"||$i.value==="\\"||lr($i,Ki)||si($i)||fi($i)||dr(Ki)||fi(Ki)&&rr(Ki)||dr($i)&&rr(Ki)||$i.value==="--"&&si(Ki))continue;let cc=Ve($i),Bu=Ve(Ki);if((cc&&si(Ki)||Bu&&dr($i))&&rr(Ki)||!Bs&&Me($i)||X(cr,"calc")&&(yt($i)||yt(Ki)||qe($i)||qe(Ki))&&rr(Ki))continue;let kl=(yt($i)||qe($i))&&bs===0&&(Ki.type==="value-number"||Ki.isHex)&&qn&&Yr(qn)&&!rr(Ki),ml=wa&&wa.type==="value-func"||wa&&fr(wa)||$i.type==="value-func"||fr($i),Wa=Ki.type==="value-func"||fr(Ki)||Bs&&Bs.type==="value-func"||Bs&&fr(Bs);if(!(!(We(Ki)||We($i))&&!X(cr,"calc")&&!kl&&(Me(Ki)&&!ml||Me($i)&&!Wa||yt(Ki)&&!ml||yt($i)&&!Wa||qe(Ki)||qe($i))&&(rr(Ki)||cc&&(!Bs||Bs&&Ve(Bs))))){if(ln($i)){if(Pn.type==="value-paren_group"){Tn.push(le(j));continue}Tn.push(j);continue}if(ca&&(Ge(Ki)||Pe(Ki)||hr(Ki)||bt($i)||Tt($i))){Tn.push(" ");continue}if(fs&&fs.name.toLowerCase()==="namespace"){Tn.push(" ");continue}if(Ns){$i.source&&Ki.source&&$i.source.start.line!==Ki.source.start.line?(Tn.push(j),ds=!0):Tn.push(" ");continue}if(Bu){Tn.push(" ");continue}if(!(Ki&&Ki.value==="...")&&!(Wr($i)&&Wr(Ki)&&o($i)===r(Ki))){if(Wr($i)&&e(Ki)&&o($i)===r(Ki.open)){Tn.push(W);continue}if($i.value==="with"&&e(Ki)){Tn.push(" ");continue}Tn.push($)}}}return Be&&Tn.push(J),ds&&Tn.unshift(j),ca?I(U(Tn)):q(cr)?I(O(Tn)):I(U(O(Tn)))}case"value-paren_group":{let Pn=cr.getParentNode();if(Pn&&Ct(Pn)&&(ft.groups.length===1||ft.groups.length>0&&ft.groups[0].type==="value-comma_group"&&ft.groups[0].groups.length>0&&ft.groups[0].groups[0].type==="value-word"&&ft.groups[0].groups[0].value.startsWith("data:")))return[ft.open?Zr("open"):"",_(",",cr.map(Zr,"groups")),ft.close?Zr("close"):""];if(!ft.open){let Pi=cr.map(Zr,"groups"),_i=[];for(let ds=0;ds<Pi.length;ds++)ds!==0&&_i.push([",",$]),_i.push(Pi[ds]);return I(U(O(_i)))}let qn=Yt(cr),Ei=g(ft.groups),Ns=Ei&&Ei.type==="value-comment",fs=Zt(ft,Pn),ca=jr(ft,Pn),Be=ca||qn&&!fs,er=ca||fs,Tn=I([ft.open?Zr("open"):"",U([W,_([$],cr.map((Pi,_i)=>{let ds=Pi.getValue(),bs=_i===ft.groups.length-1,Bs=[Zr(),bs?"":","];if(gr(ds)&&ds.type==="value-comma_group"&&ds.groups&&ds.groups[0].type!=="value-paren_group"&&ds.groups[2]&&ds.groups[2].type==="value-paren_group"){let $i=ue(Bs[0].contents.contents);return $i[1]=I($i[1]),I(le(Bs))}if(!bs&&ds.type==="value-comma_group"&&k(ds.groups)){let $i=g(ds.groups);$i.source&&w(Fr.originalText,$i,o)&&Bs.push(j)}return Bs},"groups"))]),he(!Ns&&s(Fr.parser,Fr.originalText)&&qn&&d(Fr)?",":""),W,ft.close?Zr("close"):""],{shouldBreak:Be});return er?le(Tn):Tn}case"value-func":return[ft.value,G(cr,"supports")&&It(ft)?" ":"",Zr("group")];case"value-paren":return ft.value;case"value-number":return[Xr(ft.value),h(ft.unit)];case"value-operator":return ft.value;case"value-word":return ft.isColor&&ft.isHex||te(ft.value)?ft.value.toLowerCase():ft.value;case"value-colon":{let Pn=cr.getParentNode(),qn=Pn&&Pn.groups.indexOf(ft),Ei=qn&&Pn.groups[qn-1];return[ft.value,Ei&&typeof Ei.value=="string"&&g(Ei.value)==="\\"||X(cr,"url")?"":$]}case"value-comma":return[ft.value," "];case"value-string":return C(ft.raws.quote+ft.value+ft.raws.quote,Fr);case"value-atword":return["@",ft.value];case"value-unicode-range":return ft.value;case"value-unknown":return ft.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(ft.type)))}}function M(cr,Fr,Zr){let ft=[];return cr.each((Pn,qn,Ei)=>{let Ns=Ei[qn-1];if(Ns&&Ns.type==="css-comment"&&Ns.text.trim()==="prettier-ignore"){let fs=Pn.getValue();ft.push(Fr.originalText.slice(r(fs),o(fs)))}else ft.push(Zr());qn!==Ei.length-1&&(Ei[qn+1].type==="css-comment"&&!y(Fr.originalText,r(Ei[qn+1]),{backwards:!0})&&!x(Ei[qn])||Ei[qn+1].type==="css-atrule"&&Ei[qn+1].name==="else"&&Ei[qn].type!=="css-comment"?ft.push(" "):(ft.push(Fr.__isHTMLStyleAttribute?$:j),w(Fr.originalText,Pn.getValue(),o)&&!x(Ei[qn])&&ft.push(j)))},"nodes"),ft}var H=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ne=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Fe=/[A-Za-z]+/g,kt=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Qe=new RegExp(H.source+"|(".concat(kt.source,")?(").concat(Ne.source,")(").concat(Fe.source,")?"),"g");function or(cr,Fr){return cr.replace(H,Zr=>C(Zr,Fr))}function qt(cr,Fr){let Zr=Fr.singleQuote?"'":'"';return cr.includes('"')||cr.includes("'")?cr:Zr+cr+Zr}function xr(cr){return cr.replace(Qe,(Fr,Zr,ft,Pn,qn)=>!ft&&Pn?Xr(Pn)+R(qn||""):Fr)}function Xr(cr){return A(cr).replace(/\.0(?=$|e)/,"")}E.exports={print:F,embed:me,insertPragma:ye,massageAstNode:ge}}}),rc=Xe({"src/language-css/options.js"(m,E){S();var g=vo();E.exports={singleQuote:g.singleQuote}}}),Po=Xe({"src/language-css/parsers.js"(){S()}}),Xu=Xe({"node_modules/linguist-languages/data/CSS.json"(m,E){E.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),lu=Xe({"node_modules/linguist-languages/data/PostCSS.json"(m,E){E.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),T=Xe({"node_modules/linguist-languages/data/Less.json"(m,E){E.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}}}),ae=Xe({"node_modules/linguist-languages/data/SCSS.json"(m,E){E.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Z=Xe({"src/language-css/index.js"(m,E){S();var g=Ra(),A=qo(),C=rc(),y=Po(),x=[g(Xu(),k=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...k.extensions,".wxss"]})),g(lu(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),g(T(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),g(ae(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],w={postcss:A};E.exports={languages:x,options:C,printers:w,parsers:y}}}),Y=Xe({"src/language-handlebars/loc.js"(m,E){S();function g(C){return C.loc.start.offset}function A(C){return C.loc.end.offset}E.exports={locStart:g,locEnd:A}}}),oe=Xe({"src/language-handlebars/clean.js"(m,E){S();function g(A,C){if(A.type==="TextNode"){let y=A.chars.trim();if(!y)return null;C.chars=y.replace(/[\t\n\f\r ]+/g," ")}A.type==="AttrNode"&&A.name.toLowerCase()==="class"&&delete C.value}g.ignoredProperties=new Set(["loc","selfClosing"]),E.exports=g}}),Ae=Xe({"vendors/html-void-elements.json"(m,E){E.exports={htmlVoidElements:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}}),Te=Xe({"src/language-handlebars/utils.js"(m,E){S();var{htmlVoidElements:g}=Ae(),A=es();function C(ee){let ue=ee.getValue(),ge=ee.getParentNode(0);return!!(j(ee,["ElementNode"])&&A(ge.children)===ue||j(ee,["Block"])&&A(ge.body)===ue)}function y(ee){return ee.toUpperCase()===ee}function x(ee){return $(ee,["ElementNode"])&&typeof ee.tag=="string"&&!ee.tag.startsWith(":")&&(y(ee.tag[0])||ee.tag.includes("."))}var w=new Set(g);function k(ee){return w.has(ee.tag)||x(ee)&&ee.children.every(ue=>_(ue))}function _(ee){return $(ee,["TextNode"])&&!/\S/.test(ee.chars)}function $(ee,ue){return ee&&ue.includes(ee.type)}function j(ee,ue){let ge=ee.getParentNode(0);return $(ge,ue)}function W(ee,ue){let ge=U(ee);return $(ge,ue)}function I(ee,ue){let ge=le(ee);return $(ge,ue)}function O(ee,ue){var ge,me,ye,V;let L=ee.getValue(),R=(ge=ee.getParentNode(0))!==null&&ge!==void 0?ge:{},X=(me=(ye=(V=R.children)!==null&&V!==void 0?V:R.body)!==null&&ye!==void 0?ye:R.parts)!==null&&me!==void 0?me:[],N=X.indexOf(L);return N!==-1&&X[N+ue]}function U(ee){let ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return O(ee,-ue)}function le(ee){return O(ee,1)}function he(ee){return $(ee,["MustacheCommentStatement"])&&typeof ee.value=="string"&&ee.value.trim()==="prettier-ignore"}function J(ee){let ue=ee.getValue(),ge=U(ee,2);return he(ue)||he(ge)}E.exports={getNextNode:le,getPreviousNode:U,hasPrettierIgnore:J,isLastNodeOfSiblings:C,isNextNodeOfSomeType:I,isNodeOfSomeType:$,isParentOfSomeType:j,isPreviousNodeOfSomeType:W,isVoid:k,isWhitespaceNode:_}}}),ve=Xe({"src/language-handlebars/printer-glimmer.js"(m,E){S();var{builders:{dedent:g,fill:A,group:C,hardline:y,ifBreak:x,indent:w,join:k,line:_,softline:$},utils:{getDocParts:j,replaceTextEndOfLine:W}}=wi(),{getPreferredQuote:I,isNonEmptyArray:O}=Qi(),{locStart:U,locEnd:le}=Y(),he=oe(),{getNextNode:J,getPreviousNode:ee,hasPrettierIgnore:ue,isLastNodeOfSiblings:ge,isNextNodeOfSomeType:me,isNodeOfSomeType:ye,isParentOfSomeType:V,isPreviousNodeOfSomeType:L,isVoid:R,isWhitespaceNode:X}=Te(),N=2;function G(ht,Wr,jr){let e=ht.getValue();if(!e)return"";if(ue(ht))return Wr.originalText.slice(U(e),le(e));let r=Wr.singleQuote?"'":'"';switch(e.type){case"Block":case"Program":case"Template":return C(ht.map(jr,"body"));case"ElementNode":{let o=C(se(ht,jr)),a=Wr.htmlWhitespaceSensitivity==="ignore"&&me(ht,["ElementNode"])?$:"";if(R(e))return[o,a];let s=["</",e.tag,">"];return e.children.length===0?[o,w(s),a]:Wr.htmlWhitespaceSensitivity==="ignore"?[o,w(te(ht,Wr,jr)),y,w(s),a]:[o,w(C(te(ht,Wr,jr))),w(s),a]}case"BlockStatement":{let o=ht.getParentNode(1);return o&&o.inverse&&o.inverse.body.length===1&&o.inverse.body[0]===e&&o.inverse.body[0].path.parts[0]==="if"?[Tt(ht,jr),rr(ht,jr,Wr),gr(ht,jr,Wr)]:[Ve(ht,jr),C([rr(ht,jr,Wr),gr(ht,jr,Wr),Ct(ht,jr,Wr)])]}case"ElementModifierStatement":return C(["{{",fr(ht,jr),"}}"]);case"MustacheStatement":return C([be(e),fr(ht,jr),je(e)]);case"SubExpression":return C(["(",dr(ht,jr),$,")"]);case"AttrNode":{let o=e.value.type==="TextNode";if(o&&e.value.chars===""&&U(e.value)===le(e.value))return e.name;let a=o?I(e.value.chars,r).quote:e.value.type==="ConcatStatement"?I(e.value.parts.filter(h=>h.type==="TextNode").map(h=>h.chars).join(""),r).quote:"",s=jr("value");return[e.name,"=",a,e.name==="class"&&a?C(w(s)):s,a]}case"ConcatStatement":return ht.map(jr,"parts");case"Hash":return k(_,ht.map(jr,"pairs"));case"HashPair":return[e.key,"=",jr("value")];case"TextNode":{let o=e.chars.replace(/{{/g,"\\{{"),a=ot(ht);if(a){if(a==="class"){let kt=o.trim().split(/\s+/).join(" "),Qe=!1,or=!1;return V(ht,["ConcatStatement"])&&(L(ht,["MustacheStatement"])&&/^\s/.test(o)&&(Qe=!0),me(ht,["MustacheStatement"])&&/\s$/.test(o)&&kt!==""&&(or=!0)),[Qe?_:"",kt,or?_:""]}return W(o)}let s=/^[\t\n\f\r ]*$/.test(o),h=!ee(ht),d=!J(ht);if(Wr.htmlWhitespaceSensitivity!=="ignore"){let kt=/^[\t\n\f\r ]*/,Qe=/[\t\n\f\r ]*$/,or=d&&V(ht,["Template"]),qt=h&&V(ht,["Template"]);if(s){if(qt||or)return"";let Zr=[_],ft=pt(o);return ft&&(Zr=ln(ft)),ge(ht)&&(Zr=Zr.map(Pn=>g(Pn))),Zr}let[xr]=o.match(kt),[Xr]=o.match(Qe),cr=[];if(xr){cr=[_];let Zr=pt(xr);Zr&&(cr=ln(Zr)),o=o.replace(kt,"")}let Fr=[];if(Xr){if(!or){Fr=[_];let Zr=pt(Xr);Zr&&(Fr=ln(Zr)),ge(ht)&&(Fr=Fr.map(ft=>g(ft)))}o=o.replace(Qe,"")}return[...cr,A(Zt(o)),...Fr]}let F=pt(o),M=lr(o),H=Yt(o);if((h||d)&&s&&V(ht,["Block","ElementNode","Template"]))return"";s&&F?(M=Math.min(F,N),H=0):(me(ht,["BlockStatement","ElementNode"])&&(H=Math.max(H,1)),L(ht,["BlockStatement","ElementNode"])&&(M=Math.max(M,1)));let Ne="",Fe="";return H===0&&me(ht,["MustacheStatement"])&&(Fe=" "),M===0&&L(ht,["MustacheStatement"])&&(Ne=" "),h&&(M=0,Ne=""),d&&(H=0,Fe=""),o=o.replace(/^[\t\n\f\r ]+/g,Ne).replace(/[\t\n\f\r ]+$/,Fe),[...ln(M),A(Zt(o)),...ln(H)]}case"MustacheCommentStatement":{let o=U(e),a=le(e),s=Wr.originalText.charAt(o+2)==="~",h=Wr.originalText.charAt(a-3)==="~",d=e.value.includes("}}")?"--":"";return["{{",s?"~":"","!",d,e.value,d,h?"~":"","}}"]}case"PathExpression":return e.original;case"BooleanLiteral":return String(e.value);case"CommentStatement":return["<!--",e.value,"-->"];case"StringLiteral":{if(fi(ht)){let o=Wr.singleQuote?'"':"'";return si(e.value,o)}return si(e.value,r)}case"NumberLiteral":return String(e.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(e.type))}}function q(ht,Wr){return U(ht)-U(Wr)}function se(ht,Wr){let jr=ht.getValue(),e=["attributes","modifiers","comments"].filter(o=>O(jr[o])),r=e.flatMap(o=>jr[o]).sort(q);for(let o of e)ht.each(a=>{let s=r.indexOf(a.getValue());r.splice(s,1,[_,Wr()])},o);return O(jr.blockParams)&&r.push(_,Yr(jr)),["<",jr.tag,w(r),ne(jr)]}function te(ht,Wr,jr){let e=ht.getValue().children.every(r=>X(r));return Wr.htmlWhitespaceSensitivity==="ignore"&&e?"":ht.map((r,o)=>{let a=jr();return o===0&&Wr.htmlWhitespaceSensitivity==="ignore"?[$,a]:a},"children")}function ne(ht){return R(ht)?x([$,"/>"],[" />",$]):x([$,">"],">")}function be(ht){let Wr=ht.escaped===!1?"{{{":"{{",jr=ht.strip&&ht.strip.open?"~":"";return[Wr,jr]}function je(ht){let Wr=ht.escaped===!1?"}}}":"}}";return[ht.strip&&ht.strip.close?"~":"",Wr]}function Pe(ht){let Wr=be(ht),jr=ht.openStrip.open?"~":"";return[Wr,jr,"#"]}function Ge(ht){let Wr=je(ht);return[ht.openStrip.close?"~":"",Wr]}function We(ht){let Wr=be(ht),jr=ht.closeStrip.open?"~":"";return[Wr,jr,"/"]}function Me(ht){let Wr=je(ht);return[ht.closeStrip.close?"~":"",Wr]}function yt(ht){let Wr=be(ht),jr=ht.inverseStrip.open?"~":"";return[Wr,jr]}function qe(ht){let Wr=je(ht);return[ht.inverseStrip.close?"~":"",Wr]}function Ve(ht,Wr){let jr=ht.getValue(),e=Pe(jr),r=Ge(jr),o=[Tr(ht,Wr)],a=It(ht,Wr);if(a&&o.push(_,a),O(jr.program.blockParams)){let s=Yr(jr.program);o.push(_,s)}return C([e,w(o),$,r])}function bt(ht,Wr){return[Wr.htmlWhitespaceSensitivity==="ignore"?y:"",yt(ht),"else",qe(ht)]}function Tt(ht,Wr){let jr=ht.getParentNode(1);return[yt(jr),"else if ",It(ht,Wr),qe(jr)]}function Ct(ht,Wr,jr){let e=ht.getValue();return jr.htmlWhitespaceSensitivity==="ignore"?[hr(e)?$:y,We(e),Wr("path"),Me(e)]:[We(e),Wr("path"),Me(e)]}function hr(ht){return ye(ht,["BlockStatement"])&&ht.program.body.every(Wr=>X(Wr))}function $e(ht){return nt(ht)&&ht.inverse.body.length===1&&ye(ht.inverse.body[0],["BlockStatement"])&&ht.inverse.body[0].path.parts[0]==="if"}function nt(ht){return ye(ht,["BlockStatement"])&&ht.inverse}function rr(ht,Wr,jr){let e=ht.getValue();if(hr(e))return"";let r=Wr("program");return jr.htmlWhitespaceSensitivity==="ignore"?w([y,r]):w(r)}function gr(ht,Wr,jr){let e=ht.getValue(),r=Wr("inverse"),o=jr.htmlWhitespaceSensitivity==="ignore"?[y,r]:r;return $e(e)?o:nt(e)?[bt(e,jr),w(o)]:""}function Zt(ht){return j(k(_,tt(ht)))}function tt(ht){return ht.split(/[\t\n\f\r ]+/)}function ot(ht){for(let Wr=0;Wr<2;Wr++){let jr=ht.getParentNode(Wr);if(jr&&jr.type==="AttrNode")return jr.name.toLowerCase()}}function pt(ht){return ht=typeof ht=="string"?ht:"",ht.split(`
|
|
99
|
-
`).length-1}function lr(ht){ht=typeof ht=="string"?ht:"";let Wr=(ht.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return pt(Wr)}function Yt(ht){ht=typeof ht=="string"?ht:"";let Wr=(ht.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return pt(Wr)}function ln(){let ht=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(ht,N)}).fill(y)}function si(ht,Wr){let{quote:jr,regex:e}=I(ht,Wr);return[jr,ht.replace(e,"\\".concat(jr)),jr]}function fi(ht){let Wr=0,jr=ht.getParentNode(Wr);for(;jr&&ye(jr,["SubExpression"]);)Wr++,jr=ht.getParentNode(Wr);return!!(jr&&ye(ht.getParentNode(Wr+1),["ConcatStatement"])&&ye(ht.getParentNode(Wr+2),["AttrNode"]))}function dr(ht,Wr){let jr=Tr(ht,Wr),e=It(ht,Wr);return e?w([jr,_,C(e)]):jr}function fr(ht,Wr){let jr=Tr(ht,Wr),e=It(ht,Wr);return e?[w([jr,_,e]),$]:jr}function Tr(ht,Wr){return Wr("path")}function It(ht,Wr){let jr=ht.getValue(),e=[];if(jr.params.length>0){let r=ht.map(Wr,"params");e.push(...r)}if(jr.hash&&jr.hash.pairs.length>0){let r=Wr("hash");e.push(r)}return e.length===0?"":k(_,e)}function Yr(ht){return["as |",ht.blockParams.join(" "),"|"]}E.exports={print:G,massageAstNode:he}}}),xe=Xe({"src/language-handlebars/parsers.js"(){S()}}),Se=Xe({"node_modules/linguist-languages/data/Handlebars.json"(m,E){E.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),P=Xe({"src/language-handlebars/index.js"(m,E){S();var g=Ra(),A=ve(),C=xe(),y=[g(Se(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],x={glimmer:A};E.exports={languages:y,printers:x,parsers:C}}}),b=Xe({"src/language-graphql/pragma.js"(m,E){S();function g(C){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(C)}function A(C){return`# @format
|
|
100
|
-
|
|
101
|
-
`+C}E.exports={hasPragma:g,insertPragma:A}}}),re=Xe({"src/language-graphql/loc.js"(m,E){S();function g(C){return typeof C.start=="number"?C.start:C.loc&&C.loc.start}function A(C){return typeof C.end=="number"?C.end:C.loc&&C.loc.end}E.exports={locStart:g,locEnd:A}}}),Q=Xe({"src/language-graphql/printer-graphql.js"(m,E){S();var{builders:{join:g,hardline:A,line:C,softline:y,group:x,indent:w,ifBreak:k}}=wi(),{isNextLineEmpty:_,isNonEmptyArray:$}=Qi(),{insertPragma:j}=b(),{locStart:W,locEnd:I}=re();function O(me,ye,V){let L=me.getValue();if(!L)return"";if(typeof L=="string")return L;switch(L.kind){case"Document":{let R=[];return me.each((X,N,G)=>{R.push(V()),N!==G.length-1&&(R.push(A),_(ye.originalText,X.getValue(),I)&&R.push(A))},"definitions"),[...R,A]}case"OperationDefinition":{let R=ye.originalText[W(L)]!=="{",X=Boolean(L.name);return[R?L.operation:"",R&&X?[" ",V("name")]:"",R&&!X&&$(L.variableDefinitions)?" ":"",$(L.variableDefinitions)?x(["(",w([y,g([k("",", "),y],me.map(V,"variableDefinitions"))]),y,")"]):"",U(me,V,L),L.selectionSet?!R&&!X?"":" ":"",V("selectionSet")]}case"FragmentDefinition":return["fragment ",V("name"),$(L.variableDefinitions)?x(["(",w([y,g([k("",", "),y],me.map(V,"variableDefinitions"))]),y,")"]):""," on ",V("typeCondition"),U(me,V,L)," ",V("selectionSet")];case"SelectionSet":return["{",w([A,g(A,le(me,ye,V,"selections"))]),A,"}"];case"Field":return x([L.alias?[V("alias"),": "]:"",V("name"),L.arguments.length>0?x(["(",w([y,g([k("",", "),y],le(me,ye,V,"arguments"))]),y,")"]):"",U(me,V,L),L.selectionSet?" ":"",V("selectionSet")]);case"Name":return L.value;case"StringValue":{if(L.block){let R=L.value.replace(/"""/g,"\\$&").split(`
|
|
102
|
-
`);return R.length===1&&(R[0]=R[0].trim()),R.every(X=>X==="")&&(R.length=0),g(A,['"""',...R,'"""'])}return['"',L.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return L.value;case"BooleanValue":return L.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",V("name")];case"ListValue":return x(["[",w([y,g([k("",", "),y],me.map(V,"values"))]),y,"]"]);case"ObjectValue":return x(["{",ye.bracketSpacing&&L.fields.length>0?" ":"",w([y,g([k("",", "),y],me.map(V,"fields"))]),y,k("",ye.bracketSpacing&&L.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[V("name"),": ",V("value")];case"Directive":return["@",V("name"),L.arguments.length>0?x(["(",w([y,g([k("",", "),y],le(me,ye,V,"arguments"))]),y,")"]):""];case"NamedType":return V("name");case"VariableDefinition":return[V("variable"),": ",V("type"),L.defaultValue?[" = ",V("defaultValue")]:"",U(me,V,L)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[V("description"),L.description?A:"",L.kind==="ObjectTypeExtension"?"extend ":"","type ",V("name"),L.interfaces.length>0?[" implements ",...ee(me,ye,V)]:"",U(me,V,L),L.fields.length>0?[" {",w([A,g(A,le(me,ye,V,"fields"))]),A,"}"]:""];case"FieldDefinition":return[V("description"),L.description?A:"",V("name"),L.arguments.length>0?x(["(",w([y,g([k("",", "),y],le(me,ye,V,"arguments"))]),y,")"]):"",": ",V("type"),U(me,V,L)];case"DirectiveDefinition":return[V("description"),L.description?A:"","directive ","@",V("name"),L.arguments.length>0?x(["(",w([y,g([k("",", "),y],le(me,ye,V,"arguments"))]),y,")"]):"",L.repeatable?" repeatable":""," on ",g(" | ",me.map(V,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[V("description"),L.description?A:"",L.kind==="EnumTypeExtension"?"extend ":"","enum ",V("name"),U(me,V,L),L.values.length>0?[" {",w([A,g(A,le(me,ye,V,"values"))]),A,"}"]:""];case"EnumValueDefinition":return[V("description"),L.description?A:"",V("name"),U(me,V,L)];case"InputValueDefinition":return[V("description"),L.description?L.description.block?A:C:"",V("name"),": ",V("type"),L.defaultValue?[" = ",V("defaultValue")]:"",U(me,V,L)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[V("description"),L.description?A:"",L.kind==="InputObjectTypeExtension"?"extend ":"","input ",V("name"),U(me,V,L),L.fields.length>0?[" {",w([A,g(A,le(me,ye,V,"fields"))]),A,"}"]:""];case"SchemaExtension":return["extend schema",U(me,V,L),...L.operationTypes.length>0?[" {",w([A,g(A,le(me,ye,V,"operationTypes"))]),A,"}"]:[]];case"SchemaDefinition":return[V("description"),L.description?A:"","schema",U(me,V,L)," {",L.operationTypes.length>0?w([A,g(A,le(me,ye,V,"operationTypes"))]):"",A,"}"];case"OperationTypeDefinition":return[V("operation"),": ",V("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[V("description"),L.description?A:"",L.kind==="InterfaceTypeExtension"?"extend ":"","interface ",V("name"),L.interfaces.length>0?[" implements ",...ee(me,ye,V)]:"",U(me,V,L),L.fields.length>0?[" {",w([A,g(A,le(me,ye,V,"fields"))]),A,"}"]:""];case"FragmentSpread":return["...",V("name"),U(me,V,L)];case"InlineFragment":return["...",L.typeCondition?[" on ",V("typeCondition")]:"",U(me,V,L)," ",V("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return x([V("description"),L.description?A:"",x([L.kind==="UnionTypeExtension"?"extend ":"","union ",V("name"),U(me,V,L),L.types.length>0?[" =",k(""," "),w([k([C," "]),g([C,"| "],me.map(V,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[V("description"),L.description?A:"",L.kind==="ScalarTypeExtension"?"extend ":"","scalar ",V("name"),U(me,V,L)];case"NonNullType":return[V("type"),"!"];case"ListType":return["[",V("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(L.kind))}}function U(me,ye,V){if(V.directives.length===0)return"";let L=g(C,me.map(ye,"directives"));return V.kind==="FragmentDefinition"||V.kind==="OperationDefinition"?x([C,L]):[" ",x(w([y,L]))]}function le(me,ye,V,L){return me.map((R,X,N)=>{let G=V();return X<N.length-1&&_(ye.originalText,R.getValue(),I)?[G,A]:G},L)}function he(me){return me.kind&&me.kind!=="Comment"}function J(me){let ye=me.getValue();if(ye.kind==="Comment")return"#"+ye.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(ye))}function ee(me,ye,V){let L=me.getNode(),R=[],{interfaces:X}=L,N=me.map(G=>V(G),"interfaces");for(let G=0;G<X.length;G++){let q=X[G];R.push(N[G]);let se=X[G+1];if(se){let te=ye.originalText.slice(q.loc.end,se.loc.start),ne=te.includes("#"),be=te.replace(/#.*/g,"").trim();R.push(be===","?",":" &",ne?C:" ")}}return R}function ue(me,ye){me.kind==="StringValue"&&me.block&&!me.value.includes(`
|
|
103
|
-
`)&&(ye.value=ye.value.trim())}ue.ignoredProperties=new Set(["loc","comments"]);function ge(me){var ye;let V=me.getValue();return V==null||(ye=V.comments)===null||ye===void 0?void 0:ye.some(L=>L.value.trim()==="prettier-ignore")}E.exports={print:O,massageAstNode:ue,hasPrettierIgnore:ge,insertPragma:j,printComment:J,canAttachComment:he}}}),Oe=Xe({"src/language-graphql/options.js"(m,E){S();var g=vo();E.exports={bracketSpacing:g.bracketSpacing}}}),ke=Xe({"src/language-graphql/parsers.js"(){S()}}),Ye=Xe({"node_modules/linguist-languages/data/GraphQL.json"(m,E){E.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),Ue=Xe({"src/language-graphql/index.js"(m,E){S();var g=Ra(),A=Q(),C=Oe(),y=ke(),x=[g(Ye(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],w={graphql:A};E.exports={languages:x,options:C,printers:w,parsers:y}}}),_e=Xe({"src/language-markdown/loc.js"(m,E){S();function g(C){return C.position.start.offset}function A(C){return C.position.end.offset}E.exports={locStart:g,locEnd:A}}}),Et=Xe({"src/language-markdown/constants.evaluate.js"(m,E){E.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]"}}}),Ft=Xe({"src/language-markdown/utils.js"(m,E){S();var{getLast:g}=Qi(),{locStart:A,locEnd:C}=_e(),{cjkPattern:y,kPattern:x,punctuationPattern:w}=Et(),k=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],_=[...k,"tableCell","paragraph","heading"],$=new RegExp(x),j=new RegExp(w);function W(J,ee){let ue="non-cjk",ge="cj-letter",me="k-letter",ye="cjk-punctuation",V=[],L=(ee.proseWrap==="preserve"?J:J.replace(new RegExp("(".concat(y,`)
|
|
104
|
-
(`).concat(y,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[X,N]of L.entries()){if(X%2===1){V.push({type:"whitespace",value:/\n/.test(N)?`
|
|
105
|
-
`:" "});continue}if((X===0||X===L.length-1)&&N==="")continue;let G=N.split(new RegExp("(".concat(y,")")));for(let[q,se]of G.entries())if(!((q===0||q===G.length-1)&&se==="")){if(q%2===0){se!==""&&R({type:"word",value:se,kind:ue,hasLeadingPunctuation:j.test(se[0]),hasTrailingPunctuation:j.test(g(se))});continue}R(j.test(se)?{type:"word",value:se,kind:ye,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:se,kind:$.test(se)?me:ge,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return V;function R(X){let N=g(V);N&&N.type==="word"&&(N.kind===ue&&X.kind===ge&&!N.hasTrailingPunctuation||N.kind===ge&&X.kind===ue&&!X.hasLeadingPunctuation?V.push({type:"whitespace",value:" "}):!G(ue,ye)&&![N.value,X.value].some(q=>/\u3000/.test(q))&&V.push({type:"whitespace",value:""})),V.push(X);function G(q,se){return N.kind===q&&X.kind===se||N.kind===se&&X.kind===q}}}function I(J,ee){let[,ue,ge,me]=ee.slice(J.position.start.offset,J.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:ue,marker:ge,leadingSpaces:me}}function O(J,ee){if(!J.ordered||J.children.length<2)return!1;let ue=Number(I(J.children[0],ee.originalText).numberText),ge=Number(I(J.children[1],ee.originalText).numberText);if(ue===0&&J.children.length>2){let me=Number(I(J.children[2],ee.originalText).numberText);return ge===1&&me===1}return ge===1}function U(J,ee){let{value:ue}=J;return J.position.end.offset===ee.length&&ue.endsWith(`
|
|
106
|
-
`)&&ee.endsWith(`
|
|
107
|
-
`)?ue.slice(0,-1):ue}function le(J,ee){return function ue(ge,me,ye){let V=Object.assign({},ee(ge,me,ye));return V.children&&(V.children=V.children.map((L,R)=>ue(L,R,[V,...ye]))),V}(J,null,[])}function he(J){if((J==null?void 0:J.type)!=="link"||J.children.length!==1)return!1;let[ee]=J.children;return A(J)===A(ee)&&C(J)===C(ee)}E.exports={mapAst:le,splitText:W,punctuationPattern:w,getFencedCodeBlockValue:U,getOrderedListItemInfo:I,hasGitDiffFriendlyOrderedList:O,INLINE_NODE_TYPES:k,INLINE_NODE_WRAPPER_TYPES:_,isAutolink:he}}}),Ht=Xe({"src/language-markdown/embed.js"(m,E){S();var{inferParserByLanguage:g,getMaxContinuousCount:A}=Qi(),{builders:{hardline:C,markAsRoot:y},utils:{replaceEndOfLine:x}}=wi(),w=$a(),{getFencedCodeBlockValue:k}=Ft();function _($,j,W,I){let O=$.getValue();if(O.type==="code"&&O.lang!==null){let U=g(O.lang,I);if(U){let le=I.__inJsTemplate?"~":"`",he=le.repeat(Math.max(3,A(O.value,le)+1)),J={parser:U};O.lang==="tsx"&&(J.filepath="dummy.tsx");let ee=W(k(O,I.originalText),J,{stripTrailingHardline:!0});return y([he,O.lang,O.meta?" "+O.meta:"",C,x(ee),C,he])}}switch(O.type){case"front-matter":return w(O,W);case"importExport":return[W(O.value,{parser:"babel"},{stripTrailingHardline:!0}),C];case"jsx":return W("<$>".concat(O.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}E.exports=_}}),un=Xe({"src/language-markdown/pragma.js"(m,E){S();var g=Ho(),A=["format","prettier"];function C(y){let x="@(".concat(A.join("|"),")"),w=new RegExp(["<!--\\s*".concat(x,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(x,"\\s*\\*\\/\\s*}"),`<!--.*\r?
|
|
108
|
-
[\\s\\S]*(^|
|
|
109
|
-
)[^\\S
|
|
110
|
-
]*`.concat(x,`[^\\S
|
|
111
|
-
]*($|
|
|
112
|
-
)[\\s\\S]*
|
|
113
|
-
.*-->`)].join("|"),"m"),k=y.match(w);return(k==null?void 0:k.index)===0}E.exports={startWithPragma:C,hasPragma:y=>C(g(y).content.trimStart()),insertPragma:y=>{let x=g(y),w="<!-- @".concat(A[0]," -->");return x.frontMatter?"".concat(x.frontMatter.raw,`
|
|
114
|
-
|
|
115
|
-
`).concat(w,`
|
|
116
|
-
|
|
117
|
-
`).concat(x.content):"".concat(w,`
|
|
118
|
-
|
|
119
|
-
`).concat(x.content)}}}}),Mn=Xe({"src/language-markdown/print-preprocess.js"(m,E){S();var g=es(),{getOrderedListItemInfo:A,mapAst:C,splitText:y}=Ft(),x=/^.$/su;function w(he,J){return he=$(he,J),he=I(he),he=_(he),he=U(he,J),he=le(he,J),he=O(he,J),he=k(he),he=j(he),he}function k(he){return C(he,J=>J.type!=="import"&&J.type!=="export"?J:Object.assign(Object.assign({},J),{},{type:"importExport"}))}function _(he){return C(he,J=>J.type!=="inlineCode"?J:Object.assign(Object.assign({},J),{},{value:J.value.replace(/\s+/g," ")}))}function $(he,J){return C(he,ee=>ee.type!=="text"||ee.value==="*"||ee.value==="_"||!x.test(ee.value)||ee.position.end.offset-ee.position.start.offset===ee.value.length?ee:Object.assign(Object.assign({},ee),{},{value:J.originalText.slice(ee.position.start.offset,ee.position.end.offset)}))}function j(he){return W(he,(J,ee)=>J.type==="importExport"&&ee.type==="importExport",(J,ee)=>({type:"importExport",value:J.value+`
|
|
120
|
-
|
|
121
|
-
`+ee.value,position:{start:J.position.start,end:ee.position.end}}))}function W(he,J,ee){return C(he,ue=>{if(!ue.children)return ue;let ge=ue.children.reduce((me,ye)=>{let V=g(me);return V&&J(V,ye)?me.splice(-1,1,ee(V,ye)):me.push(ye),me},[]);return Object.assign(Object.assign({},ue),{},{children:ge})})}function I(he){return W(he,(J,ee)=>J.type==="text"&&ee.type==="text",(J,ee)=>({type:"text",value:J.value+ee.value,position:{start:J.position.start,end:ee.position.end}}))}function O(he,J){return C(he,(ee,ue,ge)=>{let[me]=ge;if(ee.type!=="text")return ee;let{value:ye}=ee;return me.type==="paragraph"&&(ue===0&&(ye=ye.trimStart()),ue===me.children.length-1&&(ye=ye.trimEnd())),{type:"sentence",position:ee.position,children:y(ye,J)}})}function U(he,J){return C(he,(ee,ue,ge)=>{if(ee.type==="code"){let me=/^\n?(?: {4,}|\t)/.test(J.originalText.slice(ee.position.start.offset,ee.position.end.offset));if(ee.isIndented=me,me)for(let ye=0;ye<ge.length;ye++){let V=ge[ye];if(V.hasIndentedCodeblock)break;V.type==="list"&&(V.hasIndentedCodeblock=!0)}}return ee})}function le(he,J){return C(he,(ge,me,ye)=>{if(ge.type==="list"&&ge.children.length>0){for(let V=0;V<ye.length;V++){let L=ye[V];if(L.type==="list"&&!L.isAligned)return ge.isAligned=!1,ge}ge.isAligned=ue(ge)}return ge});function ee(ge){return ge.children.length===0?-1:ge.children[0].position.start.column-1}function ue(ge){if(!ge.ordered)return!0;let[me,ye]=ge.children;if(A(me,J.originalText).leadingSpaces.length>1)return!0;let V=ee(me);if(V===-1)return!1;if(ge.children.length===1)return V%J.tabWidth===0;let L=ee(ye);return V!==L?!1:V%J.tabWidth===0?!0:A(ye,J.originalText).leadingSpaces.length>1}}E.exports=w}}),Hn=Xe({"src/language-markdown/clean.js"(m,E){S();var{isFrontMatterNode:g}=Qi(),{startWithPragma:A}=un(),C=new Set(["position","raw"]);function y(x,w,k){if((x.type==="front-matter"||x.type==="code"||x.type==="yaml"||x.type==="import"||x.type==="export"||x.type==="jsx")&&delete w.value,x.type==="list"&&delete w.isAligned,(x.type==="list"||x.type==="listItem")&&(delete w.spread,delete w.loose),x.type==="text"||(x.type==="inlineCode"&&(w.value=x.value.replace(/[\t\n ]+/g," ")),x.type==="wikiLink"&&(w.value=x.value.trim().replace(/[\t\n]+/g," ")),(x.type==="definition"||x.type==="linkReference")&&(w.label=x.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(x.type==="definition"||x.type==="link"||x.type==="image")&&x.title&&(w.title=x.title.replace(/\\(["')])/g,"$1")),k&&k.type==="root"&&k.children.length>0&&(k.children[0]===x||g(k.children[0])&&k.children[1]===x)&&x.type==="html"&&A(x.value)))return null}y.ignoredProperties=C,E.exports=y}}),bi=Xe({"src/language-markdown/printer-markdown.js"(m,E){S();var{getLast:g,getMinNotPresentContinuousCount:A,getMaxContinuousCount:C,getStringWidth:y,isNonEmptyArray:x}=Qi(),{builders:{breakParent:w,join:k,line:_,literalline:$,markAsRoot:j,hardline:W,softline:I,ifBreak:O,fill:U,align:le,indent:he,group:J,hardlineWithoutBreakParent:ee},utils:{normalizeDoc:ue,replaceTextEndOfLine:ge},printer:{printDocToString:me}}=wi(),ye=Ht(),{insertPragma:V}=un(),{locStart:L,locEnd:R}=_e(),X=Mn(),N=Hn(),{getFencedCodeBlockValue:G,hasGitDiffFriendlyOrderedList:q,splitText:se,punctuationPattern:te,INLINE_NODE_TYPES:ne,INLINE_NODE_WRAPPER_TYPES:be,isAutolink:je}=Ft(),Pe=new Set(["importExport"]),Ge=["heading","tableCell","link","wikiLink"],We=new Set(["listItem","definition","footnoteDefinition"]);function Me(dr,fr,Tr){let It=dr.getValue();if(lr(dr))return se(fr.originalText.slice(It.position.start.offset,It.position.end.offset),fr).map(Yr=>Yr.type==="word"?Yr.value:Yr.value===""?"":hr(dr,Yr.value,fr));switch(It.type){case"front-matter":return fr.originalText.slice(It.position.start.offset,It.position.end.offset);case"root":return It.children.length===0?"":[ue(nt(dr,fr,Tr)),Pe.has(gr(It).type)?"":W];case"paragraph":return rr(dr,fr,Tr,{postprocessor:U});case"sentence":return rr(dr,fr,Tr);case"word":{let Yr=It.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(te,")(_+)"),"(_+)(".concat(te,"|$)")].join("|"),"g"),(jr,e,r,o,a)=>(r?"".concat(e).concat(r):"".concat(o).concat(a)).replace(/_/g,"\\_")),ht=(jr,e,r)=>jr.type==="sentence"&&r===0,Wr=(jr,e,r)=>je(jr.children[r-1]);return Yr!==It.value&&(dr.match(void 0,ht,Wr)||dr.match(void 0,ht,(jr,e,r)=>jr.type==="emphasis"&&r===0,Wr))&&(Yr=Yr.replace(/^(\\?[*_])+/,jr=>jr.replace(/\\/g,""))),Yr}case"whitespace":{let Yr=dr.getParentNode(),ht=Yr.children.indexOf(It),Wr=Yr.children[ht+1],jr=Wr&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Wr.value)?"never":fr.proseWrap;return hr(dr,It.value,{proseWrap:jr})}case"emphasis":{let Yr;if(je(It.children[0]))Yr=fr.originalText[It.position.start.offset];else{let ht=dr.getParentNode(),Wr=ht.children.indexOf(It),jr=ht.children[Wr-1],e=ht.children[Wr+1];Yr=jr&&jr.type==="sentence"&&jr.children.length>0&&g(jr.children).type==="word"&&!g(jr.children).hasTrailingPunctuation||e&&e.type==="sentence"&&e.children.length>0&&e.children[0].type==="word"&&!e.children[0].hasLeadingPunctuation||Ct(dr,"emphasis")?"*":"_"}return[Yr,rr(dr,fr,Tr),Yr]}case"strong":return["**",rr(dr,fr,Tr),"**"];case"delete":return["~~",rr(dr,fr,Tr),"~~"];case"inlineCode":{let Yr=A(It.value,"`"),ht="`".repeat(Yr||1),Wr=Yr&&!/^\s/.test(It.value)?" ":"";return[ht,Wr,It.value,Wr,ht]}case"wikiLink":{let Yr="";return fr.proseWrap==="preserve"?Yr=It.value:Yr=It.value.replace(/[\t\n]+/g," "),["[[",Yr,"]]"]}case"link":switch(fr.originalText[It.position.start.offset]){case"<":{let Yr="mailto:",ht=It.url.startsWith(Yr)&&fr.originalText.slice(It.position.start.offset+1,It.position.start.offset+1+Yr.length)!==Yr?It.url.slice(Yr.length):It.url;return["<",ht,">"]}case"[":return["[",rr(dr,fr,Tr),"](",Yt(It.url,")"),ln(It.title,fr),")"];default:return fr.originalText.slice(It.position.start.offset,It.position.end.offset)}case"image":return[""),ln(It.title,fr),")"];case"blockquote":return["> ",le("> ",rr(dr,fr,Tr))];case"heading":return["#".repeat(It.depth)+" ",rr(dr,fr,Tr)];case"code":{if(It.isIndented){let Wr=" ".repeat(4);return le(Wr,[Wr,...ge(It.value,W)])}let Yr=fr.__inJsTemplate?"~":"`",ht=Yr.repeat(Math.max(3,C(It.value,Yr)+1));return[ht,It.lang||"",It.meta?" "+It.meta:"",W,...ge(G(It,fr.originalText),W),W,ht]}case"html":{let Yr=dr.getParentNode(),ht=Yr.type==="root"&&g(Yr.children)===It?It.value.trimEnd():It.value,Wr=/^<!--.*-->$/s.test(ht);return ge(ht,Wr?W:j($))}case"list":{let Yr=Ve(It,dr.getParentNode()),ht=q(It,fr);return rr(dr,fr,Tr,{processor:(Wr,jr)=>{let e=o(),r=Wr.getValue();if(r.children.length===2&&r.children[1].type==="html"&&r.children[0].position.start.column!==r.children[1].position.start.column)return[e,yt(Wr,fr,Tr,e)];return[e,le(" ".repeat(e.length),yt(Wr,fr,Tr,e))];function o(){let a=It.ordered?(jr===0?It.start:ht?1:It.start+jr)+(Yr%2===0?". ":") "):Yr%2===0?"- ":"* ";return It.isAligned||It.hasIndentedCodeblock?qe(a,fr):a}}})}case"thematicBreak":{let Yr=Tt(dr,"list");return Yr===-1?"---":Ve(dr.getParentNode(Yr),dr.getParentNode(Yr+1))%2===0?"***":"---"}case"linkReference":return["[",rr(dr,fr,Tr),"]",It.referenceType==="full"?["[",It.identifier,"]"]:It.referenceType==="collapsed"?"[]":""];case"imageReference":switch(It.referenceType){case"full":return["![",It.alt||"","][",It.identifier,"]"];default:return["![",It.alt,"]",It.referenceType==="collapsed"?"[]":""]}case"definition":{let Yr=fr.proseWrap==="always"?_:" ";return J(["[",It.identifier,"]:",he([Yr,Yt(It.url),It.title===null?"":[Yr,ln(It.title,fr,!1)]])])}case"footnote":return["[^",rr(dr,fr,Tr),"]"];case"footnoteReference":return["[^",It.identifier,"]"];case"footnoteDefinition":{let Yr=dr.getParentNode().children[dr.getName()+1],ht=It.children.length===1&&It.children[0].type==="paragraph"&&(fr.proseWrap==="never"||fr.proseWrap==="preserve"&&It.children[0].position.start.line===It.children[0].position.end.line);return["[^",It.identifier,"]: ",ht?rr(dr,fr,Tr):J([le(" ".repeat(4),rr(dr,fr,Tr,{processor:(Wr,jr)=>jr===0?J([I,Tr()]):Tr()})),Yr&&Yr.type==="footnoteDefinition"?I:""])]}case"table":return $e(dr,fr,Tr);case"tableCell":return rr(dr,fr,Tr);case"break":return/\s/.test(fr.originalText[It.position.start.offset])?[" ",j($)]:["\\",W];case"liquidNode":return ge(It.value,W);case"importExport":return[It.value,W];case"esComment":return["{/* ",It.value," */}"];case"jsx":return It.value;case"math":return["$$",W,It.value?[...ge(It.value,W),W]:"","$$"];case"inlineMath":return fr.originalText.slice(L(It),R(It));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(It.type)))}}function yt(dr,fr,Tr,It){let Yr=dr.getValue(),ht=Yr.checked===null?"":Yr.checked?"[x] ":"[ ] ";return[ht,rr(dr,fr,Tr,{processor:(Wr,jr)=>{if(jr===0&&Wr.getValue().type!=="list")return le(" ".repeat(ht.length),Tr());let e=" ".repeat(si(fr.tabWidth-It.length,0,3));return[e,le(e,Tr())]}})]}function qe(dr,fr){let Tr=It();return dr+" ".repeat(Tr>=4?0:Tr);function It(){let Yr=dr.length%fr.tabWidth;return Yr===0?0:fr.tabWidth-Yr}}function Ve(dr,fr){return bt(dr,fr,Tr=>Tr.ordered===dr.ordered)}function bt(dr,fr,Tr){let It=-1;for(let Yr of fr.children)if(Yr.type===dr.type&&Tr(Yr)?It++:It=-1,Yr===dr)return It}function Tt(dr,fr){let Tr=Array.isArray(fr)?fr:[fr],It=-1,Yr;for(;Yr=dr.getParentNode(++It);)if(Tr.includes(Yr.type))return It;return-1}function Ct(dr,fr){let Tr=Tt(dr,fr);return Tr===-1?null:dr.getParentNode(Tr)}function hr(dr,fr,Tr){if(Tr.proseWrap==="preserve"&&fr===`
|
|
122
|
-
`)return W;let It=Tr.proseWrap==="always"&&!Ct(dr,Ge);return fr!==""?It?_:" ":It?I:""}function $e(dr,fr,Tr){let It=dr.getValue(),Yr=[],ht=dr.map(a=>a.map((s,h)=>{let d=me(Tr(),fr).formatted,F=y(d);return Yr[h]=Math.max(Yr[h]||3,F),{text:d,width:F}},"children"),"children"),Wr=e(!1);if(fr.proseWrap!=="never")return[w,Wr];let jr=e(!0);return[w,J(O(jr,Wr))];function e(a){let s=[o(ht[0],a),r(a)];return ht.length>1&&s.push(k(ee,ht.slice(1).map(h=>o(h,a)))),k(ee,s)}function r(a){let s=Yr.map((h,d)=>{let F=It.align[d],M=F==="center"||F==="left"?":":"-",H=F==="center"||F==="right"?":":"-",Ne=a?"-":"-".repeat(h-2);return"".concat(M).concat(Ne).concat(H)});return"| ".concat(s.join(" | ")," |")}function o(a,s){let h=a.map((d,F)=>{let{text:M,width:H}=d;if(s)return M;let Ne=Yr[F]-H,Fe=It.align[F],kt=0;Fe==="right"?kt=Ne:Fe==="center"&&(kt=Math.floor(Ne/2));let Qe=Ne-kt;return"".concat(" ".repeat(kt)).concat(M).concat(" ".repeat(Qe))});return"| ".concat(h.join(" | ")," |")}}function nt(dr,fr,Tr){let It=[],Yr=null,{children:ht}=dr.getValue();for(let[Wr,jr]of ht.entries())switch(Zt(jr)){case"start":Yr===null&&(Yr={index:Wr,offset:jr.position.end.offset});break;case"end":Yr!==null&&(It.push({start:Yr,end:{index:Wr,offset:jr.position.start.offset}}),Yr=null);break}return rr(dr,fr,Tr,{processor:(Wr,jr)=>{if(It.length>0){let e=It[0];if(jr===e.start.index)return[ht[e.start.index].value,fr.originalText.slice(e.start.offset,e.end.offset),ht[e.end.index].value];if(e.start.index<jr&&jr<e.end.index)return!1;if(jr===e.end.index)return It.shift(),!1}return Tr()}})}function rr(dr,fr,Tr){let It=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Yr}=It,ht=It.processor||(()=>Tr()),Wr=dr.getValue(),jr=[],e;return dr.each((r,o)=>{let a=r.getValue(),s=ht(r,o);if(s!==!1){let h={parts:jr,prevNode:e,parentNode:Wr,options:fr};tt(a,h)&&(jr.push(W),e&&Pe.has(e.type)||(ot(a,h)||pt(a,h))&&jr.push(W),pt(a,h)&&jr.push(W)),jr.push(s),e=a}},"children"),Yr?Yr(jr):jr}function gr(dr){let fr=dr;for(;x(fr.children);)fr=g(fr.children);return fr}function Zt(dr){let fr;if(dr.type==="html")fr=dr.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Tr;dr.type==="esComment"?Tr=dr:dr.type==="paragraph"&&dr.children.length===1&&dr.children[0].type==="esComment"&&(Tr=dr.children[0]),Tr&&(fr=Tr.value.match(/^prettier-ignore(?:-(start|end))?$/))}return fr?fr[1]||"next":!1}function tt(dr,fr){let Tr=fr.parts.length===0,It=ne.includes(dr.type),Yr=dr.type==="html"&&be.includes(fr.parentNode.type);return!Tr&&!It&&!Yr}function ot(dr,fr){var Tr,It,Yr;let ht=(fr.prevNode&&fr.prevNode.type)===dr.type&&We.has(dr.type),Wr=fr.parentNode.type==="listItem"&&!fr.parentNode.loose,jr=((Tr=fr.prevNode)===null||Tr===void 0?void 0:Tr.type)==="listItem"&&fr.prevNode.loose,e=Zt(fr.prevNode)==="next",r=dr.type==="html"&&((It=fr.prevNode)===null||It===void 0?void 0:It.type)==="html"&&fr.prevNode.position.end.line+1===dr.position.start.line,o=dr.type==="html"&&fr.parentNode.type==="listItem"&&((Yr=fr.prevNode)===null||Yr===void 0?void 0:Yr.type)==="paragraph"&&fr.prevNode.position.end.line+1===dr.position.start.line;return jr||!(ht||Wr||e||r||o)}function pt(dr,fr){let Tr=fr.prevNode&&fr.prevNode.type==="list",It=dr.type==="code"&&dr.isIndented;return Tr&&It}function lr(dr){let fr=Ct(dr,["linkReference","imageReference"]);return fr&&(fr.type!=="linkReference"||fr.referenceType!=="full")}function Yt(dr){let fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Tr=[" ",...Array.isArray(fr)?fr:[fr]];return new RegExp(Tr.map(It=>"\\".concat(It)).join("|")).test(dr)?"<".concat(dr,">"):dr}function ln(dr,fr){let Tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!dr)return"";if(Tr)return" "+ln(dr,fr,!1);if(dr=dr.replace(/\\(["')])/g,"$1"),dr.includes('"')&&dr.includes("'")&&!dr.includes(")"))return"(".concat(dr,")");let It=dr.split("'").length-1,Yr=dr.split('"').length-1,ht=It>Yr?'"':Yr>It||fr.singleQuote?"'":'"';return dr=dr.replace(/\\/,"\\\\"),dr=dr.replace(new RegExp("(".concat(ht,")"),"g"),"\\$1"),"".concat(ht).concat(dr).concat(ht)}function si(dr,fr,Tr){return dr<fr?fr:dr>Tr?Tr:dr}function fi(dr){let fr=Number(dr.getName());if(fr===0)return!1;let Tr=dr.getParentNode().children[fr-1];return Zt(Tr)==="next"}E.exports={preprocess:X,print:Me,embed:ye,massageAstNode:N,hasPrettierIgnore:fi,insertPragma:V}}}),en=Xe({"src/language-markdown/options.js"(m,E){S();var g=vo();E.exports={proseWrap:g.proseWrap,singleQuote:g.singleQuote}}}),Bi=Xe({"src/language-markdown/parsers.js"(){S()}}),di=Xe({"node_modules/linguist-languages/data/Markdown.json"(m,E){E.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}}}),Ci=Xe({"src/language-markdown/index.js"(m,E){S();var g=Ra(),A=bi(),C=en(),y=Bi(),x=[g(di(),k=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...k.filenames,"README"],extensions:k.extensions.filter(_=>_!==".mdx")})),g(di(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],w={mdast:A};E.exports={languages:x,options:C,printers:w,parsers:y}}}),Dn=Xe({"src/language-html/clean.js"(m,E){S();var{isFrontMatterNode:g}=Qi(),A=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function C(y,x){if(y.type==="text"||y.type==="comment"||g(y)||y.type==="yaml"||y.type==="toml")return null;y.type==="attribute"&&delete x.value,y.type==="docType"&&delete x.value}C.ignoredProperties=A,E.exports=C}}),Gr=Xe({"src/language-html/constants.evaluate.js"(m,E){E.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"}}}),bn=Xe({"src/language-html/utils/is-unknown-namespace.js"(m,E){S();function g(A){return A.type==="element"&&!A.hasExplicitNamespace&&!["html","svg"].includes(A.namespace)}E.exports=g}}),Lr=Xe({"src/language-html/utils/index.js"(m,E){S();var{inferParserByLanguage:g,isFrontMatterNode:A}=Qi(),{builders:{line:C,hardline:y,join:x},utils:{getDocParts:w,replaceTextEndOfLine:k}}=wi(),{CSS_DISPLAY_TAGS:_,CSS_DISPLAY_DEFAULT:$,CSS_WHITE_SPACE_TAGS:j,CSS_WHITE_SPACE_DEFAULT:W}=Gr(),I=bn(),O=new Set([" ",`
|
|
123
|
-
`,"\f","\r"," "]),U=s=>s.replace(/^[\t\n\f\r ]+/,""),le=s=>s.replace(/[\t\n\f\r ]+$/,""),he=s=>U(le(s)),J=s=>s.replace(/^[\t\f\r ]*\n/g,""),ee=s=>J(le(s)),ue=s=>s.split(/[\t\n\f\r ]+/),ge=s=>s.match(/^[\t\n\f\r ]*/)[0],me=s=>{let[,h,d,F]=s.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:h,trailingWhitespace:F,text:d}},ye=s=>/[\t\n\f\r ]/.test(s);function V(s,h){return!!(s.type==="ieConditionalComment"&&s.lastChild&&!s.lastChild.isSelfClosing&&!s.lastChild.endSourceSpan||s.type==="ieConditionalComment"&&!s.complete||lr(s)&&s.children.some(d=>d.type!=="text"&&d.type!=="interpolation")||jr(s,h)&&!N(s)&&s.type!=="interpolation")}function L(s){return s.type==="attribute"||!s.parent||!s.prev?!1:R(s.prev)}function R(s){return s.type==="comment"&&s.value.trim()==="prettier-ignore"}function X(s){return s.type==="text"||s.type==="comment"}function N(s){return s.type==="element"&&(s.fullName==="script"||s.fullName==="style"||s.fullName==="svg:style"||I(s)&&(s.name==="script"||s.name==="style"))}function G(s){return s.children&&!N(s)}function q(s){return N(s)||s.type==="interpolation"||se(s)}function se(s){return fi(s).startsWith("pre")}function te(s,h){let d=F();if(d&&!s.prev&&s.parent&&s.parent.tagDefinition&&s.parent.tagDefinition.ignoreFirstLf)return s.type==="interpolation";return d;function F(){return A(s)?!1:(s.type==="text"||s.type==="interpolation")&&s.prev&&(s.prev.type==="text"||s.prev.type==="interpolation")?!0:!s.parent||s.parent.cssDisplay==="none"?!1:lr(s.parent)?!0:!(!s.prev&&(s.parent.type==="root"||lr(s)&&s.parent||N(s.parent)||ht(s.parent,h)||!gr(s.parent.cssDisplay))||s.prev&&!ot(s.prev.cssDisplay))}}function ne(s,h){return A(s)?!1:(s.type==="text"||s.type==="interpolation")&&s.next&&(s.next.type==="text"||s.next.type==="interpolation")?!0:!s.parent||s.parent.cssDisplay==="none"?!1:lr(s.parent)?!0:!(!s.next&&(s.parent.type==="root"||lr(s)&&s.parent||N(s.parent)||ht(s.parent,h)||!Zt(s.parent.cssDisplay))||s.next&&!tt(s.next.cssDisplay))}function be(s){return pt(s.cssDisplay)&&!N(s)}function je(s){return A(s)||s.next&&s.sourceSpan.end&&s.sourceSpan.end.line+1<s.next.sourceSpan.start.line}function Pe(s){return Ge(s)||s.type==="element"&&s.children.length>0&&(["body","script","style"].includes(s.name)||s.children.some(h=>Ct(h)))||s.firstChild&&s.firstChild===s.lastChild&&s.firstChild.type!=="text"&&qe(s.firstChild)&&(!s.lastChild.isTrailingSpaceSensitive||Ve(s.lastChild))}function Ge(s){return s.type==="element"&&s.children.length>0&&(["html","head","ul","ol","select"].includes(s.name)||s.cssDisplay.startsWith("table")&&s.cssDisplay!=="table-cell")}function We(s){return bt(s)||s.prev&&Me(s.prev)||yt(s)}function Me(s){return bt(s)||s.type==="element"&&s.fullName==="br"||yt(s)}function yt(s){return qe(s)&&Ve(s)}function qe(s){return s.hasLeadingSpaces&&(s.prev?s.prev.sourceSpan.end.line<s.sourceSpan.start.line:s.parent.type==="root"||s.parent.startSourceSpan.end.line<s.sourceSpan.start.line)}function Ve(s){return s.hasTrailingSpaces&&(s.next?s.next.sourceSpan.start.line>s.sourceSpan.end.line:s.parent.type==="root"||s.parent.endSourceSpan&&s.parent.endSourceSpan.start.line>s.sourceSpan.end.line)}function bt(s){switch(s.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(s.name)}return!1}function Tt(s){return s.lastChild?Tt(s.lastChild):s}function Ct(s){return s.children&&s.children.some(h=>h.type!=="text")}function hr(s){let{type:h,lang:d}=s.attrMap;if(h==="module"||h==="text/javascript"||h==="text/babel"||h==="application/javascript"||d==="jsx")return"babel";if(h==="application/x-typescript"||d==="ts"||d==="tsx")return"typescript";if(h==="text/markdown")return"markdown";if(h==="text/html")return"html";if(h&&(h.endsWith("json")||h.endsWith("importmap"))||h==="speculationrules")return"json";if(h==="text/x-handlebars-template")return"glimmer"}function $e(s,h){let{lang:d}=s.attrMap;if(!d||d==="postcss"||d==="css")return"css";if(d==="scss")return"scss";if(d==="less")return"less";if(d==="stylus")return g("stylus",h)}function nt(s,h){if(s.name==="script"&&!s.attrMap.src)return!s.attrMap.lang&&!s.attrMap.type?"babel":hr(s);if(s.name==="style")return $e(s,h);if(h&&jr(s,h))return hr(s)||!("src"in s.attrMap)&&g(s.attrMap.lang,h)}function rr(s){return s==="block"||s==="list-item"||s.startsWith("table")}function gr(s){return!rr(s)&&s!=="inline-block"}function Zt(s){return!rr(s)&&s!=="inline-block"}function tt(s){return!rr(s)}function ot(s){return!rr(s)}function pt(s){return!rr(s)&&s!=="inline-block"}function lr(s){return fi(s).startsWith("pre")}function Yt(s,h){let d=0;for(let F=s.stack.length-1;F>=0;F--){let M=s.stack[F];M&&typeof M=="object"&&!Array.isArray(M)&&h(M)&&d++}return d}function ln(s,h){let d=s;for(;d;){if(h(d))return!0;d=d.parent}return!1}function si(s,h){if(s.prev&&s.prev.type==="comment"){let F=s.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(F)return F[1]}let d=!1;if(s.type==="element"&&s.namespace==="svg")if(ln(s,F=>F.fullName==="svg:foreignObject"))d=!0;else return s.name==="svg"?"inline-block":"block";switch(h.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return h.parser==="vue"&&s.parent&&s.parent.type==="root"?"block":s.type==="element"&&(!s.namespace||d||I(s))&&_[s.name]||$}}function fi(s){return s.type==="element"&&(!s.namespace||I(s))&&j[s.name]||W}function dr(s){let h=Number.POSITIVE_INFINITY;for(let d of s.split(`
|
|
124
|
-
`)){if(d.length===0)continue;if(!O.has(d[0]))return 0;let F=ge(d).length;d.length!==F&&F<h&&(h=F)}return h===Number.POSITIVE_INFINITY?0:h}function fr(s){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dr(s);return h===0?s:s.split(`
|
|
125
|
-
`).map(d=>d.slice(h)).join(`
|
|
126
|
-
`)}function Tr(s,h){let d=0;for(let F=0;F<s.length;F++)s[F]===h&&d++;return d}function It(s){return s.replace(/'/g,"'").replace(/"/g,'"')}var Yr=new Set(["template","style","script"]);function ht(s,h){return Wr(s,h)&&!Yr.has(s.fullName)}function Wr(s,h){return h.parser==="vue"&&s.type==="element"&&s.parent.type==="root"&&s.fullName.toLowerCase()!=="html"}function jr(s,h){return Wr(s,h)&&(ht(s,h)||s.attrMap.lang&&s.attrMap.lang!=="html")}function e(s){let h=s.fullName;return h.charAt(0)==="#"||h==="slot-scope"||h==="v-slot"||h.startsWith("v-slot:")}function r(s,h){let d=s.parent;if(!Wr(d,h))return!1;let F=d.fullName,M=s.fullName;return F==="script"&&M==="setup"||F==="style"&&M==="vars"}function o(s){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s.value;return s.parent.isWhitespaceSensitive?s.parent.isIndentationSensitive?k(h):k(fr(ee(h)),y):w(x(C,ue(h)))}function a(s,h){return Wr(s,h)&&s.name==="script"}E.exports={htmlTrim:he,htmlTrimPreserveIndentation:ee,hasHtmlWhitespace:ye,getLeadingAndTrailingHtmlWhitespace:me,canHaveInterpolation:G,countChars:Tr,countParents:Yt,dedentString:fr,forceBreakChildren:Ge,forceBreakContent:Pe,forceNextEmptyLine:je,getLastDescendant:Tt,getNodeCssStyleDisplay:si,getNodeCssStyleWhiteSpace:fi,hasPrettierIgnore:L,inferScriptParser:nt,isVueCustomBlock:ht,isVueNonHtmlBlock:jr,isVueScriptTag:a,isVueSlotAttribute:e,isVueSfcBindingsAttribute:r,isVueSfcBlock:Wr,isDanglingSpaceSensitiveNode:be,isIndentationSensitiveNode:se,isLeadingSpaceSensitiveNode:te,isPreLikeNode:lr,isScriptLikeTag:N,isTextLikeNode:X,isTrailingSpaceSensitiveNode:ne,isWhitespaceSensitiveNode:q,isUnknownNamespace:I,preferHardlineAsLeadingSpaces:We,preferHardlineAsTrailingSpaces:Me,shouldPreserveContent:V,unescapeQuoteEntities:It,getTextValueParts:o}}}),Vs=Xe({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.$EOF=0,m.$BSPACE=8,m.$TAB=9,m.$LF=10,m.$VTAB=11,m.$FF=12,m.$CR=13,m.$SPACE=32,m.$BANG=33,m.$DQ=34,m.$HASH=35,m.$$=36,m.$PERCENT=37,m.$AMPERSAND=38,m.$SQ=39,m.$LPAREN=40,m.$RPAREN=41,m.$STAR=42,m.$PLUS=43,m.$COMMA=44,m.$MINUS=45,m.$PERIOD=46,m.$SLASH=47,m.$COLON=58,m.$SEMICOLON=59,m.$LT=60,m.$EQ=61,m.$GT=62,m.$QUESTION=63,m.$0=48,m.$7=55,m.$9=57,m.$A=65,m.$E=69,m.$F=70,m.$X=88,m.$Z=90,m.$LBRACKET=91,m.$BACKSLASH=92,m.$RBRACKET=93,m.$CARET=94,m.$_=95,m.$a=97,m.$b=98,m.$e=101,m.$f=102,m.$n=110,m.$r=114,m.$t=116,m.$u=117,m.$v=118,m.$x=120,m.$z=122,m.$LBRACE=123,m.$BAR=124,m.$RBRACE=125,m.$NBSP=160,m.$PIPE=124,m.$TILDA=126,m.$AT=64,m.$BT=96;function E(w){return w>=m.$TAB&&w<=m.$SPACE||w==m.$NBSP}m.isWhitespace=E;function g(w){return m.$0<=w&&w<=m.$9}m.isDigit=g;function A(w){return w>=m.$a&&w<=m.$z||w>=m.$A&&w<=m.$Z}m.isAsciiLetter=A;function C(w){return w>=m.$a&&w<=m.$f||w>=m.$A&&w<=m.$F||g(w)}m.isAsciiHexDigit=C;function y(w){return w===m.$LF||w===m.$CR}m.isNewLine=y;function x(w){return m.$0<=w&&w<=m.$7}m.isOctalDigit=x}}),xs=Xe({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=class{constructor(A,C,y){this.filePath=A,this.name=C,this.members=y}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};m.StaticSymbol=E;var g=class{constructor(){this.cache=new Map}get(A,C,y){y=y||[];let x=y.length?".".concat(y.join(".")):"",w='"'.concat(A,'".').concat(C).concat(x),k=this.cache.get(w);return k||(k=new E(A,C,y),this.cache.set(w,k)),k}};m.StaticSymbolCache=g}}),ts=Xe({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=/-+([a-z0-9])/g;function g(N){return N.replace(E,function(){for(var G=arguments.length,q=new Array(G),se=0;se<G;se++)q[se]=arguments[se];return q[1].toUpperCase()})}m.dashCaseToCamelCase=g;function A(N,G){return y(N,":",G)}m.splitAtColon=A;function C(N,G){return y(N,".",G)}m.splitAtPeriod=C;function y(N,G,q){let se=N.indexOf(G);return se==-1?q:[N.slice(0,se).trim(),N.slice(se+1).trim()]}function x(N,G,q){return Array.isArray(N)?G.visitArray(N,q):J(N)?G.visitStringMap(N,q):N==null||typeof N=="string"||typeof N=="number"||typeof N=="boolean"?G.visitPrimitive(N,q):G.visitOther(N,q)}m.visitValue=x;function w(N){return N!=null}m.isDefined=w;function k(N){return N===void 0?null:N}m.noUndefined=k;var _=class{visitArray(N,G){return N.map(q=>x(q,this,G))}visitStringMap(N,G){let q={};return Object.keys(N).forEach(se=>{q[se]=x(N[se],this,G)}),q}visitPrimitive(N,G){return N}visitOther(N,G){return N}};m.ValueTransformer=_,m.SyncAsync={assertSync:N=>{if(me(N))throw new Error("Illegal state: value cannot be a promise");return N},then:(N,G)=>me(N)?N.then(G):G(N),all:N=>N.some(me)?Promise.all(N):N};function $(N){throw new Error("Internal Error: ".concat(N))}m.error=$;function j(N,G){let q=Error(N);return q[W]=!0,G&&(q[I]=G),q}m.syntaxError=j;var W="ngSyntaxError",I="ngParseErrors";function O(N){return N[W]}m.isSyntaxError=O;function U(N){return N[I]||[]}m.getParseErrors=U;function le(N){return N.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=le;var he=Object.getPrototypeOf({});function J(N){return typeof N=="object"&&N!==null&&Object.getPrototypeOf(N)===he}function ee(N){let G="";for(let q=0;q<N.length;q++){let se=N.charCodeAt(q);if(se>=55296&&se<=56319&&N.length>q+1){let te=N.charCodeAt(q+1);te>=56320&&te<=57343&&(q++,se=(se-55296<<10)+te-56320+65536)}se<=127?G+=String.fromCharCode(se):se<=2047?G+=String.fromCharCode(se>>6&31|192,se&63|128):se<=65535?G+=String.fromCharCode(se>>12|224,se>>6&63|128,se&63|128):se<=2097151&&(G+=String.fromCharCode(se>>18&7|240,se>>12&63|128,se>>6&63|128,se&63|128))}return G}m.utf8Encode=ee;function ue(N){if(typeof N=="string")return N;if(N instanceof Array)return"["+N.map(ue).join(", ")+"]";if(N==null)return""+N;if(N.overriddenName)return"".concat(N.overriddenName);if(N.name)return"".concat(N.name);if(!N.toString)return"object";let G=N.toString();if(G==null)return""+G;let q=G.indexOf(`
|
|
127
|
-
`);return q===-1?G:G.substring(0,q)}m.stringify=ue;function ge(N){return typeof N=="function"&&N.hasOwnProperty("__forward_ref__")?N():N}m.resolveForwardRef=ge;function me(N){return!!N&&typeof N.then=="function"}m.isPromise=me;var ye=class{constructor(N){this.full=N;let G=N.split(".");this.major=G[0],this.minor=G[1],this.patch=G.slice(2).join(".")}};m.Version=ye;var V=typeof window<"u"&&window,L=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,R=typeof globalThis<"u"&&globalThis,X=R||V||L;m.global=X}}),rs=Xe({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=xs(),g=ts(),A=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function C(q){return q.replace(/\W/g,"_")}m.sanitizeIdentifier=C;var y=0;function x(q){if(!q||!q.reference)return null;let se=q.reference;if(se instanceof E.StaticSymbol)return se.name;if(se.__anonymousType)return se.__anonymousType;let te=g.stringify(se);return te.indexOf("(")>=0?(te="anonymous_".concat(y++),se.__anonymousType=te):te=C(te),te}m.identifierName=x;function w(q){let se=q.reference;return se instanceof E.StaticSymbol?se.filePath:"./".concat(g.stringify(se))}m.identifierModuleUrl=w;function k(q,se){return"View_".concat(x({reference:q}),"_").concat(se)}m.viewClassName=k;function _(q){return"RenderType_".concat(x({reference:q}))}m.rendererTypeName=_;function $(q){return"HostView_".concat(x({reference:q}))}m.hostViewClassName=$;function j(q){return"".concat(x({reference:q}),"NgFactory")}m.componentFactoryName=j;var W;(function(q){q[q.Pipe=0]="Pipe",q[q.Directive=1]="Directive",q[q.NgModule=2]="NgModule",q[q.Injectable=3]="Injectable"})(W=m.CompileSummaryKind||(m.CompileSummaryKind={}));function I(q){return q.value!=null?C(q.value):x(q.identifier)}m.tokenName=I;function O(q){return q.identifier!=null?q.identifier.reference:q.value}m.tokenReference=O;var U=class{constructor(){let{moduleUrl:q,styles:se,styleUrls:te}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=q||null,this.styles=me(se),this.styleUrls=me(te)}};m.CompileStylesheetMetadata=U;var le=class{constructor(q){let{encapsulation:se,template:te,templateUrl:ne,htmlAst:be,styles:je,styleUrls:Pe,externalStylesheets:Ge,animations:We,ngContentSelectors:Me,interpolation:yt,isInline:qe,preserveWhitespaces:Ve}=q;if(this.encapsulation=se,this.template=te,this.templateUrl=ne,this.htmlAst=be,this.styles=me(je),this.styleUrls=me(Pe),this.externalStylesheets=me(Ge),this.animations=We?V(We):[],this.ngContentSelectors=Me||[],yt&&yt.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=yt,this.isInline=qe,this.preserveWhitespaces=Ve}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=le;var he=class{static create(q){let{isHost:se,type:te,isComponent:ne,selector:be,exportAs:je,changeDetection:Pe,inputs:Ge,outputs:We,host:Me,providers:yt,viewProviders:qe,queries:Ve,guards:bt,viewQueries:Tt,entryComponents:Ct,template:hr,componentViewType:$e,rendererType:nt,componentFactory:rr}=q,gr={},Zt={},tt={};Me!=null&&Object.keys(Me).forEach(lr=>{let Yt=Me[lr],ln=lr.match(A);ln===null?tt[lr]=Yt:ln[1]!=null?Zt[ln[1]]=Yt:ln[2]!=null&&(gr[ln[2]]=Yt)});let ot={};Ge!=null&&Ge.forEach(lr=>{let Yt=g.splitAtColon(lr,[lr,lr]);ot[Yt[0]]=Yt[1]});let pt={};return We!=null&&We.forEach(lr=>{let Yt=g.splitAtColon(lr,[lr,lr]);pt[Yt[0]]=Yt[1]}),new he({isHost:se,type:te,isComponent:!!ne,selector:be,exportAs:je,changeDetection:Pe,inputs:ot,outputs:pt,hostListeners:gr,hostProperties:Zt,hostAttributes:tt,providers:yt,viewProviders:qe,queries:Ve,guards:bt,viewQueries:Tt,entryComponents:Ct,template:hr,componentViewType:$e,rendererType:nt,componentFactory:rr})}constructor(q){let{isHost:se,type:te,isComponent:ne,selector:be,exportAs:je,changeDetection:Pe,inputs:Ge,outputs:We,hostListeners:Me,hostProperties:yt,hostAttributes:qe,providers:Ve,viewProviders:bt,queries:Tt,guards:Ct,viewQueries:hr,entryComponents:$e,template:nt,componentViewType:rr,rendererType:gr,componentFactory:Zt}=q;this.isHost=!!se,this.type=te,this.isComponent=ne,this.selector=be,this.exportAs=je,this.changeDetection=Pe,this.inputs=Ge,this.outputs=We,this.hostListeners=Me,this.hostProperties=yt,this.hostAttributes=qe,this.providers=me(Ve),this.viewProviders=me(bt),this.queries=me(Tt),this.guards=Ct,this.viewQueries=me(hr),this.entryComponents=me($e),this.template=nt,this.componentViewType=rr,this.rendererType=gr,this.componentFactory=Zt}toSummary(){return{summaryKind:W.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}}};m.CompileDirectiveMetadata=he;var J=class{constructor(q){let{type:se,name:te,pure:ne}=q;this.type=se,this.name=te,this.pure=!!ne}toSummary(){return{summaryKind:W.Pipe,type:this.type,name:this.name,pure:this.pure}}};m.CompilePipeMetadata=J;var ee=class{};m.CompileShallowModuleMetadata=ee;var ue=class{constructor(q){let{type:se,providers:te,declaredDirectives:ne,exportedDirectives:be,declaredPipes:je,exportedPipes:Pe,entryComponents:Ge,bootstrapComponents:We,importedModules:Me,exportedModules:yt,schemas:qe,transitiveModule:Ve,id:bt}=q;this.type=se||null,this.declaredDirectives=me(ne),this.exportedDirectives=me(be),this.declaredPipes=me(je),this.exportedPipes=me(Pe),this.providers=me(te),this.entryComponents=me(Ge),this.bootstrapComponents=me(We),this.importedModules=me(Me),this.exportedModules=me(yt),this.schemas=me(qe),this.id=bt||null,this.transitiveModule=Ve||null}toSummary(){let q=this.transitiveModule;return{summaryKind:W.NgModule,type:this.type,entryComponents:q.entryComponents,providers:q.providers,modules:q.modules,exportedDirectives:q.exportedDirectives,exportedPipes:q.exportedPipes}}};m.CompileNgModuleMetadata=ue;var ge=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,se){this.providers.push({provider:q,module:se})}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))}};m.TransitiveCompileNgModuleMetadata=ge;function me(q){return q||[]}var ye=class{constructor(q,se){let{useClass:te,useValue:ne,useExisting:be,useFactory:je,deps:Pe,multi:Ge}=se;this.token=q,this.useClass=te||null,this.useValue=ne,this.useExisting=be,this.useFactory=je||null,this.dependencies=Pe||null,this.multi=!!Ge}};m.ProviderMeta=ye;function V(q){return q.reduce((se,te)=>{let ne=Array.isArray(te)?V(te):te;return se.concat(ne)},[])}m.flatten=V;function L(q){return q.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function R(q,se,te){let ne;return te.isInline?se.type.reference instanceof E.StaticSymbol?ne="".concat(se.type.reference.filePath,".").concat(se.type.reference.name,".html"):ne="".concat(x(q),"/").concat(x(se.type),".html"):ne=te.templateUrl,se.type.reference instanceof E.StaticSymbol?ne:L(ne)}m.templateSourceUrl=R;function X(q,se){let te=q.moduleUrl.split(/\/\\/g),ne=te[te.length-1];return L("css/".concat(se).concat(ne,".ngstyle.js"))}m.sharedStylesheetJitUrl=X;function N(q){return L("".concat(x(q.type),"/module.ngfactory.js"))}m.ngModuleJitUrl=N;function G(q,se){return L("".concat(x(q),"/").concat(x(se.type),".ngfactory.js"))}m.templateJitUrl=G}}),Gi=Xe({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var E=Vs(),g=rs(),A=class{constructor($,j,W,I){this.file=$,this.offset=j,this.line=W,this.col=I}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy($){let j=this.file.content,W=j.length,I=this.offset,O=this.line,U=this.col;for(;I>0&&$<0;)if(I--,$++,j.charCodeAt(I)==E.$LF){O--;let le=j.substr(0,I-1).lastIndexOf(String.fromCharCode(E.$LF));U=le>0?I-le:I}else U--;for(;I<W&&$>0;){let le=j.charCodeAt(I);I++,$--,le==E.$LF?(O++,U=0):U++}return new A(this.file,I,O,U)}getContext($,j){let W=this.file.content,I=this.offset;if(I!=null){I>W.length-1&&(I=W.length-1);let O=I,U=0,le=0;for(;U<$&&I>0&&(I--,U++,!(W[I]==`
|
|
128
|
-
`&&++le==j)););for(U=0,le=0;U<$&&O<W.length-1&&(O++,U++,!(W[O]==`
|
|
129
|
-
`&&++le==j)););return{before:W.substring(I,this.offset),after:W.substring(this.offset,O+1)}}return null}};m.ParseLocation=A;var C=class{constructor($,j){this.content=$,this.url=j}};m.ParseSourceFile=C;var y=class{constructor($,j){let W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=$,this.end=j,this.details=W}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};m.ParseSourceSpan=y,m.EMPTY_PARSE_LOCATION=new A(new C("",""),0,0,0),m.EMPTY_SOURCE_SPAN=new y(m.EMPTY_PARSE_LOCATION,m.EMPTY_PARSE_LOCATION);var x;(function($){$[$.WARNING=0]="WARNING",$[$.ERROR=1]="ERROR"})(x=m.ParseErrorLevel||(m.ParseErrorLevel={}));var w=class{constructor($,j){let W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:x.ERROR;this.span=$,this.msg=j,this.level=W}contextualMessage(){let $=this.span.start.getContext(100,3);return $?"".concat(this.msg,' ("').concat($.before,"[").concat(x[this.level]," ->]").concat($.after,'")'):this.msg}toString(){let $=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat($)}};m.ParseError=w;function k($,j){let W=g.identifierModuleUrl(j),I=W!=null?"in ".concat($," ").concat(g.identifierName(j)," in ").concat(W):"in ".concat($," ").concat(g.identifierName(j)),O=new C("",I);return new y(new A(O,-1,-1,-1),new A(O,-1,-1,-1))}m.typeSourceSpan=k;function _($,j,W){let I="in ".concat($," ").concat(j," in ").concat(W),O=new C("",I);return new y(new A(O,-1,-1,-1),new A(O,-1,-1,-1))}m.r3JitTypeSourceSpan=_}}),Qn=Xe({"src/language-html/print-preprocess.js"(m,E){S();var{ParseSourceSpan:g}=Gi(),{htmlTrim:A,getLeadingAndTrailingHtmlWhitespace:C,hasHtmlWhitespace:y,canHaveInterpolation:x,getNodeCssStyleDisplay:w,isDanglingSpaceSensitiveNode:k,isIndentationSensitiveNode:_,isLeadingSpaceSensitiveNode:$,isTrailingSpaceSensitiveNode:j,isWhitespaceSensitiveNode:W,isVueScriptTag:I}=Lr(),O=[le,he,ee,ge,me,L,ye,V,R,ue,X];function U(N,G){for(let q of O)q(N,G);return N}function le(N){N.walk(G=>{if(G.type==="element"&&G.tagDefinition.ignoreFirstLf&&G.children.length>0&&G.children[0].type==="text"&&G.children[0].value[0]===`
|
|
130
|
-
`){let q=G.children[0];q.value.length===1?G.removeChild(q):q.value=q.value.slice(1)}})}function he(N){let G=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;N.walk(q=>{if(q.children)for(let se=0;se<q.children.length;se++){let te=q.children[se];if(!G(te))continue;let ne=te.prev,be=te.firstChild;q.removeChild(ne),se--;let je=new g(ne.sourceSpan.start,be.sourceSpan.end),Pe=new g(je.start,te.sourceSpan.end);te.condition=ne.condition,te.sourceSpan=Pe,te.startSourceSpan=je,te.removeChild(be)}})}function J(N,G,q){N.walk(se=>{if(se.children)for(let te=0;te<se.children.length;te++){let ne=se.children[te];if(ne.type!=="text"&&!G(ne))continue;ne.type!=="text"&&(ne.type="text",ne.value=q(ne));let be=ne.prev;!be||be.type!=="text"||(be.value+=ne.value,be.sourceSpan=new g(be.sourceSpan.start,ne.sourceSpan.end),se.removeChild(ne),te--)}})}function ee(N){return J(N,G=>G.type==="cdata",G=>"<![CDATA[".concat(G.value,"]]>"))}function ue(N){let G=q=>q.type==="element"&&q.attrs.length===0&&q.children.length===1&&q.firstChild.type==="text"&&!y(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";N.walk(q=>{if(q.children)for(let se=0;se<q.children.length;se++){let te=q.children[se];if(!G(te))continue;let ne=te.prev,be=te.next;ne.value+="<".concat(te.rawName,">")+te.firstChild.value+"</".concat(te.rawName,">")+be.value,ne.sourceSpan=new g(ne.sourceSpan.start,be.sourceSpan.end),ne.isTrailingSpaceSensitive=be.isTrailingSpaceSensitive,ne.hasTrailingSpaces=be.hasTrailingSpaces,q.removeChild(te),se--,q.removeChild(be)}})}function ge(N,G){if(G.parser==="html")return;let q=/{{(.+?)}}/s;N.walk(se=>{if(x(se))for(let te of se.children){if(te.type!=="text")continue;let ne=te.sourceSpan.start,be=null,je=te.value.split(q);for(let Pe=0;Pe<je.length;Pe++,ne=be){let Ge=je[Pe];if(Pe%2===0){be=ne.moveBy(Ge.length),Ge.length>0&&se.insertChildBefore(te,{type:"text",value:Ge,sourceSpan:new g(ne,be)});continue}be=ne.moveBy(Ge.length+4),se.insertChildBefore(te,{type:"interpolation",sourceSpan:new g(ne,be),children:Ge.length===0?[]:[{type:"text",value:Ge,sourceSpan:new g(ne.moveBy(2),be.moveBy(-2))}]})}se.removeChild(te)}})}function me(N){N.walk(G=>{if(!G.children)return;if(G.children.length===0||G.children.length===1&&G.children[0].type==="text"&&A(G.children[0].value).length===0){G.hasDanglingSpaces=G.children.length>0,G.children=[];return}let q=W(G),se=_(G);if(!q)for(let te=0;te<G.children.length;te++){let ne=G.children[te];if(ne.type!=="text")continue;let{leadingWhitespace:be,text:je,trailingWhitespace:Pe}=C(ne.value),Ge=ne.prev,We=ne.next;je?(ne.value=je,ne.sourceSpan=new g(ne.sourceSpan.start.moveBy(be.length),ne.sourceSpan.end.moveBy(-Pe.length)),be&&(Ge&&(Ge.hasTrailingSpaces=!0),ne.hasLeadingSpaces=!0),Pe&&(ne.hasTrailingSpaces=!0,We&&(We.hasLeadingSpaces=!0))):(G.removeChild(ne),te--,(be||Pe)&&(Ge&&(Ge.hasTrailingSpaces=!0),We&&(We.hasLeadingSpaces=!0)))}G.isWhitespaceSensitive=q,G.isIndentationSensitive=se})}function ye(N){N.walk(G=>{G.isSelfClosing=!G.children||G.type==="element"&&(G.tagDefinition.isVoid||G.startSourceSpan===G.endSourceSpan)})}function V(N,G){N.walk(q=>{q.type==="element"&&(q.hasHtmComponentClosingTag=q.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(G.originalText.slice(q.endSourceSpan.start.offset,q.endSourceSpan.end.offset)))})}function L(N,G){N.walk(q=>{q.cssDisplay=w(q,G)})}function R(N,G){N.walk(q=>{let{children:se}=q;if(se){if(se.length===0){q.isDanglingSpaceSensitive=k(q);return}for(let te of se)te.isLeadingSpaceSensitive=$(te,G),te.isTrailingSpaceSensitive=j(te,G);for(let te=0;te<se.length;te++){let ne=se[te];ne.isLeadingSpaceSensitive=(te===0||ne.prev.isTrailingSpaceSensitive)&&ne.isLeadingSpaceSensitive,ne.isTrailingSpaceSensitive=(te===se.length-1||ne.next.isLeadingSpaceSensitive)&&ne.isTrailingSpaceSensitive}}})}function X(N,G){if(G.parser==="vue"){let q=N.children.find(te=>I(te,G));if(!q)return;let{lang:se}=q.attrMap;(se==="ts"||se==="typescript")&&(G.__should_parse_vue_template_with_ts=!0)}}E.exports=U}}),zi=Xe({"src/language-html/pragma.js"(m,E){S();function g(C){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(C)}function A(C){return`<!-- @format -->
|
|
131
|
-
|
|
132
|
-
`+C.replace(/^\s*\n/,"")}E.exports={hasPragma:g,insertPragma:A}}}),Fi=Xe({"src/language-html/loc.js"(m,E){S();function g(C){return C.sourceSpan.start.offset}function A(C){return C.sourceSpan.end.offset}E.exports={locStart:g,locEnd:A}}}),ki=Xe({"src/language-html/print/tag.js"(m,E){S();var g=hi(),{isNonEmptyArray:A}=Qi(),{builders:{indent:C,join:y,line:x,softline:w,hardline:k},utils:{replaceTextEndOfLine:_}}=wi(),{locStart:$,locEnd:j}=Fi(),{isTextLikeNode:W,getLastDescendant:I,isPreLikeNode:O,hasPrettierIgnore:U,shouldPreserveContent:le,isVueSfcBlock:he}=Lr();function J(Me,yt){return[Me.isSelfClosing?"":ee(Me,yt),ue(Me,yt)]}function ee(Me,yt){return Me.lastChild&&N(Me.lastChild)?"":[ge(Me,yt),ye(Me,yt)]}function ue(Me,yt){return(Me.next?R(Me.next):X(Me.parent))?"":[V(Me,yt),me(Me,yt)]}function ge(Me,yt){return X(Me)?V(Me.lastChild,yt):""}function me(Me,yt){return N(Me)?ye(Me.parent,yt):G(Me)?Ge(Me.next):""}function ye(Me,yt){if(g(!Me.isSelfClosing),L(Me,yt))return"";switch(Me.type){case"ieConditionalComment":return"<!";case"element":if(Me.hasHtmComponentClosingTag)return"<//";default:return"</".concat(Me.rawName)}}function V(Me,yt){if(L(Me,yt))return"";switch(Me.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(Me.isSelfClosing)return"/>";default:return">"}}function L(Me,yt){return!Me.isSelfClosing&&!Me.endSourceSpan&&(U(Me)||le(Me.parent,yt))}function R(Me){return Me.prev&&Me.prev.type!=="docType"&&!W(Me.prev)&&Me.isLeadingSpaceSensitive&&!Me.hasLeadingSpaces}function X(Me){return Me.lastChild&&Me.lastChild.isTrailingSpaceSensitive&&!Me.lastChild.hasTrailingSpaces&&!W(I(Me.lastChild))&&!O(Me)}function N(Me){return!Me.next&&!Me.hasTrailingSpaces&&Me.isTrailingSpaceSensitive&&W(I(Me))}function G(Me){return Me.next&&!W(Me.next)&&W(Me)&&Me.isTrailingSpaceSensitive&&!Me.hasTrailingSpaces}function q(Me){let yt=Me.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return yt?yt[1]?yt[1].split(/\s+/):!0:!1}function se(Me){return!Me.prev&&Me.isLeadingSpaceSensitive&&!Me.hasLeadingSpaces}function te(Me,yt,qe){let Ve=Me.getValue();if(!A(Ve.attrs))return Ve.isSelfClosing?" ":"";let bt=Ve.prev&&Ve.prev.type==="comment"&&q(Ve.prev.value),Tt=typeof bt=="boolean"?()=>bt:Array.isArray(bt)?rr=>bt.includes(rr.rawName):()=>!1,Ct=Me.map(rr=>{let gr=rr.getValue();return Tt(gr)?_(yt.originalText.slice($(gr),j(gr))):qe()},"attrs"),hr=Ve.type==="element"&&Ve.fullName==="script"&&Ve.attrs.length===1&&Ve.attrs[0].fullName==="src"&&Ve.children.length===0,$e=yt.singleAttributePerLine&&Ve.attrs.length>1&&!he(Ve,yt)?k:x,nt=[C([hr?" ":x,y($e,Ct)])];return Ve.firstChild&&se(Ve.firstChild)||Ve.isSelfClosing&&X(Ve.parent)||hr?nt.push(Ve.isSelfClosing?" ":""):nt.push(yt.bracketSameLine?Ve.isSelfClosing?" ":"":Ve.isSelfClosing?x:w),nt}function ne(Me){return Me.firstChild&&se(Me.firstChild)?"":We(Me)}function be(Me,yt,qe){let Ve=Me.getValue();return[je(Ve,yt),te(Me,yt,qe),Ve.isSelfClosing?"":ne(Ve)]}function je(Me,yt){return Me.prev&&G(Me.prev)?"":[Pe(Me,yt),Ge(Me)]}function Pe(Me,yt){return se(Me)?We(Me.parent):R(Me)?V(Me.prev,yt):""}function Ge(Me){switch(Me.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(Me.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(Me.condition)return"<!--[if ".concat(Me.condition,"]><!--><").concat(Me.rawName);default:return"<".concat(Me.rawName)}}function We(Me){switch(g(!Me.isSelfClosing),Me.type){case"ieConditionalComment":return"]>";case"element":if(Me.condition)return"><!--<![endif]-->";default:return">"}}E.exports={printClosingTag:J,printClosingTagStart:ee,printClosingTagStartMarker:ye,printClosingTagEndMarker:V,printClosingTagSuffix:me,printClosingTagEnd:ue,needsToBorrowLastChildClosingTagEndMarker:X,needsToBorrowParentClosingTagStartMarker:N,needsToBorrowPrevClosingTagEndMarker:R,printOpeningTag:be,printOpeningTagStart:je,printOpeningTagPrefix:Pe,printOpeningTagStartMarker:Ge,printOpeningTagEndMarker:We,needsToBorrowNextOpeningTagStartMarker:G,needsToBorrowParentOpeningTagEndMarker:se}}}),Ut=Xe({"node_modules/parse-srcset/src/parse-srcset.js"(m,E){S(),function(g,A){typeof E=="object"&&E.exports?E.exports=A():g.parseSrcset=A()}(m,function(){return function(g,A){var C=A&&A.logger||console;function y(ye){return ye===" "||ye===" "||ye===`
|
|
133
|
-
`||ye==="\f"||ye==="\r"}function x(ye){var V,L=ye.exec(g.substring(ee));if(L)return V=L[0],ee+=V.length,V}for(var w=g.length,k=/^[ \t\n\r\u000c]+/,_=/^[, \t\n\r\u000c]+/,$=/^[^ \t\n\r\u000c]+/,j=/[,]+$/,W=/^\d+$/,I=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,O,U,le,he,J,ee=0,ue=[];;){if(x(_),ee>=w)return ue;O=x($),U=[],O.slice(-1)===","?(O=O.replace(j,""),me()):ge()}function ge(){for(x(k),le="",he="in descriptor";;){if(J=g.charAt(ee),he==="in descriptor")if(y(J))le&&(U.push(le),le="",he="after descriptor");else if(J===","){ee+=1,le&&U.push(le),me();return}else if(J==="(")le=le+J,he="in parens";else if(J===""){le&&U.push(le),me();return}else le=le+J;else if(he==="in parens")if(J===")")le=le+J,he="in descriptor";else if(J===""){U.push(le),me();return}else le=le+J;else if(he==="after descriptor"&&!y(J))if(J===""){me();return}else he="in descriptor",ee-=1;ee+=1}}function me(){var ye=!1,V,L,R,X,N={},G,q,se,te,ne;for(X=0;X<U.length;X++)G=U[X],q=G[G.length-1],se=G.substring(0,G.length-1),te=parseInt(se,10),ne=parseFloat(se),W.test(se)&&q==="w"?((V||L)&&(ye=!0),te===0?ye=!0:V=te):I.test(se)&&q==="x"?((V||L||R)&&(ye=!0),ne<0?ye=!0:L=ne):W.test(se)&&q==="h"?((R||L)&&(ye=!0),te===0?ye=!0:R=te):ye=!0;ye?C&&C.error&&C.error("Invalid srcset descriptor found in '"+g+"' at '"+G+"'."):(N.url=O,V&&(N.w=V),L&&(N.d=L),R&&(N.h=R),ue.push(N))}}})}}),vr=Xe({"src/language-html/syntax-attribute.js"(m,E){S();var g=Ut(),{builders:{ifBreak:A,join:C,line:y}}=wi();function x(k){let _=g(k,{logger:{error(ge){throw new Error(ge)}}}),$=_.some(ge=>{let{w:me}=ge;return me}),j=_.some(ge=>{let{h:me}=ge;return me}),W=_.some(ge=>{let{d:me}=ge;return me});if($+j+W>1)throw new Error("Mixed descriptor in srcset is not supported");let I=$?"w":j?"h":"d",O=$?"w":j?"h":"x",U=ge=>Math.max(...ge),le=_.map(ge=>ge.url),he=U(le.map(ge=>ge.length)),J=_.map(ge=>ge[I]).map(ge=>ge?ge.toString():""),ee=J.map(ge=>{let me=ge.indexOf(".");return me===-1?ge.length:me}),ue=U(ee);return C([",",y],le.map((ge,me)=>{let ye=[ge],V=J[me];if(V){let L=he-ge.length+1,R=ue-ee[me],X=" ".repeat(L+R);ye.push(A(X," "),V+O)}return ye}))}function w(k){return k.trim().split(/\s+/).join(" ")}E.exports={printImgSrcset:x,printClassNames:w}}}),_r=Xe({"src/language-html/syntax-vue.js"(m,E){S();var{builders:{group:g}}=wi();function A(w,k){let{left:_,operator:$,right:j}=C(w);return[g(k("function _(".concat(_,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",$," ",k(j,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function C(w){let k=/(.*?)\s+(in|of)\s+(.*)/s,_=/,([^,\]}]*)(?:,([^,\]}]*))?$/,$=/^\(|\)$/g,j=w.match(k);if(!j)return;let W={};if(W.for=j[3].trim(),!W.for)return;let I=j[1].trim().replace($,""),O=I.match(_);O?(W.alias=I.replace(_,""),W.iterator1=O[1].trim(),O[2]&&(W.iterator2=O[2].trim())):W.alias=I;let U=[W.alias,W.iterator1,W.iterator2];if(!U.some((le,he)=>!le&&(he===0||U.slice(he+1).some(Boolean))))return{left:U.filter(Boolean).join(","),operator:j[2],right:W.for}}function y(w,k){return k("function _(".concat(w,") {}"),{parser:"babel",__isVueBindings:!0})}function x(w){let k=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,_=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,$=w.trim();return k.test($)||_.test($)}E.exports={isVueEventBindingExpression:x,printVueFor:A,printVueBindings:y}}}),On=Xe({"src/language-html/get-node-content.js"(m,E){S();var{needsToBorrowParentClosingTagStartMarker:g,printClosingTagStartMarker:A,needsToBorrowLastChildClosingTagEndMarker:C,printClosingTagEndMarker:y,needsToBorrowParentOpeningTagEndMarker:x,printOpeningTagEndMarker:w}=ki();function k(_,$){let j=_.startSourceSpan.end.offset;_.firstChild&&x(_.firstChild)&&(j-=w(_).length);let W=_.endSourceSpan.start.offset;return _.lastChild&&g(_.lastChild)?W+=A(_,$).length:C(_)&&(W-=y(_.lastChild,$).length),$.originalText.slice(j,W)}E.exports=k}}),Rt=Xe({"src/language-html/embed.js"(m,E){S();var{builders:{breakParent:g,group:A,hardline:C,indent:y,line:x,fill:w,softline:k},utils:{mapDoc:_,replaceTextEndOfLine:$}}=wi(),j=$a(),{printClosingTag:W,printClosingTagSuffix:I,needsToBorrowPrevClosingTagEndMarker:O,printOpeningTagPrefix:U,printOpeningTag:le}=ki(),{printImgSrcset:he,printClassNames:J}=vr(),{printVueFor:ee,printVueBindings:ue,isVueEventBindingExpression:ge}=_r(),{isScriptLikeTag:me,isVueNonHtmlBlock:ye,inferScriptParser:V,htmlTrimPreserveIndentation:L,dedentString:R,unescapeQuoteEntities:X,isVueSlotAttribute:N,isVueSfcBindingsAttribute:G,getTextValueParts:q}=Lr(),se=On();function te(be,je,Pe){let Ge=Ct=>new RegExp(Ct.join("|")).test(be.fullName),We=()=>X(be.value),Me=!1,yt=(Ct,hr)=>{let $e=Ct.type==="NGRoot"?Ct.node.type==="NGMicrosyntax"&&Ct.node.body.length===1&&Ct.node.body[0].type==="NGMicrosyntaxExpression"?Ct.node.body[0].expression:Ct.node:Ct.type==="JsExpressionRoot"?Ct.node:Ct;$e&&($e.type==="ObjectExpression"||$e.type==="ArrayExpression"||hr.parser==="__vue_expression"&&($e.type==="TemplateLiteral"||$e.type==="StringLiteral"))&&(Me=!0)},qe=Ct=>A(Ct),Ve=function(Ct){let hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return A([y([k,Ct]),hr?k:""])},bt=Ct=>Me?qe(Ct):Ve(Ct),Tt=(Ct,hr)=>je(Ct,Object.assign({__onHtmlBindingRoot:yt,__embeddedInHtml:!0},hr));if(be.fullName==="srcset"&&(be.parent.fullName==="img"||be.parent.fullName==="source"))return Ve(he(We()));if(be.fullName==="class"&&!Pe.parentParser){let Ct=We();if(!Ct.includes("{{"))return J(Ct)}if(be.fullName==="style"&&!Pe.parentParser){let Ct=We();if(!Ct.includes("{{"))return Ve(Tt(Ct,{parser:"css",__isHTMLStyleAttribute:!0}))}if(Pe.parser==="vue"){if(be.fullName==="v-for")return ee(We(),Tt);if(N(be)||G(be,Pe))return ue(We(),Tt);let Ct=["^@","^v-on:"],hr=["^:","^v-bind:"],$e=["^v-"];if(Ge(Ct)){let nt=We(),rr=ge(nt)?"__js_expression":Pe.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return bt(Tt(nt,{parser:rr}))}if(Ge(hr))return bt(Tt(We(),{parser:"__vue_expression"}));if(Ge($e))return bt(Tt(We(),{parser:"__js_expression"}))}if(Pe.parser==="angular"){let Ct=(tt,ot)=>Tt(tt,Object.assign(Object.assign({},ot),{},{trailingComma:"none"})),hr=["^\\*"],$e=["^\\(.+\\)$","^on-"],nt=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],rr=["^i18n(-.+)?$"];if(Ge($e))return bt(Ct(We(),{parser:"__ng_action"}));if(Ge(nt))return bt(Ct(We(),{parser:"__ng_binding"}));if(Ge(rr)){let tt=We().trim();return Ve(w(q(be,tt)),!tt.includes("@@"))}if(Ge(hr))return bt(Ct(We(),{parser:"__ng_directive"}));let gr=/{{(.+?)}}/s,Zt=We();if(gr.test(Zt)){let tt=[];for(let[ot,pt]of Zt.split(gr).entries())if(ot%2===0)tt.push($(pt));else try{tt.push(A(["{{",y([x,Ct(pt,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),x,"}}"]))}catch{tt.push("{{",$(pt),"}}")}return A(tt)}}return null}function ne(be,je,Pe,Ge){let We=be.getValue();switch(We.type){case"element":{if(me(We)||We.type==="interpolation")return;if(!We.isSelfClosing&&ye(We,Ge)){let Me=V(We,Ge);if(!Me)return;let yt=se(We,Ge),qe=/^\s*$/.test(yt),Ve="";return qe||(Ve=Pe(L(yt),{parser:Me,__embeddedInHtml:!0},{stripTrailingHardline:!0}),qe=Ve===""),[U(We,Ge),A(le(be,Ge,je)),qe?"":C,Ve,qe?"":C,W(We,Ge),I(We,Ge)]}break}case"text":{if(me(We.parent)){let Me=V(We.parent,Ge);if(Me){let yt=Me==="markdown"?R(We.value.replace(/^[^\S\n]*\n/,"")):We.value,qe={parser:Me,__embeddedInHtml:!0};if(Ge.parser==="html"&&Me==="babel"){let Ve="script",{attrMap:bt}=We.parent;bt&&(bt.type==="module"||bt.type==="text/babel"&&bt["data-type"]==="module")&&(Ve="module"),qe.__babelSourceType=Ve}return[g,U(We,Ge),Pe(yt,qe,{stripTrailingHardline:!0}),I(We,Ge)]}}else if(We.parent.type==="interpolation"){let Me={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return Ge.parser==="angular"?(Me.parser="__ng_interpolation",Me.trailingComma="none"):Ge.parser==="vue"?Me.parser=Ge.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":Me.parser="__js_expression",[y([x,Pe(We.value,Me,{stripTrailingHardline:!0})]),We.parent.next&&O(We.parent.next)?" ":x]}break}case"attribute":{if(!We.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(Ge.originalText.slice(We.valueSpan.start.offset,We.valueSpan.end.offset)))return[We.rawName,"=",We.value];if(Ge.parser==="lwc"&&/^{.*}$/s.test(Ge.originalText.slice(We.valueSpan.start.offset,We.valueSpan.end.offset)))return[We.rawName,"=",We.value];let Me=te(We,(yt,qe)=>Pe(yt,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},qe),{stripTrailingHardline:!0}),Ge);if(Me)return[We.rawName,'="',A(_(Me,yt=>typeof yt=="string"?yt.replace(/"/g,"""):yt)),'"'];break}case"front-matter":return j(We,Pe)}}E.exports=ne}}),oi=Xe({"src/language-html/print/children.js"(m,E){S();var{builders:{breakParent:g,group:A,ifBreak:C,line:y,softline:x,hardline:w},utils:{replaceTextEndOfLine:k}}=wi(),{locStart:_,locEnd:$}=Fi(),{forceBreakChildren:j,forceNextEmptyLine:W,isTextLikeNode:I,hasPrettierIgnore:O,preferHardlineAsLeadingSpaces:U}=Lr(),{printOpeningTagPrefix:le,needsToBorrowNextOpeningTagStartMarker:he,printOpeningTagStartMarker:J,needsToBorrowPrevClosingTagEndMarker:ee,printClosingTagEndMarker:ue,printClosingTagSuffix:ge,needsToBorrowParentClosingTagStartMarker:me}=ki();function ye(R,X,N){let G=R.getValue();return O(G)?[le(G,X),...k(X.originalText.slice(_(G)+(G.prev&&he(G.prev)?J(G).length:0),$(G)-(G.next&&ee(G.next)?ue(G,X).length:0))),ge(G,X)]:N()}function V(R,X){return I(R)&&I(X)?R.isTrailingSpaceSensitive?R.hasTrailingSpaces?U(X)?w:y:"":U(X)?w:x:he(R)&&(O(X)||X.firstChild||X.isSelfClosing||X.type==="element"&&X.attrs.length>0)||R.type==="element"&&R.isSelfClosing&&ee(X)?"":!X.isLeadingSpaceSensitive||U(X)||ee(X)&&R.lastChild&&me(R.lastChild)&&R.lastChild.lastChild&&me(R.lastChild.lastChild)?w:X.hasLeadingSpaces?y:x}function L(R,X,N){let G=R.getValue();if(j(G))return[g,...R.map(se=>{let te=se.getValue(),ne=te.prev?V(te.prev,te):"";return[ne?[ne,W(te.prev)?w:""]:"",ye(se,X,N)]},"children")];let q=G.children.map(()=>Symbol(""));return R.map((se,te)=>{let ne=se.getValue();if(I(ne)){if(ne.prev&&I(ne.prev)){let yt=V(ne.prev,ne);if(yt)return W(ne.prev)?[w,w,ye(se,X,N)]:[yt,ye(se,X,N)]}return ye(se,X,N)}let be=[],je=[],Pe=[],Ge=[],We=ne.prev?V(ne.prev,ne):"",Me=ne.next?V(ne,ne.next):"";return We&&(W(ne.prev)?be.push(w,w):We===w?be.push(w):I(ne.prev)?je.push(We):je.push(C("",x,{groupId:q[te-1]}))),Me&&(W(ne)?I(ne.next)&&Ge.push(w,w):Me===w?I(ne.next)&&Ge.push(w):Pe.push(Me)),[...be,A([...je,A([ye(se,X,N),...Pe],{id:q[te]})]),...Ge]},"children")}E.exports={printChildren:L}}}),Xn=Xe({"src/language-html/print/element.js"(m,E){S();var{builders:{breakParent:g,dedentToRoot:A,group:C,ifBreak:y,indentIfBreak:x,indent:w,line:k,softline:_},utils:{replaceTextEndOfLine:$}}=wi(),j=On(),{shouldPreserveContent:W,isScriptLikeTag:I,isVueCustomBlock:O,countParents:U,forceBreakContent:le}=Lr(),{printOpeningTagPrefix:he,printOpeningTag:J,printClosingTagSuffix:ee,printClosingTag:ue,needsToBorrowPrevClosingTagEndMarker:ge,needsToBorrowLastChildClosingTagEndMarker:me}=ki(),{printChildren:ye}=oi();function V(L,R,X){let N=L.getValue();if(W(N,R))return[he(N,R),C(J(L,R,X)),...$(j(N,R)),...ue(N,R),ee(N,R)];let G=N.children.length===1&&N.firstChild.type==="interpolation"&&N.firstChild.isLeadingSpaceSensitive&&!N.firstChild.hasLeadingSpaces&&N.lastChild.isTrailingSpaceSensitive&&!N.lastChild.hasTrailingSpaces,q=Symbol("element-attr-group-id"),se=je=>C([C(J(L,R,X),{id:q}),je,ue(N,R)]),te=je=>G?x(je,{groupId:q}):(I(N)||O(N,R))&&N.parent.type==="root"&&R.parser==="vue"&&!R.vueIndentScriptAndStyle?je:w(je),ne=()=>G?y(_,"",{groupId:q}):N.firstChild.hasLeadingSpaces&&N.firstChild.isLeadingSpaceSensitive?k:N.firstChild.type==="text"&&N.isWhitespaceSensitive&&N.isIndentationSensitive?A(_):_,be=()=>(N.next?ge(N.next):me(N.parent))?N.lastChild.hasTrailingSpaces&&N.lastChild.isTrailingSpaceSensitive?" ":"":G?y(_,"",{groupId:q}):N.lastChild.hasTrailingSpaces&&N.lastChild.isTrailingSpaceSensitive?k:(N.lastChild.type==="comment"||N.lastChild.type==="text"&&N.isWhitespaceSensitive&&N.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(R.tabWidth*U(L,je=>je.parent&&je.parent.type!=="root"),"}$")).test(N.lastChild.value)?"":_;return N.children.length===0?se(N.hasDanglingSpaces&&N.isDanglingSpaceSensitive?k:""):se([le(N)?g:"",te([ne(),ye(L,R,X)]),be()])}E.exports={printElement:V}}}),ra=Xe({"src/language-html/printer-html.js"(m,E){S();var{builders:{fill:g,group:A,hardline:C,literalline:y},utils:{cleanDoc:x,getDocParts:w,isConcat:k,replaceTextEndOfLine:_}}=wi(),$=Dn(),{countChars:j,unescapeQuoteEntities:W,getTextValueParts:I}=Lr(),O=Qn(),{insertPragma:U}=zi(),{locStart:le,locEnd:he}=Fi(),J=Rt(),{printClosingTagSuffix:ee,printClosingTagEnd:ue,printOpeningTagPrefix:ge,printOpeningTagStart:me}=ki(),{printElement:ye}=Xn(),{printChildren:V}=oi();function L(R,X,N){let G=R.getValue();switch(G.type){case"front-matter":return _(G.raw);case"root":return X.__onHtmlRoot&&X.__onHtmlRoot(G),[A(V(R,X,N)),C];case"element":case"ieConditionalComment":return ye(R,X,N);case"ieConditionalStartComment":case"ieConditionalEndComment":return[me(G),ue(G)];case"interpolation":return[me(G,X),...R.map(N,"children"),ue(G,X)];case"text":{if(G.parent.type==="interpolation"){let se=/\n[^\S\n]*$/,te=se.test(G.value),ne=te?G.value.replace(se,""):G.value;return[..._(ne),te?C:""]}let q=x([ge(G,X),...I(G),ee(G,X)]);return k(q)||q.type==="fill"?g(w(q)):q}case"docType":return[A([me(G,X)," ",G.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),ue(G,X)];case"comment":return[ge(G,X),..._(X.originalText.slice(le(G),he(G)),y),ee(G,X)];case"attribute":{if(G.value===null)return G.rawName;let q=W(G.value),se=j(q,"'"),te=j(q,'"'),ne=se<te?"'":'"';return[G.rawName,"=",ne,..._(ne==='"'?q.replace(/"/g,"""):q.replace(/'/g,"'")),ne]}default:throw new Error("Unexpected node type ".concat(G.type))}}E.exports={preprocess:O,print:L,insertPragma:U,massageAstNode:$,embed:J}}}),na=Xe({"src/language-html/options.js"(m,E){S();var g=vo(),A="HTML";E.exports={bracketSameLine:g.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:A,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:g.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:A,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),Os=Xe({"src/language-html/parsers.js"(){S()}}),Aa=Xe({"node_modules/linguist-languages/data/HTML.json"(m,E){E.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}}}),va=Xe({"node_modules/linguist-languages/data/Vue.json"(m,E){E.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Qs=Xe({"src/language-html/index.js"(m,E){S();var g=Ra(),A=ra(),C=na(),y=Os(),x=[g(Aa(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),g(Aa(),k=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...k.extensions,".mjml"]})),g(Aa(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),g(va(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],w={html:A};E.exports={languages:x,printers:w,options:C,parsers:y}}}),La=Xe({"src/language-yaml/pragma.js"(m,E){S();function g(y){return/^\s*@(?:prettier|format)\s*$/.test(y)}function A(y){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(y)}function C(y){return`# @format
|
|
134
|
-
|
|
135
|
-
`.concat(y)}E.exports={isPragma:g,hasPragma:A,insertPragma:C}}}),ia=Xe({"src/language-yaml/loc.js"(m,E){S();function g(C){return C.position.start.offset}function A(C){return C.position.end.offset}E.exports={locStart:g,locEnd:A}}}),Zs=Xe({"src/language-yaml/embed.js"(m,E){S();function g(A,C,y,x){if(A.getValue().type==="root"&&x.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(x.filepath))return y(x.originalText,Object.assign(Object.assign({},x),{},{parser:"json"}))}E.exports=g}}),sa=Xe({"src/language-yaml/utils.js"(m,E){S();var{getLast:g,isNonEmptyArray:A}=Qi();function C(V,L){let R=0,X=V.stack.length-1;for(let N=0;N<X;N++){let G=V.stack[N];y(G)&&L(G)&&R++}return R}function y(V,L){return V&&typeof V.type=="string"&&(!L||L.includes(V.type))}function x(V,L,R){return L("children"in V?Object.assign(Object.assign({},V),{},{children:V.children.map(X=>x(X,L,V))}):V,R)}function w(V,L,R){Object.defineProperty(V,L,{get:R,enumerable:!1})}function k(V,L){let R=0,X=L.length;for(let N=V.position.end.offset-1;N<X;N++){let G=L[N];if(G===`
|
|
136
|
-
`&&R++,R===1&&/\S/.test(G))return!1;if(R===2)return!0}return!1}function _(V){switch(V.getValue().type){case"tag":case"anchor":case"comment":return!1}let L=V.stack.length;for(let R=1;R<L;R++){let X=V.stack[R],N=V.stack[R-1];if(Array.isArray(N)&&typeof X=="number"&&X!==N.length-1)return!1}return!0}function $(V){return A(V.children)?$(g(V.children)):V}function j(V){return V.value.trim()==="prettier-ignore"}function W(V){let L=V.getValue();if(L.type==="documentBody"){let R=V.getParentNode();return ee(R.head)&&j(g(R.head.endComments))}return U(L)&&j(g(L.leadingComments))}function I(V){return!A(V.children)&&!O(V)}function O(V){return U(V)||le(V)||he(V)||J(V)||ee(V)}function U(V){return A(V==null?void 0:V.leadingComments)}function le(V){return A(V==null?void 0:V.middleComments)}function he(V){return V==null?void 0:V.indicatorComment}function J(V){return V==null?void 0:V.trailingComment}function ee(V){return A(V==null?void 0:V.endComments)}function ue(V){let L=[],R;for(let X of V.split(/( +)/))X!==" "?R===" "?L.push(X):L.push((L.pop()||"")+X):R===void 0&&L.unshift(""),R=X;return R===" "&&L.push((L.pop()||"")+" "),L[0]===""&&(L.shift(),L.unshift(" "+(L.shift()||""))),L}function ge(V,L,R){let X=L.split(`
|
|
137
|
-
`).map((N,G,q)=>G===0&&G===q.length-1?N:G!==0&&G!==q.length-1?N.trim():G===0?N.trimEnd():N.trimStart());return R.proseWrap==="preserve"?X.map(N=>N.length===0?[]:[N]):X.map(N=>N.length===0?[]:ue(N)).reduce((N,G,q)=>q!==0&&X[q-1].length>0&&G.length>0&&!(V==="quoteDouble"&&g(g(N)).endsWith("\\"))?[...N.slice(0,-1),[...g(N),...G]]:[...N,G],[]).map(N=>R.proseWrap==="never"?[N.join(" ")]:N)}function me(V,L){let{parentIndent:R,isLastDescendant:X,options:N}=L,G=V.position.start.line===V.position.end.line?"":N.originalText.slice(V.position.start.offset,V.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],q;if(V.indent===null){let ne=G.match(/^(?<leadingSpace> *)[^\n\r ]/m);q=ne?ne.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else q=V.indent-1+R;let se=G.split(`
|
|
138
|
-
`).map(ne=>ne.slice(q));if(N.proseWrap==="preserve"||V.type==="blockLiteral")return te(se.map(ne=>ne.length===0?[]:[ne]));return te(se.map(ne=>ne.length===0?[]:ue(ne)).reduce((ne,be,je)=>je!==0&&se[je-1].length>0&&be.length>0&&!/^\s/.test(be[0])&&!/^\s|\s$/.test(g(ne))?[...ne.slice(0,-1),[...g(ne),...be]]:[...ne,be],[]).map(ne=>ne.reduce((be,je)=>be.length>0&&/\s$/.test(g(be))?[...be.slice(0,-1),g(be)+" "+je]:[...be,je],[])).map(ne=>N.proseWrap==="never"?[ne.join(" ")]:ne));function te(ne){if(V.chomping==="keep")return g(ne).length===0?ne.slice(0,-1):ne;let be=0;for(let je=ne.length-1;je>=0&&ne[je].length===0;je--)be++;return be===0?ne:be>=2&&!X?ne.slice(0,-(be-1)):ne.slice(0,-be)}}function ye(V){if(!V)return!0;switch(V.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}E.exports={getLast:g,getAncestorCount:C,isNode:y,isEmptyNode:I,isInlineNode:ye,mapNode:x,defineShortcut:w,isNextLineEmpty:k,isLastDescendantNode:_,getBlockValueLineContents:me,getFlowScalarLineContents:ge,getLastDescendantNode:$,hasPrettierIgnore:W,hasLeadingComments:U,hasMiddleComments:le,hasIndicatorComment:he,hasTrailingComment:J,hasEndComments:ee}}}),Sl=Xe({"src/language-yaml/print-preprocess.js"(m,E){S();var{defineShortcut:g,mapNode:A}=sa();function C(x){return A(x,y)}function y(x){switch(x.type){case"document":g(x,"head",()=>x.children[0]),g(x,"body",()=>x.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":g(x,"content",()=>x.children[0]);break;case"mappingItem":case"flowMappingItem":g(x,"key",()=>x.children[0]),g(x,"value",()=>x.children[1]);break}return x}E.exports=C}}),Ju=Xe({"src/language-yaml/print/misc.js"(m,E){S();var{builders:{softline:g,align:A}}=wi(),{hasEndComments:C,isNextLineEmpty:y,isNode:x}=sa(),w=new WeakMap;function k(j,W){let I=j.getValue(),O=j.stack[0],U;return w.has(O)?U=w.get(O):(U=new Set,w.set(O,U)),!U.has(I.position.end.line)&&(U.add(I.position.end.line),y(I,W)&&!_(j.getParentNode()))?g:""}function _(j){return C(j)&&!x(j,["documentHead","documentBody","flowMapping","flowSequence"])}function $(j,W){return A(" ".repeat(j),W)}E.exports={alignWithSpaces:$,shouldPrintEndComments:_,printNextEmptyLine:k}}}),Nc=Xe({"src/language-yaml/print/flow-mapping-sequence.js"(m,E){S();var{builders:{ifBreak:g,line:A,softline:C,hardline:y,join:x}}=wi(),{isEmptyNode:w,getLast:k,hasEndComments:_}=sa(),{printNextEmptyLine:$,alignWithSpaces:j}=Ju();function W(O,U,le){let he=O.getValue(),J=he.type==="flowMapping",ee=J?"{":"[",ue=J?"}":"]",ge=C;J&&he.children.length>0&&le.bracketSpacing&&(ge=A);let me=k(he.children),ye=me&&me.type==="flowMappingItem"&&w(me.key)&&w(me.value);return[ee,j(le.tabWidth,[ge,I(O,U,le),le.trailingComma==="none"?"":g(","),_(he)?[y,x(y,O.map(U,"endComments"))]:""]),ye?"":ge,ue]}function I(O,U,le){let he=O.getValue();return O.map((J,ee)=>[U(),ee===he.children.length-1?"":[",",A,he.children[ee].position.start.line!==he.children[ee+1].position.start.line?$(J,le.originalText):""]],"children")}E.exports={printFlowMapping:W,printFlowSequence:W}}}),Pu=Xe({"src/language-yaml/print/mapping-item.js"(m,E){S();var{builders:{conditionalGroup:g,group:A,hardline:C,ifBreak:y,join:x,line:w}}=wi(),{hasLeadingComments:k,hasMiddleComments:_,hasTrailingComment:$,hasEndComments:j,isNode:W,isEmptyNode:I,isInlineNode:O}=sa(),{alignWithSpaces:U}=Ju();function le(ue,ge,me,ye,V){let{key:L,value:R}=ue,X=I(L),N=I(R);if(X&&N)return": ";let G=ye("key"),q=J(ue)?" ":"";if(N)return ue.type==="flowMappingItem"&&ge.type==="flowMapping"?G:ue.type==="mappingItem"&&he(L.content,V)&&!$(L.content)&&(!ge.tag||ge.tag.value!=="tag:yaml.org,2002:set")?[G,q,":"]:["? ",U(2,G)];let se=ye("value");if(X)return[": ",U(2,se)];if(k(R)||!O(L.content))return["? ",U(2,G),C,x("",me.map(ye,"value","leadingComments").map(Ge=>[Ge,C])),": ",U(2,se)];if(ee(L.content)&&!k(L.content)&&!_(L.content)&&!$(L.content)&&!j(L)&&!k(R.content)&&!_(R.content)&&!j(R)&&he(R.content,V))return[G,q,": ",se];let te=Symbol("mappingKey"),ne=A([y("? "),A(U(2,G),{id:te})]),be=[C,": ",U(2,se)],je=[q,":"];k(R.content)||j(R)&&R.content&&!W(R.content,["mapping","sequence"])||ge.type==="mapping"&&$(L.content)&&O(R.content)||W(R.content,["mapping","sequence"])&&R.content.tag===null&&R.content.anchor===null?je.push(C):R.content&&je.push(w),je.push(se);let Pe=U(V.tabWidth,je);return he(L.content,V)&&!k(L.content)&&!_(L.content)&&!j(L)?g([[G,Pe]]):g([[ne,y(be,Pe,{groupId:te})]])}function he(ue,ge){if(!ue)return!0;switch(ue.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(ge.proseWrap==="preserve")return ue.position.start.line===ue.position.end.line;if(/\\$/m.test(ge.originalText.slice(ue.position.start.offset,ue.position.end.offset)))return!1;switch(ge.proseWrap){case"never":return!ue.value.includes(`
|
|
139
|
-
`);case"always":return!/[\n ]/.test(ue.value);default:return!1}}function J(ue){return ue.key.content&&ue.key.content.type==="alias"}function ee(ue){if(!ue)return!0;switch(ue.type){case"plain":case"quoteDouble":case"quoteSingle":return ue.position.start.line===ue.position.end.line;case"alias":return!0;default:return!1}}E.exports=le}}),Fl=Xe({"src/language-yaml/print/block.js"(m,E){S();var{builders:{dedent:g,dedentToRoot:A,fill:C,hardline:y,join:x,line:w,literalline:k,markAsRoot:_},utils:{getDocParts:$}}=wi(),{getAncestorCount:j,getBlockValueLineContents:W,hasIndicatorComment:I,isLastDescendantNode:O,isNode:U}=sa(),{alignWithSpaces:le}=Ju();function he(J,ee,ue){let ge=J.getValue(),me=j(J,X=>U(X,["sequence","mapping"])),ye=O(J),V=[ge.type==="blockFolded"?">":"|"];ge.indent!==null&&V.push(ge.indent.toString()),ge.chomping!=="clip"&&V.push(ge.chomping==="keep"?"+":"-"),I(ge)&&V.push(" ",ee("indicatorComment"));let L=W(ge,{parentIndent:me,isLastDescendant:ye,options:ue}),R=[];for(let[X,N]of L.entries())X===0&&R.push(y),R.push(C($(x(w,N)))),X!==L.length-1?R.push(N.length===0?y:_(k)):ge.chomping==="keep"&&ye&&R.push(A(N.length===0?y:k));return ge.indent===null?V.push(g(le(ue.tabWidth,R))):V.push(A(le(ge.indent-1+me,R))),V}E.exports=he}}),$l=Xe({"src/language-yaml/printer-yaml.js"(m,E){S();var{builders:{breakParent:g,fill:A,group:C,hardline:y,join:x,line:w,lineSuffix:k,literalline:_},utils:{getDocParts:$,replaceTextEndOfLine:j}}=wi(),{isPreviousLineEmpty:W}=Qi(),{insertPragma:I,isPragma:O}=La(),{locStart:U}=ia(),le=Zs(),{getFlowScalarLineContents:he,getLastDescendantNode:J,hasLeadingComments:ee,hasMiddleComments:ue,hasTrailingComment:ge,hasEndComments:me,hasPrettierIgnore:ye,isLastDescendantNode:V,isNode:L,isInlineNode:R}=sa(),X=Sl(),{alignWithSpaces:N,printNextEmptyLine:G,shouldPrintEndComments:q}=Ju(),{printFlowMapping:se,printFlowSequence:te}=Nc(),ne=Pu(),be=Fl();function je(Ve,bt,Tt){let Ct=Ve.getValue(),hr=[];Ct.type!=="mappingValue"&&ee(Ct)&&hr.push([x(y,Ve.map(Tt,"leadingComments")),y]);let{tag:$e,anchor:nt}=Ct;$e&&hr.push(Tt("tag")),$e&&nt&&hr.push(" "),nt&&hr.push(Tt("anchor"));let rr="";L(Ct,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!V(Ve)&&(rr=G(Ve,bt.originalText)),($e||nt)&&(L(Ct,["sequence","mapping"])&&!ue(Ct)?hr.push(y):hr.push(" ")),ue(Ct)&&hr.push([Ct.middleComments.length===1?"":y,x(y,Ve.map(Tt,"middleComments")),y]);let gr=Ve.getParentNode();return ye(Ve)?hr.push(j(bt.originalText.slice(Ct.position.start.offset,Ct.position.end.offset).trimEnd(),_)):hr.push(C(Pe(Ct,gr,Ve,bt,Tt))),ge(Ct)&&!L(Ct,["document","documentHead"])&&hr.push(k([Ct.type==="mappingValue"&&!Ct.content?"":" ",gr.type==="mappingKey"&&Ve.getParentNode(2).type==="mapping"&&R(Ct)?"":g,Tt("trailingComment")])),q(Ct)&&hr.push(N(Ct.type==="sequenceItem"?2:0,[y,x(y,Ve.map(Zt=>[W(bt.originalText,Zt.getValue(),U)?y:"",Tt()],"endComments"))])),hr.push(rr),hr}function Pe(Ve,bt,Tt,Ct,hr){switch(Ve.type){case"root":{let{children:$e}=Ve,nt=[];Tt.each((gr,Zt)=>{let tt=$e[Zt],ot=$e[Zt+1];Zt!==0&&nt.push(y),nt.push(hr()),We(tt,ot)?(nt.push(y,"..."),ge(tt)&&nt.push(" ",hr("trailingComment"))):ot&&!ge(ot.head)&&nt.push(y,"---")},"children");let rr=J(Ve);return(!L(rr,["blockLiteral","blockFolded"])||rr.chomping!=="keep")&&nt.push(y),nt}case"document":{let $e=bt.children[Tt.getName()+1],nt=[];return Me(Ve,$e,bt,Ct)==="head"&&((Ve.head.children.length>0||Ve.head.endComments.length>0)&&nt.push(hr("head")),ge(Ve.head)?nt.push(["---"," ",hr(["head","trailingComment"])]):nt.push("---")),Ge(Ve)&&nt.push(hr("body")),x(y,nt)}case"documentHead":return x(y,[...Tt.map(hr,"children"),...Tt.map(hr,"endComments")]);case"documentBody":{let{children:$e,endComments:nt}=Ve,rr="";if($e.length>0&&nt.length>0){let gr=J(Ve);L(gr,["blockFolded","blockLiteral"])?gr.chomping!=="keep"&&(rr=[y,y]):rr=y}return[x(y,Tt.map(hr,"children")),rr,x(y,Tt.map(hr,"endComments"))]}case"directive":return["%",x(" ",[Ve.name,...Ve.parameters])];case"comment":return["#",Ve.value];case"alias":return["*",Ve.value];case"tag":return Ct.originalText.slice(Ve.position.start.offset,Ve.position.end.offset);case"anchor":return["&",Ve.value];case"plain":return yt(Ve.type,Ct.originalText.slice(Ve.position.start.offset,Ve.position.end.offset),Ct);case"quoteDouble":case"quoteSingle":{let $e="'",nt='"',rr=Ct.originalText.slice(Ve.position.start.offset+1,Ve.position.end.offset-1);if(Ve.type==="quoteSingle"&&rr.includes("\\")||Ve.type==="quoteDouble"&&/\\[^"]/.test(rr)){let Zt=Ve.type==="quoteDouble"?nt:$e;return[Zt,yt(Ve.type,rr,Ct),Zt]}if(rr.includes(nt))return[$e,yt(Ve.type,Ve.type==="quoteDouble"?rr.replace(/\\"/g,nt).replace(/'/g,$e.repeat(2)):rr,Ct),$e];if(rr.includes($e))return[nt,yt(Ve.type,Ve.type==="quoteSingle"?rr.replace(/''/g,$e):rr,Ct),nt];let gr=Ct.singleQuote?$e:nt;return[gr,yt(Ve.type,rr,Ct),gr]}case"blockFolded":case"blockLiteral":return be(Tt,hr,Ct);case"mapping":case"sequence":return x(y,Tt.map(hr,"children"));case"sequenceItem":return["- ",N(2,Ve.content?hr("content"):"")];case"mappingKey":case"mappingValue":return Ve.content?hr("content"):"";case"mappingItem":case"flowMappingItem":return ne(Ve,bt,Tt,hr,Ct);case"flowMapping":return se(Tt,hr,Ct);case"flowSequence":return te(Tt,hr,Ct);case"flowSequenceItem":return hr("content");default:throw new Error("Unexpected node type ".concat(Ve.type))}}function Ge(Ve){return Ve.body.children.length>0||me(Ve.body)}function We(Ve,bt){return ge(Ve)||bt&&(bt.head.children.length>0||me(bt.head))}function Me(Ve,bt,Tt,Ct){return Tt.children[0]===Ve&&/---(?:\s|$)/.test(Ct.originalText.slice(U(Ve),U(Ve)+4))||Ve.head.children.length>0||me(Ve.head)||ge(Ve.head)?"head":We(Ve,bt)?!1:bt?"root":!1}function yt(Ve,bt,Tt){let Ct=he(Ve,bt,Tt);return x(y,Ct.map(hr=>A($(x(w,hr)))))}function qe(Ve,bt){if(L(bt))switch(delete bt.position,bt.type){case"comment":if(O(bt.value))return null;break;case"quoteDouble":case"quoteSingle":bt.type="quote";break}}E.exports={preprocess:X,embed:le,print:je,massageAstNode:qe,insertPragma:I}}}),cu=Xe({"src/language-yaml/options.js"(m,E){S();var g=vo();E.exports={bracketSpacing:g.bracketSpacing,singleQuote:g.singleQuote,proseWrap:g.proseWrap}}}),$o=Xe({"src/language-yaml/parsers.js"(){S()}}),Bc=Xe({"node_modules/linguist-languages/data/YAML.json"(m,E){E.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}}}),n=Xe({"src/language-yaml/index.js"(m,E){S();var g=Ra(),A=$l(),C=cu(),y=$o(),x=[g(Bc(),w=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...w.filenames.filter(k=>k!=="yarn.lock"),".prettierrc",".stylelintrc"]}))];E.exports={languages:x,printers:{yaml:A},options:C,parsers:y}}}),t=Xe({"src/languages.js"(m,E){S(),E.exports=[qa(),Z(),P(),Ue(),Ci(),Qs(),n()]}});S();var{version:u}=Je(),p=Ja(),{getSupportInfo:D}=Ws(),z=Ka(),pe=t(),Ze=wi();function At(m){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var g=arguments.length,A=new Array(g),C=0;C<g;C++)A[C]=arguments[C];let y=A[E]||{},x=y.plugins||[];return A[E]=Object.assign(Object.assign({},y),{},{plugins:[...pe,...Array.isArray(x)?x:Object.values(x)]}),m(...A)}}var ar=At(p.formatWithCursor);ce.exports={formatWithCursor:ar,format(m,E){return ar(m,E).formatted},check(m,E){let{formatted:g}=ar(m,E);return g===m},doc:Ze,getSupportInfo:At(D,0),version:u,util:z,__debug:{parse:At(p.parse),formatAST:At(p.formatAST),formatDoc:At(p.formatDoc),printToDoc:At(p.printToDoc),printDocToString:At(p.printDocToString)}}});return jt()})})(dm);var kD=Up(dm.exports),mm={exports:{}};(function(i,c){(function(l){i.exports=l()})(function(){var l=($n,Sr)=>()=>(Sr||$n((Sr={exports:{}}).exports,Sr),Sr.exports),f=l(($n,Sr)=>{var Br=function(Gt){return Gt&&Gt.Math==Math&&Gt};Sr.exports=Br(typeof globalThis=="object"&&globalThis)||Br(typeof window=="object"&&window)||Br(typeof self=="object"&&self)||Br(typeof Ol=="object"&&Ol)||function(){return this}()||Function("return this")()}),v=l(($n,Sr)=>{Sr.exports=function(Br){try{return!!Br()}catch{return!0}}}),B=l(($n,Sr)=>{var Br=v();Sr.exports=!Br(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),K=l(($n,Sr)=>{var Br=v();Sr.exports=!Br(function(){var Gt=function(){}.bind();return typeof Gt!="function"||Gt.hasOwnProperty("prototype")})}),de=l(($n,Sr)=>{var Br=K(),Gt=Function.prototype.call;Sr.exports=Br?Gt.bind(Gt):function(){return Gt.apply(Gt,arguments)}}),De=l($n=>{var Sr={}.propertyIsEnumerable,Br=Object.getOwnPropertyDescriptor,Gt=Br&&!Sr.call({1:2},1);$n.f=Gt?function(Vr){var ur=Br(this,Vr);return!!ur&&ur.enumerable}:Sr}),Le=l(($n,Sr)=>{Sr.exports=function(Br,Gt){return{enumerable:!(Br&1),configurable:!(Br&2),writable:!(Br&4),value:Gt}}}),ze=l(($n,Sr)=>{var Br=K(),Gt=Function.prototype,Vr=Gt.bind,ur=Gt.call,gn=Br&&Vr.bind(ur,ur);Sr.exports=Br?function(zt){return zt&&gn(zt)}:function(zt){return zt&&function(){return ur.apply(zt,arguments)}}}),it=l(($n,Sr)=>{var Br=ze(),Gt=Br({}.toString),Vr=Br("".slice);Sr.exports=function(ur){return Vr(Gt(ur),8,-1)}}),mt=l(($n,Sr)=>{var Br=f(),Gt=ze(),Vr=v(),ur=it(),gn=Br.Object,zt=Gt("".split);Sr.exports=Vr(function(){return!gn("z").propertyIsEnumerable(0)})?function(Kn){return ur(Kn)=="String"?zt(Kn,""):gn(Kn)}:gn}),Bt=l(($n,Sr)=>{var Br=f(),Gt=Br.TypeError;Sr.exports=function(Vr){if(Vr==null)throw Gt("Can't call method on "+Vr);return Vr}}),Qt=l(($n,Sr)=>{var Br=mt(),Gt=Bt();Sr.exports=function(Vr){return Br(Gt(Vr))}}),Cr=l(($n,Sr)=>{Sr.exports=function(Br){return typeof Br=="function"}}),Rr=l(($n,Sr)=>{var Br=Cr();Sr.exports=function(Gt){return typeof Gt=="object"?Gt!==null:Br(Gt)}}),St=l(($n,Sr)=>{var Br=f(),Gt=Cr(),Vr=function(ur){return Gt(ur)?ur:void 0};Sr.exports=function(ur,gn){return arguments.length<2?Vr(Br[ur]):Br[ur]&&Br[ur][gn]}}),$t=l(($n,Sr)=>{var Br=ze();Sr.exports=Br({}.isPrototypeOf)}),Vt=l(($n,Sr)=>{var Br=St();Sr.exports=Br("navigator","userAgent")||""}),Pr=l(($n,Sr)=>{var Br=f(),Gt=Vt(),Vr=Br.process,ur=Br.Deno,gn=Vr&&Vr.versions||ur&&ur.version,zt=gn&&gn.v8,Kn,Ar;zt&&(Kn=zt.split("."),Ar=Kn[0]>0&&Kn[0]<4?1:+(Kn[0]+Kn[1])),!Ar&&Gt&&(Kn=Gt.match(/Edge\/(\d+)/),(!Kn||Kn[1]>=74)&&(Kn=Gt.match(/Chrome\/(\d+)/),Kn&&(Ar=+Kn[1]))),Sr.exports=Ar}),nn=l(($n,Sr)=>{var Br=Pr(),Gt=v();Sr.exports=!!Object.getOwnPropertySymbols&&!Gt(function(){var Vr=Symbol();return!String(Vr)||!(Object(Vr)instanceof Symbol)||!Symbol.sham&&Br&&Br<41})}),Sn=l(($n,Sr)=>{var Br=nn();Sr.exports=Br&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Wn=l(($n,Sr)=>{var Br=f(),Gt=St(),Vr=Cr(),ur=$t(),gn=Sn(),zt=Br.Object;Sr.exports=gn?function(Kn){return typeof Kn=="symbol"}:function(Kn){var Ar=Gt("Symbol");return Vr(Ar)&&ur(Ar.prototype,zt(Kn))}}),Mi=l(($n,Sr)=>{var Br=f(),Gt=Br.String;Sr.exports=function(Vr){try{return Gt(Vr)}catch{return"Object"}}}),mi=l(($n,Sr)=>{var Br=f(),Gt=Cr(),Vr=Mi(),ur=Br.TypeError;Sr.exports=function(gn){if(Gt(gn))return gn;throw ur(Vr(gn)+" is not a function")}}),Un=l(($n,Sr)=>{var Br=mi();Sr.exports=function(Gt,Vr){var ur=Gt[Vr];return ur==null?void 0:Br(ur)}}),Nn=l(($n,Sr)=>{var Br=f(),Gt=de(),Vr=Cr(),ur=Rr(),gn=Br.TypeError;Sr.exports=function(zt,Kn){var Ar,Pt;if(Kn==="string"&&Vr(Ar=zt.toString)&&!ur(Pt=Gt(Ar,zt))||Vr(Ar=zt.valueOf)&&!ur(Pt=Gt(Ar,zt))||Kn!=="string"&&Vr(Ar=zt.toString)&&!ur(Pt=Gt(Ar,zt)))return Pt;throw gn("Can't convert object to primitive value")}}),Ai=l(($n,Sr)=>{Sr.exports=!1}),Dr=l(($n,Sr)=>{var Br=f(),Gt=Object.defineProperty;Sr.exports=function(Vr,ur){try{Gt(Br,Vr,{value:ur,configurable:!0,writable:!0})}catch{Br[Vr]=ur}return ur}}),vn=l(($n,Sr)=>{var Br=f(),Gt=Dr(),Vr="__core-js_shared__",ur=Br[Vr]||Gt(Vr,{});Sr.exports=ur}),we=l(($n,Sr)=>{var Br=Ai(),Gt=vn();(Sr.exports=function(Vr,ur){return Gt[Vr]||(Gt[Vr]=ur!==void 0?ur:{})})("versions",[]).push({version:"3.22.2",mode:Br?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),tn=l(($n,Sr)=>{var Br=f(),Gt=Bt(),Vr=Br.Object;Sr.exports=function(ur){return Vr(Gt(ur))}}),yr=l(($n,Sr)=>{var Br=ze(),Gt=tn(),Vr=Br({}.hasOwnProperty);Sr.exports=Object.hasOwn||function(ur,gn){return Vr(Gt(ur),gn)}}),wn=l(($n,Sr)=>{var Br=ze(),Gt=0,Vr=Math.random(),ur=Br(1 .toString);Sr.exports=function(gn){return"Symbol("+(gn===void 0?"":gn)+")_"+ur(++Gt+Vr,36)}}),ei=l(($n,Sr)=>{var Br=f(),Gt=we(),Vr=yr(),ur=wn(),gn=nn(),zt=Sn(),Kn=Gt("wks"),Ar=Br.Symbol,Pt=Ar&&Ar.for,Re=zt?Ar:Ar&&Ar.withoutSetter||ur;Sr.exports=function(Nt){if(!Vr(Kn,Nt)||!(gn||typeof Kn[Nt]=="string")){var Xt="Symbol."+Nt;gn&&Vr(Ar,Nt)?Kn[Nt]=Ar[Nt]:zt&&Pt?Kn[Nt]=Pt(Xt):Kn[Nt]=Re(Xt)}return Kn[Nt]}}),ls=l(($n,Sr)=>{var Br=f(),Gt=de(),Vr=Rr(),ur=Wn(),gn=Un(),zt=Nn(),Kn=ei(),Ar=Br.TypeError,Pt=Kn("toPrimitive");Sr.exports=function(Re,Nt){if(!Vr(Re)||ur(Re))return Re;var Xt=gn(Re,Pt),tr;if(Xt){if(Nt===void 0&&(Nt="default"),tr=Gt(Xt,Re,Nt),!Vr(tr)||ur(tr))return tr;throw Ar("Can't convert object to primitive value")}return Nt===void 0&&(Nt="number"),zt(Re,Nt)}}),As=l(($n,Sr)=>{var Br=ls(),Gt=Wn();Sr.exports=function(Vr){var ur=Br(Vr,"string");return Gt(ur)?ur:ur+""}}),_s=l(($n,Sr)=>{var Br=f(),Gt=Rr(),Vr=Br.document,ur=Gt(Vr)&&Gt(Vr.createElement);Sr.exports=function(gn){return ur?Vr.createElement(gn):{}}}),qi=l(($n,Sr)=>{var Br=B(),Gt=v(),Vr=_s();Sr.exports=!Br&&!Gt(function(){return Object.defineProperty(Vr("div"),"a",{get:function(){return 7}}).a!=7})}),Ps=l($n=>{var Sr=B(),Br=de(),Gt=De(),Vr=Le(),ur=Qt(),gn=As(),zt=yr(),Kn=qi(),Ar=Object.getOwnPropertyDescriptor;$n.f=Sr?Ar:function(Pt,Re){if(Pt=ur(Pt),Re=gn(Re),Kn)try{return Ar(Pt,Re)}catch{}if(zt(Pt,Re))return Vr(!Br(Gt.f,Pt,Re),Pt[Re])}}),Or=l(($n,Sr)=>{var Br=B(),Gt=v();Sr.exports=Br&&Gt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Kr=l(($n,Sr)=>{var Br=f(),Gt=Rr(),Vr=Br.String,ur=Br.TypeError;Sr.exports=function(gn){if(Gt(gn))return gn;throw ur(Vr(gn)+" is not an object")}}),mr=l($n=>{var Sr=f(),Br=B(),Gt=qi(),Vr=Or(),ur=Kr(),gn=As(),zt=Sr.TypeError,Kn=Object.defineProperty,Ar=Object.getOwnPropertyDescriptor,Pt="enumerable",Re="configurable",Nt="writable";$n.f=Br?Vr?function(Xt,tr,zr){if(ur(Xt),tr=gn(tr),ur(zr),typeof Xt=="function"&&tr==="prototype"&&"value"in zr&&Nt in zr&&!zr[Nt]){var on=Ar(Xt,tr);on&&on[Nt]&&(Xt[tr]=zr.value,zr={configurable:Re in zr?zr[Re]:on[Re],enumerable:Pt in zr?zr[Pt]:on[Pt],writable:!1})}return Kn(Xt,tr,zr)}:Kn:function(Xt,tr,zr){if(ur(Xt),tr=gn(tr),ur(zr),Gt)try{return Kn(Xt,tr,zr)}catch{}if("get"in zr||"set"in zr)throw zt("Accessors not supported");return"value"in zr&&(Xt[tr]=zr.value),Xt}}),dn=l(($n,Sr)=>{var Br=B(),Gt=mr(),Vr=Le();Sr.exports=Br?function(ur,gn,zt){return Gt.f(ur,gn,Vr(1,zt))}:function(ur,gn,zt){return ur[gn]=zt,ur}}),ai=l(($n,Sr)=>{var Br=ze(),Gt=Cr(),Vr=vn(),ur=Br(Function.toString);Gt(Vr.inspectSource)||(Vr.inspectSource=function(gn){return ur(gn)}),Sr.exports=Vr.inspectSource}),Jn=l(($n,Sr)=>{var Br=f(),Gt=Cr(),Vr=ai(),ur=Br.WeakMap;Sr.exports=Gt(ur)&&/native code/.test(Vr(ur))}),zn=l(($n,Sr)=>{var Br=we(),Gt=wn(),Vr=Br("keys");Sr.exports=function(ur){return Vr[ur]||(Vr[ur]=Gt(ur))}}),ui=l(($n,Sr)=>{Sr.exports={}}),ct=l(($n,Sr)=>{var Br=Jn(),Gt=f(),Vr=ze(),ur=Rr(),gn=dn(),zt=yr(),Kn=vn(),Ar=zn(),Pt=ui(),Re="Object already initialized",Nt=Gt.TypeError,Xt=Gt.WeakMap,tr,zr,on,jt=function(et){return on(et)?zr(et):tr(et,{})},Ie=function(et){return function(st){var Dt;if(!ur(st)||(Dt=zr(st)).type!==et)throw Nt("Incompatible receiver, "+et+" required");return Dt}};Br||Kn.state?(ce=Kn.state||(Kn.state=new Xt),fe=Vr(ce.get),Ee=Vr(ce.has),Ce=Vr(ce.set),tr=function(et,st){if(Ee(ce,et))throw new Nt(Re);return st.facade=et,Ce(ce,et,st),st},zr=function(et){return fe(ce,et)||{}},on=function(et){return Ee(ce,et)}):(He=Ar("state"),Pt[He]=!0,tr=function(et,st){if(zt(et,He))throw new Nt(Re);return st.facade=et,gn(et,He,st),st},zr=function(et){return zt(et,He)?et[He]:{}},on=function(et){return zt(et,He)});var ce,fe,Ee,Ce,He;Sr.exports={set:tr,get:zr,has:on,enforce:jt,getterFor:Ie}}),Ot=l(($n,Sr)=>{var Br=B(),Gt=yr(),Vr=Function.prototype,ur=Br&&Object.getOwnPropertyDescriptor,gn=Gt(Vr,"name"),zt=gn&&function(){}.name==="something",Kn=gn&&(!Br||Br&&ur(Vr,"name").configurable);Sr.exports={EXISTS:gn,PROPER:zt,CONFIGURABLE:Kn}}),br=l(($n,Sr)=>{var Br=f(),Gt=Cr(),Vr=yr(),ur=dn(),gn=Dr(),zt=ai(),Kn=ct(),Ar=Ot().CONFIGURABLE,Pt=Kn.get,Re=Kn.enforce,Nt=String(String).split("String");(Sr.exports=function(Xt,tr,zr,on){var jt=on?!!on.unsafe:!1,Ie=on?!!on.enumerable:!1,ce=on?!!on.noTargetGet:!1,fe=on&&on.name!==void 0?on.name:tr,Ee;if(Gt(zr)&&(String(fe).slice(0,7)==="Symbol("&&(fe="["+String(fe).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Vr(zr,"name")||Ar&&zr.name!==fe)&&ur(zr,"name",fe),Ee=Re(zr),Ee.source||(Ee.source=Nt.join(typeof fe=="string"?fe:""))),Xt===Br){Ie?Xt[tr]=zr:gn(tr,zr);return}else jt?!ce&&Xt[tr]&&(Ie=!0):delete Xt[tr];Ie?Xt[tr]=zr:ur(Xt,tr,zr)})(Function.prototype,"toString",function(){return Gt(this)&&Pt(this).source||zt(this)})}),sr=l(($n,Sr)=>{var Br=Math.ceil,Gt=Math.floor;Sr.exports=function(Vr){var ur=+Vr;return ur!==ur||ur===0?0:(ur>0?Gt:Br)(ur)}}),Jr=l(($n,Sr)=>{var Br=sr(),Gt=Math.max,Vr=Math.min;Sr.exports=function(ur,gn){var zt=Br(ur);return zt<0?Gt(zt+gn,0):Vr(zt,gn)}}),fn=l(($n,Sr)=>{var Br=sr(),Gt=Math.min;Sr.exports=function(Vr){return Vr>0?Gt(Br(Vr),9007199254740991):0}}),mn=l(($n,Sr)=>{var Br=fn();Sr.exports=function(Gt){return Br(Gt.length)}}),Fn=l(($n,Sr)=>{var Br=Qt(),Gt=Jr(),Vr=mn(),ur=function(gn){return function(zt,Kn,Ar){var Pt=Br(zt),Re=Vr(Pt),Nt=Gt(Ar,Re),Xt;if(gn&&Kn!=Kn){for(;Re>Nt;)if(Xt=Pt[Nt++],Xt!=Xt)return!0}else for(;Re>Nt;Nt++)if((gn||Nt in Pt)&&Pt[Nt]===Kn)return gn||Nt||0;return!gn&&-1}};Sr.exports={includes:ur(!0),indexOf:ur(!1)}}),hn=l(($n,Sr)=>{var Br=ze(),Gt=yr(),Vr=Qt(),ur=Fn().indexOf,gn=ui(),zt=Br([].push);Sr.exports=function(Kn,Ar){var Pt=Vr(Kn),Re=0,Nt=[],Xt;for(Xt in Pt)!Gt(gn,Xt)&&Gt(Pt,Xt)&&zt(Nt,Xt);for(;Ar.length>Re;)Gt(Pt,Xt=Ar[Re++])&&(~ur(Nt,Xt)||zt(Nt,Xt));return Nt}}),lt=l(($n,Sr)=>{Sr.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Er=l($n=>{var Sr=hn(),Br=lt(),Gt=Br.concat("length","prototype");$n.f=Object.getOwnPropertyNames||function(Vr){return Sr(Vr,Gt)}}),Mt=l($n=>{$n.f=Object.getOwnPropertySymbols}),jn=l(($n,Sr)=>{var Br=St(),Gt=ze(),Vr=Er(),ur=Mt(),gn=Kr(),zt=Gt([].concat);Sr.exports=Br("Reflect","ownKeys")||function(Kn){var Ar=Vr.f(gn(Kn)),Pt=ur.f;return Pt?zt(Ar,Pt(Kn)):Ar}}),gi=l(($n,Sr)=>{var Br=yr(),Gt=jn(),Vr=Ps(),ur=mr();Sr.exports=function(gn,zt,Kn){for(var Ar=Gt(zt),Pt=ur.f,Re=Vr.f,Nt=0;Nt<Ar.length;Nt++){var Xt=Ar[Nt];!Br(gn,Xt)&&!(Kn&&Br(Kn,Xt))&&Pt(gn,Xt,Re(zt,Xt))}}}),ns=l(($n,Sr)=>{var Br=v(),Gt=Cr(),Vr=/#|\.prototype\./,ur=function(Pt,Re){var Nt=zt[gn(Pt)];return Nt==Ar?!0:Nt==Kn?!1:Gt(Re)?Br(Re):!!Re},gn=ur.normalize=function(Pt){return String(Pt).replace(Vr,".").toLowerCase()},zt=ur.data={},Kn=ur.NATIVE="N",Ar=ur.POLYFILL="P";Sr.exports=ur}),is=l(($n,Sr)=>{var Br=f(),Gt=Ps().f,Vr=dn(),ur=br(),gn=Dr(),zt=gi(),Kn=ns();Sr.exports=function(Ar,Pt){var Re=Ar.target,Nt=Ar.global,Xt=Ar.stat,tr,zr,on,jt,Ie,ce;if(Nt?zr=Br:Xt?zr=Br[Re]||gn(Re,{}):zr=(Br[Re]||{}).prototype,zr)for(on in Pt){if(Ie=Pt[on],Ar.noTargetGet?(ce=Gt(zr,on),jt=ce&&ce.value):jt=zr[on],tr=Kn(Nt?on:Re+(Xt?".":"#")+on,Ar.forced),!tr&&jt!==void 0){if(typeof Ie==typeof jt)continue;zt(Ie,jt)}(Ar.sham||jt&&jt.sham)&&Vr(Ie,"sham",!0),ur(zr,on,Ie,Ar)}}}),cs=l(()=>{var $n=is(),Sr=f();$n({global:!0},{globalThis:Sr})}),Hi=l(()=>{cs()}),Ls=l(($n,Sr)=>{Hi();var Br=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Vr=Object.getOwnPropertyNames,ur=Object.prototype.hasOwnProperty,gn=(T,ae)=>function(){return T&&(ae=(0,T[Vr(T)[0]])(T=0)),ae},zt=(T,ae)=>function(){return ae||(0,T[Vr(T)[0]])((ae={exports:{}}).exports,ae),ae.exports},Kn=(T,ae)=>{for(var Z in ae)Br(T,Z,{get:ae[Z],enumerable:!0})},Ar=(T,ae,Z,Y)=>{if(ae&&typeof ae=="object"||typeof ae=="function")for(let oe of Vr(ae))!ur.call(T,oe)&&oe!==Z&&Br(T,oe,{get:()=>ae[oe],enumerable:!(Y=Gt(ae,oe))||Y.enumerable});return T},Pt=T=>Ar(Br({},"__esModule",{value:!0}),T),Re=gn({"<define:process>"(){}}),Nt=zt({"src/common/parser-create-error.js"(T,ae){Re();function Z(Y,oe){let Ae=new SyntaxError(Y+" ("+oe.start.line+":"+oe.start.column+")");return Ae.loc=oe,Ae}ae.exports=Z}}),Xt=zt({"src/utils/get-last.js"(T,ae){Re();var Z=Y=>Y[Y.length-1];ae.exports=Z}}),tr=zt({"src/utils/front-matter/parse.js"(T,ae){Re();var Z=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Y(oe){let Ae=oe.match(Z);if(!Ae)return{content:oe};let{startDelimiter:Te,language:ve,value:xe="",endDelimiter:Se}=Ae.groups,P=ve.trim()||"yaml";if(Te==="+++"&&(P="toml"),P!=="yaml"&&Te!==Se)return{content:oe};let[b]=Ae;return{frontMatter:{type:"front-matter",lang:P,value:xe,startDelimiter:Te,endDelimiter:Se,raw:b.replace(/\n$/,"")},content:b.replace(/[^\n]/g," ")+oe.slice(b.length)}}ae.exports=Y}}),zr={};Kn(zr,{EOL:()=>rn,arch:()=>Wt,cpus:()=>Ce,default:()=>kr,endianness:()=>on,freemem:()=>fe,getNetworkInterfaces:()=>Dt,hostname:()=>jt,loadavg:()=>Ie,networkInterfaces:()=>st,platform:()=>nr,release:()=>et,tmpDir:()=>wr,tmpdir:()=>Qr,totalmem:()=>Ee,type:()=>He,uptime:()=>ce});function on(){if(typeof Ur>"u"){var T=new ArrayBuffer(2),ae=new Uint8Array(T),Z=new Uint16Array(T);if(ae[0]=1,ae[1]=2,Z[0]===258)Ur="BE";else if(Z[0]===513)Ur="LE";else throw new Error("unable to figure out endianess")}return Ur}function jt(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Ie(){return[]}function ce(){return 0}function fe(){return Number.MAX_VALUE}function Ee(){return Number.MAX_VALUE}function Ce(){return[]}function He(){return"Browser"}function et(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function st(){}function Dt(){}function Wt(){return"javascript"}function nr(){return"browser"}function wr(){return"/tmp"}var Ur,Qr,rn,kr,kn=gn({"node-modules-polyfills:os"(){Re(),Qr=wr,rn=`
|
|
140
|
-
`,kr={EOL:rn,tmpdir:Qr,tmpDir:wr,networkInterfaces:st,getNetworkInterfaces:Dt,release:et,type:He,cpus:Ce,totalmem:Ee,freemem:fe,uptime:ce,loadavg:Ie,hostname:jt,endianness:on}}}),ci=zt({"node-modules-polyfills-commonjs:os"(T,ae){Re();var Z=(kn(),Pt(zr));if(Z&&Z.default){ae.exports=Z.default;for(let Y in Z)ae.exports[Y]=Z[Y]}else Z&&(ae.exports=Z)}}),yn=zt({"node_modules/detect-newline/index.js"(T,ae){Re();var Z=Y=>{if(typeof Y!="string")throw new TypeError("Expected a string");let oe=Y.match(/(?:\r?\n)/g)||[];if(oe.length===0)return;let Ae=oe.filter(ve=>ve===`\r
|
|
141
|
-
`).length,Te=oe.length-Ae;return Ae>Te?`\r
|
|
142
|
-
`:`
|
|
143
|
-
`};ae.exports=Z,ae.exports.graceful=Y=>typeof Y=="string"&&Z(Y)||`
|
|
144
|
-
`}}),Yi=zt({"node_modules/jest-docblock/build/index.js"(T){Re(),Object.defineProperty(T,"__esModule",{value:!0}),T.extract=Q,T.parse=ke,T.parseWithComments=Ye,T.print=Ue,T.strip=Oe;function ae(){let Et=ci();return ae=function(){return Et},Et}function Z(){let Et=Y(yn());return Z=function(){return Et},Et}function Y(Et){return Et&&Et.__esModule?Et:{default:Et}}var oe=/\*\/$/,Ae=/^\/\*\*/,Te=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,ve=/(^|\s+)\/\/([^\r\n]*)/g,xe=/^(\r?\n)+/,Se=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,P=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,b=/(\r?\n|^) *\* ?/g,re=[];function Q(Et){let Ft=Et.match(Te);return Ft?Ft[0].trimLeft():""}function Oe(Et){let Ft=Et.match(Te);return Ft&&Ft[0]?Et.substring(Ft[0].length):Et}function ke(Et){return Ye(Et).pragmas}function Ye(Et){let Ft=(0,Z().default)(Et)||ae().EOL;Et=Et.replace(Ae,"").replace(oe,"").replace(b,"$1");let Ht="";for(;Ht!==Et;)Ht=Et,Et=Et.replace(Se,"".concat(Ft,"$1 $2").concat(Ft));Et=Et.replace(xe,"").trimRight();let un=Object.create(null),Mn=Et.replace(P,"").replace(xe,"").trimRight(),Hn;for(;Hn=P.exec(Et);){let bi=Hn[2].replace(ve,"");typeof un[Hn[1]]=="string"||Array.isArray(un[Hn[1]])?un[Hn[1]]=re.concat(un[Hn[1]],bi):un[Hn[1]]=bi}return{comments:Mn,pragmas:un}}function Ue(Et){let{comments:Ft="",pragmas:Ht={}}=Et,un=(0,Z().default)(Ft)||ae().EOL,Mn="/**",Hn=" *",bi=" */",en=Object.keys(Ht),Bi=en.map(Ci=>_e(Ci,Ht[Ci])).reduce((Ci,Dn)=>Ci.concat(Dn),[]).map(Ci=>Hn+" "+Ci+un).join("");if(!Ft){if(en.length===0)return"";if(en.length===1&&!Array.isArray(Ht[en[0]])){let Ci=Ht[en[0]];return"".concat(Mn," ").concat(_e(en[0],Ci)[0]).concat(bi)}}let di=Ft.split(un).map(Ci=>"".concat(Hn," ").concat(Ci)).join(un)+un;return Mn+un+(Ft?di:"")+(Ft&&en.length?Hn+un:"")+Bi+bi}function _e(Et,Ft){return re.concat(Ft).map(Ht=>"@".concat(Et," ").concat(Ht).trim())}}}),yi=zt({"src/common/end-of-line.js"(T,ae){Re();function Z(Te){let ve=Te.indexOf("\r");return ve>=0?Te.charAt(ve+1)===`
|
|
145
|
-
`?"crlf":"cr":"lf"}function Y(Te){switch(Te){case"cr":return"\r";case"crlf":return`\r
|
|
146
|
-
`;default:return`
|
|
147
|
-
`}}function oe(Te,ve){let xe;switch(ve){case`
|
|
148
|
-
`:xe=/\n/g;break;case"\r":xe=/\r/g;break;case`\r
|
|
149
|
-
`:xe=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(ve),"."))}let Se=Te.match(xe);return Se?Se.length:0}function Ae(Te){return Te.replace(/\r\n?/g,`
|
|
150
|
-
`)}ae.exports={guessEndOfLine:Z,convertEndOfLineToChars:Y,countEndOfLineChars:oe,normalizeEndOfLine:Ae}}}),Xe=zt({"src/language-js/utils/get-shebang.js"(T,ae){Re();function Z(Y){if(!Y.startsWith("#!"))return"";let oe=Y.indexOf(`
|
|
151
|
-
`);return oe===-1?Y:Y.slice(0,oe)}ae.exports=Z}}),ys=zt({"src/language-js/pragma.js"(T,ae){Re();var{parseWithComments:Z,strip:Y,extract:oe,print:Ae}=Yi(),{normalizeEndOfLine:Te}=yi(),ve=Xe();function xe(b){let re=ve(b);re&&(b=b.slice(re.length+1));let Q=oe(b),{pragmas:Oe,comments:ke}=Z(Q);return{shebang:re,text:b,pragmas:Oe,comments:ke}}function Se(b){let re=Object.keys(xe(b).pragmas);return re.includes("prettier")||re.includes("format")}function P(b){let{shebang:re,text:Q,pragmas:Oe,comments:ke}=xe(b),Ye=Y(Q),Ue=Ae({pragmas:Object.assign({format:""},Oe),comments:ke.trimStart()});return(re?"".concat(re,`
|
|
152
|
-
`):"")+Te(Ue)+(Ye.startsWith(`
|
|
153
|
-
`)?`
|
|
154
|
-
`:`
|
|
155
|
-
|
|
156
|
-
`)+Ye}ae.exports={hasPragma:Se,insertPragma:P}}}),Li=zt({"src/language-css/pragma.js"(T,ae){Re();var Z=ys(),Y=tr();function oe(Te){return Z.hasPragma(Y(Te).content)}function Ae(Te){let{frontMatter:ve,content:xe}=Y(Te);return(ve?ve.raw+`
|
|
157
|
-
|
|
158
|
-
`:"")+Z.insertPragma(xe)}ae.exports={hasPragma:oe,insertPragma:Ae}}}),Di=zt({"src/utils/text/skip.js"(T,ae){Re();function Z(ve){return(xe,Se,P)=>{let b=P&&P.backwards;if(Se===!1)return!1;let{length:re}=xe,Q=Se;for(;Q>=0&&Q<re;){let Oe=xe.charAt(Q);if(ve instanceof RegExp){if(!ve.test(Oe))return Q}else if(!ve.includes(Oe))return Q;b?Q--:Q++}return Q===-1||Q===re?Q:!1}}var Y=Z(/\s/),oe=Z(" "),Ae=Z(",; "),Te=Z(/[^\n\r]/);ae.exports={skipWhitespace:Y,skipSpaces:oe,skipToLineEnd:Ae,skipEverythingButNewLine:Te}}}),ti=zt({"src/utils/line-column-to-index.js"(T,ae){Re(),ae.exports=function(Z,Y){let oe=0;for(let Ae=0;Ae<Z.line-1;++Ae)oe=Y.indexOf(`
|
|
159
|
-
`,oe)+1;return oe+Z.column}}}),Gn=zt({"src/language-css/loc.js"(T,ae){Re();var{skipEverythingButNewLine:Z}=Di(),Y=Xt(),oe=ti();function Ae(Q,Oe){return typeof Q.sourceIndex=="number"?Q.sourceIndex:Q.source?oe(Q.source.start,Oe)-1:null}function Te(Q,Oe){if(Q.type==="css-comment"&&Q.inline)return Z(Oe,Q.source.startOffset);let ke=Q.nodes&&Y(Q.nodes);return ke&&Q.source&&!Q.source.end&&(Q=ke),Q.source&&Q.source.end?oe(Q.source.end,Oe):null}function ve(Q,Oe){Q.source&&(Q.source.startOffset=Ae(Q,Oe),Q.source.endOffset=Te(Q,Oe));for(let ke in Q){let Ye=Q[ke];ke==="source"||!Ye||typeof Ye!="object"||(Ye.type==="value-root"||Ye.type==="value-unknown"?xe(Ye,Se(Q),Ye.text||Ye.value):ve(Ye,Oe))}}function xe(Q,Oe,ke){Q.source&&(Q.source.startOffset=Ae(Q,ke)+Oe,Q.source.endOffset=Te(Q,ke)+Oe);for(let Ye in Q){let Ue=Q[Ye];Ye==="source"||!Ue||typeof Ue!="object"||xe(Ue,Oe,ke)}}function Se(Q){let Oe=Q.source.startOffset;return typeof Q.prop=="string"&&(Oe+=Q.prop.length),Q.type==="css-atrule"&&typeof Q.name=="string"&&(Oe+=1+Q.name.length+Q.raws.afterName.match(/^\s*:?\s*/)[0].length),Q.type!=="css-atrule"&&Q.raws&&typeof Q.raws.between=="string"&&(Oe+=Q.raws.between.length),Oe}function P(Q){let Oe="initial",ke="initial",Ye,Ue=!1,_e=[];for(let Et=0;Et<Q.length;Et++){let Ft=Q[Et];switch(Oe){case"initial":if(Ft==="'"){Oe="single-quotes";continue}if(Ft==='"'){Oe="double-quotes";continue}if((Ft==="u"||Ft==="U")&&Q.slice(Et,Et+4).toLowerCase()==="url("){Oe="url",Et+=3;continue}if(Ft==="*"&&Q[Et-1]==="/"){Oe="comment-block";continue}if(Ft==="/"&&Q[Et-1]==="/"){Oe="comment-inline",Ye=Et-1;continue}continue;case"single-quotes":if(Ft==="'"&&Q[Et-1]!=="\\"&&(Oe=ke,ke="initial"),Ft===`
|
|
160
|
-
`||Ft==="\r")return Q;continue;case"double-quotes":if(Ft==='"'&&Q[Et-1]!=="\\"&&(Oe=ke,ke="initial"),Ft===`
|
|
161
|
-
`||Ft==="\r")return Q;continue;case"url":if(Ft===")"&&(Oe="initial"),Ft===`
|
|
162
|
-
`||Ft==="\r")return Q;if(Ft==="'"){Oe="single-quotes",ke="url";continue}if(Ft==='"'){Oe="double-quotes",ke="url";continue}continue;case"comment-block":Ft==="/"&&Q[Et-1]==="*"&&(Oe="initial");continue;case"comment-inline":(Ft==='"'||Ft==="'"||Ft==="*")&&(Ue=!0),(Ft===`
|
|
163
|
-
`||Ft==="\r")&&(Ue&&_e.push([Ye,Et]),Oe="initial",Ue=!1);continue}}for(let[Et,Ft]of _e)Q=Q.slice(0,Et)+Q.slice(Et,Ft).replace(/["'*]/g," ")+Q.slice(Ft);return Q}function b(Q){return Q.source.startOffset}function re(Q){return Q.source.endOffset}ae.exports={locStart:b,locEnd:re,calculateLoc:ve,replaceQuotesInInlineComments:P}}}),$s=zt({"src/utils/is-non-empty-array.js"(T,ae){Re();function Z(Y){return Array.isArray(Y)&&Y.length>0}ae.exports=Z}}),js=zt({"src/language-css/utils/has-scss-interpolation.js"(T,ae){Re();var Z=$s();function Y(oe){if(Z(oe)){for(let Ae=oe.length-1;Ae>0;Ae--)if(oe[Ae].type==="word"&&oe[Ae].value==="{"&&oe[Ae-1].type==="word"&&oe[Ae-1].value.endsWith("#"))return!0}return!1}ae.exports=Y}}),S=zt({"src/language-css/utils/has-string-or-function.js"(T,ae){Re();function Z(Y){return Y.some(oe=>oe.type==="string"||oe.type==="func")}ae.exports=Z}}),Je=zt({"src/language-css/utils/is-less-parser.js"(T,ae){Re();function Z(Y){return Y.parser==="css"||Y.parser==="less"}ae.exports=Z}}),Mr=zt({"src/language-css/utils/is-scss.js"(T,ae){Re();function Z(Y,oe){return Y==="less"||Y==="scss"?Y==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(oe)}ae.exports=Z}}),an=zt({"src/language-css/utils/is-scss-nested-property-node.js"(T,ae){Re();function Z(Y){return Y.selector?Y.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}ae.exports=Z}}),li=zt({"src/language-css/utils/is-scss-variable.js"(T,ae){Re();function Z(Y){return Boolean((Y==null?void 0:Y.type)==="word"&&Y.value.startsWith("$"))}ae.exports=Z}}),ss=zt({"src/language-css/utils/stringify-node.js"(T,ae){Re();function Z(Y){var oe,Ae,Te;if(Y.groups){var ve,xe,Se;let Ue=((ve=Y.open)===null||ve===void 0?void 0:ve.value)||"",_e=Y.groups.map(Ft=>Z(Ft)).join(((xe=Y.groups[0])===null||xe===void 0?void 0:xe.type)==="comma_group"?",":""),Et=((Se=Y.close)===null||Se===void 0?void 0:Se.value)||"";return Ue+_e+Et}let P=((oe=Y.raws)===null||oe===void 0?void 0:oe.before)||"",b=((Ae=Y.raws)===null||Ae===void 0?void 0:Ae.quote)||"",re=Y.type==="atword"?"@":"",Q=Y.value||"",Oe=Y.unit||"",ke=Y.group?Z(Y.group):"",Ye=((Te=Y.raws)===null||Te===void 0?void 0:Te.after)||"";return P+b+re+Q+b+Oe+ke+Ye}ae.exports=Z}}),es=zt({"src/language-css/utils/is-module-rule-name.js"(T,ae){Re();var Z=new Set(["import","use","forward"]);function Y(oe){return Z.has(oe)}ae.exports=Y}}),ni=zt({"node_modules/postcss-values-parser/lib/node.js"(T,ae){Re();var Z=function(Y,oe){let Ae=new Y.constructor;for(let Te in Y){if(!Y.hasOwnProperty(Te))continue;let ve=Y[Te],xe=typeof ve;Te==="parent"&&xe==="object"?oe&&(Ae[Te]=oe):Te==="source"?Ae[Te]=ve:ve instanceof Array?Ae[Te]=ve.map(Se=>Z(Se,Ae)):Te!=="before"&&Te!=="after"&&Te!=="between"&&Te!=="semicolon"&&(xe==="object"&&ve!==null&&(ve=Z(ve)),Ae[Te]=ve)}return Ae};ae.exports=class{constructor(Y){Y=Y||{},this.raws={before:"",after:""};for(let oe in Y)this[oe]=Y[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(Y){Y=Y||{};let oe=Z(this);for(let Ae in Y)oe[Ae]=Y[Ae];return oe}cloneBefore(Y){Y=Y||{};let oe=this.clone(Y);return this.parent.insertBefore(this,oe),oe}cloneAfter(Y){Y=Y||{};let oe=this.clone(Y);return this.parent.insertAfter(this,oe),oe}replaceWith(){let Y=Array.prototype.slice.call(arguments);if(this.parent){for(let oe of Y)this.parent.insertBefore(this,oe);this.remove()}return this}moveTo(Y){return this.cleanRaws(this.root()===Y.root()),this.remove(),Y.append(this),this}moveBefore(Y){return this.cleanRaws(this.root()===Y.root()),this.remove(),Y.parent.insertBefore(Y,this),this}moveAfter(Y){return this.cleanRaws(this.root()===Y.root()),this.remove(),Y.parent.insertAfter(Y,this),this}next(){let Y=this.parent.index(this);return this.parent.nodes[Y+1]}prev(){let Y=this.parent.index(this);return this.parent.nodes[Y-1]}toJSON(){let Y={};for(let oe in this){if(!this.hasOwnProperty(oe)||oe==="parent")continue;let Ae=this[oe];Ae instanceof Array?Y[oe]=Ae.map(Te=>typeof Te=="object"&&Te.toJSON?Te.toJSON():Te):typeof Ae=="object"&&Ae.toJSON?Y[oe]=Ae.toJSON():Y[oe]=Ae}return Y}root(){let Y=this;for(;Y.parent;)Y=Y.parent;return Y}cleanRaws(Y){delete this.raws.before,delete this.raws.after,Y||delete this.raws.between}positionInside(Y){let oe=this.toString(),Ae=this.source.start.column,Te=this.source.start.line;for(let ve=0;ve<Y;ve++)oe[ve]===`
|
|
164
|
-
`?(Ae=1,Te+=1):Ae+=1;return{line:Te,column:Ae}}positionBy(Y){let oe=this.source.start;if(Object(Y).index)oe=this.positionInside(Y.index);else if(Object(Y).word){let Ae=this.toString().indexOf(Y.word);Ae!==-1&&(oe=this.positionInside(Ae))}return oe}}}}),qs=zt({"node_modules/postcss-values-parser/lib/container.js"(T,ae){Re();var Z=ni(),Y=class extends Z{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 Ae=this.lastEach,Te,ve;if(this.indexes[Ae]=0,!!this.nodes){for(;this.indexes[Ae]<this.nodes.length&&(Te=this.indexes[Ae],ve=oe(this.nodes[Te],Te),ve!==!1);)this.indexes[Ae]+=1;return delete this.indexes[Ae],ve}}walk(oe){return this.each((Ae,Te)=>{let ve=oe(Ae,Te);return ve!==!1&&Ae.walk&&(ve=Ae.walk(oe)),ve})}walkType(oe,Ae){if(!oe||!Ae)throw new Error("Parameters {type} and {callback} are required.");let Te=typeof oe=="function";return this.walk((ve,xe)=>{if(Te&&ve instanceof oe||!Te&&ve.type===oe)return Ae.call(this,ve,xe)})}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 Ae of this.nodes)Ae.cleanRaws(oe)}insertAfter(oe,Ae){let Te=this.index(oe),ve;this.nodes.splice(Te+1,0,Ae);for(let xe in this.indexes)ve=this.indexes[xe],Te<=ve&&(this.indexes[xe]=ve+this.nodes.length);return this}insertBefore(oe,Ae){let Te=this.index(oe),ve;this.nodes.splice(Te,0,Ae);for(let xe in this.indexes)ve=this.indexes[xe],Te<=ve&&(this.indexes[xe]=ve+this.nodes.length);return this}removeChild(oe){oe=this.index(oe),this.nodes[oe].parent=void 0,this.nodes.splice(oe,1);let Ae;for(let Te in this.indexes)Ae=this.indexes[Te],Ae>=oe&&(this.indexes[Te]=Ae-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}};Y.registerWalker=oe=>{let Ae="walk"+oe.name;Ae.lastIndexOf("s")!==Ae.length-1&&(Ae+="s"),!Y.prototype[Ae]&&(Y.prototype[Ae]=function(Te){return this.walkType(oe,Te)})},ae.exports=Y}}),Xo=zt({"node_modules/postcss-values-parser/lib/root.js"(T,ae){Re();var Z=qs();ae.exports=class extends Z{constructor(Y){super(Y),this.type="root"}}}}),Io=zt({"node_modules/postcss-values-parser/lib/value.js"(T,ae){Re();var Z=qs();ae.exports=class extends Z{constructor(Y){super(Y),this.type="value",this.unbalanced=0}}}}),Ma=zt({"node_modules/postcss-values-parser/lib/atword.js"(T,ae){Re();var Z=qs(),Y=class extends Z{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("")}};Z.registerWalker(Y),ae.exports=Y}}),du=zt({"node_modules/postcss-values-parser/lib/colon.js"(T,ae){Re();var Z=qs(),Y=ni(),oe=class extends Y{constructor(Ae){super(Ae),this.type="colon"}};Z.registerWalker(oe),ae.exports=oe}}),mu=zt({"node_modules/postcss-values-parser/lib/comma.js"(T,ae){Re();var Z=qs(),Y=ni(),oe=class extends Y{constructor(Ae){super(Ae),this.type="comma"}};Z.registerWalker(oe),ae.exports=oe}}),fo=zt({"node_modules/postcss-values-parser/lib/comment.js"(T,ae){Re();var Z=qs(),Y=ni(),oe=class extends Y{constructor(Ae){super(Ae),this.type="comment",this.inline=Object(Ae).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Z.registerWalker(oe),ae.exports=oe}}),mo=zt({"node_modules/postcss-values-parser/lib/function.js"(T,ae){Re();var Z=qs(),Y=class extends Z{constructor(oe){super(oe),this.type="func",this.unbalanced=-1}};Z.registerWalker(Y),ae.exports=Y}}),Jo=zt({"node_modules/postcss-values-parser/lib/number.js"(T,ae){Re();var Z=qs(),Y=ni(),oe=class extends Y{constructor(Ae){super(Ae),this.type="number",this.unit=Object(Ae).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};Z.registerWalker(oe),ae.exports=oe}}),gu=zt({"node_modules/postcss-values-parser/lib/operator.js"(T,ae){Re();var Z=qs(),Y=ni(),oe=class extends Y{constructor(Ae){super(Ae),this.type="operator"}};Z.registerWalker(oe),ae.exports=oe}}),yu=zt({"node_modules/postcss-values-parser/lib/paren.js"(T,ae){Re();var Z=qs(),Y=ni(),oe=class extends Y{constructor(Ae){super(Ae),this.type="paren",this.parenType=""}};Z.registerWalker(oe),ae.exports=oe}}),Ko=zt({"node_modules/postcss-values-parser/lib/string.js"(T,ae){Re();var Z=qs(),Y=ni(),oe=class extends Y{constructor(Ae){super(Ae),this.type="string"}toString(){let Ae=this.quoted?this.raws.quote:"";return[this.raws.before,Ae,this.value+"",Ae,this.raws.after].join("")}};Z.registerWalker(oe),ae.exports=oe}}),_u=zt({"node_modules/postcss-values-parser/lib/word.js"(T,ae){Re();var Z=qs(),Y=ni(),oe=class extends Y{constructor(Ae){super(Ae),this.type="word"}};Z.registerWalker(oe),ae.exports=oe}}),Du=zt({"node_modules/postcss-values-parser/lib/unicode-range.js"(T,ae){Re();var Z=qs(),Y=ni(),oe=class extends Y{constructor(Ae){super(Ae),this.type="unicode-range"}};Z.registerWalker(oe),ae.exports=oe}});function wi(){throw new Error("setTimeout has not been defined")}function Iu(){throw new Error("clearTimeout has not been defined")}function Ou(T){if(Ba===setTimeout)return setTimeout(T,0);if((Ba===wi||!Ba)&&setTimeout)return Ba=setTimeout,setTimeout(T,0);try{return Ba(T,0)}catch{try{return Ba.call(null,T,0)}catch{return Ba.call(this,T,0)}}}function Ga(T){if(Ws===clearTimeout)return clearTimeout(T);if((Ws===Iu||!Ws)&&clearTimeout)return Ws=clearTimeout,clearTimeout(T);try{return Ws(T)}catch{try{return Ws.call(null,T)}catch{return Ws.call(this,T)}}}function rl(){!Ta||!Xa||(Ta=!1,Xa.length?fa=Xa.concat(fa):_a=-1,fa.length&&Lu())}function Lu(){if(!Ta){var T=Ou(rl);Ta=!0;for(var ae=fa.length;ae;){for(Xa=fa,fa=[];++_a<ae;)Xa&&Xa[_a].run();_a=-1,ae=fa.length}Xa=null,Ta=!1,Ga(T)}}function vu(T){var ae=new Array(arguments.length-1);if(arguments.length>1)for(var Z=1;Z<arguments.length;Z++)ae[Z-1]=arguments[Z];fa.push(new Oo(T,ae)),fa.length===1&&!Ta&&Ou(Lu)}function Oo(T,ae){this.fun=T,this.array=ae}function Na(){}function nl(T){throw new Error("process.binding is not supported")}function Mu(){return"/"}function il(T){throw new Error("process.chdir is not supported")}function ju(){return 0}function sl(T){var ae=ii.call(ri)*.001,Z=Math.floor(ae),Y=Math.floor(ae%1*1e9);return T&&(Z=Z-T[0],Y=Y-T[1],Y<0&&(Z--,Y+=1e9)),[Z,Y]}function xu(){var T=new Date,ae=T-Zn;return ae/1e3}var Ba,Ws,fa,Ta,Xa,_a,Yo,Lo,Qi,bu,Sa,Qo,Cu,bo,Zo,ja,go,Vn,Cn,xn,sn,pn,ri,ii,Zn,vi,Wi,Zi=gn({"node-modules-polyfills:process"(){Re(),Ba=wi,Ws=Iu,typeof globalThis.setTimeout=="function"&&(Ba=setTimeout),typeof globalThis.clearTimeout=="function"&&(Ws=clearTimeout),fa=[],Ta=!1,_a=-1,Oo.prototype.run=function(){this.fun.apply(null,this.array)},Yo="browser",Lo="browser",Qi=!0,bu={},Sa=[],Qo="",Cu={},bo={},Zo={},ja=Na,go=Na,Vn=Na,Cn=Na,xn=Na,sn=Na,pn=Na,ri=globalThis.performance||{},ii=ri.now||ri.mozNow||ri.msNow||ri.oNow||ri.webkitNow||function(){return new Date().getTime()},Zn=new Date,vi={nextTick:vu,title:Yo,browser:Qi,env:bu,argv:Sa,version:Qo,versions:Cu,on:ja,addListener:go,once:Vn,off:Cn,removeListener:xn,removeAllListeners:sn,emit:pn,binding:nl,cwd:Mu,chdir:il,umask:ju,hrtime:sl,platform:Lo,release:bo,config:Zo,uptime:xu},Wi=vi}}),Yn,ji,as=gn({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){Re(),typeof Object.create=="function"?Yn=function(T,ae){T.super_=ae,T.prototype=Object.create(ae.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}})}:Yn=function(T,ae){T.super_=ae;var Z=function(){};Z.prototype=ae.prototype,T.prototype=new Z,T.prototype.constructor=T},ji=Yn}}),Ri={};Kn(Ri,{_extend:()=>Ui,debuglog:()=>Ji,default:()=>Ds,deprecate:()=>da,format:()=>Es,inherits:()=>ji,inspect:()=>Ii,isArray:()=>rt,isBoolean:()=>vt,isBuffer:()=>qr,isDate:()=>_t,isError:()=>ir,isFunction:()=>$r,isNull:()=>wt,isNullOrUndefined:()=>Kt,isNumber:()=>ut,isObject:()=>at,isPrimitive:()=>Nr,isRegExp:()=>Bn,isString:()=>xt,isSymbol:()=>Lt,isUndefined:()=>Jt,log:()=>Ln});function Es(T){if(!xt(T)){for(var ae=[],Z=0;Z<arguments.length;Z++)ae.push(Ii(arguments[Z]));return ae.join(" ")}for(var Z=1,Y=arguments,oe=Y.length,Ae=String(T).replace(cn,function(xe){if(xe==="%%")return"%";if(Z>=oe)return xe;switch(xe){case"%s":return String(Y[Z++]);case"%d":return Number(Y[Z++]);case"%j":try{return JSON.stringify(Y[Z++])}catch{return"[Circular]"}default:return xe}}),Te=Y[Z];Z<oe;Te=Y[++Z])wt(Te)||!at(Te)?Ae+=" "+Te:Ae+=" "+Ii(Te);return Ae}function da(T,ae){if(Jt(globalThis.process))return function(){return da(T,ae).apply(this,arguments)};if(Wi.noDeprecation===!0)return T;var Z=!1;function Y(){if(!Z){if(Wi.throwDeprecation)throw new Error(ae);Wi.traceDeprecation?console.trace(ae):console.error(ae),Z=!0}return T.apply(this,arguments)}return Y}function Ji(T){if(Jt(Si)&&(Si=Wi.env.NODE_DEBUG||""),T=T.toUpperCase(),!xi[T])if(new RegExp("\\b"+T+"\\b","i").test(Si)){var ae=0;xi[T]=function(){var Z=Es.apply(null,arguments);console.error("%s %d: %s",T,ae,Z)}}else xi[T]=function(){};return xi[T]}function Ii(T,ae){var Z={seen:[],stylize:Xs};return arguments.length>=3&&(Z.depth=arguments[2]),arguments.length>=4&&(Z.colors=arguments[3]),vt(ae)?Z.showHidden=ae:ae&&Ui(Z,ae),Jt(Z.showHidden)&&(Z.showHidden=!1),Jt(Z.depth)&&(Z.depth=2),Jt(Z.colors)&&(Z.colors=!1),Jt(Z.customInspect)&&(Z.customInspect=!0),Z.colors&&(Z.stylize=dt),Is(Z,T,Z.depth)}function dt(T,ae){var Z=Ii.styles[ae];return Z?"\x1B["+Ii.colors[Z][0]+"m"+T+"\x1B["+Ii.colors[Z][1]+"m":T}function Xs(T,ae){return T}function Ia(T){var ae={};return T.forEach(function(Z,Y){ae[Z]=!0}),ae}function Is(T,ae,Z){if(T.customInspect&&ae&&$r(ae.inspect)&&ae.inspect!==Ii&&!(ae.constructor&&ae.constructor.prototype===ae)){var Y=ae.inspect(Z,T);return xt(Y)||(Y=Is(T,Y,Z)),Y}var oe=Rs(T,ae);if(oe)return oe;var Ae=Object.keys(ae),Te=Ia(Ae);if(T.showHidden&&(Ae=Object.getOwnPropertyNames(ae)),ir(ae)&&(Ae.indexOf("message")>=0||Ae.indexOf("description")>=0))return ta(ae);if(Ae.length===0){if($r(ae)){var ve=ae.name?": "+ae.name:"";return T.stylize("[Function"+ve+"]","special")}if(Bn(ae))return T.stylize(RegExp.prototype.toString.call(ae),"regexp");if(_t(ae))return T.stylize(Date.prototype.toString.call(ae),"date");if(ir(ae))return ta(ae)}var xe="",Se=!1,P=["{","}"];if(rt(ae)&&(Se=!0,P=["[","]"]),$r(ae)){var b=ae.name?": "+ae.name:"";xe=" [Function"+b+"]"}if(Bn(ae)&&(xe=" "+RegExp.prototype.toString.call(ae)),_t(ae)&&(xe=" "+Date.prototype.toUTCString.call(ae)),ir(ae)&&(xe=" "+ta(ae)),Ae.length===0&&(!Se||ae.length==0))return P[0]+xe+P[1];if(Z<0)return Bn(ae)?T.stylize(RegExp.prototype.toString.call(ae),"regexp"):T.stylize("[Object]","special");T.seen.push(ae);var re;return Se?re=ms(T,ae,Z,Te,Ae):re=Ae.map(function(Q){return Ti(T,ae,Z,Te,Q,Se)}),T.seen.pop(),ie(re,xe,P)}function Rs(T,ae){if(Jt(ae))return T.stylize("undefined","undefined");if(xt(ae)){var Z="'"+JSON.stringify(ae).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return T.stylize(Z,"string")}if(ut(ae))return T.stylize(""+ae,"number");if(vt(ae))return T.stylize(""+ae,"boolean");if(wt(ae))return T.stylize("null","null")}function ta(T){return"["+Error.prototype.toString.call(T)+"]"}function ms(T,ae,Z,Y,oe){for(var Ae=[],Te=0,ve=ae.length;Te<ve;++Te)ps(ae,String(Te))?Ae.push(Ti(T,ae,Z,Y,String(Te),!0)):Ae.push("");return oe.forEach(function(xe){xe.match(/^\d+$/)||Ae.push(Ti(T,ae,Z,Y,xe,!0))}),Ae}function Ti(T,ae,Z,Y,oe,Ae){var Te,ve,xe;if(xe=Object.getOwnPropertyDescriptor(ae,oe)||{value:ae[oe]},xe.get?xe.set?ve=T.stylize("[Getter/Setter]","special"):ve=T.stylize("[Getter]","special"):xe.set&&(ve=T.stylize("[Setter]","special")),ps(Y,oe)||(Te="["+oe+"]"),ve||(T.seen.indexOf(xe.value)<0?(wt(Z)?ve=Is(T,xe.value,null):ve=Is(T,xe.value,Z-1),ve.indexOf(`
|
|
165
|
-
`)>-1&&(Ae?ve=ve.split(`
|
|
166
|
-
`).map(function(Se){return" "+Se}).join(`
|
|
167
|
-
`).substr(2):ve=`
|
|
168
|
-
`+ve.split(`
|
|
169
|
-
`).map(function(Se){return" "+Se}).join(`
|
|
170
|
-
`))):ve=T.stylize("[Circular]","special")),Jt(Te)){if(Ae&&oe.match(/^\d+$/))return ve;Te=JSON.stringify(""+oe),Te.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Te=Te.substr(1,Te.length-2),Te=T.stylize(Te,"name")):(Te=Te.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Te=T.stylize(Te,"string"))}return Te+": "+ve}function ie(T,ae,Z){var Y=0,oe=T.reduce(function(Ae,Te){return Y++,Te.indexOf(`
|
|
171
|
-
`)>=0&&Y++,Ae+Te.replace(/\u001b\[\d\d?m/g,"").length+1},0);return oe>60?Z[0]+(ae===""?"":ae+`
|
|
172
|
-
`)+" "+T.join(`,
|
|
173
|
-
`)+" "+Z[1]:Z[0]+ae+" "+T.join(", ")+" "+Z[1]}function rt(T){return Array.isArray(T)}function vt(T){return typeof T=="boolean"}function wt(T){return T===null}function Kt(T){return T==null}function ut(T){return typeof T=="number"}function xt(T){return typeof T=="string"}function Lt(T){return typeof T=="symbol"}function Jt(T){return T===void 0}function Bn(T){return at(T)&&Ir(T)==="[object RegExp]"}function at(T){return typeof T=="object"&&T!==null}function _t(T){return at(T)&&Ir(T)==="[object Date]"}function ir(T){return at(T)&&(Ir(T)==="[object Error]"||T instanceof Error)}function $r(T){return typeof T=="function"}function Nr(T){return T===null||typeof T=="boolean"||typeof T=="number"||typeof T=="string"||typeof T=="symbol"||typeof T>"u"}function qr(T){return Buffer.isBuffer(T)}function Ir(T){return Object.prototype.toString.call(T)}function _n(T){return T<10?"0"+T.toString(10):T.toString(10)}function In(){var T=new Date,ae=[_n(T.getHours()),_n(T.getMinutes()),_n(T.getSeconds())].join(":");return[T.getDate(),os[T.getMonth()],ae].join(" ")}function Ln(){console.log("%s - %s",In(),Es.apply(null,arguments))}function Ui(T,ae){if(!ae||!at(ae))return T;for(var Z=Object.keys(ae),Y=Z.length;Y--;)T[Z[Y]]=ae[Z[Y]];return T}function ps(T,ae){return Object.prototype.hasOwnProperty.call(T,ae)}var cn,xi,Si,os,Ds,Ke=gn({"node-modules-polyfills:util"(){Re(),Zi(),as(),cn=/%[sdj%]/g,xi={},Ii.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]},Ii.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ds={inherits:ji,_extend:Ui,log:Ln,isBuffer:qr,isPrimitive:Nr,isFunction:$r,isError:ir,isDate:_t,isObject:at,isRegExp:Bn,isUndefined:Jt,isSymbol:Lt,isString:xt,isNumber:ut,isNullOrUndefined:Kt,isNull:wt,isBoolean:vt,isArray:rt,inspect:Ii,deprecate:da,format:Es,debuglog:Ji}}}),gt=zt({"node-modules-polyfills-commonjs:util"(T,ae){Re();var Z=(Ke(),Pt(Ri));if(Z&&Z.default){ae.exports=Z.default;for(let Y in Z)ae.exports[Y]=Z[Y]}else Z&&(ae.exports=Z)}}),Hr=zt({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(T,ae){Re();var Z=class extends Error{constructor(Y){super(Y),this.name=this.constructor.name,this.message=Y||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(Y).stack}};ae.exports=Z}}),pr=zt({"node_modules/postcss-values-parser/lib/tokenize.js"(T,ae){Re();var Z="{".charCodeAt(0),Y="}".charCodeAt(0),oe="(".charCodeAt(0),Ae=")".charCodeAt(0),Te="'".charCodeAt(0),ve='"'.charCodeAt(0),xe="\\".charCodeAt(0),Se="/".charCodeAt(0),P=".".charCodeAt(0),b=",".charCodeAt(0),re=":".charCodeAt(0),Q="*".charCodeAt(0),Oe="-".charCodeAt(0),ke="+".charCodeAt(0),Ye="#".charCodeAt(0),Ue=`
|
|
174
|
-
`.charCodeAt(0),_e=" ".charCodeAt(0),Et="\f".charCodeAt(0),Ft=" ".charCodeAt(0),Ht="\r".charCodeAt(0),un="@".charCodeAt(0),Mn="e".charCodeAt(0),Hn="E".charCodeAt(0),bi="0".charCodeAt(0),en="9".charCodeAt(0),Bi="u".charCodeAt(0),di="U".charCodeAt(0),Ci=/[ \n\t\r\{\(\)'"\\;,/]/g,Dn=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Gr=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,bn=/^[a-z0-9]/i,Lr=/^[a-f0-9?\-]/i,Vs=gt(),xs=Hr();ae.exports=function(ts,rs){rs=rs||{};let Gi=[],Qn=ts.valueOf(),zi=Qn.length,Fi=-1,ki=1,Ut=0,vr=0,_r=null,On,Rt,oi,Xn,ra,na,Os,Aa,va,Qs,La;function ia(Zs){let sa=Vs.format("Unclosed %s at line: %d, column: %d, token: %d",Zs,ki,Ut-Fi,Ut);throw new xs(sa)}for(;Ut<zi;){switch(On=Qn.charCodeAt(Ut),On===Ue&&(Fi=Ut,ki+=1),On){case Ue:case _e:case Ft:case Ht:case Et:Rt=Ut;do Rt+=1,On=Qn.charCodeAt(Rt),On===Ue&&(Fi=Rt,ki+=1);while(On===_e||On===Ue||On===Ft||On===Ht||On===Et);Gi.push(["space",Qn.slice(Ut,Rt),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt-1;break;case re:Rt=Ut+1,Gi.push(["colon",Qn.slice(Ut,Rt),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt-1;break;case b:Rt=Ut+1,Gi.push(["comma",Qn.slice(Ut,Rt),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt-1;break;case Z:Gi.push(["{","{",ki,Ut-Fi,ki,Rt-Fi,Ut]);break;case Y:Gi.push(["}","}",ki,Ut-Fi,ki,Rt-Fi,Ut]);break;case oe:vr++,_r=!_r&&vr===1&&Gi.length>0&&Gi[Gi.length-1][0]==="word"&&Gi[Gi.length-1][1]==="url",Gi.push(["(","(",ki,Ut-Fi,ki,Rt-Fi,Ut]);break;case Ae:vr--,_r=_r&&vr>0,Gi.push([")",")",ki,Ut-Fi,ki,Rt-Fi,Ut]);break;case Te:case ve:oi=On===Te?"'":'"',Rt=Ut;do for(va=!1,Rt=Qn.indexOf(oi,Rt+1),Rt===-1&&ia("quote"),Qs=Rt;Qn.charCodeAt(Qs-1)===xe;)Qs-=1,va=!va;while(va);Gi.push(["string",Qn.slice(Ut,Rt+1),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt;break;case un:Ci.lastIndex=Ut+1,Ci.test(Qn),Ci.lastIndex===0?Rt=Qn.length-1:Rt=Ci.lastIndex-2,Gi.push(["atword",Qn.slice(Ut,Rt+1),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt;break;case xe:Rt=Ut,On=Qn.charCodeAt(Rt+1),Gi.push(["word",Qn.slice(Ut,Rt+1),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt;break;case ke:case Oe:case Q:if(Rt=Ut+1,La=Qn.slice(Ut+1,Rt+1),Qn.slice(Ut-1,Ut),On===Oe&&La.charCodeAt(0)===Oe){Rt++,Gi.push(["word",Qn.slice(Ut,Rt),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt-1;break}Gi.push(["operator",Qn.slice(Ut,Rt),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt-1;break;default:if(On===Se&&(Qn.charCodeAt(Ut+1)===Q||rs.loose&&!_r&&Qn.charCodeAt(Ut+1)===Se)){if(Qn.charCodeAt(Ut+1)===Q)Rt=Qn.indexOf("*/",Ut+2)+1,Rt===0&&ia("comment");else{let Zs=Qn.indexOf(`
|
|
175
|
-
`,Ut+2);Rt=Zs!==-1?Zs-1:zi}na=Qn.slice(Ut,Rt+1),Xn=na.split(`
|
|
176
|
-
`),ra=Xn.length-1,ra>0?(Os=ki+ra,Aa=Rt-Xn[ra].length):(Os=ki,Aa=Fi),Gi.push(["comment",na,ki,Ut-Fi,Os,Rt-Aa,Ut]),Fi=Aa,ki=Os,Ut=Rt}else if(On===Ye&&!bn.test(Qn.slice(Ut+1,Ut+2)))Rt=Ut+1,Gi.push(["#",Qn.slice(Ut,Rt),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt-1;else if((On===Bi||On===di)&&Qn.charCodeAt(Ut+1)===ke){Rt=Ut+2;do Rt+=1,On=Qn.charCodeAt(Rt);while(Rt<zi&&Lr.test(Qn.slice(Rt,Rt+1)));Gi.push(["unicoderange",Qn.slice(Ut,Rt),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt-1}else if(On===Se)Rt=Ut+1,Gi.push(["operator",Qn.slice(Ut,Rt),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt-1;else{let Zs=Dn;if(On>=bi&&On<=en&&(Zs=Gr),Zs.lastIndex=Ut+1,Zs.test(Qn),Zs.lastIndex===0?Rt=Qn.length-1:Rt=Zs.lastIndex-2,Zs===Gr||On===P){let sa=Qn.charCodeAt(Rt),Sl=Qn.charCodeAt(Rt+1),Ju=Qn.charCodeAt(Rt+2);(sa===Mn||sa===Hn)&&(Sl===Oe||Sl===ke)&&Ju>=bi&&Ju<=en&&(Gr.lastIndex=Rt+2,Gr.test(Qn),Gr.lastIndex===0?Rt=Qn.length-1:Rt=Gr.lastIndex-2)}Gi.push(["word",Qn.slice(Ut,Rt+1),ki,Ut-Fi,ki,Rt-Fi,Ut]),Ut=Rt}break}Ut++}return Gi}}}),En=zt({"node_modules/flatten/index.js"(T,ae){Re(),ae.exports=function(Z,Y){if(Y=typeof Y=="number"?Y:1/0,!Y)return Array.isArray(Z)?Z.map(function(Ae){return Ae}):Z;return oe(Z,1);function oe(Ae,Te){return Ae.reduce(function(ve,xe){return Array.isArray(xe)&&Te<Y?ve.concat(oe(xe,Te+1)):ve.concat(xe)},[])}}}}),Vi=zt({"node_modules/indexes-of/index.js"(T,ae){Re(),ae.exports=function(Z,Y){for(var oe=-1,Ae=[];(oe=Z.indexOf(Y,oe+1))!==-1;)Ae.push(oe);return Ae}}}),vs=zt({"node_modules/uniq/uniq.js"(T,ae){Re();function Z(Ae,Te){for(var ve=1,xe=Ae.length,Se=Ae[0],P=Ae[0],b=1;b<xe;++b)if(P=Se,Se=Ae[b],Te(Se,P)){if(b===ve){ve++;continue}Ae[ve++]=Se}return Ae.length=ve,Ae}function Y(Ae){for(var Te=1,ve=Ae.length,xe=Ae[0],Se=Ae[0],P=1;P<ve;++P,Se=xe)if(Se=xe,xe=Ae[P],xe!==Se){if(P===Te){Te++;continue}Ae[Te++]=xe}return Ae.length=Te,Ae}function oe(Ae,Te,ve){return Ae.length===0?Ae:Te?(ve||Ae.sort(Te),Z(Ae,Te)):(ve||Ae.sort(),Y(Ae))}ae.exports=oe}}),zs=zt({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(T,ae){Re();var Z=class extends Error{constructor(Y){super(Y),this.name=this.constructor.name,this.message=Y||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(Y).stack}};ae.exports=Z}}),Us=zt({"node_modules/postcss-values-parser/lib/parser.js"(T,ae){Re();var Z=Xo(),Y=Io(),oe=Ma(),Ae=du(),Te=mu(),ve=fo(),xe=mo(),Se=Jo(),P=gu(),b=yu(),re=Ko(),Q=_u(),Oe=Du(),ke=pr(),Ye=En(),Ue=Vi(),_e=vs(),Et=zs();function Ft(Ht){return Ht.sort((un,Mn)=>un-Mn)}ae.exports=class{constructor(Ht,un){let Mn={loose:!1};this.cache=[],this.input=Ht,this.options=Object.assign({},Mn,un),this.position=0,this.unbalanced=0,this.root=new Z;let Hn=new Y;this.root.append(Hn),this.current=Hn,this.tokens=ke(Ht,this.options)}parse(){return this.loop()}colon(){let Ht=this.currToken;this.newNode(new Ae({value:Ht[1],source:{start:{line:Ht[2],column:Ht[3]},end:{line:Ht[4],column:Ht[5]}},sourceIndex:Ht[6]})),this.position++}comma(){let Ht=this.currToken;this.newNode(new Te({value:Ht[1],source:{start:{line:Ht[2],column:Ht[3]},end:{line:Ht[4],column:Ht[5]}},sourceIndex:Ht[6]})),this.position++}comment(){let Ht=!1,un=this.currToken[1].replace(/\/\*|\*\//g,""),Mn;this.options.loose&&un.startsWith("//")&&(un=un.substring(2),Ht=!0),Mn=new ve({value:un,inline:Ht,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(Mn),this.position++}error(Ht,un){throw new Et(Ht+" at line: ".concat(un[2],", column ").concat(un[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 Ht=this.currToken[1],un;if(Ht==="+"||Ht==="-"){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 un=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(un)}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 Ht=1,un=this.position+1,Mn=this.currToken,Hn;for(;un<this.tokens.length&&Ht;){let bi=this.tokens[un];bi[0]==="("&&Ht++,bi[0]===")"&&Ht--,un++}if(Ht&&this.error("Expected closing parenthesis",Mn),Hn=this.current.last,Hn&&Hn.type==="func"&&Hn.unbalanced<0&&(Hn.unbalanced=0,this.current=Hn),this.current.unbalanced++,this.newNode(new b({value:Mn[1],source:{start:{line:Mn[2],column:Mn[3]},end:{line:Mn[4],column:Mn[5]}},sourceIndex:Mn[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 bi=this.nextToken,en=this.currToken[1],Bi={line:this.currToken[2],column:this.currToken[3]};for(;bi&&bi[0]!==")"&&this.current.unbalanced;)this.position++,en+=this.currToken[1],bi=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Q({value:en,source:{start:Bi,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let Ht=this.currToken;this.newNode(new b({value:Ht[1],source:{start:{line:Ht[2],column:Ht[3]},end:{line:Ht[4],column:Ht[5]}},sourceIndex:Ht[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",Ht),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let Ht=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=Ht[1],this.position++):(this.spaces=Ht[1],this.position++)}unicodeRange(){let Ht=this.currToken;this.newNode(new Oe({value:Ht[1],source:{start:{line:Ht[2],column:Ht[3]},end:{line:Ht[4],column:Ht[5]}},sourceIndex:Ht[6]})),this.position++}splitWord(){let Ht=this.nextToken,un=this.currToken[1],Mn=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,Hn=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,bi,en;if(!Hn.test(un))for(;Ht&&Ht[0]==="word";)this.position++,un+=this.currToken[1],Ht=this.nextToken;bi=Ue(un,"@"),en=Ft(_e(Ye([[0],bi]))),en.forEach((Bi,di)=>{let Ci=en[di+1]||un.length,Dn=un.slice(Bi,Ci),Gr;if(~bi.indexOf(Bi))Gr=new oe({value:Dn.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+Bi},end:{line:this.currToken[4],column:this.currToken[3]+(Ci-1)}},sourceIndex:this.currToken[6]+en[di]});else if(Mn.test(this.currToken[1])){let bn=Dn.replace(Mn,"");Gr=new Se({value:Dn.replace(bn,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+Bi},end:{line:this.currToken[4],column:this.currToken[3]+(Ci-1)}},sourceIndex:this.currToken[6]+en[di],unit:bn})}else Gr=new(Ht&&Ht[0]==="("?xe:Q)({value:Dn,source:{start:{line:this.currToken[2],column:this.currToken[3]+Bi},end:{line:this.currToken[4],column:this.currToken[3]+(Ci-1)}},sourceIndex:this.currToken[6]+en[di]}),Gr.type==="word"?(Gr.isHex=/^#(.+)/.test(Dn),Gr.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(Dn)):this.cache.push(this.current);this.newNode(Gr)}),this.position++}string(){let Ht=this.currToken,un=this.currToken[1],Mn=/^(\"|\')/,Hn=Mn.test(un),bi="",en;Hn&&(bi=un.match(Mn)[0],un=un.slice(1,un.length-1)),en=new re({value:un,source:{start:{line:Ht[2],column:Ht[3]},end:{line:Ht[4],column:Ht[5]}},sourceIndex:Ht[6],quoted:Hn}),en.raws.quote=bi,this.newNode(en),this.position++}word(){return this.splitWord()}newNode(Ht){return this.spaces&&(Ht.raws.before+=this.spaces,this.spaces=""),this.current.append(Ht)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}}),ha=zt({"node_modules/postcss-values-parser/lib/index.js"(T,ae){Re();var Z=Us(),Y=Ma(),oe=du(),Ae=mu(),Te=fo(),ve=mo(),xe=Jo(),Se=gu(),P=yu(),b=Ko(),re=Du(),Q=Io(),Oe=_u(),ke=function(Ye,Ue){return new Z(Ye,Ue)};ke.atword=function(Ye){return new Y(Ye)},ke.colon=function(Ye){return new oe(Object.assign({value:":"},Ye))},ke.comma=function(Ye){return new Ae(Object.assign({value:","},Ye))},ke.comment=function(Ye){return new Te(Ye)},ke.func=function(Ye){return new ve(Ye)},ke.number=function(Ye){return new xe(Ye)},ke.operator=function(Ye){return new Se(Ye)},ke.paren=function(Ye){return new P(Object.assign({value:"("},Ye))},ke.string=function(Ye){return new b(Object.assign({quote:"'"},Ye))},ke.value=function(Ye){return new Q(Ye)},ke.word=function(Ye){return new Oe(Ye)},ke.unicodeRange=function(Ye){return new re(Ye)},ae.exports=ke}}),gs=zt({"node_modules/postcss-selector-parser/dist/selectors/node.js"(T,ae){Re(),T.__esModule=!0;var Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Te){return typeof Te}:function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te};function Y(Te,ve){if(!(Te instanceof ve))throw new TypeError("Cannot call a class as a function")}var oe=function Te(ve,xe){if((typeof ve>"u"?"undefined":Z(ve))!=="object")return ve;var Se=new ve.constructor;for(var P in ve)if(ve.hasOwnProperty(P)){var b=ve[P],re=typeof b>"u"?"undefined":Z(b);P==="parent"&&re==="object"?xe&&(Se[P]=xe):b instanceof Array?Se[P]=b.map(function(Q){return Te(Q,Se)}):Se[P]=Te(b,Se)}return Se},Ae=function(){function Te(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Y(this,Te);for(var xe in ve)this[xe]=ve[xe];var Se=ve.spaces;Se=Se===void 0?{}:Se;var P=Se.before,b=P===void 0?"":P,re=Se.after,Q=re===void 0?"":re;this.spaces={before:b,after:Q}}return Te.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},Te.prototype.replaceWith=function(){if(this.parent){for(var ve in arguments)this.parent.insertBefore(this,arguments[ve]);this.remove()}return this},Te.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},Te.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},Te.prototype.clone=function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},xe=oe(this);for(var Se in ve)xe[Se]=ve[Se];return xe},Te.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},Te}();T.default=Ae,ae.exports=T.default}}),ws=zt({"node_modules/postcss-selector-parser/dist/selectors/types.js"(T){Re(),T.__esModule=!0,T.TAG="tag",T.STRING="string",T.SELECTOR="selector",T.ROOT="root",T.PSEUDO="pseudo",T.NESTING="nesting",T.ID="id",T.COMMENT="comment",T.COMBINATOR="combinator",T.CLASS="class",T.ATTRIBUTE="attribute",T.UNIVERSAL="universal"}}),Ts=zt({"node_modules/postcss-selector-parser/dist/selectors/container.js"(T,ae){Re(),T.__esModule=!0;var Z=function(){function Q(Oe,ke){for(var Ye=0;Ye<ke.length;Ye++){var Ue=ke[Ye];Ue.enumerable=Ue.enumerable||!1,Ue.configurable=!0,"value"in Ue&&(Ue.writable=!0),Object.defineProperty(Oe,Ue.key,Ue)}}return function(Oe,ke,Ye){return ke&&Q(Oe.prototype,ke),Ye&&Q(Oe,Ye),Oe}}(),Y=gs(),oe=xe(Y),Ae=ws(),Te=ve(Ae);function ve(Q){if(Q&&Q.__esModule)return Q;var Oe={};if(Q!=null)for(var ke in Q)Object.prototype.hasOwnProperty.call(Q,ke)&&(Oe[ke]=Q[ke]);return Oe.default=Q,Oe}function xe(Q){return Q&&Q.__esModule?Q:{default:Q}}function Se(Q,Oe){if(!(Q instanceof Oe))throw new TypeError("Cannot call a class as a function")}function P(Q,Oe){if(!Q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe&&(typeof Oe=="object"||typeof Oe=="function")?Oe:Q}function b(Q,Oe){if(typeof Oe!="function"&&Oe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Oe);Q.prototype=Object.create(Oe&&Oe.prototype,{constructor:{value:Q,enumerable:!1,writable:!0,configurable:!0}}),Oe&&(Object.setPrototypeOf?Object.setPrototypeOf(Q,Oe):Q.__proto__=Oe)}var re=function(Q){b(Oe,Q);function Oe(ke){Se(this,Oe);var Ye=P(this,Q.call(this,ke));return Ye.nodes||(Ye.nodes=[]),Ye}return Oe.prototype.append=function(ke){return ke.parent=this,this.nodes.push(ke),this},Oe.prototype.prepend=function(ke){return ke.parent=this,this.nodes.unshift(ke),this},Oe.prototype.at=function(ke){return this.nodes[ke]},Oe.prototype.index=function(ke){return typeof ke=="number"?ke:this.nodes.indexOf(ke)},Oe.prototype.removeChild=function(ke){ke=this.index(ke),this.at(ke).parent=void 0,this.nodes.splice(ke,1);var Ye=void 0;for(var Ue in this.indexes)Ye=this.indexes[Ue],Ye>=ke&&(this.indexes[Ue]=Ye-1);return this},Oe.prototype.removeAll=function(){for(var Ue=this.nodes,ke=Array.isArray(Ue),Ye=0,Ue=ke?Ue:Ue[Symbol.iterator]();;){var _e;if(ke){if(Ye>=Ue.length)break;_e=Ue[Ye++]}else{if(Ye=Ue.next(),Ye.done)break;_e=Ye.value}var Et=_e;Et.parent=void 0}return this.nodes=[],this},Oe.prototype.empty=function(){return this.removeAll()},Oe.prototype.insertAfter=function(ke,Ye){var Ue=this.index(ke);this.nodes.splice(Ue+1,0,Ye);var _e=void 0;for(var Et in this.indexes)_e=this.indexes[Et],Ue<=_e&&(this.indexes[Et]=_e+this.nodes.length);return this},Oe.prototype.insertBefore=function(ke,Ye){var Ue=this.index(ke);this.nodes.splice(Ue,0,Ye);var _e=void 0;for(var Et in this.indexes)_e=this.indexes[Et],Ue<=_e&&(this.indexes[Et]=_e+this.nodes.length);return this},Oe.prototype.each=function(ke){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Ye=this.lastEach;if(this.indexes[Ye]=0,!!this.length){for(var Ue=void 0,_e=void 0;this.indexes[Ye]<this.length&&(Ue=this.indexes[Ye],_e=ke(this.at(Ue),Ue),_e!==!1);)this.indexes[Ye]+=1;if(delete this.indexes[Ye],_e===!1)return!1}},Oe.prototype.walk=function(ke){return this.each(function(Ye,Ue){var _e=ke(Ye,Ue);if(_e!==!1&&Ye.length&&(_e=Ye.walk(ke)),_e===!1)return!1})},Oe.prototype.walkAttributes=function(ke){var Ye=this;return this.walk(function(Ue){if(Ue.type===Te.ATTRIBUTE)return ke.call(Ye,Ue)})},Oe.prototype.walkClasses=function(ke){var Ye=this;return this.walk(function(Ue){if(Ue.type===Te.CLASS)return ke.call(Ye,Ue)})},Oe.prototype.walkCombinators=function(ke){var Ye=this;return this.walk(function(Ue){if(Ue.type===Te.COMBINATOR)return ke.call(Ye,Ue)})},Oe.prototype.walkComments=function(ke){var Ye=this;return this.walk(function(Ue){if(Ue.type===Te.COMMENT)return ke.call(Ye,Ue)})},Oe.prototype.walkIds=function(ke){var Ye=this;return this.walk(function(Ue){if(Ue.type===Te.ID)return ke.call(Ye,Ue)})},Oe.prototype.walkNesting=function(ke){var Ye=this;return this.walk(function(Ue){if(Ue.type===Te.NESTING)return ke.call(Ye,Ue)})},Oe.prototype.walkPseudos=function(ke){var Ye=this;return this.walk(function(Ue){if(Ue.type===Te.PSEUDO)return ke.call(Ye,Ue)})},Oe.prototype.walkTags=function(ke){var Ye=this;return this.walk(function(Ue){if(Ue.type===Te.TAG)return ke.call(Ye,Ue)})},Oe.prototype.walkUniversals=function(ke){var Ye=this;return this.walk(function(Ue){if(Ue.type===Te.UNIVERSAL)return ke.call(Ye,Ue)})},Oe.prototype.split=function(ke){var Ye=this,Ue=[];return this.reduce(function(_e,Et,Ft){var Ht=ke.call(Ye,Et);return Ue.push(Et),Ht?(_e.push(Ue),Ue=[]):Ft===Ye.length-1&&_e.push(Ue),_e},[])},Oe.prototype.map=function(ke){return this.nodes.map(ke)},Oe.prototype.reduce=function(ke,Ye){return this.nodes.reduce(ke,Ye)},Oe.prototype.every=function(ke){return this.nodes.every(ke)},Oe.prototype.some=function(ke){return this.nodes.some(ke)},Oe.prototype.filter=function(ke){return this.nodes.filter(ke)},Oe.prototype.sort=function(ke){return this.nodes.sort(ke)},Oe.prototype.toString=function(){return this.map(String).join("")},Z(Oe,[{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}}]),Oe}(oe.default);T.default=re,ae.exports=T.default}}),Da=zt({"node_modules/postcss-selector-parser/dist/selectors/root.js"(T,ae){Re(),T.__esModule=!0;var Z=Ts(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.ROOT,Q}return b.prototype.toString=function(){var re=this.reduce(function(Q,Oe){var ke=String(Oe);return ke?Q+ke+",":""},"").slice(0,-1);return this.trailingComma?re+",":re},b}(Y.default);T.default=Se,ae.exports=T.default}}),An=zt({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(T,ae){Re(),T.__esModule=!0;var Z=Ts(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.SELECTOR,Q}return b}(Y.default);T.default=Se,ae.exports=T.default}}),Rn=zt({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(T,ae){Re(),T.__esModule=!0;var Z=function(){function P(b,re){for(var Q=0;Q<re.length;Q++){var Oe=re[Q];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,"value"in Oe&&(Oe.writable=!0),Object.defineProperty(b,Oe.key,Oe)}}return function(b,re,Q){return re&&P(b.prototype,re),Q&&P(b,Q),b}}(),Y=gs(),oe=Ae(Y);function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(){return Te(this,b),ve(this,P.apply(this,arguments))}return b.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},Z(b,[{key:"ns",get:function(){var re=this.namespace;return re?(typeof re=="string"?re:"")+"|":""}}]),b}(oe.default);T.default=Se,ae.exports=T.default}}),pi=zt({"node_modules/postcss-selector-parser/dist/selectors/className.js"(T,ae){Re(),T.__esModule=!0;var Z=Rn(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.CLASS,Q}return b.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},b}(Y.default);T.default=Se,ae.exports=T.default}}),hi=zt({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(T,ae){Re(),T.__esModule=!0;var Z=gs(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.COMMENT,Q}return b}(Y.default);T.default=Se,ae.exports=T.default}}),Ni=zt({"node_modules/postcss-selector-parser/dist/selectors/id.js"(T,ae){Re(),T.__esModule=!0;var Z=Rn(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.ID,Q}return b.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},b}(Y.default);T.default=Se,ae.exports=T.default}}),ks=zt({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(T,ae){Re(),T.__esModule=!0;var Z=Rn(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.TAG,Q}return b}(Y.default);T.default=Se,ae.exports=T.default}}),Ss=zt({"node_modules/postcss-selector-parser/dist/selectors/string.js"(T,ae){Re(),T.__esModule=!0;var Z=gs(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.STRING,Q}return b}(Y.default);T.default=Se,ae.exports=T.default}}),Ks=zt({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(T,ae){Re(),T.__esModule=!0;var Z=Ts(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.PSEUDO,Q}return b.prototype.toString=function(){var re=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),re,this.spaces.after].join("")},b}(Y.default);T.default=Se,ae.exports=T.default}}),ua=zt({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(T,ae){Re(),T.__esModule=!0;var Z=Rn(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.ATTRIBUTE,Q.raws={},Q}return b.prototype.toString=function(){var re=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&re.push(this.operator),this.value&&re.push(this.value),this.raws.insensitive?re.push(this.raws.insensitive):this.insensitive&&re.push(" i"),re.push("]"),re.concat(this.spaces.after).join("")},b}(Y.default);T.default=Se,ae.exports=T.default}}),Ja=zt({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(T,ae){Re(),T.__esModule=!0;var Z=Rn(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.UNIVERSAL,Q.value="*",Q}return b}(Y.default);T.default=Se,ae.exports=T.default}}),Ka=zt({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(T,ae){Re(),T.__esModule=!0;var Z=gs(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.COMBINATOR,Q}return b}(Y.default);T.default=Se,ae.exports=T.default}}),Ra=zt({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(T,ae){Re(),T.__esModule=!0;var Z=gs(),Y=Ae(Z),oe=ws();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,b){if(!(P instanceof b))throw new TypeError("Cannot call a class as a function")}function ve(P,b){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:P}function xe(P,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);P.prototype=Object.create(b&&b.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(P,b):P.__proto__=b)}var Se=function(P){xe(b,P);function b(re){Te(this,b);var Q=ve(this,P.call(this,re));return Q.type=oe.NESTING,Q.value="&",Q}return b}(Y.default);T.default=Se,ae.exports=T.default}}),eu=zt({"node_modules/postcss-selector-parser/dist/sortAscending.js"(T,ae){Re(),T.__esModule=!0,T.default=Z;function Z(Y){return Y.sort(function(oe,Ae){return oe-Ae})}ae.exports=T.default}}),tu=zt({"node_modules/postcss-selector-parser/dist/tokenize.js"(T,ae){Re(),T.__esModule=!0,T.default=Bi;var Z=39,Y=34,oe=92,Ae=47,Te=10,ve=32,xe=12,Se=9,P=13,b=43,re=62,Q=126,Oe=124,ke=44,Ye=40,Ue=41,_e=91,Et=93,Ft=59,Ht=42,un=58,Mn=38,Hn=64,bi=/[ \n\t\r\{\(\)'"\\;/]/g,en=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function Bi(di){for(var Ci=[],Dn=di.css.valueOf(),Gr=void 0,bn=void 0,Lr=void 0,Vs=void 0,xs=void 0,ts=void 0,rs=void 0,Gi=void 0,Qn=void 0,zi=void 0,Fi=void 0,ki=Dn.length,Ut=-1,vr=1,_r=0,On=function(Rt,oi){if(di.safe)Dn+=oi,bn=Dn.length-1;else throw di.error("Unclosed "+Rt,vr,_r-Ut,_r)};_r<ki;){switch(Gr=Dn.charCodeAt(_r),Gr===Te&&(Ut=_r,vr+=1),Gr){case Te:case ve:case Se:case P:case xe:bn=_r;do bn+=1,Gr=Dn.charCodeAt(bn),Gr===Te&&(Ut=bn,vr+=1);while(Gr===ve||Gr===Te||Gr===Se||Gr===P||Gr===xe);Ci.push(["space",Dn.slice(_r,bn),vr,_r-Ut,_r]),_r=bn-1;break;case b:case re:case Q:case Oe:bn=_r;do bn+=1,Gr=Dn.charCodeAt(bn);while(Gr===b||Gr===re||Gr===Q||Gr===Oe);Ci.push(["combinator",Dn.slice(_r,bn),vr,_r-Ut,_r]),_r=bn-1;break;case Ht:Ci.push(["*","*",vr,_r-Ut,_r]);break;case Mn:Ci.push(["&","&",vr,_r-Ut,_r]);break;case ke:Ci.push([",",",",vr,_r-Ut,_r]);break;case _e:Ci.push(["[","[",vr,_r-Ut,_r]);break;case Et:Ci.push(["]","]",vr,_r-Ut,_r]);break;case un:Ci.push([":",":",vr,_r-Ut,_r]);break;case Ft:Ci.push([";",";",vr,_r-Ut,_r]);break;case Ye:Ci.push(["(","(",vr,_r-Ut,_r]);break;case Ue:Ci.push([")",")",vr,_r-Ut,_r]);break;case Z:case Y:Lr=Gr===Z?"'":'"',bn=_r;do for(zi=!1,bn=Dn.indexOf(Lr,bn+1),bn===-1&&On("quote",Lr),Fi=bn;Dn.charCodeAt(Fi-1)===oe;)Fi-=1,zi=!zi;while(zi);Ci.push(["string",Dn.slice(_r,bn+1),vr,_r-Ut,vr,bn-Ut,_r]),_r=bn;break;case Hn:bi.lastIndex=_r+1,bi.test(Dn),bi.lastIndex===0?bn=Dn.length-1:bn=bi.lastIndex-2,Ci.push(["at-word",Dn.slice(_r,bn+1),vr,_r-Ut,vr,bn-Ut,_r]),_r=bn;break;case oe:for(bn=_r,rs=!0;Dn.charCodeAt(bn+1)===oe;)bn+=1,rs=!rs;Gr=Dn.charCodeAt(bn+1),rs&&Gr!==Ae&&Gr!==ve&&Gr!==Te&&Gr!==Se&&Gr!==P&&Gr!==xe&&(bn+=1),Ci.push(["word",Dn.slice(_r,bn+1),vr,_r-Ut,vr,bn-Ut,_r]),_r=bn;break;default:Gr===Ae&&Dn.charCodeAt(_r+1)===Ht?(bn=Dn.indexOf("*/",_r+2)+1,bn===0&&On("comment","*/"),ts=Dn.slice(_r,bn+1),Vs=ts.split(`
|
|
177
|
-
`),xs=Vs.length-1,xs>0?(Gi=vr+xs,Qn=bn-Vs[xs].length):(Gi=vr,Qn=Ut),Ci.push(["comment",ts,vr,_r-Ut,Gi,bn-Qn,_r]),Ut=Qn,vr=Gi,_r=bn):(en.lastIndex=_r+1,en.test(Dn),en.lastIndex===0?bn=Dn.length-1:bn=en.lastIndex-2,Ci.push(["word",Dn.slice(_r,bn+1),vr,_r-Ut,vr,bn-Ut,_r]),_r=bn);break}_r++}return Ci}ae.exports=T.default}}),ba=zt({"node_modules/postcss-selector-parser/dist/parser.js"(T,ae){Re(),T.__esModule=!0;var Z=function(){function Ut(vr,_r){for(var On=0;On<_r.length;On++){var Rt=_r[On];Rt.enumerable=Rt.enumerable||!1,Rt.configurable=!0,"value"in Rt&&(Rt.writable=!0),Object.defineProperty(vr,Rt.key,Rt)}}return function(vr,_r,On){return _r&&Ut(vr.prototype,_r),On&&Ut(vr,On),vr}}(),Y=En(),oe=zi(Y),Ae=Vi(),Te=zi(Ae),ve=vs(),xe=zi(ve),Se=Da(),P=zi(Se),b=An(),re=zi(b),Q=pi(),Oe=zi(Q),ke=hi(),Ye=zi(ke),Ue=Ni(),_e=zi(Ue),Et=ks(),Ft=zi(Et),Ht=Ss(),un=zi(Ht),Mn=Ks(),Hn=zi(Mn),bi=ua(),en=zi(bi),Bi=Ja(),di=zi(Bi),Ci=Ka(),Dn=zi(Ci),Gr=Ra(),bn=zi(Gr),Lr=eu(),Vs=zi(Lr),xs=tu(),ts=zi(xs),rs=ws(),Gi=Qn(rs);function Qn(Ut){if(Ut&&Ut.__esModule)return Ut;var vr={};if(Ut!=null)for(var _r in Ut)Object.prototype.hasOwnProperty.call(Ut,_r)&&(vr[_r]=Ut[_r]);return vr.default=Ut,vr}function zi(Ut){return Ut&&Ut.__esModule?Ut:{default:Ut}}function Fi(Ut,vr){if(!(Ut instanceof vr))throw new TypeError("Cannot call a class as a function")}var ki=function(){function Ut(vr){Fi(this,Ut),this.input=vr,this.lossy=vr.options.lossless===!1,this.position=0,this.root=new P.default;var _r=new re.default;return this.root.append(_r),this.current=_r,this.lossy?this.tokens=(0,ts.default)({safe:vr.safe,css:vr.css.trim()}):this.tokens=(0,ts.default)(vr),this.loop()}return Ut.prototype.attribute=function(){var vr="",_r=void 0,On=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)vr+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~vr.indexOf("]")&&this.error("Expected a closing square bracket.");var Rt=vr.split(/((?:[*~^$|]?=))([^]*)/),oi=Rt[0].split(/(\|)/g),Xn={operator:Rt[1],value:Rt[2],source:{start:{line:On[2],column:On[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:On[4]};if(oi.length>1?(oi[0]===""&&(oi[0]=!0),Xn.attribute=this.parseValue(oi[2]),Xn.namespace=this.parseNamespace(oi[0])):Xn.attribute=this.parseValue(Rt[0]),_r=new en.default(Xn),Rt[2]){var ra=Rt[2].split(/(\s+i\s*?)$/),na=ra[0].trim();_r.value=this.lossy?na:ra[0],ra[1]&&(_r.insensitive=!0,this.lossy||(_r.raws.insensitive=ra[1])),_r.quoted=na[0]==="'"||na[0]==='"',_r.raws.unquoted=_r.quoted?na.slice(1,-1):na}this.newNode(_r),this.position++},Ut.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var vr=new Dn.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"?(vr.spaces.before=this.parseSpace(this.currToken[1]),vr.source.start.line=this.nextToken[2],vr.source.start.column=this.nextToken[3],vr.source.end.column=this.nextToken[3],vr.source.end.line=this.nextToken[2],vr.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?vr.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?vr.value=this.currToken[1]:this.currToken[0]==="space"&&(vr.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(vr)},Ut.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var vr=new re.default;this.current.parent.append(vr),this.current=vr,this.position++},Ut.prototype.comment=function(){var vr=new Ye.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(vr),this.position++},Ut.prototype.error=function(vr){throw new this.input.error(vr)},Ut.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},Ut.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},Ut.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},Ut.prototype.namespace=function(){var vr=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(vr);if(this.nextToken[0]==="*")return this.position++,this.universal(vr)},Ut.prototype.nesting=function(){this.newNode(new bn.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++},Ut.prototype.parentheses=function(){var vr=this.current.last;if(vr&&vr.type===Gi.PSEUDO){var _r=new re.default,On=this.current;vr.append(_r),this.current=_r;var Rt=1;for(this.position++;this.position<this.tokens.length&&Rt;)this.currToken[0]==="("&&Rt++,this.currToken[0]===")"&&Rt--,Rt?this.parse():(_r.parent.source.end.line=this.currToken[2],_r.parent.source.end.column=this.currToken[3],this.position++);Rt&&this.error("Expected closing parenthesis."),this.current=On}else{var oi=1;for(this.position++,vr.value+="(";this.position<this.tokens.length&&oi;)this.currToken[0]==="("&&oi++,this.currToken[0]===")"&&oi--,vr.value+=this.parseParenthesisToken(this.currToken),this.position++;oi&&this.error("Expected closing parenthesis.")}},Ut.prototype.pseudo=function(){for(var vr=this,_r="",On=this.currToken;this.currToken&&this.currToken[0]===":";)_r+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var Rt=void 0;this.splitWord(!1,function(oi,Xn){_r+=oi,Rt=new Hn.default({value:_r,source:{start:{line:On[2],column:On[3]},end:{line:vr.currToken[4],column:vr.currToken[5]}},sourceIndex:On[4]}),vr.newNode(Rt),Xn>1&&vr.nextToken&&vr.nextToken[0]==="("&&vr.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Ut.prototype.space=function(){var vr=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(vr[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(vr[1]),this.position++):this.combinator()},Ut.prototype.string=function(){var vr=this.currToken;this.newNode(new un.default({value:this.currToken[1],source:{start:{line:vr[2],column:vr[3]},end:{line:vr[4],column:vr[5]}},sourceIndex:vr[6]})),this.position++},Ut.prototype.universal=function(vr){var _r=this.nextToken;if(_r&&_r[1]==="|")return this.position++,this.namespace();this.newNode(new di.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]}),vr),this.position++},Ut.prototype.splitWord=function(vr,_r){for(var On=this,Rt=this.nextToken,oi=this.currToken[1];Rt&&Rt[0]==="word";){this.position++;var Xn=this.currToken[1];if(oi+=Xn,Xn.lastIndexOf("\\")===Xn.length-1){var ra=this.nextToken;ra&&ra[0]==="space"&&(oi+=this.parseSpace(ra[1]," "),this.position++)}Rt=this.nextToken}var na=(0,Te.default)(oi,"."),Os=(0,Te.default)(oi,"#"),Aa=(0,Te.default)(oi,"#{");Aa.length&&(Os=Os.filter(function(Qs){return!~Aa.indexOf(Qs)}));var va=(0,Vs.default)((0,xe.default)((0,oe.default)([[0],na,Os])));va.forEach(function(Qs,La){var ia=va[La+1]||oi.length,Zs=oi.slice(Qs,ia);if(La===0&&_r)return _r.call(On,Zs,va.length);var sa=void 0;~na.indexOf(Qs)?sa=new Oe.default({value:Zs.slice(1),source:{start:{line:On.currToken[2],column:On.currToken[3]+Qs},end:{line:On.currToken[4],column:On.currToken[3]+(ia-1)}},sourceIndex:On.currToken[6]+va[La]}):~Os.indexOf(Qs)?sa=new _e.default({value:Zs.slice(1),source:{start:{line:On.currToken[2],column:On.currToken[3]+Qs},end:{line:On.currToken[4],column:On.currToken[3]+(ia-1)}},sourceIndex:On.currToken[6]+va[La]}):sa=new Ft.default({value:Zs,source:{start:{line:On.currToken[2],column:On.currToken[3]+Qs},end:{line:On.currToken[4],column:On.currToken[3]+(ia-1)}},sourceIndex:On.currToken[6]+va[La]}),On.newNode(sa,vr)}),this.position++},Ut.prototype.word=function(vr){var _r=this.nextToken;return _r&&_r[1]==="|"?(this.position++,this.namespace()):this.splitWord(vr)},Ut.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Ut.prototype.parse=function(vr){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":vr&&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}},Ut.prototype.parseNamespace=function(vr){if(this.lossy&&typeof vr=="string"){var _r=vr.trim();return _r.length?_r:!0}return vr},Ut.prototype.parseSpace=function(vr,_r){return this.lossy?_r||"":vr},Ut.prototype.parseValue=function(vr){return this.lossy&&vr&&typeof vr=="string"?vr.trim():vr},Ut.prototype.parseParenthesisToken=function(vr){return this.lossy?vr[0]==="space"?this.parseSpace(vr[1]," "):this.parseValue(vr[1]):vr[1]},Ut.prototype.newNode=function(vr,_r){return _r&&(vr.namespace=this.parseNamespace(_r)),this.spaces&&(vr.spaces.before=this.spaces,this.spaces=""),this.current.append(vr)},Z(Ut,[{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]}}]),Ut}();T.default=ki,ae.exports=T.default}}),ma=zt({"node_modules/postcss-selector-parser/dist/processor.js"(T,ae){Re(),T.__esModule=!0;var Z=function(){function xe(Se,P){for(var b=0;b<P.length;b++){var re=P[b];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(Se,re.key,re)}}return function(Se,P,b){return P&&xe(Se.prototype,P),b&&xe(Se,b),Se}}(),Y=ba(),oe=Ae(Y);function Ae(xe){return xe&&xe.__esModule?xe:{default:xe}}function Te(xe,Se){if(!(xe instanceof Se))throw new TypeError("Cannot call a class as a function")}var ve=function(){function xe(Se){return Te(this,xe),this.func=Se||function(){},this}return xe.prototype.process=function(Se){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=new oe.default({css:Se,error:function(re){throw new Error(re)},options:P});return this.res=b,this.func(b),this},Z(xe,[{key:"result",get:function(){return String(this.res)}}]),xe}();T.default=ve,ae.exports=T.default}}),ga=zt({"node_modules/postcss-selector-parser/dist/index.js"(T,ae){Re(),T.__esModule=!0;var Z=ma(),Y=Gr(Z),oe=ua(),Ae=Gr(oe),Te=pi(),ve=Gr(Te),xe=Ka(),Se=Gr(xe),P=hi(),b=Gr(P),re=Ni(),Q=Gr(re),Oe=Ra(),ke=Gr(Oe),Ye=Ks(),Ue=Gr(Ye),_e=Da(),Et=Gr(_e),Ft=An(),Ht=Gr(Ft),un=Ss(),Mn=Gr(un),Hn=ks(),bi=Gr(Hn),en=Ja(),Bi=Gr(en),di=ws(),Ci=Dn(di);function Dn(Lr){if(Lr&&Lr.__esModule)return Lr;var Vs={};if(Lr!=null)for(var xs in Lr)Object.prototype.hasOwnProperty.call(Lr,xs)&&(Vs[xs]=Lr[xs]);return Vs.default=Lr,Vs}function Gr(Lr){return Lr&&Lr.__esModule?Lr:{default:Lr}}var bn=function(Lr){return new Y.default(Lr)};bn.attribute=function(Lr){return new Ae.default(Lr)},bn.className=function(Lr){return new ve.default(Lr)},bn.combinator=function(Lr){return new Se.default(Lr)},bn.comment=function(Lr){return new b.default(Lr)},bn.id=function(Lr){return new Q.default(Lr)},bn.nesting=function(Lr){return new ke.default(Lr)},bn.pseudo=function(Lr){return new Ue.default(Lr)},bn.root=function(Lr){return new Et.default(Lr)},bn.selector=function(Lr){return new Ht.default(Lr)},bn.string=function(Lr){return new Mn.default(Lr)},bn.tag=function(Lr){return new bi.default(Lr)},bn.universal=function(Lr){return new Bi.default(Lr)},Object.keys(Ci).forEach(function(Lr){Lr!=="__esModule"&&(bn[Lr]=Ci[Lr])}),T.default=bn,ae.exports=T.default}}),Ca=zt({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(T){Re(),Object.defineProperty(T,"__esModule",{value:!0});function ae(Z){this.after=Z.after,this.before=Z.before,this.type=Z.type,this.value=Z.value,this.sourceIndex=Z.sourceIndex}T.default=ae}}),hs=zt({"node_modules/postcss-media-query-parser/dist/nodes/Container.js"(T){Re(),Object.defineProperty(T,"__esModule",{value:!0});var ae=Ca(),Z=Y(ae);function Y(Ae){return Ae&&Ae.__esModule?Ae:{default:Ae}}function oe(Ae){var Te=this;this.constructor(Ae),this.nodes=Ae.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(ve){ve.parent=Te})}oe.prototype=Object.create(Z.default.prototype),oe.constructor=Z.default,oe.prototype.walk=function(Ae,Te){for(var ve=typeof Ae=="string"||Ae instanceof RegExp,xe=ve?Te:Ae,Se=typeof Ae=="string"?new RegExp(Ae):Ae,P=0;P<this.nodes.length;P++){var b=this.nodes[P],re=ve?Se.test(b.type):!0;if(re&&xe&&xe(b,P,this.nodes)===!1||b.nodes&&b.walk(Ae,Te)===!1)return!1}return!0},oe.prototype.each=function(){for(var Ae=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],Te=0;Te<this.nodes.length;Te++){var ve=this.nodes[Te];if(Ae(ve,Te,this.nodes)===!1)return!1}return!0},T.default=oe}}),za=zt({"node_modules/postcss-media-query-parser/dist/parsers.js"(T){Re(),Object.defineProperty(T,"__esModule",{value:!0}),T.parseMediaFeature=Te,T.parseMediaQuery=ve,T.parseMediaList=xe;var ae=Ca(),Z=Ae(ae),Y=hs(),oe=Ae(Y);function Ae(Se){return Se&&Se.__esModule?Se:{default:Se}}function Te(Se){var P=arguments.length<=1||arguments[1]===void 0?0:arguments[1],b=[{mode:"normal",character:null}],re=[],Q=0,Oe="",ke=null,Ye=null,Ue=P,_e=Se;Se[0]==="("&&Se[Se.length-1]===")"&&(_e=Se.substring(1,Se.length-1),Ue++);for(var Et=0;Et<_e.length;Et++){var Ft=_e[Et];if((Ft==="'"||Ft==='"')&&(b[Q].isCalculationEnabled===!0?(b.push({mode:"string",isCalculationEnabled:!1,character:Ft}),Q++):b[Q].mode==="string"&&b[Q].character===Ft&&_e[Et-1]!=="\\"&&(b.pop(),Q--)),Ft==="{"?(b.push({mode:"interpolation",isCalculationEnabled:!0}),Q++):Ft==="}"&&(b.pop(),Q--),b[Q].mode==="normal"&&Ft===":"){var Ht=_e.substring(Et+1);Ye={type:"value",before:/^(\s*)/.exec(Ht)[1],after:/(\s*)$/.exec(Ht)[1],value:Ht.trim()},Ye.sourceIndex=Ye.before.length+Et+1+Ue,ke={type:"colon",sourceIndex:Et+Ue,after:Ye.before,value:":"};break}Oe+=Ft}return Oe={type:"media-feature",before:/^(\s*)/.exec(Oe)[1],after:/(\s*)$/.exec(Oe)[1],value:Oe.trim()},Oe.sourceIndex=Oe.before.length+Ue,re.push(Oe),ke!==null&&(ke.before=Oe.after,re.push(ke)),Ye!==null&&re.push(Ye),re}function ve(Se){var P=arguments.length<=1||arguments[1]===void 0?0:arguments[1],b=[],re=0,Q=!1,Oe=void 0;function ke(){return{before:"",after:"",value:""}}Oe=ke();for(var Ye=0;Ye<Se.length;Ye++){var Ue=Se[Ye];Q?(Oe.value+=Ue,(Ue==="{"||Ue==="(")&&re++,(Ue===")"||Ue==="}")&&re--):Ue.search(/\s/)!==-1?Oe.before+=Ue:(Ue==="("&&(Oe.type="media-feature-expression",re++),Oe.value=Ue,Oe.sourceIndex=P+Ye,Q=!0),Q&&re===0&&(Ue===")"||Ye===Se.length-1||Se[Ye+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(Oe.value)!==-1&&(Oe.type="keyword"),Oe.type==="media-feature-expression"&&(Oe.nodes=Te(Oe.value,Oe.sourceIndex)),b.push(Array.isArray(Oe.nodes)?new oe.default(Oe):new Z.default(Oe)),Oe=ke(),Q=!1)}for(var _e=0;_e<b.length;_e++)if(Oe=b[_e],_e>0&&(b[_e-1].after=Oe.before),Oe.type===void 0){if(_e>0){if(b[_e-1].type==="media-feature-expression"){Oe.type="keyword";continue}if(b[_e-1].value==="not"||b[_e-1].value==="only"){Oe.type="media-type";continue}if(b[_e-1].value==="and"){Oe.type="media-feature-expression";continue}b[_e-1].type==="media-type"&&(b[_e+1]?Oe.type=b[_e+1].type==="media-feature-expression"?"keyword":"media-feature-expression":Oe.type="media-feature-expression")}if(_e===0){if(!b[_e+1]){Oe.type="media-type";continue}if(b[_e+1]&&(b[_e+1].type==="media-feature-expression"||b[_e+1].type==="keyword")){Oe.type="media-type";continue}if(b[_e+2]){if(b[_e+2].type==="media-feature-expression"){Oe.type="media-type",b[_e+1].type="keyword";continue}if(b[_e+2].type==="keyword"){Oe.type="keyword",b[_e+1].type="media-type";continue}}if(b[_e+3]&&b[_e+3].type==="media-feature-expression"){Oe.type="keyword",b[_e+1].type="media-type",b[_e+2].type="keyword";continue}}}return b}function xe(Se){var P=[],b=0,re=0,Q=/^(\s*)url\s*\(/.exec(Se);if(Q!==null){for(var Oe=Q[0].length,ke=1;ke>0;){var Ye=Se[Oe];Ye==="("&&ke++,Ye===")"&&ke--,Oe++}P.unshift(new Z.default({type:"url",value:Se.substring(0,Oe).trim(),sourceIndex:Q[1].length,before:Q[1],after:/^(\s*)/.exec(Se.substring(Oe))[1]})),b=Oe}for(var Ue=b;Ue<Se.length;Ue++){var _e=Se[Ue];if(_e==="("&&re++,_e===")"&&re--,re===0&&_e===","){var Et=Se.substring(b,Ue),Ft=/^(\s*)/.exec(Et)[1];P.push(new oe.default({type:"media-query",value:Et.trim(),sourceIndex:b+Ft.length,nodes:ve(Et,b),before:Ft,after:/(\s*)$/.exec(Et)[1]})),b=Ue+1}}var Ht=Se.substring(b),un=/^(\s*)/.exec(Ht)[1];return P.push(new oe.default({type:"media-query",value:Ht.trim(),sourceIndex:b+un.length,nodes:ve(Ht,b),before:un,after:/(\s*)$/.exec(Ht)[1]})),P}}}),Co=zt({"node_modules/postcss-media-query-parser/dist/index.js"(T){Re(),Object.defineProperty(T,"__esModule",{value:!0}),T.default=Ae;var ae=hs(),Z=oe(ae),Y=za();function oe(Te){return Te&&Te.__esModule?Te:{default:Te}}function Ae(Te){return new Z.default({nodes:(0,Y.parseMediaList)(Te),type:"media-query-list",value:Te.trim()})}}}),Eu={};Kn(Eu,{basename:()=>iu,default:()=>al,delimiter:()=>Do,dirname:()=>nu,extname:()=>jo,isAbsolute:()=>Mo,join:()=>ru,normalize:()=>Ru,relative:()=>Eo,resolve:()=>yo,sep:()=>Ya});function no(T,ae){for(var Z=0,Y=T.length-1;Y>=0;Y--){var oe=T[Y];oe==="."?T.splice(Y,1):oe===".."?(T.splice(Y,1),Z++):Z&&(T.splice(Y,1),Z--)}if(ae)for(;Z--;Z)T.unshift("..");return T}function yo(){for(var T="",ae=!1,Z=arguments.length-1;Z>=-1&&!ae;Z--){var Y=Z>=0?arguments[Z]:"/";if(typeof Y!="string")throw new TypeError("Arguments to path.resolve must be strings");!Y||(T=Y+"/"+T,ae=Y.charAt(0)==="/")}return T=no(Oa(T.split("/"),function(oe){return!!oe}),!ae).join("/"),(ae?"/":"")+T||"."}function Ru(T){var ae=Mo(T),Z=Au(T,-1)==="/";return T=no(Oa(T.split("/"),function(Y){return!!Y}),!ae).join("/"),!T&&!ae&&(T="."),T&&Z&&(T+="/"),(ae?"/":"")+T}function Mo(T){return T.charAt(0)==="/"}function ru(){var T=Array.prototype.slice.call(arguments,0);return Ru(Oa(T,function(ae,Z){if(typeof ae!="string")throw new TypeError("Arguments to path.join must be strings");return ae}).join("/"))}function Eo(T,ae){T=yo(T).substr(1),ae=yo(ae).substr(1);function Z(Se){for(var P=0;P<Se.length&&Se[P]==="";P++);for(var b=Se.length-1;b>=0&&Se[b]==="";b--);return P>b?[]:Se.slice(P,b-P+1)}for(var Y=Z(T.split("/")),oe=Z(ae.split("/")),Ae=Math.min(Y.length,oe.length),Te=Ae,ve=0;ve<Ae;ve++)if(Y[ve]!==oe[ve]){Te=ve;break}for(var xe=[],ve=Te;ve<Y.length;ve++)xe.push("..");return xe=xe.concat(oe.slice(Te)),xe.join("/")}function nu(T){var ae=Ao(T),Z=ae[0],Y=ae[1];return!Z&&!Y?".":(Y&&(Y=Y.substr(0,Y.length-1)),Z+Y)}function iu(T,ae){var Z=Ao(T)[2];return ae&&Z.substr(-1*ae.length)===ae&&(Z=Z.substr(0,Z.length-ae.length)),Z}function jo(T){return Ao(T)[3]}function Oa(T,ae){if(T.filter)return T.filter(ae);for(var Z=[],Y=0;Y<T.length;Y++)ae(T[Y],Y,T)&&Z.push(T[Y]);return Z}var Ua,Ao,Ya,Do,al,Au,vl=gn({"node-modules-polyfills:path"(){Re(),Ua=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Ao=function(T){return Ua.exec(T).slice(1)},Ya="/",Do=":",al={extname:jo,basename:iu,dirname:nu,sep:Ya,delimiter:Do,relative:Eo,join:ru,isAbsolute:Mo,normalize:Ru,resolve:yo},Au="ab".substr(-1)==="b"?function(T,ae,Z){return T.substr(ae,Z)}:function(T,ae,Z){return ae<0&&(ae=T.length+ae),T.substr(ae,Z)}}}),zu=zt({"node-modules-polyfills-commonjs:path"(T,ae){Re();var Z=(vl(),Pt(Eu));if(Z&&Z.default){ae.exports=Z.default;for(let Y in Z)ae.exports[Y]=Z[Y]}else Z&&(ae.exports=Z)}}),su=zt({"node_modules/picocolors/picocolors.browser.js"(T,ae){Re();var Z=String,Y=function(){return{isColorSupported:!1,reset:Z,bold:Z,dim:Z,italic:Z,underline:Z,inverse:Z,hidden:Z,strikethrough:Z,black:Z,red:Z,green:Z,yellow:Z,blue:Z,magenta:Z,cyan:Z,white:Z,gray:Z,bgBlack:Z,bgRed:Z,bgGreen:Z,bgYellow:Z,bgBlue:Z,bgMagenta:Z,bgCyan:Z,bgWhite:Z}};ae.exports=Y(),ae.exports.createColors=Y}}),io=zt({"(disabled):node_modules/postcss/lib/terminal-highlight"(){Re()}}),wo=zt({"node_modules/postcss/lib/css-syntax-error.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=oe(su()),Y=oe(io());function oe(ke){return ke&&ke.__esModule?ke:{default:ke}}function Ae(ke){if(ke===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ke}function Te(ke,Ye){ke.prototype=Object.create(Ye.prototype),ke.prototype.constructor=ke,ke.__proto__=Ye}function ve(ke){var Ye=typeof Map=="function"?new Map:void 0;return ve=function(Ue){if(Ue===null||!P(Ue))return Ue;if(typeof Ue!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Ye<"u"){if(Ye.has(Ue))return Ye.get(Ue);Ye.set(Ue,_e)}function _e(){return xe(Ue,arguments,re(this).constructor)}return _e.prototype=Object.create(Ue.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),b(_e,Ue)},ve(ke)}function xe(ke,Ye,Ue){return Se()?xe=Reflect.construct:xe=function(_e,Et,Ft){var Ht=[null];Ht.push.apply(Ht,Et);var un=Function.bind.apply(_e,Ht),Mn=new un;return Ft&&b(Mn,Ft.prototype),Mn},xe.apply(null,arguments)}function Se(){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(ke){return Function.toString.call(ke).indexOf("[native code]")!==-1}function b(ke,Ye){return b=Object.setPrototypeOf||function(Ue,_e){return Ue.__proto__=_e,Ue},b(ke,Ye)}function re(ke){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(Ye){return Ye.__proto__||Object.getPrototypeOf(Ye)},re(ke)}var Q=function(ke){Te(Ye,ke);function Ye(_e,Et,Ft,Ht,un,Mn){var Hn;return Hn=ke.call(this,_e)||this,Hn.name="CssSyntaxError",Hn.reason=_e,un&&(Hn.file=un),Ht&&(Hn.source=Ht),Mn&&(Hn.plugin=Mn),typeof Et<"u"&&typeof Ft<"u"&&(Hn.line=Et,Hn.column=Ft),Hn.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(Ae(Hn),Ye),Hn}var Ue=Ye.prototype;return Ue.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},Ue.showSourceCode=function(_e){var Et=this;if(!this.source)return"";var Ft=this.source;Y.default&&(typeof _e>"u"&&(_e=Z.default.isColorSupported),_e&&(Ft=(0,Y.default)(Ft)));var Ht=Ft.split(/\r?\n/),un=Math.max(this.line-3,0),Mn=Math.min(this.line+2,Ht.length),Hn=String(Mn).length;function bi(Bi){return _e&&Z.default.red?Z.default.red(Z.default.bold(Bi)):Bi}function en(Bi){return _e&&Z.default.gray?Z.default.gray(Bi):Bi}return Ht.slice(un,Mn).map(function(Bi,di){var Ci=un+1+di,Dn=" "+(" "+Ci).slice(-Hn)+" | ";if(Ci===Et.line){var Gr=en(Dn.replace(/\d/g," "))+Bi.slice(0,Et.column-1).replace(/[^\t]/g," ");return bi(">")+en(Dn)+Bi+`
|
|
178
|
-
`+Gr+bi("^")}return" "+en(Dn)+Bi}).join(`
|
|
179
|
-
`)},Ue.toString=function(){var _e=this.showSourceCode();return _e&&(_e=`
|
|
180
|
-
|
|
181
|
-
`+_e+`
|
|
182
|
-
`),this.name+": "+this.message+_e},Ye}(ve(Error)),Oe=Q;T.default=Oe,ae.exports=T.default}}),so=zt({"node_modules/postcss/lib/previous-map.js"(T,ae){Re(),ae.exports=class{}}}),ao=zt({"node_modules/postcss/lib/input.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Ae(zu()),Y=Ae(wo()),oe=Ae(so());function Ae(b){return b&&b.__esModule?b:{default:b}}function Te(b,re){for(var Q=0;Q<re.length;Q++){var Oe=re[Q];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,"value"in Oe&&(Oe.writable=!0),Object.defineProperty(b,Oe.key,Oe)}}function ve(b,re,Q){return re&&Te(b.prototype,re),Q&&Te(b,Q),b}var xe=0,Se=function(){function b(Q,Oe){if(Oe===void 0&&(Oe={}),Q===null||typeof Q>"u"||typeof Q=="object"&&!Q.toString)throw new Error("PostCSS received "+Q+" instead of CSS string");this.css=Q.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,Oe.from&&(/^\w+:\/\//.test(Oe.from)||Z.default.isAbsolute(Oe.from)?this.file=Oe.from:this.file=Z.default.resolve(Oe.from));var ke=new oe.default(this.css,Oe);if(ke.text){this.map=ke;var Ye=ke.consumer().file;!this.file&&Ye&&(this.file=this.mapResolve(Ye))}this.file||(xe+=1,this.id="<input css "+xe+">"),this.map&&(this.map.file=this.from)}var re=b.prototype;return re.error=function(Q,Oe,ke,Ye){Ye===void 0&&(Ye={});var Ue,_e=this.origin(Oe,ke);return _e?Ue=new Y.default(Q,_e.line,_e.column,_e.source,_e.file,Ye.plugin):Ue=new Y.default(Q,Oe,ke,this.css,this.file,Ye.plugin),Ue.input={line:Oe,column:ke,source:this.css},this.file&&(Ue.input.file=this.file),Ue},re.origin=function(Q,Oe){if(!this.map)return!1;var ke=this.map.consumer(),Ye=ke.originalPositionFor({line:Q,column:Oe});if(!Ye.source)return!1;var Ue={file:this.mapResolve(Ye.source),line:Ye.line,column:Ye.column},_e=ke.sourceContentFor(Ye.source);return _e&&(Ue.source=_e),Ue},re.mapResolve=function(Q){return/^\w+:\/\//.test(Q)?Q:Z.default.resolve(this.map.consumer().sourceRoot||".",Q)},ve(b,[{key:"from",get:function(){return this.file||this.id}}]),b}(),P=Se;T.default=P,ae.exports=T.default}}),wu=zt({"node_modules/postcss/lib/stringifier.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z={colon:": ",indent:" ",beforeDecl:`
|
|
183
|
-
`,beforeRule:`
|
|
184
|
-
`,beforeOpen:" ",beforeClose:`
|
|
185
|
-
`,beforeComment:`
|
|
186
|
-
`,after:`
|
|
187
|
-
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Y(Te){return Te[0].toUpperCase()+Te.slice(1)}var oe=function(){function Te(xe){this.builder=xe}var ve=Te.prototype;return ve.stringify=function(xe,Se){this[xe.type](xe,Se)},ve.root=function(xe){this.body(xe),xe.raws.after&&this.builder(xe.raws.after)},ve.comment=function(xe){var Se=this.raw(xe,"left","commentLeft"),P=this.raw(xe,"right","commentRight");this.builder("/*"+Se+xe.text+P+"*/",xe)},ve.decl=function(xe,Se){var P=this.raw(xe,"between","colon"),b=xe.prop+P+this.rawValue(xe,"value");xe.important&&(b+=xe.raws.important||" !important"),Se&&(b+=";"),this.builder(b,xe)},ve.rule=function(xe){this.block(xe,this.rawValue(xe,"selector")),xe.raws.ownSemicolon&&this.builder(xe.raws.ownSemicolon,xe,"end")},ve.atrule=function(xe,Se){var P="@"+xe.name,b=xe.params?this.rawValue(xe,"params"):"";if(typeof xe.raws.afterName<"u"?P+=xe.raws.afterName:b&&(P+=" "),xe.nodes)this.block(xe,P+b);else{var re=(xe.raws.between||"")+(Se?";":"");this.builder(P+b+re,xe)}},ve.body=function(xe){for(var Se=xe.nodes.length-1;Se>0&&xe.nodes[Se].type==="comment";)Se-=1;for(var P=this.raw(xe,"semicolon"),b=0;b<xe.nodes.length;b++){var re=xe.nodes[b],Q=this.raw(re,"before");Q&&this.builder(Q),this.stringify(re,Se!==b||P)}},ve.block=function(xe,Se){var P=this.raw(xe,"between","beforeOpen");this.builder(Se+P+"{",xe,"start");var b;xe.nodes&&xe.nodes.length?(this.body(xe),b=this.raw(xe,"after")):b=this.raw(xe,"after","emptyBody"),b&&this.builder(b),this.builder("}",xe,"end")},ve.raw=function(xe,Se,P){var b;if(P||(P=Se),Se&&(b=xe.raws[Se],typeof b<"u"))return b;var re=xe.parent;if(P==="before"&&(!re||re.type==="root"&&re.first===xe))return"";if(!re)return Z[P];var Q=xe.root();if(Q.rawCache||(Q.rawCache={}),typeof Q.rawCache[P]<"u")return Q.rawCache[P];if(P==="before"||P==="after")return this.beforeAfter(xe,P);var Oe="raw"+Y(P);return this[Oe]?b=this[Oe](Q,xe):Q.walk(function(ke){if(b=ke.raws[Se],typeof b<"u")return!1}),typeof b>"u"&&(b=Z[P]),Q.rawCache[P]=b,b},ve.rawSemicolon=function(xe){var Se;return xe.walk(function(P){if(P.nodes&&P.nodes.length&&P.last.type==="decl"&&(Se=P.raws.semicolon,typeof Se<"u"))return!1}),Se},ve.rawEmptyBody=function(xe){var Se;return xe.walk(function(P){if(P.nodes&&P.nodes.length===0&&(Se=P.raws.after,typeof Se<"u"))return!1}),Se},ve.rawIndent=function(xe){if(xe.raws.indent)return xe.raws.indent;var Se;return xe.walk(function(P){var b=P.parent;if(b&&b!==xe&&b.parent&&b.parent===xe&&typeof P.raws.before<"u"){var re=P.raws.before.split(`
|
|
188
|
-
`);return Se=re[re.length-1],Se=Se.replace(/[^\s]/g,""),!1}}),Se},ve.rawBeforeComment=function(xe,Se){var P;return xe.walkComments(function(b){if(typeof b.raws.before<"u")return P=b.raws.before,P.indexOf(`
|
|
189
|
-
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(Se,null,"beforeDecl"):P&&(P=P.replace(/[^\s]/g,"")),P},ve.rawBeforeDecl=function(xe,Se){var P;return xe.walkDecls(function(b){if(typeof b.raws.before<"u")return P=b.raws.before,P.indexOf(`
|
|
190
|
-
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(Se,null,"beforeRule"):P&&(P=P.replace(/[^\s]/g,"")),P},ve.rawBeforeRule=function(xe){var Se;return xe.walk(function(P){if(P.nodes&&(P.parent!==xe||xe.first!==P)&&typeof P.raws.before<"u")return Se=P.raws.before,Se.indexOf(`
|
|
191
|
-
`)!==-1&&(Se=Se.replace(/[^\n]+$/,"")),!1}),Se&&(Se=Se.replace(/[^\s]/g,"")),Se},ve.rawBeforeClose=function(xe){var Se;return xe.walk(function(P){if(P.nodes&&P.nodes.length>0&&typeof P.raws.after<"u")return Se=P.raws.after,Se.indexOf(`
|
|
192
|
-
`)!==-1&&(Se=Se.replace(/[^\n]+$/,"")),!1}),Se&&(Se=Se.replace(/[^\s]/g,"")),Se},ve.rawBeforeOpen=function(xe){var Se;return xe.walk(function(P){if(P.type!=="decl"&&(Se=P.raws.between,typeof Se<"u"))return!1}),Se},ve.rawColon=function(xe){var Se;return xe.walkDecls(function(P){if(typeof P.raws.between<"u")return Se=P.raws.between.replace(/[^\s:]/g,""),!1}),Se},ve.beforeAfter=function(xe,Se){var P;xe.type==="decl"?P=this.raw(xe,null,"beforeDecl"):xe.type==="comment"?P=this.raw(xe,null,"beforeComment"):Se==="before"?P=this.raw(xe,null,"beforeRule"):P=this.raw(xe,null,"beforeClose");for(var b=xe.parent,re=0;b&&b.type!=="root";)re+=1,b=b.parent;if(P.indexOf(`
|
|
193
|
-
`)!==-1){var Q=this.raw(xe,null,"indent");if(Q.length)for(var Oe=0;Oe<re;Oe++)P+=Q}return P},ve.rawValue=function(xe,Se){var P=xe[Se],b=xe.raws[Se];return b&&b.value===P?b.raw:P},Te}(),Ae=oe;T.default=Ae,ae.exports=T.default}}),Tu=zt({"node_modules/postcss/lib/stringify.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Y(wu());function Y(Te){return Te&&Te.__esModule?Te:{default:Te}}function oe(Te,ve){var xe=new Z.default(ve);xe.stringify(Te)}var Ae=oe;T.default=Ae,ae.exports=T.default}}),ol=zt({"node_modules/postcss/lib/node.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Ae(wo()),Y=Ae(wu()),oe=Ae(Tu());function Ae(Se){return Se&&Se.__esModule?Se:{default:Se}}function Te(Se,P){var b=new Se.constructor;for(var re in Se)if(Se.hasOwnProperty(re)){var Q=Se[re],Oe=typeof Q;re==="parent"&&Oe==="object"?P&&(b[re]=P):re==="source"?b[re]=Q:Q instanceof Array?b[re]=Q.map(function(ke){return Te(ke,b)}):(Oe==="object"&&Q!==null&&(Q=Te(Q)),b[re]=Q)}return b}var ve=function(){function Se(b){b===void 0&&(b={}),this.raws={};for(var re in b)this[re]=b[re]}var P=Se.prototype;return P.error=function(b,re){if(re===void 0&&(re={}),this.source){var Q=this.positionBy(re);return this.source.input.error(b,Q.line,Q.column,re)}return new Z.default(b)},P.warn=function(b,re,Q){var Oe={node:this};for(var ke in Q)Oe[ke]=Q[ke];return b.warn(re,Oe)},P.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},P.toString=function(b){b===void 0&&(b=oe.default),b.stringify&&(b=b.stringify);var re="";return b(this,function(Q){re+=Q}),re},P.clone=function(b){b===void 0&&(b={});var re=Te(this);for(var Q in b)re[Q]=b[Q];return re},P.cloneBefore=function(b){b===void 0&&(b={});var re=this.clone(b);return this.parent.insertBefore(this,re),re},P.cloneAfter=function(b){b===void 0&&(b={});var re=this.clone(b);return this.parent.insertAfter(this,re),re},P.replaceWith=function(){if(this.parent){for(var b=arguments.length,re=new Array(b),Q=0;Q<b;Q++)re[Q]=arguments[Q];for(var Oe=0,ke=re;Oe<ke.length;Oe++){var Ye=ke[Oe];this.parent.insertBefore(this,Ye)}this.remove()}return this},P.next=function(){if(this.parent){var b=this.parent.index(this);return this.parent.nodes[b+1]}},P.prev=function(){if(this.parent){var b=this.parent.index(this);return this.parent.nodes[b-1]}},P.before=function(b){return this.parent.insertBefore(this,b),this},P.after=function(b){return this.parent.insertAfter(this,b),this},P.toJSON=function(){var b={};for(var re in this)if(!!this.hasOwnProperty(re)&&re!=="parent"){var Q=this[re];Q instanceof Array?b[re]=Q.map(function(Oe){return typeof Oe=="object"&&Oe.toJSON?Oe.toJSON():Oe}):typeof Q=="object"&&Q.toJSON?b[re]=Q.toJSON():b[re]=Q}return b},P.raw=function(b,re){var Q=new Y.default;return Q.raw(this,b,re)},P.root=function(){for(var b=this;b.parent;)b=b.parent;return b},P.cleanRaws=function(b){delete this.raws.before,delete this.raws.after,b||delete this.raws.between},P.positionInside=function(b){for(var re=this.toString(),Q=this.source.start.column,Oe=this.source.start.line,ke=0;ke<b;ke++)re[ke]===`
|
|
194
|
-
`?(Q=1,Oe+=1):Q+=1;return{line:Oe,column:Q}},P.positionBy=function(b){var re=this.source.start;if(b.index)re=this.positionInside(b.index);else if(b.word){var Q=this.toString().indexOf(b.word);Q!==-1&&(re=this.positionInside(Q))}return re},Se}(),xe=ve;T.default=xe,ae.exports=T.default}}),oo=zt({"node_modules/postcss/lib/comment.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Y(ol());function Y(ve){return ve&&ve.__esModule?ve:{default:ve}}function oe(ve,xe){ve.prototype=Object.create(xe.prototype),ve.prototype.constructor=ve,ve.__proto__=xe}var Ae=function(ve){oe(xe,ve);function xe(Se){var P;return P=ve.call(this,Se)||this,P.type="comment",P}return xe}(Z.default),Te=Ae;T.default=Te,ae.exports=T.default}}),au=zt({"node_modules/postcss/lib/declaration.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Y(ol());function Y(ve){return ve&&ve.__esModule?ve:{default:ve}}function oe(ve,xe){ve.prototype=Object.create(xe.prototype),ve.prototype.constructor=ve,ve.__proto__=xe}var Ae=function(ve){oe(xe,ve);function xe(Se){var P;return P=ve.call(this,Se)||this,P.type="decl",P}return xe}(Z.default),Te=Ae;T.default=Te,ae.exports=T.default}}),Ea=zt({"node_modules/postcss/lib/tokenize.js"(T,ae){Re(),T.__esModule=!0,T.default=bi;var Z="'".charCodeAt(0),Y='"'.charCodeAt(0),oe="\\".charCodeAt(0),Ae="/".charCodeAt(0),Te=`
|
|
195
|
-
`.charCodeAt(0),ve=" ".charCodeAt(0),xe="\f".charCodeAt(0),Se=" ".charCodeAt(0),P="\r".charCodeAt(0),b="[".charCodeAt(0),re="]".charCodeAt(0),Q="(".charCodeAt(0),Oe=")".charCodeAt(0),ke="{".charCodeAt(0),Ye="}".charCodeAt(0),Ue=";".charCodeAt(0),_e="*".charCodeAt(0),Et=":".charCodeAt(0),Ft="@".charCodeAt(0),Ht=/[ \n\t\r\f{}()'"\\;/[\]#]/g,un=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Mn=/.[\\/("'\n]/,Hn=/[a-f0-9]/i;function bi(en,Bi){Bi===void 0&&(Bi={});var di=en.css.valueOf(),Ci=Bi.ignoreErrors,Dn,Gr,bn,Lr,Vs,xs,ts,rs,Gi,Qn,zi,Fi,ki,Ut,vr=di.length,_r=-1,On=1,Rt=0,oi=[],Xn=[];function ra(){return Rt}function na(Qs){throw en.error("Unclosed "+Qs,On,Rt-_r)}function Os(){return Xn.length===0&&Rt>=vr}function Aa(Qs){if(Xn.length)return Xn.pop();if(!(Rt>=vr)){var La=Qs?Qs.ignoreUnclosed:!1;switch(Dn=di.charCodeAt(Rt),(Dn===Te||Dn===xe||Dn===P&&di.charCodeAt(Rt+1)!==Te)&&(_r=Rt,On+=1),Dn){case Te:case ve:case Se:case P:case xe:Gr=Rt;do Gr+=1,Dn=di.charCodeAt(Gr),Dn===Te&&(_r=Gr,On+=1);while(Dn===ve||Dn===Te||Dn===Se||Dn===P||Dn===xe);Ut=["space",di.slice(Rt,Gr)],Rt=Gr-1;break;case b:case re:case ke:case Ye:case Et:case Ue:case Oe:var ia=String.fromCharCode(Dn);Ut=[ia,ia,On,Rt-_r];break;case Q:if(Fi=oi.length?oi.pop()[1]:"",ki=di.charCodeAt(Rt+1),Fi==="url"&&ki!==Z&&ki!==Y&&ki!==ve&&ki!==Te&&ki!==Se&&ki!==xe&&ki!==P){Gr=Rt;do{if(Qn=!1,Gr=di.indexOf(")",Gr+1),Gr===-1)if(Ci||La){Gr=Rt;break}else na("bracket");for(zi=Gr;di.charCodeAt(zi-1)===oe;)zi-=1,Qn=!Qn}while(Qn);Ut=["brackets",di.slice(Rt,Gr+1),On,Rt-_r,On,Gr-_r],Rt=Gr}else Gr=di.indexOf(")",Rt+1),xs=di.slice(Rt,Gr+1),Gr===-1||Mn.test(xs)?Ut=["(","(",On,Rt-_r]:(Ut=["brackets",xs,On,Rt-_r,On,Gr-_r],Rt=Gr);break;case Z:case Y:bn=Dn===Z?"'":'"',Gr=Rt;do{if(Qn=!1,Gr=di.indexOf(bn,Gr+1),Gr===-1)if(Ci||La){Gr=Rt+1;break}else na("string");for(zi=Gr;di.charCodeAt(zi-1)===oe;)zi-=1,Qn=!Qn}while(Qn);xs=di.slice(Rt,Gr+1),Lr=xs.split(`
|
|
196
|
-
`),Vs=Lr.length-1,Vs>0?(rs=On+Vs,Gi=Gr-Lr[Vs].length):(rs=On,Gi=_r),Ut=["string",di.slice(Rt,Gr+1),On,Rt-_r,rs,Gr-Gi],_r=Gi,On=rs,Rt=Gr;break;case Ft:Ht.lastIndex=Rt+1,Ht.test(di),Ht.lastIndex===0?Gr=di.length-1:Gr=Ht.lastIndex-2,Ut=["at-word",di.slice(Rt,Gr+1),On,Rt-_r,On,Gr-_r],Rt=Gr;break;case oe:for(Gr=Rt,ts=!0;di.charCodeAt(Gr+1)===oe;)Gr+=1,ts=!ts;if(Dn=di.charCodeAt(Gr+1),ts&&Dn!==Ae&&Dn!==ve&&Dn!==Te&&Dn!==Se&&Dn!==P&&Dn!==xe&&(Gr+=1,Hn.test(di.charAt(Gr)))){for(;Hn.test(di.charAt(Gr+1));)Gr+=1;di.charCodeAt(Gr+1)===ve&&(Gr+=1)}Ut=["word",di.slice(Rt,Gr+1),On,Rt-_r,On,Gr-_r],Rt=Gr;break;default:Dn===Ae&&di.charCodeAt(Rt+1)===_e?(Gr=di.indexOf("*/",Rt+2)+1,Gr===0&&(Ci||La?Gr=di.length:na("comment")),xs=di.slice(Rt,Gr+1),Lr=xs.split(`
|
|
197
|
-
`),Vs=Lr.length-1,Vs>0?(rs=On+Vs,Gi=Gr-Lr[Vs].length):(rs=On,Gi=_r),Ut=["comment",xs,On,Rt-_r,rs,Gr-Gi],_r=Gi,On=rs,Rt=Gr):(un.lastIndex=Rt+1,un.test(di),un.lastIndex===0?Gr=di.length-1:Gr=un.lastIndex-2,Ut=["word",di.slice(Rt,Gr+1),On,Rt-_r,On,Gr-_r],oi.push(Ut),Rt=Gr);break}return Rt++,Ut}}function va(Qs){Xn.push(Qs)}return{back:va,nextToken:Aa,endOfFile:Os,position:ra}}ae.exports=T.default}}),ou=zt({"node_modules/postcss/lib/parse.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=oe(Su()),Y=oe(ao());function oe(ve){return ve&&ve.__esModule?ve:{default:ve}}function Ae(ve,xe){var Se=new Y.default(ve,xe),P=new Z.default(Se);try{P.parse()}catch(b){throw b}return P.root}var Te=Ae;T.default=Te,ae.exports=T.default}}),uo=zt({"node_modules/postcss/lib/list.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z={split:function(oe,Ae,Te){for(var ve=[],xe="",Se=!1,P=0,b=!1,re=!1,Q=0;Q<oe.length;Q++){var Oe=oe[Q];b?re?re=!1:Oe==="\\"?re=!0:Oe===b&&(b=!1):Oe==='"'||Oe==="'"?b=Oe:Oe==="("?P+=1:Oe===")"?P>0&&(P-=1):P===0&&Ae.indexOf(Oe)!==-1&&(Se=!0),Se?(xe!==""&&ve.push(xe.trim()),xe="",Se=!1):xe+=Oe}return(Te||xe!=="")&&ve.push(xe.trim()),ve},space:function(oe){var Ae=[" ",`
|
|
198
|
-
`," "];return Z.split(oe,Ae)},comma:function(oe){return Z.split(oe,[","],!0)}},Y=Z;T.default=Y,ae.exports=T.default}}),ul=zt({"node_modules/postcss/lib/rule.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=oe(Uu()),Y=oe(uo());function oe(P){return P&&P.__esModule?P:{default:P}}function Ae(P,b){for(var re=0;re<b.length;re++){var Q=b[re];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(P,Q.key,Q)}}function Te(P,b,re){return b&&Ae(P.prototype,b),re&&Ae(P,re),P}function ve(P,b){P.prototype=Object.create(b.prototype),P.prototype.constructor=P,P.__proto__=b}var xe=function(P){ve(b,P);function b(re){var Q;return Q=P.call(this,re)||this,Q.type="rule",Q.nodes||(Q.nodes=[]),Q}return Te(b,[{key:"selectors",get:function(){return Y.default.comma(this.selector)},set:function(re){var Q=this.selector?this.selector.match(/,\s*/):null,Oe=Q?Q[0]:","+this.raw("between","beforeOpen");this.selector=re.join(Oe)}}]),b}(Z.default),Se=xe;T.default=Se,ae.exports=T.default}}),Uu=zt({"node_modules/postcss/lib/container.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Ae(au()),Y=Ae(oo()),oe=Ae(ol());function Ae(ke){return ke&&ke.__esModule?ke:{default:ke}}function Te(ke,Ye){var Ue;if(typeof Symbol>"u"||ke[Symbol.iterator]==null){if(Array.isArray(ke)||(Ue=ve(ke))||Ye&&ke&&typeof ke.length=="number"){Ue&&(ke=Ue);var _e=0;return function(){return _e>=ke.length?{done:!0}:{done:!1,value:ke[_e++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
199
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ue=ke[Symbol.iterator](),Ue.next.bind(Ue)}function ve(ke,Ye){if(ke){if(typeof ke=="string")return xe(ke,Ye);var Ue=Object.prototype.toString.call(ke).slice(8,-1);if(Ue==="Object"&&ke.constructor&&(Ue=ke.constructor.name),Ue==="Map"||Ue==="Set")return Array.from(ke);if(Ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ue))return xe(ke,Ye)}}function xe(ke,Ye){(Ye==null||Ye>ke.length)&&(Ye=ke.length);for(var Ue=0,_e=new Array(Ye);Ue<Ye;Ue++)_e[Ue]=ke[Ue];return _e}function Se(ke,Ye){for(var Ue=0;Ue<Ye.length;Ue++){var _e=Ye[Ue];_e.enumerable=_e.enumerable||!1,_e.configurable=!0,"value"in _e&&(_e.writable=!0),Object.defineProperty(ke,_e.key,_e)}}function P(ke,Ye,Ue){return Ye&&Se(ke.prototype,Ye),Ue&&Se(ke,Ue),ke}function b(ke,Ye){ke.prototype=Object.create(Ye.prototype),ke.prototype.constructor=ke,ke.__proto__=Ye}function re(ke){return ke.map(function(Ye){return Ye.nodes&&(Ye.nodes=re(Ye.nodes)),delete Ye.source,Ye})}var Q=function(ke){b(Ye,ke);function Ye(){return ke.apply(this,arguments)||this}var Ue=Ye.prototype;return Ue.push=function(_e){return _e.parent=this,this.nodes.push(_e),this},Ue.each=function(_e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var Et=this.lastEach;if(this.indexes[Et]=0,!!this.nodes){for(var Ft,Ht;this.indexes[Et]<this.nodes.length&&(Ft=this.indexes[Et],Ht=_e(this.nodes[Ft],Ft),Ht!==!1);)this.indexes[Et]+=1;return delete this.indexes[Et],Ht}},Ue.walk=function(_e){return this.each(function(Et,Ft){var Ht;try{Ht=_e(Et,Ft)}catch(Mn){if(Mn.postcssNode=Et,Mn.stack&&Et.source&&/\n\s{4}at /.test(Mn.stack)){var un=Et.source;Mn.stack=Mn.stack.replace(/\n\s{4}at /,"$&"+un.input.from+":"+un.start.line+":"+un.start.column+"$&")}throw Mn}return Ht!==!1&&Et.walk&&(Ht=Et.walk(_e)),Ht})},Ue.walkDecls=function(_e,Et){return Et?_e instanceof RegExp?this.walk(function(Ft,Ht){if(Ft.type==="decl"&&_e.test(Ft.prop))return Et(Ft,Ht)}):this.walk(function(Ft,Ht){if(Ft.type==="decl"&&Ft.prop===_e)return Et(Ft,Ht)}):(Et=_e,this.walk(function(Ft,Ht){if(Ft.type==="decl")return Et(Ft,Ht)}))},Ue.walkRules=function(_e,Et){return Et?_e instanceof RegExp?this.walk(function(Ft,Ht){if(Ft.type==="rule"&&_e.test(Ft.selector))return Et(Ft,Ht)}):this.walk(function(Ft,Ht){if(Ft.type==="rule"&&Ft.selector===_e)return Et(Ft,Ht)}):(Et=_e,this.walk(function(Ft,Ht){if(Ft.type==="rule")return Et(Ft,Ht)}))},Ue.walkAtRules=function(_e,Et){return Et?_e instanceof RegExp?this.walk(function(Ft,Ht){if(Ft.type==="atrule"&&_e.test(Ft.name))return Et(Ft,Ht)}):this.walk(function(Ft,Ht){if(Ft.type==="atrule"&&Ft.name===_e)return Et(Ft,Ht)}):(Et=_e,this.walk(function(Ft,Ht){if(Ft.type==="atrule")return Et(Ft,Ht)}))},Ue.walkComments=function(_e){return this.walk(function(Et,Ft){if(Et.type==="comment")return _e(Et,Ft)})},Ue.append=function(){for(var _e=arguments.length,Et=new Array(_e),Ft=0;Ft<_e;Ft++)Et[Ft]=arguments[Ft];for(var Ht=0,un=Et;Ht<un.length;Ht++)for(var Mn=un[Ht],Hn=this.normalize(Mn,this.last),bi=Te(Hn),en;!(en=bi()).done;){var Bi=en.value;this.nodes.push(Bi)}return this},Ue.prepend=function(){for(var _e=arguments.length,Et=new Array(_e),Ft=0;Ft<_e;Ft++)Et[Ft]=arguments[Ft];Et=Et.reverse();for(var Ht=Te(Et),un;!(un=Ht()).done;){for(var Mn=un.value,Hn=this.normalize(Mn,this.first,"prepend").reverse(),bi=Te(Hn),en;!(en=bi()).done;){var Bi=en.value;this.nodes.unshift(Bi)}for(var di in this.indexes)this.indexes[di]=this.indexes[di]+Hn.length}return this},Ue.cleanRaws=function(_e){if(ke.prototype.cleanRaws.call(this,_e),this.nodes)for(var Et=Te(this.nodes),Ft;!(Ft=Et()).done;){var Ht=Ft.value;Ht.cleanRaws(_e)}},Ue.insertBefore=function(_e,Et){_e=this.index(_e);for(var Ft=_e===0?"prepend":!1,Ht=this.normalize(Et,this.nodes[_e],Ft).reverse(),un=Te(Ht),Mn;!(Mn=un()).done;){var Hn=Mn.value;this.nodes.splice(_e,0,Hn)}var bi;for(var en in this.indexes)bi=this.indexes[en],_e<=bi&&(this.indexes[en]=bi+Ht.length);return this},Ue.insertAfter=function(_e,Et){_e=this.index(_e);for(var Ft=this.normalize(Et,this.nodes[_e]).reverse(),Ht=Te(Ft),un;!(un=Ht()).done;){var Mn=un.value;this.nodes.splice(_e+1,0,Mn)}var Hn;for(var bi in this.indexes)Hn=this.indexes[bi],_e<Hn&&(this.indexes[bi]=Hn+Ft.length);return this},Ue.removeChild=function(_e){_e=this.index(_e),this.nodes[_e].parent=void 0,this.nodes.splice(_e,1);var Et;for(var Ft in this.indexes)Et=this.indexes[Ft],Et>=_e&&(this.indexes[Ft]=Et-1);return this},Ue.removeAll=function(){for(var _e=Te(this.nodes),Et;!(Et=_e()).done;){var Ft=Et.value;Ft.parent=void 0}return this.nodes=[],this},Ue.replaceValues=function(_e,Et,Ft){return Ft||(Ft=Et,Et={}),this.walkDecls(function(Ht){Et.props&&Et.props.indexOf(Ht.prop)===-1||Et.fast&&Ht.value.indexOf(Et.fast)===-1||(Ht.value=Ht.value.replace(_e,Ft))}),this},Ue.every=function(_e){return this.nodes.every(_e)},Ue.some=function(_e){return this.nodes.some(_e)},Ue.index=function(_e){return typeof _e=="number"?_e:this.nodes.indexOf(_e)},Ue.normalize=function(_e,Et){var Ft=this;if(typeof _e=="string"){var Ht=ou();_e=re(Ht(_e).nodes)}else if(Array.isArray(_e)){_e=_e.slice(0);for(var un=Te(_e),Mn;!(Mn=un()).done;){var Hn=Mn.value;Hn.parent&&Hn.parent.removeChild(Hn,"ignore")}}else if(_e.type==="root"){_e=_e.nodes.slice(0);for(var bi=Te(_e),en;!(en=bi()).done;){var Bi=en.value;Bi.parent&&Bi.parent.removeChild(Bi,"ignore")}}else if(_e.type)_e=[_e];else if(_e.prop){if(typeof _e.value>"u")throw new Error("Value field is missed in node creation");typeof _e.value!="string"&&(_e.value=String(_e.value)),_e=[new Z.default(_e)]}else if(_e.selector){var di=ul();_e=[new di(_e)]}else if(_e.name){var Ci=Ro();_e=[new Ci(_e)]}else if(_e.text)_e=[new Y.default(_e)];else throw new Error("Unknown node type in node creation");var Dn=_e.map(function(Gr){return Gr.parent&&Gr.parent.removeChild(Gr),typeof Gr.raws.before>"u"&&Et&&typeof Et.raws.before<"u"&&(Gr.raws.before=Et.raws.before.replace(/[^\s]/g,"")),Gr.parent=Ft,Gr});return Dn},P(Ye,[{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]}}]),Ye}(oe.default),Oe=Q;T.default=Oe,ae.exports=T.default}}),Ro=zt({"node_modules/postcss/lib/at-rule.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Y(Uu());function Y(ve){return ve&&ve.__esModule?ve:{default:ve}}function oe(ve,xe){ve.prototype=Object.create(xe.prototype),ve.prototype.constructor=ve,ve.__proto__=xe}var Ae=function(ve){oe(xe,ve);function xe(P){var b;return b=ve.call(this,P)||this,b.type="atrule",b}var Se=xe.prototype;return Se.append=function(){var P;this.nodes||(this.nodes=[]);for(var b=arguments.length,re=new Array(b),Q=0;Q<b;Q++)re[Q]=arguments[Q];return(P=ve.prototype.append).call.apply(P,[this].concat(re))},Se.prepend=function(){var P;this.nodes||(this.nodes=[]);for(var b=arguments.length,re=new Array(b),Q=0;Q<b;Q++)re[Q]=arguments[Q];return(P=ve.prototype.prepend).call.apply(P,[this].concat(re))},xe}(Z.default),Te=Ae;T.default=Te,ae.exports=T.default}}),xl=zt({"node_modules/postcss/lib/map-generator.js"(T,ae){Re(),ae.exports=class{generate(){}}}}),To=zt({"node_modules/postcss/lib/warn-once.js"(T,ae){Re(),T.__esModule=!0,T.default=Y;var Z={};function Y(oe){Z[oe]||(Z[oe]=!0,typeof console<"u"&&console.warn&&console.warn(oe))}ae.exports=T.default}}),la=zt({"node_modules/postcss/lib/warning.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=function(){function oe(Te,ve){if(ve===void 0&&(ve={}),this.type="warning",this.text=Te,ve.node&&ve.node.source){var xe=ve.node.positionBy(ve);this.line=xe.line,this.column=xe.column}for(var Se in ve)this[Se]=ve[Se]}var Ae=oe.prototype;return Ae.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}(),Y=Z;T.default=Y,ae.exports=T.default}}),Hu=zt({"node_modules/postcss/lib/result.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Y(la());function Y(xe){return xe&&xe.__esModule?xe:{default:xe}}function oe(xe,Se){for(var P=0;P<Se.length;P++){var b=Se[P];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(xe,b.key,b)}}function Ae(xe,Se,P){return Se&&oe(xe.prototype,Se),P&&oe(xe,P),xe}var Te=function(){function xe(P,b,re){this.processor=P,this.messages=[],this.root=b,this.opts=re,this.css=void 0,this.map=void 0}var Se=xe.prototype;return Se.toString=function(){return this.css},Se.warn=function(P,b){b===void 0&&(b={}),b.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(b.plugin=this.lastPlugin.postcssPlugin);var re=new Z.default(P,b);return this.messages.push(re),re},Se.warnings=function(){return this.messages.filter(function(P){return P.type==="warning"})},Ae(xe,[{key:"content",get:function(){return this.css}}]),xe}(),ve=Te;T.default=ve,ae.exports=T.default}}),bl=zt({"node_modules/postcss/lib/lazy-result.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Te(xl()),Y=Te(Tu());Te(To());var oe=Te(Hu()),Ae=Te(ou());function Te(ke){return ke&&ke.__esModule?ke:{default:ke}}function ve(ke,Ye){var Ue;if(typeof Symbol>"u"||ke[Symbol.iterator]==null){if(Array.isArray(ke)||(Ue=xe(ke))||Ye&&ke&&typeof ke.length=="number"){Ue&&(ke=Ue);var _e=0;return function(){return _e>=ke.length?{done:!0}:{done:!1,value:ke[_e++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
200
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ue=ke[Symbol.iterator](),Ue.next.bind(Ue)}function xe(ke,Ye){if(ke){if(typeof ke=="string")return Se(ke,Ye);var Ue=Object.prototype.toString.call(ke).slice(8,-1);if(Ue==="Object"&&ke.constructor&&(Ue=ke.constructor.name),Ue==="Map"||Ue==="Set")return Array.from(ke);if(Ue==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ue))return Se(ke,Ye)}}function Se(ke,Ye){(Ye==null||Ye>ke.length)&&(Ye=ke.length);for(var Ue=0,_e=new Array(Ye);Ue<Ye;Ue++)_e[Ue]=ke[Ue];return _e}function P(ke,Ye){for(var Ue=0;Ue<Ye.length;Ue++){var _e=Ye[Ue];_e.enumerable=_e.enumerable||!1,_e.configurable=!0,"value"in _e&&(_e.writable=!0),Object.defineProperty(ke,_e.key,_e)}}function b(ke,Ye,Ue){return Ye&&P(ke.prototype,Ye),Ue&&P(ke,Ue),ke}function re(ke){return typeof ke=="object"&&typeof ke.then=="function"}var Q=function(){function ke(Ue,_e,Et){this.stringified=!1,this.processed=!1;var Ft;if(typeof _e=="object"&&_e!==null&&_e.type==="root")Ft=_e;else if(_e instanceof ke||_e instanceof oe.default)Ft=_e.root,_e.map&&(typeof Et.map>"u"&&(Et.map={}),Et.map.inline||(Et.map.inline=!1),Et.map.prev=_e.map);else{var Ht=Ae.default;Et.syntax&&(Ht=Et.syntax.parse),Et.parser&&(Ht=Et.parser),Ht.parse&&(Ht=Ht.parse);try{Ft=Ht(_e,Et)}catch(un){this.error=un}}this.result=new oe.default(Ue,Ft,Et)}var Ye=ke.prototype;return Ye.warnings=function(){return this.sync().warnings()},Ye.toString=function(){return this.css},Ye.then=function(Ue,_e){return this.async().then(Ue,_e)},Ye.catch=function(Ue){return this.async().catch(Ue)},Ye.finally=function(Ue){return this.async().then(Ue,Ue)},Ye.handleError=function(Ue,_e){try{if(this.error=Ue,Ue.name==="CssSyntaxError"&&!Ue.plugin)Ue.plugin=_e.postcssPlugin,Ue.setMessage();else if(_e.postcssVersion&&!1)var Et,Ft,Ht,un,Mn}catch(Hn){console&&console.error&&console.error(Hn)}},Ye.asyncTick=function(Ue,_e){var Et=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,Ue();try{var Ft=this.processor.plugins[this.plugin],Ht=this.run(Ft);this.plugin+=1,re(Ht)?Ht.then(function(){Et.asyncTick(Ue,_e)}).catch(function(un){Et.handleError(un,Ft),Et.processed=!0,_e(un)}):this.asyncTick(Ue,_e)}catch(un){this.processed=!0,_e(un)}},Ye.async=function(){var Ue=this;return this.processed?new Promise(function(_e,Et){Ue.error?Et(Ue.error):_e(Ue.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(_e,Et){if(Ue.error)return Et(Ue.error);Ue.plugin=0,Ue.asyncTick(_e,Et)}).then(function(){return Ue.processed=!0,Ue.stringify()}),this.processing)},Ye.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 Ue=ve(this.result.processor.plugins),_e;!(_e=Ue()).done;){var Et=_e.value,Ft=this.run(Et);if(re(Ft))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Ye.run=function(Ue){this.result.lastPlugin=Ue;try{return Ue(this.result.root,this.result)}catch(_e){throw this.handleError(_e,Ue),_e}},Ye.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var Ue=this.result.opts,_e=Y.default;Ue.syntax&&(_e=Ue.syntax.stringify),Ue.stringifier&&(_e=Ue.stringifier),_e.stringify&&(_e=_e.stringify);var Et=new Z.default(_e,this.result.root,this.result.opts),Ft=Et.generate();return this.result.css=Ft[0],this.result.map=Ft[1],this.result},b(ke,[{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}}]),ke}(),Oe=Q;T.default=Oe,ae.exports=T.default}}),jl=zt({"node_modules/postcss/lib/processor.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Y(bl());function Y(Se){return Se&&Se.__esModule?Se:{default:Se}}function oe(Se,P){var b;if(typeof Symbol>"u"||Se[Symbol.iterator]==null){if(Array.isArray(Se)||(b=Ae(Se))||P&&Se&&typeof Se.length=="number"){b&&(Se=b);var re=0;return function(){return re>=Se.length?{done:!0}:{done:!1,value:Se[re++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
201
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return b=Se[Symbol.iterator](),b.next.bind(b)}function Ae(Se,P){if(Se){if(typeof Se=="string")return Te(Se,P);var b=Object.prototype.toString.call(Se).slice(8,-1);if(b==="Object"&&Se.constructor&&(b=Se.constructor.name),b==="Map"||b==="Set")return Array.from(Se);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return Te(Se,P)}}function Te(Se,P){(P==null||P>Se.length)&&(P=Se.length);for(var b=0,re=new Array(P);b<P;b++)re[b]=Se[b];return re}var ve=function(){function Se(b){b===void 0&&(b=[]),this.version="7.0.39",this.plugins=this.normalize(b)}var P=Se.prototype;return P.use=function(b){return this.plugins=this.plugins.concat(this.normalize([b])),this},P.process=function(b){function re(Q){return b.apply(this,arguments)}return re.toString=function(){return b.toString()},re}(function(b,re){return re===void 0&&(re={}),this.plugins.length===0&&(re.parser,re.stringifier),new Z.default(this,b,re)}),P.normalize=function(b){for(var re=[],Q=oe(b),Oe;!(Oe=Q()).done;){var ke=Oe.value;if(ke.postcss===!0){var Ye=ke();throw new Error("PostCSS plugin "+Ye.postcssPlugin+` requires PostCSS 8.
|
|
202
|
-
Migration guide for end-users:
|
|
203
|
-
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`)}if(ke.postcss&&(ke=ke.postcss),typeof ke=="object"&&Array.isArray(ke.plugins))re=re.concat(ke.plugins);else if(typeof ke=="function")re.push(ke);else if(!(typeof ke=="object"&&(ke.parse||ke.stringify)))throw typeof ke=="object"&&ke.postcssPlugin?new Error("PostCSS plugin "+ke.postcssPlugin+` requires PostCSS 8.
|
|
204
|
-
Migration guide for end-users:
|
|
205
|
-
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(ke+" is not a PostCSS plugin")}return re},Se}(),xe=ve;T.default=xe,ae.exports=T.default}}),tc=zt({"node_modules/postcss/lib/root.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=Y(Uu());function Y(P){return P&&P.__esModule?P:{default:P}}function oe(P,b){var re;if(typeof Symbol>"u"||P[Symbol.iterator]==null){if(Array.isArray(P)||(re=Ae(P))||b&&P&&typeof P.length=="number"){re&&(P=re);var Q=0;return function(){return Q>=P.length?{done:!0}:{done:!1,value:P[Q++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
206
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return re=P[Symbol.iterator](),re.next.bind(re)}function Ae(P,b){if(P){if(typeof P=="string")return Te(P,b);var re=Object.prototype.toString.call(P).slice(8,-1);if(re==="Object"&&P.constructor&&(re=P.constructor.name),re==="Map"||re==="Set")return Array.from(P);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return Te(P,b)}}function Te(P,b){(b==null||b>P.length)&&(b=P.length);for(var re=0,Q=new Array(b);re<b;re++)Q[re]=P[re];return Q}function ve(P,b){P.prototype=Object.create(b.prototype),P.prototype.constructor=P,P.__proto__=b}var xe=function(P){ve(b,P);function b(Q){var Oe;return Oe=P.call(this,Q)||this,Oe.type="root",Oe.nodes||(Oe.nodes=[]),Oe}var re=b.prototype;return re.removeChild=function(Q,Oe){var ke=this.index(Q);return!Oe&&ke===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[ke].raws.before),P.prototype.removeChild.call(this,Q)},re.normalize=function(Q,Oe,ke){var Ye=P.prototype.normalize.call(this,Q);if(Oe){if(ke==="prepend")this.nodes.length>1?Oe.raws.before=this.nodes[1].raws.before:delete Oe.raws.before;else if(this.first!==Oe)for(var Ue=oe(Ye),_e;!(_e=Ue()).done;){var Et=_e.value;Et.raws.before=Oe.raws.before}}return Ye},re.toResult=function(Q){Q===void 0&&(Q={});var Oe=bl(),ke=jl(),Ye=new Oe(new ke,this,Q);return Ye.stringify()},b}(Z.default),Se=xe;T.default=Se,ae.exports=T.default}}),Su=zt({"node_modules/postcss/lib/parser.js"(T,ae){Re(),T.__esModule=!0,T.default=void 0;var Z=xe(au()),Y=xe(Ea()),oe=xe(oo()),Ae=xe(Ro()),Te=xe(tc()),ve=xe(ul());function xe(P){return P&&P.__esModule?P:{default:P}}var Se=function(){function P(re){this.input=re,this.root=new Te.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:re,start:{line:1,column:1}}}var b=P.prototype;return b.createTokenizer=function(){this.tokenizer=(0,Y.default)(this.input)},b.parse=function(){for(var re;!this.tokenizer.endOfFile();)switch(re=this.tokenizer.nextToken(),re[0]){case"space":this.spaces+=re[1];break;case";":this.freeSemicolon(re);break;case"}":this.end(re);break;case"comment":this.comment(re);break;case"at-word":this.atrule(re);break;case"{":this.emptyRule(re);break;default:this.other(re);break}this.endFile()},b.comment=function(re){var Q=new oe.default;this.init(Q,re[2],re[3]),Q.source.end={line:re[4],column:re[5]};var Oe=re[1].slice(2,-2);if(/^\s*$/.test(Oe))Q.text="",Q.raws.left=Oe,Q.raws.right="";else{var ke=Oe.match(/^(\s*)([^]*[^\s])(\s*)$/);Q.text=ke[2],Q.raws.left=ke[1],Q.raws.right=ke[3]}},b.emptyRule=function(re){var Q=new ve.default;this.init(Q,re[2],re[3]),Q.selector="",Q.raws.between="",this.current=Q},b.other=function(re){for(var Q=!1,Oe=null,ke=!1,Ye=null,Ue=[],_e=[],Et=re;Et;){if(Oe=Et[0],_e.push(Et),Oe==="("||Oe==="[")Ye||(Ye=Et),Ue.push(Oe==="("?")":"]");else if(Ue.length===0)if(Oe===";")if(ke){this.decl(_e);return}else break;else if(Oe==="{"){this.rule(_e);return}else if(Oe==="}"){this.tokenizer.back(_e.pop()),Q=!0;break}else Oe===":"&&(ke=!0);else Oe===Ue[Ue.length-1]&&(Ue.pop(),Ue.length===0&&(Ye=null));Et=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Q=!0),Ue.length>0&&this.unclosedBracket(Ye),Q&&ke){for(;_e.length&&(Et=_e[_e.length-1][0],!(Et!=="space"&&Et!=="comment"));)this.tokenizer.back(_e.pop());this.decl(_e)}else this.unknownWord(_e)},b.rule=function(re){re.pop();var Q=new ve.default;this.init(Q,re[0][2],re[0][3]),Q.raws.between=this.spacesAndCommentsFromEnd(re),this.raw(Q,"selector",re),this.current=Q},b.decl=function(re){var Q=new Z.default;this.init(Q);var Oe=re[re.length-1];for(Oe[0]===";"&&(this.semicolon=!0,re.pop()),Oe[4]?Q.source.end={line:Oe[4],column:Oe[5]}:Q.source.end={line:Oe[2],column:Oe[3]};re[0][0]!=="word";)re.length===1&&this.unknownWord(re),Q.raws.before+=re.shift()[1];for(Q.source.start={line:re[0][2],column:re[0][3]},Q.prop="";re.length;){var ke=re[0][0];if(ke===":"||ke==="space"||ke==="comment")break;Q.prop+=re.shift()[1]}Q.raws.between="";for(var Ye;re.length;)if(Ye=re.shift(),Ye[0]===":"){Q.raws.between+=Ye[1];break}else Ye[0]==="word"&&/\w/.test(Ye[1])&&this.unknownWord([Ye]),Q.raws.between+=Ye[1];(Q.prop[0]==="_"||Q.prop[0]==="*")&&(Q.raws.before+=Q.prop[0],Q.prop=Q.prop.slice(1)),Q.raws.between+=this.spacesAndCommentsFromStart(re),this.precheckMissedSemicolon(re);for(var Ue=re.length-1;Ue>0;Ue--){if(Ye=re[Ue],Ye[1].toLowerCase()==="!important"){Q.important=!0;var _e=this.stringFrom(re,Ue);_e=this.spacesFromEnd(re)+_e,_e!==" !important"&&(Q.raws.important=_e);break}else if(Ye[1].toLowerCase()==="important"){for(var Et=re.slice(0),Ft="",Ht=Ue;Ht>0;Ht--){var un=Et[Ht][0];if(Ft.trim().indexOf("!")===0&&un!=="space")break;Ft=Et.pop()[1]+Ft}Ft.trim().indexOf("!")===0&&(Q.important=!0,Q.raws.important=Ft,re=Et)}if(Ye[0]!=="space"&&Ye[0]!=="comment")break}this.raw(Q,"value",re),Q.value.indexOf(":")!==-1&&this.checkMissedSemicolon(re)},b.atrule=function(re){var Q=new Ae.default;Q.name=re[1].slice(1),Q.name===""&&this.unnamedAtrule(Q,re),this.init(Q,re[2],re[3]);for(var Oe,ke,Ye=!1,Ue=!1,_e=[];!this.tokenizer.endOfFile();){if(re=this.tokenizer.nextToken(),re[0]===";"){Q.source.end={line:re[2],column:re[3]},this.semicolon=!0;break}else if(re[0]==="{"){Ue=!0;break}else if(re[0]==="}"){if(_e.length>0){for(ke=_e.length-1,Oe=_e[ke];Oe&&Oe[0]==="space";)Oe=_e[--ke];Oe&&(Q.source.end={line:Oe[4],column:Oe[5]})}this.end(re);break}else _e.push(re);if(this.tokenizer.endOfFile()){Ye=!0;break}}Q.raws.between=this.spacesAndCommentsFromEnd(_e),_e.length?(Q.raws.afterName=this.spacesAndCommentsFromStart(_e),this.raw(Q,"params",_e),Ye&&(re=_e[_e.length-1],Q.source.end={line:re[4],column:re[5]},this.spaces=Q.raws.between,Q.raws.between="")):(Q.raws.afterName="",Q.params=""),Ue&&(Q.nodes=[],this.current=Q)},b.end=function(re){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:re[2],column:re[3]},this.current=this.current.parent):this.unexpectedClose(re)},b.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},b.freeSemicolon=function(re){if(this.spaces+=re[1],this.current.nodes){var Q=this.current.nodes[this.current.nodes.length-1];Q&&Q.type==="rule"&&!Q.raws.ownSemicolon&&(Q.raws.ownSemicolon=this.spaces,this.spaces="")}},b.init=function(re,Q,Oe){this.current.push(re),re.source={start:{line:Q,column:Oe},input:this.input},re.raws.before=this.spaces,this.spaces="",re.type!=="comment"&&(this.semicolon=!1)},b.raw=function(re,Q,Oe){for(var ke,Ye,Ue=Oe.length,_e="",Et=!0,Ft,Ht,un=/^([.|#])?([\w])+/i,Mn=0;Mn<Ue;Mn+=1){if(ke=Oe[Mn],Ye=ke[0],Ye==="comment"&&re.type==="rule"){Ht=Oe[Mn-1],Ft=Oe[Mn+1],Ht[0]!=="space"&&Ft[0]!=="space"&&un.test(Ht[1])&&un.test(Ft[1])?_e+=ke[1]:Et=!1;continue}Ye==="comment"||Ye==="space"&&Mn===Ue-1?Et=!1:_e+=ke[1]}if(!Et){var Hn=Oe.reduce(function(bi,en){return bi+en[1]},"");re.raws[Q]={value:_e,raw:Hn}}re[Q]=_e},b.spacesAndCommentsFromEnd=function(re){for(var Q,Oe="";re.length&&(Q=re[re.length-1][0],!(Q!=="space"&&Q!=="comment"));)Oe=re.pop()[1]+Oe;return Oe},b.spacesAndCommentsFromStart=function(re){for(var Q,Oe="";re.length&&(Q=re[0][0],!(Q!=="space"&&Q!=="comment"));)Oe+=re.shift()[1];return Oe},b.spacesFromEnd=function(re){for(var Q,Oe="";re.length&&(Q=re[re.length-1][0],Q==="space");)Oe=re.pop()[1]+Oe;return Oe},b.stringFrom=function(re,Q){for(var Oe="",ke=Q;ke<re.length;ke++)Oe+=re[ke][1];return re.splice(Q,re.length-Q),Oe},b.colon=function(re){for(var Q=0,Oe,ke,Ye,Ue=0;Ue<re.length;Ue++){if(Oe=re[Ue],ke=Oe[0],ke==="("&&(Q+=1),ke===")"&&(Q-=1),Q===0&&ke===":")if(!Ye)this.doubleColon(Oe);else{if(Ye[0]==="word"&&Ye[1]==="progid")continue;return Ue}Ye=Oe}return!1},b.unclosedBracket=function(re){throw this.input.error("Unclosed bracket",re[2],re[3])},b.unknownWord=function(re){throw this.input.error("Unknown word",re[0][2],re[0][3])},b.unexpectedClose=function(re){throw this.input.error("Unexpected }",re[2],re[3])},b.unclosedBlock=function(){var re=this.current.source.start;throw this.input.error("Unclosed block",re.line,re.column)},b.doubleColon=function(re){throw this.input.error("Double colon",re[2],re[3])},b.unnamedAtrule=function(re,Q){throw this.input.error("At-rule without name",Q[2],Q[3])},b.precheckMissedSemicolon=function(){},b.checkMissedSemicolon=function(re){var Q=this.colon(re);if(Q!==!1){for(var Oe=0,ke,Ye=Q-1;Ye>=0&&(ke=re[Ye],!(ke[0]!=="space"&&(Oe+=1,Oe===2)));Ye--);throw this.input.error("Missed semicolon",ke[2],ke[3])}},P}();T.default=Se,ae.exports=T.default}}),qu=zt({"node_modules/postcss-less/lib/nodes/inline-comment.js"(T,ae){Re();var Z=Ea(),Y=ao();ae.exports={isInlineComment(oe){if(oe[0]==="word"&&oe[1].slice(0,2)==="//"){let Ae=oe,Te=[],ve;for(;oe;){if(/\r?\n/.test(oe[1])){if(/['"].*\r?\n/.test(oe[1])){Te.push(oe[1].substring(0,oe[1].indexOf(`
|
|
207
|
-
`)));let Se=oe[1].substring(oe[1].indexOf(`
|
|
208
|
-
`));Se+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new Y(Se),this.tokenizer=Z(this.input)}else this.tokenizer.back(oe);break}Te.push(oe[1]),ve=oe,oe=this.tokenizer.nextToken({ignoreUnclosed:!0})}let xe=["comment",Te.join(""),Ae[2],Ae[3],ve[2],ve[3]];return this.inlineComment(xe),!0}else if(oe[1]==="/"){let Ae=this.tokenizer.nextToken({ignoreUnclosed:!0});if(Ae[0]==="comment"&&/^\/\*/.test(Ae[1]))return Ae[0]="word",Ae[1]=Ae[1].slice(1),oe[1]="//",this.tokenizer.back(Ae),ae.exports.isInlineComment.bind(this)(oe)}return!1}}}}),ya=zt({"node_modules/postcss-less/lib/nodes/interpolation.js"(T,ae){Re(),ae.exports={interpolation(Z){let Y=Z,oe=[Z],Ae=["word","{","}"];if(Z=this.tokenizer.nextToken(),Y[1].length>1||Z[0]!=="{")return this.tokenizer.back(Z),!1;for(;Z&&Ae.includes(Z[0]);)oe.push(Z),Z=this.tokenizer.nextToken();let Te=oe.map(b=>b[1]);[Y]=oe;let ve=oe.pop(),xe=[Y[2],Y[3]],Se=[ve[4]||ve[2],ve[5]||ve[3]],P=["word",Te.join("")].concat(xe,Se);return this.tokenizer.back(Z),this.tokenizer.back(P),!0}}}}),Ys=zt({"node_modules/postcss-less/lib/nodes/mixin.js"(T,ae){Re();var Z=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Y=/\.[0-9]/,oe=Ae=>{let[,Te]=Ae,[ve]=Te;return(ve==="."||ve==="#")&&Z.test(Te)===!1&&Y.test(Te)===!1};ae.exports={isMixinToken:oe}}}),Js=zt({"node_modules/postcss-less/lib/nodes/import.js"(T,ae){Re();var Z=Ea(),Y=/^url\((.+)\)/;ae.exports=oe=>{let{name:Ae,params:Te=""}=oe;if(Ae==="import"&&Te.length){oe.import=!0;let ve=Z({css:Te});for(oe.filename=Te.replace(Y,"$1");!ve.endOfFile();){let[xe,Se]=ve.nextToken();if(xe==="word"&&Se==="url")return;if(xe==="brackets"){oe.options=Se,oe.filename=Te.replace(Se,"").trim();break}}}}}}),Hs=zt({"node_modules/postcss-less/lib/nodes/variable.js"(T,ae){Re();var Z=/:$/,Y=/^:(\s+)?/;ae.exports=oe=>{let{name:Ae,params:Te=""}=oe;if(oe.name.slice(-1)===":"){if(Z.test(Ae)){let[ve]=Ae.match(Z);oe.name=Ae.replace(ve,""),oe.raws.afterName=ve+(oe.raws.afterName||""),oe.variable=!0,oe.value=oe.params}if(Y.test(Te)){let[ve]=Te.match(Y);oe.value=Te.replace(ve,""),oe.raws.afterName=(oe.raws.afterName||"")+ve,oe.variable=!0}}}}}),zo=zt({"node_modules/postcss-less/lib/LessParser.js"(T,ae){Re();var Z=oo(),Y=Su(),{isInlineComment:oe}=qu(),{interpolation:Ae}=ya(),{isMixinToken:Te}=Ys(),ve=Js(),xe=Hs(),Se=/(!\s*important)$/i;ae.exports=class extends Y{constructor(){super(...arguments),this.lastNode=null}atrule(P){Ae.bind(this)(P)||(super.atrule(P),ve(this.lastNode),xe(this.lastNode))}decl(){super.decl(...arguments),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(P){P[0][1]=" ".concat(P[0][1]);let b=P.findIndex(ke=>ke[0]==="("),re=P.reverse().find(ke=>ke[0]===")"),Q=P.reverse().indexOf(re),Oe=P.splice(b,Q).map(ke=>ke[1]).join("");for(let ke of P.reverse())this.tokenizer.back(ke);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=Oe}init(P,b,re){super.init(P,b,re),this.lastNode=P}inlineComment(P){let b=new Z,re=P[1].slice(2);if(this.init(b,P[2],P[3]),b.source.end={line:P[4],column:P[5]},b.inline=!0,b.raws.begin="//",/^\s*$/.test(re))b.text="",b.raws.left=re,b.raws.right="";else{let Q=re.match(/^(\s*)([^]*[^\s])(\s*)$/);[,b.raws.left,b.text,b.raws.right]=Q}}mixin(P){let[b]=P,re=b[1].slice(0,1),Q=P.findIndex(_e=>_e[0]==="brackets"),Oe=P.findIndex(_e=>_e[0]==="("),ke="";if((Q<0||Q>3)&&Oe>0){let _e=P.reduce((Bi,di,Ci)=>di[0]===")"?Ci:Bi),Et=P.slice(Oe,_e+Oe).map(Bi=>Bi[1]).join(""),[Ft]=P.slice(Oe),Ht=[Ft[2],Ft[3]],[un]=P.slice(_e,_e+1),Mn=[un[2],un[3]],Hn=["brackets",Et].concat(Ht,Mn),bi=P.slice(0,Oe),en=P.slice(_e+1);P=bi,P.push(Hn),P=P.concat(en)}let Ye=[];for(let _e of P)if((_e[1]==="!"||Ye.length)&&Ye.push(_e),_e[1]==="important")break;if(Ye.length){let[_e]=Ye,Et=P.indexOf(_e),Ft=Ye[Ye.length-1],Ht=[_e[2],_e[3]],un=[Ft[4],Ft[5]],Mn=Ye.map(bi=>bi[1]).join(""),Hn=["word",Mn].concat(Ht,un);P.splice(Et,Ye.length,Hn)}let Ue=P.findIndex(_e=>Se.test(_e[1]));Ue>0&&([,ke]=P[Ue],P.splice(Ue,1));for(let _e of P.reverse())this.tokenizer.back(_e);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=re,ke&&(this.lastNode.important=!0,this.lastNode.raws.important=ke)}other(P){oe.bind(this)(P)||super.other(P)}rule(P){let b=P[P.length-1],re=P[P.length-2];if(re[0]==="at-word"&&b[0]==="{"&&(this.tokenizer.back(b),Ae.bind(this)(re))){let Q=this.tokenizer.nextToken();P=P.slice(0,P.length-2).concat([Q]);for(let Oe of P.reverse())this.tokenizer.back(Oe);return}super.rule(P),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(P){let[b]=P;if(P[0][1]==="each"&&P[1][0]==="("){this.each(P);return}if(Te(b)){this.mixin(P);return}super.unknownWord(P)}}}}),$u=zt({"node_modules/postcss-less/lib/LessStringifier.js"(T,ae){Re();var Z=wu();ae.exports=class extends Z{atrule(Y,oe){if(!Y.mixin&&!Y.variable&&!Y.function){super.atrule(Y,oe);return}let Ae=Y.function?"":Y.raws.identifier||"@",Te="".concat(Ae).concat(Y.name),ve=Y.params?this.rawValue(Y,"params"):"",xe=Y.raws.important||"";if(Y.variable&&(ve=Y.value),typeof Y.raws.afterName<"u"?Te+=Y.raws.afterName:ve&&(Te+=" "),Y.nodes)this.block(Y,Te+ve+xe);else{let Se=(Y.raws.between||"")+xe+(oe?";":"");this.builder(Te+ve+Se,Y)}}comment(Y){if(Y.inline){let oe=this.raw(Y,"left","commentLeft"),Ae=this.raw(Y,"right","commentRight");this.builder("//".concat(oe).concat(Y.text).concat(Ae),Y)}else super.comment(Y)}}}}),lo=zt({"node_modules/postcss-less/lib/index.js"(T,ae){Re();var Z=ao(),Y=zo(),oe=$u();ae.exports={parse(Ae,Te){let ve=new Z(Ae,Te),xe=new Y(ve);return xe.parse(),xe.root},stringify(Ae,Te){new oe(Te).stringify(Ae)},nodeToString(Ae){let Te="";return ae.exports.stringify(Ae,ve=>{Te+=ve}),Te}}}}),Uo=zt({"node_modules/postcss-scss/lib/scss-stringifier.js"(T,ae){Re();function Z(Ae,Te){Ae.prototype=Object.create(Te.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=Te}var Y=wu(),oe=function(Ae){Z(Te,Ae);function Te(){return Ae.apply(this,arguments)||this}var ve=Te.prototype;return ve.comment=function(xe){var Se=this.raw(xe,"left","commentLeft"),P=this.raw(xe,"right","commentRight");if(xe.raws.inline){var b=xe.raws.text||xe.text;this.builder("//"+Se+b+P,xe)}else this.builder("/*"+Se+xe.text+P+"*/",xe)},ve.decl=function(xe,Se){if(!xe.isNested)Ae.prototype.decl.call(this,xe,Se);else{var P=this.raw(xe,"between","colon"),b=xe.prop+P+this.rawValue(xe,"value");xe.important&&(b+=xe.raws.important||" !important"),this.builder(b+"{",xe,"start");var re;xe.nodes&&xe.nodes.length?(this.body(xe),re=this.raw(xe,"after")):re=this.raw(xe,"after","emptyBody"),re&&this.builder(re),this.builder("}",xe,"end")}},ve.rawValue=function(xe,Se){var P=xe[Se],b=xe.raws[Se];return b&&b.value===P?b.scss?b.scss:b.raw:P},Te}(Y);ae.exports=oe}}),ll=zt({"node_modules/postcss-scss/lib/scss-stringify.js"(T,ae){Re();var Z=Uo();ae.exports=function(Y,oe){var Ae=new Z(oe);Ae.stringify(Y)}}}),Cl=zt({"node_modules/postcss-scss/lib/nested-declaration.js"(T,ae){Re();function Z(Ae,Te){Ae.prototype=Object.create(Te.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=Te}var Y=Uu(),oe=function(Ae){Z(Te,Ae);function Te(ve){var xe;return xe=Ae.call(this,ve)||this,xe.type="decl",xe.isNested=!0,xe.nodes||(xe.nodes=[]),xe}return Te}(Y);ae.exports=oe}}),cl=zt({"node_modules/postcss-scss/lib/scss-tokenize.js"(T,ae){Re();var Z="'".charCodeAt(0),Y='"'.charCodeAt(0),oe="\\".charCodeAt(0),Ae="/".charCodeAt(0),Te=`
|
|
209
|
-
`.charCodeAt(0),ve=" ".charCodeAt(0),xe="\f".charCodeAt(0),Se=" ".charCodeAt(0),P="\r".charCodeAt(0),b="[".charCodeAt(0),re="]".charCodeAt(0),Q="(".charCodeAt(0),Oe=")".charCodeAt(0),ke="{".charCodeAt(0),Ye="}".charCodeAt(0),Ue=";".charCodeAt(0),_e="*".charCodeAt(0),Et=":".charCodeAt(0),Ft="@".charCodeAt(0),Ht=",".charCodeAt(0),un="#".charCodeAt(0),Mn=/[ \n\t\r\f{}()'"\\;/[\]#]/g,Hn=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,bi=/.[\\/("'\n]/,en=/[a-f0-9]/i,Bi=/[\r\f\n]/g;ae.exports=function(di,Ci){Ci===void 0&&(Ci={});var Dn=di.css.valueOf(),Gr=Ci.ignoreErrors,bn,Lr,Vs,xs,ts,rs,Gi,Qn,zi,Fi,ki,Ut,vr,_r,On=Dn.length,Rt=-1,oi=1,Xn=0,ra=[],na=[];function Os(ia){throw di.error("Unclosed "+ia,oi,Xn-Rt)}function Aa(){return na.length===0&&Xn>=On}function va(){for(var ia=1,Zs=!1,sa=!1;ia>0;)Lr+=1,Dn.length<=Lr&&Os("interpolation"),bn=Dn.charCodeAt(Lr),Ut=Dn.charCodeAt(Lr+1),Zs?!sa&&bn===Zs?(Zs=!1,sa=!1):bn===oe?sa=!Fi:sa&&(sa=!1):bn===Z||bn===Y?Zs=bn:bn===Ye?ia-=1:bn===un&&Ut===ke&&(ia+=1)}function Qs(){if(na.length)return na.pop();if(!(Xn>=On)){switch(bn=Dn.charCodeAt(Xn),(bn===Te||bn===xe||bn===P&&Dn.charCodeAt(Xn+1)!==Te)&&(Rt=Xn,oi+=1),bn){case Te:case ve:case Se:case P:case xe:Lr=Xn;do Lr+=1,bn=Dn.charCodeAt(Lr),bn===Te&&(Rt=Lr,oi+=1);while(bn===ve||bn===Te||bn===Se||bn===P||bn===xe);vr=["space",Dn.slice(Xn,Lr)],Xn=Lr-1;break;case b:vr=["[","[",oi,Xn-Rt];break;case re:vr=["]","]",oi,Xn-Rt];break;case ke:vr=["{","{",oi,Xn-Rt];break;case Ye:vr=["}","}",oi,Xn-Rt];break;case Ht:vr=["word",",",oi,Xn-Rt,oi,Xn-Rt+1];break;case Et:vr=[":",":",oi,Xn-Rt];break;case Ue:vr=[";",";",oi,Xn-Rt];break;case Q:if(ki=ra.length?ra.pop()[1]:"",Ut=Dn.charCodeAt(Xn+1),ki==="url"&&Ut!==Z&&Ut!==Y){for(_r=1,Fi=!1,Lr=Xn+1;Lr<=Dn.length-1;){if(Ut=Dn.charCodeAt(Lr),Ut===oe)Fi=!Fi;else if(Ut===Q)_r+=1;else if(Ut===Oe&&(_r-=1,_r===0))break;Lr+=1}rs=Dn.slice(Xn,Lr+1),xs=rs.split(`
|
|
210
|
-
`),ts=xs.length-1,ts>0?(Qn=oi+ts,zi=Lr-xs[ts].length):(Qn=oi,zi=Rt),vr=["brackets",rs,oi,Xn-Rt,Qn,Lr-zi],Rt=zi,oi=Qn,Xn=Lr}else Lr=Dn.indexOf(")",Xn+1),rs=Dn.slice(Xn,Lr+1),Lr===-1||bi.test(rs)?vr=["(","(",oi,Xn-Rt]:(vr=["brackets",rs,oi,Xn-Rt,oi,Lr-Rt],Xn=Lr);break;case Oe:vr=[")",")",oi,Xn-Rt];break;case Z:case Y:for(Vs=bn,Lr=Xn,Fi=!1;Lr<On&&(Lr++,Lr===On&&Os("string"),bn=Dn.charCodeAt(Lr),Ut=Dn.charCodeAt(Lr+1),!(!Fi&&bn===Vs));)bn===oe?Fi=!Fi:Fi?Fi=!1:bn===un&&Ut===ke&&va();rs=Dn.slice(Xn,Lr+1),xs=rs.split(`
|
|
211
|
-
`),ts=xs.length-1,ts>0?(Qn=oi+ts,zi=Lr-xs[ts].length):(Qn=oi,zi=Rt),vr=["string",Dn.slice(Xn,Lr+1),oi,Xn-Rt,Qn,Lr-zi],Rt=zi,oi=Qn,Xn=Lr;break;case Ft:Mn.lastIndex=Xn+1,Mn.test(Dn),Mn.lastIndex===0?Lr=Dn.length-1:Lr=Mn.lastIndex-2,vr=["at-word",Dn.slice(Xn,Lr+1),oi,Xn-Rt,oi,Lr-Rt],Xn=Lr;break;case oe:for(Lr=Xn,Gi=!0;Dn.charCodeAt(Lr+1)===oe;)Lr+=1,Gi=!Gi;if(bn=Dn.charCodeAt(Lr+1),Gi&&bn!==Ae&&bn!==ve&&bn!==Te&&bn!==Se&&bn!==P&&bn!==xe&&(Lr+=1,en.test(Dn.charAt(Lr)))){for(;en.test(Dn.charAt(Lr+1));)Lr+=1;Dn.charCodeAt(Lr+1)===ve&&(Lr+=1)}vr=["word",Dn.slice(Xn,Lr+1),oi,Xn-Rt,oi,Lr-Rt],Xn=Lr;break;default:Ut=Dn.charCodeAt(Xn+1),bn===un&&Ut===ke?(Lr=Xn,va(),rs=Dn.slice(Xn,Lr+1),xs=rs.split(`
|
|
212
|
-
`),ts=xs.length-1,ts>0?(Qn=oi+ts,zi=Lr-xs[ts].length):(Qn=oi,zi=Rt),vr=["word",rs,oi,Xn-Rt,Qn,Lr-zi],Rt=zi,oi=Qn,Xn=Lr):bn===Ae&&Ut===_e?(Lr=Dn.indexOf("*/",Xn+2)+1,Lr===0&&(Gr?Lr=Dn.length:Os("comment")),rs=Dn.slice(Xn,Lr+1),xs=rs.split(`
|
|
213
|
-
`),ts=xs.length-1,ts>0?(Qn=oi+ts,zi=Lr-xs[ts].length):(Qn=oi,zi=Rt),vr=["comment",rs,oi,Xn-Rt,Qn,Lr-zi],Rt=zi,oi=Qn,Xn=Lr):bn===Ae&&Ut===Ae?(Bi.lastIndex=Xn+1,Bi.test(Dn),Bi.lastIndex===0?Lr=Dn.length-1:Lr=Bi.lastIndex-2,rs=Dn.slice(Xn,Lr+1),vr=["comment",rs,oi,Xn-Rt,oi,Lr-Rt,"inline"],Xn=Lr):(Hn.lastIndex=Xn+1,Hn.test(Dn),Hn.lastIndex===0?Lr=Dn.length-1:Lr=Hn.lastIndex-2,vr=["word",Dn.slice(Xn,Lr+1),oi,Xn-Rt,oi,Lr-Rt],ra.push(vr),Xn=Lr);break}return Xn++,vr}}function La(ia){na.push(ia)}return{back:La,nextToken:Qs,endOfFile:Aa}}}}),Rl=zt({"node_modules/postcss-scss/lib/scss-parser.js"(T,ae){Re();function Z(xe,Se){xe.prototype=Object.create(Se.prototype),xe.prototype.constructor=xe,xe.__proto__=Se}var Y=oo(),oe=Su(),Ae=Cl(),Te=cl(),ve=function(xe){Z(Se,xe);function Se(){return xe.apply(this,arguments)||this}var P=Se.prototype;return P.createTokenizer=function(){this.tokenizer=Te(this.input)},P.rule=function(b){for(var re=!1,Q=0,Oe="",Ue=b,ke=Array.isArray(Ue),Ye=0,Ue=ke?Ue:Ue[Symbol.iterator]();;){var _e;if(ke){if(Ye>=Ue.length)break;_e=Ue[Ye++]}else{if(Ye=Ue.next(),Ye.done)break;_e=Ye.value}var Et=_e;if(re)Et[0]!=="comment"&&Et[0]!=="{"&&(Oe+=Et[1]);else{if(Et[0]==="space"&&Et[1].indexOf(`
|
|
214
|
-
`)!==-1)break;Et[0]==="("?Q+=1:Et[0]===")"?Q-=1:Q===0&&Et[0]===":"&&(re=!0)}}if(!re||Oe.trim()===""||/^[a-zA-Z-:#]/.test(Oe))xe.prototype.rule.call(this,b);else{b.pop();var Ft=new Ae;this.init(Ft);var Ht=b[b.length-1];for(Ht[4]?Ft.source.end={line:Ht[4],column:Ht[5]}:Ft.source.end={line:Ht[2],column:Ht[3]};b[0][0]!=="word";)Ft.raws.before+=b.shift()[1];for(Ft.source.start={line:b[0][2],column:b[0][3]},Ft.prop="";b.length;){var un=b[0][0];if(un===":"||un==="space"||un==="comment")break;Ft.prop+=b.shift()[1]}Ft.raws.between="";for(var Mn;b.length;)if(Mn=b.shift(),Mn[0]===":"){Ft.raws.between+=Mn[1];break}else Ft.raws.between+=Mn[1];(Ft.prop[0]==="_"||Ft.prop[0]==="*")&&(Ft.raws.before+=Ft.prop[0],Ft.prop=Ft.prop.slice(1)),Ft.raws.between+=this.spacesAndCommentsFromStart(b),this.precheckMissedSemicolon(b);for(var Hn=b.length-1;Hn>0;Hn--){if(Mn=b[Hn],Mn[1]==="!important"){Ft.important=!0;var bi=this.stringFrom(b,Hn);bi=this.spacesFromEnd(b)+bi,bi!==" !important"&&(Ft.raws.important=bi);break}else if(Mn[1]==="important"){for(var en=b.slice(0),Bi="",di=Hn;di>0;di--){var Ci=en[di][0];if(Bi.trim().indexOf("!")===0&&Ci!=="space")break;Bi=en.pop()[1]+Bi}Bi.trim().indexOf("!")===0&&(Ft.important=!0,Ft.raws.important=Bi,b=en)}if(Mn[0]!=="space"&&Mn[0]!=="comment")break}this.raw(Ft,"value",b),Ft.value.indexOf(":")!==-1&&this.checkMissedSemicolon(b),this.current=Ft}},P.comment=function(b){if(b[6]==="inline"){var re=new Y;this.init(re,b[2],b[3]),re.raws.inline=!0,re.source.end={line:b[4],column:b[5]};var Q=b[1].slice(2);if(/^\s*$/.test(Q))re.text="",re.raws.left=Q,re.raws.right="";else{var Oe=Q.match(/^(\s*)([^]*[^\s])(\s*)$/),ke=Oe[2].replace(/(\*\/|\/\*)/g,"*//*");re.text=ke,re.raws.left=Oe[1],re.raws.right=Oe[3],re.raws.text=Oe[2]}}else xe.prototype.comment.call(this,b)},P.raw=function(b,re,Q){if(xe.prototype.raw.call(this,b,re,Q),b.raws[re]){var Oe=b.raws[re].raw;b.raws[re].raw=Q.reduce(function(ke,Ye){if(Ye[0]==="comment"&&Ye[6]==="inline"){var Ue=Ye[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return ke+"/*"+Ue+"*/"}else return ke+Ye[1]},""),Oe!==b.raws[re].raw&&(b.raws[re].scss=Oe)}},Se}(oe);ae.exports=ve}}),Wu=zt({"node_modules/postcss-scss/lib/scss-parse.js"(T,ae){Re();var Z=ao(),Y=Rl();ae.exports=function(oe,Ae){var Te=new Z(oe,Ae),ve=new Y(Te);return ve.parse(),ve.root}}}),zl=zt({"node_modules/postcss-scss/lib/scss-syntax.js"(T,ae){Re();var Z=ll(),Y=Wu();ae.exports={parse:Y,stringify:Z}}});Re();var pl=Nt(),Vu=Xt(),Ul=tr(),{hasPragma:El}=Li(),{locStart:Fu,locEnd:So}=Gn(),{calculateLoc:vo,replaceQuotesInInlineComments:Al}=Gn(),ku=js(),co=S(),hl=Je(),Hl=Mr(),wl=an(),Ha=li(),Fs=ss(),qa=es(),Fo=T=>{for(;T.parent;)T=T.parent;return T};function $a(T,ae){let{nodes:Z}=T,Y={open:null,close:null,groups:[],type:"paren_group"},oe=[Y],Ae=Y,Te={groups:[],type:"comma_group"},ve=[Te];for(let xe=0;xe<Z.length;++xe){let Se=Z[xe];if(Hl(ae.parser,Se.value)&&Se.type==="number"&&Se.unit===".."&&Vu(Se.value)==="."&&(Se.value=Se.value.slice(0,-1),Se.unit="..."),Se.type==="func"&&Se.value==="selector"&&(Se.group.groups=[Qa(Fo(T).text.slice(Se.group.open.sourceIndex+1,Se.group.close.sourceIndex))]),Se.type==="func"&&Se.value==="url"){let P=Se.group&&Se.group.groups||[],b=[];for(let re=0;re<P.length;re++){let Q=P[re];Q.type==="comma_group"?b=[...b,...Q.groups]:b.push(Q)}if(ku(b)||!co(b)&&!Ha(b[0])){let re=Fs({groups:Se.group.groups});Se.group.groups=[re.trim()]}}if(Se.type==="paren"&&Se.value==="(")Y={open:Se,close:null,groups:[],type:"paren_group"},oe.push(Y),Te={groups:[],type:"comma_group"},ve.push(Te);else if(Se.type==="paren"&&Se.value===")"){if(Te.groups.length>0&&Y.groups.push(Te),Y.close=Se,ve.length===1)throw new Error("Unbalanced parenthesis");ve.pop(),Te=Vu(ve),Te.groups.push(Y),oe.pop(),Y=Vu(oe)}else Se.type==="comma"?(Y.groups.push(Te),Te={groups:[],type:"comma_group"},ve[ve.length-1]=Te):Te.groups.push(Se)}return Te.groups.length>0&&Y.groups.push(Te),Ae}function Gu(T){return T.type==="paren_group"&&!T.open&&!T.close&&T.groups.length===1||T.type==="comma_group"&&T.groups.length===1?Gu(T.groups[0]):T.type==="paren_group"||T.type==="comma_group"?Object.assign(Object.assign({},T),{},{groups:T.groups.map(Gu)}):T}function Ho(T,ae,Z){if(T&&typeof T=="object"){delete T.parent;for(let Y in T)Ho(T[Y],ae,Z),Y==="type"&&typeof T[Y]=="string"&&!T[Y].startsWith(ae)&&(!Z||!Z.test(T[Y]))&&(T[Y]=ae+T[Y])}return T}function Tl(T){if(T&&typeof T=="object"){delete T.parent;for(let ae in T)Tl(T[ae]);!Array.isArray(T)&&T.value&&!T.type&&(T.type="unknown")}return T}function ql(T,ae){if(T&&typeof T=="object"){for(let Z in T)Z!=="parent"&&(ql(T[Z],ae),Z==="nodes"&&(T.group=Gu($a(T,ae)),delete T[Z]));delete T.parent}return T}function ko(T,ae){let Z=ha(),Y=null;try{Y=Z(T,{loose:!0}).parse()}catch{return{type:"value-unknown",value:T}}Y.text=T;let oe=ql(Y,ae);return Ho(oe,"value-",/^selector-/)}function Qa(T){if(/\/\/|\/\*/.test(T))return{type:"selector-unknown",value:T.trim()};let ae=ga(),Z=null;try{ae(Y=>{Z=Y}).process(T)}catch{return{type:"selector-unknown",value:T}}return Ho(Z,"selector-")}function uu(T){let ae=Co().default,Z=null;try{Z=ae(T)}catch{return{type:"selector-unknown",value:T}}return Ho(Tl(Z),"media-")}var fl=/(\s*)(!default).*$/,po=/(\s*)(!global).*$/;function dl(T,ae){if(T&&typeof T=="object"){delete T.parent;for(let Ae in T)dl(T[Ae],ae);if(!T.type)return T;T.raws||(T.raws={});let Z="";typeof T.selector=="string"&&(Z=T.raws.selector?T.raws.selector.scss?T.raws.selector.scss:T.raws.selector.raw:T.selector,T.raws.between&&T.raws.between.trim().length>0&&(Z+=T.raws.between),T.raws.selector=Z);let Y="";typeof T.value=="string"&&(Y=T.raws.value?T.raws.value.scss?T.raws.value.scss:T.raws.value.raw:T.value,Y=Y.trim(),T.raws.value=Y);let oe="";if(typeof T.params=="string"&&(oe=T.raws.params?T.raws.params.scss?T.raws.params.scss:T.raws.params.raw:T.params,T.raws.afterName&&T.raws.afterName.trim().length>0&&(oe=T.raws.afterName+oe),T.raws.between&&T.raws.between.trim().length>0&&(oe=oe+T.raws.between),oe=oe.trim(),T.raws.params=oe),Z.trim().length>0)return Z.startsWith("@")&&Z.endsWith(":")?T:T.mixin?(T.selector=ko(Z,ae),T):(wl(T)&&(T.isSCSSNesterProperty=!0),T.selector=Qa(Z),T);if(Y.length>0){let Ae=Y.match(fl);Ae&&(Y=Y.slice(0,Ae.index),T.scssDefault=!0,Ae[0].trim()!=="!default"&&(T.raws.scssDefault=Ae[0]));let Te=Y.match(po);if(Te&&(Y=Y.slice(0,Te.index),T.scssGlobal=!0,Te[0].trim()!=="!global"&&(T.raws.scssGlobal=Te[0])),Y.startsWith("progid:"))return{type:"value-unknown",value:Y};T.value=ko(Y,ae)}if(hl(ae)&&T.type==="css-decl"&&Y.startsWith("extend(")&&(T.extend||(T.extend=T.raws.between===":"),T.extend&&!T.selector&&(delete T.value,T.selector=Qa(Y.slice(7,-1)))),T.type==="css-atrule"){if(hl(ae)){if(T.mixin){let Ae=T.raws.identifier+T.name+T.raws.afterName+T.raws.params;return T.selector=Qa(Ae),delete T.params,T}if(T.function)return T}if(ae.parser==="css"&&T.name==="custom-selector"){let Ae=T.params.match(/:--\S+\s+/)[0].trim();return T.customSelector=Ae,T.selector=Qa(T.params.slice(Ae.length).trim()),delete T.params,T}if(hl(ae)){if(T.name.includes(":")&&!T.params){T.variable=!0;let Ae=T.name.split(":");T.name=Ae[0],T.value=ko(Ae.slice(1).join(":"),ae)}if(!["page","nest","keyframes"].includes(T.name)&&T.params&&T.params[0]===":"&&(T.variable=!0,T.value=ko(T.params.slice(1),ae),T.raws.afterName+=":"),T.variable)return delete T.params,T}}if(T.type==="css-atrule"&&oe.length>0){let{name:Ae}=T,Te=T.name.toLowerCase();return Ae==="warn"||Ae==="error"?(T.params={type:"media-unknown",value:oe},T):Ae==="extend"||Ae==="nest"?(T.selector=Qa(oe),delete T.params,T):Ae==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(oe)?T.params=ko(oe,ae):(T.selector=Qa(oe),delete T.params),T):qa(Te)?(T.import=!0,delete T.filename,T.params=ko(oe,ae),T):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(Ae)?(oe=oe.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),oe=oe.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),T.value=ko(oe,ae),delete T.params,T):["media","custom-media"].includes(Te)?oe.includes("#{")?{type:"media-unknown",value:oe}:(T.params=uu(oe),T):(T.params=oe,T)}}return T}function qo(T,ae,Z){let Y=Ul(ae),{frontMatter:oe}=Y;ae=Y.content;let Ae;try{Ae=T(ae)}catch(Te){let{name:ve,reason:xe,line:Se,column:P}=Te;throw typeof Se!="number"?Te:pl("".concat(ve,": ").concat(xe),{start:{line:Se,column:P}})}return Ae=dl(Ho(Ae,"css-"),Z),vo(Ae,ae),oe&&(oe.source={startOffset:0,endOffset:oe.raw.length},Ae.nodes.unshift(oe)),Ae}function rc(T,ae){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Y=Hl(Z.parser,T)?[Xu,Po]:[Po,Xu],oe;for(let Ae of Y)try{return Ae(T,ae,Z)}catch(Te){oe=oe||Te}if(oe)throw oe}function Po(T,ae){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Y=lo();return qo(oe=>Y.parse(Al(oe)),T,Z)}function Xu(T,ae){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:Y}=zl();return qo(Y,T,Z)}var lu={astFormat:"postcss",hasPragma:El,locStart:Fu,locEnd:So};Sr.exports={parsers:{css:Object.assign(Object.assign({},lu),{},{parse:rc}),less:Object.assign(Object.assign({},lu),{},{parse:Po}),scss:Object.assign(Object.assign({},lu),{},{parse:Xu})}}});return Ls()})})(mm);var PD=Up(mm.exports),gm={exports:{}};(function(i,c){(function(l){i.exports=l()})(function(){var l=(jt,Ie)=>()=>(Ie||jt((Ie={exports:{}}).exports,Ie),Ie.exports),f=l((jt,Ie)=>{var ce=function(fe){return fe&&fe.Math==Math&&fe};Ie.exports=ce(typeof globalThis=="object"&&globalThis)||ce(typeof window=="object"&&window)||ce(typeof self=="object"&&self)||ce(typeof Ol=="object"&&Ol)||function(){return this}()||Function("return this")()}),v=l((jt,Ie)=>{Ie.exports=function(ce){try{return!!ce()}catch{return!0}}}),B=l((jt,Ie)=>{var ce=v();Ie.exports=!ce(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),K=l((jt,Ie)=>{var ce=v();Ie.exports=!ce(function(){var fe=function(){}.bind();return typeof fe!="function"||fe.hasOwnProperty("prototype")})}),de=l((jt,Ie)=>{var ce=K(),fe=Function.prototype.call;Ie.exports=ce?fe.bind(fe):function(){return fe.apply(fe,arguments)}}),De=l(jt=>{var Ie={}.propertyIsEnumerable,ce=Object.getOwnPropertyDescriptor,fe=ce&&!Ie.call({1:2},1);jt.f=fe?function(Ee){var Ce=ce(this,Ee);return!!Ce&&Ce.enumerable}:Ie}),Le=l((jt,Ie)=>{Ie.exports=function(ce,fe){return{enumerable:!(ce&1),configurable:!(ce&2),writable:!(ce&4),value:fe}}}),ze=l((jt,Ie)=>{var ce=K(),fe=Function.prototype,Ee=fe.bind,Ce=fe.call,He=ce&&Ee.bind(Ce,Ce);Ie.exports=ce?function(et){return et&&He(et)}:function(et){return et&&function(){return Ce.apply(et,arguments)}}}),it=l((jt,Ie)=>{var ce=ze(),fe=ce({}.toString),Ee=ce("".slice);Ie.exports=function(Ce){return Ee(fe(Ce),8,-1)}}),mt=l((jt,Ie)=>{var ce=f(),fe=ze(),Ee=v(),Ce=it(),He=ce.Object,et=fe("".split);Ie.exports=Ee(function(){return!He("z").propertyIsEnumerable(0)})?function(st){return Ce(st)=="String"?et(st,""):He(st)}:He}),Bt=l((jt,Ie)=>{var ce=f(),fe=ce.TypeError;Ie.exports=function(Ee){if(Ee==null)throw fe("Can't call method on "+Ee);return Ee}}),Qt=l((jt,Ie)=>{var ce=mt(),fe=Bt();Ie.exports=function(Ee){return ce(fe(Ee))}}),Cr=l((jt,Ie)=>{Ie.exports=function(ce){return typeof ce=="function"}}),Rr=l((jt,Ie)=>{var ce=Cr();Ie.exports=function(fe){return typeof fe=="object"?fe!==null:ce(fe)}}),St=l((jt,Ie)=>{var ce=f(),fe=Cr(),Ee=function(Ce){return fe(Ce)?Ce:void 0};Ie.exports=function(Ce,He){return arguments.length<2?Ee(ce[Ce]):ce[Ce]&&ce[Ce][He]}}),$t=l((jt,Ie)=>{var ce=ze();Ie.exports=ce({}.isPrototypeOf)}),Vt=l((jt,Ie)=>{var ce=St();Ie.exports=ce("navigator","userAgent")||""}),Pr=l((jt,Ie)=>{var ce=f(),fe=Vt(),Ee=ce.process,Ce=ce.Deno,He=Ee&&Ee.versions||Ce&&Ce.version,et=He&&He.v8,st,Dt;et&&(st=et.split("."),Dt=st[0]>0&&st[0]<4?1:+(st[0]+st[1])),!Dt&&fe&&(st=fe.match(/Edge\/(\d+)/),(!st||st[1]>=74)&&(st=fe.match(/Chrome\/(\d+)/),st&&(Dt=+st[1]))),Ie.exports=Dt}),nn=l((jt,Ie)=>{var ce=Pr(),fe=v();Ie.exports=!!Object.getOwnPropertySymbols&&!fe(function(){var Ee=Symbol();return!String(Ee)||!(Object(Ee)instanceof Symbol)||!Symbol.sham&&ce&&ce<41})}),Sn=l((jt,Ie)=>{var ce=nn();Ie.exports=ce&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Wn=l((jt,Ie)=>{var ce=f(),fe=St(),Ee=Cr(),Ce=$t(),He=Sn(),et=ce.Object;Ie.exports=He?function(st){return typeof st=="symbol"}:function(st){var Dt=fe("Symbol");return Ee(Dt)&&Ce(Dt.prototype,et(st))}}),Mi=l((jt,Ie)=>{var ce=f(),fe=ce.String;Ie.exports=function(Ee){try{return fe(Ee)}catch{return"Object"}}}),mi=l((jt,Ie)=>{var ce=f(),fe=Cr(),Ee=Mi(),Ce=ce.TypeError;Ie.exports=function(He){if(fe(He))return He;throw Ce(Ee(He)+" is not a function")}}),Un=l((jt,Ie)=>{var ce=mi();Ie.exports=function(fe,Ee){var Ce=fe[Ee];return Ce==null?void 0:ce(Ce)}}),Nn=l((jt,Ie)=>{var ce=f(),fe=de(),Ee=Cr(),Ce=Rr(),He=ce.TypeError;Ie.exports=function(et,st){var Dt,Wt;if(st==="string"&&Ee(Dt=et.toString)&&!Ce(Wt=fe(Dt,et))||Ee(Dt=et.valueOf)&&!Ce(Wt=fe(Dt,et))||st!=="string"&&Ee(Dt=et.toString)&&!Ce(Wt=fe(Dt,et)))return Wt;throw He("Can't convert object to primitive value")}}),Ai=l((jt,Ie)=>{Ie.exports=!1}),Dr=l((jt,Ie)=>{var ce=f(),fe=Object.defineProperty;Ie.exports=function(Ee,Ce){try{fe(ce,Ee,{value:Ce,configurable:!0,writable:!0})}catch{ce[Ee]=Ce}return Ce}}),vn=l((jt,Ie)=>{var ce=f(),fe=Dr(),Ee="__core-js_shared__",Ce=ce[Ee]||fe(Ee,{});Ie.exports=Ce}),we=l((jt,Ie)=>{var ce=Ai(),fe=vn();(Ie.exports=function(Ee,Ce){return fe[Ee]||(fe[Ee]=Ce!==void 0?Ce:{})})("versions",[]).push({version:"3.22.2",mode:ce?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),tn=l((jt,Ie)=>{var ce=f(),fe=Bt(),Ee=ce.Object;Ie.exports=function(Ce){return Ee(fe(Ce))}}),yr=l((jt,Ie)=>{var ce=ze(),fe=tn(),Ee=ce({}.hasOwnProperty);Ie.exports=Object.hasOwn||function(Ce,He){return Ee(fe(Ce),He)}}),wn=l((jt,Ie)=>{var ce=ze(),fe=0,Ee=Math.random(),Ce=ce(1 .toString);Ie.exports=function(He){return"Symbol("+(He===void 0?"":He)+")_"+Ce(++fe+Ee,36)}}),ei=l((jt,Ie)=>{var ce=f(),fe=we(),Ee=yr(),Ce=wn(),He=nn(),et=Sn(),st=fe("wks"),Dt=ce.Symbol,Wt=Dt&&Dt.for,nr=et?Dt:Dt&&Dt.withoutSetter||Ce;Ie.exports=function(wr){if(!Ee(st,wr)||!(He||typeof st[wr]=="string")){var Ur="Symbol."+wr;He&&Ee(Dt,wr)?st[wr]=Dt[wr]:et&&Wt?st[wr]=Wt(Ur):st[wr]=nr(Ur)}return st[wr]}}),ls=l((jt,Ie)=>{var ce=f(),fe=de(),Ee=Rr(),Ce=Wn(),He=Un(),et=Nn(),st=ei(),Dt=ce.TypeError,Wt=st("toPrimitive");Ie.exports=function(nr,wr){if(!Ee(nr)||Ce(nr))return nr;var Ur=He(nr,Wt),Qr;if(Ur){if(wr===void 0&&(wr="default"),Qr=fe(Ur,nr,wr),!Ee(Qr)||Ce(Qr))return Qr;throw Dt("Can't convert object to primitive value")}return wr===void 0&&(wr="number"),et(nr,wr)}}),As=l((jt,Ie)=>{var ce=ls(),fe=Wn();Ie.exports=function(Ee){var Ce=ce(Ee,"string");return fe(Ce)?Ce:Ce+""}}),_s=l((jt,Ie)=>{var ce=f(),fe=Rr(),Ee=ce.document,Ce=fe(Ee)&&fe(Ee.createElement);Ie.exports=function(He){return Ce?Ee.createElement(He):{}}}),qi=l((jt,Ie)=>{var ce=B(),fe=v(),Ee=_s();Ie.exports=!ce&&!fe(function(){return Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a!=7})}),Ps=l(jt=>{var Ie=B(),ce=de(),fe=De(),Ee=Le(),Ce=Qt(),He=As(),et=yr(),st=qi(),Dt=Object.getOwnPropertyDescriptor;jt.f=Ie?Dt:function(Wt,nr){if(Wt=Ce(Wt),nr=He(nr),st)try{return Dt(Wt,nr)}catch{}if(et(Wt,nr))return Ee(!ce(fe.f,Wt,nr),Wt[nr])}}),Or=l((jt,Ie)=>{var ce=B(),fe=v();Ie.exports=ce&&fe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Kr=l((jt,Ie)=>{var ce=f(),fe=Rr(),Ee=ce.String,Ce=ce.TypeError;Ie.exports=function(He){if(fe(He))return He;throw Ce(Ee(He)+" is not an object")}}),mr=l(jt=>{var Ie=f(),ce=B(),fe=qi(),Ee=Or(),Ce=Kr(),He=As(),et=Ie.TypeError,st=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,Wt="enumerable",nr="configurable",wr="writable";jt.f=ce?Ee?function(Ur,Qr,rn){if(Ce(Ur),Qr=He(Qr),Ce(rn),typeof Ur=="function"&&Qr==="prototype"&&"value"in rn&&wr in rn&&!rn[wr]){var kr=Dt(Ur,Qr);kr&&kr[wr]&&(Ur[Qr]=rn.value,rn={configurable:nr in rn?rn[nr]:kr[nr],enumerable:Wt in rn?rn[Wt]:kr[Wt],writable:!1})}return st(Ur,Qr,rn)}:st:function(Ur,Qr,rn){if(Ce(Ur),Qr=He(Qr),Ce(rn),fe)try{return st(Ur,Qr,rn)}catch{}if("get"in rn||"set"in rn)throw et("Accessors not supported");return"value"in rn&&(Ur[Qr]=rn.value),Ur}}),dn=l((jt,Ie)=>{var ce=B(),fe=mr(),Ee=Le();Ie.exports=ce?function(Ce,He,et){return fe.f(Ce,He,Ee(1,et))}:function(Ce,He,et){return Ce[He]=et,Ce}}),ai=l((jt,Ie)=>{var ce=ze(),fe=Cr(),Ee=vn(),Ce=ce(Function.toString);fe(Ee.inspectSource)||(Ee.inspectSource=function(He){return Ce(He)}),Ie.exports=Ee.inspectSource}),Jn=l((jt,Ie)=>{var ce=f(),fe=Cr(),Ee=ai(),Ce=ce.WeakMap;Ie.exports=fe(Ce)&&/native code/.test(Ee(Ce))}),zn=l((jt,Ie)=>{var ce=we(),fe=wn(),Ee=ce("keys");Ie.exports=function(Ce){return Ee[Ce]||(Ee[Ce]=fe(Ce))}}),ui=l((jt,Ie)=>{Ie.exports={}}),ct=l((jt,Ie)=>{var ce=Jn(),fe=f(),Ee=ze(),Ce=Rr(),He=dn(),et=yr(),st=vn(),Dt=zn(),Wt=ui(),nr="Object already initialized",wr=fe.TypeError,Ur=fe.WeakMap,Qr,rn,kr,kn=function(Li){return kr(Li)?rn(Li):Qr(Li,{})},ci=function(Li){return function(Di){var ti;if(!Ce(Di)||(ti=rn(Di)).type!==Li)throw wr("Incompatible receiver, "+Li+" required");return ti}};ce||st.state?(yn=st.state||(st.state=new Ur),Yi=Ee(yn.get),yi=Ee(yn.has),Xe=Ee(yn.set),Qr=function(Li,Di){if(yi(yn,Li))throw new wr(nr);return Di.facade=Li,Xe(yn,Li,Di),Di},rn=function(Li){return Yi(yn,Li)||{}},kr=function(Li){return yi(yn,Li)}):(ys=Dt("state"),Wt[ys]=!0,Qr=function(Li,Di){if(et(Li,ys))throw new wr(nr);return Di.facade=Li,He(Li,ys,Di),Di},rn=function(Li){return et(Li,ys)?Li[ys]:{}},kr=function(Li){return et(Li,ys)});var yn,Yi,yi,Xe,ys;Ie.exports={set:Qr,get:rn,has:kr,enforce:kn,getterFor:ci}}),Ot=l((jt,Ie)=>{var ce=B(),fe=yr(),Ee=Function.prototype,Ce=ce&&Object.getOwnPropertyDescriptor,He=fe(Ee,"name"),et=He&&function(){}.name==="something",st=He&&(!ce||ce&&Ce(Ee,"name").configurable);Ie.exports={EXISTS:He,PROPER:et,CONFIGURABLE:st}}),br=l((jt,Ie)=>{var ce=f(),fe=Cr(),Ee=yr(),Ce=dn(),He=Dr(),et=ai(),st=ct(),Dt=Ot().CONFIGURABLE,Wt=st.get,nr=st.enforce,wr=String(String).split("String");(Ie.exports=function(Ur,Qr,rn,kr){var kn=kr?!!kr.unsafe:!1,ci=kr?!!kr.enumerable:!1,yn=kr?!!kr.noTargetGet:!1,Yi=kr&&kr.name!==void 0?kr.name:Qr,yi;if(fe(rn)&&(String(Yi).slice(0,7)==="Symbol("&&(Yi="["+String(Yi).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ee(rn,"name")||Dt&&rn.name!==Yi)&&Ce(rn,"name",Yi),yi=nr(rn),yi.source||(yi.source=wr.join(typeof Yi=="string"?Yi:""))),Ur===ce){ci?Ur[Qr]=rn:He(Qr,rn);return}else kn?!yn&&Ur[Qr]&&(ci=!0):delete Ur[Qr];ci?Ur[Qr]=rn:Ce(Ur,Qr,rn)})(Function.prototype,"toString",function(){return fe(this)&&Wt(this).source||et(this)})}),sr=l((jt,Ie)=>{var ce=Math.ceil,fe=Math.floor;Ie.exports=function(Ee){var Ce=+Ee;return Ce!==Ce||Ce===0?0:(Ce>0?fe:ce)(Ce)}}),Jr=l((jt,Ie)=>{var ce=sr(),fe=Math.max,Ee=Math.min;Ie.exports=function(Ce,He){var et=ce(Ce);return et<0?fe(et+He,0):Ee(et,He)}}),fn=l((jt,Ie)=>{var ce=sr(),fe=Math.min;Ie.exports=function(Ee){return Ee>0?fe(ce(Ee),9007199254740991):0}}),mn=l((jt,Ie)=>{var ce=fn();Ie.exports=function(fe){return ce(fe.length)}}),Fn=l((jt,Ie)=>{var ce=Qt(),fe=Jr(),Ee=mn(),Ce=function(He){return function(et,st,Dt){var Wt=ce(et),nr=Ee(Wt),wr=fe(Dt,nr),Ur;if(He&&st!=st){for(;nr>wr;)if(Ur=Wt[wr++],Ur!=Ur)return!0}else for(;nr>wr;wr++)if((He||wr in Wt)&&Wt[wr]===st)return He||wr||0;return!He&&-1}};Ie.exports={includes:Ce(!0),indexOf:Ce(!1)}}),hn=l((jt,Ie)=>{var ce=ze(),fe=yr(),Ee=Qt(),Ce=Fn().indexOf,He=ui(),et=ce([].push);Ie.exports=function(st,Dt){var Wt=Ee(st),nr=0,wr=[],Ur;for(Ur in Wt)!fe(He,Ur)&&fe(Wt,Ur)&&et(wr,Ur);for(;Dt.length>nr;)fe(Wt,Ur=Dt[nr++])&&(~Ce(wr,Ur)||et(wr,Ur));return wr}}),lt=l((jt,Ie)=>{Ie.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Er=l(jt=>{var Ie=hn(),ce=lt(),fe=ce.concat("length","prototype");jt.f=Object.getOwnPropertyNames||function(Ee){return Ie(Ee,fe)}}),Mt=l(jt=>{jt.f=Object.getOwnPropertySymbols}),jn=l((jt,Ie)=>{var ce=St(),fe=ze(),Ee=Er(),Ce=Mt(),He=Kr(),et=fe([].concat);Ie.exports=ce("Reflect","ownKeys")||function(st){var Dt=Ee.f(He(st)),Wt=Ce.f;return Wt?et(Dt,Wt(st)):Dt}}),gi=l((jt,Ie)=>{var ce=yr(),fe=jn(),Ee=Ps(),Ce=mr();Ie.exports=function(He,et,st){for(var Dt=fe(et),Wt=Ce.f,nr=Ee.f,wr=0;wr<Dt.length;wr++){var Ur=Dt[wr];!ce(He,Ur)&&!(st&&ce(st,Ur))&&Wt(He,Ur,nr(et,Ur))}}}),ns=l((jt,Ie)=>{var ce=v(),fe=Cr(),Ee=/#|\.prototype\./,Ce=function(Wt,nr){var wr=et[He(Wt)];return wr==Dt?!0:wr==st?!1:fe(nr)?ce(nr):!!nr},He=Ce.normalize=function(Wt){return String(Wt).replace(Ee,".").toLowerCase()},et=Ce.data={},st=Ce.NATIVE="N",Dt=Ce.POLYFILL="P";Ie.exports=Ce}),is=l((jt,Ie)=>{var ce=f(),fe=Ps().f,Ee=dn(),Ce=br(),He=Dr(),et=gi(),st=ns();Ie.exports=function(Dt,Wt){var nr=Dt.target,wr=Dt.global,Ur=Dt.stat,Qr,rn,kr,kn,ci,yn;if(wr?rn=ce:Ur?rn=ce[nr]||He(nr,{}):rn=(ce[nr]||{}).prototype,rn)for(kr in Wt){if(ci=Wt[kr],Dt.noTargetGet?(yn=fe(rn,kr),kn=yn&&yn.value):kn=rn[kr],Qr=st(wr?kr:nr+(Ur?".":"#")+kr,Dt.forced),!Qr&&kn!==void 0){if(typeof ci==typeof kn)continue;et(ci,kn)}(Dt.sham||kn&&kn.sham)&&Ee(ci,"sham",!0),Ce(rn,kr,ci,Dt)}}}),cs=l(()=>{var jt=is(),Ie=f();jt({global:!0},{globalThis:Ie})}),Hi=l(()=>{cs()}),Ls=l((jt,Ie)=>{var ce=it();Ie.exports=Array.isArray||function(fe){return ce(fe)=="Array"}}),$n=l((jt,Ie)=>{var ce=ze(),fe=mi(),Ee=K(),Ce=ce(ce.bind);Ie.exports=function(He,et){return fe(He),et===void 0?He:Ee?Ce(He,et):function(){return He.apply(et,arguments)}}}),Sr=l((jt,Ie)=>{var ce=f(),fe=Ls(),Ee=mn(),Ce=$n(),He=ce.TypeError,et=function(st,Dt,Wt,nr,wr,Ur,Qr,rn){for(var kr=wr,kn=0,ci=Qr?Ce(Qr,rn):!1,yn,Yi;kn<nr;){if(kn in Wt){if(yn=ci?ci(Wt[kn],kn,Dt):Wt[kn],Ur>0&&fe(yn))Yi=Ee(yn),kr=et(st,Dt,yn,Yi,kr,Ur-1)-1;else{if(kr>=9007199254740991)throw He("Exceed the acceptable array length");st[kr]=yn}kr++}kn++}return kr};Ie.exports=et}),Br=l((jt,Ie)=>{var ce=ei(),fe=ce("toStringTag"),Ee={};Ee[fe]="z",Ie.exports=String(Ee)==="[object z]"}),Gt=l((jt,Ie)=>{var ce=f(),fe=Br(),Ee=Cr(),Ce=it(),He=ei(),et=He("toStringTag"),st=ce.Object,Dt=Ce(function(){return arguments}())=="Arguments",Wt=function(nr,wr){try{return nr[wr]}catch{}};Ie.exports=fe?Ce:function(nr){var wr,Ur,Qr;return nr===void 0?"Undefined":nr===null?"Null":typeof(Ur=Wt(wr=st(nr),et))=="string"?Ur:Dt?Ce(wr):(Qr=Ce(wr))=="Object"&&Ee(wr.callee)?"Arguments":Qr}}),Vr=l((jt,Ie)=>{var ce=ze(),fe=v(),Ee=Cr(),Ce=Gt(),He=St(),et=ai(),st=function(){},Dt=[],Wt=He("Reflect","construct"),nr=/^\s*(?:class|function)\b/,wr=ce(nr.exec),Ur=!nr.exec(st),Qr=function(kr){if(!Ee(kr))return!1;try{return Wt(st,Dt,kr),!0}catch{return!1}},rn=function(kr){if(!Ee(kr))return!1;switch(Ce(kr)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ur||!!wr(nr,et(kr))}catch{return!0}};rn.sham=!0,Ie.exports=!Wt||fe(function(){var kr;return Qr(Qr.call)||!Qr(Object)||!Qr(function(){kr=!0})||kr})?rn:Qr}),ur=l((jt,Ie)=>{var ce=f(),fe=Ls(),Ee=Vr(),Ce=Rr(),He=ei(),et=He("species"),st=ce.Array;Ie.exports=function(Dt){var Wt;return fe(Dt)&&(Wt=Dt.constructor,Ee(Wt)&&(Wt===st||fe(Wt.prototype))?Wt=void 0:Ce(Wt)&&(Wt=Wt[et],Wt===null&&(Wt=void 0))),Wt===void 0?st:Wt}}),gn=l((jt,Ie)=>{var ce=ur();Ie.exports=function(fe,Ee){return new(ce(fe))(Ee===0?0:Ee)}}),zt=l(()=>{var jt=is(),Ie=Sr(),ce=mi(),fe=tn(),Ee=mn(),Ce=gn();jt({target:"Array",proto:!0},{flatMap:function(He){var et=fe(this),st=Ee(et),Dt;return ce(He),Dt=Ce(et,0),Dt.length=Ie(Dt,et,et,st,0,1,He,arguments.length>1?arguments[1]:void 0),Dt}})}),Kn=l((jt,Ie)=>{Ie.exports={}}),Ar=l((jt,Ie)=>{var ce=ei(),fe=Kn(),Ee=ce("iterator"),Ce=Array.prototype;Ie.exports=function(He){return He!==void 0&&(fe.Array===He||Ce[Ee]===He)}}),Pt=l((jt,Ie)=>{var ce=Gt(),fe=Un(),Ee=Kn(),Ce=ei(),He=Ce("iterator");Ie.exports=function(et){if(et!=null)return fe(et,He)||fe(et,"@@iterator")||Ee[ce(et)]}}),Re=l((jt,Ie)=>{var ce=f(),fe=de(),Ee=mi(),Ce=Kr(),He=Mi(),et=Pt(),st=ce.TypeError;Ie.exports=function(Dt,Wt){var nr=arguments.length<2?et(Dt):Wt;if(Ee(nr))return Ce(fe(nr,Dt));throw st(He(Dt)+" is not iterable")}}),Nt=l((jt,Ie)=>{var ce=de(),fe=Kr(),Ee=Un();Ie.exports=function(Ce,He,et){var st,Dt;fe(Ce);try{if(st=Ee(Ce,"return"),!st){if(He==="throw")throw et;return et}st=ce(st,Ce)}catch(Wt){Dt=!0,st=Wt}if(He==="throw")throw et;if(Dt)throw st;return fe(st),et}}),Xt=l((jt,Ie)=>{var ce=f(),fe=$n(),Ee=de(),Ce=Kr(),He=Mi(),et=Ar(),st=mn(),Dt=$t(),Wt=Re(),nr=Pt(),wr=Nt(),Ur=ce.TypeError,Qr=function(kr,kn){this.stopped=kr,this.result=kn},rn=Qr.prototype;Ie.exports=function(kr,kn,ci){var yn=ci&&ci.that,Yi=!!(ci&&ci.AS_ENTRIES),yi=!!(ci&&ci.IS_ITERATOR),Xe=!!(ci&&ci.INTERRUPTED),ys=fe(kn,yn),Li,Di,ti,Gn,$s,js,S,Je=function(an){return Li&&wr(Li,"normal",an),new Qr(!0,an)},Mr=function(an){return Yi?(Ce(an),Xe?ys(an[0],an[1],Je):ys(an[0],an[1])):Xe?ys(an,Je):ys(an)};if(yi)Li=kr;else{if(Di=nr(kr),!Di)throw Ur(He(kr)+" is not iterable");if(et(Di)){for(ti=0,Gn=st(kr);Gn>ti;ti++)if($s=Mr(kr[ti]),$s&&Dt(rn,$s))return $s;return new Qr(!1)}Li=Wt(kr,Di)}for(js=Li.next;!(S=Ee(js,Li)).done;){try{$s=Mr(S.value)}catch(an){wr(Li,"throw",an)}if(typeof $s=="object"&&$s&&Dt(rn,$s))return $s}return new Qr(!1)}}),tr=l((jt,Ie)=>{var ce=As(),fe=mr(),Ee=Le();Ie.exports=function(Ce,He,et){var st=ce(He);st in Ce?fe.f(Ce,st,Ee(0,et)):Ce[st]=et}}),zr=l(()=>{var jt=is(),Ie=Xt(),ce=tr();jt({target:"Object",stat:!0},{fromEntries:function(fe){var Ee={};return Ie(fe,function(Ce,He){ce(Ee,Ce,He)},{AS_ENTRIES:!0}),Ee}})}),on=l((jt,Ie)=>{var ce=["cliName","cliCategory","cliDescription"],fe,Ee,Ce,He,et,st;function Dt(ie,rt){if(ie==null)return{};var vt=Wt(ie,rt),wt,Kt;if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(ie);for(Kt=0;Kt<ut.length;Kt++)wt=ut[Kt],!(rt.indexOf(wt)>=0)&&(!Object.prototype.propertyIsEnumerable.call(ie,wt)||(vt[wt]=ie[wt]))}return vt}function Wt(ie,rt){if(ie==null)return{};var vt={},wt=Object.keys(ie),Kt,ut;for(ut=0;ut<wt.length;ut++)Kt=wt[ut],!(rt.indexOf(Kt)>=0)&&(vt[Kt]=ie[Kt]);return vt}function nr(ie,rt){return rt||(rt=ie.slice(0)),Object.freeze(Object.defineProperties(ie,{raw:{value:Object.freeze(rt)}}))}Hi(),zt(),zr();var wr=Object.create,Ur=Object.defineProperty,Qr=Object.getOwnPropertyDescriptor,rn=Object.getOwnPropertyNames,kr=Object.getPrototypeOf,kn=Object.prototype.hasOwnProperty,ci=(ie,rt)=>function(){return ie&&(rt=(0,ie[rn(ie)[0]])(ie=0)),rt},yn=(ie,rt)=>function(){return rt||(0,ie[rn(ie)[0]])((rt={exports:{}}).exports,rt),rt.exports},Yi=(ie,rt)=>{for(var vt in rt)Ur(ie,vt,{get:rt[vt],enumerable:!0})},yi=(ie,rt,vt,wt)=>{if(rt&&typeof rt=="object"||typeof rt=="function")for(let Kt of rn(rt))!kn.call(ie,Kt)&&Kt!==vt&&Ur(ie,Kt,{get:()=>rt[Kt],enumerable:!(wt=Qr(rt,Kt))||wt.enumerable});return ie},Xe=(ie,rt,vt)=>(vt=ie!=null?wr(kr(ie)):{},yi(rt||!ie||!ie.__esModule?Ur(vt,"default",{value:ie,enumerable:!0}):vt,ie)),ys=ie=>yi(Ur({},"__esModule",{value:!0}),ie),Li,Di,ti,Gn=ci({"<define:process>"(){Li={},Di=[],ti={env:Li,argv:Di}}}),$s=yn({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0}),ie.$EOF=0,ie.$BSPACE=8,ie.$TAB=9,ie.$LF=10,ie.$VTAB=11,ie.$FF=12,ie.$CR=13,ie.$SPACE=32,ie.$BANG=33,ie.$DQ=34,ie.$HASH=35,ie.$$=36,ie.$PERCENT=37,ie.$AMPERSAND=38,ie.$SQ=39,ie.$LPAREN=40,ie.$RPAREN=41,ie.$STAR=42,ie.$PLUS=43,ie.$COMMA=44,ie.$MINUS=45,ie.$PERIOD=46,ie.$SLASH=47,ie.$COLON=58,ie.$SEMICOLON=59,ie.$LT=60,ie.$EQ=61,ie.$GT=62,ie.$QUESTION=63,ie.$0=48,ie.$7=55,ie.$9=57,ie.$A=65,ie.$E=69,ie.$F=70,ie.$X=88,ie.$Z=90,ie.$LBRACKET=91,ie.$BACKSLASH=92,ie.$RBRACKET=93,ie.$CARET=94,ie.$_=95,ie.$a=97,ie.$b=98,ie.$e=101,ie.$f=102,ie.$n=110,ie.$r=114,ie.$t=116,ie.$u=117,ie.$v=118,ie.$x=120,ie.$z=122,ie.$LBRACE=123,ie.$BAR=124,ie.$RBRACE=125,ie.$NBSP=160,ie.$PIPE=124,ie.$TILDA=126,ie.$AT=64,ie.$BT=96;function rt(Lt){return Lt>=ie.$TAB&&Lt<=ie.$SPACE||Lt==ie.$NBSP}ie.isWhitespace=rt;function vt(Lt){return ie.$0<=Lt&&Lt<=ie.$9}ie.isDigit=vt;function wt(Lt){return Lt>=ie.$a&&Lt<=ie.$z||Lt>=ie.$A&&Lt<=ie.$Z}ie.isAsciiLetter=wt;function Kt(Lt){return Lt>=ie.$a&&Lt<=ie.$f||Lt>=ie.$A&&Lt<=ie.$F||vt(Lt)}ie.isAsciiHexDigit=Kt;function ut(Lt){return Lt===ie.$LF||Lt===ie.$CR}ie.isNewLine=ut;function xt(Lt){return ie.$0<=Lt&&Lt<=ie.$7}ie.isOctalDigit=xt}}),js=yn({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=class{constructor(wt,Kt,ut){this.filePath=wt,this.name=Kt,this.members=ut}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};ie.StaticSymbol=rt;var vt=class{constructor(){this.cache=new Map}get(wt,Kt,ut){ut=ut||[];let xt=ut.length?".".concat(ut.join(".")):"",Lt='"'.concat(wt,'".').concat(Kt).concat(xt),Jt=this.cache.get(Lt);return Jt||(Jt=new rt(wt,Kt,ut),this.cache.set(Lt,Jt)),Jt}};ie.StaticSymbolCache=vt}}),S=yn({"node_modules/angular-html-parser/lib/compiler/src/util.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=/-+([a-z0-9])/g;function vt(gt){return gt.replace(rt,function(){for(var Hr=arguments.length,pr=new Array(Hr),En=0;En<Hr;En++)pr[En]=arguments[En];return pr[1].toUpperCase()})}ie.dashCaseToCamelCase=vt;function wt(gt,Hr){return ut(gt,":",Hr)}ie.splitAtColon=wt;function Kt(gt,Hr){return ut(gt,".",Hr)}ie.splitAtPeriod=Kt;function ut(gt,Hr,pr){let En=gt.indexOf(Hr);return En==-1?pr:[gt.slice(0,En).trim(),gt.slice(En+1).trim()]}function xt(gt,Hr,pr){return Array.isArray(gt)?Hr.visitArray(gt,pr):In(gt)?Hr.visitStringMap(gt,pr):gt==null||typeof gt=="string"||typeof gt=="number"||typeof gt=="boolean"?Hr.visitPrimitive(gt,pr):Hr.visitOther(gt,pr)}ie.visitValue=xt;function Lt(gt){return gt!=null}ie.isDefined=Lt;function Jt(gt){return gt===void 0?null:gt}ie.noUndefined=Jt;var Bn=class{visitArray(gt,Hr){return gt.map(pr=>xt(pr,this,Hr))}visitStringMap(gt,Hr){let pr={};return Object.keys(gt).forEach(En=>{pr[En]=xt(gt[En],this,Hr)}),pr}visitPrimitive(gt,Hr){return gt}visitOther(gt,Hr){return gt}};ie.ValueTransformer=Bn,ie.SyncAsync={assertSync:gt=>{if(cn(gt))throw new Error("Illegal state: value cannot be a promise");return gt},then:(gt,Hr)=>cn(gt)?gt.then(Hr):Hr(gt),all:gt=>gt.some(cn)?Promise.all(gt):gt};function at(gt){throw new Error("Internal Error: ".concat(gt))}ie.error=at;function _t(gt,Hr){let pr=Error(gt);return pr[ir]=!0,Hr&&(pr[$r]=Hr),pr}ie.syntaxError=_t;var ir="ngSyntaxError",$r="ngParseErrors";function Nr(gt){return gt[ir]}ie.isSyntaxError=Nr;function qr(gt){return gt[$r]||[]}ie.getParseErrors=qr;function Ir(gt){return gt.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}ie.escapeRegExp=Ir;var _n=Object.getPrototypeOf({});function In(gt){return typeof gt=="object"&>!==null&&Object.getPrototypeOf(gt)===_n}function Ln(gt){let Hr="";for(let pr=0;pr<gt.length;pr++){let En=gt.charCodeAt(pr);if(En>=55296&&En<=56319&>.length>pr+1){let Vi=gt.charCodeAt(pr+1);Vi>=56320&&Vi<=57343&&(pr++,En=(En-55296<<10)+Vi-56320+65536)}En<=127?Hr+=String.fromCharCode(En):En<=2047?Hr+=String.fromCharCode(En>>6&31|192,En&63|128):En<=65535?Hr+=String.fromCharCode(En>>12|224,En>>6&63|128,En&63|128):En<=2097151&&(Hr+=String.fromCharCode(En>>18&7|240,En>>12&63|128,En>>6&63|128,En&63|128))}return Hr}ie.utf8Encode=Ln;function Ui(gt){if(typeof gt=="string")return gt;if(gt instanceof Array)return"["+gt.map(Ui).join(", ")+"]";if(gt==null)return""+gt;if(gt.overriddenName)return"".concat(gt.overriddenName);if(gt.name)return"".concat(gt.name);if(!gt.toString)return"object";let Hr=gt.toString();if(Hr==null)return""+Hr;let pr=Hr.indexOf(`
|
|
215
|
-
`);return pr===-1?Hr:Hr.substring(0,pr)}ie.stringify=Ui;function ps(gt){return typeof gt=="function"&>.hasOwnProperty("__forward_ref__")?gt():gt}ie.resolveForwardRef=ps;function cn(gt){return!!gt&&typeof gt.then=="function"}ie.isPromise=cn;var xi=class{constructor(gt){this.full=gt;let Hr=gt.split(".");this.major=Hr[0],this.minor=Hr[1],this.patch=Hr.slice(2).join(".")}};ie.Version=xi;var Si=typeof window<"u"&&window,os=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,Ds=typeof globalThis<"u"&&globalThis,Ke=Ds||Si||os;ie.global=Ke}}),Je=yn({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=js(),vt=S(),wt=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Kt(pr){return pr.replace(/\W/g,"_")}ie.sanitizeIdentifier=Kt;var ut=0;function xt(pr){if(!pr||!pr.reference)return null;let En=pr.reference;if(En instanceof rt.StaticSymbol)return En.name;if(En.__anonymousType)return En.__anonymousType;let Vi=vt.stringify(En);return Vi.indexOf("(")>=0?(Vi="anonymous_".concat(ut++),En.__anonymousType=Vi):Vi=Kt(Vi),Vi}ie.identifierName=xt;function Lt(pr){let En=pr.reference;return En instanceof rt.StaticSymbol?En.filePath:"./".concat(vt.stringify(En))}ie.identifierModuleUrl=Lt;function Jt(pr,En){return"View_".concat(xt({reference:pr}),"_").concat(En)}ie.viewClassName=Jt;function Bn(pr){return"RenderType_".concat(xt({reference:pr}))}ie.rendererTypeName=Bn;function at(pr){return"HostView_".concat(xt({reference:pr}))}ie.hostViewClassName=at;function _t(pr){return"".concat(xt({reference:pr}),"NgFactory")}ie.componentFactoryName=_t;var ir;(function(pr){pr[pr.Pipe=0]="Pipe",pr[pr.Directive=1]="Directive",pr[pr.NgModule=2]="NgModule",pr[pr.Injectable=3]="Injectable"})(ir=ie.CompileSummaryKind||(ie.CompileSummaryKind={}));function $r(pr){return pr.value!=null?Kt(pr.value):xt(pr.identifier)}ie.tokenName=$r;function Nr(pr){return pr.identifier!=null?pr.identifier.reference:pr.value}ie.tokenReference=Nr;var qr=class{constructor(){let{moduleUrl:pr,styles:En,styleUrls:Vi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=pr||null,this.styles=cn(En),this.styleUrls=cn(Vi)}};ie.CompileStylesheetMetadata=qr;var Ir=class{constructor(pr){let{encapsulation:En,template:Vi,templateUrl:vs,htmlAst:zs,styles:Us,styleUrls:ha,externalStylesheets:gs,animations:ws,ngContentSelectors:Ts,interpolation:Da,isInline:An,preserveWhitespaces:Rn}=pr;if(this.encapsulation=En,this.template=Vi,this.templateUrl=vs,this.htmlAst=zs,this.styles=cn(Us),this.styleUrls=cn(ha),this.externalStylesheets=cn(gs),this.animations=ws?Si(ws):[],this.ngContentSelectors=Ts||[],Da&&Da.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Da,this.isInline=An,this.preserveWhitespaces=Rn}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};ie.CompileTemplateMetadata=Ir;var _n=class{static create(pr){let{isHost:En,type:Vi,isComponent:vs,selector:zs,exportAs:Us,changeDetection:ha,inputs:gs,outputs:ws,host:Ts,providers:Da,viewProviders:An,queries:Rn,guards:pi,viewQueries:hi,entryComponents:Ni,template:ks,componentViewType:Ss,rendererType:Ks,componentFactory:ua}=pr,Ja={},Ka={},Ra={};Ts!=null&&Object.keys(Ts).forEach(ba=>{let ma=Ts[ba],ga=ba.match(wt);ga===null?Ra[ba]=ma:ga[1]!=null?Ka[ga[1]]=ma:ga[2]!=null&&(Ja[ga[2]]=ma)});let eu={};gs!=null&&gs.forEach(ba=>{let ma=vt.splitAtColon(ba,[ba,ba]);eu[ma[0]]=ma[1]});let tu={};return ws!=null&&ws.forEach(ba=>{let ma=vt.splitAtColon(ba,[ba,ba]);tu[ma[0]]=ma[1]}),new _n({isHost:En,type:Vi,isComponent:!!vs,selector:zs,exportAs:Us,changeDetection:ha,inputs:eu,outputs:tu,hostListeners:Ja,hostProperties:Ka,hostAttributes:Ra,providers:Da,viewProviders:An,queries:Rn,guards:pi,viewQueries:hi,entryComponents:Ni,template:ks,componentViewType:Ss,rendererType:Ks,componentFactory:ua})}constructor(pr){let{isHost:En,type:Vi,isComponent:vs,selector:zs,exportAs:Us,changeDetection:ha,inputs:gs,outputs:ws,hostListeners:Ts,hostProperties:Da,hostAttributes:An,providers:Rn,viewProviders:pi,queries:hi,guards:Ni,viewQueries:ks,entryComponents:Ss,template:Ks,componentViewType:ua,rendererType:Ja,componentFactory:Ka}=pr;this.isHost=!!En,this.type=Vi,this.isComponent=vs,this.selector=zs,this.exportAs=Us,this.changeDetection=ha,this.inputs=gs,this.outputs=ws,this.hostListeners=Ts,this.hostProperties=Da,this.hostAttributes=An,this.providers=cn(Rn),this.viewProviders=cn(pi),this.queries=cn(hi),this.guards=Ni,this.viewQueries=cn(ks),this.entryComponents=cn(Ss),this.template=Ks,this.componentViewType=ua,this.rendererType=Ja,this.componentFactory=Ka}toSummary(){return{summaryKind:ir.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}}};ie.CompileDirectiveMetadata=_n;var In=class{constructor(pr){let{type:En,name:Vi,pure:vs}=pr;this.type=En,this.name=Vi,this.pure=!!vs}toSummary(){return{summaryKind:ir.Pipe,type:this.type,name:this.name,pure:this.pure}}};ie.CompilePipeMetadata=In;var Ln=class{};ie.CompileShallowModuleMetadata=Ln;var Ui=class{constructor(pr){let{type:En,providers:Vi,declaredDirectives:vs,exportedDirectives:zs,declaredPipes:Us,exportedPipes:ha,entryComponents:gs,bootstrapComponents:ws,importedModules:Ts,exportedModules:Da,schemas:An,transitiveModule:Rn,id:pi}=pr;this.type=En||null,this.declaredDirectives=cn(vs),this.exportedDirectives=cn(zs),this.declaredPipes=cn(Us),this.exportedPipes=cn(ha),this.providers=cn(Vi),this.entryComponents=cn(gs),this.bootstrapComponents=cn(ws),this.importedModules=cn(Ts),this.exportedModules=cn(Da),this.schemas=cn(An),this.id=pi||null,this.transitiveModule=Rn||null}toSummary(){let pr=this.transitiveModule;return{summaryKind:ir.NgModule,type:this.type,entryComponents:pr.entryComponents,providers:pr.providers,modules:pr.modules,exportedDirectives:pr.exportedDirectives,exportedPipes:pr.exportedPipes}}};ie.CompileNgModuleMetadata=Ui;var ps=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(pr,En){this.providers.push({provider:pr,module:En})}addDirective(pr){this.directivesSet.has(pr.reference)||(this.directivesSet.add(pr.reference),this.directives.push(pr))}addExportedDirective(pr){this.exportedDirectivesSet.has(pr.reference)||(this.exportedDirectivesSet.add(pr.reference),this.exportedDirectives.push(pr))}addPipe(pr){this.pipesSet.has(pr.reference)||(this.pipesSet.add(pr.reference),this.pipes.push(pr))}addExportedPipe(pr){this.exportedPipesSet.has(pr.reference)||(this.exportedPipesSet.add(pr.reference),this.exportedPipes.push(pr))}addModule(pr){this.modulesSet.has(pr.reference)||(this.modulesSet.add(pr.reference),this.modules.push(pr))}addEntryComponent(pr){this.entryComponentsSet.has(pr.componentType)||(this.entryComponentsSet.add(pr.componentType),this.entryComponents.push(pr))}};ie.TransitiveCompileNgModuleMetadata=ps;function cn(pr){return pr||[]}var xi=class{constructor(pr,En){let{useClass:Vi,useValue:vs,useExisting:zs,useFactory:Us,deps:ha,multi:gs}=En;this.token=pr,this.useClass=Vi||null,this.useValue=vs,this.useExisting=zs,this.useFactory=Us||null,this.dependencies=ha||null,this.multi=!!gs}};ie.ProviderMeta=xi;function Si(pr){return pr.reduce((En,Vi)=>{let vs=Array.isArray(Vi)?Si(Vi):Vi;return En.concat(vs)},[])}ie.flatten=Si;function os(pr){return pr.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Ds(pr,En,Vi){let vs;return Vi.isInline?En.type.reference instanceof rt.StaticSymbol?vs="".concat(En.type.reference.filePath,".").concat(En.type.reference.name,".html"):vs="".concat(xt(pr),"/").concat(xt(En.type),".html"):vs=Vi.templateUrl,En.type.reference instanceof rt.StaticSymbol?vs:os(vs)}ie.templateSourceUrl=Ds;function Ke(pr,En){let Vi=pr.moduleUrl.split(/\/\\/g),vs=Vi[Vi.length-1];return os("css/".concat(En).concat(vs,".ngstyle.js"))}ie.sharedStylesheetJitUrl=Ke;function gt(pr){return os("".concat(xt(pr.type),"/module.ngfactory.js"))}ie.ngModuleJitUrl=gt;function Hr(pr,En){return os("".concat(xt(pr),"/").concat(xt(En.type),".ngfactory.js"))}ie.templateJitUrl=Hr}}),Mr=yn({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=$s(),vt=Je(),wt=class{constructor(at,_t,ir,$r){this.file=at,this.offset=_t,this.line=ir,this.col=$r}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(at){let _t=this.file.content,ir=_t.length,$r=this.offset,Nr=this.line,qr=this.col;for(;$r>0&&at<0;)if($r--,at++,_t.charCodeAt($r)==rt.$LF){Nr--;let Ir=_t.substr(0,$r-1).lastIndexOf(String.fromCharCode(rt.$LF));qr=Ir>0?$r-Ir:$r}else qr--;for(;$r<ir&&at>0;){let Ir=_t.charCodeAt($r);$r++,at--,Ir==rt.$LF?(Nr++,qr=0):qr++}return new wt(this.file,$r,Nr,qr)}getContext(at,_t){let ir=this.file.content,$r=this.offset;if($r!=null){$r>ir.length-1&&($r=ir.length-1);let Nr=$r,qr=0,Ir=0;for(;qr<at&&$r>0&&($r--,qr++,!(ir[$r]==`
|
|
216
|
-
`&&++Ir==_t)););for(qr=0,Ir=0;qr<at&&Nr<ir.length-1&&(Nr++,qr++,!(ir[Nr]==`
|
|
217
|
-
`&&++Ir==_t)););return{before:ir.substring($r,this.offset),after:ir.substring(this.offset,Nr+1)}}return null}};ie.ParseLocation=wt;var Kt=class{constructor(at,_t){this.content=at,this.url=_t}};ie.ParseSourceFile=Kt;var ut=class{constructor(at,_t){let ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=at,this.end=_t,this.details=ir}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};ie.ParseSourceSpan=ut,ie.EMPTY_PARSE_LOCATION=new wt(new Kt("",""),0,0,0),ie.EMPTY_SOURCE_SPAN=new ut(ie.EMPTY_PARSE_LOCATION,ie.EMPTY_PARSE_LOCATION);var xt;(function(at){at[at.WARNING=0]="WARNING",at[at.ERROR=1]="ERROR"})(xt=ie.ParseErrorLevel||(ie.ParseErrorLevel={}));var Lt=class{constructor(at,_t){let ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xt.ERROR;this.span=at,this.msg=_t,this.level=ir}contextualMessage(){let at=this.span.start.getContext(100,3);return at?"".concat(this.msg,' ("').concat(at.before,"[").concat(xt[this.level]," ->]").concat(at.after,'")'):this.msg}toString(){let at=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(at)}};ie.ParseError=Lt;function Jt(at,_t){let ir=vt.identifierModuleUrl(_t),$r=ir!=null?"in ".concat(at," ").concat(vt.identifierName(_t)," in ").concat(ir):"in ".concat(at," ").concat(vt.identifierName(_t)),Nr=new Kt("",$r);return new ut(new wt(Nr,-1,-1,-1),new wt(Nr,-1,-1,-1))}ie.typeSourceSpan=Jt;function Bn(at,_t,ir){let $r="in ".concat(at," ").concat(_t," in ").concat(ir),Nr=new Kt("",$r);return new ut(new wt(Nr,-1,-1,-1),new wt(Nr,-1,-1,-1))}ie.r3JitTypeSourceSpan=Bn}}),an=yn({"src/utils/front-matter/parse.js"(ie,rt){Gn();var vt=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function wt(Kt){let ut=Kt.match(vt);if(!ut)return{content:Kt};let{startDelimiter:xt,language:Lt,value:Jt="",endDelimiter:Bn}=ut.groups,at=Lt.trim()||"yaml";if(xt==="+++"&&(at="toml"),at!=="yaml"&&xt!==Bn)return{content:Kt};let[_t]=ut;return{frontMatter:{type:"front-matter",lang:at,value:Jt,startDelimiter:xt,endDelimiter:Bn,raw:_t.replace(/\n$/,"")},content:_t.replace(/[^\n]/g," ")+Kt.slice(_t.length)}}rt.exports=wt}}),li=yn({"src/utils/get-last.js"(ie,rt){Gn();var vt=wt=>wt[wt.length-1];rt.exports=vt}}),ss=yn({"src/common/parser-create-error.js"(ie,rt){Gn();function vt(wt,Kt){let ut=new SyntaxError(wt+" ("+Kt.start.line+":"+Kt.start.column+")");return ut.loc=Kt,ut}rt.exports=vt}}),es={};Yi(es,{default:()=>ni});function ni(ie){if(typeof ie!="string")throw new TypeError("Expected a string");return ie.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var qs=ci({"node_modules/escape-string-regexp/index.js"(){Gn()}}),Xo=yn({"node_modules/semver/internal/debug.js"(ie,rt){Gn();var vt=typeof ti=="object"&&ti.env&&ti.env.NODE_DEBUG&&/\bsemver\b/i.test(ti.env.NODE_DEBUG)?function(){for(var wt=arguments.length,Kt=new Array(wt),ut=0;ut<wt;ut++)Kt[ut]=arguments[ut];return console.error("SEMVER",...Kt)}:()=>{};rt.exports=vt}}),Io=yn({"node_modules/semver/internal/constants.js"(ie,rt){Gn();var vt="2.0.0",wt=256,Kt=Number.MAX_SAFE_INTEGER||9007199254740991,ut=16;rt.exports={SEMVER_SPEC_VERSION:vt,MAX_LENGTH:wt,MAX_SAFE_INTEGER:Kt,MAX_SAFE_COMPONENT_LENGTH:ut}}}),Ma=yn({"node_modules/semver/internal/re.js"(ie,rt){Gn();var{MAX_SAFE_COMPONENT_LENGTH:vt}=Io(),wt=Xo();ie=rt.exports={};var Kt=ie.re=[],ut=ie.src=[],xt=ie.t={},Lt=0,Jt=(Bn,at,_t)=>{let ir=Lt++;wt(Bn,ir,at),xt[Bn]=ir,ut[ir]=at,Kt[ir]=new RegExp(at,_t?"g":void 0)};Jt("NUMERICIDENTIFIER","0|[1-9]\\d*"),Jt("NUMERICIDENTIFIERLOOSE","[0-9]+"),Jt("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Jt("MAINVERSION","(".concat(ut[xt.NUMERICIDENTIFIER],")\\.(").concat(ut[xt.NUMERICIDENTIFIER],")\\.(").concat(ut[xt.NUMERICIDENTIFIER],")")),Jt("MAINVERSIONLOOSE","(".concat(ut[xt.NUMERICIDENTIFIERLOOSE],")\\.(").concat(ut[xt.NUMERICIDENTIFIERLOOSE],")\\.(").concat(ut[xt.NUMERICIDENTIFIERLOOSE],")")),Jt("PRERELEASEIDENTIFIER","(?:".concat(ut[xt.NUMERICIDENTIFIER],"|").concat(ut[xt.NONNUMERICIDENTIFIER],")")),Jt("PRERELEASEIDENTIFIERLOOSE","(?:".concat(ut[xt.NUMERICIDENTIFIERLOOSE],"|").concat(ut[xt.NONNUMERICIDENTIFIER],")")),Jt("PRERELEASE","(?:-(".concat(ut[xt.PRERELEASEIDENTIFIER],"(?:\\.").concat(ut[xt.PRERELEASEIDENTIFIER],")*))")),Jt("PRERELEASELOOSE","(?:-?(".concat(ut[xt.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(ut[xt.PRERELEASEIDENTIFIERLOOSE],")*))")),Jt("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Jt("BUILD","(?:\\+(".concat(ut[xt.BUILDIDENTIFIER],"(?:\\.").concat(ut[xt.BUILDIDENTIFIER],")*))")),Jt("FULLPLAIN","v?".concat(ut[xt.MAINVERSION]).concat(ut[xt.PRERELEASE],"?").concat(ut[xt.BUILD],"?")),Jt("FULL","^".concat(ut[xt.FULLPLAIN],"$")),Jt("LOOSEPLAIN","[v=\\s]*".concat(ut[xt.MAINVERSIONLOOSE]).concat(ut[xt.PRERELEASELOOSE],"?").concat(ut[xt.BUILD],"?")),Jt("LOOSE","^".concat(ut[xt.LOOSEPLAIN],"$")),Jt("GTLT","((?:<|>)?=?)"),Jt("XRANGEIDENTIFIERLOOSE","".concat(ut[xt.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),Jt("XRANGEIDENTIFIER","".concat(ut[xt.NUMERICIDENTIFIER],"|x|X|\\*")),Jt("XRANGEPLAIN","[v=\\s]*(".concat(ut[xt.XRANGEIDENTIFIER],")(?:\\.(").concat(ut[xt.XRANGEIDENTIFIER],")(?:\\.(").concat(ut[xt.XRANGEIDENTIFIER],")(?:").concat(ut[xt.PRERELEASE],")?").concat(ut[xt.BUILD],"?)?)?")),Jt("XRANGEPLAINLOOSE","[v=\\s]*(".concat(ut[xt.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(ut[xt.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(ut[xt.XRANGEIDENTIFIERLOOSE],")(?:").concat(ut[xt.PRERELEASELOOSE],")?").concat(ut[xt.BUILD],"?)?)?")),Jt("XRANGE","^".concat(ut[xt.GTLT],"\\s*").concat(ut[xt.XRANGEPLAIN],"$")),Jt("XRANGELOOSE","^".concat(ut[xt.GTLT],"\\s*").concat(ut[xt.XRANGEPLAINLOOSE],"$")),Jt("COERCE","(^|[^\\d])(\\d{1,".concat(vt,"})(?:\\.(\\d{1,").concat(vt,"}))?(?:\\.(\\d{1,").concat(vt,"}))?(?:$|[^\\d])")),Jt("COERCERTL",ut[xt.COERCE],!0),Jt("LONETILDE","(?:~>?)"),Jt("TILDETRIM","(\\s*)".concat(ut[xt.LONETILDE],"\\s+"),!0),ie.tildeTrimReplace="$1~",Jt("TILDE","^".concat(ut[xt.LONETILDE]).concat(ut[xt.XRANGEPLAIN],"$")),Jt("TILDELOOSE","^".concat(ut[xt.LONETILDE]).concat(ut[xt.XRANGEPLAINLOOSE],"$")),Jt("LONECARET","(?:\\^)"),Jt("CARETTRIM","(\\s*)".concat(ut[xt.LONECARET],"\\s+"),!0),ie.caretTrimReplace="$1^",Jt("CARET","^".concat(ut[xt.LONECARET]).concat(ut[xt.XRANGEPLAIN],"$")),Jt("CARETLOOSE","^".concat(ut[xt.LONECARET]).concat(ut[xt.XRANGEPLAINLOOSE],"$")),Jt("COMPARATORLOOSE","^".concat(ut[xt.GTLT],"\\s*(").concat(ut[xt.LOOSEPLAIN],")$|^$")),Jt("COMPARATOR","^".concat(ut[xt.GTLT],"\\s*(").concat(ut[xt.FULLPLAIN],")$|^$")),Jt("COMPARATORTRIM","(\\s*)".concat(ut[xt.GTLT],"\\s*(").concat(ut[xt.LOOSEPLAIN],"|").concat(ut[xt.XRANGEPLAIN],")"),!0),ie.comparatorTrimReplace="$1$2$3",Jt("HYPHENRANGE","^\\s*(".concat(ut[xt.XRANGEPLAIN],")\\s+-\\s+(").concat(ut[xt.XRANGEPLAIN],")\\s*$")),Jt("HYPHENRANGELOOSE","^\\s*(".concat(ut[xt.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(ut[xt.XRANGEPLAINLOOSE],")\\s*$")),Jt("STAR","(<|>)?=?\\s*\\*"),Jt("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Jt("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),du=yn({"node_modules/semver/internal/parse-options.js"(ie,rt){Gn();var vt=["includePrerelease","loose","rtl"],wt=Kt=>Kt?typeof Kt!="object"?{loose:!0}:vt.filter(ut=>Kt[ut]).reduce((ut,xt)=>(ut[xt]=!0,ut),{}):{};rt.exports=wt}}),mu=yn({"node_modules/semver/internal/identifiers.js"(ie,rt){Gn();var vt=/^[0-9]+$/,wt=(ut,xt)=>{let Lt=vt.test(ut),Jt=vt.test(xt);return Lt&&Jt&&(ut=+ut,xt=+xt),ut===xt?0:Lt&&!Jt?-1:Jt&&!Lt?1:ut<xt?-1:1},Kt=(ut,xt)=>wt(xt,ut);rt.exports={compareIdentifiers:wt,rcompareIdentifiers:Kt}}}),fo=yn({"node_modules/semver/classes/semver.js"(ie,rt){Gn();var vt=Xo(),{MAX_LENGTH:wt,MAX_SAFE_INTEGER:Kt}=Io(),{re:ut,t:xt}=Ma(),Lt=du(),{compareIdentifiers:Jt}=mu(),Bn=class{constructor(at,_t){if(_t=Lt(_t),at instanceof Bn){if(at.loose===!!_t.loose&&at.includePrerelease===!!_t.includePrerelease)return at;at=at.version}else if(typeof at!="string")throw new TypeError("Invalid Version: ".concat(at));if(at.length>wt)throw new TypeError("version is longer than ".concat(wt," characters"));vt("SemVer",at,_t),this.options=_t,this.loose=!!_t.loose,this.includePrerelease=!!_t.includePrerelease;let ir=at.trim().match(_t.loose?ut[xt.LOOSE]:ut[xt.FULL]);if(!ir)throw new TypeError("Invalid Version: ".concat(at));if(this.raw=at,this.major=+ir[1],this.minor=+ir[2],this.patch=+ir[3],this.major>Kt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Kt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Kt||this.patch<0)throw new TypeError("Invalid patch version");ir[4]?this.prerelease=ir[4].split(".").map($r=>{if(/^[0-9]+$/.test($r)){let Nr=+$r;if(Nr>=0&&Nr<Kt)return Nr}return $r}):this.prerelease=[],this.build=ir[5]?ir[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(at){if(vt("SemVer.compare",this.version,this.options,at),!(at instanceof Bn)){if(typeof at=="string"&&at===this.version)return 0;at=new Bn(at,this.options)}return at.version===this.version?0:this.compareMain(at)||this.comparePre(at)}compareMain(at){return at instanceof Bn||(at=new Bn(at,this.options)),Jt(this.major,at.major)||Jt(this.minor,at.minor)||Jt(this.patch,at.patch)}comparePre(at){if(at instanceof Bn||(at=new Bn(at,this.options)),this.prerelease.length&&!at.prerelease.length)return-1;if(!this.prerelease.length&&at.prerelease.length)return 1;if(!this.prerelease.length&&!at.prerelease.length)return 0;let _t=0;do{let ir=this.prerelease[_t],$r=at.prerelease[_t];if(vt("prerelease compare",_t,ir,$r),ir===void 0&&$r===void 0)return 0;if($r===void 0)return 1;if(ir===void 0)return-1;if(ir!==$r)return Jt(ir,$r)}while(++_t)}compareBuild(at){at instanceof Bn||(at=new Bn(at,this.options));let _t=0;do{let ir=this.build[_t],$r=at.build[_t];if(vt("prerelease compare",_t,ir,$r),ir===void 0&&$r===void 0)return 0;if($r===void 0)return 1;if(ir===void 0)return-1;if(ir!==$r)return Jt(ir,$r)}while(++_t)}inc(at,_t){switch(at){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",_t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",_t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",_t),this.inc("pre",_t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",_t),this.inc("pre",_t);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 ir=this.prerelease.length;for(;--ir>=0;)typeof this.prerelease[ir]=="number"&&(this.prerelease[ir]++,ir=-2);ir===-1&&this.prerelease.push(0)}_t&&(Jt(this.prerelease[0],_t)===0?isNaN(this.prerelease[1])&&(this.prerelease=[_t,0]):this.prerelease=[_t,0]);break;default:throw new Error("invalid increment argument: ".concat(at))}return this.format(),this.raw=this.version,this}};rt.exports=Bn}}),mo=yn({"node_modules/semver/functions/compare.js"(ie,rt){Gn();var vt=fo(),wt=(Kt,ut,xt)=>new vt(Kt,xt).compare(new vt(ut,xt));rt.exports=wt}}),Jo=yn({"node_modules/semver/functions/lt.js"(ie,rt){Gn();var vt=mo(),wt=(Kt,ut,xt)=>vt(Kt,ut,xt)<0;rt.exports=wt}}),gu=yn({"node_modules/semver/functions/gte.js"(ie,rt){Gn();var vt=mo(),wt=(Kt,ut,xt)=>vt(Kt,ut,xt)>=0;rt.exports=wt}}),yu=yn({"src/utils/arrayify.js"(ie,rt){Gn(),rt.exports=(vt,wt)=>Object.entries(vt).map(Kt=>{let[ut,xt]=Kt;return Object.assign({[wt]:ut},xt)})}}),Ko=yn({"package.json"(ie,rt){rt.exports={version:"2.7.1"}}}),_u=yn({"node_modules/outdent/lib/index.js"(ie,rt){Gn(),Object.defineProperty(ie,"__esModule",{value:!0}),ie.outdent=void 0;function vt(){for(var In=[],Ln=0;Ln<arguments.length;Ln++)In[Ln]=arguments[Ln]}function wt(){return typeof WeakMap<"u"?new WeakMap:Kt()}function Kt(){return{add:vt,delete:vt,get:vt,set:vt,has:function(In){return!1}}}var ut=Object.prototype.hasOwnProperty,xt=function(In,Ln){return ut.call(In,Ln)};function Lt(In,Ln){for(var Ui in Ln)xt(Ln,Ui)&&(In[Ui]=Ln[Ui]);return In}var Jt=/^[ \t]*(?:\r\n|\r|\n)/,Bn=/(?:\r\n|\r|\n)[ \t]*$/,at=/^(?:[\r\n]|$)/,_t=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,ir=/^[ \t]*[\r\n][ \t\r\n]*$/;function $r(In,Ln,Ui){var ps=0,cn=In[0].match(_t);cn&&(ps=cn[1].length);var xi="(\\r\\n|\\r|\\n).{0,"+ps+"}",Si=new RegExp(xi,"g");Ln&&(In=In.slice(1));var os=Ui.newline,Ds=Ui.trimLeadingNewline,Ke=Ui.trimTrailingNewline,gt=typeof os=="string",Hr=In.length,pr=In.map(function(En,Vi){return En=En.replace(Si,"$1"),Vi===0&&Ds&&(En=En.replace(Jt,"")),Vi===Hr-1&&Ke&&(En=En.replace(Bn,"")),gt&&(En=En.replace(/\r\n|\n|\r/g,function(vs){return os})),En});return pr}function Nr(In,Ln){for(var Ui="",ps=0,cn=In.length;ps<cn;ps++)Ui+=In[ps],ps<cn-1&&(Ui+=Ln[ps]);return Ui}function qr(In){return xt(In,"raw")&&xt(In,"length")}function Ir(In){var Ln=wt(),Ui=wt();function ps(xi){for(var Si=[],os=1;os<arguments.length;os++)Si[os-1]=arguments[os];if(qr(xi)){var Ds=xi,Ke=(Si[0]===ps||Si[0]===_n)&&ir.test(Ds[0])&&at.test(Ds[1]),gt=Ke?Ui:Ln,Hr=gt.get(Ds);if(Hr||(Hr=$r(Ds,Ke,In),gt.set(Ds,Hr)),Si.length===0)return Hr[0];var pr=Nr(Hr,Ke?Si.slice(1):Si);return pr}else return Ir(Lt(Lt({},In),xi||{}))}var cn=Lt(ps,{string:function(xi){return $r([xi],!1,In)[0]}});return cn}var _n=Ir({trimLeadingNewline:!0,trimTrailingNewline:!0});if(ie.outdent=_n,ie.default=_n,typeof rt<"u")try{rt.exports=_n,Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=_n,_n.outdent=_n}catch{}}}),Du=yn({"src/main/core-options.js"(ie,rt){Gn();var{outdent:vt}=_u(),wt="Config",Kt="Editor",ut="Format",xt="Other",Lt="Output",Jt="Global",Bn="Special",at={cursorOffset:{since:"1.4.0",category:Bn,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:vt(fe||(fe=nr([`
|
|
218
|
-
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
219
|
-
This option cannot be used with --range-start and --range-end.
|
|
220
|
-
`]))),cliCategory:Kt},endOfLine:{since:"1.15.0",category:Jt,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:vt(Ee||(Ee=nr([`
|
|
221
|
-
Maintain existing
|
|
222
|
-
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
223
|
-
`])))}]},filepath:{since:"1.4.0",category:Bn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:xt,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Bn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:xt},parser:{since:"0.0.10",category:Jt,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:_t=>typeof _t=="string"||typeof _t=="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:Jt,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:_t=>typeof _t=="string"||typeof _t=="object",cliName:"plugin",cliCategory:wt},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Jt,description:vt(Ce||(Ce=nr([`
|
|
224
|
-
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
225
|
-
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
226
|
-
Multiple values are accepted.
|
|
227
|
-
`]))),exception:_t=>typeof _t=="string"||typeof _t=="object",cliName:"plugin-search-dir",cliCategory:wt},printWidth:{since:"0.0.0",category:Jt,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:Bn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:vt(He||(He=nr([`
|
|
228
|
-
Format code ending at a given character offset (exclusive).
|
|
229
|
-
The range will extend forwards to the end of the selected statement.
|
|
230
|
-
This option cannot be used with --cursor-offset.
|
|
231
|
-
`]))),cliCategory:Kt},rangeStart:{since:"1.4.0",category:Bn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:vt(et||(et=nr([`
|
|
232
|
-
Format code starting at a given character offset.
|
|
233
|
-
The range will extend backwards to the start of the first line containing the selected statement.
|
|
234
|
-
This option cannot be used with --cursor-offset.
|
|
235
|
-
`]))),cliCategory:Kt},requirePragma:{since:"1.7.0",category:Bn,type:"boolean",default:!1,description:vt(st||(st=nr([`
|
|
236
|
-
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
237
|
-
in order for it to be formatted.
|
|
238
|
-
`]))),cliCategory:xt},tabWidth:{type:"int",category:Jt,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Jt,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Jt,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."}]}};rt.exports={CATEGORY_CONFIG:wt,CATEGORY_EDITOR:Kt,CATEGORY_FORMAT:ut,CATEGORY_OTHER:xt,CATEGORY_OUTPUT:Lt,CATEGORY_GLOBAL:Jt,CATEGORY_SPECIAL:Bn,options:at}}}),wi=yn({"src/main/support.js"(ie,rt){Gn();var vt={compare:mo(),lt:Jo(),gte:gu()},wt=yu(),Kt=Ko().version,ut=Du().options;function xt(){let{plugins:Jt=[],showUnreleased:Bn=!1,showDeprecated:at=!1,showInternal:_t=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ir=Kt.split("-",1)[0],$r=Jt.flatMap(In=>In.languages||[]).filter(qr),Nr=wt(Object.assign({},...Jt.map(In=>{let{options:Ln}=In;return Ln}),ut),"name").filter(In=>qr(In)&&Ir(In)).sort((In,Ln)=>In.name===Ln.name?0:In.name<Ln.name?-1:1).map(_n).map(In=>{In=Object.assign({},In),Array.isArray(In.default)&&(In.default=In.default.length===1?In.default[0].value:In.default.filter(qr).sort((Ui,ps)=>vt.compare(ps.since,Ui.since))[0].value),Array.isArray(In.choices)&&(In.choices=In.choices.filter(Ui=>qr(Ui)&&Ir(Ui)),In.name==="parser"&&Lt(In,$r,Jt));let Ln=Object.fromEntries(Jt.filter(Ui=>Ui.defaultOptions&&Ui.defaultOptions[In.name]!==void 0).map(Ui=>[Ui.name,Ui.defaultOptions[In.name]]));return Object.assign(Object.assign({},In),{},{pluginDefaults:Ln})});return{languages:$r,options:Nr};function qr(In){return Bn||!("since"in In)||In.since&&vt.gte(ir,In.since)}function Ir(In){return at||!("deprecated"in In)||In.deprecated&&vt.lt(ir,In.deprecated)}function _n(In){return _t?In:Dt(In,ce)}}function Lt(Jt,Bn,at){let _t=new Set(Jt.choices.map(ir=>ir.value));for(let ir of Bn)if(ir.parsers){for(let $r of ir.parsers)if(!_t.has($r)){_t.add($r);let Nr=at.find(Ir=>Ir.parsers&&Ir.parsers[$r]),qr=ir.name;Nr&&Nr.name&&(qr+=" (plugin: ".concat(Nr.name,")")),Jt.choices.push({value:$r,description:qr})}}}rt.exports={getSupportInfo:xt}}}),Iu=yn({"src/utils/is-non-empty-array.js"(ie,rt){Gn();function vt(wt){return Array.isArray(wt)&&wt.length>0}rt.exports=vt}});function Ou(){let{onlyFirst:ie=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},rt=["[\\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(rt,ie?void 0:"g")}var Ga=ci({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Gn()}});function rl(ie){if(typeof ie!="string")throw new TypeError("Expected a `string`, got `".concat(typeof ie,"`"));return ie.replace(Ou(),"")}var Lu=ci({"node_modules/strip-ansi/index.js"(){Gn(),Ga()}});function vu(ie){return Number.isInteger(ie)?ie>=4352&&(ie<=4447||ie===9001||ie===9002||11904<=ie&&ie<=12871&&ie!==12351||12880<=ie&&ie<=19903||19968<=ie&&ie<=42182||43360<=ie&&ie<=43388||44032<=ie&&ie<=55203||63744<=ie&&ie<=64255||65040<=ie&&ie<=65049||65072<=ie&&ie<=65131||65281<=ie&&ie<=65376||65504<=ie&&ie<=65510||110592<=ie&&ie<=110593||127488<=ie&&ie<=127569||131072<=ie&&ie<=262141):!1}var Oo=ci({"node_modules/is-fullwidth-code-point/index.js"(){Gn()}}),Na=yn({"node_modules/emoji-regex/index.js"(ie,rt){Gn(),rt.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}}}),nl={};Yi(nl,{default:()=>Mu});function Mu(ie){if(typeof ie!="string"||ie.length===0||(ie=rl(ie),ie.length===0))return 0;ie=ie.replace((0,il.default)()," ");let rt=0;for(let vt=0;vt<ie.length;vt++){let wt=ie.codePointAt(vt);wt<=31||wt>=127&&wt<=159||wt>=768&&wt<=879||(wt>65535&&vt++,rt+=vu(wt)?2:1)}return rt}var il,ju=ci({"node_modules/string-width/index.js"(){Gn(),Lu(),Oo(),il=Xe(Na())}}),sl=yn({"src/utils/get-string-width.js"(ie,rt){Gn();var vt=(ju(),ys(nl)).default,wt=/[^\x20-\x7F]/;function Kt(ut){return ut?wt.test(ut)?vt(ut):ut.length:0}rt.exports=Kt}}),xu=yn({"src/utils/text/skip.js"(ie,rt){Gn();function vt(Lt){return(Jt,Bn,at)=>{let _t=at&&at.backwards;if(Bn===!1)return!1;let{length:ir}=Jt,$r=Bn;for(;$r>=0&&$r<ir;){let Nr=Jt.charAt($r);if(Lt instanceof RegExp){if(!Lt.test(Nr))return $r}else if(!Lt.includes(Nr))return $r;_t?$r--:$r++}return $r===-1||$r===ir?$r:!1}}var wt=vt(/\s/),Kt=vt(" "),ut=vt(",; "),xt=vt(/[^\n\r]/);rt.exports={skipWhitespace:wt,skipSpaces:Kt,skipToLineEnd:ut,skipEverythingButNewLine:xt}}}),Ba=yn({"src/utils/text/skip-inline-comment.js"(ie,rt){Gn();function vt(wt,Kt){if(Kt===!1)return!1;if(wt.charAt(Kt)==="/"&&wt.charAt(Kt+1)==="*"){for(let ut=Kt+2;ut<wt.length;++ut)if(wt.charAt(ut)==="*"&&wt.charAt(ut+1)==="/")return ut+2}return Kt}rt.exports=vt}}),Ws=yn({"src/utils/text/skip-trailing-comment.js"(ie,rt){Gn();var{skipEverythingButNewLine:vt}=xu();function wt(Kt,ut){return ut===!1?!1:Kt.charAt(ut)==="/"&&Kt.charAt(ut+1)==="/"?vt(Kt,ut):ut}rt.exports=wt}}),fa=yn({"src/utils/text/skip-newline.js"(ie,rt){Gn();function vt(wt,Kt,ut){let xt=ut&&ut.backwards;if(Kt===!1)return!1;let Lt=wt.charAt(Kt);if(xt){if(wt.charAt(Kt-1)==="\r"&&Lt===`
|
|
239
|
-
`)return Kt-2;if(Lt===`
|
|
240
|
-
`||Lt==="\r"||Lt==="\u2028"||Lt==="\u2029")return Kt-1}else{if(Lt==="\r"&&wt.charAt(Kt+1)===`
|
|
241
|
-
`)return Kt+2;if(Lt===`
|
|
242
|
-
`||Lt==="\r"||Lt==="\u2028"||Lt==="\u2029")return Kt+1}return Kt}rt.exports=vt}}),Ta=yn({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(ie,rt){Gn();var vt=Ba(),wt=fa(),Kt=Ws(),{skipSpaces:ut}=xu();function xt(Lt,Jt){let Bn=null,at=Jt;for(;at!==Bn;)Bn=at,at=ut(Lt,at),at=vt(Lt,at),at=Kt(Lt,at),at=wt(Lt,at);return at}rt.exports=xt}}),Xa=yn({"src/common/util.js"(ie,rt){Gn();var{default:vt}=(qs(),ys(es)),wt=li(),{getSupportInfo:Kt}=wi(),ut=Iu(),xt=sl(),{skipWhitespace:Lt,skipSpaces:Jt,skipToLineEnd:Bn,skipEverythingButNewLine:at}=xu(),_t=Ba(),ir=Ws(),$r=fa(),Nr=Ta(),qr=An=>An[An.length-2];function Ir(An){return(Rn,pi,hi)=>{let Ni=hi&&hi.backwards;if(pi===!1)return!1;let{length:ks}=Rn,Ss=pi;for(;Ss>=0&&Ss<ks;){let Ks=Rn.charAt(Ss);if(An instanceof RegExp){if(!An.test(Ks))return Ss}else if(!An.includes(Ks))return Ss;Ni?Ss--:Ss++}return Ss===-1||Ss===ks?Ss:!1}}function _n(An,Rn){let pi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},hi=Jt(An,pi.backwards?Rn-1:Rn,pi),Ni=$r(An,hi,pi);return hi!==Ni}function In(An,Rn,pi){for(let hi=Rn;hi<pi;++hi)if(An.charAt(hi)===`
|
|
243
|
-
`)return!0;return!1}function Ln(An,Rn,pi){let hi=pi(Rn)-1;hi=Jt(An,hi,{backwards:!0}),hi=$r(An,hi,{backwards:!0}),hi=Jt(An,hi,{backwards:!0});let Ni=$r(An,hi,{backwards:!0});return hi!==Ni}function Ui(An,Rn){let pi=null,hi=Rn;for(;hi!==pi;)pi=hi,hi=Bn(An,hi),hi=_t(An,hi),hi=Jt(An,hi);return hi=ir(An,hi),hi=$r(An,hi),hi!==!1&&_n(An,hi)}function ps(An,Rn,pi){return Ui(An,pi(Rn))}function cn(An,Rn,pi){return Nr(An,pi(Rn))}function xi(An,Rn,pi){return An.charAt(cn(An,Rn,pi))}function Si(An,Rn){let pi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Jt(An,pi.backwards?Rn-1:Rn,pi)!==Rn}function os(An,Rn){let pi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,hi=0;for(let Ni=pi;Ni<An.length;++Ni)An[Ni]===" "?hi=hi+Rn-hi%Rn:hi++;return hi}function Ds(An,Rn){let pi=An.lastIndexOf(`
|
|
244
|
-
`);return pi===-1?0:os(An.slice(pi+1).match(/^[\t ]*/)[0],Rn)}function Ke(An,Rn){let pi={quote:'"',regex:/"/g,escaped:"""},hi={quote:"'",regex:/'/g,escaped:"'"},Ni=Rn==="'"?hi:pi,ks=Ni===hi?pi:hi,Ss=Ni;if(An.includes(Ni.quote)||An.includes(ks.quote)){let Ks=(An.match(Ni.regex)||[]).length,ua=(An.match(ks.regex)||[]).length;Ss=Ks>ua?ks:Ni}return Ss}function gt(An,Rn){let pi=An.slice(1,-1),hi=Rn.parser==="json"||Rn.parser==="json5"&&Rn.quoteProps==="preserve"&&!Rn.singleQuote?'"':Rn.__isInHtmlAttribute?"'":Ke(pi,Rn.singleQuote?"'":'"').quote;return Hr(pi,hi,!(Rn.parser==="css"||Rn.parser==="less"||Rn.parser==="scss"||Rn.__embeddedInHtml))}function Hr(An,Rn,pi){let hi=Rn==='"'?"'":'"',Ni=/\\(.)|(["'])/gs,ks=An.replace(Ni,(Ss,Ks,ua)=>Ks===hi?Ks:ua===Rn?"\\"+ua:ua||(pi&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Ks)?Ks:"\\"+Ks));return Rn+ks+Rn}function pr(An){return An.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function En(An,Rn){let pi=An.match(new RegExp("(".concat(vt(Rn),")+"),"g"));return pi===null?0:pi.reduce((hi,Ni)=>Math.max(hi,Ni.length/Rn.length),0)}function Vi(An,Rn){let pi=An.match(new RegExp("(".concat(vt(Rn),")+"),"g"));if(pi===null)return 0;let hi=new Map,Ni=0;for(let ks of pi){let Ss=ks.length/Rn.length;hi.set(Ss,!0),Ss>Ni&&(Ni=Ss)}for(let ks=1;ks<Ni;ks++)if(!hi.get(ks))return ks;return Ni+1}function vs(An,Rn){(An.comments||(An.comments=[])).push(Rn),Rn.printed=!1,Rn.nodeDescription=Da(An)}function zs(An,Rn){Rn.leading=!0,Rn.trailing=!1,vs(An,Rn)}function Us(An,Rn,pi){Rn.leading=!1,Rn.trailing=!1,pi&&(Rn.marker=pi),vs(An,Rn)}function ha(An,Rn){Rn.leading=!1,Rn.trailing=!0,vs(An,Rn)}function gs(An,Rn){let{languages:pi}=Kt({plugins:Rn.plugins}),hi=pi.find(Ni=>{let{name:ks}=Ni;return ks.toLowerCase()===An})||pi.find(Ni=>{let{aliases:ks}=Ni;return Array.isArray(ks)&&ks.includes(An)})||pi.find(Ni=>{let{extensions:ks}=Ni;return Array.isArray(ks)&&ks.includes(".".concat(An))});return hi&&hi.parsers[0]}function ws(An){return An&&An.type==="front-matter"}function Ts(An){let Rn=new WeakMap;return function(pi){return Rn.has(pi)||Rn.set(pi,Symbol(An)),Rn.get(pi)}}function Da(An){let Rn=An.type||An.kind||"(unknown type)",pi=String(An.name||An.id&&(typeof An.id=="object"?An.id.name:An.id)||An.key&&(typeof An.key=="object"?An.key.name:An.key)||An.value&&(typeof An.value=="object"?"":String(An.value))||An.operator||"");return pi.length>20&&(pi=pi.slice(0,19)+"\u2026"),Rn+(pi?" "+pi:"")}rt.exports={inferParserByLanguage:gs,getStringWidth:xt,getMaxContinuousCount:En,getMinNotPresentContinuousCount:Vi,getPenultimate:qr,getLast:wt,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Nr,getNextNonSpaceNonCommentCharacterIndex:cn,getNextNonSpaceNonCommentCharacter:xi,skip:Ir,skipWhitespace:Lt,skipSpaces:Jt,skipToLineEnd:Bn,skipEverythingButNewLine:at,skipInlineComment:_t,skipTrailingComment:ir,skipNewline:$r,isNextLineEmptyAfterIndex:Ui,isNextLineEmpty:ps,isPreviousLineEmpty:Ln,hasNewline:_n,hasNewlineInRange:In,hasSpaces:Si,getAlignmentSize:os,getIndentSize:Ds,getPreferredQuote:Ke,printString:gt,printNumber:pr,makeString:Hr,addLeadingComment:zs,addDanglingComment:Us,addTrailingComment:ha,isFrontMatterNode:ws,isNonEmptyArray:ut,createGroupIdMapper:Ts}}}),_a=yn({"vendors/html-tag-names.json"(ie,rt){rt.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"]}}}),Yo=yn({"src/language-html/utils/array-to-map.js"(ie,rt){Gn();function vt(wt){let Kt=Object.create(null);for(let ut of wt)Kt[ut]=!0;return Kt}rt.exports=vt}}),Lo=yn({"src/language-html/utils/html-tag-names.js"(ie,rt){Gn();var{htmlTagNames:vt}=_a(),wt=Yo(),Kt=wt(vt);rt.exports=Kt}}),Qi=yn({"vendors/html-element-attributes.json"(ie,rt){rt.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"]}}}}),bu=yn({"src/language-html/utils/map-object.js"(ie,rt){Gn();function vt(wt,Kt){let ut=Object.create(null);for(let[xt,Lt]of Object.entries(wt))ut[xt]=Kt(Lt,xt);return ut}rt.exports=vt}}),Sa=yn({"src/language-html/utils/html-elements-attributes.js"(ie,rt){Gn();var{htmlElementAttributes:vt}=Qi(),wt=bu(),Kt=Yo(),ut=wt(vt,Kt);rt.exports=ut}}),Qo=yn({"src/language-html/utils/is-unknown-namespace.js"(ie,rt){Gn();function vt(wt){return wt.type==="element"&&!wt.hasExplicitNamespace&&!["html","svg"].includes(wt.namespace)}rt.exports=vt}}),Cu=yn({"src/language-html/pragma.js"(ie,rt){Gn();function vt(Kt){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(Kt)}function wt(Kt){return`<!-- @format -->
|
|
245
|
-
|
|
246
|
-
`+Kt.replace(/^\s*\n/,"")}rt.exports={hasPragma:vt,insertPragma:wt}}}),bo=yn({"src/language-html/ast.js"(ie,rt){Gn();var vt={attrs:!0,children:!0},wt=new Set(["parent"]),Kt=class{constructor(){let xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let Lt of new Set([...wt,...Object.keys(xt)]))this.setProperty(Lt,xt[Lt])}setProperty(xt,Lt){if(this[xt]!==Lt){if(xt in vt&&(Lt=Lt.map(Jt=>this.createChild(Jt))),!wt.has(xt)){this[xt]=Lt;return}Object.defineProperty(this,xt,{value:Lt,enumerable:!1,configurable:!0})}}map(xt){let Lt;for(let Jt in vt){let Bn=this[Jt];if(Bn){let at=ut(Bn,_t=>_t.map(xt));Lt!==Bn&&(Lt||(Lt=new Kt({parent:this.parent})),Lt.setProperty(Jt,at))}}if(Lt)for(let Jt in this)Jt in vt||(Lt[Jt]=this[Jt]);return xt(Lt||this)}walk(xt){for(let Lt in vt){let Jt=this[Lt];if(Jt)for(let Bn=0;Bn<Jt.length;Bn++)Jt[Bn].walk(xt)}xt(this)}createChild(xt){let Lt=xt instanceof Kt?xt.clone():new Kt(xt);return Lt.setProperty("parent",this),Lt}insertChildBefore(xt,Lt){this.children.splice(this.children.indexOf(xt),0,this.createChild(Lt))}removeChild(xt){this.children.splice(this.children.indexOf(xt),1)}replaceChild(xt,Lt){this.children[this.children.indexOf(xt)]=this.createChild(Lt)}clone(){return new Kt(this)}get firstChild(){var xt;return(xt=this.children)===null||xt===void 0?void 0:xt[0]}get lastChild(){var xt;return(xt=this.children)===null||xt===void 0?void 0:xt[this.children.length-1]}get prev(){var xt;return(xt=this.parent)===null||xt===void 0?void 0:xt.children[this.parent.children.indexOf(this)-1]}get next(){var xt;return(xt=this.parent)===null||xt===void 0?void 0:xt.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(xt=>[xt.fullName,xt.value]))}};function ut(xt,Lt){let Jt=xt.map(Lt);return Jt.some((Bn,at)=>Bn!==xt[at])?Jt:xt}rt.exports={Node:Kt}}}),Zo=yn({"src/language-html/conditional-comment.js"(ie,rt){Gn();var{ParseSourceSpan:vt}=Mr(),wt=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:ut},{regex:/^\[if([^\]]*)]><!$/,parse:xt},{regex:/^<!\s*\[endif]$/,parse:Lt}];function Kt(Jt,Bn){if(Jt.value)for(let{regex:at,parse:_t}of wt){let ir=Jt.value.match(at);if(ir)return _t(Jt,Bn,ir)}return null}function ut(Jt,Bn,at){let[,_t,ir,$r]=at,Nr=4+_t.length,qr=Jt.sourceSpan.start.moveBy(Nr),Ir=qr.moveBy($r.length),[_n,In]=(()=>{try{return[!0,Bn($r,qr).children]}catch{let Ln={type:"text",value:$r,sourceSpan:new vt(qr,Ir)};return[!1,[Ln]]}})();return{type:"ieConditionalComment",complete:_n,children:In,condition:ir.trim().replace(/\s+/g," "),sourceSpan:Jt.sourceSpan,startSourceSpan:new vt(Jt.sourceSpan.start,qr),endSourceSpan:new vt(Ir,Jt.sourceSpan.end)}}function xt(Jt,Bn,at){let[,_t]=at;return{type:"ieConditionalStartComment",condition:_t.trim().replace(/\s+/g," "),sourceSpan:Jt.sourceSpan}}function Lt(Jt){return{type:"ieConditionalEndComment",sourceSpan:Jt.sourceSpan}}rt.exports={parseIeConditionalComment:Kt}}}),ja=yn({"src/language-html/loc.js"(ie,rt){Gn();function vt(Kt){return Kt.sourceSpan.start.offset}function wt(Kt){return Kt.sourceSpan.end.offset}rt.exports={locStart:vt,locEnd:wt}}}),go=yn({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(ie){Gn(),Object.defineProperty(ie,"__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"}(ie.TagContentType||(ie.TagContentType={}));function rt(Lt){if(Lt[0]!=":")return[null,Lt];let Jt=Lt.indexOf(":",1);if(Jt==-1)throw new Error('Unsupported format "'.concat(Lt,'" expecting ":namespace:name"'));return[Lt.slice(1,Jt),Lt.slice(Jt+1)]}ie.splitNsName=rt;function vt(Lt){return rt(Lt)[1]==="ng-container"}ie.isNgContainer=vt;function wt(Lt){return rt(Lt)[1]==="ng-content"}ie.isNgContent=wt;function Kt(Lt){return rt(Lt)[1]==="ng-template"}ie.isNgTemplate=Kt;function ut(Lt){return Lt===null?null:rt(Lt)[0]}ie.getNsPrefix=ut;function xt(Lt,Jt){return Lt?":".concat(Lt,":").concat(Jt):Jt}ie.mergeNsAndName=xt,ie.NAMED_ENTITIES={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",GT:">",Gt:"\u226B",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",LT:"<",Lt:"\u226A",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
247
|
-
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},ie.NGSP_UNICODE="\uE500",ie.NAMED_ENTITIES.ngsp=ie.NGSP_UNICODE}}),Vn=yn({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=go(),vt=class{constructor(){let{closedByChildren:xt,implicitNamespacePrefix:Lt,contentType:Jt=rt.TagContentType.PARSABLE_DATA,closedByParent:Bn=!1,isVoid:at=!1,ignoreFirstLf:_t=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,xt&&xt.length>0&&xt.forEach(ir=>this.closedByChildren[ir]=!0),this.isVoid=at,this.closedByParent=Bn||at,this.implicitNamespacePrefix=Lt||null,this.contentType=Jt,this.ignoreFirstLf=_t}isClosedByChild(xt){return this.isVoid||xt.toLowerCase()in this.closedByChildren}};ie.HtmlTagDefinition=vt;var wt,Kt;function ut(xt){return Kt||(wt=new vt,Kt={base:new vt({isVoid:!0}),meta:new vt({isVoid:!0}),area:new vt({isVoid:!0}),embed:new vt({isVoid:!0}),link:new vt({isVoid:!0}),img:new vt({isVoid:!0}),input:new vt({isVoid:!0}),param:new vt({isVoid:!0}),hr:new vt({isVoid:!0}),br:new vt({isVoid:!0}),source:new vt({isVoid:!0}),track:new vt({isVoid:!0}),wbr:new vt({isVoid:!0}),p:new vt({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 vt({closedByChildren:["tbody","tfoot"]}),tbody:new vt({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new vt({closedByChildren:["tbody"],closedByParent:!0}),tr:new vt({closedByChildren:["tr"],closedByParent:!0}),td:new vt({closedByChildren:["td","th"],closedByParent:!0}),th:new vt({closedByChildren:["td","th"],closedByParent:!0}),col:new vt({isVoid:!0}),svg:new vt({implicitNamespacePrefix:"svg"}),math:new vt({implicitNamespacePrefix:"math"}),li:new vt({closedByChildren:["li"],closedByParent:!0}),dt:new vt({closedByChildren:["dt","dd"]}),dd:new vt({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new vt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new vt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new vt({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new vt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new vt({closedByChildren:["optgroup"],closedByParent:!0}),option:new vt({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new vt({ignoreFirstLf:!0}),listing:new vt({ignoreFirstLf:!0}),style:new vt({contentType:rt.TagContentType.RAW_TEXT}),script:new vt({contentType:rt.TagContentType.RAW_TEXT}),title:new vt({contentType:rt.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new vt({contentType:rt.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Kt[xt]||wt}ie.getHtmlTagDefinition=ut}}),Cn=yn({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=class{constructor(vt){let wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=vt,this.position=wt}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(vt){return vt&&this.path[this.path.indexOf(vt)-1]}childOf(vt){return this.path[this.path.indexOf(vt)+1]}first(vt){for(let wt=this.path.length-1;wt>=0;wt--){let Kt=this.path[wt];if(Kt instanceof vt)return Kt}}push(vt){this.path.push(vt)}pop(){return this.path.pop()}};ie.AstPath=rt}}),xn=yn({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=Cn(),vt=class{constructor(Nr,qr,Ir){this.value=Nr,this.sourceSpan=qr,this.i18n=Ir,this.type="text"}visit(Nr,qr){return Nr.visitText(this,qr)}};ie.Text=vt;var wt=class{constructor(Nr,qr){this.value=Nr,this.sourceSpan=qr,this.type="cdata"}visit(Nr,qr){return Nr.visitCdata(this,qr)}};ie.CDATA=wt;var Kt=class{constructor(Nr,qr,Ir,_n,In,Ln){this.switchValue=Nr,this.type=qr,this.cases=Ir,this.sourceSpan=_n,this.switchValueSourceSpan=In,this.i18n=Ln}visit(Nr,qr){return Nr.visitExpansion(this,qr)}};ie.Expansion=Kt;var ut=class{constructor(Nr,qr,Ir,_n,In){this.value=Nr,this.expression=qr,this.sourceSpan=Ir,this.valueSourceSpan=_n,this.expSourceSpan=In}visit(Nr,qr){return Nr.visitExpansionCase(this,qr)}};ie.ExpansionCase=ut;var xt=class{constructor(Nr,qr,Ir){let _n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,In=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,Ln=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=Nr,this.value=qr,this.sourceSpan=Ir,this.valueSpan=_n,this.nameSpan=In,this.i18n=Ln,this.type="attribute"}visit(Nr,qr){return Nr.visitAttribute(this,qr)}};ie.Attribute=xt;var Lt=class{constructor(Nr,qr,Ir,_n){let In=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,Ln=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,Ui=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,ps=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=Nr,this.attrs=qr,this.children=Ir,this.sourceSpan=_n,this.startSourceSpan=In,this.endSourceSpan=Ln,this.nameSpan=Ui,this.i18n=ps,this.type="element"}visit(Nr,qr){return Nr.visitElement(this,qr)}};ie.Element=Lt;var Jt=class{constructor(Nr,qr){this.value=Nr,this.sourceSpan=qr,this.type="comment"}visit(Nr,qr){return Nr.visitComment(this,qr)}};ie.Comment=Jt;var Bn=class{constructor(Nr,qr){this.value=Nr,this.sourceSpan=qr,this.type="docType"}visit(Nr,qr){return Nr.visitDocType(this,qr)}};ie.DocType=Bn;function at(Nr,qr){let Ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,_n=[],In=Nr.visit?Ln=>Nr.visit(Ln,Ir)||Ln.visit(Nr,Ir):Ln=>Ln.visit(Nr,Ir);return qr.forEach(Ln=>{let Ui=In(Ln);Ui&&_n.push(Ui)}),_n}ie.visitAll=at;var _t=class{constructor(){}visitElement(Nr,qr){this.visitChildren(qr,Ir=>{Ir(Nr.attrs),Ir(Nr.children)})}visitAttribute(Nr,qr){}visitText(Nr,qr){}visitCdata(Nr,qr){}visitComment(Nr,qr){}visitDocType(Nr,qr){}visitExpansion(Nr,qr){return this.visitChildren(qr,Ir=>{Ir(Nr.cases)})}visitExpansionCase(Nr,qr){}visitChildren(Nr,qr){let Ir=[],_n=this;function In(Ln){Ln&&Ir.push(at(_n,Ln,Nr))}return qr(In),Array.prototype.concat.apply([],Ir)}};ie.RecursiveVisitor=_t;function ir(Nr){let qr=Nr.sourceSpan.start.offset,Ir=Nr.sourceSpan.end.offset;return Nr instanceof Lt&&(Nr.endSourceSpan?Ir=Nr.endSourceSpan.end.offset:Nr.children&&Nr.children.length&&(Ir=ir(Nr.children[Nr.children.length-1]).end)),{start:qr,end:Ir}}function $r(Nr,qr){let Ir=[],_n=new class extends _t{visit(In,Ln){let Ui=ir(In);if(Ui.start<=qr&&qr<Ui.end)Ir.push(In);else return!0}};return at(_n,Nr),new rt.AstPath(Ir,qr)}ie.findNode=$r}}),sn=yn({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});function rt(Kt,ut){if(ut!=null){if(!Array.isArray(ut))throw new Error("Expected '".concat(Kt,"' to be an array of strings."));for(let xt=0;xt<ut.length;xt+=1)if(typeof ut[xt]!="string")throw new Error("Expected '".concat(Kt,"' to be an array of strings."))}}ie.assertArrayOfStrings=rt;var vt=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function wt(Kt,ut){if(ut!=null&&!(Array.isArray(ut)&&ut.length==2))throw new Error("Expected '".concat(Kt,"' to be an array, [start, end]."));if(ut!=null){let xt=ut[0],Lt=ut[1];vt.forEach(Jt=>{if(Jt.test(xt)||Jt.test(Lt))throw new Error("['".concat(xt,"', '").concat(Lt,"'] contains unusable interpolation symbol."))})}}ie.assertInterpolationSymbols=wt}}),pn=yn({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=sn(),vt=class{constructor(wt,Kt){this.start=wt,this.end=Kt}static fromArray(wt){return wt?(rt.assertInterpolationSymbols("interpolation",wt),new vt(wt[0],wt[1])):ie.DEFAULT_INTERPOLATION_CONFIG}};ie.InterpolationConfig=vt,ie.DEFAULT_INTERPOLATION_CONFIG=new vt("{{","}}")}}),ri=yn({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=$s(),vt=Mr(),wt=pn(),Kt=go(),ut;(function(Ke){Ke[Ke.TAG_OPEN_START=0]="TAG_OPEN_START",Ke[Ke.TAG_OPEN_END=1]="TAG_OPEN_END",Ke[Ke.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",Ke[Ke.TAG_CLOSE=3]="TAG_CLOSE",Ke[Ke.TEXT=4]="TEXT",Ke[Ke.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",Ke[Ke.RAW_TEXT=6]="RAW_TEXT",Ke[Ke.COMMENT_START=7]="COMMENT_START",Ke[Ke.COMMENT_END=8]="COMMENT_END",Ke[Ke.CDATA_START=9]="CDATA_START",Ke[Ke.CDATA_END=10]="CDATA_END",Ke[Ke.ATTR_NAME=11]="ATTR_NAME",Ke[Ke.ATTR_QUOTE=12]="ATTR_QUOTE",Ke[Ke.ATTR_VALUE=13]="ATTR_VALUE",Ke[Ke.DOC_TYPE_START=14]="DOC_TYPE_START",Ke[Ke.DOC_TYPE_END=15]="DOC_TYPE_END",Ke[Ke.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",Ke[Ke.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",Ke[Ke.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",Ke[Ke.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",Ke[Ke.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",Ke[Ke.EOF=21]="EOF"})(ut=ie.TokenType||(ie.TokenType={}));var xt=class{constructor(Ke,gt,Hr){this.type=Ke,this.parts=gt,this.sourceSpan=Hr}};ie.Token=xt;var Lt=class extends vt.ParseError{constructor(Ke,gt,Hr){super(Hr,Ke),this.tokenType=gt}};ie.TokenError=Lt;var Jt=class{constructor(Ke,gt){this.tokens=Ke,this.errors=gt}};ie.TokenizeResult=Jt;function Bn(Ke,gt,Hr){let pr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new Nr(new vt.ParseSourceFile(Ke,gt),Hr,pr).tokenize()}ie.tokenize=Bn;var at=/\r\n?/g;function _t(Ke){let gt=Ke===rt.$EOF?"EOF":String.fromCharCode(Ke);return'Unexpected character "'.concat(gt,'"')}function ir(Ke){return'Unknown entity "'.concat(Ke,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}var $r=class{constructor(Ke){this.error=Ke}},Nr=class{constructor(Ke,gt,Hr){this._getTagContentType=gt,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=Hr.tokenizeExpansionForms||!1,this._interpolationConfig=Hr.interpolationConfig||wt.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=Hr.leadingTriviaChars&&Hr.leadingTriviaChars.map(En=>En.codePointAt(0)||0),this._canSelfClose=Hr.canSelfClose||!1,this._allowHtmComponentClosingTags=Hr.allowHtmComponentClosingTags||!1;let pr=Hr.range||{endPos:Ke.content.length,startPos:0,startLine:0,startCol:0};this._cursor=Hr.escapedString?new os(Ke,pr):new Si(Ke,pr);try{this._cursor.init()}catch(En){this.handleError(En)}}_processCarriageReturns(Ke){return Ke.replace(at,`
|
|
248
|
-
`)}tokenize(){for(;this._cursor.peek()!==rt.$EOF;){let Ke=this._cursor.clone();try{if(this._attemptCharCode(rt.$LT))if(this._attemptCharCode(rt.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(Ke):this._attemptStr("--")?this._consumeComment(Ke):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(Ke):this._consumeBogusComment(Ke);else if(this._attemptCharCode(rt.$SLASH))this._consumeTagClose(Ke);else{let gt=this._cursor.clone();this._attemptCharCode(rt.$QUESTION)?(this._cursor=gt,this._consumeBogusComment(Ke)):this._consumeTagOpen(Ke)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(gt){this.handleError(gt)}}return this._beginToken(ut.EOF),this._endToken([]),new Jt(xi(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ui(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===rt.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(Ke){let gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=gt,this._currentTokenType=Ke}_endToken(Ke){let gt=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(gt));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 Hr=new xt(this._currentTokenType,Ke,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(Hr),this._currentTokenStart=null,this._currentTokenType=null,Hr}_createError(Ke,gt){this._isInExpansionForm()&&(Ke+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let Hr=new Lt(Ke,this._currentTokenType,gt);return this._currentTokenStart=null,this._currentTokenType=null,new $r(Hr)}handleError(Ke){if(Ke instanceof Ds&&(Ke=this._createError(Ke.msg,this._cursor.getSpan(Ke.cursor))),Ke instanceof $r)this.errors.push(Ke.error);else throw Ke}_attemptCharCode(Ke){return this._cursor.peek()===Ke?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(Ke){return ps(this._cursor.peek(),Ke)?(this._cursor.advance(),!0):!1}_requireCharCode(Ke){let gt=this._cursor.clone();if(!this._attemptCharCode(Ke))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(gt))}_attemptStr(Ke){let gt=Ke.length;if(this._cursor.charsLeft()<gt)return!1;let Hr=this._cursor.clone();for(let pr=0;pr<gt;pr++)if(!this._attemptCharCode(Ke.charCodeAt(pr)))return this._cursor=Hr,!1;return!0}_attemptStrCaseInsensitive(Ke){for(let gt=0;gt<Ke.length;gt++)if(!this._attemptCharCodeCaseInsensitive(Ke.charCodeAt(gt)))return!1;return!0}_requireStr(Ke){let gt=this._cursor.clone();if(!this._attemptStr(Ke))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(gt))}_requireStrCaseInsensitive(Ke){let gt=this._cursor.clone();if(!this._attemptStrCaseInsensitive(Ke))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(gt))}_attemptCharCodeUntilFn(Ke){for(;!Ke(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(Ke,gt){let Hr=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ke),this._cursor.clone().diff(Hr)<gt)throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(Hr))}_attemptUntilChar(Ke){for(;this._cursor.peek()!==Ke;)this._cursor.advance()}_readChar(Ke){if(Ke&&this._cursor.peek()===rt.$AMPERSAND)return this._decodeEntity();{let gt=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),gt}}_decodeEntity(){let Ke=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(rt.$HASH)){let gt=this._attemptCharCode(rt.$x)||this._attemptCharCode(rt.$X),Hr=this._cursor.clone();if(this._attemptCharCodeUntilFn(In),this._cursor.peek()!=rt.$SEMICOLON)throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan());let pr=this._cursor.getChars(Hr);this._cursor.advance();try{let En=parseInt(pr,gt?16:10);return String.fromCharCode(En)}catch{throw this._createError(ir(this._cursor.getChars(Ke)),this._cursor.getSpan())}}else{let gt=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ln),this._cursor.peek()!=rt.$SEMICOLON)return this._cursor=gt,"&";let Hr=this._cursor.getChars(gt);this._cursor.advance();let pr=Kt.NAMED_ENTITIES[Hr];if(!pr)throw this._createError(ir(Hr),this._cursor.getSpan(Ke));return pr}}_consumeRawText(Ke,gt){this._beginToken(Ke?ut.ESCAPABLE_RAW_TEXT:ut.RAW_TEXT);let Hr=[];for(;;){let pr=this._cursor.clone(),En=gt();if(this._cursor=pr,En)break;Hr.push(this._readChar(Ke))}return this._endToken([this._processCarriageReturns(Hr.join(""))])}_consumeComment(Ke){this._beginToken(ut.COMMENT_START,Ke),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(ut.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(Ke){this._beginToken(ut.COMMENT_START,Ke),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===rt.$GT),this._beginToken(ut.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(Ke){this._beginToken(ut.CDATA_START,Ke),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(ut.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(Ke){this._beginToken(ut.DOC_TYPE_START,Ke),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===rt.$GT),this._beginToken(ut.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let Ke=this._cursor.clone(),gt="";for(;this._cursor.peek()!==rt.$COLON&&!_n(this._cursor.peek());)this._cursor.advance();let Hr;this._cursor.peek()===rt.$COLON?(gt=this._cursor.getChars(Ke),this._cursor.advance(),Hr=this._cursor.clone()):Hr=Ke,this._requireCharCodeUntilFn(Ir,gt===""?0:1);let pr=this._cursor.getChars(Hr);return[gt,pr]}_consumeTagOpen(Ke){let gt,Hr,pr,En=this.tokens.length,Vi=this._cursor.clone(),vs=[];try{if(!rt.isAsciiLetter(this._cursor.peek()))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(Ke));for(pr=this._consumeTagOpenStart(Ke),Hr=pr.parts[0],gt=pr.parts[1],this._attemptCharCodeUntilFn(qr);this._cursor.peek()!==rt.$SLASH&&this._cursor.peek()!==rt.$GT;){let[Us,ha]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(qr),this._attemptCharCode(rt.$EQ)){this._attemptCharCodeUntilFn(qr);let gs=this._consumeAttributeValue();vs.push({prefix:Us,name:ha,value:gs})}else vs.push({prefix:Us,name:ha});this._attemptCharCodeUntilFn(qr)}this._consumeTagOpenEnd()}catch(Us){if(Us instanceof $r){this._cursor=Vi,pr&&(this.tokens.length=En),this._beginToken(ut.TEXT,Ke),this._endToken(["<"]);return}throw Us}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===ut.TAG_OPEN_END_VOID)return;let zs=this._getTagContentType(gt,Hr,this._fullNameStack.length>0,vs);this._handleFullNameStackForTagOpen(Hr,gt),zs===Kt.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(Hr,gt,!1):zs===Kt.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(Hr,gt,!0)}_consumeRawTextWithTagClose(Ke,gt,Hr){this._consumeRawText(Hr,()=>!this._attemptCharCode(rt.$LT)||!this._attemptCharCode(rt.$SLASH)||(this._attemptCharCodeUntilFn(qr),!this._attemptStrCaseInsensitive(Ke?"".concat(Ke,":").concat(gt):gt))?!1:(this._attemptCharCodeUntilFn(qr),this._attemptCharCode(rt.$GT))),this._beginToken(ut.TAG_CLOSE),this._requireCharCodeUntilFn(pr=>pr===rt.$GT,3),this._cursor.advance(),this._endToken([Ke,gt]),this._handleFullNameStackForTagClose(Ke,gt)}_consumeTagOpenStart(Ke){this._beginToken(ut.TAG_OPEN_START,Ke);let gt=this._consumePrefixAndName();return this._endToken(gt)}_consumeAttributeName(){let Ke=this._cursor.peek();if(Ke===rt.$SQ||Ke===rt.$DQ)throw this._createError(_t(Ke),this._cursor.getSpan());this._beginToken(ut.ATTR_NAME);let gt=this._consumePrefixAndName();return this._endToken(gt),gt}_consumeAttributeValue(){let Ke;if(this._cursor.peek()===rt.$SQ||this._cursor.peek()===rt.$DQ){this._beginToken(ut.ATTR_QUOTE);let gt=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(gt)]),this._beginToken(ut.ATTR_VALUE);let Hr=[];for(;this._cursor.peek()!==gt;)Hr.push(this._readChar(!0));Ke=this._processCarriageReturns(Hr.join("")),this._endToken([Ke]),this._beginToken(ut.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(gt)])}else{this._beginToken(ut.ATTR_VALUE);let gt=this._cursor.clone();this._requireCharCodeUntilFn(Ir,1),Ke=this._processCarriageReturns(this._cursor.getChars(gt)),this._endToken([Ke])}return Ke}_consumeTagOpenEnd(){let Ke=this._attemptCharCode(rt.$SLASH)?ut.TAG_OPEN_END_VOID:ut.TAG_OPEN_END;this._beginToken(Ke),this._requireCharCode(rt.$GT),this._endToken([])}_consumeTagClose(Ke){if(this._beginToken(ut.TAG_CLOSE,Ke),this._attemptCharCodeUntilFn(qr),this._allowHtmComponentClosingTags&&this._attemptCharCode(rt.$SLASH))this._attemptCharCodeUntilFn(qr),this._requireCharCode(rt.$GT),this._endToken([]);else{let[gt,Hr]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(qr),this._requireCharCode(rt.$GT),this._endToken([gt,Hr]),this._handleFullNameStackForTagClose(gt,Hr)}}_consumeExpansionFormStart(){this._beginToken(ut.EXPANSION_FORM_START),this._requireCharCode(rt.$LBRACE),this._endToken([]),this._expansionCaseStack.push(ut.EXPANSION_FORM_START),this._beginToken(ut.RAW_TEXT);let Ke=this._readUntil(rt.$COMMA);this._endToken([Ke]),this._requireCharCode(rt.$COMMA),this._attemptCharCodeUntilFn(qr),this._beginToken(ut.RAW_TEXT);let gt=this._readUntil(rt.$COMMA);this._endToken([gt]),this._requireCharCode(rt.$COMMA),this._attemptCharCodeUntilFn(qr)}_consumeExpansionCaseStart(){this._beginToken(ut.EXPANSION_CASE_VALUE);let Ke=this._readUntil(rt.$LBRACE).trim();this._endToken([Ke]),this._attemptCharCodeUntilFn(qr),this._beginToken(ut.EXPANSION_CASE_EXP_START),this._requireCharCode(rt.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(qr),this._expansionCaseStack.push(ut.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(ut.EXPANSION_CASE_EXP_END),this._requireCharCode(rt.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(qr),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(ut.EXPANSION_FORM_END),this._requireCharCode(rt.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let Ke=this._cursor.clone();this._beginToken(ut.TEXT,Ke);let gt=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(gt.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(gt.push(this._interpolationConfig.end),this._inInterpolation=!1):gt.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(gt.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===rt.$LT||this._cursor.peek()===rt.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===rt.$RBRACE&&this._isInExpansionCase()))}_readUntil(Ke){let gt=this._cursor.clone();return this._attemptUntilChar(Ke),this._cursor.getChars(gt)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===ut.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===ut.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==rt.$LBRACE)return!1;if(this._interpolationConfig){let Ke=this._cursor.clone(),gt=this._attemptStr(this._interpolationConfig.start);return this._cursor=Ke,!gt}return!0}_handleFullNameStackForTagOpen(Ke,gt){let Hr=Kt.mergeNsAndName(Ke,gt);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===Hr)&&this._fullNameStack.push(Hr)}_handleFullNameStackForTagClose(Ke,gt){let Hr=Kt.mergeNsAndName(Ke,gt);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===Hr&&this._fullNameStack.pop()}};function qr(Ke){return!rt.isWhitespace(Ke)||Ke===rt.$EOF}function Ir(Ke){return rt.isWhitespace(Ke)||Ke===rt.$GT||Ke===rt.$SLASH||Ke===rt.$SQ||Ke===rt.$DQ||Ke===rt.$EQ}function _n(Ke){return(Ke<rt.$a||rt.$z<Ke)&&(Ke<rt.$A||rt.$Z<Ke)&&(Ke<rt.$0||Ke>rt.$9)}function In(Ke){return Ke==rt.$SEMICOLON||Ke==rt.$EOF||!rt.isAsciiHexDigit(Ke)}function Ln(Ke){return Ke==rt.$SEMICOLON||Ke==rt.$EOF||!rt.isAsciiLetter(Ke)}function Ui(Ke){return Ke===rt.$EQ||rt.isAsciiLetter(Ke)||rt.isDigit(Ke)}function ps(Ke,gt){return cn(Ke)==cn(gt)}function cn(Ke){return Ke>=rt.$a&&Ke<=rt.$z?Ke-rt.$a+rt.$A:Ke}function xi(Ke){let gt=[],Hr;for(let pr=0;pr<Ke.length;pr++){let En=Ke[pr];Hr&&Hr.type==ut.TEXT&&En.type==ut.TEXT?(Hr.parts[0]+=En.parts[0],Hr.sourceSpan.end=En.sourceSpan.end):(Hr=En,gt.push(Hr))}return gt}var Si=class{constructor(Ke,gt){if(Ke instanceof Si)this.file=Ke.file,this.input=Ke.input,this.end=Ke.end,this.state=Object.assign({},Ke.state);else{if(!gt)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=Ke,this.input=Ke.content,this.end=gt.endPos,this.state={peek:-1,offset:gt.startPos,line:gt.startLine,column:gt.startCol}}}clone(){return new Si(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(Ke){return this.state.offset-Ke.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(Ke,gt){if(Ke=Ke||this,gt)for(Ke=Ke.clone();this.diff(Ke)>0&>.indexOf(Ke.peek())!==-1;)Ke.advance();return new vt.ParseSourceSpan(new vt.ParseLocation(Ke.file,Ke.state.offset,Ke.state.line,Ke.state.column),new vt.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(Ke){return this.input.substring(Ke.state.offset,this.state.offset)}charAt(Ke){return this.input.charCodeAt(Ke)}advanceState(Ke){if(Ke.offset>=this.end)throw this.state=Ke,new Ds('Unexpected character "EOF"',this);let gt=this.charAt(Ke.offset);gt===rt.$LF?(Ke.line++,Ke.column=0):rt.isNewLine(gt)||Ke.column++,Ke.offset++,this.updatePeek(Ke)}updatePeek(Ke){Ke.peek=Ke.offset>=this.end?rt.$EOF:this.charAt(Ke.offset)}},os=class extends Si{constructor(Ke,gt){Ke instanceof os?(super(Ke),this.internalState=Object.assign({},Ke.internalState)):(super(Ke,gt),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new os(this)}getChars(Ke){let gt=Ke.clone(),Hr="";for(;gt.internalState.offset<this.internalState.offset;)Hr+=String.fromCodePoint(gt.peek()),gt.advance();return Hr}processEscapeSequence(){let Ke=()=>this.internalState.peek;if(Ke()===rt.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),Ke()===rt.$n)this.state.peek=rt.$LF;else if(Ke()===rt.$r)this.state.peek=rt.$CR;else if(Ke()===rt.$v)this.state.peek=rt.$VTAB;else if(Ke()===rt.$t)this.state.peek=rt.$TAB;else if(Ke()===rt.$b)this.state.peek=rt.$BSPACE;else if(Ke()===rt.$f)this.state.peek=rt.$FF;else if(Ke()===rt.$u)if(this.advanceState(this.internalState),Ke()===rt.$LBRACE){this.advanceState(this.internalState);let gt=this.clone(),Hr=0;for(;Ke()!==rt.$RBRACE;)this.advanceState(this.internalState),Hr++;this.state.peek=this.decodeHexDigits(gt,Hr)}else{let gt=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(gt,4)}else if(Ke()===rt.$x){this.advanceState(this.internalState);let gt=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(gt,2)}else if(rt.isOctalDigit(Ke())){let gt="",Hr=0,pr=this.clone();for(;rt.isOctalDigit(Ke())&&Hr<3;)pr=this.clone(),gt+=String.fromCodePoint(Ke()),this.advanceState(this.internalState),Hr++;this.state.peek=parseInt(gt,8),this.internalState=pr.internalState}else rt.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(Ke,gt){let Hr=this.input.substr(Ke.internalState.offset,gt),pr=parseInt(Hr,16);if(isNaN(pr))throw Ke.state=Ke.internalState,new Ds("Invalid hexadecimal escape sequence",Ke);return pr}},Ds=class{constructor(Ke,gt){this.msg=Ke,this.cursor=gt}};ie.CursorError=Ds}}),ii=yn({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=Mr(),vt=xn(),wt=ri(),Kt=go(),ut=class extends rt.ParseError{constructor(at,_t,ir){super(_t,ir),this.elementName=at}static create(at,_t,ir){return new ut(at,_t,ir)}};ie.TreeError=ut;var xt=class{constructor(at,_t){this.rootNodes=at,this.errors=_t}};ie.ParseTreeResult=xt;var Lt=class{constructor(at){this.getTagDefinition=at}parse(at,_t,ir){let $r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Nr=arguments.length>4?arguments[4]:void 0,qr=Si=>function(os){for(var Ds=arguments.length,Ke=new Array(Ds>1?Ds-1:0),gt=1;gt<Ds;gt++)Ke[gt-1]=arguments[gt];return Si(os.toLowerCase(),...Ke)},Ir=$r?this.getTagDefinition:qr(this.getTagDefinition),_n=Si=>Ir(Si).contentType,In=$r?Nr:qr(Nr),Ln=Nr?(Si,os,Ds,Ke)=>{let gt=In(Si,os,Ds,Ke);return gt!==void 0?gt:_n(Si)}:_n,Ui=wt.tokenize(at,_t,Ln,ir),ps=ir&&ir.canSelfClose||!1,cn=ir&&ir.allowHtmComponentClosingTags||!1,xi=new Jt(Ui.tokens,Ir,ps,cn,$r).build();return new xt(xi.rootNodes,Ui.errors.concat(xi.errors))}};ie.Parser=Lt;var Jt=class{constructor(at,_t,ir,$r,Nr){this.tokens=at,this.getTagDefinition=_t,this.canSelfClose=ir,this.allowHtmComponentClosingTags=$r,this.isTagNameCaseSensitive=Nr,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==wt.TokenType.EOF;)this._peek.type===wt.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===wt.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===wt.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===wt.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===wt.TokenType.TEXT||this._peek.type===wt.TokenType.RAW_TEXT||this._peek.type===wt.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===wt.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===wt.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new xt(this._rootNodes,this._errors)}_advance(){let at=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],at}_advanceIf(at){return this._peek.type===at?this._advance():null}_consumeCdata(at){let _t=this._advance(),ir=this._getText(_t),$r=this._advanceIf(wt.TokenType.CDATA_END);this._addToParent(new vt.CDATA(ir,new rt.ParseSourceSpan(at.sourceSpan.start,($r||_t).sourceSpan.end)))}_consumeComment(at){let _t=this._advanceIf(wt.TokenType.RAW_TEXT),ir=this._advanceIf(wt.TokenType.COMMENT_END),$r=_t!=null?_t.parts[0].trim():null,Nr=new rt.ParseSourceSpan(at.sourceSpan.start,(ir||_t||at).sourceSpan.end);this._addToParent(new vt.Comment($r,Nr))}_consumeDocType(at){let _t=this._advanceIf(wt.TokenType.RAW_TEXT),ir=this._advanceIf(wt.TokenType.DOC_TYPE_END),$r=_t!=null?_t.parts[0].trim():null,Nr=new rt.ParseSourceSpan(at.sourceSpan.start,(ir||_t||at).sourceSpan.end);this._addToParent(new vt.DocType($r,Nr))}_consumeExpansion(at){let _t=this._advance(),ir=this._advance(),$r=[];for(;this._peek.type===wt.TokenType.EXPANSION_CASE_VALUE;){let qr=this._parseExpansionCase();if(!qr)return;$r.push(qr)}if(this._peek.type!==wt.TokenType.EXPANSION_FORM_END){this._errors.push(ut.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let Nr=new rt.ParseSourceSpan(at.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new vt.Expansion(_t.parts[0],ir.parts[0],$r,Nr,_t.sourceSpan)),this._advance()}_parseExpansionCase(){let at=this._advance();if(this._peek.type!==wt.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(ut.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let _t=this._advance(),ir=this._collectExpansionExpTokens(_t);if(!ir)return null;let $r=this._advance();ir.push(new wt.Token(wt.TokenType.EOF,[],$r.sourceSpan));let Nr=new Jt(ir,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(Nr.errors.length>0)return this._errors=this._errors.concat(Nr.errors),null;let qr=new rt.ParseSourceSpan(at.sourceSpan.start,$r.sourceSpan.end),Ir=new rt.ParseSourceSpan(_t.sourceSpan.start,$r.sourceSpan.end);return new vt.ExpansionCase(at.parts[0],Nr.rootNodes,qr,at.sourceSpan,Ir)}_collectExpansionExpTokens(at){let _t=[],ir=[wt.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===wt.TokenType.EXPANSION_FORM_START||this._peek.type===wt.TokenType.EXPANSION_CASE_EXP_START)&&ir.push(this._peek.type),this._peek.type===wt.TokenType.EXPANSION_CASE_EXP_END)if(Bn(ir,wt.TokenType.EXPANSION_CASE_EXP_START)){if(ir.pop(),ir.length==0)return _t}else return this._errors.push(ut.create(null,at.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===wt.TokenType.EXPANSION_FORM_END)if(Bn(ir,wt.TokenType.EXPANSION_FORM_START))ir.pop();else return this._errors.push(ut.create(null,at.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===wt.TokenType.EOF)return this._errors.push(ut.create(null,at.sourceSpan,"Invalid ICU message. Missing '}'.")),null;_t.push(this._advance())}}_getText(at){let _t=at.parts[0];if(_t.length>0&&_t[0]==`
|
|
249
|
-
`){let ir=this._getParentElement();ir!=null&&ir.children.length==0&&this.getTagDefinition(ir.name).ignoreFirstLf&&(_t=_t.substring(1))}return _t}_consumeText(at){let _t=this._getText(at);_t.length>0&&this._addToParent(new vt.Text(_t,at.sourceSpan))}_closeVoidElement(){let at=this._getParentElement();at&&this.getTagDefinition(at.name).isVoid&&this._elementStack.pop()}_consumeStartTag(at){let _t=at.parts[0],ir=at.parts[1],$r=[];for(;this._peek.type===wt.TokenType.ATTR_NAME;)$r.push(this._consumeAttr(this._advance()));let Nr=this._getElementFullName(_t,ir,this._getParentElement()),qr=!1;if(this._peek.type===wt.TokenType.TAG_OPEN_END_VOID){this._advance(),qr=!0;let Ui=this.getTagDefinition(Nr);this.canSelfClose||Ui.canSelfClose||Kt.getNsPrefix(Nr)!==null||Ui.isVoid||this._errors.push(ut.create(Nr,at.sourceSpan,'Only void and foreign elements can be self closed "'.concat(at.parts[1],'"')))}else this._peek.type===wt.TokenType.TAG_OPEN_END&&(this._advance(),qr=!1);let Ir=this._peek.sourceSpan.start,_n=new rt.ParseSourceSpan(at.sourceSpan.start,Ir),In=new rt.ParseSourceSpan(at.sourceSpan.start.moveBy(1),at.sourceSpan.end),Ln=new vt.Element(Nr,$r,[],_n,_n,void 0,In);this._pushElement(Ln),qr&&(this._popElement(Nr),Ln.endSourceSpan=_n)}_pushElement(at){let _t=this._getParentElement();_t&&this.getTagDefinition(_t.name).isClosedByChild(at.name)&&this._elementStack.pop(),this._addToParent(at),this._elementStack.push(at)}_consumeEndTag(at){let _t=this.allowHtmComponentClosingTags&&at.parts.length===0?null:this._getElementFullName(at.parts[0],at.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=at.sourceSpan),_t&&this.getTagDefinition(_t).isVoid)this._errors.push(ut.create(_t,at.sourceSpan,'Void elements do not have end tags "'.concat(at.parts[1],'"')));else if(!this._popElement(_t)){let ir='Unexpected closing tag "'.concat(_t,'". 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(ut.create(_t,at.sourceSpan,ir))}}_popElement(at){for(let _t=this._elementStack.length-1;_t>=0;_t--){let ir=this._elementStack[_t];if(!at||(Kt.getNsPrefix(ir.name)?ir.name==at:ir.name.toLowerCase()==at.toLowerCase()))return this._elementStack.splice(_t,this._elementStack.length-_t),!0;if(!this.getTagDefinition(ir.name).closedByParent)return!1}return!1}_consumeAttr(at){let _t=Kt.mergeNsAndName(at.parts[0],at.parts[1]),ir=at.sourceSpan.end,$r="",Nr,qr;if(this._peek.type===wt.TokenType.ATTR_QUOTE&&(qr=this._advance().sourceSpan.start),this._peek.type===wt.TokenType.ATTR_VALUE){let Ir=this._advance();$r=Ir.parts[0],ir=Ir.sourceSpan.end,Nr=Ir.sourceSpan}return this._peek.type===wt.TokenType.ATTR_QUOTE&&(ir=this._advance().sourceSpan.end,Nr=new rt.ParseSourceSpan(qr,ir)),new vt.Attribute(_t,$r,new rt.ParseSourceSpan(at.sourceSpan.start,ir),Nr,at.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let at=null;for(let _t=this._elementStack.length-1;_t>=0;_t--){if(!Kt.isNgContainer(this._elementStack[_t].name))return{parent:this._elementStack[_t],container:at};at=this._elementStack[_t]}return{parent:null,container:at}}_addToParent(at){let _t=this._getParentElement();_t!=null?_t.children.push(at):this._rootNodes.push(at)}_insertBeforeContainer(at,_t,ir){if(!_t)this._addToParent(ir),this._elementStack.push(ir);else{if(at){let $r=at.children.indexOf(_t);at.children[$r]=ir}else this._rootNodes.push(ir);ir.children.push(_t),this._elementStack.splice(this._elementStack.indexOf(_t),0,ir)}}_getElementFullName(at,_t,ir){return at===""&&(at=this.getTagDefinition(_t).implicitNamespacePrefix||"",at===""&&ir!=null&&(at=Kt.getNsPrefix(ir.name))),Kt.mergeNsAndName(at,_t)}};function Bn(at,_t){return at.length>0&&at[at.length-1]===_t}}}),Zn=yn({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=Vn(),vt=ii(),wt=ii();ie.ParseTreeResult=wt.ParseTreeResult,ie.TreeError=wt.TreeError;var Kt=class extends vt.Parser{constructor(){super(rt.getHtmlTagDefinition)}parse(ut,xt,Lt){let Jt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Bn=arguments.length>4?arguments[4]:void 0;return super.parse(ut,xt,Lt,Jt,Bn)}};ie.HtmlParser=Kt}}),vi=yn({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=Zn(),vt=go();ie.TagContentType=vt.TagContentType;var wt=null,Kt=()=>(wt||(wt=new rt.HtmlParser),wt);function ut(xt){let Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:Jt=!1,allowHtmComponentClosingTags:Bn=!1,isTagNameCaseSensitive:at=!1,getTagContentType:_t}=Lt;return Kt().parse(xt,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:Jt,allowHtmComponentClosingTags:Bn},at,_t)}ie.parse=ut}});Gn();var{ParseSourceSpan:Wi,ParseLocation:Zi,ParseSourceFile:Yn}=Mr(),ji=an(),as=li(),Ri=ss(),{inferParserByLanguage:Es}=Xa(),da=Lo(),Ji=Sa(),Ii=Qo(),{hasPragma:dt}=Cu(),{Node:Xs}=bo(),{parseIeConditionalComment:Ia}=Zo(),{locStart:Is,locEnd:Rs}=ja();function ta(ie,rt,vt){let{recognizeSelfClosing:wt,normalizeTagName:Kt,normalizeAttributeName:ut,allowHtmComponentClosingTags:xt,isTagNameCaseSensitive:Lt,getTagContentType:Jt}=rt,Bn=vi(),{RecursiveVisitor:at,visitAll:_t}=xn(),{ParseSourceSpan:ir}=Mr(),{getHtmlTagDefinition:$r}=Vn(),{rootNodes:Nr,errors:qr}=Bn.parse(ie,{canSelfClose:wt,allowHtmComponentClosingTags:xt,isTagNameCaseSensitive:Lt,getTagContentType:Jt});if(vt.parser==="vue")if(Nr.some(cn=>cn.type==="docType"&&cn.value==="html"||cn.type==="element"&&cn.name.toLowerCase()==="html")){wt=!0,Kt=!0,ut=!0,xt=!0,Lt=!1;let cn=Bn.parse(ie,{canSelfClose:wt,allowHtmComponentClosingTags:xt,isTagNameCaseSensitive:Lt});Nr=cn.rootNodes,qr=cn.errors}else{let cn=xi=>{if(!xi||xi.type!=="element"||xi.name!=="template")return!1;let Si=xi.attrs.find(Ds=>Ds.name==="lang"),os=Si&&Si.value;return!os||Es(os,vt)==="html"};if(Nr.some(cn)){let xi,Si=()=>Bn.parse(ie,{canSelfClose:wt,allowHtmComponentClosingTags:xt,isTagNameCaseSensitive:Lt}),os=()=>xi||(xi=Si()),Ds=Ke=>os().rootNodes.find(gt=>{let{startSourceSpan:Hr}=gt;return Hr&&Hr.start.offset===Ke.startSourceSpan.start.offset});for(let Ke=0;Ke<Nr.length;Ke++){let gt=Nr[Ke],{endSourceSpan:Hr,startSourceSpan:pr}=gt;if(Hr===null)qr=os().errors,Nr[Ke]=Ds(gt)||gt;else if(cn(gt)){let En=os(),Vi=pr.end.offset,vs=Hr.start.offset;for(let zs of En.errors){let{offset:Us}=zs.span.start;if(Vi<Us&&Us<vs){qr=[zs];break}}Nr[Ke]=Ds(gt)||gt}}}}if(qr.length>0){let{msg:cn,span:{start:xi,end:Si}}=qr[0];throw Ri(cn,{start:{line:xi.line+1,column:xi.col+1},end:{line:Si.line+1,column:Si.col+1}})}let Ir=cn=>{let xi=cn.name.startsWith(":")?cn.name.slice(1).split(":")[0]:null,Si=cn.nameSpan.toString(),os=xi!==null&&Si.startsWith("".concat(xi,":")),Ds=os?Si.slice(xi.length+1):Si;cn.name=Ds,cn.namespace=xi,cn.hasExplicitNamespace=os},_n=cn=>{switch(cn.type){case"element":Ir(cn);for(let xi of cn.attrs)Ir(xi),xi.valueSpan?(xi.value=xi.valueSpan.toString(),/["']/.test(xi.value[0])&&(xi.value=xi.value.slice(1,-1))):xi.value=null;break;case"comment":cn.value=cn.sourceSpan.toString().slice(4,-3);break;case"text":cn.value=cn.sourceSpan.toString();break}},In=(cn,xi)=>{let Si=cn.toLowerCase();return xi(Si)?Si:cn},Ln=cn=>{if(cn.type==="element"&&(Kt&&(!cn.namespace||cn.namespace===cn.tagDefinition.implicitNamespacePrefix||Ii(cn))&&(cn.name=In(cn.name,xi=>xi in da)),ut)){let xi=Ji[cn.name]||Object.create(null);for(let Si of cn.attrs)Si.namespace||(Si.name=In(Si.name,os=>cn.name in Ji&&(os in Ji["*"]||os in xi)))}},Ui=cn=>{cn.sourceSpan&&cn.endSourceSpan&&(cn.sourceSpan=new ir(cn.sourceSpan.start,cn.endSourceSpan.end))},ps=cn=>{if(cn.type==="element"){let xi=$r(Lt?cn.name:cn.name.toLowerCase());!cn.namespace||cn.namespace===xi.implicitNamespacePrefix||Ii(cn)?cn.tagDefinition=xi:cn.tagDefinition=$r("")}};return _t(new class extends at{visit(cn){_n(cn),ps(cn),Ln(cn),Ui(cn)}},Nr),Nr}function ms(ie,rt,vt){let wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:Kt,content:ut}=wt?ji(ie):{frontMatter:null,content:ie},xt=new Yn(ie,rt.filepath),Lt=new Zi(xt,0,0,0),Jt=Lt.moveBy(ie.length),Bn={type:"root",sourceSpan:new Wi(Lt,Jt),children:ta(ut,vt,rt)};if(Kt){let ir=new Zi(xt,0,0,0),$r=ir.moveBy(Kt.raw.length);Kt.sourceSpan=new Wi(ir,$r),Bn.children.unshift(Kt)}let at=new Xs(Bn),_t=(ir,$r)=>{let{offset:Nr}=$r,qr=ie.slice(0,Nr).replace(/[^\n\r]/g," "),Ir=ms(qr+ir,rt,vt,!1);Ir.sourceSpan=new Wi($r,as(Ir.children).sourceSpan.end);let _n=Ir.children[0];return _n.length===Nr?Ir.children.shift():(_n.sourceSpan=new Wi(_n.sourceSpan.start.moveBy(Nr),_n.sourceSpan.end),_n.value=_n.value.slice(Nr)),Ir};return at.walk(ir=>{if(ir.type==="comment"){let $r=Ia(ir,_t);$r&&ir.parent.replaceChild(ir,$r)}}),at}function Ti(){let{name:ie,recognizeSelfClosing:rt=!1,normalizeTagName:vt=!1,normalizeAttributeName:wt=!1,allowHtmComponentClosingTags:Kt=!1,isTagNameCaseSensitive:ut=!1,getTagContentType:xt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(Lt,Jt,Bn)=>ms(Lt,Object.assign({parser:ie},Bn),{recognizeSelfClosing:rt,normalizeTagName:vt,normalizeAttributeName:wt,allowHtmComponentClosingTags:Kt,isTagNameCaseSensitive:ut,getTagContentType:xt}),hasPragma:dt,astFormat:"html",locStart:Is,locEnd:Rs}}Ie.exports={parsers:{html:Ti({name:"html",recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ti({name:"angular"}),vue:Ti({name:"vue",recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:(ie,rt,vt,wt)=>{if(ie.toLowerCase()!=="html"&&!vt&&(ie!=="template"||wt.some(Kt=>{let{name:ut,value:xt}=Kt;return ut==="lang"&&xt!=="html"&&xt!==""&&xt!==void 0})))return vi().TagContentType.RAW_TEXT}}),lwc:Ti({name:"lwc"})}}});return on()})})(gm);var ND=Up(gm.exports),ym={exports:{}};(function(i,c){(function(l){i.exports=l()})(function(){var l=(Ar,Pt)=>()=>(Pt||Ar((Pt={exports:{}}).exports,Pt),Pt.exports),f=l((Ar,Pt)=>{var Re=function(Nt){return Nt&&Nt.Math==Math&&Nt};Pt.exports=Re(typeof globalThis=="object"&&globalThis)||Re(typeof window=="object"&&window)||Re(typeof self=="object"&&self)||Re(typeof Ol=="object"&&Ol)||function(){return this}()||Function("return this")()}),v=l((Ar,Pt)=>{Pt.exports=function(Re){try{return!!Re()}catch{return!0}}}),B=l((Ar,Pt)=>{var Re=v();Pt.exports=!Re(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),K=l((Ar,Pt)=>{var Re=v();Pt.exports=!Re(function(){var Nt=function(){}.bind();return typeof Nt!="function"||Nt.hasOwnProperty("prototype")})}),de=l((Ar,Pt)=>{var Re=K(),Nt=Function.prototype.call;Pt.exports=Re?Nt.bind(Nt):function(){return Nt.apply(Nt,arguments)}}),De=l(Ar=>{var Pt={}.propertyIsEnumerable,Re=Object.getOwnPropertyDescriptor,Nt=Re&&!Pt.call({1:2},1);Ar.f=Nt?function(Xt){var tr=Re(this,Xt);return!!tr&&tr.enumerable}:Pt}),Le=l((Ar,Pt)=>{Pt.exports=function(Re,Nt){return{enumerable:!(Re&1),configurable:!(Re&2),writable:!(Re&4),value:Nt}}}),ze=l((Ar,Pt)=>{var Re=K(),Nt=Function.prototype,Xt=Nt.bind,tr=Nt.call,zr=Re&&Xt.bind(tr,tr);Pt.exports=Re?function(on){return on&&zr(on)}:function(on){return on&&function(){return tr.apply(on,arguments)}}}),it=l((Ar,Pt)=>{var Re=ze(),Nt=Re({}.toString),Xt=Re("".slice);Pt.exports=function(tr){return Xt(Nt(tr),8,-1)}}),mt=l((Ar,Pt)=>{var Re=f(),Nt=ze(),Xt=v(),tr=it(),zr=Re.Object,on=Nt("".split);Pt.exports=Xt(function(){return!zr("z").propertyIsEnumerable(0)})?function(jt){return tr(jt)=="String"?on(jt,""):zr(jt)}:zr}),Bt=l((Ar,Pt)=>{var Re=f(),Nt=Re.TypeError;Pt.exports=function(Xt){if(Xt==null)throw Nt("Can't call method on "+Xt);return Xt}}),Qt=l((Ar,Pt)=>{var Re=mt(),Nt=Bt();Pt.exports=function(Xt){return Re(Nt(Xt))}}),Cr=l((Ar,Pt)=>{Pt.exports=function(Re){return typeof Re=="function"}}),Rr=l((Ar,Pt)=>{var Re=Cr();Pt.exports=function(Nt){return typeof Nt=="object"?Nt!==null:Re(Nt)}}),St=l((Ar,Pt)=>{var Re=f(),Nt=Cr(),Xt=function(tr){return Nt(tr)?tr:void 0};Pt.exports=function(tr,zr){return arguments.length<2?Xt(Re[tr]):Re[tr]&&Re[tr][zr]}}),$t=l((Ar,Pt)=>{var Re=ze();Pt.exports=Re({}.isPrototypeOf)}),Vt=l((Ar,Pt)=>{var Re=St();Pt.exports=Re("navigator","userAgent")||""}),Pr=l((Ar,Pt)=>{var Re=f(),Nt=Vt(),Xt=Re.process,tr=Re.Deno,zr=Xt&&Xt.versions||tr&&tr.version,on=zr&&zr.v8,jt,Ie;on&&(jt=on.split("."),Ie=jt[0]>0&&jt[0]<4?1:+(jt[0]+jt[1])),!Ie&&Nt&&(jt=Nt.match(/Edge\/(\d+)/),(!jt||jt[1]>=74)&&(jt=Nt.match(/Chrome\/(\d+)/),jt&&(Ie=+jt[1]))),Pt.exports=Ie}),nn=l((Ar,Pt)=>{var Re=Pr(),Nt=v();Pt.exports=!!Object.getOwnPropertySymbols&&!Nt(function(){var Xt=Symbol();return!String(Xt)||!(Object(Xt)instanceof Symbol)||!Symbol.sham&&Re&&Re<41})}),Sn=l((Ar,Pt)=>{var Re=nn();Pt.exports=Re&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Wn=l((Ar,Pt)=>{var Re=f(),Nt=St(),Xt=Cr(),tr=$t(),zr=Sn(),on=Re.Object;Pt.exports=zr?function(jt){return typeof jt=="symbol"}:function(jt){var Ie=Nt("Symbol");return Xt(Ie)&&tr(Ie.prototype,on(jt))}}),Mi=l((Ar,Pt)=>{var Re=f(),Nt=Re.String;Pt.exports=function(Xt){try{return Nt(Xt)}catch{return"Object"}}}),mi=l((Ar,Pt)=>{var Re=f(),Nt=Cr(),Xt=Mi(),tr=Re.TypeError;Pt.exports=function(zr){if(Nt(zr))return zr;throw tr(Xt(zr)+" is not a function")}}),Un=l((Ar,Pt)=>{var Re=mi();Pt.exports=function(Nt,Xt){var tr=Nt[Xt];return tr==null?void 0:Re(tr)}}),Nn=l((Ar,Pt)=>{var Re=f(),Nt=de(),Xt=Cr(),tr=Rr(),zr=Re.TypeError;Pt.exports=function(on,jt){var Ie,ce;if(jt==="string"&&Xt(Ie=on.toString)&&!tr(ce=Nt(Ie,on))||Xt(Ie=on.valueOf)&&!tr(ce=Nt(Ie,on))||jt!=="string"&&Xt(Ie=on.toString)&&!tr(ce=Nt(Ie,on)))return ce;throw zr("Can't convert object to primitive value")}}),Ai=l((Ar,Pt)=>{Pt.exports=!1}),Dr=l((Ar,Pt)=>{var Re=f(),Nt=Object.defineProperty;Pt.exports=function(Xt,tr){try{Nt(Re,Xt,{value:tr,configurable:!0,writable:!0})}catch{Re[Xt]=tr}return tr}}),vn=l((Ar,Pt)=>{var Re=f(),Nt=Dr(),Xt="__core-js_shared__",tr=Re[Xt]||Nt(Xt,{});Pt.exports=tr}),we=l((Ar,Pt)=>{var Re=Ai(),Nt=vn();(Pt.exports=function(Xt,tr){return Nt[Xt]||(Nt[Xt]=tr!==void 0?tr:{})})("versions",[]).push({version:"3.22.2",mode:Re?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})}),tn=l((Ar,Pt)=>{var Re=f(),Nt=Bt(),Xt=Re.Object;Pt.exports=function(tr){return Xt(Nt(tr))}}),yr=l((Ar,Pt)=>{var Re=ze(),Nt=tn(),Xt=Re({}.hasOwnProperty);Pt.exports=Object.hasOwn||function(tr,zr){return Xt(Nt(tr),zr)}}),wn=l((Ar,Pt)=>{var Re=ze(),Nt=0,Xt=Math.random(),tr=Re(1 .toString);Pt.exports=function(zr){return"Symbol("+(zr===void 0?"":zr)+")_"+tr(++Nt+Xt,36)}}),ei=l((Ar,Pt)=>{var Re=f(),Nt=we(),Xt=yr(),tr=wn(),zr=nn(),on=Sn(),jt=Nt("wks"),Ie=Re.Symbol,ce=Ie&&Ie.for,fe=on?Ie:Ie&&Ie.withoutSetter||tr;Pt.exports=function(Ee){if(!Xt(jt,Ee)||!(zr||typeof jt[Ee]=="string")){var Ce="Symbol."+Ee;zr&&Xt(Ie,Ee)?jt[Ee]=Ie[Ee]:on&&ce?jt[Ee]=ce(Ce):jt[Ee]=fe(Ce)}return jt[Ee]}}),ls=l((Ar,Pt)=>{var Re=f(),Nt=de(),Xt=Rr(),tr=Wn(),zr=Un(),on=Nn(),jt=ei(),Ie=Re.TypeError,ce=jt("toPrimitive");Pt.exports=function(fe,Ee){if(!Xt(fe)||tr(fe))return fe;var Ce=zr(fe,ce),He;if(Ce){if(Ee===void 0&&(Ee="default"),He=Nt(Ce,fe,Ee),!Xt(He)||tr(He))return He;throw Ie("Can't convert object to primitive value")}return Ee===void 0&&(Ee="number"),on(fe,Ee)}}),As=l((Ar,Pt)=>{var Re=ls(),Nt=Wn();Pt.exports=function(Xt){var tr=Re(Xt,"string");return Nt(tr)?tr:tr+""}}),_s=l((Ar,Pt)=>{var Re=f(),Nt=Rr(),Xt=Re.document,tr=Nt(Xt)&&Nt(Xt.createElement);Pt.exports=function(zr){return tr?Xt.createElement(zr):{}}}),qi=l((Ar,Pt)=>{var Re=B(),Nt=v(),Xt=_s();Pt.exports=!Re&&!Nt(function(){return Object.defineProperty(Xt("div"),"a",{get:function(){return 7}}).a!=7})}),Ps=l(Ar=>{var Pt=B(),Re=de(),Nt=De(),Xt=Le(),tr=Qt(),zr=As(),on=yr(),jt=qi(),Ie=Object.getOwnPropertyDescriptor;Ar.f=Pt?Ie:function(ce,fe){if(ce=tr(ce),fe=zr(fe),jt)try{return Ie(ce,fe)}catch{}if(on(ce,fe))return Xt(!Re(Nt.f,ce,fe),ce[fe])}}),Or=l((Ar,Pt)=>{var Re=B(),Nt=v();Pt.exports=Re&&Nt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Kr=l((Ar,Pt)=>{var Re=f(),Nt=Rr(),Xt=Re.String,tr=Re.TypeError;Pt.exports=function(zr){if(Nt(zr))return zr;throw tr(Xt(zr)+" is not an object")}}),mr=l(Ar=>{var Pt=f(),Re=B(),Nt=qi(),Xt=Or(),tr=Kr(),zr=As(),on=Pt.TypeError,jt=Object.defineProperty,Ie=Object.getOwnPropertyDescriptor,ce="enumerable",fe="configurable",Ee="writable";Ar.f=Re?Xt?function(Ce,He,et){if(tr(Ce),He=zr(He),tr(et),typeof Ce=="function"&&He==="prototype"&&"value"in et&&Ee in et&&!et[Ee]){var st=Ie(Ce,He);st&&st[Ee]&&(Ce[He]=et.value,et={configurable:fe in et?et[fe]:st[fe],enumerable:ce in et?et[ce]:st[ce],writable:!1})}return jt(Ce,He,et)}:jt:function(Ce,He,et){if(tr(Ce),He=zr(He),tr(et),Nt)try{return jt(Ce,He,et)}catch{}if("get"in et||"set"in et)throw on("Accessors not supported");return"value"in et&&(Ce[He]=et.value),Ce}}),dn=l((Ar,Pt)=>{var Re=B(),Nt=mr(),Xt=Le();Pt.exports=Re?function(tr,zr,on){return Nt.f(tr,zr,Xt(1,on))}:function(tr,zr,on){return tr[zr]=on,tr}}),ai=l((Ar,Pt)=>{var Re=ze(),Nt=Cr(),Xt=vn(),tr=Re(Function.toString);Nt(Xt.inspectSource)||(Xt.inspectSource=function(zr){return tr(zr)}),Pt.exports=Xt.inspectSource}),Jn=l((Ar,Pt)=>{var Re=f(),Nt=Cr(),Xt=ai(),tr=Re.WeakMap;Pt.exports=Nt(tr)&&/native code/.test(Xt(tr))}),zn=l((Ar,Pt)=>{var Re=we(),Nt=wn(),Xt=Re("keys");Pt.exports=function(tr){return Xt[tr]||(Xt[tr]=Nt(tr))}}),ui=l((Ar,Pt)=>{Pt.exports={}}),ct=l((Ar,Pt)=>{var Re=Jn(),Nt=f(),Xt=ze(),tr=Rr(),zr=dn(),on=yr(),jt=vn(),Ie=zn(),ce=ui(),fe="Object already initialized",Ee=Nt.TypeError,Ce=Nt.WeakMap,He,et,st,Dt=function(kr){return st(kr)?et(kr):He(kr,{})},Wt=function(kr){return function(kn){var ci;if(!tr(kn)||(ci=et(kn)).type!==kr)throw Ee("Incompatible receiver, "+kr+" required");return ci}};Re||jt.state?(nr=jt.state||(jt.state=new Ce),wr=Xt(nr.get),Ur=Xt(nr.has),Qr=Xt(nr.set),He=function(kr,kn){if(Ur(nr,kr))throw new Ee(fe);return kn.facade=kr,Qr(nr,kr,kn),kn},et=function(kr){return wr(nr,kr)||{}},st=function(kr){return Ur(nr,kr)}):(rn=Ie("state"),ce[rn]=!0,He=function(kr,kn){if(on(kr,rn))throw new Ee(fe);return kn.facade=kr,zr(kr,rn,kn),kn},et=function(kr){return on(kr,rn)?kr[rn]:{}},st=function(kr){return on(kr,rn)});var nr,wr,Ur,Qr,rn;Pt.exports={set:He,get:et,has:st,enforce:Dt,getterFor:Wt}}),Ot=l((Ar,Pt)=>{var Re=B(),Nt=yr(),Xt=Function.prototype,tr=Re&&Object.getOwnPropertyDescriptor,zr=Nt(Xt,"name"),on=zr&&function(){}.name==="something",jt=zr&&(!Re||Re&&tr(Xt,"name").configurable);Pt.exports={EXISTS:zr,PROPER:on,CONFIGURABLE:jt}}),br=l((Ar,Pt)=>{var Re=f(),Nt=Cr(),Xt=yr(),tr=dn(),zr=Dr(),on=ai(),jt=ct(),Ie=Ot().CONFIGURABLE,ce=jt.get,fe=jt.enforce,Ee=String(String).split("String");(Pt.exports=function(Ce,He,et,st){var Dt=st?!!st.unsafe:!1,Wt=st?!!st.enumerable:!1,nr=st?!!st.noTargetGet:!1,wr=st&&st.name!==void 0?st.name:He,Ur;if(Nt(et)&&(String(wr).slice(0,7)==="Symbol("&&(wr="["+String(wr).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Xt(et,"name")||Ie&&et.name!==wr)&&tr(et,"name",wr),Ur=fe(et),Ur.source||(Ur.source=Ee.join(typeof wr=="string"?wr:""))),Ce===Re){Wt?Ce[He]=et:zr(He,et);return}else Dt?!nr&&Ce[He]&&(Wt=!0):delete Ce[He];Wt?Ce[He]=et:tr(Ce,He,et)})(Function.prototype,"toString",function(){return Nt(this)&&ce(this).source||on(this)})}),sr=l((Ar,Pt)=>{var Re=Math.ceil,Nt=Math.floor;Pt.exports=function(Xt){var tr=+Xt;return tr!==tr||tr===0?0:(tr>0?Nt:Re)(tr)}}),Jr=l((Ar,Pt)=>{var Re=sr(),Nt=Math.max,Xt=Math.min;Pt.exports=function(tr,zr){var on=Re(tr);return on<0?Nt(on+zr,0):Xt(on,zr)}}),fn=l((Ar,Pt)=>{var Re=sr(),Nt=Math.min;Pt.exports=function(Xt){return Xt>0?Nt(Re(Xt),9007199254740991):0}}),mn=l((Ar,Pt)=>{var Re=fn();Pt.exports=function(Nt){return Re(Nt.length)}}),Fn=l((Ar,Pt)=>{var Re=Qt(),Nt=Jr(),Xt=mn(),tr=function(zr){return function(on,jt,Ie){var ce=Re(on),fe=Xt(ce),Ee=Nt(Ie,fe),Ce;if(zr&&jt!=jt){for(;fe>Ee;)if(Ce=ce[Ee++],Ce!=Ce)return!0}else for(;fe>Ee;Ee++)if((zr||Ee in ce)&&ce[Ee]===jt)return zr||Ee||0;return!zr&&-1}};Pt.exports={includes:tr(!0),indexOf:tr(!1)}}),hn=l((Ar,Pt)=>{var Re=ze(),Nt=yr(),Xt=Qt(),tr=Fn().indexOf,zr=ui(),on=Re([].push);Pt.exports=function(jt,Ie){var ce=Xt(jt),fe=0,Ee=[],Ce;for(Ce in ce)!Nt(zr,Ce)&&Nt(ce,Ce)&&on(Ee,Ce);for(;Ie.length>fe;)Nt(ce,Ce=Ie[fe++])&&(~tr(Ee,Ce)||on(Ee,Ce));return Ee}}),lt=l((Ar,Pt)=>{Pt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Er=l(Ar=>{var Pt=hn(),Re=lt(),Nt=Re.concat("length","prototype");Ar.f=Object.getOwnPropertyNames||function(Xt){return Pt(Xt,Nt)}}),Mt=l(Ar=>{Ar.f=Object.getOwnPropertySymbols}),jn=l((Ar,Pt)=>{var Re=St(),Nt=ze(),Xt=Er(),tr=Mt(),zr=Kr(),on=Nt([].concat);Pt.exports=Re("Reflect","ownKeys")||function(jt){var Ie=Xt.f(zr(jt)),ce=tr.f;return ce?on(Ie,ce(jt)):Ie}}),gi=l((Ar,Pt)=>{var Re=yr(),Nt=jn(),Xt=Ps(),tr=mr();Pt.exports=function(zr,on,jt){for(var Ie=Nt(on),ce=tr.f,fe=Xt.f,Ee=0;Ee<Ie.length;Ee++){var Ce=Ie[Ee];!Re(zr,Ce)&&!(jt&&Re(jt,Ce))&&ce(zr,Ce,fe(on,Ce))}}}),ns=l((Ar,Pt)=>{var Re=v(),Nt=Cr(),Xt=/#|\.prototype\./,tr=function(ce,fe){var Ee=on[zr(ce)];return Ee==Ie?!0:Ee==jt?!1:Nt(fe)?Re(fe):!!fe},zr=tr.normalize=function(ce){return String(ce).replace(Xt,".").toLowerCase()},on=tr.data={},jt=tr.NATIVE="N",Ie=tr.POLYFILL="P";Pt.exports=tr}),is=l((Ar,Pt)=>{var Re=f(),Nt=Ps().f,Xt=dn(),tr=br(),zr=Dr(),on=gi(),jt=ns();Pt.exports=function(Ie,ce){var fe=Ie.target,Ee=Ie.global,Ce=Ie.stat,He,et,st,Dt,Wt,nr;if(Ee?et=Re:Ce?et=Re[fe]||zr(fe,{}):et=(Re[fe]||{}).prototype,et)for(st in ce){if(Wt=ce[st],Ie.noTargetGet?(nr=Nt(et,st),Dt=nr&&nr.value):Dt=et[st],He=jt(Ee?st:fe+(Ce?".":"#")+st,Ie.forced),!He&&Dt!==void 0){if(typeof Wt==typeof Dt)continue;on(Wt,Dt)}(Ie.sham||Dt&&Dt.sham)&&Xt(Wt,"sham",!0),tr(et,st,Wt,Ie)}}}),cs=l(()=>{var Ar=is(),Pt=f();Ar({global:!0},{globalThis:Pt})}),Hi=l(()=>{cs()}),Ls=l((Ar,Pt)=>{var Re=it();Pt.exports=Array.isArray||function(Nt){return Re(Nt)=="Array"}}),$n=l((Ar,Pt)=>{var Re=ze(),Nt=mi(),Xt=K(),tr=Re(Re.bind);Pt.exports=function(zr,on){return Nt(zr),on===void 0?zr:Xt?tr(zr,on):function(){return zr.apply(on,arguments)}}}),Sr=l((Ar,Pt)=>{var Re=f(),Nt=Ls(),Xt=mn(),tr=$n(),zr=Re.TypeError,on=function(jt,Ie,ce,fe,Ee,Ce,He,et){for(var st=Ee,Dt=0,Wt=He?tr(He,et):!1,nr,wr;Dt<fe;){if(Dt in ce){if(nr=Wt?Wt(ce[Dt],Dt,Ie):ce[Dt],Ce>0&&Nt(nr))wr=Xt(nr),st=on(jt,Ie,nr,wr,st,Ce-1)-1;else{if(st>=9007199254740991)throw zr("Exceed the acceptable array length");jt[st]=nr}st++}Dt++}return st};Pt.exports=on}),Br=l((Ar,Pt)=>{var Re=ei(),Nt=Re("toStringTag"),Xt={};Xt[Nt]="z",Pt.exports=String(Xt)==="[object z]"}),Gt=l((Ar,Pt)=>{var Re=f(),Nt=Br(),Xt=Cr(),tr=it(),zr=ei(),on=zr("toStringTag"),jt=Re.Object,Ie=tr(function(){return arguments}())=="Arguments",ce=function(fe,Ee){try{return fe[Ee]}catch{}};Pt.exports=Nt?tr:function(fe){var Ee,Ce,He;return fe===void 0?"Undefined":fe===null?"Null":typeof(Ce=ce(Ee=jt(fe),on))=="string"?Ce:Ie?tr(Ee):(He=tr(Ee))=="Object"&&Xt(Ee.callee)?"Arguments":He}}),Vr=l((Ar,Pt)=>{var Re=ze(),Nt=v(),Xt=Cr(),tr=Gt(),zr=St(),on=ai(),jt=function(){},Ie=[],ce=zr("Reflect","construct"),fe=/^\s*(?:class|function)\b/,Ee=Re(fe.exec),Ce=!fe.exec(jt),He=function(st){if(!Xt(st))return!1;try{return ce(jt,Ie,st),!0}catch{return!1}},et=function(st){if(!Xt(st))return!1;switch(tr(st)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ce||!!Ee(fe,on(st))}catch{return!0}};et.sham=!0,Pt.exports=!ce||Nt(function(){var st;return He(He.call)||!He(Object)||!He(function(){st=!0})||st})?et:He}),ur=l((Ar,Pt)=>{var Re=f(),Nt=Ls(),Xt=Vr(),tr=Rr(),zr=ei(),on=zr("species"),jt=Re.Array;Pt.exports=function(Ie){var ce;return Nt(Ie)&&(ce=Ie.constructor,Xt(ce)&&(ce===jt||Nt(ce.prototype))?ce=void 0:tr(ce)&&(ce=ce[on],ce===null&&(ce=void 0))),ce===void 0?jt:ce}}),gn=l((Ar,Pt)=>{var Re=ur();Pt.exports=function(Nt,Xt){return new(Re(Nt))(Xt===0?0:Xt)}}),zt=l(()=>{var Ar=is(),Pt=Sr(),Re=mi(),Nt=tn(),Xt=mn(),tr=gn();Ar({target:"Array",proto:!0},{flatMap:function(zr){var on=Nt(this),jt=Xt(on),Ie;return Re(zr),Ie=tr(on,0),Ie.length=Pt(Ie,on,on,jt,0,1,zr,arguments.length>1?arguments[1]:void 0),Ie}})}),Kn=l((Ar,Pt)=>{var Re,Nt,Xt,tr,zr;function on(Vn,Cn){return Cn||(Cn=Vn.slice(0)),Object.freeze(Object.defineProperties(Vn,{raw:{value:Object.freeze(Cn)}}))}Hi(),zt();var jt=Object.defineProperty,Ie=Object.getOwnPropertyDescriptor,ce=Object.getOwnPropertyNames,fe=Object.prototype.hasOwnProperty,Ee=(Vn,Cn)=>function(){return Vn&&(Cn=(0,Vn[ce(Vn)[0]])(Vn=0)),Cn},Ce=(Vn,Cn)=>function(){return Cn||(0,Vn[ce(Vn)[0]])((Cn={exports:{}}).exports,Cn),Cn.exports},He=(Vn,Cn)=>{for(var xn in Cn)jt(Vn,xn,{get:Cn[xn],enumerable:!0})},et=(Vn,Cn,xn,sn)=>{if(Cn&&typeof Cn=="object"||typeof Cn=="function")for(let pn of ce(Cn))!fe.call(Vn,pn)&&pn!==xn&&jt(Vn,pn,{get:()=>Cn[pn],enumerable:!(sn=Ie(Cn,pn))||sn.enumerable});return Vn},st=Vn=>et(jt({},"__esModule",{value:!0}),Vn),Dt=Ee({"<define:process>"(){}}),Wt=Ce({"src/utils/try-combinations.js"(Vn,Cn){Dt();function xn(){let sn;for(var pn=arguments.length,ri=new Array(pn),ii=0;ii<pn;ii++)ri[ii]=arguments[ii];for(let[Zn,vi]of ri.entries())try{return{result:vi()}}catch(Wi){Zn===0&&(sn=Wi)}return{error:sn}}Cn.exports=xn}}),nr=Ce({"src/language-js/utils/get-shebang.js"(Vn,Cn){Dt();function xn(sn){if(!sn.startsWith("#!"))return"";let pn=sn.indexOf(`
|
|
250
|
-
`);return pn===-1?sn:sn.slice(0,pn)}Cn.exports=xn}}),wr=Ce({"src/utils/text/skip-inline-comment.js"(Vn,Cn){Dt();function xn(sn,pn){if(pn===!1)return!1;if(sn.charAt(pn)==="/"&&sn.charAt(pn+1)==="*"){for(let ri=pn+2;ri<sn.length;++ri)if(sn.charAt(ri)==="*"&&sn.charAt(ri+1)==="/")return ri+2}return pn}Cn.exports=xn}}),Ur=Ce({"src/utils/text/skip-newline.js"(Vn,Cn){Dt();function xn(sn,pn,ri){let ii=ri&&ri.backwards;if(pn===!1)return!1;let Zn=sn.charAt(pn);if(ii){if(sn.charAt(pn-1)==="\r"&&Zn===`
|
|
251
|
-
`)return pn-2;if(Zn===`
|
|
252
|
-
`||Zn==="\r"||Zn==="\u2028"||Zn==="\u2029")return pn-1}else{if(Zn==="\r"&&sn.charAt(pn+1)===`
|
|
253
|
-
`)return pn+2;if(Zn===`
|
|
254
|
-
`||Zn==="\r"||Zn==="\u2028"||Zn==="\u2029")return pn+1}return pn}Cn.exports=xn}}),Qr=Ce({"src/utils/text/skip.js"(Vn,Cn){Dt();function xn(Zn){return(vi,Wi,Zi)=>{let Yn=Zi&&Zi.backwards;if(Wi===!1)return!1;let{length:ji}=vi,as=Wi;for(;as>=0&&as<ji;){let Ri=vi.charAt(as);if(Zn instanceof RegExp){if(!Zn.test(Ri))return as}else if(!Zn.includes(Ri))return as;Yn?as--:as++}return as===-1||as===ji?as:!1}}var sn=xn(/\s/),pn=xn(" "),ri=xn(",; "),ii=xn(/[^\n\r]/);Cn.exports={skipWhitespace:sn,skipSpaces:pn,skipToLineEnd:ri,skipEverythingButNewLine:ii}}}),rn=Ce({"src/utils/text/skip-trailing-comment.js"(Vn,Cn){Dt();var{skipEverythingButNewLine:xn}=Qr();function sn(pn,ri){return ri===!1?!1:pn.charAt(ri)==="/"&&pn.charAt(ri+1)==="/"?xn(pn,ri):ri}Cn.exports=sn}}),kr=Ce({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(Vn,Cn){Dt();var xn=wr(),sn=Ur(),pn=rn(),{skipSpaces:ri}=Qr();function ii(Zn,vi){let Wi=null,Zi=vi;for(;Zi!==Wi;)Wi=Zi,Zi=ri(Zn,Zi),Zi=xn(Zn,Zi),Zi=pn(Zn,Zi),Zi=sn(Zn,Zi);return Zi}Cn.exports=ii}}),kn={};He(kn,{EOL:()=>li,arch:()=>js,cpus:()=>Li,default:()=>ss,endianness:()=>ci,freemem:()=>Xe,getNetworkInterfaces:()=>$s,hostname:()=>yn,loadavg:()=>Yi,networkInterfaces:()=>Gn,platform:()=>S,release:()=>ti,tmpDir:()=>Je,tmpdir:()=>an,totalmem:()=>ys,type:()=>Di,uptime:()=>yi});function ci(){if(typeof Mr>"u"){var Vn=new ArrayBuffer(2),Cn=new Uint8Array(Vn),xn=new Uint16Array(Vn);if(Cn[0]=1,Cn[1]=2,xn[0]===258)Mr="BE";else if(xn[0]===513)Mr="LE";else throw new Error("unable to figure out endianess")}return Mr}function yn(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Yi(){return[]}function yi(){return 0}function Xe(){return Number.MAX_VALUE}function ys(){return Number.MAX_VALUE}function Li(){return[]}function Di(){return"Browser"}function ti(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Gn(){}function $s(){}function js(){return"javascript"}function S(){return"browser"}function Je(){return"/tmp"}var Mr,an,li,ss,es=Ee({"node-modules-polyfills:os"(){Dt(),an=Je,li=`
|
|
255
|
-
`,ss={EOL:li,tmpdir:an,tmpDir:Je,networkInterfaces:Gn,getNetworkInterfaces:$s,release:ti,type:Di,cpus:Li,totalmem:ys,freemem:Xe,uptime:yi,loadavg:Yi,hostname:yn,endianness:ci}}}),ni=Ce({"node-modules-polyfills-commonjs:os"(Vn,Cn){Dt();var xn=(es(),st(kn));if(xn&&xn.default){Cn.exports=xn.default;for(let sn in xn)Cn.exports[sn]=xn[sn]}else xn&&(Cn.exports=xn)}}),qs=Ce({"node_modules/detect-newline/index.js"(Vn,Cn){Dt();var xn=sn=>{if(typeof sn!="string")throw new TypeError("Expected a string");let pn=sn.match(/(?:\r?\n)/g)||[];if(pn.length===0)return;let ri=pn.filter(Zn=>Zn===`\r
|
|
256
|
-
`).length,ii=pn.length-ri;return ri>ii?`\r
|
|
257
|
-
`:`
|
|
258
|
-
`};Cn.exports=xn,Cn.exports.graceful=sn=>typeof sn=="string"&&xn(sn)||`
|
|
259
|
-
`}}),Xo=Ce({"node_modules/jest-docblock/build/index.js"(Vn){Dt(),Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.extract=as,Vn.parse=Es,Vn.parseWithComments=da,Vn.print=Ji,Vn.strip=Ri;function Cn(){let dt=ni();return Cn=function(){return dt},dt}function xn(){let dt=sn(qs());return xn=function(){return dt},dt}function sn(dt){return dt&&dt.__esModule?dt:{default:dt}}var pn=/\*\/$/,ri=/^\/\*\*/,ii=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Zn=/(^|\s+)\/\/([^\r\n]*)/g,vi=/^(\r?\n)+/,Wi=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Zi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Yn=/(\r?\n|^) *\* ?/g,ji=[];function as(dt){let Xs=dt.match(ii);return Xs?Xs[0].trimLeft():""}function Ri(dt){let Xs=dt.match(ii);return Xs&&Xs[0]?dt.substring(Xs[0].length):dt}function Es(dt){return da(dt).pragmas}function da(dt){let Xs=(0,xn().default)(dt)||Cn().EOL;dt=dt.replace(ri,"").replace(pn,"").replace(Yn,"$1");let Ia="";for(;Ia!==dt;)Ia=dt,dt=dt.replace(Wi,"".concat(Xs,"$1 $2").concat(Xs));dt=dt.replace(vi,"").trimRight();let Is=Object.create(null),Rs=dt.replace(Zi,"").replace(vi,"").trimRight(),ta;for(;ta=Zi.exec(dt);){let ms=ta[2].replace(Zn,"");typeof Is[ta[1]]=="string"||Array.isArray(Is[ta[1]])?Is[ta[1]]=ji.concat(Is[ta[1]],ms):Is[ta[1]]=ms}return{comments:Rs,pragmas:Is}}function Ji(dt){let{comments:Xs="",pragmas:Ia={}}=dt,Is=(0,xn().default)(Xs)||Cn().EOL,Rs="/**",ta=" *",ms=" */",Ti=Object.keys(Ia),ie=Ti.map(vt=>Ii(vt,Ia[vt])).reduce((vt,wt)=>vt.concat(wt),[]).map(vt=>ta+" "+vt+Is).join("");if(!Xs){if(Ti.length===0)return"";if(Ti.length===1&&!Array.isArray(Ia[Ti[0]])){let vt=Ia[Ti[0]];return"".concat(Rs," ").concat(Ii(Ti[0],vt)[0]).concat(ms)}}let rt=Xs.split(Is).map(vt=>"".concat(ta," ").concat(vt)).join(Is)+Is;return Rs+Is+(Xs?rt:"")+(Xs&&Ti.length?ta+Is:"")+ie+ms}function Ii(dt,Xs){return ji.concat(Xs).map(Ia=>"@".concat(dt," ").concat(Ia).trim())}}}),Io=Ce({"src/common/end-of-line.js"(Vn,Cn){Dt();function xn(ii){let Zn=ii.indexOf("\r");return Zn>=0?ii.charAt(Zn+1)===`
|
|
260
|
-
`?"crlf":"cr":"lf"}function sn(ii){switch(ii){case"cr":return"\r";case"crlf":return`\r
|
|
261
|
-
`;default:return`
|
|
262
|
-
`}}function pn(ii,Zn){let vi;switch(Zn){case`
|
|
263
|
-
`:vi=/\n/g;break;case"\r":vi=/\r/g;break;case`\r
|
|
264
|
-
`:vi=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(Zn),"."))}let Wi=ii.match(vi);return Wi?Wi.length:0}function ri(ii){return ii.replace(/\r\n?/g,`
|
|
265
|
-
`)}Cn.exports={guessEndOfLine:xn,convertEndOfLineToChars:sn,countEndOfLineChars:pn,normalizeEndOfLine:ri}}}),Ma=Ce({"src/language-js/pragma.js"(Vn,Cn){Dt();var{parseWithComments:xn,strip:sn,extract:pn,print:ri}=Xo(),{normalizeEndOfLine:ii}=Io(),Zn=nr();function vi(Yn){let ji=Zn(Yn);ji&&(Yn=Yn.slice(ji.length+1));let as=pn(Yn),{pragmas:Ri,comments:Es}=xn(as);return{shebang:ji,text:Yn,pragmas:Ri,comments:Es}}function Wi(Yn){let ji=Object.keys(vi(Yn).pragmas);return ji.includes("prettier")||ji.includes("format")}function Zi(Yn){let{shebang:ji,text:as,pragmas:Ri,comments:Es}=vi(Yn),da=sn(as),Ji=ri({pragmas:Object.assign({format:""},Ri),comments:Es.trimStart()});return(ji?"".concat(ji,`
|
|
266
|
-
`):"")+ii(Ji)+(da.startsWith(`
|
|
267
|
-
`)?`
|
|
268
|
-
`:`
|
|
269
|
-
|
|
270
|
-
`)+da}Cn.exports={hasPragma:Wi,insertPragma:Zi}}}),du=Ce({"src/utils/is-non-empty-array.js"(Vn,Cn){Dt();function xn(sn){return Array.isArray(sn)&&sn.length>0}Cn.exports=xn}}),mu=Ce({"src/language-js/loc.js"(Vn,Cn){Dt();var xn=du();function sn(vi,Wi){let{ignoreDecorators:Zi}=Wi||{};if(!Zi){let Yn=vi.declaration&&vi.declaration.decorators||vi.decorators;if(xn(Yn))return sn(Yn[0])}return vi.range?vi.range[0]:vi.start}function pn(vi){return vi.range?vi.range[1]:vi.end}function ri(vi,Wi){let Zi=sn(vi);return Number.isInteger(Zi)&&Zi===sn(Wi)}function ii(vi,Wi){let Zi=pn(vi);return Number.isInteger(Zi)&&Zi===pn(Wi)}function Zn(vi,Wi){return ri(vi,Wi)&&ii(vi,Wi)}Cn.exports={locStart:sn,locEnd:pn,hasSameLocStart:ri,hasSameLoc:Zn}}}),fo=Ce({"src/language-js/parse/utils/create-parser.js"(Vn,Cn){Dt();var{hasPragma:xn}=Ma(),{locStart:sn,locEnd:pn}=mu();function ri(ii){return ii=typeof ii=="function"?{parse:ii}:ii,Object.assign({astFormat:"estree",hasPragma:xn,locStart:sn,locEnd:pn},ii)}Cn.exports=ri}}),mo=Ce({"src/common/parser-create-error.js"(Vn,Cn){Dt();function xn(sn,pn){let ri=new SyntaxError(sn+" ("+pn.start.line+":"+pn.start.column+")");return ri.loc=pn,ri}Cn.exports=xn}}),Jo=Ce({"src/language-js/parse/utils/create-babel-parse-error.js"(Vn,Cn){Dt();var xn=mo();function sn(pn){let{message:ri,loc:ii}=pn;return xn(ri.replace(/ \(.*\)/,""),{start:{line:ii?ii.line:0,column:ii?ii.column+1:0}})}Cn.exports=sn}}),gu=Ce({"src/language-js/utils/is-ts-keyword-type.js"(Vn,Cn){Dt();function xn(sn){let{type:pn}=sn;return pn.startsWith("TS")&&pn.endsWith("Keyword")}Cn.exports=xn}}),yu=Ce({"src/language-js/utils/is-block-comment.js"(Vn,Cn){Dt();var xn=new Set(["Block","CommentBlock","MultiLine"]),sn=pn=>xn.has(pn==null?void 0:pn.type);Cn.exports=sn}}),Ko=Ce({"src/language-js/utils/is-type-cast-comment.js"(Vn,Cn){Dt();var xn=yu();function sn(pn){return xn(pn)&&pn.value[0]==="*"&&/@type\b/.test(pn.value)}Cn.exports=sn}}),_u=Ce({"src/utils/get-last.js"(Vn,Cn){Dt();var xn=sn=>sn[sn.length-1];Cn.exports=xn}}),Du=Ce({"src/language-js/parse/postprocess/visit-node.js"(Vn,Cn){Dt();function xn(sn,pn){if(Array.isArray(sn)){for(let ri=0;ri<sn.length;ri++)sn[ri]=xn(sn[ri],pn);return sn}if(sn&&typeof sn=="object"&&typeof sn.type=="string"){let ri=Object.keys(sn);for(let ii=0;ii<ri.length;ii++)sn[ri[ii]]=xn(sn[ri[ii]],pn);return pn(sn)||sn}return sn}Cn.exports=xn}}),wi=Ce({"src/language-js/parse/postprocess/throw-syntax-error.js"(Vn,Cn){Dt();var xn=mo();function sn(pn,ri){let{start:ii,end:Zn}=pn.loc;throw xn(ri,{start:{line:ii.line,column:ii.column+1},end:{line:Zn.line,column:Zn.column+1}})}Cn.exports=sn}}),Iu=Ce({"src/language-js/parse/postprocess/typescript.js"(Vn,Cn){Dt();var xn=Du(),sn=wi();function pn(Zn,vi,Wi){let Zi=Zn.decorators;if(!Array.isArray(Zi))return;let Yn=vi.decorators;(!Array.isArray(Yn)||Yn.length!==Zi.length||Zi.some(ji=>{let as=Wi.get(ji);return!as||!Yn.includes(as)}))&&sn(vi,"Leading decorators must be attached to a class declaration")}function ri(Zn,vi){Zn.kind!==167||Zn.modifiers&&!Zn.modifiers.some(Wi=>Wi.kind===126)||Zn.initializer&&vi.value===null&&sn(vi,"Abstract property cannot have an initializer")}function ii(Zn,vi){let{esTreeNodeToTSNodeMap:Wi,tsNodeToESTreeNodeMap:Zi}=vi.tsParseResult;xn(Zn,Yn=>{let ji=Wi.get(Yn);if(!ji)return;let as=Zi.get(ji);as===Yn&&(pn(ji,as,Zi),ri(ji,as))})}Cn.exports={throwErrorForInvalidNodes:ii}}}),Ou=Ce({"src/language-js/parse/postprocess/index.js"(Vn,Cn){Dt();var{locStart:xn,locEnd:sn}=mu(),pn=gu(),ri=Ko(),ii=_u(),Zn=Du(),{throwErrorForInvalidNodes:vi}=Iu(),Wi=wi();function Zi(Ri,Es){if(Es.parser==="typescript"&&/@|abstract/.test(Es.originalText)&&vi(Ri,Es),Es.parser!=="typescript"&&Es.parser!=="flow"&&Es.parser!=="acorn"&&Es.parser!=="espree"&&Es.parser!=="meriyah"){let Ji=new Set;Ri=Zn(Ri,Ii=>{Ii.leadingComments&&Ii.leadingComments.some(ri)&&Ji.add(xn(Ii))}),Ri=Zn(Ri,Ii=>{if(Ii.type==="ParenthesizedExpression"){let{expression:dt}=Ii;if(dt.type==="TypeCastExpression")return dt.range=Ii.range,dt;let Xs=xn(Ii);if(!Ji.has(Xs))return dt.extra=Object.assign(Object.assign({},dt.extra),{},{parenthesized:!0}),dt}})}return Ri=Zn(Ri,Ji=>{switch(Ji.type){case"ChainExpression":return Yn(Ji.expression);case"LogicalExpression":{if(ji(Ji))return as(Ji);break}case"VariableDeclaration":{let Ii=ii(Ji.declarations);Ii&&Ii.init&&da(Ji,Ii);break}case"TSParenthesizedType":return pn(Ji.typeAnnotation)||Ji.typeAnnotation.type==="TSThisType"||(Ji.typeAnnotation.range=[xn(Ji),sn(Ji)]),Ji.typeAnnotation;case"TSTypeParameter":if(typeof Ji.name=="string"){let Ii=xn(Ji);Ji.name={type:"Identifier",name:Ji.name,range:[Ii,Ii+Ji.name.length]}}break;case"ObjectExpression":if(Es.parser==="typescript"){let Ii=Ji.properties.find(dt=>dt.type==="Property"&&dt.value.type==="TSEmptyBodyFunctionExpression");Ii&&Wi(Ii.value,"Unexpected token.")}break;case"SequenceExpression":{let Ii=ii(Ji.expressions);Ji.range=[xn(Ji),Math.min(sn(Ii),sn(Ji))];break}case"TopicReference":Es.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:Ii}=Ji;if(Es.parser==="meriyah"&&Ii&&Ii.type==="Identifier"){let dt=Es.originalText.slice(xn(Ii),sn(Ii));(dt.startsWith('"')||dt.startsWith("'"))&&(Ji.exported=Object.assign(Object.assign({},Ji.exported),{},{type:"Literal",value:Ji.exported.name,raw:dt}))}break}}}),Ri;function da(Ji,Ii){Es.originalText[sn(Ii)]!==";"&&(Ji.range=[xn(Ji),sn(Ii)])}}function Yn(Ri){switch(Ri.type){case"CallExpression":Ri.type="OptionalCallExpression",Ri.callee=Yn(Ri.callee);break;case"MemberExpression":Ri.type="OptionalMemberExpression",Ri.object=Yn(Ri.object);break;case"TSNonNullExpression":Ri.expression=Yn(Ri.expression);break}return Ri}function ji(Ri){return Ri.type==="LogicalExpression"&&Ri.right.type==="LogicalExpression"&&Ri.operator===Ri.right.operator}function as(Ri){return ji(Ri)?as({type:"LogicalExpression",operator:Ri.operator,left:as({type:"LogicalExpression",operator:Ri.operator,left:Ri.left,right:Ri.right.left,range:[xn(Ri.left),sn(Ri.right.left)]}),right:Ri.right.right,range:[xn(Ri),sn(Ri)]}):Ri}Cn.exports=Zi}}),Ga=Ce({"node_modules/@babel/parser/lib/index.js"(Vn){Dt(),Object.defineProperty(Vn,"__esModule",{value:!0});function Cn(n,t){if(n==null)return{};var u={},p=Object.keys(n),D,z;for(z=0;z<p.length;z++)D=p[z],!(t.indexOf(D)>=0)&&(u[D]=n[D]);return u}var xn=class{constructor(n,t,u){this.line=void 0,this.column=void 0,this.index=void 0,this.line=n,this.column=t,this.index=u}},sn=class{constructor(n,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=n,this.end=t}};function pn(n,t){let{line:u,column:p,index:D}=n;return new xn(u,p+t,D+t)}var ri=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),ii=function(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.length-1;return{get(){return n.reduce((u,p)=>u[p],this)},set(u){n.reduce((p,D,z)=>z===t?p[D]=u:p[D],this)}}},Zn=(n,t,u)=>Object.keys(u).map(p=>[p,u[p]]).filter(p=>{let[,D]=p;return!!D}).map(p=>{let[D,z]=p;return[D,typeof z=="function"?{value:z,enumerable:!1}:typeof z.reflect=="string"?Object.assign({},z,ii(z.reflect.split("."))):z]}).reduce((p,D)=>{let[z,pe]=D;return Object.defineProperty(p,z,Object.assign({configurable:!0},pe))},Object.assign(new n,t)),vi=n=>({ImportMetaOutsideModule:n(`import.meta may appear only with 'sourceType: "module"'`,{code:ri.SourceTypeModuleError}),ImportOutsideModule:n(`'import' and 'export' may appear only with 'sourceType: "module"'`,{code:ri.SourceTypeModuleError})}),Wi={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Zi=n=>{let{type:t,prefix:u}=n;return t==="UpdateExpression"?Wi.UpdateExpression[String(u)]:Wi[t]},Yn=n=>({AccessorIsGenerator:n(t=>{let{kind:u}=t;return"A ".concat(u,"ter cannot be a generator.")}),ArgumentsInClass:n("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:n("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:n("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:n("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:n("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:n("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:n("'await' is only allowed within async functions."),BadGetterArity:n("A 'get' accesor must not have any formal parameters."),BadSetterArity:n("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:n("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:n("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:n("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:n("Class constructor may not be an accessor."),ConstructorIsAsync:n("Constructor can't be an async function."),ConstructorIsGenerator:n("Constructor can't be a generator."),DeclarationMissingInitializer:n(t=>{let{kind:u}=t;return"Missing initializer in ".concat(u," declaration.")}),DecoratorBeforeExport:n("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:n("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:n("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:n("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:n("Decorators can't be used with a static block."),DeletePrivateField:n("Deleting a private field is not allowed."),DestructureNamedImport:n("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:n("Duplicate constructor in the same class."),DuplicateDefaultExport:n("Only one default export allowed per module."),DuplicateExport:n(t=>{let{exportName:u}=t;return"`".concat(u,"` has already been exported. Exported identifiers must be unique.")}),DuplicateProto:n("Redefinition of __proto__ property."),DuplicateRegExpFlags:n("Duplicate regular expression flag."),ElementAfterRest:n("Rest element must be last element."),EscapedCharNotAnIdentifier:n("Invalid Unicode escape."),ExportBindingIsString:n(t=>{let{localName:u,exportName:p}=t;return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '".concat(u,"' as '").concat(p,"' } from 'some-module'`?")}),ExportDefaultFromAsIdentifier:n("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:n(t=>{let{type:u}=t;return"'".concat(u==="ForInStatement"?"for-in":"for-of","' loop variable declaration may not have an initializer.")}),ForOfAsync:n("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:n("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:n("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:n(t=>{let{type:u}=t;return"Unsyntactic ".concat(u==="BreakStatement"?"break":"continue",".")}),IllegalLanguageModeDirective:n("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:n("'return' outside of function."),ImportBindingIsString:n(t=>{let{importName:u}=t;return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'.concat(u,'" as foo }`?')}),ImportCallArgumentTrailingComma:n("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:n(t=>{let{maxArgumentCount:u}=t;return"`import()` requires exactly ".concat(u===1?"one argument":"one or two arguments",".")}),ImportCallNotNewExpression:n("Cannot use new with import(...)."),ImportCallSpreadArgument:n("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:n("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:n("Invalid BigIntLiteral."),InvalidCodePoint:n("Code point out of bounds."),InvalidCoverInitializedName:n("Invalid shorthand property initializer."),InvalidDecimal:n("Invalid decimal."),InvalidDigit:n(t=>{let{radix:u}=t;return"Expected number in radix ".concat(u,".")}),InvalidEscapeSequence:n("Bad character escape sequence."),InvalidEscapeSequenceTemplate:n("Invalid escape sequence in template."),InvalidEscapedReservedWord:n(t=>{let{reservedWord:u}=t;return"Escape sequence in keyword ".concat(u,".")}),InvalidIdentifier:n(t=>{let{identifierName:u}=t;return"Invalid identifier ".concat(u,".")}),InvalidLhs:n(t=>{let{ancestor:u}=t;return"Invalid left-hand side in ".concat(Zi(u),".")}),InvalidLhsBinding:n(t=>{let{ancestor:u}=t;return"Binding invalid left-hand side in ".concat(Zi(u),".")}),InvalidNumber:n("Invalid number."),InvalidOrMissingExponent:n("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:n(t=>{let{unexpected:u}=t;return"Unexpected character '".concat(u,"'.")}),InvalidParenthesizedAssignment:n("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:n(t=>{let{identifierName:u}=t;return"Private name #".concat(u," is not defined.")}),InvalidPropertyBindingPattern:n("Binding member expression."),InvalidRecordProperty:n("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:n("Invalid rest operator's argument."),LabelRedeclaration:n(t=>{let{labelName:u}=t;return"Label '".concat(u,"' is already declared.")}),LetInLexicalBinding:n("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:n("No line break is allowed before '=>'."),MalformedRegExpFlags:n("Invalid regular expression flag."),MissingClassName:n("A class name is required."),MissingEqInAssignment:n("Only '=' operator can be used for specifying default value."),MissingSemicolon:n("Missing semicolon."),MissingPlugin:n(t=>{let{missingPlugin:u}=t;return"This experimental syntax requires enabling the parser plugin: ".concat(u.map(p=>JSON.stringify(p)).join(", "),".")}),MissingOneOfPlugins:n(t=>{let{missingPlugin:u}=t;return"This experimental syntax requires enabling one of the following parser plugin(s): ".concat(u.map(p=>JSON.stringify(p)).join(", "),".")}),MissingUnicodeEscape:n("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:n("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:n("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:n("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:n(t=>{let{key:u}=t;return'Duplicate key "'.concat(u,'" is not allowed in module attributes.')}),ModuleExportNameHasLoneSurrogate:n(t=>{let{surrogateCharCode:u}=t;return"An export name cannot include a lone surrogate, found '\\u".concat(u.toString(16),"'.")}),ModuleExportUndefined:n(t=>{let{localName:u}=t;return"Export '".concat(u,"' is not defined.")}),MultipleDefaultsInSwitch:n("Multiple default clauses."),NewlineAfterThrow:n("Illegal newline after throw."),NoCatchOrFinally:n("Missing catch or finally clause."),NumberIdentifier:n("Identifier directly after number."),NumericSeparatorInEscapeSequence:n("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:n("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:n("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:n("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:n("'override' modifier cannot appear on a constructor declaration."),ParamDupe:n("Argument name clash."),PatternHasAccessor:n("Object pattern can't contain getter or setter."),PatternHasMethod:n("Object pattern can't contain methods."),PrivateInExpectedIn:n(t=>{let{identifierName:u}=t;return"Private names are only allowed in property accesses (`obj.#".concat(u,"`) or in `in` expressions (`#").concat(u," in obj`).")}),PrivateNameRedeclaration:n(t=>{let{identifierName:u}=t;return"Duplicate private name #".concat(u,".")}),RecordExpressionBarIncorrectEndSyntaxType:n("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:n("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:n("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:n("'__proto__' is not allowed in Record expressions."),RestTrailingComma:n("Unexpected trailing comma after rest element."),SloppyFunction:n("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:n("Classes may not have static property named prototype."),SuperNotAllowed:n("`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:n("Private fields can't be accessed on super."),TrailingDecorator:n("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:n("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:n("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:n("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:n("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:n('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:n("Unexpected digit after hash token."),UnexpectedImportExport:n("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:n(t=>{let{keyword:u}=t;return"Unexpected keyword '".concat(u,"'.")}),UnexpectedLeadingDecorator:n("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:n("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:n("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:n("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:n("Unexpected private name."),UnexpectedReservedWord:n(t=>{let{reservedWord:u}=t;return"Unexpected reserved word '".concat(u,"'.")}),UnexpectedSuper:n("'super' is only allowed in object methods and classes."),UnexpectedToken:n(t=>{let{expected:u,unexpected:p}=t;return"Unexpected token".concat(p?" '".concat(p,"'."):"").concat(u?', expected "'.concat(u,'"'):"")}),UnexpectedTokenUnaryExponentiation:n("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:n("Binding should be performed on object property."),UnsupportedDecoratorExport:n("A decorated export must export a class declaration."),UnsupportedDefaultExport:n("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:n("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:n(t=>{let{target:u,onlyValidPropertyName:p}=t;return"The only valid meta property for ".concat(u," is ").concat(u,".").concat(p,".")}),UnsupportedParameterDecorator:n("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:n("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:n("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:n("Unterminated comment."),UnterminatedRegExp:n("Unterminated regular expression."),UnterminatedString:n("Unterminated string constant."),UnterminatedTemplate:n("Unterminated template."),VarRedeclaration:n(t=>{let{identifierName:u}=t;return"Identifier '".concat(u,"' has already been declared.")}),YieldBindingIdentifier:n("Can not use 'yield' as identifier inside a generator."),YieldInParameter:n("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:n("Numeric separator can not be used after leading 0.")}),ji=n=>({StrictDelete:n("Deleting local variable in strict mode."),StrictEvalArguments:n(t=>{let{referenceName:u}=t;return"Assigning to '".concat(u,"' in strict mode.")}),StrictEvalArgumentsBinding:n(t=>{let{bindingName:u}=t;return"Binding '".concat(u,"' in strict mode.")}),StrictFunction:n("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:n("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:n("Legacy octal literals are not allowed in strict mode."),StrictWith:n("'with' in strict mode.")}),as=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),Ri=n=>({PipeBodyIsTighter:n("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:n('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:n("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:n(t=>{let{token:u}=t;return"Invalid topic token ".concat(u,". In order to use ").concat(u,' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "').concat(u,'" }.')}),PipeTopicUnused:n("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:n(t=>{let{type:u}=t;return"Hack-style pipe body cannot be an unparenthesized ".concat(Zi({type:u}),"; please wrap it in parentheses.")}),PipelineBodyNoArrow:n('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:n("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:n("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:n("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:n("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:n('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')}),Es=["toMessage"];function da(n){let{toMessage:t}=n,u=Cn(n,Es);return function p(D){let{loc:z,details:pe}=D;return Zn(SyntaxError,Object.assign({},u,{loc:z}),{clone(){let Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},At=Ze.loc||{};return p({loc:new xn("line"in At?At.line:this.loc.line,"column"in At?At.column:this.loc.column,"index"in At?At.index:this.loc.index),details:Object.assign({},this.details,Ze.details)})},details:{value:pe,enumerable:!1},message:{get(){return"".concat(t(this.details)," (").concat(this.loc.line,":").concat(this.loc.column,")")},set(Ze){Object.defineProperty(this,"message",{value:Ze})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in pe&&{reflect:"details.missingPlugin",enumerable:!0}})}}function Ji(n,t){return Object.assign({toMessage:typeof n=="string"?()=>n:n},t)}function Ii(n,t){if(Array.isArray(n))return D=>Ii(D,n[0]);let u=n(Ji),p={};for(let D of Object.keys(u))p[D]=da(Object.assign({code:ri.SyntaxError,reasonCode:D},t?{syntaxPlugin:t}:{},u[D]));return p}var dt=Object.assign({},Ii(vi),Ii(Yn),Ii(ji),Ii(Re||(Re=on(["pipelineOperator"])))(Ri)),{defineProperty:Xs}=Object,Ia=(n,t)=>Xs(n,t,{enumerable:!1,value:n[t]});function Is(n){return Ia(n.loc.start,"index"),Ia(n.loc.end,"index"),n}var Rs=n=>class extends n{parse(){let t=Is(super.parse());return this.options.tokens&&(t.tokens=t.tokens.map(Is)),t}parseRegExpLiteral(t){let{pattern:u,flags:p}=t,D=null;try{D=new RegExp(u,p)}catch{}let z=this.estreeParseLiteral(D);return z.regex={pattern:u,flags:p},z}parseBigIntLiteral(t){let u;try{u=BigInt(t)}catch{u=null}let p=this.estreeParseLiteral(u);return p.bigint=String(p.value||t),p}parseDecimalLiteral(t){let u=this.estreeParseLiteral(null);return u.decimal=String(u.value||t),u}estreeParseLiteral(t){return this.parseLiteral(t,"Literal")}parseStringLiteral(t){return this.estreeParseLiteral(t)}parseNumericLiteral(t){return this.estreeParseLiteral(t)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(t){return this.estreeParseLiteral(t)}directiveToStmt(t){let u=t.value,p=this.startNodeAt(t.start,t.loc.start),D=this.startNodeAt(u.start,u.loc.start);return D.value=u.extra.expressionValue,D.raw=u.extra.raw,p.expression=this.finishNodeAt(D,"Literal",u.loc.end),p.directive=u.extra.raw.slice(1,-1),this.finishNodeAt(p,"ExpressionStatement",t.loc.end)}initFunction(t,u){super.initFunction(t,u),t.expression=!1}checkDeclaration(t){t!=null&&this.isObjectProperty(t)?this.checkDeclaration(t.value):super.checkDeclaration(t)}getObjectOrClassMethodParams(t){return t.value.params}isValidDirective(t){var u;return t.type==="ExpressionStatement"&&t.expression.type==="Literal"&&typeof t.expression.value=="string"&&!((u=t.expression.extra)!=null&&u.parenthesized)}parseBlockBody(t){for(var u=arguments.length,p=new Array(u>1?u-1:0),D=1;D<u;D++)p[D-1]=arguments[D];super.parseBlockBody(t,...p);let z=t.directives.map(pe=>this.directiveToStmt(pe));t.body=z.concat(t.body),delete t.directives}pushClassMethod(t,u,p,D,z,pe){this.parseMethod(u,p,D,z,pe,"ClassMethod",!0),u.typeParameters&&(u.value.typeParameters=u.typeParameters,delete u.typeParameters),t.body.push(u)}parsePrivateName(){let t=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(t):t}convertPrivateNameToPrivateIdentifier(t){let u=super.getPrivateNameSV(t);return t=t,delete t.id,t.name=u,t.type="PrivateIdentifier",t}isPrivateName(t){return this.getPluginOption("estree","classFeatures")?t.type==="PrivateIdentifier":super.isPrivateName(t)}getPrivateNameSV(t){return this.getPluginOption("estree","classFeatures")?t.name:super.getPrivateNameSV(t)}parseLiteral(t,u){let p=super.parseLiteral(t,u);return p.raw=p.extra.raw,delete p.extra,p}parseFunctionBody(t,u){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;super.parseFunctionBody(t,u,p),t.expression=t.body.type!=="BlockStatement"}parseMethod(t,u,p,D,z,pe){let Ze=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,At=this.startNode();return At.kind=t.kind,At=super.parseMethod(At,u,p,D,z,pe,Ze),At.type="FunctionExpression",delete At.kind,t.value=At,pe==="ClassPrivateMethod"&&(t.computed=!1),pe="MethodDefinition",this.finishNode(t,pe)}parseClassProperty(){let t=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(t.type="PropertyDefinition"),t}parseClassPrivateProperty(){let t=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(t.type="PropertyDefinition",t.computed=!1),t}parseObjectMethod(t,u,p,D,z){let pe=super.parseObjectMethod(t,u,p,D,z);return pe&&(pe.type="Property",pe.kind==="method"&&(pe.kind="init"),pe.shorthand=!1),pe}parseObjectProperty(t,u,p,D,z){let pe=super.parseObjectProperty(t,u,p,D,z);return pe&&(pe.kind="init",pe.type="Property"),pe}isValidLVal(t){for(var u=arguments.length,p=new Array(u>1?u-1:0),D=1;D<u;D++)p[D-1]=arguments[D];return t==="Property"?"value":super.isValidLVal(t,...p)}isAssignable(t,u){return t!=null&&this.isObjectProperty(t)?this.isAssignable(t.value,u):super.isAssignable(t,u)}toAssignable(t){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t!=null&&this.isObjectProperty(t)){let{key:p,value:D}=t;this.isPrivateName(p)&&this.classScope.usePrivateName(this.getPrivateNameSV(p),p.loc.start),this.toAssignable(D,u)}else super.toAssignable(t,u)}toAssignableObjectExpressionProp(t){t.kind==="get"||t.kind==="set"?this.raise(dt.PatternHasAccessor,{at:t.key}):t.method?this.raise(dt.PatternHasMethod,{at:t.key}):super.toAssignableObjectExpressionProp(...arguments)}finishCallExpression(t,u){if(super.finishCallExpression(t,u),t.callee.type==="Import"){if(t.type="ImportExpression",t.source=t.arguments[0],this.hasPlugin("importAssertions")){var p;t.attributes=(p=t.arguments[1])!=null?p:null}delete t.arguments,delete t.callee}return t}toReferencedArguments(t){t.type!=="ImportExpression"&&super.toReferencedArguments(t)}parseExport(t){switch(super.parseExport(t),t.type){case"ExportAllDeclaration":t.exported=null;break;case"ExportNamedDeclaration":t.specifiers.length===1&&t.specifiers[0].type==="ExportNamespaceSpecifier"&&(t.type="ExportAllDeclaration",t.exported=t.specifiers[0].exported,delete t.specifiers);break}return t}parseSubscript(t,u,p,D,z){let pe=super.parseSubscript(t,u,p,D,z);if(z.optionalChainMember){if((pe.type==="OptionalMemberExpression"||pe.type==="OptionalCallExpression")&&(pe.type=pe.type.substring(8)),z.stop){let Ze=this.startNodeAtNode(pe);return Ze.expression=pe,this.finishNode(Ze,"ChainExpression")}}else(pe.type==="MemberExpression"||pe.type==="CallExpression")&&(pe.optional=!1);return pe}hasPropertyAsPrivateName(t){return t.type==="ChainExpression"&&(t=t.expression),super.hasPropertyAsPrivateName(t)}isOptionalChain(t){return t.type==="ChainExpression"}isObjectProperty(t){return t.type==="Property"&&t.kind==="init"&&!t.method}isObjectMethod(t){return t.method||t.kind==="get"||t.kind==="set"}finishNodeAt(t,u,p){return Is(super.finishNodeAt(t,u,p))}resetEndLocation(t){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(t,u),Is(t)}},ta=class{constructor(n,t){this.token=void 0,this.preserveSpace=void 0,this.token=n,this.preserveSpace=!!t}},ms={brace:new ta("{"),j_oTag:new ta("<tag"),j_cTag:new ta("</tag"),j_expr:new ta("<tag>...</tag>",!0)};ms.template=new ta("`",!0);var Ti=!0,ie=!0,rt=!0,vt=!0,wt=!0,Kt=!0,ut=class{constructor(n){let t=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=n,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop!=null?t.binop:null,this.updateContext=null}},xt=new Map;function Lt(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.keyword=n;let u=Ir(n,t);return xt.set(n,u),u}function Jt(n,t){return Ir(n,{beforeExpr:Ti,binop:t})}var Bn=-1,at=[],_t=[],ir=[],$r=[],Nr=[],qr=[];function Ir(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var u,p,D,z;return++Bn,_t.push(n),ir.push((u=t.binop)!=null?u:-1),$r.push((p=t.beforeExpr)!=null?p:!1),Nr.push((D=t.startsExpr)!=null?D:!1),qr.push((z=t.prefix)!=null?z:!1),at.push(new ut(n,t)),Bn}function _n(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var u,p,D,z;return++Bn,xt.set(n,Bn),_t.push(n),ir.push((u=t.binop)!=null?u:-1),$r.push((p=t.beforeExpr)!=null?p:!1),Nr.push((D=t.startsExpr)!=null?D:!1),qr.push((z=t.prefix)!=null?z:!1),at.push(new ut("name",t)),Bn}var In={bracketL:Ir("[",{beforeExpr:Ti,startsExpr:ie}),bracketHashL:Ir("#[",{beforeExpr:Ti,startsExpr:ie}),bracketBarL:Ir("[|",{beforeExpr:Ti,startsExpr:ie}),bracketR:Ir("]"),bracketBarR:Ir("|]"),braceL:Ir("{",{beforeExpr:Ti,startsExpr:ie}),braceBarL:Ir("{|",{beforeExpr:Ti,startsExpr:ie}),braceHashL:Ir("#{",{beforeExpr:Ti,startsExpr:ie}),braceR:Ir("}"),braceBarR:Ir("|}"),parenL:Ir("(",{beforeExpr:Ti,startsExpr:ie}),parenR:Ir(")"),comma:Ir(",",{beforeExpr:Ti}),semi:Ir(";",{beforeExpr:Ti}),colon:Ir(":",{beforeExpr:Ti}),doubleColon:Ir("::",{beforeExpr:Ti}),dot:Ir("."),question:Ir("?",{beforeExpr:Ti}),questionDot:Ir("?."),arrow:Ir("=>",{beforeExpr:Ti}),template:Ir("template"),ellipsis:Ir("...",{beforeExpr:Ti}),backQuote:Ir("`",{startsExpr:ie}),dollarBraceL:Ir("${",{beforeExpr:Ti,startsExpr:ie}),templateTail:Ir("...`",{startsExpr:ie}),templateNonTail:Ir("...${",{beforeExpr:Ti,startsExpr:ie}),at:Ir("@"),hash:Ir("#",{startsExpr:ie}),interpreterDirective:Ir("#!..."),eq:Ir("=",{beforeExpr:Ti,isAssign:vt}),assign:Ir("_=",{beforeExpr:Ti,isAssign:vt}),slashAssign:Ir("_=",{beforeExpr:Ti,isAssign:vt}),xorAssign:Ir("_=",{beforeExpr:Ti,isAssign:vt}),moduloAssign:Ir("_=",{beforeExpr:Ti,isAssign:vt}),incDec:Ir("++/--",{prefix:wt,postfix:Kt,startsExpr:ie}),bang:Ir("!",{beforeExpr:Ti,prefix:wt,startsExpr:ie}),tilde:Ir("~",{beforeExpr:Ti,prefix:wt,startsExpr:ie}),doubleCaret:Ir("^^",{startsExpr:ie}),doubleAt:Ir("@@",{startsExpr:ie}),pipeline:Jt("|>",0),nullishCoalescing:Jt("??",1),logicalOR:Jt("||",1),logicalAND:Jt("&&",2),bitwiseOR:Jt("|",3),bitwiseXOR:Jt("^",4),bitwiseAND:Jt("&",5),equality:Jt("==/!=/===/!==",6),lt:Jt("</>/<=/>=",7),gt:Jt("</>/<=/>=",7),relational:Jt("</>/<=/>=",7),bitShift:Jt("<</>>/>>>",8),bitShiftL:Jt("<</>>/>>>",8),bitShiftR:Jt("<</>>/>>>",8),plusMin:Ir("+/-",{beforeExpr:Ti,binop:9,prefix:wt,startsExpr:ie}),modulo:Ir("%",{binop:10,startsExpr:ie}),star:Ir("*",{binop:10}),slash:Jt("/",10),exponent:Ir("**",{beforeExpr:Ti,binop:11,rightAssociative:!0}),_in:Lt("in",{beforeExpr:Ti,binop:7}),_instanceof:Lt("instanceof",{beforeExpr:Ti,binop:7}),_break:Lt("break"),_case:Lt("case",{beforeExpr:Ti}),_catch:Lt("catch"),_continue:Lt("continue"),_debugger:Lt("debugger"),_default:Lt("default",{beforeExpr:Ti}),_else:Lt("else",{beforeExpr:Ti}),_finally:Lt("finally"),_function:Lt("function",{startsExpr:ie}),_if:Lt("if"),_return:Lt("return",{beforeExpr:Ti}),_switch:Lt("switch"),_throw:Lt("throw",{beforeExpr:Ti,prefix:wt,startsExpr:ie}),_try:Lt("try"),_var:Lt("var"),_const:Lt("const"),_with:Lt("with"),_new:Lt("new",{beforeExpr:Ti,startsExpr:ie}),_this:Lt("this",{startsExpr:ie}),_super:Lt("super",{startsExpr:ie}),_class:Lt("class",{startsExpr:ie}),_extends:Lt("extends",{beforeExpr:Ti}),_export:Lt("export"),_import:Lt("import",{startsExpr:ie}),_null:Lt("null",{startsExpr:ie}),_true:Lt("true",{startsExpr:ie}),_false:Lt("false",{startsExpr:ie}),_typeof:Lt("typeof",{beforeExpr:Ti,prefix:wt,startsExpr:ie}),_void:Lt("void",{beforeExpr:Ti,prefix:wt,startsExpr:ie}),_delete:Lt("delete",{beforeExpr:Ti,prefix:wt,startsExpr:ie}),_do:Lt("do",{isLoop:rt,beforeExpr:Ti}),_for:Lt("for",{isLoop:rt}),_while:Lt("while",{isLoop:rt}),_as:_n("as",{startsExpr:ie}),_assert:_n("assert",{startsExpr:ie}),_async:_n("async",{startsExpr:ie}),_await:_n("await",{startsExpr:ie}),_from:_n("from",{startsExpr:ie}),_get:_n("get",{startsExpr:ie}),_let:_n("let",{startsExpr:ie}),_meta:_n("meta",{startsExpr:ie}),_of:_n("of",{startsExpr:ie}),_sent:_n("sent",{startsExpr:ie}),_set:_n("set",{startsExpr:ie}),_static:_n("static",{startsExpr:ie}),_yield:_n("yield",{startsExpr:ie}),_asserts:_n("asserts",{startsExpr:ie}),_checks:_n("checks",{startsExpr:ie}),_exports:_n("exports",{startsExpr:ie}),_global:_n("global",{startsExpr:ie}),_implements:_n("implements",{startsExpr:ie}),_intrinsic:_n("intrinsic",{startsExpr:ie}),_infer:_n("infer",{startsExpr:ie}),_is:_n("is",{startsExpr:ie}),_mixins:_n("mixins",{startsExpr:ie}),_proto:_n("proto",{startsExpr:ie}),_require:_n("require",{startsExpr:ie}),_keyof:_n("keyof",{startsExpr:ie}),_readonly:_n("readonly",{startsExpr:ie}),_unique:_n("unique",{startsExpr:ie}),_abstract:_n("abstract",{startsExpr:ie}),_declare:_n("declare",{startsExpr:ie}),_enum:_n("enum",{startsExpr:ie}),_module:_n("module",{startsExpr:ie}),_namespace:_n("namespace",{startsExpr:ie}),_interface:_n("interface",{startsExpr:ie}),_type:_n("type",{startsExpr:ie}),_opaque:_n("opaque",{startsExpr:ie}),name:Ir("name",{startsExpr:ie}),string:Ir("string",{startsExpr:ie}),num:Ir("num",{startsExpr:ie}),bigint:Ir("bigint",{startsExpr:ie}),decimal:Ir("decimal",{startsExpr:ie}),regexp:Ir("regexp",{startsExpr:ie}),privateName:Ir("#name",{startsExpr:ie}),eof:Ir("eof"),jsxName:Ir("jsxName"),jsxText:Ir("jsxText",{beforeExpr:!0}),jsxTagStart:Ir("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Ir("jsxTagEnd"),placeholder:Ir("%%",{startsExpr:!0})};function Ln(n){return n>=93&&n<=128}function Ui(n){return n<=92}function ps(n){return n>=58&&n<=128}function cn(n){return n>=58&&n<=132}function xi(n){return $r[n]}function Si(n){return Nr[n]}function os(n){return n>=29&&n<=33}function Ds(n){return n>=125&&n<=127}function Ke(n){return n>=90&&n<=92}function gt(n){return n>=58&&n<=92}function Hr(n){return n>=39&&n<=59}function pr(n){return n===34}function En(n){return qr[n]}function Vi(n){return n>=117&&n<=119}function vs(n){return n>=120&&n<=126}function zs(n){return _t[n]}function Us(n){return ir[n]}function ha(n){return ir[n]!==-1}function gs(n){return n===57}function ws(n){return n>=24&&n<=25}function Ts(n){return at[n]}at[8].updateContext=n=>{n.pop()},at[5].updateContext=at[7].updateContext=at[23].updateContext=n=>{n.push(ms.brace)},at[22].updateContext=n=>{n[n.length-1]===ms.template?n.pop():n.push(ms.template)},at[138].updateContext=n=>{n.push(ms.j_expr,ms.j_oTag)};var Da="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u09FC\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\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\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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",An="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Rn=new RegExp("["+Da+"]"),pi=new RegExp("["+Da+An+"]");Da=An=null;var hi=[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,85,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,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,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,46,2,18,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,482,44,11,6,17,0,322,29,19,43,1269,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,4152,8,221,3,5761,15,7472,3104,541,1507,4938],Ni=[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,154,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,161,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,19306,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,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function ks(n,t){let u=65536;for(let p=0,D=t.length;p<D;p+=2){if(u+=t[p],u>n)return!1;if(u+=t[p+1],u>=n)return!0}return!1}function Ss(n){return n<65?n===36:n<=90?!0:n<97?n===95:n<=122?!0:n<=65535?n>=170&&Rn.test(String.fromCharCode(n)):ks(n,hi)}function Ks(n){return n<48?n===36:n<58?!0:n<65?!1:n<=90?!0:n<97?n===95:n<=122?!0:n<=65535?n>=170&&pi.test(String.fromCharCode(n)):ks(n,hi)||ks(n,Ni)}var ua={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"]},Ja=new Set(ua.keyword),Ka=new Set(ua.strict),Ra=new Set(ua.strictBind);function eu(n,t){return t&&n==="await"||n==="enum"}function tu(n,t){return eu(n,t)||Ka.has(n)}function ba(n){return Ra.has(n)}function ma(n,t){return tu(n,t)||ba(n)}function ga(n){return Ja.has(n)}function Ca(n,t,u){return n===64&&t===64&&Ss(u)}var hs=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 za(n){return hs.has(n)}var Co=0,Eu=1,no=2,yo=4,Ru=8,Mo=16,ru=32,Eo=64,nu=128,iu=256,jo=Eu|no|iu,Oa=1,Ua=2,Ao=4,Ya=8,Do=16,al=64,Au=128,vl=256,zu=512,su=1024,io=2048,wo=Oa|Ua|Ya|Au,so=Oa|0|Ya|0,ao=Oa|0|Ao|0,wu=Oa|0|Do|0,Tu=0|Ua|0|Au,ol=0|Ua|0|0,oo=Oa|Ua|Ya|vl,au=0|su,Ea=0|al,ou=Oa|0|0|al,uo=oo|zu,ul=0|su,Uu=io,Ro=4,xl=2,To=1,la=xl|To,Hu=xl|Ro,bl=To|Ro,jl=xl,tc=To,Su=0,qu=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(n){if(typeof n=="string")return this.plugins.has(n);{let[t,u]=n;if(!this.hasPlugin(t))return!1;let p=this.plugins.get(t);for(let D of Object.keys(u))if((p==null?void 0:p[D])!==u[D])return!1;return!0}}getPluginOption(n,t){var u;return(u=this.plugins.get(n))==null?void 0:u[t]}};function ya(n,t){n.trailingComments===void 0?n.trailingComments=t:n.trailingComments.unshift(...t)}function Ys(n,t){n.leadingComments===void 0?n.leadingComments=t:n.leadingComments.unshift(...t)}function Js(n,t){n.innerComments===void 0?n.innerComments=t:n.innerComments.unshift(...t)}function Hs(n,t,u){let p=null,D=t.length;for(;p===null&&D>0;)p=t[--D];p===null||p.start>u.start?Js(n,u.comments):ya(p,u.comments)}var zo=class extends qu{addComment(n){this.filename&&(n.loc.filename=this.filename),this.state.comments.push(n)}processComment(n){let{commentStack:t}=this.state,u=t.length;if(u===0)return;let p=u-1,D=t[p];D.start===n.end&&(D.leadingNode=n,p--);let{start:z}=n;for(;p>=0;p--){let pe=t[p],Ze=pe.end;if(Ze>z)pe.containingNode=n,this.finalizeComment(pe),t.splice(p,1);else{Ze===z&&(pe.trailingNode=n);break}}}finalizeComment(n){let{comments:t}=n;if(n.leadingNode!==null||n.trailingNode!==null)n.leadingNode!==null&&ya(n.leadingNode,t),n.trailingNode!==null&&Ys(n.trailingNode,t);else{let{containingNode:u,start:p}=n;if(this.input.charCodeAt(p-1)===44)switch(u.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Hs(u,u.properties,n);break;case"CallExpression":case"OptionalCallExpression":Hs(u,u.arguments,n);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Hs(u,u.params,n);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Hs(u,u.elements,n);break;case"ExportNamedDeclaration":case"ImportDeclaration":Hs(u,u.specifiers,n);break;default:Js(u,t)}else Js(u,t)}}finalizeRemainingComments(){let{commentStack:n}=this.state;for(let t=n.length-1;t>=0;t--)this.finalizeComment(n[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(n){let{commentStack:t}=this.state,{length:u}=t;if(u===0)return;let p=t[u-1];p.leadingNode===n&&(p.leadingNode=null)}takeSurroundingComments(n,t,u){let{commentStack:p}=this.state,D=p.length;if(D===0)return;let z=D-1;for(;z>=0;z--){let pe=p[z],Ze=pe.end;if(pe.start===u)pe.leadingNode=n;else if(Ze===t)pe.trailingNode=n;else if(Ze<t)break}}},$u=/\r\n?|[\n\u2028\u2029]/,lo=new RegExp($u.source,"g");function Uo(n){switch(n){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var ll=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Cl=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,cl=new RegExp("(?=("+Cl.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Rl(n){switch(n){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 Wu=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.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=135,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[ms.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init(n){let{strictMode:t,sourceType:u,startLine:p,startColumn:D}=n;this.strict=t===!1?!1:t===!0?!0:u==="module",this.curLine=p,this.lineStart=-D,this.startLoc=this.endLoc=new xn(p,D,0)}curPosition(){return new xn(this.curLine,this.pos-this.lineStart,this.pos)}clone(n){let t=new Wu,u=Object.keys(this);for(let p=0,D=u.length;p<D;p++){let z=u[p],pe=this[z];!n&&Array.isArray(pe)&&(pe=pe.slice()),t[z]=pe}return t}},zl=["at"],pl=["at"],Vu=function(n){return n>=48&&n<=57},Ul=new Set([103,109,115,105,121,117,100,118]),El={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Fu={bin:n=>n===48||n===49,oct:n=>n>=48&&n<=55,dec:n=>n>=48&&n<=57,hex:n=>n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102},So=class{constructor(n){this.type=n.type,this.value=n.value,this.start=n.start,this.end=n.end,this.loc=new sn(n.startLoc,n.endLoc)}},vo=class extends zo{constructor(n,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new Wu,this.state.init(n),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(n){this.tokens.length=this.state.tokensLength,this.tokens.push(n),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new So(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(n){return this.match(n)?(this.next(),!0):!1}match(n){return this.state.type===n}createLookaheadState(n){return{pos:n.pos,value:null,type:n.type,start:n.start,end:n.end,context:[this.curContext()],inType:n.inType,startLoc:n.startLoc,lastTokEndLoc:n.lastTokEndLoc,curLine:n.curLine,lineStart:n.lineStart,curPosition:n.curPosition}}lookahead(){let n=this.state;this.state=this.createLookaheadState(n),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=n,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(n){return ll.lastIndex=n,ll.test(this.input)?ll.lastIndex:n}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(n){let t=this.input.charCodeAt(n);if((t&64512)===55296&&++n<this.input.length){let u=this.input.charCodeAt(n);(u&64512)===56320&&(t=65536+((t&1023)<<10)+(u&1023))}return t}setStrict(n){this.state.strict=n,n&&(this.state.strictErrors.forEach(t=>{let[u,p]=t;return this.raise(u,{at:p})}),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(135);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let n;this.isLookahead||(n=this.state.curPosition());let t=this.state.pos,u=this.input.indexOf("*/",t+2);if(u===-1)throw this.raise(dt.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=u+2,lo.lastIndex=t+2;lo.test(this.input)&&lo.lastIndex<=u;)++this.state.curLine,this.state.lineStart=lo.lastIndex;if(this.isLookahead)return;let p={type:"CommentBlock",value:this.input.slice(t+2,u),start:t,end:u+2,loc:new sn(n,this.state.curPosition())};return this.options.tokens&&this.pushToken(p),p}skipLineComment(n){let t=this.state.pos,u;this.isLookahead||(u=this.state.curPosition());let p=this.input.charCodeAt(this.state.pos+=n);if(this.state.pos<this.length)for(;!Uo(p)&&++this.state.pos<this.length;)p=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let D=this.state.pos,z=this.input.slice(t+n,D),pe={type:"CommentLine",value:z,start:t,end:D,loc:new sn(u,this.state.curPosition())};return this.options.tokens&&this.pushToken(pe),pe}skipSpace(){let n=this.state.pos,t=[];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 p=this.skipBlockComment();p!==void 0&&(this.addComment(p),this.options.attachComment&&t.push(p));break}case 47:{let p=this.skipLineComment(2);p!==void 0&&(this.addComment(p),this.options.attachComment&&t.push(p));break}default:break e}break;default:if(Rl(u))++this.state.pos;else if(u===45&&!this.inModule){let p=this.state.pos;if(this.input.charCodeAt(p+1)===45&&this.input.charCodeAt(p+2)===62&&(n===0||this.state.lineStart>n)){let D=this.skipLineComment(3);D!==void 0&&(this.addComment(D),this.options.attachComment&&t.push(D))}else break e}else if(u===60&&!this.inModule){let p=this.state.pos;if(this.input.charCodeAt(p+1)===33&&this.input.charCodeAt(p+2)===45&&this.input.charCodeAt(p+3)===45){let D=this.skipLineComment(4);D!==void 0&&(this.addComment(D),this.options.attachComment&&t.push(D))}else break e}else break e}}if(t.length>0){let u=this.state.pos,p={start:n,end:u,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(p)}}finishToken(n,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let u=this.state.type;this.state.type=n,this.state.value=t,this.isLookahead||this.updateContext(u)}replaceToken(n){this.state.type=n,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let n=this.state.pos+1,t=this.codePointAtPos(n);if(t>=48&&t<=57)throw this.raise(dt.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(t===123||t===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")!=="hash")throw this.raise(t===123?dt.RecordExpressionHashIncorrectStartSyntaxType:dt.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,t===123?this.finishToken(7):this.finishToken(1)}else Ss(t)?(++this.state.pos,this.finishToken(134,this.readWord1(t))):t===92?(++this.state.pos,this.finishToken(134,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let n=this.input.charCodeAt(this.state.pos+1);if(n>=48&&n<=57){this.readNumber(!0);return}n===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 n=this.input.charCodeAt(this.state.pos+1);if(n!==33)return!1;let t=this.state.pos;for(this.state.pos+=1;!Uo(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);let u=this.input.slice(t+2,this.state.pos);return this.finishToken(28,u),!0}readToken_mult_modulo(n){let t=n===42?55:54,u=1,p=this.input.charCodeAt(this.state.pos+1);n===42&&p===42&&(u++,p=this.input.charCodeAt(this.state.pos+2),t=57),p===61&&!this.state.inType&&(u++,t=n===37?33:30),this.finishOp(t,u)}readToken_pipe_amp(n){let t=this.input.charCodeAt(this.state.pos+1);if(t===n){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(n===124?41:42,2);return}if(n===124){if(t===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&t===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(dt.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&t===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(dt.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(4);return}}if(t===61){this.finishOp(30,2);return}this.finishOp(n===124?43:45,1)}readToken_caret(){let n=this.input.charCodeAt(this.state.pos+1);if(n===61&&!this.state.inType)this.finishOp(32,2);else if(n===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){if(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94)throw this.unexpected()}else 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(n){let t=this.input.charCodeAt(this.state.pos+1);if(t===n){this.finishOp(34,2);return}t===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:n}=this.state,t=this.input.charCodeAt(n+1);if(t===60){if(this.input.charCodeAt(n+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(t===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:n}=this.state,t=this.input.charCodeAt(n+1);if(t===62){let u=this.input.charCodeAt(n+2)===62?3:2;if(this.input.charCodeAt(n+u)===61){this.finishOp(30,u+1);return}this.finishOp(52,u);return}if(t===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(n){let t=this.input.charCodeAt(this.state.pos+1);if(t===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(n===61&&t===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(n===61?29:35,1)}readToken_question(){let n=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);n===63?t===61?this.finishOp(30,3):this.finishOp(40,2):n===46&&!(t>=48&&t<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(n){switch(n){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(dt.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(dt.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 t=this.input.charCodeAt(this.state.pos+1);if(t===120||t===88){this.readRadixNumber(16);return}if(t===111||t===79){this.readRadixNumber(8);return}if(t===98||t===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(n);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(n);return;case 124:case 38:this.readToken_pipe_amp(n);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(n);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(n);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(Ss(n)){this.readWord(n);return}}throw this.raise(dt.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(n)})}finishOp(n,t){let u=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(n,u)}readRegexp(){let n=this.state.startLoc,t=this.state.start+1,u,p,{pos:D}=this.state;for(;;++D){if(D>=this.length)throw this.raise(dt.UnterminatedRegExp,{at:pn(n,1)});let At=this.input.charCodeAt(D);if(Uo(At))throw this.raise(dt.UnterminatedRegExp,{at:pn(n,1)});if(u)u=!1;else{if(At===91)p=!0;else if(At===93&&p)p=!1;else if(At===47&&!p)break;u=At===92}}let z=this.input.slice(t,D);++D;let pe="",Ze=()=>pn(n,D+2-t);for(;D<this.length;){let At=this.codePointAtPos(D),ar=String.fromCharCode(At);if(Ul.has(At))At===118?(this.expectPlugin("regexpUnicodeSets",Ze()),pe.includes("u")&&this.raise(dt.IncompatibleRegExpUVFlags,{at:Ze()})):At===117&&pe.includes("v")&&this.raise(dt.IncompatibleRegExpUVFlags,{at:Ze()}),pe.includes(ar)&&this.raise(dt.DuplicateRegExpFlags,{at:Ze()});else if(Ks(At)||At===92)this.raise(dt.MalformedRegExpFlags,{at:Ze()});else break;++D,pe+=ar}this.state.pos=D,this.finishToken(133,{pattern:z,flags:pe})}readInt(n,t,u){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,D=this.state.pos,z=n===16?El.hex:El.decBinOct,pe=n===16?Fu.hex:n===10?Fu.dec:n===8?Fu.oct:Fu.bin,Ze=!1,At=0;for(let ar=0,m=t==null?1/0:t;ar<m;++ar){let E=this.input.charCodeAt(this.state.pos),g;if(E===95&&p!=="bail"){let A=this.input.charCodeAt(this.state.pos-1),C=this.input.charCodeAt(this.state.pos+1);p?(Number.isNaN(C)||!pe(C)||z.has(A)||z.has(C))&&this.raise(dt.UnexpectedNumericSeparator,{at:this.state.curPosition()}):this.raise(dt.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos;continue}if(E>=97?g=E-97+10:E>=65?g=E-65+10:Vu(E)?g=E-48:g=1/0,g>=n)if(this.options.errorRecovery&&g<=9)g=0,this.raise(dt.InvalidDigit,{at:this.state.curPosition(),radix:n});else if(u)g=0,Ze=!0;else break;++this.state.pos,At=At*n+g}return this.state.pos===D||t!=null&&this.state.pos-D!==t||Ze?null:At}readRadixNumber(n){let t=this.state.curPosition(),u=!1;this.state.pos+=2;let p=this.readInt(n);p==null&&this.raise(dt.InvalidDigit,{at:pn(t,2),radix:n});let D=this.input.charCodeAt(this.state.pos);if(D===110)++this.state.pos,u=!0;else if(D===109)throw this.raise(dt.InvalidDecimal,{at:t});if(Ss(this.codePointAtPos(this.state.pos)))throw this.raise(dt.NumberIdentifier,{at:this.state.curPosition()});if(u){let z=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,z);return}this.finishToken(130,p)}readNumber(n){let t=this.state.pos,u=this.state.curPosition(),p=!1,D=!1,z=!1,pe=!1,Ze=!1;!n&&this.readInt(10)===null&&this.raise(dt.InvalidNumber,{at:this.state.curPosition()});let At=this.state.pos-t>=2&&this.input.charCodeAt(t)===48;if(At){let g=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(dt.StrictOctalLiteral,{at:u}),!this.state.strict){let A=g.indexOf("_");A>0&&this.raise(dt.ZeroDigitNumericSeparator,{at:pn(u,A)})}Ze=At&&!/[89]/.test(g)}let ar=this.input.charCodeAt(this.state.pos);if(ar===46&&!Ze&&(++this.state.pos,this.readInt(10),p=!0,ar=this.input.charCodeAt(this.state.pos)),(ar===69||ar===101)&&!Ze&&(ar=this.input.charCodeAt(++this.state.pos),(ar===43||ar===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(dt.InvalidOrMissingExponent,{at:u}),p=!0,pe=!0,ar=this.input.charCodeAt(this.state.pos)),ar===110&&((p||At)&&this.raise(dt.InvalidBigIntLiteral,{at:u}),++this.state.pos,D=!0),ar===109&&(this.expectPlugin("decimal",this.state.curPosition()),(pe||At)&&this.raise(dt.InvalidDecimal,{at:u}),++this.state.pos,z=!0),Ss(this.codePointAtPos(this.state.pos)))throw this.raise(dt.NumberIdentifier,{at:this.state.curPosition()});let m=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(D){this.finishToken(131,m);return}if(z){this.finishToken(132,m);return}let E=Ze?parseInt(m,8):parseFloat(m);this.finishToken(130,E)}readCodePoint(n){let t=this.input.charCodeAt(this.state.pos),u;if(t===123){if(++this.state.pos,u=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,n),++this.state.pos,u!==null&&u>1114111)if(n)this.raise(dt.InvalidCodePoint,{at:this.state.curPosition()});else return null}else u=this.readHexChar(4,!1,n);return u}readString(n){let t="",u=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(dt.UnterminatedString,{at:this.state.startLoc});let p=this.input.charCodeAt(this.state.pos);if(p===n)break;if(p===92)t+=this.input.slice(u,this.state.pos),t+=this.readEscapedChar(!1),u=this.state.pos;else if(p===8232||p===8233)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(Uo(p))throw this.raise(dt.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}t+=this.input.slice(u,this.state.pos++),this.finishToken(129,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let n="",t=this.state.pos,u=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(dt.UnterminatedTemplate,{at:pn(this.state.startLoc,1)});let p=this.input.charCodeAt(this.state.pos);if(p===96){++this.state.pos,n+=this.input.slice(t,this.state.pos),this.finishToken(24,u?null:n);return}if(p===36&&this.input.charCodeAt(this.state.pos+1)===123){this.state.pos+=2,n+=this.input.slice(t,this.state.pos),this.finishToken(25,u?null:n);return}if(p===92){n+=this.input.slice(t,this.state.pos);let D=this.readEscapedChar(!0);D===null?u=!0:n+=D,t=this.state.pos}else if(Uo(p)){switch(n+=this.input.slice(t,this.state.pos),++this.state.pos,p){case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:n+=`
|
|
271
|
-
`;break;default:n+=String.fromCharCode(p);break}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(n,t){let{at:u}=t,p=u.index;this.state.strict&&!this.state.strictErrors.has(p)?this.raise(n,{at:u}):this.state.strictErrors.set(p,[n,u])}readEscapedChar(n){let t=!n,u=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,u){case 110:return`
|
|
272
|
-
`;case 114:return"\r";case 120:{let p=this.readHexChar(2,!1,t);return p===null?null:String.fromCharCode(p)}case 117:{let p=this.readCodePoint(t);return p===null?null:String.fromCodePoint(p)}case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.state.pos)===10&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(n)return null;this.recordStrictModeErrors(dt.StrictNumericEscape,{at:pn(this.state.curPosition(),-1)});default:if(u>=48&&u<=55){let p=pn(this.state.curPosition(),-1),D=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/)[0],z=parseInt(D,8);z>255&&(D=D.slice(0,-1),z=parseInt(D,8)),this.state.pos+=D.length-1;let pe=this.input.charCodeAt(this.state.pos);if(D!=="0"||pe===56||pe===57){if(n)return null;this.recordStrictModeErrors(dt.StrictNumericEscape,{at:p})}return String.fromCharCode(z)}return String.fromCharCode(u)}}readHexChar(n,t,u){let p=this.state.curPosition(),D=this.readInt(16,n,t,!1);return D===null&&(u?this.raise(dt.InvalidEscapeSequence,{at:p}):this.state.pos=p.index-1),D}readWord1(n){this.state.containsEsc=!1;let t="",u=this.state.pos,p=this.state.pos;for(n!==void 0&&(this.state.pos+=n<=65535?1:2);this.state.pos<this.length;){let D=this.codePointAtPos(this.state.pos);if(Ks(D))this.state.pos+=D<=65535?1:2;else if(D===92){this.state.containsEsc=!0,t+=this.input.slice(p,this.state.pos);let z=this.state.curPosition(),pe=this.state.pos===u?Ss:Ks;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(dt.MissingUnicodeEscape,{at:this.state.curPosition()}),p=this.state.pos-1;continue}++this.state.pos;let Ze=this.readCodePoint(!0);Ze!==null&&(pe(Ze)||this.raise(dt.EscapedCharNotAnIdentifier,{at:z}),t+=String.fromCodePoint(Ze)),p=this.state.pos}else break}return t+this.input.slice(p,this.state.pos)}readWord(n){let t=this.readWord1(n),u=xt.get(t);u!==void 0?this.finishToken(u,zs(u)):this.finishToken(128,t)}checkKeywordEscapes(){let{type:n}=this.state;gt(n)&&this.state.containsEsc&&this.raise(dt.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:zs(n)})}raise(n,t){let{at:u}=t,p=Cn(t,zl),D=u instanceof xn?u:u.loc.start,z=n({loc:D,details:p});if(!this.options.errorRecovery)throw z;return this.isLookahead||this.state.errors.push(z),z}raiseOverwrite(n,t){let{at:u}=t,p=Cn(t,pl),D=u instanceof xn?u:u.loc.start,z=D.index,pe=this.state.errors;for(let Ze=pe.length-1;Ze>=0;Ze--){let At=pe[Ze];if(At.loc.index===z)return pe[Ze]=n({loc:D,details:p});if(At.loc.index<z)break}return this.raise(n,t)}updateContext(n){}unexpected(n,t){throw this.raise(dt.UnexpectedToken,{expected:t?zs(t):null,at:n!=null?n:this.state.startLoc})}expectPlugin(n,t){if(this.hasPlugin(n))return!0;throw this.raise(dt.MissingPlugin,{at:t!=null?t:this.state.startLoc,missingPlugin:[n]})}expectOnePlugin(n){if(!n.some(t=>this.hasPlugin(t)))throw this.raise(dt.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:n})}},Al=class{constructor(n){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=n}},ku=class{constructor(n,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=n,this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&no)>0}get allowSuper(){return(this.currentThisScopeFlags()&Mo)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&ru)>0}get inClass(){return(this.currentThisScopeFlags()&Eo)>0}get inClassAndNotInNonArrowFunction(){let n=this.currentThisScopeFlags();return(n&Eo)>0&&(n&no)===0}get inStaticBlock(){for(let n=this.scopeStack.length-1;;n--){let{flags:t}=this.scopeStack[n];if(t&nu)return!0;if(t&(jo|Eo))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&no)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(n){return new Al(n)}enter(n){this.scopeStack.push(this.createScope(n))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(n){return!!(n.flags&(no|nu)||!this.parser.inModule&&n.flags&Eu)}declareName(n,t,u){let p=this.currentScope();if(t&Ya||t&Do)this.checkRedeclarationInScope(p,n,t,u),t&Do?p.functions.add(n):p.lexical.add(n),t&Ya&&this.maybeExportDefined(p,n);else if(t&Ao)for(let D=this.scopeStack.length-1;D>=0&&(p=this.scopeStack[D],this.checkRedeclarationInScope(p,n,t,u),p.var.add(n),this.maybeExportDefined(p,n),!(p.flags&jo));--D);this.parser.inModule&&p.flags&Eu&&this.undefinedExports.delete(n)}maybeExportDefined(n,t){this.parser.inModule&&n.flags&Eu&&this.undefinedExports.delete(t)}checkRedeclarationInScope(n,t,u,p){this.isRedeclaredInScope(n,t,u)&&this.parser.raise(dt.VarRedeclaration,{at:p,identifierName:t})}isRedeclaredInScope(n,t,u){return u&Oa?u&Ya?n.lexical.has(t)||n.functions.has(t)||n.var.has(t):u&Do?n.lexical.has(t)||!this.treatFunctionsAsVarInScope(n)&&n.var.has(t):n.lexical.has(t)&&!(n.flags&Ru&&n.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(n)&&n.functions.has(t):!1}checkLocalExport(n){let{name:t}=n,u=this.scopeStack[0];!u.lexical.has(t)&&!u.var.has(t)&&!u.functions.has(t)&&this.undefinedExports.set(t,n.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let n=this.scopeStack.length-1;;n--){let{flags:t}=this.scopeStack[n];if(t&jo)return t}}currentThisScopeFlags(){for(let n=this.scopeStack.length-1;;n--){let{flags:t}=this.scopeStack[n];if(t&(jo|Eo)&&!(t&yo))return t}}},co=class extends Al{constructor(){super(...arguments),this.declareFunctions=new Set}},hl=class extends ku{createScope(n){return new co(n)}declareName(n,t,u){let p=this.currentScope();if(t&io){this.checkRedeclarationInScope(p,n,t,u),this.maybeExportDefined(p,n),p.declareFunctions.add(n);return}super.declareName(...arguments)}isRedeclaredInScope(n,t,u){return super.isRedeclaredInScope(...arguments)?!0:u&io?!n.declareFunctions.has(t)&&(n.lexical.has(t)||n.functions.has(t)):!1}checkLocalExport(n){this.scopeStack[0].declareFunctions.has(n.name)||super.checkLocalExport(n)}},Hl=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},wl=class{constructor(n){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=n}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Hl)}exit(){let n=this.stack.pop(),t=this.current();for(let[u,p]of Array.from(n.undefinedPrivateNames))t?t.undefinedPrivateNames.has(u)||t.undefinedPrivateNames.set(u,p):this.parser.raise(dt.InvalidPrivateFieldResolution,{at:p,identifierName:u})}declarePrivateName(n,t,u){let{privateNames:p,loneAccessors:D,undefinedPrivateNames:z}=this.current(),pe=p.has(n);if(t&la){let Ze=pe&&D.get(n);if(Ze){let At=Ze&Ro,ar=t&Ro,m=Ze&la,E=t&la;pe=m===E||At!==ar,pe||D.delete(n)}else pe||D.set(n,t)}pe&&this.parser.raise(dt.PrivateNameRedeclaration,{at:u,identifierName:n}),p.add(n),z.delete(n)}usePrivateName(n,t){let u;for(u of this.stack)if(u.privateNames.has(n))return;u?u.undefinedPrivateNames.set(n,t):this.parser.raise(dt.InvalidPrivateFieldResolution,{at:t,identifierName:n})}},Ha=0,Fs=1,qa=2,Fo=3,$a=class{constructor(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ha;this.type=void 0,this.type=n}canBeArrowParameterDeclaration(){return this.type===qa||this.type===Fs}isCertainlyParameterDeclaration(){return this.type===Fo}},Gu=class extends $a{constructor(n){super(n),this.declarationErrors=new Map}recordDeclarationError(n,t){let{at:u}=t,p=u.index;this.declarationErrors.set(p,[n,u])}clearDeclarationError(n){this.declarationErrors.delete(n)}iterateErrors(n){this.declarationErrors.forEach(n)}},Ho=class{constructor(n){this.parser=void 0,this.stack=[new $a],this.parser=n}enter(n){this.stack.push(n)}exit(){this.stack.pop()}recordParameterInitializerError(n,t){let{at:u}=t,p={at:u.loc.start},{stack:D}=this,z=D.length-1,pe=D[z];for(;!pe.isCertainlyParameterDeclaration();){if(pe.canBeArrowParameterDeclaration())pe.recordDeclarationError(n,p);else return;pe=D[--z]}this.parser.raise(n,p)}recordArrowParemeterBindingError(n,t){let{at:u}=t,{stack:p}=this,D=p[p.length-1],z={at:u.loc.start};if(D.isCertainlyParameterDeclaration())this.parser.raise(n,z);else if(D.canBeArrowParameterDeclaration())D.recordDeclarationError(n,z);else return}recordAsyncArrowParametersError(n){let{at:t}=n,{stack:u}=this,p=u.length-1,D=u[p];for(;D.canBeArrowParameterDeclaration();)D.type===qa&&D.recordDeclarationError(dt.AwaitBindingIdentifier,{at:t}),D=u[--p]}validateAsPattern(){let{stack:n}=this,t=n[n.length-1];!t.canBeArrowParameterDeclaration()||t.iterateErrors(u=>{let[p,D]=u;this.parser.raise(p,{at:D});let z=n.length-2,pe=n[z];for(;pe.canBeArrowParameterDeclaration();)pe.clearDeclarationError(D.index),pe=n[--z]})}};function Tl(){return new $a(Fo)}function ql(){return new Gu(Fs)}function ko(){return new Gu(qa)}function Qa(){return new $a}var uu=0,fl=1,po=2,dl=4,qo=8,rc=class{constructor(){this.stacks=[]}enter(n){this.stacks.push(n)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&po)>0}get hasYield(){return(this.currentFlags()&fl)>0}get hasReturn(){return(this.currentFlags()&dl)>0}get hasIn(){return(this.currentFlags()&qo)>0}};function Po(n,t){return(n?po:0)|(t?fl:0)}var Xu=class extends vo{addExtra(n,t,u){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;if(!n)return;let D=n.extra=n.extra||{};p?D[t]=u:Object.defineProperty(D,t,{enumerable:p,value:u})}isContextual(n){return this.state.type===n&&!this.state.containsEsc}isUnparsedContextual(n,t){let u=n+t.length;if(this.input.slice(n,u)===t){let p=this.input.charCodeAt(u);return!(Ks(p)||(p&64512)===55296)}return!1}isLookaheadContextual(n){let t=this.nextTokenStart();return this.isUnparsedContextual(t,n)}eatContextual(n){return this.isContextual(n)?(this.next(),!0):!1}expectContextual(n,t){if(!this.eatContextual(n))throw t!=null?this.raise(t,{at:this.state.startLoc}):this.unexpected(null,n)}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return $u.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return cl.lastIndex=this.state.end,cl.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(dt.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(n,t){this.eat(n)||this.unexpected(t,n)}tryParse(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.clone(),u={node:null};try{let p=n(function(){let D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;throw u.node=D,u});if(this.state.errors.length>t.errors.length){let D=this.state;return this.state=t,this.state.tokensLength=D.tokensLength,{node:p,error:D.errors[t.errors.length],thrown:!1,aborted:!1,failState:D}}return{node:p,error:null,thrown:!1,aborted:!1,failState:null}}catch(p){let D=this.state;if(this.state=t,p instanceof SyntaxError)return{node:null,error:p,thrown:!0,aborted:!1,failState:D};if(p===u)return{node:u.node,error:null,thrown:!1,aborted:!0,failState:D};throw p}}checkExpressionErrors(n,t){if(!n)return!1;let{shorthandAssignLoc:u,doubleProtoLoc:p,privateKeyLoc:D,optionalParametersLoc:z}=n,pe=!!u||!!p||!!z||!!D;if(!t)return pe;u!=null&&this.raise(dt.InvalidCoverInitializedName,{at:u}),p!=null&&this.raise(dt.DuplicateProto,{at:p}),D!=null&&this.raise(dt.UnexpectedPrivateField,{at:D}),z!=null&&this.unexpected(z)}isLiteralPropertyName(){return cn(this.state.type)}isPrivateName(n){return n.type==="PrivateName"}getPrivateNameSV(n){return n.id.name}hasPropertyAsPrivateName(n){return(n.type==="MemberExpression"||n.type==="OptionalMemberExpression")&&this.isPrivateName(n.property)}isOptionalChain(n){return n.type==="OptionalMemberExpression"||n.type==="OptionalCallExpression"}isObjectProperty(n){return n.type==="ObjectProperty"}isObjectMethod(n){return n.type==="ObjectMethod"}initializeScopes(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.sourceType==="module",t=this.state.labels;this.state.labels=[];let u=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let p=this.inModule;this.inModule=n;let D=this.scope,z=this.getScopeHandler();this.scope=new z(this,n);let pe=this.prodParam;this.prodParam=new rc;let Ze=this.classScope;this.classScope=new wl(this);let At=this.expressionScope;return this.expressionScope=new Ho(this),()=>{this.state.labels=t,this.exportedIdentifiers=u,this.inModule=p,this.scope=D,this.prodParam=pe,this.classScope=Ze,this.expressionScope=At}}enterInitialScopes(){let n=uu;this.inModule&&(n|=po),this.scope.enter(Eu),this.prodParam.enter(n)}checkDestructuringPrivate(n){let{privateKeyLoc:t}=n;t!==null&&this.expectPlugin("destructuringPrivate",t)}},lu=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},T=class{constructor(n,t,u){this.type="",this.start=t,this.end=0,this.loc=new sn(u),n!=null&&n.options.ranges&&(this.range=[t,0]),n!=null&&n.filename&&(this.loc.filename=n.filename)}},ae=T.prototype;ae.__clone=function(){let n=new T,t=Object.keys(this);for(let u=0,p=t.length;u<p;u++){let D=t[u];D!=="leadingComments"&&D!=="trailingComments"&&D!=="innerComments"&&(n[D]=this[D])}return n};function Z(n){return Y(n)}function Y(n){let{type:t,start:u,end:p,loc:D,range:z,extra:pe,name:Ze}=n,At=Object.create(ae);return At.type=t,At.start=u,At.end=p,At.loc=D,At.range=z,At.extra=pe,At.name=Ze,t==="Placeholder"&&(At.expectedNode=n.expectedNode),At}function oe(n){let{type:t,start:u,end:p,loc:D,range:z,extra:pe}=n;if(t==="Placeholder")return Z(n);let Ze=Object.create(ae);return Ze.type=t,Ze.start=u,Ze.end=p,Ze.loc=D,Ze.range=z,n.raw!==void 0?Ze.raw=n.raw:Ze.extra=pe,Ze.value=n.value,Ze}var Ae=class extends Xu{startNode(){return new T(this,this.state.start,this.state.startLoc)}startNodeAt(n,t){return new T(this,n,t)}startNodeAtNode(n){return this.startNodeAt(n.start,n.loc.start)}finishNode(n,t){return this.finishNodeAt(n,t,this.state.lastTokEndLoc)}finishNodeAt(n,t,u){return n.type=t,n.end=u.index,n.loc.end=u,this.options.ranges&&(n.range[1]=u.index),this.options.attachComment&&this.processComment(n),n}resetStartLocation(n,t,u){n.start=t,n.loc.start=u,this.options.ranges&&(n.range[0]=t)}resetEndLocation(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state.lastTokEndLoc;n.end=t.index,n.loc.end=t,this.options.ranges&&(n.range[1]=t.index)}resetStartLocationFromNode(n,t){this.resetStartLocation(n,t.start,t.loc.start)}},Te=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ve=Ii(Nt||(Nt=on(["flow"])))(n=>({AmbiguousConditionalArrow:n("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:n("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:n(t=>{let{reservedType:u}=t;return"Cannot overwrite reserved type ".concat(u,".")}),DeclareClassElement:n("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:n("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:n("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:n(t=>{let{memberName:u,enumName:p}=t;return"Boolean enum members need to be initialized. Use either `".concat(u," = true,` or `").concat(u," = false,` in enum `").concat(p,"`.")}),EnumDuplicateMemberName:n(t=>{let{memberName:u,enumName:p}=t;return"Enum member names need to be unique, but the name `".concat(u,"` has already been used before in enum `").concat(p,"`.")}),EnumInconsistentMemberValues:n(t=>{let{enumName:u}=t;return"Enum `".concat(u,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.")}),EnumInvalidExplicitType:n(t=>{let{invalidEnumType:u,enumName:p}=t;return"Enum type `".concat(u,"` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `").concat(p,"`.")}),EnumInvalidExplicitTypeUnknownSupplied:n(t=>{let{enumName:u}=t;return"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `".concat(u,"`.")}),EnumInvalidMemberInitializerPrimaryType:n(t=>{let{enumName:u,memberName:p,explicitType:D}=t;return"Enum `".concat(u,"` has type `").concat(D,"`, so the initializer of `").concat(p,"` needs to be a ").concat(D," literal.")}),EnumInvalidMemberInitializerSymbolType:n(t=>{let{enumName:u,memberName:p}=t;return"Symbol enum members cannot be initialized. Use `".concat(p,",` in enum `").concat(u,"`.")}),EnumInvalidMemberInitializerUnknownType:n(t=>{let{enumName:u,memberName:p}=t;return"The enum member initializer for `".concat(p,"` needs to be a literal (either a boolean, number, or string) in enum `").concat(u,"`.")}),EnumInvalidMemberName:n(t=>{let{enumName:u,memberName:p,suggestion:D}=t;return"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `".concat(p,"`, consider using `").concat(D,"`, in enum `").concat(u,"`.")}),EnumNumberMemberNotInitialized:n(t=>{let{enumName:u,memberName:p}=t;return"Number enum members need to be initialized, e.g. `".concat(p," = 1` in enum `").concat(u,"`.")}),EnumStringMemberInconsistentlyInitailized:n(t=>{let{enumName:u}=t;return"String enum members need to consistently either all use initializers, or use no initializers, in enum `".concat(u,"`.")}),GetterMayNotHaveThisParam:n("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:n("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:n("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:n("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:n("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:n("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:n("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:n("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:n("Cannot have a flow comment inside another flow comment."),PatternIsOptional:n("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:n("A setter cannot have a `this` parameter."),SpreadVariance:n("Spread properties cannot have variance."),ThisParamAnnotationRequired:n("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:n("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:n("The `this` parameter cannot be optional."),ThisParamMustBeFirst:n("The `this` parameter must be the first function parameter."),ThisParamNoDefault:n("The `this` parameter may not have a default value."),TypeBeforeInitializer:n("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:n("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:n("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:n(t=>{let{reservedType:u}=t;return"Unexpected reserved type ".concat(u,".")}),UnexpectedReservedUnderscore:n("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:n("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:n("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:n('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:n("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:n("Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`."),UnsupportedDeclareExportKind:n(t=>{let{unsupportedExportKind:u,suggestion:p}=t;return"`declare export ".concat(u,"` is not supported. Use `").concat(p,"` instead.")}),UnsupportedStatementInDeclareModule:n("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:n("Unterminated flow-comment.")}));function xe(n){return n.type==="DeclareExportAllDeclaration"||n.type==="DeclareExportDeclaration"&&(!n.declaration||n.declaration.type!=="TypeAlias"&&n.declaration.type!=="InterfaceDeclaration")}function Se(n){return n.importKind==="type"||n.importKind==="typeof"}function P(n){return ps(n)&&n!==97}var b={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function re(n,t){let u=[],p=[];for(let D=0;D<n.length;D++)(t(n[D],D,n)?u:p).push(n[D]);return[u,p]}var Q=/\*?\s*@((?:no)?flow)\b/,Oe=n=>class extends n{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return hl}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(t,u){return t!==129&&t!==13&&t!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(t,u)}addComment(t){if(this.flowPragma===void 0){let u=Q.exec(t.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")}return super.addComment(t)}flowParseTypeInitialiser(t){let u=this.state.inType;this.state.inType=!0,this.expect(t||14);let p=this.flowParseType();return this.state.inType=u,p}flowParsePredicate(){let t=this.startNode(),u=this.state.startLoc;return this.next(),this.expectContextual(107),this.state.lastTokStart>u.index+1&&this.raise(ve.UnexpectedSpaceBetweenModuloChecks,{at:u}),this.eat(10)?(t.value=this.parseExpression(),this.expect(11),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let t=this.state.inType;this.state.inType=!0,this.expect(14);let u=null,p=null;return this.match(54)?(this.state.inType=t,p=this.flowParsePredicate()):(u=this.flowParseType(),this.state.inType=t,this.match(54)&&(p=this.flowParsePredicate())),[u,p]}flowParseDeclareClass(t){return this.next(),this.flowParseInterfaceish(t,!0),this.finishNode(t,"DeclareClass")}flowParseDeclareFunction(t){this.next();let u=t.id=this.parseIdentifier(),p=this.startNode(),D=this.startNode();this.match(47)?p.typeParameters=this.flowParseTypeParameterDeclaration():p.typeParameters=null,this.expect(10);let z=this.flowParseFunctionTypeParams();return p.params=z.params,p.rest=z.rest,p.this=z._this,this.expect(11),[p.returnType,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),D.typeAnnotation=this.finishNode(p,"FunctionTypeAnnotation"),u.typeAnnotation=this.finishNode(D,"TypeAnnotation"),this.resetEndLocation(u),this.semicolon(),this.scope.declareName(t.id.name,Uu,t.id.loc.start),this.finishNode(t,"DeclareFunction")}flowParseDeclare(t,u){if(this.match(80))return this.flowParseDeclareClass(t);if(this.match(68))return this.flowParseDeclareFunction(t);if(this.match(74))return this.flowParseDeclareVariable(t);if(this.eatContextual(123))return this.match(16)?this.flowParseDeclareModuleExports(t):(u&&this.raise(ve.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(t));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(t);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(t);if(this.isContextual(125))return this.flowParseDeclareInterface(t);if(this.match(82))return this.flowParseDeclareExportDeclaration(t,u);throw this.unexpected()}flowParseDeclareVariable(t){return this.next(),t.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(t.id.name,ao,t.id.loc.start),this.semicolon(),this.finishNode(t,"DeclareVariable")}flowParseDeclareModule(t){this.scope.enter(Co),this.match(129)?t.id=this.parseExprAtom():t.id=this.parseIdentifier();let u=t.body=this.startNode(),p=u.body=[];for(this.expect(5);!this.match(8);){let pe=this.startNode();this.match(83)?(this.next(),!this.isContextual(126)&&!this.match(87)&&this.raise(ve.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(pe)):(this.expectContextual(121,ve.UnsupportedStatementInDeclareModule),pe=this.flowParseDeclare(pe,!0)),p.push(pe)}this.scope.exit(),this.expect(8),this.finishNode(u,"BlockStatement");let D=null,z=!1;return p.forEach(pe=>{xe(pe)?(D==="CommonJS"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:pe}),D="ES"):pe.type==="DeclareModuleExports"&&(z&&this.raise(ve.DuplicateDeclareModuleExports,{at:pe}),D==="ES"&&this.raise(ve.AmbiguousDeclareModuleKind,{at:pe}),D="CommonJS",z=!0)}),t.kind=D||"CommonJS",this.finishNode(t,"DeclareModule")}flowParseDeclareExportDeclaration(t,u){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?t.declaration=this.flowParseDeclare(this.startNode()):(t.declaration=this.flowParseType(),this.semicolon()),t.default=!0,this.finishNode(t,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!u){let p=this.state.value;throw this.raise(ve.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:p,suggestion:b[p]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127))return t.declaration=this.flowParseDeclare(this.startNode()),t.default=!1,this.finishNode(t,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127))return t=this.parseExport(t),t.type==="ExportNamedDeclaration"&&(t.type="ExportDeclaration",t.default=!1,delete t.exportKind),t.type="Declare"+t.type,t;throw this.unexpected()}flowParseDeclareModuleExports(t){return this.next(),this.expectContextual(108),t.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(t,"DeclareModuleExports")}flowParseDeclareTypeAlias(t){return this.next(),this.flowParseTypeAlias(t),t.type="DeclareTypeAlias",t}flowParseDeclareOpaqueType(t){return this.next(),this.flowParseOpaqueType(t,!0),t.type="DeclareOpaqueType",t}flowParseDeclareInterface(t){return this.next(),this.flowParseInterfaceish(t),this.finishNode(t,"DeclareInterface")}flowParseInterfaceish(t){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.id=this.flowParseRestrictedIdentifier(!u,!0),this.scope.declareName(t.id.name,u?wu:so,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.extends=[],t.implements=[],t.mixins=[],this.eat(81))do t.extends.push(this.flowParseInterfaceExtends());while(!u&&this.eat(12));if(this.isContextual(114)){this.next();do t.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12))}if(this.isContextual(110)){this.next();do t.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}t.body=this.flowParseObjectType({allowStatic:u,allowExact:!1,allowSpread:!1,allowProto:u,allowInexact:!1})}flowParseInterfaceExtends(){let t=this.startNode();return t.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,this.finishNode(t,"InterfaceExtends")}flowParseInterface(t){return this.flowParseInterfaceish(t),this.finishNode(t,"InterfaceDeclaration")}checkNotUnderscore(t){t==="_"&&this.raise(ve.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(t,u,p){!Te.has(t)||this.raise(p?ve.AssignReservedType:ve.UnexpectedReservedType,{at:u,reservedType:t})}flowParseRestrictedIdentifier(t,u){return this.checkReservedType(this.state.value,this.state.startLoc,u),this.parseIdentifier(t)}flowParseTypeAlias(t){return t.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(t.id.name,so,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(t,"TypeAlias")}flowParseOpaqueType(t,u){return this.expectContextual(126),t.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(t.id.name,so,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.supertype=null,this.match(14)&&(t.supertype=this.flowParseTypeInitialiser(14)),t.impltype=null,u||(t.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(t,"OpaqueType")}flowParseTypeParameter(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,u=this.state.startLoc,p=this.startNode(),D=this.flowParseVariance(),z=this.flowParseTypeAnnotatableIdentifier();return p.name=z.name,p.variance=D,p.bound=z.typeAnnotation,this.match(29)?(this.eat(29),p.default=this.flowParseType()):t&&this.raise(ve.MissingTypeParamDefault,{at:u}),this.finishNode(p,"TypeParameter")}flowParseTypeParameterDeclaration(){let t=this.state.inType,u=this.startNode();u.params=[],this.state.inType=!0,this.match(47)||this.match(138)?this.next():this.unexpected();let p=!1;do{let D=this.flowParseTypeParameter(p);u.params.push(D),D.default&&(p=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=t,this.finishNode(u,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let t=this.startNode(),u=this.state.inType;t.params=[],this.state.inType=!0,this.expect(47);let p=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)t.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=p,this.expect(48),this.state.inType=u,this.finishNode(t,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let t=this.startNode(),u=this.state.inType;for(t.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)t.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=u,this.finishNode(t,"TypeParameterInstantiation")}flowParseInterfaceType(){let t=this.startNode();if(this.expectContextual(125),t.extends=[],this.eat(81))do t.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return t.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(t,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(t,u,p){return t.static=u,this.lookahead().type===14?(t.id=this.flowParseObjectPropertyKey(),t.key=this.flowParseTypeInitialiser()):(t.id=null,t.key=this.flowParseType()),this.expect(3),t.value=this.flowParseTypeInitialiser(),t.variance=p,this.finishNode(t,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(t,u){return t.static=u,t.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(t.method=!0,t.optional=!1,t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.start,t.loc.start))):(t.method=!1,this.eat(17)&&(t.optional=!0),t.value=this.flowParseTypeInitialiser()),this.finishNode(t,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(t){for(t.params=[],t.rest=null,t.typeParameters=null,t.this=null,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(t.this=this.flowParseFunctionTypeParam(!0),t.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),t.returnType=this.flowParseTypeInitialiser(),this.finishNode(t,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(t,u){let p=this.startNode();return t.static=u,t.value=this.flowParseObjectTypeMethodish(p),this.finishNode(t,"ObjectTypeCallProperty")}flowParseObjectType(t){let{allowStatic:u,allowExact:p,allowSpread:D,allowProto:z,allowInexact:pe}=t,Ze=this.state.inType;this.state.inType=!0;let At=this.startNode();At.callProperties=[],At.properties=[],At.indexers=[],At.internalSlots=[];let ar,m,E=!1;for(p&&this.match(6)?(this.expect(6),ar=9,m=!0):(this.expect(5),ar=8,m=!1),At.exact=m;!this.match(ar);){let A=!1,C=null,y=null,x=this.startNode();if(z&&this.isContextual(115)){let k=this.lookahead();k.type!==14&&k.type!==17&&(this.next(),C=this.state.startLoc,u=!1)}if(u&&this.isContextual(104)){let k=this.lookahead();k.type!==14&&k.type!==17&&(this.next(),A=!0)}let w=this.flowParseVariance();if(this.eat(0))C!=null&&this.unexpected(C),this.eat(0)?(w&&this.unexpected(w.loc.start),At.internalSlots.push(this.flowParseObjectTypeInternalSlot(x,A))):At.indexers.push(this.flowParseObjectTypeIndexer(x,A,w));else if(this.match(10)||this.match(47))C!=null&&this.unexpected(C),w&&this.unexpected(w.loc.start),At.callProperties.push(this.flowParseObjectTypeCallProperty(x,A));else{let k="init";if(this.isContextual(98)||this.isContextual(103)){let $=this.lookahead();cn($.type)&&(k=this.state.value,this.next())}let _=this.flowParseObjectTypeProperty(x,A,C,w,k,D,pe!=null?pe:!m);_===null?(E=!0,y=this.state.lastTokStartLoc):At.properties.push(_)}this.flowObjectTypeSemicolon(),y&&!this.match(8)&&!this.match(9)&&this.raise(ve.UnexpectedExplicitInexactInObject,{at:y})}this.expect(ar),D&&(At.inexact=E);let g=this.finishNode(At,"ObjectTypeAnnotation");return this.state.inType=Ze,g}flowParseObjectTypeProperty(t,u,p,D,z,pe,Ze){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(pe?Ze||this.raise(ve.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(ve.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),D&&this.raise(ve.InexactVariance,{at:D}),null):(pe||this.raise(ve.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),p!=null&&this.unexpected(p),D&&this.raise(ve.SpreadVariance,{at:D}),t.argument=this.flowParseType(),this.finishNode(t,"ObjectTypeSpreadProperty"));{t.key=this.flowParseObjectPropertyKey(),t.static=u,t.proto=p!=null,t.kind=z;let At=!1;return this.match(47)||this.match(10)?(t.method=!0,p!=null&&this.unexpected(p),D&&this.unexpected(D.loc.start),t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.start,t.loc.start)),(z==="get"||z==="set")&&this.flowCheckGetterSetterParams(t),!pe&&t.key.name==="constructor"&&t.value.this&&this.raise(ve.ThisParamBannedInConstructor,{at:t.value.this})):(z!=="init"&&this.unexpected(),t.method=!1,this.eat(17)&&(At=!0),t.value=this.flowParseTypeInitialiser(),t.variance=D),t.optional=At,this.finishNode(t,"ObjectTypeProperty")}}flowCheckGetterSetterParams(t){let u=t.kind==="get"?0:1,p=t.value.params.length+(t.value.rest?1:0);t.value.this&&this.raise(t.kind==="get"?ve.GetterMayNotHaveThisParam:ve.SetterMayNotHaveThisParam,{at:t.value.this}),p!==u&&this.raise(t.kind==="get"?dt.BadGetterArity:dt.BadSetterArity,{at:t}),t.kind==="set"&&t.value.rest&&this.raise(dt.BadSetterRestParameter,{at:t})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(t,u,p){t=t||this.state.start,u=u||this.state.startLoc;let D=p||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let z=this.startNodeAt(t,u);z.qualification=D,z.id=this.flowParseRestrictedIdentifier(!0),D=this.finishNode(z,"QualifiedTypeIdentifier")}return D}flowParseGenericType(t,u,p){let D=this.startNodeAt(t,u);return D.typeParameters=null,D.id=this.flowParseQualifiedTypeIdentifier(t,u,p),this.match(47)&&(D.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(D,"GenericTypeAnnotation")}flowParseTypeofType(){let t=this.startNode();return this.expect(87),t.argument=this.flowParsePrimaryType(),this.finishNode(t,"TypeofTypeAnnotation")}flowParseTupleType(){let t=this.startNode();for(t.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(t.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(t,"TupleTypeAnnotation")}flowParseFunctionTypeParam(t){let u=null,p=!1,D=null,z=this.startNode(),pe=this.lookahead(),Ze=this.state.type===78;return pe.type===14||pe.type===17?(Ze&&!t&&this.raise(ve.ThisParamMustBeFirst,{at:z}),u=this.parseIdentifier(Ze),this.eat(17)&&(p=!0,Ze&&this.raise(ve.ThisParamMayNotBeOptional,{at:z})),D=this.flowParseTypeInitialiser()):D=this.flowParseType(),z.name=u,z.optional=p,z.typeAnnotation=D,this.finishNode(z,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(t){let u=this.startNodeAt(t.start,t.loc.start);return u.name=null,u.optional=!1,u.typeAnnotation=t,this.finishNode(u,"FunctionTypeParam")}flowParseFunctionTypeParams(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=null,p=null;for(this.match(78)&&(p=this.flowParseFunctionTypeParam(!0),p.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(u=this.flowParseFunctionTypeParam(!1)),{params:t,rest:u,_this:p}}flowIdentToTypeAnnotation(t,u,p,D){switch(D.name){case"any":return this.finishNode(p,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(p,"BooleanTypeAnnotation");case"mixed":return this.finishNode(p,"MixedTypeAnnotation");case"empty":return this.finishNode(p,"EmptyTypeAnnotation");case"number":return this.finishNode(p,"NumberTypeAnnotation");case"string":return this.finishNode(p,"StringTypeAnnotation");case"symbol":return this.finishNode(p,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(D.name),this.flowParseGenericType(t,u,D)}}flowParsePrimaryType(){let t=this.state.start,u=this.state.startLoc,p=this.startNode(),D,z,pe=!1,Ze=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,z=this.flowParseTupleType(),this.state.noAnonFunctionType=Ze,z;case 47:return p.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),D=this.flowParseFunctionTypeParams(),p.params=D.params,p.rest=D.rest,p.this=D._this,this.expect(11),this.expect(19),p.returnType=this.flowParseType(),this.finishNode(p,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(Ln(this.state.type)||this.match(78)){let At=this.lookahead().type;pe=At!==17&&At!==14}else pe=!0;if(pe){if(this.state.noAnonFunctionType=!1,z=this.flowParseType(),this.state.noAnonFunctionType=Ze,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),z;this.eat(12)}return z?D=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(z)]):D=this.flowParseFunctionTypeParams(),p.params=D.params,p.rest=D.rest,p.this=D._this,this.expect(11),this.expect(19),p.returnType=this.flowParseType(),p.typeParameters=null,this.finishNode(p,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return p.value=this.match(85),this.next(),this.finishNode(p,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(130))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",p);if(this.match(131))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",p);throw this.raise(ve.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(p,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(p,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(p,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(p,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(gt(this.state.type)){let At=zs(this.state.type);return this.next(),super.createIdentifier(p,At)}else if(Ln(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(t,u,p,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let t=this.state.start,u=this.state.startLoc,p=this.flowParsePrimaryType(),D=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let z=this.startNodeAt(t,u),pe=this.eat(18);D=D||pe,this.expect(0),!pe&&this.match(3)?(z.elementType=p,this.next(),p=this.finishNode(z,"ArrayTypeAnnotation")):(z.objectType=p,z.indexType=this.flowParseType(),this.expect(3),D?(z.optional=pe,p=this.finishNode(z,"OptionalIndexedAccessType")):p=this.finishNode(z,"IndexedAccessType"))}return p}flowParsePrefixType(){let t=this.startNode();return this.eat(17)?(t.typeAnnotation=this.flowParsePrefixType(),this.finishNode(t,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let t=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let u=this.startNodeAt(t.start,t.loc.start);return u.params=[this.reinterpretTypeAsFunctionTypeParam(t)],u.rest=null,u.this=null,u.returnType=this.flowParseType(),u.typeParameters=null,this.finishNode(u,"FunctionTypeAnnotation")}return t}flowParseIntersectionType(){let t=this.startNode();this.eat(45);let u=this.flowParseAnonFunctionWithoutParens();for(t.types=[u];this.eat(45);)t.types.push(this.flowParseAnonFunctionWithoutParens());return t.types.length===1?u:this.finishNode(t,"IntersectionTypeAnnotation")}flowParseUnionType(){let t=this.startNode();this.eat(43);let u=this.flowParseIntersectionType();for(t.types=[u];this.eat(43);)t.types.push(this.flowParseIntersectionType());return t.types.length===1?u:this.finishNode(t,"UnionTypeAnnotation")}flowParseType(){let t=this.state.inType;this.state.inType=!0;let u=this.flowParseUnionType();return this.state.inType=t,u}flowParseTypeOrImplicitInstantiation(){if(this.state.type===128&&this.state.value==="_"){let t=this.state.start,u=this.state.startLoc,p=this.parseIdentifier();return this.flowParseGenericType(t,u,p)}else return this.flowParseType()}flowParseTypeAnnotation(){let t=this.startNode();return t.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(t,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(t){let u=t?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(u.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(u)),u}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}flowParseVariance(){let t=null;return this.match(53)&&(t=this.startNode(),this.state.value==="+"?t.kind="plus":t.kind="minus",this.next(),this.finishNode(t,"Variance")),t}parseFunctionBody(t,u){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return u?this.forwardNoArrowParamsConversionAt(t,()=>super.parseFunctionBody(t,!0,p)):super.parseFunctionBody(t,!1,p)}parseFunctionBodyAndFinish(t,u){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.match(14)){let D=this.startNode();[D.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),t.returnType=D.typeAnnotation?this.finishNode(D,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(t,u,p)}parseStatement(t,u){if(this.state.strict&&this.isContextual(125)){let D=this.lookahead();if(ps(D.type)){let z=this.startNode();return this.next(),this.flowParseInterface(z)}}else if(this.shouldParseEnums()&&this.isContextual(122)){let D=this.startNode();return this.next(),this.flowParseEnumDeclaration(D)}let p=super.parseStatement(t,u);return this.flowPragma===void 0&&!this.isValidDirective(p)&&(this.flowPragma=null),p}parseExpressionStatement(t,u){if(u.type==="Identifier"){if(u.name==="declare"){if(this.match(80)||Ln(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(t)}else if(Ln(this.state.type)){if(u.name==="interface")return this.flowParseInterface(t);if(u.name==="type")return this.flowParseTypeAlias(t);if(u.name==="opaque")return this.flowParseOpaqueType(t,!1)}}return super.parseExpressionStatement(t,u)}shouldParseExportDeclaration(){let{type:t}=this.state;return Ds(t)||this.shouldParseEnums()&&t===122?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:t}=this.state;return Ds(t)||this.shouldParseEnums()&&t===122?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDefaultExpression()}parseConditional(t,u,p,D){if(!this.match(17))return t;if(this.state.maybeInArrowParameters){let g=this.lookaheadCharCode();if(g===44||g===61||g===58||g===41)return this.setOptionalParametersError(D),t}this.expect(17);let z=this.state.clone(),pe=this.state.noArrowAt,Ze=this.startNodeAt(u,p),{consequent:At,failed:ar}=this.tryParseConditionalConsequent(),[m,E]=this.getArrowLikeExpressions(At);if(ar||E.length>0){let g=[...pe];if(E.length>0){this.state=z,this.state.noArrowAt=g;for(let A=0;A<E.length;A++)g.push(E[A].start);({consequent:At,failed:ar}=this.tryParseConditionalConsequent()),[m,E]=this.getArrowLikeExpressions(At)}ar&&m.length>1&&this.raise(ve.AmbiguousConditionalArrow,{at:z.startLoc}),ar&&m.length===1&&(this.state=z,g.push(m[0].start),this.state.noArrowAt=g,{consequent:At,failed:ar}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(At,!0),this.state.noArrowAt=pe,this.expect(14),Ze.test=t,Ze.consequent=At,Ze.alternate=this.forwardNoArrowParamsConversionAt(Ze,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(Ze,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let t=this.parseMaybeAssignAllowIn(),u=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:t,failed:u}}getArrowLikeExpressions(t,u){let p=[t],D=[];for(;p.length!==0;){let z=p.pop();z.type==="ArrowFunctionExpression"?(z.typeParameters||!z.returnType?this.finishArrowValidation(z):D.push(z),p.push(z.body)):z.type==="ConditionalExpression"&&(p.push(z.consequent),p.push(z.alternate))}return u?(D.forEach(z=>this.finishArrowValidation(z)),[D,[]]):re(D,z=>z.params.every(pe=>this.isAssignable(pe,!0)))}finishArrowValidation(t){var u;this.toAssignableList(t.params,(u=t.extra)==null?void 0:u.trailingCommaLoc,!1),this.scope.enter(no|yo),super.checkParams(t,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(t,u){let p;return this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),p=u(),this.state.noArrowParamsConversionAt.pop()):p=u(),p}parseParenItem(t,u,p){if(t=super.parseParenItem(t,u,p),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){let D=this.startNodeAt(u,p);return D.expression=t,D.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(D,"TypeCastExpression")}return t}assertModuleNodeAllowed(t){t.type==="ImportDeclaration"&&(t.importKind==="type"||t.importKind==="typeof")||t.type==="ExportNamedDeclaration"&&t.exportKind==="type"||t.type==="ExportAllDeclaration"&&t.exportKind==="type"||super.assertModuleNodeAllowed(t)}parseExport(t){let u=super.parseExport(t);return(u.type==="ExportNamedDeclaration"||u.type==="ExportAllDeclaration")&&(u.exportKind=u.exportKind||"value"),u}parseExportDeclaration(t){if(this.isContextual(126)){t.exportKind="type";let u=this.startNode();return this.next(),this.match(5)?(t.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(t),null):this.flowParseTypeAlias(u)}else if(this.isContextual(127)){t.exportKind="type";let u=this.startNode();return this.next(),this.flowParseOpaqueType(u,!1)}else if(this.isContextual(125)){t.exportKind="type";let u=this.startNode();return this.next(),this.flowParseInterface(u)}else if(this.shouldParseEnums()&&this.isContextual(122)){t.exportKind="value";let u=this.startNode();return this.next(),this.flowParseEnumDeclaration(u)}else return super.parseExportDeclaration(t)}eatExportStar(t){return super.eatExportStar(...arguments)?!0:this.isContextual(126)&&this.lookahead().type===55?(t.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(t){let{startLoc:u}=this.state,p=super.maybeParseExportNamespaceSpecifier(t);return p&&t.exportKind==="type"&&this.unexpected(u),p}parseClassId(t,u,p){super.parseClassId(t,u,p),this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(t,u,p){let{startLoc:D}=this.state;if(this.isContextual(121)){if(this.parseClassMemberFromModifier(t,u))return;u.declare=!0}super.parseClassMember(t,u,p),u.declare&&(u.type!=="ClassProperty"&&u.type!=="ClassPrivateProperty"&&u.type!=="PropertyDefinition"?this.raise(ve.DeclareClassElement,{at:D}):u.value&&this.raise(ve.DeclareClassFieldInitializer,{at:u.value}))}isIterator(t){return t==="iterator"||t==="asyncIterator"}readIterator(){let t=super.readWord1(),u="@@"+t;(!this.isIterator(t)||!this.state.inType)&&this.raise(dt.InvalidIdentifier,{at:this.state.curPosition(),identifierName:u}),this.finishToken(128,u)}getTokenFromCode(t){let u=this.input.charCodeAt(this.state.pos+1);return t===123&&u===124?this.finishOp(6,2):this.state.inType&&(t===62||t===60)?this.finishOp(t===62?48:47,1):this.state.inType&&t===63?u===46?this.finishOp(18,2):this.finishOp(17,1):Ca(t,u,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(t)}isAssignable(t,u){return t.type==="TypeCastExpression"?this.isAssignable(t.expression,u):super.isAssignable(t,u)}toAssignable(t){!(arguments.length>1&&arguments[1]!==void 0&&arguments[1])&&t.type==="AssignmentExpression"&&t.left.type==="TypeCastExpression"&&(t.left=this.typeCastToParameter(t.left)),super.toAssignable(...arguments)}toAssignableList(t,u,p){for(let D=0;D<t.length;D++){let z=t[D];(z==null?void 0:z.type)==="TypeCastExpression"&&(t[D]=this.typeCastToParameter(z))}super.toAssignableList(t,u,p)}toReferencedList(t,u){for(let D=0;D<t.length;D++){var p;let z=t[D];z&&z.type==="TypeCastExpression"&&!((p=z.extra)!=null&&p.parenthesized)&&(t.length>1||!u)&&this.raise(ve.TypeCastInPattern,{at:z.typeAnnotation})}return t}parseArrayLike(t,u,p,D){let z=super.parseArrayLike(t,u,p,D);return u&&!this.state.maybeInArrowParameters&&this.toReferencedList(z.elements),z}isValidLVal(t){for(var u=arguments.length,p=new Array(u>1?u-1:0),D=1;D<u;D++)p[D-1]=arguments[D];return t==="TypeCastExpression"||super.isValidLVal(t,...p)}parseClassProperty(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(t)}parseClassPrivateProperty(t){return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(t)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(t){return!this.match(14)&&super.isNonstaticConstructor(t)}pushClassMethod(t,u,p,D,z,pe){if(u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(t,u,p,D,z,pe),u.params&&z){let Ze=u.params;Ze.length>0&&this.isThisParam(Ze[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:u})}else if(u.type==="MethodDefinition"&&z&&u.value.params){let Ze=u.value.params;Ze.length>0&&this.isThisParam(Ze[0])&&this.raise(ve.ThisParamBannedInConstructor,{at:u})}}pushClassPrivateMethod(t,u,p,D){u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(t,u,p,D)}parseClassSuper(t){if(super.parseClassSuper(t),t.superClass&&this.match(47)&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(110)){this.next();let u=t.implements=[];do{let p=this.startNode();p.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?p.typeParameters=this.flowParseTypeParameterInstantiation():p.typeParameters=null,u.push(this.finishNode(p,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(t){super.checkGetterSetterParams(t);let u=this.getObjectOrClassMethodParams(t);if(u.length>0){let p=u[0];this.isThisParam(p)&&t.kind==="get"?this.raise(ve.GetterMayNotHaveThisParam,{at:p}):this.isThisParam(p)&&this.raise(ve.SetterMayNotHaveThisParam,{at:p})}}parsePropertyNamePrefixOperator(t){t.variance=this.flowParseVariance()}parseObjPropValue(t,u,p,D,z,pe,Ze,At){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance;let ar;this.match(47)&&!Ze&&(ar=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(t,u,p,D,z,pe,Ze,At),ar&&((t.value||t).typeParameters=ar)}parseAssignableListItemTypes(t){return this.eat(17)&&(t.type!=="Identifier"&&this.raise(ve.PatternIsOptional,{at:t}),this.isThisParam(t)&&this.raise(ve.ThisParamMayNotBeOptional,{at:t}),t.optional=!0),this.match(14)?t.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(t)&&this.raise(ve.ThisParamAnnotationRequired,{at:t}),this.match(29)&&this.isThisParam(t)&&this.raise(ve.ThisParamNoDefault,{at:t}),this.resetEndLocation(t),t}parseMaybeDefault(t,u,p){let D=super.parseMaybeDefault(t,u,p);return D.type==="AssignmentPattern"&&D.typeAnnotation&&D.right.start<D.typeAnnotation.start&&this.raise(ve.TypeBeforeInitializer,{at:D.typeAnnotation}),D}shouldParseDefaultImport(t){return Se(t)?P(this.state.type):super.shouldParseDefaultImport(t)}parseImportSpecifierLocal(t,u,p){u.local=Se(t)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(u,p))}maybeParseDefaultImportSpecifier(t){t.importKind="value";let u=null;if(this.match(87)?u="typeof":this.isContextual(126)&&(u="type"),u){let p=this.lookahead(),{type:D}=p;u==="type"&&D===55&&this.unexpected(null,p.type),(P(D)||D===5||D===55)&&(this.next(),t.importKind=u)}return super.maybeParseDefaultImportSpecifier(t)}parseImportSpecifier(t,u,p,D){let z=t.imported,pe=null;z.type==="Identifier"&&(z.name==="type"?pe="type":z.name==="typeof"&&(pe="typeof"));let Ze=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let ar=this.parseIdentifier(!0);pe!==null&&!ps(this.state.type)?(t.imported=ar,t.importKind=pe,t.local=Y(ar)):(t.imported=z,t.importKind=null,t.local=this.parseIdentifier())}else{if(pe!==null&&ps(this.state.type))t.imported=this.parseIdentifier(!0),t.importKind=pe;else{if(u)throw this.raise(dt.ImportBindingIsString,{at:t,importName:z.value});t.imported=z,t.importKind=null}this.eatContextual(93)?t.local=this.parseIdentifier():(Ze=!0,t.local=Y(t.imported))}let At=Se(t);return p&&At&&this.raise(ve.ImportTypeShorthandOnlyInPureImport,{at:t}),(p||At)&&this.checkReservedType(t.local.name,t.local.loc.start,!0),Ze&&!p&&!At&&this.checkReservedWord(t.local.name,t.loc.start,!0,!0),this.finishImportSpecifier(t,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(t,u){let p=t.kind;p!=="get"&&p!=="set"&&this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(t,u)}parseVarId(t,u){super.parseVarId(t,u),this.match(14)&&(t.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,u){if(this.match(14)){let p=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,t.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=p}return super.parseAsyncArrowFromCallExpression(t,u)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(t,u){var p;let D=null,z;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(D=this.state.clone(),z=this.tryParse(()=>super.parseMaybeAssign(t,u),D),!z.error)return z.node;let{context:At}=this.state,ar=At[At.length-1];(ar===ms.j_oTag||ar===ms.j_expr)&&At.pop()}if((p=z)!=null&&p.error||this.match(47)){var pe,Ze;D=D||this.state.clone();let At,ar=this.tryParse(E=>{var g;At=this.flowParseTypeParameterDeclaration();let A=this.forwardNoArrowParamsConversionAt(At,()=>{let y=super.parseMaybeAssign(t,u);return this.resetStartLocationFromNode(y,At),y});(g=A.extra)!=null&&g.parenthesized&&E();let C=this.maybeUnwrapTypeCastExpression(A);return C.type!=="ArrowFunctionExpression"&&E(),C.typeParameters=At,this.resetStartLocationFromNode(C,At),A},D),m=null;if(ar.node&&this.maybeUnwrapTypeCastExpression(ar.node).type==="ArrowFunctionExpression"){if(!ar.error&&!ar.aborted)return ar.node.async&&this.raise(ve.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:At}),ar.node;m=ar.node}if((pe=z)!=null&&pe.node)return this.state=z.failState,z.node;if(m)return this.state=ar.failState,m;throw(Ze=z)!=null&&Ze.thrown?z.error:ar.thrown?ar.error:this.raise(ve.UnexpectedTokenAfterTypeParameter,{at:At})}return super.parseMaybeAssign(t,u)}parseArrow(t){if(this.match(14)){let u=this.tryParse(()=>{let p=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let D=this.startNode();return[D.typeAnnotation,t.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=p,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),D});if(u.thrown)return null;u.error&&(this.state=u.failState),t.returnType=u.node.typeAnnotation?this.finishNode(u.node,"TypeAnnotation"):null}return super.parseArrow(t)}shouldParseArrow(t){return this.match(14)||super.shouldParseArrow(t)}setArrowFunctionParameters(t,u){this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1?t.params=u:super.setArrowFunctionParameters(t,u)}checkParams(t,u,p){if(!(p&&this.state.noArrowParamsConversionAt.indexOf(t.start)!==-1)){for(let D=0;D<t.params.length;D++)this.isThisParam(t.params[D])&&D>0&&this.raise(ve.ThisParamMustBeFirst,{at:t.params[D]});return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(t){return super.parseParenAndDistinguishExpression(t&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(t,u,p,D){if(t.type==="Identifier"&&t.name==="async"&&this.state.noArrowAt.indexOf(u)!==-1){this.next();let z=this.startNodeAt(u,p);z.callee=t,z.arguments=this.parseCallExpressionArguments(11,!1),t=this.finishNode(z,"CallExpression")}else if(t.type==="Identifier"&&t.name==="async"&&this.match(47)){let z=this.state.clone(),pe=this.tryParse(At=>this.parseAsyncArrowWithTypeParameters(u,p)||At(),z);if(!pe.error&&!pe.aborted)return pe.node;let Ze=this.tryParse(()=>super.parseSubscripts(t,u,p,D),z);if(Ze.node&&!Ze.error)return Ze.node;if(pe.node)return this.state=pe.failState,pe.node;if(Ze.node)return this.state=Ze.failState,Ze.node;throw pe.error||Ze.error}return super.parseSubscripts(t,u,p,D)}parseSubscript(t,u,p,D,z){if(this.match(18)&&this.isLookaheadToken_lt()){if(z.optionalChainMember=!0,D)return z.stop=!0,t;this.next();let pe=this.startNodeAt(u,p);return pe.callee=t,pe.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),pe.arguments=this.parseCallExpressionArguments(11,!1),pe.optional=!0,this.finishCallExpression(pe,!0)}else if(!D&&this.shouldParseTypes()&&this.match(47)){let pe=this.startNodeAt(u,p);pe.callee=t;let Ze=this.tryParse(()=>(pe.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),pe.arguments=this.parseCallExpressionArguments(11,!1),z.optionalChainMember&&(pe.optional=!1),this.finishCallExpression(pe,z.optionalChainMember)));if(Ze.node)return Ze.error&&(this.state=Ze.failState),Ze.node}return super.parseSubscript(t,u,p,D,z)}parseNewCallee(t){super.parseNewCallee(t);let u=null;this.shouldParseTypes()&&this.match(47)&&(u=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),t.typeArguments=u}parseAsyncArrowWithTypeParameters(t,u){let p=this.startNodeAt(t,u);if(this.parseFunctionParams(p),!!this.parseArrow(p))return this.parseArrowExpression(p,void 0,!0)}readToken_mult_modulo(t){let u=this.input.charCodeAt(this.state.pos+1);if(t===42&&u===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(t)}readToken_pipe_amp(t){let u=this.input.charCodeAt(this.state.pos+1);if(t===124&&u===125){this.finishOp(9,2);return}super.readToken_pipe_amp(t)}parseTopLevel(t,u){let p=super.parseTopLevel(t,u);return this.state.hasFlowComment&&this.raise(ve.UnterminatedFlowComment,{at:this.state.curPosition()}),p}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(ve.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),this.state.hasFlowComment=!0;return}if(this.state.hasFlowComment){let t=this.input.indexOf("*-/",this.state.pos+2);if(t===-1)throw this.raise(dt.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=t+2+3;return}return super.skipBlockComment()}skipFlowComment(){let{pos:t}=this.state,u=2;for(;[32,9].includes(this.input.charCodeAt(t+u));)u++;let p=this.input.charCodeAt(u+t),D=this.input.charCodeAt(u+t+1);return p===58&&D===58?u+2:this.input.slice(u+t,u+t+12)==="flow-include"?u+12:p===58&&D!==58?u:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(dt.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(t,u){let{enumName:p,memberName:D}=u;this.raise(ve.EnumBooleanMemberNotInitialized,{at:t,memberName:D,enumName:p})}flowEnumErrorInvalidMemberInitializer(t,u){return this.raise(u.explicitType?u.explicitType==="symbol"?ve.EnumInvalidMemberInitializerSymbolType:ve.EnumInvalidMemberInitializerPrimaryType:ve.EnumInvalidMemberInitializerUnknownType,Object.assign({at:t},u))}flowEnumErrorNumberMemberNotInitialized(t,u){let{enumName:p,memberName:D}=u;this.raise(ve.EnumNumberMemberNotInitialized,{at:t,enumName:p,memberName:D})}flowEnumErrorStringMemberInconsistentlyInitailized(t,u){let{enumName:p}=u;this.raise(ve.EnumStringMemberInconsistentlyInitailized,{at:t,enumName:p})}flowEnumMemberInit(){let t=this.state.startLoc,u=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{let p=this.parseNumericLiteral(this.state.value);return u()?{type:"number",loc:p.loc.start,value:p}:{type:"invalid",loc:t}}case 129:{let p=this.parseStringLiteral(this.state.value);return u()?{type:"string",loc:p.loc.start,value:p}:{type:"invalid",loc:t}}case 85:case 86:{let p=this.parseBooleanLiteral(this.match(85));return u()?{type:"boolean",loc:p.loc.start,value:p}:{type:"invalid",loc:t}}default:return{type:"invalid",loc:t}}}flowEnumMemberRaw(){let t=this.state.startLoc,u=this.parseIdentifier(!0),p=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:t};return{id:u,init:p}}flowEnumCheckExplicitTypeMismatch(t,u,p){let{explicitType:D}=u;D!==null&&D!==p&&this.flowEnumErrorInvalidMemberInitializer(t,u)}flowEnumMembers(t){let{enumName:u,explicitType:p}=t,D=new Set,z={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},pe=!1;for(;!this.match(8);){if(this.eat(21)){pe=!0;break}let Ze=this.startNode(),{id:At,init:ar}=this.flowEnumMemberRaw(),m=At.name;if(m==="")continue;/^[a-z]/.test(m)&&this.raise(ve.EnumInvalidMemberName,{at:At,memberName:m,suggestion:m[0].toUpperCase()+m.slice(1),enumName:u}),D.has(m)&&this.raise(ve.EnumDuplicateMemberName,{at:At,memberName:m,enumName:u}),D.add(m);let E={enumName:u,explicitType:p,memberName:m};switch(Ze.id=At,ar.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(ar.loc,E,"boolean"),Ze.init=ar.value,z.booleanMembers.push(this.finishNode(Ze,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(ar.loc,E,"number"),Ze.init=ar.value,z.numberMembers.push(this.finishNode(Ze,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(ar.loc,E,"string"),Ze.init=ar.value,z.stringMembers.push(this.finishNode(Ze,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(ar.loc,E);case"none":switch(p){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(ar.loc,E);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(ar.loc,E);break;default:z.defaultedMembers.push(this.finishNode(Ze,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:z,hasUnknownMembers:pe}}flowEnumStringMembers(t,u,p){let{enumName:D}=p;if(t.length===0)return u;if(u.length===0)return t;if(u.length>t.length){for(let z of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(z,{enumName:D});return u}else{for(let z of u)this.flowEnumErrorStringMemberInconsistentlyInitailized(z,{enumName:D});return t}}flowEnumParseExplicitType(t){let{enumName:u}=t;if(!this.eatContextual(101))return null;if(!Ln(this.state.type))throw this.raise(ve.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:u});let{value:p}=this.state;return this.next(),p!=="boolean"&&p!=="number"&&p!=="string"&&p!=="symbol"&&this.raise(ve.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:u,invalidEnumType:p}),p}flowEnumBody(t,u){let p=u.name,D=u.loc.start,z=this.flowEnumParseExplicitType({enumName:p});this.expect(5);let{members:pe,hasUnknownMembers:Ze}=this.flowEnumMembers({enumName:p,explicitType:z});switch(t.hasUnknownMembers=Ze,z){case"boolean":return t.explicitType=!0,t.members=pe.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody");case"number":return t.explicitType=!0,t.members=pe.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody");case"string":return t.explicitType=!0,t.members=this.flowEnumStringMembers(pe.stringMembers,pe.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(t,"EnumStringBody");case"symbol":return t.members=pe.defaultedMembers,this.expect(8),this.finishNode(t,"EnumSymbolBody");default:{let At=()=>(t.members=[],this.expect(8),this.finishNode(t,"EnumStringBody"));t.explicitType=!1;let ar=pe.booleanMembers.length,m=pe.numberMembers.length,E=pe.stringMembers.length,g=pe.defaultedMembers.length;if(!ar&&!m&&!E&&!g)return At();if(!ar&&!m)return t.members=this.flowEnumStringMembers(pe.stringMembers,pe.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(t,"EnumStringBody");if(!m&&!E&&ar>=g){for(let A of pe.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(A.loc.start,{enumName:p,memberName:A.id.name});return t.members=pe.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody")}else if(!ar&&!E&&m>=g){for(let A of pe.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(A.loc.start,{enumName:p,memberName:A.id.name});return t.members=pe.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody")}else return this.raise(ve.EnumInconsistentMemberValues,{at:D,enumName:p}),At()}}}flowParseEnumDeclaration(t){let u=this.parseIdentifier();return t.id=u,t.body=this.flowEnumBody(this.startNode(),u),this.finishNode(t,"EnumDeclaration")}isLookaheadToken_lt(){let t=this.nextTokenStart();if(this.input.charCodeAt(t)===60){let u=this.input.charCodeAt(t+1);return u!==60&&u!==61}return!1}maybeUnwrapTypeCastExpression(t){return t.type==="TypeCastExpression"?t.expression:t}},ke={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Ye=Ii(Xt||(Xt=on(["jsx"])))(n=>({AttributeIsEmpty:n("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:n(t=>{let{openingTagName:u}=t;return"Expected corresponding JSX closing tag for <".concat(u,">.")}),MissingClosingTagFragment:n("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:n("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:n(t=>{let{unexpected:u,HTMLEntity:p}=t;return"Unexpected token `".concat(u,"`. Did you mean `").concat(p,"` or `{'").concat(u,"'}`?")}),UnsupportedJsxValue:n("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:n("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:n("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?")}));function Ue(n){return n?n.type==="JSXOpeningFragment"||n.type==="JSXClosingFragment":!1}function _e(n){if(n.type==="JSXIdentifier")return n.name;if(n.type==="JSXNamespacedName")return n.namespace.name+":"+n.name.name;if(n.type==="JSXMemberExpression")return _e(n.object)+"."+_e(n.property);throw new Error("Node had unexpected type: "+n.type)}var Et=n=>class extends n{jsxReadToken(){let t="",u=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Ye.UnterminatedJsxContent,{at:this.state.startLoc});let p=this.input.charCodeAt(this.state.pos);switch(p){case 60:case 123:return this.state.pos===this.state.start?p===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(p):(t+=this.input.slice(u,this.state.pos),this.finishToken(137,t));case 38:t+=this.input.slice(u,this.state.pos),t+=this.jsxReadEntity(),u=this.state.pos;break;case 62:case 125:default:Uo(p)?(t+=this.input.slice(u,this.state.pos),t+=this.jsxReadNewLine(!0),u=this.state.pos):++this.state.pos}}}jsxReadNewLine(t){let u=this.input.charCodeAt(this.state.pos),p;return++this.state.pos,u===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,p=t?`
|
|
273
|
-
`:`\r
|
|
274
|
-
`):p=String.fromCharCode(u),++this.state.curLine,this.state.lineStart=this.state.pos,p}jsxReadString(t){let u="",p=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(dt.UnterminatedString,{at:this.state.startLoc});let D=this.input.charCodeAt(this.state.pos);if(D===t)break;D===38?(u+=this.input.slice(p,this.state.pos),u+=this.jsxReadEntity(),p=this.state.pos):Uo(D)?(u+=this.input.slice(p,this.state.pos),u+=this.jsxReadNewLine(!1),p=this.state.pos):++this.state.pos}return u+=this.input.slice(p,this.state.pos++),this.finishToken(129,u)}jsxReadEntity(){let t=++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 p=this.readInt(u,void 0,!1,"bail");if(p!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(p)}else{let u=0,p=!1;for(;u++<10&&this.state.pos<this.length&&!(p=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(p){let D=this.input.slice(t,this.state.pos),z=ke[D];if(++this.state.pos,z)return z}}return this.state.pos=t,"&"}jsxReadWord(){let t,u=this.state.pos;do t=this.input.charCodeAt(++this.state.pos);while(Ks(t)||t===45);return this.finishToken(136,this.input.slice(u,this.state.pos))}jsxParseIdentifier(){let t=this.startNode();return this.match(136)?t.name=this.state.value:gt(this.state.type)?t.name=zs(this.state.type):this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}jsxParseNamespacedName(){let t=this.state.start,u=this.state.startLoc,p=this.jsxParseIdentifier();if(!this.eat(14))return p;let D=this.startNodeAt(t,u);return D.namespace=p,D.name=this.jsxParseIdentifier(),this.finishNode(D,"JSXNamespacedName")}jsxParseElementName(){let t=this.state.start,u=this.state.startLoc,p=this.jsxParseNamespacedName();if(p.type==="JSXNamespacedName")return p;for(;this.eat(16);){let D=this.startNodeAt(t,u);D.object=p,D.property=this.jsxParseIdentifier(),p=this.finishNode(D,"JSXMemberExpression")}return p}jsxParseAttributeValue(){let t;switch(this.state.type){case 5:return t=this.startNode(),this.setContext(ms.brace),this.next(),t=this.jsxParseExpressionContainer(t,ms.j_oTag),t.expression.type==="JSXEmptyExpression"&&this.raise(Ye.AttributeIsEmpty,{at:t}),t;case 138:case 129:return this.parseExprAtom();default:throw this.raise(Ye.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let t=this.startNodeAt(this.state.lastTokEndLoc.index,this.state.lastTokEndLoc);return this.finishNodeAt(t,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(t){return this.next(),t.expression=this.parseExpression(),this.setContext(ms.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadChild")}jsxParseExpressionContainer(t,u){if(this.match(8))t.expression=this.jsxParseEmptyExpression();else{let p=this.parseExpression();t.expression=p}return this.setContext(u),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXExpressionContainer")}jsxParseAttribute(){let t=this.startNode();return this.match(5)?(this.setContext(ms.brace),this.next(),this.expect(21),t.argument=this.parseMaybeAssignAllowIn(),this.setContext(ms.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(t,"JSXSpreadAttribute")):(t.name=this.jsxParseNamespacedName(),t.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(t,"JSXAttribute"))}jsxParseOpeningElementAt(t,u){let p=this.startNodeAt(t,u);return this.eat(139)?this.finishNode(p,"JSXOpeningFragment"):(p.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(p))}jsxParseOpeningElementAfterName(t){let u=[];for(;!this.match(56)&&!this.match(139);)u.push(this.jsxParseAttribute());return t.attributes=u,t.selfClosing=this.eat(56),this.expect(139),this.finishNode(t,"JSXOpeningElement")}jsxParseClosingElementAt(t,u){let p=this.startNodeAt(t,u);return this.eat(139)?this.finishNode(p,"JSXClosingFragment"):(p.name=this.jsxParseElementName(),this.expect(139),this.finishNode(p,"JSXClosingElement"))}jsxParseElementAt(t,u){let p=this.startNodeAt(t,u),D=[],z=this.jsxParseOpeningElementAt(t,u),pe=null;if(!z.selfClosing){e:for(;;)switch(this.state.type){case 138:if(t=this.state.start,u=this.state.startLoc,this.next(),this.eat(56)){pe=this.jsxParseClosingElementAt(t,u);break e}D.push(this.jsxParseElementAt(t,u));break;case 137:D.push(this.parseExprAtom());break;case 5:{let Ze=this.startNode();this.setContext(ms.brace),this.next(),this.match(21)?D.push(this.jsxParseSpreadChild(Ze)):D.push(this.jsxParseExpressionContainer(Ze,ms.j_expr));break}default:throw this.unexpected()}Ue(z)&&!Ue(pe)&&pe!==null?this.raise(Ye.MissingClosingTagFragment,{at:pe}):!Ue(z)&&Ue(pe)?this.raise(Ye.MissingClosingTagElement,{at:pe,openingTagName:_e(z.name)}):!Ue(z)&&!Ue(pe)&&_e(pe.name)!==_e(z.name)&&this.raise(Ye.MissingClosingTagElement,{at:pe,openingTagName:_e(z.name)})}if(Ue(z)?(p.openingFragment=z,p.closingFragment=pe):(p.openingElement=z,p.closingElement=pe),p.children=D,this.match(47))throw this.raise(Ye.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return Ue(z)?this.finishNode(p,"JSXFragment"):this.finishNode(p,"JSXElement")}jsxParseElement(){let t=this.state.start,u=this.state.startLoc;return this.next(),this.jsxParseElementAt(t,u)}setContext(t){let{context:u}=this.state;u[u.length-1]=t}parseExprAtom(t){return this.match(137)?this.parseLiteral(this.state.value,"JSXText"):this.match(138)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(138),this.jsxParseElement()):super.parseExprAtom(t)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(t){let u=this.curContext();if(u===ms.j_expr)return this.jsxReadToken();if(u===ms.j_oTag||u===ms.j_cTag){if(Ss(t))return this.jsxReadWord();if(t===62)return++this.state.pos,this.finishToken(139);if((t===34||t===39)&&u===ms.j_oTag)return this.jsxReadString(t)}return t===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(t)}updateContext(t){let{context:u,type:p}=this.state;if(p===56&&t===138)u.splice(-2,2,ms.j_cTag),this.state.canStartJSXElement=!1;else if(p===138)u.push(ms.j_oTag);else if(p===139){let D=u[u.length-1];D===ms.j_oTag&&t===56||D===ms.j_cTag?(u.pop(),this.state.canStartJSXElement=u[u.length-1]===ms.j_expr):(this.setContext(ms.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=xi(p)}},Ft=class extends Al{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},Ht=class extends ku{createScope(n){return new Ft(n)}declareName(n,t,u){let p=this.currentScope();if(t&su){this.maybeExportDefined(p,n),p.exportOnlyBindings.add(n);return}super.declareName(...arguments),t&Ua&&(t&Oa||(this.checkRedeclarationInScope(p,n,t,u),this.maybeExportDefined(p,n)),p.types.add(n)),t&vl&&p.enums.add(n),t&zu&&p.constEnums.add(n),t&Au&&p.classes.add(n)}isRedeclaredInScope(n,t,u){if(n.enums.has(t)){if(u&vl){let p=!!(u&zu),D=n.constEnums.has(t);return p!==D}return!0}return u&Au&&n.classes.has(t)?n.lexical.has(t)?!!(u&Oa):!1:u&Ua&&n.types.has(t)?!0:super.isRedeclaredInScope(...arguments)}checkLocalExport(n){let t=this.scopeStack[0],{name:u}=n;!t.types.has(u)&&!t.exportOnlyBindings.has(u)&&super.checkLocalExport(n)}},un=(n,t)=>Object.hasOwnProperty.call(n,t)&&n[t];function Mn(n){if(n==null)throw new Error("Unexpected ".concat(n," value."));return n}function Hn(n){if(!n)throw new Error("Assert fail")}function bi(n){return Si(n)||ha(n)}var en=Ii(tr||(tr=on(["typescript"])))(n=>({AbstractMethodHasImplementation:n(t=>{let{methodName:u}=t;return"Method '".concat(u,"' cannot have an implementation because it is marked abstract.")}),AbstractPropertyHasInitializer:n(t=>{let{propertyName:u}=t;return"Property '".concat(u,"' cannot have an initializer because it is marked abstract.")}),AccesorCannotDeclareThisParameter:n("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:n("An accessor cannot have type parameters."),CannotFindName:n(t=>{let{name:u}=t;return"Cannot find name '".concat(u,"'.")}),ClassMethodHasDeclare:n("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:n("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:n("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:n("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:n(t=>{let{kind:u}=t;return"'declare' is not allowed in ".concat(u,"ters.")}),DeclareClassFieldHasInitializer:n("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:n("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:n(t=>"Accessibility modifier already seen."),DuplicateModifier:n(t=>{let{modifier:u}=t;return"Duplicate modifier: '".concat(u,"'.")}),EmptyHeritageClauseType:n(t=>{let{token:u}=t;return"'".concat(u,"' list cannot be empty.")}),EmptyTypeArguments:n("Type argument list cannot be empty."),EmptyTypeParameters:n("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:n("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:n("An import alias can not use 'import type'."),IncompatibleModifiers:n(t=>{let{modifiers:u}=t;return"'".concat(u[0],"' modifier cannot be used with '").concat(u[1],"' modifier.")}),IndexSignatureHasAbstract:n("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:n(t=>{let{modifier:u}=t;return"Index signatures cannot have an accessibility modifier ('".concat(u,"').")}),IndexSignatureHasDeclare:n("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:n("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:n("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:n("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:n(t=>{let{modifier:u}=t;return"'".concat(u,"' modifier cannot appear on a type member.")}),InvalidModifierOnTypeParameter:n(t=>{let{modifier:u}=t;return"'".concat(u,"' modifier cannot appear on a type parameter.")}),InvalidModifierOnTypeParameterPositions:n(t=>{let{modifier:u}=t;return"'".concat(u,"' modifier can only appear on a type parameter of a class, interface or type alias.")}),InvalidModifiersOrder:n(t=>{let{orderedModifiers:u}=t;return"'".concat(u[0],"' modifier must precede '").concat(u[1],"' modifier.")}),InvalidTupleMemberLabel:n("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:n("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:n("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:n("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:n("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:n("A required element cannot follow an optional element."),OverrideNotInSubClass:n("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:n("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:n("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:n(t=>{let{modifier:u}=t;return"Private elements cannot have an accessibility modifier ('".concat(u,"').")}),ReadonlyForMethodSignature:n("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:n("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`."),ReservedTypeAssertion:n("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:n("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:n("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:n("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:n(t=>{let{typeParameterName:u}=t;return"Single type parameter ".concat(u," should have a trailing comma. Example usage: <").concat(u,",>.")}),StaticBlockCannotHaveModifier:n("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:n("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:n("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:n("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:n("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:n("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:n("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:n("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:n("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:n("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:n("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:n(t=>{let{type:u}=t;return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ".concat(u,".")})}));function Bi(n){switch(n){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 di(n){return n==="private"||n==="public"||n==="protected"}function Ci(n){return n==="in"||n==="out"}var Dn=n=>class extends n{getScopeHandler(){return Ht}tsIsIdentifier(){return Ln(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(t,u){if(!Ln(this.state.type)&&this.state.type!==58)return;let p=this.state.value;if(t.indexOf(p)!==-1){if(u&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return p}}tsParseModifiers(t){let{modified:u,allowedModifiers:p,disallowedModifiers:D,stopOnStartOfClassStaticBlock:z,errorTemplate:pe=en.InvalidModifierOnTypeMember}=t,Ze=(ar,m,E,g)=>{m===E&&u[g]&&this.raise(en.InvalidModifiersOrder,{at:ar,orderedModifiers:[E,g]})},At=(ar,m,E,g)=>{(u[E]&&m===g||u[g]&&m===E)&&this.raise(en.IncompatibleModifiers,{at:ar,modifiers:[E,g]})};for(;;){let{startLoc:ar}=this.state,m=this.tsParseModifier(p.concat(D!=null?D:[]),z);if(!m)break;di(m)?u.accessibility?this.raise(en.DuplicateAccessibilityModifier,{at:ar,modifier:m}):(Ze(ar,m,m,"override"),Ze(ar,m,m,"static"),Ze(ar,m,m,"readonly"),u.accessibility=m):Ci(m)?(u[m]&&this.raise(en.DuplicateModifier,{at:ar,modifier:m}),u[m]=!0,Ze(ar,m,"in","out")):(Object.hasOwnProperty.call(u,m)?this.raise(en.DuplicateModifier,{at:ar,modifier:m}):(Ze(ar,m,"static","readonly"),Ze(ar,m,"static","override"),Ze(ar,m,"override","readonly"),Ze(ar,m,"abstract","override"),At(ar,m,"declare","override"),At(ar,m,"static","abstract")),u[m]=!0),D!=null&&D.includes(m)&&this.raise(pe,{at:ar,modifier:m})}}tsIsListTerminator(t){switch(t){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)}throw new Error("Unreachable")}tsParseList(t,u){let p=[];for(;!this.tsIsListTerminator(t);)p.push(u());return p}tsParseDelimitedList(t,u,p){return Mn(this.tsParseDelimitedListWorker(t,u,!0,p))}tsParseDelimitedListWorker(t,u,p,D){let z=[],pe=-1;for(;!this.tsIsListTerminator(t);){pe=-1;let Ze=u();if(Ze==null)return;if(z.push(Ze),this.eat(12)){pe=this.state.lastTokStart;continue}if(this.tsIsListTerminator(t))break;p&&this.expect(12);return}return D&&(D.value=pe),z}tsParseBracketedList(t,u,p,D,z){D||(p?this.expect(0):this.expect(47));let pe=this.tsParseDelimitedList(t,u,z);return p?this.expect(3):this.expect(48),pe}tsParseImportType(){let t=this.startNode();return this.expect(83),this.expect(10),this.match(129)||this.raise(en.UnsupportedImportTypeArgument,{at:this.state.startLoc}),t.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(t.qualifier=this.tsParseEntityName()),this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSImportType")}tsParseEntityName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,u=this.parseIdentifier(t);for(;this.eat(16);){let p=this.startNodeAtNode(u);p.left=u,p.right=this.parseIdentifier(t),u=this.finishNode(p,"TSQualifiedName")}return u}tsParseTypeReference(){let t=this.startNode();return t.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeReference")}tsParseThisTypePredicate(t){this.next();let u=this.startNodeAtNode(t);return u.parameterName=t,u.typeAnnotation=this.tsParseTypeAnnotation(!1),u.asserts=!1,this.finishNode(u,"TSTypePredicate")}tsParseThisTypeNode(){let t=this.startNode();return this.next(),this.finishNode(t,"TSThisType")}tsParseTypeQuery(){let t=this.startNode();return this.expect(87),this.match(83)?t.exprName=this.tsParseImportType():t.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeQuery")}tsParseInOutModifiers(t){this.tsParseModifiers({modified:t,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:en.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(t){this.tsParseModifiers({modified:t,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:en.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.tsParseNoneModifiers.bind(this),u=this.startNode();return t(u),u.name=this.tsParseTypeParameterName(),u.constraint=this.tsEatThenParseType(81),u.default=this.tsEatThenParseType(29),this.finishNode(u,"TSTypeParameter")}tsTryParseTypeParameters(t){if(this.match(47))return this.tsParseTypeParameters(t)}tsParseTypeParameters(t){let u=this.startNode();this.match(47)||this.match(138)?this.next():this.unexpected();let p={value:-1};return u.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,t),!1,!0,p),u.params.length===0&&this.raise(en.EmptyTypeParameters,{at:u}),p.value!==-1&&this.addExtra(u,"trailingComma",p.value),this.finishNode(u,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(this.lookahead().type!==75)return null;this.next();let t=this.tsParseTypeReference();return t.typeParameters&&this.raise(en.CannotFindName,{at:t.typeName,name:"const"}),t}tsFillSignature(t,u){let p=t===19,D="parameters",z="typeAnnotation";u.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),u[D]=this.tsParseBindingListForSignature(),p?u[z]=this.tsParseTypeOrTypePredicateAnnotation(t):this.match(t)&&(u[z]=this.tsParseTypeOrTypePredicateAnnotation(t))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map(t=>(t.type!=="Identifier"&&t.type!=="RestElement"&&t.type!=="ObjectPattern"&&t.type!=="ArrayPattern"&&this.raise(en.UnsupportedSignatureParameterKind,{at:t,type:t.type}),t))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(t,u){return this.tsFillSignature(14,u),this.tsParseTypeMemberSemicolon(),this.finishNode(u,t)}tsIsUnambiguouslyIndexSignature(){return this.next(),Ln(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(t){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),t.parameters=[u];let p=this.tsTryParseTypeAnnotation();return p&&(t.typeAnnotation=p),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSIndexSignature")}tsParsePropertyOrMethodSignature(t,u){this.eat(17)&&(t.optional=!0);let p=t;if(this.match(10)||this.match(47)){u&&this.raise(en.ReadonlyForMethodSignature,{at:t});let D=p;D.kind&&this.match(47)&&this.raise(en.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,D),this.tsParseTypeMemberSemicolon();let z="parameters",pe="typeAnnotation";if(D.kind==="get")D[z].length>0&&(this.raise(dt.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(D[z][0])&&this.raise(en.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(D.kind==="set"){if(D[z].length!==1)this.raise(dt.BadSetterArity,{at:this.state.curPosition()});else{let Ze=D[z][0];this.isThisParam(Ze)&&this.raise(en.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),Ze.type==="Identifier"&&Ze.optional&&this.raise(en.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),Ze.type==="RestElement"&&this.raise(en.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}D[pe]&&this.raise(en.SetAccesorCannotHaveReturnType,{at:D[pe]})}else D.kind="method";return this.finishNode(D,"TSMethodSignature")}else{let D=p;u&&(D.readonly=!0);let z=this.tsTryParseTypeAnnotation();return z&&(D.typeAnnotation=z),this.tsParseTypeMemberSemicolon(),this.finishNode(D,"TSPropertySignature")}}tsParseTypeMember(){let t=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(77)){let p=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(p,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}return this.tsParseModifiers({modified:t,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(t)||(this.parsePropertyName(t),!t.computed&&t.key.type==="Identifier"&&(t.key.name==="get"||t.key.name==="set")&&this.tsTokenCanFollowModifier()&&(t.kind=t.key.name,this.parsePropertyName(t)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))}tsParseTypeLiteral(){let t=this.startNode();return t.members=this.tsParseObjectTypeMembers(),this.finishNode(t,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let t=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),t}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(118):(this.isContextual(118)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),this.finishNode(t,"TSTypeParameter")}tsParseMappedType(){let t=this.startNode();return this.expect(5),this.match(53)?(t.readonly=this.state.value,this.next(),this.expectContextual(118)):this.eatContextual(118)&&(t.readonly=!0),this.expect(0),t.typeParameter=this.tsParseMappedTypeParameter(),t.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(t.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(t.optional=!0),t.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(t,"TSMappedType")}tsParseTupleType(){let t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let u=!1,p=null;return t.elementTypes.forEach(D=>{var z;let{type:pe}=D;u&&pe!=="TSRestType"&&pe!=="TSOptionalType"&&!(pe==="TSNamedTupleMember"&&D.optional)&&this.raise(en.OptionalTypeBeforeRequired,{at:D}),u=u||pe==="TSNamedTupleMember"&&D.optional||pe==="TSOptionalType",pe==="TSRestType"&&(D=D.typeAnnotation,pe=D.type);let Ze=pe==="TSNamedTupleMember";p=(z=p)!=null?z:Ze,p!==Ze&&this.raise(en.MixedLabeledAndUnlabeledElements,{at:D})}),this.finishNode(t,"TSTupleType")}tsParseTupleElementType(){let{start:t,startLoc:u}=this.state,p=this.eat(21),D=this.tsParseType(),z=this.eat(17);if(this.eat(14)){let pe=this.startNodeAtNode(D);pe.optional=z,D.type==="TSTypeReference"&&!D.typeParameters&&D.typeName.type==="Identifier"?pe.label=D.typeName:(this.raise(en.InvalidTupleMemberLabel,{at:D}),pe.label=D),pe.elementType=this.tsParseType(),D=this.finishNode(pe,"TSNamedTupleMember")}else if(z){let pe=this.startNodeAtNode(D);pe.typeAnnotation=D,D=this.finishNode(pe,"TSOptionalType")}if(p){let pe=this.startNodeAt(t,u);pe.typeAnnotation=D,D=this.finishNode(pe,"TSRestType")}return D}tsParseParenthesizedType(){let t=this.startNode();return this.expect(10),t.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(t,"TSParenthesizedType")}tsParseFunctionOrConstructorType(t,u){let p=this.startNode();return t==="TSConstructorType"&&(p.abstract=!!u,u&&this.next(),this.next()),this.tsFillSignature(19,p),this.finishNode(p,t)}tsParseLiteralTypeNode(){let t=this.startNode();return t.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(t,"TSLiteralType")}tsParseTemplateLiteralType(){let t=this.startNode();return t.literal=this.parseTemplate(!1),this.finishNode(t,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let t=this.tsParseThisTypeNode();return this.isContextual(113)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(t):t}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let t=this.startNode(),u=this.lookahead();if(u.type!==130&&u.type!==131)throw this.unexpected();return t.literal=this.parseMaybeUnary(),this.finishNode(t,"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:t}=this.state;if(Ln(t)||t===88||t===84){let u=t===88?"TSVoidKeyword":t===84?"TSNullKeyword":Bi(this.state.value);if(u!==void 0&&this.lookaheadCharCode()!==46){let p=this.startNode();return this.next(),this.finishNode(p,u)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let u=this.startNodeAtNode(t);u.elementType=t,this.expect(3),t=this.finishNode(u,"TSArrayType")}else{let u=this.startNodeAtNode(t);u.objectType=t,u.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(u,"TSIndexedAccessType")}return t}tsParseTypeOperator(){let t=this.startNode(),u=this.state.value;return this.next(),t.operator=u,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),u==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(t),this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(t){switch(t.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(en.UnexpectedReadonly,{at:t})}}tsParseInferType(){let t=this.startNode();this.expectContextual(112);let u=this.startNode();return u.name=this.tsParseTypeParameterName(),u.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),t.typeParameter=this.finishNode(u,"TSTypeParameter"),this.finishNode(t,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let t=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return t}}tsParseTypeOperatorOrHigher(){return Vi(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(t,u,p){let D=this.startNode(),z=this.eat(p),pe=[];do pe.push(u());while(this.eat(p));return pe.length===1&&!z?pe[0]:(D.types=pe,this.finishNode(D,t))}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(Ln(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:t}=this.state,u=t.length;try{return this.parseObjectLike(8,!0),t.length===u}catch{return!1}}if(this.match(0)){this.next();let{errors:t}=this.state,u=t.length;try{return this.parseBindingList(3,93,!0),t.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(t){return this.tsInType(()=>{let u=this.startNode();this.expect(t);let p=this.startNode(),D=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(D&&this.match(78)){let Ze=this.tsParseThisTypeOrThisTypePredicate();return Ze.type==="TSThisType"?(p.parameterName=Ze,p.asserts=!0,p.typeAnnotation=null,Ze=this.finishNode(p,"TSTypePredicate")):(this.resetStartLocationFromNode(Ze,p),Ze.asserts=!0),u.typeAnnotation=Ze,this.finishNode(u,"TSTypeAnnotation")}let z=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!z)return D?(p.parameterName=this.parseIdentifier(),p.asserts=D,p.typeAnnotation=null,u.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(u,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,u);let pe=this.tsParseTypeAnnotation(!1);return p.parameterName=z,p.typeAnnotation=pe,p.asserts=D,u.typeAnnotation=this.finishNode(p,"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 t=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak())return this.next(),t}tsParseTypePredicateAsserts(){if(this.state.type!==106)return!1;let t=this.state.containsEsc;return this.next(),!Ln(this.state.type)&&!this.match(78)?!1:(t&&this.raise(dt.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(){let t=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(()=>{t&&this.expect(14),u.typeAnnotation=this.tsParseType()}),this.finishNode(u,"TSTypeAnnotation")}tsParseType(){Hn(this.state.inType);let t=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return t;let u=this.startNodeAtNode(t);return u.checkType=t,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(120)&&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(en.ReservedTypeAssertion,{at:this.state.startLoc});let t=this.startNode(),u=this.tsTryNextParseConstantContext();return t.typeAnnotation=u||this.tsNextThenParseType(),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}tsParseHeritageClause(t){let u=this.state.startLoc,p=this.tsParseDelimitedList("HeritageClauseElement",()=>{let D=this.startNode();return D.expression=this.tsParseEntityName(),this.match(47)&&(D.typeParameters=this.tsParseTypeArguments()),this.finishNode(D,"TSExpressionWithTypeArguments")});return p.length||this.raise(en.EmptyHeritageClauseType,{at:u,token:t}),p}tsParseInterfaceDeclaration(t){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(125),u.declare&&(t.declare=!0),Ln(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,Tu)):(t.id=null,this.raise(en.MissingInterfaceName,{at:this.state.startLoc})),t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(81)&&(t.extends=this.tsParseHeritageClause("extends"));let p=this.startNode();return p.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),t.body=this.finishNode(p,"TSInterfaceBody"),this.finishNode(t,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(t){return t.id=this.parseIdentifier(),this.checkIdentifier(t.id,ol),t.typeAnnotation=this.tsInType(()=>{if(t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.expect(29),this.isContextual(111)&&this.lookahead().type!==16){let u=this.startNode();return this.next(),this.finishNode(u,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(t,"TSTypeAliasDeclaration")}tsInNoContext(t){let u=this.state.context;this.state.context=[u[0]];try{return t()}finally{this.state.context=u}}tsInType(t){let u=this.state.inType;this.state.inType=!0;try{return t()}finally{this.state.inType=u}}tsInDisallowConditionalTypesContext(t){let u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return t()}finally{this.state.inDisallowConditionalTypesContext=u}}tsInAllowConditionalTypesContext(t){let u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return t()}finally{this.state.inDisallowConditionalTypesContext=u}}tsEatThenParseType(t){return this.match(t)?this.tsNextThenParseType():void 0}tsExpectThenParseType(t){return this.tsDoThenParseType(()=>this.expect(t))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(t){return this.tsInType(()=>(t(),this.tsParseType()))}tsParseEnumMember(){let t=this.startNode();return t.id=this.match(129)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(t.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(t,"TSEnumMember")}tsParseEnumDeclaration(t){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u.const&&(t.const=!0),u.declare&&(t.declare=!0),this.expectContextual(122),t.id=this.parseIdentifier(),this.checkIdentifier(t.id,t.const?uo:oo),this.expect(5),t.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(t,"TSEnumDeclaration")}tsParseModuleBlock(){let t=this.startNode();return this.scope.enter(Co),this.expect(5),this.parseBlockOrModuleBlockBody(t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(t){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.id=this.parseIdentifier(),u||this.checkIdentifier(t.id,ul),this.eat(16)){let p=this.startNode();this.tsParseModuleOrNamespaceDeclaration(p,!0),t.body=p}else this.scope.enter(iu),this.prodParam.enter(uu),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(t,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(t){return this.isContextual(109)?(t.global=!0,t.id=this.parseIdentifier()):this.match(129)?t.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(iu),this.prodParam.enter(uu),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(t,u){t.isExport=u||!1,t.id=this.parseIdentifier(),this.checkIdentifier(t.id,so),this.expect(29);let p=this.tsParseModuleReference();return t.importKind==="type"&&p.type!=="TSExternalModuleReference"&&this.raise(en.ImportAliasHasImportType,{at:p}),t.moduleReference=p,this.semicolon(),this.finishNode(t,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let t=this.startNode();if(this.expectContextual(116),this.expect(10),!this.match(129))throw this.unexpected();return t.expression=this.parseExprAtom(),this.expect(11),this.finishNode(t,"TSExternalModuleReference")}tsLookAhead(t){let u=this.state.clone(),p=t();return this.state=u,p}tsTryParseAndCatch(t){let u=this.tryParse(p=>t()||p());if(!(u.aborted||!u.node))return u.error&&(this.state=u.failState),u.node}tsTryParse(t){let u=this.state.clone(),p=t();if(p!==void 0&&p!==!1)return p;this.state=u}tsTryParseDeclare(t){if(this.isLineTerminator())return;let u=this.state.type,p;return this.isContextual(99)&&(u=74,p="let"),this.tsInAmbientContext(()=>{if(u===68)return t.declare=!0,this.parseFunctionStatement(t,!1,!0);if(u===80)return t.declare=!0,this.parseClass(t,!0,!1);if(u===122)return this.tsParseEnumDeclaration(t,{declare:!0});if(u===109)return this.tsParseAmbientExternalModuleDeclaration(t);if(u===75||u===74)return!this.match(75)||!this.isLookaheadContextual("enum")?(t.declare=!0,this.parseVarStatement(t,p||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(t,{const:!0,declare:!0}));if(u===125){let D=this.tsParseInterfaceDeclaration(t,{declare:!0});if(D)return D}if(Ln(u))return this.tsParseDeclaration(t,this.state.value,!0)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(t,u){switch(u.name){case"declare":{let p=this.tsTryParseDeclare(t);if(p)return p.declare=!0,p;break}case"global":if(this.match(5)){this.scope.enter(iu),this.prodParam.enter(uu);let p=t;return p.global=!0,p.id=u,p.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(p,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,u.name,!1)}}tsParseDeclaration(t,u,p){switch(u){case"abstract":if(this.tsCheckLineTerminator(p)&&(this.match(80)||Ln(this.state.type)))return this.tsParseAbstractDeclaration(t);break;case"module":if(this.tsCheckLineTerminator(p)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(t);if(Ln(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t)}break;case"namespace":if(this.tsCheckLineTerminator(p)&&Ln(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminator(p)&&Ln(this.state.type))return this.tsParseTypeAliasDeclaration(t);break}}tsCheckLineTerminator(t){return t?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(t,u){if(!this.match(47))return;let p=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let D=this.tsTryParseAndCatch(()=>{let z=this.startNodeAt(t,u);return z.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(z),z.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),z});if(this.state.maybeInArrowParameters=p,!!D)return this.parseArrowExpression(D,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let t=this.startNode();return t.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),t.params.length===0&&this.raise(en.EmptyTypeArguments,{at:t}),this.expect(48),this.finishNode(t,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return vs(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(t,u){let p=this.state.start,D=this.state.startLoc,z,pe=!1,Ze=!1;if(t!==void 0){let m={};this.tsParseModifiers({modified:m,allowedModifiers:["public","private","protected","override","readonly"]}),z=m.accessibility,Ze=m.override,pe=m.readonly,t===!1&&(z||pe||Ze)&&this.raise(en.UnexpectedParameterModifier,{at:D})}let At=this.parseMaybeDefault();this.parseAssignableListItemTypes(At);let ar=this.parseMaybeDefault(At.start,At.loc.start,At);if(z||pe||Ze){let m=this.startNodeAt(p,D);return u.length&&(m.decorators=u),z&&(m.accessibility=z),pe&&(m.readonly=pe),Ze&&(m.override=Ze),ar.type!=="Identifier"&&ar.type!=="AssignmentPattern"&&this.raise(en.UnsupportedParameterPropertyKind,{at:m}),m.parameter=ar,this.finishNode(m,"TSParameterProperty")}return u.length&&(At.decorators=u),ar}isSimpleParameter(t){return t.type==="TSParameterProperty"&&super.isSimpleParameter(t.parameter)||super.isSimpleParameter(t)}parseFunctionBodyAndFinish(t,u){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.match(14)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let D=u==="FunctionDeclaration"?"TSDeclareFunction":u==="ClassMethod"||u==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(D&&!this.match(5)&&this.isLineTerminator()){this.finishNode(t,D);return}if(D==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(en.DeclareFunctionHasImplementation,{at:t}),t.declare)){super.parseFunctionBodyAndFinish(t,D,p);return}super.parseFunctionBodyAndFinish(t,u,p)}registerFunctionStatementId(t){!t.body&&t.id?this.checkIdentifier(t.id,au):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(t){t.forEach(u=>{(u==null?void 0:u.type)==="TSTypeCastExpression"&&this.raise(en.UnexpectedTypeAnnotation,{at:u.typeAnnotation})})}toReferencedList(t,u){return this.tsCheckForInvalidTypeCasts(t),t}parseArrayLike(){let t=super.parseArrayLike(...arguments);return t.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(t.elements),t}parseSubscript(t,u,p,D,z){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let Ze=this.startNodeAt(u,p);return Ze.expression=t,this.finishNode(Ze,"TSNonNullExpression")}let pe=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(D)return z.stop=!0,t;z.optionalChainMember=pe=!0,this.next()}if(this.match(47)||this.match(51)){let Ze,At=this.tsTryParseAndCatch(()=>{if(!D&&this.atPossibleAsyncArrow(t)){let E=this.tsTryParseGenericAsyncArrowFunction(u,p);if(E)return E}let ar=this.tsParseTypeArgumentsInExpression();if(!ar)throw this.unexpected();if(pe&&!this.match(10))throw Ze=this.state.curPosition(),this.unexpected();if(ws(this.state.type)){let E=this.parseTaggedTemplateExpression(t,u,p,z);return E.typeParameters=ar,E}if(!D&&this.eat(10)){let E=this.startNodeAt(u,p);return E.callee=t,E.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(E.arguments),E.typeParameters=ar,z.optionalChainMember&&(E.optional=pe),this.finishCallExpression(E,z.optionalChainMember)}if(bi(this.state.type)&&this.state.type!==10)throw this.unexpected();let m=this.startNodeAt(u,p);return m.expression=t,m.typeParameters=ar,this.finishNode(m,"TSInstantiationExpression")});if(Ze&&this.unexpected(Ze,10),At)return At}return super.parseSubscript(t,u,p,D,z)}parseNewCallee(t){var u;super.parseNewCallee(t);let{callee:p}=t;p.type==="TSInstantiationExpression"&&!((u=p.extra)!=null&&u.parenthesized)&&(t.typeParameters=p.typeParameters,t.callee=p.expression)}parseExprOp(t,u,p,D){if(Us(58)>D&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){let z=this.startNodeAt(u,p);z.expression=t;let pe=this.tsTryNextParseConstantContext();return pe?z.typeAnnotation=pe:z.typeAnnotation=this.tsNextThenParseType(),this.finishNode(z,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(z,u,p,D)}return super.parseExprOp(t,u,p,D)}checkReservedWord(t,u,p,D){this.state.isAmbientContext||super.checkReservedWord(t,u,p,D)}checkDuplicateExports(){}parseImport(t){if(t.importKind="value",Ln(this.state.type)||this.match(55)||this.match(5)){let p=this.lookahead();if(this.isContextual(126)&&p.type!==12&&p.type!==97&&p.type!==29&&(t.importKind="type",this.next(),p=this.lookahead()),Ln(this.state.type)&&p.type===29)return this.tsParseImportEqualsDeclaration(t)}let u=super.parseImport(t);return u.importKind==="type"&&u.specifiers.length>1&&u.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(en.TypeImportCannotSpecifyDefaultAndNamed,{at:u}),u}parseExport(t){if(this.match(83))return this.next(),this.isContextual(126)&&this.lookaheadCharCode()!==61?(t.importKind="type",this.next()):t.importKind="value",this.tsParseImportEqualsDeclaration(t,!0);if(this.eat(29)){let u=t;return u.expression=this.parseExpression(),this.semicolon(),this.finishNode(u,"TSExportAssignment")}else if(this.eatContextual(93)){let u=t;return this.expectContextual(124),u.id=this.parseIdentifier(),this.semicolon(),this.finishNode(u,"TSNamespaceExportDeclaration")}else return this.isContextual(126)&&this.lookahead().type===5?(this.next(),t.exportKind="type"):t.exportKind="value",super.parseExport(t)}isAbstractClass(){return this.isContextual(120)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0),t}if(this.match(125)){let t=this.tsParseInterfaceDeclaration(this.startNode());if(t)return t}return super.parseExportDefaultExpression()}parseVarStatement(t,u){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,{isAmbientContext:D}=this.state,z=super.parseVarStatement(t,u,p||D);if(!D)return z;for(let{id:pe,init:Ze}of z.declarations)!Ze||(u!=="const"||!!pe.typeAnnotation?this.raise(en.InitializerNotAllowedInAmbientContext,{at:Ze}):Ze.type!=="StringLiteral"&&Ze.type!=="BooleanLiteral"&&Ze.type!=="NumericLiteral"&&Ze.type!=="BigIntLiteral"&&(Ze.type!=="TemplateLiteral"||Ze.expressions.length>0)&&!Gr(Ze)&&this.raise(en.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:Ze}));return z}parseStatementContent(t,u){if(this.match(75)&&this.isLookaheadContextual("enum")){let p=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(p,{const:!0})}if(this.isContextual(122))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(125)){let p=this.tsParseInterfaceDeclaration(this.startNode());if(p)return p}return super.parseStatementContent(t,u)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(t,u){return u.some(p=>di(p)?t.accessibility===p:!!t[p])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(t,u,p){let D=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:u,allowedModifiers:D,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:en.InvalidModifierOnTypeParameterPositions});let z=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(u,D)&&this.raise(en.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),this.parseClassStaticBlock(t,u)):this.parseClassMemberWithIsStatic(t,u,p,!!u.static)};u.declare?this.tsInAmbientContext(z):z()}parseClassMemberWithIsStatic(t,u,p,D){let z=this.tsTryParseIndexSignature(u);if(z){t.body.push(z),u.abstract&&this.raise(en.IndexSignatureHasAbstract,{at:u}),u.accessibility&&this.raise(en.IndexSignatureHasAccessibility,{at:u,modifier:u.accessibility}),u.declare&&this.raise(en.IndexSignatureHasDeclare,{at:u}),u.override&&this.raise(en.IndexSignatureHasOverride,{at:u});return}!this.state.inAbstractClass&&u.abstract&&this.raise(en.NonAbstractClassHasAbstractMethod,{at:u}),u.override&&(p.hadSuperClass||this.raise(en.OverrideNotInSubClass,{at:u})),super.parseClassMemberWithIsStatic(t,u,p,D)}parsePostMemberNameModifiers(t){this.eat(17)&&(t.optional=!0),t.readonly&&this.match(10)&&this.raise(en.ClassMethodHasReadonly,{at:t}),t.declare&&this.match(10)&&this.raise(en.ClassMethodHasDeclare,{at:t})}parseExpressionStatement(t,u){return(u.type==="Identifier"?this.tsParseExpressionStatement(t,u):void 0)||super.parseExpressionStatement(t,u)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(t,u,p,D){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(t,u,p,D);let z=this.tryParse(()=>super.parseConditional(t,u,p));return z.node?(z.error&&(this.state=z.failState),z.node):(z.error&&super.setOptionalParametersError(D,z.error),t)}parseParenItem(t,u,p){if(t=super.parseParenItem(t,u,p),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){let D=this.startNodeAt(u,p);return D.expression=t,D.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(D,"TSTypeCastExpression")}return t}parseExportDeclaration(t){if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext(()=>this.parseExportDeclaration(t));let u=this.state.start,p=this.state.startLoc,D=this.eatContextual(121);if(D&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(en.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let z=Ln(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(t);return z?((z.type==="TSInterfaceDeclaration"||z.type==="TSTypeAliasDeclaration"||D)&&(t.exportKind="type"),D&&(this.resetStartLocation(z,u,p),z.declare=!0),z):null}parseClassId(t,u,p){if((!u||p)&&this.isContextual(110))return;super.parseClassId(t,u,p,t.declare?au:wo);let D=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));D&&(t.typeParameters=D)}parseClassPropertyAnnotation(t){!t.optional&&this.eat(35)&&(t.definite=!0);let u=this.tsTryParseTypeAnnotation();u&&(t.typeAnnotation=u)}parseClassProperty(t){if(this.parseClassPropertyAnnotation(t),this.state.isAmbientContext&&this.match(29)&&this.raise(en.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),t.abstract&&this.match(29)){let{key:u}=t;this.raise(en.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:u.type==="Identifier"&&!t.computed?u.name:"[".concat(this.input.slice(u.start,u.end),"]")})}return super.parseClassProperty(t)}parseClassPrivateProperty(t){return t.abstract&&this.raise(en.PrivateElementHasAbstract,{at:t}),t.accessibility&&this.raise(en.PrivateElementHasAccessibility,{at:t,modifier:t.accessibility}),this.parseClassPropertyAnnotation(t),super.parseClassPrivateProperty(t)}pushClassMethod(t,u,p,D,z,pe){let Ze=this.tsTryParseTypeParameters();Ze&&z&&this.raise(en.ConstructorHasTypeParameters,{at:Ze});let{declare:At=!1,kind:ar}=u;At&&(ar==="get"||ar==="set")&&this.raise(en.DeclareAccessor,{at:u,kind:ar}),Ze&&(u.typeParameters=Ze),super.pushClassMethod(t,u,p,D,z,pe)}pushClassPrivateMethod(t,u,p,D){let z=this.tsTryParseTypeParameters();z&&(u.typeParameters=z),super.pushClassPrivateMethod(t,u,p,D)}declareClassPrivateMethodInScope(t,u){t.type!=="TSDeclareMethod"&&(t.type==="MethodDefinition"&&!t.value.body||super.declareClassPrivateMethodInScope(t,u))}parseClassSuper(t){super.parseClassSuper(t),t.superClass&&(this.match(47)||this.match(51))&&(t.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(110)&&(t.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(t){let u=this.tsTryParseTypeParameters();u&&(t.typeParameters=u);for(var p=arguments.length,D=new Array(p>1?p-1:0),z=1;z<p;z++)D[z-1]=arguments[z];super.parseObjPropValue(t,...D)}parseFunctionParams(t,u){let p=this.tsTryParseTypeParameters();p&&(t.typeParameters=p),super.parseFunctionParams(t,u)}parseVarId(t,u){super.parseVarId(t,u),t.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(t.definite=!0);let p=this.tsTryParseTypeAnnotation();p&&(t.id.typeAnnotation=p,this.resetEndLocation(t.id))}parseAsyncArrowFromCallExpression(t,u){return this.match(14)&&(t.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(t,u)}parseMaybeAssign(){for(var t=arguments.length,u=new Array(t),p=0;p<t;p++)u[p]=arguments[p];var D,z,pe,Ze,At,ar,m;let E,g,A;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(E=this.state.clone(),g=this.tryParse(()=>super.parseMaybeAssign(...u),E),!g.error)return g.node;let{context:x}=this.state,w=x[x.length-1];(w===ms.j_oTag||w===ms.j_expr)&&x.pop()}if(!((D=g)!=null&&D.error)&&!this.match(47))return super.parseMaybeAssign(...u);let C;E=E||this.state.clone();let y=this.tryParse(x=>{var w,k,_;C=this.tsParseTypeParameters();let $=super.parseMaybeAssign(...u);return($.type!=="ArrowFunctionExpression"||(w=$.extra)!=null&&w.parenthesized)&&x(),((k=C)==null?void 0:k.params.length)!==0&&this.resetStartLocationFromNode($,C),$.typeParameters=C,this.hasPlugin("jsx")&&$.typeParameters.params.length===1&&!((_=$.typeParameters.extra)!=null&&_.trailingComma)&&$.typeParameters.params[0].constraint,$},E);if(!y.error&&!y.aborted)return C&&this.reportReservedArrowTypeParam(C),y.node;if(!g&&(Hn(!this.hasPlugin("jsx")),A=this.tryParse(()=>super.parseMaybeAssign(...u),E),!A.error))return A.node;if((z=g)!=null&&z.node)return this.state=g.failState,g.node;if(y.node)return this.state=y.failState,C&&this.reportReservedArrowTypeParam(C),y.node;if((pe=A)!=null&&pe.node)return this.state=A.failState,A.node;throw(Ze=g)!=null&&Ze.thrown?g.error:y.thrown?y.error:(At=A)!=null&&At.thrown?A.error:((ar=g)==null?void 0:ar.error)||y.error||((m=A)==null?void 0:m.error)}reportReservedArrowTypeParam(t){var u;t.params.length===1&&!((u=t.extra)!=null&&u.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(en.ReservedArrowTypeParam,{at:t})}parseMaybeUnary(t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(t)}parseArrow(t){if(this.match(14)){let u=this.tryParse(p=>{let D=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&p(),D});if(u.aborted)return;u.thrown||(u.error&&(this.state=u.failState),t.returnType=u.node)}return super.parseArrow(t)}parseAssignableListItemTypes(t){this.eat(17)&&(t.type!=="Identifier"&&!this.state.isAmbientContext&&!this.state.inType&&this.raise(en.PatternIsOptional,{at:t}),t.optional=!0);let u=this.tsTryParseTypeAnnotation();return u&&(t.typeAnnotation=u),this.resetEndLocation(t),t}isAssignable(t,u){switch(t.type){case"TSTypeCastExpression":return this.isAssignable(t.expression,u);case"TSParameterProperty":return!0;default:return super.isAssignable(t,u)}}toAssignable(t){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;switch(t.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(t,u);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":u?this.expressionScope.recordArrowParemeterBindingError(en.UnexpectedTypeCastInParameter,{at:t}):this.raise(en.UnexpectedTypeCastInParameter,{at:t}),this.toAssignable(t.expression,u);break;case"AssignmentExpression":!u&&t.left.type==="TSTypeCastExpression"&&(t.left=this.typeCastToParameter(t.left));default:super.toAssignable(t,u)}}toAssignableParenthesizedExpression(t,u){switch(t.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(t.expression,u);break;default:super.toAssignable(t,u)}}checkToRestConversion(t,u){switch(t.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(t.expression,!1);break;default:super.checkToRestConversion(t,u)}}isValidLVal(t,u,p){return un({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(p!==Ea||!u)&&["expression",!0],TSTypeAssertion:(p!==Ea||!u)&&["expression",!0]},t)||super.isValidLVal(t,u,p)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(t){if(this.match(47)||this.match(51)){let u=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let p=super.parseMaybeDecoratorArguments(t);return p.typeParameters=u,p}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(t)}checkCommaAfterRest(t){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===t?(this.next(),!1):super.checkCommaAfterRest(t)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(){let t=super.parseMaybeDefault(...arguments);return t.type==="AssignmentPattern"&&t.typeAnnotation&&t.right.start<t.typeAnnotation.start&&this.raise(en.TypeAnnotationAfterAssign,{at:t.typeAnnotation}),t}getTokenFromCode(t){if(this.state.inType){if(t===62)return this.finishOp(48,1);if(t===60)return this.finishOp(47,1)}return super.getTokenFromCode(t)}reScan_lt_gt(){let{type:t}=this.state;t===47?(this.state.pos-=1,this.readToken_lt()):t===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:t}=this.state;return t===51?(this.state.pos-=2,this.finishOp(47,1),47):t}toAssignableList(t){for(let u=0;u<t.length;u++){let p=t[u];(p==null?void 0:p.type)==="TSTypeCastExpression"&&(t[u]=this.typeCastToParameter(p))}super.toAssignableList(...arguments)}typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}shouldParseArrow(t){return this.match(14)?t.every(u=>this.isAssignable(u,!0)):super.shouldParseArrow(t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(t){if(this.match(47)||this.match(51)){let u=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());u&&(t.typeParameters=u)}return super.jsxParseOpeningElementAfterName(t)}getGetterSetterExpectedParamCount(t){let u=super.getGetterSetterExpectedParamCount(t),p=this.getObjectOrClassMethodParams(t)[0];return p&&this.isThisParam(p)?u+1:u}parseCatchClauseParam(){let t=super.parseCatchClauseParam(),u=this.tsTryParseTypeAnnotation();return u&&(t.typeAnnotation=u,this.resetEndLocation(t)),t}tsInAmbientContext(t){let u=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return t()}finally{this.state.isAmbientContext=u}}parseClass(t){let u=this.state.inAbstractClass;this.state.inAbstractClass=!!t.abstract;try{for(var p=arguments.length,D=new Array(p>1?p-1:0),z=1;z<p;z++)D[z-1]=arguments[z];return super.parseClass(t,...D)}finally{this.state.inAbstractClass=u}}tsParseAbstractDeclaration(t){if(this.match(80))return t.abstract=!0,this.parseClass(t,!0,!1);if(this.isContextual(125)){if(!this.hasFollowingLineBreak())return t.abstract=!0,this.raise(en.NonClassMethodPropertyHasAbstractModifer,{at:t}),this.tsParseInterfaceDeclaration(t)}else this.unexpected(null,80)}parseMethod(){let t=super.parseMethod(...arguments);if(t.abstract&&(this.hasPlugin("estree")?!!t.value.body:!!t.body)){let{key:u}=t;this.raise(en.AbstractMethodHasImplementation,{at:t,methodName:u.type==="Identifier"&&!t.computed?u.name:"[".concat(this.input.slice(u.start,u.end),"]")})}return t}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(t,u,p,D){return!u&&D?(this.parseTypeOnlyImportExportSpecifier(t,!1,p),this.finishNode(t,"ExportSpecifier")):(t.exportKind="value",super.parseExportSpecifier(t,u,p,D))}parseImportSpecifier(t,u,p,D){return!u&&D?(this.parseTypeOnlyImportExportSpecifier(t,!0,p),this.finishNode(t,"ImportSpecifier")):(t.importKind="value",super.parseImportSpecifier(t,u,p,D))}parseTypeOnlyImportExportSpecifier(t,u,p){let D=u?"imported":"local",z=u?"local":"exported",pe=t[D],Ze,At=!1,ar=!0,m=pe.loc.start;if(this.isContextual(93)){let g=this.parseIdentifier();if(this.isContextual(93)){let A=this.parseIdentifier();ps(this.state.type)?(At=!0,pe=g,Ze=u?this.parseIdentifier():this.parseModuleExportName(),ar=!1):(Ze=A,ar=!1)}else ps(this.state.type)?(ar=!1,Ze=u?this.parseIdentifier():this.parseModuleExportName()):(At=!0,pe=g)}else ps(this.state.type)&&(At=!0,u?(pe=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(pe.name,pe.loc.start,!0,!0)):pe=this.parseModuleExportName());At&&p&&this.raise(u?en.TypeModifierIsUsedInTypeImports:en.TypeModifierIsUsedInTypeExports,{at:m}),t[D]=pe,t[z]=Ze;let E=u?"importKind":"exportKind";t[E]=At?"type":"value",ar&&this.eatContextual(93)&&(t[z]=u?this.parseIdentifier():this.parseModuleExportName()),t[z]||(t[z]=Y(t[D])),u&&this.checkIdentifier(t[z],so)}};function Gr(n){if(n.type!=="MemberExpression")return!1;let{computed:t,property:u}=n;return t&&u.type!=="StringLiteral"&&(u.type!=="TemplateLiteral"||u.expressions.length>0)?!1:bn(n.object)}function bn(n){return n.type==="Identifier"?!0:n.type!=="MemberExpression"||n.computed?!1:bn(n.object)}var Lr=Ii(zr||(zr=on(["placeholders"])))(n=>({ClassNameIsRequired:n("A class name is required."),UnexpectedSpace:n("Unexpected space in placeholder.")})),Vs=n=>class extends n{parsePlaceholder(t){if(this.match(140)){let u=this.startNode();return this.next(),this.assertNoSpace(),u.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(140),this.finishPlaceholder(u,t)}}finishPlaceholder(t,u){let p=!!(t.expectedNode&&t.type==="Placeholder");return t.expectedNode=u,p?t:this.finishNode(t,"Placeholder")}getTokenFromCode(t){return t===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(140,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(t){t!==void 0&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}isValidLVal(t){for(var u=arguments.length,p=new Array(u>1?u-1:0),D=1;D<u;D++)p[D-1]=arguments[D];return t==="Placeholder"||super.isValidLVal(t,...p)}toAssignable(t){t&&t.type==="Placeholder"&&t.expectedNode==="Expression"?t.expectedNode="Pattern":super.toAssignable(...arguments)}isLet(t){return super.isLet(t)?!0:!this.isContextual(99)||t?!1:this.lookahead().type===140}verifyBreakContinue(t){t.label&&t.label.type==="Placeholder"||super.verifyBreakContinue(...arguments)}parseExpressionStatement(t,u){if(u.type!=="Placeholder"||u.extra&&u.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){let p=t;return p.label=this.finishPlaceholder(u,"Identifier"),this.next(),p.body=this.parseStatement("label"),this.finishNode(p,"LabeledStatement")}return this.semicolon(),t.name=u.name,this.finishPlaceholder(t,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(t,u,p){let D=u?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(t);let z=this.state.strict,pe=this.parsePlaceholder("Identifier");if(pe)if(this.match(81)||this.match(140)||this.match(5))t.id=pe;else{if(p||!u)return t.id=null,t.body=this.finishPlaceholder(pe,"ClassBody"),this.finishNode(t,D);throw this.raise(Lr.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(t,u,p);return this.parseClassSuper(t),t.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!t.superClass,z),this.finishNode(t,D)}parseExport(t){let u=this.parsePlaceholder("Identifier");if(!u)return super.parseExport(...arguments);if(!this.isContextual(97)&&!this.match(12))return t.specifiers=[],t.source=null,t.declaration=this.finishPlaceholder(u,"Declaration"),this.finishNode(t,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let p=this.startNode();return p.exported=u,t.specifiers=[this.finishNode(p,"ExportDefaultSpecifier")],super.parseExport(t)}isExportDefaultSpecifier(){if(this.match(65)){let t=this.nextTokenStart();if(this.isUnparsedContextual(t,"from")&&this.input.startsWith(zs(140),this.nextTokenStartSince(t+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(t){return t.specifiers&&t.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(t){let{specifiers:u}=t;u!=null&&u.length&&(t.specifiers=u.filter(p=>p.exported.type==="Placeholder")),super.checkExport(t),t.specifiers=u}parseImport(t){let u=this.parsePlaceholder("Identifier");if(!u)return super.parseImport(...arguments);if(t.specifiers=[],!this.isContextual(97)&&!this.match(12))return t.source=this.finishPlaceholder(u,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");let p=this.startNodeAtNode(u);return p.local=u,this.finishNode(p,"ImportDefaultSpecifier"),t.specifiers.push(p),this.eat(12)&&(this.maybeParseStarImportSpecifier(t)||this.parseNamedImportSpecifiers(t)),this.expectContextual(97),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Lr.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},xs=n=>class extends n{parseV8Intrinsic(){if(this.match(54)){let t=this.state.startLoc,u=this.startNode();if(this.next(),Ln(this.state.type)){let p=this.parseIdentifierName(this.state.start),D=this.createIdentifier(u,p);if(D.type="V8IntrinsicIdentifier",this.match(10))return D}this.unexpected(t)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}};function ts(n,t){let[u,p]=typeof t=="string"?[t,{}]:t,D=Object.keys(p),z=D.length===0;return n.some(pe=>{if(typeof pe=="string")return z&&pe===u;{let[Ze,At]=pe;if(Ze!==u)return!1;for(let ar of D)if(At[ar]!==p[ar])return!1;return!0}})}function rs(n,t,u){let p=n.find(D=>Array.isArray(D)?D[0]===t:D===t);return p&&Array.isArray(p)?p[1][u]:null}var Gi=["minimal","fsharp","hack","smart"],Qn=["^^","@@","^","%","#"],zi=["hash","bar"];function Fi(n){if(ts(n,"decorators")){if(ts(n,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=rs(n,"decorators","decoratorsBeforeExport");if(t==null)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if(typeof t!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(ts(n,"flow")&&ts(n,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(ts(n,"placeholders")&&ts(n,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(ts(n,"pipelineOperator")){let t=rs(n,"pipelineOperator","proposal");if(!Gi.includes(t)){let p=Gi.map(D=>'"'.concat(D,'"')).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '.concat(p,"."))}let u=ts(n,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(ts(n,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(ts(n,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let p=rs(n,"pipelineOperator","topicToken");if(!Qn.includes(p)){let D=Qn.map(z=>'"'.concat(z,'"')).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '.concat(D,"."))}if(p==="#"&&u)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(t==="smart"&&u)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(ts(n,"moduleAttributes")){if(ts(n,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(rs(n,"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(ts(n,"recordAndTuple")&&!zi.includes(rs(n,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+zi.map(t=>"'".concat(t,"'")).join(", "));if(ts(n,"asyncDoExpressions")&&!ts(n,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}}var ki={estree:Rs,jsx:Et,flow:Oe,typescript:Dn,v8intrinsic:xs,placeholders:Vs},Ut=Object.keys(ki),vr={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};function _r(n){let t={};for(let u of Object.keys(vr))t[u]=n&&n[u]!=null?n[u]:vr[u];return t}var On=(n,t)=>Object.hasOwnProperty.call(n,t)&&n[t],Rt=n=>n.type==="ParenthesizedExpression"?Rt(n.expression):n,oi=class extends Ae{toAssignable(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;var u,p;let D;switch((n.type==="ParenthesizedExpression"||(u=n.extra)!=null&&u.parenthesized)&&(D=Rt(n),t?D.type==="Identifier"?this.expressionScope.recordArrowParemeterBindingError(dt.InvalidParenthesizedAssignment,{at:n}):D.type!=="MemberExpression"&&this.raise(dt.InvalidParenthesizedAssignment,{at:n}):this.raise(dt.InvalidParenthesizedAssignment,{at:n})),n.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":n.type="ObjectPattern";for(let pe=0,Ze=n.properties.length,At=Ze-1;pe<Ze;pe++){var z;let ar=n.properties[pe],m=pe===At;this.toAssignableObjectExpressionProp(ar,m,t),m&&ar.type==="RestElement"&&(z=n.extra)!=null&&z.trailingCommaLoc&&this.raise(dt.RestTrailingComma,{at:n.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:pe,value:Ze}=n;this.isPrivateName(pe)&&this.classScope.usePrivateName(this.getPrivateNameSV(pe),pe.loc.start),this.toAssignable(Ze,t);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":n.type="ArrayPattern",this.toAssignableList(n.elements,(p=n.extra)==null?void 0:p.trailingCommaLoc,t);break;case"AssignmentExpression":n.operator!=="="&&this.raise(dt.MissingEqInAssignment,{at:n.left.loc.end}),n.type="AssignmentPattern",delete n.operator,this.toAssignable(n.left,t);break;case"ParenthesizedExpression":this.toAssignable(D,t);break}}toAssignableObjectExpressionProp(n,t,u){if(n.type==="ObjectMethod")this.raise(n.kind==="get"||n.kind==="set"?dt.PatternHasAccessor:dt.PatternHasMethod,{at:n.key});else if(n.type==="SpreadElement"){n.type="RestElement";let p=n.argument;this.checkToRestConversion(p,!1),this.toAssignable(p,u),t||this.raise(dt.RestTrailingComma,{at:n})}else this.toAssignable(n,u)}toAssignableList(n,t,u){let p=n.length-1;for(let D=0;D<=p;D++){let z=n[D];if(z){if(z.type==="SpreadElement"){z.type="RestElement";let pe=z.argument;this.checkToRestConversion(pe,!0),this.toAssignable(pe,u)}else this.toAssignable(z,u);z.type==="RestElement"&&(D<p?this.raise(dt.RestTrailingComma,{at:z}):t&&this.raise(dt.RestTrailingComma,{at:t}))}}}isAssignable(n,t){switch(n.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let u=n.properties.length-1;return n.properties.every((p,D)=>p.type!=="ObjectMethod"&&(D===u||p.type!=="SpreadElement")&&this.isAssignable(p))}case"ObjectProperty":return this.isAssignable(n.value);case"SpreadElement":return this.isAssignable(n.argument);case"ArrayExpression":return n.elements.every(u=>u===null||this.isAssignable(u));case"AssignmentExpression":return n.operator==="=";case"ParenthesizedExpression":return this.isAssignable(n.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(n,t){return n}toReferencedListDeep(n,t){this.toReferencedList(n,t);for(let u of n)(u==null?void 0:u.type)==="ArrayExpression"&&this.toReferencedListDeep(u.elements)}parseSpread(n,t){let u=this.startNode();return this.next(),u.argument=this.parseMaybeAssignAllowIn(n,void 0,t),this.finishNode(u,"SpreadElement")}parseRestBinding(){let n=this.startNode();return this.next(),n.argument=this.parseBindingAtom(),this.finishNode(n,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let n=this.startNode();return this.next(),n.elements=this.parseBindingList(3,93,!0),this.finishNode(n,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(n,t,u,p){let D=[],z=!0;for(;!this.eat(n);)if(z?z=!1:this.expect(12),u&&this.match(12))D.push(null);else{if(this.eat(n))break;if(this.match(21)){if(D.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(t)){this.expect(n);break}}else{let pe=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(dt.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)pe.push(this.parseDecorator());D.push(this.parseAssignableListItem(p,pe))}}return D}parseBindingRestProperty(n){return this.next(),n.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(n,"RestElement")}parseBindingProperty(){let n=this.startNode(),{type:t,start:u,startLoc:p}=this.state;return t===21?this.parseBindingRestProperty(n):(t===134?(this.expectPlugin("destructuringPrivate",p),this.classScope.usePrivateName(this.state.value,p),n.key=this.parsePrivateName()):this.parsePropertyName(n),n.method=!1,this.parseObjPropValue(n,u,p,!1,!1,!0,!1),n)}parseAssignableListItem(n,t){let u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u);let p=this.parseMaybeDefault(u.start,u.loc.start,u);return t.length&&(u.decorators=t),p}parseAssignableListItemTypes(n){return n}parseMaybeDefault(n,t,u){var p,D,z;if(t=(p=t)!=null?p:this.state.startLoc,n=(D=n)!=null?D:this.state.start,u=(z=u)!=null?z:this.parseBindingAtom(),!this.eat(29))return u;let pe=this.startNodeAt(n,t);return pe.left=u,pe.right=this.parseMaybeAssignAllowIn(),this.finishNode(pe,"AssignmentPattern")}isValidLVal(n,t,u){return On({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},n)}checkLVal(n,t){let{in:u,binding:p=Ea,checkClashes:D=!1,strictModeChanged:z=!1,allowingSloppyLetBinding:pe=!(p&Ya),hasParenthesizedAncestor:Ze=!1}=t;var At;let ar=n.type;if(this.isObjectMethod(n))return;if(ar==="MemberExpression"){p!==Ea&&this.raise(dt.InvalidPropertyBindingPattern,{at:n});return}if(n.type==="Identifier"){this.checkIdentifier(n,p,z,pe);let{name:C}=n;D&&(D.has(C)?this.raise(dt.ParamDupe,{at:n}):D.add(C));return}let m=this.isValidLVal(n.type,!(Ze||(At=n.extra)!=null&&At.parenthesized)&&u.type==="AssignmentExpression",p);if(m===!0)return;if(m===!1){let C=p===Ea?dt.InvalidLhs:dt.InvalidLhsBinding;this.raise(C,{at:n,ancestor:u.type==="UpdateExpression"?{type:"UpdateExpression",prefix:u.prefix}:{type:u.type}});return}let[E,g]=Array.isArray(m)?m:[m,ar==="ParenthesizedExpression"],A=n.type==="ArrayPattern"||n.type==="ObjectPattern"||n.type==="ParenthesizedExpression"?n:u;for(let C of[].concat(n[E]))C&&this.checkLVal(C,{in:A,binding:p,checkClashes:D,allowingSloppyLetBinding:pe,strictModeChanged:z,hasParenthesizedAncestor:g})}checkIdentifier(n,t){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!(t&Ya);this.state.strict&&(u?ma(n.name,this.inModule):ba(n.name))&&(t===Ea?this.raise(dt.StrictEvalArguments,{at:n,referenceName:n.name}):this.raise(dt.StrictEvalArgumentsBinding,{at:n,bindingName:n.name})),!p&&n.name==="let"&&this.raise(dt.LetInLexicalBinding,{at:n}),t&Ea||this.declareNameFromIdentifier(n,t)}declareNameFromIdentifier(n,t){this.scope.declareName(n.name,t,n.loc.start)}checkToRestConversion(n,t){switch(n.type){case"ParenthesizedExpression":this.checkToRestConversion(n.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(dt.InvalidRestAssignmentPattern,{at:n})}}checkCommaAfterRest(n){return this.match(12)?(this.raise(this.lookaheadCharCode()===n?dt.RestTrailingComma:dt.ElementAfterRest,{at:this.state.startLoc}),!0):!1}},Xn=class extends oi{checkProto(n,t,u,p){if(n.type==="SpreadElement"||this.isObjectMethod(n)||n.computed||n.shorthand)return;let D=n.key;if((D.type==="Identifier"?D.name:D.value)==="__proto__"){if(t){this.raise(dt.RecordNoProto,{at:D});return}u.used&&(p?p.doubleProtoLoc===null&&(p.doubleProtoLoc=D.loc.start):this.raise(dt.DuplicateProto,{at:D})),u.used=!0}}shouldExitDescending(n,t){return n.type==="ArrowFunctionExpression"&&n.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let n=this.parseExpression();return this.match(135)||this.unexpected(),this.finalizeRemainingComments(),n.comments=this.state.comments,n.errors=this.state.errors,this.options.tokens&&(n.tokens=this.tokens),n}parseExpression(n,t){return n?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(n){let t=this.state.start,u=this.state.startLoc,p=this.parseMaybeAssign(n);if(this.match(12)){let D=this.startNodeAt(t,u);for(D.expressions=[p];this.eat(12);)D.expressions.push(this.parseMaybeAssign(n));return this.toReferencedList(D.expressions),this.finishNode(D,"SequenceExpression")}return p}parseMaybeAssignDisallowIn(n,t){return this.disallowInAnd(()=>this.parseMaybeAssign(n,t))}parseMaybeAssignAllowIn(n,t){return this.allowInAnd(()=>this.parseMaybeAssign(n,t))}setOptionalParametersError(n,t){var u;n.optionalParametersLoc=(u=t==null?void 0:t.loc)!=null?u:this.state.startLoc}parseMaybeAssign(n,t){let u=this.state.start,p=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){let Ze=this.parseYield();return t&&(Ze=t.call(this,Ze,u,p)),Ze}let D;n?D=!1:(n=new lu,D=!0);let{type:z}=this.state;(z===10||Ln(z))&&(this.state.potentialArrowAt=this.state.start);let pe=this.parseMaybeConditional(n);if(t&&(pe=t.call(this,pe,u,p)),os(this.state.type)){let Ze=this.startNodeAt(u,p),At=this.state.value;return Ze.operator=At,this.match(29)?(this.toAssignable(pe,!0),Ze.left=pe,n.doubleProtoLoc!=null&&n.doubleProtoLoc.index>=u&&(n.doubleProtoLoc=null),n.shorthandAssignLoc!=null&&n.shorthandAssignLoc.index>=u&&(n.shorthandAssignLoc=null),n.privateKeyLoc!=null&&n.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(n),n.privateKeyLoc=null)):Ze.left=pe,this.next(),Ze.right=this.parseMaybeAssign(),this.checkLVal(pe,{in:this.finishNode(Ze,"AssignmentExpression")}),Ze}else D&&this.checkExpressionErrors(n,!0);return pe}parseMaybeConditional(n){let t=this.state.start,u=this.state.startLoc,p=this.state.potentialArrowAt,D=this.parseExprOps(n);return this.shouldExitDescending(D,p)?D:this.parseConditional(D,t,u,n)}parseConditional(n,t,u,p){if(this.eat(17)){let D=this.startNodeAt(t,u);return D.test=n,D.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),D.alternate=this.parseMaybeAssign(),this.finishNode(D,"ConditionalExpression")}return n}parseMaybeUnaryOrPrivate(n){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(n)}parseExprOps(n){let t=this.state.start,u=this.state.startLoc,p=this.state.potentialArrowAt,D=this.parseMaybeUnaryOrPrivate(n);return this.shouldExitDescending(D,p)?D:this.parseExprOp(D,t,u,-1)}parseExprOp(n,t,u,p){if(this.isPrivateName(n)){let z=this.getPrivateNameSV(n);(p>=Us(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(dt.PrivateInExpectedIn,{at:n,identifierName:z}),this.classScope.usePrivateName(z,n.loc.start)}let D=this.state.type;if(Hr(D)&&(this.prodParam.hasIn||!this.match(58))){let z=Us(D);if(z>p){if(D===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return n;this.checkPipelineAtInfixOperator(n,u)}let pe=this.startNodeAt(t,u);pe.left=n,pe.operator=this.state.value;let Ze=D===41||D===42,At=D===40;if(At&&(z=Us(42)),this.next(),D===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(dt.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});pe.right=this.parseExprOpRightExpr(D,z),this.finishNode(pe,Ze||At?"LogicalExpression":"BinaryExpression");let ar=this.state.type;if(At&&(ar===41||ar===42)||Ze&&ar===40)throw this.raise(dt.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(pe,t,u,p)}}return n}parseExprOpRightExpr(n,t){let u=this.state.start,p=this.state.startLoc;switch(n){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(105))throw this.raise(dt.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(n,t),u,p)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}default:return this.parseExprOpBaseRightExpr(n,t)}}parseExprOpBaseRightExpr(n,t){let u=this.state.start,p=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),u,p,gs(n)?t-1:t)}parseHackPipeBody(){var n;let{startLoc:t}=this.state,u=this.parseMaybeAssign();return as.has(u.type)&&!((n=u.extra)!=null&&n.parenthesized)&&this.raise(dt.PipeUnparenthesizedBody,{at:t,type:u.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(dt.PipeTopicUnused,{at:t}),u}checkExponentialAfterUnary(n){this.match(57)&&this.raise(dt.UnexpectedTokenUnaryExponentiation,{at:n.argument})}parseMaybeUnary(n,t){let u=this.state.start,p=this.state.startLoc,D=this.isContextual(96);if(D&&this.isAwaitAllowed()){this.next();let At=this.parseAwait(u,p);return t||this.checkExponentialAfterUnary(At),At}let z=this.match(34),pe=this.startNode();if(En(this.state.type)){pe.operator=this.state.value,pe.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let At=this.match(89);if(this.next(),pe.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(n,!0),this.state.strict&&At){let ar=pe.argument;ar.type==="Identifier"?this.raise(dt.StrictDelete,{at:pe}):this.hasPropertyAsPrivateName(ar)&&this.raise(dt.DeletePrivateField,{at:pe})}if(!z)return t||this.checkExponentialAfterUnary(pe),this.finishNode(pe,"UnaryExpression")}let Ze=this.parseUpdate(pe,z,n);if(D){let{type:At}=this.state;if((this.hasPlugin("v8intrinsic")?Si(At):Si(At)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(dt.AwaitNotInAsyncContext,{at:p}),this.parseAwait(u,p)}return Ze}parseUpdate(n,t,u){if(t)return this.checkLVal(n.argument,{in:this.finishNode(n,"UpdateExpression")}),n;let p=this.state.start,D=this.state.startLoc,z=this.parseExprSubscripts(u);if(this.checkExpressionErrors(u,!1))return z;for(;pr(this.state.type)&&!this.canInsertSemicolon();){let pe=this.startNodeAt(p,D);pe.operator=this.state.value,pe.prefix=!1,pe.argument=z,this.next(),this.checkLVal(z,{in:z=this.finishNode(pe,"UpdateExpression")})}return z}parseExprSubscripts(n){let t=this.state.start,u=this.state.startLoc,p=this.state.potentialArrowAt,D=this.parseExprAtom(n);return this.shouldExitDescending(D,p)?D:this.parseSubscripts(D,t,u)}parseSubscripts(n,t,u,p){let D={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(n),stop:!1};do n=this.parseSubscript(n,t,u,p,D),D.maybeAsyncArrow=!1;while(!D.stop);return n}parseSubscript(n,t,u,p,D){let{type:z}=this.state;if(!p&&z===15)return this.parseBind(n,t,u,p,D);if(ws(z))return this.parseTaggedTemplateExpression(n,t,u,D);let pe=!1;if(z===18){if(p&&this.lookaheadCharCode()===40)return D.stop=!0,n;D.optionalChainMember=pe=!0,this.next()}if(!p&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(n,t,u,D,pe);{let Ze=this.eat(0);return Ze||pe||this.eat(16)?this.parseMember(n,t,u,D,Ze,pe):(D.stop=!0,n)}}parseMember(n,t,u,p,D,z){let pe=this.startNodeAt(t,u);return pe.object=n,pe.computed=D,D?(pe.property=this.parseExpression(),this.expect(3)):this.match(134)?(n.type==="Super"&&this.raise(dt.SuperPrivateField,{at:u}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),pe.property=this.parsePrivateName()):pe.property=this.parseIdentifier(!0),p.optionalChainMember?(pe.optional=z,this.finishNode(pe,"OptionalMemberExpression")):this.finishNode(pe,"MemberExpression")}parseBind(n,t,u,p,D){let z=this.startNodeAt(t,u);return z.object=n,this.next(),z.callee=this.parseNoCallExpr(),D.stop=!0,this.parseSubscripts(this.finishNode(z,"BindExpression"),t,u,p)}parseCoverCallAndAsyncArrowHead(n,t,u,p,D){let z=this.state.maybeInArrowParameters,pe=null;this.state.maybeInArrowParameters=!0,this.next();let Ze=this.startNodeAt(t,u);Ze.callee=n;let{maybeAsyncArrow:At,optionalChainMember:ar}=p;return At&&(this.expressionScope.enter(ko()),pe=new lu),ar&&(Ze.optional=D),D?Ze.arguments=this.parseCallExpressionArguments(11):Ze.arguments=this.parseCallExpressionArguments(11,n.type==="Import",n.type!=="Super",Ze,pe),this.finishCallExpression(Ze,ar),At&&this.shouldParseAsyncArrow()&&!D?(p.stop=!0,this.checkDestructuringPrivate(pe),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Ze=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,u),Ze)):(At&&(this.checkExpressionErrors(pe,!0),this.expressionScope.exit()),this.toReferencedArguments(Ze)),this.state.maybeInArrowParameters=z,Ze}toReferencedArguments(n,t){this.toReferencedListDeep(n.arguments,t)}parseTaggedTemplateExpression(n,t,u,p){let D=this.startNodeAt(t,u);return D.tag=n,D.quasi=this.parseTemplate(!0),p.optionalChainMember&&this.raise(dt.OptionalChainingNoTemplate,{at:u}),this.finishNode(D,"TaggedTemplateExpression")}atPossibleAsyncArrow(n){return n.type==="Identifier"&&n.name==="async"&&this.state.lastTokEndLoc.index===n.end&&!this.canInsertSemicolon()&&n.end-n.start===5&&n.start===this.state.potentialArrowAt}finishCallExpression(n,t){if(n.callee.type==="Import")if(n.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),n.arguments.length===0||n.arguments.length>2)this.raise(dt.ImportCallArity,{at:n,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let u of n.arguments)u.type==="SpreadElement"&&this.raise(dt.ImportCallSpreadArgument,{at:u});return this.finishNode(n,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(n,t,u,p,D){let z=[],pe=!0,Ze=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(n);){if(pe)pe=!1;else if(this.expect(12),this.match(n)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(dt.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),p&&this.addTrailingCommaExtraToNode(p),this.next();break}z.push(this.parseExprListItem(!1,D,u))}return this.state.inFSharpPipelineDirectBody=Ze,z}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(n,t){var u;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(n,t.arguments,!0,(u=t.extra)==null?void 0:u.trailingCommaLoc),t.innerComments&&Js(n,t.innerComments),t.callee.trailingComments&&Js(n,t.callee.trailingComments),n}parseNoCallExpr(){let n=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),n,t,!0)}parseExprAtom(n){let t,{type:u}=this.state;switch(u){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(dt.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129: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 p=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(p)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,n);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,n);case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let p=t.callee=this.parseNoCallExpr();if(p.type==="MemberExpression")return this.finishNode(t,"BindExpression");throw this.raise(dt.UnsupportedBind,{at:p})}case 134:return this.raise(dt.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 p=this.getPluginOption("pipelineOperator","proposal");if(p)return this.parseTopicReference(p);throw this.unexpected()}case 47:{let p=this.input.codePointAt(this.nextTokenStart());if(Ss(p)||p===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}else throw this.unexpected()}default:if(Ln(u)){if(this.isContextual(123)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let p=this.state.potentialArrowAt===this.state.start,D=this.state.containsEsc,z=this.parseIdentifier();if(!D&&z.name==="async"&&!this.canInsertSemicolon()){let{type:pe}=this.state;if(pe===68)return this.resetPreviousNodeTrailingComments(z),this.next(),this.parseFunction(this.startNodeAtNode(z),void 0,!0);if(Ln(pe))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(z)):z;if(pe===90)return this.resetPreviousNodeTrailingComments(z),this.parseDo(this.startNodeAtNode(z),!0)}return p&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(z),[z],!1)):z}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(n,t){let u=this.getPluginOption("pipelineOperator","proposal");if(u)return this.state.type=n,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=pn(this.state.endLoc,-1),this.parseTopicReference(u);throw this.unexpected()}parseTopicReference(n){let t=this.startNode(),u=this.state.startLoc,p=this.state.type;return this.next(),this.finishTopicReference(t,u,n,p)}finishTopicReference(n,t,u,p){if(this.testTopicReferenceConfiguration(u,t,p)){let D=u==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(u==="smart"?dt.PrimaryTopicNotAllowed:dt.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(n,D)}else throw this.raise(dt.PipeTopicUnconfiguredToken,{at:t,token:zs(p)})}testTopicReferenceConfiguration(n,t,u){switch(n){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:zs(u)}]);case"smart":return u===27;default:throw this.raise(dt.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(n){this.prodParam.enter(Po(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(dt.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(n,t,!0),n}parseDo(n,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),n.async=t,this.next();let u=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(po),n.body=this.parseBlock(),this.prodParam.exit()):n.body=this.parseBlock(),this.state.labels=u,this.finishNode(n,"DoExpression")}parseSuper(){let n=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(dt.SuperNotAllowed,{at:n}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(dt.UnexpectedSuper,{at:n}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(dt.UnsupportedSuper,{at:n}),this.finishNode(n,"Super")}parsePrivateName(){let n=this.startNode(),t=this.startNodeAt(this.state.start+1,new xn(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),u=this.state.value;return this.next(),n.id=this.createIdentifier(t,u),this.finishNode(n,"PrivateName")}parseFunctionOrFunctionSent(){let n=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(n),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(n,t,"sent")}return this.parseFunction(n)}parseMetaProperty(n,t,u){n.meta=t;let p=this.state.containsEsc;return n.property=this.parseIdentifier(!0),(n.property.name!==u||p)&&this.raise(dt.UnsupportedMetaProperty,{at:n.property,target:t.name,onlyValidPropertyName:u}),this.finishNode(n,"MetaProperty")}parseImportMetaProperty(n){let t=this.createIdentifier(this.startNodeAtNode(n),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(dt.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(n,t,"meta")}parseLiteralAtNode(n,t,u){return this.addExtra(u,"rawValue",n),this.addExtra(u,"raw",this.input.slice(u.start,this.state.end)),u.value=n,this.next(),this.finishNode(u,t)}parseLiteral(n,t){let u=this.startNode();return this.parseLiteralAtNode(n,t,u)}parseStringLiteral(n){return this.parseLiteral(n,"StringLiteral")}parseNumericLiteral(n){return this.parseLiteral(n,"NumericLiteral")}parseBigIntLiteral(n){return this.parseLiteral(n,"BigIntLiteral")}parseDecimalLiteral(n){return this.parseLiteral(n,"DecimalLiteral")}parseRegExpLiteral(n){let t=this.parseLiteral(n.value,"RegExpLiteral");return t.pattern=n.pattern,t.flags=n.flags,t}parseBooleanLiteral(n){let t=this.startNode();return t.value=n,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let n=this.startNode();return this.next(),this.finishNode(n,"NullLiteral")}parseParenAndDistinguishExpression(n){let t=this.state.start,u=this.state.startLoc,p;this.next(),this.expressionScope.enter(ql());let D=this.state.maybeInArrowParameters,z=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let pe=this.state.start,Ze=this.state.startLoc,At=[],ar=new lu,m=!0,E,g;for(;!this.match(11);){if(m)m=!1;else if(this.expect(12,ar.optionalParametersLoc===null?null:ar.optionalParametersLoc),this.match(11)){g=this.state.startLoc;break}if(this.match(21)){let y=this.state.start,x=this.state.startLoc;if(E=this.state.startLoc,At.push(this.parseParenItem(this.parseRestBinding(),y,x)),!this.checkCommaAfterRest(41))break}else At.push(this.parseMaybeAssignAllowIn(ar,this.parseParenItem))}let A=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=D,this.state.inFSharpPipelineDirectBody=z;let C=this.startNodeAt(t,u);return n&&this.shouldParseArrow(At)&&(C=this.parseArrow(C))?(this.checkDestructuringPrivate(ar),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(C,At,!1),C):(this.expressionScope.exit(),At.length||this.unexpected(this.state.lastTokStartLoc),g&&this.unexpected(g),E&&this.unexpected(E),this.checkExpressionErrors(ar,!0),this.toReferencedListDeep(At,!0),At.length>1?(p=this.startNodeAt(pe,Ze),p.expressions=At,this.finishNode(p,"SequenceExpression"),this.resetEndLocation(p,A)):p=At[0],this.wrapParenthesis(t,u,p))}wrapParenthesis(n,t,u){if(!this.options.createParenthesizedExpressions)return this.addExtra(u,"parenthesized",!0),this.addExtra(u,"parenStart",n),this.takeSurroundingComments(u,n,this.state.lastTokEndLoc.index),u;let p=this.startNodeAt(n,t);return p.expression=u,this.finishNode(p,"ParenthesizedExpression"),p}shouldParseArrow(n){return!this.canInsertSemicolon()}parseArrow(n){if(this.eat(19))return n}parseParenItem(n,t,u){return n}parseNewOrNewTarget(){let n=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(n),"new");this.next();let u=this.parseMetaProperty(n,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&this.raise(dt.UnexpectedNewTarget,{at:u}),u}return this.parseNew(n)}parseNew(n){if(this.parseNewCallee(n),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),n.arguments=t}else n.arguments=[];return this.finishNode(n,"NewExpression")}parseNewCallee(n){n.callee=this.parseNoCallExpr(),n.callee.type==="Import"?this.raise(dt.ImportCallNotNewExpression,{at:n.callee}):this.isOptionalChain(n.callee)?this.raise(dt.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(dt.OptionalChainingNoNew,{at:this.state.startLoc})}parseTemplateElement(n){let{start:t,startLoc:u,end:p,value:D}=this.state,z=t+1,pe=this.startNodeAt(z,pn(u,1));D===null&&(n||this.raise(dt.InvalidEscapeSequenceTemplate,{at:pn(u,2)}));let Ze=this.match(24),At=Ze?-1:-2,ar=p+At;return pe.value={raw:this.input.slice(z,ar).replace(/\r\n?/g,`
|
|
275
|
-
`),cooked:D===null?null:D.slice(1,At)},pe.tail=Ze,this.next(),this.finishNode(pe,"TemplateElement"),this.resetEndLocation(pe,pn(this.state.lastTokEndLoc,At)),pe}parseTemplate(n){let t=this.startNode();t.expressions=[];let u=this.parseTemplateElement(n);for(t.quasis=[u];!u.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(u=this.parseTemplateElement(n));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(n,t,u,p){u&&this.expectPlugin("recordAndTuple");let D=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let z=Object.create(null),pe=!0,Ze=this.startNode();for(Ze.properties=[],this.next();!this.match(n);){if(pe)pe=!1;else if(this.expect(12),this.match(n)){this.addTrailingCommaExtraToNode(Ze);break}let ar;t?ar=this.parseBindingProperty():(ar=this.parsePropertyDefinition(p),this.checkProto(ar,u,z,p)),u&&!this.isObjectProperty(ar)&&ar.type!=="SpreadElement"&&this.raise(dt.InvalidRecordProperty,{at:ar}),ar.shorthand&&this.addExtra(ar,"shorthand",!0),Ze.properties.push(ar)}this.next(),this.state.inFSharpPipelineDirectBody=D;let At="ObjectExpression";return t?At="ObjectPattern":u&&(At="RecordExpression"),this.finishNode(Ze,At)}addTrailingCommaExtraToNode(n){this.addExtra(n,"trailingComma",this.state.lastTokStart),this.addExtra(n,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(n){return!n.computed&&n.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(n){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(dt.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let u=this.startNode(),p=!1,D=!1,z,pe;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(u.decorators=t,t=[]),u.method=!1,n&&(z=this.state.start,pe=this.state.startLoc);let Ze=this.eat(55);this.parsePropertyNamePrefixOperator(u);let At=this.state.containsEsc,ar=this.parsePropertyName(u,n);if(!Ze&&!At&&this.maybeAsyncOrAccessorProp(u)){let m=ar.name;m==="async"&&!this.hasPrecedingLineBreak()&&(p=!0,this.resetPreviousNodeTrailingComments(ar),Ze=this.eat(55),this.parsePropertyName(u)),(m==="get"||m==="set")&&(D=!0,this.resetPreviousNodeTrailingComments(ar),u.kind=m,this.match(55)&&(Ze=!0,this.raise(dt.AccessorIsGenerator,{at:this.state.curPosition(),kind:m}),this.next()),this.parsePropertyName(u))}return this.parseObjPropValue(u,z,pe,Ze,p,!1,D,n),u}getGetterSetterExpectedParamCount(n){return n.kind==="get"?0:1}getObjectOrClassMethodParams(n){return n.params}checkGetterSetterParams(n){var t;let u=this.getGetterSetterExpectedParamCount(n),p=this.getObjectOrClassMethodParams(n);p.length!==u&&this.raise(n.kind==="get"?dt.BadGetterArity:dt.BadSetterArity,{at:n}),n.kind==="set"&&((t=p[p.length-1])==null?void 0:t.type)==="RestElement"&&this.raise(dt.BadSetterRestParameter,{at:n})}parseObjectMethod(n,t,u,p,D){if(D)return this.parseMethod(n,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(n),n;if(u||t||this.match(10))return p&&this.unexpected(),n.kind="method",n.method=!0,this.parseMethod(n,t,u,!1,!1,"ObjectMethod")}parseObjectProperty(n,t,u,p,D){if(n.shorthand=!1,this.eat(14))return n.value=p?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(D),this.finishNode(n,"ObjectProperty");if(!n.computed&&n.key.type==="Identifier"){if(this.checkReservedWord(n.key.name,n.key.loc.start,!0,!1),p)n.value=this.parseMaybeDefault(t,u,Y(n.key));else if(this.match(29)){let z=this.state.startLoc;D!=null?D.shorthandAssignLoc===null&&(D.shorthandAssignLoc=z):this.raise(dt.InvalidCoverInitializedName,{at:z}),n.value=this.parseMaybeDefault(t,u,Y(n.key))}else n.value=Y(n.key);return n.shorthand=!0,this.finishNode(n,"ObjectProperty")}}parseObjPropValue(n,t,u,p,D,z,pe,Ze){let At=this.parseObjectMethod(n,p,D,z,pe)||this.parseObjectProperty(n,t,u,z,Ze);return At||this.unexpected(),At}parsePropertyName(n,t){if(this.eat(0))n.computed=!0,n.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:u,value:p}=this.state,D;if(ps(u))D=this.parseIdentifier(!0);else switch(u){case 130:D=this.parseNumericLiteral(p);break;case 129:D=this.parseStringLiteral(p);break;case 131:D=this.parseBigIntLiteral(p);break;case 132:D=this.parseDecimalLiteral(p);break;case 134:{let z=this.state.startLoc;t!=null?t.privateKeyLoc===null&&(t.privateKeyLoc=z):this.raise(dt.UnexpectedPrivateField,{at:z}),D=this.parsePrivateName();break}default:throw this.unexpected()}n.key=D,u!==134&&(n.computed=!1)}return n.key}initFunction(n,t){n.id=null,n.generator=!1,n.async=!!t}parseMethod(n,t,u,p,D,z){let pe=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;this.initFunction(n,u),n.generator=!!t;let Ze=p;return this.scope.enter(no|Mo|(pe?Eo:0)|(D?ru:0)),this.prodParam.enter(Po(u,n.generator)),this.parseFunctionParams(n,Ze),this.parseFunctionBodyAndFinish(n,z,!0),this.prodParam.exit(),this.scope.exit(),n}parseArrayLike(n,t,u,p){u&&this.expectPlugin("recordAndTuple");let D=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let z=this.startNode();return this.next(),z.elements=this.parseExprList(n,!u,p,z),this.state.inFSharpPipelineDirectBody=D,this.finishNode(z,u?"TupleExpression":"ArrayExpression")}parseArrowExpression(n,t,u,p){this.scope.enter(no|yo);let D=Po(u,!1);!this.match(5)&&this.prodParam.hasIn&&(D|=qo),this.prodParam.enter(D),this.initFunction(n,u);let z=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(n,t,p)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(n,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=z,this.finishNode(n,"ArrowFunctionExpression")}setArrowFunctionParameters(n,t,u){this.toAssignableList(t,u,!1),n.params=t}parseFunctionBodyAndFinish(n,t){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.parseFunctionBody(n,!1,u),this.finishNode(n,t)}parseFunctionBody(n,t){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=t&&!this.match(5);if(this.expressionScope.enter(Qa()),p)n.body=this.parseMaybeAssign(),this.checkParams(n,!1,t,!1);else{let D=this.state.strict,z=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|dl),n.body=this.parseBlock(!0,!1,pe=>{let Ze=!this.isSimpleParamList(n.params);pe&&Ze&&this.raise(dt.IllegalLanguageModeDirective,{at:(n.kind==="method"||n.kind==="constructor")&&!!n.key?n.key.loc.end:n});let At=!D&&this.state.strict;this.checkParams(n,!this.state.strict&&!t&&!u&&!Ze,t,At),this.state.strict&&n.id&&this.checkIdentifier(n.id,ou,At)}),this.prodParam.exit(),this.state.labels=z}this.expressionScope.exit()}isSimpleParameter(n){return n.type==="Identifier"}isSimpleParamList(n){for(let t=0,u=n.length;t<u;t++)if(!this.isSimpleParameter(n[t]))return!1;return!0}checkParams(n,t,u){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,D=!t&&new Set,z={type:"FormalParameters"};for(let pe of n.params)this.checkLVal(pe,{in:z,binding:ao,checkClashes:D,strictModeChanged:p})}parseExprList(n,t,u,p){let D=[],z=!0;for(;!this.eat(n);){if(z)z=!1;else if(this.expect(12),this.match(n)){p&&this.addTrailingCommaExtraToNode(p),this.next();break}D.push(this.parseExprListItem(t,u))}return D}parseExprListItem(n,t,u){let p;if(this.match(12))n||this.raise(dt.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),p=null;else if(this.match(21)){let D=this.state.start,z=this.state.startLoc;p=this.parseParenItem(this.parseSpread(t),D,z)}else if(this.match(17)){this.expectPlugin("partialApplication"),u||this.raise(dt.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let D=this.startNode();this.next(),p=this.finishNode(D,"ArgumentPlaceholder")}else p=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return p}parseIdentifier(n){let t=this.startNode(),u=this.parseIdentifierName(t.start,n);return this.createIdentifier(t,u)}createIdentifier(n,t){return n.name=t,n.loc.identifierName=t,this.finishNode(n,"Identifier")}parseIdentifierName(n,t){let u,{startLoc:p,type:D}=this.state;if(ps(D))u=this.state.value;else throw this.unexpected();let z=Ui(D);return t?z&&this.replaceToken(128):this.checkReservedWord(u,p,z,!1),this.next(),u}checkReservedWord(n,t,u,p){if(!(n.length>10||!za(n))){if(n==="yield"){if(this.prodParam.hasYield){this.raise(dt.YieldBindingIdentifier,{at:t});return}}else if(n==="await"){if(this.prodParam.hasAwait){this.raise(dt.AwaitBindingIdentifier,{at:t});return}if(this.scope.inStaticBlock){this.raise(dt.AwaitBindingIdentifierInStaticBlock,{at:t});return}this.expressionScope.recordAsyncArrowParametersError({at:t})}else if(n==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(dt.ArgumentsInClass,{at:t});return}if(u&&ga(n)){this.raise(dt.UnexpectedKeyword,{at:t,keyword:n});return}(this.state.strict?p?ma:tu:eu)(n,this.inModule)&&this.raise(dt.UnexpectedReservedWord,{at:t,reservedWord:n})}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(n,t){let u=this.startNodeAt(n,t);return this.expressionScope.recordParameterInitializerError(dt.AwaitExpressionFormalParameter,{at:u}),this.eat(55)&&this.raise(dt.ObsoleteAwaitStar,{at:u}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(u.argument=this.parseMaybeUnary(null,!0)),this.finishNode(u,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:n}=this.state;return n===53||n===10||n===0||ws(n)||n===133||n===56||this.hasPlugin("v8intrinsic")&&n===54}parseYield(){let n=this.startNode();this.expressionScope.recordParameterInitializerError(dt.YieldInParameter,{at:n}),this.next();let t=!1,u=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:u=this.parseMaybeAssign()}return n.delegate=t,n.argument=u,this.finishNode(n,"YieldExpression")}checkPipelineAtInfixOperator(n,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&n.type==="SequenceExpression"&&this.raise(dt.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(n,t,u){let p=this.startNodeAt(t,u);return this.isSimpleReference(n)?(p.callee=n,this.finishNode(p,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(u),p.expression=n,this.finishNode(p,"PipelineTopicExpression"))}isSimpleReference(n){switch(n.type){case"MemberExpression":return!n.computed&&this.isSimpleReference(n.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(n){if(this.match(19))throw this.raise(dt.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(dt.PipelineTopicUnused,{at:n})}withTopicBindingContext(n){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return n()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(n){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return n()}finally{this.state.topicContext=t}}else return n()}withSoloAwaitPermittingContext(n){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return n()}finally{this.state.soloAwait=t}}allowInAnd(n){let t=this.prodParam.currentFlags();if(qo&~t){this.prodParam.enter(t|qo);try{return n()}finally{this.prodParam.exit()}}return n()}disallowInAnd(n){let t=this.prodParam.currentFlags();if(qo&t){this.prodParam.enter(t&~qo);try{return n()}finally{this.prodParam.exit()}}return n()}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(n){let t=this.state.start,u=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let p=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let D=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,u,n);return this.state.inFSharpPipelineDirectBody=p,D}parseModuleExpression(){this.expectPlugin("moduleBlocks");let n=this.startNode();this.next(),this.eat(5);let t=this.initializeScopes(!0);this.enterInitialScopes();let u=this.startNode();try{n.body=this.parseProgram(u,8,"module")}finally{t()}return this.eat(8),this.finishNode(n,"ModuleExpression")}parsePropertyNamePrefixOperator(n){}},ra={kind:"loop"},na={kind:"switch"},Os=0,Aa=1,va=2,Qs=4,La=/[\uD800-\uDFFF]/u,ia=/in(?:stanceof)?/y;function Zs(n,t){for(let u=0;u<n.length;u++){let p=n[u],{type:D}=p;if(typeof D=="number"){{if(D===134){let{loc:z,start:pe,value:Ze,end:At}=p,ar=pe+1,m=pn(z.start,1);n.splice(u,1,new So({type:Ts(27),value:"#",start:pe,end:ar,startLoc:z.start,endLoc:m}),new So({type:Ts(128),value:Ze,start:ar,end:At,startLoc:m,endLoc:z.end})),u++;continue}if(ws(D)){let{loc:z,start:pe,value:Ze,end:At}=p,ar=pe+1,m=pn(z.start,1),E;t.charCodeAt(pe)===96?E=new So({type:Ts(22),value:"`",start:pe,end:ar,startLoc:z.start,endLoc:m}):E=new So({type:Ts(8),value:"}",start:pe,end:ar,startLoc:z.start,endLoc:m});let g,A,C,y;D===24?(A=At-1,C=pn(z.end,-1),g=Ze===null?null:Ze.slice(1,-1),y=new So({type:Ts(22),value:"`",start:A,end:At,startLoc:C,endLoc:z.end})):(A=At-2,C=pn(z.end,-2),g=Ze===null?null:Ze.slice(1,-2),y=new So({type:Ts(23),value:"${",start:A,end:At,startLoc:C,endLoc:z.end})),n.splice(u,1,E,new So({type:Ts(20),value:g,start:ar,end:A,startLoc:m,endLoc:C}),y),u+=2;continue}}p.type=Ts(D)}}return n}var sa=class extends Xn{parseTopLevel(n,t){return n.program=this.parseProgram(t),n.comments=this.state.comments,this.options.tokens&&(n.tokens=Zs(this.tokens,this.input)),this.finishNode(n,"File")}parseProgram(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:135,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.options.sourceType;if(n.sourceType=u,n.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(n,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[p,D]of Array.from(this.scope.undefinedExports))this.raise(dt.ModuleExportUndefined,{at:D,localName:p});return this.finishNode(n,"Program")}stmtToDirective(n){let t=n;t.type="Directive",t.value=t.expression,delete t.expression;let u=t.value,p=u.value,D=this.input.slice(u.start,u.end),z=u.value=D.slice(1,-1);return this.addExtra(u,"raw",D),this.addExtra(u,"rawValue",z),this.addExtra(u,"expressionValue",p),u.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let n=this.startNode();return n.value=this.state.value,this.next(),this.finishNode(n,"InterpreterDirective")}isLet(n){return this.isContextual(99)?this.isLetKeyword(n):!1}isLetKeyword(n){let t=this.nextTokenStart(),u=this.codePointAtPos(t);if(u===92||u===91)return!0;if(n)return!1;if(u===123)return!0;if(Ss(u)){if(ia.lastIndex=t,ia.test(this.input)){let p=this.codePointAtPos(ia.lastIndex);if(!Ks(p)&&p!==92)return!1}return!0}return!1}parseStatement(n,t){return this.match(26)&&this.parseDecorators(!0),this.parseStatementContent(n,t)}parseStatementContent(n,t){let u=this.state.type,p=this.startNode(),D;switch(this.isLet(n)&&(u=74,D="let"),u){case 60:return this.parseBreakContinueStatement(p,!0);case 63:return this.parseBreakContinueStatement(p,!1);case 64:return this.parseDebuggerStatement(p);case 90:return this.parseDoStatement(p);case 91:return this.parseForStatement(p);case 68:if(this.lookaheadCharCode()===46)break;return n&&(this.state.strict?this.raise(dt.StrictFunction,{at:this.state.startLoc}):n!=="if"&&n!=="label"&&this.raise(dt.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(p,!1,!n);case 80:return n&&this.unexpected(),this.parseClass(p,!0);case 69:return this.parseIfStatement(p);case 70:return this.parseReturnStatement(p);case 71:return this.parseSwitchStatement(p);case 72:return this.parseThrowStatement(p);case 73:return this.parseTryStatement(p);case 75:case 74:return D=D||this.state.value,n&&D!=="var"&&this.raise(dt.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(p,D);case 92:return this.parseWhileStatement(p);case 76:return this.parseWithStatement(p);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(p);case 83:{let Ze=this.lookaheadCharCode();if(Ze===40||Ze===46)break}case 82:{!this.options.allowImportExportEverywhere&&!t&&this.raise(dt.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let Ze;return u===83?(Ze=this.parseImport(p),Ze.type==="ImportDeclaration"&&(!Ze.importKind||Ze.importKind==="value")&&(this.sawUnambiguousESM=!0)):(Ze=this.parseExport(p),(Ze.type==="ExportNamedDeclaration"&&(!Ze.exportKind||Ze.exportKind==="value")||Ze.type==="ExportAllDeclaration"&&(!Ze.exportKind||Ze.exportKind==="value")||Ze.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(p),Ze}default:if(this.isAsyncFunction())return n&&this.raise(dt.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(p,!0,!n)}let z=this.state.value,pe=this.parseExpression();return Ln(u)&&pe.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(p,z,pe,n):this.parseExpressionStatement(p,pe)}assertModuleNodeAllowed(n){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(dt.ImportOutsideModule,{at:n})}takeDecorators(n){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(n.decorators=t,this.resetStartLocationFromNode(n,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(n){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){let u=this.parseDecorator();t.push(u)}if(this.match(82))n||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(dt.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(dt.UnexpectedLeadingDecorator,{at:this.state.startLoc})}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);let n=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);let t=this.state.start,u=this.state.startLoc,p;if(this.match(10)){let D=this.state.start,z=this.state.startLoc;this.next(),p=this.parseExpression(),this.expect(11),p=this.wrapParenthesis(D,z,p)}else for(p=this.parseIdentifier(!1);this.eat(16);){let D=this.startNodeAt(t,u);D.object=p,D.property=this.parseIdentifier(!0),D.computed=!1,p=this.finishNode(D,"MemberExpression")}n.expression=this.parseMaybeDecoratorArguments(p),this.state.decoratorStack.pop()}else n.expression=this.parseExprSubscripts();return this.finishNode(n,"Decorator")}parseMaybeDecoratorArguments(n){if(this.eat(10)){let t=this.startNodeAtNode(n);return t.callee=n,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return n}parseBreakContinueStatement(n,t){return this.next(),this.isLineTerminator()?n.label=null:(n.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(n,t),this.finishNode(n,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(n,t){let u;for(u=0;u<this.state.labels.length;++u){let p=this.state.labels[u];if((n.label==null||p.name===n.label.name)&&(p.kind!=null&&(t||p.kind==="loop")||n.label&&t))break}if(u===this.state.labels.length){let p=t?"BreakStatement":"ContinueStatement";this.raise(dt.IllegalBreakContinue,{at:n,type:p})}}parseDebuggerStatement(n){return this.next(),this.semicolon(),this.finishNode(n,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let n=this.parseExpression();return this.expect(11),n}parseDoStatement(n){return this.next(),this.state.labels.push(ra),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("do")),this.state.labels.pop(),this.expect(92),n.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(n,"DoWhileStatement")}parseForStatement(n){this.next(),this.state.labels.push(ra);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(Co),this.expect(10),this.match(13))return t!==null&&this.unexpected(t),this.parseFor(n,null);let u=this.isContextual(99),p=u&&this.isLetKeyword();if(this.match(74)||this.match(75)||p){let At=this.startNode(),ar=p?"let":this.state.value;return this.next(),this.parseVar(At,!0,ar),this.finishNode(At,"VariableDeclaration"),(this.match(58)||this.isContextual(101))&&At.declarations.length===1?this.parseForIn(n,At,t):(t!==null&&this.unexpected(t),this.parseFor(n,At))}let D=this.isContextual(95),z=new lu,pe=this.parseExpression(!0,z),Ze=this.isContextual(101);if(Ze&&(u&&this.raise(dt.ForOfLet,{at:pe}),t===null&&D&&pe.type==="Identifier"&&this.raise(dt.ForOfAsync,{at:pe})),Ze||this.match(58)){this.checkDestructuringPrivate(z),this.toAssignable(pe,!0);let At=Ze?"ForOfStatement":"ForInStatement";return this.checkLVal(pe,{in:{type:At}}),this.parseForIn(n,pe,t)}else this.checkExpressionErrors(z,!0);return t!==null&&this.unexpected(t),this.parseFor(n,pe)}parseFunctionStatement(n,t,u){return this.next(),this.parseFunction(n,Aa|(u?0:va),t)}parseIfStatement(n){return this.next(),n.test=this.parseHeaderExpression(),n.consequent=this.parseStatement("if"),n.alternate=this.eat(66)?this.parseStatement("if"):null,this.finishNode(n,"IfStatement")}parseReturnStatement(n){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(dt.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?n.argument=null:(n.argument=this.parseExpression(),this.semicolon()),this.finishNode(n,"ReturnStatement")}parseSwitchStatement(n){this.next(),n.discriminant=this.parseHeaderExpression();let t=n.cases=[];this.expect(5),this.state.labels.push(na),this.scope.enter(Co);let u;for(let p;!this.match(8);)if(this.match(61)||this.match(65)){let D=this.match(61);u&&this.finishNode(u,"SwitchCase"),t.push(u=this.startNode()),u.consequent=[],this.next(),D?u.test=this.parseExpression():(p&&this.raise(dt.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),p=!0,u.test=null),this.expect(14)}else u?u.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),u&&this.finishNode(u,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(n,"SwitchStatement")}parseThrowStatement(n){return this.next(),this.hasPrecedingLineBreak()&&this.raise(dt.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),n.argument=this.parseExpression(),this.semicolon(),this.finishNode(n,"ThrowStatement")}parseCatchClauseParam(){let n=this.parseBindingAtom(),t=n.type==="Identifier";return this.scope.enter(t?Ru:0),this.checkLVal(n,{in:{type:"CatchClause"},binding:so,allowingSloppyLetBinding:!0}),n}parseTryStatement(n){if(this.next(),n.block=this.parseBlock(),n.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(Co)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),n.handler=this.finishNode(t,"CatchClause")}return n.finalizer=this.eat(67)?this.parseBlock():null,!n.handler&&!n.finalizer&&this.raise(dt.NoCatchOrFinally,{at:n}),this.finishNode(n,"TryStatement")}parseVarStatement(n,t){let u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.next(),this.parseVar(n,!1,t,u),this.semicolon(),this.finishNode(n,"VariableDeclaration")}parseWhileStatement(n){return this.next(),n.test=this.parseHeaderExpression(),this.state.labels.push(ra),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while")),this.state.labels.pop(),this.finishNode(n,"WhileStatement")}parseWithStatement(n){return this.state.strict&&this.raise(dt.StrictWith,{at:this.state.startLoc}),this.next(),n.object=this.parseHeaderExpression(),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with")),this.finishNode(n,"WithStatement")}parseEmptyStatement(n){return this.next(),this.finishNode(n,"EmptyStatement")}parseLabeledStatement(n,t,u,p){for(let z of this.state.labels)z.name===t&&this.raise(dt.LabelRedeclaration,{at:u,labelName:t});let D=Ke(this.state.type)?"loop":this.match(71)?"switch":null;for(let z=this.state.labels.length-1;z>=0;z--){let pe=this.state.labels[z];if(pe.statementStart===n.start)pe.statementStart=this.state.start,pe.kind=D;else break}return this.state.labels.push({name:t,kind:D,statementStart:this.state.start}),n.body=this.parseStatement(p?p.indexOf("label")===-1?p+"label":p:"label"),this.state.labels.pop(),n.label=u,this.finishNode(n,"LabeledStatement")}parseExpressionStatement(n,t){return n.expression=t,this.semicolon(),this.finishNode(n,"ExpressionStatement")}parseBlock(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,u=arguments.length>2?arguments[2]:void 0,p=this.startNode();return n&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(Co),this.parseBlockBody(p,n,!1,8,u),t&&this.scope.exit(),this.finishNode(p,"BlockStatement")}isValidDirective(n){return n.type==="ExpressionStatement"&&n.expression.type==="StringLiteral"&&!n.expression.extra.parenthesized}parseBlockBody(n,t,u,p,D){let z=n.body=[],pe=n.directives=[];this.parseBlockOrModuleBlockBody(z,t?pe:void 0,u,p,D)}parseBlockOrModuleBlockBody(n,t,u,p,D){let z=this.state.strict,pe=!1,Ze=!1;for(;!this.match(p);){let At=this.parseStatement(null,u);if(t&&!Ze){if(this.isValidDirective(At)){let ar=this.stmtToDirective(At);t.push(ar),!pe&&ar.value.value==="use strict"&&(pe=!0,this.setStrict(!0));continue}Ze=!0,this.state.strictErrors.clear()}n.push(At)}D&&D.call(this,pe),z||this.setStrict(!1),this.next()}parseFor(n,t){return n.init=t,this.semicolon(!1),n.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),n.update=this.match(11)?null:this.parseExpression(),this.expect(11),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(n,"ForStatement")}parseForIn(n,t,u){let p=this.match(58);return this.next(),p?u!==null&&this.unexpected(u):n.await=u!==null,t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!p||this.state.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(dt.ForInOfLoopInitializer,{at:t,type:p?"ForInStatement":"ForOfStatement"}),t.type==="AssignmentPattern"&&this.raise(dt.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),n.left=t,n.right=p?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),n.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(n,p?"ForInStatement":"ForOfStatement")}parseVar(n,t,u){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,D=n.declarations=[];for(n.kind=u;;){let z=this.startNode();if(this.parseVarId(z,u),z.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,z.init===null&&!p&&(z.id.type!=="Identifier"&&!(t&&(this.match(58)||this.isContextual(101)))?this.raise(dt.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):u==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(dt.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),D.push(this.finishNode(z,"VariableDeclarator")),!this.eat(12))break}return n}parseVarId(n,t){n.id=this.parseBindingAtom(),this.checkLVal(n.id,{in:{type:"VariableDeclarator"},binding:t==="var"?ao:so})}parseFunction(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Os,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=t&Aa,D=t&va,z=!!p&&!(t&Qs);this.initFunction(n,u),this.match(55)&&D&&this.raise(dt.GeneratorInSingleStatementContext,{at:this.state.startLoc}),n.generator=this.eat(55),p&&(n.id=this.parseFunctionId(z));let pe=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(no),this.prodParam.enter(Po(u,n.generator)),p||(n.id=this.parseFunctionId()),this.parseFunctionParams(n,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(n,p?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),p&&!D&&this.registerFunctionStatementId(n),this.state.maybeInArrowParameters=pe,n}parseFunctionId(n){return n||Ln(this.state.type)?this.parseIdentifier():null}parseFunctionParams(n,t){this.expect(10),this.expressionScope.enter(Tl()),n.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(n){!n.id||this.scope.declareName(n.id.name,this.state.strict||n.generator||n.async?this.scope.treatFunctionsAsVar?ao:so:wu,n.id.loc.start)}parseClass(n,t,u){this.next(),this.takeDecorators(n);let p=this.state.strict;return this.state.strict=!0,this.parseClassId(n,t,u),this.parseClassSuper(n),n.body=this.parseClassBody(!!n.superClass,p),this.finishNode(n,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(n){return!n.computed&&!n.static&&(n.key.name==="constructor"||n.key.value==="constructor")}parseClassBody(n,t){this.classScope.enter();let u={hadConstructor:!1,hadSuperClass:n},p=[],D=this.startNode();if(D.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(p.length>0)throw this.raise(dt.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){p.push(this.parseDecorator());continue}let z=this.startNode();p.length&&(z.decorators=p,this.resetStartLocationFromNode(z,p[0]),p=[]),this.parseClassMember(D,z,u),z.kind==="constructor"&&z.decorators&&z.decorators.length>0&&this.raise(dt.DecoratorConstructor,{at:z})}}),this.state.strict=t,this.next(),p.length)throw this.raise(dt.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(D,"ClassBody")}parseClassMemberFromModifier(n,t){let u=this.parseIdentifier(!0);if(this.isClassMethod()){let p=t;return p.kind="method",p.computed=!1,p.key=u,p.static=!1,this.pushClassMethod(n,p,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let p=t;return p.computed=!1,p.key=u,p.static=!1,n.body.push(this.parseClassProperty(p)),!0}return this.resetPreviousNodeTrailingComments(u),!1}parseClassMember(n,t,u){let p=this.isContextual(104);if(p){if(this.parseClassMemberFromModifier(n,t))return;if(this.eat(5)){this.parseClassStaticBlock(n,t);return}}this.parseClassMemberWithIsStatic(n,t,u,p)}parseClassMemberWithIsStatic(n,t,u,p){let D=t,z=t,pe=t,Ze=t,At=t,ar=D,m=D;if(t.static=p,this.parsePropertyNamePrefixOperator(t),this.eat(55)){ar.kind="method";let y=this.match(134);if(this.parseClassElementName(ar),y){this.pushClassPrivateMethod(n,z,!0,!1);return}this.isNonstaticConstructor(D)&&this.raise(dt.ConstructorIsGenerator,{at:D.key}),this.pushClassMethod(n,D,!0,!1,!1,!1);return}let E=Ln(this.state.type)&&!this.state.containsEsc,g=this.match(134),A=this.parseClassElementName(t),C=this.state.startLoc;if(this.parsePostMemberNameModifiers(m),this.isClassMethod()){if(ar.kind="method",g){this.pushClassPrivateMethod(n,z,!1,!1);return}let y=this.isNonstaticConstructor(D),x=!1;y&&(D.kind="constructor",u.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(dt.DuplicateConstructor,{at:A}),y&&this.hasPlugin("typescript")&&t.override&&this.raise(dt.OverrideOnConstructor,{at:A}),u.hadConstructor=!0,x=u.hadSuperClass),this.pushClassMethod(n,D,!1,!1,y,x)}else if(this.isClassProperty())g?this.pushClassPrivateProperty(n,Ze):this.pushClassProperty(n,pe);else if(E&&A.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(A);let y=this.eat(55);m.optional&&this.unexpected(C),ar.kind="method";let x=this.match(134);this.parseClassElementName(ar),this.parsePostMemberNameModifiers(m),x?this.pushClassPrivateMethod(n,z,y,!0):(this.isNonstaticConstructor(D)&&this.raise(dt.ConstructorIsAsync,{at:D.key}),this.pushClassMethod(n,D,y,!0,!1,!1))}else if(E&&(A.name==="get"||A.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(A),ar.kind=A.name;let y=this.match(134);this.parseClassElementName(D),y?this.pushClassPrivateMethod(n,z,!1,!1):(this.isNonstaticConstructor(D)&&this.raise(dt.ConstructorIsAccessor,{at:D.key}),this.pushClassMethod(n,D,!1,!1,!1,!1)),this.checkGetterSetterParams(D)}else if(E&&A.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(A);let y=this.match(134);this.parseClassElementName(pe),this.pushClassAccessorProperty(n,At,y)}else this.isLineTerminator()?g?this.pushClassPrivateProperty(n,Ze):this.pushClassProperty(n,pe):this.unexpected()}parseClassElementName(n){let{type:t,value:u}=this.state;if((t===128||t===129)&&n.static&&u==="prototype"&&this.raise(dt.StaticPrototype,{at:this.state.startLoc}),t===134){u==="constructor"&&this.raise(dt.ConstructorClassPrivateField,{at:this.state.startLoc});let p=this.parsePrivateName();return n.key=p,p}return this.parsePropertyName(n)}parseClassStaticBlock(n,t){var u;this.scope.enter(Eo|nu|Mo);let p=this.state.labels;this.state.labels=[],this.prodParam.enter(uu);let D=t.body=[];this.parseBlockOrModuleBlockBody(D,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=p,n.body.push(this.finishNode(t,"StaticBlock")),(u=t.decorators)!=null&&u.length&&this.raise(dt.DecoratorStaticBlock,{at:t})}pushClassProperty(n,t){!t.computed&&(t.key.name==="constructor"||t.key.value==="constructor")&&this.raise(dt.ConstructorClassField,{at:t.key}),n.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(n,t){let u=this.parseClassPrivateProperty(t);n.body.push(u),this.classScope.declarePrivateName(this.getPrivateNameSV(u.key),Su,u.key.loc.start)}pushClassAccessorProperty(n,t,u){if(!u&&!t.computed){let D=t.key;(D.name==="constructor"||D.value==="constructor")&&this.raise(dt.ConstructorClassField,{at:D})}let p=this.parseClassAccessorProperty(t);n.body.push(p),u&&this.classScope.declarePrivateName(this.getPrivateNameSV(p.key),Su,p.key.loc.start)}pushClassMethod(n,t,u,p,D,z){n.body.push(this.parseMethod(t,u,p,D,z,"ClassMethod",!0))}pushClassPrivateMethod(n,t,u,p){let D=this.parseMethod(t,u,p,!1,!1,"ClassPrivateMethod",!0);n.body.push(D);let z=D.kind==="get"?D.static?Hu:jl:D.kind==="set"?D.static?bl:tc:Su;this.declareClassPrivateMethodInScope(D,z)}declareClassPrivateMethodInScope(n,t){this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),t,n.key.loc.start)}parsePostMemberNameModifiers(n){}parseClassPrivateProperty(n){return this.parseInitializer(n),this.semicolon(),this.finishNode(n,"ClassPrivateProperty")}parseClassProperty(n){return this.parseInitializer(n),this.semicolon(),this.finishNode(n,"ClassProperty")}parseClassAccessorProperty(n){return this.parseInitializer(n),this.semicolon(),this.finishNode(n,"ClassAccessorProperty")}parseInitializer(n){this.scope.enter(Eo|Mo),this.expressionScope.enter(Qa()),this.prodParam.enter(uu),n.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(n,t,u){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:wo;if(Ln(this.state.type))n.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(n.id,p);else if(u||!t)n.id=null;else throw this.raise(dt.MissingClassName,{at:this.state.startLoc})}parseClassSuper(n){n.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(n){let t=this.maybeParseExportDefaultSpecifier(n),u=!t||this.eat(12),p=u&&this.eatExportStar(n),D=p&&this.maybeParseExportNamespaceSpecifier(n),z=u&&(!D||this.eat(12)),pe=t||p;if(p&&!D)return t&&this.unexpected(),this.parseExportFrom(n,!0),this.finishNode(n,"ExportAllDeclaration");let Ze=this.maybeParseExportNamedSpecifiers(n);if(t&&u&&!p&&!Ze||D&&z&&!Ze)throw this.unexpected(null,5);let At;if(pe||Ze?(At=!1,this.parseExportFrom(n,pe)):At=this.maybeParseExportDeclaration(n),pe||Ze||At)return this.checkExport(n,!0,!1,!!n.source),this.finishNode(n,"ExportNamedDeclaration");if(this.eat(65))return n.declaration=this.parseExportDefaultExpression(),this.checkExport(n,!0,!0),this.finishNode(n,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(n){return this.eat(55)}maybeParseExportDefaultSpecifier(n){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),n.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(n){if(this.isContextual(93)){n.specifiers||(n.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),n.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(n){if(this.match(5)){n.specifiers||(n.specifiers=[]);let t=n.exportKind==="type";return n.specifiers.push(...this.parseExportSpecifiers(t)),n.source=null,n.declaration=null,this.hasPlugin("importAssertions")&&(n.assertions=[]),!0}return!1}maybeParseExportDeclaration(n){return this.shouldParseExportDeclaration()?(n.specifiers=[],n.source=null,this.hasPlugin("importAssertions")&&(n.assertions=[]),n.declaration=this.parseExportDeclaration(n),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let n=this.nextTokenStart();return!$u.test(this.input.slice(this.state.pos,n))&&this.isUnparsedContextual(n,"function")}parseExportDefaultExpression(){let n=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(n,Aa|Qs,t);if(this.match(80))return this.parseClass(n,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(dt.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(n,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(dt.UnsupportedDefaultExport,{at:this.state.startLoc});let u=this.parseMaybeAssignAllowIn();return this.semicolon(),u}parseExportDeclaration(n){return this.parseStatement(null)}isExportDefaultSpecifier(){let{type:n}=this.state;if(Ln(n)){if(n===95&&!this.state.containsEsc||n===99)return!1;if((n===126||n===125)&&!this.state.containsEsc){let{type:p}=this.lookahead();if(Ln(p)&&p!==97||p===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),u=this.isUnparsedContextual(t,"from");if(this.input.charCodeAt(t)===44||Ln(this.state.type)&&u)return!0;if(this.match(65)&&u){let p=this.input.charCodeAt(this.nextTokenStartSince(t+4));return p===34||p===39}return!1}parseExportFrom(n,t){if(this.eatContextual(97)){n.source=this.parseImportSource(),this.checkExport(n);let u=this.maybeParseImportAssertions();u&&(n.assertions=u)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:n}=this.state;if(n===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(dt.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return n===74||n===75||n===68||n===80||this.isLet()||this.isAsyncFunction()}checkExport(n,t,u,p){if(t){if(u){if(this.checkDuplicateExports(n,"default"),this.hasPlugin("exportDefaultFrom")){var D;let z=n.declaration;z.type==="Identifier"&&z.name==="from"&&z.end-z.start===4&&!((D=z.extra)!=null&&D.parenthesized)&&this.raise(dt.ExportDefaultFromAsIdentifier,{at:z})}}else if(n.specifiers&&n.specifiers.length)for(let z of n.specifiers){let{exported:pe}=z,Ze=pe.type==="Identifier"?pe.name:pe.value;if(this.checkDuplicateExports(z,Ze),!p&&z.local){let{local:At}=z;At.type!=="Identifier"?this.raise(dt.ExportBindingIsString,{at:z,localName:At.value,exportName:Ze}):(this.checkReservedWord(At.name,At.loc.start,!0,!1),this.scope.checkLocalExport(At))}}else if(n.declaration){if(n.declaration.type==="FunctionDeclaration"||n.declaration.type==="ClassDeclaration"){let z=n.declaration.id;if(!z)throw new Error("Assertion failure");this.checkDuplicateExports(n,z.name)}else if(n.declaration.type==="VariableDeclaration")for(let z of n.declaration.declarations)this.checkDeclaration(z.id)}}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(dt.UnsupportedDecoratorExport,{at:n})}checkDeclaration(n){if(n.type==="Identifier")this.checkDuplicateExports(n,n.name);else if(n.type==="ObjectPattern")for(let t of n.properties)this.checkDeclaration(t);else if(n.type==="ArrayPattern")for(let t of n.elements)t&&this.checkDeclaration(t);else n.type==="ObjectProperty"?this.checkDeclaration(n.value):n.type==="RestElement"?this.checkDeclaration(n.argument):n.type==="AssignmentPattern"&&this.checkDeclaration(n.left)}checkDuplicateExports(n,t){this.exportedIdentifiers.has(t)&&(t==="default"?this.raise(dt.DuplicateDefaultExport,{at:n}):this.raise(dt.DuplicateExport,{at:n,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(n){let t=[],u=!0;for(this.expect(5);!this.eat(8);){if(u)u=!1;else if(this.expect(12),this.eat(8))break;let p=this.isContextual(126),D=this.match(129),z=this.startNode();z.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(z,D,n,p))}return t}parseExportSpecifier(n,t,u,p){return this.eatContextual(93)?n.exported=this.parseModuleExportName():t?n.exported=oe(n.local):n.exported||(n.exported=Y(n.local)),this.finishNode(n,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){let n=this.parseStringLiteral(this.state.value),t=n.value.match(La);return t&&this.raise(dt.ModuleExportNameHasLoneSurrogate,{at:n,surrogateCharCode:t[0].charCodeAt(0)}),n}return this.parseIdentifier(!0)}parseImport(n){if(n.specifiers=[],!this.match(129)){let u=!this.maybeParseDefaultImportSpecifier(n)||this.eat(12),p=u&&this.maybeParseStarImportSpecifier(n);u&&!p&&this.parseNamedImportSpecifiers(n),this.expectContextual(97)}n.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)n.assertions=t;else{let u=this.maybeParseModuleAttributes();u&&(n.attributes=u)}return this.semicolon(),this.finishNode(n,"ImportDeclaration")}parseImportSource(){return this.match(129)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(n){return Ln(this.state.type)}parseImportSpecifierLocal(n,t,u){t.local=this.parseIdentifier(),n.specifiers.push(this.finishImportSpecifier(t,u))}finishImportSpecifier(n,t){return this.checkLVal(n.local,{in:n,binding:so}),this.finishNode(n,t)}parseAssertEntries(){let n=[],t=new Set;do{if(this.match(8))break;let u=this.startNode(),p=this.state.value;if(t.has(p)&&this.raise(dt.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:p}),t.add(p),this.match(129)?u.key=this.parseStringLiteral(p):u.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(dt.ModuleAttributeInvalidValue,{at:this.state.startLoc});u.value=this.parseStringLiteral(this.state.value),this.finishNode(u,"ImportAttribute"),n.push(u)}while(this.eat(12));return n}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;let n=[],t=new Set;do{let u=this.startNode();if(u.key=this.parseIdentifier(!0),u.key.name!=="type"&&this.raise(dt.ModuleAttributeDifferentFromType,{at:u.key}),t.has(u.key.name)&&this.raise(dt.ModuleAttributesWithDuplicateKeys,{at:u.key,key:u.key.name}),t.add(u.key.name),this.expect(14),!this.match(129))throw this.raise(dt.ModuleAttributeInvalidValue,{at:this.state.startLoc});u.value=this.parseStringLiteral(this.state.value),this.finishNode(u,"ImportAttribute"),n.push(u)}while(this.eat(12));return n}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);let n=this.parseAssertEntries();return this.eat(8),n}maybeParseDefaultImportSpecifier(n){return this.shouldParseDefaultImport(n)?(this.parseImportSpecifierLocal(n,this.startNode(),"ImportDefaultSpecifier"),!0):!1}maybeParseStarImportSpecifier(n){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(n,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(n){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(dt.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let u=this.startNode(),p=this.match(129),D=this.isContextual(126);u.imported=this.parseModuleExportName();let z=this.parseImportSpecifier(u,p,n.importKind==="type"||n.importKind==="typeof",D);n.specifiers.push(z)}}parseImportSpecifier(n,t,u,p){if(this.eatContextual(93))n.local=this.parseIdentifier();else{let{imported:D}=n;if(t)throw this.raise(dt.ImportBindingIsString,{at:n,importName:D.value});this.checkReservedWord(D.name,n.loc.start,!0,!0),n.local||(n.local=Y(D))}return this.finishImportSpecifier(n,"ImportSpecifier")}isThisParam(n){return n.type==="Identifier"&&n.name==="this"}},Sl=class extends sa{constructor(n,t){n=_r(n),super(n,t),this.options=n,this.initializeScopes(),this.plugins=Ju(this.options.plugins),this.filename=n.sourceFilename}getScopeHandler(){return ku}parse(){this.enterInitialScopes();let n=this.startNode(),t=this.startNode();return this.nextToken(),n.errors=null,this.parseTopLevel(n,t),n.errors=this.state.errors,n}};function Ju(n){let t=new Map;for(let u of n){let[p,D]=Array.isArray(u)?u:[u,{}];t.has(p)||t.set(p,D||{})}return t}function Nc(n,t){var u;if(((u=t)==null?void 0:u.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let p=cu(t,n),D=p.parse();if(p.sawUnambiguousESM)return D;if(p.ambiguousScriptDifferentAst)try{return t.sourceType="script",cu(t,n).parse()}catch{}else D.program.sourceType="script";return D}catch(p){try{return t.sourceType="script",cu(t,n).parse()}catch{}throw p}}else return cu(t,n).parse()}function Pu(n,t){let u=cu(t,n);return u.options.strictMode&&(u.state.strict=!0),u.getExpression()}function Fl(n){let t={};for(let u of Object.keys(n))t[u]=Ts(n[u]);return t}var $l=Fl(In);function cu(n,t){let u=Sl;return n!=null&&n.plugins&&(Fi(n.plugins),u=Bc(n.plugins)),new u(n,t)}var $o={};function Bc(n){let t=Ut.filter(D=>ts(n,D)),u=t.join("/"),p=$o[u];if(!p){p=Sl;for(let D of t)p=ki[D](p);$o[u]=p}return p}Vn.parse=Nc,Vn.parseExpression=Pu,Vn.tokTypes=$l}}),rl=Ce({"src/language-js/parse/json.js"(Vn,Cn){Dt();var xn=du(),sn=mo(),pn=fo(),ri=Jo();function ii(){let Yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{allowComments:ji=!0}=Yn;return function(as){let{parseExpression:Ri}=Ga(),Es;try{Es=Ri(as,{tokens:!0,ranges:!0})}catch(da){throw ri(da)}if(!ji&&xn(Es.comments))throw Zn(Es.comments[0],"Comment");return vi(Es),Es}}function Zn(Yn,ji){let[as,Ri]=[Yn.loc.start,Yn.loc.end].map(Es=>{let{line:da,column:Ji}=Es;return{line:da,column:Ji+1}});return sn("".concat(ji," is not allowed in JSON."),{start:as,end:Ri})}function vi(Yn){switch(Yn.type){case"ArrayExpression":for(let ji of Yn.elements)ji!==null&&vi(ji);return;case"ObjectExpression":for(let ji of Yn.properties)vi(ji);return;case"ObjectProperty":if(Yn.computed)throw Zn(Yn.key,"Computed key");if(Yn.shorthand)throw Zn(Yn.key,"Shorthand property");Yn.key.type!=="Identifier"&&vi(Yn.key),vi(Yn.value);return;case"UnaryExpression":{let{operator:ji,argument:as}=Yn;if(ji!=="+"&&ji!=="-")throw Zn(Yn,"Operator '".concat(Yn.operator,"'"));if(as.type==="NumericLiteral"||as.type==="Identifier"&&(as.name==="Infinity"||as.name==="NaN"))return;throw Zn(as,"Operator '".concat(ji,"' before '").concat(as.type,"'"))}case"Identifier":if(Yn.name!=="Infinity"&&Yn.name!=="NaN"&&Yn.name!=="undefined")throw Zn(Yn,"Identifier '".concat(Yn.name,"'"));return;case"TemplateLiteral":if(xn(Yn.expressions))throw Zn(Yn.expressions[0],"'TemplateLiteral' with expression");for(let ji of Yn.quasis)vi(ji);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw Zn(Yn,"'".concat(Yn.type,"'"))}}var Wi=ii(),Zi={json:pn({parse:Wi,hasPragma(){return!0}}),json5:pn(Wi),"json-stringify":pn({parse:ii({allowComments:!1}),astFormat:"estree-json"})};Cn.exports=Zi}});Dt();var Lu=Wt(),vu=nr(),Oo=kr(),Na=fo(),nl=Jo(),Mu=Ou(),il=rl(),ju={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},sl=["recordAndTuple",{syntaxType:"hash"}],xu="v8intrinsic",Ba=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],Ws=function(Vn){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ju;return Object.assign(Object.assign({},Cn),{},{plugins:[...Cn.plugins,...Vn]})},fa=/@(?:no)?flow\b/;function Ta(Vn,Cn){if(Cn.filepath&&Cn.filepath.endsWith(".js.flow"))return!0;let xn=vu(Vn);xn&&(Vn=Vn.slice(xn.length));let sn=Oo(Vn,0);return sn!==!1&&(Vn=Vn.slice(0,sn)),fa.test(Vn)}function Xa(Vn,Cn,xn){let sn=Ga()[Vn](Cn,xn),pn=sn.errors.find(ri=>!Cu.has(ri.reasonCode));if(pn)throw pn;return sn}function _a(Vn){for(var Cn=arguments.length,xn=new Array(Cn>1?Cn-1:0),sn=1;sn<Cn;sn++)xn[sn-1]=arguments[sn];return function(pn,ri){let ii=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if((ii.parser==="babel"||ii.parser==="__babel_estree")&&Ta(pn,ii))return ii.parser="babel-flow",Lo(pn,ri,ii);let Zn=xn;ii.__babelSourceType==="script"&&(Zn=Zn.map(Yn=>Object.assign(Object.assign({},Yn),{},{sourceType:"script"}))),/#[[{]/.test(pn)&&(Zn=Zn.map(Yn=>Ws([sl],Yn)));let vi=/%[A-Z]/.test(pn);pn.includes("|>")?Zn=(vi?[...Ba,xu]:Ba).flatMap(Yn=>Zn.map(ji=>Ws([Yn],ji))):vi&&(Zn=Zn.map(Yn=>Ws([xu],Yn)));let{result:Wi,error:Zi}=Lu(...Zn.map(Yn=>()=>Xa(Vn,pn,Yn)));if(!Wi)throw nl(Zi);return ii.originalText=pn,Mu(Wi,ii)}}var Yo=_a("parse",Ws(["jsx","flow"])),Lo=_a("parse",Ws(["jsx",["flow",{all:!0,enums:!0}]])),Qi=_a("parse",Ws(["jsx","typescript"]),Ws(["typescript"])),bu=_a("parse",Ws(["jsx","flow","estree"])),Sa=_a("parseExpression",Ws(["jsx"])),Qo=_a("parseExpression",Ws(["typescript"])),Cu=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"]),bo=Na(Yo),Zo=Na(Qi),ja=Na(Sa),go=Na(Qo);Pt.exports={parsers:Object.assign(Object.assign({babel:bo,"babel-flow":Na(Lo),"babel-ts":Zo},il),{},{__js_expression:ja,__vue_expression:ja,__vue_ts_expression:go,__vue_event_binding:bo,__vue_ts_event_binding:Zo,__babel_estree:Na(bu)})}});return Kn()})})(ym);var BD=Up(ym.exports);function _D(i,c,l){const f={css:PD,html:ND,babel:BD};return pa(()=>{if(!Oi(c))return Oi(i)||"/* empty */";try{return kD.format(Oi(i)||"",{parser:l,plugins:[f[l]],singleQuote:!0,semi:!1})}catch(v){return console.error(v),`/* Error on prettifying: ${v.message} */
|
|
276
|
-
${Oi(i)||""}`}})}function ID(i,c=!0){return _D(i,c,"css")}const OD={"h-full":""},LD={p:"x4 y2",grid:"~ cols-4 gap-4"},MD=Xi("div",{op80:""}," Presets ",-1),jD={op50:"","ws-pre":""},RD={overflow:"auto"},zD=Xi("div",{op80:""}," Rules ",-1),UD=Xi("span",{op50:""},"dynamic",-1),HD=Xi("br",null,null,-1),qD=Xi("span",{op50:""},"static",-1),$D=Xi("div",{op80:""}," Variants ",-1),WD=Xi("div",{op80:""}," Shortcuts ",-1),VD={key:0},GD=Xi("div",{op80:""}," Config File ",-1),XD=Xi("div",{op80:""}," Version ",-1),JD={op50:"","ws-pre":""},KD={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},YD=Xi("div",{op80:""}," Included Files ",-1),QD=Xi("div",{op80:""}," CSS Size ",-1),ZD=Xi("span",{op50:""},"gzipped",-1),ev=Xi("div",{op80:""}," Matched Rules ",-1),tv=Xi("div",{op80:""}," Layers ",-1),rv={op50:"","ws-pre":""},nv=Ku(" Prettify "),iv=tl({__name:"Overview",setup(i){const c=Va(null),l=FD(c,"overview-scrolls");Rh.execute();const f=Va(!1),v=ID(pa(()=>{var B;return(B=op.value)==null?void 0:B.css}),f);return(B,K)=>{const de=SD,De=bD,Le=yD,ze=fD;return xa(),ho("div",OD,[ea(Le,{ref_key:"status",ref:c,p0:""},{default:Nl(()=>{var it,mt,Bt,Qt,Cr,Rr,St,$t,Vt,Pr,nn,Sn,Wn,Mi,mi,Un,Nn,Ai;return[Xi("div",LD,[Xi("div",null,[MD,Xi("div",jD,Bo((Bt=(mt=(it=Oi(Za))==null?void 0:it.config)==null?void 0:mt.presets)==null?void 0:Bt.map(Dr=>Dr.name).join(`
|
|
277
|
-
`)),1)]),Xi("div",RD,[zD,Ku(" "+Bo((Rr=(Cr=(Qt=Oi(Za))==null?void 0:Qt.config)==null?void 0:Cr.rulesDynamic)==null?void 0:Rr.filter(Boolean).length)+" ",1),UD,HD,Ku(" "+Bo(Object.keys((($t=(St=Oi(Za))==null?void 0:St.config)==null?void 0:$t.rulesStaticMap)||{}).length)+" ",1),qD]),Xi("div",null,[$D,Ku(" "+Bo((nn=(Pr=(Vt=Oi(Za))==null?void 0:Vt.config)==null?void 0:Pr.variants)==null?void 0:nn.length),1)]),Xi("div",null,[WD,Ku(" "+Bo((Sn=Oi(Za))==null?void 0:Sn.config.shortcuts.length),1)]),(Wn=Oi(Za))!=null&&Wn.configPath?(xa(),ho("div",VD,[GD,ea(de,{id:Oi(Za).configPath},null,8,["id"])])):Cp("",!0),Xi("div",null,[XD,Xi("div",JD,Bo((Mi=Oi(Za))==null?void 0:Mi.version),1)])]),Xi("div",KD,[Xi("div",null,[YD,Ku(" "+Bo((mi=Oi(Za))==null?void 0:mi.modules.length),1)]),Xi("div",null,[QD,Ku(" "+Bo(((((Un=Oi(op))==null?void 0:Un.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),ZD]),Xi("div",null,[ev,Ku(" "+Bo((Nn=Oi(op))==null?void 0:Nn.matched.length),1)]),Xi("div",null,[tv,Xi("div",rv,Bo((Ai=Oi(op))==null?void 0:Ai.layers.join(`
|
|
278
|
-
`)),1)])]),ea(De,{border:"t gray-400/20",title:"Output CSS"},{default:Nl(()=>[Xi("label",null,[r0(Xi("input",{"onUpdate:modelValue":K[0]||(K[0]=Dr=>f.value=Dr),type:"checkbox"},null,512),[[ey,f.value]]),nv])]),_:1})]}),_:1},512),ea(ze,{"model-value":Oi(v),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:ep(Oi(l))},null,8,["model-value","style"])])}}}),sv={};function av(i,c){const l=iv;return xa(),xc(l)}var ov=lm(sv,[["render",av]]);const uv=()=>Dh(()=>import("./repl.404c239a.js"),[]),lv=()=>Dh(()=>import("./_id_.6b1d1bd3.js"),[]),cv=[{name:"index",path:"/",component:ov,props:!0},{name:"repl",path:"/repl",component:uv,props:!0},{name:"module-id",path:"/module/:id",component:lv,props:!0}];/*!
|
|
279
|
-
* vue-router v4.0.16
|
|
280
|
-
* (c) 2022 Eduardo San Martin Morote
|
|
281
|
-
* @license MIT
|
|
282
|
-
*/const Dm=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Pc=i=>Dm?Symbol(i):"_vr_"+i,pv=Pc("rvlm"),Mf=Pc("rvd"),zh=Pc("r"),Uh=Pc("rl"),mh=Pc("rvl"),mc=typeof window!="undefined";function hv(i){return i.__esModule||Dm&&i[Symbol.toStringTag]==="Module"}const aa=Object.assign;function Kp(i,c){const l={};for(const f in c){const v=c[f];l[f]=Array.isArray(v)?v.map(i):i(v)}return l}const $c=()=>{},fv=/\/$/,dv=i=>i.replace(fv,"");function Yp(i,c,l="/"){let f,v={},B="",K="";const de=c.indexOf("?"),De=c.indexOf("#",de>-1?de:0);return de>-1&&(f=c.slice(0,de),B=c.slice(de+1,De>-1?De:c.length),v=i(B)),De>-1&&(f=f||c.slice(0,De),K=c.slice(De,c.length)),f=Dv(f!=null?f:c,l),{fullPath:f+(B&&"?")+B+K,path:f,query:v,hash:K}}function mv(i,c){const l=c.query?i(c.query):"";return c.path+(l&&"?")+l+(c.hash||"")}function jf(i,c){return!c||!i.toLowerCase().startsWith(c.toLowerCase())?i:i.slice(c.length)||"/"}function gv(i,c,l){const f=c.matched.length-1,v=l.matched.length-1;return f>-1&&f===v&&Ec(c.matched[f],l.matched[v])&&vm(c.params,l.params)&&i(c.query)===i(l.query)&&c.hash===l.hash}function Ec(i,c){return(i.aliasOf||i)===(c.aliasOf||c)}function vm(i,c){if(Object.keys(i).length!==Object.keys(c).length)return!1;for(const l in i)if(!yv(i[l],c[l]))return!1;return!0}function yv(i,c){return Array.isArray(i)?Rf(i,c):Array.isArray(c)?Rf(c,i):i===c}function Rf(i,c){return Array.isArray(c)?i.length===c.length&&i.every((l,f)=>l===c[f]):i.length===1&&i[0]===c}function Dv(i,c){if(i.startsWith("/"))return i;if(!i)return c;const l=c.split("/"),f=i.split("/");let v=l.length-1,B,K;for(B=0;B<f.length;B++)if(K=f[B],!(v===1||K==="."))if(K==="..")v--;else break;return l.slice(0,v).join("/")+"/"+f.slice(B-(B===f.length?1:0)).join("/")}var Zc;(function(i){i.pop="pop",i.push="push"})(Zc||(Zc={}));var Wc;(function(i){i.back="back",i.forward="forward",i.unknown=""})(Wc||(Wc={}));function vv(i){if(!i)if(mc){const c=document.querySelector("base");i=c&&c.getAttribute("href")||"/",i=i.replace(/^\w+:\/\/[^\/]+/,"")}else i="/";return i[0]!=="/"&&i[0]!=="#"&&(i="/"+i),dv(i)}const xv=/^[^#]+#/;function bv(i,c){return i.replace(xv,"#")+c}function Cv(i,c){const l=document.documentElement.getBoundingClientRect(),f=i.getBoundingClientRect();return{behavior:c.behavior,left:f.left-l.left-(c.left||0),top:f.top-l.top-(c.top||0)}}const qp=()=>({left:window.pageXOffset,top:window.pageYOffset});function Ev(i){let c;if("el"in i){const l=i.el,f=typeof l=="string"&&l.startsWith("#"),v=typeof l=="string"?f?document.getElementById(l.slice(1)):document.querySelector(l):l;if(!v)return;c=Cv(v,i)}else c=i;"scrollBehavior"in document.documentElement.style?window.scrollTo(c):window.scrollTo(c.left!=null?c.left:window.pageXOffset,c.top!=null?c.top:window.pageYOffset)}function zf(i,c){return(history.state?history.state.position-c:-1)+i}const gh=new Map;function Av(i,c){gh.set(i,c)}function wv(i){const c=gh.get(i);return gh.delete(i),c}let Tv=()=>location.protocol+"//"+location.host;function xm(i,c){const{pathname:l,search:f,hash:v}=c,B=i.indexOf("#");if(B>-1){let de=v.includes(i.slice(B))?i.slice(B).length:1,De=v.slice(de);return De[0]!=="/"&&(De="/"+De),jf(De,"")}return jf(l,i)+f+v}function Sv(i,c,l,f){let v=[],B=[],K=null;const de=({state:mt})=>{const Bt=xm(i,location),Qt=l.value,Cr=c.value;let Rr=0;if(mt){if(l.value=Bt,c.value=mt,K&&K===Qt){K=null;return}Rr=Cr?mt.position-Cr.position:0}else f(Bt);v.forEach(St=>{St(l.value,Qt,{delta:Rr,type:Zc.pop,direction:Rr?Rr>0?Wc.forward:Wc.back:Wc.unknown})})};function De(){K=l.value}function Le(mt){v.push(mt);const Bt=()=>{const Qt=v.indexOf(mt);Qt>-1&&v.splice(Qt,1)};return B.push(Bt),Bt}function ze(){const{history:mt}=window;!mt.state||mt.replaceState(aa({},mt.state,{scroll:qp()}),"")}function it(){for(const mt of B)mt();B=[],window.removeEventListener("popstate",de),window.removeEventListener("beforeunload",ze)}return window.addEventListener("popstate",de),window.addEventListener("beforeunload",ze),{pauseListeners:De,listen:Le,destroy:it}}function Uf(i,c,l,f=!1,v=!1){return{back:i,current:c,forward:l,replaced:f,position:window.history.length,scroll:v?qp():null}}function Fv(i){const{history:c,location:l}=window,f={value:xm(i,l)},v={value:c.state};v.value||B(f.value,{back:null,current:f.value,forward:null,position:c.length-1,replaced:!0,scroll:null},!0);function B(De,Le,ze){const it=i.indexOf("#"),mt=it>-1?(l.host&&document.querySelector("base")?i:i.slice(it))+De:Tv()+i+De;try{c[ze?"replaceState":"pushState"](Le,"",mt),v.value=Le}catch(Bt){console.error(Bt),l[ze?"replace":"assign"](mt)}}function K(De,Le){const ze=aa({},c.state,Uf(v.value.back,De,v.value.forward,!0),Le,{position:v.value.position});B(De,ze,!0),f.value=De}function de(De,Le){const ze=aa({},v.value,c.state,{forward:De,scroll:qp()});B(ze.current,ze,!0);const it=aa({},Uf(f.value,De,null),{position:ze.position+1},Le);B(De,it,!1),f.value=De}return{location:f,state:v,push:de,replace:K}}function kv(i){i=vv(i);const c=Fv(i),l=Sv(i,c.state,c.location,c.replace);function f(B,K=!0){K||l.pauseListeners(),history.go(B)}const v=aa({location:"",base:i,go:f,createHref:bv.bind(null,i)},c,l);return Object.defineProperty(v,"location",{enumerable:!0,get:()=>c.location.value}),Object.defineProperty(v,"state",{enumerable:!0,get:()=>c.state.value}),v}function Pv(i){return i=location.host?i||location.pathname+location.search:"",i.includes("#")||(i+="#"),kv(i)}function Nv(i){return typeof i=="string"||i&&typeof i=="object"}function bm(i){return typeof i=="string"||typeof i=="symbol"}const Vl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Cm=Pc("nf");var Hf;(function(i){i[i.aborted=4]="aborted",i[i.cancelled=8]="cancelled",i[i.duplicated=16]="duplicated"})(Hf||(Hf={}));function Ac(i,c){return aa(new Error,{type:i,[Cm]:!0},c)}function Gl(i,c){return i instanceof Error&&Cm in i&&(c==null||!!(i.type&c))}const qf="[^/]+?",Bv={sensitive:!1,strict:!1,start:!0,end:!0},_v=/[.+*?^${}()[\]/\\]/g;function Iv(i,c){const l=aa({},Bv,c),f=[];let v=l.start?"^":"";const B=[];for(const Le of i){const ze=Le.length?[]:[90];l.strict&&!Le.length&&(v+="/");for(let it=0;it<Le.length;it++){const mt=Le[it];let Bt=40+(l.sensitive?.25:0);if(mt.type===0)it||(v+="/"),v+=mt.value.replace(_v,"\\$&"),Bt+=40;else if(mt.type===1){const{value:Qt,repeatable:Cr,optional:Rr,regexp:St}=mt;B.push({name:Qt,repeatable:Cr,optional:Rr});const $t=St||qf;if($t!==qf){Bt+=10;try{new RegExp(`(${$t})`)}catch(Pr){throw new Error(`Invalid custom RegExp for param "${Qt}" (${$t}): `+Pr.message)}}let Vt=Cr?`((?:${$t})(?:/(?:${$t}))*)`:`(${$t})`;it||(Vt=Rr&&Le.length<2?`(?:/${Vt})`:"/"+Vt),Rr&&(Vt+="?"),v+=Vt,Bt+=20,Rr&&(Bt+=-8),Cr&&(Bt+=-20),$t===".*"&&(Bt+=-50)}ze.push(Bt)}f.push(ze)}if(l.strict&&l.end){const Le=f.length-1;f[Le][f[Le].length-1]+=.7000000000000001}l.strict||(v+="/?"),l.end?v+="$":l.strict&&(v+="(?:/|$)");const K=new RegExp(v,l.sensitive?"":"i");function de(Le){const ze=Le.match(K),it={};if(!ze)return null;for(let mt=1;mt<ze.length;mt++){const Bt=ze[mt]||"",Qt=B[mt-1];it[Qt.name]=Bt&&Qt.repeatable?Bt.split("/"):Bt}return it}function De(Le){let ze="",it=!1;for(const mt of i){(!it||!ze.endsWith("/"))&&(ze+="/"),it=!1;for(const Bt of mt)if(Bt.type===0)ze+=Bt.value;else if(Bt.type===1){const{value:Qt,repeatable:Cr,optional:Rr}=Bt,St=Qt in Le?Le[Qt]:"";if(Array.isArray(St)&&!Cr)throw new Error(`Provided param "${Qt}" is an array but it is not repeatable (* or + modifiers)`);const $t=Array.isArray(St)?St.join("/"):St;if(!$t)if(Rr)mt.length<2&&i.length>1&&(ze.endsWith("/")?ze=ze.slice(0,-1):it=!0);else throw new Error(`Missing required param "${Qt}"`);ze+=$t}}return ze}return{re:K,score:f,keys:B,parse:de,stringify:De}}function Ov(i,c){let l=0;for(;l<i.length&&l<c.length;){const f=c[l]-i[l];if(f)return f;l++}return i.length<c.length?i.length===1&&i[0]===40+40?-1:1:i.length>c.length?c.length===1&&c[0]===40+40?1:-1:0}function Lv(i,c){let l=0;const f=i.score,v=c.score;for(;l<f.length&&l<v.length;){const B=Ov(f[l],v[l]);if(B)return B;l++}if(Math.abs(v.length-f.length)===1){if($f(f))return 1;if($f(v))return-1}return v.length-f.length}function $f(i){const c=i[i.length-1];return i.length>0&&c[c.length-1]<0}const Mv={type:0,value:""},jv=/[a-zA-Z0-9_]/;function Rv(i){if(!i)return[[]];if(i==="/")return[[Mv]];if(!i.startsWith("/"))throw new Error(`Invalid path "${i}"`);function c(Bt){throw new Error(`ERR (${l})/"${Le}": ${Bt}`)}let l=0,f=l;const v=[];let B;function K(){B&&v.push(B),B=[]}let de=0,De,Le="",ze="";function it(){!Le||(l===0?B.push({type:0,value:Le}):l===1||l===2||l===3?(B.length>1&&(De==="*"||De==="+")&&c(`A repeatable param (${Le}) must be alone in its segment. eg: '/:ids+.`),B.push({type:1,value:Le,regexp:ze,repeatable:De==="*"||De==="+",optional:De==="*"||De==="?"})):c("Invalid state to consume buffer"),Le="")}function mt(){Le+=De}for(;de<i.length;){if(De=i[de++],De==="\\"&&l!==2){f=l,l=4;continue}switch(l){case 0:De==="/"?(Le&&it(),K()):De===":"?(it(),l=1):mt();break;case 4:mt(),l=f;break;case 1:De==="("?l=2:jv.test(De)?mt():(it(),l=0,De!=="*"&&De!=="?"&&De!=="+"&&de--);break;case 2:De===")"?ze[ze.length-1]=="\\"?ze=ze.slice(0,-1)+De:l=3:ze+=De;break;case 3:it(),l=0,De!=="*"&&De!=="?"&&De!=="+"&&de--,ze="";break;default:c("Unknown state");break}}return l===2&&c(`Unfinished custom RegExp for param "${Le}"`),it(),K(),v}function zv(i,c,l){const f=Iv(Rv(i.path),l),v=aa(f,{record:i,parent:c,children:[],alias:[]});return c&&!v.record.aliasOf==!c.record.aliasOf&&c.children.push(v),v}function Uv(i,c){const l=[],f=new Map;c=Vf({strict:!1,end:!0,sensitive:!1},c);function v(ze){return f.get(ze)}function B(ze,it,mt){const Bt=!mt,Qt=qv(ze);Qt.aliasOf=mt&&mt.record;const Cr=Vf(c,ze),Rr=[Qt];if("alias"in ze){const Vt=typeof ze.alias=="string"?[ze.alias]:ze.alias;for(const Pr of Vt)Rr.push(aa({},Qt,{components:mt?mt.record.components:Qt.components,path:Pr,aliasOf:mt?mt.record:Qt}))}let St,$t;for(const Vt of Rr){const{path:Pr}=Vt;if(it&&Pr[0]!=="/"){const nn=it.record.path,Sn=nn[nn.length-1]==="/"?"":"/";Vt.path=it.record.path+(Pr&&Sn+Pr)}if(St=zv(Vt,it,Cr),mt?mt.alias.push(St):($t=$t||St,$t!==St&&$t.alias.push(St),Bt&&ze.name&&!Wf(St)&&K(ze.name)),"children"in Qt){const nn=Qt.children;for(let Sn=0;Sn<nn.length;Sn++)B(nn[Sn],St,mt&&mt.children[Sn])}mt=mt||St,De(St)}return $t?()=>{K($t)}:$c}function K(ze){if(bm(ze)){const it=f.get(ze);it&&(f.delete(ze),l.splice(l.indexOf(it),1),it.children.forEach(K),it.alias.forEach(K))}else{const it=l.indexOf(ze);it>-1&&(l.splice(it,1),ze.record.name&&f.delete(ze.record.name),ze.children.forEach(K),ze.alias.forEach(K))}}function de(){return l}function De(ze){let it=0;for(;it<l.length&&Lv(ze,l[it])>=0&&(ze.record.path!==l[it].record.path||!Em(ze,l[it]));)it++;l.splice(it,0,ze),ze.record.name&&!Wf(ze)&&f.set(ze.record.name,ze)}function Le(ze,it){let mt,Bt={},Qt,Cr;if("name"in ze&&ze.name){if(mt=f.get(ze.name),!mt)throw Ac(1,{location:ze});Cr=mt.record.name,Bt=aa(Hv(it.params,mt.keys.filter($t=>!$t.optional).map($t=>$t.name)),ze.params),Qt=mt.stringify(Bt)}else if("path"in ze)Qt=ze.path,mt=l.find($t=>$t.re.test(Qt)),mt&&(Bt=mt.parse(Qt),Cr=mt.record.name);else{if(mt=it.name?f.get(it.name):l.find($t=>$t.re.test(it.path)),!mt)throw Ac(1,{location:ze,currentLocation:it});Cr=mt.record.name,Bt=aa({},it.params,ze.params),Qt=mt.stringify(Bt)}const Rr=[];let St=mt;for(;St;)Rr.unshift(St.record),St=St.parent;return{name:Cr,path:Qt,params:Bt,matched:Rr,meta:Wv(Rr)}}return i.forEach(ze=>B(ze)),{addRoute:B,resolve:Le,removeRoute:K,getRoutes:de,getRecordMatcher:v}}function Hv(i,c){const l={};for(const f of c)f in i&&(l[f]=i[f]);return l}function qv(i){return{path:i.path,redirect:i.redirect,name:i.name,meta:i.meta||{},aliasOf:void 0,beforeEnter:i.beforeEnter,props:$v(i),children:i.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in i?i.components||{}:{default:i.component}}}function $v(i){const c={},l=i.props||!1;if("component"in i)c.default=l;else for(const f in i.components)c[f]=typeof l=="boolean"?l:l[f];return c}function Wf(i){for(;i;){if(i.record.aliasOf)return!0;i=i.parent}return!1}function Wv(i){return i.reduce((c,l)=>aa(c,l.meta),{})}function Vf(i,c){const l={};for(const f in i)l[f]=f in c?c[f]:i[f];return l}function Em(i,c){return c.children.some(l=>l===i||Em(i,l))}const Am=/#/g,Vv=/&/g,Gv=/\//g,Xv=/=/g,Jv=/\?/g,wm=/\+/g,Kv=/%5B/g,Yv=/%5D/g,Tm=/%5E/g,Qv=/%60/g,Sm=/%7B/g,Zv=/%7C/g,Fm=/%7D/g,e1=/%20/g;function Hh(i){return encodeURI(""+i).replace(Zv,"|").replace(Kv,"[").replace(Yv,"]")}function t1(i){return Hh(i).replace(Sm,"{").replace(Fm,"}").replace(Tm,"^")}function yh(i){return Hh(i).replace(wm,"%2B").replace(e1,"+").replace(Am,"%23").replace(Vv,"%26").replace(Qv,"`").replace(Sm,"{").replace(Fm,"}").replace(Tm,"^")}function r1(i){return yh(i).replace(Xv,"%3D")}function n1(i){return Hh(i).replace(Am,"%23").replace(Jv,"%3F")}function i1(i){return i==null?"":n1(i).replace(Gv,"%2F")}function Ap(i){try{return decodeURIComponent(""+i)}catch{}return""+i}function s1(i){const c={};if(i===""||i==="?")return c;const f=(i[0]==="?"?i.slice(1):i).split("&");for(let v=0;v<f.length;++v){const B=f[v].replace(wm," "),K=B.indexOf("="),de=Ap(K<0?B:B.slice(0,K)),De=K<0?null:Ap(B.slice(K+1));if(de in c){let Le=c[de];Array.isArray(Le)||(Le=c[de]=[Le]),Le.push(De)}else c[de]=De}return c}function Gf(i){let c="";for(let l in i){const f=i[l];if(l=r1(l),f==null){f!==void 0&&(c+=(c.length?"&":"")+l);continue}(Array.isArray(f)?f.map(B=>B&&yh(B)):[f&&yh(f)]).forEach(B=>{B!==void 0&&(c+=(c.length?"&":"")+l,B!=null&&(c+="="+B))})}return c}function a1(i){const c={};for(const l in i){const f=i[l];f!==void 0&&(c[l]=Array.isArray(f)?f.map(v=>v==null?null:""+v):f==null?f:""+f)}return c}function Oc(){let i=[];function c(f){return i.push(f),()=>{const v=i.indexOf(f);v>-1&&i.splice(v,1)}}function l(){i=[]}return{add:c,list:()=>i,reset:l}}function Kl(i,c,l,f,v){const B=f&&(f.enterCallbacks[v]=f.enterCallbacks[v]||[]);return()=>new Promise((K,de)=>{const De=it=>{it===!1?de(Ac(4,{from:l,to:c})):it instanceof Error?de(it):Nv(it)?de(Ac(2,{from:c,to:it})):(B&&f.enterCallbacks[v]===B&&typeof it=="function"&&B.push(it),K())},Le=i.call(f&&f.instances[v],c,l,De);let ze=Promise.resolve(Le);i.length<3&&(ze=ze.then(De)),ze.catch(it=>de(it))})}function Qp(i,c,l,f){const v=[];for(const B of i)for(const K in B.components){let de=B.components[K];if(!(c!=="beforeRouteEnter"&&!B.instances[K]))if(o1(de)){const Le=(de.__vccOpts||de)[c];Le&&v.push(Kl(Le,l,f,B,K))}else{let De=de();v.push(()=>De.then(Le=>{if(!Le)return Promise.reject(new Error(`Couldn't resolve component "${K}" at "${B.path}"`));const ze=hv(Le)?Le.default:Le;B.components[K]=ze;const mt=(ze.__vccOpts||ze)[c];return mt&&Kl(mt,l,f,B,K)()}))}}return v}function o1(i){return typeof i=="object"||"displayName"in i||"props"in i||"__vccOpts"in i}function Xf(i){const c=Bl(zh),l=Bl(Uh),f=pa(()=>c.resolve(Oi(i.to))),v=pa(()=>{const{matched:De}=f.value,{length:Le}=De,ze=De[Le-1],it=l.matched;if(!ze||!it.length)return-1;const mt=it.findIndex(Ec.bind(null,ze));if(mt>-1)return mt;const Bt=Jf(De[Le-2]);return Le>1&&Jf(ze)===Bt&&it[it.length-1].path!==Bt?it.findIndex(Ec.bind(null,De[Le-2])):mt}),B=pa(()=>v.value>-1&&p1(l.params,f.value.params)),K=pa(()=>v.value>-1&&v.value===l.matched.length-1&&vm(l.params,f.value.params));function de(De={}){return c1(De)?c[Oi(i.replace)?"replace":"push"](Oi(i.to)).catch($c):Promise.resolve()}return{route:f,href:pa(()=>f.value.href),isActive:B,isExactActive:K,navigate:de}}const u1=tl({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:Xf,setup(i,{slots:c}){const l=Fc(Xf(i)),{options:f}=Bl(zh),v=pa(()=>({[Kf(i.activeClass,f.linkActiveClass,"router-link-active")]:l.isActive,[Kf(i.exactActiveClass,f.linkExactActiveClass,"router-link-exact-active")]:l.isExactActive}));return()=>{const B=c.default&&c.default(l);return i.custom?B:Mh("a",{"aria-current":l.isExactActive?i.ariaCurrentValue:null,href:l.href,onClick:l.navigate,class:v.value},B)}}}),l1=u1;function c1(i){if(!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)&&!i.defaultPrevented&&!(i.button!==void 0&&i.button!==0)){if(i.currentTarget&&i.currentTarget.getAttribute){const c=i.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(c))return}return i.preventDefault&&i.preventDefault(),!0}}function p1(i,c){for(const l in c){const f=c[l],v=i[l];if(typeof f=="string"){if(f!==v)return!1}else if(!Array.isArray(v)||v.length!==f.length||f.some((B,K)=>B!==v[K]))return!1}return!0}function Jf(i){return i?i.aliasOf?i.aliasOf.path:i.path:""}const Kf=(i,c,l)=>i!=null?i:c!=null?c:l,h1=tl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(i,{attrs:c,slots:l}){const f=Bl(mh),v=pa(()=>i.route||f.value),B=Bl(Mf,0),K=pa(()=>v.value.matched[B]);pp(Mf,B+1),pp(pv,K),pp(mh,v);const de=Va();return to(()=>[de.value,K.value,i.name],([De,Le,ze],[it,mt,Bt])=>{Le&&(Le.instances[ze]=De,mt&&mt!==Le&&De&&De===it&&(Le.leaveGuards.size||(Le.leaveGuards=mt.leaveGuards),Le.updateGuards.size||(Le.updateGuards=mt.updateGuards))),De&&Le&&(!mt||!Ec(Le,mt)||!it)&&(Le.enterCallbacks[ze]||[]).forEach(Qt=>Qt(De))},{flush:"post"}),()=>{const De=v.value,Le=K.value,ze=Le&&Le.components[i.name],it=i.name;if(!ze)return Yf(l.default,{Component:ze,route:De});const mt=Le.props[i.name],Bt=mt?mt===!0?De.params:typeof mt=="function"?mt(De):mt:null,Cr=Mh(ze,aa({},Bt,c,{onVnodeUnmounted:Rr=>{Rr.component.isUnmounted&&(Le.instances[it]=null)},ref:de}));return Yf(l.default,{Component:Cr,route:De})||Cr}}});function Yf(i,c){if(!i)return null;const l=i(c);return l.length===1?l[0]:l}const f1=h1;function d1(i){const c=Uv(i.routes,i),l=i.parseQuery||s1,f=i.stringifyQuery||Gf,v=i.history,B=Oc(),K=Oc(),de=Oc(),De=jc(Vl);let Le=Vl;mc&&i.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const ze=Kp.bind(null,Or=>""+Or),it=Kp.bind(null,i1),mt=Kp.bind(null,Ap);function Bt(Or,Kr){let mr,dn;return bm(Or)?(mr=c.getRecordMatcher(Or),dn=Kr):dn=Or,c.addRoute(dn,mr)}function Qt(Or){const Kr=c.getRecordMatcher(Or);Kr&&c.removeRoute(Kr)}function Cr(){return c.getRoutes().map(Or=>Or.record)}function Rr(Or){return!!c.getRecordMatcher(Or)}function St(Or,Kr){if(Kr=aa({},Kr||De.value),typeof Or=="string"){const ui=Yp(l,Or,Kr.path),ct=c.resolve({path:ui.path},Kr),Ot=v.createHref(ui.fullPath);return aa(ui,ct,{params:mt(ct.params),hash:Ap(ui.hash),redirectedFrom:void 0,href:Ot})}let mr;if("path"in Or)mr=aa({},Or,{path:Yp(l,Or.path,Kr.path).path});else{const ui=aa({},Or.params);for(const ct in ui)ui[ct]==null&&delete ui[ct];mr=aa({},Or,{params:it(Or.params)}),Kr.params=it(Kr.params)}const dn=c.resolve(mr,Kr),ai=Or.hash||"";dn.params=ze(mt(dn.params));const Jn=mv(f,aa({},Or,{hash:t1(ai),path:dn.path})),zn=v.createHref(Jn);return aa({fullPath:Jn,hash:ai,query:f===Gf?a1(Or.query):Or.query||{}},dn,{redirectedFrom:void 0,href:zn})}function $t(Or){return typeof Or=="string"?Yp(l,Or,De.value.path):aa({},Or)}function Vt(Or,Kr){if(Le!==Or)return Ac(8,{from:Kr,to:Or})}function Pr(Or){return Wn(Or)}function nn(Or){return Pr(aa($t(Or),{replace:!0}))}function Sn(Or){const Kr=Or.matched[Or.matched.length-1];if(Kr&&Kr.redirect){const{redirect:mr}=Kr;let dn=typeof mr=="function"?mr(Or):mr;return typeof dn=="string"&&(dn=dn.includes("?")||dn.includes("#")?dn=$t(dn):{path:dn},dn.params={}),aa({query:Or.query,hash:Or.hash,params:Or.params},dn)}}function Wn(Or,Kr){const mr=Le=St(Or),dn=De.value,ai=Or.state,Jn=Or.force,zn=Or.replace===!0,ui=Sn(mr);if(ui)return Wn(aa($t(ui),{state:ai,force:Jn,replace:zn}),Kr||mr);const ct=mr;ct.redirectedFrom=Kr;let Ot;return!Jn&&gv(f,dn,mr)&&(Ot=Ac(16,{to:ct,from:dn}),ls(dn,dn,!0,!1)),(Ot?Promise.resolve(Ot):mi(ct,dn)).catch(br=>Gl(br)?Gl(br,2)?br:ei(br):yr(br,ct,dn)).then(br=>{if(br){if(Gl(br,2))return Wn(aa($t(br.to),{state:ai,force:Jn,replace:zn}),Kr||ct)}else br=Nn(ct,dn,!0,zn,ai);return Un(ct,dn,br),br})}function Mi(Or,Kr){const mr=Vt(Or,Kr);return mr?Promise.reject(mr):Promise.resolve()}function mi(Or,Kr){let mr;const[dn,ai,Jn]=m1(Or,Kr);mr=Qp(dn.reverse(),"beforeRouteLeave",Or,Kr);for(const ui of dn)ui.leaveGuards.forEach(ct=>{mr.push(Kl(ct,Or,Kr))});const zn=Mi.bind(null,Or,Kr);return mr.push(zn),hc(mr).then(()=>{mr=[];for(const ui of B.list())mr.push(Kl(ui,Or,Kr));return mr.push(zn),hc(mr)}).then(()=>{mr=Qp(ai,"beforeRouteUpdate",Or,Kr);for(const ui of ai)ui.updateGuards.forEach(ct=>{mr.push(Kl(ct,Or,Kr))});return mr.push(zn),hc(mr)}).then(()=>{mr=[];for(const ui of Or.matched)if(ui.beforeEnter&&!Kr.matched.includes(ui))if(Array.isArray(ui.beforeEnter))for(const ct of ui.beforeEnter)mr.push(Kl(ct,Or,Kr));else mr.push(Kl(ui.beforeEnter,Or,Kr));return mr.push(zn),hc(mr)}).then(()=>(Or.matched.forEach(ui=>ui.enterCallbacks={}),mr=Qp(Jn,"beforeRouteEnter",Or,Kr),mr.push(zn),hc(mr))).then(()=>{mr=[];for(const ui of K.list())mr.push(Kl(ui,Or,Kr));return mr.push(zn),hc(mr)}).catch(ui=>Gl(ui,8)?ui:Promise.reject(ui))}function Un(Or,Kr,mr){for(const dn of de.list())dn(Or,Kr,mr)}function Nn(Or,Kr,mr,dn,ai){const Jn=Vt(Or,Kr);if(Jn)return Jn;const zn=Kr===Vl,ui=mc?history.state:{};mr&&(dn||zn?v.replace(Or.fullPath,aa({scroll:zn&&ui&&ui.scroll},ai)):v.push(Or.fullPath,ai)),De.value=Or,ls(Or,Kr,mr,zn),ei()}let Ai;function Dr(){Ai||(Ai=v.listen((Or,Kr,mr)=>{const dn=St(Or),ai=Sn(dn);if(ai){Wn(aa(ai,{replace:!0}),dn).catch($c);return}Le=dn;const Jn=De.value;mc&&Av(zf(Jn.fullPath,mr.delta),qp()),mi(dn,Jn).catch(zn=>Gl(zn,12)?zn:Gl(zn,2)?(Wn(zn.to,dn).then(ui=>{Gl(ui,20)&&!mr.delta&&mr.type===Zc.pop&&v.go(-1,!1)}).catch($c),Promise.reject()):(mr.delta&&v.go(-mr.delta,!1),yr(zn,dn,Jn))).then(zn=>{zn=zn||Nn(dn,Jn,!1),zn&&(mr.delta?v.go(-mr.delta,!1):mr.type===Zc.pop&&Gl(zn,20)&&v.go(-1,!1)),Un(dn,Jn,zn)}).catch($c)}))}let vn=Oc(),we=Oc(),tn;function yr(Or,Kr,mr){ei(Or);const dn=we.list();return dn.length?dn.forEach(ai=>ai(Or,Kr,mr)):console.error(Or),Promise.reject(Or)}function wn(){return tn&&De.value!==Vl?Promise.resolve():new Promise((Or,Kr)=>{vn.add([Or,Kr])})}function ei(Or){return tn||(tn=!Or,Dr(),vn.list().forEach(([Kr,mr])=>Or?mr(Or):Kr()),vn.reset()),Or}function ls(Or,Kr,mr,dn){const{scrollBehavior:ai}=i;if(!mc||!ai)return Promise.resolve();const Jn=!mr&&wv(zf(Or.fullPath,0))||(dn||!mr)&&history.state&&history.state.scroll||null;return _p().then(()=>ai(Or,Kr,Jn)).then(zn=>zn&&Ev(zn)).catch(zn=>yr(zn,Or,Kr))}const As=Or=>v.go(Or);let _s;const qi=new Set;return{currentRoute:De,addRoute:Bt,removeRoute:Qt,hasRoute:Rr,getRoutes:Cr,resolve:St,options:i,push:Pr,replace:nn,go:As,back:()=>As(-1),forward:()=>As(1),beforeEach:B.add,beforeResolve:K.add,afterEach:de.add,onError:we.add,isReady:wn,install(Or){const Kr=this;Or.component("RouterLink",l1),Or.component("RouterView",f1),Or.config.globalProperties.$router=Kr,Object.defineProperty(Or.config.globalProperties,"$route",{enumerable:!0,get:()=>Oi(De)}),mc&&!_s&&De.value===Vl&&(_s=!0,Pr(v.location).catch(ai=>{}));const mr={};for(const ai in Vl)mr[ai]=pa(()=>De.value[ai]);Or.provide(zh,Kr),Or.provide(Uh,Fc(mr)),Or.provide(mh,De);const dn=Or.unmount;qi.add(Or),Or.unmount=function(){qi.delete(Or),qi.size<1&&(Le=Vl,Ai&&Ai(),Ai=null,De.value=Vl,_s=!1,tn=!1),dn()}}}}function hc(i){return i.reduce((c,l)=>c.then(()=>l()),Promise.resolve())}function m1(i,c){const l=[],f=[],v=[],B=Math.max(c.matched.length,i.matched.length);for(let K=0;K<B;K++){const de=c.matched[K];de&&(i.matched.find(Le=>Ec(Le,de))?f.push(de):l.push(de));const De=i.matched[K];De&&(c.matched.find(Le=>Ec(Le,De))||v.push(De))}return[l,f,v]}function g1(){return Bl(Uh)}const y1=tl({__name:"FileIcon",props:{id:null},setup(i){const c=i,l=pa(()=>c.id.split(/\./g).pop()),f=pa(()=>{switch(l.value){case"vue":return"i-logos-vue";default:return"i-carbon-document-blank"}});return(v,B)=>(xa(),ho("div",{class:vc(Oi(f))},null,2))}}),D1={open:""},v1={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},x1={"ml-1":""},b1=tl({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(i){const c=g1();return(l,f)=>{const v=yp("ModuleTreeNode",!0),B=y1,K=yp("RouterLink");return xa(),ho("details",D1,[Xi("summary",v1,[Xi("div",{class:vc(i.icon)},null,2),Ku(" "+Bo(i.node.name),1)]),(xa(!0),ho(Go,null,rf(Object.entries(i.node.children),de=>(xa(),xc(v,{key:de[0],ml2:"",node:de[1]},null,8,["node"]))),128)),(xa(!0),ho(Go,null,rf(i.node.items,de=>(xa(),ho("div",{key:de.full,ml4:"","ws-nowrap":""},[ea(K,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(de.full)}`,class:vc({"bg-gray/10":de.full===Oi(c).params.id})},{default:Nl(()=>[ea(B,{id:de.path},null,8,["id"]),Xi("span",x1,Bo(de.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}});var C1="/__unocss/icon.svg";const E1={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},A1=Xi("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Xi("img",{src:C1,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Xi("div",{"of-hidden":""},[Ku(" Inspector "),Xi("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),w1=tl({__name:"NarBar",setup(i){const c=Vy(),l=yy(c);return(f,v)=>(xa(),ho("nav",E1,[A1,Xi("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:v[0]||(v[0]=B=>Oi(l)())})]))}}),T1={"h-full":""},S1={b:"r main","of-hidden":""},F1={pt:"4",flex:"~ col gap-3"},k1=Xi("div",{"i-carbon-dashboard":""},null,-1),P1=Xi("span",null," Overview ",-1),N1=Xi("div",{"i-carbon-terminal":""},null,-1),B1=Xi("span",null," REPL ",-1),_1=Xi("div",{b:"b main"},null,-1),I1={b:"r main",class:"scrolls scrolls-sidebar"},O1=tl({__name:"Sidebar",setup(i){return(c,l)=>{const f=w1,v=yp("RouterLink"),B=b1;return xa(),ho("div",T1,[Xi("div",S1,[ea(f),Xi("div",F1,[ea(v,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:Nl(()=>[k1,P1]),_:1}),ea(v,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:Nl(()=>[N1,B1]),_:1}),_1])]),Xi("div",I1,[Object.keys(Oi(up).workspace.children).length?(xa(),xc(B,{key:0,node:Oi(up).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):Cp("",!0),Object.keys(Oi(up).root.children).length?(xa(),xc(B,{key:1,node:Oi(up).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):Cp("",!0)])])}}});var L1=Object.defineProperty,M1=Object.defineProperties,j1=Object.getOwnPropertyDescriptors,wp=Object.getOwnPropertySymbols,km=Object.prototype.hasOwnProperty,Pm=Object.prototype.propertyIsEnumerable,Qf=(i,c,l)=>c in i?L1(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,R1=(i,c)=>{for(var l in c||(c={}))km.call(c,l)&&Qf(i,l,c[l]);if(wp)for(var l of wp(c))Pm.call(c,l)&&Qf(i,l,c[l]);return i},z1=(i,c)=>M1(i,j1(c)),U1=(i,c)=>{var l={};for(var f in i)km.call(i,f)&&c.indexOf(f)<0&&(l[f]=i[f]);if(i!=null&&wp)for(var f of wp(i))c.indexOf(f)<0&&Pm.call(i,f)&&(l[f]=i[f]);return l};const H1={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((i,c)=>(i[c.id]=c)&&i,{})}},methods:{updatePaneComponents(){this.panes.forEach(i=>{i.update&&i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.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(i,c){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=c},onMouseMove(i){this.touch.mouseDown&&(i.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(i)),this.$emit("resize",this.panes.map(c=>({min:c.min,max:c.max,size:c.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(i,c){"ontouchstart"in window&&(i.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===c?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(i,c),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=c,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[c])},onSplitterDblClick(i,c){let l=0;this.panes=this.panes.map((f,v)=>(f.size=v===c?f.max:f.min,v!==c&&(l+=f.min),f)),this.panes[c].size-=l,this.$emit("pane-maximize",this.panes[c])},onPaneClick(i,c){this.$emit("pane-click",this.indexedPanes[c])},getCurrentMouseDrag(i){const c=this.container.getBoundingClientRect(),{clientX:l,clientY:f}="ontouchstart"in window&&i.touches?i.touches[0]:i;return{x:l-c.left,y:f-c.top}},getCurrentDragPercentage(i){i=i[this.horizontal?"y":"x"];const c=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(i=c-i),i*100/c},calculatePanesSize(i){const c=this.touch.activeSplitter;let l={prevPanesSize:this.sumPrevPanesSize(c),nextPanesSize:this.sumNextPanesSize(c),prevReachedMinPanes:0,nextReachedMinPanes:0};const f=0+(this.pushOtherPanes?0:l.prevPanesSize),v=100-(this.pushOtherPanes?0:l.nextPanesSize),B=Math.max(Math.min(this.getCurrentDragPercentage(i),v),f);let K=[c,c+1],de=this.panes[K[0]]||null,De=this.panes[K[1]]||null;const Le=de.max<100&&B>=de.max+l.prevPanesSize,ze=De.max<100&&B<=100-(De.max+this.sumNextPanesSize(c+1));if(Le||ze){Le?(de.size=de.max,De.size=Math.max(100-de.max-l.prevPanesSize-l.nextPanesSize,0)):(de.size=Math.max(100-De.max-l.prevPanesSize-this.sumNextPanesSize(c+1),0),De.size=De.max);return}if(this.pushOtherPanes){const it=this.doPushOtherPanes(l,B);if(!it)return;({sums:l,panesToResize:K}=it),de=this.panes[K[0]]||null,De=this.panes[K[1]]||null}de!==null&&(de.size=Math.min(Math.max(B-l.prevPanesSize-l.prevReachedMinPanes,de.min),de.max)),De!==null&&(De.size=Math.min(Math.max(100-B-l.nextPanesSize-l.nextReachedMinPanes,De.min),De.max))},doPushOtherPanes(i,c){const l=this.touch.activeSplitter,f=[l,l+1];return c<i.prevPanesSize+this.panes[f[0]].min&&(f[0]=this.findPrevExpandedPane(l).index,i.prevReachedMinPanes=0,f[0]<l&&this.panes.forEach((v,B)=>{B>f[0]&&B<=l&&(v.size=v.min,i.prevReachedMinPanes+=v.min)}),i.prevPanesSize=this.sumPrevPanesSize(f[0]),f[0]===void 0)?(i.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((v,B)=>{B>0&&B<=l&&(v.size=v.min,i.prevReachedMinPanes+=v.min)}),this.panes[f[1]].size=100-i.prevReachedMinPanes-this.panes[0].min-i.prevPanesSize-i.nextPanesSize,null):c>100-i.nextPanesSize-this.panes[f[1]].min&&(f[1]=this.findNextExpandedPane(l).index,i.nextReachedMinPanes=0,f[1]>l+1&&this.panes.forEach((v,B)=>{B>l&&B<f[1]&&(v.size=v.min,i.nextReachedMinPanes+=v.min)}),i.nextPanesSize=this.sumNextPanesSize(f[1]-1),f[1]===void 0)?(i.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((v,B)=>{B<this.panesCount-1&&B>=l+1&&(v.size=v.min,i.nextReachedMinPanes+=v.min)}),this.panes[f[0]].size=100-i.prevPanesSize-i.nextReachedMinPanes-this.panes[this.panesCount-1].min-i.nextPanesSize,null):{sums:i,panesToResize:f}},sumPrevPanesSize(i){return this.panes.reduce((c,l,f)=>c+(f<i?l.size:0),0)},sumNextPanesSize(i){return this.panes.reduce((c,l,f)=>c+(f>i+1?l.size:0),0)},findPrevExpandedPane(i){return[...this.panes].reverse().find(l=>l.index<i&&l.size>l.min)||{}},findNextExpandedPane(i){return this.panes.find(l=>l.index>i+1&&l.size>l.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(c=>{const l=c.classList.contains("splitpanes__pane"),f=c.classList.contains("splitpanes__splitter");if(!l&&!f){c.parentNode.removeChild(c),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.");return}})},addSplitter(i,c,l=!1){const f=i-1,v=document.createElement("div");v.classList.add("splitpanes__splitter"),l||(v.onmousedown=B=>this.onMouseDown(B,f),typeof window!="undefined"&&"ontouchstart"in window&&(v.ontouchstart=B=>this.onMouseDown(B,f)),v.onclick=B=>this.onSplitterClick(B,f+1)),this.dblClickSplitter&&(v.ondblclick=B=>this.onSplitterDblClick(B,f+1)),c.parentNode.insertBefore(v,c)},removeSplitter(i){i.onmousedown=void 0,i.onclick=void 0,i.ondblclick=void 0,i.parentNode.removeChild(i)},redoSplitters(){const i=Array.from(this.container.children);i.forEach(l=>{l.className.includes("splitpanes__splitter")&&this.removeSplitter(l)});let c=0;i.forEach(l=>{l.className.includes("splitpanes__pane")&&(!c&&this.firstSplitter?this.addSplitter(c,l,!0):c&&this.addSplitter(c,l),c++)})},requestUpdate(i){var c=i,{target:l}=c,f=U1(c,["target"]);const v=this.indexedPanes[l._.uid];Object.entries(f).forEach(([B,K])=>v[B]=K)},onPaneAdd(i){let c=-1;Array.from(i.$el.parentNode.children).some(v=>(v.className.includes("splitpanes__pane")&&c++,v===i.$el));const l=parseFloat(i.minSize),f=parseFloat(i.maxSize);this.panes.splice(c,0,{id:i._.uid,index:c,min:isNaN(l)?0:l,max:isNaN(f)?100:f,size:i.size===null?null:parseFloat(i.size),givenSize:i.size,update:i.update}),this.panes.forEach((v,B)=>v.index=B),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[c]}),this.$emit("pane-add",{index:c,panes:this.panes.map(v=>({min:v.min,max:v.max,size:v.size}))})})},onPaneRemove(i){const c=this.panes.findIndex(f=>f.id===i._.uid),l=this.panes.splice(c,1)[0];this.panes.forEach((f,v)=>f.index=v),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:z1(R1({},l),{index:c})}),this.$emit("pane-remove",{removed:l,panes:this.panes.map(f=>({min:f.min,max:f.max,size:f.size}))})})},resetPaneSizes(i={}){!i.addedPane&&!i.removedPane?this.initialPanesSizing():this.panes.some(c=>c.givenSize!==null||c.min||c.max<100)?this.equalizeAfterAddOrRemove(i):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(c=>({min:c.min,max:c.max,size:c.size})))},equalize(){const i=100/this.panesCount;let c=0,l=[],f=[];this.panes.forEach(v=>{v.size=Math.max(Math.min(i,v.max),v.min),c-=v.size,v.size>=v.max&&l.push(v.id),v.size<=v.min&&f.push(v.id)}),c>.1&&this.readjustSizes(c,l,f)},initialPanesSizing(){100/this.panesCount;let i=100,c=[],l=[],f=0;this.panes.forEach(B=>{i-=B.size,B.size!==null&&f++,B.size>=B.max&&c.push(B.id),B.size<=B.min&&l.push(B.id)});let v=100;i>.1&&(this.panes.forEach(B=>{B.size===null&&(B.size=Math.max(Math.min(i/(this.panesCount-f),B.max),B.min)),v-=B.size}),v>.1&&this.readjustSizes(i,c,l))},equalizeAfterAddOrRemove({addedPane:i,removedPane:c}={}){let l=100/this.panesCount,f=0,v=[],B=[];i&&i.givenSize!==null&&(l=(100-i.givenSize)/(this.panesCount-1)),this.panes.forEach(K=>{f-=K.size,K.size>=K.max&&v.push(K.id),K.size<=K.min&&B.push(K.id)}),!(Math.abs(f)<.1)&&(this.panes.forEach(K=>{i&&i.givenSize!==null&&i.id===K.id||(K.size=Math.max(Math.min(l,K.max),K.min)),f-=K.size,K.size>=K.max&&v.push(K.id),K.size<=K.min&&B.push(K.id)}),f>.1&&this.readjustSizes(f,v,B))},readjustSizes(i,c,l){let f;i>0?f=i/(this.panesCount-c.length):f=i/(this.panesCount-l.length),this.panes.forEach((v,B)=>{if(i>0&&!c.includes(v.id)){const K=Math.max(Math.min(v.size+f,v.max),v.min);i-=K-v.size,v.size=K}else if(!l.includes(v.id)){const K=Math.max(Math.min(v.size+f,v.max),v.min);i-=K-v.size,v.size=K}v.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[v.id].size}%`})}),Math.abs(i)>.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(i){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((l,f)=>{l.ondblclick=i?v=>this.onSplitterDblClick(v,f):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 Mh("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}};var q1=(i,c)=>{const l=i.__vccOpts||i;for(const[f,v]of c)l[f]=v;return l};const $1={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(i){this.style=i}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(i){this.requestUpdate({target:this,size:i})},minSizeNumber(i){this.requestUpdate({target:this,min:i})},maxSizeNumber(i){this.requestUpdate({target:this,max:i})}}};function W1(i,c,l,f,v,B){return xa(),ho("div",{class:"splitpanes__pane",onClick:c[0]||(c[0]=K=>B.onPaneClick(K,i._.uid)),style:ep(i.style)},[Dp(i.$slots,"default")],4)}var Zf=q1($1,[["render",W1]]);const V1={"h-screen":"","w-screen":"","of-hidden":""},G1={"h-full":"","of-hidden":""},X1=tl({__name:"App",setup(i){return(c,l)=>{const f=O1,v=yp("RouterView");return xa(),ho("div",V1,[ea(Oi(H1),null,{default:Nl(()=>[ea(Oi(Zf),{size:"20","push-other-panes":!1},{default:Nl(()=>[ea(f)]),_:1}),ea(Oi(Zf),{size:"80"},{default:Nl(()=>[Xi("div",G1,[ea(v)])]),_:1})]),_:1})])}}}),Nm=iy(X1);Nm.use(d1({history:Pv(),routes:cv}));Nm.mount("#app");export{Zf as A,r0 as B,ey as C,H1 as D,SD as E,bD as F,g1 as G,yD as _,K1 as a,ea as b,ho as c,tl as d,Xi as e,Z1 as f,Oi as g,fD as h,ka as i,lm as j,xc as k,Y1 as l,oD as m,ep as n,xa as o,Q1 as p,J1 as q,Va as r,ID as s,kg as t,FD as u,pa as v,Nl as w,Ku as x,Bo as y,Cp as z};
|