mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 13:49:31 +08:00
282 lines
1.4 MiB
282 lines
1.4 MiB
const Um=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 Y of B.addedNodes)Y.tagName==="LINK"&&Y.rel==="modulepreload"&&f(Y)}).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)}};Um();const zm="modulepreload",Hm=function(i){return"/__unocss/"+i},Wh={},xh=function(c,l,f){return!l||l.length===0?c():Promise.all(l.map(v=>{if(v=Hm(v),v in Wh)return;Wh[v]=!0;const B=v.endsWith(".css"),Y=B?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${Y}`))return;const he=document.createElement("link");if(he.rel=B?"stylesheet":zm,B||(he.as="script",he.crossOrigin=""),he.href=v,document.head.appendChild(he),B)return new Promise((xe,Le)=>{he.addEventListener("load",xe),he.addEventListener("error",()=>Le(new Error(`Unable to preload CSS for ${v}`)))})})).then(()=>c())};function Ch(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 qm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$m=Ch(qm);function od(i){return!!i||i===""}function tp(i){if(us(i)){const c={};for(let l=0;l<i.length;l++){const f=i[l],v=ro(f)?Gm(f):tp(f);if(v)for(const B in v)c[B]=v[B]}return c}else{if(ro(i))return i;if(Na(i))return i}}const Wm=/;(?![^(]*\))/g,Vm=/:(.+)/;function Gm(i){const c={};return i.split(Wm).forEach(l=>{if(l){const f=l.split(Vm);f.length>1&&(c[f[0].trim()]=f[1].trim())}}),c}function Cc(i){let c="";if(ro(i))c=i;else if(us(i))for(let l=0;l<i.length;l++){const f=Cc(i[l]);f&&(c+=f+" ")}else if(Na(i))for(const l in i)i[l]&&(c+=l+" ");return c.trim()}function Xm(i,c){if(i.length!==c.length)return!1;let l=!0;for(let f=0;l&&f<i.length;f++)l=Sp(i[f],c[f]);return l}function Sp(i,c){if(i===c)return!0;let l=Vh(i),f=Vh(c);if(l||f)return l&&f?i.getTime()===c.getTime():!1;if(l=Gc(i),f=Gc(c),l||f)return i===c;if(l=us(i),f=us(c),l||f)return l&&f?Xm(i,c):!1;if(l=Na(i),f=Na(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 Y in i){const he=i.hasOwnProperty(Y),xe=c.hasOwnProperty(Y);if(he&&!xe||!he&&xe||!Sp(i[Y],c[Y]))return!1}}return String(i)===String(c)}function ud(i,c){return i.findIndex(l=>Sp(l,c))}const Bo=i=>ro(i)?i:i==null?"":us(i)||Na(i)&&(i.toString===pd||!As(i.toString))?JSON.stringify(i,ld,2):String(i),ld=(i,c)=>c&&c.__v_isRef?ld(i,c.value):vc(c)?{[`Map(${c.size})`]:[...c.entries()].reduce((l,[f,v])=>(l[`${f} =>`]=v,l),{})}:kp(c)?{[`Set(${c.size})`]:[...c.values()]}:Na(c)&&!us(c)&&!hd(c)?String(c):c,ua={},Dc=[],el=()=>{},Jm=()=>!1,Km=/^on[^a-z]/,Fp=i=>Km.test(i),Eh=i=>i.startsWith("onUpdate:"),Io=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,vc=i=>rp(i)==="[object Map]",kp=i=>rp(i)==="[object Set]",Vh=i=>rp(i)==="[object Date]",As=i=>typeof i=="function",ro=i=>typeof i=="string",Gc=i=>typeof i=="symbol",Na=i=>i!==null&&typeof i=="object",cd=i=>Na(i)&&As(i.then)&&As(i.catch),pd=Object.prototype.toString,rp=i=>pd.call(i),Ym=i=>rp(i).slice(8,-1),hd=i=>rp(i)==="[object Object]",Ah=i=>ro(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,cp=Ch(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pp=i=>{const c=Object.create(null);return l=>c[l]||(c[l]=i(l))},Zm=/-(\w)/g,xl=Pp(i=>i.replace(Zm,(c,l)=>l?l.toUpperCase():"")),eg=/\B([A-Z])/g,Sc=Pp(i=>i.replace(eg,"-$1").toLowerCase()),Np=Pp(i=>i.charAt(0).toUpperCase()+i.slice(1)),Vp=Pp(i=>i?`on${Np(i)}`:""),Xc=(i,c)=>!Object.is(i,c),pp=(i,c)=>{for(let l=0;l<i.length;l++)i[l](c)},mp=(i,c,l)=>{Object.defineProperty(i,c,{configurable:!0,enumerable:!1,value:l})},tg=i=>{const c=parseFloat(i);return isNaN(c)?i:c};let Gh;const rg=()=>Gh||(Gh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let hu;class ng{constructor(c=!1){this.active=!0,this.effects=[],this.cleanups=[],!c&&hu&&(this.parent=hu,this.index=(hu.scopes||(hu.scopes=[])).push(this)-1)}run(c){if(this.active){const l=hu;try{return hu=this,c()}finally{hu=l}}}on(){hu=this}off(){hu=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 ig(i,c=hu){c&&c.active&&c.effects.push(i)}function sg(){return hu}function ag(i){hu&&hu.cleanups.push(i)}const wh=i=>{const c=new Set(i);return c.w=0,c.n=0,c},fd=i=>(i.w&tc)>0,dd=i=>(i.n&tc)>0,og=({deps:i})=>{if(i.length)for(let c=0;c<i.length;c++)i[c].w|=tc},ug=i=>{const{deps:c}=i;if(c.length){let l=0;for(let f=0;f<c.length;f++){const v=c[f];fd(v)&&!dd(v)?v.delete(i):c[l++]=v,v.w&=~tc,v.n&=~tc}c.length=l}},th=new WeakMap;let Mc=0,tc=1;const rh=30;let Yu;const cc=Symbol(""),nh=Symbol("");class Th{constructor(c,l=null,f){this.fn=c,this.scheduler=l,this.active=!0,this.deps=[],this.parent=void 0,ig(this,f)}run(){if(!this.active)return this.fn();let c=Yu,l=Zl;for(;c;){if(c===this)return;c=c.parent}try{return this.parent=Yu,Yu=this,Zl=!0,tc=1<<++Mc,Mc<=rh?og(this):Xh(this),this.fn()}finally{Mc<=rh&&ug(this),tc=1<<--Mc,Yu=this.parent,Zl=l,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Yu===this?this.deferStop=!0:this.active&&(Xh(this),this.onStop&&this.onStop(),this.active=!1)}}function Xh(i){const{deps:c}=i;if(c.length){for(let l=0;l<c.length;l++)c[l].delete(i);c.length=0}}let Zl=!0;const md=[];function Fc(){md.push(Zl),Zl=!1}function kc(){const i=md.pop();Zl=i===void 0?!0:i}function du(i,c,l){if(Zl&&Yu){let f=th.get(i);f||th.set(i,f=new Map);let v=f.get(l);v||f.set(l,v=wh()),gd(v)}}function gd(i,c){let l=!1;Mc<=rh?dd(i)||(i.n|=tc,l=!fd(i)):l=!i.has(Yu),l&&(i.add(Yu),Yu.deps.push(i))}function Ll(i,c,l,f,v,B){const Y=th.get(i);if(!Y)return;let he=[];if(c==="clear")he=[...Y.values()];else if(l==="length"&&us(i))Y.forEach((xe,Le)=>{(Le==="length"||Le>=f)&&he.push(xe)});else switch(l!==void 0&&he.push(Y.get(l)),c){case"add":us(i)?Ah(l)&&he.push(Y.get("length")):(he.push(Y.get(cc)),vc(i)&&he.push(Y.get(nh)));break;case"delete":us(i)||(he.push(Y.get(cc)),vc(i)&&he.push(Y.get(nh)));break;case"set":vc(i)&&he.push(Y.get(cc));break}if(he.length===1)he[0]&&ih(he[0]);else{const xe=[];for(const Le of he)Le&&xe.push(...Le);ih(wh(xe))}}function ih(i,c){const l=us(i)?i:[...i];for(const f of l)f.computed&&Jh(f);for(const f of l)f.computed||Jh(f)}function Jh(i,c){(i!==Yu||i.allowRecurse)&&(i.scheduler?i.scheduler():i.run())}const lg=Ch("__proto__,__v_isRef,__isVue"),yd=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(Gc)),cg=Sh(),pg=Sh(!1,!0),hg=Sh(!0),Kh=fg();function fg(){const i={};return["includes","indexOf","lastIndexOf"].forEach(c=>{i[c]=function(...l){const f=Gs(this);for(let B=0,Y=this.length;B<Y;B++)du(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){Fc();const f=Gs(this)[c].apply(this,l);return kc(),f}}),i}function Sh(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?kg:Ed:c?Cd:xd).get(f))return f;const Y=us(f);if(!i&&Y&&Ms(Kh,v))return Reflect.get(Kh,v,B);const he=Reflect.get(f,v,B);return(Gc(v)?yd.has(v):lg(v))||(i||du(f,"get",v),c)?he:ka(he)?Y&&Ah(v)?he:he.value:Na(he)?i?bd(he):Pc(he):he}}const dg=Dd(),mg=Dd(!0);function Dd(i=!1){return function(l,f,v,B){let Y=l[f];if(Jc(Y)&&ka(Y)&&!ka(v))return!1;if(!i&&!Jc(v)&&(sh(v)||(v=Gs(v),Y=Gs(Y)),!us(l)&&ka(Y)&&!ka(v)))return Y.value=v,!0;const he=us(l)&&Ah(f)?Number(f)<l.length:Ms(l,f),xe=Reflect.set(l,f,v,B);return l===Gs(B)&&(he?Xc(v,Y)&&Ll(l,"set",f,v):Ll(l,"add",f,v)),xe}}function gg(i,c){const l=Ms(i,c);i[c];const f=Reflect.deleteProperty(i,c);return f&&l&&Ll(i,"delete",c,void 0),f}function yg(i,c){const l=Reflect.has(i,c);return(!Gc(c)||!yd.has(c))&&du(i,"has",c),l}function Dg(i){return du(i,"iterate",us(i)?"length":cc),Reflect.ownKeys(i)}const vd={get:cg,set:dg,deleteProperty:gg,has:yg,ownKeys:Dg},vg={get:hg,set(i,c){return!0},deleteProperty(i,c){return!0}},xg=Io({},vd,{get:pg,set:mg}),Fh=i=>i,Bp=i=>Reflect.getPrototypeOf(i);function np(i,c,l=!1,f=!1){i=i.__v_raw;const v=Gs(i),B=Gs(c);l||(c!==B&&du(v,"get",c),du(v,"get",B));const{has:Y}=Bp(v),he=f?Fh:l?Nh:Kc;if(Y.call(v,c))return he(i.get(c));if(Y.call(v,B))return he(i.get(B));i!==v&&i.get(c)}function ip(i,c=!1){const l=this.__v_raw,f=Gs(l),v=Gs(i);return c||(i!==v&&du(f,"has",i),du(f,"has",v)),i===v?l.has(i):l.has(i)||l.has(v)}function sp(i,c=!1){return i=i.__v_raw,!c&&du(Gs(i),"iterate",cc),Reflect.get(i,"size",i)}function Qh(i){i=Gs(i);const c=Gs(this);return Bp(c).has.call(c,i)||(c.add(i),Ll(c,"add",i,i)),this}function Yh(i,c){c=Gs(c);const l=Gs(this),{has:f,get:v}=Bp(l);let B=f.call(l,i);B||(i=Gs(i),B=f.call(l,i));const Y=v.call(l,i);return l.set(i,c),B?Xc(c,Y)&&Ll(l,"set",i,c):Ll(l,"add",i,c),this}function Zh(i){const c=Gs(this),{has:l,get:f}=Bp(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&&Ll(c,"delete",i,void 0),B}function ef(){const i=Gs(this),c=i.size!==0,l=i.clear();return c&&Ll(i,"clear",void 0,void 0),l}function ap(i,c){return function(f,v){const B=this,Y=B.__v_raw,he=Gs(Y),xe=c?Fh:i?Nh:Kc;return!i&&du(he,"iterate",cc),Y.forEach((Le,je)=>f.call(v,xe(Le),xe(je),B))}}function op(i,c,l){return function(...f){const v=this.__v_raw,B=Gs(v),Y=vc(B),he=i==="entries"||i===Symbol.iterator&&Y,xe=i==="keys"&&Y,Le=v[i](...f),je=l?Fh:c?Nh:Kc;return!c&&du(B,"iterate",xe?nh:cc),{next(){const{value:it,done:xt}=Le.next();return xt?{value:it,done:xt}:{value:he?[je(it[0]),je(it[1])]:je(it),done:xt}},[Symbol.iterator](){return this}}}}function Xl(i){return function(...c){return i==="delete"?!1:this}}function Cg(){const i={get(B){return np(this,B)},get size(){return sp(this)},has:ip,add:Qh,set:Yh,delete:Zh,clear:ef,forEach:ap(!1,!1)},c={get(B){return np(this,B,!1,!0)},get size(){return sp(this)},has:ip,add:Qh,set:Yh,delete:Zh,clear:ef,forEach:ap(!1,!0)},l={get(B){return np(this,B,!0)},get size(){return sp(this,!0)},has(B){return ip.call(this,B,!0)},add:Xl("add"),set:Xl("set"),delete:Xl("delete"),clear:Xl("clear"),forEach:ap(!0,!1)},f={get(B){return np(this,B,!0,!0)},get size(){return sp(this,!0)},has(B){return ip.call(this,B,!0)},add:Xl("add"),set:Xl("set"),delete:Xl("delete"),clear:Xl("clear"),forEach:ap(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(B=>{i[B]=op(B,!1,!1),l[B]=op(B,!0,!1),c[B]=op(B,!1,!0),f[B]=op(B,!0,!0)}),[i,l,c,f]}const[Eg,bg,Ag,wg]=Cg();function kh(i,c){const l=c?i?wg:Ag:i?bg:Eg;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 Tg={get:kh(!1,!1)},Sg={get:kh(!1,!0)},Fg={get:kh(!0,!1)},xd=new WeakMap,Cd=new WeakMap,Ed=new WeakMap,kg=new WeakMap;function Pg(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ng(i){return i.__v_skip||!Object.isExtensible(i)?0:Pg(Ym(i))}function Pc(i){return Jc(i)?i:Ph(i,!1,vd,Tg,xd)}function Bg(i){return Ph(i,!1,xg,Sg,Cd)}function bd(i){return Ph(i,!0,vg,Fg,Ed)}function Ph(i,c,l,f,v){if(!Na(i)||i.__v_raw&&!(c&&i.__v_isReactive))return i;const B=v.get(i);if(B)return B;const Y=Ng(i);if(Y===0)return i;const he=new Proxy(i,Y===2?f:l);return v.set(i,he),he}function xc(i){return Jc(i)?xc(i.__v_raw):!!(i&&i.__v_isReactive)}function Jc(i){return!!(i&&i.__v_isReadonly)}function sh(i){return!!(i&&i.__v_isShallow)}function Ad(i){return xc(i)||Jc(i)}function Gs(i){const c=i&&i.__v_raw;return c?Gs(c):i}function wd(i){return mp(i,"__v_skip",!0),i}const Kc=i=>Na(i)?Pc(i):i,Nh=i=>Na(i)?bd(i):i;function Td(i){Zl&&Yu&&(i=Gs(i),gd(i.dep||(i.dep=wh())))}function Sd(i,c){i=Gs(i),i.dep&&ih(i.dep)}function ka(i){return!!(i&&i.__v_isRef===!0)}function Pa(i){return Fd(i,!1)}function Rc(i){return Fd(i,!0)}function Fd(i,c){return ka(i)?i:new _g(i,c)}class _g{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:Kc(c)}get value(){return Td(this),this._value}set value(c){c=this.__v_isShallow?c:Gs(c),Xc(c,this._rawValue)&&(this._rawValue=c,this._value=this.__v_isShallow?c:Kc(c),Sd(this))}}function Cs(i){return ka(i)?i.value:i}const Ig={get:(i,c,l)=>Cs(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 kd(i){return xc(i)?i:new Proxy(i,Ig)}function Og(i){const c=us(i)?new Array(i.length):{};for(const l in i)c[l]=Mg(i,l);return c}class Lg{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 Mg(i,c,l){const f=i[c];return ka(f)?f:new Lg(i,c,l)}class jg{constructor(c,l,f,v){this._setter=l,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Th(c,()=>{this._dirty||(this._dirty=!0,Sd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!v,this.__v_isReadonly=f}get value(){const c=Gs(this);return Td(c),(c._dirty||!c._cacheable)&&(c._dirty=!1,c._value=c.effect.run()),c._value}set value(c){this._setter(c)}}function Rg(i,c,l=!1){let f,v;const B=As(i);return B?(f=i,v=el):(f=i.get,v=i.set),new jg(f,v,B||!v,l)}function ec(i,c,l,f){let v;try{v=f?i(...f):i()}catch(B){_p(B,c,l)}return v}function tl(i,c,l,f){if(As(i)){const B=ec(i,c,l,f);return B&&cd(B)&&B.catch(Y=>{_p(Y,c,l)}),B}const v=[];for(let B=0;B<i.length;B++)v.push(tl(i[B],c,l,f));return v}function _p(i,c,l,f=!0){const v=c?c.vnode:null;if(c){let B=c.parent;const Y=c.proxy,he=l;for(;B;){const Le=B.ec;if(Le){for(let je=0;je<Le.length;je++)if(Le[je](i,Y,he)===!1)return}B=B.parent}const xe=c.appContext.config.errorHandler;if(xe){ec(xe,null,10,[i,Y,he]);return}}Ug(i,l,v,f)}function Ug(i,c,l,f=!0){console.error(i)}let gp=!1,ah=!1;const fu=[];let _l=0;const Uc=[];let jc=null,mc=0;const zc=[];let Kl=null,gc=0;const Pd=Promise.resolve();let Bh=null,oh=null;function Ip(i){const c=Bh||Pd;return i?c.then(this?i.bind(this):i):c}function zg(i){let c=_l+1,l=fu.length;for(;c<l;){const f=c+l>>>1;Qc(fu[f])<i?c=f+1:l=f}return c}function Nd(i){(!fu.length||!fu.includes(i,gp&&i.allowRecurse?_l+1:_l))&&i!==oh&&(i.id==null?fu.push(i):fu.splice(zg(i.id),0,i),Bd())}function Bd(){!gp&&!ah&&(ah=!0,Bh=Pd.then(Od))}function Hg(i){const c=fu.indexOf(i);c>_l&&fu.splice(c,1)}function _d(i,c,l,f){us(i)?l.push(...i):(!c||!c.includes(i,i.allowRecurse?f+1:f))&&l.push(i),Bd()}function qg(i){_d(i,jc,Uc,mc)}function $g(i){_d(i,Kl,zc,gc)}function Op(i,c=null){if(Uc.length){for(oh=c,jc=[...new Set(Uc)],Uc.length=0,mc=0;mc<jc.length;mc++)jc[mc]();jc=null,mc=0,oh=null,Op(i,c)}}function Id(i){if(Op(),zc.length){const c=[...new Set(zc)];if(zc.length=0,Kl){Kl.push(...c);return}for(Kl=c,Kl.sort((l,f)=>Qc(l)-Qc(f)),gc=0;gc<Kl.length;gc++)Kl[gc]();Kl=null,gc=0}}const Qc=i=>i.id==null?1/0:i.id;function Od(i){ah=!1,gp=!0,Op(i),fu.sort((l,f)=>Qc(l)-Qc(f));const c=el;try{for(_l=0;_l<fu.length;_l++){const l=fu[_l];l&&l.active!==!1&&ec(l,null,14)}}finally{_l=0,fu.length=0,Id(),gp=!1,Bh=null,(fu.length||Uc.length||zc.length)&&Od(i)}}function Wg(i,c,...l){if(i.isUnmounted)return;const f=i.vnode.props||ua;let v=l;const B=c.startsWith("update:"),Y=B&&c.slice(7);if(Y&&Y in f){const je=`${Y==="modelValue"?"model":Y}Modifiers`,{number:it,trim:xt}=f[je]||ua;xt&&(v=l.map(Ft=>Ft.trim())),it&&(v=l.map(tg))}let he,xe=f[he=Vp(c)]||f[he=Vp(xl(c))];!xe&&B&&(xe=f[he=Vp(Sc(c))]),xe&&tl(xe,i,6,v);const Le=f[he+"Once"];if(Le){if(!i.emitted)i.emitted={};else if(i.emitted[he])return;i.emitted[he]=!0,tl(Le,i,6,v)}}function Ld(i,c,l=!1){const f=c.emitsCache,v=f.get(i);if(v!==void 0)return v;const B=i.emits;let Y={},he=!1;if(!As(i)){const xe=Le=>{const je=Ld(Le,c,!0);je&&(he=!0,Io(Y,je))};!l&&c.mixins.length&&c.mixins.forEach(xe),i.extends&&xe(i.extends),i.mixins&&i.mixins.forEach(xe)}return!B&&!he?(f.set(i,null),null):(us(B)?B.forEach(xe=>Y[xe]=null):Io(Y,B),f.set(i,Y),Y)}function Lp(i,c){return!i||!Fp(c)?!1:(c=c.slice(2).replace(/Once$/,""),Ms(i,c[0].toLowerCase()+c.slice(1))||Ms(i,Sc(c))||Ms(i,c))}let xo=null,Md=null;function yp(i){const c=xo;return xo=i,Md=i&&i.type.__scopeId||null,c}function Il(i,c=xo,l){if(!c||i._n)return i;const f=(...v)=>{f._d&&hf(-1);const B=yp(c),Y=i(...v);return yp(B),f._d&&hf(1),Y};return f._n=!0,f._c=!0,f._d=!0,f}function Gp(i){const{type:c,vnode:l,proxy:f,withProxy:v,props:B,propsOptions:[Y],slots:he,attrs:xe,emit:Le,render:je,renderCache:it,data:xt,setupState:Ft,ctx:Qt,inheritAttrs:mr}=i;let Ur,wt;const jt=yp(i);try{if(l.shapeFlag&4){const Ar=v||f;Ur=vl(je.call(Ar,Ar,it,B,Ft,xt,Qt)),wt=xe}else{const Ar=c;Ur=vl(Ar.length>1?Ar(B,{attrs:xe,slots:he,emit:Le}):Ar(B,null)),wt=c.props?xe:Vg(xe)}}catch(Ar){qc.length=0,_p(Ar,i,1),Ur=ta(rc)}let Wt=Ur;if(wt&&mr!==!1){const Ar=Object.keys(wt),{shapeFlag:an}=Wt;Ar.length&&an&7&&(Y&&Ar.some(Eh)&&(wt=Gg(wt,Y)),Wt=bc(Wt,wt))}return l.dirs&&(Wt=bc(Wt),Wt.dirs=Wt.dirs?Wt.dirs.concat(l.dirs):l.dirs),l.transition&&(Wt.transition=l.transition),Ur=Wt,yp(jt),Ur}const Vg=i=>{let c;for(const l in i)(l==="class"||l==="style"||Fp(l))&&((c||(c={}))[l]=i[l]);return c},Gg=(i,c)=>{const l={};for(const f in i)(!Eh(f)||!(f.slice(9)in c))&&(l[f]=i[f]);return l};function Xg(i,c,l){const{props:f,children:v,component:B}=i,{props:Y,children:he,patchFlag:xe}=c,Le=B.emitsOptions;if(c.dirs||c.transition)return!0;if(l&&xe>=0){if(xe&1024)return!0;if(xe&16)return f?tf(f,Y,Le):!!Y;if(xe&8){const je=c.dynamicProps;for(let it=0;it<je.length;it++){const xt=je[it];if(Y[xt]!==f[xt]&&!Lp(Le,xt))return!0}}}else return(v||he)&&(!he||!he.$stable)?!0:f===Y?!1:f?Y?tf(f,Y,Le):!0:!!Y;return!1}function tf(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]&&!Lp(l,B))return!0}return!1}function Jg({vnode:i,parent:c},l){for(;c&&c.subTree===i;)(i=c.vnode).el=l,c=c.parent}const Kg=i=>i.__isSuspense;function Qg(i,c){c&&c.pendingBranch?us(i)?c.effects.push(...i):c.effects.push(i):$g(i)}function hp(i,c){if(to){let l=to.provides;const f=to.parent&&to.parent.provides;f===l&&(l=to.provides=Object.create(f)),l[i]=c}}function Ol(i,c,l=!1){const f=to||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&&As(c)?c.call(f.proxy):c}}function Yg(i,c){return _h(i,null,c)}const rf={};function Ga(i,c,l){return _h(i,c,l)}function _h(i,c,{immediate:l,deep:f,flush:v,onTrack:B,onTrigger:Y}=ua){const he=to;let xe,Le=!1,je=!1;if(ka(i)?(xe=()=>i.value,Le=sh(i)):xc(i)?(xe=()=>i,f=!0):us(i)?(je=!0,Le=i.some(wt=>xc(wt)||sh(wt)),xe=()=>i.map(wt=>{if(ka(wt))return wt.value;if(xc(wt))return lc(wt);if(As(wt))return ec(wt,he,2)})):As(i)?c?xe=()=>ec(i,he,2):xe=()=>{if(!(he&&he.isUnmounted))return it&&it(),tl(i,he,3,[xt])}:xe=el,c&&f){const wt=xe;xe=()=>lc(wt())}let it,xt=wt=>{it=Ur.onStop=()=>{ec(wt,he,4)}};if(Zc)return xt=el,c?l&&tl(c,he,3,[xe(),je?[]:void 0,xt]):xe(),el;let Ft=je?[]:rf;const Qt=()=>{if(!!Ur.active)if(c){const wt=Ur.run();(f||Le||(je?wt.some((jt,Wt)=>Xc(jt,Ft[Wt])):Xc(wt,Ft)))&&(it&&it(),tl(c,he,3,[wt,Ft===rf?void 0:Ft,xt]),Ft=wt)}else Ur.run()};Qt.allowRecurse=!!c;let mr;v==="sync"?mr=Qt:v==="post"?mr=()=>Go(Qt,he&&he.suspense):mr=()=>qg(Qt);const Ur=new Th(xe,mr);return c?l?Qt():Ft=Ur.run():v==="post"?Go(Ur.run.bind(Ur),he&&he.suspense):Ur.run(),()=>{Ur.stop(),he&&he.scope&&bh(he.scope.effects,Ur)}}function Zg(i,c,l){const f=this.proxy,v=ro(i)?i.includes(".")?jd(f,i):()=>f[i]:i.bind(f,f);let B;As(c)?B=c:(B=c.handler,l=c);const Y=to;Ac(this);const he=_h(v,B.bind(f),l);return Y?Ac(Y):pc(),he}function jd(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 lc(i,c){if(!Na(i)||i.__v_skip||(c=c||new Set,c.has(i)))return i;if(c.add(i),ka(i))lc(i.value,c);else if(us(i))for(let l=0;l<i.length;l++)lc(i[l],c);else if(kp(i)||vc(i))i.forEach(l=>{lc(l,c)});else if(hd(i))for(const l in i)lc(i[l],c);return i}function nl(i){return As(i)?{setup:i,name:i.name}:i}const Hc=i=>!!i.type.__asyncLoader,Rd=i=>i.type.__isKeepAlive;function e0(i,c){Ud(i,"a",c)}function t0(i,c){Ud(i,"da",c)}function Ud(i,c,l=to){const f=i.__wdc||(i.__wdc=()=>{let v=l;for(;v;){if(v.isDeactivated)return;v=v.parent}return i()});if(Mp(c,f,l),l){let v=l.parent;for(;v&&v.parent;)Rd(v.parent.vnode)&&r0(f,c,l,v),v=v.parent}}function r0(i,c,l,f){const v=Mp(c,i,f,!0);Hd(()=>{bh(f[c],v)},l)}function Mp(i,c,l=to,f=!1){if(l){const v=l[i]||(l[i]=[]),B=c.__weh||(c.__weh=(...Y)=>{if(l.isUnmounted)return;Fc(),Ac(l);const he=tl(c,l,i,Y);return pc(),kc(),he});return f?v.unshift(B):v.push(B),B}}const Rl=i=>(c,l=to)=>(!Zc||i==="sp")&&Mp(i,c,l),zd=Rl("bm"),Ih=Rl("m"),n0=Rl("bu"),i0=Rl("u"),s0=Rl("bum"),Hd=Rl("um"),a0=Rl("sp"),o0=Rl("rtg"),u0=Rl("rtc");function l0(i,c=to){Mp("ec",i,c)}function c0(i,c){const l=xo;if(l===null)return i;const f=Rp(l)||l.proxy,v=i.dirs||(i.dirs=[]);for(let B=0;B<c.length;B++){let[Y,he,xe,Le=ua]=c[B];As(Y)&&(Y={mounted:Y,updated:Y}),Y.deep&&lc(he),v.push({dir:Y,instance:f,value:he,oldValue:void 0,arg:xe,modifiers:Le})}return i}function sc(i,c,l,f){const v=i.dirs,B=c&&c.dirs;for(let Y=0;Y<v.length;Y++){const he=v[Y];B&&(he.oldValue=B[Y].value);let xe=he.dir[f];xe&&(Fc(),tl(xe,l,8,[i.el,he,i,c]),kc())}}const qd="components";function Dp(i,c){return h0(qd,i,!0,c)||i}const p0=Symbol();function h0(i,c,l=!0,f=!1){const v=xo||to;if(v){const B=v.type;if(i===qd){const he=z0(B,!1);if(he&&(he===c||he===xl(c)||he===Np(xl(c))))return B}const Y=nf(v[i]||B[i],c)||nf(v.appContext[i],c);return!Y&&f?B:Y}}function nf(i,c){return i&&(i[c]||i[xl(c)]||i[Np(xl(c))])}function sf(i,c,l,f){let v;const B=l&&l[f];if(us(i)||ro(i)){v=new Array(i.length);for(let Y=0,he=i.length;Y<he;Y++)v[Y]=c(i[Y],Y,void 0,B&&B[Y])}else if(typeof i=="number"){v=new Array(i);for(let Y=0;Y<i;Y++)v[Y]=c(Y+1,Y,void 0,B&&B[Y])}else if(Na(i))if(i[Symbol.iterator])v=Array.from(i,(Y,he)=>c(Y,he,void 0,B&&B[he]));else{const Y=Object.keys(i);v=new Array(Y.length);for(let he=0,xe=Y.length;he<xe;he++){const Le=Y[he];v[he]=c(i[Le],Le,he,B&&B[he])}}else v=[];return l&&(l[f]=v),v}function vp(i,c,l={},f,v){if(xo.isCE||xo.parent&&Hc(xo.parent)&&xo.parent.isCE)return ta("slot",c==="default"?null:{name:c},f&&f());let B=i[c];B&&B._c&&(B._d=!1),xa();const Y=B&&$d(B(l)),he=Ec(Xo,{key:l.key||`_${c}`},Y||(f?f():[]),Y&&i._===1?64:-2);return!v&&he.scopeId&&(he.slotScopeIds=[he.scopeId+"-s"]),B&&B._c&&(B._d=!0),he}function $d(i){return i.some(c=>Ep(c)?!(c.type===rc||c.type===Xo&&!$d(c.children)):!0)?i:null}const uh=i=>i?rm(i)?Rp(i)||i.proxy:uh(i.parent):null,xp=Io(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=>uh(i.parent),$root:i=>uh(i.root),$emit:i=>i.emit,$options:i=>Vd(i),$forceUpdate:i=>i.f||(i.f=()=>Nd(i.update)),$nextTick:i=>i.n||(i.n=Ip.bind(i.proxy)),$watch:i=>Zg.bind(i)}),f0={get({_:i},c){const{ctx:l,setupState:f,data:v,props:B,accessCache:Y,type:he,appContext:xe}=i;let Le;if(c[0]!=="$"){const Ft=Y[c];if(Ft!==void 0)switch(Ft){case 1:return f[c];case 2:return v[c];case 4:return l[c];case 3:return B[c]}else{if(f!==ua&&Ms(f,c))return Y[c]=1,f[c];if(v!==ua&&Ms(v,c))return Y[c]=2,v[c];if((Le=i.propsOptions[0])&&Ms(Le,c))return Y[c]=3,B[c];if(l!==ua&&Ms(l,c))return Y[c]=4,l[c];lh&&(Y[c]=0)}}const je=xp[c];let it,xt;if(je)return c==="$attrs"&&du(i,"get",c),je(i);if((it=he.__cssModules)&&(it=it[c]))return it;if(l!==ua&&Ms(l,c))return Y[c]=4,l[c];if(xt=xe.config.globalProperties,Ms(xt,c))return xt[c]},set({_:i},c,l){const{data:f,setupState:v,ctx:B}=i;return v!==ua&&Ms(v,c)?(v[c]=l,!0):f!==ua&&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}},Y){let he;return!!l[Y]||i!==ua&&Ms(i,Y)||c!==ua&&Ms(c,Y)||(he=B[0])&&Ms(he,Y)||Ms(f,Y)||Ms(xp,Y)||Ms(v.config.globalProperties,Y)},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 lh=!0;function d0(i){const c=Vd(i),l=i.proxy,f=i.ctx;lh=!1,c.beforeCreate&&af(c.beforeCreate,i,"bc");const{data:v,computed:B,methods:Y,watch:he,provide:xe,inject:Le,created:je,beforeMount:it,mounted:xt,beforeUpdate:Ft,updated:Qt,activated:mr,deactivated:Ur,beforeDestroy:wt,beforeUnmount:jt,destroyed:Wt,unmounted:Ar,render:an,renderTracked:Vn,renderTriggered:An,errorCaptured:gi,serverPrefetch:ai,expose:$n,inheritAttrs:Mn,components:yi,directives:Cr,filters:Tn}=c;if(Le&&m0(Le,f,null,i.appContext.config.unwrapInjectedRef),Y)for(const ur in Y){const Sn=Y[ur];As(Sn)&&(f[ur]=Sn.bind(l))}if(v){const ur=v.call(l,l);Na(ur)&&(i.data=Pc(ur))}if(lh=!0,B)for(const ur in B){const Sn=B[ur],Kn=As(Sn)?Sn.bind(l,l):As(Sn.get)?Sn.get.bind(l,l):el,Yi=!As(Sn)&&As(Sn.set)?Sn.set.bind(l):el,ys=Ks({get:Kn,set:Yi});Object.defineProperty(f,ur,{enumerable:!0,configurable:!0,get:()=>ys.value,set:Ns=>ys.value=Ns})}if(he)for(const ur in he)Wd(he[ur],f,l,ur);if(xe){const ur=As(xe)?xe.call(l):xe;Reflect.ownKeys(ur).forEach(Sn=>{hp(Sn,ur[Sn])})}je&&af(je,i,"c");function rn(ur,Sn){us(Sn)?Sn.forEach(Kn=>ur(Kn.bind(l))):Sn&&ur(Sn.bind(l))}if(rn(zd,it),rn(Ih,xt),rn(n0,Ft),rn(i0,Qt),rn(e0,mr),rn(t0,Ur),rn(l0,gi),rn(u0,Vn),rn(o0,An),rn(s0,jt),rn(Hd,Ar),rn(a0,ai),us($n))if($n.length){const ur=i.exposed||(i.exposed={});$n.forEach(Sn=>{Object.defineProperty(ur,Sn,{get:()=>l[Sn],set:Kn=>l[Sn]=Kn})})}else i.exposed||(i.exposed={});an&&i.render===el&&(i.render=an),Mn!=null&&(i.inheritAttrs=Mn),yi&&(i.components=yi),Cr&&(i.directives=Cr)}function m0(i,c,l=el,f=!1){us(i)&&(i=ch(i));for(const v in i){const B=i[v];let Y;Na(B)?"default"in B?Y=Ol(B.from||v,B.default,!0):Y=Ol(B.from||v):Y=Ol(B),ka(Y)&&f?Object.defineProperty(c,v,{enumerable:!0,configurable:!0,get:()=>Y.value,set:he=>Y.value=he}):c[v]=Y}}function af(i,c,l){tl(us(i)?i.map(f=>f.bind(c.proxy)):i.bind(c.proxy),c,l)}function Wd(i,c,l,f){const v=f.includes(".")?jd(l,f):()=>l[f];if(ro(i)){const B=c[i];As(B)&&Ga(v,B)}else if(As(i))Ga(v,i.bind(l));else if(Na(i))if(us(i))i.forEach(B=>Wd(B,c,l,f));else{const B=As(i.handler)?i.handler.bind(l):c[i.handler];As(B)&&Ga(v,B,i)}}function Vd(i){const c=i.type,{mixins:l,extends:f}=c,{mixins:v,optionsCache:B,config:{optionMergeStrategies:Y}}=i.appContext,he=B.get(c);let xe;return he?xe=he:!v.length&&!l&&!f?xe=c:(xe={},v.length&&v.forEach(Le=>Cp(xe,Le,Y,!0)),Cp(xe,c,Y)),B.set(c,xe),xe}function Cp(i,c,l,f=!1){const{mixins:v,extends:B}=c;B&&Cp(i,B,l,!0),v&&v.forEach(Y=>Cp(i,Y,l,!0));for(const Y in c)if(!(f&&Y==="expose")){const he=g0[Y]||l&&l[Y];i[Y]=he?he(i[Y],c[Y]):c[Y]}return i}const g0={data:of,props:oc,emits:oc,methods:oc,computed:oc,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:oc,directives:oc,watch:D0,provide:of,inject:y0};function of(i,c){return c?i?function(){return Io(As(i)?i.call(this,this):i,As(c)?c.call(this,this):c)}:c:i}function y0(i,c){return oc(ch(i),ch(c))}function ch(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 oc(i,c){return i?Io(Io(Object.create(null),i),c):c}function D0(i,c){if(!i)return c;if(!c)return i;const l=Io(Object.create(null),i);for(const f in c)l[f]=No(i[f],c[f]);return l}function v0(i,c,l,f=!1){const v={},B={};mp(B,jp,1),i.propsDefaults=Object.create(null),Gd(i,c,v,B);for(const Y in i.propsOptions[0])Y in v||(v[Y]=void 0);l?i.props=f?v:Bg(v):i.type.props?i.props=v:i.props=B,i.attrs=B}function x0(i,c,l,f){const{props:v,attrs:B,vnode:{patchFlag:Y}}=i,he=Gs(v),[xe]=i.propsOptions;let Le=!1;if((f||Y>0)&&!(Y&16)){if(Y&8){const je=i.vnode.dynamicProps;for(let it=0;it<je.length;it++){let xt=je[it];if(Lp(i.emitsOptions,xt))continue;const Ft=c[xt];if(xe)if(Ms(B,xt))Ft!==B[xt]&&(B[xt]=Ft,Le=!0);else{const Qt=xl(xt);v[Qt]=ph(xe,he,Qt,Ft,i,!1)}else Ft!==B[xt]&&(B[xt]=Ft,Le=!0)}}}else{Gd(i,c,v,B)&&(Le=!0);let je;for(const it in he)(!c||!Ms(c,it)&&((je=Sc(it))===it||!Ms(c,je)))&&(xe?l&&(l[it]!==void 0||l[je]!==void 0)&&(v[it]=ph(xe,he,it,void 0,i,!0)):delete v[it]);if(B!==he)for(const it in B)(!c||!Ms(c,it)&&!0)&&(delete B[it],Le=!0)}Le&&Ll(i,"set","$attrs")}function Gd(i,c,l,f){const[v,B]=i.propsOptions;let Y=!1,he;if(c)for(let xe in c){if(cp(xe))continue;const Le=c[xe];let je;v&&Ms(v,je=xl(xe))?!B||!B.includes(je)?l[je]=Le:(he||(he={}))[je]=Le:Lp(i.emitsOptions,xe)||(!(xe in f)||Le!==f[xe])&&(f[xe]=Le,Y=!0)}if(B){const xe=Gs(l),Le=he||ua;for(let je=0;je<B.length;je++){const it=B[je];l[it]=ph(v,xe,it,Le[it],i,!Ms(Le,it))}}return Y}function ph(i,c,l,f,v,B){const Y=i[l];if(Y!=null){const he=Ms(Y,"default");if(he&&f===void 0){const xe=Y.default;if(Y.type!==Function&&As(xe)){const{propsDefaults:Le}=v;l in Le?f=Le[l]:(Ac(v),f=Le[l]=xe.call(null,c),pc())}else f=xe}Y[0]&&(B&&!he?f=!1:Y[1]&&(f===""||f===Sc(l))&&(f=!0))}return f}function Xd(i,c,l=!1){const f=c.propsCache,v=f.get(i);if(v)return v;const B=i.props,Y={},he=[];let xe=!1;if(!As(i)){const je=it=>{xe=!0;const[xt,Ft]=Xd(it,c,!0);Io(Y,xt),Ft&&he.push(...Ft)};!l&&c.mixins.length&&c.mixins.forEach(je),i.extends&&je(i.extends),i.mixins&&i.mixins.forEach(je)}if(!B&&!xe)return f.set(i,Dc),Dc;if(us(B))for(let je=0;je<B.length;je++){const it=xl(B[je]);uf(it)&&(Y[it]=ua)}else if(B)for(const je in B){const it=xl(je);if(uf(it)){const xt=B[je],Ft=Y[it]=us(xt)||As(xt)?{type:xt}:xt;if(Ft){const Qt=pf(Boolean,Ft.type),mr=pf(String,Ft.type);Ft[0]=Qt>-1,Ft[1]=mr<0||Qt<mr,(Qt>-1||Ms(Ft,"default"))&&he.push(it)}}}const Le=[Y,he];return f.set(i,Le),Le}function uf(i){return i[0]!=="$"}function lf(i){const c=i&&i.toString().match(/^\s*function (\w+)/);return c?c[1]:i===null?"null":""}function cf(i,c){return lf(i)===lf(c)}function pf(i,c){return us(c)?c.findIndex(l=>cf(l,i)):As(c)&&cf(c,i)?0:-1}const Jd=i=>i[0]==="_"||i==="$stable",Oh=i=>us(i)?i.map(vl):[vl(i)],C0=(i,c,l)=>{if(c._n)return c;const f=Il((...v)=>Oh(c(...v)),l);return f._c=!1,f},Kd=(i,c,l)=>{const f=i._ctx;for(const v in i){if(Jd(v))continue;const B=i[v];if(As(B))c[v]=C0(v,B,f);else if(B!=null){const Y=Oh(B);c[v]=()=>Y}}},Qd=(i,c)=>{const l=Oh(c);i.slots.default=()=>l},E0=(i,c)=>{if(i.vnode.shapeFlag&32){const l=c._;l?(i.slots=Gs(c),mp(c,"_",l)):Kd(c,i.slots={})}else i.slots={},c&&Qd(i,c);mp(i.slots,jp,1)},b0=(i,c,l)=>{const{vnode:f,slots:v}=i;let B=!0,Y=ua;if(f.shapeFlag&32){const he=c._;he?l&&he===1?B=!1:(Io(v,c),!l&&he===1&&delete v._):(B=!c.$stable,Kd(c,v)),Y=c}else c&&(Qd(i,c),Y={default:1});if(B)for(const he in v)!Jd(he)&&!(he in Y)&&delete v[he]};function Yd(){return{app:null,config:{isNativeTag:Jm,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 A0=0;function w0(i,c){return function(f,v=null){As(f)||(f=Object.assign({},f)),v!=null&&!Na(v)&&(v=null);const B=Yd(),Y=new Set;let he=!1;const xe=B.app={_uid:A0++,_component:f,_props:v,_container:null,_context:B,_instance:null,version:q0,get config(){return B.config},set config(Le){},use(Le,...je){return Y.has(Le)||(Le&&As(Le.install)?(Y.add(Le),Le.install(xe,...je)):As(Le)&&(Y.add(Le),Le(xe,...je))),xe},mixin(Le){return B.mixins.includes(Le)||B.mixins.push(Le),xe},component(Le,je){return je?(B.components[Le]=je,xe):B.components[Le]},directive(Le,je){return je?(B.directives[Le]=je,xe):B.directives[Le]},mount(Le,je,it){if(!he){const xt=ta(f,v);return xt.appContext=B,je&&c?c(xt,Le):i(xt,Le,it),he=!0,xe._container=Le,Le.__vue_app__=xe,Rp(xt.component)||xt.component.proxy}},unmount(){he&&(i(null,xe._container),delete xe._container.__vue_app__)},provide(Le,je){return B.provides[Le]=je,xe}};return xe}}function hh(i,c,l,f,v=!1){if(us(i)){i.forEach((xt,Ft)=>hh(xt,c&&(us(c)?c[Ft]:c),l,f,v));return}if(Hc(f)&&!v)return;const B=f.shapeFlag&4?Rp(f.component)||f.component.proxy:f.el,Y=v?null:B,{i:he,r:xe}=i,Le=c&&c.r,je=he.refs===ua?he.refs={}:he.refs,it=he.setupState;if(Le!=null&&Le!==xe&&(ro(Le)?(je[Le]=null,Ms(it,Le)&&(it[Le]=null)):ka(Le)&&(Le.value=null)),As(xe))ec(xe,he,12,[Y,je]);else{const xt=ro(xe),Ft=ka(xe);if(xt||Ft){const Qt=()=>{if(i.f){const mr=xt?je[xe]:xe.value;v?us(mr)&&bh(mr,B):us(mr)?mr.includes(B)||mr.push(B):xt?(je[xe]=[B],Ms(it,xe)&&(it[xe]=je[xe])):(xe.value=[B],i.k&&(je[i.k]=xe.value))}else xt?(je[xe]=Y,Ms(it,xe)&&(it[xe]=Y)):Ft&&(xe.value=Y,i.k&&(je[i.k]=Y))};Y?(Qt.id=-1,Go(Qt,l)):Qt()}}}const Go=Qg;function T0(i){return S0(i)}function S0(i,c){const l=rg();l.__VUE__=!0;const{insert:f,remove:v,patchProp:B,createElement:Y,createText:he,createComment:xe,setText:Le,setElementText:je,parentNode:it,nextSibling:xt,setScopeId:Ft=el,cloneNode:Qt,insertStaticContent:mr}=i,Ur=(ct,Ot,Er,sr=null,Jr=null,fn=null,mn=!1,Fn=null,hn=!!Ot.dynamicChildren)=>{if(ct===Ot)return;ct&&!Ic(ct,Ot)&&(sr=dn(ct),cs(ct,Jr,fn,!0),ct=null),Ot.patchFlag===-2&&(hn=!1,Ot.dynamicChildren=null);const{type:lt,ref:br,shapeFlag:Mt}=Ot;switch(lt){case Lh:wt(ct,Ot,Er,sr);break;case rc:jt(ct,Ot,Er,sr);break;case Xp:ct==null&&Wt(Ot,Er,sr,mn);break;case Xo:Cr(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn);break;default:Mt&1?Vn(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn):Mt&6?Tn(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn):(Mt&64||Mt&128)&<.process(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn,Jn)}br!=null&&Jr&&hh(br,ct&&ct.ref,fn,Ot||ct,!Ot)},wt=(ct,Ot,Er,sr)=>{if(ct==null)f(Ot.el=he(Ot.children),Er,sr);else{const Jr=Ot.el=ct.el;Ot.children!==ct.children&&Le(Jr,Ot.children)}},jt=(ct,Ot,Er,sr)=>{ct==null?f(Ot.el=xe(Ot.children||""),Er,sr):Ot.el=ct.el},Wt=(ct,Ot,Er,sr)=>{[ct.el,ct.anchor]=mr(ct.children,Ot,Er,sr,ct.el,ct.anchor)},Ar=({el:ct,anchor:Ot},Er,sr)=>{let Jr;for(;ct&&ct!==Ot;)Jr=xt(ct),f(ct,Er,sr),ct=Jr;f(Ot,Er,sr)},an=({el:ct,anchor:Ot})=>{let Er;for(;ct&&ct!==Ot;)Er=xt(ct),v(ct),ct=Er;v(Ot)},Vn=(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn)=>{mn=mn||Ot.type==="svg",ct==null?An(Ot,Er,sr,Jr,fn,mn,Fn,hn):$n(ct,Ot,Jr,fn,mn,Fn,hn)},An=(ct,Ot,Er,sr,Jr,fn,mn,Fn)=>{let hn,lt;const{type:br,props:Mt,shapeFlag:jn,transition:Di,patchFlag:ns,dirs:is}=ct;if(ct.el&&Qt!==void 0&&ns===-1)hn=ct.el=Qt(ct.el);else{if(hn=ct.el=Y(ct.type,fn,Mt&&Mt.is,Mt),jn&8?je(hn,ct.children):jn&16&&ai(ct.children,hn,null,sr,Jr,fn&&br!=="foreignObject",mn,Fn),is&&sc(ct,null,sr,"created"),Mt){for(const zi in Mt)zi!=="value"&&!cp(zi)&&B(hn,zi,null,Mt[zi],fn,ct.children,sr,Jr,yr);"value"in Mt&&B(hn,"value",null,Mt.value),(lt=Mt.onVnodeBeforeMount)&&Dl(lt,sr,ct)}gi(hn,ct,ct.scopeId,mn,sr)}is&&sc(ct,null,sr,"beforeMount");const ls=(!Jr||Jr&&!Jr.pendingBranch)&&Di&&!Di.persisted;ls&&Di.beforeEnter(hn),f(hn,Ot,Er),((lt=Mt&&Mt.onVnodeMounted)||ls||is)&&Go(()=>{lt&&Dl(lt,sr,ct),ls&&Di.enter(hn),is&&sc(ct,null,sr,"mounted")},Jr)},gi=(ct,Ot,Er,sr,Jr)=>{if(Er&&Ft(ct,Er),sr)for(let fn=0;fn<sr.length;fn++)Ft(ct,sr[fn]);if(Jr){let fn=Jr.subTree;if(Ot===fn){const mn=Jr.vnode;gi(ct,mn,mn.scopeId,mn.slotScopeIds,Jr.parent)}}},ai=(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn=0)=>{for(let lt=hn;lt<ct.length;lt++){const br=ct[lt]=Fn?Ql(ct[lt]):vl(ct[lt]);Ur(null,br,Ot,Er,sr,Jr,fn,mn,Fn)}},$n=(ct,Ot,Er,sr,Jr,fn,mn)=>{const Fn=Ot.el=ct.el;let{patchFlag:hn,dynamicChildren:lt,dirs:br}=Ot;hn|=ct.patchFlag&16;const Mt=ct.props||ua,jn=Ot.props||ua;let Di;Er&&ac(Er,!1),(Di=jn.onVnodeBeforeUpdate)&&Dl(Di,Er,Ot,ct),br&&sc(Ot,ct,Er,"beforeUpdate"),Er&&ac(Er,!0);const ns=Jr&&Ot.type!=="foreignObject";if(lt?Mn(ct.dynamicChildren,lt,Fn,Er,sr,ns,fn):mn||Kn(ct,Ot,Fn,null,Er,sr,ns,fn,!1),hn>0){if(hn&16)yi(Fn,Ot,Mt,jn,Er,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 ls=0;ls<is.length;ls++){const zi=is[ls],Ls=Mt[zi],qn=jn[zi];(qn!==Ls||zi==="value")&&B(Fn,zi,Ls,qn,Jr,ct.children,Er,sr,yr)}}hn&1&&ct.children!==Ot.children&&je(Fn,Ot.children)}else!mn&<==null&&yi(Fn,Ot,Mt,jn,Er,sr,Jr);((Di=jn.onVnodeUpdated)||br)&&Go(()=>{Di&&Dl(Di,Er,Ot,ct),br&&sc(Ot,ct,Er,"updated")},sr)},Mn=(ct,Ot,Er,sr,Jr,fn,mn)=>{for(let Fn=0;Fn<Ot.length;Fn++){const hn=ct[Fn],lt=Ot[Fn],br=hn.el&&(hn.type===Xo||!Ic(hn,lt)||hn.shapeFlag&70)?it(hn.el):Er;Ur(hn,lt,br,null,sr,Jr,fn,mn,!0)}},yi=(ct,Ot,Er,sr,Jr,fn,mn)=>{if(Er!==sr){for(const Fn in sr){if(cp(Fn))continue;const hn=sr[Fn],lt=Er[Fn];hn!==lt&&Fn!=="value"&&B(ct,Fn,lt,hn,mn,Ot.children,Jr,fn,yr)}if(Er!==ua)for(const Fn in Er)!cp(Fn)&&!(Fn in sr)&&B(ct,Fn,Er[Fn],null,mn,Ot.children,Jr,fn,yr);"value"in sr&&B(ct,"value",Er.value,sr.value)}},Cr=(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn)=>{const lt=Ot.el=ct?ct.el:he(""),br=Ot.anchor=ct?ct.anchor:he("");let{patchFlag:Mt,dynamicChildren:jn,slotScopeIds:Di}=Ot;Di&&(Fn=Fn?Fn.concat(Di):Di),ct==null?(f(lt,Er,sr),f(br,Er,sr),ai(Ot.children,Er,br,Jr,fn,mn,Fn,hn)):Mt>0&&Mt&64&&jn&&ct.dynamicChildren?(Mn(ct.dynamicChildren,jn,Er,Jr,fn,mn,Fn),(Ot.key!=null||Jr&&Ot===Jr.subTree)&&Zd(ct,Ot,!0)):Kn(ct,Ot,Er,br,Jr,fn,mn,Fn,hn)},Tn=(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn)=>{Ot.slotScopeIds=Fn,ct==null?Ot.shapeFlag&512?Jr.ctx.activate(Ot,Er,sr,mn,hn):we(Ot,Er,sr,Jr,fn,mn,hn):rn(ct,Ot,hn)},we=(ct,Ot,Er,sr,Jr,fn,mn)=>{const Fn=ct.component=L0(ct,sr,Jr);if(Rd(ct)&&(Fn.ctx.renderer=Jn),M0(Fn),Fn.asyncDep){if(Jr&&Jr.registerDep(Fn,ur),!ct.el){const hn=Fn.subTree=ta(rc);jt(null,hn,Ot,Er)}return}ur(Fn,ct,Ot,Er,Jr,fn,mn)},rn=(ct,Ot,Er)=>{const sr=Ot.component=ct.component;if(Xg(ct,Ot,Er))if(sr.asyncDep&&!sr.asyncResolved){Sn(sr,Ot,Er);return}else sr.next=Ot,Hg(sr.update),sr.update();else Ot.el=ct.el,sr.vnode=Ot},ur=(ct,Ot,Er,sr,Jr,fn,mn)=>{const Fn=()=>{if(ct.isMounted){let{next:br,bu:Mt,u:jn,parent:Di,vnode:ns}=ct,is=br,ls;ac(ct,!1),br?(br.el=ns.el,Sn(ct,br,mn)):br=ns,Mt&&pp(Mt),(ls=br.props&&br.props.onVnodeBeforeUpdate)&&Dl(ls,Di,br,ns),ac(ct,!0);const zi=Gp(ct),Ls=ct.subTree;ct.subTree=zi,Ur(Ls,zi,it(Ls.el),dn(Ls),ct,Jr,fn),br.el=zi.el,is===null&&Jg(ct,zi.el),jn&&Go(jn,Jr),(ls=br.props&&br.props.onVnodeUpdated)&&Go(()=>Dl(ls,Di,br,ns),Jr)}else{let br;const{el:Mt,props:jn}=Ot,{bm:Di,m:ns,parent:is}=ct,ls=Hc(Ot);if(ac(ct,!1),Di&&pp(Di),!ls&&(br=jn&&jn.onVnodeBeforeMount)&&Dl(br,is,Ot),ac(ct,!0),Mt&&li){const zi=()=>{ct.subTree=Gp(ct),li(Mt,ct.subTree,ct,Jr,null)};ls?Ot.type.__asyncLoader().then(()=>!ct.isUnmounted&&zi()):zi()}else{const zi=ct.subTree=Gp(ct);Ur(null,zi,Er,sr,ct,Jr,fn),Ot.el=zi.el}if(ns&&Go(ns,Jr),!ls&&(br=jn&&jn.onVnodeMounted)){const zi=Ot;Go(()=>Dl(br,is,zi),Jr)}(Ot.shapeFlag&256||is&&Hc(is.vnode)&&is.vnode.shapeFlag&256)&&ct.a&&Go(ct.a,Jr),ct.isMounted=!0,Ot=Er=sr=null}},hn=ct.effect=new Th(Fn,()=>Nd(lt),ct.scope),lt=ct.update=()=>hn.run();lt.id=ct.uid,ac(ct,!0),lt()},Sn=(ct,Ot,Er)=>{Ot.component=ct;const sr=ct.vnode.props;ct.vnode=Ot,ct.next=null,x0(ct,Ot.props,sr,Er),b0(ct,Ot.children,Er),Fc(),Op(void 0,ct.update),kc()},Kn=(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn=!1)=>{const lt=ct&&ct.children,br=ct?ct.shapeFlag:0,Mt=Ot.children,{patchFlag:jn,shapeFlag:Di}=Ot;if(jn>0){if(jn&128){ys(lt,Mt,Er,sr,Jr,fn,mn,Fn,hn);return}else if(jn&256){Yi(lt,Mt,Er,sr,Jr,fn,mn,Fn,hn);return}}Di&8?(br&16&&yr(lt,Jr,fn),Mt!==lt&&je(Er,Mt)):br&16?Di&16?ys(lt,Mt,Er,sr,Jr,fn,mn,Fn,hn):yr(lt,Jr,fn,!0):(br&8&&je(Er,""),Di&16&&ai(Mt,Er,sr,Jr,fn,mn,Fn,hn))},Yi=(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn)=>{ct=ct||Dc,Ot=Ot||Dc;const lt=ct.length,br=Ot.length,Mt=Math.min(lt,br);let jn;for(jn=0;jn<Mt;jn++){const Di=Ot[jn]=hn?Ql(Ot[jn]):vl(Ot[jn]);Ur(ct[jn],Di,Er,null,Jr,fn,mn,Fn,hn)}lt>br?yr(ct,Jr,fn,!0,!1,Mt):ai(Ot,Er,sr,Jr,fn,mn,Fn,hn,Mt)},ys=(ct,Ot,Er,sr,Jr,fn,mn,Fn,hn)=>{let lt=0;const br=Ot.length;let Mt=ct.length-1,jn=br-1;for(;lt<=Mt&<<=jn;){const Di=ct[lt],ns=Ot[lt]=hn?Ql(Ot[lt]):vl(Ot[lt]);if(Ic(Di,ns))Ur(Di,ns,Er,null,Jr,fn,mn,Fn,hn);else break;lt++}for(;lt<=Mt&<<=jn;){const Di=ct[Mt],ns=Ot[jn]=hn?Ql(Ot[jn]):vl(Ot[jn]);if(Ic(Di,ns))Ur(Di,ns,Er,null,Jr,fn,mn,Fn,hn);else break;Mt--,jn--}if(lt>Mt){if(lt<=jn){const Di=jn+1,ns=Di<br?Ot[Di].el:sr;for(;lt<=jn;)Ur(null,Ot[lt]=hn?Ql(Ot[lt]):vl(Ot[lt]),Er,ns,Jr,fn,mn,Fn,hn),lt++}}else if(lt>jn)for(;lt<=Mt;)cs(ct[lt],Jr,fn,!0),lt++;else{const Di=lt,ns=lt,is=new Map;for(lt=ns;lt<=jn;lt++){const Vr=Ot[lt]=hn?Ql(Ot[lt]):vl(Ot[lt]);Vr.key!=null&&is.set(Vr.key,lt)}let ls,zi=0;const Ls=jn-ns+1;let qn=!1,Fr=0;const Br=new Array(Ls);for(lt=0;lt<Ls;lt++)Br[lt]=0;for(lt=Di;lt<=Mt;lt++){const Vr=ct[lt];if(zi>=Ls){cs(Vr,Jr,fn,!0);continue}let lr;if(Vr.key!=null)lr=is.get(Vr.key);else for(ls=ns;ls<=jn;ls++)if(Br[ls-ns]===0&&Ic(Vr,Ot[ls])){lr=ls;break}lr===void 0?cs(Vr,Jr,fn,!0):(Br[lr-ns]=lt+1,lr>=Fr?Fr=lr:qn=!0,Ur(Vr,Ot[lr],Er,null,Jr,fn,mn,Fn,hn),zi++)}const Gt=qn?F0(Br):Dc;for(ls=Gt.length-1,lt=Ls-1;lt>=0;lt--){const Vr=ns+lt,lr=Ot[Vr],gn=Vr+1<br?Ot[Vr+1].el:sr;Br[lt]===0?Ur(null,lr,Er,gn,Jr,fn,mn,Fn,hn):qn&&(ls<0||lt!==Gt[ls]?Ns(lr,Er,gn,2):ls--)}}},Ns=(ct,Ot,Er,sr,Jr=null)=>{const{el:fn,type:mn,transition:Fn,children:hn,shapeFlag:lt}=ct;if(lt&6){Ns(ct.component.subTree,Ot,Er,sr);return}if(lt&128){ct.suspense.move(Ot,Er,sr);return}if(lt&64){mn.move(ct,Ot,Er,Jn);return}if(mn===Xo){f(fn,Ot,Er);for(let Mt=0;Mt<hn.length;Mt++)Ns(hn[Mt],Ot,Er,sr);f(ct.anchor,Ot,Er);return}if(mn===Xp){Ar(ct,Ot,Er);return}if(sr!==2&<&1&&Fn)if(sr===0)Fn.beforeEnter(fn),f(fn,Ot,Er),Go(()=>Fn.enter(fn),Jr);else{const{leave:Mt,delayLeave:jn,afterLeave:Di}=Fn,ns=()=>f(fn,Ot,Er),is=()=>{Mt(fn,()=>{ns(),Di&&Di()})};jn?jn(fn,ns,is):is()}else f(fn,Ot,Er)},cs=(ct,Ot,Er,sr=!1,Jr=!1)=>{const{type:fn,props:mn,ref:Fn,children:hn,dynamicChildren:lt,shapeFlag:br,patchFlag:Mt,dirs:jn}=ct;if(Fn!=null&&hh(Fn,null,Er,ct,!0),br&256){Ot.ctx.deactivate(ct);return}const Di=br&1&&jn,ns=!Hc(ct);let is;if(ns&&(is=mn&&mn.onVnodeBeforeUnmount)&&Dl(is,Ot,ct),br&6)Kr(ct.component,Er,sr);else{if(br&128){ct.suspense.unmount(Er,sr);return}Di&&sc(ct,null,Ot,"beforeUnmount"),br&64?ct.type.remove(ct,Ot,Er,Jr,Jn,sr):lt&&(fn!==Xo||Mt>0&&Mt&64)?yr(lt,Ot,Er,!1,!0):(fn===Xo&&Mt&384||!Jr&&br&16)&&yr(hn,Ot,Er),sr&&ts(ct)}(ns&&(is=mn&&mn.onVnodeUnmounted)||Di)&&Go(()=>{is&&Dl(is,Ot,ct),Di&&sc(ct,null,Ot,"unmounted")},Er)},ts=ct=>{const{type:Ot,el:Er,anchor:sr,transition:Jr}=ct;if(Ot===Xo){_r(Er,sr);return}if(Ot===Xp){an(ct);return}const fn=()=>{v(Er),Jr&&!Jr.persisted&&Jr.afterLeave&&Jr.afterLeave()};if(ct.shapeFlag&1&&Jr&&!Jr.persisted){const{leave:mn,delayLeave:Fn}=Jr,hn=()=>mn(Er,fn);Fn?Fn(ct.el,fn,hn):hn()}else fn()},_r=(ct,Ot)=>{let Er;for(;ct!==Ot;)Er=xt(ct),v(ct),ct=Er;v(Ot)},Kr=(ct,Ot,Er)=>{const{bum:sr,scope:Jr,update:fn,subTree:mn,um:Fn}=ct;sr&&pp(sr),Jr.stop(),fn&&(fn.active=!1,cs(mn,ct,Ot,Er)),Fn&&Go(Fn,Ot),Go(()=>{ct.isUnmounted=!0},Ot),Ot&&Ot.pendingBranch&&!Ot.isUnmounted&&ct.asyncDep&&!ct.asyncResolved&&ct.suspenseId===Ot.pendingId&&(Ot.deps--,Ot.deps===0&&Ot.resolve())},yr=(ct,Ot,Er,sr=!1,Jr=!1,fn=0)=>{for(let mn=fn;mn<ct.length;mn++)cs(ct[mn],Ot,Er,sr,Jr)},dn=ct=>ct.shapeFlag&6?dn(ct.component.subTree):ct.shapeFlag&128?ct.suspense.next():xt(ct.anchor||ct.el),oi=(ct,Ot,Er)=>{ct==null?Ot._vnode&&cs(Ot._vnode,null,null,!0):Ur(Ot._vnode||null,ct,Ot,null,null,null,Er),Id(),Ot._vnode=ct},Jn={p:Ur,um:cs,m:Ns,r:ts,mt:we,mc:ai,pc:Kn,pbc:Mn,n:dn,o:i};let Un,li;return c&&([Un,li]=c(Jn)),{render:oi,hydrate:Un,createApp:w0(oi,Un)}}function ac({effect:i,update:c},l){i.allowRecurse=c.allowRecurse=l}function Zd(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 Y=f[B];let he=v[B];he.shapeFlag&1&&!he.dynamicChildren&&((he.patchFlag<=0||he.patchFlag===32)&&(he=v[B]=Ql(v[B]),he.el=Y.el),l||Zd(Y,he))}}function F0(i){const c=i.slice(),l=[0];let f,v,B,Y,he;const xe=i.length;for(f=0;f<xe;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,Y=l.length-1;B<Y;)he=B+Y>>1,i[l[he]]<Le?B=he+1:Y=he;Le<i[l[B]]&&(B>0&&(c[f]=l[B-1]),l[B]=f)}}for(B=l.length,Y=l[B-1];B-- >0;)l[B]=Y,Y=c[Y];return l}const k0=i=>i.__isTeleport,Xo=Symbol(void 0),Lh=Symbol(void 0),rc=Symbol(void 0),Xp=Symbol(void 0),qc=[];let Zu=null;function xa(i=!1){qc.push(Zu=i?null:[])}function P0(){qc.pop(),Zu=qc[qc.length-1]||null}let Yc=1;function hf(i){Yc+=i}function em(i){return i.dynamicChildren=Yc>0?Zu||Dc:null,P0(),Yc>0&&Zu&&Zu.push(i),i}function ho(i,c,l,f,v,B){return em(Vi(i,c,l,f,v,B,!0))}function Ec(i,c,l,f,v){return em(ta(i,c,l,f,v,!0))}function Ep(i){return i?i.__v_isVNode===!0:!1}function Ic(i,c){return i.type===c.type&&i.key===c.key}const jp="__vInternal",tm=({key:i})=>i!=null?i:null,fp=({ref:i,ref_key:c,ref_for:l})=>i!=null?ro(i)||ka(i)||As(i)?{i:xo,r:i,k:c,f:!!l}:i:null;function Vi(i,c=null,l=null,f=0,v=null,B=i===Xo?0:1,Y=!1,he=!1){const xe={__v_isVNode:!0,__v_skip:!0,type:i,props:c,key:c&&tm(c),ref:c&&fp(c),scopeId:Md,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 he?(Mh(xe,l),B&128&&i.normalize(xe)):l&&(xe.shapeFlag|=ro(l)?8:16),Yc>0&&!Y&&Zu&&(xe.patchFlag>0||B&6)&&xe.patchFlag!==32&&Zu.push(xe),xe}const ta=N0;function N0(i,c=null,l=null,f=0,v=null,B=!1){if((!i||i===p0)&&(i=rc),Ep(i)){const he=bc(i,c,!0);return l&&Mh(he,l),Yc>0&&!B&&Zu&&(he.shapeFlag&6?Zu[Zu.indexOf(i)]=he:Zu.push(he)),he.patchFlag|=-2,he}if(H0(i)&&(i=i.__vccOpts),c){c=B0(c);let{class:he,style:xe}=c;he&&!ro(he)&&(c.class=Cc(he)),Na(xe)&&(Ad(xe)&&!us(xe)&&(xe=Io({},xe)),c.style=tp(xe))}const Y=ro(i)?1:Kg(i)?128:k0(i)?64:Na(i)?4:As(i)?2:0;return Vi(i,c,l,f,v,Y,B,!0)}function B0(i){return i?Ad(i)||jp in i?Io({},i):i:null}function bc(i,c,l=!1){const{props:f,ref:v,patchFlag:B,children:Y}=i,he=c?_0(f||{},c):f;return{__v_isVNode:!0,__v_skip:!0,type:i.type,props:he,key:he&&tm(he),ref:c&&c.ref?l&&v?us(v)?v.concat(fp(c)):[v,fp(c)]:fp(c):v,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:Y,target:i.target,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:c&&i.type!==Xo?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 Qu(i=" ",c=0){return ta(Lh,null,i,c)}function bp(i="",c=!1){return c?(xa(),Ec(rc,null,i)):ta(rc,null,i)}function vl(i){return i==null||typeof i=="boolean"?ta(rc):us(i)?ta(Xo,null,i.slice()):typeof i=="object"?Ql(i):ta(Lh,null,String(i))}function Ql(i){return i.el===null||i.memo?i:bc(i)}function Mh(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),Mh(i,v()),v._c&&(v._d=!0));return}else{l=32;const v=c._;!v&&!(jp in c)?c._ctx=xo:v===3&&xo&&(xo.slots._===1?c._=1:(c._=2,i.patchFlag|=1024))}else As(c)?(c={default:c,_ctx:xo},l=32):(c=String(c),f&64?(l=16,c=[Qu(c)]):l=8);i.children=c,i.shapeFlag|=l}function _0(...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=Cc([c.class,f.class]));else if(v==="style")c.style=tp([c.style,f.style]);else if(Fp(v)){const B=c[v],Y=f[v];Y&&B!==Y&&!(us(B)&&B.includes(Y))&&(c[v]=B?[].concat(B,Y):Y)}else v!==""&&(c[v]=f[v])}return c}function Dl(i,c,l,f=null){tl(i,c,7,[l,f])}const I0=Yd();let O0=0;function L0(i,c,l){const f=i.type,v=(c?c.appContext:i.appContext)||I0,B={uid:O0++,vnode:i,type:f,parent:c,appContext:v,root:null,next:null,subTree:null,effect:null,update:null,scope:new ng(!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:Xd(f,v),emitsOptions:Ld(f,v),emit:null,emitted:null,propsDefaults:ua,inheritAttrs:f.inheritAttrs,ctx:ua,data:ua,props:ua,attrs:ua,slots:ua,refs:ua,setupState:ua,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=Wg.bind(null,B),i.ce&&i.ce(B),B}let to=null;const jh=()=>to||xo,Ac=i=>{to=i,i.scope.on()},pc=()=>{to&&to.scope.off(),to=null};function rm(i){return i.vnode.shapeFlag&4}let Zc=!1;function M0(i,c=!1){Zc=c;const{props:l,children:f}=i.vnode,v=rm(i);v0(i,l,v,c),E0(i,f);const B=v?j0(i,c):void 0;return Zc=!1,B}function j0(i,c){const l=i.type;i.accessCache=Object.create(null),i.proxy=wd(new Proxy(i.ctx,f0));const{setup:f}=l;if(f){const v=i.setupContext=f.length>1?U0(i):null;Ac(i),Fc();const B=ec(f,i,0,[i.props,v]);if(kc(),pc(),cd(B)){if(B.then(pc,pc),c)return B.then(Y=>{ff(i,Y,c)}).catch(Y=>{_p(Y,i,0)});i.asyncDep=B}else ff(i,B,c)}else nm(i,c)}function ff(i,c,l){As(c)?i.type.__ssrInlineRender?i.ssrRender=c:i.render=c:Na(c)&&(i.setupState=kd(c)),nm(i,l)}let df;function nm(i,c,l){const f=i.type;if(!i.render){if(!c&&df&&!f.render){const v=f.template;if(v){const{isCustomElement:B,compilerOptions:Y}=i.appContext.config,{delimiters:he,compilerOptions:xe}=f,Le=Io(Io({isCustomElement:B,delimiters:he},Y),xe);f.render=df(v,Le)}}i.render=f.render||el}Ac(i),Fc(),d0(i),kc(),pc()}function R0(i){return new Proxy(i.attrs,{get(c,l){return du(i,"get","$attrs"),c[l]}})}function U0(i){const c=f=>{i.exposed=f||{}};let l;return{get attrs(){return l||(l=R0(i))},slots:i.slots,emit:i.emit,expose:c}}function Rp(i){if(i.exposed)return i.exposeProxy||(i.exposeProxy=new Proxy(kd(wd(i.exposed)),{get(c,l){if(l in c)return c[l];if(l in xp)return xp[l](i)}}))}function z0(i,c=!0){return As(i)?i.displayName||i.name:i.name||c&&i.__name}function H0(i){return As(i)&&"__vccOpts"in i}const Ks=(i,c)=>Rg(i,c,Zc);function Rh(i,c,l){const f=arguments.length;return f===2?Na(c)&&!us(c)?Ep(c)?ta(i,null,[c]):ta(i,c):ta(i,null,c):(f>3?l=Array.prototype.slice.call(arguments,2):f===3&&Ep(l)&&(l=[l]),ta(i,c,l))}const q0="3.2.37",$0="http://www.w3.org/2000/svg",uc=typeof document<"u"?document:null,mf=uc&&uc.createElement("template"),W0={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?uc.createElementNS($0,i):uc.createElement(i,l?{is:l}:void 0);return i==="select"&&f&&f.multiple!=null&&v.setAttribute("multiple",f.multiple),v},createText:i=>uc.createTextNode(i),createComment:i=>uc.createComment(i),setText:(i,c)=>{i.nodeValue=c},setElementText:(i,c)=>{i.textContent=c},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>uc.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 Y=l?l.previousSibling:c.lastChild;if(v&&(v===B||v.nextSibling))for(;c.insertBefore(v.cloneNode(!0),l),!(v===B||!(v=v.nextSibling)););else{mf.innerHTML=f?`<svg>${i}</svg>`:i;const he=mf.content;if(f){const xe=he.firstChild;for(;xe.firstChild;)he.appendChild(xe.firstChild);he.removeChild(xe)}c.insertBefore(he,l)}return[Y?Y.nextSibling:c.firstChild,l?l.previousSibling:c.lastChild]}};function V0(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 G0(i,c,l){const f=i.style,v=ro(l);if(l&&!v){for(const B in l)fh(f,B,l[B]);if(c&&!ro(c))for(const B in c)l[B]==null&&fh(f,B,"")}else{const B=f.display;v?c!==l&&(f.cssText=l):c&&i.removeAttribute("style"),"_vod"in i&&(f.display=B)}}const gf=/\s*!important$/;function fh(i,c,l){if(us(l))l.forEach(f=>fh(i,c,f));else if(l==null&&(l=""),c.startsWith("--"))i.setProperty(c,l);else{const f=X0(i,c);gf.test(l)?i.setProperty(Sc(f),l.replace(gf,""),"important"):i[f]=l}}const yf=["Webkit","Moz","ms"],Jp={};function X0(i,c){const l=Jp[c];if(l)return l;let f=xl(c);if(f!=="filter"&&f in i)return Jp[c]=f;f=Np(f);for(let v=0;v<yf.length;v++){const B=yf[v]+f;if(B in i)return Jp[c]=B}return c}const Df="http://www.w3.org/1999/xlink";function J0(i,c,l,f,v){if(f&&c.startsWith("xlink:"))l==null?i.removeAttributeNS(Df,c.slice(6,c.length)):i.setAttributeNS(Df,c,l);else{const B=$m(c);l==null||B&&!od(l)?i.removeAttribute(c):i.setAttribute(c,B?"":l)}}function K0(i,c,l,f,v,B,Y){if(c==="innerHTML"||c==="textContent"){f&&Y(f,v,B),i[c]=l==null?"":l;return}if(c==="value"&&i.tagName!=="PROGRESS"&&!i.tagName.includes("-")){i._value=l;const xe=l==null?"":l;(i.value!==xe||i.tagName==="OPTION")&&(i.value=xe),l==null&&i.removeAttribute(c);return}let he=!1;if(l===""||l==null){const xe=typeof i[c];xe==="boolean"?l=od(l):l==null&&xe==="string"?(l="",he=!0):xe==="number"&&(l=0,he=!0)}try{i[c]=l}catch{}he&&i.removeAttribute(c)}const[im,Q0]=(()=>{let i=Date.now,c=!1;if(typeof window<"u"){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 dh=0;const Y0=Promise.resolve(),Z0=()=>{dh=0},ey=()=>dh||(Y0.then(Z0),dh=im());function sm(i,c,l,f){i.addEventListener(c,l,f)}function ty(i,c,l,f){i.removeEventListener(c,l,f)}function ry(i,c,l,f,v=null){const B=i._vei||(i._vei={}),Y=B[c];if(f&&Y)Y.value=f;else{const[he,xe]=ny(c);if(f){const Le=B[c]=iy(f,v);sm(i,he,Le,xe)}else Y&&(ty(i,he,Y,xe),B[c]=void 0)}}const vf=/(?:Once|Passive|Capture)$/;function ny(i){let c;if(vf.test(i)){c={};let l;for(;l=i.match(vf);)i=i.slice(0,i.length-l[0].length),c[l[0].toLowerCase()]=!0}return[Sc(i.slice(2)),c]}function iy(i,c){const l=f=>{const v=f.timeStamp||im();(Q0||v>=l.attached-1)&&tl(sy(f,l.value),c,5,[f])};return l.value=i,l.attached=ey(),l}function sy(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 xf=/^on[a-z]/,ay=(i,c,l,f,v=!1,B,Y,he,xe)=>{c==="class"?V0(i,f,v):c==="style"?G0(i,l,f):Fp(c)?Eh(c)||ry(i,c,l,f,Y):(c[0]==="."?(c=c.slice(1),!0):c[0]==="^"?(c=c.slice(1),!1):oy(i,c,f,v))?K0(i,c,f,B,Y,he,xe):(c==="true-value"?i._trueValue=f:c==="false-value"&&(i._falseValue=f),J0(i,c,f,v))};function oy(i,c,l,f){return f?!!(c==="innerHTML"||c==="textContent"||c in i&&xf.test(c)&&As(l)):c==="spellcheck"||c==="draggable"||c==="translate"||c==="form"||c==="list"&&i.tagName==="INPUT"||c==="type"&&i.tagName==="TEXTAREA"||xf.test(c)&&ro(l)?!1:c in i}const Cf=i=>{const c=i.props["onUpdate:modelValue"]||!1;return us(c)?l=>pp(c,l):c},uy={deep:!0,created(i,c,l){i._assign=Cf(l),sm(i,"change",()=>{const f=i._modelValue,v=ly(i),B=i.checked,Y=i._assign;if(us(f)){const he=ud(f,v),xe=he!==-1;if(B&&!xe)Y(f.concat(v));else if(!B&&xe){const Le=[...f];Le.splice(he,1),Y(Le)}}else if(kp(f)){const he=new Set(f);B?he.add(v):he.delete(v),Y(he)}else Y(am(i,B))})},mounted:Ef,beforeUpdate(i,c,l){i._assign=Cf(l),Ef(i,c,l)}};function Ef(i,{value:c,oldValue:l},f){i._modelValue=c,us(c)?i.checked=ud(c,f.props.value)>-1:kp(c)?i.checked=c.has(f.props.value):c!==l&&(i.checked=Sp(c,am(i,!0)))}function ly(i){return"_value"in i?i._value:i.value}function am(i,c){const l=c?"_trueValue":"_falseValue";return l in i?i[l]:c}const cy=Io({patchProp:ay},W0);let bf;function py(){return bf||(bf=T0(cy))}const hy=(...i)=>{const c=py().createApp(...i),{mount:l}=c;return c.mount=f=>{const v=fy(f);if(!v)return;const B=c._component;!As(B)&&!B.render&&!B.template&&(B.template=v.innerHTML),v.innerHTML="";const Y=l(v,!1,v instanceof SVGElement);return v instanceof Element&&(v.removeAttribute("v-cloak"),v.setAttribute("data-v-app","")),Y},c};function fy(i){return ro(i)?document.querySelector(i):i}var Af;const Nc=typeof window<"u",dy=i=>typeof i<"u",my=i=>typeof i=="function",gy=i=>typeof i=="string",dp=()=>{};Nc&&((Af=window==null?void 0:window.navigator)==null?void 0:Af.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function _o(i){return typeof i=="function"?i():Cs(i)}function om(i,c){function l(...f){i(()=>c.apply(this,f),{fn:c,thisArg:this,args:f})}return l}const um=i=>i();function yy(i,c={}){let l,f;return B=>{const Y=_o(i),he=_o(c.maxWait);if(l&&clearTimeout(l),Y<=0||he!==void 0&&he<=0)return f&&(clearTimeout(f),f=null),B();he&&!f&&(f=setTimeout(()=>{l&&clearTimeout(l),f=null,B()},he)),l=setTimeout(()=>{f&&clearTimeout(f),f=null,B()},Y)}}function Dy(i=um){const c=Pa(!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 wf(i,c=!1,l="Timeout"){return new Promise((f,v)=>{setTimeout(c?()=>v(l):f,i)})}function vy(i){return i}function xy(i,...c){return c.some(l=>l in i)}function $c(){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 Up(i){return sg()?(ag(i),!0):!1}function Cy(i,c=200,l={}){return om(yy(c,l),i)}function Ey(i,c=200,l={}){if(c<=0)return i;const f=Pa(i.value),v=Cy(()=>{f.value=i.value},c,l);return Ga(i,()=>v()),f}function Kp(i){return typeof i=="function"?Ks(i):Pa(i)}function by(i,c=!0){jh()?zd(i):c?i():Ip(i)}function lm(i,c=!0){jh()?Ih(i):c?i():Ip(i)}function Ay(i){let c=!1;function l(it,{flush:xt="sync",deep:Ft=!1,timeout:Qt,throwOnTimeout:mr}={}){let Ur=null;const jt=[new Promise(Wt=>{Ur=Ga(i,Ar=>{it(Ar)!==c&&(Ur==null||Ur(),Wt(Ar))},{flush:xt,deep:Ft,immediate:!0})})];return Qt!=null&&jt.push(wf(Qt,mr).then(()=>_o(i)).finally(()=>Ur==null?void 0:Ur())),Promise.race(jt)}function f(it,xt){if(!ka(it))return l(Ar=>Ar===it,xt);const{flush:Ft="sync",deep:Qt=!1,timeout:mr,throwOnTimeout:Ur}=xt!=null?xt:{};let wt=null;const Wt=[new Promise(Ar=>{wt=Ga([i,it],([an,Vn])=>{c!==(an===Vn)&&(wt==null||wt(),Ar(an))},{flush:Ft,deep:Qt,immediate:!0})})];return mr!=null&&Wt.push(wf(mr,Ur).then(()=>_o(i)).finally(()=>(wt==null||wt(),_o(i)))),Promise.race(Wt)}function v(it){return l(xt=>Boolean(xt),it)}function B(it){return f(null,it)}function Y(it){return f(void 0,it)}function he(it){return l(Number.isNaN,it)}function xe(it,xt){return l(Ft=>{const Qt=Array.from(Ft);return Qt.includes(it)||Qt.includes(_o(it))},xt)}function Le(it){return je(1,it)}function je(it=1,xt){let Ft=-1;return l(()=>(Ft+=1,Ft>=it),xt)}return Array.isArray(_o(i))?{toMatch:l,toContains:xe,changed:Le,changedTimes:je,get not(){return c=!c,this}}:{toMatch:l,toBe:f,toBeTruthy:v,toBeNull:B,toBeNaN:he,toBeUndefined:Y,changed:Le,changedTimes:je,get not(){return c=!c,this}}}function wy(i,c,l={}){const{immediate:f=!0}=l,v=Pa(!1);let B=null;function Y(){B&&(clearTimeout(B),B=null)}function he(){v.value=!1,Y()}function xe(...Le){Y(),v.value=!0,B=setTimeout(()=>{v.value=!1,B=null,i(...Le)},_o(c))}return f&&(v.value=!0,Nc&&xe()),Up(he),{isPending:v,start:xe,stop:he}}function Ty(i=!1,c={}){const{truthyValue:l=!0,falsyValue:f=!1}=c,v=ka(i),B=Pa(i);function Y(he){if(arguments.length)return B.value=he,B.value;{const xe=_o(l);return B.value=B.value===xe?_o(f):xe,B.value}}return v?Y:[B,Y]}var Tf=Object.getOwnPropertySymbols,Sy=Object.prototype.hasOwnProperty,Fy=Object.prototype.propertyIsEnumerable,ky=(i,c)=>{var l={};for(var f in i)Sy.call(i,f)&&c.indexOf(f)<0&&(l[f]=i[f]);if(i!=null&&Tf)for(var f of Tf(i))c.indexOf(f)<0&&Fy.call(i,f)&&(l[f]=i[f]);return l};function Py(i,c,l={}){const f=l,{eventFilter:v=um}=f,B=ky(f,["eventFilter"]);return Ga(i,om(v,c),B)}var Ny=Object.defineProperty,By=Object.defineProperties,_y=Object.getOwnPropertyDescriptors,Ap=Object.getOwnPropertySymbols,cm=Object.prototype.hasOwnProperty,pm=Object.prototype.propertyIsEnumerable,Sf=(i,c,l)=>c in i?Ny(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,Iy=(i,c)=>{for(var l in c||(c={}))cm.call(c,l)&&Sf(i,l,c[l]);if(Ap)for(var l of Ap(c))pm.call(c,l)&&Sf(i,l,c[l]);return i},Oy=(i,c)=>By(i,_y(c)),Ly=(i,c)=>{var l={};for(var f in i)cm.call(i,f)&&c.indexOf(f)<0&&(l[f]=i[f]);if(i!=null&&Ap)for(var f of Ap(i))c.indexOf(f)<0&&pm.call(i,f)&&(l[f]=i[f]);return l};function My(i,c,l={}){const f=l,{eventFilter:v}=f,B=Ly(f,["eventFilter"]),{eventFilter:Y,pause:he,resume:xe,isActive:Le}=Dy(v);return{stop:Py(i,c,Oy(Iy({},B),{eventFilter:Y})),pause:he,resume:xe,isActive:Le}}function hx(i,c,l){let f;ka(l)?f={evaluating:l}:f=l||{};const{lazy:v=!1,evaluating:B=void 0,onError:Y=dp}=f,he=Pa(!v),xe=Pa(c);let Le=0;return Yg(async je=>{if(!he.value)return;Le++;const it=Le;let xt=!1;B&&Promise.resolve().then(()=>{B.value=!0});try{const Ft=await i(Qt=>{je(()=>{B&&(B.value=!1),xt||Qt()})});it===Le&&(xe.value=Ft)}catch(Ft){Y(Ft)}finally{B&&it===Le&&(B.value=!1),xt=!0}}),v?Ks(()=>(he.value=!0,xe.value)):xe}function Uh(i){var c;const l=_o(i);return(c=l==null?void 0:l.$el)!=null?c:l}const Ml=Nc?window:void 0;Nc&&window.document;Nc&&window.navigator;Nc&&window.location;function jy(...i){let c,l,f,v;if(gy(i[0])?([l,f,v]=i,c=Ml):[c,l,f,v]=i,!c)return dp;let B=dp;const Y=Ga(()=>Uh(c),xe=>{B(),xe&&(xe.addEventListener(l,f,v),B=()=>{xe.removeEventListener(l,f,v),B=dp})},{immediate:!0,flush:"post"}),he=()=>{Y(),B()};return Up(he),he}function hm(i,c=!1){const l=Pa(),f=()=>l.value=Boolean(i());return f(),lm(f,c),l}function Ry(i,c={}){const{window:l=Ml}=c,f=hm(()=>l&&"matchMedia"in l&&typeof l.matchMedia=="function");let v;const B=Pa(!1),Y=()=>{!f.value||(v||(v=l.matchMedia(i)),B.value=v.matches)};return by(()=>{Y(),v&&("addEventListener"in v?v.addEventListener("change",Y):v.addListener(Y),Up(()=>{"removeEventListener"in v?v.removeEventListener("change",Y):v.removeListener(Y)}))}),B}const mh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gh="__vueuse_ssr_handlers__";mh[gh]=mh[gh]||{};const Uy=mh[gh];function fm(i,c){return Uy[i]||c}function zy(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"}var Hy=Object.defineProperty,Ff=Object.getOwnPropertySymbols,qy=Object.prototype.hasOwnProperty,$y=Object.prototype.propertyIsEnumerable,kf=(i,c,l)=>c in i?Hy(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,Pf=(i,c)=>{for(var l in c||(c={}))qy.call(c,l)&&kf(i,l,c[l]);if(Ff)for(var l of Ff(c))$y.call(c,l)&&kf(i,l,c[l]);return i};const Wy={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 dm(i,c,l,f={}){var v;const{flush:B="pre",deep:Y=!0,listenToStorageChanges:he=!0,writeDefaults:xe=!0,mergeDefaults:Le=!1,shallow:je,window:it=Ml,eventFilter:xt,onError:Ft=An=>{console.error(An)}}=f,Qt=(je?Rc:Pa)(c);if(!l)try{l=fm("getDefaultStorage",()=>{var An;return(An=Ml)==null?void 0:An.localStorage})()}catch(An){Ft(An)}if(!l)return Qt;const mr=_o(c),Ur=zy(mr),wt=(v=f.serializer)!=null?v:Wy[Ur],{pause:jt,resume:Wt}=My(Qt,()=>Ar(Qt.value),{flush:B,deep:Y,eventFilter:xt});return it&&he&&jy(it,"storage",Vn),Vn(),Qt;function Ar(An){try{An==null?l.removeItem(i):l.setItem(i,wt.write(An))}catch(gi){Ft(gi)}}function an(An){if(!(An&&An.key!==i)){jt();try{const gi=An?An.newValue:l.getItem(i);if(gi==null)return xe&&mr!==null&&l.setItem(i,wt.write(mr)),mr;if(!An&&Le){const ai=wt.read(gi);return my(Le)?Le(ai,mr):Ur==="object"&&!Array.isArray(ai)?Pf(Pf({},mr),ai):ai}else return typeof gi!="string"?gi:wt.read(gi)}catch(gi){Ft(gi)}finally{Wt()}}}function Vn(An){An&&An.key!==i||(Qt.value=an(An))}}function mm(i){return Ry("(prefers-color-scheme: dark)",i)}var Vy=Object.defineProperty,Nf=Object.getOwnPropertySymbols,Gy=Object.prototype.hasOwnProperty,Xy=Object.prototype.propertyIsEnumerable,Bf=(i,c,l)=>c in i?Vy(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,Jy=(i,c)=>{for(var l in c||(c={}))Gy.call(c,l)&&Bf(i,l,c[l]);if(Nf)for(var l of Nf(c))Xy.call(c,l)&&Bf(i,l,c[l]);return i};function Ky(i={}){const{selector:c="html",attribute:l="class",initialValue:f="auto",window:v=Ml,storage:B,storageKey:Y="vueuse-color-scheme",listenToStorageChanges:he=!0,storageRef:xe,emitAuto:Le}=i,je=Jy({auto:"",light:"light",dark:"dark"},i.modes||{}),it=mm({window:v}),xt=Ks(()=>it.value?"dark":"light"),Ft=xe||(Y==null?Pa(f):dm(Y,f,B,{window:v,listenToStorageChanges:he})),Qt=Ks({get(){return Ft.value==="auto"&&!Le?xt.value:Ft.value},set(jt){Ft.value=jt}}),mr=fm("updateHTMLAttrs",(jt,Wt,Ar)=>{const an=v==null?void 0:v.document.querySelector(jt);if(!!an)if(Wt==="class"){const Vn=Ar.split(/\s/g);Object.values(je).flatMap(An=>(An||"").split(/\s/g)).filter(Boolean).forEach(An=>{Vn.includes(An)?an.classList.add(An):an.classList.remove(An)})}else an.setAttribute(Wt,Ar)});function Ur(jt){var Wt;const Ar=jt==="auto"?xt.value:jt;mr(c,l,(Wt=je[Ar])!=null?Wt:Ar)}function wt(jt){i.onChanged?i.onChanged(jt,Ur):Ur(jt)}return Ga(Qt,wt,{flush:"post",immediate:!0}),Le&&Ga(xt,()=>wt(Qt.value),{flush:"post"}),lm(()=>wt(Qt.value)),Qt}var Qy=Object.defineProperty,Yy=Object.defineProperties,Zy=Object.getOwnPropertyDescriptors,_f=Object.getOwnPropertySymbols,eD=Object.prototype.hasOwnProperty,tD=Object.prototype.propertyIsEnumerable,If=(i,c,l)=>c in i?Qy(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,rD=(i,c)=>{for(var l in c||(c={}))eD.call(c,l)&&If(i,l,c[l]);if(_f)for(var l of _f(c))tD.call(c,l)&&If(i,l,c[l]);return i},nD=(i,c)=>Yy(i,Zy(c));function iD(i={}){const{valueDark:c="dark",valueLight:l="",window:f=Ml}=i,v=Ky(nD(rD({},i),{onChanged:(he,xe)=>{var Le;i.onChanged?(Le=i.onChanged)==null||Le.call(i,he==="dark"):xe(he)},modes:{dark:c,light:l}})),B=mm({window:f});return Ks({get(){return v.value==="dark"},set(he){he===B.value?v.value="auto":v.value=he?"dark":"light"}})}var Of=Object.getOwnPropertySymbols,sD=Object.prototype.hasOwnProperty,aD=Object.prototype.propertyIsEnumerable,oD=(i,c)=>{var l={};for(var f in i)sD.call(i,f)&&c.indexOf(f)<0&&(l[f]=i[f]);if(i!=null&&Of)for(var f of Of(i))c.indexOf(f)<0&&aD.call(i,f)&&(l[f]=i[f]);return l};function uD(i,c,l={}){const f=l,{window:v=Ml}=f,B=oD(f,["window"]);let Y;const he=hm(()=>v&&"ResizeObserver"in v),xe=()=>{Y&&(Y.disconnect(),Y=void 0)},Le=Ga(()=>Uh(i),it=>{xe(),he.value&&v&&it&&(Y=new ResizeObserver(c),Y.observe(it,B))},{immediate:!0,flush:"post"}),je=()=>{xe(),Le()};return Up(je),{isSupported:he,stop:je}}var lD=Object.defineProperty,cD=Object.defineProperties,pD=Object.getOwnPropertyDescriptors,Lf=Object.getOwnPropertySymbols,hD=Object.prototype.hasOwnProperty,fD=Object.prototype.propertyIsEnumerable,Mf=(i,c,l)=>c in i?lD(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,Vo=(i,c)=>{for(var l in c||(c={}))hD.call(c,l)&&Mf(i,l,c[l]);if(Lf)for(var l of Lf(c))fD.call(c,l)&&Mf(i,l,c[l]);return i},Oc=(i,c)=>cD(i,pD(c));const dD={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function jf(i){return xy(i,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Qp(i){return typeof Headers<"u"&&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 Y={method:"GET",type:"text",payload:void 0};c.length>0&&(jf(c[0])?B=Vo(Vo({},B),c[0]):v=c[0]),c.length>1&&jf(c[1])&&(B=Vo(Vo({},B),c[1]));const{fetch:he=(l=Ml)==null?void 0:l.fetch,initialData:xe,timeout:Le}=B,je=$c(),it=$c(),xt=$c(),Ft=Pa(!1),Qt=Pa(!1),mr=Pa(!1),Ur=Pa(null),wt=Rc(null),jt=Rc(null),Wt=Rc(xe),Ar=Ks(()=>f&&Qt.value);let an,Vn;const An=()=>{f&&an&&an.abort()},gi=we=>{Qt.value=we,Ft.value=!we};Le&&(Vn=wy(An,Le,{immediate:!1}));const ai=async(we=!1)=>{var rn;gi(!0),jt.value=null,Ur.value=null,mr.value=!1,an=void 0,f&&(an=new AbortController,an.signal.onabort=()=>mr.value=!0,v=Oc(Vo({},v),{signal:an.signal}));const ur={method:Y.method,headers:{}};if(Y.payload){const ys=Qp(ur.headers);Y.payloadType&&(ys["Content-Type"]=(rn=dD[Y.payloadType])!=null?rn:Y.payloadType);const Ns=_o(Y.payload);ur.body=Y.payloadType==="json"?JSON.stringify(Ns):Ns}let Sn=!1;const Kn={url:_o(i),options:Vo(Vo({},ur),v),cancel:()=>{Sn=!0}};if(B.beforeFetch&&Object.assign(Kn,await B.beforeFetch(Kn)),Sn||!he)return gi(!1),Promise.resolve(null);let Yi=null;return Vn&&Vn.start(),new Promise((ys,Ns)=>{var cs;he(Kn.url,Oc(Vo(Vo({},ur),Kn.options),{headers:Vo(Vo({},Qp(ur.headers)),Qp((cs=Kn.options)==null?void 0:cs.headers))})).then(async ts=>{if(wt.value=ts,Ur.value=ts.status,Yi=await ts[Y.type](),B.afterFetch&&Ur.value>=200&&Ur.value<300&&({data:Yi}=await B.afterFetch({data:Yi,response:ts})),Wt.value=Yi,!ts.ok)throw new Error(ts.statusText);return je.trigger(ts),ys(ts)}).catch(async ts=>{let _r=ts.message||ts.name;return B.onFetchError&&({data:Yi,error:_r}=await B.onFetchError({data:Yi,error:ts,response:wt.value})),Wt.value=Yi,jt.value=_r,it.trigger(ts),we?Ns(ts):ys(null)}).finally(()=>{gi(!1),Vn&&Vn.stop(),xt.trigger(null)})})},$n=Kp(B.refetch);Ga([$n,Kp(i)],([we])=>we&&ai(),{deep:!0});const Mn={isFinished:Ft,statusCode:Ur,response:wt,error:jt,data:Wt,isFetching:Qt,canAbort:Ar,aborted:mr,abort:An,execute:ai,onFetchResponse:je.on,onFetchError:it.on,onFetchFinally:xt.on,get:yi("GET"),put:yi("PUT"),post:yi("POST"),delete:yi("DELETE"),patch:yi("PATCH"),head:yi("HEAD"),options:yi("OPTIONS"),json:Tn("json"),text:Tn("text"),blob:Tn("blob"),arrayBuffer:Tn("arrayBuffer"),formData:Tn("formData")};function yi(we){return(rn,ur)=>{if(!Qt.value){Y.method=we,Y.payload=rn,Y.payloadType=ur,ka(Y.payload)&&Ga([$n,Kp(Y.payload)],([Kn])=>Kn&&ai(),{deep:!0});const Sn=_o(Y.payload);return!ur&&Sn&&Object.getPrototypeOf(Sn)===Object.prototype&&(Y.payloadType="json"),Oc(Vo({},Mn),{then(Kn,Yi){return Cr().then(Kn,Yi)}})}}}function Cr(){return new Promise((we,rn)=>{Ay(Ft).toBe(!0).then(()=>we(Mn)).catch(ur=>rn(ur))})}function Tn(we){return()=>{if(!Qt.value)return Y.type=we,Oc(Vo({},Mn),{then(rn,ur){return Cr().then(rn,ur)}})}}return B.immediate&&setTimeout(ai,0),Oc(Vo({},Mn),{then(we,rn){return Cr().then(we,rn)}})}function fx(i,c,l={}){const{window:f=Ml}=l;return dm(i,c,f==null?void 0:f.localStorage,l)}var Rf;(function(i){i.UP="UP",i.RIGHT="RIGHT",i.DOWN="DOWN",i.LEFT="LEFT",i.NONE="NONE"})(Rf||(Rf={}));var mD=Object.defineProperty,Uf=Object.getOwnPropertySymbols,gD=Object.prototype.hasOwnProperty,yD=Object.prototype.propertyIsEnumerable,zf=(i,c,l)=>c in i?mD(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,DD=(i,c)=>{for(var l in c||(c={}))gD.call(c,l)&&zf(i,l,c[l]);if(Uf)for(var l of Uf(c))yD.call(c,l)&&zf(i,l,c[l]);return i};const vD={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};DD({linear:vy},vD);function xD(i,c,l,f={}){var v,B,Y;const{passive:he=!1,eventName:xe,deep:Le=!1,defaultValue:je}=f,it=jh(),xt=l||(it==null?void 0:it.emit)||((v=it==null?void 0:it.$emit)==null?void 0:v.bind(it))||((Y=(B=it==null?void 0:it.proxy)==null?void 0:B.$emit)==null?void 0:Y.bind(it==null?void 0:it.proxy));let Ft=xe;c||(c="modelValue"),Ft=xe||Ft||`update:${c.toString()}`;const Qt=()=>dy(i[c])?i[c]:je;if(he){const mr=Pa(Qt());return Ga(()=>i[c],Ur=>mr.value=Ur),Ga(mr,Ur=>{(Ur!==i[c]||Le)&&xt(Ft,Ur)},{deep:Le}),mr}else return Ks({get(){return Qt()},set(mr){xt(Ft,mr)}})}function CD(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 Hf=CD,ED=/^\[(.+?)~?="(.*)"\]$/,bD=/(?!\d|-{2}|-\d)[a-zA-Z0-9\u00A0-\uFFFF-_:%-?]/;function AD(i){return i.match(ED)}function dx(i=""){return bD.test(i)}function wD(i,c){const l=[],f=[],v=new Set;Array.from(c).forEach(Y=>{const he=AD(Y);he?he[2]?f.push(he):v.add(he[1]):v.add(Y)});let B=0;return i.split(/[\s"'`;<>]/g).forEach(Y=>{const he=B+Y.length;v.has(Y)&&l.push([B,he,Y]),B=he+1}),f.forEach(([,Y,he])=>{const xe=new RegExp(`(${Hf(Y)}=)(['"])[^\\2]*?${Hf(he)}[^\\2]*?\\2`,"g");Array.from(i.matchAll(xe)).forEach(Le=>{const je=Le[1],xt=Le[0].slice(je.length).indexOf(he);if(xt<0)return;const Ft=Le.index+je.length+xt,Qt=Ft+he.length;l.push([Ft,Qt,`[${Y}="${he}"]`])})}),l}var jl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hp(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Ul={exports:{}};(function(i,c){(function(l,f){i.exports=f()})(jl,function(){var l=navigator.userAgent,f=navigator.platform,v=/gecko\/\d/i.test(l),B=/MSIE \d/.test(l),Y=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(l),he=/Edge\/(\d+)/.exec(l),xe=B||Y||he,Le=xe&&(B?document.documentMode||6:+(he||Y)[1]),je=!he&&/WebKit\//.test(l),it=je&&/Qt\/\d+\.\d+/.test(l),xt=!he&&/Chrome\/(\d+)/.exec(l),Ft=xt&&+xt[1],Qt=/Opera\//.test(l),mr=/Apple Computer/.test(navigator.vendor),Ur=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(l),wt=/PhantomJS/.test(l),jt=mr&&(/Mobile\/\w+/.test(l)||navigator.maxTouchPoints>2),Wt=/Android/.test(l),Ar=jt||Wt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(l),an=jt||/Mac/.test(f),Vn=/\bCrOS\b/.test(l),An=/win/i.test(f),gi=Qt&&l.match(/Version\/(\d*\.\d*)/);gi&&(gi=Number(gi[1])),gi&&gi>=15&&(Qt=!1,je=!0);var ai=an&&(it||Qt&&(gi==null||gi<12.11)),$n=v||xe&&Le>=9;function Mn(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var yi=function(e,r){var o=e.className,a=Mn(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 Cr(e){for(var r=e.childNodes.length;r>0;--r)e.removeChild(e.firstChild);return e}function Tn(e,r){return Cr(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 rn(e,r,o,a){var s=we(e,r,o,a);return s.setAttribute("role","presentation"),s}var ur;document.createRange?ur=function(e,r,o,a){var s=document.createRange();return s.setEnd(a||e,o),s.setStart(e,r),s}:ur=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 Sn(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 Kn(){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 Yi(e,r){var o=e.className;Mn(r).test(o)||(e.className+=(o?" ":"")+r)}function ys(e,r){for(var o=e.split(" "),a=0;a<o.length;a++)o[a]&&!Mn(o[a]).test(r)&&(r+=" "+o[a]);return r}var Ns=function(e){e.select()};jt?Ns=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:xe&&(Ns=function(e){try{e.select()}catch{}});function cs(e){var r=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,r)}}function ts(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 _r(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=cs(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 yr(e,r){for(var o=0;o<e.length;++o)if(e[o]==r)return o;return-1}var dn=50,oi={toString:function(){return"CodeMirror.Pass"}},Jn={scroll:!1},Un={origin:"*mouse"},li={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 Er(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&&ts(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 br(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 Di(e){return e.charCodeAt(0)>=768&&jn.test(e)}function ns(e,r,o){for(;(o<0?r>0:r<e.length)&&Di(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 ls(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 zi=null;function Ls(e,r,o){var a;zi=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:zi=s),h.from==r&&(h.from!=h.to&&o!="before"?a=s:zi=s)}return a!=null?a:zi}var qn=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 Pt=H.length,Ye=[],or=0;or<Pt;++or)Ye.push(o(H.charCodeAt(or)));for(var $t=0,xr=Fe;$t<Pt;++$t){var Xr=Ye[$t];Xr=="m"?Ye[$t]=xr:xr=Xr}for(var pr=0,kr=Fe;pr<Pt;++pr){var Zr=Ye[pr];Zr=="1"&&kr=="r"?Ye[pr]="n":h.test(Zr)&&(kr=Zr,Zr=="r"&&(Ye[pr]="R"))}for(var ft=1,Pn=Ye[0];ft<Pt-1;++ft){var Hn=Ye[ft];Hn=="+"&&Pn=="1"&&Ye[ft+1]=="1"?Ye[ft]="1":Hn==","&&Pn==Ye[ft+1]&&(Pn=="1"||Pn=="n")&&(Ye[ft]=Pn),Pn=Hn}for(var wi=0;wi<Pt;++wi){var Bs=Ye[wi];if(Bs==",")Ye[wi]="N";else if(Bs=="%"){var fs=void 0;for(fs=wi+1;fs<Pt&&Ye[fs]=="%";++fs);for(var pa=wi&&Ye[wi-1]=="!"||fs<Pt&&Ye[fs]=="1"?"1":"N",Be=wi;Be<fs;++Be)Ye[Be]=pa;wi=fs-1}}for(var er=0,wn=Fe;er<Pt;++er){var Ni=Ye[er];wn=="L"&&Ni=="1"?Ye[er]="L":h.test(Ni)&&(wn=Ni)}for(var Ii=0;Ii<Pt;++Ii)if(s.test(Ye[Ii])){var ds=void 0;for(ds=Ii+1;ds<Pt&&s.test(Ye[ds]);++ds);for(var bs=(Ii?Ye[Ii-1]:Fe)=="L",_s=(ds<Pt?Ye[ds]:Fe)=="L",Hi=bs==_s?bs?"L":"R":Fe,Xi=Ii;Xi<ds;++Xi)Ye[Xi]=Hi;Ii=ds-1}for(var wa=[],Bu,Fa=0;Fa<Pt;)if(d.test(Ye[Fa])){var hc=Fa;for(++Fa;Fa<Pt&&d.test(Ye[Fa]);++Fa);wa.push(new M(0,hc,Fa))}else{var _u=Fa,Nl=wa.length,yl=Ne=="rtl"?1:0;for(++Fa;Fa<Pt&&Ye[Fa]!="L";++Fa);for(var Va=_u;Va<Fa;)if(F.test(Ye[Va])){_u<Va&&(wa.splice(Nl,0,new M(1,_u,Va)),Nl+=yl);var fc=Va;for(++Va;Va<Fa&&F.test(Ye[Va]);++Va);wa.splice(Nl,0,new M(2,fc,Va)),Nl+=yl,_u=Va}else++Va;_u<Fa&&wa.splice(Nl,0,new M(1,_u,Fa))}return Ne=="ltr"&&(wa[0].level==1&&(Bu=H.match(/^\s+/))&&(wa[0].from=Bu[0].length,wa.unshift(new M(0,0,Bu[0].length))),sr(wa).level==1&&(Bu=H.match(/\s+$/))&&(sr(wa).to-=Bu[0].length,wa.push(new M(0,Pt-Bu[0].length,Pt)))),Ne=="rtl"?wa.reverse():wa}}();function Fr(e,r){var o=e.order;return o==null&&(o=e.order=qn(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 lr(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=yr(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 Qn(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)yr(o,r[a])==-1&&o.push(r[a])}function wr(e,r){return Vr(e,r).length>0}function Nt(e){e.prototype.on=function(r,o){Gt(this,r,o)},e.prototype.off=function(r,o){lr(this,r,o)}}function Ue(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Bt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Xt(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function tr(e){Ue(e),Bt(e)}function Rr(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)),an&&e.ctrlKey&&r==1&&(r=3),r}var Rt=function(){if(xe&&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");Tn(e,we("span",[r,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Ie=r.offsetWidth<=1&&r.offsetHeight>2&&!(xe&&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 de;function be(e){if(de!=null)return de;var r=Tn(e,document.createTextNode("A\u062EA")),o=ur(r,0,1).getBoundingClientRect(),a=ur(r,1,2).getBoundingClientRect();return Cr(e),!o||o.left==o.right?!1:de=a.right-o.right<3}var Ee=`
|
|
|
|
b`.split(/\n/).length!=3?function(e){for(var r=0,o=[],a=e.length;r<=a;){var s=e.indexOf(`
|
|
`,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 yt(e){if(st!=null)return st;var r=Tn(e,we("span","x")),o=r.getBoundingClientRect(),a=ur(r,0,1).getBoundingClientRect();return st=Math.abs(o.left-a.left)>1}var Vt={},nr={};function Tr(e,r){arguments.length>2&&(r.dependencies=Array.prototype.slice.call(arguments,2)),Vt[e]=r}function zr(e,r){nr[e]=r}function Yr(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 Yr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Yr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function tn(e,r){r=Yr(r);var o=Vt[r.name];if(!o)return tn(e,"text/plain");var a=o(e,r);if(Pr.hasOwnProperty(r.name)){var s=Pr[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 Pr={};function kn(e,r){var o=Pr.hasOwnProperty(e)?Pr[e]:Pr[e]={};ts(r,o)}function pi(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 Ji(e,r,o){return e.startState?e.startState(r,o):!0}var vi=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};vi.prototype.eol=function(){return this.pos>=this.string.length},vi.prototype.sol=function(){return this.pos==this.lineStart},vi.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},vi.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},vi.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},vi.prototype.eatWhile=function(e){for(var r=this.pos;this.eat(e););return this.pos>r},vi.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},vi.prototype.skipToEnd=function(){this.pos=this.string.length},vi.prototype.skipTo=function(e){var r=this.string.indexOf(e,this.pos);if(r>-1)return this.pos=r,!0},vi.prototype.backUp=function(e){this.pos-=e},vi.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=_r(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?_r(this.string,this.lineStart,this.tabSize):0)},vi.prototype.indentation=function(){return _r(this.string,null,this.tabSize)-(this.lineStart?_r(this.string,this.lineStart,this.tabSize):0)},vi.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)}},vi.prototype.current=function(){return this.string.slice(this.start,this.pos)},vi.prototype.hideFirstChars=function(e,r){this.lineStart+=e;try{return r()}finally{this.lineStart-=e}},vi.prototype.lookAhead=function(e){var r=this.lineOracle;return r&&r.lookAhead(e)},vi.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 Ds(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 xi(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=yr(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 sn(e){return S(e.line,e.ch)}function ci(e,r){return Je(e,r)<0?r:e}function ss(e,r){return Je(e,r)<0?e:r}function Zi(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 Jo(e,r){for(var o=[],a=0;a<r.length;a++)o[a]=ni(e,r[a]);return o}var Oo=function(e,r){this.state=e,this.lookAhead=r},ja=function(e,r,o,a){this.state=r,this.doc=e,this.line=o,this.maxLookAhead=a||0,this.baseTokens=null,this.baseTokenPos=1};ja.prototype.lookAhead=function(e){var r=this.doc.getLine(this.line+e);return r!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),r},ja.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}},ja.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ja.fromSaved=function(e,r,o){return r instanceof Oo?new ja(e,pi(e.mode,r.state),o,r.lookAhead):new ja(e,pi(e.mode,r),o)},ja.prototype.save=function(e){var r=e!==!1?pi(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Oo(r,this.maxLookAhead):r};function mu(e,r,o,a){var s=[e.state.modeGen],h={};vu(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,Pt=0;o.state=!0,vu(e,r.text,Ne.mode,o,function(Ye,or){for(var $t=Fe;Pt<Ye;){var xr=s[Fe];xr>Ye&&s.splice(Fe,1,Ye,s[Fe+1],xr),Fe+=2,Pt=Math.min(Ye,xr)}if(!!or)if(Ne.opaque)s.splice($t,Fe-$t,Ye,"overlay "+or),Fe=$t+2;else for(;$t<Fe;$t+=2){var Xr=s[$t+1];s[$t+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 gu(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&&pi(e.doc.mode,a.state),h=mu(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 ja(a,!0,r);var h=Ti(e,r,o),d=h>a.first&&Xe(a,h-1).stateAfter,F=d?ja.fromSaved(a,d,h):new ja(a,Ji(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 vi(r,e.options.tabSize,o);for(h.start=h.pos=a||0,r==""&&Ko(s,o.state);!h.eol();)yu(s,h,o.state),h.start=h.pos}function Ko(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 yu(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 Du=function(e,r,o){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=r||null,this.state=o};function Qo(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 vi(F.text,e.options.tabSize,M),Ne;for(a&&(Ne=[]);(a||H.pos<r.ch)&&!H.eol();)H.start=H.pos,d=yu(h,H,M.state),a&&Ne.push(new Du(H,d,pi(s.mode,M.state)));return a?Ne:new Du(H,d,M.state)}function Iu(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 vu(e,r,o,a,s,h,d){var F=o.flattenSpans;F==null&&(F=e.options.flattenSpans);var M=0,H=null,Ne=new vi(r,e.options.tabSize,a),Fe,Pt=e.options.addModeClass&&[null];for(r==""&&Iu(Ko(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=Iu(yu(o,Ne,a.state,Pt),h),Pt){var Ye=Pt[0].name;Ye&&(Fe="m-"+(Fe?Ye+" "+Fe:Ye))}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 Ti(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 Oo?H.lookAhead:0)<=h.modeFrontier))return F;var Ne=_r(M.text,null,e.options.tabSize);(s==null||a>Ne)&&(s=F-1,a=Ne)}return s}function Ou(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 Oo)||a+s.lookAhead<r)){o=a+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,o)}}var Lu=!1,Xa=!1;function il(){Lu=!0}function Mu(){Xa=!0}function xu(e,r,o){this.marker=e,this.from=r,this.to=o}function Lo(e,r){if(e)for(var o=0;o<e.length;++o){var a=e[o];if(a.marker==r)return a}}function Ba(e,r){for(var o,a=0;a<e.length;++a)e[a]!=r&&(o||(o=[])).push(e[a]);return o}function sl(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 ju(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 xu(d,h.from,M?null:h.to))}}return a}function al(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 xu(d,M?null:h.from-r,h.to==null?null:h.to-r))}}return a}function Ru(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=ju(o,s,d),M=al(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 Pt=F[Fe];if(Pt.to==null){var Ye=Lo(M,Pt.marker);Ye?H&&(Pt.to=Ye.to==null?null:Ye.to+Ne):Pt.to=s}}if(M)for(var or=0;or<M.length;++or){var $t=M[or];if($t.to!=null&&($t.to+=Ne),$t.from==null){var xr=Lo(F,$t.marker);xr||($t.from=Ne,H&&(F||(F=[])).push($t))}else $t.from+=Ne,H&&(F||(F=[])).push($t)}F&&(F=ol(F)),M&&M!=F&&(M=ol(M));var Xr=[F];if(!H){var pr=r.text.length-2,kr;if(pr>0&&F)for(var Zr=0;Zr<F.length;++Zr)F[Zr].to==null&&(kr||(kr=[])).push(new xu(F[Zr].marker,null,null));for(var ft=0;ft<pr;++ft)Xr.push(kr);Xr.push(M)}return Xr}function ol(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 Cu(e,r,o){var a=null;if(e.iter(r.line,o.line+1,function(Ye){if(Ye.markedSpans)for(var or=0;or<Ye.markedSpans.length;++or){var $t=Ye.markedSpans[or].marker;$t.readOnly&&(!a||yr(a,$t)==-1)&&(a||(a=[])).push($t)}}),!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),Pt=Je(H.to,F.to);(Fe<0||!d.inclusiveLeft&&!Fe)&&Ne.push({from:H.from,to:F.from}),(Pt>0||!d.inclusiveRight&&!Pt)&&Ne.push({from:F.to,to:H.to}),s.splice.apply(s,Ne),M+=Ne.length-3}}return s}function _a(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 Ja(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 Ia(e,r){var o=Xa&&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||Ja(a,s.marker)<0)&&(a=s.marker);return a}function Yo(e){return Ia(e,!0)}function Mo(e){return Ia(e,!1)}function Ki(e,r){var o=Xa&&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||Ja(a,h.marker)<0)&&(a=h.marker)}return a}function Eu(e,r,o,a,s){var h=Xe(e,r),d=Xa&&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 Zo(e){for(var r;r=Mo(e);)e=r.find(1,!0).line;return e}function bu(e){for(var r,o;r=Mo(e);)e=r.find(1,!0).line,(o||(o=[])).push(e);return o}function Co(e,r){var o=Xe(e,r),a=Sa(o);return o==a?r:ti(a)}function eu(e,r){if(r>e.lastLine())return r;var o=Xe(e,r),a;if(!Ra(e,o))return r;for(;a=Mo(o);)o=a.find(1,!0).line;return ti(o)+1}function Ra(e,r){var o=Xa&&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,Lo(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 Wn(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=Mo(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 vn(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 nn=function(e,r,o){this.text=e,Ws(this,r),this.height=o?o(this):1};nn.prototype.lineNo=function(){return ti(this)},Nt(nn);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),_a(e),Ws(e,o);var s=a?a(e):1;s!=e.height&&xi(e,s)}function ri(e){e.parent=null,_a(e)}var ii={},ei={};function Ci(e,r){if(!e||/^\s*$/.test(e))return null;var o=r.addModeClass?ei:ii;return o[e]||(o[e]=e.replace(/\S+/g,"cm-$&"))}function qi(e,r){var o=rn("span",null,null,je?"padding-right: .1px":null),a={pre:rn("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,be(e.display.measure)&&(d=Fr(h,e.doc.direction))&&(a.addToken=as(a.addToken,d)),a.map=[];var F=r!=e.display.externalMeasured&&ti(h);ws(h,a,gu(e,h,F)),h.styleClasses&&(h.styleClasses.bgClass&&(a.bgClass=ys(h.styleClasses.bgClass,a.bgClass||"")),h.styleClasses.textClass&&(a.textClass=ys(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(je){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=ys(a.pre.className,a.textClass||"")),a}function Qi(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?Mi(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),xe&&Le<9&&(H=!0),e.pos+=r.length;else{Ne=document.createDocumentFragment();for(var Fe=0;;){M.lastIndex=Fe;var Pt=M.exec(r),Ye=Pt?Pt.index-Fe:r.length-Fe;if(Ye){var or=document.createTextNode(F.slice(Fe,Fe+Ye));xe&&Le<9?Ne.appendChild(we("span",[or])):Ne.appendChild(or),e.map.push(e.pos,e.pos+Ye,or),e.col+=Ye,e.pos+=Ye}if(!Pt)break;Fe+=Ye+1;var $t=void 0;if(Pt[0]==" "){var xr=e.cm.options.tabSize,Xr=xr-e.col%xr;$t=Ne.appendChild(we("span",Er(Xr),"cm-tab")),$t.setAttribute("role","presentation"),$t.setAttribute("cm-text"," "),e.col+=Xr}else Pt[0]=="\r"||Pt[0]==`
|
|
`?($t=Ne.appendChild(we("span",Pt[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),$t.setAttribute("cm-text",Pt[0]),e.col+=1):($t=e.cm.options.specialCharPlaceholder(Pt[0]),$t.setAttribute("cm-text",Pt[0]),xe&&Le<9?Ne.appendChild(we("span",[$t])):Ne.appendChild($t),e.col+=1);e.map.push(e.pos,e.pos+1,$t),e.pos++}}if(e.trailingSpace=F.charCodeAt(r.length-1)==32,o||a||s||H||h||d){var pr=o||"";a&&(pr+=a),s&&(pr+=s);var kr=we("span",[Ne],pr,h);if(d)for(var Zr in d)d.hasOwnProperty(Zr)&&Zr!="style"&&Zr!="class"&&kr.setAttribute(Zr,d[Zr]);return e.content.appendChild(kr)}e.content.appendChild(Ne)}}function Mi(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,Pt=0;Pt<r.length&&(Fe=r[Pt],!(Fe.to>H&&Fe.from<=H));Pt++);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 ji(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 ws(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]),Ci(o[d+1],r.cm.options));return}for(var F=s.length,M=0,H=1,Ne="",Fe,Pt,Ye=0,or,$t,xr,Xr,pr;;){if(Ye==M){or=$t=xr=Pt="",pr=null,Xr=null,Ye=1/0;for(var kr=[],Zr=void 0,ft=0;ft<a.length;++ft){var Pn=a[ft],Hn=Pn.marker;if(Hn.type=="bookmark"&&Pn.from==M&&Hn.widgetNode)kr.push(Hn);else if(Pn.from<=M&&(Pn.to==null||Pn.to>M||Hn.collapsed&&Pn.to==M&&Pn.from==M)){if(Pn.to!=null&&Pn.to!=M&&Ye>Pn.to&&(Ye=Pn.to,$t=""),Hn.className&&(or+=" "+Hn.className),Hn.css&&(Pt=(Pt?Pt+";":"")+Hn.css),Hn.startStyle&&Pn.from==M&&(xr+=" "+Hn.startStyle),Hn.endStyle&&Pn.to==Ye&&(Zr||(Zr=[])).push(Hn.endStyle,Pn.to),Hn.title&&((pr||(pr={})).title=Hn.title),Hn.attributes)for(var wi in Hn.attributes)(pr||(pr={}))[wi]=Hn.attributes[wi];Hn.collapsed&&(!Xr||Ja(Xr.marker,Hn)<0)&&(Xr=Pn)}else Pn.from>M&&Ye>Pn.from&&(Ye=Pn.from)}if(Zr)for(var Bs=0;Bs<Zr.length;Bs+=2)Zr[Bs+1]==Ye&&($t+=" "+Zr[Bs]);if(!Xr||Xr.from==M)for(var fs=0;fs<kr.length;++fs)ji(r,0,kr[fs]);if(Xr&&(Xr.from||0)==M){if(ji(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 pa=Math.min(F,Ye);;){if(Ne){var Be=M+Ne.length;if(!Xr){var er=Be>pa?Ne.slice(0,pa-M):Ne;r.addToken(r,er,Fe?Fe+or:or,xr,M+er.length==Ye?$t:"",Pt,pr)}if(Be>=pa){Ne=Ne.slice(pa-M),M=pa;break}M=Be,xr=""}Ne=s.slice(h,h=o[H++]),Fe=Ci(o[H++],r.cm.options)}}}function da(e,r,o){this.line=r,this.rest=bu(r),this.size=this.rest?ti(sr(this.rest))-o+1:1,this.node=this.text=null,this.hidden=Ra(e,r)}function Gi(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 Oi=null;function dt(e){Oi?Oi.ops.push(e):e.ownsGroup=Oi={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 Oa(e,r){var o=e.ownsGroup;if(!!o)try{Xs(o)}finally{Oi=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;Oi?s=Oi.delayedCallbacks:Is?s=Is:(s=Is=[],setTimeout(ra,0));for(var h=function(F){s.push(function(){return o[F].apply(null,a)})},d=0;d<o.length;++d)h(d)}}function ra(){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"?Dt(e,r):h=="gutter"?Kt(e,r,o,a):h=="class"?Tt(e,r):h=="widget"&&ut(e,r,a)}r.changes=null}function Si(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),xe&&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=Si(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):qi(e,r)}function Dt(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,Tt(e,r)):o&&(r.text.className=o)}function Tt(e,r){ie(e,r),r.line.wrapClass?Si(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=Si(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=Si(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=Mn("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 vt(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),Tt(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=Si(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"),Nn(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 Nn(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(!Sn(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;"),Tn(r.display.measure,we("div",[e.node],null,o))}return e.height=e.node.parentNode.offsetHeight}function _t(e,r){for(var o=Rr(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=Tn(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 Or(e){return e.display.scroller.clientWidth-qr(e)-e.display.barWidth}function Bn(e){return e.display.scroller.clientHeight-qr(e)-e.display.barHeight}function _n(e,r,o){var a=e.options.lineWrapping,s=a&&Or(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 On(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=qi(e,a);return a.text=s.pre,Tn(e.display.lineMeasure,s.pre),a}function ps(e,r,o,a){return Fi(e,Ei(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 Ei(e,r){var o=ti(r),a=cn(e,o);a&&!a.text?a=null:a&&a.changes&&(ms(e,a,o,Ua(e)),e.curOp.forceUpdate=!0),a||(a=Ui(e,r));var s=On(a,r,o);return{line:r,view:a,rect:null,map:s.map,cache:s.cache,before:s.before,hasHeights:!1}}function Fi(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||(_n(e,r.view,r.rect),r.hasHeights=!0),d=mt(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 vs(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 mt(e,r,o,a){var s=vs(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&&Di(r.line.text.charAt(s.coverStart+d));)--d;for(;s.coverStart+F<s.coverEnd&&Di(r.line.text.charAt(s.coverStart+F));)++F;if(xe&&Le<9&&d==0&&F==s.coverEnd-s.coverStart?H=h.parentNode.getBoundingClientRect():H=Ke(ur(h,d,F).getClientRects(),a),H.left||H.right||d==0)break;F=d,d=d-1,M="right"}xe&&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(xe&&Le<9&&!d&&(!H||!H.left&&!H.right)){var Pt=h.parentNode.getClientRects()[0];Pt?H={left:Pt.left,right:Pt.left+Qa(e.display),top:Pt.top,bottom:Pt.bottom}:H=os}for(var Ye=H.top-r.rect.top,or=H.bottom-r.rect.top,$t=(Ye+or)/2,xr=r.view.measure.heights,Xr=0;Xr<xr.length-1&&!($t<xr[Xr]);Xr++);var pr=Xr?xr[Xr-1]:0,kr=xr[Xr],Zr={left:(M=="right"?H.right:H.left)-r.rect.left,right:(M=="left"?H.left:H.right)-r.rect.left,top:pr,bottom:kr};return!H.left&&!H.right&&(Zr.bogus=!0),e.options.singleCursorHeightPerLine||(Zr.rtop=Ye,Zr.rbottom=or),Zr}function Hr(e,r){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!yt(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 hr(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,Cr(e.display.lineMeasure);for(var r=0;r<e.display.view.length;r++)hr(e.display.view[r])}function $i(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 xs(){return xt&&Wt?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Us(){return xt&&Wt?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function zs(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=zs(r);o.top+=h,o.bottom+=h}if(a=="line")return o;a||(a="local");var d=Wn(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:Us());var M=F.left+(a=="window"?0:xs());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-=xs(),s-=Us();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 Ts(e,r,o,a,s){return a||(a=Xe(e.doc,r.line)),ha(e,a,ps(e,a,r.ch,s),o)}function Ss(e,r,o,a,s,h){a=a||Xe(e.doc,r.line),s||(s=Ei(e,a));function d(or,$t){var xr=Fi(e,s,or,$t?"right":"left",h);return $t?xr.left=xr.right:xr.right=xr.left,ha(e,a,xr,o)}var F=Fr(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,$t,xr){var Xr=F[$t],pr=Xr.level==1;return d(xr?or-1:or,pr!=xr)}var Fe=Ls(F,M,H),Pt=zi,Ye=Ne(M,Fe,H=="before");return Pt!=null&&(Ye.other=Ne(M,Pt,H!="before")),Ye}function Da(e,r){var o=0;r=ni(e.doc,r),e.options.lineWrapping||(o=Qa(e.display)*r.ch);var a=Xe(e.doc,r.line),s=Wn(a)+ir(e.display);return{left:o,right:o,top:s,bottom:s+a.height}}function bn(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 bn(a.first,0,null,-1,-1);var s=Gn(a,o),h=a.first+a.size-1;if(s>h)return bn(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=Ps(e,d,s,r,o),M=Ki(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 hi(e,r,o,a){a-=zs(r);var s=r.text.length,h=is(function(d){return Fi(e,o,d-1).bottom<=a},s,0);return s=is(function(d){return Fi(e,o,d).top>a},h,s),{begin:h,end:s}}function fi(e,r,o,a){o||(o=Ei(e,r));var s=ha(e,r,Fi(e,o,a),"line").top;return hi(e,r,o,s)}function Bi(e,r,o,a){return e.bottom<=o?!1:e.top>o?!0:(a?e.left:e.right)>r}function Ps(e,r,o,a,s){s-=Wn(r);var h=Ei(e,r),d=zs(r),F=0,M=r.text.length,H=!0,Ne=Fr(r,e.doc.direction);if(Ne){var Fe=(e.options.lineWrapping?Qs:Fs)(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 Pt=null,Ye=null,or=is(function(ft){var Pn=Fi(e,h,ft);return Pn.top+=d,Pn.bottom+=d,Bi(Pn,a,s,!1)?(Pn.top<=s&&Pn.left<=a&&(Pt=ft,Ye=Pn),!0):!1},F,M),$t,xr,Xr=!1;if(Ye){var pr=a-Ye.left<Ye.right-a,kr=pr==H;or=Pt+(kr?0:1),xr=kr?"after":"before",$t=pr?Ye.left:Ye.right}else{!H&&(or==M||or==F)&&or++,xr=or==0?"after":or==r.text.length?"before":Fi(e,h,or-(H?1:0)).bottom+d<=s==H?"after":"before";var Zr=Ss(e,S(o,or,xr),"line",r,h);$t=Zr.left,Xr=s<Zr.top?-1:s>=Zr.bottom?1:0}return or=ns(r.text,or,1),bn(o,or,xr,Xr,a-$t)}function Fs(e,r,o,a,s,h,d){var F=is(function(Fe){var Pt=s[Fe],Ye=Pt.level!=1;return Bi(Ss(e,S(o,Ye?Pt.to:Pt.from,Ye?"before":"after"),"line",r,a),h,d,!0)},0,s.length-1),M=s[F];if(F>0){var H=M.level!=1,Ne=Ss(e,S(o,H?M.from:M.to,H?"after":"before"),"line",r,a);Bi(Ne,h,d,!0)&&Ne.top>d&&(M=s[F-1])}return M}function Qs(e,r,o,a,s,h,d){var F=hi(e,r,a,d),M=F.begin,H=F.end;/\s/.test(r.text.charAt(H-1))&&H--;for(var Ne=null,Fe=null,Pt=0;Pt<s.length;Pt++){var Ye=s[Pt];if(!(Ye.from>=H||Ye.to<=M)){var or=Ye.level!=1,$t=Fi(e,a,or?Math.min(H,Ye.to)-1:Math.max(M,Ye.from)).right,xr=$t<h?h-$t+1e9:$t-h;(!Ne||Fe>xr)&&(Ne=Ye,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 la;function Ka(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(la==null){la=we("pre",null,"CodeMirror-line-like");for(var r=0;r<49;++r)la.appendChild(document.createTextNode("x")),la.appendChild(we("br"));la.appendChild(document.createTextNode("x"))}Tn(e.measure,la);var o=la.offsetHeight/50;return o>3&&(e.cachedTextHeight=o),Cr(e.measure),o||1}function Qa(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var r=we("span","xxxxxxxxxx"),o=we("pre",[r],"CodeMirror-line-like");Tn(e.measure,o);var a=r.getBoundingClientRect(),s=(a.right-a.left)/10;return s>2&&(e.cachedCharWidth=s),s||10}function Ua(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:tu(r),gutterTotalWidth:r.gutters.offsetWidth,gutterLeft:o,gutterWidth:a,wrapperWidth:r.wrapper.clientWidth}}function tu(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function ru(e){var r=Ka(e.display),o=e.options.lineWrapping,a=o&&Math.max(5,e.display.scroller.clientWidth/Qa(e.display)-3);return function(s){if(Ra(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 Ca(e){var r=e.doc,o=ru(e);r.iter(function(a){var s=o(a);s!=a.height&&xi(a,s)})}function ma(e,r,o,a){var s=e.display;if(!o&&Rr(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=_r(H,H.length,e.options.tabSize)-H.length;M=S(M.line,Math.max(0,Math.round((h-Nr(e.display).left)/Qa(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 Ea(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)Xa&&Co(e.doc,r)<s.viewTo&&za(e);else if(o<=s.viewFrom)Xa&&eu(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=Eo(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=Eo(e,r,r,-1);d?(s.view=s.view.slice(0,d.index),s.viewTo=d.lineN):za(e)}else{var F=Eo(e,r,r,-1),M=Eo(e,o,o+a,1);F&&M?(s.view=s.view.slice(0,F.index).concat(Gi(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=[]);yr(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 Eo(e,r,o,a){var s=ga(e,r),h,d=e.display.view;if(!Xa||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(;Co(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 Au(e,r,o){var a=e.display,s=a.view;s.length==0||r>=a.viewTo||o<=a.viewFrom?(a.view=Gi(e,r,o),a.viewFrom=r):(a.viewFrom>r?a.view=Gi(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(Gi(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 Uu(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&&jo(e,Ne,s)}else(H||e.options.showCursorWhenSelecting)&&jo(e,M.head,s);H||bo(e,M,h)}}return a}function jo(e,r,o){var a=Ss(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=Ts(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 nu(e,r){return e.top-r.top||e.left-r.left}function bo(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,Or(e)-a.sizer.offsetLeft)-d.right,H=s.direction=="ltr";function Ne(kr,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: "+kr+`px;
|
|
top: `+Zr+"px; width: "+(ft==null?M-kr:ft)+`px;
|
|
height: `+(Pn-Zr)+"px"))}function Fe(kr,Zr,ft){var Pn=Xe(s,kr),Hn=Pn.text.length,wi,Bs;function fs(er,wn){return Ts(e,S(kr,er),"div",Pn,wn)}function pa(er,wn,Ni){var Ii=fi(e,Pn,null,er),ds=wn=="ltr"==(Ni=="after")?"left":"right",bs=Ni=="after"?Ii.begin:Ii.end-(/\s/.test(Pn.text.charAt(Ii.end-1))?2:1);return fs(bs,ds)[ds]}var Be=Fr(Pn,s.direction);return ls(Be,Zr||0,ft==null?Hn:ft,function(er,wn,Ni,Ii){var ds=Ni=="ltr",bs=fs(er,ds?"left":"right"),_s=fs(wn-1,ds?"right":"left"),Hi=Zr==null&&er==0,Xi=ft==null&&wn==Hn,wa=Ii==0,Bu=!Be||Ii==Be.length-1;if(_s.top-bs.top<=3){var Fa=(H?Hi:Xi)&&wa,hc=(H?Xi:Hi)&&Bu,_u=Fa?F:(ds?bs:_s).left,Nl=hc?M:(ds?_s:bs).right;Ne(_u,bs.top,Nl-_u,bs.bottom)}else{var yl,Va,fc,Wp;ds?(yl=H&&Hi&&wa?F:bs.left,Va=H?M:pa(er,Ni,"before"),fc=H?F:pa(wn,Ni,"after"),Wp=H&&Xi&&Bu?M:_s.right):(yl=H?pa(er,Ni,"before"):F,Va=!H&&Hi&&wa?M:bs.right,fc=!H&&Xi&&Bu?F:_s.left,Wp=H?pa(wn,Ni,"after"):M),Ne(yl,bs.top,Va-yl,bs.bottom),bs.bottom<_s.top&&Ne(F,bs.bottom,null,_s.top),Ne(fc,_s.top,Wp-fc,_s.bottom)}(!wi||nu(bs,wi)<0)&&(wi=bs),nu(_s,wi)<0&&(wi=_s),(!Bs||nu(bs,Bs)<0)&&(Bs=bs),nu(_s,Bs)<0&&(Bs=_s)}),{start:wi,end:Bs}}var Pt=r.from(),Ye=r.to();if(Pt.line==Ye.line)Fe(Pt.line,Pt.ch,Ye.ch);else{var or=Xe(s,Pt.line),$t=Xe(s,Ye.line),xr=Sa(or)==Sa($t),Xr=Fe(Pt.line,Pt.ch,xr?or.text.length+1:null).end,pr=Fe(Ye.line,xr?0:null,Ye.ch).start;xr&&(Xr.top<pr.top-2?(Ne(Xr.right,Xr.top,null,Xr.bottom),Ne(F,pr.top,pr.left,pr.bottom)):Ne(Xr.right,Xr.top,pr.left-Xr.right,Xr.bottom)),Xr.bottom<pr.top&&Ne(F,Xr.bottom,null,pr.top)}o.appendChild(h)}function iu(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()||Ha(e),r.cursorDiv.style.visibility=(o=!o)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(r.cursorDiv.style.visibility="hidden")}}function su(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||La(e))}function Ro(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Ha(e))},100)}function La(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,Yi(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),je&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),iu(e))}function Ha(e,r){e.state.delayingBlurEvent||(e.state.focused&&(gn(e,"blur",e,r),e.state.focused=!1,yi(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,xe&&Le<8){var Fe=F.node.offsetTop+F.node.offsetHeight;H=Fe-o,o=Fe}else{var Pt=F.node.getBoundingClientRect();H=Pt.bottom-Pt.top,!M&&F.text.firstChild&&(Ne=F.text.firstChild.getBoundingClientRect().right-Pt.left-1)}var Ye=F.line.height-H;if((Ye>.005||Ye<-.005)&&(s<a&&(h-=Ye),xi(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 $t=Math.ceil(Ne/Qa(e.display));$t>e.display.maxLineLength&&(e.display.maxLineLength=$t,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,Wn(Xe(r,F))+e.wrapper.clientHeight)):Math.min(M,r.lastLine())>=d&&(h=Gn(r,Wn(Xe(r,M))-e.wrapper.clientHeight),d=M)}return{from:h,to:Math.max(d,h+1)}}function ul(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&&!wt){var h=we("div","\u200B",null,`position: absolute;
|
|
top: `+(r.top-o.viewOffset-ir(e.display))+`px;
|
|
height: `+(r.bottom-r.top+qr(e)+o.barHeight)+`px;
|
|
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 wu(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=Ss(e,r),M=!o||o==r?F:Ss(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&&(Su(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 Cl(e,r){var o=zu(e,r);o.scrollTop!=null&&Su(e,o.scrollTop),o.scrollLeft!=null&&oo(e,o.scrollLeft)}function zu(e,r){var o=e.display,a=Ka(e.display);r.top<0&&(r.top=0);var s=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:o.scroller.scrollTop,h=Bn(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,Pt=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:o.scroller.scrollLeft-Fe,Ye=Or(e)-o.gutters.offsetWidth,or=r.right-r.left>Ye;return or&&(r.right=r.left+Ye),r.left<10?d.scrollLeft=0:r.left<Pt?d.scrollLeft=Math.max(0,r.left+Fe-(or?0:10)):r.right>Ye+Pt-3&&(d.scrollLeft=r.right+(or?0:10)-Ye),d}function au(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);Tu(e,o,a,r.margin)}}function Tu(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 Su(e,r){Math.abs(e.doc.scrollTop-r)<2||(v||Vu(e,{top:r}),ll(e,r,!0),v&&Vu(e),zo(e,100))}function ll(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,$l(e),e.display.scroller.scrollLeft!=r&&(e.display.scroller.scrollLeft=r),e.display.scrollbars.setScrollLeft(r))}function ou(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 ba=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,xe&&Le<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ba.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}},ba.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ba.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ba.prototype.zeroWidthHack=function(){var e=an&&!Ur?"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},ba.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)},ba.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var uu=function(){};uu.prototype.update=function(){return{bottom:0,right:0}},uu.prototype.setScrollLeft=function(){},uu.prototype.setScrollTop=function(){},uu.prototype.clear=function(){};function uo(e,r){r||(r=ou(e));var o=e.display.barWidth,a=e.display.barHeight;cl(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),cl(e,ou(e)),o=e.display.barWidth,a=e.display.barHeight}function cl(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 Hu={native:ba,null:uu};function Uo(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&yi(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Hu[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):Su(e,r)},e),e.display.scrollbars.addClass&&Yi(e.display.wrapper,e.display.scrollbars.addClass)}var El=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:++El,markArrays:null},dt(e.curOp)}function ca(e){var r=e.curOp;r&&Oa(r,function(o){for(var a=0;a<o.ops.length;a++)o.ops[a].cm.curOp=null;qu(o)})}function qu(e){for(var r=e.ops,o=0;o<r.length;o++)bl(r[o]);for(var a=0;a<r.length;a++)zl(r[a]);for(var s=0;s<r.length;s++)nc(r[s]);for(var h=0;h<r.length;h++)Fu(r[h]);for(var d=0;d<r.length;d++)$u(r[d])}function bl(e){var r=e.cm,o=r.display;Ho(r),e.updateMaxLine&&vn(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 zl(e){e.updatedDisplay=e.mustUpdate&&hl(e.cm,e.update)}function nc(e){var r=e.cm,o=r.display;e.updatedDisplay&&Ao(r),e.barMeasure=ou(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-Or(r))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=o.input.prepareSelection())}function Fu(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==Kn();e.preparedSelection&&r.display.input.showSelection(e.preparedSelection,o),(e.updatedDisplay||e.startHeight!=r.doc.height)&&uo(r,e.barMeasure),e.updatedDisplay&&Gu(r,e.barMeasure),e.selectionChanged&&iu(r),r.state.focused&&e.updateInput&&r.display.input.reset(e.typing),o&&su(e.cm)}function $u(e){var r=e.cm,o=r.display,a=r.doc;if(e.updatedDisplay&&Hl(r,e.update),o.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(o.wheelStartX=o.wheelStartY=null),e.scrollTop!=null&&ll(r,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&oo(r,e.scrollLeft,!0,!0),e.scrollToPos){var s=wu(r,ni(a,e.scrollToPos.from),ni(a,e.scrollToPos.to),e.scrollToPos.margin);ul(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{ca(e)}}function Ys(e,r){return function(){if(e.curOp)return r.apply(e,arguments);To(e);try{return r.apply(e,arguments)}finally{ca(e)}}}function Js(e){return function(){if(this.curOp)return e.apply(this,arguments);To(this);try{return e.apply(this,arguments)}finally{ca(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{ca(r)}}}function zo(e,r){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(r,cs(Wu,e))}function Wu(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?pi(r.mode,a.state):null,M=mu(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),Pt=0;!Fe&&Pt<d.length;++Pt)Fe=d[Pt]!=h.styles[Pt];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=Or(e),this.force=o,this.dims=Ua(e),this.events=[]};lo.prototype.signal=function(e,r){wr(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 Ho(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 pl(e){if(e.hasFocus())return null;var r=Kn();if(!r||!Sn(e.display.lineDiv,r))return null;var o={activeElt:r};if(window.getSelection){var a=window.getSelection();a.anchorNode&&a.extend&&Sn(e.display.lineDiv,a.anchorNode)&&(o.anchorNode=a.anchorNode,o.anchorOffset=a.anchorOffset,o.focusNode=a.focusNode,o.focusOffset=a.focusOffset)}return o}function Al(e){if(!(!e||!e.activeElt||e.activeElt==Kn())&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&Sn(document.body,e.anchorNode)&&Sn(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 hl(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;wl(e)&&(za(e),r.dims=Ua(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)),Xa&&(h=Co(e.doc,h),d=eu(e.doc,d));var F=h!=o.viewFrom||d!=o.viewTo||o.lastWrapHeight!=r.wrapperHeight||o.lastWrapWidth!=r.wrapperWidth;Au(e,h,d),o.viewOffset=Wn(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=pl(e);return M>4&&(o.lineDiv.style.display="none"),ql(e,o.updateLineNumbers,r.dims),M>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,Al(H),Cr(o.cursorDiv),Cr(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 Hl(e,r){for(var o=r.viewport,a=!0;;a=!1){if(!a||!e.options.lineWrapping||r.oldDisplayWidth==Or(e)){if(o&&o.top!=null&&(o={top:Math.min(e.doc.height+$r(e.display)-Bn(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(!hl(e,r))break;Ao(e);var s=ou(e);yo(e),uo(e,s),Gu(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 Vu(e,r){var o=new lo(e,r);if(hl(e,o)){Ao(e),Hl(e,o);var a=ou(e);yo(e),uo(e,a),Gu(e,a),o.finish()}}function ql(e,r,o){var a=e.display,s=e.options.lineNumbers,h=a.lineDiv,d=h.firstChild;function F(or){var $t=or.nextSibling;return je&&an&&e.display.currentWheelTarget==or?or.style.display="none":or.parentNode.removeChild(or),$t}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 Pt=vt(e,Fe,H,o);h.insertBefore(Pt,d)}else{for(;d!=Fe.node;)d=F(d);var Ye=s&&r!=null&&r<=H&&Fe.lineNumber;Fe.changes&&(yr(Fe.changes,"gutter")>-1&&(Ye=!1),ms(e,Fe,H,o)),Ye&&(Cr(Fe.lineNumber),Fe.lineNumber.appendChild(document.createTextNode(js(e.options,H)))),d=Fe.node.nextSibling}H+=Fe.size}for(;d;)d=F(d)}function fl(e){var r=e.gutters.offsetWidth;e.sizer.style.marginLeft=r+"px",Rs(e,"gutterChanged",e)}function Gu(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 $l(e){var r=e.display,o=r.view;if(!(!r.alignWidgets&&(!r.gutters.firstChild||!e.options.fixedGutter))){for(var a=tu(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 wl(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",fl(e.display),!0}return!1}function ku(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;Cr(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",fl(e)}function vo(e){So(e.display),Ea(e),$l(e)}function Tl(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=rn("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=rn("div",[s.measure,s.lineMeasure,s.selectionDiv,s.cursorDiv,s.lineDiv],null,"position: relative; outline: none");var h=rn("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"),xe&&Le<8&&(s.gutters.style.zIndex=-1,s.scroller.style.paddingRight=0),!je&&!(v&&Ar)&&(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=ku(a.gutters,a.lineNumbers),So(s),o.init(s)}var Pu=0,co=null;xe?co=-.53:v?co=15:xt?co=-.7:mr&&(co=-1/3);function dl(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 Wl(e){var r=dl(e);return r.x*=co,r.y*=co,r}function Sl(e,r){xt&&Ft>=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=dl(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&&an&&je){e:for(var Ne=r.target,Fe=d.view;Ne!=F;Ne=Ne.parentNode)for(var Pt=0;Pt<Fe.length;Pt++)if(Fe[Pt].node==Ne){e.display.currentWheelTarget=Ne;break e}}if(a&&!v&&!Qt&&h!=null){s&&H&&Su(e,Math.max(0,F.scrollTop+s*h)),oo(e,Math.max(0,F.scrollLeft+a*h)),(!s||s&&H)&&Ue(r),d.wheelStartX=null;return}if(s&&h!=null){var Ye=s*h,or=e.doc.scrollTop,$t=or+d.wrapper.clientHeight;Ye<0?or=Math.max(0,or+Ye-50):$t=Math.min(e.doc.height,$t+Ye+50),Vu(e,{top:or,bottom:$t})}Pu<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,pr=Xr&&d.wheelDY&&Xr/d.wheelDY||xr&&d.wheelDX&&xr/d.wheelDX;d.wheelStartX=d.wheelStartY=null,pr&&(co=(co*Pu+pr)/(Pu+1),++Pu)}},200)):(d.wheelDX+=a,d.wheelDY+=s))}}var qa=function(e,r){this.ranges=e,this.primIndex=r};qa.prototype.primary=function(){return this.ranges[this.primIndex]},qa.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},qa.prototype.deepCopy=function(){for(var e=[],r=0;r<this.ranges.length;r++)e[r]=new ks(sn(this.ranges[r].anchor),sn(this.ranges[r].head));return new qa(e,this.primIndex)},qa.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},qa.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 ks=function(e,r){this.anchor=e,this.head=r};ks.prototype.from=function(){return ss(this.anchor,this.head)},ks.prototype.to=function(){return ci(this.anchor,this.head)},ks.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function $a(e,r,o){var a=e&&e.options.selectionsMayTouch,s=r[o];r.sort(function(Pt,Ye){return Je(Pt.from(),Ye.from())}),o=yr(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=ci(F.to(),d.to()),Fe=F.empty()?d.from()==d.head:F.from()==F.head;h<=o&&--o,r.splice(--h,2,new ks(Fe?Ne:H,Fe?H:Ne))}}return new qa(r,o)}function Fo(e,r){return new qa([new ks(e,r||e)],0)}function Wa(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 Xu(e,r){if(Je(e,r.from)<0)return e;if(Je(e,r.to)<=0)return Wa(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+=Wa(r).ch-r.to.ch),S(o,a)}function qo(e,r){for(var o=[],a=0;a<e.sel.ranges.length;a++){var s=e.sel.ranges[a];o.push(new ks(Xu(s.anchor,r),Xu(s.head,r)))}return $a(e.cm,o,e.sel.primIndex)}function Fl(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 Vl(e,r,o){for(var a=[],s=S(e.first,0),h=s,d=0;d<r.length;d++){var F=r[d],M=Fl(F.from,s,h),H=Fl(Wa(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 ks(Fe?H:M,Fe?M:H)}else a[d]=new ks(M,M)}return new qa(a,e.sel.primIndex)}function ko(e){e.doc.mode=tn(e.options,e.doc.modeOption),Za(e)}function Za(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&&Ea(e)}function lu(e,r){return r.from.ch==0&&r.to.ch==0&&sr(r.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function ml(e,r,o,a){function s(pr){return o?o[pr]:null}function h(pr,kr,Zr){pn(pr,kr,Zr,a),Rs(pr,"change",pr,r)}function d(pr,kr){for(var Zr=[],ft=pr;ft<kr;++ft)Zr.push(new nn(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),Pt=sr(H),Ye=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(lu(e,r)){var $t=d(0,H.length-1);h(Fe,Fe.text,Ye),or&&e.remove(F.line,or),$t.length&&e.insert(F.line,$t)}else if(Ne==Fe)if(H.length==1)h(Ne,Ne.text.slice(0,F.ch)+Pt+Ne.text.slice(M.ch),Ye);else{var xr=d(1,H.length-1);xr.push(new nn(Pt+Ne.text.slice(M.ch),Ye,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,Pt+Fe.text.slice(M.ch),Ye);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 gl(e,r){if(r.cm)throw new Error("This document is already in use.");e.doc=r,r.cm=e,Ca(e),ko(e),$o(e),e.options.direction=r.direction,e.options.lineWrapping||vn(e),e.options.mode=r.modeOption,Ea(e)}function $o(e){(e.doc.direction=="rtl"?Yi:yi)(e.display.lineDiv,"CodeMirror-rtl")}function ic(e){ya(e,function(){$o(e),Ea(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 Ju(e,r){var o={from:sn(r.from),to:Wa(r),text:Ds(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 cu(e){for(;e.length;){var r=sr(e);if(r.ranges)e.pop();else break}}function T(e,r){if(r)return cu(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=Wa(r):d.changes.push(Ju(e,r));else{var M=sr(s.done);for((!M||!M.ranges)&&oe(e.sel,s.done),d={changes:[Ju(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 K(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&&cu(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 De(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 ve(e,r){var o=De(e,r),a=Ru(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?qa.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+)$/))&&yr(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 ks(s,r)}else return new ks(o||r,r)}function C(e,r,o,a,s){s==null&&(s=e.cm&&(e.cm.display.shift||e.extend)),ze(e,new qa([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=$a(e.cm,a,e.sel.primIndex);ze(e,d,o)}function Q(e,r,o,a){var s=e.sel.ranges.slice(0);s[r]=o,ze(e,$a(e.cm,s,e.sel.primIndex),a)}function Oe(e,r,o,a){ze(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 ks(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?$a(e.cm,a.ranges,a.ranges.length-1):r}function Qe(e,r,o){var a=e.history.done,s=sr(a);s&&s.ranges?(a[a.length-1]=r,_e(e,r,o)):ze(e,r,o)}function ze(e,r,o){_e(e,r,o),K(e,e.sel,e.cm?e.cm.curOp.id:NaN,o)}function _e(e,r,o){(wr(e,"beforeSelectionChange")||e.cm&&wr(e.cm,"beforeSelectionChange"))&&(r=ke(e,r,o));var a=o&&o.bias||(Je(r.primary().head,e.sel.primary().head)<0?-1:1);bt(e,qt(e,r,a,!0)),!(o&&o.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&io(e.cm)}function bt(e,r){r.equals(e.sel)||(e.sel=r,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,Qn(e.cm)),Rs(e,"cursorActivity",e))}function kt(e){bt(e,qt(e,e.sel,null,!1))}function qt(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=Ln(e,d.anchor,F&&F.anchor,o,a),H=d.head==d.anchor?M:Ln(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 ks(M,H))}return s?$a(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),Pt=void 0;if((a<0?Ne:H)&&(Fe=zn(e,Fe,-a,Fe&&Fe.line==r.line?h:null)),Fe&&Fe.line==r.line&&(Pt=Je(Fe,o))&&(a<0?Pt<0:Pt>0))return un(e,Fe,r,a,s)}var Ye=M.find(a<0?-1:1);return(a<0?H:Ne)&&(Ye=zn(e,Ye,a,Ye.line==r.line?h:null)),Ye?un(e,Ye,r,a,s):null}}return r}function Ln(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 zn(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 _i(e,r,o){if(e.cm){if(!e.cm.curOp)return Ys(e.cm,_i)(e,r,o);if(e.cm.state.suppressEdits)return}if(!((wr(e,"beforeChange")||e.cm&&wr(e.cm,"beforeChange"))&&(r=en(e,r,!0),!r))){var a=Lu&&!o&&Cu(e,r.from,r.to);if(a)for(var s=a.length-1;s>=0;--s)mi(e,{from:a[s].from,to:a[s].to,text:s?[""]:r.text,origin:r.origin});else mi(e,r)}}function mi(e,r){if(!(r.text.length==1&&r.text[0]==""&&Je(r.from,r.to)==0)){var o=qo(e,r);ae(e,r,o,e.cm?e.cm.curOp.id:NaN),Gr(e,r,o,Ru(e,r));var a=[];po(e,function(s,h){!h&&yr(a,s.history)==-1&&(es(s.history,r),a.push(s.history)),Gr(s,r,null,Ru(s,r))})}}function Ai(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)){ze(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=wr(e,"beforeChange")||e.cm&&wr(e.cm,"beforeChange"),Pt=function($t){var xr=h.changes[$t];if(xr.origin=r,Fe&&!en(e,xr,!1))return F.length=0,{};Ne.push(Ju(e,xr));var Xr=$t?qo(e,xr):sr(F);Gr(e,xr,Xr,ve(e,xr)),!$t&&e.cm&&e.cm.scrollIntoView({from:xr.from,to:Wa(xr)});var pr=[];po(e,function(kr,Zr){!Zr&&yr(pr,kr.history)==-1&&(es(kr.history,xr),pr.push(kr.history)),Gr(kr,xr,null,ve(kr,xr))})},Ye=h.changes.length-1;Ye>=0;--Ye){var or=Pt(Ye);if(or)return or.v}}}}function Dn(e,r){if(r!=0&&(e.first+=r,e.sel=new qa(Jr(e.sel.ranges,function(s){return new ks(S(s.anchor.line+r,s.anchor.ch),S(s.head.line+r,s.head.ch))}),e.sel.primIndex),e.cm)){Ea(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=Ds(e,r.from,r.to),o||(o=qo(e,r)),e.cm?xn(e.cm,r,a):ml(e,r,a),_e(e,o,Jn),e.cantEdit&&Ln(e,S(e.firstLine(),0))&&(e.cantEdit=!1)}}function xn(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(Ye){if(Ye==s.maxLine)return F=!0,!0})),a.sel.contains(r.from,r.to)>-1&&Qn(e),ml(a,r,o,ru(e)),e.options.lineWrapping||(a.iter(M,h.line+r.text.length,function(Ye){var or=Cn(Ye);or>s.maxLineLength&&(s.maxLine=Ye,s.maxLineLength=or,s.maxLineChanged=!0,F=!1)}),F&&(e.curOp.updateMaxLine=!0)),Ou(a,h.line),zo(e,400);var H=r.text.length-(d.line-h.line)-1;r.full?Ea(e):h.line==d.line&&r.text.length==1&&!lu(e.doc,r)?hs(e,h.line,"text"):Ea(e,h.line,d.line+1,H);var Ne=wr(e,"changes"),Fe=wr(e,"change");if(Fe||Ne){var Pt={from:h,to:d,text:r.text,removed:r.removed,origin:r.origin};Fe&&Rs(e,"change",e,Pt),Ne&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(Pt)}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)),_i(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 Es(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 es(e,r){var o=r.from.line,a=r.to.line,s=r.text.length-(a-o)-1;Es(e.done,o,a,s),Es(e.undone,o,a,s)}function rs(e,r,o,a){var s=r,h=r;return typeof r=="number"?h=Xe(e,Zi(e,r)):s=ti(r),s==null?null:(a(h,s)&&e.cm&&hs(e.cm,s,o),h)}function Wi(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}Wi.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 Zn(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}Zn.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 Wi))){var F=[];this.collapse(F),this.children=[new Wi(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 Wi(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 Zn(r);if(e.parent){e.size-=o.size,e.height-=o.height;var s=yr(e.parent.children,e);e.parent.children.splice(s+1,0,o)}else{var a=new Zn(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 Ri=function(e,r,o){if(o)for(var a in o)o.hasOwnProperty(a)&&(this[a]=o[a]);this.doc=e,this.node=r};Ri.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);xi(o,Math.max(0,o.height-h)),e&&(ya(e,function(){ki(e,o,-h),hs(e,a,"widget")}),Rs(e,"lineWidgetCleared",e,this,a))}},Ri.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||(Ra(this.doc,a)||xi(a,a.height+s),o&&ya(o,function(){o.curOp.forceUpdate=!0,ki(o,a,s),Rs(o,"lineWidgetChanged",o,e,ti(a))}))},Nt(Ri);function ki(e,r,o){Wn(r)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&au(e,o)}function Pi(e,r,o,a){var s=new Ri(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&&!Ra(e,d)){var M=Wn(d)<e.scrollTop;xi(d,d.height+at(s)),M&&au(h,s.height),h.curOp.forceUpdate=!0}return!0}),h&&Rs(h,"lineWidgetAdded",h,s,typeof r=="number"?r:ti(r)),s}var Ht=0,vr=function(e,r){this.lines=[],this.type=r,this.doc=e,this.id=++Ht};vr.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,r=e&&!e.curOp;if(r&&To(e),wr(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=Lo(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=Ba(d.markedSpans,F),F.from==null&&this.collapsed&&!Ra(this.doc,d)&&e&&xi(d,Ka(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&&Ea(e,a,s+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&kt(e.doc)),e&&Rs(e,"markerCleared",e,this,a,s),r&&ca(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=Lo(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&&(hr(d),a.curOp.selectionChanged=a.curOp.forceUpdate=!0),a.curOp.updateMaxLine=!0,!Ra(o.doc,s)&&o.height!=null){var F=o.height;o.height=null;var M=at(o)-F;M&&xi(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||yr(r.maybeHiddenMarkers,this)==-1)&&(r.maybeUnhiddenMarkers||(r.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},vr.prototype.detachLine=function(e){if(this.lines.splice(yr(this.lines,e),1),!this.lines.length&&this.doc.cm){var r=this.doc.cm.curOp;(r.maybeHiddenMarkers||(r.maybeHiddenMarkers=[])).push(this)}},Nt(vr);function Ir(e,r,o,a,s){if(a&&a.shared)return Ut(e,r,o,a,s);if(e.cm&&!e.cm.curOp)return Ys(e.cm,Ir)(e,r,o,a,s);var h=new vr(e,s),d=Je(r,o);if(a&&ts(a,h,!1),d>0||d==0&&h.clearWhenEmpty!==!1)return h;if(h.replacedWith&&(h.collapsed=!0,h.widgetNode=rn("span",[h.replacedWith],"CodeMirror-widget"),a.handleMouseEvents||h.widgetNode.setAttribute("cm-ignore-events","true"),a.insertLeft&&(h.widgetNode.insertLeft=!0)),h.collapsed){if(Eu(e,r.line,r,o,h)||r.line!=o.line&&Eu(e,o.line,r,o,h))throw new Error("Inserting collapsed marker partially overlapping an existing one");Mu()}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&&xi(Fe,0),sl(Fe,new xu(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){Ra(e,Fe)&&xi(Fe,0)}),h.clearOnEnter&&Gt(h,"beforeCursorEnter",function(){return h.clear()}),h.readOnly&&(il(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),h.collapsed&&(h.id=++Ht,h.atomic=!0),M){if(H&&(M.curOp.updateMaxLine=!0),h.collapsed)Ea(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&&kt(M.doc),Rs(M,"markerAdded",M,h)}return h}var In=function(e,r){this.markers=e,this.primary=r;for(var o=0;o<e.length;++o)e[o].parent=this};In.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")}},In.prototype.find=function(e,r){return this.primary.find(e,r)},Nt(In);function Ut(e,r,o,a,s){a=ts(a),a.shared=!1;var h=[Ir(e,r,o,a,s)],d=h[0],F=a.widgetNode;return po(e,function(M){F&&(a.widgetNode=F.cloneNode(!0)),h.push(Ir(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 In(h,d)}function ui(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=Ir(e,h,d,a.primary,a.primary.type);a.markers.push(F),F.parent=a}}}function na(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];yr(h,F.doc)==-1&&(F.parent=null,s.markers.splice(d--,1))}},o=0;o<e.length;o++)r(o)}var ia=0,Os=function(e,r,o,a,s){if(!(this instanceof Os))return new Os(e,r,o,a,s);o==null&&(o=0),Zn.call(this,[new Wi([new nn("",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=++ia,this.modeOption=r,this.lineSep=a,this.direction=s=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),ml(this,{from:h,to:h,text:e}),ze(this,Fo(h),Jn)};Os.prototype=Fn(Zn.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;_i(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),ze(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=Ds(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){C(this,ni(this,e),r&&ni(this,r),o)}),extendSelections:Hs(function(e,r){re(this,Jo(this,e),r)}),extendSelectionsBy:Hs(function(e,r){var o=Jr(this.sel.ranges,e);re(this,Jo(this,o),r)}),setSelections:Hs(function(e,r,o){if(!!e.length){for(var a=[],s=0;s<e.length;s++)a[s]=new ks(ni(this,e[s].anchor),ni(this,e[s].head||e[s].anchor));r==null&&(r=Math.min(e.length-1,this.sel.primIndex)),ze(this,$a(this.cm,a,r),o)}}),addSelection:Hs(function(e,r,o){var a=this.sel.ranges.slice(0);a.push(new ks(ni(this,e),ni(this,r||e))),ze(this,$a(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=Ds(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=Ds(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"&&Vl(this,a,r),M=a.length-1;M>=0;M--)_i(this,a[M]);F?Qe(this,F):this.cm&&io(this.cm)}),undo:Hs(function(){Ai(this,"undo")}),redo:Hs(function(){Ai(this,"redo")}),undoSelection:Hs(function(){Ai(this,"undo",!0)}),redoSelection:Hs(function(){Ai(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(Mn(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(Mn(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 Pi(this,e,r,o)}),removeLineWidget:function(e){e.clear()},markText:function(e,r,o){return Ir(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),Ir(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,ui(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),na(ui(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):Ee(e)},lineSeparator:function(){return this.lineSep||`
|
|
`},setDirection:Hs(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(r){return r.order=null}),this.cm&&ic(this.cm))})}),Os.prototype.eachLine=Os.prototype.iter;var Aa=0;function va(e){var r=this;if(sa(r),!(zt(r,e)||_t(r.display,e))){Ue(e),xe&&(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 Ye={from:o,to:o,text:r.doc.splitLines(h.filter(function(or){return or!=null}).join(r.doc.lineSeparator())),origin:"paste"};_i(r.doc,Ye),Qe(r.doc,Fo(ni(r.doc,o),ni(r.doc,Wa(Ye))))})()},M=function(Ye,or){if(r.options.allowDropFileTypes&&yr(r.options.allowDropFileTypes,Ye.type)==-1){F();return}var $t=new FileReader;$t.onerror=function(){return F()},$t.onload=function(){var xr=$t.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(xr)){F();return}h[or]=xr,F()},$t.readAsText(Ye)},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 Pt=0;Pt<Fe.length;++Pt)Lr(r.doc,"",Fe[Pt].anchor,Fe[Pt].head,"drag");r.replaceSelection(Ne,"around","paste"),r.display.input.focus()}}catch{}}}}function Zs(e,r){if(xe&&(!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&&!mr)){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 Ma(e,r){var o=ma(e,r);if(!!o){var a=document.createDocumentFragment();jo(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)),Tn(e.display.dragCursor,a)}}function sa(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function ea(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 aa=!1;function kl(){aa||(Ku(),aa=!0)}function Ku(){var e;Gt(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,ea(Bc)},100))}),Gt(window,"blur",function(){return ea(Ha)})}function Bc(e){var r=e.display;r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.scrollbarsClipped=!1,e.setSize()}for(var Nu={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"},Pl=0;Pl<10;Pl++)Nu[Pl+48]=Nu[Pl+96]=String(Pl);for(var Gl=65;Gl<=90;Gl++)Nu[Gl]=String.fromCharCode(Gl);for(var pu=1;pu<=12;pu++)Nu[pu+111]=Nu[pu+63235]="F"+pu;var Wo={};Wo.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"},Wo.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"},Wo.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"},Wo.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"]},Wo.default=an?Wo.macDefault:Wo.pcDefault;function _c(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(" "),_c),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=U(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:Nu[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),(ai?r.metaKey:r.ctrlKey)&&a!="Ctrl"&&(e="Ctrl-"+e),(ai?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=Nu[e.keyCode];return o==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(o=e.code),p(o,e,r))}function U(e){return typeof e=="string"?Wo[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=Fr(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=Ei(r,o);H=s<0?o.text.length-1:0;var Fe=Fi(r,Ne,H).top;H=is(function(Pt){return Fi(r,Ne,Pt).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=Fr(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,pr){return Ze(r,Xr instanceof S?Xr.ch:Xr,pr)},M,H=function(Xr){return e.options.lineWrapping?(M=M||Ei(e,r),fi(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,Pt=F(o,Fe?1:-1);if(Pt!=null&&(Fe?Pt<=d.to&&Pt<=Ne.end:Pt>=d.from&&Pt>=Ne.begin)){var Ye=Fe?"before":"after";return new S(o.line,Pt,Ye)}}var or=function(Xr,pr,kr){for(var Zr=function(wi,Bs){return Bs?new S(o.line,F(wi,1),"before"):new S(o.line,wi,"after")};Xr>=0&&Xr<s.length;Xr+=pr){var ft=s[Xr],Pn=pr>0==(ft.level!=1),Hn=Pn?kr.begin:F(kr.end,-1);if(ft.from<=Hn&&Hn<ft.to||(Hn=Pn?ft.from:F(ft.to,-1),kr.begin<=Hn&&Hn<kr.end))return Zr(Hn,Pn)}},$t=or(h+a,a,Ne);if($t)return $t;var xr=a>0?Ne.end:F(Ne.begin,-1);return xr!=null&&!(a>0&&xr==r.text.length)&&($t=or(a>0?0:s.length-1,a,H(xr)),$t)?$t:null}var b={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 E(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")},li)},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")},li)},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/)?E(e,r.head):a},li)},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=_r(e.getLine(h.line),h.ch,a);r.push(Er(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 ks(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(`
|
|
`,"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=Zo(o);return a!=o&&(r=ti(a)),ar(!0,e,o,r,-1)}function E(e,r){var o=g(e,r.line),a=Xe(e.doc,o.line),s=Fr(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=b[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)!=oi}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")&&(Ue(o),iu(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=Kn(),!zt(r,e))){xe&&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&&(an?e.metaKey:e.ctrlKey)&&r.replaceSelection("",null,"cut")),v&&!an&&!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;Yi(r,"CodeMirror-crosshair");function o(a){(a.keyCode==18||!a.altKey)&&(yi(r,"CodeMirror-crosshair"),lr(document,"keyup",o),lr(document,"mouseover",o))}Gt(document,"keyup",o),Gt(document,"mouseover",o)}function z(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||an&&e.metaKey)){var o=e.keyCode,a=e.charCode;if(Qt&&o==W){W=null,Ue(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 fe=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+fe>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)){je||(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):Rr(e)==o.scroller&&Ue(e):s==2?(a&&C(r.doc,a),setTimeout(function(){return o.input.focus()},20)):s==3&&($n?r.display.input.onContextMenu(e):Ro(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=b[d]),!d)return!1;var F=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),F=d(e,o)!=oi}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=Vn?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=an?o.metaKey:o.ctrlKey),s.moveOnDrag==null&&(s.moveOnDrag=!(an?o.altKey:o.ctrlKey)),s}function L(e,r,o,a){xe?setTimeout(cs(su,e),0):e.curOp.focus=Kn();var s=V(e,o,a),h=e.doc.sel,d;e.options.dragDrop&&Rt&&!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){je&&(s.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Ro(e)),lr(s.wrapper.ownerDocument,"mouseup",d),lr(s.wrapper.ownerDocument,"mousemove",F),lr(s.scroller,"dragstart",M),lr(s.scroller,"drop",d),h||(Ue(H),a.addNew||C(e.doc,o,null,null,a.extend),je&&!mr||xe&&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};je&&(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 ks(r,r);if(o=="word")return e.findWordAt(r);if(o=="line")return new ks(S(r.line,0),ni(e.doc,S(r.line+1,0)));var a=o(e,r);return new ks(a.from,a.to)}function N(e,r,o,a){xe&&Ro(e);var s=e.display,h=e.doc;Ue(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 ks(o,o)):(d=h.sel.primary(),F=h.sel.primIndex),a.unit=="rectangle")a.addNew||(d=new ks(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,ze(h,$a(e,H.concat([d]),F),{scroll:!1,origin:"*mouse"})):H.length>1&&H[F].empty()&&a.unit=="char"&&!a.extend?(ze(h,$a(e,H.slice(0,F).concat(H.slice(F+1)),0),{scroll:!1,origin:"*mouse"}),M=h.sel):Q(h,F,d,Un):(F=0,ze(h,new qa([d],0),Un),M=h.sel);var Fe=o;function Pt(kr){if(Je(Fe,kr)!=0)if(Fe=kr,a.unit=="rectangle"){for(var Zr=[],ft=e.options.tabSize,Pn=_r(Xe(h,o.line).text,o.ch,ft),Hn=_r(Xe(h,kr.line).text,kr.ch,ft),wi=Math.min(Pn,Hn),Bs=Math.max(Pn,Hn),fs=Math.min(o.line,kr.line),pa=Math.min(e.lastLine(),Math.max(o.line,kr.line));fs<=pa;fs++){var Be=Xe(h,fs).text,er=ct(Be,wi,ft);wi==Bs?Zr.push(new ks(S(fs,er),S(fs,er))):Be.length>er&&Zr.push(new ks(S(fs,er),S(fs,ct(Be,Bs,ft))))}Zr.length||Zr.push(new ks(o,o)),ze(h,$a(e,M.ranges.slice(0,F).concat(Zr),F),{origin:"*mouse",scroll:!1}),e.scrollIntoView(kr)}else{var wn=d,Ni=X(e,kr,a.unit),Ii=wn.anchor,ds;Je(Ni.anchor,Ii)>0?(ds=Ni.head,Ii=ss(wn.from(),Ni.anchor)):(ds=Ni.anchor,Ii=ci(wn.to(),Ni.head));var bs=M.ranges.slice(0);bs[F]=G(e,new ks(ni(h,Ii),ds)),ze(h,$a(e,bs,F),Un)}}var Ye=s.wrapper.getBoundingClientRect(),or=0;function $t(kr){var Zr=++or,ft=ma(e,kr,!0,a.unit=="rectangle");if(!!ft)if(Je(ft,Fe)!=0){e.curOp.focus=Kn(),Pt(ft);var Pn=Do(s,h);(ft.line>=Pn.to||ft.line<Pn.from)&&setTimeout(Ys(e,function(){or==Zr&&$t(kr)}),150)}else{var Hn=kr.clientY<Ye.top?-20:kr.clientY>Ye.bottom?20:0;Hn&&setTimeout(Ys(e,function(){or==Zr&&(s.scroller.scrollTop+=Hn,$t(kr))}),50)}}function xr(kr){e.state.selectingText=!1,or=1/0,kr&&(Ue(kr),s.input.focus()),lr(s.wrapper.ownerDocument,"mousemove",Xr),lr(s.wrapper.ownerDocument,"mouseup",pr),h.history.lastSelOrigin=null}var Xr=Ys(e,function(kr){kr.buttons===0||!on(kr)?xr(kr):$t(kr)}),pr=Ys(e,xr);e.state.selectingText=pr,Gt(s.wrapper.ownerDocument,"mousemove",Xr),Gt(s.wrapper.ownerDocument,"mouseup",pr)}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=Fr(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 Pt=h[M+(H?-1:0)],Ye=H==(Pt.level==1),or=Ye?Pt.from:Pt.to,$t=Ye?"after":"before";return o.ch==or&&o.sticky==$t?r:new ks(new S(o.line,or,$t),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&&Ue(r);var d=e.display,F=d.lineDiv.getBoundingClientRect();if(h>F.bottom||!wr(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")||$n||e.display.input.onContextMenu(r)}function ne(e,r){return wr(e,"gutterContextMenu")?q(e,r,"gutterContextMenu",!1):!1}function Ce(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),$i(e)}var Re={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!=Re&&h(F,M,H)}:h)}e.defineOption=o,e.Init=Re,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){Za(a),$i(a),Ea(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!=Re&&a.refresh()}),o("specialCharPlaceholder",Qi,function(a){return a.refresh()},!0),o("electricChars",!0),o("inputStyle",Ar?"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",!An),o("wholeLineUpdateBefore",!0),o("theme","default",function(a){Ce(a),vo(a)},!0),o("keyMap","default",function(a,s,h){var d=U(s),F=h!=Re&&U(h);F&&F.detach&&F.detach(a,d),d.attach&&d.attach(a,F||null)}),o("extraKeys",null),o("configureMouse",null),o("lineWrapping",!1,gt,!0),o("gutters",[],function(a,s){a.display.gutterSpecs=ku(s,a.options.lineNumbers),vo(a)},!0),o("fixedGutter",!0,function(a,s){a.display.gutters.style.left=s?tu(a.display)+"px":"0",a.refresh()},!0),o("coverGutterNextToScrollbar",!1,function(a){return uo(a)},!0),o("scrollbarStyle","native",function(a){Uo(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=ku(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"&&(Ha(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,Za,!0),o("addModeClass",!1,Za,!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,Za,!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!=Re;if(!r!=!a){var s=e.display.dragFunctions,h=r?Gt:lr;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 gt(e){e.options.lineWrapping?(Yi(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(yi(e.display.wrapper,"CodeMirror-wrap"),vn(e)),Ca(e),Ea(e),$i(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?ts(r):{},ts(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 Tl(e,a,s,r);h.wrapper.CodeMirror=this,Ce(this),r.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Uo(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&&!Ar&&h.input.focus(),xe&&Le<11&&setTimeout(function(){return o.display.input.reset(!0)},20),Ve(this),kl(),To(this),this.curOp.forceUpdate=!0,gl(this,a),r.autofocus&&!Ar||this.hasFocus()?setTimeout(function(){o.hasFocus()&&!o.state.focused&&La(o)},20):Ha(this);for(var d in Ge)Ge.hasOwnProperty(d)&&Ge[d](this,r[d],Re);wl(this),r.finishInit&&r.finishInit(this);for(var F=0;F<Ct.length;++F)Ct[F](this);ca(this),je&&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)),xe&&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))){Ue(M);var Ne=e.findWordAt(H);C(e.doc,Ne.anchor,Ne.head)}}})):Gt(r.scroller,"dblclick",function(M){return zt(e,M)||Ue(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 ks(Ne,Ne):!H.prev.prev||d(H,H.prev.prev)?Fe=e.findWordAt(Ne):Fe=new ks(S(Ne.line,0),ni(e.doc,S(Ne.line+1,0))),e.setSelection(Fe.anchor,Fe.head),e.focus(),Ue(M)}s()}),Gt(r.scroller,"touchcancel",s),Gt(r.scroller,"scroll",function(){r.scroller.clientHeight&&(Su(e,r.scroller.scrollTop),oo(e,r.scroller.scrollLeft,!0),gn(e,"scroll",e))}),Gt(r.scroller,"mousewheel",function(M){return Sl(e,M)}),Gt(r.scroller,"DOMMouseScroll",function(M){return Sl(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)||(Ma(e,M),tr(M))},start:function(M){return Zs(e,M)},drop:Ys(e,va),leave:function(M){zt(e,M)||sa(e)}};var F=r.input.getField();Gt(F,"keyup",function(M){return z.call(e,M)}),Gt(F,"keydown",Ys(e,I)),Gt(F,"keypress",Ys(e,le)),Gt(F,"focus",function(M){return La(e,M)}),Gt(F,"blur",function(M){return Ha(e,M)})}var Ct=[];qe.defineInitHook=function(e){return Ct.push(e)};function St(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=_r(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==oi||Ne>150)){if(!a)return;o="prev"}o=="prev"?r>s.first?Ne=_r(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="",Pt=0;if(e.options.indentWithTabs)for(var Ye=Math.floor(Ne/d);Ye;--Ye)Pt+=d,Fe+=" ";if(Pt<Ne&&(Fe+=Er(Ne-Pt)),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 $t=s.sel.ranges[or];if($t.head.line==r&&$t.head.ch<H.length){var xr=S(r,H.length);Q(s,or,new ks(xr,xr));break}}}var Et=null;function fr(e){Et=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=Ee(r),H=null;if(F&&a.ranges.length>1)if(Et&&Et.text.join(`
|
|
`)==r){if(a.ranges.length%Et.text.length==0){H=[];for(var Ne=0;Ne<Et.text.length;Ne++)H.push(h.splitLines(Et.text[Ne]))}}else M.length==a.ranges.length&&e.options.pasteLinesPerSelection&&(H=Jr(M,function(Xr){return[Xr]}));for(var Fe=e.curOp.updateInput,Pt=a.ranges.length-1;Pt>=0;Pt--){var Ye=a.ranges[Pt],or=Ye.from(),$t=Ye.to();Ye.empty()&&(o&&o>0?or=S(or.line,or.ch-o):e.state.overwrite&&!F?$t=S($t.line,Math.min(Xe(h,$t.line).text.length,$t.ch+sr(M).length)):F&&Et&&Et.lineWise&&Et.text.join(`
|
|
`)==M.join(`
|
|
`)&&(or=$t=S(or.line,0)));var xr={from:or,to:$t,text:H?H[Pt%H.length]:M,origin:s||(F?"paste":e.state.cutIncoming>d?"cut":"+input")};_i(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=St(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=St(e,s.head.line,"smart"));d&&Rs(e,"electricInput",e,s.head.line)}}}function Dr(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 je?e.style.width="1000px":e.setAttribute("wrap","off"),jt&&(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"](U(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++,Ea(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++,Ea(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)&&St(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&&(St(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)St(this,Fe,a);var Pt=this.doc.sel.ranges;M.ch==0&&s.length==Pt.length&&Pt[d].from().ch>0&&Q(this.doc,d,new ks(M,Pt[d].to()),Jn)}}}),getTokenAt:function(a,s){return Qo(this,a,s)},getLineTokens:function(a,s){return Qo(this,S(a),s,!0)},getTokenTypeAt:function(a){a=ni(this.doc,a);var s=gu(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)&&yr(h,Fe.val)==-1&&h.push(Fe.val)}return h},getStateAfter:function(a,s){var h=this.doc;return a=Zi(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(),Ss(this,h,s||"page")},charCoords:function(a,s){return Ts(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-Wn(F):0)},defaultTextHeight:function(){return Ka(this.display)},defaultCharWidth:function(){return Qa(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=Ss(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),Pt=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>Pt&&(Ne=Pt-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&&Cl(this,{left:Ne,top:H,right:Ne+s.offsetWidth,bottom:H+s.offsetHeight})},triggerOnKeyDown:Js(I),triggerOnKeyPress:Js(le),triggerOnKeyUp:z,triggerOnMouseDown:Js(me),execCommand:function(a){if(b.hasOwnProperty(a))return b[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()},li)}),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=Ss(this,H,"div");if(M==null?M=Fe.left:Fe.left=M,H=cr(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=Ss(h,Ne.head,"div");Ne.goalColumn!=null&&(Fe.left=Ne.goalColumn),F.push(Fe.left);var Pt=cr(h,Fe,a,s);return s=="page"&&Ne==d.sel.primary()&&au(h,Ts(h,Pt,"div").top-Fe.top),Pt},li),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=br(H,M)?function(Fe){return br(Fe,M)}:/\s/.test(H)?function(Fe){return/\s/.test(Fe)}:function(Fe){return!/\s/.test(Fe)&&!br(Fe)};d>0&&Ne(h.charAt(d-1));)--d;for(;F<h.length&&Ne(h.charAt(F));)++F}return new ks(S(a.line,d),S(a.line,F))},toggleOverwrite:function(a){a!=null&&a==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Yi(this.display.cursorDiv,"CodeMirror-overwrite"):yi(this.display.cursorDiv,"CodeMirror-overwrite"),gn(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Kn()},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:Bn(this),clientWidth:Or(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):Tu(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 ca(this)},refresh:Js(function(){var a=this.display.cachedTextHeight;Ea(this),this.curOp.forceUpdate=!0,$i(this),wo(this,this.doc.scrollLeft,this.doc.scrollTop),fl(this.display),(a==null||Math.abs(a-Ka(this.display))>.5||this.options.lineWrapping)&&Ca(this),gn(this,"refresh",this)}),swapDoc:Js(function(a){var s=this.doc;return s.cm=null,this.state.selectingText&&this.state.selectingText(),gl(this,a),$i(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}},Nt(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 pr=r.line+M;return pr<e.first||pr>=e.first+e.size?!1:(r=new S(pr,r.ch,r.sticky),F=Xe(e,pr))}function Ne(pr){var kr;if(a=="codepoint"){var Zr=F.text.charCodeAt(r.ch+(o>0?0:-1));if(isNaN(Zr))kr=null;else{var ft=o>0?Zr>=55296&&Zr<56320:Zr>=56320&&Zr<57343;kr=new S(r.line,Math.max(0,Math.min(F.text.length,r.ch+o*(ft?2:1))),-o)}}else s?kr=m(e.cm,F,r,o):kr=At(F,r,o);if(kr==null)if(!pr&&H())r=ar(s,e.cm,F,r.line,M);else return!1;else r=kr;return!0}if(a=="char"||a=="codepoint")Ne();else if(a=="column")Ne(!0);else if(a=="word"||a=="group")for(var Fe=null,Pt=a=="group",Ye=e.cm&&e.cm.getHelper(r,"wordChars"),or=!0;!(o<0&&!Ne(!or));or=!1){var $t=F.text.charAt(r.ch)||`
|
|
`,xr=br($t,Ye)?"w":Pt&&$t==`
|
|
`?"n":!Pt||/\s/.test($t)?null:"p";if(Pt&&!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=Ln(e,r,h,d,!0);return Mr(h,Xr)&&(Xr.hitSide=!0),Xr}function cr(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*Ka(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())fr({lineWise:!1,text:a.getSelections()}),F.type=="cut"&&a.replaceSelection("",null,"cut");else if(a.options.lineWiseCopyCut){var M=Dr(a);fr({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=Et.text.join(`
|
|
`);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=Et.text.join(`
|
|
`);var Pt=Kn();Ns(Fe),setTimeout(function(){a.display.lineSpace.removeChild(Ne),Pt.focus(),Pt==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=Uu(this.cm,!1);return e.focus=Kn()==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=dr(r,e.anchorNode,e.anchorOffset),d=dr(r,e.focusNode,e.focusOffset);if(!(h&&!h.bad&&d&&!d.bad&&Je(ss(h,d),a)==0&&Je(ci(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 Pt=e.rangeCount&&e.getRangeAt(0),Ye;try{Ye=ur(M.node,M.offset,H.offset,H.node)}catch{}Ye&&(!v&&r.state.focused?(e.collapse(M.node,M.offset),Ye.collapsed||(e.removeAllRanges(),e.addRange(Ye))):(e.removeAllRanges(),e.addRange(Ye)),Pt&&e.anchorNode==null?e.addRange(Pt):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){Tn(this.cm.display.cursorDiv,e.cursors),Tn(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 Sn(this.div,r)},Yt.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||Kn()!=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(Wt&&xt&&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=dr(r,e.anchorNode,e.anchorOffset),a=dr(r,e.focusNode,e.focusOffset);o&&a&&ya(r,function(){ze(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(gr(e,F,Ne,d,H)),Pt=Ds(e.doc,S(d,0),S(H,Xe(e.doc,H).text.length));Fe.length>1&&Pt.length>1;)if(sr(Fe)==sr(Pt))Fe.pop(),Pt.pop(),H--;else if(Fe[0]==Pt[0])Fe.shift(),Pt.shift(),d++;else break;for(var Ye=0,or=0,$t=Fe[0],xr=Pt[0],Xr=Math.min($t.length,xr.length);Ye<Xr&&$t.charCodeAt(Ye)==xr.charCodeAt(Ye);)++Ye;for(var pr=sr(Fe),kr=sr(Pt),Zr=Math.min(pr.length-(Fe.length==1?Ye:0),kr.length-(Pt.length==1?Ye:0));or<Zr&&pr.charCodeAt(pr.length-or-1)==kr.charCodeAt(kr.length-or-1);)++or;if(Fe.length==1&&Pt.length==1&&d==a.line)for(;Ye&&Ye>a.ch&&pr.charCodeAt(pr.length-or-1)==kr.charCodeAt(kr.length-or-1);)Ye--,or++;Fe[Fe.length-1]=pr.slice(0,pr.length-or).replace(/^\u200b+/,""),Fe[0]=Fe[0].slice(Ye).replace(/\u200b+$/,"");var ft=S(d,Ye),Pn=S(H,Pt.length?sr(Pt).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 Ea(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=On(o,a,r.line),h=Fr(a,e.doc.direction),d="left";if(h){var F=Ls(h,r.ch);d=F%2?"right":"left"}var M=vs(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 di(e,r){return r&&(e.bad=!0),e}function gr(e,r,o,a,s){var h="",d=!1,F=e.doc.lineSeparator(),M=!1;function H(Ye){return function(or){return or.id==Ye}}function Ne(){d&&(h+=F,M&&(h+=F),d=M=!1)}function Fe(Ye){Ye&&(Ne(),h+=Ye)}function Pt(Ye){if(Ye.nodeType==1){var or=Ye.getAttribute("cm-text");if(or){Fe(or);return}var $t=Ye.getAttribute("cm-marker"),xr;if($t){var Xr=e.findMarks(S(a,0),S(s+1,0),H(+$t));Xr.length&&(xr=Xr[0].find(0))&&Fe(Ds(e.doc,xr.from,xr.to).join(F));return}if(Ye.getAttribute("contenteditable")=="false")return;var pr=/^(pre|div|p|li|table|br)$/i.test(Ye.nodeName);if(!/^br$/i.test(Ye.nodeName)&&Ye.textContent.length==0)return;pr&&Ne();for(var kr=0;kr<Ye.childNodes.length;kr++)Pt(Ye.childNodes[kr]);/^(pre|p)$/i.test(Ye.nodeName)&&(M=!0),pr&&(d=!0)}else Ye.nodeType==3&&Fe(Ye.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Pt(r),r!=o;)r=r.nextSibling,M=!1;return h}function dr(e,r,o){var a;if(r==e.display.lineDiv){if(a=e.display.lineDiv.childNodes[o],!a)return di(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 Sr(h,r,o)}}function Sr(e,r,o){var a=e.text.firstChild,s=!1;if(!r||!Sn(a,r))return di(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 di(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,pr){for(var kr=-1;kr<(H?H.length:0);kr++)for(var Zr=kr<0?M.map:H[kr],ft=0;ft<Zr.length;ft+=3){var Pn=Zr[ft+2];if(Pn==xr||Pn==Xr){var Hn=ti(kr<0?e.line:e.rest[kr]),wi=Zr[ft]+pr;return(pr<0||Pn!=xr)&&(wi=Zr[ft+(pr?1:0)]),S(Hn,wi)}}}var Fe=Ne(d,F,o);if(Fe)return di(Fe,s);for(var Pt=F.nextSibling,Ye=d?d.nodeValue.length-o:0;Pt;Pt=Pt.nextSibling){if(Fe=Ne(Pt,Pt.firstChild,0),Fe)return di(S(Fe.line,Fe.ch-Ye),s);Ye+=Pt.textContent.length}for(var or=F.previousSibling,$t=o;or;or=or.previousSibling){if(Fe=Ne(or,or.firstChild,-1),Fe)return di(S(Fe.line,Fe.ch+$t),s);$t+=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),jt&&(s.style.width="0px"),Gt(s,"input",function(){xe&&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())fr({lineWise:!1,text:a.getSelections()});else if(a.options.lineWiseCopyCut){var F=Dr(a);fr({lineWise:!0,text:F.text}),d.type=="cut"?a.setSelections(F.ranges,null,Jn):(o.prevInput="",s.value=F.text.join(`
|
|
`),Ns(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)||Ue(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=Uu(e);if(e.options.moveInputWithCursor){var s=Ss(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;Tn(o.cursorDiv,e.cursors),Tn(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&&Ns(this.textarea),xe&&Le>=9&&(this.hasSelection=o)}else e||(this.prevInput=this.textarea.value="",xe&&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"&&(!Ar||Kn()!=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(xe&&Le>=9&&this.hasSelection===s||an&&/[\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(`
|
|
`)>-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(){xe&&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,ze)(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;
|
|
top: `+(e.clientY-Ne.top-5)+"px; left: "+(e.clientX-Ne.left-5)+`px;
|
|
z-index: 1000; background: `+(xe?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Fe;je&&(Fe=window.scrollY),a.input.focus(),je&&window.scrollTo(null,Fe),a.input.reset(),o.somethingSelected()||(s.value=r.prevInput=" "),r.contextMenuPending=Ye,a.selForContextMenu=o.doc.sel,clearTimeout(a.detectingSelectAll);function Pt(){if(s.selectionStart!=null){var $t=o.somethingSelected(),xr="\u200B"+($t?s.value:"");s.value="\u21DA",s.value=xr,r.prevInput=$t?"":"\u200B",s.selectionStart=1,s.selectionEnd=xr.length,a.selForContextMenu=o.doc.sel}}function Ye(){if(r.contextMenuPending==Ye&&(r.contextMenuPending=!1,r.wrapper.style.cssText=H,s.style.cssText=M,xe&&Le<9&&a.scrollbars.setScrollTop(a.scroller.scrollTop=d),s.selectionStart!=null)){(!xe||xe&&Le<9)&&Pt();var $t=0,xr=function(){a.selForContextMenu==o.doc.sel&&s.selectionStart==0&&s.selectionEnd>0&&r.prevInput=="\u200B"?Ys(o,bi)(o):$t++<10?a.detectingSelectAll=setTimeout(xr,500):(a.selForContextMenu=null,a.input.reset())};a.detectingSelectAll=setTimeout(xr,200)}}if(xe&&Le>=9&&Pt(),$n){tr(e);var or=function(){lr(window,"mouseup",or),setTimeout(Ye,20)};Gt(window,"mouseup",or)}else setTimeout(Ye,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 Qr(e,r){if(r=r?ts(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=Kn();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&&(lr(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=lr,e.on=Gt,e.wheelEventPixels=Wl,e.Doc=Os,e.splitLines=Ee,e.countColumn=_r,e.findColumn=ct,e.isWordChar=lt,e.Pass=oi,e.signal=gn,e.Line=nn,e.changeEnd=Wa,e.scrollbarModel=Hu,e.Pos=S,e.cmpPos=Je,e.modes=Vt,e.mimeModes=nr,e.resolveMode=Yr,e.getMode=tn,e.modeExtensions=Pr,e.extendMode=kn,e.copyState=pi,e.startState=Ji,e.innerMode=yn,e.commands=b,e.keyMap=Wo,e.keyName=D,e.isModifierKey=u,e.lookupKey=t,e.normalizeKeyMap=n,e.StringStream=vi,e.SharedTextMarker=In,e.TextMarker=vr,e.LineWidget=Ri,e.e_preventDefault=Ue,e.e_stopPropagation=Bt,e.e_stop=tr,e.addClass=Yi,e.contains=Sn,e.rmClass=yi,e.keyNames=Nu}We(qe),ot(qe);var Wr="iter insert remove copy getEditor constructor".split(" ");for(var jr in Os.prototype)Os.prototype.hasOwnProperty(jr)&&yr(Wr,jr)<0&&(qe.prototype[jr]=function(e){return function(){return e.apply(this.doc,arguments)}}(Os.prototype[jr]));return Nt(Os),qe.inputStyles={textarea:It,contenteditable:Yt},qe.defineMode=function(e){!qe.defaults.mode&&e!="null"&&(qe.defaults.mode=e),Tr.apply(this,arguments)},qe.defineMIME=zr,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=Qr,ht(qe),qe.version="5.65.6",qe})})(Ul);const TD=Ul.exports;var gm={exports:{}};(function(i,c){(function(l){l(Ul.exports)})(function(l){l.defineMode("javascript",function(f,v){var B=f.indentUnit,Y=v.statementIndent,he=v.jsonld,xe=v.json||he,Le=v.trackScope!==!1,je=v.typescript,it=v.wordCharacters||/[\w$\xa1-\uffff]/,xt=function(){function S(ni){return{type:ni,style:"keyword"}}var Je=S("keyword a"),Mr=S("keyword b"),sn=S("keyword c"),ci=S("keyword d"),ss=S("operator"),Zi={type:"atom",style:"atom"};return{if:S("if"),while:Je,with:Je,else:Mr,do:Mr,try:Mr,finally:Mr,return:ci,break:ci,continue:ci,new:S("new"),delete:sn,void:sn,throw:sn,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:Zi,false:Zi,null:Zi,undefined:Zi,NaN:Zi,Infinity:Zi,this:S("this"),class:S("class"),super:S("atom"),yield:sn,export:S("export"),import:S("import"),extends:sn,await:sn}}(),Ft=/[+\-*&%=<>!?|~^@]/,Qt=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function mr(S){for(var Je=!1,Mr,sn=!1;(Mr=S.next())!=null;){if(!Je){if(Mr=="/"&&!sn)return;Mr=="["?sn=!0:sn&&Mr=="]"&&(sn=!1)}Je=!Je&&Mr=="\\"}}var Ur,wt;function jt(S,Je,Mr){return Ur=S,wt=Mr,Je}function Wt(S,Je){var Mr=S.next();if(Mr=='"'||Mr=="'")return Je.tokenize=Ar(Mr),Je.tokenize(S,Je);if(Mr=="."&&S.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return jt("number","number");if(Mr=="."&&S.match(".."))return jt("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Mr))return jt(Mr);if(Mr=="="&&S.eat(">"))return jt("=>","operator");if(Mr=="0"&&S.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return jt("number","number");if(/\d/.test(Mr))return S.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),jt("number","number");if(Mr=="/")return S.eat("*")?(Je.tokenize=an,an(S,Je)):S.eat("/")?(S.skipToEnd(),jt("comment","comment")):js(S,Je,1)?(mr(S),S.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),jt("regexp","string-2")):(S.eat("="),jt("operator","operator",S.current()));if(Mr=="`")return Je.tokenize=Vn,Vn(S,Je);if(Mr=="#"&&S.peek()=="!")return S.skipToEnd(),jt("meta","meta");if(Mr=="#"&&S.eatWhile(it))return jt("variable","property");if(Mr=="<"&&S.match("!--")||Mr=="-"&&S.match("->")&&!/\S/.test(S.string.slice(0,S.start)))return S.skipToEnd(),jt("comment","comment");if(Ft.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(".")?jt("."):jt("operator","operator",S.current());if(it.test(Mr)){S.eatWhile(it);var sn=S.current();if(Je.lastType!="."){if(xt.propertyIsEnumerable(sn)){var ci=xt[sn];return jt(ci.type,ci.style,sn)}if(sn=="async"&&S.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return jt("async","keyword",sn)}return jt("variable","variable",sn)}}function Ar(S){return function(Je,Mr){var sn=!1,ci;if(he&&Je.peek()=="@"&&Je.match(Qt))return Mr.tokenize=Wt,jt("jsonld-keyword","meta");for(;(ci=Je.next())!=null&&!(ci==S&&!sn);)sn=!sn&&ci=="\\";return sn||(Mr.tokenize=Wt),jt("string","string")}}function an(S,Je){for(var Mr=!1,sn;sn=S.next();){if(sn=="/"&&Mr){Je.tokenize=Wt;break}Mr=sn=="*"}return jt("comment","comment")}function Vn(S,Je){for(var Mr=!1,sn;(sn=S.next())!=null;){if(!Mr&&(sn=="`"||sn=="$"&&S.eat("{"))){Je.tokenize=Wt;break}Mr=!Mr&&sn=="\\"}return jt("quasi","string-2",S.current())}var An="([{}])";function gi(S,Je){Je.fatArrowAt&&(Je.fatArrowAt=null);var Mr=S.string.indexOf("=>",S.start);if(!(Mr<0)){if(je){var sn=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(S.string.slice(S.start,Mr));sn&&(Mr=sn.index)}for(var ci=0,ss=!1,Zi=Mr-1;Zi>=0;--Zi){var ni=S.string.charAt(Zi),qs=An.indexOf(ni);if(qs>=0&&qs<3){if(!ci){++Zi;break}if(--ci==0){ni=="("&&(ss=!0);break}}else if(qs>=3&&qs<6)++ci;else if(it.test(ni))ss=!0;else if(/["'\/`]/.test(ni))for(;;--Zi){if(Zi==0)return;var Jo=S.string.charAt(Zi-1);if(Jo==ni&&S.string.charAt(Zi-2)!="\\"){Zi--;break}}else if(ss&&!ci){++Zi;break}}ss&&!ci&&(Je.fatArrowAt=Zi)}}var ai={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function $n(S,Je,Mr,sn,ci,ss){this.indented=S,this.column=Je,this.type=Mr,this.prev=ci,this.info=ss,sn!=null&&(this.align=sn)}function Mn(S,Je){if(!Le)return!1;for(var Mr=S.localVars;Mr;Mr=Mr.next)if(Mr.name==Je)return!0;for(var sn=S.context;sn;sn=sn.prev)for(var Mr=sn.vars;Mr;Mr=Mr.next)if(Mr.name==Je)return!0}function yi(S,Je,Mr,sn,ci){var ss=S.cc;for(Cr.state=S,Cr.stream=ci,Cr.marked=null,Cr.cc=ss,Cr.style=Je,S.lexical.hasOwnProperty("align")||(S.lexical.align=!0);;){var Zi=ss.length?ss.pop():xe?Un:oi;if(Zi(Mr,sn)){for(;ss.length&&ss[ss.length-1].lex;)ss.pop()();return Cr.marked?Cr.marked:Mr=="variable"&&Mn(S,sn)?"variable-2":Je}}}var Cr={state:null,column:null,marked:null,cc:null};function Tn(){for(var S=arguments.length-1;S>=0;S--)Cr.cc.push(arguments[S])}function we(){return Tn.apply(null,arguments),!0}function rn(S,Je){for(var Mr=Je;Mr;Mr=Mr.next)if(Mr.name==S)return!0;return!1}function ur(S){var Je=Cr.state;if(Cr.marked="def",!!Le){if(Je.context){if(Je.lexical.info=="var"&&Je.context&&Je.context.block){var Mr=Sn(S,Je.context);if(Mr!=null){Je.context=Mr;return}}else if(!rn(S,Je.localVars)){Je.localVars=new ys(S,Je.localVars);return}}v.globalVars&&!rn(S,Je.globalVars)&&(Je.globalVars=new ys(S,Je.globalVars))}}function Sn(S,Je){if(Je)if(Je.block){var Mr=Sn(S,Je.prev);return Mr?Mr==Je.prev?Je:new Yi(Mr,Je.vars,!0):null}else return rn(S,Je.vars)?Je:new Yi(Je.prev,new ys(S,Je.vars),!1);else return null}function Kn(S){return S=="public"||S=="private"||S=="protected"||S=="abstract"||S=="readonly"}function Yi(S,Je,Mr){this.prev=S,this.vars=Je,this.block=Mr}function ys(S,Je){this.name=S,this.next=Je}var Ns=new ys("this",new ys("arguments",null));function cs(){Cr.state.context=new Yi(Cr.state.context,Cr.state.localVars,!1),Cr.state.localVars=Ns}function ts(){Cr.state.context=new Yi(Cr.state.context,Cr.state.localVars,!0),Cr.state.localVars=null}cs.lex=ts.lex=!0;function _r(){Cr.state.localVars=Cr.state.context.vars,Cr.state.context=Cr.state.context.prev}_r.lex=!0;function Kr(S,Je){var Mr=function(){var sn=Cr.state,ci=sn.indented;if(sn.lexical.type=="stat")ci=sn.lexical.indented;else for(var ss=sn.lexical;ss&&ss.type==")"&&ss.align;ss=ss.prev)ci=ss.indented;sn.lexical=new $n(ci,Cr.stream.column(),S,null,sn.lexical,Je)};return Mr.lex=!0,Mr}function yr(){var S=Cr.state;S.lexical.prev&&(S.lexical.type==")"&&(S.indented=S.lexical.indented),S.lexical=S.lexical.prev)}yr.lex=!0;function dn(S){function Je(Mr){return Mr==S?we():S==";"||Mr=="}"||Mr==")"||Mr=="]"?Tn():we(Je)}return Je}function oi(S,Je){return S=="var"?we(Kr("vardef",Je),on,dn(";"),yr):S=="keyword a"?we(Kr("form"),ct,oi,yr):S=="keyword b"?we(Kr("form"),oi,yr):S=="keyword d"?Cr.stream.match(/^\s*$/,!1)?we():we(Kr("stat"),Er,dn(";"),yr):S=="debugger"?we(dn(";")):S=="{"?we(Kr("}"),ts,qn,yr,_r):S==";"?we():S=="if"?(Cr.state.lexical.info=="else"&&Cr.state.cc[Cr.state.cc.length-1]==yr&&Cr.state.cc.pop()(),we(Kr("form"),ct,oi,yr,Ee)):S=="function"?we(yt):S=="for"?we(Kr("form"),ts,He,oi,_r,yr):S=="class"||je&&Je=="interface"?(Cr.marked="keyword",we(Kr("form",S=="class"?S:Je),Yr,yr)):S=="variable"?je&&Je=="declare"?(Cr.marked="keyword",we(oi)):je&&(Je=="module"||Je=="enum"||Je=="type")&&Cr.stream.match(/^\s*\w/,!1)?(Cr.marked="keyword",Je=="enum"?we(ti):Je=="type"?we(nr,dn("operator"),lr,dn(";")):we(Kr("form"),Rt,dn("{"),Kr("}"),qn,yr,yr)):je&&Je=="namespace"?(Cr.marked="keyword",we(Kr("form"),Un,oi,yr)):je&&Je=="abstract"?(Cr.marked="keyword",we(oi)):we(Kr("stat"),jn):S=="switch"?we(Kr("form"),ct,dn("{"),Kr("}","switch"),ts,qn,yr,yr,_r):S=="case"?we(Un,dn(":")):S=="default"?we(dn(":")):S=="catch"?we(Kr("form"),cs,Jn,oi,yr,_r):S=="export"?we(Kr("stat"),pi,yr):S=="import"?we(Kr("stat"),Ji,yr):S=="async"?we(oi):Je=="@"?we(Un,oi):Tn(Kr("stat"),Un,dn(";"),yr)}function Jn(S){if(S=="(")return we(Tr,dn(")"))}function Un(S,Je){return Ot(S,Je,!1)}function li(S,Je){return Ot(S,Je,!0)}function ct(S){return S!="("?Tn():we(Kr(")"),Er,dn(")"),yr)}function Ot(S,Je,Mr){if(Cr.state.fatArrowAt==Cr.stream.start){var sn=Mr?hn:Fn;if(S=="(")return we(cs,Kr(")"),zi(Tr,")"),yr,dn("=>"),sn,_r);if(S=="variable")return Tn(cs,Rt,dn("=>"),sn,_r)}var ci=Mr?Jr:sr;return ai.hasOwnProperty(S)?we(ci):S=="function"?we(yt,ci):S=="class"||je&&Je=="interface"?(Cr.marked="keyword",we(Kr("form"),zr,yr)):S=="keyword c"||S=="async"?we(Mr?li:Un):S=="("?we(Kr(")"),Er,dn(")"),yr,ci):S=="operator"||S=="spread"?we(Mr?li:Un):S=="["?we(Kr("]"),xi,yr,ci):S=="{"?Ls(ns,"}",null,ci):S=="quasi"?Tn(fn,ci):S=="new"?we(lt(Mr)):we()}function Er(S){return S.match(/[;\}\)\],]/)?Tn():Tn(Un)}function sr(S,Je){return S==","?we(Er):Jr(S,Je,!1)}function Jr(S,Je,Mr){var sn=Mr==!1?sr:Jr,ci=Mr==!1?Un:li;if(S=="=>")return we(cs,Mr?hn:Fn,_r);if(S=="operator")return/\+\+|--/.test(Je)||je&&Je=="!"?we(sn):je&&Je=="<"&&Cr.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?we(Kr(">"),zi(lr,">"),yr,sn):Je=="?"?we(Un,dn(":"),ci):we(ci);if(S=="quasi")return Tn(fn,sn);if(S!=";"){if(S=="(")return Ls(li,")","call",sn);if(S==".")return we(Di,sn);if(S=="[")return we(Kr("]"),Er,dn("]"),yr,sn);if(je&&Je=="as")return Cr.marked="keyword",we(lr,sn);if(S=="regexp")return Cr.state.lastType=Cr.marked="operator",Cr.stream.backUp(Cr.stream.pos-Cr.stream.start-1),we(ci)}}function fn(S,Je){return S!="quasi"?Tn():Je.slice(Je.length-2)!="${"?we(fn):we(Er,mn)}function mn(S){if(S=="}")return Cr.marked="string-2",Cr.state.tokenize=Vn,we(fn)}function Fn(S){return gi(Cr.stream,Cr.state),Tn(S=="{"?oi:Un)}function hn(S){return gi(Cr.stream,Cr.state),Tn(S=="{"?oi:li)}function lt(S){return function(Je){return Je=="."?we(S?Mt:br):Je=="variable"&&je?we(Xt,S?Jr:sr):Tn(S?li:Un)}}function br(S,Je){if(Je=="target")return Cr.marked="keyword",we(sr)}function Mt(S,Je){if(Je=="target")return Cr.marked="keyword",we(Jr)}function jn(S){return S==":"?we(yr,oi):Tn(sr,dn(";"),yr)}function Di(S){if(S=="variable")return Cr.marked="property",we()}function ns(S,Je){if(S=="async")return Cr.marked="property",we(ns);if(S=="variable"||Cr.style=="keyword"){if(Cr.marked="property",Je=="get"||Je=="set")return we(is);var Mr;return je&&Cr.state.fatArrowAt==Cr.stream.start&&(Mr=Cr.stream.match(/^\s*:\s*/,!1))&&(Cr.state.fatArrowAt=Cr.stream.pos+Mr[0].length),we(ls)}else{if(S=="number"||S=="string")return Cr.marked=he?"property":Cr.style+" property",we(ls);if(S=="jsonld-keyword")return we(ls);if(je&&Kn(Je))return Cr.marked="keyword",we(ns);if(S=="[")return we(Un,Fr,dn("]"),ls);if(S=="spread")return we(li,ls);if(Je=="*")return Cr.marked="keyword",we(ns);if(S==":")return Tn(ls)}}function is(S){return S!="variable"?Tn(ls):(Cr.marked="property",we(yt))}function ls(S){if(S==":")return we(li);if(S=="(")return Tn(yt)}function zi(S,Je,Mr){function sn(ci,ss){if(Mr?Mr.indexOf(ci)>-1:ci==","){var Zi=Cr.state.lexical;return Zi.info=="call"&&(Zi.pos=(Zi.pos||0)+1),we(function(ni,qs){return ni==Je||qs==Je?Tn():Tn(S)},sn)}return ci==Je||ss==Je?we():Mr&&Mr.indexOf(";")>-1?Tn(S):we(dn(Je))}return function(ci,ss){return ci==Je||ss==Je?we():Tn(S,sn)}}function Ls(S,Je,Mr){for(var sn=3;sn<arguments.length;sn++)Cr.cc.push(arguments[sn]);return we(Kr(Je,Mr),zi(S,Je),yr)}function qn(S){return S=="}"?we():Tn(oi,qn)}function Fr(S,Je){if(je){if(S==":")return we(lr);if(Je=="?")return we(Fr)}}function Br(S,Je){if(je&&(S==":"||Je=="in"))return we(lr)}function Gt(S){if(je&&S==":")return Cr.stream.match(/^\s*\w+\s+is\b/,!1)?we(Un,Vr,lr):we(lr)}function Vr(S,Je){if(Je=="is")return Cr.marked="keyword",we()}function lr(S,Je){if(Je=="keyof"||Je=="typeof"||Je=="infer"||Je=="readonly")return Cr.marked="keyword",we(Je=="typeof"?li:lr);if(S=="variable"||Je=="void")return Cr.marked="type",we(Bt);if(Je=="|"||Je=="&")return we(lr);if(S=="string"||S=="number"||S=="atom")return we(Bt);if(S=="[")return we(Kr("]"),zi(lr,"]",","),yr,Bt);if(S=="{")return we(Kr("}"),zt,yr,Bt);if(S=="(")return we(zi(Ue,")"),gn,Bt);if(S=="<")return we(zi(lr,">"),lr);if(S=="quasi")return Tn(wr,Bt)}function gn(S){if(S=="=>")return we(lr)}function zt(S){return S.match(/[\}\)\]]/)?we():S==","||S==";"?we(zt):Tn(Qn,zt)}function Qn(S,Je){if(S=="variable"||Cr.style=="keyword")return Cr.marked="property",we(Qn);if(Je=="?"||S=="number"||S=="string")return we(Qn);if(S==":")return we(lr);if(S=="[")return we(dn("variable"),Br,dn("]"),Qn);if(S=="(")return Tn(Vt,Qn);if(!S.match(/[;\}\)\],]/))return we()}function wr(S,Je){return S!="quasi"?Tn():Je.slice(Je.length-2)!="${"?we(wr):we(lr,Nt)}function Nt(S){if(S=="}")return Cr.marked="string-2",Cr.state.tokenize=Vn,we(wr)}function Ue(S,Je){return S=="variable"&&Cr.stream.match(/^\s*[?:]/,!1)||Je=="?"?we(Ue):S==":"?we(lr):S=="spread"?we(Ue):Tn(lr)}function Bt(S,Je){if(Je=="<")return we(Kr(">"),zi(lr,">"),yr,Bt);if(Je=="|"||S=="."||Je=="&")return we(lr);if(S=="[")return we(lr,dn("]"),Bt);if(Je=="extends"||Je=="implements")return Cr.marked="keyword",we(lr);if(Je=="?")return we(lr,dn(":"),lr)}function Xt(S,Je){if(Je=="<")return we(Kr(">"),zi(lr,">"),yr,Bt)}function tr(){return Tn(lr,Rr)}function Rr(S,Je){if(Je=="=")return we(lr)}function on(S,Je){return Je=="enum"?(Cr.marked="keyword",we(ti)):Tn(Rt,Fr,de,be)}function Rt(S,Je){if(je&&Kn(Je))return Cr.marked="keyword",we(Rt);if(S=="variable")return ur(Je),we();if(S=="spread")return we(Rt);if(S=="[")return Ls(ce,"]");if(S=="{")return Ls(Ie,"}")}function Ie(S,Je){return S=="variable"&&!Cr.stream.match(/^\s*:/,!1)?(ur(Je),we(de)):(S=="variable"&&(Cr.marked="property"),S=="spread"?we(Rt):S=="}"?Tn():S=="["?we(Un,dn("]"),dn(":"),Ie):we(dn(":"),Rt,de))}function ce(){return Tn(Rt,de)}function de(S,Je){if(Je=="=")return we(li)}function be(S){if(S==",")return we(on)}function Ee(S,Je){if(S=="keyword b"&&Je=="else")return we(Kr("form","else"),oi,yr)}function He(S,Je){if(Je=="await")return we(He);if(S=="(")return we(Kr(")"),et,yr)}function et(S){return S=="var"?we(on,st):S=="variable"?we(st):Tn(st)}function st(S,Je){return S==")"?we():S==";"?we(st):Je=="in"||Je=="of"?(Cr.marked="keyword",we(Un,st)):Tn(Un,st)}function yt(S,Je){if(Je=="*")return Cr.marked="keyword",we(yt);if(S=="variable")return ur(Je),we(yt);if(S=="(")return we(cs,Kr(")"),zi(Tr,")"),yr,Gt,oi,_r);if(je&&Je=="<")return we(Kr(">"),zi(tr,">"),yr,yt)}function Vt(S,Je){if(Je=="*")return Cr.marked="keyword",we(Vt);if(S=="variable")return ur(Je),we(Vt);if(S=="(")return we(cs,Kr(")"),zi(Tr,")"),yr,Gt,_r);if(je&&Je=="<")return we(Kr(">"),zi(tr,">"),yr,Vt)}function nr(S,Je){if(S=="keyword"||S=="variable")return Cr.marked="type",we(nr);if(Je=="<")return we(Kr(">"),zi(tr,">"),yr)}function Tr(S,Je){return Je=="@"&&we(Un,Tr),S=="spread"?we(Tr):je&&Kn(Je)?(Cr.marked="keyword",we(Tr)):je&&S=="this"?we(Fr,de):Tn(Rt,Fr,de)}function zr(S,Je){return S=="variable"?Yr(S,Je):tn(S,Je)}function Yr(S,Je){if(S=="variable")return ur(Je),we(tn)}function tn(S,Je){if(Je=="<")return we(Kr(">"),zi(tr,">"),yr,tn);if(Je=="extends"||Je=="implements"||je&&S==",")return Je=="implements"&&(Cr.marked="keyword"),we(je?lr:Un,tn);if(S=="{")return we(Kr("}"),Pr,yr)}function Pr(S,Je){if(S=="async"||S=="variable"&&(Je=="static"||Je=="get"||Je=="set"||je&&Kn(Je))&&Cr.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return Cr.marked="keyword",we(Pr);if(S=="variable"||Cr.style=="keyword")return Cr.marked="property",we(kn,Pr);if(S=="number"||S=="string")return we(kn,Pr);if(S=="[")return we(Un,Fr,dn("]"),kn,Pr);if(Je=="*")return Cr.marked="keyword",we(Pr);if(je&&S=="(")return Tn(Vt,Pr);if(S==";"||S==",")return we(Pr);if(S=="}")return we();if(Je=="@")return we(Un,Pr)}function kn(S,Je){if(Je=="!"||Je=="?")return we(kn);if(S==":")return we(lr,de);if(Je=="=")return we(li);var Mr=Cr.state.lexical.prev,sn=Mr&&Mr.info=="interface";return Tn(sn?Vt:yt)}function pi(S,Je){return Je=="*"?(Cr.marked="keyword",we(Li,dn(";"))):Je=="default"?(Cr.marked="keyword",we(Un,dn(";"))):S=="{"?we(zi(yn,"}"),Li,dn(";")):Tn(oi)}function yn(S,Je){if(Je=="as")return Cr.marked="keyword",we(dn("variable"));if(S=="variable")return Tn(li,yn)}function Ji(S){return S=="string"?we():S=="("?Tn(Un):S=="."?Tn(sr):Tn(vi,Xe,Li)}function vi(S,Je){return S=="{"?Ls(vi,"}"):(S=="variable"&&ur(Je),Je=="*"&&(Cr.marked="keyword"),we(Ds))}function Xe(S){if(S==",")return we(vi,Xe)}function Ds(S,Je){if(Je=="as")return Cr.marked="keyword",we(vi)}function Li(S,Je){if(Je=="from")return Cr.marked="keyword",we(Un)}function xi(S){return S=="]"?we():Tn(zi(li,"]"))}function ti(){return Tn(Kr("form"),Rt,dn("{"),Kr("}"),zi(Gn,"}"),yr,yr)}function Gn(){return Tn(Rt,de)}function $s(S,Je){return S.lastType=="operator"||S.lastType==","||Ft.test(Je.charAt(0))||/[,.]/.test(Je.charAt(0))}function js(S,Je,Mr){return Je.tokenize==Wt&&/^(?: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:Wt,lastType:"sof",cc:[],lexical:new $n((S||0)-B,0,"block",!1),localVars:v.localVars,context:v.localVars&&new Yi(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(),gi(S,Je)),Je.tokenize!=an&&S.eatSpace())return null;var Mr=Je.tokenize(S,Je);return Ur=="comment"?Mr:(Je.lastType=Ur=="operator"&&(wt=="++"||wt=="--")?"incdec":Ur,yi(Je,Mr,Ur,wt,S))},indent:function(S,Je){if(S.tokenize==an||S.tokenize==Vn)return l.Pass;if(S.tokenize!=Wt)return 0;var Mr=Je&&Je.charAt(0),sn=S.lexical,ci;if(!/^\s*else\b/.test(Je))for(var ss=S.cc.length-1;ss>=0;--ss){var Zi=S.cc[ss];if(Zi==yr)sn=sn.prev;else if(Zi!=Ee&&Zi!=_r)break}for(;(sn.type=="stat"||sn.type=="form")&&(Mr=="}"||(ci=S.cc[S.cc.length-1])&&(ci==sr||ci==Jr)&&!/^[,\.=+\-*:?[\(]/.test(Je));)sn=sn.prev;Y&&sn.type==")"&&sn.prev.type=="stat"&&(sn=sn.prev);var ni=sn.type,qs=Mr==ni;return ni=="vardef"?sn.indented+(S.lastType=="operator"||S.lastType==","?sn.info.length+1:0):ni=="form"&&Mr=="{"?sn.indented:ni=="form"?sn.indented+B:ni=="stat"?sn.indented+($s(S,Je)?Y||B:0):sn.info=="switch"&&!qs&&v.doubleIndentSwitch!=!1?sn.indented+(/^(?:case|default)\b/.test(Je)?B:2*B):sn.align?sn.column+(qs?0:1):sn.indented+(qs?0:B)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:xe?null:"/*",blockCommentEnd:xe?null:"*/",blockCommentContinue:xe?null:" * ",lineComment:xe?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:xe?"json":"javascript",jsonldMode:he,jsonMode:xe,expressionAllowed:js,skipExpression:function(S){yi(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 SD={exports:{}};(function(i,c){(function(l){l(Ul.exports)})(function(l){l.defineMode("css",function($n,Mn){var yi=Mn.inline;Mn.propertyKeywords||(Mn=l.resolveMode("text/css"));var Cr=$n.indentUnit,Tn=Mn.tokenHooks,we=Mn.documentTypes||{},rn=Mn.mediaTypes||{},ur=Mn.mediaFeatures||{},Sn=Mn.mediaValueKeywords||{},Kn=Mn.propertyKeywords||{},Yi=Mn.nonStandardPropertyKeywords||{},ys=Mn.fontProperties||{},Ns=Mn.counterDescriptors||{},cs=Mn.colorKeywords||{},ts=Mn.valueKeywords||{},_r=Mn.allowNested,Kr=Mn.lineComment,yr=Mn.supportsAtComponent===!0,dn=$n.highlightNonStandardPropertyKeywords!==!1,oi,Jn;function Un(lt,br){return oi=br,lt}function li(lt,br){var Mt=lt.next();if(Tn[Mt]){var jn=Tn[Mt](lt,br);if(jn!==!1)return jn}if(Mt=="@")return lt.eatWhile(/[\w\\\-]/),Un("def",lt.current());if(Mt=="="||(Mt=="~"||Mt=="|")&<.eat("="))return Un(null,"compare");if(Mt=='"'||Mt=="'")return br.tokenize=ct(Mt),br.tokenize(lt,br);if(Mt=="#")return lt.eatWhile(/[\w\\\-]/),Un("atom","hash");if(Mt=="!")return lt.match(/^\s*\w*/),Un("keyword","important");if(/\d/.test(Mt)||Mt=="."&<.eat(/\d/))return lt.eatWhile(/[\w.%]/),Un("number","unit");if(Mt==="-"){if(/[\d.]/.test(lt.peek()))return lt.eatWhile(/[\w.%]/),Un("number","unit");if(lt.match(/^-[\w\\\-]*/))return lt.eatWhile(/[\w\\\-]/),lt.match(/^\s*:/,!1)?Un("variable-2","variable-definition"):Un("variable-2","variable");if(lt.match(/^\w+-/))return Un("meta","meta")}else return/[,+>*\/]/.test(Mt)?Un(null,"select-op"):Mt=="."&<.match(/^-?[_a-z][_a-z0-9-]*/i)?Un("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(Mt)?Un(null,Mt):lt.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(lt.current())&&(br.tokenize=Ot),Un("variable callee","variable")):/[\w\\\-]/.test(Mt)?(lt.eatWhile(/[\w\\\-]/),Un("property","word")):Un(null,null)}function ct(lt){return function(br,Mt){for(var jn=!1,Di;(Di=br.next())!=null;){if(Di==lt&&!jn){lt==")"&&br.backUp(1);break}jn=!jn&&Di=="\\"}return(Di==lt||!jn&<!=")")&&(Mt.tokenize=null),Un("string","string")}}function Ot(lt,br){return lt.next(),lt.match(/^\s*[\"\')]/,!1)?br.tokenize=null:br.tokenize=ct(")"),Un(null,"(")}function Er(lt,br,Mt){this.type=lt,this.indent=br,this.prev=Mt}function sr(lt,br,Mt,jn){return lt.context=new Er(Mt,br.indentation()+(jn===!1?0:Cr),lt.context),Mt}function Jr(lt){return lt.context.prev&&(lt.context=lt.context.prev),lt.context.type}function fn(lt,br,Mt){return hn[Mt.context.type](lt,br,Mt)}function mn(lt,br,Mt,jn){for(var Di=jn||1;Di>0;Di--)Mt.context=Mt.context.prev;return fn(lt,br,Mt)}function Fn(lt){var br=lt.current().toLowerCase();ts.hasOwnProperty(br)?Jn="atom":cs.hasOwnProperty(br)?Jn="keyword":Jn="variable"}var hn={};return hn.top=function(lt,br,Mt){if(lt=="{")return sr(Mt,br,"block");if(lt=="}"&&Mt.context.prev)return Jr(Mt);if(yr&&/@component/i.test(lt))return sr(Mt,br,"atComponentBlock");if(/^@(-moz-)?document$/i.test(lt))return sr(Mt,br,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(lt))return sr(Mt,br,"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,br,"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,br,"interpolation");if(lt==":")return"pseudo";if(_r&<=="(")return sr(Mt,br,"parens")}return Mt.context.type},hn.block=function(lt,br,Mt){if(lt=="word"){var jn=br.current().toLowerCase();return Kn.hasOwnProperty(jn)?(Jn="property","maybeprop"):Yi.hasOwnProperty(jn)?(Jn=dn?"string-2":"property","maybeprop"):_r?(Jn=br.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(Jn+=" error","maybeprop")}else return lt=="meta"?"block":!_r&&(lt=="hash"||lt=="qualifier")?(Jn="error","block"):hn.top(lt,br,Mt)},hn.maybeprop=function(lt,br,Mt){return lt==":"?sr(Mt,br,"prop"):fn(lt,br,Mt)},hn.prop=function(lt,br,Mt){if(lt==";")return Jr(Mt);if(lt=="{"&&_r)return sr(Mt,br,"propBlock");if(lt=="}"||lt=="{")return mn(lt,br,Mt);if(lt=="(")return sr(Mt,br,"parens");if(lt=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(br.current()))Jn+=" error";else if(lt=="word")Fn(br);else if(lt=="interpolation")return sr(Mt,br,"interpolation");return"prop"},hn.propBlock=function(lt,br,Mt){return lt=="}"?Jr(Mt):lt=="word"?(Jn="property","maybeprop"):Mt.context.type},hn.parens=function(lt,br,Mt){return lt=="{"||lt=="}"?mn(lt,br,Mt):lt==")"?Jr(Mt):lt=="("?sr(Mt,br,"parens"):lt=="interpolation"?sr(Mt,br,"interpolation"):(lt=="word"&&Fn(br),"parens")},hn.pseudo=function(lt,br,Mt){return lt=="meta"?"pseudo":lt=="word"?(Jn="variable-3",Mt.context.type):fn(lt,br,Mt)},hn.documentTypes=function(lt,br,Mt){return lt=="word"&&we.hasOwnProperty(br.current())?(Jn="tag",Mt.context.type):hn.atBlock(lt,br,Mt)},hn.atBlock=function(lt,br,Mt){if(lt=="(")return sr(Mt,br,"atBlock_parens");if(lt=="}"||lt==";")return mn(lt,br,Mt);if(lt=="{")return Jr(Mt)&&sr(Mt,br,_r?"block":"top");if(lt=="interpolation")return sr(Mt,br,"interpolation");if(lt=="word"){var jn=br.current().toLowerCase();jn=="only"||jn=="not"||jn=="and"||jn=="or"?Jn="keyword":rn.hasOwnProperty(jn)?Jn="attribute":ur.hasOwnProperty(jn)?Jn="property":Sn.hasOwnProperty(jn)?Jn="keyword":Kn.hasOwnProperty(jn)?Jn="property":Yi.hasOwnProperty(jn)?Jn=dn?"string-2":"property":ts.hasOwnProperty(jn)?Jn="atom":cs.hasOwnProperty(jn)?Jn="keyword":Jn="error"}return Mt.context.type},hn.atComponentBlock=function(lt,br,Mt){return lt=="}"?mn(lt,br,Mt):lt=="{"?Jr(Mt)&&sr(Mt,br,_r?"block":"top",!1):(lt=="word"&&(Jn="error"),Mt.context.type)},hn.atBlock_parens=function(lt,br,Mt){return lt==")"?Jr(Mt):lt=="{"||lt=="}"?mn(lt,br,Mt,2):hn.atBlock(lt,br,Mt)},hn.restricted_atBlock_before=function(lt,br,Mt){return lt=="{"?sr(Mt,br,"restricted_atBlock"):lt=="word"&&Mt.stateArg=="@counter-style"?(Jn="variable","restricted_atBlock_before"):fn(lt,br,Mt)},hn.restricted_atBlock=function(lt,br,Mt){return lt=="}"?(Mt.stateArg=null,Jr(Mt)):lt=="word"?(Mt.stateArg=="@font-face"&&!ys.hasOwnProperty(br.current().toLowerCase())||Mt.stateArg=="@counter-style"&&!Ns.hasOwnProperty(br.current().toLowerCase())?Jn="error":Jn="property","maybeprop"):"restricted_atBlock"},hn.keyframes=function(lt,br,Mt){return lt=="word"?(Jn="variable","keyframes"):lt=="{"?sr(Mt,br,"top"):fn(lt,br,Mt)},hn.at=function(lt,br,Mt){return lt==";"?Jr(Mt):lt=="{"||lt=="}"?mn(lt,br,Mt):(lt=="word"?Jn="tag":lt=="hash"&&(Jn="builtin"),"at")},hn.interpolation=function(lt,br,Mt){return lt=="}"?Jr(Mt):lt=="{"||lt==";"?mn(lt,br,Mt):(lt=="word"?Jn="variable":lt!="variable"&<!="("&<!=")"&&(Jn="error"),"interpolation")},{startState:function(lt){return{tokenize:null,state:yi?"block":"top",stateArg:null,context:new Er(yi?"block":"top",lt||0,null)}},token:function(lt,br){if(!br.tokenize&<.eatSpace())return null;var Mt=(br.tokenize||li)(lt,br);return Mt&&typeof Mt=="object"&&(oi=Mt[1],Mt=Mt[0]),Jn=Mt,oi!="comment"&&(br.state=hn[br.state](oi,lt,br)),Jn},indent:function(lt,br){var Mt=lt.context,jn=br&&br.charAt(0),Di=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,Di=Mt.indent):(jn==")"&&(Mt.type=="parens"||Mt.type=="atBlock_parens")||jn=="{"&&(Mt.type=="at"||Mt.type=="atBlock"))&&(Di=Math.max(0,Mt.indent-Cr))),Di},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Kr,fold:"brace"}});function f($n){for(var Mn={},yi=0;yi<$n.length;++yi)Mn[$n[yi].toLowerCase()]=!0;return Mn}var v=["domain","regexp","url","url-prefix"],B=f(v),Y=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],he=f(Y),xe=["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(xe),je=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],it=f(je),xt=["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"],Ft=f(xt),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"],mr=f(Qt),Ur=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],wt=f(Ur),jt=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],Wt=f(jt),Ar=["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"],an=f(Ar),Vn=["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"],An=f(Vn),gi=v.concat(Y).concat(xe).concat(je).concat(xt).concat(Qt).concat(Ar).concat(Vn);l.registerHelper("hintWords","css",gi);function ai($n,Mn){for(var yi=!1,Cr;(Cr=$n.next())!=null;){if(yi&&Cr=="/"){Mn.tokenize=null;break}yi=Cr=="*"}return["comment","comment"]}l.defineMIME("text/css",{documentTypes:B,mediaTypes:he,mediaFeatures:Le,mediaValueKeywords:it,propertyKeywords:Ft,nonStandardPropertyKeywords:mr,fontProperties:wt,counterDescriptors:Wt,colorKeywords:an,valueKeywords:An,tokenHooks:{"/":function($n,Mn){return $n.eat("*")?(Mn.tokenize=ai,ai($n,Mn)):!1}},name:"css"}),l.defineMIME("text/x-scss",{mediaTypes:he,mediaFeatures:Le,mediaValueKeywords:it,propertyKeywords:Ft,nonStandardPropertyKeywords:mr,colorKeywords:an,valueKeywords:An,fontProperties:wt,allowNested:!0,lineComment:"//",tokenHooks:{"/":function($n,Mn){return $n.eat("/")?($n.skipToEnd(),["comment","comment"]):$n.eat("*")?(Mn.tokenize=ai,ai($n,Mn)):["operator","operator"]},":":function($n){return $n.match(/^\s*\{/,!1)?[null,null]:!1},$:function($n){return $n.match(/^[\w-]+/),$n.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function($n){return $n.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),l.defineMIME("text/x-less",{mediaTypes:he,mediaFeatures:Le,mediaValueKeywords:it,propertyKeywords:Ft,nonStandardPropertyKeywords:mr,colorKeywords:an,valueKeywords:An,fontProperties:wt,allowNested:!0,lineComment:"//",tokenHooks:{"/":function($n,Mn){return $n.eat("/")?($n.skipToEnd(),["comment","comment"]):$n.eat("*")?(Mn.tokenize=ai,ai($n,Mn)):["operator","operator"]},"@":function($n){return $n.eat("{")?[null,"interpolation"]:$n.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:($n.eatWhile(/[\w\\\-]/),$n.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:he,mediaFeatures:Le,propertyKeywords:Ft,nonStandardPropertyKeywords:mr,fontProperties:wt,counterDescriptors:Wt,colorKeywords:an,valueKeywords:An,supportsAtComponent:!0,tokenHooks:{"/":function($n,Mn){return $n.eat("*")?(Mn.tokenize=ai,ai($n,Mn)):!1}},name:"css",helperType:"gss"})})})();var ym={exports:{}};(function(i,c){(function(l){l(Ul.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,Y){var he=B.indentUnit,xe={},Le=Y.htmlMode?f:v;for(var je in Le)xe[je]=Le[je];for(var je in Y)xe[je]=Y[je];var it,xt;function Ft(we,rn){function ur(Yi){return rn.tokenize=Yi,Yi(we,rn)}var Sn=we.next();if(Sn=="<")return we.eat("!")?we.eat("[")?we.match("CDATA[")?ur(Ur("atom","]]>")):null:we.match("--")?ur(Ur("comment","-->")):we.match("DOCTYPE",!0,!0)?(we.eatWhile(/[\w\._\-]/),ur(wt(1))):null:we.eat("?")?(we.eatWhile(/[\w\._\-]/),rn.tokenize=Ur("meta","?>"),"meta"):(it=we.eat("/")?"closeTag":"openTag",rn.tokenize=Qt,"tag bracket");if(Sn=="&"){var Kn;return we.eat("#")?we.eat("x")?Kn=we.eatWhile(/[a-fA-F\d]/)&&we.eat(";"):Kn=we.eatWhile(/[\d]/)&&we.eat(";"):Kn=we.eatWhile(/[\w\.\-:]/)&&we.eat(";"),Kn?"atom":"error"}else return we.eatWhile(/[^&<]/),null}Ft.isInText=!0;function Qt(we,rn){var ur=we.next();if(ur==">"||ur=="/"&&we.eat(">"))return rn.tokenize=Ft,it=ur==">"?"endTag":"selfcloseTag","tag bracket";if(ur=="=")return it="equals",null;if(ur=="<"){rn.tokenize=Ft,rn.state=Vn,rn.tagName=rn.tagStart=null;var Sn=rn.tokenize(we,rn);return Sn?Sn+" tag error":"tag error"}else return/[\'\"]/.test(ur)?(rn.tokenize=mr(ur),rn.stringStartCol=we.column(),rn.tokenize(we,rn)):(we.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function mr(we){var rn=function(ur,Sn){for(;!ur.eol();)if(ur.next()==we){Sn.tokenize=Qt;break}return"string"};return rn.isInAttribute=!0,rn}function Ur(we,rn){return function(ur,Sn){for(;!ur.eol();){if(ur.match(rn)){Sn.tokenize=Ft;break}ur.next()}return we}}function wt(we){return function(rn,ur){for(var Sn;(Sn=rn.next())!=null;){if(Sn=="<")return ur.tokenize=wt(we+1),ur.tokenize(rn,ur);if(Sn==">")if(we==1){ur.tokenize=Ft;break}else return ur.tokenize=wt(we-1),ur.tokenize(rn,ur)}return"meta"}}function jt(we){return we&&we.toLowerCase()}function Wt(we,rn,ur){this.prev=we.context,this.tagName=rn||"",this.indent=we.indented,this.startOfLine=ur,(xe.doNotIndent.hasOwnProperty(rn)||we.context&&we.context.noIndent)&&(this.noIndent=!0)}function Ar(we){we.context&&(we.context=we.context.prev)}function an(we,rn){for(var ur;;){if(!we.context||(ur=we.context.tagName,!xe.contextGrabbers.hasOwnProperty(jt(ur))||!xe.contextGrabbers[jt(ur)].hasOwnProperty(jt(rn))))return;Ar(we)}}function Vn(we,rn,ur){return we=="openTag"?(ur.tagStart=rn.column(),An):we=="closeTag"?gi:Vn}function An(we,rn,ur){return we=="word"?(ur.tagName=rn.current(),xt="tag",Mn):xe.allowMissingTagName&&we=="endTag"?(xt="tag bracket",Mn(we,rn,ur)):(xt="error",An)}function gi(we,rn,ur){if(we=="word"){var Sn=rn.current();return ur.context&&ur.context.tagName!=Sn&&xe.implicitlyClosed.hasOwnProperty(jt(ur.context.tagName))&&Ar(ur),ur.context&&ur.context.tagName==Sn||xe.matchClosing===!1?(xt="tag",ai):(xt="tag error",$n)}else return xe.allowMissingTagName&&we=="endTag"?(xt="tag bracket",ai(we,rn,ur)):(xt="error",$n)}function ai(we,rn,ur){return we!="endTag"?(xt="error",ai):(Ar(ur),Vn)}function $n(we,rn,ur){return xt="error",ai(we,rn,ur)}function Mn(we,rn,ur){if(we=="word")return xt="attribute",yi;if(we=="endTag"||we=="selfcloseTag"){var Sn=ur.tagName,Kn=ur.tagStart;return ur.tagName=ur.tagStart=null,we=="selfcloseTag"||xe.autoSelfClosers.hasOwnProperty(jt(Sn))?an(ur,Sn):(an(ur,Sn),ur.context=new Wt(ur,Sn,Kn==ur.indented)),Vn}return xt="error",Mn}function yi(we,rn,ur){return we=="equals"?Cr:(xe.allowMissing||(xt="error"),Mn(we,rn,ur))}function Cr(we,rn,ur){return we=="string"?Tn:we=="word"&&xe.allowUnquoted?(xt="string",Mn):(xt="error",Mn(we,rn,ur))}function Tn(we,rn,ur){return we=="string"?Tn:Mn(we,rn,ur)}return{startState:function(we){var rn={tokenize:Ft,state:Vn,indented:we||0,tagName:null,tagStart:null,context:null};return we!=null&&(rn.baseIndent=we),rn},token:function(we,rn){if(!rn.tagName&&we.sol()&&(rn.indented=we.indentation()),we.eatSpace())return null;it=null;var ur=rn.tokenize(we,rn);return(ur||it)&&ur!="comment"&&(xt=null,rn.state=rn.state(it||ur,we,rn),xt&&(ur=xt=="error"?ur+" error":xt)),ur},indent:function(we,rn,ur){var Sn=we.context;if(we.tokenize.isInAttribute)return we.tagStart==we.indented?we.stringStartCol+1:we.indented+he;if(Sn&&Sn.noIndent)return l.Pass;if(we.tokenize!=Qt&&we.tokenize!=Ft)return ur?ur.match(/^(\s*)/)[0].length:0;if(we.tagName)return xe.multilineTagIndentPastTag!==!1?we.tagStart+we.tagName.length+2:we.tagStart+he*(xe.multilineTagIndentFactor||1);if(xe.alignCDATA&&/<!\[CDATA\[/.test(rn))return 0;var Kn=rn&&/^<(\/)?([\w_:\.-]*)/.exec(rn);if(Kn&&Kn[1])for(;Sn;)if(Sn.tagName==Kn[2]){Sn=Sn.prev;break}else if(xe.implicitlyClosed.hasOwnProperty(jt(Sn.tagName)))Sn=Sn.prev;else break;else if(Kn)for(;Sn;){var Yi=xe.contextGrabbers[jt(Sn.tagName)];if(Yi&&Yi.hasOwnProperty(jt(Kn[2])))Sn=Sn.prev;else break}for(;Sn&&Sn.prev&&!Sn.startOfLine;)Sn=Sn.prev;return Sn?Sn.indent+he:we.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:xe.htmlMode?"html":"xml",helperType:xe.htmlMode?"html":"xml",skipAttribute:function(we){we.state==Cr&&(we.state=Mn)},xmlCurrentTag:function(we){return we.tagName?{name:we.tagName,close:we.type=="closeTag"}:null},xmlCurrentContext:function(we){for(var rn=[],ur=we.context;ur;ur=ur.prev)rn.push(ur.tagName);return rn.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(Ul.exports,ym.exports,gm.exports,SD.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,xt,Ft){var Qt=it.current(),mr=Qt.search(xt);return mr>-1?it.backUp(Qt.length-mr):Qt.match(/<\/?$/)&&(it.backUp(Qt.length),it.match(xt,!1)||it.match(Qt)),Ft}var B={};function Y(it){var xt=B[it];return xt||(B[it]=new RegExp("\\s+"+it+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function he(it,xt){var Ft=it.match(Y(xt));return Ft?/^\s*(.*?)\s*$/.exec(Ft[2])[1]:""}function xe(it,xt){return new RegExp((xt?"^":"")+"</\\s*"+it+"\\s*>","i")}function Le(it,xt){for(var Ft in it)for(var Qt=xt[Ft]||(xt[Ft]=[]),mr=it[Ft],Ur=mr.length-1;Ur>=0;Ur--)Qt.unshift(mr[Ur])}function je(it,xt){for(var Ft=0;Ft<it.length;Ft++){var Qt=it[Ft];if(!Qt[0]||Qt[1].test(he(xt,Qt[0])))return Qt[2]}}l.defineMode("htmlmixed",function(it,xt){var Ft=l.getMode(it,{name:"xml",htmlMode:!0,multilineTagIndentFactor:xt.multilineTagIndentFactor,multilineTagIndentPastTag:xt.multilineTagIndentPastTag,allowMissingTagName:xt.allowMissingTagName}),Qt={},mr=xt&&xt.tags,Ur=xt&&xt.scriptTypes;if(Le(f,Qt),mr&&Le(mr,Qt),Ur)for(var wt=Ur.length-1;wt>=0;wt--)Qt.script.unshift(["type",Ur[wt].matches,Ur[wt].mode]);function jt(Wt,Ar){var an=Ft.token(Wt,Ar.htmlState),Vn=/\btag\b/.test(an),An;if(Vn&&!/[<>\s\/]/.test(Wt.current())&&(An=Ar.htmlState.tagName&&Ar.htmlState.tagName.toLowerCase())&&Qt.hasOwnProperty(An))Ar.inTag=An+" ";else if(Ar.inTag&&Vn&&/>$/.test(Wt.current())){var gi=/^([\S]+) (.*)/.exec(Ar.inTag);Ar.inTag=null;var ai=Wt.current()==">"&&je(Qt[gi[1]],gi[2]),$n=l.getMode(it,ai),Mn=xe(gi[1],!0),yi=xe(gi[1],!1);Ar.token=function(Cr,Tn){return Cr.match(Mn,!1)?(Tn.token=jt,Tn.localState=Tn.localMode=null,null):v(Cr,yi,Tn.localMode.token(Cr,Tn.localState))},Ar.localMode=$n,Ar.localState=l.startState($n,Ft.indent(Ar.htmlState,"",""))}else Ar.inTag&&(Ar.inTag+=Wt.current(),Wt.eol()&&(Ar.inTag+=" "));return an}return{startState:function(){var Wt=l.startState(Ft);return{token:jt,inTag:null,localMode:null,localState:null,htmlState:Wt}},copyState:function(Wt){var Ar;return Wt.localState&&(Ar=l.copyState(Wt.localMode,Wt.localState)),{token:Wt.token,inTag:Wt.inTag,localMode:Wt.localMode,localState:Ar,htmlState:l.copyState(Ft,Wt.htmlState)}},token:function(Wt,Ar){return Ar.token(Wt,Ar)},indent:function(Wt,Ar,an){return!Wt.localMode||/^\s*<\//.test(Ar)?Ft.indent(Wt.htmlState,Ar,an):Wt.localMode.indent?Wt.localMode.indent(Wt.localState,Ar,an):l.Pass},innerMode:function(Wt){return{state:Wt.localState||Wt.htmlState,mode:Wt.localMode||Ft}}}},"xml","javascript","css"),l.defineMIME("text/html","htmlmixed")})})();(function(i,c){(function(l){l(Ul.exports,ym.exports,gm.exports)})(function(l){function f(B,Y,he,xe){this.state=B,this.mode=Y,this.depth=he,this.prev=xe}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,Y){var he=l.getMode(B,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),xe=l.getMode(B,Y&&Y.base||"javascript");function Le(Ft){var Qt=Ft.tagName;Ft.tagName=null;var mr=he.indent(Ft,"","");return Ft.tagName=Qt,mr}function je(Ft,Qt){return Qt.context.mode==he?it(Ft,Qt,Qt.context):xt(Ft,Qt,Qt.context)}function it(Ft,Qt,mr){if(mr.depth==2)return Ft.match(/^.*?\*\//)?mr.depth=1:Ft.skipToEnd(),"comment";if(Ft.peek()=="{"){he.skipAttribute(mr.state);var Ur=Le(mr.state),wt=mr.state.context;if(wt&&Ft.match(/^[^>]*>\s*$/,!1)){for(;wt.prev&&!wt.startOfLine;)wt=wt.prev;wt.startOfLine?Ur-=B.indentUnit:mr.prev.state.lexical&&(Ur=mr.prev.state.lexical.indented)}else mr.depth==1&&(Ur+=B.indentUnit);return Qt.context=new f(l.startState(xe,Ur),xe,0,Qt.context),null}if(mr.depth==1){if(Ft.peek()=="<")return he.skipAttribute(mr.state),Qt.context=new f(l.startState(he,Le(mr.state)),he,0,Qt.context),null;if(Ft.match("//"))return Ft.skipToEnd(),"comment";if(Ft.match("/*"))return mr.depth=2,je(Ft,Qt)}var jt=he.token(Ft,mr.state),Wt=Ft.current(),Ar;return/\btag\b/.test(jt)?/>$/.test(Wt)?mr.state.context?mr.depth=0:Qt.context=Qt.context.prev:/^</.test(Wt)&&(mr.depth=1):!jt&&(Ar=Wt.indexOf("{"))>-1&&Ft.backUp(Wt.length-Ar),jt}function xt(Ft,Qt,mr){if(Ft.peek()=="<"&&xe.expressionAllowed(Ft,mr.state))return Qt.context=new f(l.startState(he,xe.indent(mr.state,"","")),he,0,Qt.context),xe.skipExpression(mr.state),null;var Ur=xe.token(Ft,mr.state);if(!Ur&&mr.depth!=null){var wt=Ft.current();wt=="{"?mr.depth++:wt=="}"&&--mr.depth==0&&(Qt.context=Qt.context.prev)}return Ur}return{startState:function(){return{context:new f(l.startState(xe),xe)}},copyState:function(Ft){return{context:v(Ft.context)}},token:je,indent:function(Ft,Qt,mr){return Ft.context.mode.indent(Ft.context.state,Qt,mr)},innerMode:function(Ft){return Ft.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(Ul.exports)})(function(l){l.defineOption("placeholder","",function(Le,je,it){var xt=it&&it!=l.Init;if(je&&!xt)Le.on("blur",Y),Le.on("change",he),Le.on("swapDoc",he),l.on(Le.getInputField(),"compositionupdate",Le.state.placeholderCompose=function(){B(Le)}),he(Le);else if(!je&&xt){Le.off("blur",Y),Le.off("change",he),Le.off("swapDoc",he),l.off(Le.getInputField(),"compositionupdate",Le.state.placeholderCompose),f(Le);var Ft=Le.getWrapperElement();Ft.className=Ft.className.replace(" CodeMirror-empty","")}je&&!Le.hasFocus()&&Y(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 je=Le.state.placeholder=document.createElement("pre");je.style.cssText="height: 0; overflow: visible",je.style.direction=Le.getOption("direction"),je.className="CodeMirror-placeholder CodeMirror-line-like";var it=Le.getOption("placeholder");typeof it=="string"&&(it=document.createTextNode(it)),je.appendChild(it),Le.display.lineSpace.insertBefore(je,Le.display.lineSpace.firstChild)}function B(Le){setTimeout(function(){var je=!1;if(Le.lineCount()==1){var it=Le.getInputField();je=it.nodeName=="TEXTAREA"?!Le.getLine(0).length:!/[^\u200b]/.test(it.querySelector(".CodeMirror-line").textContent)}je?v(Le):f(Le)},20)}function Y(Le){xe(Le)&&v(Le)}function he(Le){var je=Le.getWrapperElement(),it=xe(Le);je.className=je.className.replace(" CodeMirror-empty","")+(it?" CodeMirror-empty":""),it?v(Le):f(Le)}function xe(Le){return Le.lineCount()===1&&Le.getLine(0)===""}})})();(function(i,c){(function(l){l(Ul.exports)})(function(l){var f="CodeMirror-hint",v="CodeMirror-hint-active";l.showHint=function(wt,jt,Wt){if(!jt)return wt.showHint(Wt);Wt&&Wt.async&&(jt.async=!0);var Ar={hint:jt};if(Wt)for(var an in Wt)Ar[an]=Wt[an];return wt.showHint(Ar)},l.defineExtension("showHint",function(wt){wt=xe(this,this.getCursor("start"),wt);var jt=this.listSelections();if(!(jt.length>1)){if(this.somethingSelected()){if(!wt.hint.supportsSelection)return;for(var Wt=0;Wt<jt.length;Wt++)if(jt[Wt].head.line!=jt[Wt].anchor.line)return}this.state.completionActive&&this.state.completionActive.close();var Ar=this.state.completionActive=new B(this,wt);!Ar.options.hint||(l.signal(this,"startCompletion",this),Ar.update(!0))}}),l.defineExtension("closeHint",function(){this.state.completionActive&&this.state.completionActive.close()});function B(wt,jt){if(this.cm=wt,this.options=jt,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 Wt=this;wt.on("cursorActivity",this.activityFunc=function(){Wt.cursorActivity()})}}var Y=window.requestAnimationFrame||function(wt){return setTimeout(wt,1e3/60)},he=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(wt,jt){var Wt=wt.list[jt],Ar=this;this.cm.operation(function(){Wt.hint?Wt.hint(Ar.cm,wt,Wt):Ar.cm.replaceRange(Le(Wt),Wt.from||wt.from,Wt.to||wt.to,"complete"),l.signal(wt,"pick",Wt),Ar.cm.scrollIntoView()}),this.options.closeOnPick&&this.close()},cursorActivity:function(){this.debounce&&(he(this.debounce),this.debounce=0);var wt=this.startPos;this.data&&(wt=this.data.from);var jt=this.cm.getCursor(),Wt=this.cm.getLine(jt.line);if(jt.line!=this.startPos.line||Wt.length-jt.ch!=this.startLen-this.startPos.ch||jt.ch<wt.ch||this.cm.somethingSelected()||!jt.ch||this.options.closeCharacters.test(Wt.charAt(jt.ch-1)))this.close();else{var Ar=this;this.debounce=Y(function(){Ar.update()}),this.widget&&this.widget.disable()}},update:function(wt){if(this.tick!=null){var jt=this,Wt=++this.tick;Qt(this.options.hint,this.cm,this.options,function(Ar){jt.tick==Wt&&jt.finishUpdate(Ar,wt)})}},finishUpdate:function(wt,jt){this.data&&l.signal(this.data,"update");var Wt=this.widget&&this.widget.picked||jt&&this.options.completeSingle;this.widget&&this.widget.close(),this.data=wt,wt&&wt.list.length&&(Wt&&wt.list.length==1?this.pick(wt,0):(this.widget=new xt(this,wt),l.signal(wt,"shown")))}};function xe(wt,jt,Wt){var Ar=wt.options.hintOptions,an={};for(var Vn in Ur)an[Vn]=Ur[Vn];if(Ar)for(var Vn in Ar)Ar[Vn]!==void 0&&(an[Vn]=Ar[Vn]);if(Wt)for(var Vn in Wt)Wt[Vn]!==void 0&&(an[Vn]=Wt[Vn]);return an.hint.resolve&&(an.hint=an.hint.resolve(wt,jt)),an}function Le(wt){return typeof wt=="string"?wt:wt.text}function je(wt,jt){var Wt={Up:function(){jt.moveFocus(-1)},Down:function(){jt.moveFocus(1)},PageUp:function(){jt.moveFocus(-jt.menuSize()+1,!0)},PageDown:function(){jt.moveFocus(jt.menuSize()-1,!0)},Home:function(){jt.setFocus(0)},End:function(){jt.setFocus(jt.length-1)},Enter:jt.pick,Tab:jt.pick,Esc:jt.close},Ar=/Mac/.test(navigator.platform);Ar&&(Wt["Ctrl-P"]=function(){jt.moveFocus(-1)},Wt["Ctrl-N"]=function(){jt.moveFocus(1)});var an=wt.options.customKeys,Vn=an?{}:Wt;function An($n,Mn){var yi;typeof Mn!="string"?yi=function(Cr){return Mn(Cr,jt)}:Wt.hasOwnProperty(Mn)?yi=Wt[Mn]:yi=Mn,Vn[$n]=yi}if(an)for(var gi in an)an.hasOwnProperty(gi)&&An(gi,an[gi]);var ai=wt.options.extraKeys;if(ai)for(var gi in ai)ai.hasOwnProperty(gi)&&An(gi,ai[gi]);return Vn}function it(wt,jt){for(;jt&&jt!=wt;){if(jt.nodeName.toUpperCase()==="LI"&&jt.parentNode==wt)return jt;jt=jt.parentNode}}function xt(wt,jt){this.id="cm-complete-"+Math.floor(Math.random(1e6)),this.completion=wt,this.data=jt,this.picked=!1;var Wt=this,Ar=wt.cm,an=Ar.getInputField().ownerDocument,Vn=an.defaultView||an.parentWindow,An=this.hints=an.createElement("ul");An.setAttribute("role","listbox"),An.setAttribute("aria-expanded","true"),An.id=this.id;var gi=wt.cm.options.theme;An.className="CodeMirror-hints "+gi,this.selectedHint=jt.selectedHint||0;for(var ai=jt.list,$n=0;$n<ai.length;++$n){var Mn=An.appendChild(an.createElement("li")),yi=ai[$n],Cr=f+($n!=this.selectedHint?"":" "+v);yi.className!=null&&(Cr=yi.className+" "+Cr),Mn.className=Cr,$n==this.selectedHint&&Mn.setAttribute("aria-selected","true"),Mn.id=this.id+"-"+$n,Mn.setAttribute("role","option"),yi.render?yi.render(Mn,jt,yi):Mn.appendChild(an.createTextNode(yi.displayText||Le(yi))),Mn.hintId=$n}var Tn=wt.options.container||an.body,we=Ar.cursorCoords(wt.options.alignWithWord?jt.from:null),rn=we.left,ur=we.bottom,Sn=!0,Kn=0,Yi=0;if(Tn!==an.body){var ys=["absolute","relative","fixed"].indexOf(Vn.getComputedStyle(Tn).position)!==-1,Ns=ys?Tn:Tn.offsetParent,cs=Ns.getBoundingClientRect(),ts=an.body.getBoundingClientRect();Kn=cs.left-ts.left-Ns.scrollLeft,Yi=cs.top-ts.top-Ns.scrollTop}An.style.left=rn-Kn+"px",An.style.top=ur-Yi+"px";var _r=Vn.innerWidth||Math.max(an.body.offsetWidth,an.documentElement.offsetWidth),Kr=Vn.innerHeight||Math.max(an.body.offsetHeight,an.documentElement.offsetHeight);Tn.appendChild(An),Ar.getInputField().setAttribute("aria-autocomplete","list"),Ar.getInputField().setAttribute("aria-owns",this.id),Ar.getInputField().setAttribute("aria-activedescendant",this.id+"-"+this.selectedHint);var yr=wt.options.moveOnOverlap?An.getBoundingClientRect():new DOMRect,dn=wt.options.paddingForScrollbar?An.scrollHeight>An.clientHeight+1:!1,oi;setTimeout(function(){oi=Ar.getScrollInfo()});var Jn=yr.bottom-Kr;if(Jn>0){var Un=yr.bottom-yr.top,li=we.top-(we.bottom-yr.top);if(li-Un>0)An.style.top=(ur=we.top-Un-Yi)+"px",Sn=!1;else if(Un>Kr){An.style.height=Kr-5+"px",An.style.top=(ur=we.bottom-yr.top-Yi)+"px";var ct=Ar.getCursor();jt.from.ch!=ct.ch&&(we=Ar.cursorCoords(ct),An.style.left=(rn=we.left-Kn)+"px",yr=An.getBoundingClientRect())}}var Ot=yr.right-_r;if(dn&&(Ot+=Ar.display.nativeBarWidth),Ot>0&&(yr.right-yr.left>_r&&(An.style.width=_r-5+"px",Ot-=yr.right-yr.left-_r),An.style.left=(rn=Math.max(we.left-Ot-Kn,0))+"px"),dn)for(var Er=An.firstChild;Er;Er=Er.nextSibling)Er.style.paddingRight=Ar.display.nativeBarWidth+"px";if(Ar.addKeyMap(this.keyMap=je(wt,{moveFocus:function(fn,mn){Wt.changeActive(Wt.selectedHint+fn,mn)},setFocus:function(fn){Wt.changeActive(fn)},menuSize:function(){return Wt.screenAmount()},length:ai.length,close:function(){wt.close()},pick:function(){Wt.pick()},data:jt})),wt.options.closeOnUnfocus){var sr;Ar.on("blur",this.onBlur=function(){sr=setTimeout(function(){wt.close()},100)}),Ar.on("focus",this.onFocus=function(){clearTimeout(sr)})}Ar.on("scroll",this.onScroll=function(){var fn=Ar.getScrollInfo(),mn=Ar.getWrapperElement().getBoundingClientRect();oi||(oi=Ar.getScrollInfo());var Fn=ur+oi.top-fn.top,hn=Fn-(Vn.pageYOffset||(an.documentElement||an.body).scrollTop);if(Sn||(hn+=An.offsetHeight),hn<=mn.top||hn>=mn.bottom)return wt.close();An.style.top=Fn+"px",An.style.left=rn+oi.left-fn.left+"px"}),l.on(An,"dblclick",function(fn){var mn=it(An,fn.target||fn.srcElement);mn&&mn.hintId!=null&&(Wt.changeActive(mn.hintId),Wt.pick())}),l.on(An,"click",function(fn){var mn=it(An,fn.target||fn.srcElement);mn&&mn.hintId!=null&&(Wt.changeActive(mn.hintId),wt.options.completeOnSingleClick&&Wt.pick())}),l.on(An,"mousedown",function(){setTimeout(function(){Ar.focus()},20)});var Jr=this.getSelectedHintRange();return(Jr.from!==0||Jr.to!==0)&&this.scrollToActive(),l.signal(jt,"select",ai[this.selectedHint],An.childNodes[this.selectedHint]),!0}xt.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 wt=this.completion.cm.getInputField();wt.removeAttribute("aria-activedescendant"),wt.removeAttribute("aria-owns");var jt=this.completion.cm;this.completion.options.closeOnUnfocus&&(jt.off("blur",this.onBlur),jt.off("focus",this.onFocus)),jt.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var wt=this;this.keyMap={Enter:function(){wt.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(wt,jt){if(wt>=this.data.list.length?wt=jt?this.data.list.length-1:0:wt<0&&(wt=jt?0:this.data.list.length-1),this.selectedHint!=wt){var Wt=this.hints.childNodes[this.selectedHint];Wt&&(Wt.className=Wt.className.replace(" "+v,""),Wt.removeAttribute("aria-selected")),Wt=this.hints.childNodes[this.selectedHint=wt],Wt.className+=" "+v,Wt.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Wt.id),this.scrollToActive(),l.signal(this.data,"select",this.data.list[this.selectedHint],Wt)}},scrollToActive:function(){var wt=this.getSelectedHintRange(),jt=this.hints.childNodes[wt.from],Wt=this.hints.childNodes[wt.to],Ar=this.hints.firstChild;jt.offsetTop<this.hints.scrollTop?this.hints.scrollTop=jt.offsetTop-Ar.offsetTop:Wt.offsetTop+Wt.offsetHeight>this.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Wt.offsetTop+Wt.offsetHeight-this.hints.clientHeight+Ar.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var wt=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-wt),to:Math.min(this.data.list.length-1,this.selectedHint+wt)}}};function Ft(wt,jt){if(!wt.somethingSelected())return jt;for(var Wt=[],Ar=0;Ar<jt.length;Ar++)jt[Ar].supportsSelection&&Wt.push(jt[Ar]);return Wt}function Qt(wt,jt,Wt,Ar){if(wt.async)wt(jt,Ar,Wt);else{var an=wt(jt,Wt);an&&an.then?an.then(Ar):Ar(an)}}function mr(wt,jt){var Wt=wt.getHelpers(jt,"hint"),Ar;if(Wt.length){var an=function(Vn,An,gi){var ai=Ft(Vn,Wt);function $n(Mn){if(Mn==ai.length)return An(null);Qt(ai[Mn],Vn,gi,function(yi){yi&&yi.list.length>0?An(yi):$n(Mn+1)})}$n(0)};return an.async=!0,an.supportsSelection=!0,an}else return(Ar=wt.getHelper(wt.getCursor(),"hintWords"))?function(Vn){return l.hint.fromList(Vn,{words:Ar})}:l.hint.anyword?function(Vn,An){return l.hint.anyword(Vn,An)}:function(){}}l.registerHelper("hint","auto",{resolve:mr}),l.registerHelper("hint","fromList",function(wt,jt){var Wt=wt.getCursor(),Ar=wt.getTokenAt(Wt),an,Vn=l.Pos(Wt.line,Ar.start),An=Wt;Ar.start<Wt.ch&&/\w/.test(Ar.string.charAt(Wt.ch-Ar.start-1))?an=Ar.string.substr(0,Wt.ch-Ar.start):(an="",Vn=Wt);for(var gi=[],ai=0;ai<jt.words.length;ai++){var $n=jt.words[ai];$n.slice(0,an.length)==an&&gi.push($n)}if(gi.length)return{list:gi,from:Vn,to:An}}),l.commands.autocomplete=l.showHint;var Ur={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 FD(i,c,l={}){const f=TD.fromTextArea(i.value,{theme:"vars",...Cs(l)});Ga(l,B=>Object.entries(B).forEach(([Y,he])=>f.setOption(Y,he)));let v=!1;return f.on("change",()=>{if(v){v=!1;return}c.value=f.getValue()}),Ga(c,B=>{if(B!==f.getValue()){v=!0;const Y=f.listSelections();f.replaceRange(B,f.posFromIndex(0),f.posFromIndex(1/0)),f.setSelections(Y)}},{immediate:!0}),f}const kD={relative:"","font-mono":"","text-sm":""},PD=nl({__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=Pa(),B=xD(l,"modelValue",c,{passive:!0}),Y=Ks(()=>f[l.mode||""]||l.mode),he=Ks(()=>l.getHint?{"Ctrl-Space":"autocomplete","Ctrl-.":"autocomplete","Cmd-Space":"autocomplete","Cmd-.":"autocomplete",Tab:"autocomplete"}:{}),xe=Ks(()=>l.getHint?{hint:l.getHint}:{});return Ih(async()=>{const Le=FD(v,B,Pc({...Og(l),mode:Y,hintOptions:xe,extraKeys:he}));Le.setSize("100%","100%"),l.getHint&&Le.on("keyup",(Qt,mr)=>{mr.key.match(/^[\w:-]$/)&&Qt.execCommand("autocomplete")}),setTimeout(()=>Le.refresh(),100);const je=[];function it(Qt,mr){je.push(Le.markText(Le.posFromIndex(Qt),Le.posFromIndex(mr),{className:"highlighted"}))}function xt(){je.forEach(Qt=>Qt.clear()),wD(l.modelValue,Array.from(l.matched||[])).forEach(Qt=>it(Qt[0],Qt[1]))}let Ft=0;Ga(()=>[l.modelValue,l.matched],async()=>{clearTimeout(Ft),l.matched&&(Ft=setTimeout(xt,200))},{immediate:!0})}),(Le,je)=>(xa(),ho("div",kD,[Vi("textarea",{ref_key:"el",ref:v},null,512)]))}});const Dm=(i,c)=>{const l=i.__vccOpts||i;for(const[f,v]of c)l[f]=v;return l},ND={},BD={"bg-gray4:10":"","p-5":"",b:"b main",text:"sm gray5 dark:gray3"};function _D(i,c){return xa(),ho("div",BD,[vp(i.$slots,"default")])}const ID=Dm(ND,[["render",_D]]),OD={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":""},LD={"mr-2":"","op-60":""},MD={flex:"","gap-2":"","flex-auto":""},jD=nl({__name:"TitleBar",props:{title:null},emits:["titleClick"],setup(i,{emit:c}){return(l,f)=>(xa(),ho("div",OD,[Vi("div",{flex:"",onClick:f[0]||(f[0]=v=>c("titleClick",v))},[vp(l.$slots,"before"),Vi("div",LD,Bo(i.title),1)]),Vi("div",MD,[vp(l.$slots,"default")])]))}}),RD="/@vite/client",vm=$c(),xm=$c(),UD=vm.on,Cm=xm.on;xh(()=>import(RD),[]).then(i=>{const c=i.createHotContext("/");c.on("vite:beforeUpdate",l=>{l.updates.forEach(f=>{vm.trigger(f)})}),c.on("unocss:config-changed",()=>{xm.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 qp="/__unocss_api",Em=zp(qp).json(),zh=zp(`${qp}/overview`,{immediate:!1}).json(),eo=Em.data,up=zh.data;Cm(()=>{Em.execute(),zh.execute()});function mx(i){const c=zp(Ks(()=>`${qp}/module?id=${encodeURIComponent(Cs(i))}`),{refetch:!0}).json();return Cm(()=>c.execute()),UD(l=>{var f;(l.path===Cs(i)||l.path===Cs(i).slice(((f=eo.value)==null?void 0:f.root.length)||0))&&setTimeout(()=>{c.execute()},50)}),c}function gx(i){const c=Ey(i,500);return zp(Ks(()=>`${qp}/repl?token=${encodeURIComponent(c.value)}`),{refetch:!0}).json()}const lp=Ks(()=>{if(!eo.value)return{workspace:{children:{},items:[]},root:{children:{},items:[]}};const i=eo.value.modules.map(f=>({full:f,path:f})),c=i.filter(f=>f.full.startsWith(eo.value.root)),l=i.filter(f=>!f.full.startsWith(eo.value.root));return c.forEach(f=>f.path=f.path.slice(eo.value.root.length+1)),{workspace:qf(c,"Project Root"),root:qf(l,"Disk Root")}});function qf(i,c){const l={name:c,children:{},items:[]};function f(v,B,Y=l){if(B.length<=1){Y.items.push(v);return}const he=B.shift();Y.children[he]||(Y.children[he]={name:he,children:{},items:[]}),f(v,B,Y.children[he])}return i.forEach(v=>{const B=v.path.split(/\//g).filter(Boolean);f(v,B)}),l}const zD={key:0,"ws-wrap":""},HD=Vi("span",{op80:""},".",-1),qD={key:1},$D=nl({__name:"ModuleId",props:{id:null},setup(i){return(c,l)=>i.id&&Cs(eo)?(xa(),ho("span",zD,[i.id.startsWith(Cs(eo).root)?(xa(),ho(Xo,{key:0},[HD,Vi("span",null,Bo(i.id.slice(Cs(eo).root.length)),1)],64)):(xa(),ho("span",qD,Bo(i.id),1))])):bp("",!0)}}),WD=(i,c)=>{const l=Pa(null);return uD(i,()=>{var v;const f=(v=Uh(i))==null?void 0:v.clientHeight;l.value=f?`--${c}: calc(100vh - ${f}px - 2px);`:null}),l};var bm={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 de=function(be){return be&&be.Math==Math&&be};ce.exports=de(typeof globalThis=="object"&&globalThis)||de(typeof window=="object"&&window)||de(typeof self=="object"&&self)||de(typeof jl=="object"&&jl)||function(){return this}()||Function("return this")()}),v=l((Ie,ce)=>{ce.exports=function(de){try{return!!de()}catch{return!0}}}),B=l((Ie,ce)=>{var de=v();ce.exports=!de(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((Ie,ce)=>{var de=v();ce.exports=!de(function(){var be=function(){}.bind();return typeof be!="function"||be.hasOwnProperty("prototype")})}),he=l((Ie,ce)=>{var de=Y(),be=Function.prototype.call;ce.exports=de?be.bind(be):function(){return be.apply(be,arguments)}}),xe=l(Ie=>{var ce={}.propertyIsEnumerable,de=Object.getOwnPropertyDescriptor,be=de&&!ce.call({1:2},1);Ie.f=be?function(Ee){var He=de(this,Ee);return!!He&&He.enumerable}:ce}),Le=l((Ie,ce)=>{ce.exports=function(de,be){return{enumerable:!(de&1),configurable:!(de&2),writable:!(de&4),value:be}}}),je=l((Ie,ce)=>{var de=Y(),be=Function.prototype,Ee=be.bind,He=be.call,et=de&&Ee.bind(He,He);ce.exports=de?function(st){return st&&et(st)}:function(st){return st&&function(){return He.apply(st,arguments)}}}),it=l((Ie,ce)=>{var de=je(),be=de({}.toString),Ee=de("".slice);ce.exports=function(He){return Ee(be(He),8,-1)}}),xt=l((Ie,ce)=>{var de=f(),be=je(),Ee=v(),He=it(),et=de.Object,st=be("".split);ce.exports=Ee(function(){return!et("z").propertyIsEnumerable(0)})?function(yt){return He(yt)=="String"?st(yt,""):et(yt)}:et}),Ft=l((Ie,ce)=>{var de=f(),be=de.TypeError;ce.exports=function(Ee){if(Ee==null)throw be("Can't call method on "+Ee);return Ee}}),Qt=l((Ie,ce)=>{var de=xt(),be=Ft();ce.exports=function(Ee){return de(be(Ee))}}),mr=l((Ie,ce)=>{ce.exports=function(de){return typeof de=="function"}}),Ur=l((Ie,ce)=>{var de=mr();ce.exports=function(be){return typeof be=="object"?be!==null:de(be)}}),wt=l((Ie,ce)=>{var de=f(),be=mr(),Ee=function(He){return be(He)?He:void 0};ce.exports=function(He,et){return arguments.length<2?Ee(de[He]):de[He]&&de[He][et]}}),jt=l((Ie,ce)=>{var de=je();ce.exports=de({}.isPrototypeOf)}),Wt=l((Ie,ce)=>{var de=wt();ce.exports=de("navigator","userAgent")||""}),Ar=l((Ie,ce)=>{var de=f(),be=Wt(),Ee=de.process,He=de.Deno,et=Ee&&Ee.versions||He&&He.version,st=et&&et.v8,yt,Vt;st&&(yt=st.split("."),Vt=yt[0]>0&&yt[0]<4?1:+(yt[0]+yt[1])),!Vt&&be&&(yt=be.match(/Edge\/(\d+)/),(!yt||yt[1]>=74)&&(yt=be.match(/Chrome\/(\d+)/),yt&&(Vt=+yt[1]))),ce.exports=Vt}),an=l((Ie,ce)=>{var de=Ar(),be=v();ce.exports=!!Object.getOwnPropertySymbols&&!be(function(){var Ee=Symbol();return!String(Ee)||!(Object(Ee)instanceof Symbol)||!Symbol.sham&&de&&de<41})}),Vn=l((Ie,ce)=>{var de=an();ce.exports=de&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),An=l((Ie,ce)=>{var de=f(),be=wt(),Ee=mr(),He=jt(),et=Vn(),st=de.Object;ce.exports=et?function(yt){return typeof yt=="symbol"}:function(yt){var Vt=be("Symbol");return Ee(Vt)&&He(Vt.prototype,st(yt))}}),gi=l((Ie,ce)=>{var de=f(),be=de.String;ce.exports=function(Ee){try{return be(Ee)}catch{return"Object"}}}),ai=l((Ie,ce)=>{var de=f(),be=mr(),Ee=gi(),He=de.TypeError;ce.exports=function(et){if(be(et))return et;throw He(Ee(et)+" is not a function")}}),$n=l((Ie,ce)=>{var de=ai();ce.exports=function(be,Ee){var He=be[Ee];return He==null?void 0:de(He)}}),Mn=l((Ie,ce)=>{var de=f(),be=he(),Ee=mr(),He=Ur(),et=de.TypeError;ce.exports=function(st,yt){var Vt,nr;if(yt==="string"&&Ee(Vt=st.toString)&&!He(nr=be(Vt,st))||Ee(Vt=st.valueOf)&&!He(nr=be(Vt,st))||yt!=="string"&&Ee(Vt=st.toString)&&!He(nr=be(Vt,st)))return nr;throw et("Can't convert object to primitive value")}}),yi=l((Ie,ce)=>{ce.exports=!1}),Cr=l((Ie,ce)=>{var de=f(),be=Object.defineProperty;ce.exports=function(Ee,He){try{be(de,Ee,{value:He,configurable:!0,writable:!0})}catch{de[Ee]=He}return He}}),Tn=l((Ie,ce)=>{var de=f(),be=Cr(),Ee="__core-js_shared__",He=de[Ee]||be(Ee,{});ce.exports=He}),we=l((Ie,ce)=>{var de=yi(),be=Tn();(ce.exports=function(Ee,He){return be[Ee]||(be[Ee]=He!==void 0?He:{})})("versions",[]).push({version:"3.22.2",mode:de?"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"})}),rn=l((Ie,ce)=>{var de=f(),be=Ft(),Ee=de.Object;ce.exports=function(He){return Ee(be(He))}}),ur=l((Ie,ce)=>{var de=je(),be=rn(),Ee=de({}.hasOwnProperty);ce.exports=Object.hasOwn||function(He,et){return Ee(be(He),et)}}),Sn=l((Ie,ce)=>{var de=je(),be=0,Ee=Math.random(),He=de(1 .toString);ce.exports=function(et){return"Symbol("+(et===void 0?"":et)+")_"+He(++be+Ee,36)}}),Kn=l((Ie,ce)=>{var de=f(),be=we(),Ee=ur(),He=Sn(),et=an(),st=Vn(),yt=be("wks"),Vt=de.Symbol,nr=Vt&&Vt.for,Tr=st?Vt:Vt&&Vt.withoutSetter||He;ce.exports=function(zr){if(!Ee(yt,zr)||!(et||typeof yt[zr]=="string")){var Yr="Symbol."+zr;et&&Ee(Vt,zr)?yt[zr]=Vt[zr]:st&&nr?yt[zr]=nr(Yr):yt[zr]=Tr(Yr)}return yt[zr]}}),Yi=l((Ie,ce)=>{var de=f(),be=he(),Ee=Ur(),He=An(),et=$n(),st=Mn(),yt=Kn(),Vt=de.TypeError,nr=yt("toPrimitive");ce.exports=function(Tr,zr){if(!Ee(Tr)||He(Tr))return Tr;var Yr=et(Tr,nr),tn;if(Yr){if(zr===void 0&&(zr="default"),tn=be(Yr,Tr,zr),!Ee(tn)||He(tn))return tn;throw Vt("Can't convert object to primitive value")}return zr===void 0&&(zr="number"),st(Tr,zr)}}),ys=l((Ie,ce)=>{var de=Yi(),be=An();ce.exports=function(Ee){var He=de(Ee,"string");return be(He)?He:He+""}}),Ns=l((Ie,ce)=>{var de=f(),be=Ur(),Ee=de.document,He=be(Ee)&&be(Ee.createElement);ce.exports=function(et){return He?Ee.createElement(et):{}}}),cs=l((Ie,ce)=>{var de=B(),be=v(),Ee=Ns();ce.exports=!de&&!be(function(){return Object.defineProperty(Ee("div"),"a",{get:function(){return 7}}).a!=7})}),ts=l(Ie=>{var ce=B(),de=he(),be=xe(),Ee=Le(),He=Qt(),et=ys(),st=ur(),yt=cs(),Vt=Object.getOwnPropertyDescriptor;Ie.f=ce?Vt:function(nr,Tr){if(nr=He(nr),Tr=et(Tr),yt)try{return Vt(nr,Tr)}catch{}if(st(nr,Tr))return Ee(!de(be.f,nr,Tr),nr[Tr])}}),_r=l((Ie,ce)=>{var de=B(),be=v();ce.exports=de&&be(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Kr=l((Ie,ce)=>{var de=f(),be=Ur(),Ee=de.String,He=de.TypeError;ce.exports=function(et){if(be(et))return et;throw He(Ee(et)+" is not an object")}}),yr=l(Ie=>{var ce=f(),de=B(),be=cs(),Ee=_r(),He=Kr(),et=ys(),st=ce.TypeError,yt=Object.defineProperty,Vt=Object.getOwnPropertyDescriptor,nr="enumerable",Tr="configurable",zr="writable";Ie.f=de?Ee?function(Yr,tn,Pr){if(He(Yr),tn=et(tn),He(Pr),typeof Yr=="function"&&tn==="prototype"&&"value"in Pr&&zr in Pr&&!Pr[zr]){var kn=Vt(Yr,tn);kn&&kn[zr]&&(Yr[tn]=Pr.value,Pr={configurable:Tr in Pr?Pr[Tr]:kn[Tr],enumerable:nr in Pr?Pr[nr]:kn[nr],writable:!1})}return yt(Yr,tn,Pr)}:yt:function(Yr,tn,Pr){if(He(Yr),tn=et(tn),He(Pr),be)try{return yt(Yr,tn,Pr)}catch{}if("get"in Pr||"set"in Pr)throw st("Accessors not supported");return"value"in Pr&&(Yr[tn]=Pr.value),Yr}}),dn=l((Ie,ce)=>{var de=B(),be=yr(),Ee=Le();ce.exports=de?function(He,et,st){return be.f(He,et,Ee(1,st))}:function(He,et,st){return He[et]=st,He}}),oi=l((Ie,ce)=>{var de=je(),be=mr(),Ee=Tn(),He=de(Function.toString);be(Ee.inspectSource)||(Ee.inspectSource=function(et){return He(et)}),ce.exports=Ee.inspectSource}),Jn=l((Ie,ce)=>{var de=f(),be=mr(),Ee=oi(),He=de.WeakMap;ce.exports=be(He)&&/native code/.test(Ee(He))}),Un=l((Ie,ce)=>{var de=we(),be=Sn(),Ee=de("keys");ce.exports=function(He){return Ee[He]||(Ee[He]=be(He))}}),li=l((Ie,ce)=>{ce.exports={}}),ct=l((Ie,ce)=>{var de=Jn(),be=f(),Ee=je(),He=Ur(),et=dn(),st=ur(),yt=Tn(),Vt=Un(),nr=li(),Tr="Object already initialized",zr=be.TypeError,Yr=be.WeakMap,tn,Pr,kn,pi=function(xi){return kn(xi)?Pr(xi):tn(xi,{})},yn=function(xi){return function(ti){var Gn;if(!He(ti)||(Gn=Pr(ti)).type!==xi)throw zr("Incompatible receiver, "+xi+" required");return Gn}};de||yt.state?(Ji=yt.state||(yt.state=new Yr),vi=Ee(Ji.get),Xe=Ee(Ji.has),Ds=Ee(Ji.set),tn=function(xi,ti){if(Xe(Ji,xi))throw new zr(Tr);return ti.facade=xi,Ds(Ji,xi,ti),ti},Pr=function(xi){return vi(Ji,xi)||{}},kn=function(xi){return Xe(Ji,xi)}):(Li=Vt("state"),nr[Li]=!0,tn=function(xi,ti){if(st(xi,Li))throw new zr(Tr);return ti.facade=xi,et(xi,Li,ti),ti},Pr=function(xi){return st(xi,Li)?xi[Li]:{}},kn=function(xi){return st(xi,Li)});var Ji,vi,Xe,Ds,Li;ce.exports={set:tn,get:Pr,has:kn,enforce:pi,getterFor:yn}}),Ot=l((Ie,ce)=>{var de=B(),be=ur(),Ee=Function.prototype,He=de&&Object.getOwnPropertyDescriptor,et=be(Ee,"name"),st=et&&function(){}.name==="something",yt=et&&(!de||de&&He(Ee,"name").configurable);ce.exports={EXISTS:et,PROPER:st,CONFIGURABLE:yt}}),Er=l((Ie,ce)=>{var de=f(),be=mr(),Ee=ur(),He=dn(),et=Cr(),st=oi(),yt=ct(),Vt=Ot().CONFIGURABLE,nr=yt.get,Tr=yt.enforce,zr=String(String).split("String");(ce.exports=function(Yr,tn,Pr,kn){var pi=kn?!!kn.unsafe:!1,yn=kn?!!kn.enumerable:!1,Ji=kn?!!kn.noTargetGet:!1,vi=kn&&kn.name!==void 0?kn.name:tn,Xe;if(be(Pr)&&(String(vi).slice(0,7)==="Symbol("&&(vi="["+String(vi).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ee(Pr,"name")||Vt&&Pr.name!==vi)&&He(Pr,"name",vi),Xe=Tr(Pr),Xe.source||(Xe.source=zr.join(typeof vi=="string"?vi:""))),Yr===de){yn?Yr[tn]=Pr:et(tn,Pr);return}else pi?!Ji&&Yr[tn]&&(yn=!0):delete Yr[tn];yn?Yr[tn]=Pr:He(Yr,tn,Pr)})(Function.prototype,"toString",function(){return be(this)&&nr(this).source||st(this)})}),sr=l((Ie,ce)=>{var de=Math.ceil,be=Math.floor;ce.exports=function(Ee){var He=+Ee;return He!==He||He===0?0:(He>0?be:de)(He)}}),Jr=l((Ie,ce)=>{var de=sr(),be=Math.max,Ee=Math.min;ce.exports=function(He,et){var st=de(He);return st<0?be(st+et,0):Ee(st,et)}}),fn=l((Ie,ce)=>{var de=sr(),be=Math.min;ce.exports=function(Ee){return Ee>0?be(de(Ee),9007199254740991):0}}),mn=l((Ie,ce)=>{var de=fn();ce.exports=function(be){return de(be.length)}}),Fn=l((Ie,ce)=>{var de=Qt(),be=Jr(),Ee=mn(),He=function(et){return function(st,yt,Vt){var nr=de(st),Tr=Ee(nr),zr=be(Vt,Tr),Yr;if(et&&yt!=yt){for(;Tr>zr;)if(Yr=nr[zr++],Yr!=Yr)return!0}else for(;Tr>zr;zr++)if((et||zr in nr)&&nr[zr]===yt)return et||zr||0;return!et&&-1}};ce.exports={includes:He(!0),indexOf:He(!1)}}),hn=l((Ie,ce)=>{var de=je(),be=ur(),Ee=Qt(),He=Fn().indexOf,et=li(),st=de([].push);ce.exports=function(yt,Vt){var nr=Ee(yt),Tr=0,zr=[],Yr;for(Yr in nr)!be(et,Yr)&&be(nr,Yr)&&st(zr,Yr);for(;Vt.length>Tr;)be(nr,Yr=Vt[Tr++])&&(~He(zr,Yr)||st(zr,Yr));return zr}}),lt=l((Ie,ce)=>{ce.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),br=l(Ie=>{var ce=hn(),de=lt(),be=de.concat("length","prototype");Ie.f=Object.getOwnPropertyNames||function(Ee){return ce(Ee,be)}}),Mt=l(Ie=>{Ie.f=Object.getOwnPropertySymbols}),jn=l((Ie,ce)=>{var de=wt(),be=je(),Ee=br(),He=Mt(),et=Kr(),st=be([].concat);ce.exports=de("Reflect","ownKeys")||function(yt){var Vt=Ee.f(et(yt)),nr=He.f;return nr?st(Vt,nr(yt)):Vt}}),Di=l((Ie,ce)=>{var de=ur(),be=jn(),Ee=ts(),He=yr();ce.exports=function(et,st,yt){for(var Vt=be(st),nr=He.f,Tr=Ee.f,zr=0;zr<Vt.length;zr++){var Yr=Vt[zr];!de(et,Yr)&&!(yt&&de(yt,Yr))&&nr(et,Yr,Tr(st,Yr))}}}),ns=l((Ie,ce)=>{var de=v(),be=mr(),Ee=/#|\.prototype\./,He=function(nr,Tr){var zr=st[et(nr)];return zr==Vt?!0:zr==yt?!1:be(Tr)?de(Tr):!!Tr},et=He.normalize=function(nr){return String(nr).replace(Ee,".").toLowerCase()},st=He.data={},yt=He.NATIVE="N",Vt=He.POLYFILL="P";ce.exports=He}),is=l((Ie,ce)=>{var de=f(),be=ts().f,Ee=dn(),He=Er(),et=Cr(),st=Di(),yt=ns();ce.exports=function(Vt,nr){var Tr=Vt.target,zr=Vt.global,Yr=Vt.stat,tn,Pr,kn,pi,yn,Ji;if(zr?Pr=de:Yr?Pr=de[Tr]||et(Tr,{}):Pr=(de[Tr]||{}).prototype,Pr)for(kn in nr){if(yn=nr[kn],Vt.noTargetGet?(Ji=be(Pr,kn),pi=Ji&&Ji.value):pi=Pr[kn],tn=yt(zr?kn:Tr+(Yr?".":"#")+kn,Vt.forced),!tn&&pi!==void 0){if(typeof yn==typeof pi)continue;st(yn,pi)}(Vt.sham||pi&&pi.sham)&&Ee(yn,"sham",!0),He(Pr,kn,yn,Vt)}}}),ls=l((Ie,ce)=>{var de=it();ce.exports=Array.isArray||function(be){return de(be)=="Array"}}),zi=l((Ie,ce)=>{var de=je(),be=ai(),Ee=Y(),He=de(de.bind);ce.exports=function(et,st){return be(et),st===void 0?et:Ee?He(et,st):function(){return et.apply(st,arguments)}}}),Ls=l((Ie,ce)=>{var de=f(),be=ls(),Ee=mn(),He=zi(),et=de.TypeError,st=function(yt,Vt,nr,Tr,zr,Yr,tn,Pr){for(var kn=zr,pi=0,yn=tn?He(tn,Pr):!1,Ji,vi;pi<Tr;){if(pi in nr){if(Ji=yn?yn(nr[pi],pi,Vt):nr[pi],Yr>0&&be(Ji))vi=Ee(Ji),kn=st(yt,Vt,Ji,vi,kn,Yr-1)-1;else{if(kn>=9007199254740991)throw et("Exceed the acceptable array length");yt[kn]=Ji}kn++}pi++}return kn};ce.exports=st}),qn=l((Ie,ce)=>{var de=Kn(),be=de("toStringTag"),Ee={};Ee[be]="z",ce.exports=String(Ee)==="[object z]"}),Fr=l((Ie,ce)=>{var de=f(),be=qn(),Ee=mr(),He=it(),et=Kn(),st=et("toStringTag"),yt=de.Object,Vt=He(function(){return arguments}())=="Arguments",nr=function(Tr,zr){try{return Tr[zr]}catch{}};ce.exports=be?He:function(Tr){var zr,Yr,tn;return Tr===void 0?"Undefined":Tr===null?"Null":typeof(Yr=nr(zr=yt(Tr),st))=="string"?Yr:Vt?He(zr):(tn=He(zr))=="Object"&&Ee(zr.callee)?"Arguments":tn}}),Br=l((Ie,ce)=>{var de=je(),be=v(),Ee=mr(),He=Fr(),et=wt(),st=oi(),yt=function(){},Vt=[],nr=et("Reflect","construct"),Tr=/^\s*(?:class|function)\b/,zr=de(Tr.exec),Yr=!Tr.exec(yt),tn=function(kn){if(!Ee(kn))return!1;try{return nr(yt,Vt,kn),!0}catch{return!1}},Pr=function(kn){if(!Ee(kn))return!1;switch(He(kn)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Yr||!!zr(Tr,st(kn))}catch{return!0}};Pr.sham=!0,ce.exports=!nr||be(function(){var kn;return tn(tn.call)||!tn(Object)||!tn(function(){kn=!0})||kn})?Pr:tn}),Gt=l((Ie,ce)=>{var de=f(),be=ls(),Ee=Br(),He=Ur(),et=Kn(),st=et("species"),yt=de.Array;ce.exports=function(Vt){var nr;return be(Vt)&&(nr=Vt.constructor,Ee(nr)&&(nr===yt||be(nr.prototype))?nr=void 0:He(nr)&&(nr=nr[st],nr===null&&(nr=void 0))),nr===void 0?yt:nr}}),Vr=l((Ie,ce)=>{var de=Gt();ce.exports=function(be,Ee){return new(de(be))(Ee===0?0:Ee)}}),lr=l(()=>{var Ie=is(),ce=Ls(),de=ai(),be=rn(),Ee=mn(),He=Vr();Ie({target:"Array",proto:!0},{flatMap:function(et){var st=be(this),yt=Ee(st),Vt;return de(et),Vt=He(st,0),Vt.length=ce(Vt,st,st,yt,0,1,et,arguments.length>1?arguments[1]:void 0),Vt}})}),gn=l((Ie,ce)=>{ce.exports={}}),zt=l((Ie,ce)=>{var de=Kn(),be=gn(),Ee=de("iterator"),He=Array.prototype;ce.exports=function(et){return et!==void 0&&(be.Array===et||He[Ee]===et)}}),Qn=l((Ie,ce)=>{var de=Fr(),be=$n(),Ee=gn(),He=Kn(),et=He("iterator");ce.exports=function(st){if(st!=null)return be(st,et)||be(st,"@@iterator")||Ee[de(st)]}}),wr=l((Ie,ce)=>{var de=f(),be=he(),Ee=ai(),He=Kr(),et=gi(),st=Qn(),yt=de.TypeError;ce.exports=function(Vt,nr){var Tr=arguments.length<2?st(Vt):nr;if(Ee(Tr))return He(be(Tr,Vt));throw yt(et(Vt)+" is not iterable")}}),Nt=l((Ie,ce)=>{var de=he(),be=Kr(),Ee=$n();ce.exports=function(He,et,st){var yt,Vt;be(He);try{if(yt=Ee(He,"return"),!yt){if(et==="throw")throw st;return st}yt=de(yt,He)}catch(nr){Vt=!0,yt=nr}if(et==="throw")throw st;if(Vt)throw yt;return be(yt),st}}),Ue=l((Ie,ce)=>{var de=f(),be=zi(),Ee=he(),He=Kr(),et=gi(),st=zt(),yt=mn(),Vt=jt(),nr=wr(),Tr=Qn(),zr=Nt(),Yr=de.TypeError,tn=function(kn,pi){this.stopped=kn,this.result=pi},Pr=tn.prototype;ce.exports=function(kn,pi,yn){var Ji=yn&&yn.that,vi=!!(yn&&yn.AS_ENTRIES),Xe=!!(yn&&yn.IS_ITERATOR),Ds=!!(yn&&yn.INTERRUPTED),Li=be(pi,Ji),xi,ti,Gn,$s,js,S,Je,Mr=function(ci){return xi&&zr(xi,"normal",ci),new tn(!0,ci)},sn=function(ci){return vi?(He(ci),Ds?Li(ci[0],ci[1],Mr):Li(ci[0],ci[1])):Ds?Li(ci,Mr):Li(ci)};if(Xe)xi=kn;else{if(ti=Tr(kn),!ti)throw Yr(et(kn)+" is not iterable");if(st(ti)){for(Gn=0,$s=yt(kn);$s>Gn;Gn++)if(js=sn(kn[Gn]),js&&Vt(Pr,js))return js;return new tn(!1)}xi=nr(kn,ti)}for(S=xi.next;!(Je=Ee(S,xi)).done;){try{js=sn(Je.value)}catch(ci){zr(xi,"throw",ci)}if(typeof js=="object"&&js&&Vt(Pr,js))return js}return new tn(!1)}}),Bt=l((Ie,ce)=>{var de=ys(),be=yr(),Ee=Le();ce.exports=function(He,et,st){var yt=de(et);yt in He?be.f(He,yt,Ee(0,st)):He[yt]=st}}),Xt=l(()=>{var Ie=is(),ce=Ue(),de=Bt();Ie({target:"Object",stat:!0},{fromEntries:function(be){var Ee={};return ce(be,function(He,et){de(Ee,He,et)},{AS_ENTRIES:!0}),Ee}})}),tr=l(()=>{var Ie=is(),ce=f();Ie({global:!0},{globalThis:ce})}),Rr=l(()=>{tr()}),on=l(()=>{var Ie=is(),ce=Ls(),de=rn(),be=mn(),Ee=sr(),He=Vr();Ie({target:"Array",proto:!0},{flat:function(){var et=arguments.length?arguments[0]:void 0,st=de(this),yt=be(st),Vt=He(st,0);return Vt.length=ce(Vt,st,st,yt,0,et===void 0?1:Ee(et)),Vt}})}),Rt=l((Ie,ce)=>{var de=["cliName","cliCategory","cliDescription"],be=["_"],Ee=["languageId"],He,et,st,yt,Vt,nr;function Tr(m,b){if(m==null)return{};var g=zr(m,b),A,E;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(m);for(E=0;E<y.length;E++)A=y[E],!(b.indexOf(A)>=0)&&(!Object.prototype.propertyIsEnumerable.call(m,A)||(g[A]=m[A]))}return g}function zr(m,b){if(m==null)return{};var g={},A=Object.keys(m),E,y;for(y=0;y<A.length;y++)E=A[y],!(b.indexOf(E)>=0)&&(g[E]=m[E]);return g}lr(),Xt(),Rr(),on();function Yr(m,b){return b||(b=m.slice(0)),Object.freeze(Object.defineProperties(m,{raw:{value:Object.freeze(b)}}))}var tn=Object.create,Pr=Object.defineProperty,kn=Object.getOwnPropertyDescriptor,pi=Object.getOwnPropertyNames,yn=Object.getPrototypeOf,Ji=Object.prototype.hasOwnProperty,vi=(m,b)=>function(){return m&&(b=(0,m[pi(m)[0]])(m=0)),b},Xe=(m,b)=>function(){return b||(0,m[pi(m)[0]])((b={exports:{}}).exports,b),b.exports},Ds=(m,b)=>{for(var g in b)Pr(m,g,{get:b[g],enumerable:!0})},Li=(m,b,g,A)=>{if(b&&typeof b=="object"||typeof b=="function")for(let E of pi(b))!Ji.call(m,E)&&E!==g&&Pr(m,E,{get:()=>b[E],enumerable:!(A=kn(b,E))||A.enumerable});return m},xi=(m,b,g)=>(g=m!=null?tn(yn(m)):{},Li(b||!m||!m.__esModule?Pr(g,"default",{value:m,enumerable:!0}):g,m)),ti=m=>Li(Pr({},"__esModule",{value:!0}),m),Gn,$s,js,S=vi({"<define:process>"(){Gn={},$s=[],js={env:Gn,argv:$s}}}),Je=Xe({"package.json"(m,b){b.exports={version:"2.7.1"}}}),Mr=Xe({"node_modules/diff/lib/diff/base.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.default=b;function b(){}b.prototype={diff:function(E,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}E=this.castInput(E),y=this.castInput(y),E=this.removeEmpty(this.tokenize(E)),y=this.removeEmpty(this.tokenize(y));var $=y.length,j=E.length,W=1,I=$+j,O=[{newPos:-1,components:[]}],z=this.extractCommon(O[0],y,E,0);if(O[0].newPos+1>=$&&z+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,E,J),ee.newPos+1>=$&&me+1>=j)return _(g(k,ee.components,y,E,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 fe=le();if(fe)return fe}},pushComponent:function(E,y,x){var w=E[E.length-1];w&&w.added===y&&w.removed===x?E[E.length-1]={count:w.count+1,added:y,removed:x}:E.push({count:1,added:y,removed:x})},extractCommon:function(E,y,x,w){for(var k=y.length,_=x.length,$=E.newPos,j=$-w,W=0;$+1<k&&j+1<_&&this.equals(y[$+1],x[j+1]);)$++,j++,W++;return W&&E.components.push({count:W}),E.newPos=$,j},equals:function(E,y){return this.options.comparator?this.options.comparator(E,y):E===y||this.options.ignoreCase&&E.toLowerCase()===y.toLowerCase()},removeEmpty:function(E){for(var y=[],x=0;x<E.length;x++)E[x]&&y.push(E[x]);return y},castInput:function(E){return E},tokenize:function(E){return E.split("")},join:function(E){return E.join("")}};function g(E,y,x,w,k){for(var _=0,$=y.length,j=0,W=0;_<$;_++){var I=y[_];if(I.removed){if(I.value=E.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 z=x.slice(j,j+I.count);z=z.map(function(fe,J){var ee=w[W+J];return ee.length>fe.length?ee:fe}),I.value=E.join(z)}else I.value=E.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)&&E.equals("",le.value)&&(y[$-2].value+=le.value,y.pop()),y}function A(E){return{newPos:E.newPos,components:E.components.slice(0)}}}}),sn=Xe({"node_modules/diff/lib/diff/array.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.diffArrays=E,m.arrayDiff=void 0;var b=g(Mr());function g(y){return y&&y.__esModule?y:{default:y}}var A=new b.default;m.arrayDiff=A,A.tokenize=function(y){return y.slice()},A.join=A.removeEmpty=function(y){return y};function E(y,x,w){return A.diff(y,x,w)}}}),ci=Xe({"src/document/doc-builders.js"(m,b){S();function g(X){return{type:"concat",parts:X}}function A(X){return{type:"indent",contents:X}}function E(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 E(Number.NEGATIVE_INFINITY,X)}function w(X){return E({type:"root"},X)}function k(X){return E(-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"},z={type:"break-parent"},le={type:"trim"},fe={type:"line",hard:!0},J={type:"line",hard:!0,literal:!0},ee={type:"line"},ue={type:"line",soft:!0},ge=g([fe,z]),me=g([J,z]),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=E(N%G,q),q=E(Number.NEGATIVE_INFINITY,q)}return q}function R(X,N){return{type:"label",label:X,contents:N}}b.exports={concat:g,join:V,line:ee,softline:ue,hardline:ge,literalline:me,group:y,conditionalGroup:_,fill:$,lineSuffix:I,lineSuffixBoundary:O,cursor:ye,breakParent:z,ifBreak:j,trim:le,indent:A,indentIfBreak:W,align:E,addAlignmentToDoc:L,markAsRoot:w,dedentToRoot:x,dedent:k,hardlineWithoutBreakParent:fe,literallineWithoutBreakParent:J,label:R}}}),ss=Xe({"src/common/end-of-line.js"(m,b){S();function g(x){let w=x.indexOf("\r");return w>=0?x.charAt(w+1)===`
|
|
`?"crlf":"cr":"lf"}function A(x){switch(x){case"cr":return"\r";case"crlf":return`\r
|
|
`;default:return`
|
|
`}}function E(x,w){let k;switch(w){case`
|
|
`:k=/\n/g;break;case"\r":k=/\r/g;break;case`\r
|
|
`: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,`
|
|
`)}b.exports={guessEndOfLine:g,convertEndOfLineToChars:A,countEndOfLineChars:E,normalizeEndOfLine:y}}}),Zi=Xe({"src/utils/get-last.js"(m,b){S();var g=A=>A[A.length-1];b.exports=g}});function ni(){let{onlyFirst:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=["[\\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(b,m?void 0:"g")}var qs=vi({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){S()}});function Jo(m){if(typeof m!="string")throw new TypeError("Expected a `string`, got `".concat(typeof m,"`"));return m.replace(ni(),"")}var Oo=vi({"node_modules/strip-ansi/index.js"(){S(),qs()}});function ja(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 mu=vi({"node_modules/is-fullwidth-code-point/index.js"(){S()}}),gu=Xe({"node_modules/emoji-regex/index.js"(m,b){S(),b.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={};Ds(fo,{default:()=>mo});function mo(m){if(typeof m!="string"||m.length===0||(m=Jo(m),m.length===0))return 0;m=m.replace((0,Ko.default)()," ");let b=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++,b+=ja(A)?2:1)}return b}var Ko,yu=vi({"node_modules/string-width/index.js"(){S(),Oo(),mu(),Ko=xi(gu())}}),Du=Xe({"src/utils/get-string-width.js"(m,b){S();var g=(yu(),ti(fo)).default,A=/[^\x20-\x7F]/;function E(y){return y?A.test(y)?g(y):y.length:0}b.exports=E}}),Qo=Xe({"src/document/doc-utils.js"(m,b){S();var g=Zi(),{literalline:A,join:E}=ci(),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 Ce=x(ne);for(let Re=Ce.length,Pe=Re-1;Pe>=0;--Pe)te.push(Ce[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 Ce=ne.expandedStates.length,Re=Ce-1;Re>=0;--Re)te.push(ne.expandedStates[Re]);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 Ce=te(ne);return q.set(ne,Ce),Ce}function te(ne){if(Array.isArray(ne))return G(ne.map(se));if(ne.type==="concat"||ne.type==="fill"){let Ce=ne.parts.map(se);return G(Object.assign(Object.assign({},ne),{},{parts:Ce}))}if(ne.type==="if-break"){let Ce=ne.breakContents&&se(ne.breakContents),Re=ne.flatContents&&se(ne.flatContents);return G(Object.assign(Object.assign({},ne),{},{breakContents:Ce,flatContents:Re}))}if(ne.type==="group"&&ne.expandedStates){let Ce=ne.expandedStates.map(se),Re=Ce[0];return G(Object.assign(Object.assign({},ne),{},{contents:Re,expandedStates:Ce}))}if(ne.contents){let Ce=se(ne.contents);return G(Object.assign(Object.assign({},ne),{},{contents:Ce}))}return G(ne)}}function $(N,G,q){let se=q,te=!1;function ne(Ce){let Re=G(Ce);if(Re!==void 0&&(te=!0,se=Re),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 z(N){return N.type==="line"&&!N.hard?N.soft?"":" ":N.type==="if-break"?N.flatContents||"":N}function le(N){return _(N,z)}var fe=(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&&fe(...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(`
|
|
`)?L(G):G)}function L(N){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A;return E(G,N.split(`
|
|
`)).parts}function R(N){if(N.type==="line")return!0}function X(N){return $(N,R,!1)}b.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}}}),Iu=Xe({"src/document/doc-printer.js"(m,b){S();var{convertEndOfLineToChars:g}=ss(),A=Zi(),E=Du(),{fill:y,cursor:x,indent:w}=ci(),{isConcat:k,getDocParts:_}=Qo(),$,j=1,W=2;function I(){return{value:"",length:0,queue:[]}}function O(ue,ge){return le(ue,{type:"indent"},ge)}function z(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 Ce of ye)switch(Ce.type){case"indent":q(),me.useTabs?N(1):G(me.tabWidth);break;case"stringAlign":q(),V+=Ce.n,L+=Ce.n.length;break;case"numberAlign":R+=1,X+=Ce.n;break;default:throw new Error("Unexpected type '".concat(Ce.type,"'"))}return te(),Object.assign(Object.assign({},ue),{},{value:V,length:L,queue:ye});function N(Ce){V+=" ".repeat(Ce),L+=me.tabWidth*Ce}function G(Ce){V+=" ".repeat(Ce),L+=Ce}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 fe(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-=E(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([z(G,se.n,ye),q,se.contents]);break;case"trim":me+=fe(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!==`
|
|
`?te.replace(/\n/g,ye):te;R.push(ne),V+=E(ne)}else if(k(te)){let ne=_(te);for(let Ce=ne.length-1;Ce>=0;Ce--)L.push([q,se,ne[Ce]])}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([z(q,te.n,ge),se,te.contents]);break;case"trim":V-=fe(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],Ce=me-V,Re=N.length>0;if(!te.break&&J(ne,L,Ce,ge,Re))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,Ce,ge,Re)){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:Ce}=te;if(Ce.length===0)break;let[Re,Pe]=Ce,Ge=[q,W,Re],We=[q,j,Re],Me=J(Ge,[],ne,ge,N.length>0,!0);if(Ce.length===1){Me?L.push(Ge):L.push(We);break}let gt=[q,W,Pe],qe=[q,j,Pe];if(Ce.length===2){Me?L.push(gt,Ge):L.push(qe,We);break}Ce.splice(0,2);let Ve=[q,se,y(Ce)],Ct=Ce[0];J([q,W,[Re,Pe,Ct]],[],ne,ge,N.length>0,!0)?L.push(Ve,gt,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 Ce=te.type==="if-break"?te.breakContents:te.negate?te.contents:w(te.contents);Ce&&L.push([q,se,Ce])}if(ne===W){let Ce=te.type==="if-break"?te.flatContents:te.negate?w(te.contents):te.contents;Ce&&L.push([q,se,Ce])}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-=fe(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("")}}b.exports={printDocToString:ee}}}),vu=Xe({"src/document/doc-debug.js"(m,b){S();var{isConcat:g,getDocParts:A}=Qo();function E(x){if(!x)return"";if(g(x)){let w=[];for(let k of A(x))if(g(k))w.push(...E(k).parts);else{let _=E(k);_!==""&&w.push(_)}return{type:"concat",parts:w}}return x.type==="if-break"?Object.assign(Object.assign({},x),{},{breakContents:E(x.breakContents),flatContents:E(x.flatContents)}):x.type==="group"?Object.assign(Object.assign({},x),{},{contents:E(x.contents),expandedStates:x.expandedStates&&x.expandedStates.map(E)}):x.type==="fill"?{type:"fill",parts:x.parts.map(E)}:x.contents?Object.assign(Object.assign({},x),{},{contents:E(x.contents)}):x}function y(x){let w=Object.create(null),k=new Set;return _(E(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 z=O.length>0?", { ".concat(O.join(", ")," }"):"";return"indentIfBreak(".concat(_(j.contents)).concat(z,")")}if(j.type==="group"){let O=[];j.break&&j.break!=="propagated"&&O.push("shouldBreak: true"),j.id&&O.push("id: ".concat($(j.id)));let z=O.length>0?", { ".concat(O.join(", ")," }"):"";return j.expandedStates?"conditionalGroup([".concat(j.expandedStates.map(le=>_(le)).join(","),"]").concat(z,")"):"group(".concat(_(j.contents)).concat(z,")")}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),")")}}}b.exports={printDocToDebug:y}}}),Ti=Xe({"src/document/index.js"(m,b){S(),b.exports={builders:ci(),printer:Iu(),utils:Qo(),debug:vu()}}}),Ou={};Ds(Ou,{default:()=>Lu});function Lu(m){if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Xa=vi({"node_modules/escape-string-regexp/index.js"(){S()}}),il=Xe({"node_modules/semver/internal/debug.js"(m,b){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,E=new Array(A),y=0;y<A;y++)E[y]=arguments[y];return console.error("SEMVER",...E)}:()=>{};b.exports=g}}),Mu=Xe({"node_modules/semver/internal/constants.js"(m,b){S();var g="2.0.0",A=256,E=Number.MAX_SAFE_INTEGER||9007199254740991,y=16;b.exports={SEMVER_SPEC_VERSION:g,MAX_LENGTH:A,MAX_SAFE_INTEGER:E,MAX_SAFE_COMPONENT_LENGTH:y}}}),xu=Xe({"node_modules/semver/internal/re.js"(m,b){S();var{MAX_SAFE_COMPONENT_LENGTH:g}=Mu(),A=il();m=b.exports={};var E=m.re=[],y=m.src=[],x=m.t={},w=0,k=(_,$,j)=>{let W=w++;A(_,W,$),x[_]=W,y[W]=$,E[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*$")}}),Lo=Xe({"node_modules/semver/internal/parse-options.js"(m,b){S();var g=["includePrerelease","loose","rtl"],A=E=>E?typeof E!="object"?{loose:!0}:g.filter(y=>E[y]).reduce((y,x)=>(y[x]=!0,y),{}):{};b.exports=A}}),Ba=Xe({"node_modules/semver/internal/identifiers.js"(m,b){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},E=(y,x)=>A(x,y);b.exports={compareIdentifiers:A,rcompareIdentifiers:E}}}),sl=Xe({"node_modules/semver/classes/semver.js"(m,b){S();var g=il(),{MAX_LENGTH:A,MAX_SAFE_INTEGER:E}=Mu(),{re:y,t:x}=xu(),w=Lo(),{compareIdentifiers:k}=Ba(),_=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>E||this.major<0)throw new TypeError("Invalid major version");if(this.minor>E||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>E||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<E)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}};b.exports=_}}),ju=Xe({"node_modules/semver/functions/compare.js"(m,b){S();var g=sl(),A=(E,y,x)=>new g(E,x).compare(new g(y,x));b.exports=A}}),al=Xe({"node_modules/semver/functions/lt.js"(m,b){S();var g=ju(),A=(E,y,x)=>g(E,y,x)<0;b.exports=A}}),Ru=Xe({"node_modules/semver/functions/gte.js"(m,b){S();var g=ju(),A=(E,y,x)=>g(E,y,x)>=0;b.exports=A}}),ol=Xe({"src/utils/arrayify.js"(m,b){S(),b.exports=(g,A)=>Object.entries(g).map(E=>{let[y,x]=E;return Object.assign({[A]:y},x)})}}),Cu=Xe({"node_modules/outdent/lib/index.js"(m,b){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:E()}function E(){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 z(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(z(ye)){var R=ye,X=(V[0]===ge||V[0]===fe)&&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 fe=le({trimLeadingNewline:!0,trimTrailingNewline:!0});if(m.outdent=fe,m.default=fe,typeof b<"u")try{b.exports=fe,Object.defineProperty(fe,"__esModule",{value:!0}),fe.default=fe,fe.outdent=fe}catch{}}}),_a=Xe({"src/main/core-options.js"(m,b){S();var{outdent:g}=Cu(),A="Config",E="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=Yr([`
|
|
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
This option cannot be used with --range-start and --range-end.
|
|
`]))),cliCategory:E},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=Yr([`
|
|
Maintain existing
|
|
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
`])))}]},filepath:{since:"1.4.0",category:_,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=Yr([`
|
|
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
Multiple values are accepted.
|
|
`]))),exception: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(yt||(yt=Yr([`
|
|
Format code ending at a given character offset (exclusive).
|
|
The range will extend forwards to the end of the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`]))),cliCategory:E},rangeStart:{since:"1.4.0",category:_,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:g(Vt||(Vt=Yr([`
|
|
Format code starting at a given character offset.
|
|
The range will extend backwards to the start of the first line containing the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`]))),cliCategory:E},requirePragma:{since:"1.7.0",category:_,type:"boolean",default:!1,description:g(nr||(nr=Yr([`
|
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
in order for it to be formatted.
|
|
`]))),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."}]}};b.exports={CATEGORY_CONFIG:A,CATEGORY_EDITOR:E,CATEGORY_FORMAT:y,CATEGORY_OTHER:x,CATEGORY_OUTPUT:w,CATEGORY_GLOBAL:k,CATEGORY_SPECIAL:_,options:$}}}),Ws=Xe({"src/main/support.js"(m,b){S();var g={compare:ju(),lt:al(),gte:Ru()},A=ol(),E=Je().version,y=_a().options;function x(){let{plugins:k=[],showUnreleased:_=!1,showDeprecated:$=!1,showInternal:j=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},W=E.split("-",1)[0],I=k.flatMap(J=>J.languages||[]).filter(z),O=A(Object.assign({},...k.map(J=>{let{options:ee}=J;return ee}),y),"name").filter(J=>z(J)&&le(J)).sort((J,ee)=>J.name===ee.name?0:J.name<ee.name?-1:1).map(fe).map(J=>{J=Object.assign({},J),Array.isArray(J.default)&&(J.default=J.default.length===1?J.default[0].value:J.default.filter(z).sort((ue,ge)=>g.compare(ge.since,ue.since))[0].value),Array.isArray(J.choices)&&(J.choices=J.choices.filter(ue=>z(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 z(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 fe(J){return j?J:Tr(J,de)}}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]),z=W.name;O&&O.name&&(z+=" (plugin: ".concat(O.name,")")),k.choices.push({value:I,description:z})}}}b.exports={getSupportInfo:x}}}),fa=Xe({"src/utils/is-non-empty-array.js"(m,b){S();function g(A){return Array.isArray(A)&&A.length>0}b.exports=g}}),Ta=Xe({"src/utils/text/skip.js"(m,b){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/),E=g(" "),y=g(",; "),x=g(/[^\n\r]/);b.exports={skipWhitespace:A,skipSpaces:E,skipToLineEnd:y,skipEverythingButNewLine:x}}}),Ja=Xe({"src/utils/text/skip-inline-comment.js"(m,b){S();function g(A,E){if(E===!1)return!1;if(A.charAt(E)==="/"&&A.charAt(E+1)==="*"){for(let y=E+2;y<A.length;++y)if(A.charAt(y)==="*"&&A.charAt(y+1)==="/")return y+2}return E}b.exports=g}}),Ia=Xe({"src/utils/text/skip-trailing-comment.js"(m,b){S();var{skipEverythingButNewLine:g}=Ta();function A(E,y){return y===!1?!1:E.charAt(y)==="/"&&E.charAt(y+1)==="/"?g(E,y):y}b.exports=A}}),Yo=Xe({"src/utils/text/skip-newline.js"(m,b){S();function g(A,E,y){let x=y&&y.backwards;if(E===!1)return!1;let w=A.charAt(E);if(x){if(A.charAt(E-1)==="\r"&&w===`
|
|
`)return E-2;if(w===`
|
|
`||w==="\r"||w==="\u2028"||w==="\u2029")return E-1}else{if(w==="\r"&&A.charAt(E+1)===`
|
|
`)return E+2;if(w===`
|
|
`||w==="\r"||w==="\u2028"||w==="\u2029")return E+1}return E}b.exports=g}}),Mo=Xe({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(m,b){S();var g=Ja(),A=Yo(),E=Ia(),{skipSpaces:y}=Ta();function x(w,k){let _=null,$=k;for(;$!==_;)_=$,$=y(w,$),$=g(w,$),$=E(w,$),$=A(w,$);return $}b.exports=x}}),Ki=Xe({"src/common/util.js"(m,b){S();var{default:g}=(Xa(),ti(Ou)),A=Zi(),{getSupportInfo:E}=Ws(),y=fa(),x=Du(),{skipWhitespace:w,skipSpaces:k,skipToLineEnd:_,skipEverythingButNewLine:$}=Ta(),j=Ja(),W=Ia(),I=Yo(),O=Mo(),z=qe=>qe[qe.length-2];function le(qe){return(Ve,Ct,St)=>{let Et=St&&St.backwards;if(Ct===!1)return!1;let{length:fr}=Ve,$e=Ct;for(;$e>=0&&$e<fr;){let nt=Ve.charAt($e);if(qe instanceof RegExp){if(!qe.test(nt))return $e}else if(!qe.includes(nt))return $e;Et?$e--:$e++}return $e===-1||$e===fr?$e:!1}}function fe(qe,Ve){let Ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},St=k(qe,Ct.backwards?Ve-1:Ve,Ct),Et=I(qe,St,Ct);return St!==Et}function J(qe,Ve,Ct){for(let St=Ve;St<Ct;++St)if(qe.charAt(St)===`
|
|
`)return!0;return!1}function ee(qe,Ve,Ct){let St=Ct(Ve)-1;St=k(qe,St,{backwards:!0}),St=I(qe,St,{backwards:!0}),St=k(qe,St,{backwards:!0});let Et=I(qe,St,{backwards:!0});return St!==Et}function ue(qe,Ve){let Ct=null,St=Ve;for(;St!==Ct;)Ct=St,St=_(qe,St),St=j(qe,St),St=k(qe,St);return St=W(qe,St),St=I(qe,St),St!==!1&&fe(qe,St)}function ge(qe,Ve,Ct){return ue(qe,Ct(Ve))}function me(qe,Ve,Ct){return O(qe,Ct(Ve))}function ye(qe,Ve,Ct){return qe.charAt(me(qe,Ve,Ct))}function V(qe,Ve){let Ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return k(qe,Ct.backwards?Ve-1:Ve,Ct)!==Ve}function L(qe,Ve){let Ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,St=0;for(let Et=Ct;Et<qe.length;++Et)qe[Et]===" "?St=St+Ve-St%Ve:St++;return St}function R(qe,Ve){let Ct=qe.lastIndexOf(`
|
|
`);return Ct===-1?0:L(qe.slice(Ct+1).match(/^[\t ]*/)[0],Ve)}function X(qe,Ve){let Ct={quote:'"',regex:/"/g,escaped:"""},St={quote:"'",regex:/'/g,escaped:"'"},Et=Ve==="'"?St:Ct,fr=Et===St?Ct:St,$e=Et;if(qe.includes(Et.quote)||qe.includes(fr.quote)){let nt=(qe.match(Et.regex)||[]).length,rr=(qe.match(fr.regex)||[]).length;$e=nt>rr?fr:Et}return $e}function N(qe,Ve){let Ct=qe.slice(1,-1),St=Ve.parser==="json"||Ve.parser==="json5"&&Ve.quoteProps==="preserve"&&!Ve.singleQuote?'"':Ve.__isInHtmlAttribute?"'":X(Ct,Ve.singleQuote?"'":'"').quote;return G(Ct,St,!(Ve.parser==="css"||Ve.parser==="less"||Ve.parser==="scss"||Ve.__embeddedInHtml))}function G(qe,Ve,Ct){let St=Ve==='"'?"'":'"',Et=/\\(.)|(["'])/gs,fr=qe.replace(Et,($e,nt,rr)=>nt===St?nt:rr===Ve?"\\"+rr:rr||(Ct&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(nt)?nt:"\\"+nt));return Ve+fr+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 Ct=qe.match(new RegExp("(".concat(g(Ve),")+"),"g"));return Ct===null?0:Ct.reduce((St,Et)=>Math.max(St,Et.length/Ve.length),0)}function te(qe,Ve){let Ct=qe.match(new RegExp("(".concat(g(Ve),")+"),"g"));if(Ct===null)return 0;let St=new Map,Et=0;for(let fr of Ct){let $e=fr.length/Ve.length;St.set($e,!0),$e>Et&&(Et=$e)}for(let fr=1;fr<Et;fr++)if(!St.get(fr))return fr;return Et+1}function ne(qe,Ve){(qe.comments||(qe.comments=[])).push(Ve),Ve.printed=!1,Ve.nodeDescription=gt(qe)}function Ce(qe,Ve){Ve.leading=!0,Ve.trailing=!1,ne(qe,Ve)}function Re(qe,Ve,Ct){Ve.leading=!1,Ve.trailing=!1,Ct&&(Ve.marker=Ct),ne(qe,Ve)}function Pe(qe,Ve){Ve.leading=!1,Ve.trailing=!0,ne(qe,Ve)}function Ge(qe,Ve){let{languages:Ct}=E({plugins:Ve.plugins}),St=Ct.find(Et=>{let{name:fr}=Et;return fr.toLowerCase()===qe})||Ct.find(Et=>{let{aliases:fr}=Et;return Array.isArray(fr)&&fr.includes(qe)})||Ct.find(Et=>{let{extensions:fr}=Et;return Array.isArray(fr)&&fr.includes(".".concat(qe))});return St&&St.parsers[0]}function We(qe){return qe&&qe.type==="front-matter"}function Me(qe){let Ve=new WeakMap;return function(Ct){return Ve.has(Ct)||Ve.set(Ct,Symbol(qe)),Ve.get(Ct)}}function gt(qe){let Ve=qe.type||qe.kind||"(unknown type)",Ct=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 Ct.length>20&&(Ct=Ct.slice(0,19)+"\u2026"),Ve+(Ct?" "+Ct:"")}b.exports={inferParserByLanguage:Ge,getStringWidth:x,getMaxContinuousCount:se,getMinNotPresentContinuousCount:te,getPenultimate:z,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:fe,hasNewlineInRange:J,hasSpaces:V,getAlignmentSize:L,getIndentSize:R,getPreferredQuote:X,printString:N,printNumber:q,makeString:G,addLeadingComment:Ce,addDanglingComment:Re,addTrailingComment:Pe,isFrontMatterNode:We,isNonEmptyArray:y,createGroupIdMapper:Me}}}),Eu={};Ds(Eu,{basename:()=>Wn,default:()=>ei,delimiter:()=>ii,dirname:()=>go,extname:()=>Cn,isAbsolute:()=>Co,join:()=>eu,normalize:()=>bu,relative:()=>Ra,resolve:()=>Zo,sep:()=>ri});function Sa(m,b){for(var g=0,A=m.length-1;A>=0;A--){var E=m[A];E==="."?m.splice(A,1):E===".."?(m.splice(A,1),g++):g&&(m.splice(A,1),g--)}if(b)for(;g--;g)m.unshift("..");return m}function Zo(){for(var m="",b=!1,g=arguments.length-1;g>=-1&&!b;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,b=A.charAt(0)==="/")}return m=Sa(vn(m.split("/"),function(E){return!!E}),!b).join("/"),(b?"/":"")+m||"."}function bu(m){var b=Co(m),g=Ci(m,-1)==="/";return m=Sa(vn(m.split("/"),function(A){return!!A}),!b).join("/"),!m&&!b&&(m="."),m&&g&&(m+="/"),(b?"/":"")+m}function Co(m){return m.charAt(0)==="/"}function eu(){var m=Array.prototype.slice.call(arguments,0);return bu(vn(m,function(b,g){if(typeof b!="string")throw new TypeError("Arguments to path.join must be strings");return b}).join("/"))}function Ra(m,b){m=Zo(m).substr(1),b=Zo(b).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("/")),E=g(b.split("/")),y=Math.min(A.length,E.length),x=y,w=0;w<y;w++)if(A[w]!==E[w]){x=w;break}for(var k=[],w=x;w<A.length;w++)k.push("..");return k=k.concat(E.slice(x)),k.join("/")}function go(m){var b=pn(m),g=b[0],A=b[1];return!g&&!A?".":(A&&(A=A.substr(0,A.length-1)),g+A)}function Wn(m,b){var g=pn(m)[2];return b&&g.substr(-1*b.length)===b&&(g=g.substr(0,g.length-b.length)),g}function Cn(m){return pn(m)[3]}function vn(m,b){if(m.filter)return m.filter(b);for(var g=[],A=0;A<m.length;A++)b(m[A],A,m)&&g.push(m[A]);return g}var nn,pn,ri,ii,ei,Ci,qi=vi({"node-modules-polyfills:path"(){S(),nn=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,pn=function(m){return nn.exec(m).slice(1)},ri="/",ii=":",ei={extname:Cn,basename:Wn,dirname:go,sep:ri,delimiter:ii,relative:Ra,join:eu,isAbsolute:Co,normalize:bu,resolve:Zo},Ci="ab".substr(-1)==="b"?function(m,b,g){return m.substr(b,g)}:function(m,b,g){return b<0&&(b=m.length+b),m.substr(b,g)}}}),Qi=Xe({"node-modules-polyfills-commonjs:path"(m,b){S();var g=(qi(),ti(Eu));if(g&&g.default){b.exports=g.default;for(let A in g)b.exports[A]=g[A]}else g&&(b.exports=g)}}),Yn=Xe({"src/common/errors.js"(m,b){S();var g=class extends Error{},A=class extends Error{},E=class extends Error{},y=class extends Error{};b.exports={ConfigError:g,DebugError:A,UndefinedParserError:E,ArgExpansionBailout:y}}}),Mi={};Ds(Mi,{__assign:()=>Nn,__asyncDelegator:()=>rt,__asyncGenerator:()=>ie,__asyncValues:()=>Dt,__await:()=>Si,__awaiter:()=>Oi,__classPrivateFieldGet:()=>vt,__classPrivateFieldSet:()=>Lt,__createBinding:()=>Xs,__decorate:()=>ws,__exportStar:()=>Oa,__extends:()=>as,__generator:()=>dt,__importDefault:()=>ut,__importStar:()=>Kt,__makeTemplateObject:()=>Tt,__metadata:()=>Gi,__param:()=>da,__read:()=>Rs,__rest:()=>ji,__spread:()=>ra,__spreadArrays:()=>ms,__values:()=>Is});function as(m,b){Jt(m,b);function g(){this.constructor=m}m.prototype=b===null?Object.create(b):(g.prototype=b.prototype,new g)}function ji(m,b){var g={};for(var A in m)Object.prototype.hasOwnProperty.call(m,A)&&b.indexOf(A)<0&&(g[A]=m[A]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,A=Object.getOwnPropertySymbols(m);E<A.length;E++)b.indexOf(A[E])<0&&Object.prototype.propertyIsEnumerable.call(m,A[E])&&(g[A[E]]=m[A[E]]);return g}function ws(m,b,g,A){var E=arguments.length,y=E<3?b:A===null?A=Object.getOwnPropertyDescriptor(b,g):A,x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(m,b,g,A);else for(var w=m.length-1;w>=0;w--)(x=m[w])&&(y=(E<3?x(y):E>3?x(b,g,y):x(b,g))||y);return E>3&&y&&Object.defineProperty(b,g,y),y}function da(m,b){return function(g,A){b(g,A,m)}}function Gi(m,b){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(m,b)}function Oi(m,b,g,A){function E(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):E($.value).then(w,k)}_((A=A.apply(m,b||[])).next())})}function dt(m,b){var g={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},A,E,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,E&&(y=_[0]&2?E.return:_[0]?E.throw||((y=E.return)&&y.call(E),0):E.next)&&!(y=y.call(E,_[1])).done)return y;switch(E=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++,E=_[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}_=b.call(m,g)}catch($){_=[6,$],E=0}finally{A=y=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}}function Xs(m,b,g,A){A===void 0&&(A=g),m[A]=b[g]}function Oa(m,b){for(var g in m)g!=="default"&&!b.hasOwnProperty(g)&&(b[g]=m[g])}function Is(m){var b=typeof Symbol=="function"&&Symbol.iterator,g=b&&m[b],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(b?"Object is not iterable.":"Symbol.iterator is not defined.")}function Rs(m,b){var g=typeof Symbol=="function"&&m[Symbol.iterator];if(!g)return m;var A=g.call(m),E,y=[],x;try{for(;(b===void 0||b-- >0)&&!(E=A.next()).done;)y.push(E.value)}catch(w){x={error:w}}finally{try{E&&!E.done&&(g=A.return)&&g.call(A)}finally{if(x)throw x.error}}return y}function ra(){for(var m=[],b=0;b<arguments.length;b++)m=m.concat(Rs(arguments[b]));return m}function ms(){for(var m=0,b=0,g=arguments.length;b<g;b++)m+=arguments[b].length;for(var A=Array(m),E=0,b=0;b<g;b++)for(var y=arguments[b],x=0,w=y.length;x<w;x++,E++)A[E]=y[x];return A}function Si(m){return this instanceof Si?(this.v=m,this):new Si(m)}function ie(m,b,g){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=g.apply(m,b||[]),E,y=[];return E={},x("next"),x("throw"),x("return"),E[Symbol.asyncIterator]=function(){return this},E;function x(W){A[W]&&(E[W]=function(I){return new Promise(function(O,z){y.push([W,I,O,z])>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 Si?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 b,g;return b={},A("next"),A("throw",function(E){throw E}),A("return"),b[Symbol.iterator]=function(){return this},b;function A(E,y){b[E]=m[E]?function(x){return(g=!g)?{value:Si(m[E](x)),done:E==="return"}:y?y(x):x}:y}}function Dt(m){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b=m[Symbol.asyncIterator],g;return b?b.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),E(w,k,x.done,x.value)})}}function E(y,x,w,k){Promise.resolve(k).then(function(_){y({value:_,done:w})},x)}}function Tt(m,b){return Object.defineProperty?Object.defineProperty(m,"raw",{value:b}):m.raw=b,m}function Kt(m){if(m&&m.__esModule)return m;var b={};if(m!=null)for(var g in m)Object.hasOwnProperty.call(m,g)&&(b[g]=m[g]);return b.default=m,b}function ut(m){return m&&m.__esModule?m:{default:m}}function vt(m,b){if(!b.has(m))throw new TypeError("attempted to get private field on non-instance");return b.get(m)}function Lt(m,b,g){if(!b.has(m))throw new TypeError("attempted to set private field on non-instance");return b.set(m,g),g}var Jt,Nn,at=vi({"node_modules/tslib/tslib.es6.js"(){S(),Jt=function(m,b){return Jt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,A){g.__proto__=A}||function(g,A){for(var E in A)A.hasOwnProperty(E)&&(g[E]=A[E])},Jt(m,b)},Nn=function(){return Nn=Object.assign||function(m){for(var b,g=1,A=arguments.length;g<A;g++){b=arguments[g];for(var E in b)Object.prototype.hasOwnProperty.call(b,E)&&(m[E]=b[E])}return m},Nn.apply(this,arguments)}}}),_t=Xe({"node_modules/vnopts/lib/descriptors/api.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.apiDescriptor={key:b=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(b)?b:JSON.stringify(b),value(b){if(b===null||typeof b!="object")return JSON.stringify(b);if(Array.isArray(b))return"[".concat(b.map(A=>m.apiDescriptor.value(A)).join(", "),"]");let g=Object.keys(b);return g.length===0?"{}":"{ ".concat(g.map(A=>"".concat(m.apiDescriptor.key(A),": ").concat(m.apiDescriptor.value(b[A]))).join(", ")," }")},pair:b=>{let{key:g,value:A}=b;return m.apiDescriptor.value({[g]:A})}}}}),ir=Xe({"node_modules/vnopts/lib/descriptors/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=(at(),ti(Mi));b.__exportStar(_t(),m)}}),$r=Xe({"scripts/build/shims/chalk.cjs"(m,b){S();var g=A=>A;g.grey=g,g.red=g,g.bold=g,g.yellow=g,g.blue=g,g.default=g,b.exports=g}}),Nr=Xe({"node_modules/vnopts/lib/handlers/deprecated/common.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=$r();m.commonDeprecatedHandler=(g,A,E)=>{let{descriptor:y}=E,x=["".concat(b.default.yellow(typeof g=="string"?y.key(g):y.pair(g))," is deprecated")];return A&&x.push("we now treat it as ".concat(b.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 b=(at(),ti(Mi));b.__exportStar(Nr(),m)}}),Or=Xe({"node_modules/vnopts/lib/handlers/invalid/common.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=$r();m.commonInvalidHandler=(g,A,E)=>["Invalid ".concat(b.default.red(E.descriptor.key(g))," value."),"Expected ".concat(b.default.blue(E.schemas[g].expected(E)),","),"but received ".concat(b.default.red(E.descriptor.value(A)),".")].join(" ")}}),Bn=Xe({"node_modules/vnopts/lib/handlers/invalid/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=(at(),ti(Mi));b.__exportStar(Or(),m)}}),_n=Xe({"node_modules/vnopts/node_modules/leven/index.js"(m,b){S();var g=[],A=[];b.exports=function(E,y){if(E===y)return 0;var x=E;E.length>y.length&&(E=y,y=x);var w=E.length,k=y.length;if(w===0)return k;if(k===0)return w;for(;w>0&&E.charCodeAt(~-w)===y.charCodeAt(~-k);)w--,k--;if(w===0)return k;for(var _=0;_<w&&E.charCodeAt(_)===y.charCodeAt(_);)_++;if(w-=_,k-=_,w===0)return k;for(var $,j,W,I,O=0,z=0;O<w;)A[_+O]=E.charCodeAt(_+O),g[O]=++O;for(;z<k;)for($=y.charCodeAt(_+z),W=z++,j=z,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}}}),On=Xe({"node_modules/vnopts/lib/handlers/unknown/leven.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=$r(),g=_n();m.levenUnknownHandler=(A,E,y)=>{let{descriptor:x,logger:w,schemas:k}=y,_=["Ignored unknown option ".concat(b.default.yellow(x.pair({key:A,value:E})),".")],$=Object.keys(k).sort().find(j=>g(A,j)<3);$&&_.push("Did you mean ".concat(b.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 b=(at(),ti(Mi));b.__exportStar(On(),m)}}),ps=Xe({"node_modules/vnopts/lib/handlers/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=(at(),ti(Mi));b.__exportStar(qr(),m),b.__exportStar(Bn(),m),b.__exportStar(Ui(),m)}}),cn=Xe({"node_modules/vnopts/lib/schema.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=["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 b)_ in x&&(k[_]=E(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 E(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}}}),Ei=Xe({"node_modules/vnopts/lib/schemas/alias.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=cn(),g=class extends b.Schema{constructor(A){super(A),this._sourceName=A.sourceName}expected(A){return A.schemas[this._sourceName].expected(A)}validate(A,E){return E.schemas[this._sourceName].validate(A,E)}redirect(A,E){return this._sourceName}};m.AliasSchema=g}}),Fi=Xe({"node_modules/vnopts/lib/schemas/any.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=cn(),g=class extends b.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 b=(at(),ti(Mi)),g=cn(),A=class extends g.Schema{constructor(y){var{valueSchema:x,name:w=x.name}=y,k=b.__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(E))}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(E))}return w.length===0?{redirect:k}:{redirect:k,remain:w}}overlap(y,x){return y.concat(x)}};m.ArraySchema=A;function E(y){let{from:x,to:w}=y;return{from:[x],to:w}}}}),vs=Xe({"node_modules/vnopts/lib/schemas/boolean.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=cn(),g=class extends b.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 b(I,O){let z=Object.create(null);for(let le of I){let fe=le[O];if(z[fe])throw new Error("Duplicate ".concat(O," ").concat(JSON.stringify(fe)));z[fe]=le}return z}m.recordFromArray=b;function g(I,O){let z=new Map;for(let le of I){let fe=le[O];if(z.has(fe))throw new Error("Duplicate ".concat(O," ").concat(JSON.stringify(fe)));z.set(fe,le)}return z}m.mapFromArray=g;function A(){let I=Object.create(null);return O=>{let z=JSON.stringify(O);return I[z]?!0:(I[z]=!0,!1)}}m.createAutoChecklist=A;function E(I,O){let z=[],le=[];for(let fe of I)O(fe)?z.push(fe):le.push(fe);return[z,le]}m.partition=E;function y(I){return I===Math.floor(I)}m.isInt=y;function x(I,O){if(I===O)return 0;let z=typeof I,le=typeof O,fe=["undefined","object","boolean","number","string"];return z!==le?fe.indexOf(z)-fe.indexOf(le):z!=="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 z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return I===!1?!1:I===!0?z?!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(z=>$(z,O)):[$(I,O)]}m.normalizeForwardResult=j;function W(I,O){let z=j(typeof I=="object"&&"redirect"in I?I.redirect:I,O);return z.length===0?{remain:O,redirect:z}:typeof I=="object"&&"remain"in I?{remain:I.remain,redirect:z}:{redirect:z}}m.normalizeRedirectResult=W}}),mt=Xe({"node_modules/vnopts/lib/schemas/choice.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=cn(),g=Ke(),A=class extends b.Schema{constructor(E){super(E),this._choices=g.mapFromArray(E.choices.map(y=>y&&typeof y=="object"?y:{value:y}),"value")}expected(E){let{descriptor:y}=E,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(E){return this._choices.has(E)}deprecated(E){let y=this._choices.get(E);return y&&y.deprecated?{value:E}:!1}forward(E){let y=this._choices.get(E);return y?y.forward:void 0}redirect(E){let y=this._choices.get(E);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 b=cn(),g=class extends b.Schema{expected(){return"a number"}validate(A,E){return typeof A=="number"}};m.NumberSchema=g}}),hr=Xe({"node_modules/vnopts/lib/schemas/integer.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=Ke(),g=Hr(),A=class extends g.NumberSchema{expected(){return"an integer"}validate(E,y){return y.normalizeValidateResult(super.validate(E,y),E)===!0&&b.isInt(E)}};m.IntegerSchema=A}}),En=Xe({"node_modules/vnopts/lib/schemas/string.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=cn(),g=class extends b.Schema{expected(){return"a string"}validate(A){return typeof A=="string"}};m.StringSchema=g}}),$i=Xe({"node_modules/vnopts/lib/schemas/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=(at(),ti(Mi));b.__exportStar(Ei(),m),b.__exportStar(Fi(),m),b.__exportStar(os(),m),b.__exportStar(vs(),m),b.__exportStar(mt(),m),b.__exportStar(hr(),m),b.__exportStar(Hr(),m),b.__exportStar(En(),m)}}),xs=Xe({"node_modules/vnopts/lib/defaults.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=_t(),g=Nr(),A=Bn(),E=On();m.defaultDescriptor=b.apiDescriptor,m.defaultUnknownHandler=E.levenUnknownHandler,m.defaultInvalidHandler=A.commonInvalidHandler,m.defaultDeprecatedHandler=g.commonDeprecatedHandler}}),Us=Xe({"node_modules/vnopts/lib/normalize.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=xs(),g=Ke();m.normalize=(E,y,x)=>new A(y,x).normalize(E);var A=class{constructor(E,y){let{logger:x=console,descriptor:w=b.defaultDescriptor,unknown:k=b.defaultUnknownHandler,invalid:_=b.defaultInvalidHandler,deprecated:$=b.defaultDeprecatedHandler}=y||{};this._utils={descriptor:w,logger:x||{warn:()=>{}},schemas:g.recordFromArray(E,"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(E){let y={},x=[E],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(E,y){let x=[],[w,k]=g.partition(Object.keys(E),_=>_ in this._utils.schemas);for(let _ of w){let $=this._utils.schemas[_],j=$.preprocess(E[_],this._utils),W=g.normalizeValidateResult($.validate(j,this._utils),j);if(W!==!0){let{value:le}=W,fe=this._invalidHandler(_,le,this._utils);throw typeof fe=="string"?new Error(fe):fe}let I=le=>{let{from:fe,to:J}=le;x.push(typeof J=="string"?{[J]:fe}:{[J.key]:J.value})},O=le=>{let{value:fe,redirectTo:J}=le,ee=g.normalizeDeprecatedResult($.deprecated(fe,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 z=g.normalizeRedirectResult($.redirect(j,this._utils),j);if(z.redirect.forEach(I),"remain"in z){let le=z.remain;y[_]=_ in y?$.overlap(y[_],le,this._utils):le,O({value:le})}for(let{from:le,to:fe}of z.redirect)O({value:le,redirectTo:fe})}for(let _ of k){let $=E[_],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}}),zs=Xe({"node_modules/vnopts/lib/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=(at(),ti(Mi));b.__exportStar(ir(),m),b.__exportStar(ps(),m),b.__exportStar($i(),m),b.__exportStar(Us(),m),b.__exportStar(cn(),m)}}),ha=Xe({"src/main/options-normalizer.js"(m,b){S();var g=zs(),A=Zi(),E={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?E.key(I):O===""?"".concat(E.key(I)," without an argument"):"".concat(E.key(I),"=").concat(O)}},y=W=>{let{colorsModule:I,levenshteinDistance:O}=W;return class extends g.ChoiceSchema{constructor(z){let{name:le,flags:fe}=z;super({name:le,choices:fe}),this._flags=[...fe].sort()}preprocess(z,le){if(typeof z=="string"&&z.length>0&&!this._flags.includes(z)){let fe=this._flags.find(J=>O(J,z)<3);if(fe)return le.logger.warn(["Unknown flag ".concat(I.yellow(le.descriptor.value(z)),","),"did you mean ".concat(I.blue(le.descriptor.value(fe)),"?")].join(" ")),fe}return z}expected(){return"a flag"}}},x;function w(W,I){let{logger:O=!1,isCLI:z=!1,passThrough:le=!1,colorsModule:fe=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=Tr(N,be);return g.levenUnknownHandler(L,R,Object.assign(Object.assign({},X),{},{schemas:G}))},ue=z?E:g.apiDescriptor,ge=k(I,{isCLI:z,colorsModule:fe,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),z&&V["plugin-search"]===!1&&(V["plugin-search-dir"]=!1),V}function k(W,I){let{isCLI:O,colorsModule:z,levenshteinDistance:le}=I,fe=[];O&&fe.push(g.AnySchema.create({name:"_"}));for(let J of W)fe.push(_(J,{isCLI:O,optionInfos:W,colorsModule:z,levenshteinDistance:le})),J.alias&&O&&fe.push(g.AliasSchema.create({name:J.alias,sourceName:J.name}));return fe}function _(W,I){let{isCLI:O,optionInfos:z,colorsModule:le,levenshteinDistance:fe}=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:fe}),ee.flags=z.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))}b.exports={normalizeApiOptions:$,normalizeCliOptions:j}}}),gs=Xe({"src/language-js/loc.js"(m,b){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 E(k){return k.range?k.range[1]:k.end}function y(k,_){let $=A(k);return Number.isInteger($)&&$===A(_)}function x(k,_){let $=E(k);return Number.isInteger($)&&$===E(_)}function w(k,_){return y(k,_)&&x(k,_)}b.exports={locStart:A,locEnd:E,hasSameLocStart:y,hasSameLoc:w}}}),Ts=Xe({"src/main/load-parser.js"(m,b){S(),b.exports=()=>{}}}),Ss=Xe({"scripts/build/shims/babel-highlight.cjs"(m,b){S();var g=$r(),A={shouldHighlight:()=>!1,getChalk:()=>g};b.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 b=Ss(),g=!1;function A(k){return{gutter:k.grey,marker:k.red.bold,message:k.red.bold}}var E=/\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}=$||{},z=j.line,le=j.column,fe=W.line,J=W.column,ee=Math.max(z-(I+1),0),ue=Math.min(_.length,fe+O);z===-1&&(ee=0),fe===-1&&(ue=_.length);let ge=fe-z,me={};if(ge)for(let ye=0;ye<=ge;ye++){let V=ye+z;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[z]=[le,0]:me[z]=!0:me[z]=[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,b.shouldHighlight)($),W=(0,b.getChalk)($),I=A(W),O=(me,ye)=>j?me(ye):ye,z=k.split(E),{start:le,end:fe,markerLines:J}=y(_,z,$),ee=_.start&&typeof _.start.column=="number",ue=String(fe).length,ge=(j?(0,b.default)(k,$):k).split(E,fe).slice(le,fe).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=[`
|
|
`,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(`
|
|
`);return $.message&&!ee&&(ge="".concat(" ".repeat(ue+1)).concat($.message,`
|
|
`).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)}}}),bn=Xe({"src/main/parser.js"(m,b){S();var{ConfigError:g}=Yn(),A=gs();Ts();var{locStart:E,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:E,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}}]))),z=_(W,I);try{return z.preprocess&&(j=z.preprocess(j,W)),{text:j,ast:z.parse(j,O,W)}}catch(le){let{loc:fe}=le;if(fe){let{codeFrameColumns:J}=Da();throw le.codeFrame=J(j,fe,{highlightCode:!0}),le.message+=`
|
|
`+le.codeFrame,le}throw le.stack}}b.exports={parse:$,resolveParser:_}}}),Rn=Xe({"src/main/options.js"(m,b){S();var g=Qi(),{UndefinedParserError:A}=Yn(),{getSupportInfo:E}=Ws(),y=ha(),{resolveParser:x}=bn(),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=E({plugins:j.plugins,showUnreleased:!0,showDeprecated:!0}).options,z=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 fe=_(I);I.printer=fe.printers[I.astFormat];let J=Object.fromEntries(O.filter(ue=>ue.pluginDefaults&&ue.pluginDefaults[fe.name]!==void 0).map(ue=>[ue.name,ue.pluginDefaults[fe.name]])),ee=Object.assign(Object.assign({},z),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=E({plugins:W}).languages.filter(z=>z.since!==null).find(z=>z.extensions&&z.extensions.some(le=>I.endsWith(le))||z.filenames&&z.filenames.some(le=>le.toLowerCase()===I));return O&&O.parsers[0]}b.exports={normalize:k,hiddenDefaults:w,inferParser:$}}}),hi=Xe({"src/main/massage-ast.js"(m,b){S();function g(A,E,y){if(Array.isArray(A))return A.map(_=>g(_,E,y)).filter(Boolean);if(!A||typeof A!="object")return A;let x=E.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($,E,A));if(x){let _=x(A,k,y);if(_===null)return;if(_)return _}return k}b.exports=g}}),fi=Xe({"scripts/build/shims/assert.cjs"(m,b){S();var g=()=>{};g.ok=g,g.strictEqual=g,b.exports=g}}),Bi=Xe({"src/main/comments.js"(m,b){S();var g=fi(),{builders:{line:A,hardline:E,breakParent:y,indent:x,lineSuffix:w,join:k,cursor:_}}=Ti(),{hasNewline:$,skipNewline:j,skipSpaces:W,isPreviousLineEmpty:I,addLeadingComment:O,addDanglingComment:z,addTrailingComment:le}=Ki(),fe=new WeakMap;function J(Ce,Re,Pe){if(!Ce)return;let{printer:Ge,locStart:We,locEnd:Me}=Re;if(Pe){if(Ge.canAttachComment&&Ge.canAttachComment(Ce)){let qe;for(qe=Pe.length-1;qe>=0&&!(We(Pe[qe])<=We(Ce)&&Me(Pe[qe])<=Me(Ce));--qe);Pe.splice(qe+1,0,Ce);return}}else if(fe.has(Ce))return fe.get(Ce);let gt=Ge.getCommentChildNodes&&Ge.getCommentChildNodes(Ce,Re)||typeof Ce=="object"&&Object.entries(Ce).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(gt){Pe||(Pe=[],fe.set(Ce,Pe));for(let qe of gt)J(qe,Re,Pe);return Pe}}function ee(Ce,Re,Pe,Ge){let{locStart:We,locEnd:Me}=Pe,gt=We(Re),qe=Me(Re),Ve=J(Ce,Pe),Ct,St,Et=0,fr=Ve.length;for(;Et<fr;){let $e=Et+fr>>1,nt=Ve[$e],rr=We(nt),Dr=Me(nt);if(rr<=gt&&qe<=Dr)return ee(nt,Re,Pe,nt);if(Dr<=gt){Ct=nt,Et=$e+1;continue}if(qe<=rr){St=nt,fr=$e;continue}throw new Error("Comment location overlaps with node location")}if(Ge&&Ge.type==="TemplateLiteral"){let{quasis:$e}=Ge,nt=X($e,Re,Pe);Ct&&X($e,Ct,Pe)!==nt&&(Ct=null),St&&X($e,St,Pe)!==nt&&(St=null)}return{enclosingNode:Ge,precedingNode:Ct,followingNode:St}}var ue=()=>!1;function ge(Ce,Re,Pe,Ge){if(!Array.isArray(Ce))return;let We=[],{locStart:Me,locEnd:gt,printer:{handleComments:qe={}}}=Ge,{avoidAstMutation:Ve,ownLine:Ct=ue,endOfLine:St=ue,remaining:Et=ue}=qe,fr=Ce.map(($e,nt)=>Object.assign(Object.assign({},ee(Re,$e,Ge)),{},{comment:$e,text:Pe,options:Ge,ast:Re,isLastComment:Ce.length-1===nt}));for(let[$e,nt]of fr.entries()){let{comment:rr,precedingNode:Dr,enclosingNode:Zt,followingNode:tt,text:ot,options:pt,ast:cr,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(cr)<=0){O(cr,rr);continue}if(gt(rr)-gt(cr)>=0){le(cr,rr);continue}}let ln;if(Ve?ln=[nt]:(rr.enclosingNode=Zt,rr.precedingNode=Dr,rr.followingNode=tt,ln=[rr,ot,pt,cr,Yt]),ye(ot,pt,fr,$e))rr.placement="ownLine",Ct(...ln)||(tt?O(tt,rr):Dr?le(Dr,rr):z(Zt||cr,rr));else if(V(ot,pt,fr,$e))rr.placement="endOfLine",St(...ln)||(Dr?le(Dr,rr):tt?O(tt,rr):z(Zt||cr,rr));else if(rr.placement="remaining",!Et(...ln))if(Dr&&tt){let si=We.length;si>0&&We[si-1].followingNode!==tt&&L(We,ot,pt),We.push(nt)}else Dr?le(Dr,rr):tt?O(tt,rr):z(Zt||cr,rr)}if(L(We,Pe,Ge),!Ve)for(let $e of Ce)delete $e.precedingNode,delete $e.enclosingNode,delete $e.followingNode}var me=Ce=>!/[\S\n\u2028\u2029]/.test(Ce);function ye(Ce,Re,Pe,Ge){let{comment:We,precedingNode:Me}=Pe[Ge],{locStart:gt,locEnd:qe}=Re,Ve=gt(We);if(Me)for(let Ct=Ge-1;Ct>=0;Ct--){let{comment:St,precedingNode:Et}=Pe[Ct];if(Et!==Me||!me(Ce.slice(qe(St),Ve)))break;Ve=gt(St)}return $(Ce,Ve,{backwards:!0})}function V(Ce,Re,Pe,Ge){let{comment:We,followingNode:Me}=Pe[Ge],{locStart:gt,locEnd:qe}=Re,Ve=qe(We);if(Me)for(let Ct=Ge+1;Ct<Pe.length;Ct++){let{comment:St,followingNode:Et}=Pe[Ct];if(Et!==Me||!me(Ce.slice(Ve,gt(St))))break;Ve=qe(St)}return $(Ce,Ve)}function L(Ce,Re,Pe){let Ge=Ce.length;if(Ge===0)return;let{precedingNode:We,followingNode:Me,enclosingNode:gt}=Ce[0],qe=Pe.printer.getGapRegex&&Pe.printer.getGapRegex(gt)||/^[\s(]*$/,Ve=Pe.locStart(Me),Ct;for(Ct=Ge;Ct>0;--Ct){let{comment:St,precedingNode:Et,followingNode:fr}=Ce[Ct-1];g.strictEqual(Et,We),g.strictEqual(fr,Me);let $e=Re.slice(Pe.locEnd(St),Ve);if(qe.test($e))Ve=Pe.locStart(St);else break}for(let[St,{comment:Et}]of Ce.entries())St<Ct?le(We,Et):O(Me,Et);for(let St of[We,Me])St.comments&&St.comments.length>1&&St.comments.sort((Et,fr)=>Pe.locStart(Et)-Pe.locStart(fr));Ce.length=0}function R(Ce,Re){let Pe=Ce.getValue();return Pe.printed=!0,Re.printer.printComment(Ce,Re)}function X(Ce,Re,Pe){let Ge=Pe.locStart(Re)-1;for(let We=1;We<Ce.length;++We)if(Ge<Pe.locStart(Ce[We]))return We-1;return 0}function N(Ce,Re){let Pe=Ce.getValue(),Ge=[R(Ce,Re)],{printer:We,originalText:Me,locStart:gt,locEnd:qe}=Re;if(We.isBlockComment&&We.isBlockComment(Pe)){let Ct=$(Me,qe(Pe))?$(Me,gt(Pe),{backwards:!0})?E:A:" ";Ge.push(Ct)}else Ge.push(E);let Ve=j(Me,W(Me,qe(Pe)));return Ve!==!1&&$(Me,Ve)&&Ge.push(E),Ge}function G(Ce,Re){let Pe=Ce.getValue(),Ge=R(Ce,Re),{printer:We,originalText:Me,locStart:gt}=Re,qe=We.isBlockComment&&We.isBlockComment(Pe);if($(Me,gt(Pe),{backwards:!0})){let Ct=I(Me,Pe,gt);return w([E,Ct?E:"",Ge])}let Ve=[" ",Ge];return qe||(Ve=[w(Ve),y]),Ve}function q(Ce,Re,Pe,Ge){let We=[],Me=Ce.getValue();return!Me||!Me.comments||(Ce.each(()=>{let gt=Ce.getValue();!gt.leading&&!gt.trailing&&(!Ge||Ge(gt))&&We.push(R(Ce,Re))},"comments"),We.length===0)?"":Pe?k(E,We):x([E,k(E,We)])}function se(Ce,Re,Pe){let Ge=Ce.getValue();if(!Ge)return{};let We=Ge.comments||[];Pe&&(We=We.filter(Ve=>!Pe.has(Ve)));let Me=Ge===Re.cursorNode;if(We.length===0){let Ve=Me?_:"";return{leading:Ve,trailing:Ve}}let gt=[],qe=[];return Ce.each(()=>{let Ve=Ce.getValue();if(Pe&&Pe.has(Ve))return;let{leading:Ct,trailing:St}=Ve;Ct?gt.push(N(Ce,Re)):St&&qe.push(G(Ce,Re))},"comments"),Me&&(gt.unshift(_),qe.push(_)),{leading:gt,trailing:qe}}function te(Ce,Re,Pe,Ge){let{leading:We,trailing:Me}=se(Ce,Pe,Ge);return!We&&!Me?Re:[We,Re,Me]}function ne(Ce){if(Ce)for(let Re of Ce){if(!Re.printed)throw new Error('Comment "'+Re.value.trim()+'" was not printed. Please report this error!');delete Re.printed}}b.exports={attach:ge,printComments:te,printCommentsSeparately:se,printDanglingComments:q,getSortedChildNodes:J,ensureAllCommentsPrinted:ne}}}),Ps=Xe({"src/common/ast-path.js"(m,b){S();var g=Zi();function A(x,w){let k=E(x.stack,w);return k===-1?null:x.stack[k]}function E(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=E(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--]}}};b.exports=y}}),Fs=Xe({"src/main/multiparser.js"(m,b){S();var{utils:{stripTrailingHardline:g}}=Ti(),{normalize:A}=Rn(),E=Bi();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=bn().parse(w,W),{ast:O}=I;w=I.text;let z=O.comments;delete O.comments,E.attach(z,O,w,W),W[Symbol.for("comments")]=z||[],W[Symbol.for("tokens")]=O.tokens||[];let le=$(O,W);return E.ensureAllCommentsPrinted(z),j?typeof le=="string"?le.replace(/(?:\r?\n)*$/,""):g(le):le}b.exports={printSubtree:y}}}),Qs=Xe({"src/main/ast-to-doc.js"(m,b){S();var g=Ps(),{builders:{hardline:A,addAlignmentToDoc:E},utils:{propagateBreaks:y}}=Ti(),{printComments:x}=Bi(),w=Fs();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 z=new Map,le=new g(j),fe=J();return I>0&&(fe=E([A,fe],I,W.tabWidth)),y(fe),fe;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&&z.has(ge))return z.get(ge);let ye=$(le,W,J,ue);return me&&z.set(ge,ye),ye}}function _(j,W){let{originalText:I,[Symbol.for("comments")]:O,locStart:z,locEnd:le}=W,fe=z(j),J=le(j),ee=new Set;for(let ue of O)z(ue)>=fe&&le(ue)<=J&&(ue.printed=!0,ee.add(ue));return{doc:I.slice(fe,J),printedComments:ee}}function $(j,W,I,O){let z=j.getValue(),{printer:le}=W,fe,J;if(le.hasPrettierIgnore&&le.hasPrettierIgnore(j))({doc:fe,printedComments:J}=_(z,W));else{if(z)try{fe=w.printSubtree(j,I,W,k)}catch(ee){if(globalThis.PRETTIER_DEBUG)throw ee}fe||(fe=le.print(j,W,I,O))}return(!le.willPrintOwnComments||!le.willPrintOwnComments(j,W))&&(fe=x(j,fe,W,J)),fe}b.exports=k}}),la=Xe({"src/main/range-util.js"(m,b){S();var g=fi(),A=Bi(),E=O=>{let{parser:z}=O;return z==="json"||z==="json5"||z==="json-stringify"};function y(O,z){let le=[O.node,...O.parentNodes],fe=new Set([z.node,...z.parentNodes]);return le.find(J=>$.has(J.type)&&fe.has(J))}function x(O){let z=O.length-1;for(;;){let le=O[z];if(le&&(le.type==="Program"||le.type==="File"))z--;else break}return O.slice(0,z+1)}function w(O,z,le){let{locStart:fe,locEnd:J}=le,ee=O.node,ue=z.node;if(ee===ue)return{startNode:ee,endNode:ue};let ge=fe(O.node);for(let ye of x(z.parentNodes))if(fe(ye)>=ge)ue=ye;else break;let me=J(z.node);for(let ye of x(O.parentNodes))if(J(ye)<=me)ee=ye;else break;return{startNode:ee,endNode:ue}}function k(O,z,le,fe){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(!(z>ye||z<me||ee==="rangeEnd"&&z===me||ee==="rangeStart"&&z===ye)){for(let V of A.getSortedChildNodes(O,le)){let L=k(V,z,le,fe,[O,...J],ee);if(L)return L}if(!fe||fe(O,J[0]))return{node:O,parentNodes:J}}}function _(O,z){return z!=="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,z,le){if(!z)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 _(z.type,le&&le.type);case"json":case"json5":case"json-stringify":return $.has(z.type);case"graphql":return j.has(z.kind);case"vue":return z.tag!=="root"}return!1}function I(O,z,le){let{rangeStart:fe,rangeEnd:J,locStart:ee,locEnd:ue}=z;g.ok(J>fe);let ge=O.slice(fe,J).search(/\S/),me=ge===-1;if(!me)for(fe+=ge;J>fe&&!/\S/.test(O[J-1]);--J);let ye=k(le,fe,z,(X,N)=>W(z,X,N),[],"rangeStart"),V=me?ye:k(le,J,z,X=>W(z,X),[],"rangeEnd");if(!ye||!V)return{rangeStart:0,rangeEnd:0};let L,R;if(E(z)){let X=y(ye,V);L=X,R=X}else({startNode:L,endNode:R}=w(ye,V,z));return{rangeStart:Math.min(ee(L),ee(R)),rangeEnd:Math.max(ue(L),ue(R))}}b.exports={calculateRange:I,findNodeAtOffset:k}}}),Ka=Xe({"src/main/core.js"(m,b){S();var{diffArrays:g}=sn(),{printer:{printDocToString:A},debug:{printDocToDebug:E}}=Ti(),{getAlignmentSize:y}=Ki(),{guessEndOfLine:x,convertEndOfLineToChars:w,countEndOfLineChars:k,normalizeEndOfLine:_}=ss(),$=Rn().normalize,j=hi(),W=Bi(),I=bn(),O=Qs(),z=la(),le="\uFEFF",fe=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 Ce=z.findNodeAtOffset(G,X.cursorOffset,X);Ce&&Ce.node&&(X.cursorNode=Ce.node)}let se=J(q,G,X),te=O(G,X,N),ne=A(te,X);if(W.ensureAllCommentsPrinted(se),N>0){let Ce=ne.formatted.trim();ne.cursorNodeStart!==void 0&&(ne.cursorNodeStart-=ne.formatted.indexOf(Ce)),ne.formatted=Ce+w(X.endOfLine)}if(X.cursorOffset>=0){let Ce,Re,Pe,Ge,We;if(X.cursorNode&&ne.cursorNodeText?(Ce=X.locStart(X.cursorNode),Re=q.slice(Ce,X.locEnd(X.cursorNode)),Pe=X.cursorOffset-Ce,Ge=ne.cursorNodeStart,We=ne.cursorNodeText):(Ce=0,Re=q,Pe=X.cursorOffset,Ge=0,We=ne.formatted),Re===We)return{formatted:ne.formatted,cursorOffset:Ge+Pe,comments:se};let Me=[...Re];Me.splice(Pe,0,fe);let gt=[...We],qe=g(Me,gt),Ve=Ge;for(let Ct of qe)if(Ct.removed){if(Ct.value.includes(fe))break}else Ve+=Ct.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}=z.calculateRange(G,X,N),te=G.slice(q,se),ne=Math.min(q,G.lastIndexOf(`
|
|
`,q)+1),Ce=G.slice(ne,q).match(/^\s*/)[0],Re=y(Ce,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"}),Re),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 gt=w(X.endOfLine);We>=0&>===`\r
|
|
`&&(We+=k(Me.slice(0,We),`
|
|
`)),Me=Me.replace(/\n/g,gt)}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=Ce=>k(R.slice(0,Math.max(Ce,0)),`\r
|
|
`);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}b.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(E(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))}}}}),Qa=Xe({"src/common/util-shared.js"(m,b){S();var{getMaxContinuousCount:g,getStringWidth:A,getAlignmentSize:E,getIndentSize:y,skip:x,skipWhitespace:w,skipSpaces:k,skipNewline:_,skipToLineEnd:$,skipEverythingButNewLine:j,skipInlineComment:W,skipTrailingComment:I,hasNewline:O,hasNewlineInRange:z,hasSpaces:le,isNextLineEmpty:fe,isNextLineEmptyAfterIndex:J,isPreviousLineEmpty:ee,getNextNonSpaceNonCommentCharacterIndex:ue,makeString:ge,addLeadingComment:me,addDanglingComment:ye,addTrailingComment:V}=Ki();b.exports={getMaxContinuousCount:g,getStringWidth:A,getAlignmentSize:E,getIndentSize:y,skip:x,skipWhitespace:w,skipSpaces:k,skipNewline:_,skipToLineEnd:$,skipEverythingButNewLine:j,skipInlineComment:W,skipTrailingComment:I,hasNewline:O,hasNewlineInRange:z,hasSpaces:le,isNextLineEmpty:fe,isNextLineEmptyAfterIndex:J,isPreviousLineEmpty:ee,getNextNonSpaceNonCommentCharacterIndex:ue,makeString:ge,addLeadingComment:me,addDanglingComment:ye,addTrailingComment:V}}}),Ua=Xe({"src/utils/create-language.js"(m,b){S(),b.exports=function(g,A){let{languageId:E}=g,y=Tr(g,Ee);return Object.assign(Object.assign({linguistLanguageId:E},y),A(g))}}}),tu=Xe({"node_modules/esutils/lib/ast.js"(m,b){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 E(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 E(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}b.exports={isExpression:g,isStatement:E,isIterationStatement:A,isSourceElement:y,isProblematicIfStatement:w,trailingStatement:x}}()}}),ru=Xe({"node_modules/esutils/lib/code.js"(m,b){S(),function(){var g,A,E,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}E=[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&&E.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 z(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 fe(J){return J<128?x[J]:g.NonAsciiIdentifierPart.test(I(J))}b.exports={isDecimalDigit:k,isHexDigit:_,isOctalDigit:$,isWhiteSpace:j,isLineTerminator:W,isIdentifierStartES5:O,isIdentifierPartES5:z,isIdentifierStartES6:le,isIdentifierPartES6:fe}}()}}),Ca=Xe({"node_modules/esutils/lib/keyword.js"(m,b){S(),function(){var g=ru();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 E(O,z){return!z&&O==="yield"?!1:y(O,z)}function y(O,z){if(z&&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,z){return O==="null"||O==="true"||O==="false"||E(O,z)}function w(O,z){return O==="null"||O==="true"||O==="false"||y(O,z)}function k(O){return O==="eval"||O==="arguments"}function _(O){var z,le,fe;if(O.length===0||(fe=O.charCodeAt(0),!g.isIdentifierStartES5(fe)))return!1;for(z=1,le=O.length;z<le;++z)if(fe=O.charCodeAt(z),!g.isIdentifierPartES5(fe))return!1;return!0}function $(O,z){return(O-55296)*1024+(z-56320)+65536}function j(O){var z,le,fe,J,ee;if(O.length===0)return!1;for(ee=g.isIdentifierStartES6,z=0,le=O.length;z<le;++z){if(fe=O.charCodeAt(z),55296<=fe&&fe<=56319){if(++z,z>=le||(J=O.charCodeAt(z),!(56320<=J&&J<=57343)))return!1;fe=$(fe,J)}if(!ee(fe))return!1;ee=g.isIdentifierPartES6}return!0}function W(O,z){return _(O)&&!x(O,z)}function I(O,z){return j(O)&&!w(O,z)}b.exports={isKeywordES5:E,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=tu(),m.code=ru(),m.keyword=Ca()}()}}),ga=Xe({"src/language-js/utils/is-block-comment.js"(m,b){S();var g=new Set(["Block","CommentBlock","MultiLine"]),A=E=>g.has(E==null?void 0:E.type);b.exports=A}}),Ea=Xe({"src/language-js/utils/is-node-matches.js"(m,b){S();function g(E,y){let x=y.split(".");for(let w=x.length-1;w>=0;w--){let k=x[w];if(w===0)return E.type==="Identifier"&&E.name===k;if(E.type!=="MemberExpression"||E.optional||E.computed||E.property.type!=="Identifier"||E.property.name!==k)return!1;E=E.object}}function A(E,y){return y.some(x=>g(E,x))}b.exports=A}}),hs=Xe({"src/language-js/utils/index.js"(m,b){S();var g=ma().keyword.isIdentifierNameES5,{getLast:A,hasNewline:E,skipWhitespace:y,isNonEmptyArray:x,isNextLineEmptyAfterIndex:w,getStringWidth:k}=Ki(),{locStart:_,locEnd:$,hasSameLocStart:j}=gs(),W=ga(),I=Ea(),O="(?:(?=.)\\s)",z=new RegExp("^".concat(O,"*:")),le=new RegExp("^".concat(O,"*::"));function fe(Be){var er,wn;return((er=Be.extra)===null||er===void 0?void 0:er.parenthesized)&&W((wn=Be.trailingComments)===null||wn===void 0?void 0:wn[0])&&z.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(Ni=>ee(Ni,er));let wn=er(Be);return typeof wn=="boolean"?wn:Object.values(Be).some(Ni=>ee(Ni,er))}function ue(Be){return Be.type==="AssignmentExpression"||Be.type==="BinaryExpression"||Be.type==="LogicalExpression"||Be.type==="NGPipeExpression"||Be.type==="ConditionalExpression"||rr(Be)||Dr(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,wn,Ni,Ii,ds,bs;return Be.expressions?Be.expressions[0]:(er=(wn=(Ni=(Ii=(ds=(bs=Be.left)!==null&&bs!==void 0?bs:Be.test)!==null&&ds!==void 0?ds:Be.callee)!==null&&Ii!==void 0?Ii:Be.object)!==null&&Ni!==void 0?Ni:Be.tag)!==null&&wn!==void 0?wn: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 Ce(Be){return rr(Be)&&Be.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(Be.callee.name)}var Re=ye(["JSXElement","JSXFragment"]);function Pe(Be,er){if(Be.parentParser!=="markdown"&&Be.parentParser!=="mdx")return!1;let wn=er.getNode();if(!wn.expression||!Re(wn.expression))return!1;let Ni=er.getParentNode();return Ni.type==="Program"&&Ni.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 gt(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 Dr(Be)||Be.type==="BindExpression"&&Boolean(Be.object)}var Ct=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 St(Be){return Be?!!((Be.type==="GenericTypeAnnotation"||Be.type==="TSTypeReference")&&!Be.typeParameters||Ct.has(Be.type)):!1}function Et(Be){let er=/^(?:before|after)(?:Each|All)$/;return Be.callee.type==="Identifier"&&er.test(Be.callee.name)&&Be.arguments.length===1}var fr=["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,fr)}function nt(Be,er){if(Be.type!=="CallExpression")return!1;if(Be.arguments.length===1){if(Ce(Be)&&er&&nt(er))return te(Be.arguments[0]);if(Et(Be))return Ce(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)||Ce(Be.arguments[1]);return!1}var rr=ye(["CallExpression","OptionalCallExpression"]),Dr=ye(["MemberExpression","OptionalMemberExpression"]);function Zt(Be){let er="expressions";Be.type==="TSTemplateLiteralType"&&(er="types");let wn=Be[er];return wn.length===0?!1:wn.every(Ni=>{if(ft(Ni))return!1;if(Ni.type==="Identifier"||Ni.type==="ThisExpression")return!0;if(Dr(Ni)){let Ii=Ni;for(;Dr(Ii);)if(Ii.property.type!=="Identifier"&&Ii.property.type!=="Literal"&&Ii.property.type!=="StringLiteral"&&Ii.property.type!=="NumericLiteral"||(Ii=Ii.object,ft(Ii)))return!1;return Ii.type==="Identifier"||Ii.type==="ThisExpression"}return!1})}function tt(Be,er){return Be==="+"||Be==="-"?Be+er:er}function ot(Be,er){let wn=_(er),Ni=y(Be,$(er));return Ni!==!1&&Be.slice(wn,wn+2)==="/*"&&Be.slice(Ni,Ni+2)==="*/"}function pt(Be,er){return Re(er)?Xr(er):ft(er,kr.Leading,wn=>E(Be,$(wn)))}function cr(Be,er){return er.parser!=="json"&&q(Be.key)&&Qr(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 wn=/^[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"&&wn.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"&&wn.test(er.tag.object.object.name))}function si(Be){return Be.quasis.some(er=>er.value.raw.includes(`
|
|
`))}function di(Be,er){return(Be.type==="TemplateLiteral"&&si(Be)||Be.type==="TaggedTemplateExpression"&&si(Be.quasi))&&!E(er,_(Be),{backwards:!0})}function gr(Be){if(!ft(Be))return!1;let er=A(Pn(Be,kr.Dangling));return er&&!W(er)}function dr(Be){if(Be.length<=1)return!1;let er=0;for(let wn of Be)if(te(wn)){if(er+=1,er>1)return!0}else if(rr(wn)){for(let Ni of wn.arguments)if(te(Ni))return!0}return!1}function Sr(Be){let er=Be.getValue(),wn=Be.getParentNode();return rr(er)&&rr(wn)&&wn.callee===er&&er.arguments.length>wn.arguments.length&&wn.arguments.length>0}function It(Be,er){if(er>=2)return!1;let wn=Ii=>It(Ii,er+1),Ni=Be.type==="Literal"&&"regex"in Be&&Be.regex.pattern||Be.type==="RegExpLiteral"&&Be.pattern;return Ni&&k(Ni)>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(Ii=>!Ii.value.raw.includes(`
|
|
`))&&Be.expressions.every(wn):Be.type==="ObjectExpression"?Be.properties.every(Ii=>!Ii.computed&&(Ii.shorthand||Ii.value&&wn(Ii.value))):Be.type==="ArrayExpression"?Be.elements.every(Ii=>Ii===null||wn(Ii)):wi(Be)?(Be.type==="ImportExpression"||It(Be.callee,er))&&or(Be).every(wn):Dr(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 Qr(Be){var er,wn;return(er=(wn=Be.extra)===null||wn===void 0?void 0:wn.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(wn=>[wn,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 wn=Fe(Be);return((er=A(wn))===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 Pt(Be,er){let wn=Be.getValue(),Ni=0,Ii=ds=>er(ds,Ni++);wn.this&&Be.call(Ii,"this"),Array.isArray(wn.parameters)?Be.each(Ii,"parameters"):Array.isArray(wn.params)&&Be.each(Ii,"params"),wn.rest&&Be.call(Ii,"rest")}var Ye=new WeakMap;function or(Be){if(Ye.has(Be))return Ye.get(Be);let er=Be.arguments;return Be.type==="ImportExpression"&&(er=[Be.source],Be.attributes&&er.push(Be.attributes)),Ye.set(Be,er),er}function $t(Be,er){let wn=Be.getValue();wn.type==="ImportExpression"?(Be.call(Ni=>er(Ni,0),"source"),wn.attributes&&Be.call(Ni=>er(Ni,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,kr.PrettierIgnore))}function pr(Be){let er=Be.getValue();return Xr(er)}var kr={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(wn,Ni,Ii)=>!(Be&kr.Leading&&!wn.leading||Be&kr.Trailing&&!wn.trailing||Be&kr.Dangling&&(wn.leading||wn.trailing)||Be&kr.Block&&!W(wn)||Be&kr.Line&&!V(wn)||Be&kr.First&&Ni!==0||Be&kr.Last&&Ni!==Ii.length-1||Be&kr.PrettierIgnore&&!xr(wn)||er&&!er(wn))};function ft(Be,er,wn){if(!x(Be==null?void 0:Be.comments))return!1;let Ni=Zr(er,wn);return Ni?Be.comments.some(Ni):!0}function Pn(Be,er,wn){if(!Array.isArray(Be==null?void 0:Be.comments))return[];let Ni=Zr(er,wn);return Ni?Be.comments.filter(Ni):Be.comments}var Hn=(Be,er)=>{let{originalText:wn}=er;return w(wn,$(Be))};function wi(Be){return rr(Be)||Be.type==="NewExpression"||Be.type==="ImportExpression"}function Bs(Be){return Be&&(Be.type==="ObjectProperty"||Be.type==="Property"&&!Be.method&&Be.kind==="init")}function fs(Be){return Boolean(Be.__isUsingHackPipeline)}var pa=Symbol("ifWithoutBlockAndSameLineComment");b.exports={getFunctionParameters:Fe,iterateFunctionParametersPath:Pt,getCallArguments:or,iterateCallArgumentsPath:$t,hasRestParameter:H,getLeftSide:ge,getLeftSidePathName:me,getParentExportDeclaration:R,getTypeScriptMappedTypeModifier:tt,hasFlowAnnotationComment:J,hasFlowShorthandAnnotationComment:fe,hasLeadingOwnLineComment:pt,hasNakedLeftSide:ue,hasNode:ee,hasIgnoreComment:pr,hasNodeIgnoreComment:Xr,identity:ht,isBinaryish:qe,isCallLikeExpression:wi,isEnabledHackPipeline:fs,isLineComment:V,isPrettierIgnoreComment:xr,isCallExpression:rr,isMemberExpression:Dr,isExportDeclaration:L,isFlowAnnotationComment:ot,isFunctionCompositionArgs:dr,isFunctionNotation:We,isFunctionOrArrowExpression:te,isGetterOrSetter:Ge,isJestEachTemplateLiteral:ln,isJsxNode:Re,isLiteral:X,isLongCurriedCallExpression:Sr,isSimpleCallArgument:It,isMemberish:Ve,isNumericLiteral:N,isSignedNumericLiteral:G,isObjectProperty:Bs,isObjectType:se,isObjectTypePropertyAFunction:Me,isSimpleType:St,isSimpleNumber:Yt,isSimpleTemplateLiteral:Zt,isStringLiteral:q,isStringPropSafeToUnquote:cr,isTemplateOnItsOwnLine:di,isTestCall:nt,isTheOnlyJsxElementInMarkdown:Pe,isTSXFile:Wr,isTypeAnnotationAFunction:gt,isNextLineEmpty:Hn,needsHardlineAfterDanglingComment:gr,rawText:Qr,shouldPrintComma:jr,isBitwiseOperator:M,shouldFlatten:s,startsWithNoLookaheadToken:e,getPrecedence:d,hasComment:ft,getComments:Pn,CommentCheckFlags:kr,markerForIfWithoutBlockAndSameLineComment:pa}}}),za=Xe({"src/language-js/print/template-literal.js"(m,b){S();var g=Zi(),{getStringWidth:A,getIndentSize:E}=Ki(),{builders:{join:y,hardline:x,softline:w,group:k,indent:_,align:$,lineSuffixBoundary:j,addAlignmentToDoc:W},printer:{printDocToString:I},utils:{mapDoc:O}}=Ti(),{isBinaryish:z,isJestEachTemplateLiteral:le,isSimpleTemplateLiteral:fe,hasComment:J,isMemberExpression:ee}=hs();function ue(R,X,N){let G=R.getValue();if(G.type==="TemplateLiteral"&&le(G,R.getParentNode())){let Ce=ge(R,N,X);if(Ce)return Ce}let q="expressions";G.type==="TSTemplateLiteralType"&&(q="types");let se=[],te=R.map(X,q),ne=fe(G);return ne&&(te=te.map(Ce=>I(Ce,Object.assign(Object.assign({},N),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),se.push(j,"`"),R.each(Ce=>{let Re=Ce.getName();if(se.push(X()),Re<te.length){let{tabWidth:Pe}=N,Ge=Ce.getValue(),We=E(Ge.value.raw,Pe),Me=te[Re];if(!ne){let qe=G[q][Re];(J(qe)||ee(qe)||qe.type==="ConditionalExpression"||qe.type==="SequenceExpression"||qe.type==="TSAsExpression"||z(qe))&&(Me=[_([w,Me]),w])}let gt=We===0&&Ge.value.raw.endsWith(`
|
|
`)?$(Number.NEGATIVE_INFINITY,Me):W(Me,We,Pe);se.push(k(["${",gt,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+"}"),Ce=[{hasLineBreak:!1,cells:[]}];for(let We=1;We<G.quasis.length;We++){let Me=g(Ce),gt=ne[We-1];Me.cells.push(gt),gt.includes(`
|
|
`)&&(Me.hasLineBreak=!0),G.quasis[We].value.raw.includes(`
|
|
`)&&Ce.push({hasLineBreak:!1,cells:[]})}let Re=Math.max(q.length,...Ce.map(We=>We.cells.length)),Pe=Array.from({length:Re}).fill(0),Ge=[{cells:q},...Ce.filter(We=>We.cells.length>0)];for(let{cells:We}of Ge.filter(Me=>!Me.hasLineBreak))for(let[Me,gt]of We.entries())Pe[Me]=Math.max(Pe[Me],A(gt));return te.push(j,"`",_([x,y(x,Ge.map(We=>y(" | ",We.cells.map((Me,gt)=>We.hasLineBreak?Me:Me+" ".repeat(Pe[gt]-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")}b.exports={printTemplateLiteral:ue,printTemplateExpressions:ye,escapeTemplateCharacters:V,uncookTemplateElementValue:L}}}),Eo=Xe({"src/language-js/embed/markdown.js"(m,b){S();var{builders:{indent:g,softline:A,literalline:E,dedentToRoot:y}}=Ti(),{escapeTemplateCharacters:x}=za();function w(_,$,j){let W=_.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(le,fe)=>"\\".repeat(fe.length/2)+"`"),I=k(W),O=I!=="";O&&(W=W.replace(new RegExp("^".concat(I),"gm"),""));let z=x(j(W,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",O?g([A,z]):[E,y(z)],A,"`"]}function k(_){let $=_.match(/^([^\S\n]*)\S/m);return $===null?"":$[1]}b.exports=w}}),Au=Xe({"src/language-js/embed/css.js"(m,b){S();var{isNonEmptyArray:g}=Ki(),{builders:{indent:A,hardline:E,softline:y},utils:{mapDoc:x,replaceEndOfLine:w,cleanDoc:k}}=Ti(),{printTemplateExpressions:_}=za();function $(I,O,z){let le=I.getValue(),fe=le.quasis.map(me=>me.value.raw),J=0,ee=fe.reduce((me,ye,V)=>V===0?ye:me+"@prettier-placeholder-"+J+++"-id"+ye,""),ue=z(ee,{parser:"scss"},{stripTrailingHardline:!0}),ge=_(I,O);return j(ue,le,ge)}function j(I,O,z){if(O.quasis.length===1&&!O.quasis[0].value.raw.trim())return"``";let le=W(I,z);if(!le)throw new Error("Couldn't insert all the expressions");return["`",A([E,le]),y,"`"]}function W(I,O){if(!g(O))return I;let z=0,le=x(k(I),fe=>typeof fe!="string"||!fe.includes("@prettier-placeholder")?fe:fe.split(/@prettier-placeholder-(\d+)-id/).map((J,ee)=>ee%2===0?w(J):(z++,O[J])));return O.length===z?le:null}b.exports=$}}),no=Xe({"src/language-js/embed/graphql.js"(m,b){S();var{builders:{indent:g,join:A,hardline:E}}=Ti(),{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(_,$),z=[];for(let le=0;le<I;le++){let fe=W.quasis[le],J=le===0,ee=le===I-1,ue=fe.value.cooked,ge=ue.split(`
|
|
`),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&&z.push(""),z.push(X),!ee&&L&&z.push("")):!J&&!ee&&V&&z.push(""),ye&&z.push(ye)}return["`",g([E,A(E,z)]),E,"`"]}function k(_){let $=[],j=!1,W=_.map(I=>I.trim());for(let[I,O]of W.entries())O!==""&&(W[I-1]===""&&j?$.push([E,O]):$.push(O),j=!0);return $.length===0?null:A(E,$)}b.exports=w}}),yo=Xe({"src/language-js/embed/html.js"(m,b){S();var{builders:{indent:g,line:A,hardline:E,group:y},utils:{mapDoc:x}}=Ti(),{printTemplateExpressions:w,uncookTemplateElementValue:k}=za(),_=0;function $(j,W,I,O,z){let{parser:le}=z,fe=j.getValue(),J=_;_=_+1>>>0;let ee=G=>"PRETTIER_HTML_PLACEHOLDER_".concat(G,"_").concat(J,"_IN_JS"),ue=fe.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 Ce=Number(ne);q.push(ge[Ce])}return q}),R=/^\s/.test(ue)?" ":"",X=/\s$/.test(ue)?" ":"",N=O.htmlWhitespaceSensitivity==="ignore"?E:R&&X?A:null;return y(N?["`",g([N,y(L)]),N,"`"]:["`",R,ye>1?g(y(L)):y(L),X,"`"])}b.exports=$}}),Uu=Xe({"src/language-js/embed.js"(m,b){S();var{hasComment:g,CommentCheckFlags:A,isObjectProperty:E}=hs(),y=Eo(),x=Au(),w=no(),k=yo();function _(V){if(W(V)||le(V)||fe(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)=>E(L)&&L.key.type==="Identifier"&&L.key.name==="styles"&&R==="value",...z)}function O(V){return V.match(L=>L.type==="TemplateLiteral",(L,R)=>E(L)&&L.key.type==="Identifier"&&L.key.name==="template"&&R==="value",...z)}var z=[(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 fe(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})}b.exports=$}}),jo=Xe({"src/language-js/clean.js"(m,b){S();var g=ga(),A=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),E=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"&&E(W);x.type==="JSXAttribute"&&x.name.name==="css"&&x.value.type==="JSXExpressionContainer"&&x.value.expression.type==="TemplateLiteral"&&E(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"&&E(I.value.elements[0]);break;case"template":I.value.type==="TemplateLiteral"&&E(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")&&E(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)&&E(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,b.exports=y}}),nu={};Ds(nu,{EOL:()=>so,arch:()=>Cl,cpus:()=>Ao,default:()=>ao,endianness:()=>bo,freemem:()=>La,getNetworkInterfaces:()=>wu,hostname:()=>iu,loadavg:()=>su,networkInterfaces:()=>ul,platform:()=>zu,release:()=>Do,tmpDir:()=>au,tmpdir:()=>wo,totalmem:()=>Ha,type:()=>Ya,uptime:()=>Ro});function bo(){if(typeof io>"u"){var m=new ArrayBuffer(2),b=new Uint8Array(m),g=new Uint16Array(m);if(b[0]=1,b[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 iu(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function su(){return[]}function Ro(){return 0}function La(){return Number.MAX_VALUE}function Ha(){return Number.MAX_VALUE}function Ao(){return[]}function Ya(){return"Browser"}function Do(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ul(){}function wu(){}function Cl(){return"javascript"}function zu(){return"browser"}function au(){return"/tmp"}var io,wo,so,ao,Tu=vi({"node-modules-polyfills:os"(){S(),wo=au,so=`
|
|
`,ao={EOL:so,tmpdir:wo,tmpDir:au,networkInterfaces:ul,getNetworkInterfaces:wu,release:Do,type:Ya,cpus:Ao,totalmem:Ha,freemem:La,uptime:Ro,loadavg:su,hostname:iu,endianness:bo}}}),Su=Xe({"node-modules-polyfills-commonjs:os"(m,b){S();var g=(Tu(),ti(nu));if(g&&g.default){b.exports=g.default;for(let A in g)b.exports[A]=g[A]}else g&&(b.exports=g)}}),ll=Xe({"node_modules/detect-newline/index.js"(m,b){S();var g=A=>{if(typeof A!="string")throw new TypeError("Expected a string");let E=A.match(/(?:\r?\n)/g)||[];if(E.length===0)return;let y=E.filter(w=>w===`\r
|
|
`).length,x=E.length-y;return y>x?`\r
|
|
`:`
|
|
`};b.exports=g,b.exports.graceful=A=>typeof A=="string"&&g(A)||`
|
|
`}}),oo=Xe({"node_modules/jest-docblock/build/index.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0}),m.extract=I,m.parse=z,m.parseWithComments=le,m.print=fe,m.strip=O;function b(){let ee=Su();return b=function(){return ee},ee}function g(){let ee=A(ll());return g=function(){return ee},ee}function A(ee){return ee&&ee.__esModule?ee:{default:ee}}var E=/\*\/$/,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 z(ee){return le(ee).pragmas}function le(ee){let ue=(0,g().default)(ee)||b().EOL;ee=ee.replace(y,"").replace(E,"").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 fe(ee){let{comments:ue="",pragmas:ge={}}=ee,me=(0,g().default)(ue)||b().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())}}}),ou=Xe({"src/language-js/utils/get-shebang.js"(m,b){S();function g(A){if(!A.startsWith("#!"))return"";let E=A.indexOf(`
|
|
`);return E===-1?A:A.slice(0,E)}b.exports=g}}),ba=Xe({"src/language-js/pragma.js"(m,b){S();var{parseWithComments:g,strip:A,extract:E,print:y}=oo(),{normalizeEndOfLine:x}=ss(),w=ou();function k(j){let W=w(j);W&&(j=j.slice(W.length+1));let I=E(j),{pragmas:O,comments:z}=g(I);return{shebang:W,text:j,pragmas:O,comments:z}}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:z}=k(j),le=A(I),fe=y({pragmas:Object.assign({format:""},O),comments:z.trimStart()});return(W?"".concat(W,`
|
|
`):"")+x(fe)+(le.startsWith(`
|
|
`)?`
|
|
`:`
|
|
|
|
`)+le}b.exports={hasPragma:_,insertPragma:$}}}),uu=Xe({"src/language-js/comments.js"(m,b){S();var{getLast:g,hasNewline:A,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:E,getNextNonSpaceNonCommentCharacter:y,hasNewlineInRange:x,addLeadingComment:w,addTrailingComment:k,addDanglingComment:_,getNextNonSpaceNonCommentCharacterIndex:$,isNonEmptyArray:j}=Ki(),{getFunctionParameters:W,isPrettierIgnoreComment:I,isJsxNode:O,hasFlowShorthandAnnotationComment:z,hasFlowAnnotationComment:le,hasIgnoreComment:fe,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[Qr,Dr,Me,Pe,Ge,We,Ct,ln,pt,Yt,si,di,Et,Zt,tt].some(s=>s(a))}function se(a){return[Re,Dr,gt,si,Pe,Ge,We,Ct,Zt,ot,cr,Yt,Sr,tt,Wr].some(s=>s(a))}function te(a){return[Qr,Pe,Ge,qe,rr,Et,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 Ce(a,s){a.type==="BlockStatement"?ne(a,s):w(a,s)}function Re(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"?(Ce(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"?(Ce(F.finalizer,s),!0):F.type==="CatchClause"?(Ce(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 gt(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 Ct(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 St=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function Et(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"&&St.has(d==null?void 0:d.type)?(k(h,s),!0):!1}var fr=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&&fr.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 Dr(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 E(M,N(g(Ne)));let Fe=E(M,N(d.id));return Fe!==!1&&E(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 cr(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 di(a){let{comment:s,enclosingNode:h}=a;return(h==null?void 0:h.type)==="AssignmentPattern"?(w(h,s),!0):!1}var gr=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),dr=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function Sr(a){let{comment:s,enclosingNode:h,followingNode:d}=a;return gr.has(h==null?void 0:h.type)&&d&&(dr.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 Qr(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)||z(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))&&(!fe(a)||h.type==="UnionTypeAnnotation"||h.type==="TSUnionType")}b.exports={handleOwnLineComment:q,handleEndOfLineComment:se,handleRemainingComment:te,isTypeCastComment:r,getCommentChildNodes:e,willPrintOwnComments:o}}}),uo=Xe({"src/language-js/needs-parens.js"(m,b){S();var g=Zi(),A=fa(),{getFunctionParameters:E,getLeftSidePathName:y,hasFlowShorthandAnnotationComment:x,hasNakedLeftSide:w,hasNode:k,isBitwiseOperator:_,startsWithNoLookaheadToken:$,shouldFlatten:j,getPrecedence:W,isCallExpression:I,isMemberExpression:O,isObjectProperty:z}=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(fe(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&&E(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)&&!z(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 fe(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))}b.exports=le}}),cl=Xe({"src/language-js/print-preprocess.js"(m,b){S();function g(A,E){switch(E.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:E.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:A,comments:[],rootMarker:E.rootMarker});default:return A}}b.exports=g}}),Hu=Xe({"src/language-js/print/html-binding.js"(m,b){S();var{builders:{join:g,line:A,group:E,softline:y,indent:x}}=Ti();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:z}=I.getValue();return z.length===1?O:["(",x([y,E(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}}b.exports={isVueEventBindingExpression:k,printHtmlBinding:w}}}),Uo=Xe({"src/language-js/print/binaryish.js"(m,b){S();var{printComments:g}=Bi(),{getLast:A}=Ki(),{builders:{join:E,line:y,softline:x,group:w,indent:k,align:_,ifBreak:$,indentIfBreak:j},utils:{cleanDoc:W,getDocParts:I,isConcat:O}}=Ti(),{hasLeadingOwnLineComment:z,isBinaryish:le,isJsxNode:fe,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(),Ce=G.getParentNode(1),Re=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,Re);if(Re)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"&&Ce.type==="JSXAttribute"||te.operator!=="|"&&ne.type==="JsExpressionRoot"||te.type!=="NGPipeExpression"&&(ne.type==="NGRoot"&&q.parser==="__ng_binding"||ne.type==="NGMicrosyntaxExpression"&&Ce.type==="NGMicrosyntax"&&Ce.body.length===1)||te===ne.body&&ne.type==="ArrowFunctionExpression"||te!==ne.body&&ne.type==="ForStatement"||ne.type==="ConditionalExpression"&&Ce.type!=="ReturnStatement"&&Ce.type!=="ThrowStatement"&&!ge(Ce)||ne.type==="TemplateLiteral",Me=ne.type==="AssignmentExpression"||ne.type==="VariableDeclarator"||ne.type==="ClassProperty"||ne.type==="PropertyDefinition"||ne.type==="TSAbstractPropertyDefinition"||ne.type==="ClassPrivateProperty"||ye(ne),gt=le(te.left)&&J(te.operator,te.left.operator);if(We||N(te)&&!gt||!N(te)&&Me)return w(Ge);if(Ge.length===0)return"";let qe=fe(te.right),Ve=Ge.findIndex(nt=>typeof nt!="string"&&!Array.isArray(nt)&&nt.type==="group"),Ct=Ge.slice(0,Ve===-1?1:Ve+1),St=Ge.slice(Ct.length,qe?-1:void 0),Et=Symbol("logicalChain-"+ ++L),fr=w([...Ct,k(St)],{id:Et});if(!qe)return fr;let $e=A(Ge);return w([fr,j($e,{groupId:Et})])}function X(G,q,se,te,ne){let Ce=G.getValue();if(!le(Ce))return[w(q())];let Re=[];J(Ce.operator,Ce.left.operator)?Re=G.call(St=>X(St,q,se,!0,ne),"left"):Re.push(w(q("left")));let Pe=N(Ce),Ge=(Ce.operator==="|>"||Ce.type==="NGPipeExpression"||Ce.operator==="|"&&se.parser==="__vue_expression")&&!z(se.originalText,Ce.right),We=Ce.type==="NGPipeExpression"?"|":Ce.operator,Me=Ce.type==="NGPipeExpression"&&Ce.arguments.length>0?w(k([x,": ",E([x,":",$(" ")],G.map(q,"arguments").map(St=>_(2,w(St))))])):"",gt;if(Pe)gt=[We," ",q("right"),Me];else{let St=V(se)&&We==="|>"?G.call(Et=>X(Et,q,se,!0,ne),"right"):q("right");gt=[Ge?y:"",We,Ge?" ":y,St,Me]}let qe=G.getParentNode(),Ve=ee(Ce.left,ue.Trailing|ue.Line),Ct=Ve||!(ne&&Ce.type==="LogicalExpression")&&qe.type!==Ce.type&&Ce.left.type!==Ce.type&&Ce.right.type!==Ce.type;if(Re.push(Ge?"":" ",Ct?w(gt,{shouldBreak:Ve}):gt),te&&ee(Ce)){let St=W(g(G,Re,se));return O(St)||St.type==="fill"?I(St):[St]}return Re}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||fe(G.right))}b.exports={printBinaryishExpression:R,shouldInlineLogicalExpression:N}}}),El=Xe({"src/language-js/print/angular.js"(m,b){S();var{builders:{join:g,line:A,group:E}}=Ti(),{hasNode:y,hasComment:x,getComments:w}=hs(),{printBinaryishExpression:k}=Uo();function _(W,I,O){let z=W.getValue();if(z.type.startsWith("NG"))switch(z.type){case"NGRoot":return[O("node"),x(z.node)?" //"+w(z.node)[0].value.trimEnd():""];case"NGPipeExpression":return k(W,I,O);case"NGChainedExpression":return E(g([";",A],W.map(le=>j(le)?O():["(",O(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[z.prefix,": ",z.value.trim()];case"NGMicrosyntax":return W.map((le,fe)=>[fe===0?"":$(le.getValue(),fe,z)?" ":[";",A],O()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(z.name)?z.name:JSON.stringify(z.name);case"NGMicrosyntaxExpression":return[O("expression"),z.alias===null?"":[" as ",O("alias")]];case"NGMicrosyntaxKeyedExpression":{let le=W.getName(),fe=W.getParentNode(),J=$(z,le,fe)||(le===1&&(z.key.name==="then"||z.key.name==="else")||le===2&&z.key.name==="else"&&fe.body[le-1].type==="NGMicrosyntaxKeyedExpression"&&fe.body[le-1].key.name==="then")&&fe.body[0].type==="NGMicrosyntaxExpression";return[O("key"),J?" ":": ",O("expression")]}case"NGMicrosyntaxLet":return["let ",O("key"),z.value===null?"":[" = ",O("value")]];case"NGMicrosyntaxAs":return[O("key")," as ",O("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(z.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}})}b.exports={printAngular:_}}}),To=Xe({"src/language-js/print/jsx.js"(m,b){S();var{printComments:g,printDanglingComments:A}=Bi(),{builders:{line:E,hardline:y,softline:x,group:w,indent:k,conditionalGroup:_,fill:$,ifBreak:j,lineSuffixBoundary:W,join:I},utils:{willBreak:O}}=Ti(),{getLast:z,getPreferredQuote:le}=Ki(),{isJsxNode:fe,rawText:J,isLiteral:ee,isCallExpression:ue,isStringLiteral:ge,isBinaryish:me,hasComment:ye,CommentCheckFlags:V,hasNodeIgnoreComment:L}=hs(),R=uo(),{willPrintOwnComments:X}=uu(),N=Zt=>Zt===""||Zt===E||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 cr=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[cr,...Zt.map(ot,"children"),Yt];pt.children=pt.children.map(o=>rr(o)?{type:"JSXText",value:" ",raw:" "}:o);let ln=pt.children.some(fe),si=pt.children.filter(o=>o.type==="JSXExpressionContainer").length>1,di=pt.type==="JSXElement"&&pt.openingElement.attributes.length>1,gr=O(cr)||ln||di||si,dr=Zt.getParentNode().rootMarker==="mdx",Sr=tt.singleQuote?"{' '}":'{" "}',It=dr?" ":j([Sr,x]," "),Qr=pt.openingElement&&pt.openingElement.name&&pt.openingElement.name.name==="fbt",ht=q(Zt,tt,ot,It,Qr),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(z(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(Sr);continue}jr.push([Sr,y]);continue}else if(o===ht.length-1){jr.push(Sr);continue}else if(ht[o-1]===""&&ht[o-2]===y){jr.push(Sr);continue}}jr.push(a),O(a)&&(gr=!0)}let e=Wr?$(jr):w(jr,{shouldBreak:!0});if(dr)return e;let r=w([cr,k([y,e]),y,Yt]);return gr?r:_([w([cr,...ht,Yt]),r])}function q(Zt,tt,ot,pt,cr){let Yt=[];return Zt.each((ln,si,di)=>{let gr=ln.getValue();if(ee(gr)){let dr=J(gr);if(nt(gr)){let Sr=dr.split(St);if(Sr[0]===""){if(Yt.push(""),Sr.shift(),/\n/.test(Sr[0])){let Qr=di[si+1];Yt.push(te(cr,Sr[1],gr,Qr))}else Yt.push(pt);Sr.shift()}let It;if(z(Sr)===""&&(Sr.pop(),It=Sr.pop()),Sr.length===0)return;for(let[Qr,ht]of Sr.entries())Qr%2===1?Yt.push(E):Yt.push(ht);if(It!==void 0)if(/\n/.test(It)){let Qr=di[si+1];Yt.push(te(cr,z(Yt),gr,Qr))}else Yt.push(pt);else{let Qr=di[si+1];Yt.push(se(cr,z(Yt),gr,Qr))}}else/\n/.test(dr)?dr.match(/\n/g).length>1&&Yt.push("",y):Yt.push("",pt)}else{let dr=ot();Yt.push(dr);let Sr=di[si+1];if(Sr&&nt(Sr)){let It=fr(J(Sr)).split(St)[0];Yt.push(se(cr,It,gr,Sr))}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 cr=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:cr})}function Ce(Zt,tt,ot){let pt=Zt.getValue(),cr=[];if(cr.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:di,regex:gr}=le(ln,tt.jsxSingleQuote?"'":'"');ln=ln.replace(gr,si),Yt=[di,ln,di]}else Yt=ot("value");cr.push("=",Yt)}return cr}function Re(Zt,tt,ot){let pt=Zt.getValue(),cr=(Yt,ln)=>Yt.type==="JSXEmptyExpression"||!ye(Yt)&&(Yt.type==="ArrayExpression"||Yt.type==="ObjectExpression"||Yt.type==="ArrowFunctionExpression"||Yt.type==="AwaitExpression"&&(cr(Yt.argument,Yt)||Yt.argument.type==="JSXElement")||ue(Yt)||Yt.type==="FunctionExpression"||Yt.type==="TemplateLiteral"||Yt.type==="TaggedTemplateExpression"||Yt.type==="DoExpression"||fe(ln)&&(Yt.type==="ConditionalExpression"||me(Yt)));return cr(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(),cr=pt.name&&ye(pt.name)||pt.typeParameters&&ye(pt.typeParameters);if(pt.selfClosing&&pt.attributes.length===0&&!cr)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(`
|
|
`)&&!cr&&!ye(pt.attributes[0]))return w(["<",ot("name"),ot("typeParameters")," ",...Zt.map(ot,"attributes"),pt.selfClosing?" />":">"]);let Yt=pt.attributes.length>0&&ye(z(pt.attributes),V.Trailing),ln=pt.attributes.length===0&&!cr||(tt.bracketSameLine||tt.jsxBracketSameLine)&&(!cr||pt.attributes.length>0)&&!Yt,si=pt.attributes&&pt.attributes.some(gr=>gr.value&&ge(gr.value)&&gr.value.value.includes(`
|
|
`)),di=tt.singleAttributePerLine&&pt.attributes.length>1?y:E;return w(["<",ot("name"),ot("typeParameters"),k(Zt.map(()=>[di,ot()],"attributes")),pt.selfClosing?E:ln?">":x,pt.selfClosing?"/>":ln?"":">"],{shouldBreak:si})}function Ge(Zt,tt,ot){let pt=Zt.getValue(),cr=[];cr.push("</");let Yt=ot("name");return ye(pt.name,V.Leading|V.Line)?cr.push(k([y,Yt]),y):ye(pt.name,V.Leading|V.Block)?cr.push(" ",Yt):cr.push(Yt),cr.push(">"),cr}function We(Zt,tt){let ot=Zt.getValue(),pt=ye(ot),cr=ye(ot,V.Line),Yt=ot.type==="JSXOpeningFragment";return[Yt?"<":"</",k([cr?y:pt&&!Yt?" ":"",A(Zt,tt,!0)]),cr?y:"",">"]}function Me(Zt,tt,ot){let pt=g(Zt,G(Zt,tt,ot),tt);return ne(Zt,pt,tt)}function gt(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(cr=>{let Yt=["...",ot()],ln=cr.getValue();return!ye(ln)||!X(cr)?Yt:[k([x,g(cr,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 Ce(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 Re(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 gt(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 Ct=`
|
|
\r `,St=new RegExp("(["+Ct+"]+)"),Et=new RegExp("[^"+Ct+"]"),fr=Zt=>Zt.replace(new RegExp("(?:^"+St.source+"|"+St.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)&&(Et.test(J(Zt))||!/\n/.test(J(Zt)))}function rr(Zt){return Zt.type==="JSXExpressionContainer"&&ee(Zt.expression)&&Zt.expression.value===" "&&!ye(Zt.expression)}function Dr(Zt){let tt=Zt.getValue(),ot=Zt.getParentNode();if(!ot||!tt||!fe(tt)||!fe(ot))return!1;let pt=ot.children.indexOf(tt),cr=null;for(let Yt=pt;Yt>0;Yt--){let ln=ot.children[Yt-1];if(!(ln.type==="JSXText"&&!nt(ln))){cr=ln;break}}return cr&&cr.type==="JSXExpressionContainer"&&cr.expression.type==="JSXEmptyExpression"&&L(cr.expression)}b.exports={hasJsxIgnoreComment:Dr,printJsx:Ve}}}),ca=Xe({"src/language-js/print/misc.js"(m,b){S();var{isNonEmptyArray:g}=Ki(),{builders:{indent:A,join:E,line:y}}=Ti(),{isFlowAnnotationComment:x}=hs();function w(z){let le=z.getValue();return!le.optional||le.type==="Identifier"&&le===z.getParentNode().key?"":le.type==="OptionalCallExpression"||le.type==="OptionalMemberExpression"&&le.computed?"?.":"?"}function k(z){return z.getValue().definite||z.match(void 0,(le,fe)=>fe==="id"&&le.type==="VariableDeclarator"&&le.definite)?"!":""}function _(z,le,fe){let J=z.getValue();return J.typeArguments?fe("typeArguments"):J.typeParameters?fe("typeParameters"):""}function $(z,le,fe){let J=z.getValue();if(!J.typeAnnotation)return"";let ee=z.getParentNode(),ue=ee.type==="DeclareFunction"&&ee.id===J;return x(le.originalText,J.typeAnnotation)?[" /*: ",fe("typeAnnotation")," */"]:[ue?"":": ",fe("typeAnnotation")]}function j(z,le,fe){return["::",fe("callee")]}function W(z,le,fe){let J=z.getValue();return g(J.modifiers)?[E(" ",z.map(fe,"modifiers"))," "]:""}function I(z,le,fe){return z.type==="EmptyStatement"?";":z.type==="BlockStatement"||fe?[" ",le]:A([y,le])}function O(z,le,fe){return["...",fe("argument"),$(z,le,fe)]}b.exports={printOptionalToken:w,printDefiniteToken:k,printFunctionTypeParameters:_,printBindExpressionCallee:j,printTypeScriptModifiers:W,printTypeAnnotation:$,printRestSpread:O,adjustClause:I}}}),qu=Xe({"src/language-js/print/array.js"(m,b){S();var{printDanglingComments:g}=Bi(),{builders:{line:A,softline:E,hardline:y,group:x,indent:w,ifBreak:k,fill:_}}=Ti(),{getLast:$,hasNewline:j}=Ki(),{shouldPrintComma:W,hasComment:I,CommentCheckFlags:O,isNextLineEmpty:z,isNumericLiteral:le,isSignedNumericLiteral:fe}=hs(),{locStart:J}=gs(),{printOptionalToken:ee,printTypeAnnotation:ue}=ca();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),E,se])):G.push(q,se);else{let te=$(N.elements),ne=!(te&&te.type==="RestElement"),Ce=te===null,Re=Symbol("array"),Pe=!R.__inJestEach&&N.elements.length>1&&N.elements.every((Me,gt,qe)=>{let Ve=Me&&Me.type;if(Ve!=="ArrayExpression"&&Ve!=="ObjectExpression")return!1;let Ct=qe[gt+1];if(Ct&&Ve!==Ct.type)return!1;let St=Ve==="ArrayExpression"?"elements":"properties";return Me[St]&&Me[St].length>1}),Ge=me(N,R),We=ne?Ce?",":W(R)?Ge?k(",","",{groupId:Re}):k(","):"":"";G.push(x([q,w([E,Ge?V(L,R,X,We):[ye(L,R,"elements",X),We],g(L,R,!0)]),E,se],{shouldBreak:Pe,id:Re}))}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)||fe(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()&&z(se.getValue(),R)&&q.push(E)},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(z(q.getValue(),R)?[y,y]:I(te[se+1],O.Leading|O.Line)?y:A)},"elements"),_(G)}b.exports={printArray:ge,printArrayItems:ye,isConciselyPrintedArray:me}}}),bl=Xe({"src/language-js/print/call-arguments.js"(m,b){S();var{printDanglingComments:g}=Bi(),{getLast:A,getPenultimate:E}=Ki(),{getFunctionParameters:y,hasComment:x,CommentCheckFlags:w,isFunctionCompositionArgs:k,isJsxNode:_,isLongCurriedCallExpression:$,shouldPrintComma:j,getCallArguments:W,iterateCallArgumentsPath:I,isNextLineEmpty:O,isCallExpression:z,isStringLiteral:le,isObjectProperty:fe}=hs(),{builders:{line:J,hardline:ee,softline:ue,group:ge,indent:me,conditionalGroup:ye,ifBreak:V,breakParent:L},utils:{willBreak:R}}=Ti(),{ArgExpansionBailout:X}=Yn(),{isConciselyPrintedArray:N}=qu();function G(Pe,Ge,We){let Me=Pe.getValue(),gt=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,Ct=!1,St=qe.length-1,Et=[];I(Pe,(Zt,tt)=>{let ot=Zt.getNode(),pt=[We()];tt===St||(O(ot,Ge)?(tt===0&&(Ct=!0),Ve=!0,pt.push(",",ee,ee)):pt.push(",",J)),Et.push(pt)});let fr=!(gt||Me.callee&&Me.callee.type==="Import")&&j(Ge,"all")?",":"";function $e(){return ge(["(",me([J,...Et]),fr,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?Et.slice(1).some(R):Et.slice(0,-1).some(R))return $e();let Zt=[];try{Pe.try(()=>{I(Pe,(tt,ot)=>{nt&&ot===0&&(Zt=[[We([],{expandFirstArg:!0}),Et.length>1?",":"",Ct?ee:J,Ct?ee:""],...Et.slice(1)]),rr&&ot===St&&(Zt=[...Et.slice(0,-1),We([],{expandLastArg:!0})])})})}catch(tt){if(tt instanceof X)return $e();throw tt}return[Et.some(R)?L:"",ye([["(",...Zt,")"],nt?["(",ge(Zt[0],{shouldBreak:!0}),...Zt.slice(1),")"]:["(",...Et.slice(0,-1),ge(A(Zt),{shouldBreak:!0}),")"],$e()])]}let Dr=["(",me([ue,...Et]),V(fr),ue,")"];return $(Pe)?Dr:ge(Dr,{shouldBreak:Et.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"||Ce(Pe.body))&&(Pe.body.type==="BlockStatement"||Pe.body.type==="ArrowFunctionExpression"&&q(Pe.body,!0)||Pe.body.type==="ObjectExpression"||Pe.body.type==="ArrayExpression"||!Ge&&(z(Pe.body)||Pe.body.type==="ConditionalExpression")||_(Pe.body))||Pe.type==="DoExpression"||Pe.type==="ModuleExpression"}function se(Pe,Ge){let We=A(Pe),Me=E(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"&&Re(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 Ce(Pe){return Pe.type==="BlockStatement"&&(Pe.body.some(Ge=>Ge.type!=="EmptyStatement")||x(Pe,w.Dangling))}function Re(Pe){return Pe.type==="ObjectExpression"&&Pe.properties.length===1&&fe(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"}b.exports=G}}),zl=Xe({"src/language-js/print/member.js"(m,b){S();var{builders:{softline:g,group:A,indent:E,label:y}}=Ti(),{isNumericLiteral:x,isMemberExpression:w,isCallExpression:k}=hs(),{printOptionalToken:_}=ca();function $(W,I,O){let z=W.getValue(),le=W.getParentNode(),fe,J=0;do fe=W.getParentNode(J),J++;while(fe&&(w(fe)||fe.type==="TSNonNullExpression"));let ee=O("object"),ue=j(W,I,O),ge=fe&&(fe.type==="NewExpression"||fe.type==="BindExpression"||fe.type==="AssignmentExpression"&&fe.left.type!=="Identifier")||z.computed||z.object.type==="Identifier"&&z.property.type==="Identifier"&&!w(le)||(le.type==="AssignmentExpression"||le.type==="VariableDeclarator")&&(k(z.object)&&z.object.arguments.length>0||z.object.type==="TSNonNullExpression"&&k(z.object.expression)&&z.object.expression.arguments.length>0||ee.label==="member-chain");return y(ee.label==="member-chain"?"member-chain":"member",[ee,ge?ue:A(E([g,ue]))])}function j(W,I,O){let z=O("property"),le=W.getValue(),fe=_(W);return le.computed?!le.property||x(le.property)?[fe,"[",z,"]"]:A([fe,"[",E([g,z]),g,"]"]):[fe,".",z]}b.exports={printMemberExpression:$,printMemberLookup:j}}}),nc=Xe({"src/language-js/print/member-chain.js"(m,b){S();var{printComments:g}=Bi(),{getLast:A,isNextLineEmptyAfterIndex:E,getNextNonSpaceNonCommentCharacterIndex:y}=Ki(),x=uo(),{isCallExpression:w,isMemberExpression:k,isFunctionOrArrowExpression:_,isLongCurriedCallExpression:$,isMemberish:j,isNumericLiteral:W,isSimpleCallArgument:I,hasComment:O,CommentCheckFlags:z,isNextLineEmpty:le}=hs(),{locEnd:fe}=gs(),{builders:{join:J,hardline:ee,group:ue,indent:ge,conditionalGroup:me,breakParent:ye,label:V},utils:{willBreak:L}}=Ti(),R=bl(),{printMemberLookup:X}=zl(),{printOptionalToken:N,printFunctionTypeParameters:G,printBindExpressionCallee:q}=ca();function se(te,ne,Ce){let Re=te.getParentNode(),Pe=!Re||Re.type==="ExpressionStatement",Ge=[];function We(Sr){let{originalText:It}=ne,Qr=y(It,Sr,fe);return It.charAt(Qr)===")"?Qr!==!1&&E(It,Qr+1):le(Sr,ne)}function Me(Sr){let It=Sr.getValue();w(It)&&(j(It.callee)||w(It.callee))?(Ge.unshift({node:It,printed:[g(Sr,[N(Sr),G(Sr,ne,Ce),R(Sr,ne,Ce)],ne),We(It)?ee:""]}),Sr.call(Qr=>Me(Qr),"callee")):j(It)?(Ge.unshift({node:It,needsParens:x(Sr,ne),printed:g(Sr,k(It)?X(Sr,ne,Ce):q(Sr,ne,Ce),ne)}),Sr.call(Qr=>Me(Qr),"object")):It.type==="TSNonNullExpression"?(Ge.unshift({node:It,printed:g(Sr,"!",ne)}),Sr.call(Qr=>Me(Qr),"expression")):Ge.unshift({node:It,printed:Ce()})}let gt=te.getValue();Ge.unshift({node:gt,printed:[N(te),G(te,ne,Ce),R(te,ne,Ce)]}),gt.callee&&te.call(Sr=>Me(Sr),"callee");let qe=[],Ve=[Ge[0]],Ct=1;for(;Ct<Ge.length&&(Ge[Ct].node.type==="TSNonNullExpression"||w(Ge[Ct].node)||k(Ge[Ct].node)&&Ge[Ct].node.computed&&W(Ge[Ct].node.property));++Ct)Ve.push(Ge[Ct]);if(!w(Ge[0].node))for(;Ct+1<Ge.length&&j(Ge[Ct].node)&&j(Ge[Ct+1].node);++Ct)Ve.push(Ge[Ct]);qe.push(Ve),Ve=[];let St=!1;for(;Ct<Ge.length;++Ct){if(St&&j(Ge[Ct].node)){if(Ge[Ct].node.computed&&W(Ge[Ct].node.property)){Ve.push(Ge[Ct]);continue}qe.push(Ve),Ve=[],St=!1}(w(Ge[Ct].node)||Ge[Ct].node.type==="ImportExpression")&&(St=!0),Ve.push(Ge[Ct]),O(Ge[Ct].node,z.Trailing)&&(qe.push(Ve),Ve=[],St=!1)}Ve.length>0&&qe.push(Ve);function Et(Sr){return/^[A-Z]|^[$_]+$/.test(Sr)}function fr(Sr){return Sr.length<=ne.tabWidth}function $e(Sr){let It=Sr[1].length>0&&Sr[1][0].node.computed;if(Sr[0].length===1){let ht=Sr[0][0].node;return ht.type==="ThisExpression"||ht.type==="Identifier"&&(Et(ht.name)||Pe&&fr(ht.name)||It)}let Qr=A(Sr[0]).node;return k(Qr)&&Qr.property.type==="Identifier"&&(Et(Qr.property.name)||It)}let nt=qe.length>=2&&!O(qe[1][0].node)&&$e(qe);function rr(Sr){let It=Sr.map(Qr=>Qr.printed);return Sr.length>0&&A(Sr).needsParens?["(",...It,")"]:It}function Dr(Sr){return Sr.length===0?"":ge(ue([ee,J(ee,Sr.map(rr))]))}let Zt=qe.map(rr),tt=Zt,ot=nt?3:2,pt=qe.flat(),cr=pt.slice(1,-1).some(Sr=>O(Sr.node,z.Leading))||pt.slice(0,-1).some(Sr=>O(Sr.node,z.Trailing))||qe[ot]&&O(qe[ot][0].node,z.Leading);if(qe.length<=ot&&!cr)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:"",Dr(qe.slice(nt?2:1))],di=Ge.map(Sr=>{let{node:It}=Sr;return It}).filter(w);function gr(){let Sr=A(A(qe)).node,It=A(Zt);return w(Sr)&&L(It)&&di.slice(0,-1).some(Qr=>Qr.arguments.some(_))}let dr;return cr||di.length>2&&di.some(Sr=>!Sr.arguments.every(It=>I(It,0)))||Zt.slice(0,-1).some(L)||gr()?dr=ue(si):dr=[L(tt)||ln?ye:"",me([tt,si])],V("member-chain",dr)}b.exports=se}}),Fu=Xe({"src/language-js/print/call-expression.js"(m,b){S();var{builders:{join:g,group:A}}=Ti(),E=uo(),{getCallArguments:y,hasFlowAnnotationComment:x,isCallExpression:w,isMemberish:k,isStringLiteral:_,isTemplateOnItsOwnLine:$,isTestCall:j,iterateCallArgumentsPath:W}=hs(),I=nc(),O=bl(),{printOptionalToken:z,printFunctionTypeParameters:le}=ca();function fe(ee,ue,ge){let me=ee.getValue(),ye=ee.getParentNode(),V=me.type==="NewExpression",L=me.type==="ImportExpression",R=z(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=>E(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}b.exports={printCallExpression:fe}}}),$u=Xe({"src/language-js/print/assignment.js"(m,b){S();var{isNonEmptyArray:g,getStringWidth:A}=Ki(),{builders:{line:E,group:y,indent:x,indentIfBreak:w,lineSuffixBoundary:k},utils:{cleanDoc:_,willBreak:$,canBreak:j}}=Ti(),{hasLeadingOwnLineComment:W,isBinaryish:I,isStringLiteral:O,isLiteral:z,isNumericLiteral:le,isCallExpression:fe,isMemberExpression:J,getCallArguments:ee,rawText:ue,hasComment:ge,isSignedNumericLiteral:me,isObjectProperty:ye}=hs(),{shouldInlineLogicalExpression:V}=Uo(),{printCallExpression:L}=Fu();function R($e,nt,rr,Dr,Zt,tt){let ot=G($e,nt,rr,Dr,tt),pt=rr(tt,{assignmentLayout:ot});switch(ot){case"break-after-operator":return y([y(Dr),Zt,y(x([E,pt]))]);case"never-break-after-operator":return y([y(Dr),Zt," ",pt]);case"fluid":{let cr=Symbol("assignment");return y([y(Dr),Zt,y(x(E),{id:cr}),k,w(pt,{groupId:cr})])}case"break-lhs":return y([Dr,Zt," ",y(pt)]);case"chain":return[y(Dr),Zt,E,pt];case"chain-tail":return[y(Dr),Zt,x([E,pt])];case"chain-tail-arrow-chain":return[y(Dr),Zt,pt];case"only-left":return Dr}}function X($e,nt,rr){let Dr=$e.getValue();return R($e,nt,rr,rr("left"),[" ",Dr.operator],"right")}function N($e,nt,rr){return R($e,nt,rr,rr("id")," =","init")}function G($e,nt,rr,Dr,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)||Ce(tt)||Ge(tt)||We(tt)&&j(Dr))return"break-lhs";let cr=St(tt,Dr,nt);return $e.call(()=>q($e,nt,rr,cr),Zt)?"break-after-operator":cr||ot.type==="TemplateLiteral"||ot.type==="TaggedTemplateExpression"||ot.type==="BooleanLiteral"||le(ot)||ot.type==="ClassExpression"?"never-break-after-operator":"fluid"}function q($e,nt,rr,Dr){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(Dr)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 Ce($e){let nt=Re($e);if(g(nt)){let rr=$e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(nt.length>1&&nt.some(Dr=>Dr[rr]||Dr.default))return!0}return!1}function Re($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(Dr=>g(Me(Dr))||Dr.type==="TSConditionalType")}function We($e){return $e.type==="VariableDeclarator"&&$e.init&&$e.init.type==="ArrowFunctionExpression"}function Me($e){return gt($e)&&$e.typeParameters&&$e.typeParameters.params?$e.typeParameters.params:null}function gt($e){return $e.type==="TSTypeReference"||$e.type==="GenericTypeAnnotation"}function qe($e,nt,rr){let Dr=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(fe(Zt)){if(L($e,nt,rr).label==="member-chain")return!1;let ot=ee(Zt);return!(ot.length===0||ot.length===1&&Ct(ot[0],nt))||Et(Zt,rr)?!1:$e.call(tt,"callee")}return J(Zt)?$e.call(tt,"object"):Dr&&(Zt.type==="Identifier"||Zt.type==="ThisExpression")}var Ve=.25;function Ct($e,nt){let{printWidth:rr}=nt;if(ge($e))return!1;let Dr=rr*Ve;if($e.type==="ThisExpression"||$e.type==="Identifier"&&$e.name.length<=Dr||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<=Dr:O($e)?ue($e).length<=Dr:$e.type==="TemplateLiteral"?$e.expressions.length===0&&$e.quasis[0].value.raw.length<=Dr&&!$e.quasis[0].value.raw.includes(`
|
|
`):z($e)}function St($e,nt,rr){if(!ye($e))return!1;nt=_(nt);let Dr=3;return typeof nt=="string"&&A(nt)<rr.tabWidth+Dr}function Et($e,nt){let rr=fr($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 Dr=$e.typeParameters?"typeParameters":"typeArguments";if($(nt(Dr)))return!0}return!1}function fr($e){return $e.typeParameters&&$e.typeParameters.params||$e.typeArguments&&$e.typeArguments.params}b.exports={printVariableDeclarator:N,printAssignmentExpression:X,printAssignment:R,isArrowFunctionVariableDeclarator:We}}}),ya=Xe({"src/language-js/print/function-parameters.js"(m,b){S();var{getNextNonSpaceNonCommentCharacter:g}=Ki(),{printDanglingComments:A}=Bi(),{builders:{line:E,hardline:y,softline:x,group:w,indent:k,ifBreak:_},utils:{removeLines:$,willBreak:j}}=Ti(),{getFunctionParameters:W,iterateFunctionParametersPath:I,isSimpleType:O,isTestCall:z,isTypeAnnotationAFunction:le,isObjectType:fe,isObjectTypePropertyAFunction:J,hasRestParameter:ee,shouldPrintComma:ue,hasComment:ge,isNextLineEmpty:me}=hs(),{locEnd:ye}=gs(),{ArgExpansionBailout:V}=Yn(),{printFunctionTypeParameters:L}=ca();function R(q,se,te,ne,Ce){let Re=q.getValue(),Pe=W(Re),Ge=Ce?L(q,te,se):"";if(Pe.length===0)return[Ge,"(",A(q,te,!0,Ct=>g(te.originalText,Ct,ye)===")"),")"];let We=q.getParentNode(),Me=z(We),gt=X(Re),qe=[];if(I(q,(Ct,St)=>{let Et=St===Pe.length-1;Et&&Re.rest&&qe.push("..."),qe.push(se()),!Et&&(qe.push(","),Me||gt?qe.push(" "):me(Pe[St],te)?qe.push(y,y):qe.push(E))}),ne){if(j(Ge)||j(qe))throw new V;return w([$(Ge),"(",$(qe),")"])}let Ve=Pe.every(Ct=>!Ct.decorators);return gt&&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===Re)&&Pe.length===1&&Pe[0].name===null&&Re.this!==Pe[0]&&Pe[0].typeAnnotation&&Re.typeParameters===null&&O(Pe[0].typeAnnotation)&&!Re.rest?te.arrowParens==="always"?["(",...qe,")"]:qe:[Ge,"(",k([x,...qe]),_(!ee(Re)&&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")&&fe(te.typeAnnotation.typeAnnotation)||te.type==="FunctionTypeParam"&&fe(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 Ce=ne[0];if(Ce.constraint||Ce.default)return!1}}return W(q).length===1&&(fe(te)||j(se))}b.exports={printFunctionParameters:R,shouldHugFunctionParameters:X,shouldGroupFunctionParameters:G}}}),Ys=Xe({"src/language-js/print/type-annotation.js"(m,b){S();var{printComments:g,printDanglingComments:A}=Bi(),{isNonEmptyArray:E}=Ki(),{builders:{group:y,join:x,line:w,softline:k,indent:_,align:$,ifBreak:j}}=Ti(),W=uo(),{locStart:I}=gs(),{isSimpleType:O,isObjectType:z,hasLeadingOwnLineComment:le,isObjectTypePropertyAFunction:fe,shouldPrintComma:J}=hs(),{printAssignment:ee}=$u(),{printFunctionParameters:ue,shouldGroupFunctionParameters:ge}=ya(),{printArrayItems:me}=qu();function ye(te){if(O(te)||z(te))return!0;if(te.type==="UnionTypeAnnotation"||te.type==="TSUnionType"){let ne=te.types.filter(Re=>Re.type==="VoidTypeAnnotation"||Re.type==="TSVoidKeyword"||Re.type==="NullLiteralTypeAnnotation"||Re.type==="TSNullKeyword").length,Ce=te.types.some(Re=>Re.type==="ObjectTypeAnnotation"||Re.type==="TSTypeLiteral"||Re.type==="GenericTypeAnnotation"||Re.type==="TSTypeReference");if(te.types.length-1===ne&&Ce)return!0}return!1}function V(te,ne,Ce){let Re=ne.semi?";":"",Pe=te.getValue(),Ge=[];return Ge.push("opaque type ",Ce("id"),Ce("typeParameters")),Pe.supertype&&Ge.push(": ",Ce("supertype")),Pe.impltype&&Ge.push(" = ",Ce("impltype")),Ge.push(Re),Ge}function L(te,ne,Ce){let Re=ne.semi?";":"",Pe=te.getValue(),Ge=[];Pe.declare&&Ge.push("declare "),Ge.push("type ",Ce("id"),Ce("typeParameters"));let We=Pe.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[ee(te,ne,Ce,Ge," =",We),Re]}function R(te,ne,Ce){let Re=te.getValue(),Pe=te.map(Ce,"types"),Ge=[],We=!1;for(let Me=0;Me<Pe.length;++Me)Me===0?Ge.push(Pe[Me]):z(Re.types[Me-1])&&z(Re.types[Me])?Ge.push([" & ",We?_(Pe[Me]):Pe[Me]]):!z(Re.types[Me-1])&&!z(Re.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,Ce){let Re=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,Re)),We=ye(Re),Me=te.map(Ve=>{let Ct=Ce();return We||(Ct=$(2,Ct)),g(Ve,Ct,ne)},"types");if(We)return x(" | ",Me);let gt=Ge&&!le(ne.originalText,Re),qe=[j([gt?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,Ce){let Re=te.getValue(),Pe=[],Ge=te.getParentNode(0),We=te.getParentNode(1),Me=te.getParentNode(2),gt=Re.type==="TSFunctionType"||!((Ge.type==="ObjectTypeProperty"||Ge.type==="ObjectTypeInternalSlot")&&!Ge.variance&&!Ge.optional&&I(Ge)===I(Re)||Ge.type==="ObjectTypeCallProperty"||Me&&Me.type==="DeclareFunction"),qe=gt&&(Ge.type==="TypeAnnotation"||Ge.type==="TSTypeAnnotation"),Ve=qe&>&&(Ge.type==="TypeAnnotation"||Ge.type==="TSTypeAnnotation")&&We.type==="ArrowFunctionExpression";fe(Ge)&&(gt=!0,qe=!0),Ve&&Pe.push("(");let Ct=ue(te,Ce,ne,!1,!0),St=Re.returnType||Re.predicate||Re.typeAnnotation?[gt?" => ":": ",Ce("returnType"),Ce("predicate"),Ce("typeAnnotation")]:"",Et=ge(Re,St);return Pe.push(Et?y(Ct):Ct),St&&Pe.push(St),Ve&&Pe.push(")"),y(Pe)}function G(te,ne,Ce){let Re=te.getValue(),Pe=Re.type==="TSTupleType"?"elementTypes":"types",Ge=Re[Pe],We=E(Ge),Me=We?k:"";return y(["[",_([Me,me(te,ne,Pe,Ce)]),j(We&&J(ne,"all")?",":""),A(te,ne,!0),Me,"]"])}function q(te,ne,Ce){let Re=te.getValue(),Pe=Re.type==="OptionalIndexedAccessType"&&Re.optional?"?.[":"[";return[Ce("objectType"),Pe,Ce("indexType"),"]"]}function se(te,ne,Ce){let Re=te.getValue();return[Re.postfix?"":Ce,ne("typeAnnotation"),Re.postfix?Ce:""]}b.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,b){S();var{printDanglingComments:g}=Bi(),{builders:{join:A,line:E,hardline:y,softline:x,group:w,indent:k,ifBreak:_}}=Ti(),{isTestCall:$,hasComment:j,CommentCheckFlags:W,isTSXFile:I,shouldPrintComma:O,getFunctionParameters:z,isObjectType:le}=hs(),{createGroupIdMapper:fe}=Ki(),{shouldHugType:J}=Ys(),{isArrowFunctionVariableDeclarator:ee}=$u(),ue=fe("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"?"":z(N).length===1&&I(L)&&!N[X][0].constraint&&V.getParentNode().type==="ArrowFunctionExpression"?",":O(L,"all")?_(","):"";return w(["<",k([x,A([",",E],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)}b.exports={printTypeParameter:ye,printTypeParameters:ge,getTypeParametersGroupId:ue}}}),Hs=Xe({"src/language-js/print/property.js"(m,b){S();var{printComments:g}=Bi(),{printString:A,printNumber:E}=Ki(),{isNumericLiteral:y,isSimpleNumber:x,isStringLiteral:w,isStringPropSafeToUnquote:k,rawText:_}=hs(),{printAssignment:$}=$u(),j=new WeakMap;function W(O,z,le){let fe=O.getNode();if(fe.computed)return["[",le("key"),"]"];let J=O.getParentNode(),{key:ee}=fe;if(fe.type==="ClassPrivateProperty"&&ee.type==="Identifier")return["#",le("key")];if(z.quoteProps==="consistent"&&!j.has(J)){let ue=(J.properties||J.body||J.members).some(ge=>!ge.computed&&ge.key&&w(ge.key)&&!k(ge,z));j.set(J,ue)}if((ee.type==="Identifier"||y(ee)&&x(E(_(ee)))&&String(ee.value)===E(_(ee))&&!(z.parser==="typescript"||z.parser==="babel-ts"))&&(z.parser==="json"||z.quoteProps==="consistent"&&j.get(J))){let ue=A(JSON.stringify(ee.type==="Identifier"?ee.name:ee.value.toString()),z);return O.call(ge=>g(ge,ue,z),"key")}return k(fe,z)&&(z.quoteProps==="as-needed"||z.quoteProps==="consistent"&&!j.get(J))?O.call(ue=>g(ue,/^\d/.test(ee.value)?E(ee.value):ee.value,z),"key"):le("key")}function I(O,z,le){return O.getValue().shorthand?le("value"):$(O,z,le,W(O,z,le),":","value")}b.exports={printProperty:I,printPropertyKey:W}}}),zo=Xe({"src/language-js/print/function.js"(m,b){S();var g=fi(),{printDanglingComments:A,printCommentsSeparately:E}=Bi(),y=Zi(),{getNextNonSpaceNonCommentCharacterIndex:x}=Ki(),{builders:{line:w,softline:k,group:_,indent:$,ifBreak:j,hardline:W,join:I,indentIfBreak:O},utils:{removeLines:z,willBreak:le}}=Ti(),{ArgExpansionBailout:fe}=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:Ce}=hs(),{locEnd:Re}=gs(),{printFunctionParameters:Pe,shouldGroupFunctionParameters:Ge}=ya(),{printPropertyKey:We}=Hs(),{printFunctionTypeParameters:Me}=ca();function gt(ot,pt,cr,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 di=[];ln.type==="TSDeclareFunction"&&ln.declare&&di.push("declare "),ln.async&&di.push("async "),ln.generator?di.push("function* "):di.push("function "),ln.id&&di.push(pt("id"));let gr=Pe(ot,pt,cr,si),dr=nt(ot,pt,cr),Sr=Ge(ln,dr);return di.push(Me(ot,cr,pt),_([Sr?_(gr):gr,dr]),ln.body?" ":"",pt("body")),cr.semi&&(ln.declare||!ln.body)&&di.push(";"),di}function qe(ot,pt,cr){let Yt=ot.getNode(),{kind:ln}=Yt,si=Yt.value||Yt,di=[];return!ln||ln==="init"||ln==="method"||ln==="constructor"?si.async&&di.push("async "):(g.ok(ln==="get"||ln==="set"),di.push(ln," ")),si.generator&&di.push("*"),di.push(We(ot,pt,cr),Yt.optional||Yt.key.optional?"?":""),Yt===si?di.push(Ve(ot,pt,cr)):si.type==="FunctionExpression"?di.push(ot.call(gr=>Ve(gr,pt,cr),"value")):di.push(cr("value")),di}function Ve(ot,pt,cr){let Yt=ot.getNode(),ln=Pe(ot,cr,pt),si=nt(ot,cr,pt),di=Ge(Yt,si),gr=[Me(ot,pt,cr),_([di?_(ln):ln,si])];return Yt.body?gr.push(" ",cr("body")):gr.push(pt.semi?";":""),gr}function Ct(ot,pt,cr,Yt){let ln=ot.getValue(),si=[];if(ln.async&&si.push("async "),$e(ot,pt))si.push(cr(["params",0]));else{let gr=Yt&&(Yt.expandLastArg||Yt.expandFirstArg),dr=nt(ot,cr,pt);if(gr){if(le(dr))throw new fe;dr=_(z(dr))}si.push(_([Pe(ot,cr,pt,gr,!0),dr]))}let di=A(ot,pt,!0,gr=>{let dr=x(pt.originalText,gr,Re);return dr!==!1&&pt.originalText.slice(dr,dr+2)==="=>"});return di&&si.push(" ",di),si}function St(ot,pt,cr,Yt,ln,si){let di=ot.getName(),gr=ot.getParentNode(),dr=q(gr)&&di==="callee",Sr=Boolean(pt&&pt.assignmentLayout),It=si.body.type!=="BlockStatement"&&si.body.type!=="ObjectExpression"&&si.body.type!=="SequenceExpression",Qr=dr&&It||pt&&pt.assignmentLayout==="chain-tail-arrow-chain",ht=Symbol("arrow-chain");return si.body.type==="SequenceExpression"&&(ln=_(["(",$([k,ln]),k,")"])),_([_($([dr||Sr?k:"",_(I([" =>",w],cr),{shouldBreak:Yt})]),{id:ht,shouldBreak:Qr})," =>",O(It?$([w,ln]):[" ",ln],{groupId:ht}),dr?j(k,"",{groupId:ht}):""])}function Et(ot,pt,cr,Yt){let ln=ot.getValue(),si=[],di=[],gr=!1;if(function ht(){let Wr=Ct(ot,pt,cr,Yt);if(si.length===0)si.push(Wr);else{let{leading:jr,trailing:e}=E(ot,pt);si.push([jr,Wr]),di.unshift(e)}gr=gr||ln.returnType&&J(ln).length>0||ln.typeParameters||J(ln).some(jr=>jr.type!=="Identifier"),ln.body.type!=="ArrowFunctionExpression"||Yt&&Yt.expandLastArg?di.unshift(cr("body",Yt)):(ln=ln.body,ot.call(ht,"body"))}(),si.length>1)return St(ot,Yt,si,gr,di,ln);let dr=si;if(dr.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 _([...dr," ",di]);if(ln.body.type==="SequenceExpression")return _([...dr,_([" (",$([k,di]),k,")"])]);let Sr=(Yt&&Yt.expandLastArg||ot.getParentNode().type==="JSXExpressionContainer")&&!X(ln),It=Yt&&Yt.expandLastArg&&ye(pt,"all"),Qr=ln.body.type==="ConditionalExpression"&&!V(ln.body,!1);return _([...dr,_([$([w,Qr?j("","("):"",di,Qr?j("",")"):""]),Sr?[j(It?",":""),k]:""])])}function fr(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 cr=ot.getValue();return fr(cr)}return!1}function nt(ot,pt,cr){let Yt=ot.getValue(),ln=pt("returnType");if(Yt.returnType&&ue(cr.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,cr){let Yt=ot.getValue(),ln=pt.semi?";":"",si=[];Yt.argument&&(tt(pt,Yt.argument)?si.push([" (",$([W,cr("argument")]),W,")"]):L(Yt.argument)||Yt.argument.type==="SequenceExpression"?si.push(_([j(" ("," "),$([k,cr("argument")]),k,j(")")])):si.push(" ",cr("argument")));let di=N(Yt),gr=y(di),dr=gr&&R(gr);return dr&&si.push(ln),X(Yt,G.Dangling)&&si.push(" ",A(ot,pt,!0)),dr||si.push(ln),si}function Dr(ot,pt,cr){return["return",rr(ot,pt,cr)]}function Zt(ot,pt,cr){return["throw",rr(ot,pt,cr)]}function tt(ot,pt){if(ee(ot.originalText,pt))return!0;if(ne(pt)){let cr=pt,Yt;for(;Yt=Ce(cr);)if(cr=Yt,ee(ot.originalText,cr))return!0}return!1}b.exports={printFunction:gt,printArrowFunction:Et,printMethod:qe,printReturnStatement:Dr,printThrowStatement:Zt,printMethodInternal:Ve,shouldPrintParamsWithoutParens:$e}}}),Wu=Xe({"src/language-js/print/decorators.js"(m,b){S();var{isNonEmptyArray:g,hasNewline:A}=Ki(),{builders:{line:E,hardline:y,join:x,breakParent:w,group:k}}=Ti(),{locStart:_,locEnd:$}=gs(),{getParentExportDeclaration:j}=hs();function W(fe,J,ee){let ue=fe.getValue();return k([x(E,fe.map(ee,"decorators")),z(ue,J)?y:E])}function I(fe,J,ee){return[x(y,fe.map(ee,"declaration","decorators")),y]}function O(fe,J,ee){let ue=fe.getValue(),{decorators:ge}=ue;if(!g(ge)||le(fe.getParentNode()))return;let me=ue.type==="ClassExpression"||ue.type==="ClassDeclaration"||z(ue,J);return[j(fe)?y:me?w:"",x(E,fe.map(ee,"decorators")),E]}function z(fe,J){return fe.decorators.some(ee=>A(J.originalText,$(ee)))}function le(fe){if(fe.type!=="ExportDefaultDeclaration"&&fe.type!=="ExportNamedDeclaration"&&fe.type!=="DeclareExportDeclaration")return!1;let J=fe.declaration&&fe.declaration.decorators;return g(J)&&_(fe,{ignoreDecorators:!0})>_(J[0])}b.exports={printDecorators:O,printClassMemberDecorators:W,printDecoratorsBeforeExport:I,hasDecoratorsBeforeExport:le}}}),lo=Xe({"src/language-js/print/class.js"(m,b){S();var{isNonEmptyArray:g,createGroupIdMapper:A}=Ki(),{printComments:E,printDanglingComments:y}=Bi(),{builders:{join:x,line:w,hardline:k,softline:_,group:$,indent:j,ifBreak:W}}=Ti(),{hasComment:I,CommentCheckFlags:O}=hs(),{getTypeParametersGroupId:z}=Js(),{printMethod:le}=zo(),{printOptionalToken:fe,printTypeAnnotation:J,printDefiniteToken:ee}=ca(),{printPropertyKey:ue}=Hs(),{printAssignment:ge}=$u(),{printClassMemberDecorators:me}=Wu();function ye(te,ne,Ce){let Re=te.getValue(),Pe=[];Re.declare&&Pe.push("declare "),Re.abstract&&Pe.push("abstract "),Pe.push("class");let Ge=Re.id&&I(Re.id,O.Trailing)||Re.typeParameters&&I(Re.typeParameters,O.Trailing)||Re.superClass&&I(Re.superClass)||g(Re.extends)||g(Re.mixins)||g(Re.implements),We=[],Me=[];if(Re.id&&We.push(" ",Ce("id")),We.push(Ce("typeParameters")),Re.superClass){let gt=[G(te,ne,Ce),Ce("superTypeParameters")],qe=te.call(Ve=>["extends ",E(Ve,gt,ne)],"superClass");Ge?Me.push(w,$(qe)):Me.push(" ",qe)}else Me.push(N(te,ne,Ce,"extends"));if(Me.push(N(te,ne,Ce,"mixins"),N(te,ne,Ce,"implements")),Ge){let gt;X(Re)?gt=[...We,j(Me)]:gt=j([...We,Me]),Pe.push($(gt,{id:V(Re)}))}else Pe.push(...We,...Me);return Pe.push(" ",Ce("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,Ce,Re){let Pe=te.getValue();if(!g(Pe[Re]))return"";let Ge=y(te,ne,!0,We=>{let{marker:Me}=We;return Me===Re});return[X(Pe)?W(" ",w,{groupId:z(Pe.typeParameters)}):w,Ge,Ge&&k,Re,$(j([w,x([",",w],te.map(Ce,Re))]))]}function G(te,ne,Ce){let Re=Ce("superClass");return te.getParentNode().type==="AssignmentExpression"?$(W(["(",j([_,Re]),_,")"],Re)):Re}function q(te,ne,Ce){let Re=te.getValue(),Pe=[];return g(Re.decorators)&&Pe.push(me(te,ne,Ce)),Re.accessibility&&Pe.push(Re.accessibility+" "),Re.readonly&&Pe.push("readonly "),Re.declare&&Pe.push("declare "),Re.static&&Pe.push("static "),(Re.type==="TSAbstractMethodDefinition"||Re.abstract)&&Pe.push("abstract "),Re.override&&Pe.push("override "),Pe.push(le(te,ne,Ce)),Pe}function se(te,ne,Ce){let Re=te.getValue(),Pe=[],Ge=ne.semi?";":"";return g(Re.decorators)&&Pe.push(me(te,ne,Ce)),Re.accessibility&&Pe.push(Re.accessibility+" "),Re.declare&&Pe.push("declare "),Re.static&&Pe.push("static "),(Re.type==="TSAbstractPropertyDefinition"||Re.abstract)&&Pe.push("abstract "),Re.override&&Pe.push("override "),Re.readonly&&Pe.push("readonly "),Re.variance&&Pe.push(Ce("variance")),Re.type==="ClassAccessorProperty"&&Pe.push("accessor "),Pe.push(ue(te,ne,Ce),fe(te),ee(te),J(te,ne,Ce)),[ge(te,ne,Ce,Pe," =","value"),Ge]}b.exports={printClass:ye,printClassMethod:q,printClassProperty:se,printHardlineAfterHeritage:L}}}),Ho=Xe({"src/language-js/print/interface.js"(m,b){S();var{isNonEmptyArray:g}=Ki(),{builders:{join:A,line:E,group:y,indent:x,ifBreak:w}}=Ti(),{hasComment:k,identity:_,CommentCheckFlags:$}=hs(),{getTypeParametersGroupId:j}=Js(),{printTypeScriptModifiers:W}=ca();function I(O,z,le){let fe=O.getValue(),J=[];fe.declare&&J.push("declare "),fe.type==="TSInterfaceDeclaration"&&J.push(fe.abstract?"abstract ":"",W(O,z,le)),J.push("interface");let ee=[],ue=[];fe.type!=="InterfaceTypeAnnotation"&&ee.push(" ",le("id"),le("typeParameters"));let ge=fe.typeParameters&&!k(fe.typeParameters,$.Trailing|$.Line);return g(fe.extends)&&ue.push(ge?w(" ",E,{groupId:j(fe.typeParameters)}):E,"extends ",(fe.extends.length===1?_:x)(A([",",E],O.map(le,"extends")))),fe.id&&k(fe.id,$.Trailing)||g(fe.extends)?ge?J.push(y([...ee,x(ue)])):J.push(y(x([...ee,...ue]))):J.push(...ee,...ue),J.push(" ",le("body")),y(J)}b.exports={printInterface:I}}}),pl=Xe({"src/language-js/print/module.js"(m,b){S();var{isNonEmptyArray:g}=Ki(),{builders:{softline:A,group:E,indent:y,join:x,line:w,ifBreak:k,hardline:_}}=Ti(),{printDanglingComments:$}=Bi(),{hasComment:j,CommentCheckFlags:W,shouldPrintComma:I,needsHardlineAfterDanglingComment:O,isStringLiteral:z,rawText:le}=hs(),{locStart:fe,hasSameLoc:J}=gs(),{hasDecoratorsBeforeExport:ee,printDecoratorsBeforeExport:ue}=Wu();function ge(se,te,ne){let Ce=se.getValue(),Re=te.semi?";":"",Pe=[],{importKind:Ge}=Ce;return Pe.push("import"),Ge&&Ge!=="value"&&Pe.push(" ",Ge),Pe.push(R(se,te,ne),L(se,te,ne),N(se,te,ne),Re),Pe}function me(se,te,ne){let Ce=se.getValue(),Re=[];ee(Ce)&&Re.push(ue(se,te,ne));let{type:Pe,exportKind:Ge,declaration:We}=Ce;return Re.push("export"),(Ce.default||Pe==="ExportDefaultDeclaration")&&Re.push(" default"),j(Ce,W.Dangling)&&(Re.push(" ",$(se,te,!0)),O(Ce)&&Re.push(_)),We?Re.push(" ",ne("declaration")):Re.push(Ge==="type"?" type":"",R(se,te,ne),L(se,te,ne),N(se,te,ne)),V(Ce,te)&&Re.push(";"),Re}function ye(se,te,ne){let Ce=se.getValue(),Re=te.semi?";":"",Pe=[],{exportKind:Ge,exported:We}=Ce;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),Re),Pe}function V(se,te){if(!te.semi)return!1;let{type:ne,declaration:Ce}=se,Re=se.default||ne==="ExportDefaultDeclaration";if(!Ce)return!0;let{type:Pe}=Ce;return!!(Re&&Pe!=="ClassDeclaration"&&Pe!=="FunctionDeclaration"&&Pe!=="TSInterfaceDeclaration"&&Pe!=="DeclareClass"&&Pe!=="DeclareFunction"&&Pe!=="TSDeclareFunction"&&Pe!=="EnumDeclaration")}function L(se,te,ne){let Ce=se.getValue();if(!Ce.source)return"";let Re=[];return X(Ce,te)||Re.push(" from"),Re.push(" ",ne("source")),Re}function R(se,te,ne){let Ce=se.getValue();if(X(Ce,te))return"";let Re=[" "];if(g(Ce.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"),Re.push(x(", ",Pe)),Ge.length>0&&(Pe.length>0&&Re.push(", "),Ge.length>1||Pe.length>0||Ce.specifiers.some(We=>j(We))?Re.push(E(["{",y([te.bracketSpacing?w:A,x([",",w],Ge)]),k(I(te)?",":""),te.bracketSpacing?w:A,"}"])):Re.push(["{",te.bracketSpacing?" ":"",...Ge,te.bracketSpacing?" ":"","}"]))}else Re.push("{}");return Re}function X(se,te){let{type:ne,importKind:Ce,source:Re,specifiers:Pe}=se;return ne!=="ImportDeclaration"||g(Pe)||Ce==="type"?!1:!/{\s*}/.test(te.originalText.slice(fe(se),fe(Re)))}function N(se,te,ne){let Ce=se.getNode();return g(Ce.assertions)?[" assert {",te.bracketSpacing?" ":"",x(", ",se.map(ne,"assertions")),te.bracketSpacing?" ":"","}"]:""}function G(se,te,ne){let Ce=se.getNode(),{type:Re}=Ce,Pe=[],Ge=Re==="ImportSpecifier"?Ce.importKind:Ce.exportKind;Ge&&Ge!=="value"&&Pe.push(Ge," ");let We=Re.startsWith("Import"),Me=We?"imported":"local",gt=We?"local":"exported",qe=Ce[Me],Ve=Ce[gt],Ct="",St="";return Re==="ExportNamespaceSpecifier"||Re==="ImportNamespaceSpecifier"?Ct="*":qe&&(Ct=ne(Me)),Ve&&!q(Ce)&&(St=ne(gt)),Pe.push(Ct,Ct&&St?" as ":"",St),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(z(te))return te.value===ne.value&&le(te)===le(ne);switch(te.type){case"Identifier":return te.name===ne.name;default:return!1}}b.exports={printImportDeclaration:ge,printExportDeclaration:me,printExportAllDeclaration:ye,printModuleSpecifier:G}}}),Al=Xe({"src/language-js/print/object.js"(m,b){S();var{printDanglingComments:g}=Bi(),{builders:{line:A,softline:E,group:y,indent:x,ifBreak:w,hardline:k}}=Ti(),{getLast:_,hasNewlineInRange:$,hasNewline:j,isNonEmptyArray:W}=Ki(),{shouldPrintComma:I,hasComment:O,getComments:z,CommentCheckFlags:le,isNextLineEmpty:fe}=hs(),{locStart:J,locEnd:ee}=gs(),{printOptionalToken:ue,printTypeAnnotation:ge}=ca(),{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 Ce=ne.map($e=>q[$e][0]).sort(($e,nt)=>J($e)-J(nt))[0],Re=R.getParentNode(0),Pe=te&&Re&&(Re.type==="InterfaceDeclaration"||Re.type==="DeclareInterface"||Re.type==="DeclareClass")&&R.getName()==="body",Ge=q.type==="TSInterfaceBody"||Pe||q.type==="ObjectPattern"&&Re.type!=="FunctionDeclaration"&&Re.type!=="FunctionExpression"&&Re.type!=="ArrowFunctionExpression"&&Re.type!=="ObjectMethod"&&Re.type!=="ClassMethod"&&Re.type!=="ClassPrivateMethod"&&Re.type!=="AssignmentPattern"&&Re.type!=="CatchClause"&&q.properties.some($e=>$e.value&&($e.value.type==="ObjectPattern"||$e.value.type==="ArrayPattern"))||q.type!=="ObjectPattern"&&Ce&&$(X.originalText,J(q),J(Ce)),We=Pe?";":q.type==="TSInterfaceBody"||q.type==="TSTypeLiteral"?w(G,";"):",",Me=q.type==="RecordExpression"?"#{":q.exact?"{|":"{",gt=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=[],Ct=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(),fe($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(_(z(q))))?k:A,"..."]}else $e=["..."];Ct.push([...Ve,...$e])}let St=_(q[se]),Et=!(q.inexact||St&&St.type==="RestElement"||St&&(St.type==="TSPropertySignature"||St.type==="TSCallSignatureDeclaration"||St.type==="TSMethodSignature"||St.type==="TSConstructSignatureDeclaration")&&O(St,le.PrettierIgnore)),fr;if(Ct.length===0){if(!O(q,le.Dangling))return[Me,gt,ge(R,X,N)];fr=y([Me,g(R,X),E,gt,ue(R),ge(R,X,N)])}else fr=[Pe&&W(q.properties)?V(Re):"",Me,x([X.bracketSpacing?A:E,...Ct]),w(Et&&(We!==","||I(X))?We:""),X.bracketSpacing?A:E,gt,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")?fr:y(fr,{shouldBreak:Ge})}b.exports={printObject:L}}}),hl=Xe({"src/language-js/print/flow.js"(m,b){S();var g=fi(),{printDanglingComments:A}=Bi(),{printString:E,printNumber:y}=Ki(),{builders:{hardline:x,softline:w,group:k,indent:_}}=Ti(),{getParentExportDeclaration:$,isFunctionNotation:j,isGetterOrSetter:W,rawText:I,shouldPrintComma:O}=hs(),{locStart:z,locEnd:le}=gs(),{printClass:fe}=lo(),{printOpaqueType:J,printTypeAlias:ee,printIntersectionType:ue,printUnionType:ge,printFunctionType:me,printTupleType:ye,printIndexedAccessType:V}=Ys(),{printInterface:L}=Ho(),{printTypeParameter:R,printTypeParameters:X}=Js(),{printExportDeclaration:N,printExportAllDeclaration:G}=pl(),{printArrayItems:q}=qu(),{printObject:se}=Al(),{printPropertyKey:te}=Hs(),{printOptionalToken:ne,printTypeAnnotation:Ce,printRestSpread:Re}=ca();function Pe(We,Me,gt){let qe=We.getValue(),Ve=Me.semi?";":"",Ct=[];switch(qe.type){case"DeclareClass":return Ge(We,fe(We,Me,gt));case"DeclareFunction":return Ge(We,["function ",gt("id"),qe.predicate?" ":"",gt("predicate"),Ve]);case"DeclareModule":return Ge(We,["module ",gt("id")," ",gt("body")]);case"DeclareModuleExports":return Ge(We,["module.exports",": ",gt("typeAnnotation"),Ve]);case"DeclareVariable":return Ge(We,["var ",gt("id"),Ve]);case"DeclareOpaqueType":return Ge(We,J(We,Me,gt));case"DeclareInterface":return Ge(We,L(We,Me,gt));case"DeclareTypeAlias":return Ge(We,ee(We,Me,gt));case"DeclareExportDeclaration":return Ge(We,N(We,Me,gt));case"DeclareExportAllDeclaration":return Ge(We,G(We,Me,gt));case"OpaqueType":return J(We,Me,gt);case"TypeAlias":return ee(We,Me,gt);case"IntersectionTypeAnnotation":return ue(We,Me,gt);case"UnionTypeAnnotation":return ge(We,Me,gt);case"FunctionTypeAnnotation":return me(We,Me,gt);case"TupleTypeAnnotation":return ye(We,Me,gt);case"GenericTypeAnnotation":return[gt("id"),X(We,Me,gt,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return V(We,Me,gt);case"TypeAnnotation":return gt("typeAnnotation");case"TypeParameter":return R(We,Me,gt);case"TypeofTypeAnnotation":return["typeof ",gt("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[gt("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(qe.value);case"EnumDeclaration":return["enum ",gt("id")," ",gt("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(qe.type==="EnumSymbolBody"||qe.explicitType){let St=null;switch(qe.type){case"EnumBooleanBody":St="boolean";break;case"EnumNumberBody":St="number";break;case"EnumStringBody":St="string";break;case"EnumSymbolBody":St="symbol";break}Ct.push("of ",St," ")}if(qe.members.length===0&&!qe.hasUnknownMembers)Ct.push(k(["{",A(We,Me),w,"}"]));else{let St=qe.members.length>0?[x,q(We,Me,"members",gt),qe.hasUnknownMembers||O(Me)?",":""]:[];Ct.push(k(["{",_([...St,...qe.hasUnknownMembers?[x,"..."]:[]]),A(We,Me,!0),x,"}"]))}return Ct}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[gt("id")," = ",typeof qe.init=="object"?gt("init"):String(qe.init)];case"EnumDefaultedMember":return gt("id");case"FunctionTypeParam":{let St=qe.name?gt("name"):We.getParentNode().this===qe?"this":"";return[St,ne(We),St?": ":"",gt("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return L(We,Me,gt);case"ClassImplements":case"InterfaceExtends":return[gt("id"),gt("typeParameters")];case"NullableTypeAnnotation":return["?",gt("typeAnnotation")];case"Variance":{let{kind:St}=qe;return g.ok(St==="plus"||St==="minus"),St==="plus"?"+":"-"}case"ObjectTypeCallProperty":return qe.static&&Ct.push("static "),Ct.push(gt("value")),Ct;case"ObjectTypeIndexer":return[qe.static?"static ":"",qe.variance?gt("variance"):"","[",gt("id"),qe.id?": ":"",gt("key"),"]: ",gt("value")];case"ObjectTypeProperty":{let St="";return qe.proto?St="proto ":qe.static&&(St="static "),[St,W(qe)?qe.kind+" ":"",qe.variance?gt("variance"):"",te(We,Me,gt),ne(We),j(qe)?"":": ",gt("value")]}case"ObjectTypeAnnotation":return se(We,Me,gt);case"ObjectTypeInternalSlot":return[qe.static?"static ":"","[[",gt("id"),"]]",ne(We),qe.method?"":": ",gt("value")];case"ObjectTypeSpreadProperty":return Re(We,Me,gt);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[gt("qualification"),".",gt("id")];case"StringLiteralTypeAnnotation":return E(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["(",gt("expression"),Ce(We,Me,gt),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let St=X(We,Me,gt,"params");if(Me.parser==="flow"){let Et=z(qe),fr=le(qe),$e=Me.originalText.lastIndexOf("/*",Et),nt=Me.originalText.indexOf("*/",fr);if($e!==-1&&nt!==-1){let rr=Me.originalText.slice($e+2,nt).trim();if(rr.startsWith("::")&&!rr.includes("/*")&&!rr.includes("*/"))return["/*:: ",St," */"]}}return St}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",gt("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 gt=$(We);return gt?(g.strictEqual(gt.type,"DeclareExportDeclaration"),Me):["declare ",Me]}b.exports={printFlow:Pe}}}),Hl=Xe({"src/language-js/utils/is-ts-keyword-type.js"(m,b){S();function g(A){let{type:E}=A;return E.startsWith("TS")&&E.endsWith("Keyword")}b.exports=g}}),Vu=Xe({"src/language-js/print/ternary.js"(m,b){S();var{hasNewlineInRange:g}=Ki(),{isJsxNode:A,getComments:E,isCallExpression:y,isMemberExpression:x}=hs(),{locStart:w,locEnd:k}=gs(),_=ga(),{builders:{line:$,softline:j,group:W,indent:I,align:O,ifBreak:z,dedent:le,breakParent:fe}}=Ti();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=[],Ce=!1,Re=ye.getParentNode(),Pe=Re.type===R.type&&q.some(nt=>Re[nt]===R),Ge=Re.type===R.type&&!Pe,We,Me,gt=0;do Me=We||R,We=ye.getParentNode(gt),gt++;while(We&&We.type===R.type&&q.every(nt=>We[nt]!==Me));let qe=We||Re,Ve=Me;if(X&&(A(R[q[0]])||A(se)||A(te)||J(Ve))){Ce=!0,Ge=!0;let nt=Dr=>[z("("),I([j,Dr]),j,z(")")],rr=Dr=>Dr.type==="NullLiteral"||Dr.type==="Literal"&&Dr.value===null||Dr.type==="Identifier"&&Dr.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?z("","("):"",O(2,L(N)),se.type===R.type?z("",")"):"",$,": ",te.type===R.type?L(G):O(2,L(G))];ne.push(Re.type!==R.type||Re[G]===R||Pe?nt:V.useTabs?le(I(nt)):O(Math.max(0,V.tabWidth-2),nt))}let Ct=[...q.map(nt=>E(R[nt])),E(se),E(te)].flat().some(nt=>_(nt)&&g(V.originalText,w(nt),k(nt))),St=nt=>Re===qe?W(nt,{shouldBreak:Ct}):Ct?[nt,fe]:nt,Et=!Ce&&(x(Re)||Re.type==="NGPipeExpression"&&Re.left===R)&&!Re.computed,fr=ge(ye),$e=St([ee(ye,V,L),Ge?ne:I(ne),X&&Et&&!fr?j:""]);return Pe||fr?W([I([j,$e]),j]):$e}b.exports={printTernary:me}}}),ql=Xe({"src/language-js/print/statement.js"(m,b){S();var{builders:{hardline:g}}=Ti(),A=uo(),{getLeftSidePathName:E,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=>z(me,ge),"expression")}function z(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=>z(ye,ge),...E(ue,me)):!1}function le(ue,ge,me){return W(ue,ge,me,"body")}function fe(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}b.exports={printBody:le,printSwitchCaseConsequent:fe}}}),fl=Xe({"src/language-js/print/block.js"(m,b){S();var{printDanglingComments:g}=Bi(),{isNonEmptyArray:A}=Ki(),{builders:{hardline:E,indent:y}}=Ti(),{hasComment:x,CommentCheckFlags:w,isNextLineEmpty:k}=hs(),{printHardlineAfterHeritage:_}=lo(),{printBody:$}=ql();function j(I,O,z){let le=I.getValue(),fe=[];if(le.type==="StaticBlock"&&fe.push("static "),le.type==="ClassBody"&&A(le.body)){let ee=I.getParentNode();fe.push(_(ee))}fe.push("{");let J=W(I,O,z);if(J)fe.push(y([E,J]),E);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"||fe.push(E)}return fe.push("}"),fe}function W(I,O,z){let le=I.getValue(),fe=A(le.directives),J=le.body.some(ge=>ge.type!=="EmptyStatement"),ee=x(le,w.Dangling);if(!fe&&!J&&!ee)return"";let ue=[];if(fe&&I.each((ge,me,ye)=>{ue.push(z()),(me<ye.length-1||J||ee)&&(ue.push(E),k(ge.getValue(),O)&&ue.push(E))},"directives"),J&&ue.push($(I,O,z)),ee&&ue.push(g(I,O,!0)),le.type==="Program"){let ge=I.getParentNode();(!ge||ge.type!=="ModuleExpression")&&ue.push(E)}return ue}b.exports={printBlock:j,printBlockBody:W}}}),Gu=Xe({"src/language-js/print/typescript.js"(m,b){S();var{printDanglingComments:g}=Bi(),{hasNewlineInRange:A}=Ki(),{builders:{join:E,line:y,hardline:x,softline:w,group:k,indent:_,conditionalGroup:$,ifBreak:j}}=Ti(),{isLiteral:W,getTypeScriptMappedTypeModifier:I,shouldPrintComma:O,isCallExpression:z,isMemberExpression:le}=hs(),fe=Hl(),{locStart:J,locEnd:ee}=gs(),{printOptionalToken:ue,printTypeScriptModifiers:ge}=ca(),{printTernary:me}=Vu(),{printFunctionParameters:ye,shouldGroupFunctionParameters:V}=ya(),{printTemplateLiteral:L}=za(),{printArrayItems:R}=qu(),{printObject:X}=Al(),{printClassProperty:N,printClassMethod:G}=lo(),{printTypeParameter:q,printTypeParameters:se}=Js(),{printPropertyKey:te}=Hs(),{printFunction:ne,printMethodInternal:Ce}=zo(),{printInterface:Re}=Ho(),{printBlock:Pe}=fl(),{printTypeAlias:Ge,printIntersectionType:We,printUnionType:Me,printFunctionType:gt,printTupleType:qe,printIndexedAccessType:Ve,printJSDocType:Ct}=Ys();function St(Et,fr,$e){let nt=Et.getValue();if(!nt.type.startsWith("TS"))return;if(fe(nt))return nt.type.slice(2,-7).toLowerCase();let rr=fr.semi?";":"",Dr=[];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(Et,$e,fr);case"TSExportAssignment":return["export = ",$e("expression"),rr];case"TSModuleBlock":return Pe(Et,fr,$e);case"TSInterfaceBody":case"TSTypeLiteral":return X(Et,fr,$e);case"TSTypeAliasDeclaration":return Ge(Et,fr,$e);case"TSQualifiedName":return E(".",[$e("left"),$e("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return G(Et,fr,$e);case"TSAbstractPropertyDefinition":return N(Et,fr,$e);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return Dr.push($e("expression")),nt.typeParameters&&Dr.push($e("typeParameters")),Dr;case"TSTemplateLiteralType":return L(Et,$e,fr);case"TSNamedTupleMember":return[$e("label"),nt.optional?"?":"",": ",$e("elementType")];case"TSRestType":return["...",$e("typeAnnotation")];case"TSOptionalType":return[$e("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Re(Et,fr,$e);case"TSClassImplements":return[$e("expression"),$e("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return se(Et,fr,$e,"params");case"TSTypeParameter":return q(Et,fr,$e);case"TSAsExpression":{Dr.push($e("expression")," as ",$e("typeAnnotation"));let Zt=Et.getParentNode();return z(Zt)&&Zt.callee===nt||le(Zt)&&Zt.object===nt?k([_([w,...Dr]),w]):Dr}case"TSArrayType":return[$e("elementType"),"[]"];case"TSPropertySignature":return nt.readonly&&Dr.push("readonly "),Dr.push(te(Et,fr,$e),ue(Et)),nt.typeAnnotation&&Dr.push(": ",$e("typeAnnotation")),nt.initializer&&Dr.push(" = ",$e("initializer")),Dr;case"TSParameterProperty":return nt.accessibility&&Dr.push(nt.accessibility+" "),nt.export&&Dr.push("export "),nt.static&&Dr.push("static "),nt.override&&Dr.push("override "),nt.readonly&&Dr.push("readonly "),Dr.push($e("parameter")),Dr;case"TSTypeQuery":return["typeof ",$e("exprName"),$e("typeParameters")];case"TSIndexSignature":{let Zt=Et.getParentNode(),tt=nt.parameters.length>1?j(O(fr)?",":""):"",ot=k([_([w,E([", ",w],Et.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(Et,fr,$e,"typeParameters")];case"TSLiteralType":return $e("literal");case"TSIndexedAccessType":return Ve(Et,fr,$e);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(nt.type==="TSConstructorType"&&nt.abstract&&Dr.push("abstract "),nt.type!=="TSCallSignatureDeclaration"&&Dr.push("new "),Dr.push(k(ye(Et,$e,fr,!1,!0))),nt.returnType||nt.typeAnnotation){let Zt=nt.type==="TSConstructorType";Dr.push(Zt?" => ":": ",$e("returnType"),$e("typeAnnotation"))}return Dr}case"TSTypeOperator":return[nt.operator," ",$e("typeAnnotation")];case"TSMappedType":{let Zt=A(fr.originalText,J(nt),ee(nt));return k(["{",_([fr.bracketSpacing?y:w,nt.readonly?[I(nt.readonly,"readonly")," "]:"",ge(Et,fr,$e),$e("typeParameter"),nt.optional?I(nt.optional,"?"):"",nt.typeAnnotation?": ":"",$e("typeAnnotation"),j(rr)]),g(Et,fr,!0),fr.bracketSpacing?y:w,"}"],{shouldBreak:Zt})}case"TSMethodSignature":{let Zt=nt.kind&&nt.kind!=="method"?"".concat(nt.kind," "):"";Dr.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(Et));let tt=ye(Et,$e,fr,!1,!0),ot=nt.returnType?"returnType":"typeAnnotation",pt=nt[ot],cr=pt?$e(ot):"",Yt=V(nt,cr);return Dr.push(Yt?k(tt):tt),pt&&Dr.push(": ",k(cr)),k(Dr)}case"TSNamespaceExportDeclaration":return Dr.push("export as namespace ",$e("id")),fr.semi&&Dr.push(";"),k(Dr);case"TSEnumDeclaration":return nt.declare&&Dr.push("declare "),nt.modifiers&&Dr.push(ge(Et,fr,$e)),nt.const&&Dr.push("const "),Dr.push("enum ",$e("id")," "),nt.members.length===0?Dr.push(k(["{",g(Et,fr),w,"}"])):Dr.push(k(["{",_([x,R(Et,fr,"members",$e),O(fr,"es5")?",":""]),g(Et,fr,!0),x,"}"])),Dr;case"TSEnumMember":return nt.computed?Dr.push("[",$e("id"),"]"):Dr.push($e("id")),nt.initializer&&Dr.push(" = ",$e("initializer")),Dr;case"TSImportEqualsDeclaration":return nt.isExport&&Dr.push("export "),Dr.push("import "),nt.importKind&&nt.importKind!=="value"&&Dr.push(nt.importKind," "),Dr.push($e("id")," = ",$e("moduleReference")),fr.semi&&Dr.push(";"),k(Dr);case"TSExternalModuleReference":return["require(",$e("expression"),")"];case"TSModuleDeclaration":{let Zt=Et.getParentNode(),tt=W(nt.id),ot=Zt.type==="TSModuleDeclaration",pt=nt.body&&nt.body.type==="TSModuleDeclaration";if(ot)Dr.push(".");else{nt.declare&&Dr.push("declare "),Dr.push(ge(Et,fr,$e));let cr=fr.originalText.slice(J(nt),J(nt.id));nt.id.type==="Identifier"&&nt.id.name==="global"&&!/namespace|module/.test(cr)||Dr.push(tt||/(?:^|\s)module(?:\s|$)/.test(cr)?"module ":"namespace ")}return Dr.push($e("id")),pt?Dr.push($e("body")):nt.body?Dr.push(" ",k($e("body"))):Dr.push(rr),Dr}case"TSConditionalType":return me(Et,fr,$e);case"TSInferType":return["infer"," ",$e("typeParameter")];case"TSIntersectionType":return We(Et,fr,$e);case"TSUnionType":return Me(Et,fr,$e);case"TSFunctionType":return gt(Et,fr,$e);case"TSTupleType":return qe(Et,fr,$e);case"TSTypeReference":return[$e("typeName"),se(Et,fr,$e,"typeParameters")];case"TSTypeAnnotation":return $e("typeAnnotation");case"TSEmptyBodyFunctionExpression":return Ce(Et,fr,$e);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Ct(Et,$e,"?");case"TSJSDocNonNullableType":return Ct(Et,$e,"!");case"TSInstantiationExpression":return[$e("expression"),$e("typeParameters")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(nt.type),"."))}}b.exports={printTypescript:St}}}),$l=Xe({"src/language-js/print/comment.js"(m,b){S();var{hasNewline:g}=Ki(),{builders:{join:A,hardline:E},utils:{replaceTextEndOfLine:y}}=Ti(),{isLineComment:x}=hs(),{locStart:w,locEnd:k}=gs(),_=ga();function $(I,O){let z=I.getValue();if(x(z))return O.originalText.slice(w(z),k(z)).trimEnd();if(_(z)){if(j(z)){let J=W(z);return z.trailing&&!g(O.originalText,w(z),{backwards:!0})?[E,J]:J}let le=k(z),fe=O.originalText.slice(le-3,le)==="*-/";return["/*",y(z.value),fe?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(z))}function j(I){let O="*".concat(I.value,"*").split(`
|
|
`);return O.length>1&&O.every(z=>z.trim()[0]==="*")}function W(I){let O=I.value.split(`
|
|
`);return["/*",A(E,O.map((z,le)=>le===0?z.trimEnd():" "+(le<O.length-1?z.trim():z.trimStart()))),"*/"]}b.exports={printComment:$}}}),wl=Xe({"src/language-js/print/literal.js"(m,b){S();var{printString:g,printNumber:A}=Ki();function E(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(_)}b.exports={printLiteral:E}}}),ku=Xe({"src/language-js/printer-estree.js"(m,b){S();var{printDanglingComments:g}=Bi(),{hasNewline:A}=Ki(),{builders:{join:E,line:y,hardline:x,softline:w,group:k,indent:_},utils:{replaceTextEndOfLine:$}}=Ti(),j=Uu(),W=jo(),{insertPragma:I}=ba(),O=uu(),z=uo(),le=cl(),{hasFlowShorthandAnnotationComment:fe,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}=Hu(),{printAngular:Ce}=El(),{printJsx:Re,hasJsxIgnoreComment:Pe}=To(),{printFlow:Ge}=hl(),{printTypescript:We}=Gu(),{printOptionalToken:Me,printBindExpressionCallee:gt,printTypeAnnotation:qe,adjustClause:Ve,printRestSpread:Ct,printDefiniteToken:St}=ca(),{printImportDeclaration:Et,printExportDeclaration:fr,printExportAllDeclaration:$e,printModuleSpecifier:nt}=pl(),{printTernary:rr}=Vu(),{printTemplateLiteral:Dr}=za(),{printArray:Zt}=qu(),{printObject:tt}=Al(),{printClass:ot,printClassMethod:pt,printClassProperty:cr}=lo(),{printProperty:Yt}=Hs(),{printFunction:ln,printArrowFunction:si,printMethod:di,printReturnStatement:gr,printThrowStatement:dr}=zo(),{printCallExpression:Sr}=Fu(),{printVariableDeclarator:It,printAssignmentExpression:Qr}=$u(),{printBinaryishExpression:ht}=Uo(),{printSwitchCaseConsequent:Wr}=ql(),{printMemberExpression:jr}=zl(),{printBlock:e,printBlockBody:r}=fl(),{printComment:o}=$l(),{printLiteral:a}=wl(),{printDecorators:s}=Wu();function h(H,Ne,Fe,Pt){let Ye=d(H,Ne,Fe,Pt);if(!Ye)return"";let or=H.getValue(),{type:$t}=or;if($t==="ClassMethod"||$t==="ClassPrivateMethod"||$t==="ClassProperty"||$t==="ClassAccessorProperty"||$t==="PropertyDefinition"||$t==="TSAbstractPropertyDefinition"||$t==="ClassPrivateProperty"||$t==="MethodDefinition"||$t==="TSAbstractMethodDefinition"||$t==="TSDeclareMethod")return Ye;let xr=[Ye],Xr=s(H,Ne,Fe),pr=or.type==="ClassExpression"&&Xr;if(Xr&&(xr=[...Xr,Ye],!pr))return k(xr);if(!z(H,Ne))return Pt&&Pt.needsSemi&&xr.unshift(";"),xr.length===1&&xr[0]===Ye?Ye:xr;if(pr&&(xr=[_([y,...xr])]),xr.unshift("("),Pt&&Pt.needsSemi&&xr.unshift(";"),fe(or)){let[kr]=or.trailingComments;xr.push(" /*",kr.value.trimStart(),"*/"),kr.printed=!0}return pr&&xr.push(y),xr.push(")"),xr}function d(H,Ne,Fe,Pt){let Ye=H.getValue(),or=Ne.semi?";":"";if(!Ye)return"";if(typeof Ye=="string")return Ye;for(let xr of[a,te,Ce,Re,Ge,We]){let Xr=xr(H,Ne,Fe);if(typeof Xr<"u")return Xr}let $t=[];switch(Ye.type){case"JsExpressionRoot":return Fe("node");case"JsonRoot":return[Fe("node"),x];case"File":return Ye.program&&Ye.program.interpreter&&$t.push(Fe(["program","interpreter"])),$t.push(Fe("program")),$t;case"Program":return r(H,Ne,Fe);case"EmptyStatement":return"";case"ExpressionStatement":{if(Ye.directive)return[F(Ye.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]===Ye)return[Fe("expression"),ne(Ye.expression)?";":""]}let xr=g(H,Ne,!0,Xr=>{let{marker:pr}=Xr;return pr===N});return[Fe("expression"),ue(Ne,H)?"":or,xr?[" ",xr]:""]}case"ParenthesizedExpression":return!J(Ye.expression)&&(Ye.expression.type==="ObjectExpression"||Ye.expression.type==="ArrayExpression")?["(",Fe("expression"),")"]:k(["(",_([w,Fe("expression")]),w,")"]);case"AssignmentExpression":return Qr(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 Ye.object&&$t.push(Fe("object")),$t.push(k(_([w,gt(H,Ne,Fe)]))),$t;case"Identifier":return[Ye.name,Me(H),St(H),qe(H,Ne,Fe)];case"V8IntrinsicIdentifier":return["%",Ye.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Ct(H,Ne,Fe);case"FunctionDeclaration":case"FunctionExpression":return ln(H,Fe,Ne,Pt);case"ArrowFunctionExpression":return si(H,Ne,Fe,Pt);case"YieldExpression":return $t.push("yield"),Ye.delegate&&$t.push("*"),Ye.argument&&$t.push(" ",Fe("argument")),$t;case"AwaitExpression":{if($t.push("await"),Ye.argument){$t.push(" ",Fe("argument"));let xr=H.getParentNode();if(R(xr)&&xr.callee===Ye||X(xr)&&xr.object===Ye){$t=[_([w,...$t]),w];let Xr=H.findAncestor(pr=>pr.type==="AwaitExpression"||pr.type==="BlockStatement");if(!Xr||Xr.type!=="AwaitExpression")return k($t)}}return $t}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return fr(H,Ne,Fe);case"ExportAllDeclaration":return $e(H,Ne,Fe);case"ImportDeclaration":return Et(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 dr(H,Ne,Fe);case"ReturnStatement":return gr(H,Ne,Fe);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Sr(H,Ne,Fe);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return tt(H,Ne,Fe);case"ObjectProperty":case"Property":return Ye.method||Ye.kind==="get"||Ye.kind==="set"?di(H,Ne,Fe):Yt(H,Ne,Fe);case"ObjectMethod":return di(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((pr,kr)=>{kr===0?Xr.push(Fe()):Xr.push(",",_([y,Fe()]))},"expressions"),k(Xr)}return k(E([",",y],H.map(Fe,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Fe("value"),or];case"DirectiveLiteral":return F(Ye,Ne);case"UnaryExpression":return $t.push(Ye.operator),/[a-z]$/.test(Ye.operator)&&$t.push(" "),J(Ye.argument)?$t.push(k(["(",_([w,Fe("argument")]),w,")"])):$t.push(Fe("argument")),$t;case"UpdateExpression":return $t.push(Fe("argument"),Ye.operator),Ye.prefix&&$t.reverse(),$t;case"ConditionalExpression":return rr(H,Ne,Fe);case"VariableDeclaration":{let xr=H.map(Fe,"declarations"),Xr=H.getParentNode(),pr=Xr.type==="ForStatement"||Xr.type==="ForInStatement"||Xr.type==="ForOfStatement",kr=Ye.declarations.some(ft=>ft.init),Zr;return xr.length===1&&!J(Ye.declarations[0])?Zr=xr[0]:xr.length>0&&(Zr=_(xr[0])),$t=[Ye.declare?"declare ":"",Ye.kind,Zr?[" ",Zr]:"",_(xr.slice(1).map(ft=>[",",kr&&!pr?x:y,ft]))],pr&&Xr.body!==Ye||$t.push(or),k($t)}case"WithStatement":return k(["with (",Fe("object"),")",Ve(Ye.body,Fe("body"))]);case"IfStatement":{let xr=Ve(Ye.consequent,Fe("consequent")),Xr=k(["if (",k([_([w,Fe("test")]),w]),")",xr]);if($t.push(Xr),Ye.alternate){let pr=J(Ye.consequent,ee.Trailing|ee.Line)||ye(Ye),kr=Ye.consequent.type==="BlockStatement"&&!pr;$t.push(kr?" ":x),J(Ye,ee.Dangling)&&$t.push(g(H,Ne,!0),pr?x:" "),$t.push("else",k(Ve(Ye.alternate,Fe("alternate"),Ye.alternate.type==="IfStatement")))}return $t}case"ForStatement":{let xr=Ve(Ye.body,Fe("body")),Xr=g(H,Ne,!0),pr=Xr?[Xr,w]:"";return!Ye.init&&!Ye.test&&!Ye.update?[pr,k(["for (;;)",xr])]:[pr,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(Ye.body,Fe("body"))]);case"ForInStatement":return k(["for (",Fe("left")," in ",Fe("right"),")",Ve(Ye.body,Fe("body"))]);case"ForOfStatement":return k(["for",Ye.await?" await":""," (",Fe("left")," of ",Fe("right"),")",Ve(Ye.body,Fe("body"))]);case"DoWhileStatement":{let xr=Ve(Ye.body,Fe("body"));return $t=[k(["do",xr])],Ye.body.type==="BlockStatement"?$t.push(" "):$t.push(x),$t.push("while (",k([_([w,Fe("test")]),w]),")",or),$t}case"DoExpression":return[Ye.async?"async ":"","do ",Fe("body")];case"BreakStatement":return $t.push("break"),Ye.label&&$t.push(" ",Fe("label")),$t.push(or),$t;case"ContinueStatement":return $t.push("continue"),Ye.label&&$t.push(" ",Fe("label")),$t.push(or),$t;case"LabeledStatement":return Ye.body.type==="EmptyStatement"?[Fe("label"),":;"]:[Fe("label"),": ",Fe("body")];case"TryStatement":return["try ",Fe("block"),Ye.handler?[" ",Fe("handler")]:"",Ye.finalizer?[" finally ",Fe("finalizer")]:""];case"CatchClause":if(Ye.param){let xr=J(Ye.param,pr=>!se(pr)||pr.leading&&A(Ne.originalText,q(pr))||pr.trailing&&A(Ne.originalText,G(pr),{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,")"])," {",Ye.cases.length>0?_([x,E(x,H.map((xr,Xr,pr)=>{let kr=xr.getValue();return[Fe(),Xr!==pr.length-1&&me(kr,Ne)?x:""]},"cases"))]):"",x,"}"];case"SwitchCase":{Ye.test?$t.push("case ",Fe("test"),":"):$t.push("default:"),J(Ye,ee.Dangling)&&$t.push(" ",g(H,Ne,!0));let xr=Ye.consequent.filter(Xr=>Xr.type!=="EmptyStatement");if(xr.length>0){let Xr=Wr(H,Ne,Fe);$t.push(xr.length===1&&xr[0].type==="BlockStatement"?[" ",Xr]:_([x,Xr]))}return $t}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 cr(H,Ne,Fe);case"TemplateElement":return $(Ye.value.raw);case"TemplateLiteral":return Dr(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 $t.push("#!",Ye.value,x),me(Ye,Ne)&&$t.push(x),$t;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{$t.push("module {");let xr=Fe("body");return xr&&$t.push(_([x,xr]),x),$t.push("}"),$t}default:throw new Error("unknown type: "+JSON.stringify(Ye.type))}}function F(H,Ne){let Fe=V(H),Pt=Fe.slice(1,-1);if(Pt.includes('"')||Pt.includes("'"))return Fe;let Ye=Ne.singleQuote?"'":'"';return Ye+Pt+Ye}function M(H){return H.type&&!se(H)&&!ge(H)&&H.type!=="EmptyStatement"&&H.type!=="TemplateElement"&&H.type!=="Import"&&H.type!=="TSEmptyBodyFunctionExpression"}b.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,b){S();var{builders:{hardline:g,indent:A,join:E}}=Ti(),y=cl();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,E([",",g],I)]),g,"]"]}case"ObjectExpression":return W.properties.length===0?"{}":["{",A([g,E([",",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,b.exports={preprocess:y,print:x,massageAstNode:k}}}),vo=Xe({"src/common/common-options.js"(m,b){S();var g="Common";b.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."}}}}),Tl=Xe({"src/language-js/options.js"(m,b){S();var g=vo(),A="JavaScript";b.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}}}),Pu=Xe({"src/language-js/parse/parsers.js"(){S()}}),co=Xe({"node_modules/linguist-languages/data/JavaScript.json"(m,b){b.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}}}),dl=Xe({"node_modules/linguist-languages/data/TypeScript.json"(m,b){b.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}}}),Wl=Xe({"node_modules/linguist-languages/data/TSX.json"(m,b){b.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Sl=Xe({"node_modules/linguist-languages/data/JSON.json"(m,b){b.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}}}),qa=Xe({"node_modules/linguist-languages/data/JSON with Comments.json"(m,b){b.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}}}),ks=Xe({"node_modules/linguist-languages/data/JSON5.json"(m,b){b.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),$a=Xe({"src/language-js/index.js"(m,b){S();var g=Ua(),A=ku(),E=So(),y=Tl(),x=Pu(),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(dl(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),g(Wl(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),g(Sl(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),g(Sl(),_=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:_.extensions.filter($=>$!==".jsonl")})),g(qa(),_=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[..._.filenames,".eslintrc",".swcrc"]})),g(ks(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],k={estree:A,"estree-json":E};b.exports={languages:w,options:y,printers:k,parsers:x}}}),Fo=Xe({"src/language-css/clean.js"(m,b){S();var{isFrontMatterNode:g}=Ki(),A=Zi(),E=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=E;function x(w){return w.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}b.exports=y}}),Wa=Xe({"src/utils/front-matter/print.js"(m,b){S();var{builders:{hardline:g,markAsRoot:A}}=Ti();function E(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])}}b.exports=E}}),Xu=Xe({"src/language-css/embed.js"(m,b){S();var{builders:{hardline:g}}=Ti(),A=Wa();function E(y,x,w){let k=y.getValue();if(k.type==="front-matter"){let _=A(k,w);return _?[_,g]:""}}b.exports=E}}),qo=Xe({"src/utils/front-matter/parse.js"(m,b){S();var g=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function A(E){let y=E.match(g);if(!y)return{content:E};let{startDelimiter:x,language:w,value:k="",endDelimiter:_}=y.groups,$=w.trim()||"yaml";if(x==="+++"&&($="toml"),$!=="yaml"&&x!==_)return{content:E};let[j]=y;return{frontMatter:{type:"front-matter",lang:$,value:k,startDelimiter:x,endDelimiter:_,raw:j.replace(/\n$/,"")},content:j.replace(/[^\n]/g," ")+E.slice(j.length)}}b.exports=A}}),Fl=Xe({"src/language-css/pragma.js"(m,b){S();var g=ba(),A=qo();function E(x){return g.hasPragma(A(x).content)}function y(x){let{frontMatter:w,content:k}=A(x);return(w?w.raw+`
|
|
|
|
`:"")+g.insertPragma(k)}b.exports={hasPragma:E,insertPragma:y}}}),Vl=Xe({"src/language-css/utils/index.js"(m,b){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],cr=-1,Yt;for(;Yt=tt.getParentNode(++cr);)if(pt.includes(Yt.type))return cr;return-1}function E(tt,ot){let pt=A(tt,ot);return pt===-1?null:tt.getParentNode(pt)}function y(tt){var ot;let pt=E(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=E(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 cr=E(tt,"value-func");return(cr==null||(pt=cr.value)===null||pt===void 0?void 0:pt.toLowerCase())===ot}function j(tt){var ot;let pt=E(tt,"css-rule"),cr=pt==null||(ot=pt.raws)===null||ot===void 0?void 0:ot.selector;return cr&&(cr.startsWith(":import")||cr.startsWith(":export"))}function W(tt,ot){let pt=Array.isArray(ot)?ot:[ot],cr=E(tt,"css-atrule");return cr&&pt.includes(cr.name.toLowerCase())}function I(tt){let ot=tt.getValue(),pt=E(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 z(tt,ot){var pt;let cr=(pt=tt.getParentNode())===null||pt===void 0?void 0:pt.nodes;return cr&&cr.indexOf(ot)===cr.length-1}function le(tt){let{selector:ot}=tt;return ot?typeof ot=="string"&&/^@.+:.*$/.test(ot)||ot.value&&/^@.+:.*$/.test(ot.value):!1}function fe(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 Ce(tt){var ot,pt,cr;return((ot=tt.value)===null||ot===void 0||(pt=ot.group)===null||pt===void 0||(cr=pt.group)===null||cr===void 0?void 0:cr.type)==="value-paren_group"&&tt.value.group.group.open!==null&&tt.value.group.group.close!==null}function Re(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 cr=tt.getParentNode(1);if(!Ge(pt)&&!(cr&&Ge(cr)))return!1;let Yt=E(tt,"css-decl");return!!(Yt!=null&&(ot=Yt.prop)!==null&&ot!==void 0&&ot.startsWith("$")||Ge(cr)||cr.type==="value-func")}function Me(tt){return tt.type==="value-comment"&&tt.inline}function gt(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 Ct(tt){return["value-word","value-atword"].includes(tt.type)}function St(tt){return(tt==null?void 0:tt.type)==="value-colon"}function Et(tt,ot){if(!Pe(ot))return!1;let{groups:pt}=ot,cr=pt.indexOf(tt);return cr===-1?!1:St(pt[cr+1])}function fr(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 Dr(tt,ot){var pt,cr;if(((pt=tt.open)===null||pt===void 0?void 0:pt.value)!=="("||((cr=tt.close)===null||cr===void 0?void 0:cr.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)===")"}b.exports={getAncestorCounter:A,getAncestorNode:E,getPropOfDeclNode:y,maybeToLowerCase:_,insideValueFunctionNode:$,insideICSSRuleNode:j,insideAtRuleNode:W,insideURLFunctionInImportAtRuleNode:I,isKeyframeAtRuleKeywords:k,isWideKeywords:w,isLastNode:z,isSCSSControlDirectiveNode:N,isDetachedRulesetDeclarationNode:le,isRelationalOperatorNode:X,isEqualityOperatorNode:R,isMultiplicationNode:ue,isDivisionNode:ge,isAdditionNode:me,isSubtractionNode:ye,isModuloNode:V,isMathOperatorNode:L,isEachKeywordNode:ee,isForKeywordNode:fe,isURLFunctionNode:O,isIfElseKeywordNode:J,hasComposesNode:ne,hasParensAroundNode:Ce,hasEmptyRawBefore:Re,isDetachedRulesetCallNode:G,isTemplatePlaceholderNode:q,isTemplatePropNode:se,isPostcssSimpleVarNode:te,isKeyValuePairNode:Pe,isKeyValuePairInParenGroupNode:Ge,isKeyInValuePairNode:Et,isSCSSMapItemNode:We,isInlineValueCommentNode:Me,isHashNode:gt,isLeftCurlyBraceNode:qe,isRightCurlyBraceNode:Ve,isWordNode:Ct,isColonNode:St,isMediaAndSupportsKeywords:fr,isColorAdjusterFuncNode:$e,lastLineHasInlineComment:nt,isAtWordPlaceholderNode:rr,isConfigurationNode:Dr,isParenGroupNode:Zt}}}),ko=Xe({"src/utils/line-column-to-index.js"(m,b){S(),b.exports=function(g,A){let E=0;for(let y=0;y<g.line-1;++y)E=A.indexOf(`
|
|
`,E)+1;return E+g.column}}}),Za=Xe({"src/language-css/loc.js"(m,b){S();var{skipEverythingButNewLine:g}=Ta(),A=Zi(),E=ko();function y(I,O){return typeof I.sourceIndex=="number"?I.sourceIndex:I.source?E(I.source.start,O)-1:null}function x(I,O){if(I.type==="css-comment"&&I.inline)return g(O,I.source.startOffset);let z=I.nodes&&A(I.nodes);return z&&I.source&&!I.source.end&&(I=z),I.source&&I.source.end?E(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 z in I){let le=I[z];z==="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,z){I.source&&(I.source.startOffset=y(I,z)+O,I.source.endOffset=x(I,z)+O);for(let le in I){let fe=I[le];le==="source"||!fe||typeof fe!="object"||k(fe,O,z)}}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",z="initial",le,fe=!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=z,z="initial"),ue===`
|
|
`||ue==="\r")return I;continue;case"double-quotes":if(ue==='"'&&I[ee-1]!=="\\"&&(O=z,z="initial"),ue===`
|
|
`||ue==="\r")return I;continue;case"url":if(ue===")"&&(O="initial"),ue===`
|
|
`||ue==="\r")return I;if(ue==="'"){O="single-quotes",z="url";continue}if(ue==='"'){O="double-quotes",z="url";continue}continue;case"comment-block":ue==="/"&&I[ee-1]==="*"&&(O="initial");continue;case"comment-inline":(ue==='"'||ue==="'"||ue==="*")&&(fe=!0),(ue===`
|
|
`||ue==="\r")&&(fe&&J.push([le,ee]),O="initial",fe=!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}b.exports={locStart:j,locEnd:W,calculateLoc:w,replaceQuotesInInlineComments:$}}}),lu=Xe({"src/language-css/utils/is-less-parser.js"(m,b){S();function g(A){return A.parser==="css"||A.parser==="less"}b.exports=g}}),ml=Xe({"src/language-css/utils/is-scss.js"(m,b){S();function g(A,E){return A==="less"||A==="scss"?A==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(E)}b.exports=g}}),po=Xe({"src/language-css/utils/css-units.evaluate.js"(m,b){b.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"}}}),gl=Xe({"src/language-css/utils/print-unit.js"(m,b){S();var g=po();function A(E){let y=E.toLowerCase();return Object.prototype.hasOwnProperty.call(g,y)?g[y]:E}b.exports=A}}),$o=Xe({"src/language-css/printer-postcss.js"(m,b){S();var g=Zi(),{printNumber:A,printString:E,hasNewline:y,isFrontMatterNode:x,isNextLineEmpty:w,isNonEmptyArray:k}=Ki(),{builders:{join:_,line:$,hardline:j,softline:W,group:I,fill:O,indent:z,dedent:le,ifBreak:fe,breakParent:J},utils:{removeLines:ee,getDocParts:ue}}=Ti(),ge=Fo(),me=Xu(),{insertPragma:ye}=Fl(),{getAncestorNode:V,getPropOfDeclNode:L,maybeToLowerCase:R,insideValueFunctionNode:X,insideICSSRuleNode:N,insideAtRuleNode:G,insideURLFunctionInImportAtRuleNode:q,isKeyframeAtRuleKeywords:se,isWideKeywords:te,isLastNode:ne,isSCSSControlDirectiveNode:Ce,isDetachedRulesetDeclarationNode:Re,isRelationalOperatorNode:Pe,isEqualityOperatorNode:Ge,isMultiplicationNode:We,isDivisionNode:Me,isAdditionNode:gt,isSubtractionNode:qe,isMathOperatorNode:Ve,isEachKeywordNode:Ct,isForKeywordNode:St,isURLFunctionNode:Et,isIfElseKeywordNode:fr,hasComposesNode:$e,hasParensAroundNode:nt,hasEmptyRawBefore:rr,isKeyValuePairNode:Dr,isKeyInValuePairNode:Zt,isDetachedRulesetCallNode:tt,isTemplatePlaceholderNode:ot,isTemplatePropNode:pt,isPostcssSimpleVarNode:cr,isSCSSMapItemNode:Yt,isInlineValueCommentNode:ln,isHashNode:si,isLeftCurlyBraceNode:di,isRightCurlyBraceNode:gr,isWordNode:dr,isColonNode:Sr,isMediaAndSupportsKeywords:It,isColorAdjusterFuncNode:Qr,lastLineHasInlineComment:ht,isAtWordPlaceholderNode:Wr,isConfigurationNode:jr,isParenGroupNode:e}=Vl(),{locStart:r,locEnd:o}=Za(),a=lu(),s=ml(),h=gl();function d(pr){return pr.trailingComma==="es5"||pr.trailingComma==="all"}function F(pr,kr,Zr){let ft=pr.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(pr,kr,Zr),Hn=ft.raws.after.trim();return[Pn,Hn?" ".concat(Hn):"",ue(Pn).length>0?j:""]}case"css-comment":{let Pn=ft.inline||ft.raws.inline,Hn=kr.originalText.slice(r(ft),o(ft));return Pn?Hn.trimEnd():Hn}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?z([j,M(pr,kr,Zr)]):"",j,"}",Re(ft)?";":""]:";"];case"css-decl":{let Pn=pr.getParentNode(),{between:Hn}=ft.raws,wi=Hn.trim(),Bs=wi===":",fs=$e(ft)?ee(Zr("value")):Zr("value");return!Bs&&ht(wi)&&(fs=z([j,le(fs)])),[ft.raws.before.replace(/[\s;]/g,""),N(pr)?ft.prop:R(ft.prop),wi.startsWith("//")?" ":"",wi,ft.extend?"":" ",a(kr)&&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?[" {",z([W,M(pr,kr,Zr)]),W,"}"]:pt(ft)&&!Pn.raws.semicolon&&kr.originalText[o(ft)-1]!==";"?"":kr.__isHTMLStyleAttribute&&ne(pr,ft)?fe(";"):";"]}case"css-atrule":{let Pn=pr.getParentNode(),Hn=ot(ft)&&!Pn.raws.semicolon&&kr.originalText[o(ft)-1]!==";";if(a(kr)){if(ft.mixin)return[Zr("selector"),ft.important?" !important":"",Hn?"":";"];if(ft.function)return[ft.name,Zr("params"),Hn?"":";"];if(ft.variable)return["@",ft.name,": ",ft.value?Zr("value"):"",ft.raws.between.trim()?ft.raws.between.trim()+" ":"",ft.nodes?["{",z([ft.nodes.length>0?W:"",M(pr,kr,Zr)]),W,"}"]:"",Hn?"":";"]}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?z([" ",Zr("selector")]):"",ft.value?I([" ",Zr("value"),Ce(ft)?nt(ft)?" ":$:""]):ft.name==="else"?" ":"",ft.nodes?[Ce(ft)?"":ft.selector&&!ft.selector.nodes&&typeof ft.selector.value=="string"&&ht(ft.selector.value)||!ft.selector&&typeof ft.params=="string"&&ht(ft.params)?$:" ","{",z([ft.nodes.length>0?W:"",M(pr,kr,Zr)]),W,"}"]:Hn?"":";"]}case"media-query-list":{let Pn=[];return pr.each(Hn=>{let wi=Hn.getValue();wi.type==="media-query"&&wi.value===""||Pn.push(Zr())},"nodes"),I(z(_($,Pn)))}case"media-query":return[_(" ",pr.map(Zr,"nodes")),ne(pr,ft)?"":","];case"media-type":return xr(or(ft.value,kr));case"media-feature-expression":return ft.nodes?["(",...pr.map(Zr,"nodes"),")"]:ft.value;case"media-feature":return R(or(ft.value.replace(/ +/g," "),kr));case"media-colon":return[ft.value," "];case"media-value":return xr(or(ft.value,kr));case"media-keyword":return or(ft.value,kr);case"media-url":return or(ft.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),kr);case"media-unknown":return ft.value;case"selector-root":return I([G(pr,"custom-selector")?[V(pr,"css-atrule").customSelector,$]:"",_([",",G(pr,["extend","custom-selector","nest"])?$:j],pr.map(Zr,"nodes"))]);case"selector-selector":return I(z(pr.map(Zr,"nodes")));case"selector-comment":return ft.value;case"selector-string":return or(ft.value,kr);case"selector-tag":{let Pn=pr.getParentNode(),Hn=Pn&&Pn.nodes.indexOf(ft),wi=Hn&&Pn.nodes[Hn-1];return[ft.namespace?[ft.namespace===!0?"":ft.namespace.trim(),"|"]:"",wi.type==="selector-nesting"?ft.value:xr(se(pr,ft.value)?ft.value.toLowerCase():ft.value)]}case"selector-id":return["#",ft.value];case"selector-class":return[".",xr(or(ft.value,kr))];case"selector-attribute":return["[",ft.namespace?[ft.namespace===!0?"":ft.namespace.trim(),"|"]:"",ft.attribute.trim(),ft.operator?ft.operator:"",ft.value?$t(or(ft.value.trim(),kr),kr):"",ft.insensitive?" i":"","]"];case"selector-combinator":{if(ft.value==="+"||ft.value===">"||ft.value==="~"||ft.value===">>>"){let wi=pr.getParentNode();return[wi.type==="selector-selector"&&wi.nodes[0]===ft?"":$,ft.value,ne(pr,ft)?"":" "]}let Pn=ft.value.trim().startsWith("(")?$:"",Hn=xr(or(ft.value.trim(),kr))||$;return[Pn,Hn]}case"selector-universal":return[ft.namespace?[ft.namespace===!0?"":ft.namespace.trim(),"|"]:"",ft.value];case"selector-pseudo":return[R(ft.value),k(ft.nodes)?["(",_(", ",pr.map(Zr,"nodes")),")"]:""];case"selector-nesting":return ft.value;case"selector-unknown":{let Pn=V(pr,"css-rule");if(Pn&&Pn.isSCSSNesterProperty)return xr(or(R(ft.value),kr));let Hn=pr.getParentNode();if(Hn.raws&&Hn.raws.selector){let Bs=r(Hn),fs=Bs+Hn.raws.selector.length;return kr.originalText.slice(Bs,fs).trim()}let wi=pr.getParentNode(1);if(Hn.type==="value-paren_group"&&wi&&wi.type==="value-func"&&wi.value==="selector"){let Bs=o(Hn.open)+1,fs=r(Hn.close),pa=kr.originalText.slice(Bs,fs).trim();return ht(pa)?[J,pa]:pa}return ft.value}case"value-value":case"value-root":return Zr("group");case"value-comment":return kr.originalText.slice(r(ft),o(ft));case"value-comma_group":{let Pn=pr.getParentNode(),Hn=pr.getParentNode(1),wi=L(pr),Bs=wi&&Pn.type==="value-value"&&(wi==="grid"||wi.startsWith("grid-template")),fs=V(pr,"css-atrule"),pa=fs&&Ce(fs),Be=ft.groups.some(bs=>ln(bs)),er=pr.map(Zr,"groups"),wn=[],Ni=X(pr,"url"),Ii=!1,ds=!1;for(let bs=0;bs<ft.groups.length;++bs){wn.push(er[bs]);let _s=ft.groups[bs-1],Hi=ft.groups[bs],Xi=ft.groups[bs+1],wa=ft.groups[bs+2];if(Ni){(Xi&>(Xi)||gt(Hi))&&wn.push(" ");continue}if(G(pr,"forward")&&Hi.type==="value-word"&&Hi.value&&_s!==void 0&&_s.type==="value-word"&&_s.value==="as"&&Xi.type==="value-operator"&&Xi.value==="*"||!Xi||Hi.type==="value-word"&&Hi.value.endsWith("-")&&Wr(Xi))continue;let Bu=Hi.type==="value-string"&&Hi.value.startsWith("#{"),Fa=Ii&&Xi.type==="value-string"&&Xi.value.endsWith("}");if(Bu||Fa){Ii=!Ii;continue}if(Ii||Sr(Hi)||Sr(Xi)||Hi.type==="value-atword"&&Hi.value===""||Hi.value==="~"||Hi.value&&Hi.value.includes("\\")&&Xi&&Xi.type!=="value-comment"||_s&&_s.value&&_s.value.indexOf("\\")===_s.value.length-1&&Hi.type==="value-operator"&&Hi.value==="/"||Hi.value==="\\"||cr(Hi,Xi)||si(Hi)||di(Hi)||gr(Xi)||di(Xi)&&rr(Xi)||gr(Hi)&&rr(Xi)||Hi.value==="--"&&si(Xi))continue;let hc=Ve(Hi),_u=Ve(Xi);if((hc&&si(Xi)||_u&&gr(Hi))&&rr(Xi)||!_s&&Me(Hi)||X(pr,"calc")&&(gt(Hi)||gt(Xi)||qe(Hi)||qe(Xi))&&rr(Xi))continue;let Nl=(gt(Hi)||qe(Hi))&&bs===0&&(Xi.type==="value-number"||Xi.isHex)&&Hn&&Qr(Hn)&&!rr(Xi),yl=wa&&wa.type==="value-func"||wa&&dr(wa)||Hi.type==="value-func"||dr(Hi),Va=Xi.type==="value-func"||dr(Xi)||_s&&_s.type==="value-func"||_s&&dr(_s);if(!(!(We(Xi)||We(Hi))&&!X(pr,"calc")&&!Nl&&(Me(Xi)&&!yl||Me(Hi)&&!Va||gt(Xi)&&!yl||gt(Hi)&&!Va||qe(Xi)||qe(Hi))&&(rr(Xi)||hc&&(!_s||_s&&Ve(_s))))){if(ln(Hi)){if(Pn.type==="value-paren_group"){wn.push(le(j));continue}wn.push(j);continue}if(pa&&(Ge(Xi)||Pe(Xi)||fr(Xi)||Ct(Hi)||St(Hi))){wn.push(" ");continue}if(fs&&fs.name.toLowerCase()==="namespace"){wn.push(" ");continue}if(Bs){Hi.source&&Xi.source&&Hi.source.start.line!==Xi.source.start.line?(wn.push(j),ds=!0):wn.push(" ");continue}if(_u){wn.push(" ");continue}if(!(Xi&&Xi.value==="...")&&!(Wr(Hi)&&Wr(Xi)&&o(Hi)===r(Xi))){if(Wr(Hi)&&e(Xi)&&o(Hi)===r(Xi.open)){wn.push(W);continue}if(Hi.value==="with"&&e(Xi)){wn.push(" ");continue}wn.push($)}}}return Be&&wn.push(J),ds&&wn.unshift(j),pa?I(z(wn)):q(pr)?I(O(wn)):I(z(O(wn)))}case"value-paren_group":{let Pn=pr.getParentNode();if(Pn&&Et(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"):"",_(",",pr.map(Zr,"groups")),ft.close?Zr("close"):""];if(!ft.open){let Ni=pr.map(Zr,"groups"),Ii=[];for(let ds=0;ds<Ni.length;ds++)ds!==0&&Ii.push([",",$]),Ii.push(Ni[ds]);return I(z(O(Ii)))}let Hn=Yt(pr),wi=g(ft.groups),Bs=wi&&wi.type==="value-comment",fs=Zt(ft,Pn),pa=jr(ft,Pn),Be=pa||Hn&&!fs,er=pa||fs,wn=I([ft.open?Zr("open"):"",z([W,_([$],pr.map((Ni,Ii)=>{let ds=Ni.getValue(),bs=Ii===ft.groups.length-1,_s=[Zr(),bs?"":","];if(Dr(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 Hi=ue(_s[0].contents.contents);return Hi[1]=I(Hi[1]),I(le(_s))}if(!bs&&ds.type==="value-comma_group"&&k(ds.groups)){let Hi=g(ds.groups);Hi.source&&w(kr.originalText,Hi,o)&&_s.push(j)}return _s},"groups"))]),fe(!Bs&&s(kr.parser,kr.originalText)&&Hn&&d(kr)?",":""),W,ft.close?Zr("close"):""],{shouldBreak:Be});return er?le(wn):wn}case"value-func":return[ft.value,G(pr,"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=pr.getParentNode(),Hn=Pn&&Pn.groups.indexOf(ft),wi=Hn&&Pn.groups[Hn-1];return[ft.value,wi&&typeof wi.value=="string"&&g(wi.value)==="\\"||X(pr,"url")?"":$]}case"value-comma":return[ft.value," "];case"value-string":return E(ft.raws.quote+ft.value+ft.raws.quote,kr);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(pr,kr,Zr){let ft=[];return pr.each((Pn,Hn,wi)=>{let Bs=wi[Hn-1];if(Bs&&Bs.type==="css-comment"&&Bs.text.trim()==="prettier-ignore"){let fs=Pn.getValue();ft.push(kr.originalText.slice(r(fs),o(fs)))}else ft.push(Zr());Hn!==wi.length-1&&(wi[Hn+1].type==="css-comment"&&!y(kr.originalText,r(wi[Hn+1]),{backwards:!0})&&!x(wi[Hn])||wi[Hn+1].type==="css-atrule"&&wi[Hn+1].name==="else"&&wi[Hn].type!=="css-comment"?ft.push(" "):(ft.push(kr.__isHTMLStyleAttribute?$:j),w(kr.originalText,Pn.getValue(),o)&&!x(wi[Hn])&&ft.push(j)))},"nodes"),ft}var H=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ne=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Fe=/[A-Za-z]+/g,Pt=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Ye=new RegExp(H.source+"|(".concat(Pt.source,")?(").concat(Ne.source,")(").concat(Fe.source,")?"),"g");function or(pr,kr){return pr.replace(H,Zr=>E(Zr,kr))}function $t(pr,kr){let Zr=kr.singleQuote?"'":'"';return pr.includes('"')||pr.includes("'")?pr:Zr+pr+Zr}function xr(pr){return pr.replace(Ye,(kr,Zr,ft,Pn,Hn)=>!ft&&Pn?Xr(Pn)+R(Hn||""):kr)}function Xr(pr){return A(pr).replace(/\.0(?=$|e)/,"")}b.exports={print:F,embed:me,insertPragma:ye,massageAstNode:ge}}}),ic=Xe({"src/language-css/options.js"(m,b){S();var g=vo();b.exports={singleQuote:g.singleQuote}}}),Po=Xe({"src/language-css/parsers.js"(){S()}}),Ju=Xe({"node_modules/linguist-languages/data/CSS.json"(m,b){b.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),cu=Xe({"node_modules/linguist-languages/data/PostCSS.json"(m,b){b.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,b){b.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,b){b.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,b){S();var g=Ua(),A=$o(),E=ic(),y=Po(),x=[g(Ju(),k=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...k.extensions,".wxss"]})),g(cu(),()=>({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};b.exports={languages:x,options:E,printers:w,parsers:y}}}),K=Xe({"src/language-handlebars/loc.js"(m,b){S();function g(E){return E.loc.start.offset}function A(E){return E.loc.end.offset}b.exports={locStart:g,locEnd:A}}}),oe=Xe({"src/language-handlebars/clean.js"(m,b){S();function g(A,E){if(A.type==="TextNode"){let y=A.chars.trim();if(!y)return null;E.chars=y.replace(/[\t\n\f\r ]+/g," ")}A.type==="AttrNode"&&A.name.toLowerCase()==="class"&&delete E.value}g.ignoredProperties=new Set(["loc","selfClosing"]),b.exports=g}}),Ae=Xe({"vendors/html-void-elements.json"(m,b){b.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,b){S();var{htmlVoidElements:g}=Ae(),A=Zi();function E(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=z(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 z(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 fe(ee){return $(ee,["MustacheCommentStatement"])&&typeof ee.value=="string"&&ee.value.trim()==="prettier-ignore"}function J(ee){let ue=ee.getValue(),ge=z(ee,2);return fe(ue)||fe(ge)}b.exports={getNextNode:le,getPreviousNode:z,hasPrettierIgnore:J,isLastNodeOfSiblings:E,isNextNodeOfSomeType:I,isNodeOfSomeType:$,isParentOfSomeType:j,isPreviousNodeOfSomeType:W,isVoid:k,isWhitespaceNode:_}}}),De=Xe({"src/language-handlebars/printer-glimmer.js"(m,b){S();var{builders:{dedent:g,fill:A,group:E,hardline:y,ifBreak:x,indent:w,join:k,line:_,softline:$},utils:{getDocParts:j,replaceTextEndOfLine:W}}=Ti(),{getPreferredQuote:I,isNonEmptyArray:O}=Ki(),{locStart:z,locEnd:le}=K(),fe=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(z(e),le(e));let r=Wr.singleQuote?"'":'"';switch(e.type){case"Block":case"Program":case"Template":return E(ht.map(jr,"body"));case"ElementNode":{let o=E(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(E(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"?[St(ht,jr),rr(ht,jr,Wr),Dr(ht,jr,Wr)]:[Ve(ht,jr),E([rr(ht,jr,Wr),Dr(ht,jr,Wr),Et(ht,jr,Wr)])]}case"ElementModifierStatement":return E(["{{",dr(ht,jr),"}}"]);case"MustacheStatement":return E([Ce(e),dr(ht,jr),Re(e)]);case"SubExpression":return E(["(",gr(ht,jr),$,")"]);case"AttrNode":{let o=e.value.type==="TextNode";if(o&&e.value.chars===""&&z(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?E(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 Pt=o.trim().split(/\s+/).join(" "),Ye=!1,or=!1;return V(ht,["ConcatStatement"])&&(L(ht,["MustacheStatement"])&&/^\s/.test(o)&&(Ye=!0),me(ht,["MustacheStatement"])&&/\s$/.test(o)&&Pt!==""&&(or=!0)),[Ye?_:"",Pt,or?_:""]}return W(o)}let s=/^[\t\n\f\r ]*$/.test(o),h=!ee(ht),d=!J(ht);if(Wr.htmlWhitespaceSensitivity!=="ignore"){let Pt=/^[\t\n\f\r ]*/,Ye=/[\t\n\f\r ]*$/,or=d&&V(ht,["Template"]),$t=h&&V(ht,["Template"]);if(s){if($t||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(Pt),[Xr]=o.match(Ye),pr=[];if(xr){pr=[_];let Zr=pt(xr);Zr&&(pr=ln(Zr)),o=o.replace(Pt,"")}let kr=[];if(Xr){if(!or){kr=[_];let Zr=pt(Xr);Zr&&(kr=ln(Zr)),ge(ht)&&(kr=kr.map(ft=>g(ft)))}o=o.replace(Ye,"")}return[...pr,A(Zt(o)),...kr]}let F=pt(o),M=cr(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=z(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(di(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 z(ht)-z(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(_,Qr(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 Ce(ht){let Wr=ht.escaped===!1?"{{{":"{{",jr=ht.strip&&ht.strip.open?"~":"";return[Wr,jr]}function Re(ht){let Wr=ht.escaped===!1?"}}}":"}}";return[ht.strip&&ht.strip.close?"~":"",Wr]}function Pe(ht){let Wr=Ce(ht),jr=ht.openStrip.open?"~":"";return[Wr,jr,"#"]}function Ge(ht){let Wr=Re(ht);return[ht.openStrip.close?"~":"",Wr]}function We(ht){let Wr=Ce(ht),jr=ht.closeStrip.open?"~":"";return[Wr,jr,"/"]}function Me(ht){let Wr=Re(ht);return[ht.closeStrip.close?"~":"",Wr]}function gt(ht){let Wr=Ce(ht),jr=ht.inverseStrip.open?"~":"";return[Wr,jr]}function qe(ht){let Wr=Re(ht);return[ht.inverseStrip.close?"~":"",Wr]}function Ve(ht,Wr){let jr=ht.getValue(),e=Pe(jr),r=Ge(jr),o=[Sr(ht,Wr)],a=It(ht,Wr);if(a&&o.push(_,a),O(jr.program.blockParams)){let s=Qr(jr.program);o.push(_,s)}return E([e,w(o),$,r])}function Ct(ht,Wr){return[Wr.htmlWhitespaceSensitivity==="ignore"?y:"",gt(ht),"else",qe(ht)]}function St(ht,Wr){let jr=ht.getParentNode(1);return[gt(jr),"else if ",It(ht,Wr),qe(jr)]}function Et(ht,Wr,jr){let e=ht.getValue();return jr.htmlWhitespaceSensitivity==="ignore"?[fr(e)?$:y,We(e),Wr("path"),Me(e)]:[We(e),Wr("path"),Me(e)]}function fr(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(fr(e))return"";let r=Wr("program");return jr.htmlWhitespaceSensitivity==="ignore"?w([y,r]):w(r)}function Dr(ht,Wr,jr){let e=ht.getValue(),r=Wr("inverse"),o=jr.htmlWhitespaceSensitivity==="ignore"?[y,r]:r;return $e(e)?o:nt(e)?[Ct(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(`
|
|
`).length-1}function cr(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 di(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 gr(ht,Wr){let jr=Sr(ht,Wr),e=It(ht,Wr);return e?w([jr,_,E(e)]):jr}function dr(ht,Wr){let jr=Sr(ht,Wr),e=It(ht,Wr);return e?[w([jr,_,e]),$]:jr}function Sr(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 Qr(ht){return["as |",ht.blockParams.join(" "),"|"]}b.exports={print:G,massageAstNode:fe}}}),ve=Xe({"src/language-handlebars/parsers.js"(){S()}}),Se=Xe({"node_modules/linguist-languages/data/Handlebars.json"(m,b){b.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,b){S();var g=Ua(),A=De(),E=ve(),y=[g(Se(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],x={glimmer:A};b.exports={languages:y,printers:x,parsers:E}}}),C=Xe({"src/language-graphql/pragma.js"(m,b){S();function g(E){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(E)}function A(E){return`# @format
|
|
|
|
`+E}b.exports={hasPragma:g,insertPragma:A}}}),re=Xe({"src/language-graphql/loc.js"(m,b){S();function g(E){return typeof E.start=="number"?E.start:E.loc&&E.loc.start}function A(E){return typeof E.end=="number"?E.end:E.loc&&E.loc.end}b.exports={locStart:g,locEnd:A}}}),Q=Xe({"src/language-graphql/printer-graphql.js"(m,b){S();var{builders:{join:g,hardline:A,line:E,softline:y,group:x,indent:w,ifBreak:k}}=Ti(),{isNextLineEmpty:_,isNonEmptyArray:$}=Ki(),{insertPragma:j}=C(),{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,")"]):"",z(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"),z(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,")"]):"",z(me,V,L),L.selectionSet?" ":"",V("selectionSet")]);case"Name":return L.value;case"StringValue":{if(L.block){let R=L.value.replace(/"""/g,"\\$&").split(`
|
|
`);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")]:"",z(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)]:"",z(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"),z(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"),z(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"),z(me,V,L)];case"InputValueDefinition":return[V("description"),L.description?L.description.block?A:E:"",V("name"),": ",V("type"),L.defaultValue?[" = ",V("defaultValue")]:"",z(me,V,L)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[V("description"),L.description?A:"",L.kind==="InputObjectTypeExtension"?"extend ":"","input ",V("name"),z(me,V,L),L.fields.length>0?[" {",w([A,g(A,le(me,ye,V,"fields"))]),A,"}"]:""];case"SchemaExtension":return["extend schema",z(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",z(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)]:"",z(me,V,L),L.fields.length>0?[" {",w([A,g(A,le(me,ye,V,"fields"))]),A,"}"]:""];case"FragmentSpread":return["...",V("name"),z(me,V,L)];case"InlineFragment":return["...",L.typeCondition?[" on ",V("typeCondition")]:"",z(me,V,L)," ",V("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return x([V("description"),L.description?A:"",x([L.kind==="UnionTypeExtension"?"extend ":"","union ",V("name"),z(me,V,L),L.types.length>0?[" =",k(""," "),w([k([E," "]),g([E,"| "],me.map(V,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[V("description"),L.description?A:"",L.kind==="ScalarTypeExtension"?"extend ":"","scalar ",V("name"),z(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 z(me,ye,V){if(V.directives.length===0)return"";let L=g(E,me.map(ye,"directives"));return V.kind==="FragmentDefinition"||V.kind==="OperationDefinition"?x([E,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 fe(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("#"),Ce=te.replace(/#.*/g,"").trim();R.push(Ce===","?",":" &",ne?E:" ")}}return R}function ue(me,ye){me.kind==="StringValue"&&me.block&&!me.value.includes(`
|
|
`)&&(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")}b.exports={print:O,massageAstNode:ue,hasPrettierIgnore:ge,insertPragma:j,printComment:J,canAttachComment:fe}}}),Oe=Xe({"src/language-graphql/options.js"(m,b){S();var g=vo();b.exports={bracketSpacing:g.bracketSpacing}}}),ke=Xe({"src/language-graphql/parsers.js"(){S()}}),Qe=Xe({"node_modules/linguist-languages/data/GraphQL.json"(m,b){b.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),ze=Xe({"src/language-graphql/index.js"(m,b){S();var g=Ua(),A=Q(),E=Oe(),y=ke(),x=[g(Qe(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],w={graphql:A};b.exports={languages:x,options:E,printers:w,parsers:y}}}),_e=Xe({"src/language-markdown/loc.js"(m,b){S();function g(E){return E.position.start.offset}function A(E){return E.position.end.offset}b.exports={locStart:g,locEnd:A}}}),bt=Xe({"src/language-markdown/constants.evaluate.js"(m,b){b.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]"}}}),kt=Xe({"src/language-markdown/utils.js"(m,b){S();var{getLast:g}=Ki(),{locStart:A,locEnd:E}=_e(),{cjkPattern:y,kPattern:x,punctuationPattern:w}=bt(),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,`)
|
|
(`).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)?`
|
|
`:" "});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 z(J,ee){let{value:ue}=J;return J.position.end.offset===ee.length&&ue.endsWith(`
|
|
`)&&ee.endsWith(`
|
|
`)?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 fe(J){if((J==null?void 0:J.type)!=="link"||J.children.length!==1)return!1;let[ee]=J.children;return A(J)===A(ee)&&E(J)===E(ee)}b.exports={mapAst:le,splitText:W,punctuationPattern:w,getFencedCodeBlockValue:z,getOrderedListItemInfo:I,hasGitDiffFriendlyOrderedList:O,INLINE_NODE_TYPES:k,INLINE_NODE_WRAPPER_TYPES:_,isAutolink:fe}}}),qt=Xe({"src/language-markdown/embed.js"(m,b){S();var{inferParserByLanguage:g,getMaxContinuousCount:A}=Ki(),{builders:{hardline:E,markAsRoot:y},utils:{replaceEndOfLine:x}}=Ti(),w=Wa(),{getFencedCodeBlockValue:k}=kt();function _($,j,W,I){let O=$.getValue();if(O.type==="code"&&O.lang!==null){let z=g(O.lang,I);if(z){let le=I.__inJsTemplate?"~":"`",fe=le.repeat(Math.max(3,A(O.value,le)+1)),J={parser:z};O.lang==="tsx"&&(J.filepath="dummy.tsx");let ee=W(k(O,I.originalText),J,{stripTrailingHardline:!0});return y([fe,O.lang,O.meta?" "+O.meta:"",E,x(ee),E,fe])}}switch(O.type){case"front-matter":return w(O,W);case"importExport":return[W(O.value,{parser:"babel"},{stripTrailingHardline:!0}),E];case"jsx":return W("<$>".concat(O.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}b.exports=_}}),un=Xe({"src/language-markdown/pragma.js"(m,b){S();var g=qo(),A=["format","prettier"];function E(y){let x="@(".concat(A.join("|"),")"),w=new RegExp(["<!--\\s*".concat(x,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(x,"\\s*\\*\\/\\s*}"),`<!--.*\r?
|
|
[\\s\\S]*(^|
|
|
)[^\\S
|
|
]*`.concat(x,`[^\\S
|
|
]*($|
|
|
)[\\s\\S]*
|
|
.*-->`)].join("|"),"m"),k=y.match(w);return(k==null?void 0:k.index)===0}b.exports={startWithPragma:E,hasPragma:y=>E(g(y).content.trimStart()),insertPragma:y=>{let x=g(y),w="<!-- @".concat(A[0]," -->");return x.frontMatter?"".concat(x.frontMatter.raw,`
|
|
|
|
`).concat(w,`
|
|
|
|
`).concat(x.content):"".concat(w,`
|
|
|
|
`).concat(x.content)}}}}),Ln=Xe({"src/language-markdown/print-preprocess.js"(m,b){S();var g=Zi(),{getOrderedListItemInfo:A,mapAst:E,splitText:y}=kt(),x=/^.$/su;function w(fe,J){return fe=$(fe,J),fe=I(fe),fe=_(fe),fe=z(fe,J),fe=le(fe,J),fe=O(fe,J),fe=k(fe),fe=j(fe),fe}function k(fe){return E(fe,J=>J.type!=="import"&&J.type!=="export"?J:Object.assign(Object.assign({},J),{},{type:"importExport"}))}function _(fe){return E(fe,J=>J.type!=="inlineCode"?J:Object.assign(Object.assign({},J),{},{value:J.value.replace(/\s+/g," ")}))}function $(fe,J){return E(fe,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(fe){return W(fe,(J,ee)=>J.type==="importExport"&&ee.type==="importExport",(J,ee)=>({type:"importExport",value:J.value+`
|
|
|
|
`+ee.value,position:{start:J.position.start,end:ee.position.end}}))}function W(fe,J,ee){return E(fe,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(fe){return W(fe,(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(fe,J){return E(fe,(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 z(fe,J){return E(fe,(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(fe,J){return E(fe,(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}}b.exports=w}}),zn=Xe({"src/language-markdown/clean.js"(m,b){S();var{isFrontMatterNode:g}=Ki(),{startWithPragma:A}=un(),E=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=E,b.exports=y}}),bi=Xe({"src/language-markdown/printer-markdown.js"(m,b){S();var{getLast:g,getMinNotPresentContinuousCount:A,getMaxContinuousCount:E,getStringWidth:y,isNonEmptyArray:x}=Ki(),{builders:{breakParent:w,join:k,line:_,literalline:$,markAsRoot:j,hardline:W,softline:I,ifBreak:O,fill:z,align:le,indent:fe,group:J,hardlineWithoutBreakParent:ee},utils:{normalizeDoc:ue,replaceTextEndOfLine:ge},printer:{printDocToString:me}}=Ti(),ye=qt(),{insertPragma:V}=un(),{locStart:L,locEnd:R}=_e(),X=Ln(),N=zn(),{getFencedCodeBlockValue:G,hasGitDiffFriendlyOrderedList:q,splitText:se,punctuationPattern:te,INLINE_NODE_TYPES:ne,INLINE_NODE_WRAPPER_TYPES:Ce,isAutolink:Re}=kt(),Pe=new Set(["importExport"]),Ge=["heading","tableCell","link","wikiLink"],We=new Set(["listItem","definition","footnoteDefinition"]);function Me(gr,dr,Sr){let It=gr.getValue();if(cr(gr))return se(dr.originalText.slice(It.position.start.offset,It.position.end.offset),dr).map(Qr=>Qr.type==="word"?Qr.value:Qr.value===""?"":fr(gr,Qr.value,dr));switch(It.type){case"front-matter":return dr.originalText.slice(It.position.start.offset,It.position.end.offset);case"root":return It.children.length===0?"":[ue(nt(gr,dr,Sr)),Pe.has(Dr(It).type)?"":W];case"paragraph":return rr(gr,dr,Sr,{postprocessor:z});case"sentence":return rr(gr,dr,Sr);case"word":{let Qr=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)=>Re(jr.children[r-1]);return Qr!==It.value&&(gr.match(void 0,ht,Wr)||gr.match(void 0,ht,(jr,e,r)=>jr.type==="emphasis"&&r===0,Wr))&&(Qr=Qr.replace(/^(\\?[*_])+/,jr=>jr.replace(/\\/g,""))),Qr}case"whitespace":{let Qr=gr.getParentNode(),ht=Qr.children.indexOf(It),Wr=Qr.children[ht+1],jr=Wr&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(Wr.value)?"never":dr.proseWrap;return fr(gr,It.value,{proseWrap:jr})}case"emphasis":{let Qr;if(Re(It.children[0]))Qr=dr.originalText[It.position.start.offset];else{let ht=gr.getParentNode(),Wr=ht.children.indexOf(It),jr=ht.children[Wr-1],e=ht.children[Wr+1];Qr=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||Et(gr,"emphasis")?"*":"_"}return[Qr,rr(gr,dr,Sr),Qr]}case"strong":return["**",rr(gr,dr,Sr),"**"];case"delete":return["~~",rr(gr,dr,Sr),"~~"];case"inlineCode":{let Qr=A(It.value,"`"),ht="`".repeat(Qr||1),Wr=Qr&&!/^\s/.test(It.value)?" ":"";return[ht,Wr,It.value,Wr,ht]}case"wikiLink":{let Qr="";return dr.proseWrap==="preserve"?Qr=It.value:Qr=It.value.replace(/[\t\n]+/g," "),["[[",Qr,"]]"]}case"link":switch(dr.originalText[It.position.start.offset]){case"<":{let Qr="mailto:",ht=It.url.startsWith(Qr)&&dr.originalText.slice(It.position.start.offset+1,It.position.start.offset+1+Qr.length)!==Qr?It.url.slice(Qr.length):It.url;return["<",ht,">"]}case"[":return["[",rr(gr,dr,Sr),"](",Yt(It.url,")"),ln(It.title,dr),")"];default:return dr.originalText.slice(It.position.start.offset,It.position.end.offset)}case"image":return[""),ln(It.title,dr),")"];case"blockquote":return["> ",le("> ",rr(gr,dr,Sr))];case"heading":return["#".repeat(It.depth)+" ",rr(gr,dr,Sr)];case"code":{if(It.isIndented){let Wr=" ".repeat(4);return le(Wr,[Wr,...ge(It.value,W)])}let Qr=dr.__inJsTemplate?"~":"`",ht=Qr.repeat(Math.max(3,E(It.value,Qr)+1));return[ht,It.lang||"",It.meta?" "+It.meta:"",W,...ge(G(It,dr.originalText),W),W,ht]}case"html":{let Qr=gr.getParentNode(),ht=Qr.type==="root"&&g(Qr.children)===It?It.value.trimEnd():It.value,Wr=/^<!--.*-->$/s.test(ht);return ge(ht,Wr?W:j($))}case"list":{let Qr=Ve(It,gr.getParentNode()),ht=q(It,dr);return rr(gr,dr,Sr,{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,gt(Wr,dr,Sr,e)];return[e,le(" ".repeat(e.length),gt(Wr,dr,Sr,e))];function o(){let a=It.ordered?(jr===0?It.start:ht?1:It.start+jr)+(Qr%2===0?". ":") "):Qr%2===0?"- ":"* ";return It.isAligned||It.hasIndentedCodeblock?qe(a,dr):a}}})}case"thematicBreak":{let Qr=St(gr,"list");return Qr===-1?"---":Ve(gr.getParentNode(Qr),gr.getParentNode(Qr+1))%2===0?"***":"---"}case"linkReference":return["[",rr(gr,dr,Sr),"]",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 Qr=dr.proseWrap==="always"?_:" ";return J(["[",It.identifier,"]:",fe([Qr,Yt(It.url),It.title===null?"":[Qr,ln(It.title,dr,!1)]])])}case"footnote":return["[^",rr(gr,dr,Sr),"]"];case"footnoteReference":return["[^",It.identifier,"]"];case"footnoteDefinition":{let Qr=gr.getParentNode().children[gr.getName()+1],ht=It.children.length===1&&It.children[0].type==="paragraph"&&(dr.proseWrap==="never"||dr.proseWrap==="preserve"&&It.children[0].position.start.line===It.children[0].position.end.line);return["[^",It.identifier,"]: ",ht?rr(gr,dr,Sr):J([le(" ".repeat(4),rr(gr,dr,Sr,{processor:(Wr,jr)=>jr===0?J([I,Sr()]):Sr()})),Qr&&Qr.type==="footnoteDefinition"?I:""])]}case"table":return $e(gr,dr,Sr);case"tableCell":return rr(gr,dr,Sr);case"break":return/\s/.test(dr.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 dr.originalText.slice(L(It),R(It));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(It.type)))}}function gt(gr,dr,Sr,It){let Qr=gr.getValue(),ht=Qr.checked===null?"":Qr.checked?"[x] ":"[ ] ";return[ht,rr(gr,dr,Sr,{processor:(Wr,jr)=>{if(jr===0&&Wr.getValue().type!=="list")return le(" ".repeat(ht.length),Sr());let e=" ".repeat(si(dr.tabWidth-It.length,0,3));return[e,le(e,Sr())]}})]}function qe(gr,dr){let Sr=It();return gr+" ".repeat(Sr>=4?0:Sr);function It(){let Qr=gr.length%dr.tabWidth;return Qr===0?0:dr.tabWidth-Qr}}function Ve(gr,dr){return Ct(gr,dr,Sr=>Sr.ordered===gr.ordered)}function Ct(gr,dr,Sr){let It=-1;for(let Qr of dr.children)if(Qr.type===gr.type&&Sr(Qr)?It++:It=-1,Qr===gr)return It}function St(gr,dr){let Sr=Array.isArray(dr)?dr:[dr],It=-1,Qr;for(;Qr=gr.getParentNode(++It);)if(Sr.includes(Qr.type))return It;return-1}function Et(gr,dr){let Sr=St(gr,dr);return Sr===-1?null:gr.getParentNode(Sr)}function fr(gr,dr,Sr){if(Sr.proseWrap==="preserve"&&dr===`
|
|
`)return W;let It=Sr.proseWrap==="always"&&!Et(gr,Ge);return dr!==""?It?_:" ":It?I:""}function $e(gr,dr,Sr){let It=gr.getValue(),Qr=[],ht=gr.map(a=>a.map((s,h)=>{let d=me(Sr(),dr).formatted,F=y(d);return Qr[h]=Math.max(Qr[h]||3,F),{text:d,width:F}},"children"),"children"),Wr=e(!1);if(dr.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=Qr.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=Qr[F]-H,Fe=It.align[F],Pt=0;Fe==="right"?Pt=Ne:Fe==="center"&&(Pt=Math.floor(Ne/2));let Ye=Ne-Pt;return"".concat(" ".repeat(Pt)).concat(M).concat(" ".repeat(Ye))});return"| ".concat(h.join(" | ")," |")}}function nt(gr,dr,Sr){let It=[],Qr=null,{children:ht}=gr.getValue();for(let[Wr,jr]of ht.entries())switch(Zt(jr)){case"start":Qr===null&&(Qr={index:Wr,offset:jr.position.end.offset});break;case"end":Qr!==null&&(It.push({start:Qr,end:{index:Wr,offset:jr.position.start.offset}}),Qr=null);break}return rr(gr,dr,Sr,{processor:(Wr,jr)=>{if(It.length>0){let e=It[0];if(jr===e.start.index)return[ht[e.start.index].value,dr.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 Sr()}})}function rr(gr,dr,Sr){let It=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Qr}=It,ht=It.processor||(()=>Sr()),Wr=gr.getValue(),jr=[],e;return gr.each((r,o)=>{let a=r.getValue(),s=ht(r,o);if(s!==!1){let h={parts:jr,prevNode:e,parentNode:Wr,options:dr};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"),Qr?Qr(jr):jr}function Dr(gr){let dr=gr;for(;x(dr.children);)dr=g(dr.children);return dr}function Zt(gr){let dr;if(gr.type==="html")dr=gr.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let Sr;gr.type==="esComment"?Sr=gr:gr.type==="paragraph"&&gr.children.length===1&&gr.children[0].type==="esComment"&&(Sr=gr.children[0]),Sr&&(dr=Sr.value.match(/^prettier-ignore(?:-(start|end))?$/))}return dr?dr[1]||"next":!1}function tt(gr,dr){let Sr=dr.parts.length===0,It=ne.includes(gr.type),Qr=gr.type==="html"&&Ce.includes(dr.parentNode.type);return!Sr&&!It&&!Qr}function ot(gr,dr){var Sr,It,Qr;let ht=(dr.prevNode&&dr.prevNode.type)===gr.type&&We.has(gr.type),Wr=dr.parentNode.type==="listItem"&&!dr.parentNode.loose,jr=((Sr=dr.prevNode)===null||Sr===void 0?void 0:Sr.type)==="listItem"&&dr.prevNode.loose,e=Zt(dr.prevNode)==="next",r=gr.type==="html"&&((It=dr.prevNode)===null||It===void 0?void 0:It.type)==="html"&&dr.prevNode.position.end.line+1===gr.position.start.line,o=gr.type==="html"&&dr.parentNode.type==="listItem"&&((Qr=dr.prevNode)===null||Qr===void 0?void 0:Qr.type)==="paragraph"&&dr.prevNode.position.end.line+1===gr.position.start.line;return jr||!(ht||Wr||e||r||o)}function pt(gr,dr){let Sr=dr.prevNode&&dr.prevNode.type==="list",It=gr.type==="code"&&gr.isIndented;return Sr&&It}function cr(gr){let dr=Et(gr,["linkReference","imageReference"]);return dr&&(dr.type!=="linkReference"||dr.referenceType!=="full")}function Yt(gr){let dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Sr=[" ",...Array.isArray(dr)?dr:[dr]];return new RegExp(Sr.map(It=>"\\".concat(It)).join("|")).test(gr)?"<".concat(gr,">"):gr}function ln(gr,dr){let Sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!gr)return"";if(Sr)return" "+ln(gr,dr,!1);if(gr=gr.replace(/\\(["')])/g,"$1"),gr.includes('"')&&gr.includes("'")&&!gr.includes(")"))return"(".concat(gr,")");let It=gr.split("'").length-1,Qr=gr.split('"').length-1,ht=It>Qr?'"':Qr>It||dr.singleQuote?"'":'"';return gr=gr.replace(/\\/,"\\\\"),gr=gr.replace(new RegExp("(".concat(ht,")"),"g"),"\\$1"),"".concat(ht).concat(gr).concat(ht)}function si(gr,dr,Sr){return gr<dr?dr:gr>Sr?Sr:gr}function di(gr){let dr=Number(gr.getName());if(dr===0)return!1;let Sr=gr.getParentNode().children[dr-1];return Zt(Sr)==="next"}b.exports={preprocess:X,print:Me,embed:ye,massageAstNode:N,hasPrettierIgnore:di,insertPragma:V}}}),en=Xe({"src/language-markdown/options.js"(m,b){S();var g=vo();b.exports={proseWrap:g.proseWrap,singleQuote:g.singleQuote}}}),_i=Xe({"src/language-markdown/parsers.js"(){S()}}),mi=Xe({"node_modules/linguist-languages/data/Markdown.json"(m,b){b.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}}}),Ai=Xe({"src/language-markdown/index.js"(m,b){S();var g=Ua(),A=bi(),E=en(),y=_i(),x=[g(mi(),k=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...k.filenames,"README"],extensions:k.extensions.filter(_=>_!==".mdx")})),g(mi(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],w={mdast:A};b.exports={languages:x,options:E,printers:w,parsers:y}}}),Dn=Xe({"src/language-html/clean.js"(m,b){S();var{isFrontMatterNode:g}=Ki(),A=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function E(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}E.ignoredProperties=A,b.exports=E}}),Gr=Xe({"src/language-html/constants.evaluate.js"(m,b){b.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"}}}),xn=Xe({"src/language-html/utils/is-unknown-namespace.js"(m,b){S();function g(A){return A.type==="element"&&!A.hasExplicitNamespace&&!["html","svg"].includes(A.namespace)}b.exports=g}}),Lr=Xe({"src/language-html/utils/index.js"(m,b){S();var{inferParserByLanguage:g,isFrontMatterNode:A}=Ki(),{builders:{line:E,hardline:y,join:x},utils:{getDocParts:w,replaceTextEndOfLine:k}}=Ti(),{CSS_DISPLAY_TAGS:_,CSS_DISPLAY_DEFAULT:$,CSS_WHITE_SPACE_TAGS:j,CSS_WHITE_SPACE_DEFAULT:W}=Gr(),I=xn(),O=new Set([" ",`
|
|
`,"\f","\r"," "]),z=s=>s.replace(/^[\t\n\f\r ]+/,""),le=s=>s.replace(/[\t\n\f\r ]+$/,""),fe=s=>z(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||cr(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 di(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:cr(s.parent)?!0:!(!s.prev&&(s.parent.type==="root"||cr(s)&&s.parent||N(s.parent)||ht(s.parent,h)||!Dr(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:cr(s.parent)?!0:!(!s.next&&(s.parent.type==="root"||cr(s)&&s.parent||N(s.parent)||ht(s.parent,h)||!Zt(s.parent.cssDisplay))||s.next&&!tt(s.next.cssDisplay))}function Ce(s){return pt(s.cssDisplay)&&!N(s)}function Re(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=>Et(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 Ct(s)||s.prev&&Me(s.prev)||gt(s)}function Me(s){return Ct(s)||s.type==="element"&&s.fullName==="br"||gt(s)}function gt(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 Ct(s){switch(s.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(s.name)}return!1}function St(s){return s.lastChild?St(s.lastChild):s}function Et(s){return s.children&&s.children.some(h=>h.type!=="text")}function fr(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":fr(s);if(s.name==="style")return $e(s,h);if(h&&jr(s,h))return fr(s)||!("src"in s.attrMap)&&g(s.attrMap.lang,h)}function rr(s){return s==="block"||s==="list-item"||s.startsWith("table")}function Dr(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 cr(s){return di(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 di(s){return s.type==="element"&&(!s.namespace||I(s))&&j[s.name]||W}function gr(s){let h=Number.POSITIVE_INFINITY;for(let d of s.split(`
|
|
`)){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 dr(s){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gr(s);return h===0?s:s.split(`
|
|
`).map(d=>d.slice(h)).join(`
|
|
`)}function Sr(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 Qr=new Set(["template","style","script"]);function ht(s,h){return Wr(s,h)&&!Qr.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(dr(ee(h)),y):w(x(E,ue(h)))}function a(s,h){return Wr(s,h)&&s.name==="script"}b.exports={htmlTrim:fe,htmlTrimPreserveIndentation:ee,hasHtmlWhitespace:ye,getLeadingAndTrailingHtmlWhitespace:me,canHaveInterpolation:G,countChars:Sr,countParents:Yt,dedentString:dr,forceBreakChildren:Ge,forceBreakContent:Pe,forceNextEmptyLine:Re,getLastDescendant:St,getNodeCssStyleDisplay:si,getNodeCssStyleWhiteSpace:di,hasPrettierIgnore:L,inferScriptParser:nt,isVueCustomBlock:ht,isVueNonHtmlBlock:jr,isVueScriptTag:a,isVueSlotAttribute:e,isVueSfcBindingsAttribute:r,isVueSfcBlock:Wr,isDanglingSpaceSensitiveNode:Ce,isIndentationSensitiveNode:se,isLeadingSpaceSensitiveNode:te,isPreLikeNode:cr,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 b(w){return w>=m.$TAB&&w<=m.$SPACE||w==m.$NBSP}m.isWhitespace=b;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 E(w){return w>=m.$a&&w<=m.$f||w>=m.$A&&w<=m.$F||g(w)}m.isAsciiHexDigit=E;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}}),Es=Xe({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=class{constructor(A,E,y){this.filePath=A,this.name=E,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=b;var g=class{constructor(){this.cache=new Map}get(A,E,y){y=y||[];let x=y.length?".".concat(y.join(".")):"",w='"'.concat(A,'".').concat(E).concat(x),k=this.cache.get(w);return k||(k=new b(A,E,y),this.cache.set(w,k)),k}};m.StaticSymbolCache=g}}),es=Xe({"node_modules/angular-html-parser/lib/compiler/src/util.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=/-+([a-z0-9])/g;function g(N){return N.replace(b,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 E(N,G){return y(N,".",G)}m.splitAtPeriod=E;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 z(N){return N[I]||[]}m.getParseErrors=z;function le(N){return N.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}m.escapeRegExp=le;var fe=Object.getPrototypeOf({});function J(N){return typeof N=="object"&&N!==null&&Object.getPrototypeOf(N)===fe}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(`
|
|
`);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 b=Es(),g=es(),A=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function E(q){return q.replace(/\W/g,"_")}m.sanitizeIdentifier=E;var y=0;function x(q){if(!q||!q.reference)return null;let se=q.reference;if(se instanceof b.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=E(te),te}m.identifierName=x;function w(q){let se=q.reference;return se instanceof b.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?E(q.value):x(q.identifier)}m.tokenName=I;function O(q){return q.identifier!=null?q.identifier.reference:q.value}m.tokenReference=O;var z=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=z;var le=class{constructor(q){let{encapsulation:se,template:te,templateUrl:ne,htmlAst:Ce,styles:Re,styleUrls:Pe,externalStylesheets:Ge,animations:We,ngContentSelectors:Me,interpolation:gt,isInline:qe,preserveWhitespaces:Ve}=q;if(this.encapsulation=se,this.template=te,this.templateUrl=ne,this.htmlAst=Ce,this.styles=me(Re),this.styleUrls=me(Pe),this.externalStylesheets=me(Ge),this.animations=We?V(We):[],this.ngContentSelectors=Me||[],gt&>.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=gt,this.isInline=qe,this.preserveWhitespaces=Ve}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};m.CompileTemplateMetadata=le;var fe=class{static create(q){let{isHost:se,type:te,isComponent:ne,selector:Ce,exportAs:Re,changeDetection:Pe,inputs:Ge,outputs:We,host:Me,providers:gt,viewProviders:qe,queries:Ve,guards:Ct,viewQueries:St,entryComponents:Et,template:fr,componentViewType:$e,rendererType:nt,componentFactory:rr}=q,Dr={},Zt={},tt={};Me!=null&&Object.keys(Me).forEach(cr=>{let Yt=Me[cr],ln=cr.match(A);ln===null?tt[cr]=Yt:ln[1]!=null?Zt[ln[1]]=Yt:ln[2]!=null&&(Dr[ln[2]]=Yt)});let ot={};Ge!=null&&Ge.forEach(cr=>{let Yt=g.splitAtColon(cr,[cr,cr]);ot[Yt[0]]=Yt[1]});let pt={};return We!=null&&We.forEach(cr=>{let Yt=g.splitAtColon(cr,[cr,cr]);pt[Yt[0]]=Yt[1]}),new fe({isHost:se,type:te,isComponent:!!ne,selector:Ce,exportAs:Re,changeDetection:Pe,inputs:ot,outputs:pt,hostListeners:Dr,hostProperties:Zt,hostAttributes:tt,providers:gt,viewProviders:qe,queries:Ve,guards:Ct,viewQueries:St,entryComponents:Et,template:fr,componentViewType:$e,rendererType:nt,componentFactory:rr})}constructor(q){let{isHost:se,type:te,isComponent:ne,selector:Ce,exportAs:Re,changeDetection:Pe,inputs:Ge,outputs:We,hostListeners:Me,hostProperties:gt,hostAttributes:qe,providers:Ve,viewProviders:Ct,queries:St,guards:Et,viewQueries:fr,entryComponents:$e,template:nt,componentViewType:rr,rendererType:Dr,componentFactory:Zt}=q;this.isHost=!!se,this.type=te,this.isComponent=ne,this.selector=Ce,this.exportAs=Re,this.changeDetection=Pe,this.inputs=Ge,this.outputs=We,this.hostListeners=Me,this.hostProperties=gt,this.hostAttributes=qe,this.providers=me(Ve),this.viewProviders=me(Ct),this.queries=me(St),this.guards=Et,this.viewQueries=me(fr),this.entryComponents=me($e),this.template=nt,this.componentViewType=rr,this.rendererType=Dr,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=fe;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:Ce,declaredPipes:Re,exportedPipes:Pe,entryComponents:Ge,bootstrapComponents:We,importedModules:Me,exportedModules:gt,schemas:qe,transitiveModule:Ve,id:Ct}=q;this.type=se||null,this.declaredDirectives=me(ne),this.exportedDirectives=me(Ce),this.declaredPipes=me(Re),this.exportedPipes=me(Pe),this.providers=me(te),this.entryComponents=me(Ge),this.bootstrapComponents=me(We),this.importedModules=me(Me),this.exportedModules=me(gt),this.schemas=me(qe),this.id=Ct||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:Ce,useFactory:Re,deps:Pe,multi:Ge}=se;this.token=q,this.useClass=te||null,this.useValue=ne,this.useExisting=Ce,this.useFactory=Re||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 b.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 b.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}}),Wi=Xe({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(m){S(),Object.defineProperty(m,"__esModule",{value:!0});var b=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,z=this.col;for(;I>0&&$<0;)if(I--,$++,j.charCodeAt(I)==b.$LF){O--;let le=j.substr(0,I-1).lastIndexOf(String.fromCharCode(b.$LF));z=le>0?I-le:I}else z--;for(;I<W&&$>0;){let le=j.charCodeAt(I);I++,$--,le==b.$LF?(O++,z=0):z++}return new A(this.file,I,O,z)}getContext($,j){let W=this.file.content,I=this.offset;if(I!=null){I>W.length-1&&(I=W.length-1);let O=I,z=0,le=0;for(;z<$&&I>0&&(I--,z++,!(W[I]==`
|
|
`&&++le==j)););for(z=0,le=0;z<$&&O<W.length-1&&(O++,z++,!(W[O]==`
|
|
`&&++le==j)););return{before:W.substring(I,this.offset),after:W.substring(this.offset,O+1)}}return null}};m.ParseLocation=A;var E=class{constructor($,j){this.content=$,this.url=j}};m.ParseSourceFile=E;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 E("",""),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 E("",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 E("",I);return new y(new A(O,-1,-1,-1),new A(O,-1,-1,-1))}m.r3JitTypeSourceSpan=_}}),Zn=Xe({"src/language-html/print-preprocess.js"(m,b){S();var{ParseSourceSpan:g}=Wi(),{htmlTrim:A,getLeadingAndTrailingHtmlWhitespace:E,hasHtmlWhitespace:y,canHaveInterpolation:x,getNodeCssStyleDisplay:w,isDanglingSpaceSensitiveNode:k,isIndentationSensitiveNode:_,isLeadingSpaceSensitiveNode:$,isTrailingSpaceSensitiveNode:j,isWhitespaceSensitiveNode:W,isVueScriptTag:I}=Lr(),O=[le,fe,ee,ge,me,L,ye,V,R,ue,X];function z(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]===`
|
|
`){let q=G.children[0];q.value.length===1?G.removeChild(q):q.value=q.value.slice(1)}})}function fe(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,Ce=te.firstChild;q.removeChild(ne),se--;let Re=new g(ne.sourceSpan.start,Ce.sourceSpan.end),Pe=new g(Re.start,te.sourceSpan.end);te.condition=ne.condition,te.sourceSpan=Pe,te.startSourceSpan=Re,te.removeChild(Ce)}})}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 Ce=ne.prev;!Ce||Ce.type!=="text"||(Ce.value+=ne.value,Ce.sourceSpan=new g(Ce.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,Ce=te.next;ne.value+="<".concat(te.rawName,">")+te.firstChild.value+"</".concat(te.rawName,">")+Ce.value,ne.sourceSpan=new g(ne.sourceSpan.start,Ce.sourceSpan.end),ne.isTrailingSpaceSensitive=Ce.isTrailingSpaceSensitive,ne.hasTrailingSpaces=Ce.hasTrailingSpaces,q.removeChild(te),se--,q.removeChild(Ce)}})}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,Ce=null,Re=te.value.split(q);for(let Pe=0;Pe<Re.length;Pe++,ne=Ce){let Ge=Re[Pe];if(Pe%2===0){Ce=ne.moveBy(Ge.length),Ge.length>0&&se.insertChildBefore(te,{type:"text",value:Ge,sourceSpan:new g(ne,Ce)});continue}Ce=ne.moveBy(Ge.length+4),se.insertChildBefore(te,{type:"interpolation",sourceSpan:new g(ne,Ce),children:Ge.length===0?[]:[{type:"text",value:Ge,sourceSpan:new g(ne.moveBy(2),Ce.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:Ce,text:Re,trailingWhitespace:Pe}=E(ne.value),Ge=ne.prev,We=ne.next;Re?(ne.value=Re,ne.sourceSpan=new g(ne.sourceSpan.start.moveBy(Ce.length),ne.sourceSpan.end.moveBy(-Pe.length)),Ce&&(Ge&&(Ge.hasTrailingSpaces=!0),ne.hasLeadingSpaces=!0),Pe&&(ne.hasTrailingSpaces=!0,We&&(We.hasLeadingSpaces=!0))):(G.removeChild(ne),te--,(Ce||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)}}b.exports=z}}),Ri=Xe({"src/language-html/pragma.js"(m,b){S();function g(E){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(E)}function A(E){return`<!-- @format -->
|
|
|
|
`+E.replace(/^\s*\n/,"")}b.exports={hasPragma:g,insertPragma:A}}}),ki=Xe({"src/language-html/loc.js"(m,b){S();function g(E){return E.sourceSpan.start.offset}function A(E){return E.sourceSpan.end.offset}b.exports={locStart:g,locEnd:A}}}),Pi=Xe({"src/language-html/print/tag.js"(m,b){S();var g=fi(),{isNonEmptyArray:A}=Ki(),{builders:{indent:E,join:y,line:x,softline:w,hardline:k},utils:{replaceTextEndOfLine:_}}=Ti(),{locStart:$,locEnd:j}=ki(),{isTextLikeNode:W,getLastDescendant:I,isPreLikeNode:O,hasPrettierIgnore:z,shouldPreserveContent:le,isVueSfcBlock:fe}=Lr();function J(Me,gt){return[Me.isSelfClosing?"":ee(Me,gt),ue(Me,gt)]}function ee(Me,gt){return Me.lastChild&&N(Me.lastChild)?"":[ge(Me,gt),ye(Me,gt)]}function ue(Me,gt){return(Me.next?R(Me.next):X(Me.parent))?"":[V(Me,gt),me(Me,gt)]}function ge(Me,gt){return X(Me)?V(Me.lastChild,gt):""}function me(Me,gt){return N(Me)?ye(Me.parent,gt):G(Me)?Ge(Me.next):""}function ye(Me,gt){if(g(!Me.isSelfClosing),L(Me,gt))return"";switch(Me.type){case"ieConditionalComment":return"<!";case"element":if(Me.hasHtmComponentClosingTag)return"<//";default:return"</".concat(Me.rawName)}}function V(Me,gt){if(L(Me,gt))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,gt){return!Me.isSelfClosing&&!Me.endSourceSpan&&(z(Me)||le(Me.parent,gt))}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 gt=Me.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return gt?gt[1]?gt[1].split(/\s+/):!0:!1}function se(Me){return!Me.prev&&Me.isLeadingSpaceSensitive&&!Me.hasLeadingSpaces}function te(Me,gt,qe){let Ve=Me.getValue();if(!A(Ve.attrs))return Ve.isSelfClosing?" ":"";let Ct=Ve.prev&&Ve.prev.type==="comment"&&q(Ve.prev.value),St=typeof Ct=="boolean"?()=>Ct:Array.isArray(Ct)?rr=>Ct.includes(rr.rawName):()=>!1,Et=Me.map(rr=>{let Dr=rr.getValue();return St(Dr)?_(gt.originalText.slice($(Dr),j(Dr))):qe()},"attrs"),fr=Ve.type==="element"&&Ve.fullName==="script"&&Ve.attrs.length===1&&Ve.attrs[0].fullName==="src"&&Ve.children.length===0,$e=gt.singleAttributePerLine&&Ve.attrs.length>1&&!fe(Ve,gt)?k:x,nt=[E([fr?" ":x,y($e,Et)])];return Ve.firstChild&&se(Ve.firstChild)||Ve.isSelfClosing&&X(Ve.parent)||fr?nt.push(Ve.isSelfClosing?" ":""):nt.push(gt.bracketSameLine?Ve.isSelfClosing?" ":"":Ve.isSelfClosing?x:w),nt}function ne(Me){return Me.firstChild&&se(Me.firstChild)?"":We(Me)}function Ce(Me,gt,qe){let Ve=Me.getValue();return[Re(Ve,gt),te(Me,gt,qe),Ve.isSelfClosing?"":ne(Ve)]}function Re(Me,gt){return Me.prev&&G(Me.prev)?"":[Pe(Me,gt),Ge(Me)]}function Pe(Me,gt){return se(Me)?We(Me.parent):R(Me)?V(Me.prev,gt):""}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">"}}b.exports={printClosingTag:J,printClosingTagStart:ee,printClosingTagStartMarker:ye,printClosingTagEndMarker:V,printClosingTagSuffix:me,printClosingTagEnd:ue,needsToBorrowLastChildClosingTagEndMarker:X,needsToBorrowParentClosingTagStartMarker:N,needsToBorrowPrevClosingTagEndMarker:R,printOpeningTag:Ce,printOpeningTagStart:Re,printOpeningTagPrefix:Pe,printOpeningTagStartMarker:Ge,printOpeningTagEndMarker:We,needsToBorrowNextOpeningTagStartMarker:G,needsToBorrowParentOpeningTagEndMarker:se}}}),Ht=Xe({"node_modules/parse-srcset/src/parse-srcset.js"(m,b){S(),function(g,A){typeof b=="object"&&b.exports?b.exports=A():g.parseSrcset=A()}(m,function(){return function(g,A){var E=A&&A.logger||console;function y(ye){return ye===" "||ye===" "||ye===`
|
|
`||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,z,le,fe,J,ee=0,ue=[];;){if(x(_),ee>=w)return ue;O=x($),z=[],O.slice(-1)===","?(O=O.replace(j,""),me()):ge()}function ge(){for(x(k),le="",fe="in descriptor";;){if(J=g.charAt(ee),fe==="in descriptor")if(y(J))le&&(z.push(le),le="",fe="after descriptor");else if(J===","){ee+=1,le&&z.push(le),me();return}else if(J==="(")le=le+J,fe="in parens";else if(J===""){le&&z.push(le),me();return}else le=le+J;else if(fe==="in parens")if(J===")")le=le+J,fe="in descriptor";else if(J===""){z.push(le),me();return}else le=le+J;else if(fe==="after descriptor"&&!y(J))if(J===""){me();return}else fe="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<z.length;X++)G=z[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?E&&E.error&&E.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,b){S();var g=Ht(),{builders:{ifBreak:A,join:E,line:y}}=Ti();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",z=ge=>Math.max(...ge),le=_.map(ge=>ge.url),fe=z(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=z(ee);return E([",",y],le.map((ge,me)=>{let ye=[ge],V=J[me];if(V){let L=fe-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(" ")}b.exports={printImgSrcset:x,printClassNames:w}}}),Ir=Xe({"src/language-html/syntax-vue.js"(m,b){S();var{builders:{group:g}}=Ti();function A(w,k){let{left:_,operator:$,right:j}=E(w);return[g(k("function _(".concat(_,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",$," ",k(j,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function E(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 z=[W.alias,W.iterator1,W.iterator2];if(!z.some((le,fe)=>!le&&(fe===0||z.slice(fe+1).some(Boolean))))return{left:z.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($)}b.exports={isVueEventBindingExpression:x,printVueFor:A,printVueBindings:y}}}),In=Xe({"src/language-html/get-node-content.js"(m,b){S();var{needsToBorrowParentClosingTagStartMarker:g,printClosingTagStartMarker:A,needsToBorrowLastChildClosingTagEndMarker:E,printClosingTagEndMarker:y,needsToBorrowParentOpeningTagEndMarker:x,printOpeningTagEndMarker:w}=Pi();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:E(_)&&(W-=y(_.lastChild,$).length),$.originalText.slice(j,W)}b.exports=k}}),Ut=Xe({"src/language-html/embed.js"(m,b){S();var{builders:{breakParent:g,group:A,hardline:E,indent:y,line:x,fill:w,softline:k},utils:{mapDoc:_,replaceTextEndOfLine:$}}=Ti(),j=Wa(),{printClosingTag:W,printClosingTagSuffix:I,needsToBorrowPrevClosingTagEndMarker:O,printOpeningTagPrefix:z,printOpeningTag:le}=Pi(),{printImgSrcset:fe,printClassNames:J}=vr(),{printVueFor:ee,printVueBindings:ue,isVueEventBindingExpression:ge}=Ir(),{isScriptLikeTag:me,isVueNonHtmlBlock:ye,inferScriptParser:V,htmlTrimPreserveIndentation:L,dedentString:R,unescapeQuoteEntities:X,isVueSlotAttribute:N,isVueSfcBindingsAttribute:G,getTextValueParts:q}=Lr(),se=In();function te(Ce,Re,Pe){let Ge=Et=>new RegExp(Et.join("|")).test(Ce.fullName),We=()=>X(Ce.value),Me=!1,gt=(Et,fr)=>{let $e=Et.type==="NGRoot"?Et.node.type==="NGMicrosyntax"&&Et.node.body.length===1&&Et.node.body[0].type==="NGMicrosyntaxExpression"?Et.node.body[0].expression:Et.node:Et.type==="JsExpressionRoot"?Et.node:Et;$e&&($e.type==="ObjectExpression"||$e.type==="ArrayExpression"||fr.parser==="__vue_expression"&&($e.type==="TemplateLiteral"||$e.type==="StringLiteral"))&&(Me=!0)},qe=Et=>A(Et),Ve=function(Et){let fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return A([y([k,Et]),fr?k:""])},Ct=Et=>Me?qe(Et):Ve(Et),St=(Et,fr)=>Re(Et,Object.assign({__onHtmlBindingRoot:gt,__embeddedInHtml:!0},fr));if(Ce.fullName==="srcset"&&(Ce.parent.fullName==="img"||Ce.parent.fullName==="source"))return Ve(fe(We()));if(Ce.fullName==="class"&&!Pe.parentParser){let Et=We();if(!Et.includes("{{"))return J(Et)}if(Ce.fullName==="style"&&!Pe.parentParser){let Et=We();if(!Et.includes("{{"))return Ve(St(Et,{parser:"css",__isHTMLStyleAttribute:!0}))}if(Pe.parser==="vue"){if(Ce.fullName==="v-for")return ee(We(),St);if(N(Ce)||G(Ce,Pe))return ue(We(),St);let Et=["^@","^v-on:"],fr=["^:","^v-bind:"],$e=["^v-"];if(Ge(Et)){let nt=We(),rr=ge(nt)?"__js_expression":Pe.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return Ct(St(nt,{parser:rr}))}if(Ge(fr))return Ct(St(We(),{parser:"__vue_expression"}));if(Ge($e))return Ct(St(We(),{parser:"__js_expression"}))}if(Pe.parser==="angular"){let Et=(tt,ot)=>St(tt,Object.assign(Object.assign({},ot),{},{trailingComma:"none"})),fr=["^\\*"],$e=["^\\(.+\\)$","^on-"],nt=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],rr=["^i18n(-.+)?$"];if(Ge($e))return Ct(Et(We(),{parser:"__ng_action"}));if(Ge(nt))return Ct(Et(We(),{parser:"__ng_binding"}));if(Ge(rr)){let tt=We().trim();return Ve(w(q(Ce,tt)),!tt.includes("@@"))}if(Ge(fr))return Ct(Et(We(),{parser:"__ng_directive"}));let Dr=/{{(.+?)}}/s,Zt=We();if(Dr.test(Zt)){let tt=[];for(let[ot,pt]of Zt.split(Dr).entries())if(ot%2===0)tt.push($(pt));else try{tt.push(A(["{{",y([x,Et(pt,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),x,"}}"]))}catch{tt.push("{{",$(pt),"}}")}return A(tt)}}return null}function ne(Ce,Re,Pe,Ge){let We=Ce.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 gt=se(We,Ge),qe=/^\s*$/.test(gt),Ve="";return qe||(Ve=Pe(L(gt),{parser:Me,__embeddedInHtml:!0},{stripTrailingHardline:!0}),qe=Ve===""),[z(We,Ge),A(le(Ce,Ge,Re)),qe?"":E,Ve,qe?"":E,W(We,Ge),I(We,Ge)]}break}case"text":{if(me(We.parent)){let Me=V(We.parent,Ge);if(Me){let gt=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:Ct}=We.parent;Ct&&(Ct.type==="module"||Ct.type==="text/babel"&&Ct["data-type"]==="module")&&(Ve="module"),qe.__babelSourceType=Ve}return[g,z(We,Ge),Pe(gt,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,(gt,qe)=>Pe(gt,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},qe),{stripTrailingHardline:!0}),Ge);if(Me)return[We.rawName,'="',A(_(Me,gt=>typeof gt=="string"?gt.replace(/"/g,"""):gt)),'"'];break}case"front-matter":return j(We,Pe)}}b.exports=ne}}),ui=Xe({"src/language-html/print/children.js"(m,b){S();var{builders:{breakParent:g,group:A,ifBreak:E,line:y,softline:x,hardline:w},utils:{replaceTextEndOfLine:k}}=Ti(),{locStart:_,locEnd:$}=ki(),{forceBreakChildren:j,forceNextEmptyLine:W,isTextLikeNode:I,hasPrettierIgnore:O,preferHardlineAsLeadingSpaces:z}=Lr(),{printOpeningTagPrefix:le,needsToBorrowNextOpeningTagStartMarker:fe,printOpeningTagStartMarker:J,needsToBorrowPrevClosingTagEndMarker:ee,printClosingTagEndMarker:ue,printClosingTagSuffix:ge,needsToBorrowParentClosingTagStartMarker:me}=Pi();function ye(R,X,N){let G=R.getValue();return O(G)?[le(G,X),...k(X.originalText.slice(_(G)+(G.prev&&fe(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?z(X)?w:y:"":z(X)?w:x:fe(R)&&(O(X)||X.firstChild||X.isSelfClosing||X.type==="element"&&X.attrs.length>0)||R.type==="element"&&R.isSelfClosing&&ee(X)?"":!X.isLeadingSpaceSensitive||z(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 gt=V(ne.prev,ne);if(gt)return W(ne.prev)?[w,w,ye(se,X,N)]:[gt,ye(se,X,N)]}return ye(se,X,N)}let Ce=[],Re=[],Pe=[],Ge=[],We=ne.prev?V(ne.prev,ne):"",Me=ne.next?V(ne,ne.next):"";return We&&(W(ne.prev)?Ce.push(w,w):We===w?Ce.push(w):I(ne.prev)?Re.push(We):Re.push(E("",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)),[...Ce,A([...Re,A([ye(se,X,N),...Pe],{id:q[te]})]),...Ge]},"children")}b.exports={printChildren:L}}}),Xn=Xe({"src/language-html/print/element.js"(m,b){S();var{builders:{breakParent:g,dedentToRoot:A,group:E,ifBreak:y,indentIfBreak:x,indent:w,line:k,softline:_},utils:{replaceTextEndOfLine:$}}=Ti(),j=In(),{shouldPreserveContent:W,isScriptLikeTag:I,isVueCustomBlock:O,countParents:z,forceBreakContent:le}=Lr(),{printOpeningTagPrefix:fe,printOpeningTag:J,printClosingTagSuffix:ee,printClosingTag:ue,needsToBorrowPrevClosingTagEndMarker:ge,needsToBorrowLastChildClosingTagEndMarker:me}=Pi(),{printChildren:ye}=ui();function V(L,R,X){let N=L.getValue();if(W(N,R))return[fe(N,R),E(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=Re=>E([E(J(L,R,X),{id:q}),Re,ue(N,R)]),te=Re=>G?x(Re,{groupId:q}):(I(N)||O(N,R))&&N.parent.type==="root"&&R.parser==="vue"&&!R.vueIndentScriptAndStyle?Re:w(Re),ne=()=>G?y(_,"",{groupId:q}):N.firstChild.hasLeadingSpaces&&N.firstChild.isLeadingSpaceSensitive?k:N.firstChild.type==="text"&&N.isWhitespaceSensitive&&N.isIndentationSensitive?A(_):_,Ce=()=>(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*z(L,Re=>Re.parent&&Re.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)]),Ce()])}b.exports={printElement:V}}}),na=Xe({"src/language-html/printer-html.js"(m,b){S();var{builders:{fill:g,group:A,hardline:E,literalline:y},utils:{cleanDoc:x,getDocParts:w,isConcat:k,replaceTextEndOfLine:_}}=Ti(),$=Dn(),{countChars:j,unescapeQuoteEntities:W,getTextValueParts:I}=Lr(),O=Zn(),{insertPragma:z}=Ri(),{locStart:le,locEnd:fe}=ki(),J=Ut(),{printClosingTagSuffix:ee,printClosingTagEnd:ue,printOpeningTagPrefix:ge,printOpeningTagStart:me}=Pi(),{printElement:ye}=Xn(),{printChildren:V}=ui();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)),E];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?E:""]}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),fe(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))}}b.exports={preprocess:O,print:L,insertPragma:z,massageAstNode:$,embed:J}}}),ia=Xe({"src/language-html/options.js"(m,b){S();var g=vo(),A="HTML";b.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,b){b.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,b){b.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Zs=Xe({"src/language-html/index.js"(m,b){S();var g=Ua(),A=na(),E=ia(),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};b.exports={languages:x,printers:w,options:E,parsers:y}}}),Ma=Xe({"src/language-yaml/pragma.js"(m,b){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 E(y){return`# @format
|
|
|
|
`.concat(y)}b.exports={isPragma:g,hasPragma:A,insertPragma:E}}}),sa=Xe({"src/language-yaml/loc.js"(m,b){S();function g(E){return E.position.start.offset}function A(E){return E.position.end.offset}b.exports={locStart:g,locEnd:A}}}),ea=Xe({"src/language-yaml/embed.js"(m,b){S();function g(A,E,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"}))}b.exports=g}}),aa=Xe({"src/language-yaml/utils.js"(m,b){S();var{getLast:g,isNonEmptyArray:A}=Ki();function E(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===`
|
|
`&&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 z(L)&&j(g(L.leadingComments))}function I(V){return!A(V.children)&&!O(V)}function O(V){return z(V)||le(V)||fe(V)||J(V)||ee(V)}function z(V){return A(V==null?void 0:V.leadingComments)}function le(V){return A(V==null?void 0:V.middleComments)}function fe(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(`
|
|
`).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(`
|
|
`).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,Ce,Re)=>Re!==0&&se[Re-1].length>0&&Ce.length>0&&!/^\s/.test(Ce[0])&&!/^\s|\s$/.test(g(ne))?[...ne.slice(0,-1),[...g(ne),...Ce]]:[...ne,Ce],[]).map(ne=>ne.reduce((Ce,Re)=>Ce.length>0&&/\s$/.test(g(Ce))?[...Ce.slice(0,-1),g(Ce)+" "+Re]:[...Ce,Re],[])).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 Ce=0;for(let Re=ne.length-1;Re>=0&&ne[Re].length===0;Re--)Ce++;return Ce===0?ne:Ce>=2&&!X?ne.slice(0,-(Ce-1)):ne.slice(0,-Ce)}}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}}b.exports={getLast:g,getAncestorCount:E,isNode:y,isEmptyNode:I,isInlineNode:ye,mapNode:x,defineShortcut:w,isNextLineEmpty:k,isLastDescendantNode:_,getBlockValueLineContents:me,getFlowScalarLineContents:ge,getLastDescendantNode:$,hasPrettierIgnore:W,hasLeadingComments:z,hasMiddleComments:le,hasIndicatorComment:fe,hasTrailingComment:J,hasEndComments:ee}}}),kl=Xe({"src/language-yaml/print-preprocess.js"(m,b){S();var{defineShortcut:g,mapNode:A}=aa();function E(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}b.exports=E}}),Ku=Xe({"src/language-yaml/print/misc.js"(m,b){S();var{builders:{softline:g,align:A}}=Ti(),{hasEndComments:E,isNextLineEmpty:y,isNode:x}=aa(),w=new WeakMap;function k(j,W){let I=j.getValue(),O=j.stack[0],z;return w.has(O)?z=w.get(O):(z=new Set,w.set(O,z)),!z.has(I.position.end.line)&&(z.add(I.position.end.line),y(I,W)&&!_(j.getParentNode()))?g:""}function _(j){return E(j)&&!x(j,["documentHead","documentBody","flowMapping","flowSequence"])}function $(j,W){return A(" ".repeat(j),W)}b.exports={alignWithSpaces:$,shouldPrintEndComments:_,printNextEmptyLine:k}}}),Bc=Xe({"src/language-yaml/print/flow-mapping-sequence.js"(m,b){S();var{builders:{ifBreak:g,line:A,softline:E,hardline:y,join:x}}=Ti(),{isEmptyNode:w,getLast:k,hasEndComments:_}=aa(),{printNextEmptyLine:$,alignWithSpaces:j}=Ku();function W(O,z,le){let fe=O.getValue(),J=fe.type==="flowMapping",ee=J?"{":"[",ue=J?"}":"]",ge=E;J&&fe.children.length>0&&le.bracketSpacing&&(ge=A);let me=k(fe.children),ye=me&&me.type==="flowMappingItem"&&w(me.key)&&w(me.value);return[ee,j(le.tabWidth,[ge,I(O,z,le),le.trailingComma==="none"?"":g(","),_(fe)?[y,x(y,O.map(z,"endComments"))]:""]),ye?"":ge,ue]}function I(O,z,le){let fe=O.getValue();return O.map((J,ee)=>[z(),ee===fe.children.length-1?"":[",",A,fe.children[ee].position.start.line!==fe.children[ee+1].position.start.line?$(J,le.originalText):""]],"children")}b.exports={printFlowMapping:W,printFlowSequence:W}}}),Nu=Xe({"src/language-yaml/print/mapping-item.js"(m,b){S();var{builders:{conditionalGroup:g,group:A,hardline:E,ifBreak:y,join:x,line:w}}=Ti(),{hasLeadingComments:k,hasMiddleComments:_,hasTrailingComment:$,hasEndComments:j,isNode:W,isEmptyNode:I,isInlineNode:O}=aa(),{alignWithSpaces:z}=Ku();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"&&fe(L.content,V)&&!$(L.content)&&(!ge.tag||ge.tag.value!=="tag:yaml.org,2002:set")?[G,q,":"]:["? ",z(2,G)];let se=ye("value");if(X)return[": ",z(2,se)];if(k(R)||!O(L.content))return["? ",z(2,G),E,x("",me.map(ye,"value","leadingComments").map(Ge=>[Ge,E])),": ",z(2,se)];if(ee(L.content)&&!k(L.content)&&!_(L.content)&&!$(L.content)&&!j(L)&&!k(R.content)&&!_(R.content)&&!j(R)&&fe(R.content,V))return[G,q,": ",se];let te=Symbol("mappingKey"),ne=A([y("? "),A(z(2,G),{id:te})]),Ce=[E,": ",z(2,se)],Re=[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?Re.push(E):R.content&&Re.push(w),Re.push(se);let Pe=z(V.tabWidth,Re);return fe(L.content,V)&&!k(L.content)&&!_(L.content)&&!j(L)?g([[G,Pe]]):g([[ne,y(Ce,Pe,{groupId:te})]])}function fe(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(`
|
|
`);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}}b.exports=le}}),Pl=Xe({"src/language-yaml/print/block.js"(m,b){S();var{builders:{dedent:g,dedentToRoot:A,fill:E,hardline:y,join:x,line:w,literalline:k,markAsRoot:_},utils:{getDocParts:$}}=Ti(),{getAncestorCount:j,getBlockValueLineContents:W,hasIndicatorComment:I,isLastDescendantNode:O,isNode:z}=aa(),{alignWithSpaces:le}=Ku();function fe(J,ee,ue){let ge=J.getValue(),me=j(J,X=>z(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(E($(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}b.exports=fe}}),Gl=Xe({"src/language-yaml/printer-yaml.js"(m,b){S();var{builders:{breakParent:g,fill:A,group:E,hardline:y,join:x,line:w,lineSuffix:k,literalline:_},utils:{getDocParts:$,replaceTextEndOfLine:j}}=Ti(),{isPreviousLineEmpty:W}=Ki(),{insertPragma:I,isPragma:O}=Ma(),{locStart:z}=sa(),le=ea(),{getFlowScalarLineContents:fe,getLastDescendantNode:J,hasLeadingComments:ee,hasMiddleComments:ue,hasTrailingComment:ge,hasEndComments:me,hasPrettierIgnore:ye,isLastDescendantNode:V,isNode:L,isInlineNode:R}=aa(),X=kl(),{alignWithSpaces:N,printNextEmptyLine:G,shouldPrintEndComments:q}=Ku(),{printFlowMapping:se,printFlowSequence:te}=Bc(),ne=Nu(),Ce=Pl();function Re(Ve,Ct,St){let Et=Ve.getValue(),fr=[];Et.type!=="mappingValue"&&ee(Et)&&fr.push([x(y,Ve.map(St,"leadingComments")),y]);let{tag:$e,anchor:nt}=Et;$e&&fr.push(St("tag")),$e&&nt&&fr.push(" "),nt&&fr.push(St("anchor"));let rr="";L(Et,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!V(Ve)&&(rr=G(Ve,Ct.originalText)),($e||nt)&&(L(Et,["sequence","mapping"])&&!ue(Et)?fr.push(y):fr.push(" ")),ue(Et)&&fr.push([Et.middleComments.length===1?"":y,x(y,Ve.map(St,"middleComments")),y]);let Dr=Ve.getParentNode();return ye(Ve)?fr.push(j(Ct.originalText.slice(Et.position.start.offset,Et.position.end.offset).trimEnd(),_)):fr.push(E(Pe(Et,Dr,Ve,Ct,St))),ge(Et)&&!L(Et,["document","documentHead"])&&fr.push(k([Et.type==="mappingValue"&&!Et.content?"":" ",Dr.type==="mappingKey"&&Ve.getParentNode(2).type==="mapping"&&R(Et)?"":g,St("trailingComment")])),q(Et)&&fr.push(N(Et.type==="sequenceItem"?2:0,[y,x(y,Ve.map(Zt=>[W(Ct.originalText,Zt.getValue(),z)?y:"",St()],"endComments"))])),fr.push(rr),fr}function Pe(Ve,Ct,St,Et,fr){switch(Ve.type){case"root":{let{children:$e}=Ve,nt=[];St.each((Dr,Zt)=>{let tt=$e[Zt],ot=$e[Zt+1];Zt!==0&&nt.push(y),nt.push(fr()),We(tt,ot)?(nt.push(y,"..."),ge(tt)&&nt.push(" ",fr("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=Ct.children[St.getName()+1],nt=[];return Me(Ve,$e,Ct,Et)==="head"&&((Ve.head.children.length>0||Ve.head.endComments.length>0)&&nt.push(fr("head")),ge(Ve.head)?nt.push(["---"," ",fr(["head","trailingComment"])]):nt.push("---")),Ge(Ve)&&nt.push(fr("body")),x(y,nt)}case"documentHead":return x(y,[...St.map(fr,"children"),...St.map(fr,"endComments")]);case"documentBody":{let{children:$e,endComments:nt}=Ve,rr="";if($e.length>0&&nt.length>0){let Dr=J(Ve);L(Dr,["blockFolded","blockLiteral"])?Dr.chomping!=="keep"&&(rr=[y,y]):rr=y}return[x(y,St.map(fr,"children")),rr,x(y,St.map(fr,"endComments"))]}case"directive":return["%",x(" ",[Ve.name,...Ve.parameters])];case"comment":return["#",Ve.value];case"alias":return["*",Ve.value];case"tag":return Et.originalText.slice(Ve.position.start.offset,Ve.position.end.offset);case"anchor":return["&",Ve.value];case"plain":return gt(Ve.type,Et.originalText.slice(Ve.position.start.offset,Ve.position.end.offset),Et);case"quoteDouble":case"quoteSingle":{let $e="'",nt='"',rr=Et.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,gt(Ve.type,rr,Et),Zt]}if(rr.includes(nt))return[$e,gt(Ve.type,Ve.type==="quoteDouble"?rr.replace(/\\"/g,nt).replace(/'/g,$e.repeat(2)):rr,Et),$e];if(rr.includes($e))return[nt,gt(Ve.type,Ve.type==="quoteSingle"?rr.replace(/''/g,$e):rr,Et),nt];let Dr=Et.singleQuote?$e:nt;return[Dr,gt(Ve.type,rr,Et),Dr]}case"blockFolded":case"blockLiteral":return Ce(St,fr,Et);case"mapping":case"sequence":return x(y,St.map(fr,"children"));case"sequenceItem":return["- ",N(2,Ve.content?fr("content"):"")];case"mappingKey":case"mappingValue":return Ve.content?fr("content"):"";case"mappingItem":case"flowMappingItem":return ne(Ve,Ct,St,fr,Et);case"flowMapping":return se(St,fr,Et);case"flowSequence":return te(St,fr,Et);case"flowSequenceItem":return fr("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,Ct){return ge(Ve)||Ct&&(Ct.head.children.length>0||me(Ct.head))}function Me(Ve,Ct,St,Et){return St.children[0]===Ve&&/---(?:\s|$)/.test(Et.originalText.slice(z(Ve),z(Ve)+4))||Ve.head.children.length>0||me(Ve.head)||ge(Ve.head)?"head":We(Ve,Ct)?!1:Ct?"root":!1}function gt(Ve,Ct,St){let Et=fe(Ve,Ct,St);return x(y,Et.map(fr=>A($(x(w,fr)))))}function qe(Ve,Ct){if(L(Ct))switch(delete Ct.position,Ct.type){case"comment":if(O(Ct.value))return null;break;case"quoteDouble":case"quoteSingle":Ct.type="quote";break}}b.exports={preprocess:X,embed:le,print:Re,massageAstNode:qe,insertPragma:I}}}),pu=Xe({"src/language-yaml/options.js"(m,b){S();var g=vo();b.exports={bracketSpacing:g.bracketSpacing,singleQuote:g.singleQuote,proseWrap:g.proseWrap}}}),Wo=Xe({"src/language-yaml/parsers.js"(){S()}}),_c=Xe({"node_modules/linguist-languages/data/YAML.json"(m,b){b.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,b){S();var g=Ua(),A=Gl(),E=pu(),y=Wo(),x=[g(_c(),w=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...w.filenames.filter(k=>k!=="yarn.lock"),".prettierrc",".stylelintrc"]}))];b.exports={languages:x,printers:{yaml:A},options:E,parsers:y}}}),t=Xe({"src/languages.js"(m,b){S(),b.exports=[$a(),Z(),P(),ze(),Ai(),Zs(),n()]}});S();var{version:u}=Je(),p=Ka(),{getSupportInfo:D}=Ws(),U=Qa(),pe=t(),Ze=Ti();function At(m){let b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var g=arguments.length,A=new Array(g),E=0;E<g;E++)A[E]=arguments[E];let y=A[b]||{},x=y.plugins||[];return A[b]=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,b){return ar(m,b).formatted},check(m,b){let{formatted:g}=ar(m,b);return g===m},doc:Ze,getSupportInfo:At(D,0),version:u,util:U,__debug:{parse:At(p.parse),formatAST:At(p.formatAST),formatDoc:At(p.formatDoc),printToDoc:At(p.printToDoc),printDocToString:At(p.printDocToString)}}});return Rt()})})(bm);const VD=Hp(bm.exports);var Am={exports:{}};(function(i,c){(function(l){i.exports=l()})(function(){var l=(qn,Fr)=>()=>(Fr||qn((Fr={exports:{}}).exports,Fr),Fr.exports),f=l((qn,Fr)=>{var Br=function(Gt){return Gt&&Gt.Math==Math&&Gt};Fr.exports=Br(typeof globalThis=="object"&&globalThis)||Br(typeof window=="object"&&window)||Br(typeof self=="object"&&self)||Br(typeof jl=="object"&&jl)||function(){return this}()||Function("return this")()}),v=l((qn,Fr)=>{Fr.exports=function(Br){try{return!!Br()}catch{return!0}}}),B=l((qn,Fr)=>{var Br=v();Fr.exports=!Br(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((qn,Fr)=>{var Br=v();Fr.exports=!Br(function(){var Gt=function(){}.bind();return typeof Gt!="function"||Gt.hasOwnProperty("prototype")})}),he=l((qn,Fr)=>{var Br=Y(),Gt=Function.prototype.call;Fr.exports=Br?Gt.bind(Gt):function(){return Gt.apply(Gt,arguments)}}),xe=l(qn=>{var Fr={}.propertyIsEnumerable,Br=Object.getOwnPropertyDescriptor,Gt=Br&&!Fr.call({1:2},1);qn.f=Gt?function(Vr){var lr=Br(this,Vr);return!!lr&&lr.enumerable}:Fr}),Le=l((qn,Fr)=>{Fr.exports=function(Br,Gt){return{enumerable:!(Br&1),configurable:!(Br&2),writable:!(Br&4),value:Gt}}}),je=l((qn,Fr)=>{var Br=Y(),Gt=Function.prototype,Vr=Gt.bind,lr=Gt.call,gn=Br&&Vr.bind(lr,lr);Fr.exports=Br?function(zt){return zt&&gn(zt)}:function(zt){return zt&&function(){return lr.apply(zt,arguments)}}}),it=l((qn,Fr)=>{var Br=je(),Gt=Br({}.toString),Vr=Br("".slice);Fr.exports=function(lr){return Vr(Gt(lr),8,-1)}}),xt=l((qn,Fr)=>{var Br=f(),Gt=je(),Vr=v(),lr=it(),gn=Br.Object,zt=Gt("".split);Fr.exports=Vr(function(){return!gn("z").propertyIsEnumerable(0)})?function(Qn){return lr(Qn)=="String"?zt(Qn,""):gn(Qn)}:gn}),Ft=l((qn,Fr)=>{var Br=f(),Gt=Br.TypeError;Fr.exports=function(Vr){if(Vr==null)throw Gt("Can't call method on "+Vr);return Vr}}),Qt=l((qn,Fr)=>{var Br=xt(),Gt=Ft();Fr.exports=function(Vr){return Br(Gt(Vr))}}),mr=l((qn,Fr)=>{Fr.exports=function(Br){return typeof Br=="function"}}),Ur=l((qn,Fr)=>{var Br=mr();Fr.exports=function(Gt){return typeof Gt=="object"?Gt!==null:Br(Gt)}}),wt=l((qn,Fr)=>{var Br=f(),Gt=mr(),Vr=function(lr){return Gt(lr)?lr:void 0};Fr.exports=function(lr,gn){return arguments.length<2?Vr(Br[lr]):Br[lr]&&Br[lr][gn]}}),jt=l((qn,Fr)=>{var Br=je();Fr.exports=Br({}.isPrototypeOf)}),Wt=l((qn,Fr)=>{var Br=wt();Fr.exports=Br("navigator","userAgent")||""}),Ar=l((qn,Fr)=>{var Br=f(),Gt=Wt(),Vr=Br.process,lr=Br.Deno,gn=Vr&&Vr.versions||lr&&lr.version,zt=gn&&gn.v8,Qn,wr;zt&&(Qn=zt.split("."),wr=Qn[0]>0&&Qn[0]<4?1:+(Qn[0]+Qn[1])),!wr&&Gt&&(Qn=Gt.match(/Edge\/(\d+)/),(!Qn||Qn[1]>=74)&&(Qn=Gt.match(/Chrome\/(\d+)/),Qn&&(wr=+Qn[1]))),Fr.exports=wr}),an=l((qn,Fr)=>{var Br=Ar(),Gt=v();Fr.exports=!!Object.getOwnPropertySymbols&&!Gt(function(){var Vr=Symbol();return!String(Vr)||!(Object(Vr)instanceof Symbol)||!Symbol.sham&&Br&&Br<41})}),Vn=l((qn,Fr)=>{var Br=an();Fr.exports=Br&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),An=l((qn,Fr)=>{var Br=f(),Gt=wt(),Vr=mr(),lr=jt(),gn=Vn(),zt=Br.Object;Fr.exports=gn?function(Qn){return typeof Qn=="symbol"}:function(Qn){var wr=Gt("Symbol");return Vr(wr)&&lr(wr.prototype,zt(Qn))}}),gi=l((qn,Fr)=>{var Br=f(),Gt=Br.String;Fr.exports=function(Vr){try{return Gt(Vr)}catch{return"Object"}}}),ai=l((qn,Fr)=>{var Br=f(),Gt=mr(),Vr=gi(),lr=Br.TypeError;Fr.exports=function(gn){if(Gt(gn))return gn;throw lr(Vr(gn)+" is not a function")}}),$n=l((qn,Fr)=>{var Br=ai();Fr.exports=function(Gt,Vr){var lr=Gt[Vr];return lr==null?void 0:Br(lr)}}),Mn=l((qn,Fr)=>{var Br=f(),Gt=he(),Vr=mr(),lr=Ur(),gn=Br.TypeError;Fr.exports=function(zt,Qn){var wr,Nt;if(Qn==="string"&&Vr(wr=zt.toString)&&!lr(Nt=Gt(wr,zt))||Vr(wr=zt.valueOf)&&!lr(Nt=Gt(wr,zt))||Qn!=="string"&&Vr(wr=zt.toString)&&!lr(Nt=Gt(wr,zt)))return Nt;throw gn("Can't convert object to primitive value")}}),yi=l((qn,Fr)=>{Fr.exports=!1}),Cr=l((qn,Fr)=>{var Br=f(),Gt=Object.defineProperty;Fr.exports=function(Vr,lr){try{Gt(Br,Vr,{value:lr,configurable:!0,writable:!0})}catch{Br[Vr]=lr}return lr}}),Tn=l((qn,Fr)=>{var Br=f(),Gt=Cr(),Vr="__core-js_shared__",lr=Br[Vr]||Gt(Vr,{});Fr.exports=lr}),we=l((qn,Fr)=>{var Br=yi(),Gt=Tn();(Fr.exports=function(Vr,lr){return Gt[Vr]||(Gt[Vr]=lr!==void 0?lr:{})})("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"})}),rn=l((qn,Fr)=>{var Br=f(),Gt=Ft(),Vr=Br.Object;Fr.exports=function(lr){return Vr(Gt(lr))}}),ur=l((qn,Fr)=>{var Br=je(),Gt=rn(),Vr=Br({}.hasOwnProperty);Fr.exports=Object.hasOwn||function(lr,gn){return Vr(Gt(lr),gn)}}),Sn=l((qn,Fr)=>{var Br=je(),Gt=0,Vr=Math.random(),lr=Br(1 .toString);Fr.exports=function(gn){return"Symbol("+(gn===void 0?"":gn)+")_"+lr(++Gt+Vr,36)}}),Kn=l((qn,Fr)=>{var Br=f(),Gt=we(),Vr=ur(),lr=Sn(),gn=an(),zt=Vn(),Qn=Gt("wks"),wr=Br.Symbol,Nt=wr&&wr.for,Ue=zt?wr:wr&&wr.withoutSetter||lr;Fr.exports=function(Bt){if(!Vr(Qn,Bt)||!(gn||typeof Qn[Bt]=="string")){var Xt="Symbol."+Bt;gn&&Vr(wr,Bt)?Qn[Bt]=wr[Bt]:zt&&Nt?Qn[Bt]=Nt(Xt):Qn[Bt]=Ue(Xt)}return Qn[Bt]}}),Yi=l((qn,Fr)=>{var Br=f(),Gt=he(),Vr=Ur(),lr=An(),gn=$n(),zt=Mn(),Qn=Kn(),wr=Br.TypeError,Nt=Qn("toPrimitive");Fr.exports=function(Ue,Bt){if(!Vr(Ue)||lr(Ue))return Ue;var Xt=gn(Ue,Nt),tr;if(Xt){if(Bt===void 0&&(Bt="default"),tr=Gt(Xt,Ue,Bt),!Vr(tr)||lr(tr))return tr;throw wr("Can't convert object to primitive value")}return Bt===void 0&&(Bt="number"),zt(Ue,Bt)}}),ys=l((qn,Fr)=>{var Br=Yi(),Gt=An();Fr.exports=function(Vr){var lr=Br(Vr,"string");return Gt(lr)?lr:lr+""}}),Ns=l((qn,Fr)=>{var Br=f(),Gt=Ur(),Vr=Br.document,lr=Gt(Vr)&&Gt(Vr.createElement);Fr.exports=function(gn){return lr?Vr.createElement(gn):{}}}),cs=l((qn,Fr)=>{var Br=B(),Gt=v(),Vr=Ns();Fr.exports=!Br&&!Gt(function(){return Object.defineProperty(Vr("div"),"a",{get:function(){return 7}}).a!=7})}),ts=l(qn=>{var Fr=B(),Br=he(),Gt=xe(),Vr=Le(),lr=Qt(),gn=ys(),zt=ur(),Qn=cs(),wr=Object.getOwnPropertyDescriptor;qn.f=Fr?wr:function(Nt,Ue){if(Nt=lr(Nt),Ue=gn(Ue),Qn)try{return wr(Nt,Ue)}catch{}if(zt(Nt,Ue))return Vr(!Br(Gt.f,Nt,Ue),Nt[Ue])}}),_r=l((qn,Fr)=>{var Br=B(),Gt=v();Fr.exports=Br&&Gt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Kr=l((qn,Fr)=>{var Br=f(),Gt=Ur(),Vr=Br.String,lr=Br.TypeError;Fr.exports=function(gn){if(Gt(gn))return gn;throw lr(Vr(gn)+" is not an object")}}),yr=l(qn=>{var Fr=f(),Br=B(),Gt=cs(),Vr=_r(),lr=Kr(),gn=ys(),zt=Fr.TypeError,Qn=Object.defineProperty,wr=Object.getOwnPropertyDescriptor,Nt="enumerable",Ue="configurable",Bt="writable";qn.f=Br?Vr?function(Xt,tr,Rr){if(lr(Xt),tr=gn(tr),lr(Rr),typeof Xt=="function"&&tr==="prototype"&&"value"in Rr&&Bt in Rr&&!Rr[Bt]){var on=wr(Xt,tr);on&&on[Bt]&&(Xt[tr]=Rr.value,Rr={configurable:Ue in Rr?Rr[Ue]:on[Ue],enumerable:Nt in Rr?Rr[Nt]:on[Nt],writable:!1})}return Qn(Xt,tr,Rr)}:Qn:function(Xt,tr,Rr){if(lr(Xt),tr=gn(tr),lr(Rr),Gt)try{return Qn(Xt,tr,Rr)}catch{}if("get"in Rr||"set"in Rr)throw zt("Accessors not supported");return"value"in Rr&&(Xt[tr]=Rr.value),Xt}}),dn=l((qn,Fr)=>{var Br=B(),Gt=yr(),Vr=Le();Fr.exports=Br?function(lr,gn,zt){return Gt.f(lr,gn,Vr(1,zt))}:function(lr,gn,zt){return lr[gn]=zt,lr}}),oi=l((qn,Fr)=>{var Br=je(),Gt=mr(),Vr=Tn(),lr=Br(Function.toString);Gt(Vr.inspectSource)||(Vr.inspectSource=function(gn){return lr(gn)}),Fr.exports=Vr.inspectSource}),Jn=l((qn,Fr)=>{var Br=f(),Gt=mr(),Vr=oi(),lr=Br.WeakMap;Fr.exports=Gt(lr)&&/native code/.test(Vr(lr))}),Un=l((qn,Fr)=>{var Br=we(),Gt=Sn(),Vr=Br("keys");Fr.exports=function(lr){return Vr[lr]||(Vr[lr]=Gt(lr))}}),li=l((qn,Fr)=>{Fr.exports={}}),ct=l((qn,Fr)=>{var Br=Jn(),Gt=f(),Vr=je(),lr=Ur(),gn=dn(),zt=ur(),Qn=Tn(),wr=Un(),Nt=li(),Ue="Object already initialized",Bt=Gt.TypeError,Xt=Gt.WeakMap,tr,Rr,on,Rt=function(et){return on(et)?Rr(et):tr(et,{})},Ie=function(et){return function(st){var yt;if(!lr(st)||(yt=Rr(st)).type!==et)throw Bt("Incompatible receiver, "+et+" required");return yt}};Br||Qn.state?(ce=Qn.state||(Qn.state=new Xt),de=Vr(ce.get),be=Vr(ce.has),Ee=Vr(ce.set),tr=function(et,st){if(be(ce,et))throw new Bt(Ue);return st.facade=et,Ee(ce,et,st),st},Rr=function(et){return de(ce,et)||{}},on=function(et){return be(ce,et)}):(He=wr("state"),Nt[He]=!0,tr=function(et,st){if(zt(et,He))throw new Bt(Ue);return st.facade=et,gn(et,He,st),st},Rr=function(et){return zt(et,He)?et[He]:{}},on=function(et){return zt(et,He)});var ce,de,be,Ee,He;Fr.exports={set:tr,get:Rr,has:on,enforce:Rt,getterFor:Ie}}),Ot=l((qn,Fr)=>{var Br=B(),Gt=ur(),Vr=Function.prototype,lr=Br&&Object.getOwnPropertyDescriptor,gn=Gt(Vr,"name"),zt=gn&&function(){}.name==="something",Qn=gn&&(!Br||Br&&lr(Vr,"name").configurable);Fr.exports={EXISTS:gn,PROPER:zt,CONFIGURABLE:Qn}}),Er=l((qn,Fr)=>{var Br=f(),Gt=mr(),Vr=ur(),lr=dn(),gn=Cr(),zt=oi(),Qn=ct(),wr=Ot().CONFIGURABLE,Nt=Qn.get,Ue=Qn.enforce,Bt=String(String).split("String");(Fr.exports=function(Xt,tr,Rr,on){var Rt=on?!!on.unsafe:!1,Ie=on?!!on.enumerable:!1,ce=on?!!on.noTargetGet:!1,de=on&&on.name!==void 0?on.name:tr,be;if(Gt(Rr)&&(String(de).slice(0,7)==="Symbol("&&(de="["+String(de).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Vr(Rr,"name")||wr&&Rr.name!==de)&&lr(Rr,"name",de),be=Ue(Rr),be.source||(be.source=Bt.join(typeof de=="string"?de:""))),Xt===Br){Ie?Xt[tr]=Rr:gn(tr,Rr);return}else Rt?!ce&&Xt[tr]&&(Ie=!0):delete Xt[tr];Ie?Xt[tr]=Rr:lr(Xt,tr,Rr)})(Function.prototype,"toString",function(){return Gt(this)&&Nt(this).source||zt(this)})}),sr=l((qn,Fr)=>{var Br=Math.ceil,Gt=Math.floor;Fr.exports=function(Vr){var lr=+Vr;return lr!==lr||lr===0?0:(lr>0?Gt:Br)(lr)}}),Jr=l((qn,Fr)=>{var Br=sr(),Gt=Math.max,Vr=Math.min;Fr.exports=function(lr,gn){var zt=Br(lr);return zt<0?Gt(zt+gn,0):Vr(zt,gn)}}),fn=l((qn,Fr)=>{var Br=sr(),Gt=Math.min;Fr.exports=function(Vr){return Vr>0?Gt(Br(Vr),9007199254740991):0}}),mn=l((qn,Fr)=>{var Br=fn();Fr.exports=function(Gt){return Br(Gt.length)}}),Fn=l((qn,Fr)=>{var Br=Qt(),Gt=Jr(),Vr=mn(),lr=function(gn){return function(zt,Qn,wr){var Nt=Br(zt),Ue=Vr(Nt),Bt=Gt(wr,Ue),Xt;if(gn&&Qn!=Qn){for(;Ue>Bt;)if(Xt=Nt[Bt++],Xt!=Xt)return!0}else for(;Ue>Bt;Bt++)if((gn||Bt in Nt)&&Nt[Bt]===Qn)return gn||Bt||0;return!gn&&-1}};Fr.exports={includes:lr(!0),indexOf:lr(!1)}}),hn=l((qn,Fr)=>{var Br=je(),Gt=ur(),Vr=Qt(),lr=Fn().indexOf,gn=li(),zt=Br([].push);Fr.exports=function(Qn,wr){var Nt=Vr(Qn),Ue=0,Bt=[],Xt;for(Xt in Nt)!Gt(gn,Xt)&&Gt(Nt,Xt)&&zt(Bt,Xt);for(;wr.length>Ue;)Gt(Nt,Xt=wr[Ue++])&&(~lr(Bt,Xt)||zt(Bt,Xt));return Bt}}),lt=l((qn,Fr)=>{Fr.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),br=l(qn=>{var Fr=hn(),Br=lt(),Gt=Br.concat("length","prototype");qn.f=Object.getOwnPropertyNames||function(Vr){return Fr(Vr,Gt)}}),Mt=l(qn=>{qn.f=Object.getOwnPropertySymbols}),jn=l((qn,Fr)=>{var Br=wt(),Gt=je(),Vr=br(),lr=Mt(),gn=Kr(),zt=Gt([].concat);Fr.exports=Br("Reflect","ownKeys")||function(Qn){var wr=Vr.f(gn(Qn)),Nt=lr.f;return Nt?zt(wr,Nt(Qn)):wr}}),Di=l((qn,Fr)=>{var Br=ur(),Gt=jn(),Vr=ts(),lr=yr();Fr.exports=function(gn,zt,Qn){for(var wr=Gt(zt),Nt=lr.f,Ue=Vr.f,Bt=0;Bt<wr.length;Bt++){var Xt=wr[Bt];!Br(gn,Xt)&&!(Qn&&Br(Qn,Xt))&&Nt(gn,Xt,Ue(zt,Xt))}}}),ns=l((qn,Fr)=>{var Br=v(),Gt=mr(),Vr=/#|\.prototype\./,lr=function(Nt,Ue){var Bt=zt[gn(Nt)];return Bt==wr?!0:Bt==Qn?!1:Gt(Ue)?Br(Ue):!!Ue},gn=lr.normalize=function(Nt){return String(Nt).replace(Vr,".").toLowerCase()},zt=lr.data={},Qn=lr.NATIVE="N",wr=lr.POLYFILL="P";Fr.exports=lr}),is=l((qn,Fr)=>{var Br=f(),Gt=ts().f,Vr=dn(),lr=Er(),gn=Cr(),zt=Di(),Qn=ns();Fr.exports=function(wr,Nt){var Ue=wr.target,Bt=wr.global,Xt=wr.stat,tr,Rr,on,Rt,Ie,ce;if(Bt?Rr=Br:Xt?Rr=Br[Ue]||gn(Ue,{}):Rr=(Br[Ue]||{}).prototype,Rr)for(on in Nt){if(Ie=Nt[on],wr.noTargetGet?(ce=Gt(Rr,on),Rt=ce&&ce.value):Rt=Rr[on],tr=Qn(Bt?on:Ue+(Xt?".":"#")+on,wr.forced),!tr&&Rt!==void 0){if(typeof Ie==typeof Rt)continue;zt(Ie,Rt)}(wr.sham||Rt&&Rt.sham)&&Vr(Ie,"sham",!0),lr(Rr,on,Ie,wr)}}}),ls=l(()=>{var qn=is(),Fr=f();qn({global:!0},{globalThis:Fr})}),zi=l(()=>{ls()}),Ls=l((qn,Fr)=>{zi();var Br=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Vr=Object.getOwnPropertyNames,lr=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},Qn=(T,ae)=>{for(var Z in ae)Br(T,Z,{get:ae[Z],enumerable:!0})},wr=(T,ae,Z,K)=>{if(ae&&typeof ae=="object"||typeof ae=="function")for(let oe of Vr(ae))!lr.call(T,oe)&&oe!==Z&&Br(T,oe,{get:()=>ae[oe],enumerable:!(K=Gt(ae,oe))||K.enumerable});return T},Nt=T=>wr(Br({},"__esModule",{value:!0}),T),Ue=gn({"<define:process>"(){}}),Bt=zt({"src/common/parser-create-error.js"(T,ae){Ue();function Z(K,oe){let Ae=new SyntaxError(K+" ("+oe.start.line+":"+oe.start.column+")");return Ae.loc=oe,Ae}ae.exports=Z}}),Xt=zt({"src/utils/get-last.js"(T,ae){Ue();var Z=K=>K[K.length-1];ae.exports=Z}}),tr=zt({"src/utils/front-matter/parse.js"(T,ae){Ue();var Z=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function K(oe){let Ae=oe.match(Z);if(!Ae)return{content:oe};let{startDelimiter:Te,language:De,value:ve="",endDelimiter:Se}=Ae.groups,P=De.trim()||"yaml";if(Te==="+++"&&(P="toml"),P!=="yaml"&&Te!==Se)return{content:oe};let[C]=Ae;return{frontMatter:{type:"front-matter",lang:P,value:ve,startDelimiter:Te,endDelimiter:Se,raw:C.replace(/\n$/,"")},content:C.replace(/[^\n]/g," ")+oe.slice(C.length)}}ae.exports=K}}),Rr={};Qn(Rr,{EOL:()=>tn,arch:()=>Vt,cpus:()=>Ee,default:()=>Pr,endianness:()=>on,freemem:()=>de,getNetworkInterfaces:()=>yt,hostname:()=>Rt,loadavg:()=>Ie,networkInterfaces:()=>st,platform:()=>nr,release:()=>et,tmpDir:()=>Tr,tmpdir:()=>Yr,totalmem:()=>be,type:()=>He,uptime:()=>ce});function on(){if(typeof zr>"u"){var T=new ArrayBuffer(2),ae=new Uint8Array(T),Z=new Uint16Array(T);if(ae[0]=1,ae[1]=2,Z[0]===258)zr="BE";else if(Z[0]===513)zr="LE";else throw new Error("unable to figure out endianess")}return zr}function Rt(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Ie(){return[]}function ce(){return 0}function de(){return Number.MAX_VALUE}function be(){return Number.MAX_VALUE}function Ee(){return[]}function He(){return"Browser"}function et(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function st(){}function yt(){}function Vt(){return"javascript"}function nr(){return"browser"}function Tr(){return"/tmp"}var zr,Yr,tn,Pr,kn=gn({"node-modules-polyfills:os"(){Ue(),Yr=Tr,tn=`
|
|
`,Pr={EOL:tn,tmpdir:Yr,tmpDir:Tr,networkInterfaces:st,getNetworkInterfaces:yt,release:et,type:He,cpus:Ee,totalmem:be,freemem:de,uptime:ce,loadavg:Ie,hostname:Rt,endianness:on}}}),pi=zt({"node-modules-polyfills-commonjs:os"(T,ae){Ue();var Z=(kn(),Nt(Rr));if(Z&&Z.default){ae.exports=Z.default;for(let K in Z)ae.exports[K]=Z[K]}else Z&&(ae.exports=Z)}}),yn=zt({"node_modules/detect-newline/index.js"(T,ae){Ue();var Z=K=>{if(typeof K!="string")throw new TypeError("Expected a string");let oe=K.match(/(?:\r?\n)/g)||[];if(oe.length===0)return;let Ae=oe.filter(De=>De===`\r
|
|
`).length,Te=oe.length-Ae;return Ae>Te?`\r
|
|
`:`
|
|
`};ae.exports=Z,ae.exports.graceful=K=>typeof K=="string"&&Z(K)||`
|
|
`}}),Ji=zt({"node_modules/jest-docblock/build/index.js"(T){Ue(),Object.defineProperty(T,"__esModule",{value:!0}),T.extract=Q,T.parse=ke,T.parseWithComments=Qe,T.print=ze,T.strip=Oe;function ae(){let bt=pi();return ae=function(){return bt},bt}function Z(){let bt=K(yn());return Z=function(){return bt},bt}function K(bt){return bt&&bt.__esModule?bt:{default:bt}}var oe=/\*\/$/,Ae=/^\/\*\*/,Te=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,De=/(^|\s+)\/\/([^\r\n]*)/g,ve=/^(\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,C=/(\r?\n|^) *\* ?/g,re=[];function Q(bt){let kt=bt.match(Te);return kt?kt[0].trimLeft():""}function Oe(bt){let kt=bt.match(Te);return kt&&kt[0]?bt.substring(kt[0].length):bt}function ke(bt){return Qe(bt).pragmas}function Qe(bt){let kt=(0,Z().default)(bt)||ae().EOL;bt=bt.replace(Ae,"").replace(oe,"").replace(C,"$1");let qt="";for(;qt!==bt;)qt=bt,bt=bt.replace(Se,"".concat(kt,"$1 $2").concat(kt));bt=bt.replace(ve,"").trimRight();let un=Object.create(null),Ln=bt.replace(P,"").replace(ve,"").trimRight(),zn;for(;zn=P.exec(bt);){let bi=zn[2].replace(De,"");typeof un[zn[1]]=="string"||Array.isArray(un[zn[1]])?un[zn[1]]=re.concat(un[zn[1]],bi):un[zn[1]]=bi}return{comments:Ln,pragmas:un}}function ze(bt){let{comments:kt="",pragmas:qt={}}=bt,un=(0,Z().default)(kt)||ae().EOL,Ln="/**",zn=" *",bi=" */",en=Object.keys(qt),_i=en.map(Ai=>_e(Ai,qt[Ai])).reduce((Ai,Dn)=>Ai.concat(Dn),[]).map(Ai=>zn+" "+Ai+un).join("");if(!kt){if(en.length===0)return"";if(en.length===1&&!Array.isArray(qt[en[0]])){let Ai=qt[en[0]];return"".concat(Ln," ").concat(_e(en[0],Ai)[0]).concat(bi)}}let mi=kt.split(un).map(Ai=>"".concat(zn," ").concat(Ai)).join(un)+un;return Ln+un+(kt?mi:"")+(kt&&en.length?zn+un:"")+_i+bi}function _e(bt,kt){return re.concat(kt).map(qt=>"@".concat(bt," ").concat(qt).trim())}}}),vi=zt({"src/common/end-of-line.js"(T,ae){Ue();function Z(Te){let De=Te.indexOf("\r");return De>=0?Te.charAt(De+1)===`
|
|
`?"crlf":"cr":"lf"}function K(Te){switch(Te){case"cr":return"\r";case"crlf":return`\r
|
|
`;default:return`
|
|
`}}function oe(Te,De){let ve;switch(De){case`
|
|
`:ve=/\n/g;break;case"\r":ve=/\r/g;break;case`\r
|
|
`:ve=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(De),"."))}let Se=Te.match(ve);return Se?Se.length:0}function Ae(Te){return Te.replace(/\r\n?/g,`
|
|
`)}ae.exports={guessEndOfLine:Z,convertEndOfLineToChars:K,countEndOfLineChars:oe,normalizeEndOfLine:Ae}}}),Xe=zt({"src/language-js/utils/get-shebang.js"(T,ae){Ue();function Z(K){if(!K.startsWith("#!"))return"";let oe=K.indexOf(`
|
|
`);return oe===-1?K:K.slice(0,oe)}ae.exports=Z}}),Ds=zt({"src/language-js/pragma.js"(T,ae){Ue();var{parseWithComments:Z,strip:K,extract:oe,print:Ae}=Ji(),{normalizeEndOfLine:Te}=vi(),De=Xe();function ve(C){let re=De(C);re&&(C=C.slice(re.length+1));let Q=oe(C),{pragmas:Oe,comments:ke}=Z(Q);return{shebang:re,text:C,pragmas:Oe,comments:ke}}function Se(C){let re=Object.keys(ve(C).pragmas);return re.includes("prettier")||re.includes("format")}function P(C){let{shebang:re,text:Q,pragmas:Oe,comments:ke}=ve(C),Qe=K(Q),ze=Ae({pragmas:Object.assign({format:""},Oe),comments:ke.trimStart()});return(re?"".concat(re,`
|
|
`):"")+Te(ze)+(Qe.startsWith(`
|
|
`)?`
|
|
`:`
|
|
|
|
`)+Qe}ae.exports={hasPragma:Se,insertPragma:P}}}),Li=zt({"src/language-css/pragma.js"(T,ae){Ue();var Z=Ds(),K=tr();function oe(Te){return Z.hasPragma(K(Te).content)}function Ae(Te){let{frontMatter:De,content:ve}=K(Te);return(De?De.raw+`
|
|
|
|
`:"")+Z.insertPragma(ve)}ae.exports={hasPragma:oe,insertPragma:Ae}}}),xi=zt({"src/utils/text/skip.js"(T,ae){Ue();function Z(De){return(ve,Se,P)=>{let C=P&&P.backwards;if(Se===!1)return!1;let{length:re}=ve,Q=Se;for(;Q>=0&&Q<re;){let Oe=ve.charAt(Q);if(De instanceof RegExp){if(!De.test(Oe))return Q}else if(!De.includes(Oe))return Q;C?Q--:Q++}return Q===-1||Q===re?Q:!1}}var K=Z(/\s/),oe=Z(" "),Ae=Z(",; "),Te=Z(/[^\n\r]/);ae.exports={skipWhitespace:K,skipSpaces:oe,skipToLineEnd:Ae,skipEverythingButNewLine:Te}}}),ti=zt({"src/utils/line-column-to-index.js"(T,ae){Ue(),ae.exports=function(Z,K){let oe=0;for(let Ae=0;Ae<Z.line-1;++Ae)oe=K.indexOf(`
|
|
`,oe)+1;return oe+Z.column}}}),Gn=zt({"src/language-css/loc.js"(T,ae){Ue();var{skipEverythingButNewLine:Z}=xi(),K=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&&K(Q.nodes);return ke&&Q.source&&!Q.source.end&&(Q=ke),Q.source&&Q.source.end?oe(Q.source.end,Oe):null}function De(Q,Oe){Q.source&&(Q.source.startOffset=Ae(Q,Oe),Q.source.endOffset=Te(Q,Oe));for(let ke in Q){let Qe=Q[ke];ke==="source"||!Qe||typeof Qe!="object"||(Qe.type==="value-root"||Qe.type==="value-unknown"?ve(Qe,Se(Q),Qe.text||Qe.value):De(Qe,Oe))}}function ve(Q,Oe,ke){Q.source&&(Q.source.startOffset=Ae(Q,ke)+Oe,Q.source.endOffset=Te(Q,ke)+Oe);for(let Qe in Q){let ze=Q[Qe];Qe==="source"||!ze||typeof ze!="object"||ve(ze,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",Qe,ze=!1,_e=[];for(let bt=0;bt<Q.length;bt++){let kt=Q[bt];switch(Oe){case"initial":if(kt==="'"){Oe="single-quotes";continue}if(kt==='"'){Oe="double-quotes";continue}if((kt==="u"||kt==="U")&&Q.slice(bt,bt+4).toLowerCase()==="url("){Oe="url",bt+=3;continue}if(kt==="*"&&Q[bt-1]==="/"){Oe="comment-block";continue}if(kt==="/"&&Q[bt-1]==="/"){Oe="comment-inline",Qe=bt-1;continue}continue;case"single-quotes":if(kt==="'"&&Q[bt-1]!=="\\"&&(Oe=ke,ke="initial"),kt===`
|
|
`||kt==="\r")return Q;continue;case"double-quotes":if(kt==='"'&&Q[bt-1]!=="\\"&&(Oe=ke,ke="initial"),kt===`
|
|
`||kt==="\r")return Q;continue;case"url":if(kt===")"&&(Oe="initial"),kt===`
|
|
`||kt==="\r")return Q;if(kt==="'"){Oe="single-quotes",ke="url";continue}if(kt==='"'){Oe="double-quotes",ke="url";continue}continue;case"comment-block":kt==="/"&&Q[bt-1]==="*"&&(Oe="initial");continue;case"comment-inline":(kt==='"'||kt==="'"||kt==="*")&&(ze=!0),(kt===`
|
|
`||kt==="\r")&&(ze&&_e.push([Qe,bt]),Oe="initial",ze=!1);continue}}for(let[bt,kt]of _e)Q=Q.slice(0,bt)+Q.slice(bt,kt).replace(/["'*]/g," ")+Q.slice(kt);return Q}function C(Q){return Q.source.startOffset}function re(Q){return Q.source.endOffset}ae.exports={locStart:C,locEnd:re,calculateLoc:De,replaceQuotesInInlineComments:P}}}),$s=zt({"src/utils/is-non-empty-array.js"(T,ae){Ue();function Z(K){return Array.isArray(K)&&K.length>0}ae.exports=Z}}),js=zt({"src/language-css/utils/has-scss-interpolation.js"(T,ae){Ue();var Z=$s();function K(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=K}}),S=zt({"src/language-css/utils/has-string-or-function.js"(T,ae){Ue();function Z(K){return K.some(oe=>oe.type==="string"||oe.type==="func")}ae.exports=Z}}),Je=zt({"src/language-css/utils/is-less-parser.js"(T,ae){Ue();function Z(K){return K.parser==="css"||K.parser==="less"}ae.exports=Z}}),Mr=zt({"src/language-css/utils/is-scss.js"(T,ae){Ue();function Z(K,oe){return K==="less"||K==="scss"?K==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(oe)}ae.exports=Z}}),sn=zt({"src/language-css/utils/is-scss-nested-property-node.js"(T,ae){Ue();function Z(K){return K.selector?K.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":"):!1}ae.exports=Z}}),ci=zt({"src/language-css/utils/is-scss-variable.js"(T,ae){Ue();function Z(K){return Boolean((K==null?void 0:K.type)==="word"&&K.value.startsWith("$"))}ae.exports=Z}}),ss=zt({"src/language-css/utils/stringify-node.js"(T,ae){Ue();function Z(K){var oe,Ae,Te;if(K.groups){var De,ve,Se;let ze=((De=K.open)===null||De===void 0?void 0:De.value)||"",_e=K.groups.map(kt=>Z(kt)).join(((ve=K.groups[0])===null||ve===void 0?void 0:ve.type)==="comma_group"?",":""),bt=((Se=K.close)===null||Se===void 0?void 0:Se.value)||"";return ze+_e+bt}let P=((oe=K.raws)===null||oe===void 0?void 0:oe.before)||"",C=((Ae=K.raws)===null||Ae===void 0?void 0:Ae.quote)||"",re=K.type==="atword"?"@":"",Q=K.value||"",Oe=K.unit||"",ke=K.group?Z(K.group):"",Qe=((Te=K.raws)===null||Te===void 0?void 0:Te.after)||"";return P+C+re+Q+C+Oe+ke+Qe}ae.exports=Z}}),Zi=zt({"src/language-css/utils/is-module-rule-name.js"(T,ae){Ue();var Z=new Set(["import","use","forward"]);function K(oe){return Z.has(oe)}ae.exports=K}}),ni=zt({"node_modules/postcss-values-parser/lib/node.js"(T,ae){Ue();var Z=function(K,oe){let Ae=new K.constructor;for(let Te in K){if(!K.hasOwnProperty(Te))continue;let De=K[Te],ve=typeof De;Te==="parent"&&ve==="object"?oe&&(Ae[Te]=oe):Te==="source"?Ae[Te]=De:De instanceof Array?Ae[Te]=De.map(Se=>Z(Se,Ae)):Te!=="before"&&Te!=="after"&&Te!=="between"&&Te!=="semicolon"&&(ve==="object"&&De!==null&&(De=Z(De)),Ae[Te]=De)}return Ae};ae.exports=class{constructor(K){K=K||{},this.raws={before:"",after:""};for(let oe in K)this[oe]=K[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(K){K=K||{};let oe=Z(this);for(let Ae in K)oe[Ae]=K[Ae];return oe}cloneBefore(K){K=K||{};let oe=this.clone(K);return this.parent.insertBefore(this,oe),oe}cloneAfter(K){K=K||{};let oe=this.clone(K);return this.parent.insertAfter(this,oe),oe}replaceWith(){let K=Array.prototype.slice.call(arguments);if(this.parent){for(let oe of K)this.parent.insertBefore(this,oe);this.remove()}return this}moveTo(K){return this.cleanRaws(this.root()===K.root()),this.remove(),K.append(this),this}moveBefore(K){return this.cleanRaws(this.root()===K.root()),this.remove(),K.parent.insertBefore(K,this),this}moveAfter(K){return this.cleanRaws(this.root()===K.root()),this.remove(),K.parent.insertAfter(K,this),this}next(){let K=this.parent.index(this);return this.parent.nodes[K+1]}prev(){let K=this.parent.index(this);return this.parent.nodes[K-1]}toJSON(){let K={};for(let oe in this){if(!this.hasOwnProperty(oe)||oe==="parent")continue;let Ae=this[oe];Ae instanceof Array?K[oe]=Ae.map(Te=>typeof Te=="object"&&Te.toJSON?Te.toJSON():Te):typeof Ae=="object"&&Ae.toJSON?K[oe]=Ae.toJSON():K[oe]=Ae}return K}root(){let K=this;for(;K.parent;)K=K.parent;return K}cleanRaws(K){delete this.raws.before,delete this.raws.after,K||delete this.raws.between}positionInside(K){let oe=this.toString(),Ae=this.source.start.column,Te=this.source.start.line;for(let De=0;De<K;De++)oe[De]===`
|
|
`?(Ae=1,Te+=1):Ae+=1;return{line:Te,column:Ae}}positionBy(K){let oe=this.source.start;if(Object(K).index)oe=this.positionInside(K.index);else if(Object(K).word){let Ae=this.toString().indexOf(K.word);Ae!==-1&&(oe=this.positionInside(Ae))}return oe}}}}),qs=zt({"node_modules/postcss-values-parser/lib/container.js"(T,ae){Ue();var Z=ni(),K=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,De;if(this.indexes[Ae]=0,!!this.nodes){for(;this.indexes[Ae]<this.nodes.length&&(Te=this.indexes[Ae],De=oe(this.nodes[Te],Te),De!==!1);)this.indexes[Ae]+=1;return delete this.indexes[Ae],De}}walk(oe){return this.each((Ae,Te)=>{let De=oe(Ae,Te);return De!==!1&&Ae.walk&&(De=Ae.walk(oe)),De})}walkType(oe,Ae){if(!oe||!Ae)throw new Error("Parameters {type} and {callback} are required.");let Te=typeof oe=="function";return this.walk((De,ve)=>{if(Te&&De instanceof oe||!Te&&De.type===oe)return Ae.call(this,De,ve)})}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),De;this.nodes.splice(Te+1,0,Ae);for(let ve in this.indexes)De=this.indexes[ve],Te<=De&&(this.indexes[ve]=De+this.nodes.length);return this}insertBefore(oe,Ae){let Te=this.index(oe),De;this.nodes.splice(Te,0,Ae);for(let ve in this.indexes)De=this.indexes[ve],Te<=De&&(this.indexes[ve]=De+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}};K.registerWalker=oe=>{let Ae="walk"+oe.name;Ae.lastIndexOf("s")!==Ae.length-1&&(Ae+="s"),!K.prototype[Ae]&&(K.prototype[Ae]=function(Te){return this.walkType(oe,Te)})},ae.exports=K}}),Jo=zt({"node_modules/postcss-values-parser/lib/root.js"(T,ae){Ue();var Z=qs();ae.exports=class extends Z{constructor(K){super(K),this.type="root"}}}}),Oo=zt({"node_modules/postcss-values-parser/lib/value.js"(T,ae){Ue();var Z=qs();ae.exports=class extends Z{constructor(K){super(K),this.type="value",this.unbalanced=0}}}}),ja=zt({"node_modules/postcss-values-parser/lib/atword.js"(T,ae){Ue();var Z=qs(),K=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(K),ae.exports=K}}),mu=zt({"node_modules/postcss-values-parser/lib/colon.js"(T,ae){Ue();var Z=qs(),K=ni(),oe=class extends K{constructor(Ae){super(Ae),this.type="colon"}};Z.registerWalker(oe),ae.exports=oe}}),gu=zt({"node_modules/postcss-values-parser/lib/comma.js"(T,ae){Ue();var Z=qs(),K=ni(),oe=class extends K{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){Ue();var Z=qs(),K=ni(),oe=class extends K{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){Ue();var Z=qs(),K=class extends Z{constructor(oe){super(oe),this.type="func",this.unbalanced=-1}};Z.registerWalker(K),ae.exports=K}}),Ko=zt({"node_modules/postcss-values-parser/lib/number.js"(T,ae){Ue();var Z=qs(),K=ni(),oe=class extends K{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}}),yu=zt({"node_modules/postcss-values-parser/lib/operator.js"(T,ae){Ue();var Z=qs(),K=ni(),oe=class extends K{constructor(Ae){super(Ae),this.type="operator"}};Z.registerWalker(oe),ae.exports=oe}}),Du=zt({"node_modules/postcss-values-parser/lib/paren.js"(T,ae){Ue();var Z=qs(),K=ni(),oe=class extends K{constructor(Ae){super(Ae),this.type="paren",this.parenType=""}};Z.registerWalker(oe),ae.exports=oe}}),Qo=zt({"node_modules/postcss-values-parser/lib/string.js"(T,ae){Ue();var Z=qs(),K=ni(),oe=class extends K{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}}),Iu=zt({"node_modules/postcss-values-parser/lib/word.js"(T,ae){Ue();var Z=qs(),K=ni(),oe=class extends K{constructor(Ae){super(Ae),this.type="word"}};Z.registerWalker(oe),ae.exports=oe}}),vu=zt({"node_modules/postcss-values-parser/lib/unicode-range.js"(T,ae){Ue();var Z=qs(),K=ni(),oe=class extends K{constructor(Ae){super(Ae),this.type="unicode-range"}};Z.registerWalker(oe),ae.exports=oe}});function Ti(){throw new Error("setTimeout has not been defined")}function Ou(){throw new Error("clearTimeout has not been defined")}function Lu(T){if(_a===setTimeout)return setTimeout(T,0);if((_a===Ti||!_a)&&setTimeout)return _a=setTimeout,setTimeout(T,0);try{return _a(T,0)}catch{try{return _a.call(null,T,0)}catch{return _a.call(this,T,0)}}}function Xa(T){if(Ws===clearTimeout)return clearTimeout(T);if((Ws===Ou||!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 il(){!Ta||!Ja||(Ta=!1,Ja.length?fa=Ja.concat(fa):Ia=-1,fa.length&&Mu())}function Mu(){if(!Ta){var T=Lu(il);Ta=!0;for(var ae=fa.length;ae;){for(Ja=fa,fa=[];++Ia<ae;)Ja&&Ja[Ia].run();Ia=-1,ae=fa.length}Ja=null,Ta=!1,Xa(T)}}function xu(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 Lo(T,ae)),fa.length===1&&!Ta&&Lu(Mu)}function Lo(T,ae){this.fun=T,this.array=ae}function Ba(){}function sl(T){throw new Error("process.binding is not supported")}function ju(){return"/"}function al(T){throw new Error("process.chdir is not supported")}function Ru(){return 0}function ol(T){var ae=ii.call(ri)*.001,Z=Math.floor(ae),K=Math.floor(ae%1*1e9);return T&&(Z=Z-T[0],K=K-T[1],K<0&&(Z--,K+=1e9)),[Z,K]}function Cu(){var T=new Date,ae=T-ei;return ae/1e3}var _a,Ws,fa,Ta,Ja,Ia,Yo,Mo,Ki,Eu,Sa,Zo,bu,Co,eu,Ra,go,Wn,Cn,vn,nn,pn,ri,ii,ei,Ci,qi,Qi=gn({"node-modules-polyfills:process"(){Ue(),_a=Ti,Ws=Ou,typeof globalThis.setTimeout=="function"&&(_a=setTimeout),typeof globalThis.clearTimeout=="function"&&(Ws=clearTimeout),fa=[],Ta=!1,Ia=-1,Lo.prototype.run=function(){this.fun.apply(null,this.array)},Yo="browser",Mo="browser",Ki=!0,Eu={},Sa=[],Zo="",bu={},Co={},eu={},Ra=Ba,go=Ba,Wn=Ba,Cn=Ba,vn=Ba,nn=Ba,pn=Ba,ri=globalThis.performance||{},ii=ri.now||ri.mozNow||ri.msNow||ri.oNow||ri.webkitNow||function(){return new Date().getTime()},ei=new Date,Ci={nextTick:xu,title:Yo,browser:Ki,env:Eu,argv:Sa,version:Zo,versions:bu,on:Ra,addListener:go,once:Wn,off:Cn,removeListener:vn,removeAllListeners:nn,emit:pn,binding:sl,cwd:ju,chdir:al,umask:Ru,hrtime:ol,platform:Mo,release:Co,config:eu,uptime:Cu},qi=Ci}}),Yn,Mi,as=gn({"node_modules/rollup-plugin-node-polyfills/polyfills/inherits.js"(){Ue(),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},Mi=Yn}}),ji={};Qn(ji,{_extend:()=>Ui,debuglog:()=>Gi,default:()=>vs,deprecate:()=>da,format:()=>ws,inherits:()=>Mi,inspect:()=>Oi,isArray:()=>rt,isBoolean:()=>Dt,isBuffer:()=>qr,isDate:()=>_t,isError:()=>ir,isFunction:()=>$r,isNull:()=>Tt,isNullOrUndefined:()=>Kt,isNumber:()=>ut,isObject:()=>at,isPrimitive:()=>Nr,isRegExp:()=>Nn,isString:()=>vt,isSymbol:()=>Lt,isUndefined:()=>Jt,log:()=>On});function ws(T){if(!vt(T)){for(var ae=[],Z=0;Z<arguments.length;Z++)ae.push(Oi(arguments[Z]));return ae.join(" ")}for(var Z=1,K=arguments,oe=K.length,Ae=String(T).replace(cn,function(ve){if(ve==="%%")return"%";if(Z>=oe)return ve;switch(ve){case"%s":return String(K[Z++]);case"%d":return Number(K[Z++]);case"%j":try{return JSON.stringify(K[Z++])}catch{return"[Circular]"}default:return ve}}),Te=K[Z];Z<oe;Te=K[++Z])Tt(Te)||!at(Te)?Ae+=" "+Te:Ae+=" "+Oi(Te);return Ae}function da(T,ae){if(Jt(globalThis.process))return function(){return da(T,ae).apply(this,arguments)};if(qi.noDeprecation===!0)return T;var Z=!1;function K(){if(!Z){if(qi.throwDeprecation)throw new Error(ae);qi.traceDeprecation?console.trace(ae):console.error(ae),Z=!0}return T.apply(this,arguments)}return K}function Gi(T){if(Jt(Fi)&&(Fi=qi.env.NODE_DEBUG||""),T=T.toUpperCase(),!Ei[T])if(new RegExp("\\b"+T+"\\b","i").test(Fi)){var ae=0;Ei[T]=function(){var Z=ws.apply(null,arguments);console.error("%s %d: %s",T,ae,Z)}}else Ei[T]=function(){};return Ei[T]}function Oi(T,ae){var Z={seen:[],stylize:Xs};return arguments.length>=3&&(Z.depth=arguments[2]),arguments.length>=4&&(Z.colors=arguments[3]),Dt(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=Oi.styles[ae];return Z?"\x1B["+Oi.colors[Z][0]+"m"+T+"\x1B["+Oi.colors[Z][1]+"m":T}function Xs(T,ae){return T}function Oa(T){var ae={};return T.forEach(function(Z,K){ae[Z]=!0}),ae}function Is(T,ae,Z){if(T.customInspect&&ae&&$r(ae.inspect)&&ae.inspect!==Oi&&!(ae.constructor&&ae.constructor.prototype===ae)){var K=ae.inspect(Z,T);return vt(K)||(K=Is(T,K,Z)),K}var oe=Rs(T,ae);if(oe)return oe;var Ae=Object.keys(ae),Te=Oa(Ae);if(T.showHidden&&(Ae=Object.getOwnPropertyNames(ae)),ir(ae)&&(Ae.indexOf("message")>=0||Ae.indexOf("description")>=0))return ra(ae);if(Ae.length===0){if($r(ae)){var De=ae.name?": "+ae.name:"";return T.stylize("[Function"+De+"]","special")}if(Nn(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 ra(ae)}var ve="",Se=!1,P=["{","}"];if(rt(ae)&&(Se=!0,P=["[","]"]),$r(ae)){var C=ae.name?": "+ae.name:"";ve=" [Function"+C+"]"}if(Nn(ae)&&(ve=" "+RegExp.prototype.toString.call(ae)),_t(ae)&&(ve=" "+Date.prototype.toUTCString.call(ae)),ir(ae)&&(ve=" "+ra(ae)),Ae.length===0&&(!Se||ae.length==0))return P[0]+ve+P[1];if(Z<0)return Nn(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 Si(T,ae,Z,Te,Q,Se)}),T.seen.pop(),ie(re,ve,P)}function Rs(T,ae){if(Jt(ae))return T.stylize("undefined","undefined");if(vt(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(Dt(ae))return T.stylize(""+ae,"boolean");if(Tt(ae))return T.stylize("null","null")}function ra(T){return"["+Error.prototype.toString.call(T)+"]"}function ms(T,ae,Z,K,oe){for(var Ae=[],Te=0,De=ae.length;Te<De;++Te)ps(ae,String(Te))?Ae.push(Si(T,ae,Z,K,String(Te),!0)):Ae.push("");return oe.forEach(function(ve){ve.match(/^\d+$/)||Ae.push(Si(T,ae,Z,K,ve,!0))}),Ae}function Si(T,ae,Z,K,oe,Ae){var Te,De,ve;if(ve=Object.getOwnPropertyDescriptor(ae,oe)||{value:ae[oe]},ve.get?ve.set?De=T.stylize("[Getter/Setter]","special"):De=T.stylize("[Getter]","special"):ve.set&&(De=T.stylize("[Setter]","special")),ps(K,oe)||(Te="["+oe+"]"),De||(T.seen.indexOf(ve.value)<0?(Tt(Z)?De=Is(T,ve.value,null):De=Is(T,ve.value,Z-1),De.indexOf(`
|
|
`)>-1&&(Ae?De=De.split(`
|
|
`).map(function(Se){return" "+Se}).join(`
|
|
`).substr(2):De=`
|
|
`+De.split(`
|
|
`).map(function(Se){return" "+Se}).join(`
|
|
`))):De=T.stylize("[Circular]","special")),Jt(Te)){if(Ae&&oe.match(/^\d+$/))return De;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+": "+De}function ie(T,ae,Z){var K=0,oe=T.reduce(function(Ae,Te){return K++,Te.indexOf(`
|
|
`)>=0&&K++,Ae+Te.replace(/\u001b\[\d\d?m/g,"").length+1},0);return oe>60?Z[0]+(ae===""?"":ae+`
|
|
`)+" "+T.join(`,
|
|
`)+" "+Z[1]:Z[0]+ae+" "+T.join(", ")+" "+Z[1]}function rt(T){return Array.isArray(T)}function Dt(T){return typeof T=="boolean"}function Tt(T){return T===null}function Kt(T){return T==null}function ut(T){return typeof T=="number"}function vt(T){return typeof T=="string"}function Lt(T){return typeof T=="symbol"}function Jt(T){return T===void 0}function Nn(T){return at(T)&&Or(T)==="[object RegExp]"}function at(T){return typeof T=="object"&&T!==null}function _t(T){return at(T)&&Or(T)==="[object Date]"}function ir(T){return at(T)&&(Or(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 Or(T){return Object.prototype.toString.call(T)}function Bn(T){return T<10?"0"+T.toString(10):T.toString(10)}function _n(){var T=new Date,ae=[Bn(T.getHours()),Bn(T.getMinutes()),Bn(T.getSeconds())].join(":");return[T.getDate(),os[T.getMonth()],ae].join(" ")}function On(){console.log("%s - %s",_n(),ws.apply(null,arguments))}function Ui(T,ae){if(!ae||!at(ae))return T;for(var Z=Object.keys(ae),K=Z.length;K--;)T[Z[K]]=ae[Z[K]];return T}function ps(T,ae){return Object.prototype.hasOwnProperty.call(T,ae)}var cn,Ei,Fi,os,vs,Ke=gn({"node-modules-polyfills:util"(){Ue(),Qi(),as(),cn=/%[sdj%]/g,Ei={},Oi.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]},Oi.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"],vs={inherits:Mi,_extend:Ui,log:On,isBuffer:qr,isPrimitive:Nr,isFunction:$r,isError:ir,isDate:_t,isObject:at,isRegExp:Nn,isUndefined:Jt,isSymbol:Lt,isString:vt,isNumber:ut,isNullOrUndefined:Kt,isNull:Tt,isBoolean:Dt,isArray:rt,inspect:Oi,deprecate:da,format:ws,debuglog:Gi}}}),mt=zt({"node-modules-polyfills-commonjs:util"(T,ae){Ue();var Z=(Ke(),Nt(ji));if(Z&&Z.default){ae.exports=Z.default;for(let K in Z)ae.exports[K]=Z[K]}else Z&&(ae.exports=Z)}}),Hr=zt({"node_modules/postcss-values-parser/lib/errors/TokenizeError.js"(T,ae){Ue();var Z=class extends Error{constructor(K){super(K),this.name=this.constructor.name,this.message=K||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(K).stack}};ae.exports=Z}}),hr=zt({"node_modules/postcss-values-parser/lib/tokenize.js"(T,ae){Ue();var Z="{".charCodeAt(0),K="}".charCodeAt(0),oe="(".charCodeAt(0),Ae=")".charCodeAt(0),Te="'".charCodeAt(0),De='"'.charCodeAt(0),ve="\\".charCodeAt(0),Se="/".charCodeAt(0),P=".".charCodeAt(0),C=",".charCodeAt(0),re=":".charCodeAt(0),Q="*".charCodeAt(0),Oe="-".charCodeAt(0),ke="+".charCodeAt(0),Qe="#".charCodeAt(0),ze=`
|
|
`.charCodeAt(0),_e=" ".charCodeAt(0),bt="\f".charCodeAt(0),kt=" ".charCodeAt(0),qt="\r".charCodeAt(0),un="@".charCodeAt(0),Ln="e".charCodeAt(0),zn="E".charCodeAt(0),bi="0".charCodeAt(0),en="9".charCodeAt(0),_i="u".charCodeAt(0),mi="U".charCodeAt(0),Ai=/[ \n\t\r\{\(\)'"\\;,/]/g,Dn=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,Gr=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,xn=/^[a-z0-9]/i,Lr=/^[a-f0-9?\-]/i,Vs=mt(),Es=Hr();ae.exports=function(es,rs){rs=rs||{};let Wi=[],Zn=es.valueOf(),Ri=Zn.length,ki=-1,Pi=1,Ht=0,vr=0,Ir=null,In,Ut,ui,Xn,na,ia,Os,Aa,va,Zs,Ma;function sa(ea){let aa=Vs.format("Unclosed %s at line: %d, column: %d, token: %d",ea,Pi,Ht-ki,Ht);throw new Es(aa)}for(;Ht<Ri;){switch(In=Zn.charCodeAt(Ht),In===ze&&(ki=Ht,Pi+=1),In){case ze:case _e:case kt:case qt:case bt:Ut=Ht;do Ut+=1,In=Zn.charCodeAt(Ut),In===ze&&(ki=Ut,Pi+=1);while(In===_e||In===ze||In===kt||In===qt||In===bt);Wi.push(["space",Zn.slice(Ht,Ut),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut-1;break;case re:Ut=Ht+1,Wi.push(["colon",Zn.slice(Ht,Ut),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut-1;break;case C:Ut=Ht+1,Wi.push(["comma",Zn.slice(Ht,Ut),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut-1;break;case Z:Wi.push(["{","{",Pi,Ht-ki,Pi,Ut-ki,Ht]);break;case K:Wi.push(["}","}",Pi,Ht-ki,Pi,Ut-ki,Ht]);break;case oe:vr++,Ir=!Ir&&vr===1&&Wi.length>0&&Wi[Wi.length-1][0]==="word"&&Wi[Wi.length-1][1]==="url",Wi.push(["(","(",Pi,Ht-ki,Pi,Ut-ki,Ht]);break;case Ae:vr--,Ir=Ir&&vr>0,Wi.push([")",")",Pi,Ht-ki,Pi,Ut-ki,Ht]);break;case Te:case De:ui=In===Te?"'":'"',Ut=Ht;do for(va=!1,Ut=Zn.indexOf(ui,Ut+1),Ut===-1&&sa("quote"),Zs=Ut;Zn.charCodeAt(Zs-1)===ve;)Zs-=1,va=!va;while(va);Wi.push(["string",Zn.slice(Ht,Ut+1),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut;break;case un:Ai.lastIndex=Ht+1,Ai.test(Zn),Ai.lastIndex===0?Ut=Zn.length-1:Ut=Ai.lastIndex-2,Wi.push(["atword",Zn.slice(Ht,Ut+1),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut;break;case ve:Ut=Ht,In=Zn.charCodeAt(Ut+1),Wi.push(["word",Zn.slice(Ht,Ut+1),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut;break;case ke:case Oe:case Q:if(Ut=Ht+1,Ma=Zn.slice(Ht+1,Ut+1),Zn.slice(Ht-1,Ht),In===Oe&&Ma.charCodeAt(0)===Oe){Ut++,Wi.push(["word",Zn.slice(Ht,Ut),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut-1;break}Wi.push(["operator",Zn.slice(Ht,Ut),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut-1;break;default:if(In===Se&&(Zn.charCodeAt(Ht+1)===Q||rs.loose&&!Ir&&Zn.charCodeAt(Ht+1)===Se)){if(Zn.charCodeAt(Ht+1)===Q)Ut=Zn.indexOf("*/",Ht+2)+1,Ut===0&&sa("comment");else{let ea=Zn.indexOf(`
|
|
`,Ht+2);Ut=ea!==-1?ea-1:Ri}ia=Zn.slice(Ht,Ut+1),Xn=ia.split(`
|
|
`),na=Xn.length-1,na>0?(Os=Pi+na,Aa=Ut-Xn[na].length):(Os=Pi,Aa=ki),Wi.push(["comment",ia,Pi,Ht-ki,Os,Ut-Aa,Ht]),ki=Aa,Pi=Os,Ht=Ut}else if(In===Qe&&!xn.test(Zn.slice(Ht+1,Ht+2)))Ut=Ht+1,Wi.push(["#",Zn.slice(Ht,Ut),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut-1;else if((In===_i||In===mi)&&Zn.charCodeAt(Ht+1)===ke){Ut=Ht+2;do Ut+=1,In=Zn.charCodeAt(Ut);while(Ut<Ri&&Lr.test(Zn.slice(Ut,Ut+1)));Wi.push(["unicoderange",Zn.slice(Ht,Ut),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut-1}else if(In===Se)Ut=Ht+1,Wi.push(["operator",Zn.slice(Ht,Ut),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut-1;else{let ea=Dn;if(In>=bi&&In<=en&&(ea=Gr),ea.lastIndex=Ht+1,ea.test(Zn),ea.lastIndex===0?Ut=Zn.length-1:Ut=ea.lastIndex-2,ea===Gr||In===P){let aa=Zn.charCodeAt(Ut),kl=Zn.charCodeAt(Ut+1),Ku=Zn.charCodeAt(Ut+2);(aa===Ln||aa===zn)&&(kl===Oe||kl===ke)&&Ku>=bi&&Ku<=en&&(Gr.lastIndex=Ut+2,Gr.test(Zn),Gr.lastIndex===0?Ut=Zn.length-1:Ut=Gr.lastIndex-2)}Wi.push(["word",Zn.slice(Ht,Ut+1),Pi,Ht-ki,Pi,Ut-ki,Ht]),Ht=Ut}break}Ht++}return Wi}}}),En=zt({"node_modules/flatten/index.js"(T,ae){Ue(),ae.exports=function(Z,K){if(K=typeof K=="number"?K:1/0,!K)return Array.isArray(Z)?Z.map(function(Ae){return Ae}):Z;return oe(Z,1);function oe(Ae,Te){return Ae.reduce(function(De,ve){return Array.isArray(ve)&&Te<K?De.concat(oe(ve,Te+1)):De.concat(ve)},[])}}}}),$i=zt({"node_modules/indexes-of/index.js"(T,ae){Ue(),ae.exports=function(Z,K){for(var oe=-1,Ae=[];(oe=Z.indexOf(K,oe+1))!==-1;)Ae.push(oe);return Ae}}}),xs=zt({"node_modules/uniq/uniq.js"(T,ae){Ue();function Z(Ae,Te){for(var De=1,ve=Ae.length,Se=Ae[0],P=Ae[0],C=1;C<ve;++C)if(P=Se,Se=Ae[C],Te(Se,P)){if(C===De){De++;continue}Ae[De++]=Se}return Ae.length=De,Ae}function K(Ae){for(var Te=1,De=Ae.length,ve=Ae[0],Se=Ae[0],P=1;P<De;++P,Se=ve)if(Se=ve,ve=Ae[P],ve!==Se){if(P===Te){Te++;continue}Ae[Te++]=ve}return Ae.length=Te,Ae}function oe(Ae,Te,De){return Ae.length===0?Ae:Te?(De||Ae.sort(Te),Z(Ae,Te)):(De||Ae.sort(),K(Ae))}ae.exports=oe}}),Us=zt({"node_modules/postcss-values-parser/lib/errors/ParserError.js"(T,ae){Ue();var Z=class extends Error{constructor(K){super(K),this.name=this.constructor.name,this.message=K||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(K).stack}};ae.exports=Z}}),zs=zt({"node_modules/postcss-values-parser/lib/parser.js"(T,ae){Ue();var Z=Jo(),K=Oo(),oe=ja(),Ae=mu(),Te=gu(),De=fo(),ve=mo(),Se=Ko(),P=yu(),C=Du(),re=Qo(),Q=Iu(),Oe=vu(),ke=hr(),Qe=En(),ze=$i(),_e=xs(),bt=Us();function kt(qt){return qt.sort((un,Ln)=>un-Ln)}ae.exports=class{constructor(qt,un){let Ln={loose:!1};this.cache=[],this.input=qt,this.options=Object.assign({},Ln,un),this.position=0,this.unbalanced=0,this.root=new Z;let zn=new K;this.root.append(zn),this.current=zn,this.tokens=ke(qt,this.options)}parse(){return this.loop()}colon(){let qt=this.currToken;this.newNode(new Ae({value:qt[1],source:{start:{line:qt[2],column:qt[3]},end:{line:qt[4],column:qt[5]}},sourceIndex:qt[6]})),this.position++}comma(){let qt=this.currToken;this.newNode(new Te({value:qt[1],source:{start:{line:qt[2],column:qt[3]},end:{line:qt[4],column:qt[5]}},sourceIndex:qt[6]})),this.position++}comment(){let qt=!1,un=this.currToken[1].replace(/\/\*|\*\//g,""),Ln;this.options.loose&&un.startsWith("//")&&(un=un.substring(2),qt=!0),Ln=new De({value:un,inline:qt,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(Ln),this.position++}error(qt,un){throw new bt(qt+" 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 qt=this.currToken[1],un;if(qt==="+"||qt==="-"){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 qt=1,un=this.position+1,Ln=this.currToken,zn;for(;un<this.tokens.length&&qt;){let bi=this.tokens[un];bi[0]==="("&&qt++,bi[0]===")"&&qt--,un++}if(qt&&this.error("Expected closing parenthesis",Ln),zn=this.current.last,zn&&zn.type==="func"&&zn.unbalanced<0&&(zn.unbalanced=0,this.current=zn),this.current.unbalanced++,this.newNode(new C({value:Ln[1],source:{start:{line:Ln[2],column:Ln[3]},end:{line:Ln[4],column:Ln[5]}},sourceIndex:Ln[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],_i={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:_i,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let qt=this.currToken;this.newNode(new C({value:qt[1],source:{start:{line:qt[2],column:qt[3]},end:{line:qt[4],column:qt[5]}},sourceIndex:qt[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",qt),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let qt=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=qt[1],this.position++):(this.spaces=qt[1],this.position++)}unicodeRange(){let qt=this.currToken;this.newNode(new Oe({value:qt[1],source:{start:{line:qt[2],column:qt[3]},end:{line:qt[4],column:qt[5]}},sourceIndex:qt[6]})),this.position++}splitWord(){let qt=this.nextToken,un=this.currToken[1],Ln=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,zn=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,bi,en;if(!zn.test(un))for(;qt&&qt[0]==="word";)this.position++,un+=this.currToken[1],qt=this.nextToken;bi=ze(un,"@"),en=kt(_e(Qe([[0],bi]))),en.forEach((_i,mi)=>{let Ai=en[mi+1]||un.length,Dn=un.slice(_i,Ai),Gr;if(~bi.indexOf(_i))Gr=new oe({value:Dn.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+_i},end:{line:this.currToken[4],column:this.currToken[3]+(Ai-1)}},sourceIndex:this.currToken[6]+en[mi]});else if(Ln.test(this.currToken[1])){let xn=Dn.replace(Ln,"");Gr=new Se({value:Dn.replace(xn,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+_i},end:{line:this.currToken[4],column:this.currToken[3]+(Ai-1)}},sourceIndex:this.currToken[6]+en[mi],unit:xn})}else Gr=new(qt&&qt[0]==="("?ve:Q)({value:Dn,source:{start:{line:this.currToken[2],column:this.currToken[3]+_i},end:{line:this.currToken[4],column:this.currToken[3]+(Ai-1)}},sourceIndex:this.currToken[6]+en[mi]}),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 qt=this.currToken,un=this.currToken[1],Ln=/^(\"|\')/,zn=Ln.test(un),bi="",en;zn&&(bi=un.match(Ln)[0],un=un.slice(1,un.length-1)),en=new re({value:un,source:{start:{line:qt[2],column:qt[3]},end:{line:qt[4],column:qt[5]}},sourceIndex:qt[6],quoted:zn}),en.raws.quote=bi,this.newNode(en),this.position++}word(){return this.splitWord()}newNode(qt){return this.spaces&&(qt.raws.before+=this.spaces,this.spaces=""),this.current.append(qt)}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){Ue();var Z=zs(),K=ja(),oe=mu(),Ae=gu(),Te=fo(),De=mo(),ve=Ko(),Se=yu(),P=Du(),C=Qo(),re=vu(),Q=Oo(),Oe=Iu(),ke=function(Qe,ze){return new Z(Qe,ze)};ke.atword=function(Qe){return new K(Qe)},ke.colon=function(Qe){return new oe(Object.assign({value:":"},Qe))},ke.comma=function(Qe){return new Ae(Object.assign({value:","},Qe))},ke.comment=function(Qe){return new Te(Qe)},ke.func=function(Qe){return new De(Qe)},ke.number=function(Qe){return new ve(Qe)},ke.operator=function(Qe){return new Se(Qe)},ke.paren=function(Qe){return new P(Object.assign({value:"("},Qe))},ke.string=function(Qe){return new C(Object.assign({quote:"'"},Qe))},ke.value=function(Qe){return new Q(Qe)},ke.word=function(Qe){return new Oe(Qe)},ke.unicodeRange=function(Qe){return new re(Qe)},ae.exports=ke}}),gs=zt({"node_modules/postcss-selector-parser/dist/selectors/node.js"(T,ae){Ue(),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 K(Te,De){if(!(Te instanceof De))throw new TypeError("Cannot call a class as a function")}var oe=function Te(De,ve){if((typeof De>"u"?"undefined":Z(De))!=="object")return De;var Se=new De.constructor;for(var P in De)if(De.hasOwnProperty(P)){var C=De[P],re=typeof C>"u"?"undefined":Z(C);P==="parent"&&re==="object"?ve&&(Se[P]=ve):C instanceof Array?Se[P]=C.map(function(Q){return Te(Q,Se)}):Se[P]=Te(C,Se)}return Se},Ae=function(){function Te(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};K(this,Te);for(var ve in De)this[ve]=De[ve];var Se=De.spaces;Se=Se===void 0?{}:Se;var P=Se.before,C=P===void 0?"":P,re=Se.after,Q=re===void 0?"":re;this.spaces={before:C,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 De in arguments)this.parent.insertBefore(this,arguments[De]);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 De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ve=oe(this);for(var Se in De)ve[Se]=De[Se];return ve},Te.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},Te}();T.default=Ae,ae.exports=T.default}}),Ts=zt({"node_modules/postcss-selector-parser/dist/selectors/types.js"(T){Ue(),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"}}),Ss=zt({"node_modules/postcss-selector-parser/dist/selectors/container.js"(T,ae){Ue(),T.__esModule=!0;var Z=function(){function Q(Oe,ke){for(var Qe=0;Qe<ke.length;Qe++){var ze=ke[Qe];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(Oe,ze.key,ze)}}return function(Oe,ke,Qe){return ke&&Q(Oe.prototype,ke),Qe&&Q(Oe,Qe),Oe}}(),K=gs(),oe=ve(K),Ae=Ts(),Te=De(Ae);function De(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 ve(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 C(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){C(Oe,Q);function Oe(ke){Se(this,Oe);var Qe=P(this,Q.call(this,ke));return Qe.nodes||(Qe.nodes=[]),Qe}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 Qe=void 0;for(var ze in this.indexes)Qe=this.indexes[ze],Qe>=ke&&(this.indexes[ze]=Qe-1);return this},Oe.prototype.removeAll=function(){for(var ze=this.nodes,ke=Array.isArray(ze),Qe=0,ze=ke?ze:ze[Symbol.iterator]();;){var _e;if(ke){if(Qe>=ze.length)break;_e=ze[Qe++]}else{if(Qe=ze.next(),Qe.done)break;_e=Qe.value}var bt=_e;bt.parent=void 0}return this.nodes=[],this},Oe.prototype.empty=function(){return this.removeAll()},Oe.prototype.insertAfter=function(ke,Qe){var ze=this.index(ke);this.nodes.splice(ze+1,0,Qe);var _e=void 0;for(var bt in this.indexes)_e=this.indexes[bt],ze<=_e&&(this.indexes[bt]=_e+this.nodes.length);return this},Oe.prototype.insertBefore=function(ke,Qe){var ze=this.index(ke);this.nodes.splice(ze,0,Qe);var _e=void 0;for(var bt in this.indexes)_e=this.indexes[bt],ze<=_e&&(this.indexes[bt]=_e+this.nodes.length);return this},Oe.prototype.each=function(ke){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var Qe=this.lastEach;if(this.indexes[Qe]=0,!!this.length){for(var ze=void 0,_e=void 0;this.indexes[Qe]<this.length&&(ze=this.indexes[Qe],_e=ke(this.at(ze),ze),_e!==!1);)this.indexes[Qe]+=1;if(delete this.indexes[Qe],_e===!1)return!1}},Oe.prototype.walk=function(ke){return this.each(function(Qe,ze){var _e=ke(Qe,ze);if(_e!==!1&&Qe.length&&(_e=Qe.walk(ke)),_e===!1)return!1})},Oe.prototype.walkAttributes=function(ke){var Qe=this;return this.walk(function(ze){if(ze.type===Te.ATTRIBUTE)return ke.call(Qe,ze)})},Oe.prototype.walkClasses=function(ke){var Qe=this;return this.walk(function(ze){if(ze.type===Te.CLASS)return ke.call(Qe,ze)})},Oe.prototype.walkCombinators=function(ke){var Qe=this;return this.walk(function(ze){if(ze.type===Te.COMBINATOR)return ke.call(Qe,ze)})},Oe.prototype.walkComments=function(ke){var Qe=this;return this.walk(function(ze){if(ze.type===Te.COMMENT)return ke.call(Qe,ze)})},Oe.prototype.walkIds=function(ke){var Qe=this;return this.walk(function(ze){if(ze.type===Te.ID)return ke.call(Qe,ze)})},Oe.prototype.walkNesting=function(ke){var Qe=this;return this.walk(function(ze){if(ze.type===Te.NESTING)return ke.call(Qe,ze)})},Oe.prototype.walkPseudos=function(ke){var Qe=this;return this.walk(function(ze){if(ze.type===Te.PSEUDO)return ke.call(Qe,ze)})},Oe.prototype.walkTags=function(ke){var Qe=this;return this.walk(function(ze){if(ze.type===Te.TAG)return ke.call(Qe,ze)})},Oe.prototype.walkUniversals=function(ke){var Qe=this;return this.walk(function(ze){if(ze.type===Te.UNIVERSAL)return ke.call(Qe,ze)})},Oe.prototype.split=function(ke){var Qe=this,ze=[];return this.reduce(function(_e,bt,kt){var qt=ke.call(Qe,bt);return ze.push(bt),qt?(_e.push(ze),ze=[]):kt===Qe.length-1&&_e.push(ze),_e},[])},Oe.prototype.map=function(ke){return this.nodes.map(ke)},Oe.prototype.reduce=function(ke,Qe){return this.nodes.reduce(ke,Qe)},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){Ue(),T.__esModule=!0;var Z=Ss(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.ROOT,Q}return C.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},C}(K.default);T.default=Se,ae.exports=T.default}}),bn=zt({"node_modules/postcss-selector-parser/dist/selectors/selector.js"(T,ae){Ue(),T.__esModule=!0;var Z=Ss(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.SELECTOR,Q}return C}(K.default);T.default=Se,ae.exports=T.default}}),Rn=zt({"node_modules/postcss-selector-parser/dist/selectors/namespace.js"(T,ae){Ue(),T.__esModule=!0;var Z=function(){function P(C,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(C,Oe.key,Oe)}}return function(C,re,Q){return re&&P(C.prototype,re),Q&&P(C,Q),C}}(),K=gs(),oe=Ae(K);function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(){return Te(this,C),De(this,P.apply(this,arguments))}return C.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},Z(C,[{key:"ns",get:function(){var re=this.namespace;return re?(typeof re=="string"?re:"")+"|":""}}]),C}(oe.default);T.default=Se,ae.exports=T.default}}),hi=zt({"node_modules/postcss-selector-parser/dist/selectors/className.js"(T,ae){Ue(),T.__esModule=!0;var Z=Rn(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.CLASS,Q}return C.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},C}(K.default);T.default=Se,ae.exports=T.default}}),fi=zt({"node_modules/postcss-selector-parser/dist/selectors/comment.js"(T,ae){Ue(),T.__esModule=!0;var Z=gs(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.COMMENT,Q}return C}(K.default);T.default=Se,ae.exports=T.default}}),Bi=zt({"node_modules/postcss-selector-parser/dist/selectors/id.js"(T,ae){Ue(),T.__esModule=!0;var Z=Rn(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.ID,Q}return C.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},C}(K.default);T.default=Se,ae.exports=T.default}}),Ps=zt({"node_modules/postcss-selector-parser/dist/selectors/tag.js"(T,ae){Ue(),T.__esModule=!0;var Z=Rn(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.TAG,Q}return C}(K.default);T.default=Se,ae.exports=T.default}}),Fs=zt({"node_modules/postcss-selector-parser/dist/selectors/string.js"(T,ae){Ue(),T.__esModule=!0;var Z=gs(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.STRING,Q}return C}(K.default);T.default=Se,ae.exports=T.default}}),Qs=zt({"node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(T,ae){Ue(),T.__esModule=!0;var Z=Ss(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.PSEUDO,Q}return C.prototype.toString=function(){var re=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),re,this.spaces.after].join("")},C}(K.default);T.default=Se,ae.exports=T.default}}),la=zt({"node_modules/postcss-selector-parser/dist/selectors/attribute.js"(T,ae){Ue(),T.__esModule=!0;var Z=Rn(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.ATTRIBUTE,Q.raws={},Q}return C.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("")},C}(K.default);T.default=Se,ae.exports=T.default}}),Ka=zt({"node_modules/postcss-selector-parser/dist/selectors/universal.js"(T,ae){Ue(),T.__esModule=!0;var Z=Rn(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.UNIVERSAL,Q.value="*",Q}return C}(K.default);T.default=Se,ae.exports=T.default}}),Qa=zt({"node_modules/postcss-selector-parser/dist/selectors/combinator.js"(T,ae){Ue(),T.__esModule=!0;var Z=gs(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.COMBINATOR,Q}return C}(K.default);T.default=Se,ae.exports=T.default}}),Ua=zt({"node_modules/postcss-selector-parser/dist/selectors/nesting.js"(T,ae){Ue(),T.__esModule=!0;var Z=gs(),K=Ae(Z),oe=Ts();function Ae(P){return P&&P.__esModule?P:{default:P}}function Te(P,C){if(!(P instanceof C))throw new TypeError("Cannot call a class as a function")}function De(P,C){if(!P)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:P}function ve(P,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);P.prototype=Object.create(C&&C.prototype,{constructor:{value:P,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(P,C):P.__proto__=C)}var Se=function(P){ve(C,P);function C(re){Te(this,C);var Q=De(this,P.call(this,re));return Q.type=oe.NESTING,Q.value="&",Q}return C}(K.default);T.default=Se,ae.exports=T.default}}),tu=zt({"node_modules/postcss-selector-parser/dist/sortAscending.js"(T,ae){Ue(),T.__esModule=!0,T.default=Z;function Z(K){return K.sort(function(oe,Ae){return oe-Ae})}ae.exports=T.default}}),ru=zt({"node_modules/postcss-selector-parser/dist/tokenize.js"(T,ae){Ue(),T.__esModule=!0,T.default=_i;var Z=39,K=34,oe=92,Ae=47,Te=10,De=32,ve=12,Se=9,P=13,C=43,re=62,Q=126,Oe=124,ke=44,Qe=40,ze=41,_e=91,bt=93,kt=59,qt=42,un=58,Ln=38,zn=64,bi=/[ \n\t\r\{\(\)'"\\;/]/g,en=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function _i(mi){for(var Ai=[],Dn=mi.css.valueOf(),Gr=void 0,xn=void 0,Lr=void 0,Vs=void 0,Es=void 0,es=void 0,rs=void 0,Wi=void 0,Zn=void 0,Ri=void 0,ki=void 0,Pi=Dn.length,Ht=-1,vr=1,Ir=0,In=function(Ut,ui){if(mi.safe)Dn+=ui,xn=Dn.length-1;else throw mi.error("Unclosed "+Ut,vr,Ir-Ht,Ir)};Ir<Pi;){switch(Gr=Dn.charCodeAt(Ir),Gr===Te&&(Ht=Ir,vr+=1),Gr){case Te:case De:case Se:case P:case ve:xn=Ir;do xn+=1,Gr=Dn.charCodeAt(xn),Gr===Te&&(Ht=xn,vr+=1);while(Gr===De||Gr===Te||Gr===Se||Gr===P||Gr===ve);Ai.push(["space",Dn.slice(Ir,xn),vr,Ir-Ht,Ir]),Ir=xn-1;break;case C:case re:case Q:case Oe:xn=Ir;do xn+=1,Gr=Dn.charCodeAt(xn);while(Gr===C||Gr===re||Gr===Q||Gr===Oe);Ai.push(["combinator",Dn.slice(Ir,xn),vr,Ir-Ht,Ir]),Ir=xn-1;break;case qt:Ai.push(["*","*",vr,Ir-Ht,Ir]);break;case Ln:Ai.push(["&","&",vr,Ir-Ht,Ir]);break;case ke:Ai.push([",",",",vr,Ir-Ht,Ir]);break;case _e:Ai.push(["[","[",vr,Ir-Ht,Ir]);break;case bt:Ai.push(["]","]",vr,Ir-Ht,Ir]);break;case un:Ai.push([":",":",vr,Ir-Ht,Ir]);break;case kt:Ai.push([";",";",vr,Ir-Ht,Ir]);break;case Qe:Ai.push(["(","(",vr,Ir-Ht,Ir]);break;case ze:Ai.push([")",")",vr,Ir-Ht,Ir]);break;case Z:case K:Lr=Gr===Z?"'":'"',xn=Ir;do for(Ri=!1,xn=Dn.indexOf(Lr,xn+1),xn===-1&&In("quote",Lr),ki=xn;Dn.charCodeAt(ki-1)===oe;)ki-=1,Ri=!Ri;while(Ri);Ai.push(["string",Dn.slice(Ir,xn+1),vr,Ir-Ht,vr,xn-Ht,Ir]),Ir=xn;break;case zn:bi.lastIndex=Ir+1,bi.test(Dn),bi.lastIndex===0?xn=Dn.length-1:xn=bi.lastIndex-2,Ai.push(["at-word",Dn.slice(Ir,xn+1),vr,Ir-Ht,vr,xn-Ht,Ir]),Ir=xn;break;case oe:for(xn=Ir,rs=!0;Dn.charCodeAt(xn+1)===oe;)xn+=1,rs=!rs;Gr=Dn.charCodeAt(xn+1),rs&&Gr!==Ae&&Gr!==De&&Gr!==Te&&Gr!==Se&&Gr!==P&&Gr!==ve&&(xn+=1),Ai.push(["word",Dn.slice(Ir,xn+1),vr,Ir-Ht,vr,xn-Ht,Ir]),Ir=xn;break;default:Gr===Ae&&Dn.charCodeAt(Ir+1)===qt?(xn=Dn.indexOf("*/",Ir+2)+1,xn===0&&In("comment","*/"),es=Dn.slice(Ir,xn+1),Vs=es.split(`
|
|
`),Es=Vs.length-1,Es>0?(Wi=vr+Es,Zn=xn-Vs[Es].length):(Wi=vr,Zn=Ht),Ai.push(["comment",es,vr,Ir-Ht,Wi,xn-Zn,Ir]),Ht=Zn,vr=Wi,Ir=xn):(en.lastIndex=Ir+1,en.test(Dn),en.lastIndex===0?xn=Dn.length-1:xn=en.lastIndex-2,Ai.push(["word",Dn.slice(Ir,xn+1),vr,Ir-Ht,vr,xn-Ht,Ir]),Ir=xn);break}Ir++}return Ai}ae.exports=T.default}}),Ca=zt({"node_modules/postcss-selector-parser/dist/parser.js"(T,ae){Ue(),T.__esModule=!0;var Z=function(){function Ht(vr,Ir){for(var In=0;In<Ir.length;In++){var Ut=Ir[In];Ut.enumerable=Ut.enumerable||!1,Ut.configurable=!0,"value"in Ut&&(Ut.writable=!0),Object.defineProperty(vr,Ut.key,Ut)}}return function(vr,Ir,In){return Ir&&Ht(vr.prototype,Ir),In&&Ht(vr,In),vr}}(),K=En(),oe=Ri(K),Ae=$i(),Te=Ri(Ae),De=xs(),ve=Ri(De),Se=Da(),P=Ri(Se),C=bn(),re=Ri(C),Q=hi(),Oe=Ri(Q),ke=fi(),Qe=Ri(ke),ze=Bi(),_e=Ri(ze),bt=Ps(),kt=Ri(bt),qt=Fs(),un=Ri(qt),Ln=Qs(),zn=Ri(Ln),bi=la(),en=Ri(bi),_i=Ka(),mi=Ri(_i),Ai=Qa(),Dn=Ri(Ai),Gr=Ua(),xn=Ri(Gr),Lr=tu(),Vs=Ri(Lr),Es=ru(),es=Ri(Es),rs=Ts(),Wi=Zn(rs);function Zn(Ht){if(Ht&&Ht.__esModule)return Ht;var vr={};if(Ht!=null)for(var Ir in Ht)Object.prototype.hasOwnProperty.call(Ht,Ir)&&(vr[Ir]=Ht[Ir]);return vr.default=Ht,vr}function Ri(Ht){return Ht&&Ht.__esModule?Ht:{default:Ht}}function ki(Ht,vr){if(!(Ht instanceof vr))throw new TypeError("Cannot call a class as a function")}var Pi=function(){function Ht(vr){ki(this,Ht),this.input=vr,this.lossy=vr.options.lossless===!1,this.position=0,this.root=new P.default;var Ir=new re.default;return this.root.append(Ir),this.current=Ir,this.lossy?this.tokens=(0,es.default)({safe:vr.safe,css:vr.css.trim()}):this.tokens=(0,es.default)(vr),this.loop()}return Ht.prototype.attribute=function(){var vr="",Ir=void 0,In=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 Ut=vr.split(/((?:[*~^$|]?=))([^]*)/),ui=Ut[0].split(/(\|)/g),Xn={operator:Ut[1],value:Ut[2],source:{start:{line:In[2],column:In[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:In[4]};if(ui.length>1?(ui[0]===""&&(ui[0]=!0),Xn.attribute=this.parseValue(ui[2]),Xn.namespace=this.parseNamespace(ui[0])):Xn.attribute=this.parseValue(Ut[0]),Ir=new en.default(Xn),Ut[2]){var na=Ut[2].split(/(\s+i\s*?)$/),ia=na[0].trim();Ir.value=this.lossy?ia:na[0],na[1]&&(Ir.insensitive=!0,this.lossy||(Ir.raws.insensitive=na[1])),Ir.quoted=ia[0]==="'"||ia[0]==='"',Ir.raws.unquoted=Ir.quoted?ia.slice(1,-1):ia}this.newNode(Ir),this.position++},Ht.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)},Ht.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++},Ht.prototype.comment=function(){var vr=new Qe.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++},Ht.prototype.error=function(vr){throw new this.input.error(vr)},Ht.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},Ht.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},Ht.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},Ht.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)},Ht.prototype.nesting=function(){this.newNode(new xn.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++},Ht.prototype.parentheses=function(){var vr=this.current.last;if(vr&&vr.type===Wi.PSEUDO){var Ir=new re.default,In=this.current;vr.append(Ir),this.current=Ir;var Ut=1;for(this.position++;this.position<this.tokens.length&&Ut;)this.currToken[0]==="("&&Ut++,this.currToken[0]===")"&&Ut--,Ut?this.parse():(Ir.parent.source.end.line=this.currToken[2],Ir.parent.source.end.column=this.currToken[3],this.position++);Ut&&this.error("Expected closing parenthesis."),this.current=In}else{var ui=1;for(this.position++,vr.value+="(";this.position<this.tokens.length&&ui;)this.currToken[0]==="("&&ui++,this.currToken[0]===")"&&ui--,vr.value+=this.parseParenthesisToken(this.currToken),this.position++;ui&&this.error("Expected closing parenthesis.")}},Ht.prototype.pseudo=function(){for(var vr=this,Ir="",In=this.currToken;this.currToken&&this.currToken[0]===":";)Ir+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var Ut=void 0;this.splitWord(!1,function(ui,Xn){Ir+=ui,Ut=new zn.default({value:Ir,source:{start:{line:In[2],column:In[3]},end:{line:vr.currToken[4],column:vr.currToken[5]}},sourceIndex:In[4]}),vr.newNode(Ut),Xn>1&&vr.nextToken&&vr.nextToken[0]==="("&&vr.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},Ht.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()},Ht.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++},Ht.prototype.universal=function(vr){var Ir=this.nextToken;if(Ir&&Ir[1]==="|")return this.position++,this.namespace();this.newNode(new mi.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++},Ht.prototype.splitWord=function(vr,Ir){for(var In=this,Ut=this.nextToken,ui=this.currToken[1];Ut&&Ut[0]==="word";){this.position++;var Xn=this.currToken[1];if(ui+=Xn,Xn.lastIndexOf("\\")===Xn.length-1){var na=this.nextToken;na&&na[0]==="space"&&(ui+=this.parseSpace(na[1]," "),this.position++)}Ut=this.nextToken}var ia=(0,Te.default)(ui,"."),Os=(0,Te.default)(ui,"#"),Aa=(0,Te.default)(ui,"#{");Aa.length&&(Os=Os.filter(function(Zs){return!~Aa.indexOf(Zs)}));var va=(0,Vs.default)((0,ve.default)((0,oe.default)([[0],ia,Os])));va.forEach(function(Zs,Ma){var sa=va[Ma+1]||ui.length,ea=ui.slice(Zs,sa);if(Ma===0&&Ir)return Ir.call(In,ea,va.length);var aa=void 0;~ia.indexOf(Zs)?aa=new Oe.default({value:ea.slice(1),source:{start:{line:In.currToken[2],column:In.currToken[3]+Zs},end:{line:In.currToken[4],column:In.currToken[3]+(sa-1)}},sourceIndex:In.currToken[6]+va[Ma]}):~Os.indexOf(Zs)?aa=new _e.default({value:ea.slice(1),source:{start:{line:In.currToken[2],column:In.currToken[3]+Zs},end:{line:In.currToken[4],column:In.currToken[3]+(sa-1)}},sourceIndex:In.currToken[6]+va[Ma]}):aa=new kt.default({value:ea,source:{start:{line:In.currToken[2],column:In.currToken[3]+Zs},end:{line:In.currToken[4],column:In.currToken[3]+(sa-1)}},sourceIndex:In.currToken[6]+va[Ma]}),In.newNode(aa,vr)}),this.position++},Ht.prototype.word=function(vr){var Ir=this.nextToken;return Ir&&Ir[1]==="|"?(this.position++,this.namespace()):this.splitWord(vr)},Ht.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},Ht.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}},Ht.prototype.parseNamespace=function(vr){if(this.lossy&&typeof vr=="string"){var Ir=vr.trim();return Ir.length?Ir:!0}return vr},Ht.prototype.parseSpace=function(vr,Ir){return this.lossy?Ir||"":vr},Ht.prototype.parseValue=function(vr){return this.lossy&&vr&&typeof vr=="string"?vr.trim():vr},Ht.prototype.parseParenthesisToken=function(vr){return this.lossy?vr[0]==="space"?this.parseSpace(vr[1]," "):this.parseValue(vr[1]):vr[1]},Ht.prototype.newNode=function(vr,Ir){return Ir&&(vr.namespace=this.parseNamespace(Ir)),this.spaces&&(vr.spaces.before=this.spaces,this.spaces=""),this.current.append(vr)},Z(Ht,[{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]}}]),Ht}();T.default=Pi,ae.exports=T.default}}),ma=zt({"node_modules/postcss-selector-parser/dist/processor.js"(T,ae){Ue(),T.__esModule=!0;var Z=function(){function ve(Se,P){for(var C=0;C<P.length;C++){var re=P[C];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(Se,re.key,re)}}return function(Se,P,C){return P&&ve(Se.prototype,P),C&&ve(Se,C),Se}}(),K=Ca(),oe=Ae(K);function Ae(ve){return ve&&ve.__esModule?ve:{default:ve}}function Te(ve,Se){if(!(ve instanceof Se))throw new TypeError("Cannot call a class as a function")}var De=function(){function ve(Se){return Te(this,ve),this.func=Se||function(){},this}return ve.prototype.process=function(Se){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=new oe.default({css:Se,error:function(re){throw new Error(re)},options:P});return this.res=C,this.func(C),this},Z(ve,[{key:"result",get:function(){return String(this.res)}}]),ve}();T.default=De,ae.exports=T.default}}),ga=zt({"node_modules/postcss-selector-parser/dist/index.js"(T,ae){Ue(),T.__esModule=!0;var Z=ma(),K=Gr(Z),oe=la(),Ae=Gr(oe),Te=hi(),De=Gr(Te),ve=Qa(),Se=Gr(ve),P=fi(),C=Gr(P),re=Bi(),Q=Gr(re),Oe=Ua(),ke=Gr(Oe),Qe=Qs(),ze=Gr(Qe),_e=Da(),bt=Gr(_e),kt=bn(),qt=Gr(kt),un=Fs(),Ln=Gr(un),zn=Ps(),bi=Gr(zn),en=Ka(),_i=Gr(en),mi=Ts(),Ai=Dn(mi);function Dn(Lr){if(Lr&&Lr.__esModule)return Lr;var Vs={};if(Lr!=null)for(var Es in Lr)Object.prototype.hasOwnProperty.call(Lr,Es)&&(Vs[Es]=Lr[Es]);return Vs.default=Lr,Vs}function Gr(Lr){return Lr&&Lr.__esModule?Lr:{default:Lr}}var xn=function(Lr){return new K.default(Lr)};xn.attribute=function(Lr){return new Ae.default(Lr)},xn.className=function(Lr){return new De.default(Lr)},xn.combinator=function(Lr){return new Se.default(Lr)},xn.comment=function(Lr){return new C.default(Lr)},xn.id=function(Lr){return new Q.default(Lr)},xn.nesting=function(Lr){return new ke.default(Lr)},xn.pseudo=function(Lr){return new ze.default(Lr)},xn.root=function(Lr){return new bt.default(Lr)},xn.selector=function(Lr){return new qt.default(Lr)},xn.string=function(Lr){return new Ln.default(Lr)},xn.tag=function(Lr){return new bi.default(Lr)},xn.universal=function(Lr){return new _i.default(Lr)},Object.keys(Ai).forEach(function(Lr){Lr!=="__esModule"&&(xn[Lr]=Ai[Lr])}),T.default=xn,ae.exports=T.default}}),Ea=zt({"node_modules/postcss-media-query-parser/dist/nodes/Node.js"(T){Ue(),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){Ue(),Object.defineProperty(T,"__esModule",{value:!0});var ae=Ea(),Z=K(ae);function K(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(De){De.parent=Te})}oe.prototype=Object.create(Z.default.prototype),oe.constructor=Z.default,oe.prototype.walk=function(Ae,Te){for(var De=typeof Ae=="string"||Ae instanceof RegExp,ve=De?Te:Ae,Se=typeof Ae=="string"?new RegExp(Ae):Ae,P=0;P<this.nodes.length;P++){var C=this.nodes[P],re=De?Se.test(C.type):!0;if(re&&ve&&ve(C,P,this.nodes)===!1||C.nodes&&C.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 De=this.nodes[Te];if(Ae(De,Te,this.nodes)===!1)return!1}return!0},T.default=oe}}),za=zt({"node_modules/postcss-media-query-parser/dist/parsers.js"(T){Ue(),Object.defineProperty(T,"__esModule",{value:!0}),T.parseMediaFeature=Te,T.parseMediaQuery=De,T.parseMediaList=ve;var ae=Ea(),Z=Ae(ae),K=hs(),oe=Ae(K);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],C=[{mode:"normal",character:null}],re=[],Q=0,Oe="",ke=null,Qe=null,ze=P,_e=Se;Se[0]==="("&&Se[Se.length-1]===")"&&(_e=Se.substring(1,Se.length-1),ze++);for(var bt=0;bt<_e.length;bt++){var kt=_e[bt];if((kt==="'"||kt==='"')&&(C[Q].isCalculationEnabled===!0?(C.push({mode:"string",isCalculationEnabled:!1,character:kt}),Q++):C[Q].mode==="string"&&C[Q].character===kt&&_e[bt-1]!=="\\"&&(C.pop(),Q--)),kt==="{"?(C.push({mode:"interpolation",isCalculationEnabled:!0}),Q++):kt==="}"&&(C.pop(),Q--),C[Q].mode==="normal"&&kt===":"){var qt=_e.substring(bt+1);Qe={type:"value",before:/^(\s*)/.exec(qt)[1],after:/(\s*)$/.exec(qt)[1],value:qt.trim()},Qe.sourceIndex=Qe.before.length+bt+1+ze,ke={type:"colon",sourceIndex:bt+ze,after:Qe.before,value:":"};break}Oe+=kt}return Oe={type:"media-feature",before:/^(\s*)/.exec(Oe)[1],after:/(\s*)$/.exec(Oe)[1],value:Oe.trim()},Oe.sourceIndex=Oe.before.length+ze,re.push(Oe),ke!==null&&(ke.before=Oe.after,re.push(ke)),Qe!==null&&re.push(Qe),re}function De(Se){var P=arguments.length<=1||arguments[1]===void 0?0:arguments[1],C=[],re=0,Q=!1,Oe=void 0;function ke(){return{before:"",after:"",value:""}}Oe=ke();for(var Qe=0;Qe<Se.length;Qe++){var ze=Se[Qe];Q?(Oe.value+=ze,(ze==="{"||ze==="(")&&re++,(ze===")"||ze==="}")&&re--):ze.search(/\s/)!==-1?Oe.before+=ze:(ze==="("&&(Oe.type="media-feature-expression",re++),Oe.value=ze,Oe.sourceIndex=P+Qe,Q=!0),Q&&re===0&&(ze===")"||Qe===Se.length-1||Se[Qe+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)),C.push(Array.isArray(Oe.nodes)?new oe.default(Oe):new Z.default(Oe)),Oe=ke(),Q=!1)}for(var _e=0;_e<C.length;_e++)if(Oe=C[_e],_e>0&&(C[_e-1].after=Oe.before),Oe.type===void 0){if(_e>0){if(C[_e-1].type==="media-feature-expression"){Oe.type="keyword";continue}if(C[_e-1].value==="not"||C[_e-1].value==="only"){Oe.type="media-type";continue}if(C[_e-1].value==="and"){Oe.type="media-feature-expression";continue}C[_e-1].type==="media-type"&&(C[_e+1]?Oe.type=C[_e+1].type==="media-feature-expression"?"keyword":"media-feature-expression":Oe.type="media-feature-expression")}if(_e===0){if(!C[_e+1]){Oe.type="media-type";continue}if(C[_e+1]&&(C[_e+1].type==="media-feature-expression"||C[_e+1].type==="keyword")){Oe.type="media-type";continue}if(C[_e+2]){if(C[_e+2].type==="media-feature-expression"){Oe.type="media-type",C[_e+1].type="keyword";continue}if(C[_e+2].type==="keyword"){Oe.type="keyword",C[_e+1].type="media-type";continue}}if(C[_e+3]&&C[_e+3].type==="media-feature-expression"){Oe.type="keyword",C[_e+1].type="media-type",C[_e+2].type="keyword";continue}}}return C}function ve(Se){var P=[],C=0,re=0,Q=/^(\s*)url\s*\(/.exec(Se);if(Q!==null){for(var Oe=Q[0].length,ke=1;ke>0;){var Qe=Se[Oe];Qe==="("&&ke++,Qe===")"&&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]})),C=Oe}for(var ze=C;ze<Se.length;ze++){var _e=Se[ze];if(_e==="("&&re++,_e===")"&&re--,re===0&&_e===","){var bt=Se.substring(C,ze),kt=/^(\s*)/.exec(bt)[1];P.push(new oe.default({type:"media-query",value:bt.trim(),sourceIndex:C+kt.length,nodes:De(bt,C),before:kt,after:/(\s*)$/.exec(bt)[1]})),C=ze+1}}var qt=Se.substring(C),un=/^(\s*)/.exec(qt)[1];return P.push(new oe.default({type:"media-query",value:qt.trim(),sourceIndex:C+un.length,nodes:De(qt,C),before:un,after:/(\s*)$/.exec(qt)[1]})),P}}}),Eo=zt({"node_modules/postcss-media-query-parser/dist/index.js"(T){Ue(),Object.defineProperty(T,"__esModule",{value:!0}),T.default=Ae;var ae=hs(),Z=oe(ae),K=za();function oe(Te){return Te&&Te.__esModule?Te:{default:Te}}function Ae(Te){return new Z.default({nodes:(0,K.parseMediaList)(Te),type:"media-query-list",value:Te.trim()})}}}),Au={};Qn(Au,{basename:()=>su,default:()=>ul,delimiter:()=>Do,dirname:()=>iu,extname:()=>Ro,isAbsolute:()=>jo,join:()=>nu,normalize:()=>Uu,relative:()=>bo,resolve:()=>yo,sep:()=>Ya});function no(T,ae){for(var Z=0,K=T.length-1;K>=0;K--){var oe=T[K];oe==="."?T.splice(K,1):oe===".."?(T.splice(K,1),Z++):Z&&(T.splice(K,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 K=Z>=0?arguments[Z]:"/";if(typeof K!="string")throw new TypeError("Arguments to path.resolve must be strings");!K||(T=K+"/"+T,ae=K.charAt(0)==="/")}return T=no(La(T.split("/"),function(oe){return!!oe}),!ae).join("/"),(ae?"/":"")+T||"."}function Uu(T){var ae=jo(T),Z=wu(T,-1)==="/";return T=no(La(T.split("/"),function(K){return!!K}),!ae).join("/"),!T&&!ae&&(T="."),T&&Z&&(T+="/"),(ae?"/":"")+T}function jo(T){return T.charAt(0)==="/"}function nu(){var T=Array.prototype.slice.call(arguments,0);return Uu(La(T,function(ae,Z){if(typeof ae!="string")throw new TypeError("Arguments to path.join must be strings");return ae}).join("/"))}function bo(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 C=Se.length-1;C>=0&&Se[C]==="";C--);return P>C?[]:Se.slice(P,C-P+1)}for(var K=Z(T.split("/")),oe=Z(ae.split("/")),Ae=Math.min(K.length,oe.length),Te=Ae,De=0;De<Ae;De++)if(K[De]!==oe[De]){Te=De;break}for(var ve=[],De=Te;De<K.length;De++)ve.push("..");return ve=ve.concat(oe.slice(Te)),ve.join("/")}function iu(T){var ae=Ao(T),Z=ae[0],K=ae[1];return!Z&&!K?".":(K&&(K=K.substr(0,K.length-1)),Z+K)}function su(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 Ro(T){return Ao(T)[3]}function La(T,ae){if(T.filter)return T.filter(ae);for(var Z=[],K=0;K<T.length;K++)ae(T[K],K,T)&&Z.push(T[K]);return Z}var Ha,Ao,Ya,Do,ul,wu,Cl=gn({"node-modules-polyfills:path"(){Ue(),Ha=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Ao=function(T){return Ha.exec(T).slice(1)},Ya="/",Do=":",ul={extname:Ro,basename:su,dirname:iu,sep:Ya,delimiter:Do,relative:bo,join:nu,isAbsolute:jo,normalize:Uu,resolve:yo},wu="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){Ue();var Z=(Cl(),Nt(Au));if(Z&&Z.default){ae.exports=Z.default;for(let K in Z)ae.exports[K]=Z[K]}else Z&&(ae.exports=Z)}}),au=zt({"node_modules/picocolors/picocolors.browser.js"(T,ae){Ue();var Z=String,K=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=K(),ae.exports.createColors=K}}),io=zt({"(disabled):node_modules/postcss/lib/terminal-highlight"(){Ue()}}),wo=zt({"node_modules/postcss/lib/css-syntax-error.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=oe(au()),K=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,Qe){ke.prototype=Object.create(Qe.prototype),ke.prototype.constructor=ke,ke.__proto__=Qe}function De(ke){var Qe=typeof Map=="function"?new Map:void 0;return De=function(ze){if(ze===null||!P(ze))return ze;if(typeof ze!="function")throw new TypeError("Super expression must either be null or a function");if(typeof Qe<"u"){if(Qe.has(ze))return Qe.get(ze);Qe.set(ze,_e)}function _e(){return ve(ze,arguments,re(this).constructor)}return _e.prototype=Object.create(ze.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),C(_e,ze)},De(ke)}function ve(ke,Qe,ze){return Se()?ve=Reflect.construct:ve=function(_e,bt,kt){var qt=[null];qt.push.apply(qt,bt);var un=Function.bind.apply(_e,qt),Ln=new un;return kt&&C(Ln,kt.prototype),Ln},ve.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 C(ke,Qe){return C=Object.setPrototypeOf||function(ze,_e){return ze.__proto__=_e,ze},C(ke,Qe)}function re(ke){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(Qe){return Qe.__proto__||Object.getPrototypeOf(Qe)},re(ke)}var Q=function(ke){Te(Qe,ke);function Qe(_e,bt,kt,qt,un,Ln){var zn;return zn=ke.call(this,_e)||this,zn.name="CssSyntaxError",zn.reason=_e,un&&(zn.file=un),qt&&(zn.source=qt),Ln&&(zn.plugin=Ln),typeof bt<"u"&&typeof kt<"u"&&(zn.line=bt,zn.column=kt),zn.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(Ae(zn),Qe),zn}var ze=Qe.prototype;return ze.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},ze.showSourceCode=function(_e){var bt=this;if(!this.source)return"";var kt=this.source;K.default&&(typeof _e>"u"&&(_e=Z.default.isColorSupported),_e&&(kt=(0,K.default)(kt)));var qt=kt.split(/\r?\n/),un=Math.max(this.line-3,0),Ln=Math.min(this.line+2,qt.length),zn=String(Ln).length;function bi(_i){return _e&&Z.default.red?Z.default.red(Z.default.bold(_i)):_i}function en(_i){return _e&&Z.default.gray?Z.default.gray(_i):_i}return qt.slice(un,Ln).map(function(_i,mi){var Ai=un+1+mi,Dn=" "+(" "+Ai).slice(-zn)+" | ";if(Ai===bt.line){var Gr=en(Dn.replace(/\d/g," "))+_i.slice(0,bt.column-1).replace(/[^\t]/g," ");return bi(">")+en(Dn)+_i+`
|
|
`+Gr+bi("^")}return" "+en(Dn)+_i}).join(`
|
|
`)},ze.toString=function(){var _e=this.showSourceCode();return _e&&(_e=`
|
|
|
|
`+_e+`
|
|
`),this.name+": "+this.message+_e},Qe}(De(Error)),Oe=Q;T.default=Oe,ae.exports=T.default}}),so=zt({"node_modules/postcss/lib/previous-map.js"(T,ae){Ue(),ae.exports=class{}}}),ao=zt({"node_modules/postcss/lib/input.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=Ae(zu()),K=Ae(wo()),oe=Ae(so());function Ae(C){return C&&C.__esModule?C:{default:C}}function Te(C,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(C,Oe.key,Oe)}}function De(C,re,Q){return re&&Te(C.prototype,re),Q&&Te(C,Q),C}var ve=0,Se=function(){function C(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 Qe=ke.consumer().file;!this.file&&Qe&&(this.file=this.mapResolve(Qe))}this.file||(ve+=1,this.id="<input css "+ve+">"),this.map&&(this.map.file=this.from)}var re=C.prototype;return re.error=function(Q,Oe,ke,Qe){Qe===void 0&&(Qe={});var ze,_e=this.origin(Oe,ke);return _e?ze=new K.default(Q,_e.line,_e.column,_e.source,_e.file,Qe.plugin):ze=new K.default(Q,Oe,ke,this.css,this.file,Qe.plugin),ze.input={line:Oe,column:ke,source:this.css},this.file&&(ze.input.file=this.file),ze},re.origin=function(Q,Oe){if(!this.map)return!1;var ke=this.map.consumer(),Qe=ke.originalPositionFor({line:Q,column:Oe});if(!Qe.source)return!1;var ze={file:this.mapResolve(Qe.source),line:Qe.line,column:Qe.column},_e=ke.sourceContentFor(Qe.source);return _e&&(ze.source=_e),ze},re.mapResolve=function(Q){return/^\w+:\/\//.test(Q)?Q:Z.default.resolve(this.map.consumer().sourceRoot||".",Q)},De(C,[{key:"from",get:function(){return this.file||this.id}}]),C}(),P=Se;T.default=P,ae.exports=T.default}}),Tu=zt({"node_modules/postcss/lib/stringifier.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z={colon:": ",indent:" ",beforeDecl:`
|
|
`,beforeRule:`
|
|
`,beforeOpen:" ",beforeClose:`
|
|
`,beforeComment:`
|
|
`,after:`
|
|
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function K(Te){return Te[0].toUpperCase()+Te.slice(1)}var oe=function(){function Te(ve){this.builder=ve}var De=Te.prototype;return De.stringify=function(ve,Se){this[ve.type](ve,Se)},De.root=function(ve){this.body(ve),ve.raws.after&&this.builder(ve.raws.after)},De.comment=function(ve){var Se=this.raw(ve,"left","commentLeft"),P=this.raw(ve,"right","commentRight");this.builder("/*"+Se+ve.text+P+"*/",ve)},De.decl=function(ve,Se){var P=this.raw(ve,"between","colon"),C=ve.prop+P+this.rawValue(ve,"value");ve.important&&(C+=ve.raws.important||" !important"),Se&&(C+=";"),this.builder(C,ve)},De.rule=function(ve){this.block(ve,this.rawValue(ve,"selector")),ve.raws.ownSemicolon&&this.builder(ve.raws.ownSemicolon,ve,"end")},De.atrule=function(ve,Se){var P="@"+ve.name,C=ve.params?this.rawValue(ve,"params"):"";if(typeof ve.raws.afterName<"u"?P+=ve.raws.afterName:C&&(P+=" "),ve.nodes)this.block(ve,P+C);else{var re=(ve.raws.between||"")+(Se?";":"");this.builder(P+C+re,ve)}},De.body=function(ve){for(var Se=ve.nodes.length-1;Se>0&&ve.nodes[Se].type==="comment";)Se-=1;for(var P=this.raw(ve,"semicolon"),C=0;C<ve.nodes.length;C++){var re=ve.nodes[C],Q=this.raw(re,"before");Q&&this.builder(Q),this.stringify(re,Se!==C||P)}},De.block=function(ve,Se){var P=this.raw(ve,"between","beforeOpen");this.builder(Se+P+"{",ve,"start");var C;ve.nodes&&ve.nodes.length?(this.body(ve),C=this.raw(ve,"after")):C=this.raw(ve,"after","emptyBody"),C&&this.builder(C),this.builder("}",ve,"end")},De.raw=function(ve,Se,P){var C;if(P||(P=Se),Se&&(C=ve.raws[Se],typeof C<"u"))return C;var re=ve.parent;if(P==="before"&&(!re||re.type==="root"&&re.first===ve))return"";if(!re)return Z[P];var Q=ve.root();if(Q.rawCache||(Q.rawCache={}),typeof Q.rawCache[P]<"u")return Q.rawCache[P];if(P==="before"||P==="after")return this.beforeAfter(ve,P);var Oe="raw"+K(P);return this[Oe]?C=this[Oe](Q,ve):Q.walk(function(ke){if(C=ke.raws[Se],typeof C<"u")return!1}),typeof C>"u"&&(C=Z[P]),Q.rawCache[P]=C,C},De.rawSemicolon=function(ve){var Se;return ve.walk(function(P){if(P.nodes&&P.nodes.length&&P.last.type==="decl"&&(Se=P.raws.semicolon,typeof Se<"u"))return!1}),Se},De.rawEmptyBody=function(ve){var Se;return ve.walk(function(P){if(P.nodes&&P.nodes.length===0&&(Se=P.raws.after,typeof Se<"u"))return!1}),Se},De.rawIndent=function(ve){if(ve.raws.indent)return ve.raws.indent;var Se;return ve.walk(function(P){var C=P.parent;if(C&&C!==ve&&C.parent&&C.parent===ve&&typeof P.raws.before<"u"){var re=P.raws.before.split(`
|
|
`);return Se=re[re.length-1],Se=Se.replace(/[^\s]/g,""),!1}}),Se},De.rawBeforeComment=function(ve,Se){var P;return ve.walkComments(function(C){if(typeof C.raws.before<"u")return P=C.raws.before,P.indexOf(`
|
|
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(Se,null,"beforeDecl"):P&&(P=P.replace(/[^\s]/g,"")),P},De.rawBeforeDecl=function(ve,Se){var P;return ve.walkDecls(function(C){if(typeof C.raws.before<"u")return P=C.raws.before,P.indexOf(`
|
|
`)!==-1&&(P=P.replace(/[^\n]+$/,"")),!1}),typeof P>"u"?P=this.raw(Se,null,"beforeRule"):P&&(P=P.replace(/[^\s]/g,"")),P},De.rawBeforeRule=function(ve){var Se;return ve.walk(function(P){if(P.nodes&&(P.parent!==ve||ve.first!==P)&&typeof P.raws.before<"u")return Se=P.raws.before,Se.indexOf(`
|
|
`)!==-1&&(Se=Se.replace(/[^\n]+$/,"")),!1}),Se&&(Se=Se.replace(/[^\s]/g,"")),Se},De.rawBeforeClose=function(ve){var Se;return ve.walk(function(P){if(P.nodes&&P.nodes.length>0&&typeof P.raws.after<"u")return Se=P.raws.after,Se.indexOf(`
|
|
`)!==-1&&(Se=Se.replace(/[^\n]+$/,"")),!1}),Se&&(Se=Se.replace(/[^\s]/g,"")),Se},De.rawBeforeOpen=function(ve){var Se;return ve.walk(function(P){if(P.type!=="decl"&&(Se=P.raws.between,typeof Se<"u"))return!1}),Se},De.rawColon=function(ve){var Se;return ve.walkDecls(function(P){if(typeof P.raws.between<"u")return Se=P.raws.between.replace(/[^\s:]/g,""),!1}),Se},De.beforeAfter=function(ve,Se){var P;ve.type==="decl"?P=this.raw(ve,null,"beforeDecl"):ve.type==="comment"?P=this.raw(ve,null,"beforeComment"):Se==="before"?P=this.raw(ve,null,"beforeRule"):P=this.raw(ve,null,"beforeClose");for(var C=ve.parent,re=0;C&&C.type!=="root";)re+=1,C=C.parent;if(P.indexOf(`
|
|
`)!==-1){var Q=this.raw(ve,null,"indent");if(Q.length)for(var Oe=0;Oe<re;Oe++)P+=Q}return P},De.rawValue=function(ve,Se){var P=ve[Se],C=ve.raws[Se];return C&&C.value===P?C.raw:P},Te}(),Ae=oe;T.default=Ae,ae.exports=T.default}}),Su=zt({"node_modules/postcss/lib/stringify.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=K(Tu());function K(Te){return Te&&Te.__esModule?Te:{default:Te}}function oe(Te,De){var ve=new Z.default(De);ve.stringify(Te)}var Ae=oe;T.default=Ae,ae.exports=T.default}}),ll=zt({"node_modules/postcss/lib/node.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=Ae(wo()),K=Ae(Tu()),oe=Ae(Su());function Ae(Se){return Se&&Se.__esModule?Se:{default:Se}}function Te(Se,P){var C=new Se.constructor;for(var re in Se)if(Se.hasOwnProperty(re)){var Q=Se[re],Oe=typeof Q;re==="parent"&&Oe==="object"?P&&(C[re]=P):re==="source"?C[re]=Q:Q instanceof Array?C[re]=Q.map(function(ke){return Te(ke,C)}):(Oe==="object"&&Q!==null&&(Q=Te(Q)),C[re]=Q)}return C}var De=function(){function Se(C){C===void 0&&(C={}),this.raws={};for(var re in C)this[re]=C[re]}var P=Se.prototype;return P.error=function(C,re){if(re===void 0&&(re={}),this.source){var Q=this.positionBy(re);return this.source.input.error(C,Q.line,Q.column,re)}return new Z.default(C)},P.warn=function(C,re,Q){var Oe={node:this};for(var ke in Q)Oe[ke]=Q[ke];return C.warn(re,Oe)},P.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},P.toString=function(C){C===void 0&&(C=oe.default),C.stringify&&(C=C.stringify);var re="";return C(this,function(Q){re+=Q}),re},P.clone=function(C){C===void 0&&(C={});var re=Te(this);for(var Q in C)re[Q]=C[Q];return re},P.cloneBefore=function(C){C===void 0&&(C={});var re=this.clone(C);return this.parent.insertBefore(this,re),re},P.cloneAfter=function(C){C===void 0&&(C={});var re=this.clone(C);return this.parent.insertAfter(this,re),re},P.replaceWith=function(){if(this.parent){for(var C=arguments.length,re=new Array(C),Q=0;Q<C;Q++)re[Q]=arguments[Q];for(var Oe=0,ke=re;Oe<ke.length;Oe++){var Qe=ke[Oe];this.parent.insertBefore(this,Qe)}this.remove()}return this},P.next=function(){if(this.parent){var C=this.parent.index(this);return this.parent.nodes[C+1]}},P.prev=function(){if(this.parent){var C=this.parent.index(this);return this.parent.nodes[C-1]}},P.before=function(C){return this.parent.insertBefore(this,C),this},P.after=function(C){return this.parent.insertAfter(this,C),this},P.toJSON=function(){var C={};for(var re in this)if(!!this.hasOwnProperty(re)&&re!=="parent"){var Q=this[re];Q instanceof Array?C[re]=Q.map(function(Oe){return typeof Oe=="object"&&Oe.toJSON?Oe.toJSON():Oe}):typeof Q=="object"&&Q.toJSON?C[re]=Q.toJSON():C[re]=Q}return C},P.raw=function(C,re){var Q=new K.default;return Q.raw(this,C,re)},P.root=function(){for(var C=this;C.parent;)C=C.parent;return C},P.cleanRaws=function(C){delete this.raws.before,delete this.raws.after,C||delete this.raws.between},P.positionInside=function(C){for(var re=this.toString(),Q=this.source.start.column,Oe=this.source.start.line,ke=0;ke<C;ke++)re[ke]===`
|
|
`?(Q=1,Oe+=1):Q+=1;return{line:Oe,column:Q}},P.positionBy=function(C){var re=this.source.start;if(C.index)re=this.positionInside(C.index);else if(C.word){var Q=this.toString().indexOf(C.word);Q!==-1&&(re=this.positionInside(Q))}return re},Se}(),ve=De;T.default=ve,ae.exports=T.default}}),oo=zt({"node_modules/postcss/lib/comment.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=K(ll());function K(De){return De&&De.__esModule?De:{default:De}}function oe(De,ve){De.prototype=Object.create(ve.prototype),De.prototype.constructor=De,De.__proto__=ve}var Ae=function(De){oe(ve,De);function ve(Se){var P;return P=De.call(this,Se)||this,P.type="comment",P}return ve}(Z.default),Te=Ae;T.default=Te,ae.exports=T.default}}),ou=zt({"node_modules/postcss/lib/declaration.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=K(ll());function K(De){return De&&De.__esModule?De:{default:De}}function oe(De,ve){De.prototype=Object.create(ve.prototype),De.prototype.constructor=De,De.__proto__=ve}var Ae=function(De){oe(ve,De);function ve(Se){var P;return P=De.call(this,Se)||this,P.type="decl",P}return ve}(Z.default),Te=Ae;T.default=Te,ae.exports=T.default}}),ba=zt({"node_modules/postcss/lib/tokenize.js"(T,ae){Ue(),T.__esModule=!0,T.default=bi;var Z="'".charCodeAt(0),K='"'.charCodeAt(0),oe="\\".charCodeAt(0),Ae="/".charCodeAt(0),Te=`
|
|
`.charCodeAt(0),De=" ".charCodeAt(0),ve="\f".charCodeAt(0),Se=" ".charCodeAt(0),P="\r".charCodeAt(0),C="[".charCodeAt(0),re="]".charCodeAt(0),Q="(".charCodeAt(0),Oe=")".charCodeAt(0),ke="{".charCodeAt(0),Qe="}".charCodeAt(0),ze=";".charCodeAt(0),_e="*".charCodeAt(0),bt=":".charCodeAt(0),kt="@".charCodeAt(0),qt=/[ \n\t\r\f{}()'"\\;/[\]#]/g,un=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,Ln=/.[\\/("'\n]/,zn=/[a-f0-9]/i;function bi(en,_i){_i===void 0&&(_i={});var mi=en.css.valueOf(),Ai=_i.ignoreErrors,Dn,Gr,xn,Lr,Vs,Es,es,rs,Wi,Zn,Ri,ki,Pi,Ht,vr=mi.length,Ir=-1,In=1,Ut=0,ui=[],Xn=[];function na(){return Ut}function ia(Zs){throw en.error("Unclosed "+Zs,In,Ut-Ir)}function Os(){return Xn.length===0&&Ut>=vr}function Aa(Zs){if(Xn.length)return Xn.pop();if(!(Ut>=vr)){var Ma=Zs?Zs.ignoreUnclosed:!1;switch(Dn=mi.charCodeAt(Ut),(Dn===Te||Dn===ve||Dn===P&&mi.charCodeAt(Ut+1)!==Te)&&(Ir=Ut,In+=1),Dn){case Te:case De:case Se:case P:case ve:Gr=Ut;do Gr+=1,Dn=mi.charCodeAt(Gr),Dn===Te&&(Ir=Gr,In+=1);while(Dn===De||Dn===Te||Dn===Se||Dn===P||Dn===ve);Ht=["space",mi.slice(Ut,Gr)],Ut=Gr-1;break;case C:case re:case ke:case Qe:case bt:case ze:case Oe:var sa=String.fromCharCode(Dn);Ht=[sa,sa,In,Ut-Ir];break;case Q:if(ki=ui.length?ui.pop()[1]:"",Pi=mi.charCodeAt(Ut+1),ki==="url"&&Pi!==Z&&Pi!==K&&Pi!==De&&Pi!==Te&&Pi!==Se&&Pi!==ve&&Pi!==P){Gr=Ut;do{if(Zn=!1,Gr=mi.indexOf(")",Gr+1),Gr===-1)if(Ai||Ma){Gr=Ut;break}else ia("bracket");for(Ri=Gr;mi.charCodeAt(Ri-1)===oe;)Ri-=1,Zn=!Zn}while(Zn);Ht=["brackets",mi.slice(Ut,Gr+1),In,Ut-Ir,In,Gr-Ir],Ut=Gr}else Gr=mi.indexOf(")",Ut+1),Es=mi.slice(Ut,Gr+1),Gr===-1||Ln.test(Es)?Ht=["(","(",In,Ut-Ir]:(Ht=["brackets",Es,In,Ut-Ir,In,Gr-Ir],Ut=Gr);break;case Z:case K:xn=Dn===Z?"'":'"',Gr=Ut;do{if(Zn=!1,Gr=mi.indexOf(xn,Gr+1),Gr===-1)if(Ai||Ma){Gr=Ut+1;break}else ia("string");for(Ri=Gr;mi.charCodeAt(Ri-1)===oe;)Ri-=1,Zn=!Zn}while(Zn);Es=mi.slice(Ut,Gr+1),Lr=Es.split(`
|
|
`),Vs=Lr.length-1,Vs>0?(rs=In+Vs,Wi=Gr-Lr[Vs].length):(rs=In,Wi=Ir),Ht=["string",mi.slice(Ut,Gr+1),In,Ut-Ir,rs,Gr-Wi],Ir=Wi,In=rs,Ut=Gr;break;case kt:qt.lastIndex=Ut+1,qt.test(mi),qt.lastIndex===0?Gr=mi.length-1:Gr=qt.lastIndex-2,Ht=["at-word",mi.slice(Ut,Gr+1),In,Ut-Ir,In,Gr-Ir],Ut=Gr;break;case oe:for(Gr=Ut,es=!0;mi.charCodeAt(Gr+1)===oe;)Gr+=1,es=!es;if(Dn=mi.charCodeAt(Gr+1),es&&Dn!==Ae&&Dn!==De&&Dn!==Te&&Dn!==Se&&Dn!==P&&Dn!==ve&&(Gr+=1,zn.test(mi.charAt(Gr)))){for(;zn.test(mi.charAt(Gr+1));)Gr+=1;mi.charCodeAt(Gr+1)===De&&(Gr+=1)}Ht=["word",mi.slice(Ut,Gr+1),In,Ut-Ir,In,Gr-Ir],Ut=Gr;break;default:Dn===Ae&&mi.charCodeAt(Ut+1)===_e?(Gr=mi.indexOf("*/",Ut+2)+1,Gr===0&&(Ai||Ma?Gr=mi.length:ia("comment")),Es=mi.slice(Ut,Gr+1),Lr=Es.split(`
|
|
`),Vs=Lr.length-1,Vs>0?(rs=In+Vs,Wi=Gr-Lr[Vs].length):(rs=In,Wi=Ir),Ht=["comment",Es,In,Ut-Ir,rs,Gr-Wi],Ir=Wi,In=rs,Ut=Gr):(un.lastIndex=Ut+1,un.test(mi),un.lastIndex===0?Gr=mi.length-1:Gr=un.lastIndex-2,Ht=["word",mi.slice(Ut,Gr+1),In,Ut-Ir,In,Gr-Ir],ui.push(Ht),Ut=Gr);break}return Ut++,Ht}}function va(Zs){Xn.push(Zs)}return{back:va,nextToken:Aa,endOfFile:Os,position:na}}ae.exports=T.default}}),uu=zt({"node_modules/postcss/lib/parse.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=oe(Fu()),K=oe(ao());function oe(De){return De&&De.__esModule?De:{default:De}}function Ae(De,ve){var Se=new K.default(De,ve),P=new Z.default(Se);try{P.parse()}catch(C){throw C}return P.root}var Te=Ae;T.default=Te,ae.exports=T.default}}),uo=zt({"node_modules/postcss/lib/list.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z={split:function(oe,Ae,Te){for(var De=[],ve="",Se=!1,P=0,C=!1,re=!1,Q=0;Q<oe.length;Q++){var Oe=oe[Q];C?re?re=!1:Oe==="\\"?re=!0:Oe===C&&(C=!1):Oe==='"'||Oe==="'"?C=Oe:Oe==="("?P+=1:Oe===")"?P>0&&(P-=1):P===0&&Ae.indexOf(Oe)!==-1&&(Se=!0),Se?(ve!==""&&De.push(ve.trim()),ve="",Se=!1):ve+=Oe}return(Te||ve!=="")&&De.push(ve.trim()),De},space:function(oe){var Ae=[" ",`
|
|
`," "];return Z.split(oe,Ae)},comma:function(oe){return Z.split(oe,[","],!0)}},K=Z;T.default=K,ae.exports=T.default}}),cl=zt({"node_modules/postcss/lib/rule.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=oe(Hu()),K=oe(uo());function oe(P){return P&&P.__esModule?P:{default:P}}function Ae(P,C){for(var re=0;re<C.length;re++){var Q=C[re];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(P,Q.key,Q)}}function Te(P,C,re){return C&&Ae(P.prototype,C),re&&Ae(P,re),P}function De(P,C){P.prototype=Object.create(C.prototype),P.prototype.constructor=P,P.__proto__=C}var ve=function(P){De(C,P);function C(re){var Q;return Q=P.call(this,re)||this,Q.type="rule",Q.nodes||(Q.nodes=[]),Q}return Te(C,[{key:"selectors",get:function(){return K.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)}}]),C}(Z.default),Se=ve;T.default=Se,ae.exports=T.default}}),Hu=zt({"node_modules/postcss/lib/container.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=Ae(ou()),K=Ae(oo()),oe=Ae(ll());function Ae(ke){return ke&&ke.__esModule?ke:{default:ke}}function Te(ke,Qe){var ze;if(typeof Symbol>"u"||ke[Symbol.iterator]==null){if(Array.isArray(ke)||(ze=De(ke))||Qe&&ke&&typeof ke.length=="number"){ze&&(ke=ze);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.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ze=ke[Symbol.iterator](),ze.next.bind(ze)}function De(ke,Qe){if(ke){if(typeof ke=="string")return ve(ke,Qe);var ze=Object.prototype.toString.call(ke).slice(8,-1);if(ze==="Object"&&ke.constructor&&(ze=ke.constructor.name),ze==="Map"||ze==="Set")return Array.from(ke);if(ze==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ze))return ve(ke,Qe)}}function ve(ke,Qe){(Qe==null||Qe>ke.length)&&(Qe=ke.length);for(var ze=0,_e=new Array(Qe);ze<Qe;ze++)_e[ze]=ke[ze];return _e}function Se(ke,Qe){for(var ze=0;ze<Qe.length;ze++){var _e=Qe[ze];_e.enumerable=_e.enumerable||!1,_e.configurable=!0,"value"in _e&&(_e.writable=!0),Object.defineProperty(ke,_e.key,_e)}}function P(ke,Qe,ze){return Qe&&Se(ke.prototype,Qe),ze&&Se(ke,ze),ke}function C(ke,Qe){ke.prototype=Object.create(Qe.prototype),ke.prototype.constructor=ke,ke.__proto__=Qe}function re(ke){return ke.map(function(Qe){return Qe.nodes&&(Qe.nodes=re(Qe.nodes)),delete Qe.source,Qe})}var Q=function(ke){C(Qe,ke);function Qe(){return ke.apply(this,arguments)||this}var ze=Qe.prototype;return ze.push=function(_e){return _e.parent=this,this.nodes.push(_e),this},ze.each=function(_e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var bt=this.lastEach;if(this.indexes[bt]=0,!!this.nodes){for(var kt,qt;this.indexes[bt]<this.nodes.length&&(kt=this.indexes[bt],qt=_e(this.nodes[kt],kt),qt!==!1);)this.indexes[bt]+=1;return delete this.indexes[bt],qt}},ze.walk=function(_e){return this.each(function(bt,kt){var qt;try{qt=_e(bt,kt)}catch(Ln){if(Ln.postcssNode=bt,Ln.stack&&bt.source&&/\n\s{4}at /.test(Ln.stack)){var un=bt.source;Ln.stack=Ln.stack.replace(/\n\s{4}at /,"$&"+un.input.from+":"+un.start.line+":"+un.start.column+"$&")}throw Ln}return qt!==!1&&bt.walk&&(qt=bt.walk(_e)),qt})},ze.walkDecls=function(_e,bt){return bt?_e instanceof RegExp?this.walk(function(kt,qt){if(kt.type==="decl"&&_e.test(kt.prop))return bt(kt,qt)}):this.walk(function(kt,qt){if(kt.type==="decl"&&kt.prop===_e)return bt(kt,qt)}):(bt=_e,this.walk(function(kt,qt){if(kt.type==="decl")return bt(kt,qt)}))},ze.walkRules=function(_e,bt){return bt?_e instanceof RegExp?this.walk(function(kt,qt){if(kt.type==="rule"&&_e.test(kt.selector))return bt(kt,qt)}):this.walk(function(kt,qt){if(kt.type==="rule"&&kt.selector===_e)return bt(kt,qt)}):(bt=_e,this.walk(function(kt,qt){if(kt.type==="rule")return bt(kt,qt)}))},ze.walkAtRules=function(_e,bt){return bt?_e instanceof RegExp?this.walk(function(kt,qt){if(kt.type==="atrule"&&_e.test(kt.name))return bt(kt,qt)}):this.walk(function(kt,qt){if(kt.type==="atrule"&&kt.name===_e)return bt(kt,qt)}):(bt=_e,this.walk(function(kt,qt){if(kt.type==="atrule")return bt(kt,qt)}))},ze.walkComments=function(_e){return this.walk(function(bt,kt){if(bt.type==="comment")return _e(bt,kt)})},ze.append=function(){for(var _e=arguments.length,bt=new Array(_e),kt=0;kt<_e;kt++)bt[kt]=arguments[kt];for(var qt=0,un=bt;qt<un.length;qt++)for(var Ln=un[qt],zn=this.normalize(Ln,this.last),bi=Te(zn),en;!(en=bi()).done;){var _i=en.value;this.nodes.push(_i)}return this},ze.prepend=function(){for(var _e=arguments.length,bt=new Array(_e),kt=0;kt<_e;kt++)bt[kt]=arguments[kt];bt=bt.reverse();for(var qt=Te(bt),un;!(un=qt()).done;){for(var Ln=un.value,zn=this.normalize(Ln,this.first,"prepend").reverse(),bi=Te(zn),en;!(en=bi()).done;){var _i=en.value;this.nodes.unshift(_i)}for(var mi in this.indexes)this.indexes[mi]=this.indexes[mi]+zn.length}return this},ze.cleanRaws=function(_e){if(ke.prototype.cleanRaws.call(this,_e),this.nodes)for(var bt=Te(this.nodes),kt;!(kt=bt()).done;){var qt=kt.value;qt.cleanRaws(_e)}},ze.insertBefore=function(_e,bt){_e=this.index(_e);for(var kt=_e===0?"prepend":!1,qt=this.normalize(bt,this.nodes[_e],kt).reverse(),un=Te(qt),Ln;!(Ln=un()).done;){var zn=Ln.value;this.nodes.splice(_e,0,zn)}var bi;for(var en in this.indexes)bi=this.indexes[en],_e<=bi&&(this.indexes[en]=bi+qt.length);return this},ze.insertAfter=function(_e,bt){_e=this.index(_e);for(var kt=this.normalize(bt,this.nodes[_e]).reverse(),qt=Te(kt),un;!(un=qt()).done;){var Ln=un.value;this.nodes.splice(_e+1,0,Ln)}var zn;for(var bi in this.indexes)zn=this.indexes[bi],_e<zn&&(this.indexes[bi]=zn+kt.length);return this},ze.removeChild=function(_e){_e=this.index(_e),this.nodes[_e].parent=void 0,this.nodes.splice(_e,1);var bt;for(var kt in this.indexes)bt=this.indexes[kt],bt>=_e&&(this.indexes[kt]=bt-1);return this},ze.removeAll=function(){for(var _e=Te(this.nodes),bt;!(bt=_e()).done;){var kt=bt.value;kt.parent=void 0}return this.nodes=[],this},ze.replaceValues=function(_e,bt,kt){return kt||(kt=bt,bt={}),this.walkDecls(function(qt){bt.props&&bt.props.indexOf(qt.prop)===-1||bt.fast&&qt.value.indexOf(bt.fast)===-1||(qt.value=qt.value.replace(_e,kt))}),this},ze.every=function(_e){return this.nodes.every(_e)},ze.some=function(_e){return this.nodes.some(_e)},ze.index=function(_e){return typeof _e=="number"?_e:this.nodes.indexOf(_e)},ze.normalize=function(_e,bt){var kt=this;if(typeof _e=="string"){var qt=uu();_e=re(qt(_e).nodes)}else if(Array.isArray(_e)){_e=_e.slice(0);for(var un=Te(_e),Ln;!(Ln=un()).done;){var zn=Ln.value;zn.parent&&zn.parent.removeChild(zn,"ignore")}}else if(_e.type==="root"){_e=_e.nodes.slice(0);for(var bi=Te(_e),en;!(en=bi()).done;){var _i=en.value;_i.parent&&_i.parent.removeChild(_i,"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 mi=cl();_e=[new mi(_e)]}else if(_e.name){var Ai=Uo();_e=[new Ai(_e)]}else if(_e.text)_e=[new K.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"&&bt&&typeof bt.raws.before<"u"&&(Gr.raws.before=bt.raws.before.replace(/[^\s]/g,"")),Gr.parent=kt,Gr});return Dn},P(Qe,[{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]}}]),Qe}(oe.default),Oe=Q;T.default=Oe,ae.exports=T.default}}),Uo=zt({"node_modules/postcss/lib/at-rule.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=K(Hu());function K(De){return De&&De.__esModule?De:{default:De}}function oe(De,ve){De.prototype=Object.create(ve.prototype),De.prototype.constructor=De,De.__proto__=ve}var Ae=function(De){oe(ve,De);function ve(P){var C;return C=De.call(this,P)||this,C.type="atrule",C}var Se=ve.prototype;return Se.append=function(){var P;this.nodes||(this.nodes=[]);for(var C=arguments.length,re=new Array(C),Q=0;Q<C;Q++)re[Q]=arguments[Q];return(P=De.prototype.append).call.apply(P,[this].concat(re))},Se.prepend=function(){var P;this.nodes||(this.nodes=[]);for(var C=arguments.length,re=new Array(C),Q=0;Q<C;Q++)re[Q]=arguments[Q];return(P=De.prototype.prepend).call.apply(P,[this].concat(re))},ve}(Z.default),Te=Ae;T.default=Te,ae.exports=T.default}}),El=zt({"node_modules/postcss/lib/map-generator.js"(T,ae){Ue(),ae.exports=class{generate(){}}}}),To=zt({"node_modules/postcss/lib/warn-once.js"(T,ae){Ue(),T.__esModule=!0,T.default=K;var Z={};function K(oe){Z[oe]||(Z[oe]=!0,typeof console<"u"&&console.warn&&console.warn(oe))}ae.exports=T.default}}),ca=zt({"node_modules/postcss/lib/warning.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=function(){function oe(Te,De){if(De===void 0&&(De={}),this.type="warning",this.text=Te,De.node&&De.node.source){var ve=De.node.positionBy(De);this.line=ve.line,this.column=ve.column}for(var Se in De)this[Se]=De[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}(),K=Z;T.default=K,ae.exports=T.default}}),qu=zt({"node_modules/postcss/lib/result.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=K(ca());function K(ve){return ve&&ve.__esModule?ve:{default:ve}}function oe(ve,Se){for(var P=0;P<Se.length;P++){var C=Se[P];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(ve,C.key,C)}}function Ae(ve,Se,P){return Se&&oe(ve.prototype,Se),P&&oe(ve,P),ve}var Te=function(){function ve(P,C,re){this.processor=P,this.messages=[],this.root=C,this.opts=re,this.css=void 0,this.map=void 0}var Se=ve.prototype;return Se.toString=function(){return this.css},Se.warn=function(P,C){C===void 0&&(C={}),C.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(C.plugin=this.lastPlugin.postcssPlugin);var re=new Z.default(P,C);return this.messages.push(re),re},Se.warnings=function(){return this.messages.filter(function(P){return P.type==="warning"})},Ae(ve,[{key:"content",get:function(){return this.css}}]),ve}(),De=Te;T.default=De,ae.exports=T.default}}),bl=zt({"node_modules/postcss/lib/lazy-result.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=Te(El()),K=Te(Su());Te(To());var oe=Te(qu()),Ae=Te(uu());function Te(ke){return ke&&ke.__esModule?ke:{default:ke}}function De(ke,Qe){var ze;if(typeof Symbol>"u"||ke[Symbol.iterator]==null){if(Array.isArray(ke)||(ze=ve(ke))||Qe&&ke&&typeof ke.length=="number"){ze&&(ke=ze);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.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return ze=ke[Symbol.iterator](),ze.next.bind(ze)}function ve(ke,Qe){if(ke){if(typeof ke=="string")return Se(ke,Qe);var ze=Object.prototype.toString.call(ke).slice(8,-1);if(ze==="Object"&&ke.constructor&&(ze=ke.constructor.name),ze==="Map"||ze==="Set")return Array.from(ke);if(ze==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ze))return Se(ke,Qe)}}function Se(ke,Qe){(Qe==null||Qe>ke.length)&&(Qe=ke.length);for(var ze=0,_e=new Array(Qe);ze<Qe;ze++)_e[ze]=ke[ze];return _e}function P(ke,Qe){for(var ze=0;ze<Qe.length;ze++){var _e=Qe[ze];_e.enumerable=_e.enumerable||!1,_e.configurable=!0,"value"in _e&&(_e.writable=!0),Object.defineProperty(ke,_e.key,_e)}}function C(ke,Qe,ze){return Qe&&P(ke.prototype,Qe),ze&&P(ke,ze),ke}function re(ke){return typeof ke=="object"&&typeof ke.then=="function"}var Q=function(){function ke(ze,_e,bt){this.stringified=!1,this.processed=!1;var kt;if(typeof _e=="object"&&_e!==null&&_e.type==="root")kt=_e;else if(_e instanceof ke||_e instanceof oe.default)kt=_e.root,_e.map&&(typeof bt.map>"u"&&(bt.map={}),bt.map.inline||(bt.map.inline=!1),bt.map.prev=_e.map);else{var qt=Ae.default;bt.syntax&&(qt=bt.syntax.parse),bt.parser&&(qt=bt.parser),qt.parse&&(qt=qt.parse);try{kt=qt(_e,bt)}catch(un){this.error=un}}this.result=new oe.default(ze,kt,bt)}var Qe=ke.prototype;return Qe.warnings=function(){return this.sync().warnings()},Qe.toString=function(){return this.css},Qe.then=function(ze,_e){return this.async().then(ze,_e)},Qe.catch=function(ze){return this.async().catch(ze)},Qe.finally=function(ze){return this.async().then(ze,ze)},Qe.handleError=function(ze,_e){try{if(this.error=ze,ze.name==="CssSyntaxError"&&!ze.plugin)ze.plugin=_e.postcssPlugin,ze.setMessage();else if(_e.postcssVersion&&!1)var bt,kt,qt,un,Ln}catch(zn){console&&console.error&&console.error(zn)}},Qe.asyncTick=function(ze,_e){var bt=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,ze();try{var kt=this.processor.plugins[this.plugin],qt=this.run(kt);this.plugin+=1,re(qt)?qt.then(function(){bt.asyncTick(ze,_e)}).catch(function(un){bt.handleError(un,kt),bt.processed=!0,_e(un)}):this.asyncTick(ze,_e)}catch(un){this.processed=!0,_e(un)}},Qe.async=function(){var ze=this;return this.processed?new Promise(function(_e,bt){ze.error?bt(ze.error):_e(ze.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(_e,bt){if(ze.error)return bt(ze.error);ze.plugin=0,ze.asyncTick(_e,bt)}).then(function(){return ze.processed=!0,ze.stringify()}),this.processing)},Qe.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 ze=De(this.result.processor.plugins),_e;!(_e=ze()).done;){var bt=_e.value,kt=this.run(bt);if(re(kt))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},Qe.run=function(ze){this.result.lastPlugin=ze;try{return ze(this.result.root,this.result)}catch(_e){throw this.handleError(_e,ze),_e}},Qe.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var ze=this.result.opts,_e=K.default;ze.syntax&&(_e=ze.syntax.stringify),ze.stringifier&&(_e=ze.stringifier),_e.stringify&&(_e=_e.stringify);var bt=new Z.default(_e,this.result.root,this.result.opts),kt=bt.generate();return this.result.css=kt[0],this.result.map=kt[1],this.result},C(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}}),zl=zt({"node_modules/postcss/lib/processor.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=K(bl());function K(Se){return Se&&Se.__esModule?Se:{default:Se}}function oe(Se,P){var C;if(typeof Symbol>"u"||Se[Symbol.iterator]==null){if(Array.isArray(Se)||(C=Ae(Se))||P&&Se&&typeof Se.length=="number"){C&&(Se=C);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.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return C=Se[Symbol.iterator](),C.next.bind(C)}function Ae(Se,P){if(Se){if(typeof Se=="string")return Te(Se,P);var C=Object.prototype.toString.call(Se).slice(8,-1);if(C==="Object"&&Se.constructor&&(C=Se.constructor.name),C==="Map"||C==="Set")return Array.from(Se);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return Te(Se,P)}}function Te(Se,P){(P==null||P>Se.length)&&(P=Se.length);for(var C=0,re=new Array(P);C<P;C++)re[C]=Se[C];return re}var De=function(){function Se(C){C===void 0&&(C=[]),this.version="7.0.39",this.plugins=this.normalize(C)}var P=Se.prototype;return P.use=function(C){return this.plugins=this.plugins.concat(this.normalize([C])),this},P.process=function(C){function re(Q){return C.apply(this,arguments)}return re.toString=function(){return C.toString()},re}(function(C,re){return re===void 0&&(re={}),this.plugins.length===0&&(re.parser,re.stringifier),new Z.default(this,C,re)}),P.normalize=function(C){for(var re=[],Q=oe(C),Oe;!(Oe=Q()).done;){var ke=Oe.value;if(ke.postcss===!0){var Qe=ke();throw new Error("PostCSS plugin "+Qe.postcssPlugin+` requires PostCSS 8.
|
|
Migration guide for end-users:
|
|
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.
|
|
Migration guide for end-users:
|
|
https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users`):new Error(ke+" is not a PostCSS plugin")}return re},Se}(),ve=De;T.default=ve,ae.exports=T.default}}),nc=zt({"node_modules/postcss/lib/root.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=K(Hu());function K(P){return P&&P.__esModule?P:{default:P}}function oe(P,C){var re;if(typeof Symbol>"u"||P[Symbol.iterator]==null){if(Array.isArray(P)||(re=Ae(P))||C&&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.
|
|
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,C){if(P){if(typeof P=="string")return Te(P,C);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,C)}}function Te(P,C){(C==null||C>P.length)&&(C=P.length);for(var re=0,Q=new Array(C);re<C;re++)Q[re]=P[re];return Q}function De(P,C){P.prototype=Object.create(C.prototype),P.prototype.constructor=P,P.__proto__=C}var ve=function(P){De(C,P);function C(Q){var Oe;return Oe=P.call(this,Q)||this,Oe.type="root",Oe.nodes||(Oe.nodes=[]),Oe}var re=C.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 Qe=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 ze=oe(Qe),_e;!(_e=ze()).done;){var bt=_e.value;bt.raws.before=Oe.raws.before}}return Qe},re.toResult=function(Q){Q===void 0&&(Q={});var Oe=bl(),ke=zl(),Qe=new Oe(new ke,this,Q);return Qe.stringify()},C}(Z.default),Se=ve;T.default=Se,ae.exports=T.default}}),Fu=zt({"node_modules/postcss/lib/parser.js"(T,ae){Ue(),T.__esModule=!0,T.default=void 0;var Z=ve(ou()),K=ve(ba()),oe=ve(oo()),Ae=ve(Uo()),Te=ve(nc()),De=ve(cl());function ve(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 C=P.prototype;return C.createTokenizer=function(){this.tokenizer=(0,K.default)(this.input)},C.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()},C.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]}},C.emptyRule=function(re){var Q=new De.default;this.init(Q,re[2],re[3]),Q.selector="",Q.raws.between="",this.current=Q},C.other=function(re){for(var Q=!1,Oe=null,ke=!1,Qe=null,ze=[],_e=[],bt=re;bt;){if(Oe=bt[0],_e.push(bt),Oe==="("||Oe==="[")Qe||(Qe=bt),ze.push(Oe==="("?")":"]");else if(ze.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===ze[ze.length-1]&&(ze.pop(),ze.length===0&&(Qe=null));bt=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(Q=!0),ze.length>0&&this.unclosedBracket(Qe),Q&&ke){for(;_e.length&&(bt=_e[_e.length-1][0],!(bt!=="space"&&bt!=="comment"));)this.tokenizer.back(_e.pop());this.decl(_e)}else this.unknownWord(_e)},C.rule=function(re){re.pop();var Q=new De.default;this.init(Q,re[0][2],re[0][3]),Q.raws.between=this.spacesAndCommentsFromEnd(re),this.raw(Q,"selector",re),this.current=Q},C.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 Qe;re.length;)if(Qe=re.shift(),Qe[0]===":"){Q.raws.between+=Qe[1];break}else Qe[0]==="word"&&/\w/.test(Qe[1])&&this.unknownWord([Qe]),Q.raws.between+=Qe[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 ze=re.length-1;ze>0;ze--){if(Qe=re[ze],Qe[1].toLowerCase()==="!important"){Q.important=!0;var _e=this.stringFrom(re,ze);_e=this.spacesFromEnd(re)+_e,_e!==" !important"&&(Q.raws.important=_e);break}else if(Qe[1].toLowerCase()==="important"){for(var bt=re.slice(0),kt="",qt=ze;qt>0;qt--){var un=bt[qt][0];if(kt.trim().indexOf("!")===0&&un!=="space")break;kt=bt.pop()[1]+kt}kt.trim().indexOf("!")===0&&(Q.important=!0,Q.raws.important=kt,re=bt)}if(Qe[0]!=="space"&&Qe[0]!=="comment")break}this.raw(Q,"value",re),Q.value.indexOf(":")!==-1&&this.checkMissedSemicolon(re)},C.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,Qe=!1,ze=!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]==="{"){ze=!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()){Qe=!0;break}}Q.raws.between=this.spacesAndCommentsFromEnd(_e),_e.length?(Q.raws.afterName=this.spacesAndCommentsFromStart(_e),this.raw(Q,"params",_e),Qe&&(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=""),ze&&(Q.nodes=[],this.current=Q)},C.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)},C.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},C.freeSemicolon=function(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="")}},C.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)},C.raw=function(re,Q,Oe){for(var ke,Qe,ze=Oe.length,_e="",bt=!0,kt,qt,un=/^([.|#])?([\w])+/i,Ln=0;Ln<ze;Ln+=1){if(ke=Oe[Ln],Qe=ke[0],Qe==="comment"&&re.type==="rule"){qt=Oe[Ln-1],kt=Oe[Ln+1],qt[0]!=="space"&&kt[0]!=="space"&&un.test(qt[1])&&un.test(kt[1])?_e+=ke[1]:bt=!1;continue}Qe==="comment"||Qe==="space"&&Ln===ze-1?bt=!1:_e+=ke[1]}if(!bt){var zn=Oe.reduce(function(bi,en){return bi+en[1]},"");re.raws[Q]={value:_e,raw:zn}}re[Q]=_e},C.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},C.spacesAndCommentsFromStart=function(re){for(var Q,Oe="";re.length&&(Q=re[0][0],!(Q!=="space"&&Q!=="comment"));)Oe+=re.shift()[1];return Oe},C.spacesFromEnd=function(re){for(var Q,Oe="";re.length&&(Q=re[re.length-1][0],Q==="space");)Oe=re.pop()[1]+Oe;return Oe},C.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},C.colon=function(re){for(var Q=0,Oe,ke,Qe,ze=0;ze<re.length;ze++){if(Oe=re[ze],ke=Oe[0],ke==="("&&(Q+=1),ke===")"&&(Q-=1),Q===0&&ke===":")if(!Qe)this.doubleColon(Oe);else{if(Qe[0]==="word"&&Qe[1]==="progid")continue;return ze}Qe=Oe}return!1},C.unclosedBracket=function(re){throw this.input.error("Unclosed bracket",re[2],re[3])},C.unknownWord=function(re){throw this.input.error("Unknown word",re[0][2],re[0][3])},C.unexpectedClose=function(re){throw this.input.error("Unexpected }",re[2],re[3])},C.unclosedBlock=function(){var re=this.current.source.start;throw this.input.error("Unclosed block",re.line,re.column)},C.doubleColon=function(re){throw this.input.error("Double colon",re[2],re[3])},C.unnamedAtrule=function(re,Q){throw this.input.error("At-rule without name",Q[2],Q[3])},C.precheckMissedSemicolon=function(){},C.checkMissedSemicolon=function(re){var Q=this.colon(re);if(Q!==!1){for(var Oe=0,ke,Qe=Q-1;Qe>=0&&(ke=re[Qe],!(ke[0]!=="space"&&(Oe+=1,Oe===2)));Qe--);throw this.input.error("Missed semicolon",ke[2],ke[3])}},P}();T.default=Se,ae.exports=T.default}}),$u=zt({"node_modules/postcss-less/lib/nodes/inline-comment.js"(T,ae){Ue();var Z=ba(),K=ao();ae.exports={isInlineComment(oe){if(oe[0]==="word"&&oe[1].slice(0,2)==="//"){let Ae=oe,Te=[],De;for(;oe;){if(/\r?\n/.test(oe[1])){if(/['"].*\r?\n/.test(oe[1])){Te.push(oe[1].substring(0,oe[1].indexOf(`
|
|
`)));let Se=oe[1].substring(oe[1].indexOf(`
|
|
`));Se+=this.input.css.valueOf().substring(this.tokenizer.position()),this.input=new K(Se),this.tokenizer=Z(this.input)}else this.tokenizer.back(oe);break}Te.push(oe[1]),De=oe,oe=this.tokenizer.nextToken({ignoreUnclosed:!0})}let ve=["comment",Te.join(""),Ae[2],Ae[3],De[2],De[3]];return this.inlineComment(ve),!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){Ue(),ae.exports={interpolation(Z){let K=Z,oe=[Z],Ae=["word","{","}"];if(Z=this.tokenizer.nextToken(),K[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(C=>C[1]);[K]=oe;let De=oe.pop(),ve=[K[2],K[3]],Se=[De[4]||De[2],De[5]||De[3]],P=["word",Te.join("")].concat(ve,Se);return this.tokenizer.back(Z),this.tokenizer.back(P),!0}}}}),Ys=zt({"node_modules/postcss-less/lib/nodes/mixin.js"(T,ae){Ue();var Z=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,K=/\.[0-9]/,oe=Ae=>{let[,Te]=Ae,[De]=Te;return(De==="."||De==="#")&&Z.test(Te)===!1&&K.test(Te)===!1};ae.exports={isMixinToken:oe}}}),Js=zt({"node_modules/postcss-less/lib/nodes/import.js"(T,ae){Ue();var Z=ba(),K=/^url\((.+)\)/;ae.exports=oe=>{let{name:Ae,params:Te=""}=oe;if(Ae==="import"&&Te.length){oe.import=!0;let De=Z({css:Te});for(oe.filename=Te.replace(K,"$1");!De.endOfFile();){let[ve,Se]=De.nextToken();if(ve==="word"&&Se==="url")return;if(ve==="brackets"){oe.options=Se,oe.filename=Te.replace(Se,"").trim();break}}}}}}),Hs=zt({"node_modules/postcss-less/lib/nodes/variable.js"(T,ae){Ue();var Z=/:$/,K=/^:(\s+)?/;ae.exports=oe=>{let{name:Ae,params:Te=""}=oe;if(oe.name.slice(-1)===":"){if(Z.test(Ae)){let[De]=Ae.match(Z);oe.name=Ae.replace(De,""),oe.raws.afterName=De+(oe.raws.afterName||""),oe.variable=!0,oe.value=oe.params}if(K.test(Te)){let[De]=Te.match(K);oe.value=Te.replace(De,""),oe.raws.afterName=(oe.raws.afterName||"")+De,oe.variable=!0}}}}}),zo=zt({"node_modules/postcss-less/lib/LessParser.js"(T,ae){Ue();var Z=oo(),K=Fu(),{isInlineComment:oe}=$u(),{interpolation:Ae}=ya(),{isMixinToken:Te}=Ys(),De=Js(),ve=Hs(),Se=/(!\s*important)$/i;ae.exports=class extends K{constructor(){super(...arguments),this.lastNode=null}atrule(P){Ae.bind(this)(P)||(super.atrule(P),De(this.lastNode),ve(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 C=P.findIndex(ke=>ke[0]==="("),re=P.reverse().find(ke=>ke[0]===")"),Q=P.reverse().indexOf(re),Oe=P.splice(C,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,C,re){super.init(P,C,re),this.lastNode=P}inlineComment(P){let C=new Z,re=P[1].slice(2);if(this.init(C,P[2],P[3]),C.source.end={line:P[4],column:P[5]},C.inline=!0,C.raws.begin="//",/^\s*$/.test(re))C.text="",C.raws.left=re,C.raws.right="";else{let Q=re.match(/^(\s*)([^]*[^\s])(\s*)$/);[,C.raws.left,C.text,C.raws.right]=Q}}mixin(P){let[C]=P,re=C[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((_i,mi,Ai)=>mi[0]===")"?Ai:_i),bt=P.slice(Oe,_e+Oe).map(_i=>_i[1]).join(""),[kt]=P.slice(Oe),qt=[kt[2],kt[3]],[un]=P.slice(_e,_e+1),Ln=[un[2],un[3]],zn=["brackets",bt].concat(qt,Ln),bi=P.slice(0,Oe),en=P.slice(_e+1);P=bi,P.push(zn),P=P.concat(en)}let Qe=[];for(let _e of P)if((_e[1]==="!"||Qe.length)&&Qe.push(_e),_e[1]==="important")break;if(Qe.length){let[_e]=Qe,bt=P.indexOf(_e),kt=Qe[Qe.length-1],qt=[_e[2],_e[3]],un=[kt[4],kt[5]],Ln=Qe.map(bi=>bi[1]).join(""),zn=["word",Ln].concat(qt,un);P.splice(bt,Qe.length,zn)}let ze=P.findIndex(_e=>Se.test(_e[1]));ze>0&&([,ke]=P[ze],P.splice(ze,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 C=P[P.length-1],re=P[P.length-2];if(re[0]==="at-word"&&C[0]==="{"&&(this.tokenizer.back(C),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[C]=P;if(P[0][1]==="each"&&P[1][0]==="("){this.each(P);return}if(Te(C)){this.mixin(P);return}super.unknownWord(P)}}}}),Wu=zt({"node_modules/postcss-less/lib/LessStringifier.js"(T,ae){Ue();var Z=Tu();ae.exports=class extends Z{atrule(K,oe){if(!K.mixin&&!K.variable&&!K.function){super.atrule(K,oe);return}let Ae=K.function?"":K.raws.identifier||"@",Te="".concat(Ae).concat(K.name),De=K.params?this.rawValue(K,"params"):"",ve=K.raws.important||"";if(K.variable&&(De=K.value),typeof K.raws.afterName<"u"?Te+=K.raws.afterName:De&&(Te+=" "),K.nodes)this.block(K,Te+De+ve);else{let Se=(K.raws.between||"")+ve+(oe?";":"");this.builder(Te+De+Se,K)}}comment(K){if(K.inline){let oe=this.raw(K,"left","commentLeft"),Ae=this.raw(K,"right","commentRight");this.builder("//".concat(oe).concat(K.text).concat(Ae),K)}else super.comment(K)}}}}),lo=zt({"node_modules/postcss-less/lib/index.js"(T,ae){Ue();var Z=ao(),K=zo(),oe=Wu();ae.exports={parse(Ae,Te){let De=new Z(Ae,Te),ve=new K(De);return ve.parse(),ve.root},stringify(Ae,Te){new oe(Te).stringify(Ae)},nodeToString(Ae){let Te="";return ae.exports.stringify(Ae,De=>{Te+=De}),Te}}}}),Ho=zt({"node_modules/postcss-scss/lib/scss-stringifier.js"(T,ae){Ue();function Z(Ae,Te){Ae.prototype=Object.create(Te.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=Te}var K=Tu(),oe=function(Ae){Z(Te,Ae);function Te(){return Ae.apply(this,arguments)||this}var De=Te.prototype;return De.comment=function(ve){var Se=this.raw(ve,"left","commentLeft"),P=this.raw(ve,"right","commentRight");if(ve.raws.inline){var C=ve.raws.text||ve.text;this.builder("//"+Se+C+P,ve)}else this.builder("/*"+Se+ve.text+P+"*/",ve)},De.decl=function(ve,Se){if(!ve.isNested)Ae.prototype.decl.call(this,ve,Se);else{var P=this.raw(ve,"between","colon"),C=ve.prop+P+this.rawValue(ve,"value");ve.important&&(C+=ve.raws.important||" !important"),this.builder(C+"{",ve,"start");var re;ve.nodes&&ve.nodes.length?(this.body(ve),re=this.raw(ve,"after")):re=this.raw(ve,"after","emptyBody"),re&&this.builder(re),this.builder("}",ve,"end")}},De.rawValue=function(ve,Se){var P=ve[Se],C=ve.raws[Se];return C&&C.value===P?C.scss?C.scss:C.raw:P},Te}(K);ae.exports=oe}}),pl=zt({"node_modules/postcss-scss/lib/scss-stringify.js"(T,ae){Ue();var Z=Ho();ae.exports=function(K,oe){var Ae=new Z(oe);Ae.stringify(K)}}}),Al=zt({"node_modules/postcss-scss/lib/nested-declaration.js"(T,ae){Ue();function Z(Ae,Te){Ae.prototype=Object.create(Te.prototype),Ae.prototype.constructor=Ae,Ae.__proto__=Te}var K=Hu(),oe=function(Ae){Z(Te,Ae);function Te(De){var ve;return ve=Ae.call(this,De)||this,ve.type="decl",ve.isNested=!0,ve.nodes||(ve.nodes=[]),ve}return Te}(K);ae.exports=oe}}),hl=zt({"node_modules/postcss-scss/lib/scss-tokenize.js"(T,ae){Ue();var Z="'".charCodeAt(0),K='"'.charCodeAt(0),oe="\\".charCodeAt(0),Ae="/".charCodeAt(0),Te=`
|
|
`.charCodeAt(0),De=" ".charCodeAt(0),ve="\f".charCodeAt(0),Se=" ".charCodeAt(0),P="\r".charCodeAt(0),C="[".charCodeAt(0),re="]".charCodeAt(0),Q="(".charCodeAt(0),Oe=")".charCodeAt(0),ke="{".charCodeAt(0),Qe="}".charCodeAt(0),ze=";".charCodeAt(0),_e="*".charCodeAt(0),bt=":".charCodeAt(0),kt="@".charCodeAt(0),qt=",".charCodeAt(0),un="#".charCodeAt(0),Ln=/[ \n\t\r\f{}()'"\\;/[\]#]/g,zn=/[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g,bi=/.[\\/("'\n]/,en=/[a-f0-9]/i,_i=/[\r\f\n]/g;ae.exports=function(mi,Ai){Ai===void 0&&(Ai={});var Dn=mi.css.valueOf(),Gr=Ai.ignoreErrors,xn,Lr,Vs,Es,es,rs,Wi,Zn,Ri,ki,Pi,Ht,vr,Ir,In=Dn.length,Ut=-1,ui=1,Xn=0,na=[],ia=[];function Os(sa){throw mi.error("Unclosed "+sa,ui,Xn-Ut)}function Aa(){return ia.length===0&&Xn>=In}function va(){for(var sa=1,ea=!1,aa=!1;sa>0;)Lr+=1,Dn.length<=Lr&&Os("interpolation"),xn=Dn.charCodeAt(Lr),Ht=Dn.charCodeAt(Lr+1),ea?!aa&&xn===ea?(ea=!1,aa=!1):xn===oe?aa=!ki:aa&&(aa=!1):xn===Z||xn===K?ea=xn:xn===Qe?sa-=1:xn===un&&Ht===ke&&(sa+=1)}function Zs(){if(ia.length)return ia.pop();if(!(Xn>=In)){switch(xn=Dn.charCodeAt(Xn),(xn===Te||xn===ve||xn===P&&Dn.charCodeAt(Xn+1)!==Te)&&(Ut=Xn,ui+=1),xn){case Te:case De:case Se:case P:case ve:Lr=Xn;do Lr+=1,xn=Dn.charCodeAt(Lr),xn===Te&&(Ut=Lr,ui+=1);while(xn===De||xn===Te||xn===Se||xn===P||xn===ve);vr=["space",Dn.slice(Xn,Lr)],Xn=Lr-1;break;case C:vr=["[","[",ui,Xn-Ut];break;case re:vr=["]","]",ui,Xn-Ut];break;case ke:vr=["{","{",ui,Xn-Ut];break;case Qe:vr=["}","}",ui,Xn-Ut];break;case qt:vr=["word",",",ui,Xn-Ut,ui,Xn-Ut+1];break;case bt:vr=[":",":",ui,Xn-Ut];break;case ze:vr=[";",";",ui,Xn-Ut];break;case Q:if(Pi=na.length?na.pop()[1]:"",Ht=Dn.charCodeAt(Xn+1),Pi==="url"&&Ht!==Z&&Ht!==K){for(Ir=1,ki=!1,Lr=Xn+1;Lr<=Dn.length-1;){if(Ht=Dn.charCodeAt(Lr),Ht===oe)ki=!ki;else if(Ht===Q)Ir+=1;else if(Ht===Oe&&(Ir-=1,Ir===0))break;Lr+=1}rs=Dn.slice(Xn,Lr+1),Es=rs.split(`
|
|
`),es=Es.length-1,es>0?(Zn=ui+es,Ri=Lr-Es[es].length):(Zn=ui,Ri=Ut),vr=["brackets",rs,ui,Xn-Ut,Zn,Lr-Ri],Ut=Ri,ui=Zn,Xn=Lr}else Lr=Dn.indexOf(")",Xn+1),rs=Dn.slice(Xn,Lr+1),Lr===-1||bi.test(rs)?vr=["(","(",ui,Xn-Ut]:(vr=["brackets",rs,ui,Xn-Ut,ui,Lr-Ut],Xn=Lr);break;case Oe:vr=[")",")",ui,Xn-Ut];break;case Z:case K:for(Vs=xn,Lr=Xn,ki=!1;Lr<In&&(Lr++,Lr===In&&Os("string"),xn=Dn.charCodeAt(Lr),Ht=Dn.charCodeAt(Lr+1),!(!ki&&xn===Vs));)xn===oe?ki=!ki:ki?ki=!1:xn===un&&Ht===ke&&va();rs=Dn.slice(Xn,Lr+1),Es=rs.split(`
|
|
`),es=Es.length-1,es>0?(Zn=ui+es,Ri=Lr-Es[es].length):(Zn=ui,Ri=Ut),vr=["string",Dn.slice(Xn,Lr+1),ui,Xn-Ut,Zn,Lr-Ri],Ut=Ri,ui=Zn,Xn=Lr;break;case kt:Ln.lastIndex=Xn+1,Ln.test(Dn),Ln.lastIndex===0?Lr=Dn.length-1:Lr=Ln.lastIndex-2,vr=["at-word",Dn.slice(Xn,Lr+1),ui,Xn-Ut,ui,Lr-Ut],Xn=Lr;break;case oe:for(Lr=Xn,Wi=!0;Dn.charCodeAt(Lr+1)===oe;)Lr+=1,Wi=!Wi;if(xn=Dn.charCodeAt(Lr+1),Wi&&xn!==Ae&&xn!==De&&xn!==Te&&xn!==Se&&xn!==P&&xn!==ve&&(Lr+=1,en.test(Dn.charAt(Lr)))){for(;en.test(Dn.charAt(Lr+1));)Lr+=1;Dn.charCodeAt(Lr+1)===De&&(Lr+=1)}vr=["word",Dn.slice(Xn,Lr+1),ui,Xn-Ut,ui,Lr-Ut],Xn=Lr;break;default:Ht=Dn.charCodeAt(Xn+1),xn===un&&Ht===ke?(Lr=Xn,va(),rs=Dn.slice(Xn,Lr+1),Es=rs.split(`
|
|
`),es=Es.length-1,es>0?(Zn=ui+es,Ri=Lr-Es[es].length):(Zn=ui,Ri=Ut),vr=["word",rs,ui,Xn-Ut,Zn,Lr-Ri],Ut=Ri,ui=Zn,Xn=Lr):xn===Ae&&Ht===_e?(Lr=Dn.indexOf("*/",Xn+2)+1,Lr===0&&(Gr?Lr=Dn.length:Os("comment")),rs=Dn.slice(Xn,Lr+1),Es=rs.split(`
|
|
`),es=Es.length-1,es>0?(Zn=ui+es,Ri=Lr-Es[es].length):(Zn=ui,Ri=Ut),vr=["comment",rs,ui,Xn-Ut,Zn,Lr-Ri],Ut=Ri,ui=Zn,Xn=Lr):xn===Ae&&Ht===Ae?(_i.lastIndex=Xn+1,_i.test(Dn),_i.lastIndex===0?Lr=Dn.length-1:Lr=_i.lastIndex-2,rs=Dn.slice(Xn,Lr+1),vr=["comment",rs,ui,Xn-Ut,ui,Lr-Ut,"inline"],Xn=Lr):(zn.lastIndex=Xn+1,zn.test(Dn),zn.lastIndex===0?Lr=Dn.length-1:Lr=zn.lastIndex-2,vr=["word",Dn.slice(Xn,Lr+1),ui,Xn-Ut,ui,Lr-Ut],na.push(vr),Xn=Lr);break}return Xn++,vr}}function Ma(sa){ia.push(sa)}return{back:Ma,nextToken:Zs,endOfFile:Aa}}}}),Hl=zt({"node_modules/postcss-scss/lib/scss-parser.js"(T,ae){Ue();function Z(ve,Se){ve.prototype=Object.create(Se.prototype),ve.prototype.constructor=ve,ve.__proto__=Se}var K=oo(),oe=Fu(),Ae=Al(),Te=hl(),De=function(ve){Z(Se,ve);function Se(){return ve.apply(this,arguments)||this}var P=Se.prototype;return P.createTokenizer=function(){this.tokenizer=Te(this.input)},P.rule=function(C){for(var re=!1,Q=0,Oe="",ze=C,ke=Array.isArray(ze),Qe=0,ze=ke?ze:ze[Symbol.iterator]();;){var _e;if(ke){if(Qe>=ze.length)break;_e=ze[Qe++]}else{if(Qe=ze.next(),Qe.done)break;_e=Qe.value}var bt=_e;if(re)bt[0]!=="comment"&&bt[0]!=="{"&&(Oe+=bt[1]);else{if(bt[0]==="space"&&bt[1].indexOf(`
|
|
`)!==-1)break;bt[0]==="("?Q+=1:bt[0]===")"?Q-=1:Q===0&&bt[0]===":"&&(re=!0)}}if(!re||Oe.trim()===""||/^[a-zA-Z-:#]/.test(Oe))ve.prototype.rule.call(this,C);else{C.pop();var kt=new Ae;this.init(kt);var qt=C[C.length-1];for(qt[4]?kt.source.end={line:qt[4],column:qt[5]}:kt.source.end={line:qt[2],column:qt[3]};C[0][0]!=="word";)kt.raws.before+=C.shift()[1];for(kt.source.start={line:C[0][2],column:C[0][3]},kt.prop="";C.length;){var un=C[0][0];if(un===":"||un==="space"||un==="comment")break;kt.prop+=C.shift()[1]}kt.raws.between="";for(var Ln;C.length;)if(Ln=C.shift(),Ln[0]===":"){kt.raws.between+=Ln[1];break}else kt.raws.between+=Ln[1];(kt.prop[0]==="_"||kt.prop[0]==="*")&&(kt.raws.before+=kt.prop[0],kt.prop=kt.prop.slice(1)),kt.raws.between+=this.spacesAndCommentsFromStart(C),this.precheckMissedSemicolon(C);for(var zn=C.length-1;zn>0;zn--){if(Ln=C[zn],Ln[1]==="!important"){kt.important=!0;var bi=this.stringFrom(C,zn);bi=this.spacesFromEnd(C)+bi,bi!==" !important"&&(kt.raws.important=bi);break}else if(Ln[1]==="important"){for(var en=C.slice(0),_i="",mi=zn;mi>0;mi--){var Ai=en[mi][0];if(_i.trim().indexOf("!")===0&&Ai!=="space")break;_i=en.pop()[1]+_i}_i.trim().indexOf("!")===0&&(kt.important=!0,kt.raws.important=_i,C=en)}if(Ln[0]!=="space"&&Ln[0]!=="comment")break}this.raw(kt,"value",C),kt.value.indexOf(":")!==-1&&this.checkMissedSemicolon(C),this.current=kt}},P.comment=function(C){if(C[6]==="inline"){var re=new K;this.init(re,C[2],C[3]),re.raws.inline=!0,re.source.end={line:C[4],column:C[5]};var Q=C[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 ve.prototype.comment.call(this,C)},P.raw=function(C,re,Q){if(ve.prototype.raw.call(this,C,re,Q),C.raws[re]){var Oe=C.raws[re].raw;C.raws[re].raw=Q.reduce(function(ke,Qe){if(Qe[0]==="comment"&&Qe[6]==="inline"){var ze=Qe[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return ke+"/*"+ze+"*/"}else return ke+Qe[1]},""),Oe!==C.raws[re].raw&&(C.raws[re].scss=Oe)}},Se}(oe);ae.exports=De}}),Vu=zt({"node_modules/postcss-scss/lib/scss-parse.js"(T,ae){Ue();var Z=ao(),K=Hl();ae.exports=function(oe,Ae){var Te=new Z(oe,Ae),De=new K(Te);return De.parse(),De.root}}}),ql=zt({"node_modules/postcss-scss/lib/scss-syntax.js"(T,ae){Ue();var Z=pl(),K=Vu();ae.exports={parse:K,stringify:Z}}});Ue();var fl=Bt(),Gu=Xt(),$l=tr(),{hasPragma:wl}=Li(),{locStart:ku,locEnd:So}=Gn(),{calculateLoc:vo,replaceQuotesInInlineComments:Tl}=Gn(),Pu=js(),co=S(),dl=Je(),Wl=Mr(),Sl=sn(),qa=ci(),ks=ss(),$a=Zi(),Fo=T=>{for(;T.parent;)T=T.parent;return T};function Wa(T,ae){let{nodes:Z}=T,K={open:null,close:null,groups:[],type:"paren_group"},oe=[K],Ae=K,Te={groups:[],type:"comma_group"},De=[Te];for(let ve=0;ve<Z.length;++ve){let Se=Z[ve];if(Wl(ae.parser,Se.value)&&Se.type==="number"&&Se.unit===".."&&Gu(Se.value)==="."&&(Se.value=Se.value.slice(0,-1),Se.unit="..."),Se.type==="func"&&Se.value==="selector"&&(Se.group.groups=[Za(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||[],C=[];for(let re=0;re<P.length;re++){let Q=P[re];Q.type==="comma_group"?C=[...C,...Q.groups]:C.push(Q)}if(Pu(C)||!co(C)&&!qa(C[0])){let re=ks({groups:Se.group.groups});Se.group.groups=[re.trim()]}}if(Se.type==="paren"&&Se.value==="(")K={open:Se,close:null,groups:[],type:"paren_group"},oe.push(K),Te={groups:[],type:"comma_group"},De.push(Te);else if(Se.type==="paren"&&Se.value===")"){if(Te.groups.length>0&&K.groups.push(Te),K.close=Se,De.length===1)throw new Error("Unbalanced parenthesis");De.pop(),Te=Gu(De),Te.groups.push(K),oe.pop(),K=Gu(oe)}else Se.type==="comma"?(K.groups.push(Te),Te={groups:[],type:"comma_group"},De[De.length-1]=Te):Te.groups.push(Se)}return Te.groups.length>0&&K.groups.push(Te),Ae}function Xu(T){return T.type==="paren_group"&&!T.open&&!T.close&&T.groups.length===1||T.type==="comma_group"&&T.groups.length===1?Xu(T.groups[0]):T.type==="paren_group"||T.type==="comma_group"?Object.assign(Object.assign({},T),{},{groups:T.groups.map(Xu)}):T}function qo(T,ae,Z){if(T&&typeof T=="object"){delete T.parent;for(let K in T)qo(T[K],ae,Z),K==="type"&&typeof T[K]=="string"&&!T[K].startsWith(ae)&&(!Z||!Z.test(T[K]))&&(T[K]=ae+T[K])}return T}function Fl(T){if(T&&typeof T=="object"){delete T.parent;for(let ae in T)Fl(T[ae]);!Array.isArray(T)&&T.value&&!T.type&&(T.type="unknown")}return T}function Vl(T,ae){if(T&&typeof T=="object"){for(let Z in T)Z!=="parent"&&(Vl(T[Z],ae),Z==="nodes"&&(T.group=Xu(Wa(T,ae)),delete T[Z]));delete T.parent}return T}function ko(T,ae){let Z=ha(),K=null;try{K=Z(T,{loose:!0}).parse()}catch{return{type:"value-unknown",value:T}}K.text=T;let oe=Vl(K,ae);return qo(oe,"value-",/^selector-/)}function Za(T){if(/\/\/|\/\*/.test(T))return{type:"selector-unknown",value:T.trim()};let ae=ga(),Z=null;try{ae(K=>{Z=K}).process(T)}catch{return{type:"selector-unknown",value:T}}return qo(Z,"selector-")}function lu(T){let ae=Eo().default,Z=null;try{Z=ae(T)}catch{return{type:"selector-unknown",value:T}}return qo(Fl(Z),"media-")}var ml=/(\s*)(!default).*$/,po=/(\s*)(!global).*$/;function gl(T,ae){if(T&&typeof T=="object"){delete T.parent;for(let Ae in T)gl(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 K="";typeof T.value=="string"&&(K=T.raws.value?T.raws.value.scss?T.raws.value.scss:T.raws.value.raw:T.value,K=K.trim(),T.raws.value=K);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):(Sl(T)&&(T.isSCSSNesterProperty=!0),T.selector=Za(Z),T);if(K.length>0){let Ae=K.match(ml);Ae&&(K=K.slice(0,Ae.index),T.scssDefault=!0,Ae[0].trim()!=="!default"&&(T.raws.scssDefault=Ae[0]));let Te=K.match(po);if(Te&&(K=K.slice(0,Te.index),T.scssGlobal=!0,Te[0].trim()!=="!global"&&(T.raws.scssGlobal=Te[0])),K.startsWith("progid:"))return{type:"value-unknown",value:K};T.value=ko(K,ae)}if(dl(ae)&&T.type==="css-decl"&&K.startsWith("extend(")&&(T.extend||(T.extend=T.raws.between===":"),T.extend&&!T.selector&&(delete T.value,T.selector=Za(K.slice(7,-1)))),T.type==="css-atrule"){if(dl(ae)){if(T.mixin){let Ae=T.raws.identifier+T.name+T.raws.afterName+T.raws.params;return T.selector=Za(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=Za(T.params.slice(Ae.length).trim()),delete T.params,T}if(dl(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=Za(oe),delete T.params,T):Ae==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(oe)?T.params=ko(oe,ae):(T.selector=Za(oe),delete T.params),T):$a(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=lu(oe),T):(T.params=oe,T)}}return T}function $o(T,ae,Z){let K=$l(ae),{frontMatter:oe}=K;ae=K.content;let Ae;try{Ae=T(ae)}catch(Te){let{name:De,reason:ve,line:Se,column:P}=Te;throw typeof Se!="number"?Te:fl("".concat(De,": ").concat(ve),{start:{line:Se,column:P}})}return Ae=gl(qo(Ae,"css-"),Z),vo(Ae,ae),oe&&(oe.source={startOffset:0,endOffset:oe.raw.length},Ae.nodes.unshift(oe)),Ae}function ic(T,ae){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},K=Wl(Z.parser,T)?[Ju,Po]:[Po,Ju],oe;for(let Ae of K)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]:{},K=lo();return $o(oe=>K.parse(Tl(oe)),T,Z)}function Ju(T,ae){let Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:K}=ql();return $o(K,T,Z)}var cu={astFormat:"postcss",hasPragma:wl,locStart:ku,locEnd:So};Fr.exports={parsers:{css:Object.assign(Object.assign({},cu),{},{parse:ic}),less:Object.assign(Object.assign({},cu),{},{parse:Po}),scss:Object.assign(Object.assign({},cu),{},{parse:Ju})}}});return Ls()})})(Am);const GD=Hp(Am.exports);var wm={exports:{}};(function(i,c){(function(l){i.exports=l()})(function(){var l=(Rt,Ie)=>()=>(Ie||Rt((Ie={exports:{}}).exports,Ie),Ie.exports),f=l((Rt,Ie)=>{var ce=function(de){return de&&de.Math==Math&&de};Ie.exports=ce(typeof globalThis=="object"&&globalThis)||ce(typeof window=="object"&&window)||ce(typeof self=="object"&&self)||ce(typeof jl=="object"&&jl)||function(){return this}()||Function("return this")()}),v=l((Rt,Ie)=>{Ie.exports=function(ce){try{return!!ce()}catch{return!0}}}),B=l((Rt,Ie)=>{var ce=v();Ie.exports=!ce(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((Rt,Ie)=>{var ce=v();Ie.exports=!ce(function(){var de=function(){}.bind();return typeof de!="function"||de.hasOwnProperty("prototype")})}),he=l((Rt,Ie)=>{var ce=Y(),de=Function.prototype.call;Ie.exports=ce?de.bind(de):function(){return de.apply(de,arguments)}}),xe=l(Rt=>{var Ie={}.propertyIsEnumerable,ce=Object.getOwnPropertyDescriptor,de=ce&&!Ie.call({1:2},1);Rt.f=de?function(be){var Ee=ce(this,be);return!!Ee&&Ee.enumerable}:Ie}),Le=l((Rt,Ie)=>{Ie.exports=function(ce,de){return{enumerable:!(ce&1),configurable:!(ce&2),writable:!(ce&4),value:de}}}),je=l((Rt,Ie)=>{var ce=Y(),de=Function.prototype,be=de.bind,Ee=de.call,He=ce&&be.bind(Ee,Ee);Ie.exports=ce?function(et){return et&&He(et)}:function(et){return et&&function(){return Ee.apply(et,arguments)}}}),it=l((Rt,Ie)=>{var ce=je(),de=ce({}.toString),be=ce("".slice);Ie.exports=function(Ee){return be(de(Ee),8,-1)}}),xt=l((Rt,Ie)=>{var ce=f(),de=je(),be=v(),Ee=it(),He=ce.Object,et=de("".split);Ie.exports=be(function(){return!He("z").propertyIsEnumerable(0)})?function(st){return Ee(st)=="String"?et(st,""):He(st)}:He}),Ft=l((Rt,Ie)=>{var ce=f(),de=ce.TypeError;Ie.exports=function(be){if(be==null)throw de("Can't call method on "+be);return be}}),Qt=l((Rt,Ie)=>{var ce=xt(),de=Ft();Ie.exports=function(be){return ce(de(be))}}),mr=l((Rt,Ie)=>{Ie.exports=function(ce){return typeof ce=="function"}}),Ur=l((Rt,Ie)=>{var ce=mr();Ie.exports=function(de){return typeof de=="object"?de!==null:ce(de)}}),wt=l((Rt,Ie)=>{var ce=f(),de=mr(),be=function(Ee){return de(Ee)?Ee:void 0};Ie.exports=function(Ee,He){return arguments.length<2?be(ce[Ee]):ce[Ee]&&ce[Ee][He]}}),jt=l((Rt,Ie)=>{var ce=je();Ie.exports=ce({}.isPrototypeOf)}),Wt=l((Rt,Ie)=>{var ce=wt();Ie.exports=ce("navigator","userAgent")||""}),Ar=l((Rt,Ie)=>{var ce=f(),de=Wt(),be=ce.process,Ee=ce.Deno,He=be&&be.versions||Ee&&Ee.version,et=He&&He.v8,st,yt;et&&(st=et.split("."),yt=st[0]>0&&st[0]<4?1:+(st[0]+st[1])),!yt&&de&&(st=de.match(/Edge\/(\d+)/),(!st||st[1]>=74)&&(st=de.match(/Chrome\/(\d+)/),st&&(yt=+st[1]))),Ie.exports=yt}),an=l((Rt,Ie)=>{var ce=Ar(),de=v();Ie.exports=!!Object.getOwnPropertySymbols&&!de(function(){var be=Symbol();return!String(be)||!(Object(be)instanceof Symbol)||!Symbol.sham&&ce&&ce<41})}),Vn=l((Rt,Ie)=>{var ce=an();Ie.exports=ce&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),An=l((Rt,Ie)=>{var ce=f(),de=wt(),be=mr(),Ee=jt(),He=Vn(),et=ce.Object;Ie.exports=He?function(st){return typeof st=="symbol"}:function(st){var yt=de("Symbol");return be(yt)&&Ee(yt.prototype,et(st))}}),gi=l((Rt,Ie)=>{var ce=f(),de=ce.String;Ie.exports=function(be){try{return de(be)}catch{return"Object"}}}),ai=l((Rt,Ie)=>{var ce=f(),de=mr(),be=gi(),Ee=ce.TypeError;Ie.exports=function(He){if(de(He))return He;throw Ee(be(He)+" is not a function")}}),$n=l((Rt,Ie)=>{var ce=ai();Ie.exports=function(de,be){var Ee=de[be];return Ee==null?void 0:ce(Ee)}}),Mn=l((Rt,Ie)=>{var ce=f(),de=he(),be=mr(),Ee=Ur(),He=ce.TypeError;Ie.exports=function(et,st){var yt,Vt;if(st==="string"&&be(yt=et.toString)&&!Ee(Vt=de(yt,et))||be(yt=et.valueOf)&&!Ee(Vt=de(yt,et))||st!=="string"&&be(yt=et.toString)&&!Ee(Vt=de(yt,et)))return Vt;throw He("Can't convert object to primitive value")}}),yi=l((Rt,Ie)=>{Ie.exports=!1}),Cr=l((Rt,Ie)=>{var ce=f(),de=Object.defineProperty;Ie.exports=function(be,Ee){try{de(ce,be,{value:Ee,configurable:!0,writable:!0})}catch{ce[be]=Ee}return Ee}}),Tn=l((Rt,Ie)=>{var ce=f(),de=Cr(),be="__core-js_shared__",Ee=ce[be]||de(be,{});Ie.exports=Ee}),we=l((Rt,Ie)=>{var ce=yi(),de=Tn();(Ie.exports=function(be,Ee){return de[be]||(de[be]=Ee!==void 0?Ee:{})})("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"})}),rn=l((Rt,Ie)=>{var ce=f(),de=Ft(),be=ce.Object;Ie.exports=function(Ee){return be(de(Ee))}}),ur=l((Rt,Ie)=>{var ce=je(),de=rn(),be=ce({}.hasOwnProperty);Ie.exports=Object.hasOwn||function(Ee,He){return be(de(Ee),He)}}),Sn=l((Rt,Ie)=>{var ce=je(),de=0,be=Math.random(),Ee=ce(1 .toString);Ie.exports=function(He){return"Symbol("+(He===void 0?"":He)+")_"+Ee(++de+be,36)}}),Kn=l((Rt,Ie)=>{var ce=f(),de=we(),be=ur(),Ee=Sn(),He=an(),et=Vn(),st=de("wks"),yt=ce.Symbol,Vt=yt&&yt.for,nr=et?yt:yt&&yt.withoutSetter||Ee;Ie.exports=function(Tr){if(!be(st,Tr)||!(He||typeof st[Tr]=="string")){var zr="Symbol."+Tr;He&&be(yt,Tr)?st[Tr]=yt[Tr]:et&&Vt?st[Tr]=Vt(zr):st[Tr]=nr(zr)}return st[Tr]}}),Yi=l((Rt,Ie)=>{var ce=f(),de=he(),be=Ur(),Ee=An(),He=$n(),et=Mn(),st=Kn(),yt=ce.TypeError,Vt=st("toPrimitive");Ie.exports=function(nr,Tr){if(!be(nr)||Ee(nr))return nr;var zr=He(nr,Vt),Yr;if(zr){if(Tr===void 0&&(Tr="default"),Yr=de(zr,nr,Tr),!be(Yr)||Ee(Yr))return Yr;throw yt("Can't convert object to primitive value")}return Tr===void 0&&(Tr="number"),et(nr,Tr)}}),ys=l((Rt,Ie)=>{var ce=Yi(),de=An();Ie.exports=function(be){var Ee=ce(be,"string");return de(Ee)?Ee:Ee+""}}),Ns=l((Rt,Ie)=>{var ce=f(),de=Ur(),be=ce.document,Ee=de(be)&&de(be.createElement);Ie.exports=function(He){return Ee?be.createElement(He):{}}}),cs=l((Rt,Ie)=>{var ce=B(),de=v(),be=Ns();Ie.exports=!ce&&!de(function(){return Object.defineProperty(be("div"),"a",{get:function(){return 7}}).a!=7})}),ts=l(Rt=>{var Ie=B(),ce=he(),de=xe(),be=Le(),Ee=Qt(),He=ys(),et=ur(),st=cs(),yt=Object.getOwnPropertyDescriptor;Rt.f=Ie?yt:function(Vt,nr){if(Vt=Ee(Vt),nr=He(nr),st)try{return yt(Vt,nr)}catch{}if(et(Vt,nr))return be(!ce(de.f,Vt,nr),Vt[nr])}}),_r=l((Rt,Ie)=>{var ce=B(),de=v();Ie.exports=ce&&de(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Kr=l((Rt,Ie)=>{var ce=f(),de=Ur(),be=ce.String,Ee=ce.TypeError;Ie.exports=function(He){if(de(He))return He;throw Ee(be(He)+" is not an object")}}),yr=l(Rt=>{var Ie=f(),ce=B(),de=cs(),be=_r(),Ee=Kr(),He=ys(),et=Ie.TypeError,st=Object.defineProperty,yt=Object.getOwnPropertyDescriptor,Vt="enumerable",nr="configurable",Tr="writable";Rt.f=ce?be?function(zr,Yr,tn){if(Ee(zr),Yr=He(Yr),Ee(tn),typeof zr=="function"&&Yr==="prototype"&&"value"in tn&&Tr in tn&&!tn[Tr]){var Pr=yt(zr,Yr);Pr&&Pr[Tr]&&(zr[Yr]=tn.value,tn={configurable:nr in tn?tn[nr]:Pr[nr],enumerable:Vt in tn?tn[Vt]:Pr[Vt],writable:!1})}return st(zr,Yr,tn)}:st:function(zr,Yr,tn){if(Ee(zr),Yr=He(Yr),Ee(tn),de)try{return st(zr,Yr,tn)}catch{}if("get"in tn||"set"in tn)throw et("Accessors not supported");return"value"in tn&&(zr[Yr]=tn.value),zr}}),dn=l((Rt,Ie)=>{var ce=B(),de=yr(),be=Le();Ie.exports=ce?function(Ee,He,et){return de.f(Ee,He,be(1,et))}:function(Ee,He,et){return Ee[He]=et,Ee}}),oi=l((Rt,Ie)=>{var ce=je(),de=mr(),be=Tn(),Ee=ce(Function.toString);de(be.inspectSource)||(be.inspectSource=function(He){return Ee(He)}),Ie.exports=be.inspectSource}),Jn=l((Rt,Ie)=>{var ce=f(),de=mr(),be=oi(),Ee=ce.WeakMap;Ie.exports=de(Ee)&&/native code/.test(be(Ee))}),Un=l((Rt,Ie)=>{var ce=we(),de=Sn(),be=ce("keys");Ie.exports=function(Ee){return be[Ee]||(be[Ee]=de(Ee))}}),li=l((Rt,Ie)=>{Ie.exports={}}),ct=l((Rt,Ie)=>{var ce=Jn(),de=f(),be=je(),Ee=Ur(),He=dn(),et=ur(),st=Tn(),yt=Un(),Vt=li(),nr="Object already initialized",Tr=de.TypeError,zr=de.WeakMap,Yr,tn,Pr,kn=function(Li){return Pr(Li)?tn(Li):Yr(Li,{})},pi=function(Li){return function(xi){var ti;if(!Ee(xi)||(ti=tn(xi)).type!==Li)throw Tr("Incompatible receiver, "+Li+" required");return ti}};ce||st.state?(yn=st.state||(st.state=new zr),Ji=be(yn.get),vi=be(yn.has),Xe=be(yn.set),Yr=function(Li,xi){if(vi(yn,Li))throw new Tr(nr);return xi.facade=Li,Xe(yn,Li,xi),xi},tn=function(Li){return Ji(yn,Li)||{}},Pr=function(Li){return vi(yn,Li)}):(Ds=yt("state"),Vt[Ds]=!0,Yr=function(Li,xi){if(et(Li,Ds))throw new Tr(nr);return xi.facade=Li,He(Li,Ds,xi),xi},tn=function(Li){return et(Li,Ds)?Li[Ds]:{}},Pr=function(Li){return et(Li,Ds)});var yn,Ji,vi,Xe,Ds;Ie.exports={set:Yr,get:tn,has:Pr,enforce:kn,getterFor:pi}}),Ot=l((Rt,Ie)=>{var ce=B(),de=ur(),be=Function.prototype,Ee=ce&&Object.getOwnPropertyDescriptor,He=de(be,"name"),et=He&&function(){}.name==="something",st=He&&(!ce||ce&&Ee(be,"name").configurable);Ie.exports={EXISTS:He,PROPER:et,CONFIGURABLE:st}}),Er=l((Rt,Ie)=>{var ce=f(),de=mr(),be=ur(),Ee=dn(),He=Cr(),et=oi(),st=ct(),yt=Ot().CONFIGURABLE,Vt=st.get,nr=st.enforce,Tr=String(String).split("String");(Ie.exports=function(zr,Yr,tn,Pr){var kn=Pr?!!Pr.unsafe:!1,pi=Pr?!!Pr.enumerable:!1,yn=Pr?!!Pr.noTargetGet:!1,Ji=Pr&&Pr.name!==void 0?Pr.name:Yr,vi;if(de(tn)&&(String(Ji).slice(0,7)==="Symbol("&&(Ji="["+String(Ji).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!be(tn,"name")||yt&&tn.name!==Ji)&&Ee(tn,"name",Ji),vi=nr(tn),vi.source||(vi.source=Tr.join(typeof Ji=="string"?Ji:""))),zr===ce){pi?zr[Yr]=tn:He(Yr,tn);return}else kn?!yn&&zr[Yr]&&(pi=!0):delete zr[Yr];pi?zr[Yr]=tn:Ee(zr,Yr,tn)})(Function.prototype,"toString",function(){return de(this)&&Vt(this).source||et(this)})}),sr=l((Rt,Ie)=>{var ce=Math.ceil,de=Math.floor;Ie.exports=function(be){var Ee=+be;return Ee!==Ee||Ee===0?0:(Ee>0?de:ce)(Ee)}}),Jr=l((Rt,Ie)=>{var ce=sr(),de=Math.max,be=Math.min;Ie.exports=function(Ee,He){var et=ce(Ee);return et<0?de(et+He,0):be(et,He)}}),fn=l((Rt,Ie)=>{var ce=sr(),de=Math.min;Ie.exports=function(be){return be>0?de(ce(be),9007199254740991):0}}),mn=l((Rt,Ie)=>{var ce=fn();Ie.exports=function(de){return ce(de.length)}}),Fn=l((Rt,Ie)=>{var ce=Qt(),de=Jr(),be=mn(),Ee=function(He){return function(et,st,yt){var Vt=ce(et),nr=be(Vt),Tr=de(yt,nr),zr;if(He&&st!=st){for(;nr>Tr;)if(zr=Vt[Tr++],zr!=zr)return!0}else for(;nr>Tr;Tr++)if((He||Tr in Vt)&&Vt[Tr]===st)return He||Tr||0;return!He&&-1}};Ie.exports={includes:Ee(!0),indexOf:Ee(!1)}}),hn=l((Rt,Ie)=>{var ce=je(),de=ur(),be=Qt(),Ee=Fn().indexOf,He=li(),et=ce([].push);Ie.exports=function(st,yt){var Vt=be(st),nr=0,Tr=[],zr;for(zr in Vt)!de(He,zr)&&de(Vt,zr)&&et(Tr,zr);for(;yt.length>nr;)de(Vt,zr=yt[nr++])&&(~Ee(Tr,zr)||et(Tr,zr));return Tr}}),lt=l((Rt,Ie)=>{Ie.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),br=l(Rt=>{var Ie=hn(),ce=lt(),de=ce.concat("length","prototype");Rt.f=Object.getOwnPropertyNames||function(be){return Ie(be,de)}}),Mt=l(Rt=>{Rt.f=Object.getOwnPropertySymbols}),jn=l((Rt,Ie)=>{var ce=wt(),de=je(),be=br(),Ee=Mt(),He=Kr(),et=de([].concat);Ie.exports=ce("Reflect","ownKeys")||function(st){var yt=be.f(He(st)),Vt=Ee.f;return Vt?et(yt,Vt(st)):yt}}),Di=l((Rt,Ie)=>{var ce=ur(),de=jn(),be=ts(),Ee=yr();Ie.exports=function(He,et,st){for(var yt=de(et),Vt=Ee.f,nr=be.f,Tr=0;Tr<yt.length;Tr++){var zr=yt[Tr];!ce(He,zr)&&!(st&&ce(st,zr))&&Vt(He,zr,nr(et,zr))}}}),ns=l((Rt,Ie)=>{var ce=v(),de=mr(),be=/#|\.prototype\./,Ee=function(Vt,nr){var Tr=et[He(Vt)];return Tr==yt?!0:Tr==st?!1:de(nr)?ce(nr):!!nr},He=Ee.normalize=function(Vt){return String(Vt).replace(be,".").toLowerCase()},et=Ee.data={},st=Ee.NATIVE="N",yt=Ee.POLYFILL="P";Ie.exports=Ee}),is=l((Rt,Ie)=>{var ce=f(),de=ts().f,be=dn(),Ee=Er(),He=Cr(),et=Di(),st=ns();Ie.exports=function(yt,Vt){var nr=yt.target,Tr=yt.global,zr=yt.stat,Yr,tn,Pr,kn,pi,yn;if(Tr?tn=ce:zr?tn=ce[nr]||He(nr,{}):tn=(ce[nr]||{}).prototype,tn)for(Pr in Vt){if(pi=Vt[Pr],yt.noTargetGet?(yn=de(tn,Pr),kn=yn&&yn.value):kn=tn[Pr],Yr=st(Tr?Pr:nr+(zr?".":"#")+Pr,yt.forced),!Yr&&kn!==void 0){if(typeof pi==typeof kn)continue;et(pi,kn)}(yt.sham||kn&&kn.sham)&&be(pi,"sham",!0),Ee(tn,Pr,pi,yt)}}}),ls=l(()=>{var Rt=is(),Ie=f();Rt({global:!0},{globalThis:Ie})}),zi=l(()=>{ls()}),Ls=l((Rt,Ie)=>{var ce=it();Ie.exports=Array.isArray||function(de){return ce(de)=="Array"}}),qn=l((Rt,Ie)=>{var ce=je(),de=ai(),be=Y(),Ee=ce(ce.bind);Ie.exports=function(He,et){return de(He),et===void 0?He:be?Ee(He,et):function(){return He.apply(et,arguments)}}}),Fr=l((Rt,Ie)=>{var ce=f(),de=Ls(),be=mn(),Ee=qn(),He=ce.TypeError,et=function(st,yt,Vt,nr,Tr,zr,Yr,tn){for(var Pr=Tr,kn=0,pi=Yr?Ee(Yr,tn):!1,yn,Ji;kn<nr;){if(kn in Vt){if(yn=pi?pi(Vt[kn],kn,yt):Vt[kn],zr>0&&de(yn))Ji=be(yn),Pr=et(st,yt,yn,Ji,Pr,zr-1)-1;else{if(Pr>=9007199254740991)throw He("Exceed the acceptable array length");st[Pr]=yn}Pr++}kn++}return Pr};Ie.exports=et}),Br=l((Rt,Ie)=>{var ce=Kn(),de=ce("toStringTag"),be={};be[de]="z",Ie.exports=String(be)==="[object z]"}),Gt=l((Rt,Ie)=>{var ce=f(),de=Br(),be=mr(),Ee=it(),He=Kn(),et=He("toStringTag"),st=ce.Object,yt=Ee(function(){return arguments}())=="Arguments",Vt=function(nr,Tr){try{return nr[Tr]}catch{}};Ie.exports=de?Ee:function(nr){var Tr,zr,Yr;return nr===void 0?"Undefined":nr===null?"Null":typeof(zr=Vt(Tr=st(nr),et))=="string"?zr:yt?Ee(Tr):(Yr=Ee(Tr))=="Object"&&be(Tr.callee)?"Arguments":Yr}}),Vr=l((Rt,Ie)=>{var ce=je(),de=v(),be=mr(),Ee=Gt(),He=wt(),et=oi(),st=function(){},yt=[],Vt=He("Reflect","construct"),nr=/^\s*(?:class|function)\b/,Tr=ce(nr.exec),zr=!nr.exec(st),Yr=function(Pr){if(!be(Pr))return!1;try{return Vt(st,yt,Pr),!0}catch{return!1}},tn=function(Pr){if(!be(Pr))return!1;switch(Ee(Pr)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return zr||!!Tr(nr,et(Pr))}catch{return!0}};tn.sham=!0,Ie.exports=!Vt||de(function(){var Pr;return Yr(Yr.call)||!Yr(Object)||!Yr(function(){Pr=!0})||Pr})?tn:Yr}),lr=l((Rt,Ie)=>{var ce=f(),de=Ls(),be=Vr(),Ee=Ur(),He=Kn(),et=He("species"),st=ce.Array;Ie.exports=function(yt){var Vt;return de(yt)&&(Vt=yt.constructor,be(Vt)&&(Vt===st||de(Vt.prototype))?Vt=void 0:Ee(Vt)&&(Vt=Vt[et],Vt===null&&(Vt=void 0))),Vt===void 0?st:Vt}}),gn=l((Rt,Ie)=>{var ce=lr();Ie.exports=function(de,be){return new(ce(de))(be===0?0:be)}}),zt=l(()=>{var Rt=is(),Ie=Fr(),ce=ai(),de=rn(),be=mn(),Ee=gn();Rt({target:"Array",proto:!0},{flatMap:function(He){var et=de(this),st=be(et),yt;return ce(He),yt=Ee(et,0),yt.length=Ie(yt,et,et,st,0,1,He,arguments.length>1?arguments[1]:void 0),yt}})}),Qn=l((Rt,Ie)=>{Ie.exports={}}),wr=l((Rt,Ie)=>{var ce=Kn(),de=Qn(),be=ce("iterator"),Ee=Array.prototype;Ie.exports=function(He){return He!==void 0&&(de.Array===He||Ee[be]===He)}}),Nt=l((Rt,Ie)=>{var ce=Gt(),de=$n(),be=Qn(),Ee=Kn(),He=Ee("iterator");Ie.exports=function(et){if(et!=null)return de(et,He)||de(et,"@@iterator")||be[ce(et)]}}),Ue=l((Rt,Ie)=>{var ce=f(),de=he(),be=ai(),Ee=Kr(),He=gi(),et=Nt(),st=ce.TypeError;Ie.exports=function(yt,Vt){var nr=arguments.length<2?et(yt):Vt;if(be(nr))return Ee(de(nr,yt));throw st(He(yt)+" is not iterable")}}),Bt=l((Rt,Ie)=>{var ce=he(),de=Kr(),be=$n();Ie.exports=function(Ee,He,et){var st,yt;de(Ee);try{if(st=be(Ee,"return"),!st){if(He==="throw")throw et;return et}st=ce(st,Ee)}catch(Vt){yt=!0,st=Vt}if(He==="throw")throw et;if(yt)throw st;return de(st),et}}),Xt=l((Rt,Ie)=>{var ce=f(),de=qn(),be=he(),Ee=Kr(),He=gi(),et=wr(),st=mn(),yt=jt(),Vt=Ue(),nr=Nt(),Tr=Bt(),zr=ce.TypeError,Yr=function(Pr,kn){this.stopped=Pr,this.result=kn},tn=Yr.prototype;Ie.exports=function(Pr,kn,pi){var yn=pi&&pi.that,Ji=!!(pi&&pi.AS_ENTRIES),vi=!!(pi&&pi.IS_ITERATOR),Xe=!!(pi&&pi.INTERRUPTED),Ds=de(kn,yn),Li,xi,ti,Gn,$s,js,S,Je=function(sn){return Li&&Tr(Li,"normal",sn),new Yr(!0,sn)},Mr=function(sn){return Ji?(Ee(sn),Xe?Ds(sn[0],sn[1],Je):Ds(sn[0],sn[1])):Xe?Ds(sn,Je):Ds(sn)};if(vi)Li=Pr;else{if(xi=nr(Pr),!xi)throw zr(He(Pr)+" is not iterable");if(et(xi)){for(ti=0,Gn=st(Pr);Gn>ti;ti++)if($s=Mr(Pr[ti]),$s&&yt(tn,$s))return $s;return new Yr(!1)}Li=Vt(Pr,xi)}for(js=Li.next;!(S=be(js,Li)).done;){try{$s=Mr(S.value)}catch(sn){Tr(Li,"throw",sn)}if(typeof $s=="object"&&$s&&yt(tn,$s))return $s}return new Yr(!1)}}),tr=l((Rt,Ie)=>{var ce=ys(),de=yr(),be=Le();Ie.exports=function(Ee,He,et){var st=ce(He);st in Ee?de.f(Ee,st,be(0,et)):Ee[st]=et}}),Rr=l(()=>{var Rt=is(),Ie=Xt(),ce=tr();Rt({target:"Object",stat:!0},{fromEntries:function(de){var be={};return Ie(de,function(Ee,He){ce(be,Ee,He)},{AS_ENTRIES:!0}),be}})}),on=l((Rt,Ie)=>{var ce=["cliName","cliCategory","cliDescription"],de,be,Ee,He,et,st;function yt(ie,rt){if(ie==null)return{};var Dt=Vt(ie,rt),Tt,Kt;if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(ie);for(Kt=0;Kt<ut.length;Kt++)Tt=ut[Kt],!(rt.indexOf(Tt)>=0)&&(!Object.prototype.propertyIsEnumerable.call(ie,Tt)||(Dt[Tt]=ie[Tt]))}return Dt}function Vt(ie,rt){if(ie==null)return{};var Dt={},Tt=Object.keys(ie),Kt,ut;for(ut=0;ut<Tt.length;ut++)Kt=Tt[ut],!(rt.indexOf(Kt)>=0)&&(Dt[Kt]=ie[Kt]);return Dt}function nr(ie,rt){return rt||(rt=ie.slice(0)),Object.freeze(Object.defineProperties(ie,{raw:{value:Object.freeze(rt)}}))}zi(),zt(),Rr();var Tr=Object.create,zr=Object.defineProperty,Yr=Object.getOwnPropertyDescriptor,tn=Object.getOwnPropertyNames,Pr=Object.getPrototypeOf,kn=Object.prototype.hasOwnProperty,pi=(ie,rt)=>function(){return ie&&(rt=(0,ie[tn(ie)[0]])(ie=0)),rt},yn=(ie,rt)=>function(){return rt||(0,ie[tn(ie)[0]])((rt={exports:{}}).exports,rt),rt.exports},Ji=(ie,rt)=>{for(var Dt in rt)zr(ie,Dt,{get:rt[Dt],enumerable:!0})},vi=(ie,rt,Dt,Tt)=>{if(rt&&typeof rt=="object"||typeof rt=="function")for(let Kt of tn(rt))!kn.call(ie,Kt)&&Kt!==Dt&&zr(ie,Kt,{get:()=>rt[Kt],enumerable:!(Tt=Yr(rt,Kt))||Tt.enumerable});return ie},Xe=(ie,rt,Dt)=>(Dt=ie!=null?Tr(Pr(ie)):{},vi(rt||!ie||!ie.__esModule?zr(Dt,"default",{value:ie,enumerable:!0}):Dt,ie)),Ds=ie=>vi(zr({},"__esModule",{value:!0}),ie),Li,xi,ti,Gn=pi({"<define:process>"(){Li={},xi=[],ti={env:Li,argv:xi}}}),$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 Dt(Lt){return ie.$0<=Lt&&Lt<=ie.$9}ie.isDigit=Dt;function Tt(Lt){return Lt>=ie.$a&&Lt<=ie.$z||Lt>=ie.$A&&Lt<=ie.$Z}ie.isAsciiLetter=Tt;function Kt(Lt){return Lt>=ie.$a&&Lt<=ie.$f||Lt>=ie.$A&&Lt<=ie.$F||Dt(Lt)}ie.isAsciiHexDigit=Kt;function ut(Lt){return Lt===ie.$LF||Lt===ie.$CR}ie.isNewLine=ut;function vt(Lt){return ie.$0<=Lt&&Lt<=ie.$7}ie.isOctalDigit=vt}}),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(Tt,Kt,ut){this.filePath=Tt,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 Dt=class{constructor(){this.cache=new Map}get(Tt,Kt,ut){ut=ut||[];let vt=ut.length?".".concat(ut.join(".")):"",Lt='"'.concat(Tt,'".').concat(Kt).concat(vt),Jt=this.cache.get(Lt);return Jt||(Jt=new rt(Tt,Kt,ut),this.cache.set(Lt,Jt)),Jt}};ie.StaticSymbolCache=Dt}}),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 Dt(mt){return mt.replace(rt,function(){for(var Hr=arguments.length,hr=new Array(Hr),En=0;En<Hr;En++)hr[En]=arguments[En];return hr[1].toUpperCase()})}ie.dashCaseToCamelCase=Dt;function Tt(mt,Hr){return ut(mt,":",Hr)}ie.splitAtColon=Tt;function Kt(mt,Hr){return ut(mt,".",Hr)}ie.splitAtPeriod=Kt;function ut(mt,Hr,hr){let En=mt.indexOf(Hr);return En==-1?hr:[mt.slice(0,En).trim(),mt.slice(En+1).trim()]}function vt(mt,Hr,hr){return Array.isArray(mt)?Hr.visitArray(mt,hr):_n(mt)?Hr.visitStringMap(mt,hr):mt==null||typeof mt=="string"||typeof mt=="number"||typeof mt=="boolean"?Hr.visitPrimitive(mt,hr):Hr.visitOther(mt,hr)}ie.visitValue=vt;function Lt(mt){return mt!=null}ie.isDefined=Lt;function Jt(mt){return mt===void 0?null:mt}ie.noUndefined=Jt;var Nn=class{visitArray(mt,Hr){return mt.map(hr=>vt(hr,this,Hr))}visitStringMap(mt,Hr){let hr={};return Object.keys(mt).forEach(En=>{hr[En]=vt(mt[En],this,Hr)}),hr}visitPrimitive(mt,Hr){return mt}visitOther(mt,Hr){return mt}};ie.ValueTransformer=Nn,ie.SyncAsync={assertSync:mt=>{if(cn(mt))throw new Error("Illegal state: value cannot be a promise");return mt},then:(mt,Hr)=>cn(mt)?mt.then(Hr):Hr(mt),all:mt=>mt.some(cn)?Promise.all(mt):mt};function at(mt){throw new Error("Internal Error: ".concat(mt))}ie.error=at;function _t(mt,Hr){let hr=Error(mt);return hr[ir]=!0,Hr&&(hr[$r]=Hr),hr}ie.syntaxError=_t;var ir="ngSyntaxError",$r="ngParseErrors";function Nr(mt){return mt[ir]}ie.isSyntaxError=Nr;function qr(mt){return mt[$r]||[]}ie.getParseErrors=qr;function Or(mt){return mt.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}ie.escapeRegExp=Or;var Bn=Object.getPrototypeOf({});function _n(mt){return typeof mt=="object"&&mt!==null&&Object.getPrototypeOf(mt)===Bn}function On(mt){let Hr="";for(let hr=0;hr<mt.length;hr++){let En=mt.charCodeAt(hr);if(En>=55296&&En<=56319&&mt.length>hr+1){let $i=mt.charCodeAt(hr+1);$i>=56320&&$i<=57343&&(hr++,En=(En-55296<<10)+$i-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=On;function Ui(mt){if(typeof mt=="string")return mt;if(mt instanceof Array)return"["+mt.map(Ui).join(", ")+"]";if(mt==null)return""+mt;if(mt.overriddenName)return"".concat(mt.overriddenName);if(mt.name)return"".concat(mt.name);if(!mt.toString)return"object";let Hr=mt.toString();if(Hr==null)return""+Hr;let hr=Hr.indexOf(`
|
|
`);return hr===-1?Hr:Hr.substring(0,hr)}ie.stringify=Ui;function ps(mt){return typeof mt=="function"&&mt.hasOwnProperty("__forward_ref__")?mt():mt}ie.resolveForwardRef=ps;function cn(mt){return!!mt&&typeof mt.then=="function"}ie.isPromise=cn;var Ei=class{constructor(mt){this.full=mt;let Hr=mt.split(".");this.major=Hr[0],this.minor=Hr[1],this.patch=Hr.slice(2).join(".")}};ie.Version=Ei;var Fi=typeof window<"u"&&window,os=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,vs=typeof globalThis<"u"&&globalThis,Ke=vs||Fi||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(),Dt=S(),Tt=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Kt(hr){return hr.replace(/\W/g,"_")}ie.sanitizeIdentifier=Kt;var ut=0;function vt(hr){if(!hr||!hr.reference)return null;let En=hr.reference;if(En instanceof rt.StaticSymbol)return En.name;if(En.__anonymousType)return En.__anonymousType;let $i=Dt.stringify(En);return $i.indexOf("(")>=0?($i="anonymous_".concat(ut++),En.__anonymousType=$i):$i=Kt($i),$i}ie.identifierName=vt;function Lt(hr){let En=hr.reference;return En instanceof rt.StaticSymbol?En.filePath:"./".concat(Dt.stringify(En))}ie.identifierModuleUrl=Lt;function Jt(hr,En){return"View_".concat(vt({reference:hr}),"_").concat(En)}ie.viewClassName=Jt;function Nn(hr){return"RenderType_".concat(vt({reference:hr}))}ie.rendererTypeName=Nn;function at(hr){return"HostView_".concat(vt({reference:hr}))}ie.hostViewClassName=at;function _t(hr){return"".concat(vt({reference:hr}),"NgFactory")}ie.componentFactoryName=_t;var ir;(function(hr){hr[hr.Pipe=0]="Pipe",hr[hr.Directive=1]="Directive",hr[hr.NgModule=2]="NgModule",hr[hr.Injectable=3]="Injectable"})(ir=ie.CompileSummaryKind||(ie.CompileSummaryKind={}));function $r(hr){return hr.value!=null?Kt(hr.value):vt(hr.identifier)}ie.tokenName=$r;function Nr(hr){return hr.identifier!=null?hr.identifier.reference:hr.value}ie.tokenReference=Nr;var qr=class{constructor(){let{moduleUrl:hr,styles:En,styleUrls:$i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=hr||null,this.styles=cn(En),this.styleUrls=cn($i)}};ie.CompileStylesheetMetadata=qr;var Or=class{constructor(hr){let{encapsulation:En,template:$i,templateUrl:xs,htmlAst:Us,styles:zs,styleUrls:ha,externalStylesheets:gs,animations:Ts,ngContentSelectors:Ss,interpolation:Da,isInline:bn,preserveWhitespaces:Rn}=hr;if(this.encapsulation=En,this.template=$i,this.templateUrl=xs,this.htmlAst=Us,this.styles=cn(zs),this.styleUrls=cn(ha),this.externalStylesheets=cn(gs),this.animations=Ts?Fi(Ts):[],this.ngContentSelectors=Ss||[],Da&&Da.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Da,this.isInline=bn,this.preserveWhitespaces=Rn}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};ie.CompileTemplateMetadata=Or;var Bn=class{static create(hr){let{isHost:En,type:$i,isComponent:xs,selector:Us,exportAs:zs,changeDetection:ha,inputs:gs,outputs:Ts,host:Ss,providers:Da,viewProviders:bn,queries:Rn,guards:hi,viewQueries:fi,entryComponents:Bi,template:Ps,componentViewType:Fs,rendererType:Qs,componentFactory:la}=hr,Ka={},Qa={},Ua={};Ss!=null&&Object.keys(Ss).forEach(Ca=>{let ma=Ss[Ca],ga=Ca.match(Tt);ga===null?Ua[Ca]=ma:ga[1]!=null?Qa[ga[1]]=ma:ga[2]!=null&&(Ka[ga[2]]=ma)});let tu={};gs!=null&&gs.forEach(Ca=>{let ma=Dt.splitAtColon(Ca,[Ca,Ca]);tu[ma[0]]=ma[1]});let ru={};return Ts!=null&&Ts.forEach(Ca=>{let ma=Dt.splitAtColon(Ca,[Ca,Ca]);ru[ma[0]]=ma[1]}),new Bn({isHost:En,type:$i,isComponent:!!xs,selector:Us,exportAs:zs,changeDetection:ha,inputs:tu,outputs:ru,hostListeners:Ka,hostProperties:Qa,hostAttributes:Ua,providers:Da,viewProviders:bn,queries:Rn,guards:hi,viewQueries:fi,entryComponents:Bi,template:Ps,componentViewType:Fs,rendererType:Qs,componentFactory:la})}constructor(hr){let{isHost:En,type:$i,isComponent:xs,selector:Us,exportAs:zs,changeDetection:ha,inputs:gs,outputs:Ts,hostListeners:Ss,hostProperties:Da,hostAttributes:bn,providers:Rn,viewProviders:hi,queries:fi,guards:Bi,viewQueries:Ps,entryComponents:Fs,template:Qs,componentViewType:la,rendererType:Ka,componentFactory:Qa}=hr;this.isHost=!!En,this.type=$i,this.isComponent=xs,this.selector=Us,this.exportAs=zs,this.changeDetection=ha,this.inputs=gs,this.outputs=Ts,this.hostListeners=Ss,this.hostProperties=Da,this.hostAttributes=bn,this.providers=cn(Rn),this.viewProviders=cn(hi),this.queries=cn(fi),this.guards=Bi,this.viewQueries=cn(Ps),this.entryComponents=cn(Fs),this.template=Qs,this.componentViewType=la,this.rendererType=Ka,this.componentFactory=Qa}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=Bn;var _n=class{constructor(hr){let{type:En,name:$i,pure:xs}=hr;this.type=En,this.name=$i,this.pure=!!xs}toSummary(){return{summaryKind:ir.Pipe,type:this.type,name:this.name,pure:this.pure}}};ie.CompilePipeMetadata=_n;var On=class{};ie.CompileShallowModuleMetadata=On;var Ui=class{constructor(hr){let{type:En,providers:$i,declaredDirectives:xs,exportedDirectives:Us,declaredPipes:zs,exportedPipes:ha,entryComponents:gs,bootstrapComponents:Ts,importedModules:Ss,exportedModules:Da,schemas:bn,transitiveModule:Rn,id:hi}=hr;this.type=En||null,this.declaredDirectives=cn(xs),this.exportedDirectives=cn(Us),this.declaredPipes=cn(zs),this.exportedPipes=cn(ha),this.providers=cn($i),this.entryComponents=cn(gs),this.bootstrapComponents=cn(Ts),this.importedModules=cn(Ss),this.exportedModules=cn(Da),this.schemas=cn(bn),this.id=hi||null,this.transitiveModule=Rn||null}toSummary(){let hr=this.transitiveModule;return{summaryKind:ir.NgModule,type:this.type,entryComponents:hr.entryComponents,providers:hr.providers,modules:hr.modules,exportedDirectives:hr.exportedDirectives,exportedPipes:hr.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(hr,En){this.providers.push({provider:hr,module:En})}addDirective(hr){this.directivesSet.has(hr.reference)||(this.directivesSet.add(hr.reference),this.directives.push(hr))}addExportedDirective(hr){this.exportedDirectivesSet.has(hr.reference)||(this.exportedDirectivesSet.add(hr.reference),this.exportedDirectives.push(hr))}addPipe(hr){this.pipesSet.has(hr.reference)||(this.pipesSet.add(hr.reference),this.pipes.push(hr))}addExportedPipe(hr){this.exportedPipesSet.has(hr.reference)||(this.exportedPipesSet.add(hr.reference),this.exportedPipes.push(hr))}addModule(hr){this.modulesSet.has(hr.reference)||(this.modulesSet.add(hr.reference),this.modules.push(hr))}addEntryComponent(hr){this.entryComponentsSet.has(hr.componentType)||(this.entryComponentsSet.add(hr.componentType),this.entryComponents.push(hr))}};ie.TransitiveCompileNgModuleMetadata=ps;function cn(hr){return hr||[]}var Ei=class{constructor(hr,En){let{useClass:$i,useValue:xs,useExisting:Us,useFactory:zs,deps:ha,multi:gs}=En;this.token=hr,this.useClass=$i||null,this.useValue=xs,this.useExisting=Us,this.useFactory=zs||null,this.dependencies=ha||null,this.multi=!!gs}};ie.ProviderMeta=Ei;function Fi(hr){return hr.reduce((En,$i)=>{let xs=Array.isArray($i)?Fi($i):$i;return En.concat(xs)},[])}ie.flatten=Fi;function os(hr){return hr.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function vs(hr,En,$i){let xs;return $i.isInline?En.type.reference instanceof rt.StaticSymbol?xs="".concat(En.type.reference.filePath,".").concat(En.type.reference.name,".html"):xs="".concat(vt(hr),"/").concat(vt(En.type),".html"):xs=$i.templateUrl,En.type.reference instanceof rt.StaticSymbol?xs:os(xs)}ie.templateSourceUrl=vs;function Ke(hr,En){let $i=hr.moduleUrl.split(/\/\\/g),xs=$i[$i.length-1];return os("css/".concat(En).concat(xs,".ngstyle.js"))}ie.sharedStylesheetJitUrl=Ke;function mt(hr){return os("".concat(vt(hr.type),"/module.ngfactory.js"))}ie.ngModuleJitUrl=mt;function Hr(hr,En){return os("".concat(vt(hr),"/").concat(vt(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(),Dt=Je(),Tt=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 Or=_t.substr(0,$r-1).lastIndexOf(String.fromCharCode(rt.$LF));qr=Or>0?$r-Or:$r}else qr--;for(;$r<ir&&at>0;){let Or=_t.charCodeAt($r);$r++,at--,Or==rt.$LF?(Nr++,qr=0):qr++}return new Tt(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,Or=0;for(;qr<at&&$r>0&&($r--,qr++,!(ir[$r]==`
|
|
`&&++Or==_t)););for(qr=0,Or=0;qr<at&&Nr<ir.length-1&&(Nr++,qr++,!(ir[Nr]==`
|
|
`&&++Or==_t)););return{before:ir.substring($r,this.offset),after:ir.substring(this.offset,Nr+1)}}return null}};ie.ParseLocation=Tt;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 Tt(new Kt("",""),0,0,0),ie.EMPTY_SOURCE_SPAN=new ut(ie.EMPTY_PARSE_LOCATION,ie.EMPTY_PARSE_LOCATION);var vt;(function(at){at[at.WARNING=0]="WARNING",at[at.ERROR=1]="ERROR"})(vt=ie.ParseErrorLevel||(ie.ParseErrorLevel={}));var Lt=class{constructor(at,_t){let ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:vt.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(vt[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=Dt.identifierModuleUrl(_t),$r=ir!=null?"in ".concat(at," ").concat(Dt.identifierName(_t)," in ").concat(ir):"in ".concat(at," ").concat(Dt.identifierName(_t)),Nr=new Kt("",$r);return new ut(new Tt(Nr,-1,-1,-1),new Tt(Nr,-1,-1,-1))}ie.typeSourceSpan=Jt;function Nn(at,_t,ir){let $r="in ".concat(at," ").concat(_t," in ").concat(ir),Nr=new Kt("",$r);return new ut(new Tt(Nr,-1,-1,-1),new Tt(Nr,-1,-1,-1))}ie.r3JitTypeSourceSpan=Nn}}),sn=yn({"src/utils/front-matter/parse.js"(ie,rt){Gn();var Dt=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Tt(Kt){let ut=Kt.match(Dt);if(!ut)return{content:Kt};let{startDelimiter:vt,language:Lt,value:Jt="",endDelimiter:Nn}=ut.groups,at=Lt.trim()||"yaml";if(vt==="+++"&&(at="toml"),at!=="yaml"&&vt!==Nn)return{content:Kt};let[_t]=ut;return{frontMatter:{type:"front-matter",lang:at,value:Jt,startDelimiter:vt,endDelimiter:Nn,raw:_t.replace(/\n$/,"")},content:_t.replace(/[^\n]/g," ")+Kt.slice(_t.length)}}rt.exports=Tt}}),ci=yn({"src/utils/get-last.js"(ie,rt){Gn();var Dt=Tt=>Tt[Tt.length-1];rt.exports=Dt}}),ss=yn({"src/common/parser-create-error.js"(ie,rt){Gn();function Dt(Tt,Kt){let ut=new SyntaxError(Tt+" ("+Kt.start.line+":"+Kt.start.column+")");return ut.loc=Kt,ut}rt.exports=Dt}}),Zi={};Ji(Zi,{default:()=>ni});function ni(ie){if(typeof ie!="string")throw new TypeError("Expected a string");return ie.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var qs=pi({"node_modules/escape-string-regexp/index.js"(){Gn()}}),Jo=yn({"node_modules/semver/internal/debug.js"(ie,rt){Gn();var Dt=typeof ti=="object"&&ti.env&&ti.env.NODE_DEBUG&&/\bsemver\b/i.test(ti.env.NODE_DEBUG)?function(){for(var Tt=arguments.length,Kt=new Array(Tt),ut=0;ut<Tt;ut++)Kt[ut]=arguments[ut];return console.error("SEMVER",...Kt)}:()=>{};rt.exports=Dt}}),Oo=yn({"node_modules/semver/internal/constants.js"(ie,rt){Gn();var Dt="2.0.0",Tt=256,Kt=Number.MAX_SAFE_INTEGER||9007199254740991,ut=16;rt.exports={SEMVER_SPEC_VERSION:Dt,MAX_LENGTH:Tt,MAX_SAFE_INTEGER:Kt,MAX_SAFE_COMPONENT_LENGTH:ut}}}),ja=yn({"node_modules/semver/internal/re.js"(ie,rt){Gn();var{MAX_SAFE_COMPONENT_LENGTH:Dt}=Oo(),Tt=Jo();ie=rt.exports={};var Kt=ie.re=[],ut=ie.src=[],vt=ie.t={},Lt=0,Jt=(Nn,at,_t)=>{let ir=Lt++;Tt(Nn,ir,at),vt[Nn]=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[vt.NUMERICIDENTIFIER],")\\.(").concat(ut[vt.NUMERICIDENTIFIER],")\\.(").concat(ut[vt.NUMERICIDENTIFIER],")")),Jt("MAINVERSIONLOOSE","(".concat(ut[vt.NUMERICIDENTIFIERLOOSE],")\\.(").concat(ut[vt.NUMERICIDENTIFIERLOOSE],")\\.(").concat(ut[vt.NUMERICIDENTIFIERLOOSE],")")),Jt("PRERELEASEIDENTIFIER","(?:".concat(ut[vt.NUMERICIDENTIFIER],"|").concat(ut[vt.NONNUMERICIDENTIFIER],")")),Jt("PRERELEASEIDENTIFIERLOOSE","(?:".concat(ut[vt.NUMERICIDENTIFIERLOOSE],"|").concat(ut[vt.NONNUMERICIDENTIFIER],")")),Jt("PRERELEASE","(?:-(".concat(ut[vt.PRERELEASEIDENTIFIER],"(?:\\.").concat(ut[vt.PRERELEASEIDENTIFIER],")*))")),Jt("PRERELEASELOOSE","(?:-?(".concat(ut[vt.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(ut[vt.PRERELEASEIDENTIFIERLOOSE],")*))")),Jt("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Jt("BUILD","(?:\\+(".concat(ut[vt.BUILDIDENTIFIER],"(?:\\.").concat(ut[vt.BUILDIDENTIFIER],")*))")),Jt("FULLPLAIN","v?".concat(ut[vt.MAINVERSION]).concat(ut[vt.PRERELEASE],"?").concat(ut[vt.BUILD],"?")),Jt("FULL","^".concat(ut[vt.FULLPLAIN],"$")),Jt("LOOSEPLAIN","[v=\\s]*".concat(ut[vt.MAINVERSIONLOOSE]).concat(ut[vt.PRERELEASELOOSE],"?").concat(ut[vt.BUILD],"?")),Jt("LOOSE","^".concat(ut[vt.LOOSEPLAIN],"$")),Jt("GTLT","((?:<|>)?=?)"),Jt("XRANGEIDENTIFIERLOOSE","".concat(ut[vt.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),Jt("XRANGEIDENTIFIER","".concat(ut[vt.NUMERICIDENTIFIER],"|x|X|\\*")),Jt("XRANGEPLAIN","[v=\\s]*(".concat(ut[vt.XRANGEIDENTIFIER],")(?:\\.(").concat(ut[vt.XRANGEIDENTIFIER],")(?:\\.(").concat(ut[vt.XRANGEIDENTIFIER],")(?:").concat(ut[vt.PRERELEASE],")?").concat(ut[vt.BUILD],"?)?)?")),Jt("XRANGEPLAINLOOSE","[v=\\s]*(".concat(ut[vt.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(ut[vt.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(ut[vt.XRANGEIDENTIFIERLOOSE],")(?:").concat(ut[vt.PRERELEASELOOSE],")?").concat(ut[vt.BUILD],"?)?)?")),Jt("XRANGE","^".concat(ut[vt.GTLT],"\\s*").concat(ut[vt.XRANGEPLAIN],"$")),Jt("XRANGELOOSE","^".concat(ut[vt.GTLT],"\\s*").concat(ut[vt.XRANGEPLAINLOOSE],"$")),Jt("COERCE","(^|[^\\d])(\\d{1,".concat(Dt,"})(?:\\.(\\d{1,").concat(Dt,"}))?(?:\\.(\\d{1,").concat(Dt,"}))?(?:$|[^\\d])")),Jt("COERCERTL",ut[vt.COERCE],!0),Jt("LONETILDE","(?:~>?)"),Jt("TILDETRIM","(\\s*)".concat(ut[vt.LONETILDE],"\\s+"),!0),ie.tildeTrimReplace="$1~",Jt("TILDE","^".concat(ut[vt.LONETILDE]).concat(ut[vt.XRANGEPLAIN],"$")),Jt("TILDELOOSE","^".concat(ut[vt.LONETILDE]).concat(ut[vt.XRANGEPLAINLOOSE],"$")),Jt("LONECARET","(?:\\^)"),Jt("CARETTRIM","(\\s*)".concat(ut[vt.LONECARET],"\\s+"),!0),ie.caretTrimReplace="$1^",Jt("CARET","^".concat(ut[vt.LONECARET]).concat(ut[vt.XRANGEPLAIN],"$")),Jt("CARETLOOSE","^".concat(ut[vt.LONECARET]).concat(ut[vt.XRANGEPLAINLOOSE],"$")),Jt("COMPARATORLOOSE","^".concat(ut[vt.GTLT],"\\s*(").concat(ut[vt.LOOSEPLAIN],")$|^$")),Jt("COMPARATOR","^".concat(ut[vt.GTLT],"\\s*(").concat(ut[vt.FULLPLAIN],")$|^$")),Jt("COMPARATORTRIM","(\\s*)".concat(ut[vt.GTLT],"\\s*(").concat(ut[vt.LOOSEPLAIN],"|").concat(ut[vt.XRANGEPLAIN],")"),!0),ie.comparatorTrimReplace="$1$2$3",Jt("HYPHENRANGE","^\\s*(".concat(ut[vt.XRANGEPLAIN],")\\s+-\\s+(").concat(ut[vt.XRANGEPLAIN],")\\s*$")),Jt("HYPHENRANGELOOSE","^\\s*(".concat(ut[vt.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(ut[vt.XRANGEPLAINLOOSE],")\\s*$")),Jt("STAR","(<|>)?=?\\s*\\*"),Jt("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Jt("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),mu=yn({"node_modules/semver/internal/parse-options.js"(ie,rt){Gn();var Dt=["includePrerelease","loose","rtl"],Tt=Kt=>Kt?typeof Kt!="object"?{loose:!0}:Dt.filter(ut=>Kt[ut]).reduce((ut,vt)=>(ut[vt]=!0,ut),{}):{};rt.exports=Tt}}),gu=yn({"node_modules/semver/internal/identifiers.js"(ie,rt){Gn();var Dt=/^[0-9]+$/,Tt=(ut,vt)=>{let Lt=Dt.test(ut),Jt=Dt.test(vt);return Lt&&Jt&&(ut=+ut,vt=+vt),ut===vt?0:Lt&&!Jt?-1:Jt&&!Lt?1:ut<vt?-1:1},Kt=(ut,vt)=>Tt(vt,ut);rt.exports={compareIdentifiers:Tt,rcompareIdentifiers:Kt}}}),fo=yn({"node_modules/semver/classes/semver.js"(ie,rt){Gn();var Dt=Jo(),{MAX_LENGTH:Tt,MAX_SAFE_INTEGER:Kt}=Oo(),{re:ut,t:vt}=ja(),Lt=mu(),{compareIdentifiers:Jt}=gu(),Nn=class{constructor(at,_t){if(_t=Lt(_t),at instanceof Nn){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>Tt)throw new TypeError("version is longer than ".concat(Tt," characters"));Dt("SemVer",at,_t),this.options=_t,this.loose=!!_t.loose,this.includePrerelease=!!_t.includePrerelease;let ir=at.trim().match(_t.loose?ut[vt.LOOSE]:ut[vt.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(Dt("SemVer.compare",this.version,this.options,at),!(at instanceof Nn)){if(typeof at=="string"&&at===this.version)return 0;at=new Nn(at,this.options)}return at.version===this.version?0:this.compareMain(at)||this.comparePre(at)}compareMain(at){return at instanceof Nn||(at=new Nn(at,this.options)),Jt(this.major,at.major)||Jt(this.minor,at.minor)||Jt(this.patch,at.patch)}comparePre(at){if(at instanceof Nn||(at=new Nn(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(Dt("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 Nn||(at=new Nn(at,this.options));let _t=0;do{let ir=this.build[_t],$r=at.build[_t];if(Dt("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=Nn}}),mo=yn({"node_modules/semver/functions/compare.js"(ie,rt){Gn();var Dt=fo(),Tt=(Kt,ut,vt)=>new Dt(Kt,vt).compare(new Dt(ut,vt));rt.exports=Tt}}),Ko=yn({"node_modules/semver/functions/lt.js"(ie,rt){Gn();var Dt=mo(),Tt=(Kt,ut,vt)=>Dt(Kt,ut,vt)<0;rt.exports=Tt}}),yu=yn({"node_modules/semver/functions/gte.js"(ie,rt){Gn();var Dt=mo(),Tt=(Kt,ut,vt)=>Dt(Kt,ut,vt)>=0;rt.exports=Tt}}),Du=yn({"src/utils/arrayify.js"(ie,rt){Gn(),rt.exports=(Dt,Tt)=>Object.entries(Dt).map(Kt=>{let[ut,vt]=Kt;return Object.assign({[Tt]:ut},vt)})}}),Qo=yn({"package.json"(ie,rt){rt.exports={version:"2.7.1"}}}),Iu=yn({"node_modules/outdent/lib/index.js"(ie,rt){Gn(),Object.defineProperty(ie,"__esModule",{value:!0}),ie.outdent=void 0;function Dt(){for(var _n=[],On=0;On<arguments.length;On++)_n[On]=arguments[On]}function Tt(){return typeof WeakMap<"u"?new WeakMap:Kt()}function Kt(){return{add:Dt,delete:Dt,get:Dt,set:Dt,has:function(_n){return!1}}}var ut=Object.prototype.hasOwnProperty,vt=function(_n,On){return ut.call(_n,On)};function Lt(_n,On){for(var Ui in On)vt(On,Ui)&&(_n[Ui]=On[Ui]);return _n}var Jt=/^[ \t]*(?:\r\n|\r|\n)/,Nn=/(?:\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(_n,On,Ui){var ps=0,cn=_n[0].match(_t);cn&&(ps=cn[1].length);var Ei="(\\r\\n|\\r|\\n).{0,"+ps+"}",Fi=new RegExp(Ei,"g");On&&(_n=_n.slice(1));var os=Ui.newline,vs=Ui.trimLeadingNewline,Ke=Ui.trimTrailingNewline,mt=typeof os=="string",Hr=_n.length,hr=_n.map(function(En,$i){return En=En.replace(Fi,"$1"),$i===0&&vs&&(En=En.replace(Jt,"")),$i===Hr-1&&Ke&&(En=En.replace(Nn,"")),mt&&(En=En.replace(/\r\n|\n|\r/g,function(xs){return os})),En});return hr}function Nr(_n,On){for(var Ui="",ps=0,cn=_n.length;ps<cn;ps++)Ui+=_n[ps],ps<cn-1&&(Ui+=On[ps]);return Ui}function qr(_n){return vt(_n,"raw")&&vt(_n,"length")}function Or(_n){var On=Tt(),Ui=Tt();function ps(Ei){for(var Fi=[],os=1;os<arguments.length;os++)Fi[os-1]=arguments[os];if(qr(Ei)){var vs=Ei,Ke=(Fi[0]===ps||Fi[0]===Bn)&&ir.test(vs[0])&&at.test(vs[1]),mt=Ke?Ui:On,Hr=mt.get(vs);if(Hr||(Hr=$r(vs,Ke,_n),mt.set(vs,Hr)),Fi.length===0)return Hr[0];var hr=Nr(Hr,Ke?Fi.slice(1):Fi);return hr}else return Or(Lt(Lt({},_n),Ei||{}))}var cn=Lt(ps,{string:function(Ei){return $r([Ei],!1,_n)[0]}});return cn}var Bn=Or({trimLeadingNewline:!0,trimTrailingNewline:!0});if(ie.outdent=Bn,ie.default=Bn,typeof rt<"u")try{rt.exports=Bn,Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.default=Bn,Bn.outdent=Bn}catch{}}}),vu=yn({"src/main/core-options.js"(ie,rt){Gn();var{outdent:Dt}=Iu(),Tt="Config",Kt="Editor",ut="Format",vt="Other",Lt="Output",Jt="Global",Nn="Special",at={cursorOffset:{since:"1.4.0",category:Nn,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Dt(de||(de=nr([`
|
|
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
This option cannot be used with --range-start and --range-end.
|
|
`]))),cliCategory: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:Dt(be||(be=nr([`
|
|
Maintain existing
|
|
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
`])))}]},filepath:{since:"1.4.0",category:Nn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:vt,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:Nn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:vt},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:Tt},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Jt,description:Dt(Ee||(Ee=nr([`
|
|
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
Multiple values are accepted.
|
|
`]))),exception:_t=>typeof _t=="string"||typeof _t=="object",cliName:"plugin-search-dir",cliCategory:Tt},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:Nn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Dt(He||(He=nr([`
|
|
Format code ending at a given character offset (exclusive).
|
|
The range will extend forwards to the end of the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`]))),cliCategory:Kt},rangeStart:{since:"1.4.0",category:Nn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Dt(et||(et=nr([`
|
|
Format code starting at a given character offset.
|
|
The range will extend backwards to the start of the first line containing the selected statement.
|
|
This option cannot be used with --cursor-offset.
|
|
`]))),cliCategory:Kt},requirePragma:{since:"1.7.0",category:Nn,type:"boolean",default:!1,description:Dt(st||(st=nr([`
|
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
in order for it to be formatted.
|
|
`]))),cliCategory:vt},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:Tt,CATEGORY_EDITOR:Kt,CATEGORY_FORMAT:ut,CATEGORY_OTHER:vt,CATEGORY_OUTPUT:Lt,CATEGORY_GLOBAL:Jt,CATEGORY_SPECIAL:Nn,options:at}}}),Ti=yn({"src/main/support.js"(ie,rt){Gn();var Dt={compare:mo(),lt:Ko(),gte:yu()},Tt=Du(),Kt=Qo().version,ut=vu().options;function vt(){let{plugins:Jt=[],showUnreleased:Nn=!1,showDeprecated:at=!1,showInternal:_t=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ir=Kt.split("-",1)[0],$r=Jt.flatMap(_n=>_n.languages||[]).filter(qr),Nr=Tt(Object.assign({},...Jt.map(_n=>{let{options:On}=_n;return On}),ut),"name").filter(_n=>qr(_n)&&Or(_n)).sort((_n,On)=>_n.name===On.name?0:_n.name<On.name?-1:1).map(Bn).map(_n=>{_n=Object.assign({},_n),Array.isArray(_n.default)&&(_n.default=_n.default.length===1?_n.default[0].value:_n.default.filter(qr).sort((Ui,ps)=>Dt.compare(ps.since,Ui.since))[0].value),Array.isArray(_n.choices)&&(_n.choices=_n.choices.filter(Ui=>qr(Ui)&&Or(Ui)),_n.name==="parser"&&Lt(_n,$r,Jt));let On=Object.fromEntries(Jt.filter(Ui=>Ui.defaultOptions&&Ui.defaultOptions[_n.name]!==void 0).map(Ui=>[Ui.name,Ui.defaultOptions[_n.name]]));return Object.assign(Object.assign({},_n),{},{pluginDefaults:On})});return{languages:$r,options:Nr};function qr(_n){return Nn||!("since"in _n)||_n.since&&Dt.gte(ir,_n.since)}function Or(_n){return at||!("deprecated"in _n)||_n.deprecated&&Dt.lt(ir,_n.deprecated)}function Bn(_n){return _t?_n:yt(_n,ce)}}function Lt(Jt,Nn,at){let _t=new Set(Jt.choices.map(ir=>ir.value));for(let ir of Nn)if(ir.parsers){for(let $r of ir.parsers)if(!_t.has($r)){_t.add($r);let Nr=at.find(Or=>Or.parsers&&Or.parsers[$r]),qr=ir.name;Nr&&Nr.name&&(qr+=" (plugin: ".concat(Nr.name,")")),Jt.choices.push({value:$r,description:qr})}}}rt.exports={getSupportInfo:vt}}}),Ou=yn({"src/utils/is-non-empty-array.js"(ie,rt){Gn();function Dt(Tt){return Array.isArray(Tt)&&Tt.length>0}rt.exports=Dt}});function Lu(){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 Xa=pi({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){Gn()}});function il(ie){if(typeof ie!="string")throw new TypeError("Expected a `string`, got `".concat(typeof ie,"`"));return ie.replace(Lu(),"")}var Mu=pi({"node_modules/strip-ansi/index.js"(){Gn(),Xa()}});function xu(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 Lo=pi({"node_modules/is-fullwidth-code-point/index.js"(){Gn()}}),Ba=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}}}),sl={};Ji(sl,{default:()=>ju});function ju(ie){if(typeof ie!="string"||ie.length===0||(ie=il(ie),ie.length===0))return 0;ie=ie.replace((0,al.default)()," ");let rt=0;for(let Dt=0;Dt<ie.length;Dt++){let Tt=ie.codePointAt(Dt);Tt<=31||Tt>=127&&Tt<=159||Tt>=768&&Tt<=879||(Tt>65535&&Dt++,rt+=xu(Tt)?2:1)}return rt}var al,Ru=pi({"node_modules/string-width/index.js"(){Gn(),Mu(),Lo(),al=Xe(Ba())}}),ol=yn({"src/utils/get-string-width.js"(ie,rt){Gn();var Dt=(Ru(),Ds(sl)).default,Tt=/[^\x20-\x7F]/;function Kt(ut){return ut?Tt.test(ut)?Dt(ut):ut.length:0}rt.exports=Kt}}),Cu=yn({"src/utils/text/skip.js"(ie,rt){Gn();function Dt(Lt){return(Jt,Nn,at)=>{let _t=at&&at.backwards;if(Nn===!1)return!1;let{length:ir}=Jt,$r=Nn;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 Tt=Dt(/\s/),Kt=Dt(" "),ut=Dt(",; "),vt=Dt(/[^\n\r]/);rt.exports={skipWhitespace:Tt,skipSpaces:Kt,skipToLineEnd:ut,skipEverythingButNewLine:vt}}}),_a=yn({"src/utils/text/skip-inline-comment.js"(ie,rt){Gn();function Dt(Tt,Kt){if(Kt===!1)return!1;if(Tt.charAt(Kt)==="/"&&Tt.charAt(Kt+1)==="*"){for(let ut=Kt+2;ut<Tt.length;++ut)if(Tt.charAt(ut)==="*"&&Tt.charAt(ut+1)==="/")return ut+2}return Kt}rt.exports=Dt}}),Ws=yn({"src/utils/text/skip-trailing-comment.js"(ie,rt){Gn();var{skipEverythingButNewLine:Dt}=Cu();function Tt(Kt,ut){return ut===!1?!1:Kt.charAt(ut)==="/"&&Kt.charAt(ut+1)==="/"?Dt(Kt,ut):ut}rt.exports=Tt}}),fa=yn({"src/utils/text/skip-newline.js"(ie,rt){Gn();function Dt(Tt,Kt,ut){let vt=ut&&ut.backwards;if(Kt===!1)return!1;let Lt=Tt.charAt(Kt);if(vt){if(Tt.charAt(Kt-1)==="\r"&&Lt===`
|
|
`)return Kt-2;if(Lt===`
|
|
`||Lt==="\r"||Lt==="\u2028"||Lt==="\u2029")return Kt-1}else{if(Lt==="\r"&&Tt.charAt(Kt+1)===`
|
|
`)return Kt+2;if(Lt===`
|
|
`||Lt==="\r"||Lt==="\u2028"||Lt==="\u2029")return Kt+1}return Kt}rt.exports=Dt}}),Ta=yn({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(ie,rt){Gn();var Dt=_a(),Tt=fa(),Kt=Ws(),{skipSpaces:ut}=Cu();function vt(Lt,Jt){let Nn=null,at=Jt;for(;at!==Nn;)Nn=at,at=ut(Lt,at),at=Dt(Lt,at),at=Kt(Lt,at),at=Tt(Lt,at);return at}rt.exports=vt}}),Ja=yn({"src/common/util.js"(ie,rt){Gn();var{default:Dt}=(qs(),Ds(Zi)),Tt=ci(),{getSupportInfo:Kt}=Ti(),ut=Ou(),vt=ol(),{skipWhitespace:Lt,skipSpaces:Jt,skipToLineEnd:Nn,skipEverythingButNewLine:at}=Cu(),_t=_a(),ir=Ws(),$r=fa(),Nr=Ta(),qr=bn=>bn[bn.length-2];function Or(bn){return(Rn,hi,fi)=>{let Bi=fi&&fi.backwards;if(hi===!1)return!1;let{length:Ps}=Rn,Fs=hi;for(;Fs>=0&&Fs<Ps;){let Qs=Rn.charAt(Fs);if(bn instanceof RegExp){if(!bn.test(Qs))return Fs}else if(!bn.includes(Qs))return Fs;Bi?Fs--:Fs++}return Fs===-1||Fs===Ps?Fs:!1}}function Bn(bn,Rn){let hi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},fi=Jt(bn,hi.backwards?Rn-1:Rn,hi),Bi=$r(bn,fi,hi);return fi!==Bi}function _n(bn,Rn,hi){for(let fi=Rn;fi<hi;++fi)if(bn.charAt(fi)===`
|
|
`)return!0;return!1}function On(bn,Rn,hi){let fi=hi(Rn)-1;fi=Jt(bn,fi,{backwards:!0}),fi=$r(bn,fi,{backwards:!0}),fi=Jt(bn,fi,{backwards:!0});let Bi=$r(bn,fi,{backwards:!0});return fi!==Bi}function Ui(bn,Rn){let hi=null,fi=Rn;for(;fi!==hi;)hi=fi,fi=Nn(bn,fi),fi=_t(bn,fi),fi=Jt(bn,fi);return fi=ir(bn,fi),fi=$r(bn,fi),fi!==!1&&Bn(bn,fi)}function ps(bn,Rn,hi){return Ui(bn,hi(Rn))}function cn(bn,Rn,hi){return Nr(bn,hi(Rn))}function Ei(bn,Rn,hi){return bn.charAt(cn(bn,Rn,hi))}function Fi(bn,Rn){let hi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Jt(bn,hi.backwards?Rn-1:Rn,hi)!==Rn}function os(bn,Rn){let hi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,fi=0;for(let Bi=hi;Bi<bn.length;++Bi)bn[Bi]===" "?fi=fi+Rn-fi%Rn:fi++;return fi}function vs(bn,Rn){let hi=bn.lastIndexOf(`
|
|
`);return hi===-1?0:os(bn.slice(hi+1).match(/^[\t ]*/)[0],Rn)}function Ke(bn,Rn){let hi={quote:'"',regex:/"/g,escaped:"""},fi={quote:"'",regex:/'/g,escaped:"'"},Bi=Rn==="'"?fi:hi,Ps=Bi===fi?hi:fi,Fs=Bi;if(bn.includes(Bi.quote)||bn.includes(Ps.quote)){let Qs=(bn.match(Bi.regex)||[]).length,la=(bn.match(Ps.regex)||[]).length;Fs=Qs>la?Ps:Bi}return Fs}function mt(bn,Rn){let hi=bn.slice(1,-1),fi=Rn.parser==="json"||Rn.parser==="json5"&&Rn.quoteProps==="preserve"&&!Rn.singleQuote?'"':Rn.__isInHtmlAttribute?"'":Ke(hi,Rn.singleQuote?"'":'"').quote;return Hr(hi,fi,!(Rn.parser==="css"||Rn.parser==="less"||Rn.parser==="scss"||Rn.__embeddedInHtml))}function Hr(bn,Rn,hi){let fi=Rn==='"'?"'":'"',Bi=/\\(.)|(["'])/gs,Ps=bn.replace(Bi,(Fs,Qs,la)=>Qs===fi?Qs:la===Rn?"\\"+la:la||(hi&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Qs)?Qs:"\\"+Qs));return Rn+Ps+Rn}function hr(bn){return bn.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(bn,Rn){let hi=bn.match(new RegExp("(".concat(Dt(Rn),")+"),"g"));return hi===null?0:hi.reduce((fi,Bi)=>Math.max(fi,Bi.length/Rn.length),0)}function $i(bn,Rn){let hi=bn.match(new RegExp("(".concat(Dt(Rn),")+"),"g"));if(hi===null)return 0;let fi=new Map,Bi=0;for(let Ps of hi){let Fs=Ps.length/Rn.length;fi.set(Fs,!0),Fs>Bi&&(Bi=Fs)}for(let Ps=1;Ps<Bi;Ps++)if(!fi.get(Ps))return Ps;return Bi+1}function xs(bn,Rn){(bn.comments||(bn.comments=[])).push(Rn),Rn.printed=!1,Rn.nodeDescription=Da(bn)}function Us(bn,Rn){Rn.leading=!0,Rn.trailing=!1,xs(bn,Rn)}function zs(bn,Rn,hi){Rn.leading=!1,Rn.trailing=!1,hi&&(Rn.marker=hi),xs(bn,Rn)}function ha(bn,Rn){Rn.leading=!1,Rn.trailing=!0,xs(bn,Rn)}function gs(bn,Rn){let{languages:hi}=Kt({plugins:Rn.plugins}),fi=hi.find(Bi=>{let{name:Ps}=Bi;return Ps.toLowerCase()===bn})||hi.find(Bi=>{let{aliases:Ps}=Bi;return Array.isArray(Ps)&&Ps.includes(bn)})||hi.find(Bi=>{let{extensions:Ps}=Bi;return Array.isArray(Ps)&&Ps.includes(".".concat(bn))});return fi&&fi.parsers[0]}function Ts(bn){return bn&&bn.type==="front-matter"}function Ss(bn){let Rn=new WeakMap;return function(hi){return Rn.has(hi)||Rn.set(hi,Symbol(bn)),Rn.get(hi)}}function Da(bn){let Rn=bn.type||bn.kind||"(unknown type)",hi=String(bn.name||bn.id&&(typeof bn.id=="object"?bn.id.name:bn.id)||bn.key&&(typeof bn.key=="object"?bn.key.name:bn.key)||bn.value&&(typeof bn.value=="object"?"":String(bn.value))||bn.operator||"");return hi.length>20&&(hi=hi.slice(0,19)+"\u2026"),Rn+(hi?" "+hi:"")}rt.exports={inferParserByLanguage:gs,getStringWidth:vt,getMaxContinuousCount:En,getMinNotPresentContinuousCount:$i,getPenultimate:qr,getLast:Tt,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Nr,getNextNonSpaceNonCommentCharacterIndex:cn,getNextNonSpaceNonCommentCharacter:Ei,skip:Or,skipWhitespace:Lt,skipSpaces:Jt,skipToLineEnd:Nn,skipEverythingButNewLine:at,skipInlineComment:_t,skipTrailingComment:ir,skipNewline:$r,isNextLineEmptyAfterIndex:Ui,isNextLineEmpty:ps,isPreviousLineEmpty:On,hasNewline:Bn,hasNewlineInRange:_n,hasSpaces:Fi,getAlignmentSize:os,getIndentSize:vs,getPreferredQuote:Ke,printString:mt,printNumber:hr,makeString:Hr,addLeadingComment:Us,addDanglingComment:zs,addTrailingComment:ha,isFrontMatterNode:Ts,isNonEmptyArray:ut,createGroupIdMapper:Ss}}}),Ia=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 Dt(Tt){let Kt=Object.create(null);for(let ut of Tt)Kt[ut]=!0;return Kt}rt.exports=Dt}}),Mo=yn({"src/language-html/utils/html-tag-names.js"(ie,rt){Gn();var{htmlTagNames:Dt}=Ia(),Tt=Yo(),Kt=Tt(Dt);rt.exports=Kt}}),Ki=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"]}}}}),Eu=yn({"src/language-html/utils/map-object.js"(ie,rt){Gn();function Dt(Tt,Kt){let ut=Object.create(null);for(let[vt,Lt]of Object.entries(Tt))ut[vt]=Kt(Lt,vt);return ut}rt.exports=Dt}}),Sa=yn({"src/language-html/utils/html-elements-attributes.js"(ie,rt){Gn();var{htmlElementAttributes:Dt}=Ki(),Tt=Eu(),Kt=Yo(),ut=Tt(Dt,Kt);rt.exports=ut}}),Zo=yn({"src/language-html/utils/is-unknown-namespace.js"(ie,rt){Gn();function Dt(Tt){return Tt.type==="element"&&!Tt.hasExplicitNamespace&&!["html","svg"].includes(Tt.namespace)}rt.exports=Dt}}),bu=yn({"src/language-html/pragma.js"(ie,rt){Gn();function Dt(Kt){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(Kt)}function Tt(Kt){return`<!-- @format -->
|
|
|
|
`+Kt.replace(/^\s*\n/,"")}rt.exports={hasPragma:Dt,insertPragma:Tt}}}),Co=yn({"src/language-html/ast.js"(ie,rt){Gn();var Dt={attrs:!0,children:!0},Tt=new Set(["parent"]),Kt=class{constructor(){let vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let Lt of new Set([...Tt,...Object.keys(vt)]))this.setProperty(Lt,vt[Lt])}setProperty(vt,Lt){if(this[vt]!==Lt){if(vt in Dt&&(Lt=Lt.map(Jt=>this.createChild(Jt))),!Tt.has(vt)){this[vt]=Lt;return}Object.defineProperty(this,vt,{value:Lt,enumerable:!1,configurable:!0})}}map(vt){let Lt;for(let Jt in Dt){let Nn=this[Jt];if(Nn){let at=ut(Nn,_t=>_t.map(vt));Lt!==Nn&&(Lt||(Lt=new Kt({parent:this.parent})),Lt.setProperty(Jt,at))}}if(Lt)for(let Jt in this)Jt in Dt||(Lt[Jt]=this[Jt]);return vt(Lt||this)}walk(vt){for(let Lt in Dt){let Jt=this[Lt];if(Jt)for(let Nn=0;Nn<Jt.length;Nn++)Jt[Nn].walk(vt)}vt(this)}createChild(vt){let Lt=vt instanceof Kt?vt.clone():new Kt(vt);return Lt.setProperty("parent",this),Lt}insertChildBefore(vt,Lt){this.children.splice(this.children.indexOf(vt),0,this.createChild(Lt))}removeChild(vt){this.children.splice(this.children.indexOf(vt),1)}replaceChild(vt,Lt){this.children[this.children.indexOf(vt)]=this.createChild(Lt)}clone(){return new Kt(this)}get firstChild(){var vt;return(vt=this.children)===null||vt===void 0?void 0:vt[0]}get lastChild(){var vt;return(vt=this.children)===null||vt===void 0?void 0:vt[this.children.length-1]}get prev(){var vt;return(vt=this.parent)===null||vt===void 0?void 0:vt.children[this.parent.children.indexOf(this)-1]}get next(){var vt;return(vt=this.parent)===null||vt===void 0?void 0:vt.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(vt=>[vt.fullName,vt.value]))}};function ut(vt,Lt){let Jt=vt.map(Lt);return Jt.some((Nn,at)=>Nn!==vt[at])?Jt:vt}rt.exports={Node:Kt}}}),eu=yn({"src/language-html/conditional-comment.js"(ie,rt){Gn();var{ParseSourceSpan:Dt}=Mr(),Tt=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:ut},{regex:/^\[if([^\]]*)]><!$/,parse:vt},{regex:/^<!\s*\[endif]$/,parse:Lt}];function Kt(Jt,Nn){if(Jt.value)for(let{regex:at,parse:_t}of Tt){let ir=Jt.value.match(at);if(ir)return _t(Jt,Nn,ir)}return null}function ut(Jt,Nn,at){let[,_t,ir,$r]=at,Nr=4+_t.length,qr=Jt.sourceSpan.start.moveBy(Nr),Or=qr.moveBy($r.length),[Bn,_n]=(()=>{try{return[!0,Nn($r,qr).children]}catch{let On={type:"text",value:$r,sourceSpan:new Dt(qr,Or)};return[!1,[On]]}})();return{type:"ieConditionalComment",complete:Bn,children:_n,condition:ir.trim().replace(/\s+/g," "),sourceSpan:Jt.sourceSpan,startSourceSpan:new Dt(Jt.sourceSpan.start,qr),endSourceSpan:new Dt(Or,Jt.sourceSpan.end)}}function vt(Jt,Nn,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}}}),Ra=yn({"src/language-html/loc.js"(ie,rt){Gn();function Dt(Kt){return Kt.sourceSpan.start.offset}function Tt(Kt){return Kt.sourceSpan.end.offset}rt.exports={locStart:Dt,locEnd:Tt}}}),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 Dt(Lt){return rt(Lt)[1]==="ng-container"}ie.isNgContainer=Dt;function Tt(Lt){return rt(Lt)[1]==="ng-content"}ie.isNgContent=Tt;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 vt(Lt,Jt){return Lt?":".concat(Lt,":").concat(Jt):Jt}ie.mergeNsAndName=vt,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:`
|
|
`,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}}),Wn=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(),Dt=class{constructor(){let{closedByChildren:vt,implicitNamespacePrefix:Lt,contentType:Jt=rt.TagContentType.PARSABLE_DATA,closedByParent:Nn=!1,isVoid:at=!1,ignoreFirstLf:_t=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,vt&&vt.length>0&&vt.forEach(ir=>this.closedByChildren[ir]=!0),this.isVoid=at,this.closedByParent=Nn||at,this.implicitNamespacePrefix=Lt||null,this.contentType=Jt,this.ignoreFirstLf=_t}isClosedByChild(vt){return this.isVoid||vt.toLowerCase()in this.closedByChildren}};ie.HtmlTagDefinition=Dt;var Tt,Kt;function ut(vt){return Kt||(Tt=new Dt,Kt={base:new Dt({isVoid:!0}),meta:new Dt({isVoid:!0}),area:new Dt({isVoid:!0}),embed:new Dt({isVoid:!0}),link:new Dt({isVoid:!0}),img:new Dt({isVoid:!0}),input:new Dt({isVoid:!0}),param:new Dt({isVoid:!0}),hr:new Dt({isVoid:!0}),br:new Dt({isVoid:!0}),source:new Dt({isVoid:!0}),track:new Dt({isVoid:!0}),wbr:new Dt({isVoid:!0}),p:new Dt({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 Dt({closedByChildren:["tbody","tfoot"]}),tbody:new Dt({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Dt({closedByChildren:["tbody"],closedByParent:!0}),tr:new Dt({closedByChildren:["tr"],closedByParent:!0}),td:new Dt({closedByChildren:["td","th"],closedByParent:!0}),th:new Dt({closedByChildren:["td","th"],closedByParent:!0}),col:new Dt({isVoid:!0}),svg:new Dt({implicitNamespacePrefix:"svg"}),math:new Dt({implicitNamespacePrefix:"math"}),li:new Dt({closedByChildren:["li"],closedByParent:!0}),dt:new Dt({closedByChildren:["dt","dd"]}),dd:new Dt({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Dt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Dt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Dt({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Dt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Dt({closedByChildren:["optgroup"],closedByParent:!0}),option:new Dt({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Dt({ignoreFirstLf:!0}),listing:new Dt({ignoreFirstLf:!0}),style:new Dt({contentType:rt.TagContentType.RAW_TEXT}),script:new Dt({contentType:rt.TagContentType.RAW_TEXT}),title:new Dt({contentType:rt.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new Dt({contentType:rt.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Kt[vt]||Tt}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(Dt){let Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=Dt,this.position=Tt}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(Dt){return Dt&&this.path[this.path.indexOf(Dt)-1]}childOf(Dt){return this.path[this.path.indexOf(Dt)+1]}first(Dt){for(let Tt=this.path.length-1;Tt>=0;Tt--){let Kt=this.path[Tt];if(Kt instanceof Dt)return Kt}}push(Dt){this.path.push(Dt)}pop(){return this.path.pop()}};ie.AstPath=rt}}),vn=yn({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=Cn(),Dt=class{constructor(Nr,qr,Or){this.value=Nr,this.sourceSpan=qr,this.i18n=Or,this.type="text"}visit(Nr,qr){return Nr.visitText(this,qr)}};ie.Text=Dt;var Tt=class{constructor(Nr,qr){this.value=Nr,this.sourceSpan=qr,this.type="cdata"}visit(Nr,qr){return Nr.visitCdata(this,qr)}};ie.CDATA=Tt;var Kt=class{constructor(Nr,qr,Or,Bn,_n,On){this.switchValue=Nr,this.type=qr,this.cases=Or,this.sourceSpan=Bn,this.switchValueSourceSpan=_n,this.i18n=On}visit(Nr,qr){return Nr.visitExpansion(this,qr)}};ie.Expansion=Kt;var ut=class{constructor(Nr,qr,Or,Bn,_n){this.value=Nr,this.expression=qr,this.sourceSpan=Or,this.valueSourceSpan=Bn,this.expSourceSpan=_n}visit(Nr,qr){return Nr.visitExpansionCase(this,qr)}};ie.ExpansionCase=ut;var vt=class{constructor(Nr,qr,Or){let Bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,_n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,On=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=Nr,this.value=qr,this.sourceSpan=Or,this.valueSpan=Bn,this.nameSpan=_n,this.i18n=On,this.type="attribute"}visit(Nr,qr){return Nr.visitAttribute(this,qr)}};ie.Attribute=vt;var Lt=class{constructor(Nr,qr,Or,Bn){let _n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,On=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=Or,this.sourceSpan=Bn,this.startSourceSpan=_n,this.endSourceSpan=On,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 Nn=class{constructor(Nr,qr){this.value=Nr,this.sourceSpan=qr,this.type="docType"}visit(Nr,qr){return Nr.visitDocType(this,qr)}};ie.DocType=Nn;function at(Nr,qr){let Or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Bn=[],_n=Nr.visit?On=>Nr.visit(On,Or)||On.visit(Nr,Or):On=>On.visit(Nr,Or);return qr.forEach(On=>{let Ui=_n(On);Ui&&Bn.push(Ui)}),Bn}ie.visitAll=at;var _t=class{constructor(){}visitElement(Nr,qr){this.visitChildren(qr,Or=>{Or(Nr.attrs),Or(Nr.children)})}visitAttribute(Nr,qr){}visitText(Nr,qr){}visitCdata(Nr,qr){}visitComment(Nr,qr){}visitDocType(Nr,qr){}visitExpansion(Nr,qr){return this.visitChildren(qr,Or=>{Or(Nr.cases)})}visitExpansionCase(Nr,qr){}visitChildren(Nr,qr){let Or=[],Bn=this;function _n(On){On&&Or.push(at(Bn,On,Nr))}return qr(_n),Array.prototype.concat.apply([],Or)}};ie.RecursiveVisitor=_t;function ir(Nr){let qr=Nr.sourceSpan.start.offset,Or=Nr.sourceSpan.end.offset;return Nr instanceof Lt&&(Nr.endSourceSpan?Or=Nr.endSourceSpan.end.offset:Nr.children&&Nr.children.length&&(Or=ir(Nr.children[Nr.children.length-1]).end)),{start:qr,end:Or}}function $r(Nr,qr){let Or=[],Bn=new class extends _t{visit(_n,On){let Ui=ir(_n);if(Ui.start<=qr&&qr<Ui.end)Or.push(_n);else return!0}};return at(Bn,Nr),new rt.AstPath(Or,qr)}ie.findNode=$r}}),nn=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 vt=0;vt<ut.length;vt+=1)if(typeof ut[vt]!="string")throw new Error("Expected '".concat(Kt,"' to be an array of strings."))}}ie.assertArrayOfStrings=rt;var Dt=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Tt(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 vt=ut[0],Lt=ut[1];Dt.forEach(Jt=>{if(Jt.test(vt)||Jt.test(Lt))throw new Error("['".concat(vt,"', '").concat(Lt,"'] contains unusable interpolation symbol."))})}}ie.assertInterpolationSymbols=Tt}}),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=nn(),Dt=class{constructor(Tt,Kt){this.start=Tt,this.end=Kt}static fromArray(Tt){return Tt?(rt.assertInterpolationSymbols("interpolation",Tt),new Dt(Tt[0],Tt[1])):ie.DEFAULT_INTERPOLATION_CONFIG}};ie.InterpolationConfig=Dt,ie.DEFAULT_INTERPOLATION_CONFIG=new Dt("{{","}}")}}),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(),Dt=Mr(),Tt=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 vt=class{constructor(Ke,mt,Hr){this.type=Ke,this.parts=mt,this.sourceSpan=Hr}};ie.Token=vt;var Lt=class extends Dt.ParseError{constructor(Ke,mt,Hr){super(Hr,Ke),this.tokenType=mt}};ie.TokenError=Lt;var Jt=class{constructor(Ke,mt){this.tokens=Ke,this.errors=mt}};ie.TokenizeResult=Jt;function Nn(Ke,mt,Hr){let hr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new Nr(new Dt.ParseSourceFile(Ke,mt),Hr,hr).tokenize()}ie.tokenize=Nn;var at=/\r\n?/g;function _t(Ke){let mt=Ke===rt.$EOF?"EOF":String.fromCharCode(Ke);return'Unexpected character "'.concat(mt,'"')}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,mt,Hr){this._getTagContentType=mt,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||Tt.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 hr=Hr.range||{endPos:Ke.content.length,startPos:0,startLine:0,startCol:0};this._cursor=Hr.escapedString?new os(Ke,hr):new Fi(Ke,hr);try{this._cursor.init()}catch(En){this.handleError(En)}}_processCarriageReturns(Ke){return Ke.replace(at,`
|
|
`)}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 mt=this._cursor.clone();this._attemptCharCode(rt.$QUESTION)?(this._cursor=mt,this._consumeBogusComment(Ke)):this._consumeTagOpen(Ke)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(mt){this.handleError(mt)}}return this._beginToken(ut.EOF),this._endToken([]),new Jt(Ei(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 mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=mt,this._currentTokenType=Ke}_endToken(Ke){let mt=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(mt));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 vt(this._currentTokenType,Ke,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(Hr),this._currentTokenStart=null,this._currentTokenType=null,Hr}_createError(Ke,mt){this._isInExpansionForm()&&(Ke+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let Hr=new Lt(Ke,this._currentTokenType,mt);return this._currentTokenStart=null,this._currentTokenType=null,new $r(Hr)}handleError(Ke){if(Ke instanceof vs&&(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 mt=this._cursor.clone();if(!this._attemptCharCode(Ke))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(mt))}_attemptStr(Ke){let mt=Ke.length;if(this._cursor.charsLeft()<mt)return!1;let Hr=this._cursor.clone();for(let hr=0;hr<mt;hr++)if(!this._attemptCharCode(Ke.charCodeAt(hr)))return this._cursor=Hr,!1;return!0}_attemptStrCaseInsensitive(Ke){for(let mt=0;mt<Ke.length;mt++)if(!this._attemptCharCodeCaseInsensitive(Ke.charCodeAt(mt)))return!1;return!0}_requireStr(Ke){let mt=this._cursor.clone();if(!this._attemptStr(Ke))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(mt))}_requireStrCaseInsensitive(Ke){let mt=this._cursor.clone();if(!this._attemptStrCaseInsensitive(Ke))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(mt))}_attemptCharCodeUntilFn(Ke){for(;!Ke(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(Ke,mt){let Hr=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ke),this._cursor.clone().diff(Hr)<mt)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 mt=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),mt}}_decodeEntity(){let Ke=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(rt.$HASH)){let mt=this._attemptCharCode(rt.$x)||this._attemptCharCode(rt.$X),Hr=this._cursor.clone();if(this._attemptCharCodeUntilFn(_n),this._cursor.peek()!=rt.$SEMICOLON)throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan());let hr=this._cursor.getChars(Hr);this._cursor.advance();try{let En=parseInt(hr,mt?16:10);return String.fromCharCode(En)}catch{throw this._createError(ir(this._cursor.getChars(Ke)),this._cursor.getSpan())}}else{let mt=this._cursor.clone();if(this._attemptCharCodeUntilFn(On),this._cursor.peek()!=rt.$SEMICOLON)return this._cursor=mt,"&";let Hr=this._cursor.getChars(mt);this._cursor.advance();let hr=Kt.NAMED_ENTITIES[Hr];if(!hr)throw this._createError(ir(Hr),this._cursor.getSpan(Ke));return hr}}_consumeRawText(Ke,mt){this._beginToken(Ke?ut.ESCAPABLE_RAW_TEXT:ut.RAW_TEXT);let Hr=[];for(;;){let hr=this._cursor.clone(),En=mt();if(this._cursor=hr,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(),mt="";for(;this._cursor.peek()!==rt.$COLON&&!Bn(this._cursor.peek());)this._cursor.advance();let Hr;this._cursor.peek()===rt.$COLON?(mt=this._cursor.getChars(Ke),this._cursor.advance(),Hr=this._cursor.clone()):Hr=Ke,this._requireCharCodeUntilFn(Or,mt===""?0:1);let hr=this._cursor.getChars(Hr);return[mt,hr]}_consumeTagOpen(Ke){let mt,Hr,hr,En=this.tokens.length,$i=this._cursor.clone(),xs=[];try{if(!rt.isAsciiLetter(this._cursor.peek()))throw this._createError(_t(this._cursor.peek()),this._cursor.getSpan(Ke));for(hr=this._consumeTagOpenStart(Ke),Hr=hr.parts[0],mt=hr.parts[1],this._attemptCharCodeUntilFn(qr);this._cursor.peek()!==rt.$SLASH&&this._cursor.peek()!==rt.$GT;){let[zs,ha]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(qr),this._attemptCharCode(rt.$EQ)){this._attemptCharCodeUntilFn(qr);let gs=this._consumeAttributeValue();xs.push({prefix:zs,name:ha,value:gs})}else xs.push({prefix:zs,name:ha});this._attemptCharCodeUntilFn(qr)}this._consumeTagOpenEnd()}catch(zs){if(zs instanceof $r){this._cursor=$i,hr&&(this.tokens.length=En),this._beginToken(ut.TEXT,Ke),this._endToken(["<"]);return}throw zs}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===ut.TAG_OPEN_END_VOID)return;let Us=this._getTagContentType(mt,Hr,this._fullNameStack.length>0,xs);this._handleFullNameStackForTagOpen(Hr,mt),Us===Kt.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(Hr,mt,!1):Us===Kt.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(Hr,mt,!0)}_consumeRawTextWithTagClose(Ke,mt,Hr){this._consumeRawText(Hr,()=>!this._attemptCharCode(rt.$LT)||!this._attemptCharCode(rt.$SLASH)||(this._attemptCharCodeUntilFn(qr),!this._attemptStrCaseInsensitive(Ke?"".concat(Ke,":").concat(mt):mt))?!1:(this._attemptCharCodeUntilFn(qr),this._attemptCharCode(rt.$GT))),this._beginToken(ut.TAG_CLOSE),this._requireCharCodeUntilFn(hr=>hr===rt.$GT,3),this._cursor.advance(),this._endToken([Ke,mt]),this._handleFullNameStackForTagClose(Ke,mt)}_consumeTagOpenStart(Ke){this._beginToken(ut.TAG_OPEN_START,Ke);let mt=this._consumePrefixAndName();return this._endToken(mt)}_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 mt=this._consumePrefixAndName();return this._endToken(mt),mt}_consumeAttributeValue(){let Ke;if(this._cursor.peek()===rt.$SQ||this._cursor.peek()===rt.$DQ){this._beginToken(ut.ATTR_QUOTE);let mt=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(mt)]),this._beginToken(ut.ATTR_VALUE);let Hr=[];for(;this._cursor.peek()!==mt;)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(mt)])}else{this._beginToken(ut.ATTR_VALUE);let mt=this._cursor.clone();this._requireCharCodeUntilFn(Or,1),Ke=this._processCarriageReturns(this._cursor.getChars(mt)),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[mt,Hr]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(qr),this._requireCharCode(rt.$GT),this._endToken([mt,Hr]),this._handleFullNameStackForTagClose(mt,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 mt=this._readUntil(rt.$COMMA);this._endToken([mt]),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 mt=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(mt.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(mt.push(this._interpolationConfig.end),this._inInterpolation=!1):mt.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(mt.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 mt=this._cursor.clone();return this._attemptUntilChar(Ke),this._cursor.getChars(mt)}_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(),mt=this._attemptStr(this._interpolationConfig.start);return this._cursor=Ke,!mt}return!0}_handleFullNameStackForTagOpen(Ke,mt){let Hr=Kt.mergeNsAndName(Ke,mt);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===Hr)&&this._fullNameStack.push(Hr)}_handleFullNameStackForTagClose(Ke,mt){let Hr=Kt.mergeNsAndName(Ke,mt);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 Or(Ke){return rt.isWhitespace(Ke)||Ke===rt.$GT||Ke===rt.$SLASH||Ke===rt.$SQ||Ke===rt.$DQ||Ke===rt.$EQ}function Bn(Ke){return(Ke<rt.$a||rt.$z<Ke)&&(Ke<rt.$A||rt.$Z<Ke)&&(Ke<rt.$0||Ke>rt.$9)}function _n(Ke){return Ke==rt.$SEMICOLON||Ke==rt.$EOF||!rt.isAsciiHexDigit(Ke)}function On(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,mt){return cn(Ke)==cn(mt)}function cn(Ke){return Ke>=rt.$a&&Ke<=rt.$z?Ke-rt.$a+rt.$A:Ke}function Ei(Ke){let mt=[],Hr;for(let hr=0;hr<Ke.length;hr++){let En=Ke[hr];Hr&&Hr.type==ut.TEXT&&En.type==ut.TEXT?(Hr.parts[0]+=En.parts[0],Hr.sourceSpan.end=En.sourceSpan.end):(Hr=En,mt.push(Hr))}return mt}var Fi=class{constructor(Ke,mt){if(Ke instanceof Fi)this.file=Ke.file,this.input=Ke.input,this.end=Ke.end,this.state=Object.assign({},Ke.state);else{if(!mt)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=Ke,this.input=Ke.content,this.end=mt.endPos,this.state={peek:-1,offset:mt.startPos,line:mt.startLine,column:mt.startCol}}}clone(){return new Fi(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,mt){if(Ke=Ke||this,mt)for(Ke=Ke.clone();this.diff(Ke)>0&&mt.indexOf(Ke.peek())!==-1;)Ke.advance();return new Dt.ParseSourceSpan(new Dt.ParseLocation(Ke.file,Ke.state.offset,Ke.state.line,Ke.state.column),new Dt.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 vs('Unexpected character "EOF"',this);let mt=this.charAt(Ke.offset);mt===rt.$LF?(Ke.line++,Ke.column=0):rt.isNewLine(mt)||Ke.column++,Ke.offset++,this.updatePeek(Ke)}updatePeek(Ke){Ke.peek=Ke.offset>=this.end?rt.$EOF:this.charAt(Ke.offset)}},os=class extends Fi{constructor(Ke,mt){Ke instanceof os?(super(Ke),this.internalState=Object.assign({},Ke.internalState)):(super(Ke,mt),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 mt=Ke.clone(),Hr="";for(;mt.internalState.offset<this.internalState.offset;)Hr+=String.fromCodePoint(mt.peek()),mt.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 mt=this.clone(),Hr=0;for(;Ke()!==rt.$RBRACE;)this.advanceState(this.internalState),Hr++;this.state.peek=this.decodeHexDigits(mt,Hr)}else{let mt=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(mt,4)}else if(Ke()===rt.$x){this.advanceState(this.internalState);let mt=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(mt,2)}else if(rt.isOctalDigit(Ke())){let mt="",Hr=0,hr=this.clone();for(;rt.isOctalDigit(Ke())&&Hr<3;)hr=this.clone(),mt+=String.fromCodePoint(Ke()),this.advanceState(this.internalState),Hr++;this.state.peek=parseInt(mt,8),this.internalState=hr.internalState}else rt.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(Ke,mt){let Hr=this.input.substr(Ke.internalState.offset,mt),hr=parseInt(Hr,16);if(isNaN(hr))throw Ke.state=Ke.internalState,new vs("Invalid hexadecimal escape sequence",Ke);return hr}},vs=class{constructor(Ke,mt){this.msg=Ke,this.cursor=mt}};ie.CursorError=vs}}),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(),Dt=vn(),Tt=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 vt=class{constructor(at,_t){this.rootNodes=at,this.errors=_t}};ie.ParseTreeResult=vt;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=Fi=>function(os){for(var vs=arguments.length,Ke=new Array(vs>1?vs-1:0),mt=1;mt<vs;mt++)Ke[mt-1]=arguments[mt];return Fi(os.toLowerCase(),...Ke)},Or=$r?this.getTagDefinition:qr(this.getTagDefinition),Bn=Fi=>Or(Fi).contentType,_n=$r?Nr:qr(Nr),On=Nr?(Fi,os,vs,Ke)=>{let mt=_n(Fi,os,vs,Ke);return mt!==void 0?mt:Bn(Fi)}:Bn,Ui=Tt.tokenize(at,_t,On,ir),ps=ir&&ir.canSelfClose||!1,cn=ir&&ir.allowHtmComponentClosingTags||!1,Ei=new Jt(Ui.tokens,Or,ps,cn,$r).build();return new vt(Ei.rootNodes,Ui.errors.concat(Ei.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!==Tt.TokenType.EOF;)this._peek.type===Tt.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Tt.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===Tt.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Tt.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Tt.TokenType.TEXT||this._peek.type===Tt.TokenType.RAW_TEXT||this._peek.type===Tt.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Tt.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===Tt.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new vt(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(Tt.TokenType.CDATA_END);this._addToParent(new Dt.CDATA(ir,new rt.ParseSourceSpan(at.sourceSpan.start,($r||_t).sourceSpan.end)))}_consumeComment(at){let _t=this._advanceIf(Tt.TokenType.RAW_TEXT),ir=this._advanceIf(Tt.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 Dt.Comment($r,Nr))}_consumeDocType(at){let _t=this._advanceIf(Tt.TokenType.RAW_TEXT),ir=this._advanceIf(Tt.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 Dt.DocType($r,Nr))}_consumeExpansion(at){let _t=this._advance(),ir=this._advance(),$r=[];for(;this._peek.type===Tt.TokenType.EXPANSION_CASE_VALUE;){let qr=this._parseExpansionCase();if(!qr)return;$r.push(qr)}if(this._peek.type!==Tt.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 Dt.Expansion(_t.parts[0],ir.parts[0],$r,Nr,_t.sourceSpan)),this._advance()}_parseExpansionCase(){let at=this._advance();if(this._peek.type!==Tt.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 Tt.Token(Tt.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),Or=new rt.ParseSourceSpan(_t.sourceSpan.start,$r.sourceSpan.end);return new Dt.ExpansionCase(at.parts[0],Nr.rootNodes,qr,at.sourceSpan,Or)}_collectExpansionExpTokens(at){let _t=[],ir=[Tt.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===Tt.TokenType.EXPANSION_FORM_START||this._peek.type===Tt.TokenType.EXPANSION_CASE_EXP_START)&&ir.push(this._peek.type),this._peek.type===Tt.TokenType.EXPANSION_CASE_EXP_END)if(Nn(ir,Tt.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===Tt.TokenType.EXPANSION_FORM_END)if(Nn(ir,Tt.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===Tt.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]==`
|
|
`){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 Dt.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===Tt.TokenType.ATTR_NAME;)$r.push(this._consumeAttr(this._advance()));let Nr=this._getElementFullName(_t,ir,this._getParentElement()),qr=!1;if(this._peek.type===Tt.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===Tt.TokenType.TAG_OPEN_END&&(this._advance(),qr=!1);let Or=this._peek.sourceSpan.start,Bn=new rt.ParseSourceSpan(at.sourceSpan.start,Or),_n=new rt.ParseSourceSpan(at.sourceSpan.start.moveBy(1),at.sourceSpan.end),On=new Dt.Element(Nr,$r,[],Bn,Bn,void 0,_n);this._pushElement(On),qr&&(this._popElement(Nr),On.endSourceSpan=Bn)}_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===Tt.TokenType.ATTR_QUOTE&&(qr=this._advance().sourceSpan.start),this._peek.type===Tt.TokenType.ATTR_VALUE){let Or=this._advance();$r=Or.parts[0],ir=Or.sourceSpan.end,Nr=Or.sourceSpan}return this._peek.type===Tt.TokenType.ATTR_QUOTE&&(ir=this._advance().sourceSpan.end,Nr=new rt.ParseSourceSpan(qr,ir)),new Dt.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 Nn(at,_t){return at.length>0&&at[at.length-1]===_t}}}),ei=yn({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=Wn(),Dt=ii(),Tt=ii();ie.ParseTreeResult=Tt.ParseTreeResult,ie.TreeError=Tt.TreeError;var Kt=class extends Dt.Parser{constructor(){super(rt.getHtmlTagDefinition)}parse(ut,vt,Lt){let Jt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Nn=arguments.length>4?arguments[4]:void 0;return super.parse(ut,vt,Lt,Jt,Nn)}};ie.HtmlParser=Kt}}),Ci=yn({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(ie){Gn(),Object.defineProperty(ie,"__esModule",{value:!0});var rt=ei(),Dt=go();ie.TagContentType=Dt.TagContentType;var Tt=null,Kt=()=>(Tt||(Tt=new rt.HtmlParser),Tt);function ut(vt){let Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:Jt=!1,allowHtmComponentClosingTags:Nn=!1,isTagNameCaseSensitive:at=!1,getTagContentType:_t}=Lt;return Kt().parse(vt,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:Jt,allowHtmComponentClosingTags:Nn},at,_t)}ie.parse=ut}});Gn();var{ParseSourceSpan:qi,ParseLocation:Qi,ParseSourceFile:Yn}=Mr(),Mi=sn(),as=ci(),ji=ss(),{inferParserByLanguage:ws}=Ja(),da=Mo(),Gi=Sa(),Oi=Zo(),{hasPragma:dt}=bu(),{Node:Xs}=Co(),{parseIeConditionalComment:Oa}=eu(),{locStart:Is,locEnd:Rs}=Ra();function ra(ie,rt,Dt){let{recognizeSelfClosing:Tt,normalizeTagName:Kt,normalizeAttributeName:ut,allowHtmComponentClosingTags:vt,isTagNameCaseSensitive:Lt,getTagContentType:Jt}=rt,Nn=Ci(),{RecursiveVisitor:at,visitAll:_t}=vn(),{ParseSourceSpan:ir}=Mr(),{getHtmlTagDefinition:$r}=Wn(),{rootNodes:Nr,errors:qr}=Nn.parse(ie,{canSelfClose:Tt,allowHtmComponentClosingTags:vt,isTagNameCaseSensitive:Lt,getTagContentType:Jt});if(Dt.parser==="vue")if(Nr.some(cn=>cn.type==="docType"&&cn.value==="html"||cn.type==="element"&&cn.name.toLowerCase()==="html")){Tt=!0,Kt=!0,ut=!0,vt=!0,Lt=!1;let cn=Nn.parse(ie,{canSelfClose:Tt,allowHtmComponentClosingTags:vt,isTagNameCaseSensitive:Lt});Nr=cn.rootNodes,qr=cn.errors}else{let cn=Ei=>{if(!Ei||Ei.type!=="element"||Ei.name!=="template")return!1;let Fi=Ei.attrs.find(vs=>vs.name==="lang"),os=Fi&&Fi.value;return!os||ws(os,Dt)==="html"};if(Nr.some(cn)){let Ei,Fi=()=>Nn.parse(ie,{canSelfClose:Tt,allowHtmComponentClosingTags:vt,isTagNameCaseSensitive:Lt}),os=()=>Ei||(Ei=Fi()),vs=Ke=>os().rootNodes.find(mt=>{let{startSourceSpan:Hr}=mt;return Hr&&Hr.start.offset===Ke.startSourceSpan.start.offset});for(let Ke=0;Ke<Nr.length;Ke++){let mt=Nr[Ke],{endSourceSpan:Hr,startSourceSpan:hr}=mt;if(Hr===null)qr=os().errors,Nr[Ke]=vs(mt)||mt;else if(cn(mt)){let En=os(),$i=hr.end.offset,xs=Hr.start.offset;for(let Us of En.errors){let{offset:zs}=Us.span.start;if($i<zs&&zs<xs){qr=[Us];break}}Nr[Ke]=vs(mt)||mt}}}}if(qr.length>0){let{msg:cn,span:{start:Ei,end:Fi}}=qr[0];throw ji(cn,{start:{line:Ei.line+1,column:Ei.col+1},end:{line:Fi.line+1,column:Fi.col+1}})}let Or=cn=>{let Ei=cn.name.startsWith(":")?cn.name.slice(1).split(":")[0]:null,Fi=cn.nameSpan.toString(),os=Ei!==null&&Fi.startsWith("".concat(Ei,":")),vs=os?Fi.slice(Ei.length+1):Fi;cn.name=vs,cn.namespace=Ei,cn.hasExplicitNamespace=os},Bn=cn=>{switch(cn.type){case"element":Or(cn);for(let Ei of cn.attrs)Or(Ei),Ei.valueSpan?(Ei.value=Ei.valueSpan.toString(),/["']/.test(Ei.value[0])&&(Ei.value=Ei.value.slice(1,-1))):Ei.value=null;break;case"comment":cn.value=cn.sourceSpan.toString().slice(4,-3);break;case"text":cn.value=cn.sourceSpan.toString();break}},_n=(cn,Ei)=>{let Fi=cn.toLowerCase();return Ei(Fi)?Fi:cn},On=cn=>{if(cn.type==="element"&&(Kt&&(!cn.namespace||cn.namespace===cn.tagDefinition.implicitNamespacePrefix||Oi(cn))&&(cn.name=_n(cn.name,Ei=>Ei in da)),ut)){let Ei=Gi[cn.name]||Object.create(null);for(let Fi of cn.attrs)Fi.namespace||(Fi.name=_n(Fi.name,os=>cn.name in Gi&&(os in Gi["*"]||os in Ei)))}},Ui=cn=>{cn.sourceSpan&&cn.endSourceSpan&&(cn.sourceSpan=new ir(cn.sourceSpan.start,cn.endSourceSpan.end))},ps=cn=>{if(cn.type==="element"){let Ei=$r(Lt?cn.name:cn.name.toLowerCase());!cn.namespace||cn.namespace===Ei.implicitNamespacePrefix||Oi(cn)?cn.tagDefinition=Ei:cn.tagDefinition=$r("")}};return _t(new class extends at{visit(cn){Bn(cn),ps(cn),On(cn),Ui(cn)}},Nr),Nr}function ms(ie,rt,Dt){let Tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:Kt,content:ut}=Tt?Mi(ie):{frontMatter:null,content:ie},vt=new Yn(ie,rt.filepath),Lt=new Qi(vt,0,0,0),Jt=Lt.moveBy(ie.length),Nn={type:"root",sourceSpan:new qi(Lt,Jt),children:ra(ut,Dt,rt)};if(Kt){let ir=new Qi(vt,0,0,0),$r=ir.moveBy(Kt.raw.length);Kt.sourceSpan=new qi(ir,$r),Nn.children.unshift(Kt)}let at=new Xs(Nn),_t=(ir,$r)=>{let{offset:Nr}=$r,qr=ie.slice(0,Nr).replace(/[^\n\r]/g," "),Or=ms(qr+ir,rt,Dt,!1);Or.sourceSpan=new qi($r,as(Or.children).sourceSpan.end);let Bn=Or.children[0];return Bn.length===Nr?Or.children.shift():(Bn.sourceSpan=new qi(Bn.sourceSpan.start.moveBy(Nr),Bn.sourceSpan.end),Bn.value=Bn.value.slice(Nr)),Or};return at.walk(ir=>{if(ir.type==="comment"){let $r=Oa(ir,_t);$r&&ir.parent.replaceChild(ir,$r)}}),at}function Si(){let{name:ie,recognizeSelfClosing:rt=!1,normalizeTagName:Dt=!1,normalizeAttributeName:Tt=!1,allowHtmComponentClosingTags:Kt=!1,isTagNameCaseSensitive:ut=!1,getTagContentType:vt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(Lt,Jt,Nn)=>ms(Lt,Object.assign({parser:ie},Nn),{recognizeSelfClosing:rt,normalizeTagName:Dt,normalizeAttributeName:Tt,allowHtmComponentClosingTags:Kt,isTagNameCaseSensitive:ut,getTagContentType:vt}),hasPragma:dt,astFormat:"html",locStart:Is,locEnd:Rs}}Ie.exports={parsers:{html:Si({name:"html",recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Si({name:"angular"}),vue:Si({name:"vue",recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:(ie,rt,Dt,Tt)=>{if(ie.toLowerCase()!=="html"&&!Dt&&(ie!=="template"||Tt.some(Kt=>{let{name:ut,value:vt}=Kt;return ut==="lang"&&vt!=="html"&&vt!==""&&vt!==void 0})))return Ci().TagContentType.RAW_TEXT}}),lwc:Si({name:"lwc"})}}});return on()})})(wm);const XD=Hp(wm.exports);var Tm={exports:{}};(function(i,c){(function(l){i.exports=l()})(function(){var l=(wr,Nt)=>()=>(Nt||wr((Nt={exports:{}}).exports,Nt),Nt.exports),f=l((wr,Nt)=>{var Ue=function(Bt){return Bt&&Bt.Math==Math&&Bt};Nt.exports=Ue(typeof globalThis=="object"&&globalThis)||Ue(typeof window=="object"&&window)||Ue(typeof self=="object"&&self)||Ue(typeof jl=="object"&&jl)||function(){return this}()||Function("return this")()}),v=l((wr,Nt)=>{Nt.exports=function(Ue){try{return!!Ue()}catch{return!0}}}),B=l((wr,Nt)=>{var Ue=v();Nt.exports=!Ue(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Y=l((wr,Nt)=>{var Ue=v();Nt.exports=!Ue(function(){var Bt=function(){}.bind();return typeof Bt!="function"||Bt.hasOwnProperty("prototype")})}),he=l((wr,Nt)=>{var Ue=Y(),Bt=Function.prototype.call;Nt.exports=Ue?Bt.bind(Bt):function(){return Bt.apply(Bt,arguments)}}),xe=l(wr=>{var Nt={}.propertyIsEnumerable,Ue=Object.getOwnPropertyDescriptor,Bt=Ue&&!Nt.call({1:2},1);wr.f=Bt?function(Xt){var tr=Ue(this,Xt);return!!tr&&tr.enumerable}:Nt}),Le=l((wr,Nt)=>{Nt.exports=function(Ue,Bt){return{enumerable:!(Ue&1),configurable:!(Ue&2),writable:!(Ue&4),value:Bt}}}),je=l((wr,Nt)=>{var Ue=Y(),Bt=Function.prototype,Xt=Bt.bind,tr=Bt.call,Rr=Ue&&Xt.bind(tr,tr);Nt.exports=Ue?function(on){return on&&Rr(on)}:function(on){return on&&function(){return tr.apply(on,arguments)}}}),it=l((wr,Nt)=>{var Ue=je(),Bt=Ue({}.toString),Xt=Ue("".slice);Nt.exports=function(tr){return Xt(Bt(tr),8,-1)}}),xt=l((wr,Nt)=>{var Ue=f(),Bt=je(),Xt=v(),tr=it(),Rr=Ue.Object,on=Bt("".split);Nt.exports=Xt(function(){return!Rr("z").propertyIsEnumerable(0)})?function(Rt){return tr(Rt)=="String"?on(Rt,""):Rr(Rt)}:Rr}),Ft=l((wr,Nt)=>{var Ue=f(),Bt=Ue.TypeError;Nt.exports=function(Xt){if(Xt==null)throw Bt("Can't call method on "+Xt);return Xt}}),Qt=l((wr,Nt)=>{var Ue=xt(),Bt=Ft();Nt.exports=function(Xt){return Ue(Bt(Xt))}}),mr=l((wr,Nt)=>{Nt.exports=function(Ue){return typeof Ue=="function"}}),Ur=l((wr,Nt)=>{var Ue=mr();Nt.exports=function(Bt){return typeof Bt=="object"?Bt!==null:Ue(Bt)}}),wt=l((wr,Nt)=>{var Ue=f(),Bt=mr(),Xt=function(tr){return Bt(tr)?tr:void 0};Nt.exports=function(tr,Rr){return arguments.length<2?Xt(Ue[tr]):Ue[tr]&&Ue[tr][Rr]}}),jt=l((wr,Nt)=>{var Ue=je();Nt.exports=Ue({}.isPrototypeOf)}),Wt=l((wr,Nt)=>{var Ue=wt();Nt.exports=Ue("navigator","userAgent")||""}),Ar=l((wr,Nt)=>{var Ue=f(),Bt=Wt(),Xt=Ue.process,tr=Ue.Deno,Rr=Xt&&Xt.versions||tr&&tr.version,on=Rr&&Rr.v8,Rt,Ie;on&&(Rt=on.split("."),Ie=Rt[0]>0&&Rt[0]<4?1:+(Rt[0]+Rt[1])),!Ie&&Bt&&(Rt=Bt.match(/Edge\/(\d+)/),(!Rt||Rt[1]>=74)&&(Rt=Bt.match(/Chrome\/(\d+)/),Rt&&(Ie=+Rt[1]))),Nt.exports=Ie}),an=l((wr,Nt)=>{var Ue=Ar(),Bt=v();Nt.exports=!!Object.getOwnPropertySymbols&&!Bt(function(){var Xt=Symbol();return!String(Xt)||!(Object(Xt)instanceof Symbol)||!Symbol.sham&&Ue&&Ue<41})}),Vn=l((wr,Nt)=>{var Ue=an();Nt.exports=Ue&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),An=l((wr,Nt)=>{var Ue=f(),Bt=wt(),Xt=mr(),tr=jt(),Rr=Vn(),on=Ue.Object;Nt.exports=Rr?function(Rt){return typeof Rt=="symbol"}:function(Rt){var Ie=Bt("Symbol");return Xt(Ie)&&tr(Ie.prototype,on(Rt))}}),gi=l((wr,Nt)=>{var Ue=f(),Bt=Ue.String;Nt.exports=function(Xt){try{return Bt(Xt)}catch{return"Object"}}}),ai=l((wr,Nt)=>{var Ue=f(),Bt=mr(),Xt=gi(),tr=Ue.TypeError;Nt.exports=function(Rr){if(Bt(Rr))return Rr;throw tr(Xt(Rr)+" is not a function")}}),$n=l((wr,Nt)=>{var Ue=ai();Nt.exports=function(Bt,Xt){var tr=Bt[Xt];return tr==null?void 0:Ue(tr)}}),Mn=l((wr,Nt)=>{var Ue=f(),Bt=he(),Xt=mr(),tr=Ur(),Rr=Ue.TypeError;Nt.exports=function(on,Rt){var Ie,ce;if(Rt==="string"&&Xt(Ie=on.toString)&&!tr(ce=Bt(Ie,on))||Xt(Ie=on.valueOf)&&!tr(ce=Bt(Ie,on))||Rt!=="string"&&Xt(Ie=on.toString)&&!tr(ce=Bt(Ie,on)))return ce;throw Rr("Can't convert object to primitive value")}}),yi=l((wr,Nt)=>{Nt.exports=!1}),Cr=l((wr,Nt)=>{var Ue=f(),Bt=Object.defineProperty;Nt.exports=function(Xt,tr){try{Bt(Ue,Xt,{value:tr,configurable:!0,writable:!0})}catch{Ue[Xt]=tr}return tr}}),Tn=l((wr,Nt)=>{var Ue=f(),Bt=Cr(),Xt="__core-js_shared__",tr=Ue[Xt]||Bt(Xt,{});Nt.exports=tr}),we=l((wr,Nt)=>{var Ue=yi(),Bt=Tn();(Nt.exports=function(Xt,tr){return Bt[Xt]||(Bt[Xt]=tr!==void 0?tr:{})})("versions",[]).push({version:"3.22.2",mode:Ue?"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"})}),rn=l((wr,Nt)=>{var Ue=f(),Bt=Ft(),Xt=Ue.Object;Nt.exports=function(tr){return Xt(Bt(tr))}}),ur=l((wr,Nt)=>{var Ue=je(),Bt=rn(),Xt=Ue({}.hasOwnProperty);Nt.exports=Object.hasOwn||function(tr,Rr){return Xt(Bt(tr),Rr)}}),Sn=l((wr,Nt)=>{var Ue=je(),Bt=0,Xt=Math.random(),tr=Ue(1 .toString);Nt.exports=function(Rr){return"Symbol("+(Rr===void 0?"":Rr)+")_"+tr(++Bt+Xt,36)}}),Kn=l((wr,Nt)=>{var Ue=f(),Bt=we(),Xt=ur(),tr=Sn(),Rr=an(),on=Vn(),Rt=Bt("wks"),Ie=Ue.Symbol,ce=Ie&&Ie.for,de=on?Ie:Ie&&Ie.withoutSetter||tr;Nt.exports=function(be){if(!Xt(Rt,be)||!(Rr||typeof Rt[be]=="string")){var Ee="Symbol."+be;Rr&&Xt(Ie,be)?Rt[be]=Ie[be]:on&&ce?Rt[be]=ce(Ee):Rt[be]=de(Ee)}return Rt[be]}}),Yi=l((wr,Nt)=>{var Ue=f(),Bt=he(),Xt=Ur(),tr=An(),Rr=$n(),on=Mn(),Rt=Kn(),Ie=Ue.TypeError,ce=Rt("toPrimitive");Nt.exports=function(de,be){if(!Xt(de)||tr(de))return de;var Ee=Rr(de,ce),He;if(Ee){if(be===void 0&&(be="default"),He=Bt(Ee,de,be),!Xt(He)||tr(He))return He;throw Ie("Can't convert object to primitive value")}return be===void 0&&(be="number"),on(de,be)}}),ys=l((wr,Nt)=>{var Ue=Yi(),Bt=An();Nt.exports=function(Xt){var tr=Ue(Xt,"string");return Bt(tr)?tr:tr+""}}),Ns=l((wr,Nt)=>{var Ue=f(),Bt=Ur(),Xt=Ue.document,tr=Bt(Xt)&&Bt(Xt.createElement);Nt.exports=function(Rr){return tr?Xt.createElement(Rr):{}}}),cs=l((wr,Nt)=>{var Ue=B(),Bt=v(),Xt=Ns();Nt.exports=!Ue&&!Bt(function(){return Object.defineProperty(Xt("div"),"a",{get:function(){return 7}}).a!=7})}),ts=l(wr=>{var Nt=B(),Ue=he(),Bt=xe(),Xt=Le(),tr=Qt(),Rr=ys(),on=ur(),Rt=cs(),Ie=Object.getOwnPropertyDescriptor;wr.f=Nt?Ie:function(ce,de){if(ce=tr(ce),de=Rr(de),Rt)try{return Ie(ce,de)}catch{}if(on(ce,de))return Xt(!Ue(Bt.f,ce,de),ce[de])}}),_r=l((wr,Nt)=>{var Ue=B(),Bt=v();Nt.exports=Ue&&Bt(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Kr=l((wr,Nt)=>{var Ue=f(),Bt=Ur(),Xt=Ue.String,tr=Ue.TypeError;Nt.exports=function(Rr){if(Bt(Rr))return Rr;throw tr(Xt(Rr)+" is not an object")}}),yr=l(wr=>{var Nt=f(),Ue=B(),Bt=cs(),Xt=_r(),tr=Kr(),Rr=ys(),on=Nt.TypeError,Rt=Object.defineProperty,Ie=Object.getOwnPropertyDescriptor,ce="enumerable",de="configurable",be="writable";wr.f=Ue?Xt?function(Ee,He,et){if(tr(Ee),He=Rr(He),tr(et),typeof Ee=="function"&&He==="prototype"&&"value"in et&&be in et&&!et[be]){var st=Ie(Ee,He);st&&st[be]&&(Ee[He]=et.value,et={configurable:de in et?et[de]:st[de],enumerable:ce in et?et[ce]:st[ce],writable:!1})}return Rt(Ee,He,et)}:Rt:function(Ee,He,et){if(tr(Ee),He=Rr(He),tr(et),Bt)try{return Rt(Ee,He,et)}catch{}if("get"in et||"set"in et)throw on("Accessors not supported");return"value"in et&&(Ee[He]=et.value),Ee}}),dn=l((wr,Nt)=>{var Ue=B(),Bt=yr(),Xt=Le();Nt.exports=Ue?function(tr,Rr,on){return Bt.f(tr,Rr,Xt(1,on))}:function(tr,Rr,on){return tr[Rr]=on,tr}}),oi=l((wr,Nt)=>{var Ue=je(),Bt=mr(),Xt=Tn(),tr=Ue(Function.toString);Bt(Xt.inspectSource)||(Xt.inspectSource=function(Rr){return tr(Rr)}),Nt.exports=Xt.inspectSource}),Jn=l((wr,Nt)=>{var Ue=f(),Bt=mr(),Xt=oi(),tr=Ue.WeakMap;Nt.exports=Bt(tr)&&/native code/.test(Xt(tr))}),Un=l((wr,Nt)=>{var Ue=we(),Bt=Sn(),Xt=Ue("keys");Nt.exports=function(tr){return Xt[tr]||(Xt[tr]=Bt(tr))}}),li=l((wr,Nt)=>{Nt.exports={}}),ct=l((wr,Nt)=>{var Ue=Jn(),Bt=f(),Xt=je(),tr=Ur(),Rr=dn(),on=ur(),Rt=Tn(),Ie=Un(),ce=li(),de="Object already initialized",be=Bt.TypeError,Ee=Bt.WeakMap,He,et,st,yt=function(Pr){return st(Pr)?et(Pr):He(Pr,{})},Vt=function(Pr){return function(kn){var pi;if(!tr(kn)||(pi=et(kn)).type!==Pr)throw be("Incompatible receiver, "+Pr+" required");return pi}};Ue||Rt.state?(nr=Rt.state||(Rt.state=new Ee),Tr=Xt(nr.get),zr=Xt(nr.has),Yr=Xt(nr.set),He=function(Pr,kn){if(zr(nr,Pr))throw new be(de);return kn.facade=Pr,Yr(nr,Pr,kn),kn},et=function(Pr){return Tr(nr,Pr)||{}},st=function(Pr){return zr(nr,Pr)}):(tn=Ie("state"),ce[tn]=!0,He=function(Pr,kn){if(on(Pr,tn))throw new be(de);return kn.facade=Pr,Rr(Pr,tn,kn),kn},et=function(Pr){return on(Pr,tn)?Pr[tn]:{}},st=function(Pr){return on(Pr,tn)});var nr,Tr,zr,Yr,tn;Nt.exports={set:He,get:et,has:st,enforce:yt,getterFor:Vt}}),Ot=l((wr,Nt)=>{var Ue=B(),Bt=ur(),Xt=Function.prototype,tr=Ue&&Object.getOwnPropertyDescriptor,Rr=Bt(Xt,"name"),on=Rr&&function(){}.name==="something",Rt=Rr&&(!Ue||Ue&&tr(Xt,"name").configurable);Nt.exports={EXISTS:Rr,PROPER:on,CONFIGURABLE:Rt}}),Er=l((wr,Nt)=>{var Ue=f(),Bt=mr(),Xt=ur(),tr=dn(),Rr=Cr(),on=oi(),Rt=ct(),Ie=Ot().CONFIGURABLE,ce=Rt.get,de=Rt.enforce,be=String(String).split("String");(Nt.exports=function(Ee,He,et,st){var yt=st?!!st.unsafe:!1,Vt=st?!!st.enumerable:!1,nr=st?!!st.noTargetGet:!1,Tr=st&&st.name!==void 0?st.name:He,zr;if(Bt(et)&&(String(Tr).slice(0,7)==="Symbol("&&(Tr="["+String(Tr).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Xt(et,"name")||Ie&&et.name!==Tr)&&tr(et,"name",Tr),zr=de(et),zr.source||(zr.source=be.join(typeof Tr=="string"?Tr:""))),Ee===Ue){Vt?Ee[He]=et:Rr(He,et);return}else yt?!nr&&Ee[He]&&(Vt=!0):delete Ee[He];Vt?Ee[He]=et:tr(Ee,He,et)})(Function.prototype,"toString",function(){return Bt(this)&&ce(this).source||on(this)})}),sr=l((wr,Nt)=>{var Ue=Math.ceil,Bt=Math.floor;Nt.exports=function(Xt){var tr=+Xt;return tr!==tr||tr===0?0:(tr>0?Bt:Ue)(tr)}}),Jr=l((wr,Nt)=>{var Ue=sr(),Bt=Math.max,Xt=Math.min;Nt.exports=function(tr,Rr){var on=Ue(tr);return on<0?Bt(on+Rr,0):Xt(on,Rr)}}),fn=l((wr,Nt)=>{var Ue=sr(),Bt=Math.min;Nt.exports=function(Xt){return Xt>0?Bt(Ue(Xt),9007199254740991):0}}),mn=l((wr,Nt)=>{var Ue=fn();Nt.exports=function(Bt){return Ue(Bt.length)}}),Fn=l((wr,Nt)=>{var Ue=Qt(),Bt=Jr(),Xt=mn(),tr=function(Rr){return function(on,Rt,Ie){var ce=Ue(on),de=Xt(ce),be=Bt(Ie,de),Ee;if(Rr&&Rt!=Rt){for(;de>be;)if(Ee=ce[be++],Ee!=Ee)return!0}else for(;de>be;be++)if((Rr||be in ce)&&ce[be]===Rt)return Rr||be||0;return!Rr&&-1}};Nt.exports={includes:tr(!0),indexOf:tr(!1)}}),hn=l((wr,Nt)=>{var Ue=je(),Bt=ur(),Xt=Qt(),tr=Fn().indexOf,Rr=li(),on=Ue([].push);Nt.exports=function(Rt,Ie){var ce=Xt(Rt),de=0,be=[],Ee;for(Ee in ce)!Bt(Rr,Ee)&&Bt(ce,Ee)&&on(be,Ee);for(;Ie.length>de;)Bt(ce,Ee=Ie[de++])&&(~tr(be,Ee)||on(be,Ee));return be}}),lt=l((wr,Nt)=>{Nt.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),br=l(wr=>{var Nt=hn(),Ue=lt(),Bt=Ue.concat("length","prototype");wr.f=Object.getOwnPropertyNames||function(Xt){return Nt(Xt,Bt)}}),Mt=l(wr=>{wr.f=Object.getOwnPropertySymbols}),jn=l((wr,Nt)=>{var Ue=wt(),Bt=je(),Xt=br(),tr=Mt(),Rr=Kr(),on=Bt([].concat);Nt.exports=Ue("Reflect","ownKeys")||function(Rt){var Ie=Xt.f(Rr(Rt)),ce=tr.f;return ce?on(Ie,ce(Rt)):Ie}}),Di=l((wr,Nt)=>{var Ue=ur(),Bt=jn(),Xt=ts(),tr=yr();Nt.exports=function(Rr,on,Rt){for(var Ie=Bt(on),ce=tr.f,de=Xt.f,be=0;be<Ie.length;be++){var Ee=Ie[be];!Ue(Rr,Ee)&&!(Rt&&Ue(Rt,Ee))&&ce(Rr,Ee,de(on,Ee))}}}),ns=l((wr,Nt)=>{var Ue=v(),Bt=mr(),Xt=/#|\.prototype\./,tr=function(ce,de){var be=on[Rr(ce)];return be==Ie?!0:be==Rt?!1:Bt(de)?Ue(de):!!de},Rr=tr.normalize=function(ce){return String(ce).replace(Xt,".").toLowerCase()},on=tr.data={},Rt=tr.NATIVE="N",Ie=tr.POLYFILL="P";Nt.exports=tr}),is=l((wr,Nt)=>{var Ue=f(),Bt=ts().f,Xt=dn(),tr=Er(),Rr=Cr(),on=Di(),Rt=ns();Nt.exports=function(Ie,ce){var de=Ie.target,be=Ie.global,Ee=Ie.stat,He,et,st,yt,Vt,nr;if(be?et=Ue:Ee?et=Ue[de]||Rr(de,{}):et=(Ue[de]||{}).prototype,et)for(st in ce){if(Vt=ce[st],Ie.noTargetGet?(nr=Bt(et,st),yt=nr&&nr.value):yt=et[st],He=Rt(be?st:de+(Ee?".":"#")+st,Ie.forced),!He&&yt!==void 0){if(typeof Vt==typeof yt)continue;on(Vt,yt)}(Ie.sham||yt&&yt.sham)&&Xt(Vt,"sham",!0),tr(et,st,Vt,Ie)}}}),ls=l(()=>{var wr=is(),Nt=f();wr({global:!0},{globalThis:Nt})}),zi=l(()=>{ls()}),Ls=l((wr,Nt)=>{var Ue=it();Nt.exports=Array.isArray||function(Bt){return Ue(Bt)=="Array"}}),qn=l((wr,Nt)=>{var Ue=je(),Bt=ai(),Xt=Y(),tr=Ue(Ue.bind);Nt.exports=function(Rr,on){return Bt(Rr),on===void 0?Rr:Xt?tr(Rr,on):function(){return Rr.apply(on,arguments)}}}),Fr=l((wr,Nt)=>{var Ue=f(),Bt=Ls(),Xt=mn(),tr=qn(),Rr=Ue.TypeError,on=function(Rt,Ie,ce,de,be,Ee,He,et){for(var st=be,yt=0,Vt=He?tr(He,et):!1,nr,Tr;yt<de;){if(yt in ce){if(nr=Vt?Vt(ce[yt],yt,Ie):ce[yt],Ee>0&&Bt(nr))Tr=Xt(nr),st=on(Rt,Ie,nr,Tr,st,Ee-1)-1;else{if(st>=9007199254740991)throw Rr("Exceed the acceptable array length");Rt[st]=nr}st++}yt++}return st};Nt.exports=on}),Br=l((wr,Nt)=>{var Ue=Kn(),Bt=Ue("toStringTag"),Xt={};Xt[Bt]="z",Nt.exports=String(Xt)==="[object z]"}),Gt=l((wr,Nt)=>{var Ue=f(),Bt=Br(),Xt=mr(),tr=it(),Rr=Kn(),on=Rr("toStringTag"),Rt=Ue.Object,Ie=tr(function(){return arguments}())=="Arguments",ce=function(de,be){try{return de[be]}catch{}};Nt.exports=Bt?tr:function(de){var be,Ee,He;return de===void 0?"Undefined":de===null?"Null":typeof(Ee=ce(be=Rt(de),on))=="string"?Ee:Ie?tr(be):(He=tr(be))=="Object"&&Xt(be.callee)?"Arguments":He}}),Vr=l((wr,Nt)=>{var Ue=je(),Bt=v(),Xt=mr(),tr=Gt(),Rr=wt(),on=oi(),Rt=function(){},Ie=[],ce=Rr("Reflect","construct"),de=/^\s*(?:class|function)\b/,be=Ue(de.exec),Ee=!de.exec(Rt),He=function(st){if(!Xt(st))return!1;try{return ce(Rt,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 Ee||!!be(de,on(st))}catch{return!0}};et.sham=!0,Nt.exports=!ce||Bt(function(){var st;return He(He.call)||!He(Object)||!He(function(){st=!0})||st})?et:He}),lr=l((wr,Nt)=>{var Ue=f(),Bt=Ls(),Xt=Vr(),tr=Ur(),Rr=Kn(),on=Rr("species"),Rt=Ue.Array;Nt.exports=function(Ie){var ce;return Bt(Ie)&&(ce=Ie.constructor,Xt(ce)&&(ce===Rt||Bt(ce.prototype))?ce=void 0:tr(ce)&&(ce=ce[on],ce===null&&(ce=void 0))),ce===void 0?Rt:ce}}),gn=l((wr,Nt)=>{var Ue=lr();Nt.exports=function(Bt,Xt){return new(Ue(Bt))(Xt===0?0:Xt)}}),zt=l(()=>{var wr=is(),Nt=Fr(),Ue=ai(),Bt=rn(),Xt=mn(),tr=gn();wr({target:"Array",proto:!0},{flatMap:function(Rr){var on=Bt(this),Rt=Xt(on),Ie;return Ue(Rr),Ie=tr(on,0),Ie.length=Nt(Ie,on,on,Rt,0,1,Rr,arguments.length>1?arguments[1]:void 0),Ie}})}),Qn=l((wr,Nt)=>{var Ue,Bt,Xt,tr,Rr;function on(Wn,Cn){return Cn||(Cn=Wn.slice(0)),Object.freeze(Object.defineProperties(Wn,{raw:{value:Object.freeze(Cn)}}))}zi(),zt();var Rt=Object.defineProperty,Ie=Object.getOwnPropertyDescriptor,ce=Object.getOwnPropertyNames,de=Object.prototype.hasOwnProperty,be=(Wn,Cn)=>function(){return Wn&&(Cn=(0,Wn[ce(Wn)[0]])(Wn=0)),Cn},Ee=(Wn,Cn)=>function(){return Cn||(0,Wn[ce(Wn)[0]])((Cn={exports:{}}).exports,Cn),Cn.exports},He=(Wn,Cn)=>{for(var vn in Cn)Rt(Wn,vn,{get:Cn[vn],enumerable:!0})},et=(Wn,Cn,vn,nn)=>{if(Cn&&typeof Cn=="object"||typeof Cn=="function")for(let pn of ce(Cn))!de.call(Wn,pn)&&pn!==vn&&Rt(Wn,pn,{get:()=>Cn[pn],enumerable:!(nn=Ie(Cn,pn))||nn.enumerable});return Wn},st=Wn=>et(Rt({},"__esModule",{value:!0}),Wn),yt=be({"<define:process>"(){}}),Vt=Ee({"src/utils/try-combinations.js"(Wn,Cn){yt();function vn(){let nn;for(var pn=arguments.length,ri=new Array(pn),ii=0;ii<pn;ii++)ri[ii]=arguments[ii];for(let[ei,Ci]of ri.entries())try{return{result:Ci()}}catch(qi){ei===0&&(nn=qi)}return{error:nn}}Cn.exports=vn}}),nr=Ee({"src/language-js/utils/get-shebang.js"(Wn,Cn){yt();function vn(nn){if(!nn.startsWith("#!"))return"";let pn=nn.indexOf(`
|
|
`);return pn===-1?nn:nn.slice(0,pn)}Cn.exports=vn}}),Tr=Ee({"src/utils/text/skip-inline-comment.js"(Wn,Cn){yt();function vn(nn,pn){if(pn===!1)return!1;if(nn.charAt(pn)==="/"&&nn.charAt(pn+1)==="*"){for(let ri=pn+2;ri<nn.length;++ri)if(nn.charAt(ri)==="*"&&nn.charAt(ri+1)==="/")return ri+2}return pn}Cn.exports=vn}}),zr=Ee({"src/utils/text/skip-newline.js"(Wn,Cn){yt();function vn(nn,pn,ri){let ii=ri&&ri.backwards;if(pn===!1)return!1;let ei=nn.charAt(pn);if(ii){if(nn.charAt(pn-1)==="\r"&&ei===`
|
|
`)return pn-2;if(ei===`
|
|
`||ei==="\r"||ei==="\u2028"||ei==="\u2029")return pn-1}else{if(ei==="\r"&&nn.charAt(pn+1)===`
|
|
`)return pn+2;if(ei===`
|
|
`||ei==="\r"||ei==="\u2028"||ei==="\u2029")return pn+1}return pn}Cn.exports=vn}}),Yr=Ee({"src/utils/text/skip.js"(Wn,Cn){yt();function vn(ei){return(Ci,qi,Qi)=>{let Yn=Qi&&Qi.backwards;if(qi===!1)return!1;let{length:Mi}=Ci,as=qi;for(;as>=0&&as<Mi;){let ji=Ci.charAt(as);if(ei instanceof RegExp){if(!ei.test(ji))return as}else if(!ei.includes(ji))return as;Yn?as--:as++}return as===-1||as===Mi?as:!1}}var nn=vn(/\s/),pn=vn(" "),ri=vn(",; "),ii=vn(/[^\n\r]/);Cn.exports={skipWhitespace:nn,skipSpaces:pn,skipToLineEnd:ri,skipEverythingButNewLine:ii}}}),tn=Ee({"src/utils/text/skip-trailing-comment.js"(Wn,Cn){yt();var{skipEverythingButNewLine:vn}=Yr();function nn(pn,ri){return ri===!1?!1:pn.charAt(ri)==="/"&&pn.charAt(ri+1)==="/"?vn(pn,ri):ri}Cn.exports=nn}}),Pr=Ee({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(Wn,Cn){yt();var vn=Tr(),nn=zr(),pn=tn(),{skipSpaces:ri}=Yr();function ii(ei,Ci){let qi=null,Qi=Ci;for(;Qi!==qi;)qi=Qi,Qi=ri(ei,Qi),Qi=vn(ei,Qi),Qi=pn(ei,Qi),Qi=nn(ei,Qi);return Qi}Cn.exports=ii}}),kn={};He(kn,{EOL:()=>ci,arch:()=>js,cpus:()=>Li,default:()=>ss,endianness:()=>pi,freemem:()=>Xe,getNetworkInterfaces:()=>$s,hostname:()=>yn,loadavg:()=>Ji,networkInterfaces:()=>Gn,platform:()=>S,release:()=>ti,tmpDir:()=>Je,tmpdir:()=>sn,totalmem:()=>Ds,type:()=>xi,uptime:()=>vi});function pi(){if(typeof Mr>"u"){var Wn=new ArrayBuffer(2),Cn=new Uint8Array(Wn),vn=new Uint16Array(Wn);if(Cn[0]=1,Cn[1]=2,vn[0]===258)Mr="BE";else if(vn[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 Ji(){return[]}function vi(){return 0}function Xe(){return Number.MAX_VALUE}function Ds(){return Number.MAX_VALUE}function Li(){return[]}function xi(){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,sn,ci,ss,Zi=be({"node-modules-polyfills:os"(){yt(),sn=Je,ci=`
|
|
`,ss={EOL:ci,tmpdir:sn,tmpDir:Je,networkInterfaces:Gn,getNetworkInterfaces:$s,release:ti,type:xi,cpus:Li,totalmem:Ds,freemem:Xe,uptime:vi,loadavg:Ji,hostname:yn,endianness:pi}}}),ni=Ee({"node-modules-polyfills-commonjs:os"(Wn,Cn){yt();var vn=(Zi(),st(kn));if(vn&&vn.default){Cn.exports=vn.default;for(let nn in vn)Cn.exports[nn]=vn[nn]}else vn&&(Cn.exports=vn)}}),qs=Ee({"node_modules/detect-newline/index.js"(Wn,Cn){yt();var vn=nn=>{if(typeof nn!="string")throw new TypeError("Expected a string");let pn=nn.match(/(?:\r?\n)/g)||[];if(pn.length===0)return;let ri=pn.filter(ei=>ei===`\r
|
|
`).length,ii=pn.length-ri;return ri>ii?`\r
|
|
`:`
|
|
`};Cn.exports=vn,Cn.exports.graceful=nn=>typeof nn=="string"&&vn(nn)||`
|
|
`}}),Jo=Ee({"node_modules/jest-docblock/build/index.js"(Wn){yt(),Object.defineProperty(Wn,"__esModule",{value:!0}),Wn.extract=as,Wn.parse=ws,Wn.parseWithComments=da,Wn.print=Gi,Wn.strip=ji;function Cn(){let dt=ni();return Cn=function(){return dt},dt}function vn(){let dt=nn(qs());return vn=function(){return dt},dt}function nn(dt){return dt&&dt.__esModule?dt:{default:dt}}var pn=/\*\/$/,ri=/^\/\*\*/,ii=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,ei=/(^|\s+)\/\/([^\r\n]*)/g,Ci=/^(\r?\n)+/,qi=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,Qi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Yn=/(\r?\n|^) *\* ?/g,Mi=[];function as(dt){let Xs=dt.match(ii);return Xs?Xs[0].trimLeft():""}function ji(dt){let Xs=dt.match(ii);return Xs&&Xs[0]?dt.substring(Xs[0].length):dt}function ws(dt){return da(dt).pragmas}function da(dt){let Xs=(0,vn().default)(dt)||Cn().EOL;dt=dt.replace(ri,"").replace(pn,"").replace(Yn,"$1");let Oa="";for(;Oa!==dt;)Oa=dt,dt=dt.replace(qi,"".concat(Xs,"$1 $2").concat(Xs));dt=dt.replace(Ci,"").trimRight();let Is=Object.create(null),Rs=dt.replace(Qi,"").replace(Ci,"").trimRight(),ra;for(;ra=Qi.exec(dt);){let ms=ra[2].replace(ei,"");typeof Is[ra[1]]=="string"||Array.isArray(Is[ra[1]])?Is[ra[1]]=Mi.concat(Is[ra[1]],ms):Is[ra[1]]=ms}return{comments:Rs,pragmas:Is}}function Gi(dt){let{comments:Xs="",pragmas:Oa={}}=dt,Is=(0,vn().default)(Xs)||Cn().EOL,Rs="/**",ra=" *",ms=" */",Si=Object.keys(Oa),ie=Si.map(Dt=>Oi(Dt,Oa[Dt])).reduce((Dt,Tt)=>Dt.concat(Tt),[]).map(Dt=>ra+" "+Dt+Is).join("");if(!Xs){if(Si.length===0)return"";if(Si.length===1&&!Array.isArray(Oa[Si[0]])){let Dt=Oa[Si[0]];return"".concat(Rs," ").concat(Oi(Si[0],Dt)[0]).concat(ms)}}let rt=Xs.split(Is).map(Dt=>"".concat(ra," ").concat(Dt)).join(Is)+Is;return Rs+Is+(Xs?rt:"")+(Xs&&Si.length?ra+Is:"")+ie+ms}function Oi(dt,Xs){return Mi.concat(Xs).map(Oa=>"@".concat(dt," ").concat(Oa).trim())}}}),Oo=Ee({"src/common/end-of-line.js"(Wn,Cn){yt();function vn(ii){let ei=ii.indexOf("\r");return ei>=0?ii.charAt(ei+1)===`
|
|
`?"crlf":"cr":"lf"}function nn(ii){switch(ii){case"cr":return"\r";case"crlf":return`\r
|
|
`;default:return`
|
|
`}}function pn(ii,ei){let Ci;switch(ei){case`
|
|
`:Ci=/\n/g;break;case"\r":Ci=/\r/g;break;case`\r
|
|
`:Ci=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(ei),"."))}let qi=ii.match(Ci);return qi?qi.length:0}function ri(ii){return ii.replace(/\r\n?/g,`
|
|
`)}Cn.exports={guessEndOfLine:vn,convertEndOfLineToChars:nn,countEndOfLineChars:pn,normalizeEndOfLine:ri}}}),ja=Ee({"src/language-js/pragma.js"(Wn,Cn){yt();var{parseWithComments:vn,strip:nn,extract:pn,print:ri}=Jo(),{normalizeEndOfLine:ii}=Oo(),ei=nr();function Ci(Yn){let Mi=ei(Yn);Mi&&(Yn=Yn.slice(Mi.length+1));let as=pn(Yn),{pragmas:ji,comments:ws}=vn(as);return{shebang:Mi,text:Yn,pragmas:ji,comments:ws}}function qi(Yn){let Mi=Object.keys(Ci(Yn).pragmas);return Mi.includes("prettier")||Mi.includes("format")}function Qi(Yn){let{shebang:Mi,text:as,pragmas:ji,comments:ws}=Ci(Yn),da=nn(as),Gi=ri({pragmas:Object.assign({format:""},ji),comments:ws.trimStart()});return(Mi?"".concat(Mi,`
|
|
`):"")+ii(Gi)+(da.startsWith(`
|
|
`)?`
|
|
`:`
|
|
|
|
`)+da}Cn.exports={hasPragma:qi,insertPragma:Qi}}}),mu=Ee({"src/utils/is-non-empty-array.js"(Wn,Cn){yt();function vn(nn){return Array.isArray(nn)&&nn.length>0}Cn.exports=vn}}),gu=Ee({"src/language-js/loc.js"(Wn,Cn){yt();var vn=mu();function nn(Ci,qi){let{ignoreDecorators:Qi}=qi||{};if(!Qi){let Yn=Ci.declaration&&Ci.declaration.decorators||Ci.decorators;if(vn(Yn))return nn(Yn[0])}return Ci.range?Ci.range[0]:Ci.start}function pn(Ci){return Ci.range?Ci.range[1]:Ci.end}function ri(Ci,qi){let Qi=nn(Ci);return Number.isInteger(Qi)&&Qi===nn(qi)}function ii(Ci,qi){let Qi=pn(Ci);return Number.isInteger(Qi)&&Qi===pn(qi)}function ei(Ci,qi){return ri(Ci,qi)&&ii(Ci,qi)}Cn.exports={locStart:nn,locEnd:pn,hasSameLocStart:ri,hasSameLoc:ei}}}),fo=Ee({"src/language-js/parse/utils/create-parser.js"(Wn,Cn){yt();var{hasPragma:vn}=ja(),{locStart:nn,locEnd:pn}=gu();function ri(ii){return ii=typeof ii=="function"?{parse:ii}:ii,Object.assign({astFormat:"estree",hasPragma:vn,locStart:nn,locEnd:pn},ii)}Cn.exports=ri}}),mo=Ee({"src/common/parser-create-error.js"(Wn,Cn){yt();function vn(nn,pn){let ri=new SyntaxError(nn+" ("+pn.start.line+":"+pn.start.column+")");return ri.loc=pn,ri}Cn.exports=vn}}),Ko=Ee({"src/language-js/parse/utils/create-babel-parse-error.js"(Wn,Cn){yt();var vn=mo();function nn(pn){let{message:ri,loc:ii}=pn;return vn(ri.replace(/ \(.*\)/,""),{start:{line:ii?ii.line:0,column:ii?ii.column+1:0}})}Cn.exports=nn}}),yu=Ee({"src/language-js/utils/is-ts-keyword-type.js"(Wn,Cn){yt();function vn(nn){let{type:pn}=nn;return pn.startsWith("TS")&&pn.endsWith("Keyword")}Cn.exports=vn}}),Du=Ee({"src/language-js/utils/is-block-comment.js"(Wn,Cn){yt();var vn=new Set(["Block","CommentBlock","MultiLine"]),nn=pn=>vn.has(pn==null?void 0:pn.type);Cn.exports=nn}}),Qo=Ee({"src/language-js/utils/is-type-cast-comment.js"(Wn,Cn){yt();var vn=Du();function nn(pn){return vn(pn)&&pn.value[0]==="*"&&/@type\b/.test(pn.value)}Cn.exports=nn}}),Iu=Ee({"src/utils/get-last.js"(Wn,Cn){yt();var vn=nn=>nn[nn.length-1];Cn.exports=vn}}),vu=Ee({"src/language-js/parse/postprocess/visit-node.js"(Wn,Cn){yt();function vn(nn,pn){if(Array.isArray(nn)){for(let ri=0;ri<nn.length;ri++)nn[ri]=vn(nn[ri],pn);return nn}if(nn&&typeof nn=="object"&&typeof nn.type=="string"){let ri=Object.keys(nn);for(let ii=0;ii<ri.length;ii++)nn[ri[ii]]=vn(nn[ri[ii]],pn);return pn(nn)||nn}return nn}Cn.exports=vn}}),Ti=Ee({"src/language-js/parse/postprocess/throw-syntax-error.js"(Wn,Cn){yt();var vn=mo();function nn(pn,ri){let{start:ii,end:ei}=pn.loc;throw vn(ri,{start:{line:ii.line,column:ii.column+1},end:{line:ei.line,column:ei.column+1}})}Cn.exports=nn}}),Ou=Ee({"src/language-js/parse/postprocess/typescript.js"(Wn,Cn){yt();var vn=vu(),nn=Ti();function pn(ei,Ci,qi){let Qi=ei.decorators;if(!Array.isArray(Qi))return;let Yn=Ci.decorators;(!Array.isArray(Yn)||Yn.length!==Qi.length||Qi.some(Mi=>{let as=qi.get(Mi);return!as||!Yn.includes(as)}))&&nn(Ci,"Leading decorators must be attached to a class declaration")}function ri(ei,Ci){ei.kind!==167||ei.modifiers&&!ei.modifiers.some(qi=>qi.kind===126)||ei.initializer&&Ci.value===null&&nn(Ci,"Abstract property cannot have an initializer")}function ii(ei,Ci){let{esTreeNodeToTSNodeMap:qi,tsNodeToESTreeNodeMap:Qi}=Ci.tsParseResult;vn(ei,Yn=>{let Mi=qi.get(Yn);if(!Mi)return;let as=Qi.get(Mi);as===Yn&&(pn(Mi,as,Qi),ri(Mi,as))})}Cn.exports={throwErrorForInvalidNodes:ii}}}),Lu=Ee({"src/language-js/parse/postprocess/index.js"(Wn,Cn){yt();var{locStart:vn,locEnd:nn}=gu(),pn=yu(),ri=Qo(),ii=Iu(),ei=vu(),{throwErrorForInvalidNodes:Ci}=Ou(),qi=Ti();function Qi(ji,ws){if(ws.parser==="typescript"&&/@|abstract/.test(ws.originalText)&&Ci(ji,ws),ws.parser!=="typescript"&&ws.parser!=="flow"&&ws.parser!=="acorn"&&ws.parser!=="espree"&&ws.parser!=="meriyah"){let Gi=new Set;ji=ei(ji,Oi=>{Oi.leadingComments&&Oi.leadingComments.some(ri)&&Gi.add(vn(Oi))}),ji=ei(ji,Oi=>{if(Oi.type==="ParenthesizedExpression"){let{expression:dt}=Oi;if(dt.type==="TypeCastExpression")return dt.range=Oi.range,dt;let Xs=vn(Oi);if(!Gi.has(Xs))return dt.extra=Object.assign(Object.assign({},dt.extra),{},{parenthesized:!0}),dt}})}return ji=ei(ji,Gi=>{switch(Gi.type){case"ChainExpression":return Yn(Gi.expression);case"LogicalExpression":{if(Mi(Gi))return as(Gi);break}case"VariableDeclaration":{let Oi=ii(Gi.declarations);Oi&&Oi.init&&da(Gi,Oi);break}case"TSParenthesizedType":return pn(Gi.typeAnnotation)||Gi.typeAnnotation.type==="TSThisType"||(Gi.typeAnnotation.range=[vn(Gi),nn(Gi)]),Gi.typeAnnotation;case"TSTypeParameter":if(typeof Gi.name=="string"){let Oi=vn(Gi);Gi.name={type:"Identifier",name:Gi.name,range:[Oi,Oi+Gi.name.length]}}break;case"ObjectExpression":if(ws.parser==="typescript"){let Oi=Gi.properties.find(dt=>dt.type==="Property"&&dt.value.type==="TSEmptyBodyFunctionExpression");Oi&&qi(Oi.value,"Unexpected token.")}break;case"SequenceExpression":{let Oi=ii(Gi.expressions);Gi.range=[vn(Gi),Math.min(nn(Oi),nn(Gi))];break}case"TopicReference":ws.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:Oi}=Gi;if(ws.parser==="meriyah"&&Oi&&Oi.type==="Identifier"){let dt=ws.originalText.slice(vn(Oi),nn(Oi));(dt.startsWith('"')||dt.startsWith("'"))&&(Gi.exported=Object.assign(Object.assign({},Gi.exported),{},{type:"Literal",value:Gi.exported.name,raw:dt}))}break}}}),ji;function da(Gi,Oi){ws.originalText[nn(Oi)]!==";"&&(Gi.range=[vn(Gi),nn(Oi)])}}function Yn(ji){switch(ji.type){case"CallExpression":ji.type="OptionalCallExpression",ji.callee=Yn(ji.callee);break;case"MemberExpression":ji.type="OptionalMemberExpression",ji.object=Yn(ji.object);break;case"TSNonNullExpression":ji.expression=Yn(ji.expression);break}return ji}function Mi(ji){return ji.type==="LogicalExpression"&&ji.right.type==="LogicalExpression"&&ji.operator===ji.right.operator}function as(ji){return Mi(ji)?as({type:"LogicalExpression",operator:ji.operator,left:as({type:"LogicalExpression",operator:ji.operator,left:ji.left,right:ji.right.left,range:[vn(ji.left),nn(ji.right.left)]}),right:ji.right.right,range:[vn(ji),nn(ji)]}):ji}Cn.exports=Qi}}),Xa=Ee({"node_modules/@babel/parser/lib/index.js"(Wn){yt(),Object.defineProperty(Wn,"__esModule",{value:!0});function Cn(n,t){if(n==null)return{};var u={},p=Object.keys(n),D,U;for(U=0;U<p.length;U++)D=p[U],!(t.indexOf(D)>=0)&&(u[D]=n[D]);return u}var vn=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}},nn=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 vn(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,U)=>U===t?p[D]=u:p[D],this)}}},ei=(n,t,u)=>Object.keys(u).map(p=>[p,u[p]]).filter(p=>{let[,D]=p;return!!D}).map(p=>{let[D,U]=p;return[D,typeof U=="function"?{value:U,enumerable:!1}:typeof U.reflect=="string"?Object.assign({},U,ii(U.reflect.split("."))):U]}).reduce((p,D)=>{let[U,pe]=D;return Object.defineProperty(p,U,Object.assign({configurable:!0},pe))},Object.assign(new n,t)),Ci=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})}),qi={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"},Qi=n=>{let{type:t,prefix:u}=n;return t==="UpdateExpression"?qi.UpdateExpression[String(u)]:qi[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(Qi(u),".")}),InvalidLhsBinding:n(t=>{let{ancestor:u}=t;return"Binding invalid left-hand side in ".concat(Qi(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.")}),Mi=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"]),ji=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(Qi({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.')}),ws=["toMessage"];function da(n){let{toMessage:t}=n,u=Cn(n,ws);return function p(D){let{loc:U,details:pe}=D;return ei(SyntaxError,Object.assign({},u,{loc:U}),{clone(){let Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},At=Ze.loc||{};return p({loc:new vn("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 Gi(n,t){return Object.assign({toMessage:typeof n=="string"?()=>n:n},t)}function Oi(n,t){if(Array.isArray(n))return D=>Oi(D,n[0]);let u=n(Gi),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({},Oi(Ci),Oi(Yn),Oi(Mi),Oi(Ue||(Ue=on(["pipelineOperator"])))(ji)),{defineProperty:Xs}=Object,Oa=(n,t)=>Xs(n,t,{enumerable:!1,value:n[t]});function Is(n){return Oa(n.loc.start,"index"),Oa(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 U=this.estreeParseLiteral(D);return U.regex={pattern:u,flags:p},U}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 U=t.directives.map(pe=>this.directiveToStmt(pe));t.body=U.concat(t.body),delete t.directives}pushClassMethod(t,u,p,D,U,pe){this.parseMethod(u,p,D,U,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,U,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,U,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,U){let pe=super.parseObjectMethod(t,u,p,D,U);return pe&&(pe.type="Property",pe.kind==="method"&&(pe.kind="init"),pe.shorthand=!1),pe}parseObjectProperty(t,u,p,D,U){let pe=super.parseObjectProperty(t,u,p,D,U);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,U){let pe=super.parseSubscript(t,u,p,D,U);if(U.optionalChainMember){if((pe.type==="OptionalMemberExpression"||pe.type==="OptionalCallExpression")&&(pe.type=pe.type.substring(8)),U.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)}},ra=class{constructor(n,t){this.token=void 0,this.preserveSpace=void 0,this.token=n,this.preserveSpace=!!t}},ms={brace:new ra("{"),j_oTag:new ra("<tag"),j_cTag:new ra("</tag"),j_expr:new ra("<tag>...</tag>",!0)};ms.template=new ra("`",!0);var Si=!0,ie=!0,rt=!0,Dt=!0,Tt=!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}},vt=new Map;function Lt(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.keyword=n;let u=Or(n,t);return vt.set(n,u),u}function Jt(n,t){return Or(n,{beforeExpr:Si,binop:t})}var Nn=-1,at=[],_t=[],ir=[],$r=[],Nr=[],qr=[];function Or(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var u,p,D,U;return++Nn,_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((U=t.prefix)!=null?U:!1),at.push(new ut(n,t)),Nn}function Bn(n){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var u,p,D,U;return++Nn,vt.set(n,Nn),_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((U=t.prefix)!=null?U:!1),at.push(new ut("name",t)),Nn}var _n={bracketL:Or("[",{beforeExpr:Si,startsExpr:ie}),bracketHashL:Or("#[",{beforeExpr:Si,startsExpr:ie}),bracketBarL:Or("[|",{beforeExpr:Si,startsExpr:ie}),bracketR:Or("]"),bracketBarR:Or("|]"),braceL:Or("{",{beforeExpr:Si,startsExpr:ie}),braceBarL:Or("{|",{beforeExpr:Si,startsExpr:ie}),braceHashL:Or("#{",{beforeExpr:Si,startsExpr:ie}),braceR:Or("}"),braceBarR:Or("|}"),parenL:Or("(",{beforeExpr:Si,startsExpr:ie}),parenR:Or(")"),comma:Or(",",{beforeExpr:Si}),semi:Or(";",{beforeExpr:Si}),colon:Or(":",{beforeExpr:Si}),doubleColon:Or("::",{beforeExpr:Si}),dot:Or("."),question:Or("?",{beforeExpr:Si}),questionDot:Or("?."),arrow:Or("=>",{beforeExpr:Si}),template:Or("template"),ellipsis:Or("...",{beforeExpr:Si}),backQuote:Or("`",{startsExpr:ie}),dollarBraceL:Or("${",{beforeExpr:Si,startsExpr:ie}),templateTail:Or("...`",{startsExpr:ie}),templateNonTail:Or("...${",{beforeExpr:Si,startsExpr:ie}),at:Or("@"),hash:Or("#",{startsExpr:ie}),interpreterDirective:Or("#!..."),eq:Or("=",{beforeExpr:Si,isAssign:Dt}),assign:Or("_=",{beforeExpr:Si,isAssign:Dt}),slashAssign:Or("_=",{beforeExpr:Si,isAssign:Dt}),xorAssign:Or("_=",{beforeExpr:Si,isAssign:Dt}),moduloAssign:Or("_=",{beforeExpr:Si,isAssign:Dt}),incDec:Or("++/--",{prefix:Tt,postfix:Kt,startsExpr:ie}),bang:Or("!",{beforeExpr:Si,prefix:Tt,startsExpr:ie}),tilde:Or("~",{beforeExpr:Si,prefix:Tt,startsExpr:ie}),doubleCaret:Or("^^",{startsExpr:ie}),doubleAt:Or("@@",{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:Or("+/-",{beforeExpr:Si,binop:9,prefix:Tt,startsExpr:ie}),modulo:Or("%",{binop:10,startsExpr:ie}),star:Or("*",{binop:10}),slash:Jt("/",10),exponent:Or("**",{beforeExpr:Si,binop:11,rightAssociative:!0}),_in:Lt("in",{beforeExpr:Si,binop:7}),_instanceof:Lt("instanceof",{beforeExpr:Si,binop:7}),_break:Lt("break"),_case:Lt("case",{beforeExpr:Si}),_catch:Lt("catch"),_continue:Lt("continue"),_debugger:Lt("debugger"),_default:Lt("default",{beforeExpr:Si}),_else:Lt("else",{beforeExpr:Si}),_finally:Lt("finally"),_function:Lt("function",{startsExpr:ie}),_if:Lt("if"),_return:Lt("return",{beforeExpr:Si}),_switch:Lt("switch"),_throw:Lt("throw",{beforeExpr:Si,prefix:Tt,startsExpr:ie}),_try:Lt("try"),_var:Lt("var"),_const:Lt("const"),_with:Lt("with"),_new:Lt("new",{beforeExpr:Si,startsExpr:ie}),_this:Lt("this",{startsExpr:ie}),_super:Lt("super",{startsExpr:ie}),_class:Lt("class",{startsExpr:ie}),_extends:Lt("extends",{beforeExpr:Si}),_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:Si,prefix:Tt,startsExpr:ie}),_void:Lt("void",{beforeExpr:Si,prefix:Tt,startsExpr:ie}),_delete:Lt("delete",{beforeExpr:Si,prefix:Tt,startsExpr:ie}),_do:Lt("do",{isLoop:rt,beforeExpr:Si}),_for:Lt("for",{isLoop:rt}),_while:Lt("while",{isLoop:rt}),_as:Bn("as",{startsExpr:ie}),_assert:Bn("assert",{startsExpr:ie}),_async:Bn("async",{startsExpr:ie}),_await:Bn("await",{startsExpr:ie}),_from:Bn("from",{startsExpr:ie}),_get:Bn("get",{startsExpr:ie}),_let:Bn("let",{startsExpr:ie}),_meta:Bn("meta",{startsExpr:ie}),_of:Bn("of",{startsExpr:ie}),_sent:Bn("sent",{startsExpr:ie}),_set:Bn("set",{startsExpr:ie}),_static:Bn("static",{startsExpr:ie}),_yield:Bn("yield",{startsExpr:ie}),_asserts:Bn("asserts",{startsExpr:ie}),_checks:Bn("checks",{startsExpr:ie}),_exports:Bn("exports",{startsExpr:ie}),_global:Bn("global",{startsExpr:ie}),_implements:Bn("implements",{startsExpr:ie}),_intrinsic:Bn("intrinsic",{startsExpr:ie}),_infer:Bn("infer",{startsExpr:ie}),_is:Bn("is",{startsExpr:ie}),_mixins:Bn("mixins",{startsExpr:ie}),_proto:Bn("proto",{startsExpr:ie}),_require:Bn("require",{startsExpr:ie}),_keyof:Bn("keyof",{startsExpr:ie}),_readonly:Bn("readonly",{startsExpr:ie}),_unique:Bn("unique",{startsExpr:ie}),_abstract:Bn("abstract",{startsExpr:ie}),_declare:Bn("declare",{startsExpr:ie}),_enum:Bn("enum",{startsExpr:ie}),_module:Bn("module",{startsExpr:ie}),_namespace:Bn("namespace",{startsExpr:ie}),_interface:Bn("interface",{startsExpr:ie}),_type:Bn("type",{startsExpr:ie}),_opaque:Bn("opaque",{startsExpr:ie}),name:Or("name",{startsExpr:ie}),string:Or("string",{startsExpr:ie}),num:Or("num",{startsExpr:ie}),bigint:Or("bigint",{startsExpr:ie}),decimal:Or("decimal",{startsExpr:ie}),regexp:Or("regexp",{startsExpr:ie}),privateName:Or("#name",{startsExpr:ie}),eof:Or("eof"),jsxName:Or("jsxName"),jsxText:Or("jsxText",{beforeExpr:!0}),jsxTagStart:Or("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Or("jsxTagEnd"),placeholder:Or("%%",{startsExpr:!0})};function On(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 Ei(n){return $r[n]}function Fi(n){return Nr[n]}function os(n){return n>=29&&n<=33}function vs(n){return n>=125&&n<=127}function Ke(n){return n>=90&&n<=92}function mt(n){return n>=58&&n<=92}function Hr(n){return n>=39&&n<=59}function hr(n){return n===34}function En(n){return qr[n]}function $i(n){return n>=117&&n<=119}function xs(n){return n>=120&&n<=126}function Us(n){return _t[n]}function zs(n){return ir[n]}function ha(n){return ir[n]!==-1}function gs(n){return n===57}function Ts(n){return n>=24&&n<=25}function Ss(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",bn="\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+"]"),hi=new RegExp("["+Da+bn+"]");Da=bn=null;var fi=[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],Bi=[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 Ps(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 Fs(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)):Ps(n,fi)}function Qs(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&&hi.test(String.fromCharCode(n)):Ps(n,fi)||Ps(n,Bi)}var la={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"]},Ka=new Set(la.keyword),Qa=new Set(la.strict),Ua=new Set(la.strictBind);function tu(n,t){return t&&n==="await"||n==="enum"}function ru(n,t){return tu(n,t)||Qa.has(n)}function Ca(n){return Ua.has(n)}function ma(n,t){return ru(n,t)||Ca(n)}function ga(n){return Ka.has(n)}function Ea(n,t,u){return n===64&&t===64&&Fs(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 Eo=0,Au=1,no=2,yo=4,Uu=8,jo=16,nu=32,bo=64,iu=128,su=256,Ro=Au|no|su,La=1,Ha=2,Ao=4,Ya=8,Do=16,ul=64,wu=128,Cl=256,zu=512,au=1024,io=2048,wo=La|Ha|Ya|wu,so=La|0|Ya|0,ao=La|0|Ao|0,Tu=La|0|Do|0,Su=0|Ha|0|wu,ll=0|Ha|0|0,oo=La|Ha|Ya|Cl,ou=0|au,ba=0|ul,uu=La|0|0|ul,uo=oo|zu,cl=0|au,Hu=io,Uo=4,El=2,To=1,ca=El|To,qu=El|Uo,bl=To|Uo,zl=El,nc=To,Fu=0,$u=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 $u{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:U}=n;for(;p>=0;p--){let pe=t[p],Ze=pe.end;if(Ze>U)pe.containingNode=n,this.finalizeComment(pe),t.splice(p,1);else{Ze===U&&(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 U=D-1;for(;U>=0;U--){let pe=p[U],Ze=pe.end;if(pe.start===u)pe.leadingNode=n;else if(Ze===t)pe.trailingNode=n;else if(Ze<t)break}}},Wu=/\r\n?|[\n\u2028\u2029]/,lo=new RegExp(Wu.source,"g");function Ho(n){switch(n){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var pl=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Al=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,hl=new RegExp("(?=("+Al.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function Hl(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 Vu=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 vn(p,D,0)}curPosition(){return new vn(this.curLine,this.pos-this.lineStart,this.pos)}clone(n){let t=new Vu,u=Object.keys(this);for(let p=0,D=u.length;p<D;p++){let U=u[p],pe=this[U];!n&&Array.isArray(pe)&&(pe=pe.slice()),t[U]=pe}return t}},ql=["at"],fl=["at"],Gu=function(n){return n>=48&&n<=57},$l=new Set([103,109,115,105,121,117,100,118]),wl={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},ku={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 nn(n.startLoc,n.endLoc)}},vo=class extends zo{constructor(n,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new Vu,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 pl.lastIndex=n,pl.test(this.input)?pl.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 nn(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(;!Ho(p)&&++this.state.pos<this.length;)p=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let D=this.state.pos,U=this.input.slice(t+n,D),pe={type:"CommentLine",value:U,start:t,end:D,loc:new nn(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(Hl(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 Fs(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;!Ho(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(Fs(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(Ho(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 U=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($l.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(Qs(At)||At===92)this.raise(dt.MalformedRegExpFlags,{at:Ze()});else break;++D,pe+=ar}this.state.pos=D,this.finishToken(133,{pattern:U,flags:pe})}readInt(n,t,u){let p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,D=this.state.pos,U=n===16?wl.hex:wl.decBinOct,pe=n===16?ku.hex:n===10?ku.dec:n===8?ku.oct:ku.bin,Ze=!1,At=0;for(let ar=0,m=t==null?1/0:t;ar<m;++ar){let b=this.input.charCodeAt(this.state.pos),g;if(b===95&&p!=="bail"){let A=this.input.charCodeAt(this.state.pos-1),E=this.input.charCodeAt(this.state.pos+1);p?(Number.isNaN(E)||!pe(E)||U.has(A)||U.has(E))&&this.raise(dt.UnexpectedNumericSeparator,{at:this.state.curPosition()}):this.raise(dt.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos;continue}if(b>=97?g=b-97+10:b>=65?g=b-65+10:Gu(b)?g=b-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(Fs(this.codePointAtPos(this.state.pos)))throw this.raise(dt.NumberIdentifier,{at:this.state.curPosition()});if(u){let U=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,U);return}this.finishToken(130,p)}readNumber(n){let t=this.state.pos,u=this.state.curPosition(),p=!1,D=!1,U=!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,U=!0),Fs(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(U){this.finishToken(132,m);return}let b=Ze?parseInt(m,8):parseFloat(m);this.finishToken(130,b)}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(Ho(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(Ho(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+=`
|
|
`;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`
|
|
`;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],U=parseInt(D,8);U>255&&(D=D.slice(0,-1),U=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(U)}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(Qs(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 U=this.state.curPosition(),pe=this.state.pos===u?Fs:Qs;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:U}),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=vt.get(t);u!==void 0?this.finishToken(u,Us(u)):this.finishToken(128,t)}checkKeywordEscapes(){let{type:n}=this.state;mt(n)&&this.state.containsEsc&&this.raise(dt.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:Us(n)})}raise(n,t){let{at:u}=t,p=Cn(t,ql),D=u instanceof vn?u:u.loc.start,U=n({loc:D,details:p});if(!this.options.errorRecovery)throw U;return this.isLookahead||this.state.errors.push(U),U}raiseOverwrite(n,t){let{at:u}=t,p=Cn(t,fl),D=u instanceof vn?u:u.loc.start,U=D.index,pe=this.state.errors;for(let Ze=pe.length-1;Ze>=0;Ze--){let At=pe[Ze];if(At.loc.index===U)return pe[Ze]=n({loc:D,details:p});if(At.loc.index<U)break}return this.raise(n,t)}updateContext(n){}unexpected(n,t){throw this.raise(dt.UnexpectedToken,{expected:t?Us(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})}},Tl=class{constructor(n){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=n}},Pu=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()&jo)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&nu)>0}get inClass(){return(this.currentThisScopeFlags()&bo)>0}get inClassAndNotInNonArrowFunction(){let n=this.currentThisScopeFlags();return(n&bo)>0&&(n&no)===0}get inStaticBlock(){for(let n=this.scopeStack.length-1;;n--){let{flags:t}=this.scopeStack[n];if(t&iu)return!0;if(t&(Ro|bo))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&no)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(n){return new Tl(n)}enter(n){this.scopeStack.push(this.createScope(n))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(n){return!!(n.flags&(no|iu)||!this.parser.inModule&&n.flags&Au)}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&Ro));--D);this.parser.inModule&&p.flags&Au&&this.undefinedExports.delete(n)}maybeExportDefined(n,t){this.parser.inModule&&n.flags&Au&&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&La?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&Uu&&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&Ro)return t}}currentThisScopeFlags(){for(let n=this.scopeStack.length-1;;n--){let{flags:t}=this.scopeStack[n];if(t&(Ro|bo)&&!(t&yo))return t}}},co=class extends Tl{constructor(){super(...arguments),this.declareFunctions=new Set}},dl=class extends Pu{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)}},Wl=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Sl=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 Wl)}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:U}=this.current(),pe=p.has(n);if(t&ca){let Ze=pe&&D.get(n);if(Ze){let At=Ze&Uo,ar=t&Uo,m=Ze&ca,b=t&ca;pe=m===b||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),U.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})}},qa=0,ks=1,$a=2,Fo=3,Wa=class{constructor(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qa;this.type=void 0,this.type=n}canBeArrowParameterDeclaration(){return this.type===$a||this.type===ks}isCertainlyParameterDeclaration(){return this.type===Fo}},Xu=class extends Wa{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)}},qo=class{constructor(n){this.parser=void 0,this.stack=[new Wa],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,U=D.length-1,pe=D[U];for(;!pe.isCertainlyParameterDeclaration();){if(pe.canBeArrowParameterDeclaration())pe.recordDeclarationError(n,p);else return;pe=D[--U]}this.parser.raise(n,p)}recordArrowParemeterBindingError(n,t){let{at:u}=t,{stack:p}=this,D=p[p.length-1],U={at:u.loc.start};if(D.isCertainlyParameterDeclaration())this.parser.raise(n,U);else if(D.canBeArrowParameterDeclaration())D.recordDeclarationError(n,U);else return}recordAsyncArrowParametersError(n){let{at:t}=n,{stack:u}=this,p=u.length-1,D=u[p];for(;D.canBeArrowParameterDeclaration();)D.type===$a&&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 U=n.length-2,pe=n[U];for(;pe.canBeArrowParameterDeclaration();)pe.clearDeclarationError(D.index),pe=n[--U]})}};function Fl(){return new Wa(Fo)}function Vl(){return new Xu(ks)}function ko(){return new Xu($a)}function Za(){return new Wa}var lu=0,ml=1,po=2,gl=4,$o=8,ic=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()&ml)>0}get hasReturn(){return(this.currentFlags()&gl)>0}get hasIn(){return(this.currentFlags()&$o)>0}};function Po(n,t){return(n?po:0)|(t?ml:0)}var Ju=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!(Qs(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 Wu.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return hl.lastIndex=this.state.end,hl.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:U}=n,pe=!!u||!!p||!!U||!!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}),U!=null&&this.unexpected(U)}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,U=this.getScopeHandler();this.scope=new U(this,n);let pe=this.prodParam;this.prodParam=new ic;let Ze=this.classScope;this.classScope=new Sl(this);let At=this.expressionScope;return this.expressionScope=new qo(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=lu;this.inModule&&(n|=po),this.scope.enter(Au),this.prodParam.enter(n)}checkDestructuringPrivate(n){let{privateKeyLoc:t}=n;t!==null&&this.expectPlugin("destructuringPrivate",t)}},cu=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 nn(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 K(n)}function K(n){let{type:t,start:u,end:p,loc:D,range:U,extra:pe,name:Ze}=n,At=Object.create(ae);return At.type=t,At.start=u,At.end=p,At.loc=D,At.range=U,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:U,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=U,n.raw!==void 0?Ze.raw=n.raw:Ze.extra=pe,Ze.value=n.value,Ze}var Ae=class extends Ju{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"]),De=Oi(Bt||(Bt=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 ve(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 C={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 dl}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(De.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 U=this.flowParseFunctionTypeParams();return p.params=U.params,p.rest=U.rest,p.this=U._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,Hu,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(De.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(Eo),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(De.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(pe)):(this.expectContextual(121,De.UnsupportedStatementInDeclareModule),pe=this.flowParseDeclare(pe,!0)),p.push(pe)}this.scope.exit(),this.expect(8),this.finishNode(u,"BlockStatement");let D=null,U=!1;return p.forEach(pe=>{ve(pe)?(D==="CommonJS"&&this.raise(De.AmbiguousDeclareModuleKind,{at:pe}),D="ES"):pe.type==="DeclareModuleExports"&&(U&&this.raise(De.DuplicateDeclareModuleExports,{at:pe}),D==="ES"&&this.raise(De.AmbiguousDeclareModuleKind,{at:pe}),D="CommonJS",U=!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(De.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:p,suggestion:C[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?Tu: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(De.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(t,u,p){!Te.has(t)||this.raise(p?De.AssignReservedType:De.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(),U=this.flowParseTypeAnnotatableIdentifier();return p.name=U.name,p.variance=D,p.bound=U.typeAnnotation,this.match(29)?(this.eat(29),p.default=this.flowParseType()):t&&this.raise(De.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:U,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,b=!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,E=null,y=null,x=this.startNode();if(U&&this.isContextual(115)){let k=this.lookahead();k.type!==14&&k.type!==17&&(this.next(),E=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))E!=null&&this.unexpected(E),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))E!=null&&this.unexpected(E),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,E,w,k,D,pe!=null?pe:!m);_===null?(b=!0,y=this.state.lastTokStartLoc):At.properties.push(_)}this.flowObjectTypeSemicolon(),y&&!this.match(8)&&!this.match(9)&&this.raise(De.UnexpectedExplicitInexactInObject,{at:y})}this.expect(ar),D&&(At.inexact=b);let g=this.finishNode(At,"ObjectTypeAnnotation");return this.state.inType=Ze,g}flowParseObjectTypeProperty(t,u,p,D,U,pe,Ze){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(pe?Ze||this.raise(De.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(De.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),D&&this.raise(De.InexactVariance,{at:D}),null):(pe||this.raise(De.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),p!=null&&this.unexpected(p),D&&this.raise(De.SpreadVariance,{at:D}),t.argument=this.flowParseType(),this.finishNode(t,"ObjectTypeSpreadProperty"));{t.key=this.flowParseObjectPropertyKey(),t.static=u,t.proto=p!=null,t.kind=U;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)),(U==="get"||U==="set")&&this.flowCheckGetterSetterParams(t),!pe&&t.key.name==="constructor"&&t.value.this&&this.raise(De.ThisParamBannedInConstructor,{at:t.value.this})):(U!=="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"?De.GetterMayNotHaveThisParam:De.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 U=this.startNodeAt(t,u);U.qualification=D,U.id=this.flowParseRestrictedIdentifier(!0),D=this.finishNode(U,"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,U=this.startNode(),pe=this.lookahead(),Ze=this.state.type===78;return pe.type===14||pe.type===17?(Ze&&!t&&this.raise(De.ThisParamMustBeFirst,{at:U}),u=this.parseIdentifier(Ze),this.eat(17)&&(p=!0,Ze&&this.raise(De.ThisParamMayNotBeOptional,{at:U})),D=this.flowParseTypeInitialiser()):D=this.flowParseType(),U.name=u,U.optional=p,U.typeAnnotation=D,this.finishNode(U,"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,U,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,U=this.flowParseTupleType(),this.state.noAnonFunctionType=Ze,U;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(On(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,U=this.flowParseType(),this.state.noAnonFunctionType=Ze,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),U;this.eat(12)}return U?D=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(U)]):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(De.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(mt(this.state.type)){let At=Us(this.state.type);return this.next(),super.createIdentifier(p,At)}else if(On(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 U=this.startNodeAt(t,u),pe=this.eat(18);D=D||pe,this.expect(0),!pe&&this.match(3)?(U.elementType=p,this.next(),p=this.finishNode(U,"ArrayTypeAnnotation")):(U.objectType=p,U.indexType=this.flowParseType(),this.expect(3),D?(U.optional=pe,p=this.finishNode(U,"OptionalIndexedAccessType")):p=this.finishNode(U,"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 U=this.startNode();return this.next(),this.flowParseInterface(U)}}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)||On(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(t)}else if(On(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 vs(t)||this.shouldParseEnums()&&t===122?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:t}=this.state;return vs(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 U=this.state.clone(),pe=this.state.noArrowAt,Ze=this.startNodeAt(u,p),{consequent:At,failed:ar}=this.tryParseConditionalConsequent(),[m,b]=this.getArrowLikeExpressions(At);if(ar||b.length>0){let g=[...pe];if(b.length>0){this.state=U,this.state.noArrowAt=g;for(let A=0;A<b.length;A++)g.push(b[A].start);({consequent:At,failed:ar}=this.tryParseConditionalConsequent()),[m,b]=this.getArrowLikeExpressions(At)}ar&&m.length>1&&this.raise(De.AmbiguousConditionalArrow,{at:U.startLoc}),ar&&m.length===1&&(this.state=U,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 U=p.pop();U.type==="ArrowFunctionExpression"?(U.typeParameters||!U.returnType?this.finishArrowValidation(U):D.push(U),p.push(U.body)):U.type==="ConditionalExpression"&&(p.push(U.consequent),p.push(U.alternate))}return u?(D.forEach(U=>this.finishArrowValidation(U)),[D,[]]):re(D,U=>U.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(De.DeclareClassElement,{at:D}):u.value&&this.raise(De.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):Ea(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 U=t[D];(U==null?void 0:U.type)==="TypeCastExpression"&&(t[D]=this.typeCastToParameter(U))}super.toAssignableList(t,u,p)}toReferencedList(t,u){for(let D=0;D<t.length;D++){var p;let U=t[D];U&&U.type==="TypeCastExpression"&&!((p=U.extra)!=null&&p.parenthesized)&&(t.length>1||!u)&&this.raise(De.TypeCastInPattern,{at:U.typeAnnotation})}return t}parseArrayLike(t,u,p,D){let U=super.parseArrayLike(t,u,p,D);return u&&!this.state.maybeInArrowParameters&&this.toReferencedList(U.elements),U}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,U,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,U,pe),u.params&&U){let Ze=u.params;Ze.length>0&&this.isThisParam(Ze[0])&&this.raise(De.ThisParamBannedInConstructor,{at:u})}else if(u.type==="MethodDefinition"&&U&&u.value.params){let Ze=u.value.params;Ze.length>0&&this.isThisParam(Ze[0])&&this.raise(De.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(De.GetterMayNotHaveThisParam,{at:p}):this.isThisParam(p)&&this.raise(De.SetterMayNotHaveThisParam,{at:p})}}parsePropertyNamePrefixOperator(t){t.variance=this.flowParseVariance()}parseObjPropValue(t,u,p,D,U,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,U,pe,Ze,At),ar&&((t.value||t).typeParameters=ar)}parseAssignableListItemTypes(t){return this.eat(17)&&(t.type!=="Identifier"&&this.raise(De.PatternIsOptional,{at:t}),this.isThisParam(t)&&this.raise(De.ThisParamMayNotBeOptional,{at:t}),t.optional=!0),this.match(14)?t.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(t)&&this.raise(De.ThisParamAnnotationRequired,{at:t}),this.match(29)&&this.isThisParam(t)&&this.raise(De.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(De.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 U=t.imported,pe=null;U.type==="Identifier"&&(U.name==="type"?pe="type":U.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=K(ar)):(t.imported=U,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:U.value});t.imported=U,t.importKind=null}this.eatContextual(93)?t.local=this.parseIdentifier():(Ze=!0,t.local=K(t.imported))}let At=Se(t);return p&&At&&this.raise(De.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,U;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(D=this.state.clone(),U=this.tryParse(()=>super.parseMaybeAssign(t,u),D),!U.error)return U.node;let{context:At}=this.state,ar=At[At.length-1];(ar===ms.j_oTag||ar===ms.j_expr)&&At.pop()}if((p=U)!=null&&p.error||this.match(47)){var pe,Ze;D=D||this.state.clone();let At,ar=this.tryParse(b=>{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&&b();let E=this.maybeUnwrapTypeCastExpression(A);return E.type!=="ArrowFunctionExpression"&&b(),E.typeParameters=At,this.resetStartLocationFromNode(E,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(De.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:At}),ar.node;m=ar.node}if((pe=U)!=null&&pe.node)return this.state=U.failState,U.node;if(m)return this.state=ar.failState,m;throw(Ze=U)!=null&&Ze.thrown?U.error:ar.thrown?ar.error:this.raise(De.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(De.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 U=this.startNodeAt(u,p);U.callee=t,U.arguments=this.parseCallExpressionArguments(11,!1),t=this.finishNode(U,"CallExpression")}else if(t.type==="Identifier"&&t.name==="async"&&this.match(47)){let U=this.state.clone(),pe=this.tryParse(At=>this.parseAsyncArrowWithTypeParameters(u,p)||At(),U);if(!pe.error&&!pe.aborted)return pe.node;let Ze=this.tryParse(()=>super.parseSubscripts(t,u,p,D),U);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,U){if(this.match(18)&&this.isLookaheadToken_lt()){if(U.optionalChainMember=!0,D)return U.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),U.optionalChainMember&&(pe.optional=!1),this.finishCallExpression(pe,U.optionalChainMember)));if(Ze.node)return Ze.error&&(this.state=Ze.failState),Ze.node}return super.parseSubscript(t,u,p,D,U)}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(De.UnterminatedFlowComment,{at:this.state.curPosition()}),p}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(De.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(De.EnumBooleanMemberNotInitialized,{at:t,memberName:D,enumName:p})}flowEnumErrorInvalidMemberInitializer(t,u){return this.raise(u.explicitType?u.explicitType==="symbol"?De.EnumInvalidMemberInitializerSymbolType:De.EnumInvalidMemberInitializerPrimaryType:De.EnumInvalidMemberInitializerUnknownType,Object.assign({at:t},u))}flowEnumErrorNumberMemberNotInitialized(t,u){let{enumName:p,memberName:D}=u;this.raise(De.EnumNumberMemberNotInitialized,{at:t,enumName:p,memberName:D})}flowEnumErrorStringMemberInconsistentlyInitailized(t,u){let{enumName:p}=u;this.raise(De.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,U={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(De.EnumInvalidMemberName,{at:At,memberName:m,suggestion:m[0].toUpperCase()+m.slice(1),enumName:u}),D.has(m)&&this.raise(De.EnumDuplicateMemberName,{at:At,memberName:m,enumName:u}),D.add(m);let b={enumName:u,explicitType:p,memberName:m};switch(Ze.id=At,ar.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(ar.loc,b,"boolean"),Ze.init=ar.value,U.booleanMembers.push(this.finishNode(Ze,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(ar.loc,b,"number"),Ze.init=ar.value,U.numberMembers.push(this.finishNode(Ze,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(ar.loc,b,"string"),Ze.init=ar.value,U.stringMembers.push(this.finishNode(Ze,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(ar.loc,b);case"none":switch(p){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(ar.loc,b);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(ar.loc,b);break;default:U.defaultedMembers.push(this.finishNode(Ze,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:U,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 U of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(U,{enumName:D});return u}else{for(let U of u)this.flowEnumErrorStringMemberInconsistentlyInitailized(U,{enumName:D});return t}}flowEnumParseExplicitType(t){let{enumName:u}=t;if(!this.eatContextual(101))return null;if(!On(this.state.type))throw this.raise(De.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(De.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:u,invalidEnumType:p}),p}flowEnumBody(t,u){let p=u.name,D=u.loc.start,U=this.flowEnumParseExplicitType({enumName:p});this.expect(5);let{members:pe,hasUnknownMembers:Ze}=this.flowEnumMembers({enumName:p,explicitType:U});switch(t.hasUnknownMembers=Ze,U){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,b=pe.stringMembers.length,g=pe.defaultedMembers.length;if(!ar&&!m&&!b&&!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&&!b&&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&&!b&&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(De.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"},Qe=Oi(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 ze(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 bt=n=>class extends n{jsxReadToken(){let t="",u=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Qe.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:Ho(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?`
|
|
`:`\r
|
|
`):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):Ho(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),U=ke[D];if(++this.state.pos,U)return U}}return this.state.pos=t,"&"}jsxReadWord(){let t,u=this.state.pos;do t=this.input.charCodeAt(++this.state.pos);while(Qs(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:mt(this.state.type)?t.name=Us(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(Qe.AttributeIsEmpty,{at:t}),t;case 138:case 129:return this.parseExprAtom();default:throw this.raise(Qe.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=[],U=this.jsxParseOpeningElementAt(t,u),pe=null;if(!U.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()}ze(U)&&!ze(pe)&&pe!==null?this.raise(Qe.MissingClosingTagFragment,{at:pe}):!ze(U)&&ze(pe)?this.raise(Qe.MissingClosingTagElement,{at:pe,openingTagName:_e(U.name)}):!ze(U)&&!ze(pe)&&_e(pe.name)!==_e(U.name)&&this.raise(Qe.MissingClosingTagElement,{at:pe,openingTagName:_e(U.name)})}if(ze(U)?(p.openingFragment=U,p.closingFragment=pe):(p.openingElement=U,p.closingElement=pe),p.children=D,this.match(47))throw this.raise(Qe.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return ze(U)?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(Fs(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=Ei(p)}},kt=class extends Tl{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},qt=class extends Pu{createScope(n){return new kt(n)}declareName(n,t,u){let p=this.currentScope();if(t&au){this.maybeExportDefined(p,n),p.exportOnlyBindings.add(n);return}super.declareName(...arguments),t&Ha&&(t&La||(this.checkRedeclarationInScope(p,n,t,u),this.maybeExportDefined(p,n)),p.types.add(n)),t&Cl&&p.enums.add(n),t&zu&&p.constEnums.add(n),t&wu&&p.classes.add(n)}isRedeclaredInScope(n,t,u){if(n.enums.has(t)){if(u&Cl){let p=!!(u&zu),D=n.constEnums.has(t);return p!==D}return!0}return u&wu&&n.classes.has(t)?n.lexical.has(t)?!!(u&La):!1:u&Ha&&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 Ln(n){if(n==null)throw new Error("Unexpected ".concat(n," value."));return n}function zn(n){if(!n)throw new Error("Assert fail")}function bi(n){return Fi(n)||ha(n)}var en=Oi(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 _i(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 mi(n){return n==="private"||n==="public"||n==="protected"}function Ai(n){return n==="in"||n==="out"}var Dn=n=>class extends n{getScopeHandler(){return qt}tsIsIdentifier(){return On(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(!On(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:U,errorTemplate:pe=en.InvalidModifierOnTypeMember}=t,Ze=(ar,m,b,g)=>{m===b&&u[g]&&this.raise(en.InvalidModifiersOrder,{at:ar,orderedModifiers:[b,g]})},At=(ar,m,b,g)=>{(u[b]&&m===g||u[g]&&m===b)&&this.raise(en.IncompatibleModifiers,{at:ar,modifiers:[b,g]})};for(;;){let{startLoc:ar}=this.state,m=this.tsParseModifier(p.concat(D!=null?D:[]),U);if(!m)break;mi(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):Ai(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 Ln(this.tsParseDelimitedListWorker(t,u,!0,p))}tsParseDelimitedListWorker(t,u,p,D){let U=[],pe=-1;for(;!this.tsIsListTerminator(t);){pe=-1;let Ze=u();if(Ze==null)return;if(U.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),U}tsParseBracketedList(t,u,p,D,U){D||(p?this.expect(0):this.expect(47));let pe=this.tsParseDelimitedList(t,u,U);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",U="typeAnnotation";u.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),u[D]=this.tsParseBindingListForSignature(),p?u[U]=this.tsParseTypeOrTypePredicateAnnotation(t):this.match(t)&&(u[U]=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(),On(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 U="parameters",pe="typeAnnotation";if(D.kind==="get")D[U].length>0&&(this.raise(dt.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(D[U][0])&&this.raise(en.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(D.kind==="set"){if(D[U].length!==1)this.raise(dt.BadSetterArity,{at:this.state.curPosition()});else{let Ze=D[U][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 U=this.tsTryParseTypeAnnotation();return U&&(D.typeAnnotation=U),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 U;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=(U=p)!=null?U: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(),U=this.eat(17);if(this.eat(14)){let pe=this.startNodeAtNode(D);pe.optional=U,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(U){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(On(t)||t===88||t===84){let u=t===88?"TSVoidKeyword":t===84?"TSNullKeyword":_i(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 $i(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(),U=this.eat(p),pe=[];do pe.push(u());while(this.eat(p));return pe.length===1&&!U?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(On(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 U=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!U)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=U,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(),!On(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(){zn(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),On(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,Su)):(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,ll),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(Eo),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,cl),this.eat(16)){let p=this.startNode();this.tsParseModuleOrNamespaceDeclaration(p,!0),t.body=p}else this.scope.enter(su),this.prodParam.enter(lu),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(su),this.prodParam.enter(lu),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(On(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(su),this.prodParam.enter(lu);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)||On(this.state.type)))return this.tsParseAbstractDeclaration(t);break;case"module":if(this.tsCheckLineTerminator(p)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(t);if(On(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t)}break;case"namespace":if(this.tsCheckLineTerminator(p)&&On(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminator(p)&&On(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 U=this.startNodeAt(t,u);return U.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(U),U.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),U});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 xs(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(t,u){let p=this.state.start,D=this.state.startLoc,U,pe=!1,Ze=!1;if(t!==void 0){let m={};this.tsParseModifiers({modified:m,allowedModifiers:["public","private","protected","override","readonly"]}),U=m.accessibility,Ze=m.override,pe=m.readonly,t===!1&&(U||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(U||pe||Ze){let m=this.startNodeAt(p,D);return u.length&&(m.decorators=u),U&&(m.accessibility=U),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,ou):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,U){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 U.stop=!0,t;U.optionalChainMember=pe=!0,this.next()}if(this.match(47)||this.match(51)){let Ze,At=this.tsTryParseAndCatch(()=>{if(!D&&this.atPossibleAsyncArrow(t)){let b=this.tsTryParseGenericAsyncArrowFunction(u,p);if(b)return b}let ar=this.tsParseTypeArgumentsInExpression();if(!ar)throw this.unexpected();if(pe&&!this.match(10))throw Ze=this.state.curPosition(),this.unexpected();if(Ts(this.state.type)){let b=this.parseTaggedTemplateExpression(t,u,p,U);return b.typeParameters=ar,b}if(!D&&this.eat(10)){let b=this.startNodeAt(u,p);return b.callee=t,b.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(b.arguments),b.typeParameters=ar,U.optionalChainMember&&(b.optional=pe),this.finishCallExpression(b,U.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,U)}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(zs(58)>D&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){let U=this.startNodeAt(u,p);U.expression=t;let pe=this.tsTryNextParseConstantContext();return pe?U.typeAnnotation=pe:U.typeAnnotation=this.tsNextThenParseType(),this.finishNode(U,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(U,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",On(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()),On(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,U=super.parseVarStatement(t,u,p||D);if(!D)return U;for(let{id:pe,init:Ze}of U.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 U}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=>mi(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 U=()=>{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(U):U()}parseClassMemberWithIsStatic(t,u,p,D){let U=this.tsTryParseIndexSignature(u);if(U){t.body.push(U),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 U=this.tryParse(()=>super.parseConditional(t,u,p));return U.node?(U.error&&(this.state=U.failState),U.node):(U.error&&super.setOptionalParametersError(D,U.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 U=On(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(t);return U?((U.type==="TSInterfaceDeclaration"||U.type==="TSTypeAliasDeclaration"||D)&&(t.exportKind="type"),D&&(this.resetStartLocation(U,u,p),U.declare=!0),U):null}parseClassId(t,u,p){if((!u||p)&&this.isContextual(110))return;super.parseClassId(t,u,p,t.declare?ou: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,U,pe){let Ze=this.tsTryParseTypeParameters();Ze&&U&&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,U,pe)}pushClassPrivateMethod(t,u,p,D){let U=this.tsTryParseTypeParameters();U&&(u.typeParameters=U),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),U=1;U<p;U++)D[U-1]=arguments[U];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,U,pe,Ze,At,ar,m;let b,g,A;if(this.hasPlugin("jsx")&&(this.match(138)||this.match(47))){if(b=this.state.clone(),g=this.tryParse(()=>super.parseMaybeAssign(...u),b),!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 E;b=b||this.state.clone();let y=this.tryParse(x=>{var w,k,_;E=this.tsParseTypeParameters();let $=super.parseMaybeAssign(...u);return($.type!=="ArrowFunctionExpression"||(w=$.extra)!=null&&w.parenthesized)&&x(),((k=E)==null?void 0:k.params.length)!==0&&this.resetStartLocationFromNode($,E),$.typeParameters=E,this.hasPlugin("jsx")&&$.typeParameters.params.length===1&&!((_=$.typeParameters.extra)!=null&&_.trailingComma)&&$.typeParameters.params[0].constraint,$},b);if(!y.error&&!y.aborted)return E&&this.reportReservedArrowTypeParam(E),y.node;if(!g&&(zn(!this.hasPlugin("jsx")),A=this.tryParse(()=>super.parseMaybeAssign(...u),b),!A.error))return A.node;if((U=g)!=null&&U.node)return this.state=g.failState,g.node;if(y.node)return this.state=y.failState,E&&this.reportReservedArrowTypeParam(E),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!==ba||!u)&&["expression",!0],TSTypeAssertion:(p!==ba||!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),U=1;U<p;U++)D[U-1]=arguments[U];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",U=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[U]=Ze;let b=u?"importKind":"exportKind";t[b]=At?"type":"value",ar&&this.eatContextual(93)&&(t[U]=u?this.parseIdentifier():this.parseModuleExportName()),t[U]||(t[U]=K(t[D])),u&&this.checkIdentifier(t[U],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:xn(n.object)}function xn(n){return n.type==="Identifier"?!0:n.type!=="MemberExpression"||n.computed?!1:xn(n.object)}var Lr=Oi(Rr||(Rr=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 U=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,U),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(Us(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})}},Es=n=>class extends n{parseV8Intrinsic(){if(this.match(54)){let t=this.state.startLoc,u=this.startNode();if(this.next(),On(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 es(n,t){let[u,p]=typeof t=="string"?[t,{}]:t,D=Object.keys(p),U=D.length===0;return n.some(pe=>{if(typeof pe=="string")return U&&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 Wi=["minimal","fsharp","hack","smart"],Zn=["^^","@@","^","%","#"],Ri=["hash","bar"];function ki(n){if(es(n,"decorators")){if(es(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(es(n,"flow")&&es(n,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(es(n,"placeholders")&&es(n,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(es(n,"pipelineOperator")){let t=rs(n,"pipelineOperator","proposal");if(!Wi.includes(t)){let p=Wi.map(D=>'"'.concat(D,'"')).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '.concat(p,"."))}let u=es(n,["recordAndTuple",{syntaxType:"hash"}]);if(t==="hack"){if(es(n,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(es(n,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let p=rs(n,"pipelineOperator","topicToken");if(!Zn.includes(p)){let D=Zn.map(U=>'"'.concat(U,'"')).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(es(n,"moduleAttributes")){if(es(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(es(n,"recordAndTuple")&&!Ri.includes(rs(n,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Ri.map(t=>"'".concat(t,"'")).join(", "));if(es(n,"asyncDoExpressions")&&!es(n,"doExpressions")){let t=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw t.missingPlugins="doExpressions",t}}var Pi={estree:Rs,jsx:bt,flow:Oe,typescript:Dn,v8intrinsic:Es,placeholders:Vs},Ht=Object.keys(Pi),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 Ir(n){let t={};for(let u of Object.keys(vr))t[u]=n&&n[u]!=null?n[u]:vr[u];return t}var In=(n,t)=>Object.hasOwnProperty.call(n,t)&&n[t],Ut=n=>n.type==="ParenthesizedExpression"?Ut(n.expression):n,ui=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=Ut(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 U;let ar=n.properties[pe],m=pe===At;this.toAssignableObjectExpressionProp(ar,m,t),m&&ar.type==="RestElement"&&(U=n.extra)!=null&&U.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 U=n[D];if(U){if(U.type==="SpreadElement"){U.type="RestElement";let pe=U.argument;this.checkToRestConversion(pe,!0),this.toAssignable(pe,u)}else this.toAssignable(U,u);U.type==="RestElement"&&(D<p?this.raise(dt.RestTrailingComma,{at:U}):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=[],U=!0;for(;!this.eat(n);)if(U?U=!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,U;if(t=(p=t)!=null?p:this.state.startLoc,n=(D=n)!=null?D:this.state.start,u=(U=u)!=null?U: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 In({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},n)}checkLVal(n,t){let{in:u,binding:p=ba,checkClashes:D=!1,strictModeChanged:U=!1,allowingSloppyLetBinding:pe=!(p&Ya),hasParenthesizedAncestor:Ze=!1}=t;var At;let ar=n.type;if(this.isObjectMethod(n))return;if(ar==="MemberExpression"){p!==ba&&this.raise(dt.InvalidPropertyBindingPattern,{at:n});return}if(n.type==="Identifier"){this.checkIdentifier(n,p,U,pe);let{name:E}=n;D&&(D.has(E)?this.raise(dt.ParamDupe,{at:n}):D.add(E));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 E=p===ba?dt.InvalidLhs:dt.InvalidLhsBinding;this.raise(E,{at:n,ancestor:u.type==="UpdateExpression"?{type:"UpdateExpression",prefix:u.prefix}:{type:u.type}});return}let[b,g]=Array.isArray(m)?m:[m,ar==="ParenthesizedExpression"],A=n.type==="ArrayPattern"||n.type==="ObjectPattern"||n.type==="ParenthesizedExpression"?n:u;for(let E of[].concat(n[b]))E&&this.checkLVal(E,{in:A,binding:p,checkClashes:D,allowingSloppyLetBinding:pe,strictModeChanged:U,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):Ca(n.name))&&(t===ba?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&ba||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 ui{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 cu,D=!0);let{type:U}=this.state;(U===10||On(U))&&(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 U=this.getPrivateNameSV(n);(p>=zs(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(dt.PrivateInExpectedIn,{at:n,identifierName:U}),this.classScope.usePrivateName(U,n.loc.start)}let D=this.state.type;if(Hr(D)&&(this.prodParam.hasIn||!this.match(58))){let U=zs(D);if(U>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&&(U=zs(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,U),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 U=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(!U)return t||this.checkExponentialAfterUnary(pe),this.finishNode(pe,"UnaryExpression")}let Ze=this.parseUpdate(pe,U,n);if(D){let{type:At}=this.state;if((this.hasPlugin("v8intrinsic")?Fi(At):Fi(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,U=this.parseExprSubscripts(u);if(this.checkExpressionErrors(u,!1))return U;for(;hr(this.state.type)&&!this.canInsertSemicolon();){let pe=this.startNodeAt(p,D);pe.operator=this.state.value,pe.prefix=!1,pe.argument=U,this.next(),this.checkLVal(U,{in:U=this.finishNode(pe,"UpdateExpression")})}return U}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:U}=this.state;if(!p&&U===15)return this.parseBind(n,t,u,p,D);if(Ts(U))return this.parseTaggedTemplateExpression(n,t,u,D);let pe=!1;if(U===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,U){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=U,this.finishNode(pe,"OptionalMemberExpression")):this.finishNode(pe,"MemberExpression")}parseBind(n,t,u,p,D){let U=this.startNodeAt(t,u);return U.object=n,this.next(),U.callee=this.parseNoCallExpr(),D.stop=!0,this.parseSubscripts(this.finishNode(U,"BindExpression"),t,u,p)}parseCoverCallAndAsyncArrowHead(n,t,u,p,D){let U=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 cu),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=U,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 U=[],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}U.push(this.parseExprListItem(!1,D,u))}return this.state.inFSharpPipelineDirectBody=Ze,U}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(Fs(p)||p===62){this.expectOnePlugin(["jsx","flow","typescript"]);break}else throw this.unexpected()}default:if(On(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,U=this.parseIdentifier();if(!D&&U.name==="async"&&!this.canInsertSemicolon()){let{type:pe}=this.state;if(pe===68)return this.resetPreviousNodeTrailingComments(U),this.next(),this.parseFunction(this.startNodeAtNode(U),void 0,!0);if(On(pe))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(U)):U;if(pe===90)return this.resetPreviousNodeTrailingComments(U),this.parseDo(this.startNodeAtNode(U),!0)}return p&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(U),[U],!1)):U}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:Us(p)})}testTopicReferenceConfiguration(n,t,u){switch(n){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Us(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 vn(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(Vl());let D=this.state.maybeInArrowParameters,U=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let pe=this.state.start,Ze=this.state.startLoc,At=[],ar=new cu,m=!0,b,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(b=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=U;let E=this.startNodeAt(t,u);return n&&this.shouldParseArrow(At)&&(E=this.parseArrow(E))?(this.checkDestructuringPrivate(ar),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(E,At,!1),E):(this.expressionScope.exit(),At.length||this.unexpected(this.state.lastTokStartLoc),g&&this.unexpected(g),b&&this.unexpected(b),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,U=t+1,pe=this.startNodeAt(U,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(U,ar).replace(/\r\n?/g,`
|
|
`),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 U=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,U,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,U,pe;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(u.decorators=t,t=[]),u.method=!1,n&&(U=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,U,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,K(n.key));else if(this.match(29)){let U=this.state.startLoc;D!=null?D.shorthandAssignLoc===null&&(D.shorthandAssignLoc=U):this.raise(dt.InvalidCoverInitializedName,{at:U}),n.value=this.parseMaybeDefault(t,u,K(n.key))}else n.value=K(n.key);return n.shorthand=!0,this.finishNode(n,"ObjectProperty")}}parseObjPropValue(n,t,u,p,D,U,pe,Ze){let At=this.parseObjectMethod(n,p,D,U,pe)||this.parseObjectProperty(n,t,u,U,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 U=this.state.startLoc;t!=null?t.privateKeyLoc===null&&(t.privateKeyLoc=U):this.raise(dt.UnexpectedPrivateField,{at:U}),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,U){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|jo|(pe?bo:0)|(D?nu:0)),this.prodParam.enter(Po(u,n.generator)),this.parseFunctionParams(n,Ze),this.parseFunctionBodyAndFinish(n,U,!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 U=this.startNode();return this.next(),U.elements=this.parseExprList(n,!u,p,U),this.state.inFSharpPipelineDirectBody=D,this.finishNode(U,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|=$o),this.prodParam.enter(D),this.initFunction(n,u);let U=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=U,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(Za()),p)n.body=this.parseMaybeAssign(),this.checkParams(n,!1,t,!1);else{let D=this.state.strict,U=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|gl),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,uu,At)}),this.prodParam.exit(),this.state.labels=U}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,U={type:"FormalParameters"};for(let pe of n.params)this.checkLVal(pe,{in:U,binding:ao,checkClashes:D,strictModeChanged:p})}parseExprList(n,t,u,p){let D=[],U=!0;for(;!this.eat(n);){if(U)U=!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,U=this.state.startLoc;p=this.parseParenItem(this.parseSpread(t),D,U)}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 U=Ui(D);return t?U&&this.replaceToken(128):this.checkReservedWord(u,p,U,!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:ru:tu)(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||Ts(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($o&~t){this.prodParam.enter(t|$o);try{return n()}finally{this.prodParam.exit()}}return n()}disallowInAnd(n){let t=this.prodParam.currentFlags();if($o&t){this.prodParam.enter(t&~$o);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){}},na={kind:"loop"},ia={kind:"switch"},Os=0,Aa=1,va=2,Zs=4,Ma=/[\uD800-\uDFFF]/u,sa=/in(?:stanceof)?/y;function ea(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:U,start:pe,value:Ze,end:At}=p,ar=pe+1,m=pn(U.start,1);n.splice(u,1,new So({type:Ss(27),value:"#",start:pe,end:ar,startLoc:U.start,endLoc:m}),new So({type:Ss(128),value:Ze,start:ar,end:At,startLoc:m,endLoc:U.end})),u++;continue}if(Ts(D)){let{loc:U,start:pe,value:Ze,end:At}=p,ar=pe+1,m=pn(U.start,1),b;t.charCodeAt(pe)===96?b=new So({type:Ss(22),value:"`",start:pe,end:ar,startLoc:U.start,endLoc:m}):b=new So({type:Ss(8),value:"}",start:pe,end:ar,startLoc:U.start,endLoc:m});let g,A,E,y;D===24?(A=At-1,E=pn(U.end,-1),g=Ze===null?null:Ze.slice(1,-1),y=new So({type:Ss(22),value:"`",start:A,end:At,startLoc:E,endLoc:U.end})):(A=At-2,E=pn(U.end,-2),g=Ze===null?null:Ze.slice(1,-2),y=new So({type:Ss(23),value:"${",start:A,end:At,startLoc:E,endLoc:U.end})),n.splice(u,1,b,new So({type:Ss(20),value:g,start:ar,end:A,startLoc:m,endLoc:E}),y),u+=2;continue}}p.type=Ss(D)}}return n}var aa=class extends Xn{parseTopLevel(n,t){return n.program=this.parseProgram(t),n.comments=this.state.comments,this.options.tokens&&(n.tokens=ea(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),U=u.value=D.slice(1,-1);return this.addExtra(u,"raw",D),this.addExtra(u,"rawValue",U),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(Fs(u)){if(sa.lastIndex=t,sa.test(this.input)){let p=this.codePointAtPos(sa.lastIndex);if(!Qs(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 U=this.state.value,pe=this.parseExpression();return On(u)&&pe.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(p,U,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,U=this.state.startLoc;this.next(),p=this.parseExpression(),this.expect(11),p=this.wrapParenthesis(D,U,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(na),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(na);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(Eo),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),U=new cu,pe=this.parseExpression(!0,U),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(U),this.toAssignable(pe,!0);let At=Ze?"ForOfStatement":"ForInStatement";return this.checkLVal(pe,{in:{type:At}}),this.parseForIn(n,pe,t)}else this.checkExpressionErrors(U,!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(ia),this.scope.enter(Eo);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?Uu: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(Eo)),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(na),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 U of this.state.labels)U.name===t&&this.raise(dt.LabelRedeclaration,{at:u,labelName:t});let D=Ke(this.state.type)?"loop":this.match(71)?"switch":null;for(let U=this.state.labels.length-1;U>=0;U--){let pe=this.state.labels[U];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(Eo),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 U=n.body=[],pe=n.directives=[];this.parseBlockOrModuleBlockBody(U,t?pe:void 0,u,p,D)}parseBlockOrModuleBlockBody(n,t,u,p,D){let U=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),U||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 U=this.startNode();if(this.parseVarId(U,u),U.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,U.init===null&&!p&&(U.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(U,"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,U=!!p&&!(t&Zs);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(U));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||On(this.state.type)?this.parseIdentifier():null}parseFunctionParams(n,t){this.expect(10),this.expressionScope.enter(Fl()),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:Tu,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 U=this.startNode();p.length&&(U.decorators=p,this.resetStartLocationFromNode(U,p[0]),p=[]),this.parseClassMember(D,U,u),U.kind==="constructor"&&U.decorators&&U.decorators.length>0&&this.raise(dt.DecoratorConstructor,{at:U})}}),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,U=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,U,!0,!1);return}this.isNonstaticConstructor(D)&&this.raise(dt.ConstructorIsGenerator,{at:D.key}),this.pushClassMethod(n,D,!0,!1,!1,!1);return}let b=On(this.state.type)&&!this.state.containsEsc,g=this.match(134),A=this.parseClassElementName(t),E=this.state.startLoc;if(this.parsePostMemberNameModifiers(m),this.isClassMethod()){if(ar.kind="method",g){this.pushClassPrivateMethod(n,U,!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(b&&A.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(A);let y=this.eat(55);m.optional&&this.unexpected(E),ar.kind="method";let x=this.match(134);this.parseClassElementName(ar),this.parsePostMemberNameModifiers(m),x?this.pushClassPrivateMethod(n,U,y,!0):(this.isNonstaticConstructor(D)&&this.raise(dt.ConstructorIsAsync,{at:D.key}),this.pushClassMethod(n,D,y,!0,!1,!1))}else if(b&&(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,U,!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(b&&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(bo|iu|jo);let p=this.state.labels;this.state.labels=[],this.prodParam.enter(lu);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),Fu,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),Fu,p.key.loc.start)}pushClassMethod(n,t,u,p,D,U){n.body.push(this.parseMethod(t,u,p,D,U,"ClassMethod",!0))}pushClassPrivateMethod(n,t,u,p){let D=this.parseMethod(t,u,p,!1,!1,"ClassPrivateMethod",!0);n.body.push(D);let U=D.kind==="get"?D.static?qu:zl:D.kind==="set"?D.static?bl:nc:Fu;this.declareClassPrivateMethodInScope(D,U)}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(bo|jo),this.expressionScope.enter(Za()),this.prodParam.enter(lu),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(On(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),U=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&&U&&!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!Wu.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|Zs,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(On(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(On(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||On(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 U=n.declaration;U.type==="Identifier"&&U.name==="from"&&U.end-U.start===4&&!((D=U.extra)!=null&&D.parenthesized)&&this.raise(dt.ExportDefaultFromAsIdentifier,{at:U})}}else if(n.specifiers&&n.specifiers.length)for(let U of n.specifiers){let{exported:pe}=U,Ze=pe.type==="Identifier"?pe.name:pe.value;if(this.checkDuplicateExports(U,Ze),!p&&U.local){let{local:At}=U;At.type!=="Identifier"?this.raise(dt.ExportBindingIsString,{at:U,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 U=n.declaration.id;if(!U)throw new Error("Assertion failure");this.checkDuplicateExports(n,U.name)}else if(n.declaration.type==="VariableDeclaration")for(let U of n.declaration.declarations)this.checkDeclaration(U.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),U=this.startNode();U.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(U,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=K(n.local)),this.finishNode(n,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){let n=this.parseStringLiteral(this.state.value),t=n.value.match(Ma);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 On(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 U=this.parseImportSpecifier(u,p,n.importKind==="type"||n.importKind==="typeof",D);n.specifiers.push(U)}}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=K(D))}return this.finishImportSpecifier(n,"ImportSpecifier")}isThisParam(n){return n.type==="Identifier"&&n.name==="this"}},kl=class extends aa{constructor(n,t){n=Ir(n),super(n,t),this.options=n,this.initializeScopes(),this.plugins=Ku(this.options.plugins),this.filename=n.sourceFilename}getScopeHandler(){return Pu}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 Ku(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 Bc(n,t){var u;if(((u=t)==null?void 0:u.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let p=pu(t,n),D=p.parse();if(p.sawUnambiguousESM)return D;if(p.ambiguousScriptDifferentAst)try{return t.sourceType="script",pu(t,n).parse()}catch{}else D.program.sourceType="script";return D}catch(p){try{return t.sourceType="script",pu(t,n).parse()}catch{}throw p}}else return pu(t,n).parse()}function Nu(n,t){let u=pu(t,n);return u.options.strictMode&&(u.state.strict=!0),u.getExpression()}function Pl(n){let t={};for(let u of Object.keys(n))t[u]=Ss(n[u]);return t}var Gl=Pl(_n);function pu(n,t){let u=kl;return n!=null&&n.plugins&&(ki(n.plugins),u=_c(n.plugins)),new u(n,t)}var Wo={};function _c(n){let t=Ht.filter(D=>es(n,D)),u=t.join("/"),p=Wo[u];if(!p){p=kl;for(let D of t)p=Pi[D](p);Wo[u]=p}return p}Wn.parse=Bc,Wn.parseExpression=Nu,Wn.tokTypes=Gl}}),il=Ee({"src/language-js/parse/json.js"(Wn,Cn){yt();var vn=mu(),nn=mo(),pn=fo(),ri=Ko();function ii(){let Yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{allowComments:Mi=!0}=Yn;return function(as){let{parseExpression:ji}=Xa(),ws;try{ws=ji(as,{tokens:!0,ranges:!0})}catch(da){throw ri(da)}if(!Mi&&vn(ws.comments))throw ei(ws.comments[0],"Comment");return Ci(ws),ws}}function ei(Yn,Mi){let[as,ji]=[Yn.loc.start,Yn.loc.end].map(ws=>{let{line:da,column:Gi}=ws;return{line:da,column:Gi+1}});return nn("".concat(Mi," is not allowed in JSON."),{start:as,end:ji})}function Ci(Yn){switch(Yn.type){case"ArrayExpression":for(let Mi of Yn.elements)Mi!==null&&Ci(Mi);return;case"ObjectExpression":for(let Mi of Yn.properties)Ci(Mi);return;case"ObjectProperty":if(Yn.computed)throw ei(Yn.key,"Computed key");if(Yn.shorthand)throw ei(Yn.key,"Shorthand property");Yn.key.type!=="Identifier"&&Ci(Yn.key),Ci(Yn.value);return;case"UnaryExpression":{let{operator:Mi,argument:as}=Yn;if(Mi!=="+"&&Mi!=="-")throw ei(Yn,"Operator '".concat(Yn.operator,"'"));if(as.type==="NumericLiteral"||as.type==="Identifier"&&(as.name==="Infinity"||as.name==="NaN"))return;throw ei(as,"Operator '".concat(Mi,"' before '").concat(as.type,"'"))}case"Identifier":if(Yn.name!=="Infinity"&&Yn.name!=="NaN"&&Yn.name!=="undefined")throw ei(Yn,"Identifier '".concat(Yn.name,"'"));return;case"TemplateLiteral":if(vn(Yn.expressions))throw ei(Yn.expressions[0],"'TemplateLiteral' with expression");for(let Mi of Yn.quasis)Ci(Mi);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw ei(Yn,"'".concat(Yn.type,"'"))}}var qi=ii(),Qi={json:pn({parse:qi,hasPragma(){return!0}}),json5:pn(qi),"json-stringify":pn({parse:ii({allowComments:!1}),astFormat:"estree-json"})};Cn.exports=Qi}});yt();var Mu=Vt(),xu=nr(),Lo=Pr(),Ba=fo(),sl=Ko(),ju=Lu(),al=il(),Ru={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},ol=["recordAndTuple",{syntaxType:"hash"}],Cu="v8intrinsic",_a=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],Ws=function(Wn){let Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ru;return Object.assign(Object.assign({},Cn),{},{plugins:[...Cn.plugins,...Wn]})},fa=/@(?:no)?flow\b/;function Ta(Wn,Cn){if(Cn.filepath&&Cn.filepath.endsWith(".js.flow"))return!0;let vn=xu(Wn);vn&&(Wn=Wn.slice(vn.length));let nn=Lo(Wn,0);return nn!==!1&&(Wn=Wn.slice(0,nn)),fa.test(Wn)}function Ja(Wn,Cn,vn){let nn=Xa()[Wn](Cn,vn),pn=nn.errors.find(ri=>!bu.has(ri.reasonCode));if(pn)throw pn;return nn}function Ia(Wn){for(var Cn=arguments.length,vn=new Array(Cn>1?Cn-1:0),nn=1;nn<Cn;nn++)vn[nn-1]=arguments[nn];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",Mo(pn,ri,ii);let ei=vn;ii.__babelSourceType==="script"&&(ei=ei.map(Yn=>Object.assign(Object.assign({},Yn),{},{sourceType:"script"}))),/#[[{]/.test(pn)&&(ei=ei.map(Yn=>Ws([ol],Yn)));let Ci=/%[A-Z]/.test(pn);pn.includes("|>")?ei=(Ci?[..._a,Cu]:_a).flatMap(Yn=>ei.map(Mi=>Ws([Yn],Mi))):Ci&&(ei=ei.map(Yn=>Ws([Cu],Yn)));let{result:qi,error:Qi}=Mu(...ei.map(Yn=>()=>Ja(Wn,pn,Yn)));if(!qi)throw sl(Qi);return ii.originalText=pn,ju(qi,ii)}}var Yo=Ia("parse",Ws(["jsx","flow"])),Mo=Ia("parse",Ws(["jsx",["flow",{all:!0,enums:!0}]])),Ki=Ia("parse",Ws(["jsx","typescript"]),Ws(["typescript"])),Eu=Ia("parse",Ws(["jsx","flow","estree"])),Sa=Ia("parseExpression",Ws(["jsx"])),Zo=Ia("parseExpression",Ws(["typescript"])),bu=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"]),Co=Ba(Yo),eu=Ba(Ki),Ra=Ba(Sa),go=Ba(Zo);Nt.exports={parsers:Object.assign(Object.assign({babel:Co,"babel-flow":Ba(Mo),"babel-ts":eu},al),{},{__js_expression:Ra,__vue_expression:Ra,__vue_ts_expression:go,__vue_event_binding:Co,__vue_ts_event_binding:eu,__babel_estree:Ba(Eu)})}});return Qn()})})(Tm);const JD=Hp(Tm.exports);function KD(i,c,l){const f={css:GD,html:XD,babel:JD};return Ks(()=>{if(!Cs(c))return Cs(i)||"/* empty */";try{return VD.format(Cs(i)||"",{parser:l,plugins:[f[l]],singleQuote:!0,semi:!1})}catch(v){return console.error(v),`/* Error on prettifying: ${v.message} */
|
|
${Cs(i)||""}`}})}function QD(i,c=!0){return KD(i,c,"css")}const YD={"h-full":""},ZD={p:"x4 y2",grid:"~ cols-4 gap-4"},ev=Vi("div",{op80:""}," Presets ",-1),tv={op50:"","ws-pre":""},rv={overflow:"auto"},nv=Vi("div",{op80:""}," Rules ",-1),iv=Vi("span",{op50:""},"dynamic",-1),sv=Vi("br",null,null,-1),av=Vi("span",{op50:""},"static",-1),ov=Vi("div",{op80:""}," Variants ",-1),uv=Vi("div",{op80:""}," Shortcuts ",-1),lv={key:0},cv=Vi("div",{op80:""}," Config File ",-1),pv=Vi("div",{op80:""}," Version ",-1),hv={op50:"","ws-pre":""},fv={b:"t main",p:"x4 y2",grid:"~ cols-4 gap-4"},dv=Vi("div",{op80:""}," Included Files ",-1),mv=Vi("div",{op80:""}," CSS Size ",-1),gv=Vi("span",{op50:""},"gzipped",-1),yv=Vi("div",{op80:""}," Matched Rules ",-1),Dv=Vi("div",{op80:""}," Layers ",-1),vv={op50:"","ws-pre":""},xv=Qu(" Prettify "),Cv=nl({__name:"Overview",setup(i){const c=Pa(null),l=WD(c,"overview-scrolls");zh.execute();const f=Pa(!1),v=QD(Ks(()=>{var B;return(B=up.value)==null?void 0:B.css}),f);return(B,Y)=>{const he=$D,xe=jD,Le=ID,je=PD;return xa(),ho("div",YD,[ta(Le,{ref_key:"status",ref:c,p0:""},{default:Il(()=>{var it,xt,Ft,Qt,mr,Ur,wt,jt,Wt,Ar,an,Vn,An,gi,ai,$n,Mn,yi;return[Vi("div",ZD,[Vi("div",null,[ev,Vi("div",tv,Bo((Ft=(xt=(it=Cs(eo))==null?void 0:it.config)==null?void 0:xt.presets)==null?void 0:Ft.map(Cr=>Cr.name).join(`
|
|
`)),1)]),Vi("div",rv,[nv,Qu(" "+Bo((Ur=(mr=(Qt=Cs(eo))==null?void 0:Qt.config)==null?void 0:mr.rulesDynamic)==null?void 0:Ur.filter(Boolean).length)+" ",1),iv,sv,Qu(" "+Bo(Object.keys(((jt=(wt=Cs(eo))==null?void 0:wt.config)==null?void 0:jt.rulesStaticMap)||{}).length)+" ",1),av]),Vi("div",null,[ov,Qu(" "+Bo((an=(Ar=(Wt=Cs(eo))==null?void 0:Wt.config)==null?void 0:Ar.variants)==null?void 0:an.length),1)]),Vi("div",null,[uv,Qu(" "+Bo((Vn=Cs(eo))==null?void 0:Vn.config.shortcuts.length),1)]),(An=Cs(eo))!=null&&An.configPath?(xa(),ho("div",lv,[cv,ta(he,{id:Cs(eo).configPath},null,8,["id"])])):bp("",!0),Vi("div",null,[pv,Vi("div",hv,Bo((gi=Cs(eo))==null?void 0:gi.version),1)])]),Vi("div",fv,[Vi("div",null,[dv,Qu(" "+Bo((ai=Cs(eo))==null?void 0:ai.modules.length),1)]),Vi("div",null,[mv,Qu(" "+Bo((((($n=Cs(up))==null?void 0:$n.gzipSize)||0)/1024).toFixed(2))+" KiB ",1),gv]),Vi("div",null,[yv,Qu(" "+Bo((Mn=Cs(up))==null?void 0:Mn.matched.length),1)]),Vi("div",null,[Dv,Vi("div",vv,Bo((yi=Cs(up))==null?void 0:yi.layers.join(`
|
|
`)),1)])]),ta(xe,{border:"t gray-400/20",title:"Output CSS"},{default:Il(()=>[Vi("label",null,[c0(Vi("input",{"onUpdate:modelValue":Y[0]||(Y[0]=Cr=>f.value=Cr),type:"checkbox"},null,512),[[uy,f.value]]),xv])]),_:1})]}),_:1},512),ta(je,{"model-value":Cs(v),"read-only":!0,mode:"css",class:"scrolls overview-scrolls",style:tp(Cs(l))},null,8,["model-value","style"])])}}}),Ev={};function bv(i,c){const l=Cv;return xa(),Ec(l)}const Av=Dm(Ev,[["render",bv]]),wv=()=>xh(()=>import("./repl.899210ca.js"),[]),Tv=()=>xh(()=>import("./_id_.7a4a714e.js"),[]),Sv=[{name:"index",path:"/",component:Av,props:!0},{name:"repl",path:"/repl",component:wv,props:!0},{name:"module-id",path:"/module/:id",component:Tv,props:!0}];/*!
|
|
* vue-router v4.1.3
|
|
* (c) 2022 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const yc=typeof window<"u";function Fv(i){return i.__esModule||i[Symbol.toStringTag]==="Module"}const oa=Object.assign;function Yp(i,c){const l={};for(const f in c){const v=c[f];l[f]=rl(v)?v.map(i):i(v)}return l}const Wc=()=>{},rl=Array.isArray,kv=/\/$/,Pv=i=>i.replace(kv,"");function Zp(i,c,l="/"){let f,v={},B="",Y="";const he=c.indexOf("#");let xe=c.indexOf("?");return he<xe&&he>=0&&(xe=-1),xe>-1&&(f=c.slice(0,xe),B=c.slice(xe+1,he>-1?he:c.length),v=i(B)),he>-1&&(f=f||c.slice(0,he),Y=c.slice(he,c.length)),f=Iv(f!=null?f:c,l),{fullPath:f+(B&&"?")+B+Y,path:f,query:v,hash:Y}}function Nv(i,c){const l=c.query?i(c.query):"";return c.path+(l&&"?")+l+(c.hash||"")}function $f(i,c){return!c||!i.toLowerCase().startsWith(c.toLowerCase())?i:i.slice(c.length)||"/"}function Bv(i,c,l){const f=c.matched.length-1,v=l.matched.length-1;return f>-1&&f===v&&wc(c.matched[f],l.matched[v])&&Sm(c.params,l.params)&&i(c.query)===i(l.query)&&c.hash===l.hash}function wc(i,c){return(i.aliasOf||i)===(c.aliasOf||c)}function Sm(i,c){if(Object.keys(i).length!==Object.keys(c).length)return!1;for(const l in i)if(!_v(i[l],c[l]))return!1;return!0}function _v(i,c){return rl(i)?Wf(i,c):rl(c)?Wf(c,i):i===c}function Wf(i,c){return rl(c)?i.length===c.length&&i.every((l,f)=>l===c[f]):i.length===1&&i[0]===c}function Iv(i,c){if(i.startsWith("/"))return i;if(!i)return c;const l=c.split("/"),f=i.split("/");let v=l.length-1,B,Y;for(B=0;B<f.length;B++)if(Y=f[B],Y!==".")if(Y==="..")v>1&&v--;else break;return l.slice(0,v).join("/")+"/"+f.slice(B-(B===f.length?1:0)).join("/")}var ep;(function(i){i.pop="pop",i.push="push"})(ep||(ep={}));var Vc;(function(i){i.back="back",i.forward="forward",i.unknown=""})(Vc||(Vc={}));function Ov(i){if(!i)if(yc){const c=document.querySelector("base");i=c&&c.getAttribute("href")||"/",i=i.replace(/^\w+:\/\/[^\/]+/,"")}else i="/";return i[0]!=="/"&&i[0]!=="#"&&(i="/"+i),Pv(i)}const Lv=/^[^#]+#/;function Mv(i,c){return i.replace(Lv,"#")+c}function jv(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 $p=()=>({left:window.pageXOffset,top:window.pageYOffset});function Rv(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=jv(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 Vf(i,c){return(history.state?history.state.position-c:-1)+i}const yh=new Map;function Uv(i,c){yh.set(i,c)}function zv(i){const c=yh.get(i);return yh.delete(i),c}let Hv=()=>location.protocol+"//"+location.host;function Fm(i,c){const{pathname:l,search:f,hash:v}=c,B=i.indexOf("#");if(B>-1){let he=v.includes(i.slice(B))?i.slice(B).length:1,xe=v.slice(he);return xe[0]!=="/"&&(xe="/"+xe),$f(xe,"")}return $f(l,i)+f+v}function qv(i,c,l,f){let v=[],B=[],Y=null;const he=({state:xt})=>{const Ft=Fm(i,location),Qt=l.value,mr=c.value;let Ur=0;if(xt){if(l.value=Ft,c.value=xt,Y&&Y===Qt){Y=null;return}Ur=mr?xt.position-mr.position:0}else f(Ft);v.forEach(wt=>{wt(l.value,Qt,{delta:Ur,type:ep.pop,direction:Ur?Ur>0?Vc.forward:Vc.back:Vc.unknown})})};function xe(){Y=l.value}function Le(xt){v.push(xt);const Ft=()=>{const Qt=v.indexOf(xt);Qt>-1&&v.splice(Qt,1)};return B.push(Ft),Ft}function je(){const{history:xt}=window;!xt.state||xt.replaceState(oa({},xt.state,{scroll:$p()}),"")}function it(){for(const xt of B)xt();B=[],window.removeEventListener("popstate",he),window.removeEventListener("beforeunload",je)}return window.addEventListener("popstate",he),window.addEventListener("beforeunload",je),{pauseListeners:xe,listen:Le,destroy:it}}function Gf(i,c,l,f=!1,v=!1){return{back:i,current:c,forward:l,replaced:f,position:window.history.length,scroll:v?$p():null}}function $v(i){const{history:c,location:l}=window,f={value:Fm(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(xe,Le,je){const it=i.indexOf("#"),xt=it>-1?(l.host&&document.querySelector("base")?i:i.slice(it))+xe:Hv()+i+xe;try{c[je?"replaceState":"pushState"](Le,"",xt),v.value=Le}catch(Ft){console.error(Ft),l[je?"replace":"assign"](xt)}}function Y(xe,Le){const je=oa({},c.state,Gf(v.value.back,xe,v.value.forward,!0),Le,{position:v.value.position});B(xe,je,!0),f.value=xe}function he(xe,Le){const je=oa({},v.value,c.state,{forward:xe,scroll:$p()});B(je.current,je,!0);const it=oa({},Gf(f.value,xe,null),{position:je.position+1},Le);B(xe,it,!1),f.value=xe}return{location:f,state:v,push:he,replace:Y}}function Wv(i){i=Ov(i);const c=$v(i),l=qv(i,c.state,c.location,c.replace);function f(B,Y=!0){Y||l.pauseListeners(),history.go(B)}const v=oa({location:"",base:i,go:f,createHref:Mv.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 Vv(i){return i=location.host?i||location.pathname+location.search:"",i.includes("#")||(i+="#"),Wv(i)}function Gv(i){return typeof i=="string"||i&&typeof i=="object"}function km(i){return typeof i=="string"||typeof i=="symbol"}const Jl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Pm=Symbol("");var Xf;(function(i){i[i.aborted=4]="aborted",i[i.cancelled=8]="cancelled",i[i.duplicated=16]="duplicated"})(Xf||(Xf={}));function Tc(i,c){return oa(new Error,{type:i,[Pm]:!0},c)}function Bl(i,c){return i instanceof Error&&Pm in i&&(c==null||!!(i.type&c))}const Jf="[^/]+?",Xv={sensitive:!1,strict:!1,start:!0,end:!0},Jv=/[.+*?^${}()[\]/\\]/g;function Kv(i,c){const l=oa({},Xv,c),f=[];let v=l.start?"^":"";const B=[];for(const Le of i){const je=Le.length?[]:[90];l.strict&&!Le.length&&(v+="/");for(let it=0;it<Le.length;it++){const xt=Le[it];let Ft=40+(l.sensitive?.25:0);if(xt.type===0)it||(v+="/"),v+=xt.value.replace(Jv,"\\$&"),Ft+=40;else if(xt.type===1){const{value:Qt,repeatable:mr,optional:Ur,regexp:wt}=xt;B.push({name:Qt,repeatable:mr,optional:Ur});const jt=wt||Jf;if(jt!==Jf){Ft+=10;try{new RegExp(`(${jt})`)}catch(Ar){throw new Error(`Invalid custom RegExp for param "${Qt}" (${jt}): `+Ar.message)}}let Wt=mr?`((?:${jt})(?:/(?:${jt}))*)`:`(${jt})`;it||(Wt=Ur&&Le.length<2?`(?:/${Wt})`:"/"+Wt),Ur&&(Wt+="?"),v+=Wt,Ft+=20,Ur&&(Ft+=-8),mr&&(Ft+=-20),jt===".*"&&(Ft+=-50)}je.push(Ft)}f.push(je)}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 Y=new RegExp(v,l.sensitive?"":"i");function he(Le){const je=Le.match(Y),it={};if(!je)return null;for(let xt=1;xt<je.length;xt++){const Ft=je[xt]||"",Qt=B[xt-1];it[Qt.name]=Ft&&Qt.repeatable?Ft.split("/"):Ft}return it}function xe(Le){let je="",it=!1;for(const xt of i){(!it||!je.endsWith("/"))&&(je+="/"),it=!1;for(const Ft of xt)if(Ft.type===0)je+=Ft.value;else if(Ft.type===1){const{value:Qt,repeatable:mr,optional:Ur}=Ft,wt=Qt in Le?Le[Qt]:"";if(rl(wt)&&!mr)throw new Error(`Provided param "${Qt}" is an array but it is not repeatable (* or + modifiers)`);const jt=rl(wt)?wt.join("/"):wt;if(!jt)if(Ur)xt.length<2&&(je.endsWith("/")?je=je.slice(0,-1):it=!0);else throw new Error(`Missing required param "${Qt}"`);je+=jt}}return je||"/"}return{re:Y,score:f,keys:B,parse:he,stringify:xe}}function Qv(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 Yv(i,c){let l=0;const f=i.score,v=c.score;for(;l<f.length&&l<v.length;){const B=Qv(f[l],v[l]);if(B)return B;l++}if(Math.abs(v.length-f.length)===1){if(Kf(f))return 1;if(Kf(v))return-1}return v.length-f.length}function Kf(i){const c=i[i.length-1];return i.length>0&&c[c.length-1]<0}const Zv={type:0,value:""},e1=/[a-zA-Z0-9_]/;function t1(i){if(!i)return[[]];if(i==="/")return[[Zv]];if(!i.startsWith("/"))throw new Error(`Invalid path "${i}"`);function c(Ft){throw new Error(`ERR (${l})/"${Le}": ${Ft}`)}let l=0,f=l;const v=[];let B;function Y(){B&&v.push(B),B=[]}let he=0,xe,Le="",je="";function it(){!Le||(l===0?B.push({type:0,value:Le}):l===1||l===2||l===3?(B.length>1&&(xe==="*"||xe==="+")&&c(`A repeatable param (${Le}) must be alone in its segment. eg: '/:ids+.`),B.push({type:1,value:Le,regexp:je,repeatable:xe==="*"||xe==="+",optional:xe==="*"||xe==="?"})):c("Invalid state to consume buffer"),Le="")}function xt(){Le+=xe}for(;he<i.length;){if(xe=i[he++],xe==="\\"&&l!==2){f=l,l=4;continue}switch(l){case 0:xe==="/"?(Le&&it(),Y()):xe===":"?(it(),l=1):xt();break;case 4:xt(),l=f;break;case 1:xe==="("?l=2:e1.test(xe)?xt():(it(),l=0,xe!=="*"&&xe!=="?"&&xe!=="+"&&he--);break;case 2:xe===")"?je[je.length-1]=="\\"?je=je.slice(0,-1)+xe:l=3:je+=xe;break;case 3:it(),l=0,xe!=="*"&&xe!=="?"&&xe!=="+"&&he--,je="";break;default:c("Unknown state");break}}return l===2&&c(`Unfinished custom RegExp for param "${Le}"`),it(),Y(),v}function r1(i,c,l){const f=Kv(t1(i.path),l),v=oa(f,{record:i,parent:c,children:[],alias:[]});return c&&!v.record.aliasOf==!c.record.aliasOf&&c.children.push(v),v}function n1(i,c){const l=[],f=new Map;c=Yf({strict:!1,end:!0,sensitive:!1},c);function v(je){return f.get(je)}function B(je,it,xt){const Ft=!xt,Qt=s1(je);Qt.aliasOf=xt&&xt.record;const mr=Yf(c,je),Ur=[Qt];if("alias"in je){const Wt=typeof je.alias=="string"?[je.alias]:je.alias;for(const Ar of Wt)Ur.push(oa({},Qt,{components:xt?xt.record.components:Qt.components,path:Ar,aliasOf:xt?xt.record:Qt}))}let wt,jt;for(const Wt of Ur){const{path:Ar}=Wt;if(it&&Ar[0]!=="/"){const an=it.record.path,Vn=an[an.length-1]==="/"?"":"/";Wt.path=it.record.path+(Ar&&Vn+Ar)}if(wt=r1(Wt,it,mr),xt?xt.alias.push(wt):(jt=jt||wt,jt!==wt&&jt.alias.push(wt),Ft&&je.name&&!Qf(wt)&&Y(je.name)),Qt.children){const an=Qt.children;for(let Vn=0;Vn<an.length;Vn++)B(an[Vn],wt,xt&&xt.children[Vn])}xt=xt||wt,xe(wt)}return jt?()=>{Y(jt)}:Wc}function Y(je){if(km(je)){const it=f.get(je);it&&(f.delete(je),l.splice(l.indexOf(it),1),it.children.forEach(Y),it.alias.forEach(Y))}else{const it=l.indexOf(je);it>-1&&(l.splice(it,1),je.record.name&&f.delete(je.record.name),je.children.forEach(Y),je.alias.forEach(Y))}}function he(){return l}function xe(je){let it=0;for(;it<l.length&&Yv(je,l[it])>=0&&(je.record.path!==l[it].record.path||!Nm(je,l[it]));)it++;l.splice(it,0,je),je.record.name&&!Qf(je)&&f.set(je.record.name,je)}function Le(je,it){let xt,Ft={},Qt,mr;if("name"in je&&je.name){if(xt=f.get(je.name),!xt)throw Tc(1,{location:je});mr=xt.record.name,Ft=oa(i1(it.params,xt.keys.filter(jt=>!jt.optional).map(jt=>jt.name)),je.params),Qt=xt.stringify(Ft)}else if("path"in je)Qt=je.path,xt=l.find(jt=>jt.re.test(Qt)),xt&&(Ft=xt.parse(Qt),mr=xt.record.name);else{if(xt=it.name?f.get(it.name):l.find(jt=>jt.re.test(it.path)),!xt)throw Tc(1,{location:je,currentLocation:it});mr=xt.record.name,Ft=oa({},it.params,je.params),Qt=xt.stringify(Ft)}const Ur=[];let wt=xt;for(;wt;)Ur.unshift(wt.record),wt=wt.parent;return{name:mr,path:Qt,params:Ft,matched:Ur,meta:o1(Ur)}}return i.forEach(je=>B(je)),{addRoute:B,resolve:Le,removeRoute:Y,getRoutes:he,getRecordMatcher:v}}function i1(i,c){const l={};for(const f of c)f in i&&(l[f]=i[f]);return l}function s1(i){return{path:i.path,redirect:i.redirect,name:i.name,meta:i.meta||{},aliasOf:void 0,beforeEnter:i.beforeEnter,props:a1(i),children:i.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in i?i.components||null:i.component&&{default:i.component}}}function a1(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 Qf(i){for(;i;){if(i.record.aliasOf)return!0;i=i.parent}return!1}function o1(i){return i.reduce((c,l)=>oa(c,l.meta),{})}function Yf(i,c){const l={};for(const f in i)l[f]=f in c?c[f]:i[f];return l}function Nm(i,c){return c.children.some(l=>l===i||Nm(i,l))}const Bm=/#/g,u1=/&/g,l1=/\//g,c1=/=/g,p1=/\?/g,_m=/\+/g,h1=/%5B/g,f1=/%5D/g,Im=/%5E/g,d1=/%60/g,Om=/%7B/g,m1=/%7C/g,Lm=/%7D/g,g1=/%20/g;function Hh(i){return encodeURI(""+i).replace(m1,"|").replace(h1,"[").replace(f1,"]")}function y1(i){return Hh(i).replace(Om,"{").replace(Lm,"}").replace(Im,"^")}function Dh(i){return Hh(i).replace(_m,"%2B").replace(g1,"+").replace(Bm,"%23").replace(u1,"%26").replace(d1,"`").replace(Om,"{").replace(Lm,"}").replace(Im,"^")}function D1(i){return Dh(i).replace(c1,"%3D")}function v1(i){return Hh(i).replace(Bm,"%23").replace(p1,"%3F")}function x1(i){return i==null?"":v1(i).replace(l1,"%2F")}function wp(i){try{return decodeURIComponent(""+i)}catch{}return""+i}function C1(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(_m," "),Y=B.indexOf("="),he=wp(Y<0?B:B.slice(0,Y)),xe=Y<0?null:wp(B.slice(Y+1));if(he in c){let Le=c[he];rl(Le)||(Le=c[he]=[Le]),Le.push(xe)}else c[he]=xe}return c}function Zf(i){let c="";for(let l in i){const f=i[l];if(l=D1(l),f==null){f!==void 0&&(c+=(c.length?"&":"")+l);continue}(rl(f)?f.map(B=>B&&Dh(B)):[f&&Dh(f)]).forEach(B=>{B!==void 0&&(c+=(c.length?"&":"")+l,B!=null&&(c+="="+B))})}return c}function E1(i){const c={};for(const l in i){const f=i[l];f!==void 0&&(c[l]=rl(f)?f.map(v=>v==null?null:""+v):f==null?f:""+f)}return c}const b1=Symbol(""),ed=Symbol(""),qh=Symbol(""),$h=Symbol(""),vh=Symbol("");function Lc(){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 Yl(i,c,l,f,v){const B=f&&(f.enterCallbacks[v]=f.enterCallbacks[v]||[]);return()=>new Promise((Y,he)=>{const xe=it=>{it===!1?he(Tc(4,{from:l,to:c})):it instanceof Error?he(it):Gv(it)?he(Tc(2,{from:c,to:it})):(B&&f.enterCallbacks[v]===B&&typeof it=="function"&&B.push(it),Y())},Le=i.call(f&&f.instances[v],c,l,xe);let je=Promise.resolve(Le);i.length<3&&(je=je.then(xe)),je.catch(it=>he(it))})}function eh(i,c,l,f){const v=[];for(const B of i)for(const Y in B.components){let he=B.components[Y];if(!(c!=="beforeRouteEnter"&&!B.instances[Y]))if(A1(he)){const Le=(he.__vccOpts||he)[c];Le&&v.push(Yl(Le,l,f,B,Y))}else{let xe=he();v.push(()=>xe.then(Le=>{if(!Le)return Promise.reject(new Error(`Couldn't resolve component "${Y}" at "${B.path}"`));const je=Fv(Le)?Le.default:Le;B.components[Y]=je;const xt=(je.__vccOpts||je)[c];return xt&&Yl(xt,l,f,B,Y)()}))}}return v}function A1(i){return typeof i=="object"||"displayName"in i||"props"in i||"__vccOpts"in i}function td(i){const c=Ol(qh),l=Ol($h),f=Ks(()=>c.resolve(Cs(i.to))),v=Ks(()=>{const{matched:xe}=f.value,{length:Le}=xe,je=xe[Le-1],it=l.matched;if(!je||!it.length)return-1;const xt=it.findIndex(wc.bind(null,je));if(xt>-1)return xt;const Ft=rd(xe[Le-2]);return Le>1&&rd(je)===Ft&&it[it.length-1].path!==Ft?it.findIndex(wc.bind(null,xe[Le-2])):xt}),B=Ks(()=>v.value>-1&&F1(l.params,f.value.params)),Y=Ks(()=>v.value>-1&&v.value===l.matched.length-1&&Sm(l.params,f.value.params));function he(xe={}){return S1(xe)?c[Cs(i.replace)?"replace":"push"](Cs(i.to)).catch(Wc):Promise.resolve()}return{route:f,href:Ks(()=>f.value.href),isActive:B,isExactActive:Y,navigate:he}}const w1=nl({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:td,setup(i,{slots:c}){const l=Pc(td(i)),{options:f}=Ol(qh),v=Ks(()=>({[nd(i.activeClass,f.linkActiveClass,"router-link-active")]:l.isActive,[nd(i.exactActiveClass,f.linkExactActiveClass,"router-link-exact-active")]:l.isExactActive}));return()=>{const B=c.default&&c.default(l);return i.custom?B:Rh("a",{"aria-current":l.isExactActive?i.ariaCurrentValue:null,href:l.href,onClick:l.navigate,class:v.value},B)}}}),T1=w1;function S1(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 F1(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(!rl(v)||v.length!==f.length||f.some((B,Y)=>B!==v[Y]))return!1}return!0}function rd(i){return i?i.aliasOf?i.aliasOf.path:i.path:""}const nd=(i,c,l)=>i!=null?i:c!=null?c:l,k1=nl({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(i,{attrs:c,slots:l}){const f=Ol(vh),v=Ks(()=>i.route||f.value),B=Ol(ed,0),Y=Ks(()=>{let Le=Cs(B);const{matched:je}=v.value;let it;for(;(it=je[Le])&&!it.components;)Le++;return Le}),he=Ks(()=>v.value.matched[Y.value]);hp(ed,Ks(()=>Y.value+1)),hp(b1,he),hp(vh,v);const xe=Pa();return Ga(()=>[xe.value,he.value,i.name],([Le,je,it],[xt,Ft,Qt])=>{je&&(je.instances[it]=Le,Ft&&Ft!==je&&Le&&Le===xt&&(je.leaveGuards.size||(je.leaveGuards=Ft.leaveGuards),je.updateGuards.size||(je.updateGuards=Ft.updateGuards))),Le&&je&&(!Ft||!wc(je,Ft)||!xt)&&(je.enterCallbacks[it]||[]).forEach(mr=>mr(Le))},{flush:"post"}),()=>{const Le=v.value,je=i.name,it=he.value,xt=it&&it.components[je];if(!xt)return id(l.default,{Component:xt,route:Le});const Ft=it.props[je],Qt=Ft?Ft===!0?Le.params:typeof Ft=="function"?Ft(Le):Ft:null,Ur=Rh(xt,oa({},Qt,c,{onVnodeUnmounted:wt=>{wt.component.isUnmounted&&(it.instances[je]=null)},ref:xe}));return id(l.default,{Component:Ur,route:Le})||Ur}}});function id(i,c){if(!i)return null;const l=i(c);return l.length===1?l[0]:l}const P1=k1;function N1(i){const c=n1(i.routes,i),l=i.parseQuery||C1,f=i.stringifyQuery||Zf,v=i.history,B=Lc(),Y=Lc(),he=Lc(),xe=Rc(Jl);let Le=Jl;yc&&i.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const je=Yp.bind(null,_r=>""+_r),it=Yp.bind(null,x1),xt=Yp.bind(null,wp);function Ft(_r,Kr){let yr,dn;return km(_r)?(yr=c.getRecordMatcher(_r),dn=Kr):dn=_r,c.addRoute(dn,yr)}function Qt(_r){const Kr=c.getRecordMatcher(_r);Kr&&c.removeRoute(Kr)}function mr(){return c.getRoutes().map(_r=>_r.record)}function Ur(_r){return!!c.getRecordMatcher(_r)}function wt(_r,Kr){if(Kr=oa({},Kr||xe.value),typeof _r=="string"){const li=Zp(l,_r,Kr.path),ct=c.resolve({path:li.path},Kr),Ot=v.createHref(li.fullPath);return oa(li,ct,{params:xt(ct.params),hash:wp(li.hash),redirectedFrom:void 0,href:Ot})}let yr;if("path"in _r)yr=oa({},_r,{path:Zp(l,_r.path,Kr.path).path});else{const li=oa({},_r.params);for(const ct in li)li[ct]==null&&delete li[ct];yr=oa({},_r,{params:it(_r.params)}),Kr.params=it(Kr.params)}const dn=c.resolve(yr,Kr),oi=_r.hash||"";dn.params=je(xt(dn.params));const Jn=Nv(f,oa({},_r,{hash:y1(oi),path:dn.path})),Un=v.createHref(Jn);return oa({fullPath:Jn,hash:oi,query:f===Zf?E1(_r.query):_r.query||{}},dn,{redirectedFrom:void 0,href:Un})}function jt(_r){return typeof _r=="string"?Zp(l,_r,xe.value.path):oa({},_r)}function Wt(_r,Kr){if(Le!==_r)return Tc(8,{from:Kr,to:_r})}function Ar(_r){return An(_r)}function an(_r){return Ar(oa(jt(_r),{replace:!0}))}function Vn(_r){const Kr=_r.matched[_r.matched.length-1];if(Kr&&Kr.redirect){const{redirect:yr}=Kr;let dn=typeof yr=="function"?yr(_r):yr;return typeof dn=="string"&&(dn=dn.includes("?")||dn.includes("#")?dn=jt(dn):{path:dn},dn.params={}),oa({query:_r.query,hash:_r.hash,params:"path"in dn?{}:_r.params},dn)}}function An(_r,Kr){const yr=Le=wt(_r),dn=xe.value,oi=_r.state,Jn=_r.force,Un=_r.replace===!0,li=Vn(yr);if(li)return An(oa(jt(li),{state:oi,force:Jn,replace:Un}),Kr||yr);const ct=yr;ct.redirectedFrom=Kr;let Ot;return!Jn&&Bv(f,dn,yr)&&(Ot=Tc(16,{to:ct,from:dn}),Yi(dn,dn,!0,!1)),(Ot?Promise.resolve(Ot):ai(ct,dn)).catch(Er=>Bl(Er)?Bl(Er,2)?Er:Kn(Er):ur(Er,ct,dn)).then(Er=>{if(Er){if(Bl(Er,2))return An(oa({replace:Un},jt(Er.to),{state:oi,force:Jn}),Kr||ct)}else Er=Mn(ct,dn,!0,Un,oi);return $n(ct,dn,Er),Er})}function gi(_r,Kr){const yr=Wt(_r,Kr);return yr?Promise.reject(yr):Promise.resolve()}function ai(_r,Kr){let yr;const[dn,oi,Jn]=B1(_r,Kr);yr=eh(dn.reverse(),"beforeRouteLeave",_r,Kr);for(const li of dn)li.leaveGuards.forEach(ct=>{yr.push(Yl(ct,_r,Kr))});const Un=gi.bind(null,_r,Kr);return yr.push(Un),dc(yr).then(()=>{yr=[];for(const li of B.list())yr.push(Yl(li,_r,Kr));return yr.push(Un),dc(yr)}).then(()=>{yr=eh(oi,"beforeRouteUpdate",_r,Kr);for(const li of oi)li.updateGuards.forEach(ct=>{yr.push(Yl(ct,_r,Kr))});return yr.push(Un),dc(yr)}).then(()=>{yr=[];for(const li of _r.matched)if(li.beforeEnter&&!Kr.matched.includes(li))if(rl(li.beforeEnter))for(const ct of li.beforeEnter)yr.push(Yl(ct,_r,Kr));else yr.push(Yl(li.beforeEnter,_r,Kr));return yr.push(Un),dc(yr)}).then(()=>(_r.matched.forEach(li=>li.enterCallbacks={}),yr=eh(Jn,"beforeRouteEnter",_r,Kr),yr.push(Un),dc(yr))).then(()=>{yr=[];for(const li of Y.list())yr.push(Yl(li,_r,Kr));return yr.push(Un),dc(yr)}).catch(li=>Bl(li,8)?li:Promise.reject(li))}function $n(_r,Kr,yr){for(const dn of he.list())dn(_r,Kr,yr)}function Mn(_r,Kr,yr,dn,oi){const Jn=Wt(_r,Kr);if(Jn)return Jn;const Un=Kr===Jl,li=yc?history.state:{};yr&&(dn||Un?v.replace(_r.fullPath,oa({scroll:Un&&li&&li.scroll},oi)):v.push(_r.fullPath,oi)),xe.value=_r,Yi(_r,Kr,yr,Un),Kn()}let yi;function Cr(){yi||(yi=v.listen((_r,Kr,yr)=>{if(!ts.listening)return;const dn=wt(_r),oi=Vn(dn);if(oi){An(oa(oi,{replace:!0}),dn).catch(Wc);return}Le=dn;const Jn=xe.value;yc&&Uv(Vf(Jn.fullPath,yr.delta),$p()),ai(dn,Jn).catch(Un=>Bl(Un,12)?Un:Bl(Un,2)?(An(Un.to,dn).then(li=>{Bl(li,20)&&!yr.delta&&yr.type===ep.pop&&v.go(-1,!1)}).catch(Wc),Promise.reject()):(yr.delta&&v.go(-yr.delta,!1),ur(Un,dn,Jn))).then(Un=>{Un=Un||Mn(dn,Jn,!1),Un&&(yr.delta&&!Bl(Un,8)?v.go(-yr.delta,!1):yr.type===ep.pop&&Bl(Un,20)&&v.go(-1,!1)),$n(dn,Jn,Un)}).catch(Wc)}))}let Tn=Lc(),we=Lc(),rn;function ur(_r,Kr,yr){Kn(_r);const dn=we.list();return dn.length?dn.forEach(oi=>oi(_r,Kr,yr)):console.error(_r),Promise.reject(_r)}function Sn(){return rn&&xe.value!==Jl?Promise.resolve():new Promise((_r,Kr)=>{Tn.add([_r,Kr])})}function Kn(_r){return rn||(rn=!_r,Cr(),Tn.list().forEach(([Kr,yr])=>_r?yr(_r):Kr()),Tn.reset()),_r}function Yi(_r,Kr,yr,dn){const{scrollBehavior:oi}=i;if(!yc||!oi)return Promise.resolve();const Jn=!yr&&zv(Vf(_r.fullPath,0))||(dn||!yr)&&history.state&&history.state.scroll||null;return Ip().then(()=>oi(_r,Kr,Jn)).then(Un=>Un&&Rv(Un)).catch(Un=>ur(Un,_r,Kr))}const ys=_r=>v.go(_r);let Ns;const cs=new Set,ts={currentRoute:xe,listening:!0,addRoute:Ft,removeRoute:Qt,hasRoute:Ur,getRoutes:mr,resolve:wt,options:i,push:Ar,replace:an,go:ys,back:()=>ys(-1),forward:()=>ys(1),beforeEach:B.add,beforeResolve:Y.add,afterEach:he.add,onError:we.add,isReady:Sn,install(_r){const Kr=this;_r.component("RouterLink",T1),_r.component("RouterView",P1),_r.config.globalProperties.$router=Kr,Object.defineProperty(_r.config.globalProperties,"$route",{enumerable:!0,get:()=>Cs(xe)}),yc&&!Ns&&xe.value===Jl&&(Ns=!0,Ar(v.location).catch(oi=>{}));const yr={};for(const oi in Jl)yr[oi]=Ks(()=>xe.value[oi]);_r.provide(qh,Kr),_r.provide($h,Pc(yr)),_r.provide(vh,xe);const dn=_r.unmount;cs.add(_r),_r.unmount=function(){cs.delete(_r),cs.size<1&&(Le=Jl,yi&&yi(),yi=null,xe.value=Jl,Ns=!1,rn=!1),dn()}}};return ts}function dc(i){return i.reduce((c,l)=>c.then(()=>l()),Promise.resolve())}function B1(i,c){const l=[],f=[],v=[],B=Math.max(c.matched.length,i.matched.length);for(let Y=0;Y<B;Y++){const he=c.matched[Y];he&&(i.matched.find(Le=>wc(Le,he))?f.push(he):l.push(he));const xe=i.matched[Y];xe&&(c.matched.find(Le=>wc(Le,xe))||v.push(xe))}return[l,f,v]}function _1(){return Ol($h)}const I1=nl({__name:"FileIcon",props:{id:null},setup(i){const c=i,l=Ks(()=>c.id.split(/\./g).pop()),f=Ks(()=>{switch(l.value){case"vue":return"i-logos-vue";default:return"i-carbon-document-blank"}});return(v,B)=>(xa(),ho("div",{class:Cc(Cs(f))},null,2))}}),O1={open:""},L1={"cursor-default":"","select-none":"","text-sm":"",truncate:"",p:"y1"},M1={"ml-1":""},j1=nl({__name:"ModuleTreeNode",props:{node:null,icon:{default:"i-carbon-folder"}},setup(i){const c=_1();return(l,f)=>{const v=Dp("ModuleTreeNode",!0),B=I1,Y=Dp("RouterLink");return xa(),ho("details",O1,[Vi("summary",L1,[Vi("div",{class:Cc(i.icon)},null,2),Qu(" "+Bo(i.node.name),1)]),(xa(!0),ho(Xo,null,sf(Object.entries(i.node.children),he=>(xa(),Ec(v,{key:he[0],ml2:"",node:he[1]},null,8,["node"]))),128)),(xa(!0),ho(Xo,null,sf(i.node.items,he=>(xa(),ho("div",{key:he.full,ml4:"","ws-nowrap":""},[ta(Y,{block:"","text-sm":"",p:"x2 y1",rounded:"",to:`/module/${encodeURIComponent(he.full)}`,class:Cc({"bg-gray/10":he.full===Cs(c).params.id})},{default:Il(()=>[ta(B,{id:he.path},null,8,["id"]),Vi("span",M1,Bo(he.path.split("/").pop()),1)]),_:2},1032,["to","class"])]))),128))])}}}),R1="/__unocss/icon.svg",U1={p:"x4 y3",b:"b main",flex:"","children:my-auto":""},z1=Vi("div",{flex:"","flex-auto":"","children:my-auto":"","ws-nowrap":""},[Vi("img",{src:R1,filter:"","dark:invert":"","inline-block":"",h:"1.3em",m:"r-1.5"}),Vi("div",{"of-hidden":""},[Qu(" Inspector "),Vi("sup",{"text-teal5":"","bg-teal5:10":"",p:"x1.5 y0.5",rounded:"",italic:""},"beta")])],-1),H1=nl({__name:"NarBar",setup(i){const c=iD(),l=Ty(c);return(f,v)=>(xa(),ho("nav",U1,[z1,Vi("button",{"text-lg":"","i-carbon-sun":"","dark:i-carbon-moon":"",onClick:v[0]||(v[0]=B=>Cs(l)())})]))}}),q1={"h-full":""},$1={b:"r main","of-hidden":""},W1={pt:"4",flex:"~ col gap-3"},V1=Vi("div",{"i-carbon-dashboard":""},null,-1),G1=Vi("span",null," Overview ",-1),X1=Vi("div",{"i-carbon-terminal":""},null,-1),J1=Vi("span",null," REPL ",-1),K1=Vi("div",{b:"b main"},null,-1),Q1={b:"r main",class:"scrolls scrolls-sidebar"},Y1=nl({__name:"Sidebar",setup(i){return(c,l)=>{const f=H1,v=Dp("RouterLink"),B=j1;return xa(),ho("div",q1,[Vi("div",$1,[ta(f),Vi("div",W1,[ta(v,{block:"",to:"/","text-sm":"",m:"l-3.7"},{default:Il(()=>[V1,G1]),_:1}),ta(v,{block:"",to:"/repl","text-sm":"",m:"l-3.7"},{default:Il(()=>[X1,J1]),_:1}),K1])]),Vi("div",Q1,[Object.keys(Cs(lp).workspace.children).length?(xa(),Ec(B,{key:0,node:Cs(lp).workspace,p:"l3 t4",icon:"i-carbon-portfolio"},null,8,["node"])):bp("",!0),Object.keys(Cs(lp).root.children).length?(xa(),Ec(B,{key:1,node:Cs(lp).root,p:"l3 t4",icon:"i-carbon-vmdk-disk"},null,8,["node"])):bp("",!0)])])}}});var Z1=Object.defineProperty,ex=Object.defineProperties,tx=Object.getOwnPropertyDescriptors,Tp=Object.getOwnPropertySymbols,Mm=Object.prototype.hasOwnProperty,jm=Object.prototype.propertyIsEnumerable,sd=(i,c,l)=>c in i?Z1(i,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[c]=l,rx=(i,c)=>{for(var l in c||(c={}))Mm.call(c,l)&&sd(i,l,c[l]);if(Tp)for(var l of Tp(c))jm.call(c,l)&&sd(i,l,c[l]);return i},nx=(i,c)=>ex(i,tx(c)),ix=(i,c)=>{var l={};for(var f in i)Mm.call(i,f)&&c.indexOf(f)<0&&(l[f]=i[f]);if(i!=null&&Tp)for(var f of Tp(i))c.indexOf(f)<0&&jm.call(i,f)&&(l[f]=i[f]);return l};const sx={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 Y=[c,c+1],he=this.panes[Y[0]]||null,xe=this.panes[Y[1]]||null;const Le=he.max<100&&B>=he.max+l.prevPanesSize,je=xe.max<100&&B<=100-(xe.max+this.sumNextPanesSize(c+1));if(Le||je){Le?(he.size=he.max,xe.size=Math.max(100-he.max-l.prevPanesSize-l.nextPanesSize,0)):(he.size=Math.max(100-xe.max-l.prevPanesSize-this.sumNextPanesSize(c+1),0),xe.size=xe.max);return}if(this.pushOtherPanes){const it=this.doPushOtherPanes(l,B);if(!it)return;({sums:l,panesToResize:Y}=it),he=this.panes[Y[0]]||null,xe=this.panes[Y[1]]||null}he!==null&&(he.size=Math.min(Math.max(B-l.prevPanesSize-l.prevReachedMinPanes,he.min),he.max)),xe!==null&&(xe.size=Math.min(Math.max(100-B-l.nextPanesSize-l.nextReachedMinPanes,xe.min),xe.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<"u"&&"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=ix(c,["target"]);const v=this.indexedPanes[l._.uid];Object.entries(f).forEach(([B,Y])=>v[B]=Y)},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:nx(rx({},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(Y=>{f-=Y.size,Y.size>=Y.max&&v.push(Y.id),Y.size<=Y.min&&B.push(Y.id)}),!(Math.abs(f)<.1)&&(this.panes.forEach(Y=>{i&&i.givenSize!==null&&i.id===Y.id||(Y.size=Math.max(Math.min(l,Y.max),Y.min)),f-=Y.size,Y.size>=Y.max&&v.push(Y.id),Y.size<=Y.min&&B.push(Y.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 Y=Math.max(Math.min(v.size+f,v.max),v.min);i-=Y-v.size,v.size=Y}else if(!l.includes(v.id)){const Y=Math.max(Math.min(v.size+f,v.max),v.min);i-=Y-v.size,v.size=Y}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 Rh("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}};var ax=(i,c)=>{const l=i.__vccOpts||i;for(const[f,v]of c)l[f]=v;return l};const ox={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 ux(i,c,l,f,v,B){return xa(),ho("div",{class:"splitpanes__pane",onClick:c[0]||(c[0]=Y=>B.onPaneClick(Y,i._.uid)),style:tp(i.style)},[vp(i.$slots,"default")],4)}var ad=ax(ox,[["render",ux]]);const lx={"h-screen":"","w-screen":"","of-hidden":""},cx={"h-full":"","of-hidden":""},px=nl({__name:"App",setup(i){return(c,l)=>{const f=Y1,v=Dp("RouterView");return xa(),ho("div",lx,[ta(Cs(sx),null,{default:Il(()=>[ta(Cs(ad),{size:"20","push-other-panes":!1},{default:Il(()=>[ta(f)]),_:1}),ta(Cs(ad),{size:"80"},{default:Il(()=>[Vi("div",cx,[ta(v)])]),_:1})]),_:1})])}}}),Rm=hy(px);Rm.use(N1({history:Vv(),routes:Sv}));Rm.mount("#app");export{ad as A,c0 as B,uy as C,sx as D,$D as E,jD as F,_1 as G,ID as _,fx as a,ta as b,ho as c,nl as d,Vi as e,gx as f,Cs as g,PD as h,ka as i,Dm as j,Ec as k,dx as l,AD as m,tp as n,xa as o,mx as p,hx as q,Pa as r,QD as s,Mg as t,WD as u,Ks as v,Il as w,bp as x,Qu as y,Bo as z};
|